sprintify-ui 0.0.153 → 0.0.155
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/dist/sprintify-ui.es.js
CHANGED
|
@@ -13061,7 +13061,7 @@ const sl = /* @__PURE__ */ new WeakMap(), ul = (t) => {
|
|
|
13061
13061
|
hasError: G(() => e.hasError),
|
|
13062
13062
|
emit: o
|
|
13063
13063
|
}), l = G(() => {
|
|
13064
|
-
if (e.step === void 0 || e.step === 0)
|
|
13064
|
+
if (e.step === void 0 || e.step === null || e.step === 0)
|
|
13065
13065
|
return 0;
|
|
13066
13066
|
const _ = e.step.toString().split(".");
|
|
13067
13067
|
return _.length === 1 ? 0 : _[1].length;
|
|
@@ -14336,7 +14336,7 @@ const Zv = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
14336
14336
|
emits: ["update:modelValue", "focus", "blur"],
|
|
14337
14337
|
setup(t, { emit: o }) {
|
|
14338
14338
|
const e = t, r = G(() => {
|
|
14339
|
-
if (e.step === void 0 || e.step === 0)
|
|
14339
|
+
if (e.step === void 0 || e.step === null || e.step === 0)
|
|
14340
14340
|
return 0;
|
|
14341
14341
|
const l = e.step.toString().split(".");
|
|
14342
14342
|
return l.length === 1 ? 0 : l[1].length;
|
package/package.json
CHANGED
|
@@ -85,6 +85,7 @@ const emit = defineEmits(['update:modelValue', 'focus', 'blur']);
|
|
|
85
85
|
|
|
86
86
|
const precision = computed(() => {
|
|
87
87
|
if (props.step === undefined) return 0;
|
|
88
|
+
if (props.step === null) return 0;
|
|
88
89
|
if (props.step === 0) return 0;
|
|
89
90
|
const parts = props.step.toString().split('.');
|
|
90
91
|
if (parts.length === 1) return 0;
|
|
@@ -137,6 +137,7 @@ const { hasErrorInternal, emitUpdate } = useField({
|
|
|
137
137
|
|
|
138
138
|
const precision = computed(() => {
|
|
139
139
|
if (props.step === undefined) return 0;
|
|
140
|
+
if (props.step === null) return 0;
|
|
140
141
|
if (props.step === 0) return 0;
|
|
141
142
|
const parts = props.step.toString().split('.');
|
|
142
143
|
if (parts.length === 1) return 0;
|