@synergy-design-system/vue 2.31.0-numeric.2 → 2.31.0-numeric.4
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.
|
@@ -140,12 +140,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
140
140
|
inputmode?: SynInput["inputmode"];
|
|
141
141
|
/**
|
|
142
142
|
* The minimal amount of fraction digits to use for numeric values.
|
|
143
|
-
Used to format the number when the input type is `number
|
|
143
|
+
Used to format the number when the input type is `number`.
|
|
144
144
|
*/
|
|
145
145
|
minFractionDigits?: SynInput["minFractionDigits"];
|
|
146
146
|
/**
|
|
147
147
|
* The maximal amount of fraction digits to use for numeric values.
|
|
148
|
-
Used to format the number when the input type is `number
|
|
148
|
+
Used to format the number when the input type is `number`.
|
|
149
149
|
*/
|
|
150
150
|
maxFractionDigits?: SynInput["maxFractionDigits"];
|
|
151
151
|
/**
|
|
@@ -155,7 +155,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
155
155
|
Includes the following configuration options:
|
|
156
156
|
|
|
157
157
|
- **autoClamp**: If true, the input will clamp the value to the min and max attributes.
|
|
158
|
-
- **enableNumberFormat**: If true, the input will format the value using a `NumberFormatter`.
|
|
159
158
|
- **noStepAlign**: If true, the input will not align the value to the step attribute.
|
|
160
159
|
- **noStepValidation**: If true, the input will not validate the value against the step attribute.
|
|
161
160
|
|
|
@@ -166,14 +165,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
166
165
|
- Values are clamped to the nearest min or max value.
|
|
167
166
|
- Stepping is inclusive to the provided min and max values.
|
|
168
167
|
- Provided stepping is no longer used in validation.
|
|
169
|
-
- Advanced number formatting is enabled.
|
|
170
168
|
- An object that matches the `NumericStrategy` type.
|
|
171
169
|
* Note this can only be set via `property`, not as an `attribute`!
|
|
172
170
|
*/
|
|
173
171
|
numericStrategy?: SynInput["numericStrategy"];
|
|
174
172
|
/**
|
|
175
173
|
* Optional options that should be passed to the `NumberFormatter` when formatting the value.
|
|
176
|
-
This is used to format the number when the input type is `number
|
|
174
|
+
This is used to format the number when the input type is `number`.
|
|
177
175
|
Note this can only be set via `property`, not as an `attribute`!
|
|
178
176
|
*/
|
|
179
177
|
numberFormatterOptions?: SynInput["numberFormatterOptions"];
|
|
@@ -326,12 +324,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
326
324
|
inputmode?: SynInput["inputmode"];
|
|
327
325
|
/**
|
|
328
326
|
* The minimal amount of fraction digits to use for numeric values.
|
|
329
|
-
Used to format the number when the input type is `number
|
|
327
|
+
Used to format the number when the input type is `number`.
|
|
330
328
|
*/
|
|
331
329
|
minFractionDigits?: SynInput["minFractionDigits"];
|
|
332
330
|
/**
|
|
333
331
|
* The maximal amount of fraction digits to use for numeric values.
|
|
334
|
-
Used to format the number when the input type is `number
|
|
332
|
+
Used to format the number when the input type is `number`.
|
|
335
333
|
*/
|
|
336
334
|
maxFractionDigits?: SynInput["maxFractionDigits"];
|
|
337
335
|
/**
|
|
@@ -341,7 +339,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
341
339
|
Includes the following configuration options:
|
|
342
340
|
|
|
343
341
|
- **autoClamp**: If true, the input will clamp the value to the min and max attributes.
|
|
344
|
-
- **enableNumberFormat**: If true, the input will format the value using a `NumberFormatter`.
|
|
345
342
|
- **noStepAlign**: If true, the input will not align the value to the step attribute.
|
|
346
343
|
- **noStepValidation**: If true, the input will not validate the value against the step attribute.
|
|
347
344
|
|
|
@@ -352,14 +349,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
352
349
|
- Values are clamped to the nearest min or max value.
|
|
353
350
|
- Stepping is inclusive to the provided min and max values.
|
|
354
351
|
- Provided stepping is no longer used in validation.
|
|
355
|
-
- Advanced number formatting is enabled.
|
|
356
352
|
- An object that matches the `NumericStrategy` type.
|
|
357
353
|
* Note this can only be set via `property`, not as an `attribute`!
|
|
358
354
|
*/
|
|
359
355
|
numericStrategy?: SynInput["numericStrategy"];
|
|
360
356
|
/**
|
|
361
357
|
* Optional options that should be passed to the `NumberFormatter` when formatting the value.
|
|
362
|
-
This is used to format the number when the input type is `number
|
|
358
|
+
This is used to format the number when the input type is `number`.
|
|
363
359
|
Note this can only be set via `property`, not as an `attribute`!
|
|
364
360
|
*/
|
|
365
361
|
numberFormatterOptions?: SynInput["numberFormatterOptions"];
|
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.31.0-numeric.
|
|
7
|
+
"@synergy-design-system/components": "^2.31.0-numeric.4"
|
|
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.31.0-numeric.
|
|
43
|
+
"version": "2.31.0-numeric.4",
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@vitejs/plugin-vue": "^5.2.3",
|
|
46
46
|
"@vue/tsconfig": "^0.7.0",
|
|
@@ -51,6 +51,8 @@
|
|
|
51
51
|
* @csspart filtered-listbox - The container that wraps the filtered options.
|
|
52
52
|
* @csspart clear-button - The clear button.
|
|
53
53
|
* @csspart expand-icon - The container that wraps the expand icon.
|
|
54
|
+
* @csspart popup - The popup's exported `popup` part.
|
|
55
|
+
* Use this to target the tooltip's popup container.
|
|
54
56
|
*
|
|
55
57
|
* @animation combobox.show - The animation to use when showing the combobox.
|
|
56
58
|
* @animation combobox.hide - The animation to use when hiding the combobox.
|
|
@@ -235,13 +235,13 @@ keyboard on supportive devices.
|
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* The minimal amount of fraction digits to use for numeric values.
|
|
238
|
-
Used to format the number when the input type is `number
|
|
238
|
+
Used to format the number when the input type is `number`.
|
|
239
239
|
*/
|
|
240
240
|
minFractionDigits?: SynInput['minFractionDigits'];
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* The maximal amount of fraction digits to use for numeric values.
|
|
244
|
-
Used to format the number when the input type is `number
|
|
244
|
+
Used to format the number when the input type is `number`.
|
|
245
245
|
*/
|
|
246
246
|
maxFractionDigits?: SynInput['maxFractionDigits'];
|
|
247
247
|
|
|
@@ -252,7 +252,6 @@ This is used to determine how the input behaves when the user interacts with it.
|
|
|
252
252
|
Includes the following configuration options:
|
|
253
253
|
|
|
254
254
|
- **autoClamp**: If true, the input will clamp the value to the min and max attributes.
|
|
255
|
-
- **enableNumberFormat**: If true, the input will format the value using a `NumberFormatter`.
|
|
256
255
|
- **noStepAlign**: If true, the input will not align the value to the step attribute.
|
|
257
256
|
- **noStepValidation**: If true, the input will not validate the value against the step attribute.
|
|
258
257
|
|
|
@@ -263,7 +262,6 @@ You may provide this as one of the following values:
|
|
|
263
262
|
- Values are clamped to the nearest min or max value.
|
|
264
263
|
- Stepping is inclusive to the provided min and max values.
|
|
265
264
|
- Provided stepping is no longer used in validation.
|
|
266
|
-
- Advanced number formatting is enabled.
|
|
267
265
|
- An object that matches the `NumericStrategy` type.
|
|
268
266
|
* Note this can only be set via `property`, not as an `attribute`!
|
|
269
267
|
*/
|
|
@@ -271,7 +269,7 @@ You may provide this as one of the following values:
|
|
|
271
269
|
|
|
272
270
|
/**
|
|
273
271
|
* Optional options that should be passed to the `NumberFormatter` when formatting the value.
|
|
274
|
-
This is used to format the number when the input type is `number
|
|
272
|
+
This is used to format the number when the input type is `number`.
|
|
275
273
|
Note this can only be set via `property`, not as an `attribute`!
|
|
276
274
|
*/
|
|
277
275
|
numberFormatterOptions?: SynInput['numberFormatterOptions'];
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
* @csspart tag__remove-button__base - The tag's remove button base part.
|
|
52
52
|
* @csspart clear-button - The clear button.
|
|
53
53
|
* @csspart expand-icon - The container that wraps the expand icon.
|
|
54
|
+
* @csspart popup - The popup's exported `popup` part. Use this to target the tooltip's popup container.
|
|
54
55
|
*/
|
|
55
56
|
import { computed, ref } from 'vue';
|
|
56
57
|
import '@synergy-design-system/components/components/select/select.js';
|