@zag-js/number-input 0.0.0-dev-20230207111512 → 0.0.0-dev-20230213145448

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.
@@ -484,6 +484,7 @@ function machine(userContext) {
484
484
  valueAsNumber: ctx2.valueAsNumber
485
485
  });
486
486
  },
487
+ // sync input value, in event it was set from form libraries via `ref`, `bind:this`, etc.
487
488
  syncInputValue(ctx2) {
488
489
  const input = dom.getInputEl(ctx2);
489
490
  if (!input || input.value == ctx2.value)
package/dist/index.js CHANGED
@@ -987,6 +987,7 @@ function machine(userContext) {
987
987
  valueAsNumber: ctx2.valueAsNumber
988
988
  });
989
989
  },
990
+ // sync input value, in event it was set from form libraries via `ref`, `bind:this`, etc.
990
991
  syncInputValue(ctx2) {
991
992
  const input = dom.getInputEl(ctx2);
992
993
  if (!input || input.value == ctx2.value)
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-XHRILSH3.mjs";
7
7
  import {
8
8
  machine
9
- } from "./chunk-4A67X5BX.mjs";
9
+ } from "./chunk-7Q7LBLXZ.mjs";
10
10
  import "./chunk-GQN3V2LU.mjs";
11
11
  import "./chunk-6CS5P7OC.mjs";
12
12
  import "./chunk-EPCXXTFL.mjs";
@@ -741,6 +741,7 @@ function machine(userContext) {
741
741
  valueAsNumber: ctx2.valueAsNumber
742
742
  });
743
743
  },
744
+ // sync input value, in event it was set from form libraries via `ref`, `bind:this`, etc.
744
745
  syncInputValue(ctx2) {
745
746
  const input = dom.getInputEl(ctx2);
746
747
  if (!input || input.value == ctx2.value)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  machine
3
- } from "./chunk-4A67X5BX.mjs";
3
+ } from "./chunk-7Q7LBLXZ.mjs";
4
4
  import "./chunk-GQN3V2LU.mjs";
5
5
  import "./chunk-6CS5P7OC.mjs";
6
6
  import "./chunk-EPCXXTFL.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/number-input",
3
- "version": "0.0.0-dev-20230207111512",
3
+ "version": "0.0.0-dev-20230213145448",
4
4
  "description": "Core logic for the number-input widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@zag-js/anatomy": "0.1.4",
30
- "@zag-js/core": "0.0.0-dev-20230207111512",
30
+ "@zag-js/core": "0.0.0-dev-20230213145448",
31
31
  "@zag-js/types": "0.3.4"
32
32
  },
33
33
  "devDependencies": {