@zag-js/number-input 0.0.0-dev-20221117154049 → 0.0.0-dev-20221117184002
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
|
@@ -650,7 +650,7 @@ function getWindow(el) {
|
|
|
650
650
|
}
|
|
651
651
|
function getDescriptor(el, options) {
|
|
652
652
|
var _a;
|
|
653
|
-
const { type, property } = options;
|
|
653
|
+
const { type, property = "value" } = options;
|
|
654
654
|
const proto = getWindow(el)[type].prototype;
|
|
655
655
|
return (_a = Object.getOwnPropertyDescriptor(proto, property)) != null ? _a : {};
|
|
656
656
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -623,7 +623,7 @@ function getWindow(el) {
|
|
|
623
623
|
}
|
|
624
624
|
function getDescriptor(el, options) {
|
|
625
625
|
var _a;
|
|
626
|
-
const { type, property } = options;
|
|
626
|
+
const { type, property = "value" } = options;
|
|
627
627
|
const proto = getWindow(el)[type].prototype;
|
|
628
628
|
return (_a = Object.getOwnPropertyDescriptor(proto, property)) != null ? _a : {};
|
|
629
629
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/number-input",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20221117184002",
|
|
4
4
|
"description": "Core logic for the number-input widget implemented as a state machine",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@zag-js/core": "0.0.0-dev-
|
|
33
|
-
"@zag-js/types": "0.0.0-dev-
|
|
32
|
+
"@zag-js/core": "0.0.0-dev-20221117184002",
|
|
33
|
+
"@zag-js/types": "0.0.0-dev-20221117184002"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@zag-js/dom-utils": "0.0.0-dev-
|
|
37
|
-
"@zag-js/form-utils": "0.0.0-dev-
|
|
36
|
+
"@zag-js/dom-utils": "0.0.0-dev-20221117184002",
|
|
37
|
+
"@zag-js/form-utils": "0.0.0-dev-20221117184002",
|
|
38
38
|
"@zag-js/number-utils": "0.2.0",
|
|
39
|
-
"@zag-js/utils": "0.0.0-dev-
|
|
39
|
+
"@zag-js/utils": "0.0.0-dev-20221117184002"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build-fast": "tsup src/index.ts --format=esm,cjs",
|