@n8n/design-system 2.38.4 → 2.38.5
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;
|
|
@@ -73,6 +73,7 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
|
73
73
|
size: import('./InputNumber.types').InputNumberSize;
|
|
74
74
|
step: number;
|
|
75
75
|
stepSnapping: boolean;
|
|
76
|
+
useGrouping: boolean;
|
|
76
77
|
controls: boolean;
|
|
77
78
|
controlsPosition: import('./InputNumber.types').InputNumberControlsPosition;
|
|
78
79
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
package/dist/index.js
CHANGED
|
@@ -13825,6 +13825,10 @@ var Sk = /* @__PURE__ */ Y(/* @__PURE__ */ y({
|
|
|
13825
13825
|
required: { type: Boolean },
|
|
13826
13826
|
size: { default: "medium" },
|
|
13827
13827
|
precision: {},
|
|
13828
|
+
useGrouping: {
|
|
13829
|
+
type: Boolean,
|
|
13830
|
+
default: !1
|
|
13831
|
+
},
|
|
13828
13832
|
controls: {
|
|
13829
13833
|
type: Boolean,
|
|
13830
13834
|
default: !0
|
|
@@ -13848,9 +13852,13 @@ var Sk = /* @__PURE__ */ Y(/* @__PURE__ */ y({
|
|
|
13848
13852
|
blur: () => y()?.blur(),
|
|
13849
13853
|
select: () => y()?.select()
|
|
13850
13854
|
});
|
|
13851
|
-
let b = u(() => c.precision === void 0 ? {
|
|
13855
|
+
let b = u(() => c.precision === void 0 ? {
|
|
13856
|
+
maximumFractionDigits: 20,
|
|
13857
|
+
useGrouping: c.useGrouping
|
|
13858
|
+
} : {
|
|
13852
13859
|
maximumFractionDigits: c.precision,
|
|
13853
|
-
minimumFractionDigits: c.precision
|
|
13860
|
+
minimumFractionDigits: c.precision,
|
|
13861
|
+
useGrouping: c.useGrouping
|
|
13854
13862
|
}), x = Qn(ye(c, "modelValue", "defaultValue", "min", "max", "step", "stepSnapping", "disabled", "readonly", "disableWheelChange", "invertWheelChange", "id", "name", "required", "locale"), g);
|
|
13855
13863
|
function S(e) {
|
|
13856
13864
|
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.38.
|
|
4
|
+
"version": "2.38.5",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -31,8 +31,8 @@
|
|
|
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": {
|