@zag-js/number-input 1.18.3 → 1.18.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.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -431,7 +431,7 @@ var machine = createMachine({
|
|
|
431
431
|
clampValueOnBlur: !props2.allowOverflow,
|
|
432
432
|
allowOverflow: false,
|
|
433
433
|
inputMode: "decimal",
|
|
434
|
-
pattern: "[0-9]*(.[0-9]+)?",
|
|
434
|
+
pattern: "-?[0-9]*(.[0-9]+)?",
|
|
435
435
|
defaultValue: "",
|
|
436
436
|
step,
|
|
437
437
|
min: Number.MIN_SAFE_INTEGER,
|
package/dist/index.mjs
CHANGED
|
@@ -429,7 +429,7 @@ var machine = createMachine({
|
|
|
429
429
|
clampValueOnBlur: !props2.allowOverflow,
|
|
430
430
|
allowOverflow: false,
|
|
431
431
|
inputMode: "decimal",
|
|
432
|
-
pattern: "[0-9]*(.[0-9]+)?",
|
|
432
|
+
pattern: "-?[0-9]*(.[0-9]+)?",
|
|
433
433
|
defaultValue: "",
|
|
434
434
|
step,
|
|
435
435
|
min: Number.MIN_SAFE_INTEGER,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/number-input",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.4",
|
|
4
4
|
"description": "Core logic for the number-input widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@internationalized/number": "3.6.3",
|
|
30
|
-
"@zag-js/anatomy": "1.18.
|
|
31
|
-
"@zag-js/core": "1.18.
|
|
32
|
-
"@zag-js/dom-query": "1.18.
|
|
33
|
-
"@zag-js/types": "1.18.
|
|
34
|
-
"@zag-js/utils": "1.18.
|
|
30
|
+
"@zag-js/anatomy": "1.18.4",
|
|
31
|
+
"@zag-js/core": "1.18.4",
|
|
32
|
+
"@zag-js/dom-query": "1.18.4",
|
|
33
|
+
"@zag-js/types": "1.18.4",
|
|
34
|
+
"@zag-js/utils": "1.18.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"clean-package": "2.2.0"
|