@synergy-design-system/mcp 1.41.1 → 2.0.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.
Files changed (113) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +43 -8
  3. package/dist/bin/create-checksum.js +2 -1
  4. package/dist/build/assets.js +1 -1
  5. package/dist/build/components.js +1 -0
  6. package/dist/build/static.js +15 -7
  7. package/dist/build/styles.js +1 -1
  8. package/dist/build/tokens.js +1 -1
  9. package/dist/tools/asset-info.js +8 -6
  10. package/dist/tools/component-info.js +0 -1
  11. package/dist/tools/framework-info.js +0 -1
  12. package/dist/tools/index.d.ts +1 -0
  13. package/dist/tools/index.js +1 -0
  14. package/dist/tools/migration-info.d.ts +10 -1
  15. package/dist/tools/migration-info.js +74 -12
  16. package/dist/tools/migration-list.d.ts +10 -0
  17. package/dist/tools/migration-list.js +122 -0
  18. package/dist/tools/template-info.js +0 -1
  19. package/dist/tools/version.js +3 -1
  20. package/dist/utilities/checksum.js +2 -1
  21. package/dist/utilities/migration.d.ts +3 -1
  22. package/dist/utilities/migration.js +25 -2
  23. package/dist/utilities/storybook/build-docs.js +2 -1
  24. package/dist/utilities/storybook/configs.js +3 -3
  25. package/dist/utilities/storybook/docs-scraper.js +0 -1
  26. package/dist/utilities/storybook/scraper.js +2 -2
  27. package/dist/utilities/storybook/storybook-manager.js +1 -2
  28. package/dist/utilities/version.d.ts +20 -2
  29. package/metadata/checksum.txt +1 -1
  30. package/metadata/packages/angular/README.md +1 -1
  31. package/metadata/packages/assets/BREAKING_CHANGES.md +305 -0
  32. package/metadata/packages/assets/CHANGELOG.md +26 -0
  33. package/metadata/packages/assets/README.md +39 -18
  34. package/metadata/packages/components/components/syn-alert/component.custom.styles.ts +20 -20
  35. package/metadata/packages/components/components/syn-badge/component.custom.styles.ts +11 -10
  36. package/metadata/packages/components/components/syn-breadcrumb-item/component.custom.styles.ts +1 -1
  37. package/metadata/packages/components/components/syn-button/component.custom.styles.ts +24 -24
  38. package/metadata/packages/components/components/syn-checkbox/component.custom.styles.ts +7 -7
  39. package/metadata/packages/components/components/syn-combobox/component.angular.ts +0 -17
  40. package/metadata/packages/components/components/syn-combobox/component.ts +0 -9
  41. package/metadata/packages/components/components/syn-combobox/component.vue +0 -9
  42. package/metadata/packages/components/components/syn-details/component.custom.styles.ts +1 -1
  43. package/metadata/packages/components/components/syn-dialog/component.custom.styles.ts +1 -1
  44. package/metadata/packages/components/components/syn-dropdown/component.angular.ts +0 -17
  45. package/metadata/packages/components/components/syn-dropdown/component.ts +0 -8
  46. package/metadata/packages/components/components/syn-dropdown/component.vue +0 -9
  47. package/metadata/packages/components/components/syn-file/component.styles.ts +6 -6
  48. package/metadata/packages/components/components/syn-header/component.styles.ts +7 -7
  49. package/metadata/packages/components/components/syn-icon-button/component.custom.styles.ts +8 -8
  50. package/metadata/packages/components/components/syn-input/component.custom.styles.ts +3 -3
  51. package/metadata/packages/components/components/syn-input/component.ts +2 -3
  52. package/metadata/packages/components/components/syn-menu-item/component.custom.styles.ts +11 -11
  53. package/metadata/packages/components/components/syn-nav-item/component.styles.ts +3 -3
  54. package/metadata/packages/components/components/syn-optgroup/component.styles.ts +1 -1
  55. package/metadata/packages/components/components/syn-option/component.custom.styles.ts +13 -13
  56. package/metadata/packages/components/components/syn-popup/component.angular.ts +0 -16
  57. package/metadata/packages/components/components/syn-popup/component.ts +3 -10
  58. package/metadata/packages/components/components/syn-popup/component.vue +0 -10
  59. package/metadata/packages/components/components/syn-progress-bar/component.custom.styles.ts +2 -2
  60. package/metadata/packages/components/components/syn-progress-ring/component.custom.styles.ts +2 -2
  61. package/metadata/packages/components/components/syn-radio/component.custom.styles.ts +7 -7
  62. package/metadata/packages/components/components/syn-range/component.styles.ts +10 -9
  63. package/metadata/packages/components/components/syn-range/component.ts +0 -1
  64. package/metadata/packages/components/components/syn-range-tick/component.styles.ts +1 -1
  65. package/metadata/packages/components/components/syn-select/component.angular.ts +0 -17
  66. package/metadata/packages/components/components/syn-select/component.ts +0 -8
  67. package/metadata/packages/components/components/syn-select/component.vue +0 -9
  68. package/metadata/packages/components/components/syn-side-nav/component.angular.ts +0 -21
  69. package/metadata/packages/components/components/syn-side-nav/component.ts +2 -36
  70. package/metadata/packages/components/components/syn-side-nav/component.vue +0 -13
  71. package/metadata/packages/components/components/syn-spinner/component.custom.styles.ts +2 -2
  72. package/metadata/packages/components/components/syn-switch/component.custom.styles.ts +16 -16
  73. package/metadata/packages/components/components/syn-tab/component.custom.styles.ts +3 -3
  74. package/metadata/packages/components/components/syn-tab-group/component.custom.styles.ts +2 -2
  75. package/metadata/packages/components/components/syn-tag/component.custom.styles.ts +1 -1
  76. package/metadata/packages/components/components/syn-tooltip/component.angular.ts +0 -18
  77. package/metadata/packages/components/components/syn-tooltip/component.ts +1 -10
  78. package/metadata/packages/components/components/syn-tooltip/component.vue +0 -10
  79. package/metadata/packages/components/components/syn-validate/component.ts +1 -0
  80. package/metadata/packages/components/migration/BREAKING_CHANGES.md +433 -14
  81. package/metadata/packages/components/static/CHANGELOG.md +55 -0
  82. package/metadata/packages/components/static/LIMITATIONS.md +141 -35
  83. package/metadata/packages/components/static/README.md +1 -1
  84. package/metadata/packages/fonts/CHANGELOG.md +8 -0
  85. package/metadata/packages/fonts/package.json +4 -4
  86. package/metadata/packages/styles/BREAKING_CHANGES.md +105 -0
  87. package/metadata/packages/styles/CHANGELOG.md +37 -0
  88. package/metadata/packages/styles/index.css +9 -9
  89. package/metadata/packages/styles/link-list.css +1 -1
  90. package/metadata/packages/styles/link.css +2 -2
  91. package/metadata/packages/styles/tables.css +8 -8
  92. package/metadata/packages/styles/typography.css +1 -1
  93. package/metadata/packages/tokens/BREAKING_CHANGES.md +180 -0
  94. package/metadata/packages/tokens/CHANGELOG.md +26 -0
  95. package/metadata/packages/tokens/README.md +2 -0
  96. package/metadata/packages/tokens/dark.css +237 -236
  97. package/metadata/packages/tokens/index.js +6 -1
  98. package/metadata/packages/tokens/light.css +221 -220
  99. package/metadata/packages/tokens/sick2018_dark.css +4 -3
  100. package/metadata/packages/tokens/sick2018_light.css +4 -3
  101. package/metadata/packages/tokens/sick2025_dark.css +4 -3
  102. package/metadata/packages/tokens/sick2025_light.css +4 -3
  103. package/metadata/static/components/syn-badge/docs.md +2 -14
  104. package/metadata/static/components/syn-popup/docs.md +10 -29
  105. package/metadata/static/components/syn-range/docs.md +1 -1
  106. package/metadata/static/migration/index.md +51 -11
  107. package/metadata/{packages/components/migration/migration-synergy-v3.md → static/migration/v2-2018-to-v2-2025.md} +1 -1
  108. package/metadata/static/migration/v2-2018-to-v3-2018.md +147 -0
  109. package/metadata/static/migration/v2-2018-to-v3-2025.md +150 -0
  110. package/metadata/static/migration/v2-2025-to-v3-2025.md +133 -0
  111. package/metadata/static/templates/appshell.md +8 -8
  112. package/metadata/static/templates/footer.md +1 -1
  113. package/package.json +16 -16
@@ -36,18 +36,18 @@ export default css`
36
36
  }
37
37
 
38
38
  .option:not(.option--current) {
39
- color: var(--syn-option-color, var(--syn-typography-color-text));
39
+ color: var(--syn-option-color);
40
40
  }
41
41
 
42
42
  .option--current,
43
43
  .option--current.option--hover:not(.option--disabled) {
44
- background-color: var(--syn-option-background-color-active, var(--syn-color-neutral-1000));
45
- color: var(--syn-option-color-active, var(--syn-typography-color-text-inverted));
44
+ background-color: var(--syn-option-background-color-active);
45
+ color: var(--syn-option-color-active);
46
46
  }
47
47
 
48
48
  .option--hover:not(.option--current):not(.option--disabled) {
49
- background-color: var(--syn-option-background-color-hover, var(--syn-color-neutral-1000));
50
- color: var(--syn-option-color-hover, var(--syn-typography-color-text-inverted));
49
+ background-color: var(--syn-option-background-color-hover);
50
+ color: var(--syn-option-color-hover);
51
51
  }
52
52
 
53
53
  /** #429: Use token for opacity */
@@ -56,8 +56,8 @@ export default css`
56
56
  }
57
57
 
58
58
  .option--current.option--disabled {
59
- background-color: var(--syn-option-background-color-hover, var(--syn-color-neutral-1000));
60
- color: var(--syn-option-color-hover, var(--syn-typography-color-text-inverted));
59
+ background-color: var(--syn-option-background-color-hover);
60
+ color: var(--syn-option-color-hover);
61
61
  }
62
62
 
63
63
  .option__label {
@@ -65,7 +65,7 @@ export default css`
65
65
  }
66
66
 
67
67
  .option__check {
68
- color: var(--syn-option-check-color, var(--syn-color-primary-600));
68
+ color: var(--syn-option-check-color);
69
69
  font-size: var(--option-icon-size, var(--syn-spacing-large));
70
70
  }
71
71
 
@@ -75,11 +75,11 @@ export default css`
75
75
 
76
76
  /* Invert the check mark when keyboard navigation is used */
77
77
  .option--current .option__check {
78
- color: var(--syn-option-check-color-active, var(--syn-color-neutral-0));
78
+ color: var(--syn-option-check-color-active);
79
79
  }
80
80
 
81
81
  .option--hover:not(.option--current) .option__check {
82
- color: var(--syn-option-check-color-hover, var(--syn-color-neutral-0));
82
+ color: var(--syn-option-check-color-hover);
83
83
  }
84
84
 
85
85
  /* Use larger spacing between icons and content */
@@ -94,18 +94,18 @@ export default css`
94
94
  /* Set correct icon size when someone uses syn-icon in the slots */
95
95
  .option__prefix::slotted(syn-icon),
96
96
  .option__suffix::slotted(syn-icon) {
97
- color: var(--syn-option-icon-color, var(--syn-typography-color-text));
97
+ color: var(--syn-option-icon-color);
98
98
  font-size: var(--option-icon-size, var(--syn-spacing-large));
99
99
  }
100
100
 
101
101
  .option--hover .option__prefix::slotted(syn-icon),
102
102
  .option--hover .option__suffix::slotted(syn-icon) {
103
- color: var(--syn-option-icon-color-hover, var(--syn-color-neutral-800));
103
+ color: var(--syn-option-icon-color-hover);
104
104
  }
105
105
 
106
106
  .option--current .option__prefix::slotted(syn-icon),
107
107
  .option--current .option__suffix::slotted(syn-icon) {
108
- color: var(--syn-option-icon-color-active, var(--syn-color-neutral-800));
108
+ color: var(--syn-option-icon-color-active);
109
109
  }
110
110
 
111
111
  /* This is needed for the highlight styling of the options in syn-combobox */
@@ -108,22 +108,6 @@ panel inside of the viewport.
108
108
  return this.nativeElement.placement;
109
109
  }
110
110
 
111
- /**
112
- * Determines how the popup is positioned.
113
- * The `absolute` strategy works well in most cases, but if overflow is
114
- clipped, using a `fixed` position strategy can often workaround it.
115
-
116
- @deprecated The strategy property is deprecated and will be removed in future versions.
117
- * Modern browsers support the popover element which is used internally instead.
118
- */
119
- @Input()
120
- set strategy(v: SynPopup['strategy']) {
121
- this._ngZone.runOutsideAngular(() => (this.nativeElement.strategy = v));
122
- }
123
- get strategy(): SynPopup['strategy'] {
124
- return this.nativeElement.strategy;
125
- }
126
-
127
111
  /**
128
112
  * The distance in pixels from which to offset the panel away from its anchor.
129
113
  */
@@ -106,13 +106,6 @@ export default class SynPopup extends SynergyElement {
106
106
  | 'left-start'
107
107
  | 'left-end' = 'top';
108
108
 
109
- /**
110
- * Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is
111
- * clipped, using a `fixed` position strategy can often workaround it.
112
- * @deprecated The strategy property is deprecated and will be removed in future versions. Modern browsers support the popover element which is used internally instead.
113
- */
114
- @property({ reflect: true }) strategy: 'absolute' | 'fixed' = 'absolute';
115
-
116
109
  /** The distance in pixels from which to offset the panel away from its anchor. */
117
110
  @property({ type: Number }) distance = 0;
118
111
 
@@ -417,14 +410,14 @@ export default class SynPopup extends SynergyElement {
417
410
  // More info: https://github.com/shoelace-style/shoelace/issues/1135
418
411
  //
419
412
  const getOffsetParent =
420
- SUPPORTS_POPOVER || this.strategy === 'absolute'
413
+ SUPPORTS_POPOVER
421
414
  ? (element: Element) => platform.getOffsetParent(element, offsetParent)
422
415
  : platform.getOffsetParent;
423
416
 
424
417
  computePosition(this.anchorEl, this.popup, {
425
418
  placement: this.placement,
426
419
  middleware,
427
- strategy: SUPPORTS_POPOVER ? 'absolute' : this.strategy,
420
+ strategy: SUPPORTS_POPOVER ? 'absolute' : 'fixed',
428
421
  platform: {
429
422
  ...platform,
430
423
  getOffsetParent
@@ -585,7 +578,7 @@ export default class SynPopup extends SynergyElement {
585
578
  class=${classMap({
586
579
  popup: true,
587
580
  'popup--active': this.active,
588
- 'popup--fixed': !SUPPORTS_POPOVER && this.strategy === 'fixed',
581
+ 'popup--fixed': !SUPPORTS_POPOVER,
589
582
  'popup--has-arrow': this.arrow
590
583
  })}
591
584
  >
@@ -72,16 +72,6 @@ panel inside of the viewport.
72
72
  */
73
73
  placement?: SynPopup['placement'];
74
74
 
75
- /**
76
- * Determines how the popup is positioned.
77
- * The `absolute` strategy works well in most cases, but if overflow is
78
- clipped, using a `fixed` position strategy can often workaround it.
79
-
80
- @deprecated The strategy property is deprecated and will be removed in future versions.
81
- * Modern browsers support the popover element which is used internally instead.
82
- */
83
- strategy?: SynPopup['strategy'];
84
-
85
75
  /**
86
76
  * The distance in pixels from which to offset the panel away from its anchor.
87
77
  */
@@ -4,8 +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-progress-indicator-color, var(--syn-color-primary-600));
8
- --track-color: var(--syn-progress-track-color, var(--syn-color-neutral-200));
7
+ --indicator-color: var(--syn-progress-indicator-color);
8
+ --track-color: var(--syn-progress-track-color);
9
9
  }
10
10
 
11
11
  .progress-bar {
@@ -4,8 +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
+ --track-color: var(--syn-progress-track-color);
8
+ --indicator-color: var(--syn-progress-indicator-color);
9
9
  }
10
10
 
11
11
  .progress-ring__indicator {
@@ -18,8 +18,8 @@ export default css`
18
18
  /* Checked */
19
19
  /* stylelint-disable-next-line no-descending-specificity */
20
20
  .radio--checked .radio__control {
21
- background-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));
22
- border-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));
21
+ background-color: var(--syn-interactive-emphasis-color);
22
+ border-color: var(--syn-interactive-emphasis-color);
23
23
  }
24
24
 
25
25
  /* Reset original hover */
@@ -30,14 +30,14 @@ export default css`
30
30
 
31
31
  /* Checked + hover */
32
32
  .radio.radio--checked:not(.radio--disabled):hover .radio__control {
33
- background-color: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-950));
34
- border-color: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-950));
33
+ background-color: var(--syn-interactive-emphasis-color-hover);
34
+ border-color: var(--syn-interactive-emphasis-color-hover);
35
35
  }
36
36
 
37
37
  /* Checked + active */
38
38
  .radio.radio--checked:not(.radio--disabled):active .radio__control {
39
- background-color: var(--syn-interactive-emphasis-color-active, var(--syn-color-primary-950));
40
- border-color: var(--syn-interactive-emphasis-color-active, var(--syn-color-primary-950));
39
+ background-color: var(--syn-interactive-emphasis-color-active);
40
+ border-color: var(--syn-interactive-emphasis-color-active);
41
41
  }
42
42
 
43
43
  /* Not-Checked + Hover */
@@ -47,7 +47,7 @@ export default css`
47
47
 
48
48
  /* Not-Checked + active */
49
49
  .radio:not(.radio--checked):not(.radio--disabled):active .radio__control {
50
- border-color: var(--syn-input-border-color-active, var(--syn-color-neutral-1000));
50
+ border-color: var(--syn-input-border-color-active);
51
51
  }
52
52
 
53
53
  /* Fix#456: Multi line radio fixes */
@@ -10,8 +10,8 @@ export default css`
10
10
  --thumb-hit-area-size: 1.4;
11
11
  --track-hit-area-size: var(--syn-spacing-medium);
12
12
  --track-active-offset: 0px;
13
- --track-color-active: var(--syn-range-track-color-active,var(--syn-color-primary-600));
14
- --track-color-inactive: var(--syn-range-color-inactive, var(--syn-color-neutral-200));
13
+ --track-color-active: var(--syn-range-track-color-active);
14
+ --track-color-inactive: var(--syn-range-color-inactive);
15
15
  --track-height: var(--syn-spacing-2x-small);
16
16
 
17
17
  /* This is needed to get the full with of the element, including the border */
@@ -155,8 +155,8 @@ export default css`
155
155
  }
156
156
 
157
157
  .thumb {
158
- background-color: var(--syn-interactive-emphasis-color,var(--syn-color-primary-600));
159
- border: var(--syn-focus-ring-width) solid var(--syn-input-border-color-offset, var(--syn-color-neutral-0));
158
+ background-color: var(--syn-interactive-emphasis-color);
159
+ border: var(--syn-focus-ring-width) solid var(--syn-input-border-color-offset);
160
160
  border-radius: var(--syn-border-radius-circle);
161
161
  cursor: pointer;
162
162
  display: block;
@@ -192,7 +192,7 @@ export default css`
192
192
  }
193
193
 
194
194
  .thumb.grabbed {
195
- background: var(--syn-interactive-emphasis-color-active, var(--syn-color-primary-950));
195
+ background: var(--syn-interactive-emphasis-color-active);
196
196
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
197
197
  cursor: grabbing;
198
198
  }
@@ -202,7 +202,7 @@ export default css`
202
202
  }
203
203
 
204
204
  .thumb:not(.grabbed):focus-visible {
205
- background: var(--syn-interactive-emphasis-color-hover,var(--syn-color-primary-900));
205
+ background: var(--syn-interactive-emphasis-color-hover);
206
206
  outline: var(--syn-focus-ring);
207
207
  outline-offset: 0;
208
208
  }
@@ -223,7 +223,7 @@ export default css`
223
223
  }
224
224
 
225
225
  :host(:not([disabled])) .thumb:not(.grabbed):hover {
226
- background: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-900));
226
+ background: var(--syn-interactive-emphasis-color-hover);
227
227
  }
228
228
 
229
229
  :host(:not([disabled])) .thumb:hover::after {
@@ -255,6 +255,7 @@ export default css`
255
255
  */
256
256
  .visually-hidden {
257
257
  border: 0;
258
+ /* stylelint-disable-next-line property-no-deprecated */
258
259
  clip: rect(0, 0, 0, 0);
259
260
  height: 1px;
260
261
  margin: -1px;
@@ -275,10 +276,10 @@ export default css`
275
276
 
276
277
 
277
278
  :host([data-user-invalid]) .active-track {
278
- --track-color-active: var(--syn-range-error-color ,var(--syn-input-border-color-focus-error));
279
+ --track-color-active: var(--syn-range-error-color);
279
280
  }
280
281
 
281
282
  :host([data-user-invalid]) .thumb {
282
- background-color: var(--syn-range-error-color ,var(--syn-input-border-color-focus-error));
283
+ background-color: var(--syn-range-error-color);
283
284
  }
284
285
  `;
@@ -751,7 +751,6 @@ export default class SynRange extends SynergyElement implements SynergyFormContr
751
751
  return html`
752
752
  <syn-tooltip
753
753
  exportparts="base:tooltip__base, base__arrow:tooltip__arrow, base__popup:tooltip__popup, body:tooltip__body"
754
- hoist
755
754
  .disabled=${this.tooltipPlacement === 'none' || this.disabled}
756
755
  .placement=${this.tooltipPlacement as 'top' | 'bottom'}
757
756
  trigger="focus"
@@ -15,7 +15,7 @@ export default css`
15
15
  }
16
16
 
17
17
  .tick-line {
18
- background: var(--syn-range-tick-color, var(--syn-color-neutral-400));
18
+ background: var(--syn-range-tick-color);
19
19
  height: var(--tick-height);
20
20
  }
21
21
 
@@ -263,23 +263,6 @@ use the `show()` and `hide()` methods and this attribute will reflect the select
263
263
  return this.nativeElement.open;
264
264
  }
265
265
 
266
- /**
267
- * Enable this option to prevent the listbox from being clipped when the component is placed inside a container with
268
- `overflow: auto|scroll`.
269
- * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
270
-
271
- @deprecated This property is deprecated and will be removed in the next major version.
272
- */
273
- @Input()
274
- set hoist(v: '' | SynSelect['hoist']) {
275
- this._ngZone.runOutsideAngular(
276
- () => (this.nativeElement.hoist = v === '' || v),
277
- );
278
- }
279
- get hoist(): SynSelect['hoist'] {
280
- return this.nativeElement.hoist;
281
- }
282
-
283
266
  /**
284
267
  * The select's label.
285
268
  * If you need to display HTML, use the `label` slot instead.
@@ -184,13 +184,6 @@ export default class SynSelect extends SynergyElement implements SynergyFormCont
184
184
  */
185
185
  @property({ type: Boolean, reflect: true }) open = false;
186
186
 
187
- /**
188
- * Enable this option to prevent the listbox from being clipped when the component is placed inside a container with
189
- * `overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
190
- * @deprecated This property is deprecated and will be removed in the next major version.
191
- */
192
- @property({ type: Boolean }) hoist = false;
193
-
194
187
  /** The select's label. If you need to display HTML, use the `label` slot instead. */
195
188
  @property() label = '';
196
189
 
@@ -930,7 +923,6 @@ protected override willUpdate(changedProperties: PropertyValues) {
930
923
  'select--large': this.size === 'large'
931
924
  })}
932
925
  placement=${this.placement + '-start'}
933
- strategy=${this.hoist ? 'fixed' : 'absolute'}
934
926
  flip
935
927
  shift
936
928
  sync="width"
@@ -128,15 +128,6 @@ use the `show()` and `hide()` methods and this attribute will reflect the select
128
128
  */
129
129
  open?: SynSelect['open'];
130
130
 
131
- /**
132
- * Enable this option to prevent the listbox from being clipped when the component is placed inside a container with
133
- `overflow: auto|scroll`.
134
- * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
135
-
136
- @deprecated This property is deprecated and will be removed in the next major version.
137
- */
138
- hoist?: SynSelect['hoist'];
139
-
140
131
  /**
141
132
  * The select's label.
142
133
  * If you need to display HTML, use the `label` slot instead.
@@ -142,27 +142,6 @@ Without `open`, the side-nav will only show the prefix of nav-item's.
142
142
  return this.nativeElement.open;
143
143
  }
144
144
 
145
- /**
146
- * Use the rail attribute to only show the prefix of navigation items in closed state.
147
- This will open on hover on the rail navigation.
148
- On touch devices the navigation opens on click and shows an overlay.
149
-
150
- Note: The Rail is only an option if all Navigation Items on the first level have an Icon.
151
- If this is not the case you should use a burger navigation.
152
-
153
- @deprecated Use the `variant` attribute with `rail` instead.
154
- Will be removed in synergy version 3.0
155
- */
156
- @Input()
157
- set rail(v: '' | SynSideNav['rail']) {
158
- this._ngZone.runOutsideAngular(
159
- () => (this.nativeElement.rail = v === '' || v),
160
- );
161
- }
162
- get rail(): SynSideNav['rail'] {
163
- return this.nativeElement.rail;
164
- }
165
-
166
145
  /**
167
146
  * The variant that should be used to show the side navigation.
168
147
 
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/unbound-method */
2
2
  import { classMap } from 'lit/directives/class-map.js';
3
- import type { CSSResultGroup, PropertyValues } from 'lit';
3
+ import type { CSSResultGroup } from 'lit';
4
4
  import { html } from 'lit/static-html.js';
5
5
  import { property, query, state } from 'lit/decorators.js';
6
6
  import { HasSlotController } from '../../internal/slot.js';
@@ -129,19 +129,6 @@ export default class SynSideNav extends SynergyElement {
129
129
  */
130
130
  @property({ reflect: true, type: Boolean }) open = false;
131
131
 
132
- /**
133
- * Use the rail attribute to only show the prefix of navigation items in closed state.
134
- * This will open on hover on the rail navigation.
135
- * On touch devices the navigation opens on click and shows an overlay.
136
- *
137
- * Note: The Rail is only an option if all Navigation Items on the first level have an Icon.
138
- * If this is not the case you should use a burger navigation.
139
- *
140
- * @deprecated Use the `variant` attribute with `rail` instead.
141
- * Will be removed in synergy version 3.0
142
- */
143
- @property({ reflect: true, type: Boolean }) rail = false;
144
-
145
132
  /**
146
133
  * The variant that should be used to show the side navigation.
147
134
  *
@@ -289,7 +276,7 @@ export default class SynSideNav extends SynergyElement {
289
276
 
290
277
  // The originalTrigger needs to be removed, otherwise when closing the drawer,
291
278
  // the first focused nav-item is focused again...
292
- // eslint-disable-next-line @typescript-eslint/dot-notation
279
+ // eslint-disable-next-line dot-notation
293
280
  this.drawer['originalTrigger'] = null;
294
281
  }
295
282
  });
@@ -356,27 +343,6 @@ export default class SynSideNav extends SynergyElement {
356
343
  }
357
344
  }
358
345
 
359
- // eslint-disable-next-line complexity
360
- protected override willUpdate(changedProperties: PropertyValues) {
361
- super.willUpdate(changedProperties);
362
-
363
- // TODO: this can be removed in synergy version 3.0
364
- if (changedProperties.has('rail')) {
365
- if (this.rail) {
366
- // Add deprecation console warning for stakeholder, which do not use linting
367
- // to get their attention
368
- console.warn('<syn-side-nav/>: The `rail` attribute is deprecated. Please use the `variant` attribute with `rail` instead. It will be removed in synergy version 3.0');
369
- }
370
-
371
- // The `variant` should be adapted to the `rail` attribute,
372
- // if it was explicitly set or unset by the user.
373
- // This is needed to be backwards compatible with the `rail` attribute
374
- if (!changedProperties.has('variant') || this.rail) {
375
- this.variant = this.rail ? 'rail' : 'default';
376
- }
377
- }
378
- }
379
-
380
346
  private toggleOpenState() {
381
347
  this.open = !this.open;
382
348
  }
@@ -106,19 +106,6 @@ Without `open`, the side-nav will only show the prefix of nav-item's.
106
106
  */
107
107
  open?: SynSideNav['open'];
108
108
 
109
- /**
110
- * Use the rail attribute to only show the prefix of navigation items in closed state.
111
- This will open on hover on the rail navigation.
112
- On touch devices the navigation opens on click and shows an overlay.
113
-
114
- Note: The Rail is only an option if all Navigation Items on the first level have an Icon.
115
- If this is not the case you should use a burger navigation.
116
-
117
- @deprecated Use the `variant` attribute with `rail` instead.
118
- Will be removed in synergy version 3.0
119
- */
120
- rail?: SynSideNav['rail'];
121
-
122
109
  /**
123
110
  * The variant that should be used to show the side navigation.
124
111
 
@@ -3,7 +3,7 @@ import { css } from 'lit';
3
3
  export default css`
4
4
  :host {
5
5
  --speed: var(--syn-transition-x-slow);
6
- --indicator-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));
6
+ --indicator-color: var(--syn-interactive-emphasis-color);
7
7
  }
8
8
 
9
9
  .spinner__indicator {
@@ -16,7 +16,7 @@ export default css`
16
16
  */
17
17
  .spinner__track {
18
18
  filter: saturate(0);
19
- opacity: var(--syn-spinner-opacity, 0.16);
19
+ opacity: var(--syn-spinner-opacity);
20
20
  stroke: var(--indicator-color);
21
21
  }
22
22
 
@@ -2,25 +2,25 @@ import { css } from 'lit';
2
2
 
3
3
  export default css`
4
4
  :host([size='small']) {
5
- --height: var(--syn-switch-height-small, calc(var(--syn-toggle-size-medium) + 2px));
5
+ --height: var(--syn-switch-height-small);
6
6
  --thumb-size: var(--syn-toggle-size-small);
7
- --width: var(--syn-switch-width-small, calc((var(--height) * 2) - 6px));
7
+ --width: var(--syn-switch-width-small);
8
8
 
9
9
  font-size: var(--syn-input-font-size-small);
10
10
  }
11
11
 
12
12
  :host([size='medium']) {
13
- --height: var(--syn-switch-height-medium, calc(var(--syn-toggle-size-medium) + 4px));
13
+ --height: var(--syn-switch-height-medium);
14
14
  --thumb-size: var(--syn-toggle-size-medium);
15
- --width: var(--syn-switch-width-medium, calc((var(--height) * 2) - 6px));
15
+ --width: var(--syn-switch-width-medium);
16
16
 
17
17
  font-size: var(--syn-input-font-size-medium);
18
18
  }
19
19
 
20
20
  :host([size='large']) {
21
- --height: var(--syn-switch-height-large, calc(var(--syn-toggle-size-large) + 4px));
21
+ --height: var(--syn-switch-height-large);
22
22
  --thumb-size: var(--syn-toggle-size-large);
23
- --width: var(--syn-switch-width-large, calc((var(--height) * 2) - 6px));
23
+ --width: var(--syn-switch-width-large);
24
24
 
25
25
  font-size: var(--syn-input-font-size-large);
26
26
  }
@@ -58,8 +58,8 @@ export default css`
58
58
 
59
59
  /* Checked */
60
60
  .switch--checked .switch__control {
61
- background-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));
62
- border-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));
61
+ background-color: var(--syn-interactive-emphasis-color);
62
+ border-color: var(--syn-interactive-emphasis-color);
63
63
  }
64
64
 
65
65
  /* Hover */
@@ -74,8 +74,8 @@ export default css`
74
74
 
75
75
  /* Checked + hover */
76
76
  .switch.switch--checked:not(.switch--disabled):hover .switch__control {
77
- background-color: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-900));
78
- border-color: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-900));
77
+ background-color: var(--syn-interactive-emphasis-color-hover);
78
+ border-color: var(--syn-interactive-emphasis-color-hover);
79
79
  }
80
80
 
81
81
  .switch.switch--checked:not(.switch--disabled):hover .switch__control:hover .switch__thumb {
@@ -114,8 +114,8 @@ export default css`
114
114
 
115
115
  /* Checked + focus */
116
116
  .switch.switch--checked:not(.switch--disabled) .switch__input:focus-visible ~ .switch__control {
117
- background-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));
118
- border-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));
117
+ background-color: var(--syn-interactive-emphasis-color);
118
+ border-color: var(--syn-interactive-emphasis-color);
119
119
  outline: var(--syn-focus-ring);
120
120
  outline-offset: var(--syn-focus-ring-offset);
121
121
  }
@@ -130,12 +130,12 @@ export default css`
130
130
  }
131
131
 
132
132
  :host([data-user-invalid]) .switch:not(.switch--checked):not(.switch--disabled) .switch__control {
133
- background-color: var(--syn-input-border-color-focus-error, var(--syn-color-error-700));
134
- border-color: var(--syn-input-border-color-focus-error, var(--syn-color-error-700));
133
+ background-color: var(--syn-input-border-color-focus-error);
134
+ border-color: var(--syn-input-border-color-focus-error);
135
135
  }
136
136
 
137
137
  :host([data-user-invalid]) .switch:not(.switch--checked):not(.switch--disabled):hover .switch__control {
138
- background-color: var(--syn-input-border-color-hover, var(--syn-color-error-900));
139
- border-color: var(--syn-input-border-color-hover, var(--syn-color-error-900));
138
+ background-color: var(--syn-input-border-color-hover);
139
+ border-color: var(--syn-input-border-color-hover);
140
140
  }
141
141
  `;
@@ -46,7 +46,7 @@ export default css`
46
46
  }
47
47
 
48
48
  .tab:hover:not(.tab--disabled) {
49
- color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-700));
49
+ color: var(--syn-interactive-emphasis-color);
50
50
  }
51
51
 
52
52
  .tab.tab--active:not(:hover):not(.tab--disabled) {
@@ -61,7 +61,7 @@ export default css`
61
61
  }
62
62
 
63
63
  .tab__close-button {
64
- color: var(--syn-input-icon-icon-clearable-color, var(--syn-color-neutral-500));
64
+ color: var(--syn-input-icon-icon-clearable-color);
65
65
  font-size: var(--syn-font-size-x-large);
66
66
  margin-inline-start: var(--syn-spacing-2x-small);
67
67
  }
@@ -71,7 +71,7 @@ export default css`
71
71
  }
72
72
 
73
73
  .tab__close-button::part(base):hover {
74
- color: var(--syn-input-icon-icon-clearable-color-hover, var(--syn-color-primary-700));
74
+ color: var(--syn-input-icon-icon-clearable-color-hover);
75
75
  }
76
76
 
77
77
  .tab--active {
@@ -7,7 +7,7 @@ export default css`
7
7
  --track-width: var(--syn-border-width-small);
8
8
  --track-color: var(--syn-panel-border-color);
9
9
  --indicator-width: var(--syn-border-width-x-large);
10
- --indicator-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));
10
+ --indicator-color: var(--syn-interactive-emphasis-color);
11
11
  }
12
12
 
13
13
  /* we need to augment the size of the height of the tab-group__nav to make the focus outline and the hiding white border visible of the tab because of overflow-x value */
@@ -185,7 +185,7 @@ export default css`
185
185
  .tab-group__scroll-button {
186
186
  /* we need to move the scroll buttons to the top, to align the borders with the border of the tab-group--nav */
187
187
  bottom: var(--syn-panel-border-width);
188
- color: var(--syn-interactive-quiet-color, var(--syn-color-neutral-950));
188
+ color: var(--syn-interactive-quiet-color);
189
189
  font-size: var(--syn-font-size-medium);
190
190
  width: calc(var(--syn-spacing-x-large) + var( --syn-spacing-2x-small));
191
191
  }
@@ -68,7 +68,7 @@ export default css`
68
68
 
69
69
  /* Hover */
70
70
  .tag.tag--removable:hover {
71
- background-color: var(--syn-interactive-background-color-hover, var(--syn-color-neutral-100));
71
+ background-color: var(--syn-interactive-background-color-hover);
72
72
  }
73
73
 
74
74
  .tag .tag__remove:hover {