@synergy-design-system/mcp 2.13.1 → 2.13.2

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.13.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1227](https://github.com/synergy-design-system/synergy-design-system/pull/1227) [`c827385`](https://github.com/synergy-design-system/synergy-design-system/commit/c82738594731dc3c2a5041695741f099393068de) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-03-10
8
+
9
+ fix: 🐛 `<syn-select>` may throw an error when configured to be `readonly` and `multiple` (#1225)
10
+
3
11
  ## 2.13.1
4
12
 
5
13
  ### Patch Changes
@@ -1 +1 @@
1
- 47b70d058d25ff17f662144566a4eab2
1
+ 6cc0ea87c5efe56b0cf4977b5b228a7f
@@ -236,7 +236,7 @@ export default class SynSelect extends SynergyElement implements SynergyFormCont
236
236
 
237
237
 
238
238
  private enableResizeObserver() {
239
- if (this.multiple) {
239
+ if (this.multiple && !this.readonly && this.tagContainer) {
240
240
  this.resizeObserver = new ResizeObserver(entries => {
241
241
  const entry = entries.at(0)!;
242
242
  this.tagContainer.style.setProperty('--syn-select-tag-max-width', `${entry.contentRect.width}px`);
@@ -726,10 +726,10 @@ export default class SynSelect extends SynergyElement implements SynergyFormCont
726
726
 
727
727
  protected updated(changedProperties: PropertyValues<this>) {
728
728
  super.updated(changedProperties);
729
- if (changedProperties.has('multiple')) {
730
- if (!this.multiple) {
731
- this.resizeObserver?.disconnect();
732
- } else {
729
+ if (changedProperties.has('multiple') || changedProperties.has('readonly')) {
730
+ this.resizeObserver?.disconnect();
731
+
732
+ if (this.multiple && !this.readonly) {
733
733
  this.enableResizeObserver();
734
734
  }
735
735
  }
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1227](https://github.com/synergy-design-system/synergy-design-system/pull/1227) [`c827385`](https://github.com/synergy-design-system/synergy-design-system/commit/c82738594731dc3c2a5041695741f099393068de) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-03-10
8
+
9
+ fix: 🐛 `<syn-select>` may throw an error when configured to be `readonly` and `multiple` (#1225)
10
+
11
+ - Updated dependencies []:
12
+ - @synergy-design-system/tokens@3.10.3
13
+
3
14
  ## 3.10.2
4
15
 
5
16
  ### Patch Changes
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.10.3
4
+
3
5
  ## 3.10.2
4
6
 
5
7
  ## 3.10.1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 3.10.1
2
+ * @synergy-design-system/tokens version 3.10.2
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 3.10.1
2
+ * @synergy-design-system/tokens version 3.10.2
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 3.10.1
2
+ * @synergy-design-system/tokens version 3.10.2
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 3.10.1
2
+ * @synergy-design-system/tokens version 3.10.2
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 3.10.1
2
+ * @synergy-design-system/tokens version 3.10.2
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 3.10.1
2
+ * @synergy-design-system/tokens version 3.10.2
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 3.10.1
2
+ * @synergy-design-system/tokens version 3.10.2
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
package/package.json CHANGED
@@ -28,12 +28,12 @@
28
28
  "serve-handler": "^6.1.7",
29
29
  "ts-jest": "^29.4.6",
30
30
  "typescript": "^5.9.3",
31
- "@synergy-design-system/components": "3.10.2",
32
31
  "@synergy-design-system/docs": "0.1.0",
33
32
  "@synergy-design-system/eslint-config-syn": "^0.1.0",
34
- "@synergy-design-system/styles": "2.0.2",
33
+ "@synergy-design-system/components": "3.10.3",
35
34
  "@synergy-design-system/fonts": "1.0.4",
36
- "@synergy-design-system/tokens": "^3.10.2"
35
+ "@synergy-design-system/styles": "2.0.2",
36
+ "@synergy-design-system/tokens": "^3.10.3"
37
37
  },
38
38
  "exports": {
39
39
  ".": {
@@ -67,7 +67,7 @@
67
67
  "directory": "packages/mcp"
68
68
  },
69
69
  "type": "module",
70
- "version": "2.13.1",
70
+ "version": "2.13.2",
71
71
  "scripts": {
72
72
  "build": "pnpm run build:ts && pnpm run build:metadata && pnpm build:hash",
73
73
  "build:all": "pnpm run build && pnpm run build:storybook",