@synergy-design-system/mcp 1.7.0 → 1.8.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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [@synergy-design-system/mcp-v1.8.0](https://github.com/synergy-design-system/synergy-design-system/compare/mcp/1.7.1...mcp/1.8.0) (2025-10-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * ✨ CD update for syn-progress-ring ([#1033](https://github.com/synergy-design-system/synergy-design-system/issues/1033)) ([ba51374](https://github.com/synergy-design-system/synergy-design-system/commit/ba51374977ad486c2a8020586718740e60da7f51))
7
+
8
+ # [@synergy-design-system/mcp-v1.7.1](https://github.com/synergy-design-system/synergy-design-system/compare/mcp/1.7.0...mcp/1.7.1) (2025-10-08)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * 🐛 Subsequently changed delimiter not taking into account for option value ([#1040](https://github.com/synergy-design-system/synergy-design-system/issues/1040)) ([fb45b32](https://github.com/synergy-design-system/synergy-design-system/commit/fb45b32c36d39046da754a294bff79d1a0ffeb42))
14
+
1
15
  # [@synergy-design-system/mcp-v1.7.0](https://github.com/synergy-design-system/synergy-design-system/compare/mcp/1.6.2...mcp/1.7.0) (2025-10-02)
2
16
 
3
17
 
@@ -1 +1 @@
1
- 744ff99772420e24dc148ca4f4c88ddf
1
+ 14318f8da07d1d58c70403ccd387ff79
@@ -44,6 +44,8 @@ export default class SynOption extends SynergyElement {
44
44
  // @ts-expect-error - Controller is currently unused
45
45
  private readonly localize = new LocalizeController(this);
46
46
 
47
+ // #1036: Needed to store the original value before any delimiter processing
48
+ private originalValue: string | number = '';
47
49
  private isInitialized = false;
48
50
 
49
51
  @query('.option__label') defaultSlot: HTMLSlotElement;
@@ -110,24 +112,39 @@ export default class SynOption extends SynergyElement {
110
112
  this.setAttribute('aria-selected', this.selected ? 'true' : 'false');
111
113
  }
112
114
 
115
+ @watch('delimiter')
116
+ handleDelimiterChange() {
117
+ this.sanitizeValueForDelimiter();
118
+ }
119
+
113
120
  @watch('value')
114
121
  handleValueChange() {
115
- if (typeof this.value === 'number') {
122
+ this.originalValue = this.value;
123
+ this.sanitizeValueForDelimiter();
124
+ }
125
+
126
+ /**
127
+ * Replaces any occurrences of the delimiter in the option's original value with underscores.
128
+ */
129
+ sanitizeValueForDelimiter() {
130
+ let value = this.originalValue;
131
+ if (typeof value === 'number') {
116
132
  return;
117
133
  }
118
134
 
119
135
  // Ensure the value is a string. This ensures the next line doesn't error and allows framework users to pass numbers
120
136
  // instead of requiring them to cast the value to a string.
121
- if (typeof this.value !== 'string') {
122
- this.value = String(this.value);
137
+ if (typeof value !== 'string') {
138
+ value = String(value);
123
139
  }
124
140
 
125
141
  const { delimiter } = this;
126
142
 
127
- if (this.value.includes(delimiter)) {
143
+ if (value.includes(delimiter)) {
128
144
  console.error(`Option values cannot include "${delimiter}". All occurrences of "${delimiter}" have been replaced with "_".`, this);
129
- this.value = delimiterToWhiteSpace(this.value, this.delimiter);
145
+ value = delimiterToWhiteSpace(value, this.delimiter);
130
146
  }
147
+ this.value = value;
131
148
  }
132
149
 
133
150
  /** Returns a plain text label based on the option's content. */
@@ -4,7 +4,8 @@ export default css`
4
4
  :host {
5
5
  --height: var(--syn-font-size-medium);
6
6
  --speed: 2.5s;
7
- --indicator-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));
7
+ --indicator-color: var(--syn-progress-indicator-color, var(--syn-color-primary-600));
8
+ --track-color: var(--syn-progress-track-color, var(--syn-color-neutral-200));
8
9
  }
9
10
 
10
11
  .progress-bar {
@@ -4,6 +4,8 @@ export default css`
4
4
  :host {
5
5
  --size: 120px;
6
6
  --track-width: var(--syn-spacing-x-small);
7
+ --track-color: var(--syn-progress-track-color, var(--syn-color-neutral-200));
8
+ --indicator-color: var(--syn-progress-indicator-color, var(--syn-color-primary-600));
7
9
  }
8
10
 
9
11
  .progress-ring__indicator {
@@ -1,3 +1,17 @@
1
+ # [@synergy-design-system/components-v2.47.0](https://github.com/synergy-design-system/synergy-design-system/compare/components/2.46.1...components/2.47.0) (2025-10-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * ✨ CD update for syn-progress-ring ([#1033](https://github.com/synergy-design-system/synergy-design-system/issues/1033)) ([ba51374](https://github.com/synergy-design-system/synergy-design-system/commit/ba51374977ad486c2a8020586718740e60da7f51))
7
+
8
+ # [@synergy-design-system/components-v2.46.1](https://github.com/synergy-design-system/synergy-design-system/compare/components/2.46.0...components/2.46.1) (2025-10-08)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * 🐛 Subsequently changed delimiter not taking into account for option value ([#1040](https://github.com/synergy-design-system/synergy-design-system/issues/1040)) ([fb45b32](https://github.com/synergy-design-system/synergy-design-system/commit/fb45b32c36d39046da754a294bff79d1a0ffeb42))
14
+
1
15
  # [@synergy-design-system/components-v2.46.0](https://github.com/synergy-design-system/synergy-design-system/compare/components/2.45.2...components/2.46.0) (2025-10-02)
2
16
 
3
17
 
@@ -1,3 +1,10 @@
1
+ # [@synergy-design-system/tokens-v2.28.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/2.27.0...tokens/2.28.0) (2025-10-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * ✨ CD update for syn-progress-ring ([#1033](https://github.com/synergy-design-system/synergy-design-system/issues/1033)) ([ba51374](https://github.com/synergy-design-system/synergy-design-system/commit/ba51374977ad486c2a8020586718740e60da7f51))
7
+
1
8
  # [@synergy-design-system/tokens-v2.27.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/2.26.1...tokens/2.27.0) (2025-10-02)
2
9
 
3
10
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.26.1
2
+ * @synergy-design-system/tokens version 2.27.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -209,6 +209,8 @@
209
209
  --syn-panel-border-color: var(--syn-color-neutral-300);
210
210
  --syn-panel-border-radius: var(--syn-border-radius-medium);
211
211
  --syn-panel-border-width: var(--syn-border-width-small);
212
+ --syn-progress-indicator-color: var(--syn-color-primary-600);
213
+ --syn-progress-track-color: var(--syn-color-neutral-200);
212
214
  --syn-spacing-2x-large: 48px;
213
215
  --syn-spacing-2x-small: 4px;
214
216
  --syn-spacing-3x-large: 64px;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.26.1
2
+ * @synergy-design-system/tokens version 2.27.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
@@ -1013,6 +1013,16 @@ export const SynPanelBorderRadius = 'var(--syn-panel-border-radius)';
1013
1013
  */
1014
1014
  export const SynPanelBorderWidth = 'var(--syn-panel-border-width)';
1015
1015
 
1016
+ /**
1017
+ * @type {string}
1018
+ */
1019
+ export const SynProgressIndicatorColor = 'var(--syn-progress-indicator-color)';
1020
+
1021
+ /**
1022
+ * @type {string}
1023
+ */
1024
+ export const SynProgressTrackColor = 'var(--syn-progress-track-color)';
1025
+
1016
1026
  /**
1017
1027
  * @type {string}
1018
1028
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.26.1
2
+ * @synergy-design-system/tokens version 2.27.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -209,6 +209,8 @@
209
209
  --syn-panel-border-color: var(--syn-color-neutral-300);
210
210
  --syn-panel-border-radius: var(--syn-border-radius-medium);
211
211
  --syn-panel-border-width: var(--syn-border-width-small);
212
+ --syn-progress-indicator-color: var(--syn-color-primary-600);
213
+ --syn-progress-track-color: var(--syn-color-neutral-200);
212
214
  --syn-spacing-2x-large: 48px;
213
215
  --syn-spacing-2x-small: 4px;
214
216
  --syn-spacing-3x-large: 64px;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.26.1
2
+ * @synergy-design-system/tokens version 2.27.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -209,6 +209,8 @@
209
209
  --syn-panel-border-color: var(--syn-color-neutral-300);
210
210
  --syn-panel-border-radius: var(--syn-border-radius-medium);
211
211
  --syn-panel-border-width: var(--syn-border-width-small);
212
+ --syn-progress-indicator-color: var(--syn-color-primary-600);
213
+ --syn-progress-track-color: var(--syn-color-neutral-200);
212
214
  --syn-spacing-2x-large: 48px;
213
215
  --syn-spacing-2x-small: 4px;
214
216
  --syn-spacing-3x-large: 64px;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.26.1
2
+ * @synergy-design-system/tokens version 2.27.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -209,6 +209,8 @@
209
209
  --syn-panel-border-color: var(--syn-color-neutral-300);
210
210
  --syn-panel-border-radius: var(--syn-border-radius-medium);
211
211
  --syn-panel-border-width: var(--syn-border-width-small);
212
+ --syn-progress-indicator-color: var(--syn-color-primary-600);
213
+ --syn-progress-track-color: var(--syn-color-neutral-200);
212
214
  --syn-spacing-2x-large: 48px;
213
215
  --syn-spacing-2x-small: 4px;
214
216
  --syn-spacing-3x-large: 64px;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.26.1
2
+ * @synergy-design-system/tokens version 2.27.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -209,6 +209,8 @@
209
209
  --syn-panel-border-color: var(--syn-color-neutral-300);
210
210
  --syn-panel-border-radius: var(--syn-border-radius-medium);
211
211
  --syn-panel-border-width: var(--syn-border-width-small);
212
+ --syn-progress-indicator-color: var(--syn-color-primary-500);
213
+ --syn-progress-track-color: var(--syn-color-neutral-300);
212
214
  --syn-spacing-2x-large: 48px;
213
215
  --syn-spacing-2x-small: 4px;
214
216
  --syn-spacing-3x-large: 64px;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 2.26.1
2
+ * @synergy-design-system/tokens version 2.27.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly, this file was auto-generated.
5
5
  */
@@ -209,6 +209,8 @@
209
209
  --syn-panel-border-color: #e6e1dc;
210
210
  --syn-panel-border-radius: var(--syn-border-radius-medium);
211
211
  --syn-panel-border-width: var(--syn-border-width-small);
212
+ --syn-progress-indicator-color: var(--syn-color-primary-700);
213
+ --syn-progress-track-color: var(--syn-color-neutral-100);
212
214
  --syn-spacing-2x-large: 48px;
213
215
  --syn-spacing-2x-small: 4px;
214
216
  --syn-spacing-3x-large: 64px;
@@ -38,7 +38,7 @@ To change the color, use the --track-color and --indicator-color custom prop
38
38
  ```html
39
39
  <syn-progress-ring
40
40
  value="50"
41
- style="--indicator-color: var(--syn-color-success-600)"
41
+ style="--indicator-color: var(--syn-color-success-700)"
42
42
  ></syn-progress-ring>
43
43
  ```
44
44
 
package/package.json CHANGED
@@ -33,11 +33,11 @@
33
33
  "semantic-release-monorepo": "7.0.5",
34
34
  "ts-jest": "^29.4.0",
35
35
  "typescript": "^5.8.3",
36
- "@synergy-design-system/components": "2.46.0",
37
36
  "@synergy-design-system/docs": "0.1.0",
38
37
  "@synergy-design-system/eslint-config-syn": "^0.1.0",
39
- "@synergy-design-system/tokens": "^2.27.0",
40
- "@synergy-design-system/styles": "1.8.0"
38
+ "@synergy-design-system/styles": "1.8.0",
39
+ "@synergy-design-system/components": "2.47.0",
40
+ "@synergy-design-system/tokens": "^2.28.0"
41
41
  },
42
42
  "exports": {
43
43
  ".": {
@@ -122,7 +122,7 @@
122
122
  "directory": "packages/mcp"
123
123
  },
124
124
  "type": "module",
125
- "version": "1.7.0",
125
+ "version": "1.8.0",
126
126
  "scripts": {
127
127
  "build": "pnpm run build:ts && pnpm run build:metadata && pnpm build:hash",
128
128
  "build:all": "pnpm run build && pnpm run build:storybook",