@zag-js/slider 0.0.0-dev-20220710093812 → 0.0.0-dev-20220710102425

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 CHANGED
@@ -989,26 +989,18 @@ function machine(ctx) {
989
989
  },
990
990
  activities: {
991
991
  trackFieldsetDisabled(ctx2) {
992
- let cleanup;
993
- nextTick(() => {
994
- cleanup = trackFieldsetDisabled(dom.getRootEl(ctx2), (disabled) => {
995
- if (disabled) {
996
- ctx2.disabled = disabled;
997
- }
998
- });
992
+ return trackFieldsetDisabled(dom.getRootEl(ctx2), (disabled) => {
993
+ if (disabled) {
994
+ ctx2.disabled = disabled;
995
+ }
999
996
  });
1000
- return () => cleanup == null ? void 0 : cleanup();
1001
997
  },
1002
998
  trackFormReset(ctx2) {
1003
- let cleanup;
1004
- nextTick(() => {
1005
- cleanup = trackFormReset(dom.getInputEl(ctx2), () => {
1006
- if (ctx2.initialValue != null) {
1007
- ctx2.value = ctx2.initialValue;
1008
- }
1009
- });
999
+ return trackFormReset(dom.getInputEl(ctx2), () => {
1000
+ if (ctx2.initialValue != null) {
1001
+ ctx2.value = ctx2.initialValue;
1002
+ }
1010
1003
  });
1011
- return () => cleanup == null ? void 0 : cleanup();
1012
1004
  },
1013
1005
  trackPointerMove(ctx2, _evt, { send }) {
1014
1006
  return trackPointerMove({
package/dist/index.mjs CHANGED
@@ -964,26 +964,18 @@ function machine(ctx) {
964
964
  },
965
965
  activities: {
966
966
  trackFieldsetDisabled(ctx2) {
967
- let cleanup;
968
- nextTick(() => {
969
- cleanup = trackFieldsetDisabled(dom.getRootEl(ctx2), (disabled) => {
970
- if (disabled) {
971
- ctx2.disabled = disabled;
972
- }
973
- });
967
+ return trackFieldsetDisabled(dom.getRootEl(ctx2), (disabled) => {
968
+ if (disabled) {
969
+ ctx2.disabled = disabled;
970
+ }
974
971
  });
975
- return () => cleanup == null ? void 0 : cleanup();
976
972
  },
977
973
  trackFormReset(ctx2) {
978
- let cleanup;
979
- nextTick(() => {
980
- cleanup = trackFormReset(dom.getInputEl(ctx2), () => {
981
- if (ctx2.initialValue != null) {
982
- ctx2.value = ctx2.initialValue;
983
- }
984
- });
974
+ return trackFormReset(dom.getInputEl(ctx2), () => {
975
+ if (ctx2.initialValue != null) {
976
+ ctx2.value = ctx2.initialValue;
977
+ }
985
978
  });
986
- return () => cleanup == null ? void 0 : cleanup();
987
979
  },
988
980
  trackPointerMove(ctx2, _evt, { send }) {
989
981
  return trackPointerMove({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/slider",
3
- "version": "0.0.0-dev-20220710093812",
3
+ "version": "0.0.0-dev-20220710102425",
4
4
  "description": "Core logic for the slider widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -30,10 +30,10 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@zag-js/core": "0.1.7",
33
- "@zag-js/types": "0.0.0-dev-20220710093812"
33
+ "@zag-js/types": "0.0.0-dev-20220710102425"
34
34
  },
35
35
  "devDependencies": {
36
- "@zag-js/dom-utils": "0.0.0-dev-20220710093812",
36
+ "@zag-js/dom-utils": "0.0.0-dev-20220710102425",
37
37
  "@zag-js/number-utils": "0.1.2",
38
38
  "@zag-js/utils": "0.1.2"
39
39
  },