@synergy-design-system/vue 2.77.1 → 3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @synergy-design-system/vue
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#1160](https://github.com/synergy-design-system/synergy-design-system/pull/1160) [`669cbcb`](https://github.com/synergy-design-system/synergy-design-system/commit/669cbcb9cccce72134beac99ac12a2591f3e3c74) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2026-02-02
8
+
9
+ feat: 💥 Component updates and deprecations for Synergy 3.0
10
+
11
+ This release removes deprecated attributes, updates defaults, and improves bundle size by removing fallback variables.
12
+
13
+ **Key Changes:**
14
+ - **Breaking:** Removed `hoist` attribute from `<syn-combobox>`, `<syn-dropdown>`, `<syn-select>`, and `<syn-tooltip>` (no longer needed with Popover API support)
15
+ - **Breaking:** Removed `strategy` attribute from `<syn-popup>` (no longer needed with Popover API support)
16
+ - **Breaking:** Removed `rail` attribute from `<syn-side-nav>` (use `variant="rail"` instead)
17
+ - **Breaking:** Changed default for `<syn-input>` `numeric-strategy` from "native" to "modern"
18
+ - **Breaking:** Variable fallbacks removed - all CSS custom property fallbacks have been eliminated to reduce bundle size
19
+ - **Breaking:** Token package alignment - components now has a `peerDependency` on `@synergy-design-system/tokens@^3.0.0`
20
+ - **Breaking:** Angular support - removed support for Angular 16 and 17 (no longer actively maintained)
21
+ - **Deprecation Notice:** Icon migration utilities (`migrateIconName`, `migrateIconNameFilled`, `migrationLibrary`) are now deprecated
22
+ - **Deprecation Notice:** `enableExperimentalSettingEmitEvents` is now deprecated in favor of `enableSettingEmitEvents`
23
+
24
+ **Migration Steps:**
25
+ - Remove all `hoist` and `strategy` attributes from affected components
26
+ - Update `<syn-side-nav rail>` to `<syn-side-nav variant="rail">`
27
+ - Remove `numeric-strategy="modern"` from `<syn-input>` as it's now the default
28
+ - Update Angular projects to version 18 or higher
29
+ - Replace `enableExperimentalSettingEmitEvents` with `enableSettingEmitEvents`
30
+ - Ensure matching versions of components and tokens packages
31
+
32
+ For detailed migration instructions, please refer to the [breaking changes documentation](https://synergy-design-system.github.io/?path=/docs/packages-components-breaking-changes--docs).
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [[`669cbcb`](https://github.com/synergy-design-system/synergy-design-system/commit/669cbcb9cccce72134beac99ac12a2591f3e3c74), [`669cbcb`](https://github.com/synergy-design-system/synergy-design-system/commit/669cbcb9cccce72134beac99ac12a2591f3e3c74)]:
37
+ - @synergy-design-system/components@3.0.0
38
+ - @synergy-design-system/tokens@3.0.0
39
+
3
40
  ## 2.77.1
4
41
 
5
42
  ### Patch Changes
@@ -42,14 +42,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
42
42
  */
43
43
  open?: SynCombobox["open"];
44
44
  /**
45
- * Enable this option to prevent the listbox from being clipped,
46
- when the component is placed inside a container with `overflow: auto|scroll`.
47
- Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
48
-
49
- @deprecated This property is deprecated and will be removed in the next major version.
50
- */
51
- hoist?: SynCombobox["hoist"];
52
- /**
53
45
  * The combobox's label.
54
46
  * If you need to display HTML, use the `label` slot instead.
55
47
  */
@@ -145,14 +137,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
145
137
  */
146
138
  open?: SynCombobox["open"];
147
139
  /**
148
- * Enable this option to prevent the listbox from being clipped,
149
- when the component is placed inside a container with `overflow: auto|scroll`.
150
- Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
151
-
152
- @deprecated This property is deprecated and will be removed in the next major version.
153
- */
154
- hoist?: SynCombobox["hoist"];
155
- /**
156
140
  * The combobox's label.
157
141
  * If you need to display HTML, use the `label` slot instead.
158
142
  */
@@ -11,7 +11,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  disabled: {},
12
12
  clearable: {},
13
13
  open: {},
14
- hoist: {},
15
14
  label: {},
16
15
  placement: {},
17
16
  helpText: {},
@@ -36,14 +36,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
36
36
  */
37
37
  skidding?: SynDropdown["skidding"];
38
38
  /**
39
- * Enable this option to prevent the panel from being clipped when the component is placed inside a container with
40
- `overflow: auto|scroll`.
41
- * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
42
-
43
- @deprecated This property is deprecated and will be removed in the next major version.
44
- */
45
- hoist?: SynDropdown["hoist"];
46
- /**
47
39
  * Syncs the popup width or height to that of the trigger element.
48
40
  */
49
41
  sync?: SynDropdown["sync"];
@@ -94,14 +86,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
94
86
  */
95
87
  skidding?: SynDropdown["skidding"];
96
88
  /**
97
- * Enable this option to prevent the panel from being clipped when the component is placed inside a container with
98
- `overflow: auto|scroll`.
99
- * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
100
-
101
- @deprecated This property is deprecated and will be removed in the next major version.
102
- */
103
- hoist?: SynDropdown["hoist"];
104
- /**
105
89
  * Syncs the popup width or height to that of the trigger element.
106
90
  */
107
91
  sync?: SynDropdown["sync"];
@@ -9,7 +9,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  stayOpenOnSelect: {},
10
10
  distance: {},
11
11
  skidding: {},
12
- hoist: {},
13
12
  sync: {},
14
13
  containingElement: {}
15
14
  },
@@ -22,15 +22,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
22
22
  */
23
23
  placement?: SynPopup["placement"];
24
24
  /**
25
- * Determines how the popup is positioned.
26
- * The `absolute` strategy works well in most cases, but if overflow is
27
- clipped, using a `fixed` position strategy can often workaround it.
28
-
29
- @deprecated The strategy property is deprecated and will be removed in future versions.
30
- * Modern browsers support the popover element which is used internally instead.
31
- */
32
- strategy?: SynPopup["strategy"];
33
- /**
34
25
  * The distance in pixels from which to offset the panel away from its anchor.
35
26
  */
36
27
  distance?: SynPopup["distance"];
@@ -164,15 +155,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
164
155
  */
165
156
  placement?: SynPopup["placement"];
166
157
  /**
167
- * Determines how the popup is positioned.
168
- * The `absolute` strategy works well in most cases, but if overflow is
169
- clipped, using a `fixed` position strategy can often workaround it.
170
-
171
- @deprecated The strategy property is deprecated and will be removed in future versions.
172
- * Modern browsers support the popover element which is used internally instead.
173
- */
174
- strategy?: SynPopup["strategy"];
175
- /**
176
158
  * The distance in pixels from which to offset the panel away from its anchor.
177
159
  */
178
160
  distance?: SynPopup["distance"];
@@ -6,7 +6,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  anchor: {},
7
7
  active: {},
8
8
  placement: {},
9
- strategy: {},
10
9
  distance: {},
11
10
  skidding: {},
12
11
  arrow: {},
@@ -53,14 +53,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
53
53
  */
54
54
  open?: SynSelect["open"];
55
55
  /**
56
- * Enable this option to prevent the listbox from being clipped when the component is placed inside a container with
57
- `overflow: auto|scroll`.
58
- * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
59
-
60
- @deprecated This property is deprecated and will be removed in the next major version.
61
- */
62
- hoist?: SynSelect["hoist"];
63
- /**
64
56
  * The select's label.
65
57
  * If you need to display HTML, use the `label` slot instead.
66
58
  */
@@ -166,14 +158,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
166
158
  */
167
159
  open?: SynSelect["open"];
168
160
  /**
169
- * Enable this option to prevent the listbox from being clipped when the component is placed inside a container with
170
- `overflow: auto|scroll`.
171
- * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
172
-
173
- @deprecated This property is deprecated and will be removed in the next major version.
174
- */
175
- hoist?: SynSelect["hoist"];
176
- /**
177
161
  * The select's label.
178
162
  * If you need to display HTML, use the `label` slot instead.
179
163
  */
@@ -13,7 +13,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  disabled: {},
14
14
  clearable: {},
15
15
  open: {},
16
- hoist: {},
17
16
  label: {},
18
17
  placement: {},
19
18
  helpText: {},
@@ -27,18 +27,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
27
27
  */
28
28
  open?: SynSideNav["open"];
29
29
  /**
30
- * Use the rail attribute to only show the prefix of navigation items in closed state.
31
- This will open on hover on the rail navigation.
32
- On touch devices the navigation opens on click and shows an overlay.
33
-
34
- Note: The Rail is only an option if all Navigation Items on the first level have an Icon.
35
- If this is not the case you should use a burger navigation.
36
-
37
- @deprecated Use the `variant` attribute with `rail` instead.
38
- Will be removed in synergy version 3.0
39
- */
40
- rail?: SynSideNav["rail"];
41
- /**
42
30
  * The variant that should be used to show the side navigation.
43
31
 
44
32
  The following variants are supported:
@@ -94,18 +82,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
94
82
  */
95
83
  open?: SynSideNav["open"];
96
84
  /**
97
- * Use the rail attribute to only show the prefix of navigation items in closed state.
98
- This will open on hover on the rail navigation.
99
- On touch devices the navigation opens on click and shows an overlay.
100
-
101
- Note: The Rail is only an option if all Navigation Items on the first level have an Icon.
102
- If this is not the case you should use a burger navigation.
103
-
104
- @deprecated Use the `variant` attribute with `rail` instead.
105
- Will be removed in synergy version 3.0
106
- */
107
- rail?: SynSideNav["rail"];
108
- /**
109
85
  * The variant that should be used to show the side navigation.
110
86
 
111
87
  The following variants are supported:
@@ -4,7 +4,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "SynVueSideNav",
5
5
  props: {
6
6
  open: {},
7
- rail: {},
8
7
  variant: {},
9
8
  noFocusTrapping: {}
10
9
  },
@@ -41,15 +41,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
41
41
  programmatically.
42
42
  */
43
43
  trigger?: SynTooltip["trigger"];
44
- /**
45
- * Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with
46
- `overflow: auto|hidden|scroll`.
47
- * Hoisting uses a fixed positioning strategy that works in many, but not all,
48
- scenarios.
49
-
50
- @deprecated This property is deprecated and will be removed in the next major version.
51
- */
52
- hoist?: SynTooltip["hoist"];
53
44
  }, {
54
45
  nativeElement: import('vue').Ref<SynTooltip | undefined, SynTooltip | undefined>;
55
46
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -95,15 +86,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
95
86
  programmatically.
96
87
  */
97
88
  trigger?: SynTooltip["trigger"];
98
- /**
99
- * Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with
100
- `overflow: auto|hidden|scroll`.
101
- * Hoisting uses a fixed positioning strategy that works in many, but not all,
102
- scenarios.
103
-
104
- @deprecated This property is deprecated and will be removed in the next major version.
105
- */
106
- hoist?: SynTooltip["hoist"];
107
89
  }> & Readonly<{
108
90
  "onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
109
91
  "onSyn-after-show"?: ((e: SynAfterShowEvent) => any) | undefined;
@@ -9,8 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  distance: {},
10
10
  open: {},
11
11
  skidding: {},
12
- trigger: {},
13
- hoist: {}
12
+ trigger: {}
14
13
  },
15
14
  emits: ["syn-show", "syn-after-show", "syn-hide", "syn-after-hide"],
16
15
  setup(__props, { expose: __expose }) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://www.sick.com"
5
5
  },
6
6
  "dependencies": {
7
- "@synergy-design-system/components": "^2.77.1"
7
+ "@synergy-design-system/components": "3.0.0"
8
8
  },
9
9
  "description": "Vue3 wrappers for the Synergy Design System",
10
10
  "exports": {
@@ -40,7 +40,7 @@
40
40
  "directory": "packages/vue"
41
41
  },
42
42
  "type": "module",
43
- "version": "2.77.1",
43
+ "version": "3.0.0",
44
44
  "devDependencies": {
45
45
  "@vitejs/plugin-vue": "^6.0.3",
46
46
  "@vue/tsconfig": "^0.8.1",
@@ -50,7 +50,7 @@
50
50
  "vue": "^3.5.26"
51
51
  },
52
52
  "peerDependencies": {
53
- "@synergy-design-system/tokens": "^2.48.2"
53
+ "@synergy-design-system/tokens": "3.0.0"
54
54
  },
55
55
  "scripts": {
56
56
  "_build": "vite build"
@@ -120,15 +120,6 @@ and `hide()` methods and this attribute will reflect the combobox's open state.
120
120
  */
121
121
  open?: SynCombobox['open'];
122
122
 
123
- /**
124
- * Enable this option to prevent the listbox from being clipped,
125
- when the component is placed inside a container with `overflow: auto|scroll`.
126
- Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
127
-
128
- @deprecated This property is deprecated and will be removed in the next major version.
129
- */
130
- hoist?: SynCombobox['hoist'];
131
-
132
123
  /**
133
124
  * The combobox's label.
134
125
  * If you need to display HTML, use the `label` slot instead.
@@ -84,15 +84,6 @@ dropdowns that allow for multiple interactions.
84
84
  */
85
85
  skidding?: SynDropdown['skidding'];
86
86
 
87
- /**
88
- * Enable this option to prevent the panel from being clipped when the component is placed inside a container with
89
- `overflow: auto|scroll`.
90
- * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
91
-
92
- @deprecated This property is deprecated and will be removed in the next major version.
93
- */
94
- hoist?: SynDropdown['hoist'];
95
-
96
87
  /**
97
88
  * Syncs the popup width or height to that of the trigger element.
98
89
  */
@@ -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
  */
@@ -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.
@@ -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
 
@@ -94,16 +94,6 @@ options can be passed by separating them with a space.
94
94
  programmatically.
95
95
  */
96
96
  trigger?: SynTooltip['trigger'];
97
-
98
- /**
99
- * Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with
100
- `overflow: auto|hidden|scroll`.
101
- * Hoisting uses a fixed positioning strategy that works in many, but not all,
102
- scenarios.
103
-
104
- @deprecated This property is deprecated and will be removed in the next major version.
105
- */
106
- hoist?: SynTooltip['hoist'];
107
97
  }>();
108
98
 
109
99
  // Make sure prop binding only forwards the props that are actually there.