@zag-js/slider 0.2.1 → 0.2.2
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
|
@@ -364,7 +364,7 @@ function observeAttributes(node, attributes, fn) {
|
|
|
364
364
|
}
|
|
365
365
|
function getDescriptor(el, options) {
|
|
366
366
|
var _a;
|
|
367
|
-
const { type, property } = options;
|
|
367
|
+
const { type, property = "value" } = options;
|
|
368
368
|
const proto = getWindow(el)[type].prototype;
|
|
369
369
|
return (_a = Object.getOwnPropertyDescriptor(proto, property)) != null ? _a : {};
|
|
370
370
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -336,7 +336,7 @@ function observeAttributes(node, attributes, fn) {
|
|
|
336
336
|
}
|
|
337
337
|
function getDescriptor(el, options) {
|
|
338
338
|
var _a;
|
|
339
|
-
const { type, property } = options;
|
|
339
|
+
const { type, property = "value" } = options;
|
|
340
340
|
const proto = getWindow(el)[type].prototype;
|
|
341
341
|
return (_a = Object.getOwnPropertyDescriptor(proto, property)) != null ? _a : {};
|
|
342
342
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/slider",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Core logic for the slider 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.2.
|
|
32
|
+
"@zag-js/core": "0.2.2",
|
|
33
33
|
"@zag-js/element-size": "0.3.0",
|
|
34
|
-
"@zag-js/types": "0.3.
|
|
34
|
+
"@zag-js/types": "0.3.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@zag-js/dom-utils": "0.2.
|
|
38
|
-
"@zag-js/form-utils": "0.2.
|
|
39
|
-
"@zag-js/utils": "0.3.
|
|
37
|
+
"@zag-js/dom-utils": "0.2.1",
|
|
38
|
+
"@zag-js/form-utils": "0.2.1",
|
|
39
|
+
"@zag-js/utils": "0.3.1",
|
|
40
40
|
"@zag-js/number-utils": "0.2.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|