@zag-js/slider 1.14.0 → 1.15.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.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -753,7 +753,9 @@ var machine = core.createMachine({
|
|
|
753
753
|
});
|
|
754
754
|
},
|
|
755
755
|
invokeOnChangeEnd({ prop, context }) {
|
|
756
|
-
|
|
756
|
+
queueMicrotask(() => {
|
|
757
|
+
prop("onValueChangeEnd")?.({ value: context.get("value") });
|
|
758
|
+
});
|
|
757
759
|
},
|
|
758
760
|
setClosestThumbIndex(params) {
|
|
759
761
|
const { context, event } = params;
|
package/dist/index.mjs
CHANGED
|
@@ -751,7 +751,9 @@ var machine = createMachine({
|
|
|
751
751
|
});
|
|
752
752
|
},
|
|
753
753
|
invokeOnChangeEnd({ prop, context }) {
|
|
754
|
-
|
|
754
|
+
queueMicrotask(() => {
|
|
755
|
+
prop("onValueChangeEnd")?.({ value: context.get("value") });
|
|
756
|
+
});
|
|
755
757
|
},
|
|
756
758
|
setClosestThumbIndex(params) {
|
|
757
759
|
const { context, event } = params;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/slider",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"description": "Core logic for the slider widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@zag-js/anatomy": "1.
|
|
31
|
-
"@zag-js/core": "1.
|
|
32
|
-
"@zag-js/dom-query": "1.
|
|
33
|
-
"@zag-js/utils": "1.
|
|
34
|
-
"@zag-js/types": "1.
|
|
30
|
+
"@zag-js/anatomy": "1.15.0",
|
|
31
|
+
"@zag-js/core": "1.15.0",
|
|
32
|
+
"@zag-js/dom-query": "1.15.0",
|
|
33
|
+
"@zag-js/utils": "1.15.0",
|
|
34
|
+
"@zag-js/types": "1.15.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"clean-package": "2.2.0"
|