@zag-js/number-input 1.18.5 → 1.19.0
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -73,7 +73,7 @@ interface NumberInputProps extends LocaleProperties, CommonProperties {
|
|
|
73
73
|
/**
|
|
74
74
|
* The pattern used to check the <input> element's value against
|
|
75
75
|
*
|
|
76
|
-
* @default "[0-9]*(.[0-9]+)?"
|
|
76
|
+
* @default "-?[0-9]*(.[0-9]+)?"
|
|
77
77
|
*/
|
|
78
78
|
pattern?: string | undefined;
|
|
79
79
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ interface NumberInputProps extends LocaleProperties, CommonProperties {
|
|
|
73
73
|
/**
|
|
74
74
|
* The pattern used to check the <input> element's value against
|
|
75
75
|
*
|
|
76
|
-
* @default "[0-9]*(.[0-9]+)?"
|
|
76
|
+
* @default "-?[0-9]*(.[0-9]+)?"
|
|
77
77
|
*/
|
|
78
78
|
pattern?: string | undefined;
|
|
79
79
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/number-input",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
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.
|
|
31
|
-
"@zag-js/core": "1.
|
|
32
|
-
"@zag-js/dom-query": "1.
|
|
33
|
-
"@zag-js/types": "1.
|
|
34
|
-
"@zag-js/utils": "1.
|
|
30
|
+
"@zag-js/anatomy": "1.19.0",
|
|
31
|
+
"@zag-js/core": "1.19.0",
|
|
32
|
+
"@zag-js/dom-query": "1.19.0",
|
|
33
|
+
"@zag-js/types": "1.19.0",
|
|
34
|
+
"@zag-js/utils": "1.19.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"clean-package": "2.2.0"
|