@zag-js/number-input 1.0.2 → 1.1.0

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
@@ -442,7 +442,7 @@ var machine = createMachine({
442
442
  return {
443
443
  value: bindable(() => ({
444
444
  defaultValue: prop("defaultValue"),
445
- prop: prop("value"),
445
+ value: prop("value"),
446
446
  onChange(value) {
447
447
  const computed = getComputed();
448
448
  prop("onValueChange")?.({ value, valueAsNumber: computed("valueAsNumber") });
package/dist/index.mjs CHANGED
@@ -440,7 +440,7 @@ var machine = createMachine({
440
440
  return {
441
441
  value: bindable(() => ({
442
442
  defaultValue: prop("defaultValue"),
443
- prop: prop("value"),
443
+ value: prop("value"),
444
444
  onChange(value) {
445
445
  const computed = getComputed();
446
446
  prop("onValueChange")?.({ value, valueAsNumber: computed("valueAsNumber") });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/number-input",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "Core logic for the number-input widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@internationalized/number": "3.6.0",
30
- "@zag-js/anatomy": "1.0.2",
31
- "@zag-js/core": "1.0.2",
32
- "@zag-js/dom-query": "1.0.2",
33
- "@zag-js/types": "1.0.2",
34
- "@zag-js/utils": "1.0.2"
30
+ "@zag-js/anatomy": "1.1.0",
31
+ "@zag-js/core": "1.1.0",
32
+ "@zag-js/dom-query": "1.1.0",
33
+ "@zag-js/types": "1.1.0",
34
+ "@zag-js/utils": "1.1.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "clean-package": "2.2.0"