Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
felixw committed Jun 27, 2023
2 parents 8a5e795 + 6a40c71 commit f9a1dee
Show file tree
Hide file tree
Showing 27 changed files with 285 additions and 22 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-beta.136](https://github.com/telekom/scale/compare/v3.0.0-beta.135...v3.0.0-beta.136) (2023-06-27)


### Bug Fixes

* add missing fonts ([#2041](https://github.com/telekom/scale/issues/2041)) ([0d091c7](https://github.com/telekom/scale/commit/0d091c7e9fa40c628107948db9e98b57052edc41))
* add umd out for react wrapper ([#2018](https://github.com/telekom/scale/issues/2018)) ([1286756](https://github.com/telekom/scale/commit/12867561fb87e351c557bac017b32ae9aacc04e8)), closes [#2039](https://github.com/telekom/scale/issues/2039) [#2005](https://github.com/telekom/scale/issues/2005) [#2006](https://github.com/telekom/scale/issues/2006) [#2012](https://github.com/telekom/scale/issues/2012)





# [3.0.0-beta.135](https://github.com/telekom/scale/compare/v3.0.0-beta.134...v3.0.0-beta.135) (2023-06-21)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"--pure-lockfile"
],
"useWorkspaces": true,
"version": "3.0.0-beta.135",
"version": "3.0.0-beta.136",
"command": {
"version": {
"allowBranch": "main"
Expand Down
8 changes: 8 additions & 0 deletions packages/components-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-beta.136](https://github.com/telekom/scale/compare/v3.0.0-beta.135...v3.0.0-beta.136) (2023-06-27)

**Note:** Version bump only for package @telekom/scale-components-angular





# [3.0.0-beta.135](https://github.com/telekom/scale/compare/v3.0.0-beta.134...v3.0.0-beta.135) (2023-06-21)

**Note:** Version bump only for package @telekom/scale-components-angular
Expand Down
2 changes: 1 addition & 1 deletion packages/components-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@telekom/scale-components-angular",
"version": "3.0.0-beta.135",
"version": "3.0.0-beta.136",
"description": "Angular specific wrapper for @telekom/scale-components",
"license": "MPL-2.0",
"homepage": "https://github.com/telekom/scale",
Expand Down
2 changes: 1 addition & 1 deletion packages/components-react/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules/
coverage/
src/components.ts
src/components.ts
11 changes: 11 additions & 0 deletions packages/components-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-beta.136](https://github.com/telekom/scale/compare/v3.0.0-beta.135...v3.0.0-beta.136) (2023-06-27)


### Bug Fixes

* add umd out for react wrapper ([#2018](https://github.com/telekom/scale/issues/2018)) ([1286756](https://github.com/telekom/scale/commit/12867561fb87e351c557bac017b32ae9aacc04e8)), closes [#2039](https://github.com/telekom/scale/issues/2039) [#2005](https://github.com/telekom/scale/issues/2005) [#2006](https://github.com/telekom/scale/issues/2006) [#2012](https://github.com/telekom/scale/issues/2012)





# [3.0.0-beta.135](https://github.com/telekom/scale/compare/v3.0.0-beta.134...v3.0.0-beta.135) (2023-06-21)

**Note:** Version bump only for package @telekom/scale-components-react
Expand Down
16 changes: 10 additions & 6 deletions packages/components-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@telekom/scale-components-react",
"sideEffects": false,
"version": "3.0.0-beta.135",
"version": "3.0.0-beta.136",
"description": "React proxy for @telekom/scale-components",
"license": "MPL-2.0",
"homepage": "https://github.com/telekom/scale",
Expand All @@ -13,11 +13,10 @@
"access": "public"
},
"scripts": {
"build": "yarn clean && yarn compile",
"build": "yarn clean && yarn rollup",
"clean": "rimraf dist",
"compile": "yarn tsc",
"tsc": "tsc -p .",
"format": "prettier --write \"package.json\""
"format": "prettier --write \"package.json\"",
"rollup": "rollup -c"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand All @@ -26,8 +25,13 @@
"dist/"
],
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-typescript": "^11.1.1",
"rimraf": "^3.0.2",
"typescript": "^3.3.4000"
"rollup": "2.79.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"typescript": "^5.1.3"
},
"dependencies": {
"@types/react-dom": "^16.9.6",
Expand Down
43 changes: 43 additions & 0 deletions packages/components-react/rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import externalDeps from 'rollup-plugin-peer-deps-external';
import typescript from '@rollup/plugin-typescript';
import resolve from '@rollup/plugin-node-resolve';
import commonJS from 'rollup-plugin-commonjs';

const globals = {
react: 'React',
'react-dom': 'ReactDOM',
'react-query': 'ReactQuery',
};

const plugins = [
externalDeps(), // Prevents packages listed in peerDependencies from being bundled with our component library.
commonJS(), // Convert common js modules to es6.
resolve(), // Locate and bundle third-party dependencies in node_modules.
typescript() // Transpiles our TypeScript code into JavaScript.
];

export default {
input: `./src/index.ts`,
output: [
{
name: 'index',
file: `dist/index.js`,
format: 'cjs',
sourcemap: true,
},
{
name: 'index',
file: `dist/index.es.js`,
format: 'esm',
sourcemap: true,
},
{
name: 'index',
file: `dist/index.umd.js`,
format: 'umd',
sourcemap: true,
globals,
},
],
plugins
};
5 changes: 3 additions & 2 deletions packages/components-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
"compilerOptions": {
"allowUnreachableCode": false,
"allowSyntheticDefaultImports": true,
"rootDir": "src",
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"esModuleInterop": true,
"lib": ["dom", "es2015"],
"module": "CommonJS",
"module": "esnext",
"moduleResolution": "node",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist",
"outDir": ".",
"removeComments": false,
"sourceMap": true,
"jsx": "react",
Expand Down
8 changes: 8 additions & 0 deletions packages/components-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-beta.136](https://github.com/telekom/scale/compare/v3.0.0-beta.135...v3.0.0-beta.136) (2023-06-27)

**Note:** Version bump only for package @telekom/scale-components-vue





# [3.0.0-beta.135](https://github.com/telekom/scale/compare/v3.0.0-beta.134...v3.0.0-beta.135) (2023-06-21)

**Note:** Version bump only for package @telekom/scale-components-vue
Expand Down
2 changes: 1 addition & 1 deletion packages/components-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@telekom/scale-components-vue",
"sideEffects": false,
"version": "3.0.0-beta.135",
"version": "3.0.0-beta.136",
"description": "Vue specific wrapper for @telekom/scale-components",
"license": "MPL-2.0",
"homepage": "https://github.com/telekom/scale",
Expand Down
11 changes: 11 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-beta.136](https://github.com/telekom/scale/compare/v3.0.0-beta.135...v3.0.0-beta.136) (2023-06-27)


### Bug Fixes

* add missing fonts ([#2041](https://github.com/telekom/scale/issues/2041)) ([0d091c7](https://github.com/telekom/scale/commit/0d091c7e9fa40c628107948db9e98b57052edc41))





# [3.0.0-beta.135](https://github.com/telekom/scale/compare/v3.0.0-beta.134...v3.0.0-beta.135) (2023-06-21)


Expand Down
4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@telekom/scale-components",
"version": "3.0.0-beta.135",
"version": "3.0.0-beta.136",
"description": "Scale is the digital design system for Telekom products and experiences.",
"homepage": "https://github.com/telekom/scale",
"repository": {
Expand Down Expand Up @@ -72,7 +72,7 @@
"@floating-ui/dom": "^0.5.4",
"@stencil/core": "^2.17.0",
"@telekom/design-tokens": "^1.0.0-beta.7",
"@telekom/scale-design-tokens": "^3.0.0-beta.135",
"@telekom/scale-design-tokens": "^3.0.0-beta.136",
"classnames": "^2.2.6",
"stencil-inline-svg": "^1.0.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,14 @@ export class DropdownSelect {
readOptions(this.hostElement).find(({ value }) => value === this.value) ||
({} as any)
).ItemElement;
const hasEmptyValueElement =
(
readOptions(this.hostElement).find(
({ value }) => value === this.value
) || ({} as any)
).value === ''
? true
: false;
const helperTextId = `helper-message-${generateUniqueId()}`;
const ariaDescribedByAttr = { 'aria-describedBy': helperTextId };

Expand Down Expand Up @@ -434,7 +442,9 @@ export class DropdownSelect {
{...(this.helperText ? ariaDescribedByAttr : {})}
{...(this.invalid ? { 'aria-invalid': 'true' } : {})}
>
<span part="combobox-value">{ValueElement}</span>
<span part="combobox-value">
{hasEmptyValueElement ? '' : ValueElement}
</span>
</div>
<div part="listbox-pad" ref={(el) => (this.listboxPadEl = el)}>
<div part="listbox-scroll-container">
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions packages/design-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-beta.136](https://github.com/telekom/scale/compare/v3.0.0-beta.135...v3.0.0-beta.136) (2023-06-27)

**Note:** Version bump only for package @telekom/scale-design-tokens





# [3.0.0-beta.135](https://github.com/telekom/scale/compare/v3.0.0-beta.134...v3.0.0-beta.135) (2023-06-21)

**Note:** Version bump only for package @telekom/scale-design-tokens
Expand Down
2 changes: 1 addition & 1 deletion packages/design-tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@telekom/scale-design-tokens",
"version": "3.0.0-beta.135",
"version": "3.0.0-beta.136",
"type": "module",
"description": "Design Tokens for the Scale Design System",
"homepage": "https://github.com/telekom/scale",
Expand Down
8 changes: 8 additions & 0 deletions packages/storybook-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-beta.136](https://github.com/telekom/scale/compare/v3.0.0-beta.135...v3.0.0-beta.136) (2023-06-27)

**Note:** Version bump only for package @telekom/scale-storybook-vue





# [3.0.0-beta.135](https://github.com/telekom/scale/compare/v3.0.0-beta.134...v3.0.0-beta.135) (2023-06-21)


Expand Down
6 changes: 3 additions & 3 deletions packages/storybook-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"homepage": "https://telekom.github.io/scale",
"name": "@telekom/scale-storybook-vue",
"private": true,
"version": "3.0.0-beta.135",
"version": "3.0.0-beta.136",
"main": "index.js",
"license": "MPL-2.0",
"devDependencies": {
Expand Down Expand Up @@ -32,8 +32,8 @@
"dependencies": {
"@storybook/addon-viewport": "^6.4.22",
"@telekom/design-tokens": "^1.0.0-beta.2",
"@telekom/scale-components": "^3.0.0-beta.135",
"@telekom/scale-components-vue": "^3.0.0-beta.135"
"@telekom/scale-components": "^3.0.0-beta.136",
"@telekom/scale-components-vue": "^3.0.0-beta.136"
},
"scripts": {
"prestart": "rm -rf node_modules/.cache/ && yes | cp -a ../components/dist/scale-components/fonts/* public/fonts/ && yes | cp -a ../components/dist/scale-components/scale-components.css public/",
Expand Down
8 changes: 8 additions & 0 deletions packages/visual-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-beta.136](https://github.com/telekom/scale/compare/v3.0.0-beta.135...v3.0.0-beta.136) (2023-06-27)

**Note:** Version bump only for package @telekom/scale-visual-tests





# [3.0.0-beta.135](https://github.com/telekom/scale/compare/v3.0.0-beta.134...v3.0.0-beta.135) (2023-06-21)


Expand Down
2 changes: 1 addition & 1 deletion packages/visual-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@telekom/scale-visual-tests",
"private": true,
"version": "3.0.0-beta.135",
"version": "3.0.0-beta.136",
"main": "index.js",
"license": "MPL-2.0",
"scripts": {
Expand Down
Loading

0 comments on commit f9a1dee

Please sign in to comment.