@synergy-design-system/metadata 3.3.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/data/core/setup/setup:angular-components-module.json +1 -1
- package/data/core/setup/setup:angular-forms-module.json +1 -1
- package/data/core/setup/setup:angular-package.json +2 -2
- package/data/core/setup/setup:angular-validators-module.json +1 -1
- package/data/core/setup/setup:components-package.json +2 -2
- package/data/core/setup/setup:react-package.json +2 -2
- package/data/core/setup/setup:tokens-package.json +2 -2
- package/data/core/setup/setup:vue-package.json +2 -2
- package/data/core/token/token:tokens-figma-variables-sick2018-dark-json.json +1 -1
- package/data/core/token/token:tokens-figma-variables-sick2018-light-json.json +1 -1
- package/data/core/token/token:tokens-figma-variables-sick2025-dark-json.json +1 -1
- package/data/core/token/token:tokens-figma-variables-sick2025-light-json.json +1 -1
- package/data/core/token/token:tokens-js-index-d-ts.json +1 -1
- package/data/core/token/token:tokens-js-index-js.json +1 -1
- package/data/core/token/token:tokens-scss-tokens-scss.json +1 -1
- package/data/core/token/token:tokens-themes-sick2018-dark-css.json +1 -1
- package/data/core/token/token:tokens-themes-sick2018-light-css.json +1 -1
- package/data/core/token/token:tokens-themes-sick2025-dark-css.json +1 -1
- package/data/core/token/token:tokens-themes-sick2025-light-css.json +1 -1
- package/data/index.json +1 -1
- package/data/layers/full/component/component:syn-combobox/components/combobox.component.ts +21 -0
- package/data/layers/full/component/component:syn-select/components/select.component.ts +29 -0
- package/data/layers/full/setup/setup:angular-package/angular/CHANGELOG.md +8 -0
- package/data/layers/full/setup/setup:angular-package/angular/package.json +1 -1
- package/data/layers/full/setup/setup:components-package/components/CHANGELOG.md +14 -0
- package/data/layers/full/setup/setup:components-package/components/package.json +1 -1
- package/data/layers/full/setup/setup:react-package/react/CHANGELOG.md +8 -0
- package/data/layers/full/setup/setup:react-package/react/package.json +1 -1
- package/data/layers/full/setup/setup:tokens-package/tokens/CHANGELOG.md +2 -0
- package/data/layers/full/setup/setup:tokens-package/tokens/package.json +1 -1
- package/data/layers/full/setup/setup:vue-package/vue/CHANGELOG.md +8 -0
- package/data/layers/full/setup/setup:vue-package/vue/package.json +1 -1
- package/data/layers/full/tokens/js/index.d.ts +1 -1
- package/data/layers/full/tokens/js/index.js +1 -1
- package/data/layers/full/tokens/scss/_tokens.scss +1 -1
- package/data/layers/full/tokens/themes/sick2018_dark.css +1 -1
- package/data/layers/full/tokens/themes/sick2018_light.css +1 -1
- package/data/layers/full/tokens/themes/sick2025_dark.css +1 -1
- package/data/layers/full/tokens/themes/sick2025_light.css +1 -1
- package/data/manifest.json +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.5.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1279](https://github.com/synergy-design-system/synergy-design-system/pull/1279) [`de1f21e`](https://github.com/synergy-design-system/synergy-design-system/commit/de1f21e46ac3092e8bd3a1911e1284936b3354cf) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-05-06
|
|
8
|
+
|
|
9
|
+
fix: 🐛 `<syn-select>` and `<syn-combobox>` have invalid selected value if the selected option changes ([#1265](https://github.com/synergy-design-system/synergy-design-system/issues/1265))
|
|
10
|
+
|
|
11
|
+
This release ensures `<syn-select>` and `<syn-combobox>` always show the current selected option text.
|
|
12
|
+
If a selected option name changes, the field now updates right away instead of showing outdated text.
|
|
13
|
+
|
|
14
|
+
## 3.4.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- Released on: 2026-05-05
|
|
19
|
+
|
|
20
|
+
chore: ✨ Update Metadata and MCP with latest metadata
|
|
21
|
+
|
|
3
22
|
## 3.3.0
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"custom": {
|
|
3
3
|
"framework": "angular",
|
|
4
4
|
"packageName": "@synergy-design-system/angular",
|
|
5
|
-
"packageVersion": "3.13.
|
|
5
|
+
"packageVersion": "3.13.3",
|
|
6
6
|
"subpathExports": [
|
|
7
7
|
".",
|
|
8
8
|
"./components/*",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"name": "Angular Framework Package",
|
|
40
40
|
"package": "angular",
|
|
41
41
|
"relations": [],
|
|
42
|
-
"since": "3.13.
|
|
42
|
+
"since": "3.13.3",
|
|
43
43
|
"sources": [
|
|
44
44
|
"packages/angular/README.md",
|
|
45
45
|
"packages/angular/CHANGELOG.md",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"custom": {
|
|
3
3
|
"packageName": "@synergy-design-system/components",
|
|
4
|
-
"packageVersion": "3.13.
|
|
4
|
+
"packageVersion": "3.13.3"
|
|
5
5
|
},
|
|
6
6
|
"id": "setup:components-package",
|
|
7
7
|
"kind": "setup",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"name": "Components Package",
|
|
41
41
|
"package": "components",
|
|
42
42
|
"relations": [],
|
|
43
|
-
"since": "3.13.
|
|
43
|
+
"since": "3.13.3",
|
|
44
44
|
"sources": [
|
|
45
45
|
"packages/components/README.md",
|
|
46
46
|
"packages/components/CHANGELOG.md",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"custom": {
|
|
3
3
|
"framework": "react",
|
|
4
4
|
"packageName": "@synergy-design-system/react",
|
|
5
|
-
"packageVersion": "3.13.
|
|
5
|
+
"packageVersion": "3.13.3",
|
|
6
6
|
"subpathExports": [
|
|
7
7
|
".",
|
|
8
8
|
"./components/*",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"name": "React Framework Package",
|
|
43
43
|
"package": "react",
|
|
44
44
|
"relations": [],
|
|
45
|
-
"since": "3.13.
|
|
45
|
+
"since": "3.13.3",
|
|
46
46
|
"sources": [
|
|
47
47
|
"packages/react/README.md",
|
|
48
48
|
"packages/react/CHANGELOG.md",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"./themes/*"
|
|
25
25
|
],
|
|
26
26
|
"packageName": "@synergy-design-system/tokens",
|
|
27
|
-
"packageVersion": "3.13.
|
|
27
|
+
"packageVersion": "3.13.3"
|
|
28
28
|
},
|
|
29
29
|
"id": "setup:tokens-package",
|
|
30
30
|
"kind": "setup",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"name": "Tokens Package",
|
|
52
52
|
"package": "tokens",
|
|
53
53
|
"relations": [],
|
|
54
|
-
"since": "3.13.
|
|
54
|
+
"since": "3.13.3",
|
|
55
55
|
"sources": [
|
|
56
56
|
"packages/tokens/BREAKING_CHANGES.md",
|
|
57
57
|
"packages/tokens/CHANGELOG.md",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"custom": {
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"packageName": "@synergy-design-system/vue",
|
|
5
|
-
"packageVersion": "3.13.
|
|
5
|
+
"packageVersion": "3.13.3"
|
|
6
6
|
},
|
|
7
7
|
"id": "setup:vue-package",
|
|
8
8
|
"kind": "setup",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"name": "Vue Framework Package",
|
|
34
34
|
"package": "vue",
|
|
35
35
|
"relations": [],
|
|
36
|
-
"since": "3.13.
|
|
36
|
+
"since": "3.13.3",
|
|
37
37
|
"sources": [
|
|
38
38
|
"packages/vue/README.md",
|
|
39
39
|
"packages/vue/CHANGELOG.md",
|
package/data/index.json
CHANGED
|
@@ -389,15 +389,36 @@ export default class SynCombobox extends SynergyElement implements SynergyFormCo
|
|
|
389
389
|
return entry.oldValue !== currentValue && !!currentValue;
|
|
390
390
|
});
|
|
391
391
|
|
|
392
|
+
const hasRelevantSelectedLabelChange = (this.restricted || this.multiple) && entries.some(entry => {
|
|
393
|
+
if (entry.type !== 'characterData' && entry.type !== 'childList') {
|
|
394
|
+
return false;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
return this.selectedOptions.some(option => option === entry.target || option.contains(entry.target));
|
|
398
|
+
});
|
|
399
|
+
|
|
392
400
|
if (hasRelevantValueChange) {
|
|
393
401
|
this.handleSlotContentChange();
|
|
394
402
|
}
|
|
403
|
+
|
|
404
|
+
if (hasRelevantSelectedLabelChange) {
|
|
405
|
+
if (this.multiple) {
|
|
406
|
+
if (this.readonly) {
|
|
407
|
+
this.displayLabel = this.selectedOptions.map(option => option.getTextLabel()).join(', ');
|
|
408
|
+
} else {
|
|
409
|
+
this.requestUpdate();
|
|
410
|
+
}
|
|
411
|
+
} else {
|
|
412
|
+
this.displayLabel = this.selectedOptions[0]?.getTextLabel?.() ?? this.displayLabel;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
395
415
|
});
|
|
396
416
|
|
|
397
417
|
this.mutationObserver.observe(this, {
|
|
398
418
|
attributeFilter: ['value'],
|
|
399
419
|
attributeOldValue: true,
|
|
400
420
|
attributes: true,
|
|
421
|
+
characterData: true,
|
|
401
422
|
childList: true,
|
|
402
423
|
subtree: true,
|
|
403
424
|
});
|
|
@@ -91,6 +91,7 @@ export default class SynSelect extends SynergyElement implements SynergyFormCont
|
|
|
91
91
|
private typeToSelectTimeout: number;
|
|
92
92
|
private closeWatcher: CloseWatcher | null;
|
|
93
93
|
private resizeObserver: ResizeObserver;
|
|
94
|
+
private selectedOptionObserver: MutationObserver;
|
|
94
95
|
private isUserInput: boolean = false;
|
|
95
96
|
|
|
96
97
|
@query('.select') popup: SynPopup;
|
|
@@ -248,6 +249,20 @@ export default class SynSelect extends SynergyElement implements SynergyFormCont
|
|
|
248
249
|
connectedCallback() {
|
|
249
250
|
super.connectedCallback();
|
|
250
251
|
|
|
252
|
+
// #1265: When updating the content of the selected syn-option, the select needs to update the display label.
|
|
253
|
+
// To do this, we use a MutationObserver to watch for changes in the selected options.
|
|
254
|
+
this.selectedOptionObserver = new MutationObserver(() => {
|
|
255
|
+
if (this.multiple) {
|
|
256
|
+
if (this.readonly) {
|
|
257
|
+
this.displayLabel = this.selectedOptions.map(option => option.getTextLabel()).join(', ');
|
|
258
|
+
} else {
|
|
259
|
+
this.requestUpdate();
|
|
260
|
+
}
|
|
261
|
+
} else {
|
|
262
|
+
this.displayLabel = this.selectedOptions[0]?.getTextLabel?.() ?? '';
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
|
|
251
266
|
setTimeout(() => {
|
|
252
267
|
this.handleDefaultSlotChange();
|
|
253
268
|
});
|
|
@@ -260,6 +275,19 @@ export default class SynSelect extends SynergyElement implements SynergyFormCont
|
|
|
260
275
|
disconnectedCallback() {
|
|
261
276
|
super.disconnectedCallback();
|
|
262
277
|
this.resizeObserver?.disconnect();
|
|
278
|
+
this.selectedOptionObserver?.disconnect();
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
private observeSelectedOptions() {
|
|
282
|
+
this.selectedOptionObserver?.disconnect();
|
|
283
|
+
|
|
284
|
+
this.selectedOptions.forEach(option => {
|
|
285
|
+
this.selectedOptionObserver.observe(option, {
|
|
286
|
+
childList: true,
|
|
287
|
+
characterData: true,
|
|
288
|
+
subtree: true,
|
|
289
|
+
});
|
|
290
|
+
});
|
|
263
291
|
}
|
|
264
292
|
|
|
265
293
|
private addOpenListeners() {
|
|
@@ -653,6 +681,7 @@ export default class SynSelect extends SynergyElement implements SynergyFormCont
|
|
|
653
681
|
const options = this.getAllOptions();
|
|
654
682
|
// Update selected options cache
|
|
655
683
|
this.selectedOptions = options.filter(el => el.selected);
|
|
684
|
+
this.observeSelectedOptions();
|
|
656
685
|
|
|
657
686
|
// Keep a reference to the previous `valueHasChanged`. Changes made here don't count has changing the value.
|
|
658
687
|
const cachedValueHasChanged = this.valueHasChanged;
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @synergy-design-system/angular
|
|
2
2
|
|
|
3
|
+
## 3.13.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`de1f21e`](https://github.com/synergy-design-system/synergy-design-system/commit/de1f21e46ac3092e8bd3a1911e1284936b3354cf)]:
|
|
8
|
+
- @synergy-design-system/components@3.13.3
|
|
9
|
+
- @synergy-design-system/tokens@3.13.3
|
|
10
|
+
|
|
3
11
|
## 3.13.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"url": "https://github.com/synergy-design-system/synergy-design-system.git",
|
|
23
23
|
"directory": "packages/angular"
|
|
24
24
|
},
|
|
25
|
-
"version": "3.13.
|
|
25
|
+
"version": "3.13.3",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"_build": "pnpm _clean && ng-packagr -c tsconfig.lib.json && pnpm _after-build",
|
|
28
28
|
"_clean": "rm -rf ../_private/angular-demo/.angular",
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.13.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1279](https://github.com/synergy-design-system/synergy-design-system/pull/1279) [`de1f21e`](https://github.com/synergy-design-system/synergy-design-system/commit/de1f21e46ac3092e8bd3a1911e1284936b3354cf) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-05-06
|
|
8
|
+
|
|
9
|
+
fix: 🐛 `<syn-select>` and `<syn-combobox>` have invalid selected value if the selected option changes ([#1265](https://github.com/synergy-design-system/synergy-design-system/issues/1265))
|
|
10
|
+
|
|
11
|
+
This release ensures `<syn-select>` and `<syn-combobox>` always show the current selected option text.
|
|
12
|
+
If a selected option name changes, the field now updates right away instead of showing outdated text.
|
|
13
|
+
|
|
14
|
+
- Updated dependencies []:
|
|
15
|
+
- @synergy-design-system/tokens@3.13.3
|
|
16
|
+
|
|
3
17
|
## 3.13.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @synergy-design-system/react
|
|
2
2
|
|
|
3
|
+
## 3.13.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`de1f21e`](https://github.com/synergy-design-system/synergy-design-system/commit/de1f21e46ac3092e8bd3a1911e1284936b3354cf)]:
|
|
8
|
+
- @synergy-design-system/components@3.13.3
|
|
9
|
+
- @synergy-design-system/tokens@3.13.3
|
|
10
|
+
|
|
3
11
|
## 3.13.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @synergy-design-system/vue
|
|
2
2
|
|
|
3
|
+
## 3.13.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`de1f21e`](https://github.com/synergy-design-system/synergy-design-system/commit/de1f21e46ac3092e8bd3a1911e1284936b3354cf)]:
|
|
8
|
+
- @synergy-design-system/components@3.13.3
|
|
9
|
+
- @synergy-design-system/tokens@3.13.3
|
|
10
|
+
|
|
3
11
|
## 3.13.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/data/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"serve-handler": "^6.1.7",
|
|
20
20
|
"typescript": "^5.9.3",
|
|
21
21
|
"zod": "^4.3.6",
|
|
22
|
-
"@synergy-design-system/components": "3.13.
|
|
22
|
+
"@synergy-design-system/components": "3.13.3",
|
|
23
23
|
"@synergy-design-system/docs": "0.1.0",
|
|
24
24
|
"@synergy-design-system/eslint-config-syn": "^0.1.0",
|
|
25
25
|
"@synergy-design-system/fonts": "1.0.6",
|
|
26
|
-
"@synergy-design-system/tokens": "^3.13.
|
|
26
|
+
"@synergy-design-system/tokens": "^3.13.3",
|
|
27
27
|
"@synergy-design-system/styles": "2.1.0"
|
|
28
28
|
},
|
|
29
29
|
"exports": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"types": "./dist/index.d.ts",
|
|
67
67
|
"type": "module",
|
|
68
|
-
"version": "3.
|
|
68
|
+
"version": "3.5.0",
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build:all": "METADATA_LOG_LEVEL=info pnpm run build:ts && RUN_STORYBOOK_SCRAPER=true pnpm run build:data",
|
|
71
71
|
"build": "METADATA_LOG_LEVEL=info pnpm run build:ts && pnpm run build:data",
|