@zag-js/slider 0.0.0-dev-20221122144557 → 0.0.0-dev-20221122162142
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.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -922,7 +922,7 @@ function machine(userContext) {
|
|
|
922
922
|
isHorizontal: (ctx2) => ctx2.orientation === "horizontal",
|
|
923
923
|
isVertical: (ctx2) => ctx2.orientation === "vertical",
|
|
924
924
|
isRtl: (ctx2) => ctx2.orientation === "horizontal" && ctx2.dir === "rtl",
|
|
925
|
-
isInteractive: (ctx2) => !(ctx2.disabled || ctx2.
|
|
925
|
+
isInteractive: (ctx2) => !(ctx2.disabled || ctx2.readOnly),
|
|
926
926
|
hasMeasuredThumbSize: (ctx2) => ctx2.thumbSize !== null
|
|
927
927
|
},
|
|
928
928
|
watch: {
|
package/dist/index.mjs
CHANGED
|
@@ -894,7 +894,7 @@ function machine(userContext) {
|
|
|
894
894
|
isHorizontal: (ctx2) => ctx2.orientation === "horizontal",
|
|
895
895
|
isVertical: (ctx2) => ctx2.orientation === "vertical",
|
|
896
896
|
isRtl: (ctx2) => ctx2.orientation === "horizontal" && ctx2.dir === "rtl",
|
|
897
|
-
isInteractive: (ctx2) => !(ctx2.disabled || ctx2.
|
|
897
|
+
isInteractive: (ctx2) => !(ctx2.disabled || ctx2.readOnly),
|
|
898
898
|
hasMeasuredThumbSize: (ctx2) => ctx2.thumbSize !== null
|
|
899
899
|
},
|
|
900
900
|
watch: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/slider",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20221122162142",
|
|
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",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@zag-js/dom-utils": "0.2.1",
|
|
38
|
-
"@zag-js/form-utils": "0.0.0-dev-
|
|
38
|
+
"@zag-js/form-utils": "0.0.0-dev-20221122162142",
|
|
39
39
|
"@zag-js/utils": "0.3.1",
|
|
40
40
|
"@zag-js/number-utils": "0.2.0"
|
|
41
41
|
},
|