@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 CHANGED
@@ -36,7 +36,7 @@ declare type PublicContext = DirectionProperty & CommonProperties & {
36
36
  /**
37
37
  * Whether the slider is read-only
38
38
  */
39
- readonly?: boolean;
39
+ readOnly?: boolean;
40
40
  /**
41
41
  * Whether the slider value is invalid
42
42
  */
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.readonly),
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.readonly),
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-20221122144557",
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-20221122144557",
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
  },