@zag-js/tabs 1.0.1 → 1.0.2

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
@@ -264,6 +264,7 @@ var machine = core.createMachine({
264
264
  })),
265
265
  focusedValue: bindable(() => ({
266
266
  defaultValue: prop("value") || prop("defaultValue"),
267
+ sync: true,
267
268
  onChange(value) {
268
269
  prop("onFocusChange")?.({ focusedValue: value });
269
270
  }
package/dist/index.mjs CHANGED
@@ -262,6 +262,7 @@ var machine = createMachine({
262
262
  })),
263
263
  focusedValue: bindable(() => ({
264
264
  defaultValue: prop("value") || prop("defaultValue"),
265
+ sync: true,
265
266
  onChange(value) {
266
267
  prop("onFocusChange")?.({ focusedValue: value });
267
268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/tabs",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Core logic for the tabs widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -26,12 +26,12 @@
26
26
  "url": "https://github.com/chakra-ui/zag/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@zag-js/anatomy": "1.0.1",
30
- "@zag-js/dom-query": "1.0.1",
31
- "@zag-js/element-rect": "1.0.1",
32
- "@zag-js/utils": "1.0.1",
33
- "@zag-js/core": "1.0.1",
34
- "@zag-js/types": "1.0.1"
29
+ "@zag-js/anatomy": "1.0.2",
30
+ "@zag-js/dom-query": "1.0.2",
31
+ "@zag-js/element-rect": "1.0.2",
32
+ "@zag-js/utils": "1.0.2",
33
+ "@zag-js/core": "1.0.2",
34
+ "@zag-js/types": "1.0.2"
35
35
  },
36
36
  "devDependencies": {
37
37
  "clean-package": "2.2.0"