@zag-js/number-input 0.0.0-dev-20220508184419 → 0.0.0-dev-20220509202935

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
@@ -275,7 +275,7 @@ var __spreadValues2 = (a, b) => {
275
275
  return a;
276
276
  };
277
277
  var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
278
- var nf = new Intl.NumberFormat("en-US", { style: "decimal" });
278
+ var nf = new Intl.NumberFormat("en-US", { style: "decimal", maximumFractionDigits: 20 });
279
279
  function formatter(n) {
280
280
  return parseFloat(nf.format(n));
281
281
  }
@@ -792,6 +792,7 @@ function machine(ctx = {}) {
792
792
  actions: ["clampValue", "clearHint"]
793
793
  },
794
794
  {
795
+ target: "idle",
795
796
  actions: ["roundValue"]
796
797
  }
797
798
  ]