@n8n/design-system 2.39.0 → 2.39.2
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.
|
@@ -4,6 +4,7 @@ export type InputNumberControlsPosition = 'both' | 'right';
|
|
|
4
4
|
export type InputNumberProps = Omit<NumberFieldRootProps, 'formatOptions'> & {
|
|
5
5
|
size?: InputNumberSize;
|
|
6
6
|
precision?: number;
|
|
7
|
+
useGrouping?: boolean;
|
|
7
8
|
controls?: boolean;
|
|
8
9
|
controlsPosition?: InputNumberControlsPosition;
|
|
9
10
|
placeholder?: string;
|
|
@@ -12,6 +12,7 @@ declare const __VLS_base: import('vue').DefineComponent<InputNumberProps, InputN
|
|
|
12
12
|
size: import('./InputNumber.types').InputNumberSize;
|
|
13
13
|
step: number;
|
|
14
14
|
stepSnapping: boolean;
|
|
15
|
+
useGrouping: boolean;
|
|
15
16
|
controls: boolean;
|
|
16
17
|
controlsPosition: import('./InputNumber.types').InputNumberControlsPosition;
|
|
17
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/dist/index.js
CHANGED
|
@@ -14181,6 +14181,10 @@ var Sk = /* @__PURE__ */ X(/* @__PURE__ */ y({
|
|
|
14181
14181
|
required: { type: Boolean },
|
|
14182
14182
|
size: { default: "medium" },
|
|
14183
14183
|
precision: {},
|
|
14184
|
+
useGrouping: {
|
|
14185
|
+
type: Boolean,
|
|
14186
|
+
default: !1
|
|
14187
|
+
},
|
|
14184
14188
|
controls: {
|
|
14185
14189
|
type: Boolean,
|
|
14186
14190
|
default: !0
|
|
@@ -14204,9 +14208,13 @@ var Sk = /* @__PURE__ */ X(/* @__PURE__ */ y({
|
|
|
14204
14208
|
blur: () => y()?.blur(),
|
|
14205
14209
|
select: () => y()?.select()
|
|
14206
14210
|
});
|
|
14207
|
-
let b = u(() => c.precision === void 0 ? {
|
|
14211
|
+
let b = u(() => c.precision === void 0 ? {
|
|
14212
|
+
maximumFractionDigits: 20,
|
|
14213
|
+
useGrouping: c.useGrouping
|
|
14214
|
+
} : {
|
|
14208
14215
|
maximumFractionDigits: c.precision,
|
|
14209
|
-
minimumFractionDigits: c.precision
|
|
14216
|
+
minimumFractionDigits: c.precision,
|
|
14217
|
+
useGrouping: c.useGrouping
|
|
14210
14218
|
}), x = Yn(ve(c, "modelValue", "defaultValue", "min", "max", "step", "stepSnapping", "disabled", "readonly", "disableWheelChange", "invertWheelChange", "id", "name", "required", "locale"), g);
|
|
14211
14219
|
function S(e) {
|
|
14212
14220
|
g("focus", e);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@n8n/design-system",
|
|
4
|
-
"version": "2.39.
|
|
4
|
+
"version": "2.39.2",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"dist",
|
|
32
32
|
"assets/fonts",
|
|
33
33
|
"README.md",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"LICENSE.md",
|
|
35
|
+
"LICENSE_EE.md"
|
|
36
36
|
],
|
|
37
37
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@internationalized/date": "^3.9.0",
|
|
40
|
-
"@n8n/composables": "1.30.
|
|
40
|
+
"@n8n/composables": "1.30.1",
|
|
41
41
|
"@n8n/frontend-utils": "0.4.0",
|
|
42
42
|
"@n8n/utils": "1.48.0",
|
|
43
43
|
"@tanstack/vue-table": "^8.21.2",
|