@synergy-design-system/vue 2.38.0 → 2.39.1

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.
@@ -74,6 +74,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
74
74
  */
75
75
  required?: SynCombobox["required"];
76
76
  /**
77
+ * When set to `true`, restricts the combobox to only allow selection from the available options.
78
+ Users will not be able to enter custom values that are not present in the list.
79
+ */
80
+ restricted?: SynCombobox["restricted"];
81
+ /**
77
82
  * A function that customizes the rendered option.
78
83
  * The first argument is the option, the second
79
84
  is the query string, which is typed into the combobox.
@@ -170,6 +175,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
170
175
  */
171
176
  required?: SynCombobox["required"];
172
177
  /**
178
+ * When set to `true`, restricts the combobox to only allow selection from the available options.
179
+ Users will not be able to enter custom values that are not present in the list.
180
+ */
181
+ restricted?: SynCombobox["restricted"];
182
+ /**
173
183
  * A function that customizes the rendered option.
174
184
  * The first argument is the option, the second
175
185
  is the query string, which is typed into the combobox.
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  helpText: {},
18
18
  form: {},
19
19
  required: {},
20
+ restricted: {},
20
21
  getOption: {},
21
22
  filter: {},
22
23
  modelValue: {}
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.38.0"
7
+ "@synergy-design-system/components": "^2.39.1"
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.38.0",
43
+ "version": "2.39.1",
44
44
  "devDependencies": {
45
45
  "@vitejs/plugin-vue": "^5.2.4",
46
46
  "@vue/tsconfig": "^0.7.0",
@@ -50,7 +50,7 @@
50
50
  "vue": "^3.5.16"
51
51
  },
52
52
  "peerDependencies": {
53
- "@synergy-design-system/tokens": "^2.20.1"
53
+ "@synergy-design-system/tokens": "^2.21.0"
54
54
  },
55
55
  "scripts": {
56
56
  "_build": "vite build"
@@ -53,6 +53,7 @@
53
53
  * @csspart expand-icon - The container that wraps the expand icon.
54
54
  * @csspart popup - The popup's exported `popup` part.
55
55
  * Use this to target the tooltip's popup container.
56
+ * @csspart no-results - The container that wraps the "no results" message.
56
57
  *
57
58
  * @animation combobox.show - The animation to use when showing the combobox.
58
59
  * @animation combobox.hide - The animation to use when hiding the combobox.
@@ -157,6 +158,12 @@ The form must be in the same document or shadow root for this to work.
157
158
  */
158
159
  required?: SynCombobox['required'];
159
160
 
161
+ /**
162
+ * When set to `true`, restricts the combobox to only allow selection from the available options.
163
+ Users will not be able to enter custom values that are not present in the list.
164
+ */
165
+ restricted?: SynCombobox['restricted'];
166
+
160
167
  /**
161
168
  * A function that customizes the rendered option.
162
169
  * The first argument is the option, the second