From 6f8cc2bb1d0bd31672d511e887006c81b6577c67 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 5 Sep 2023 13:30:15 +0000 Subject: [PATCH] ci(changesets): version packages --- .changeset/fluffy-islands-punch.md | 5 -- .changeset/gentle-mails-occur.md | 5 -- .changeset/large-books-own.md | 5 -- .changeset/metal-deers-exercise.md | 5 -- .changeset/nasty-windows-change.md | 5 -- .changeset/neat-moose-guess.md | 5 -- .changeset/quick-needles-rescue.md | 5 -- .changeset/rich-hornets-love.md | 5 -- .changeset/thick-forks-hope.md | 33 ------------ .changeset/weak-cows-run.md | 5 -- packages/anatomy-icons/CHANGELOG.md | 2 + packages/anatomy-icons/package.json | 2 +- packages/anatomy/CHANGELOG.md | 2 + packages/anatomy/package.json | 2 +- packages/core/CHANGELOG.md | 7 +++ packages/core/package.json | 2 +- packages/docs/CHANGELOG.md | 2 + packages/docs/package.json | 2 +- packages/frameworks/react/CHANGELOG.md | 12 +++++ packages/frameworks/react/package.json | 2 +- packages/frameworks/solid/CHANGELOG.md | 9 ++++ packages/frameworks/solid/package.json | 2 +- packages/frameworks/vue/CHANGELOG.md | 9 ++++ packages/frameworks/vue/package.json | 2 +- packages/machines/accordion/CHANGELOG.md | 12 +++++ packages/machines/accordion/package.json | 2 +- packages/machines/avatar/CHANGELOG.md | 12 +++++ packages/machines/avatar/package.json | 2 +- packages/machines/carousel/CHANGELOG.md | 11 ++++ packages/machines/carousel/package.json | 2 +- packages/machines/checkbox/CHANGELOG.md | 13 +++++ packages/machines/checkbox/package.json | 2 +- packages/machines/color-picker/CHANGELOG.md | 17 ++++++ packages/machines/color-picker/package.json | 2 +- packages/machines/combobox/CHANGELOG.md | 53 +++++++++++++++++++ packages/machines/combobox/package.json | 2 +- packages/machines/date-picker/CHANGELOG.md | 25 +++++++++ packages/machines/date-picker/package.json | 2 +- packages/machines/dialog/CHANGELOG.md | 14 +++++ packages/machines/dialog/package.json | 2 +- packages/machines/editable/CHANGELOG.md | 19 +++++++ packages/machines/editable/package.json | 2 +- packages/machines/file-upload/CHANGELOG.md | 12 +++++ packages/machines/file-upload/package.json | 2 +- packages/machines/hover-card/CHANGELOG.md | 13 +++++ packages/machines/hover-card/package.json | 2 +- packages/machines/menu/CHANGELOG.md | 19 +++++++ packages/machines/menu/package.json | 2 +- packages/machines/number-input/CHANGELOG.md | 15 ++++++ packages/machines/number-input/package.json | 2 +- packages/machines/pagination/CHANGELOG.md | 11 ++++ packages/machines/pagination/package.json | 2 +- packages/machines/pin-input/CHANGELOG.md | 14 +++++ packages/machines/pin-input/package.json | 2 +- packages/machines/popover/CHANGELOG.md | 16 ++++++ packages/machines/popover/package.json | 2 +- packages/machines/presence/CHANGELOG.md | 8 +++ packages/machines/presence/package.json | 2 +- packages/machines/pressable/CHANGELOG.md | 13 +++++ packages/machines/pressable/package.json | 2 +- packages/machines/radio-group/CHANGELOG.md | 17 ++++++ packages/machines/radio-group/package.json | 2 +- packages/machines/range-slider/CHANGELOG.md | 16 ++++++ packages/machines/range-slider/package.json | 2 +- packages/machines/rating-group/CHANGELOG.md | 13 +++++ packages/machines/rating-group/package.json | 2 +- packages/machines/select/CHANGELOG.md | 51 ++++++++++++++++++ packages/machines/select/package.json | 2 +- packages/machines/slider/CHANGELOG.md | 15 ++++++ packages/machines/slider/package.json | 2 +- packages/machines/splitter/CHANGELOG.md | 13 +++++ packages/machines/splitter/package.json | 2 +- packages/machines/switch/CHANGELOG.md | 18 +++++++ packages/machines/switch/package.json | 2 +- packages/machines/tabs/CHANGELOG.md | 20 +++++++ packages/machines/tabs/package.json | 2 +- packages/machines/tags-input/CHANGELOG.md | 16 ++++++ packages/machines/tags-input/package.json | 2 +- packages/machines/toast/CHANGELOG.md | 12 +++++ packages/machines/toast/package.json | 2 +- packages/machines/toggle-group/CHANGELOG.md | 12 +++++ packages/machines/toggle-group/package.json | 2 +- packages/machines/toggle/CHANGELOG.md | 11 ++++ packages/machines/toggle/package.json | 2 +- packages/machines/tooltip/CHANGELOG.md | 13 +++++ packages/machines/tooltip/package.json | 2 +- packages/store/CHANGELOG.md | 2 + packages/store/package.json | 2 +- packages/types/CHANGELOG.md | 2 + packages/types/package.json | 2 +- packages/utilities/aria-hidden/CHANGELOG.md | 7 +++ packages/utilities/aria-hidden/package.json | 2 +- packages/utilities/auto-resize/CHANGELOG.md | 7 +++ packages/utilities/auto-resize/package.json | 2 +- packages/utilities/collection/CHANGELOG.md | 3 ++ packages/utilities/collection/package.json | 2 +- packages/utilities/color-utils/CHANGELOG.md | 2 + packages/utilities/color-utils/package.json | 2 +- packages/utilities/core/CHANGELOG.md | 34 ++++++++++++ packages/utilities/core/package.json | 2 +- packages/utilities/date-utils/CHANGELOG.md | 2 + packages/utilities/date-utils/package.json | 2 +- packages/utilities/dismissable/CHANGELOG.md | 10 ++++ packages/utilities/dismissable/package.json | 2 +- packages/utilities/dom-event/CHANGELOG.md | 8 +++ packages/utilities/dom-event/package.json | 2 +- packages/utilities/dom-query/CHANGELOG.md | 2 + packages/utilities/dom-query/package.json | 2 +- packages/utilities/element-rect/CHANGELOG.md | 2 + packages/utilities/element-rect/package.json | 2 +- packages/utilities/element-size/CHANGELOG.md | 2 + packages/utilities/element-size/package.json | 2 +- packages/utilities/focus-scope/CHANGELOG.md | 11 ++++ packages/utilities/focus-scope/package.json | 2 +- packages/utilities/focus-visible/CHANGELOG.md | 7 +++ packages/utilities/focus-visible/package.json | 2 +- packages/utilities/form-utils/CHANGELOG.md | 7 +++ packages/utilities/form-utils/package.json | 2 +- .../utilities/interact-outside/CHANGELOG.md | 10 ++++ .../utilities/interact-outside/package.json | 2 +- packages/utilities/live-region/CHANGELOG.md | 7 +++ packages/utilities/live-region/package.json | 2 +- .../utilities/mutation-observer/CHANGELOG.md | 2 + .../utilities/mutation-observer/package.json | 2 +- packages/utilities/number/CHANGELOG.md | 2 + packages/utilities/number/package.json | 2 +- packages/utilities/numeric-range/CHANGELOG.md | 2 + packages/utilities/numeric-range/package.json | 2 +- packages/utilities/popper/CHANGELOG.md | 9 ++++ packages/utilities/popper/package.json | 2 +- packages/utilities/rect/CHANGELOG.md | 2 + packages/utilities/rect/package.json | 2 +- packages/utilities/remove-scroll/CHANGELOG.md | 7 +++ packages/utilities/remove-scroll/package.json | 2 +- packages/utilities/tabbable/CHANGELOG.md | 7 +++ packages/utilities/tabbable/package.json | 2 +- .../utilities/text-selection/CHANGELOG.md | 7 +++ .../utilities/text-selection/package.json | 2 +- .../utilities/visually-hidden/CHANGELOG.md | 2 + .../utilities/visually-hidden/package.json | 2 +- 140 files changed, 797 insertions(+), 143 deletions(-) delete mode 100644 .changeset/fluffy-islands-punch.md delete mode 100644 .changeset/gentle-mails-occur.md delete mode 100644 .changeset/large-books-own.md delete mode 100644 .changeset/metal-deers-exercise.md delete mode 100644 .changeset/nasty-windows-change.md delete mode 100644 .changeset/neat-moose-guess.md delete mode 100644 .changeset/quick-needles-rescue.md delete mode 100644 .changeset/rich-hornets-love.md delete mode 100644 .changeset/thick-forks-hope.md delete mode 100644 .changeset/weak-cows-run.md create mode 100644 packages/utilities/collection/CHANGELOG.md diff --git a/.changeset/fluffy-islands-punch.md b/.changeset/fluffy-islands-punch.md deleted file mode 100644 index 0f18b07a70..0000000000 --- a/.changeset/fluffy-islands-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/tabs": minor ---- - -Optimize onFocus and onChange type declaration. Remove onDelete from type defintion. diff --git a/.changeset/gentle-mails-occur.md b/.changeset/gentle-mails-occur.md deleted file mode 100644 index 67bc2c1db3..0000000000 --- a/.changeset/gentle-mails-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/date-picker": patch ---- - -Fix issue where datepicker value onChange returned a proxy array diff --git a/.changeset/large-books-own.md b/.changeset/large-books-own.md deleted file mode 100644 index 5e46e0aaf2..0000000000 --- a/.changeset/large-books-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/combobox": patch ---- - -Add support for `closeOnSelect` diff --git a/.changeset/metal-deers-exercise.md b/.changeset/metal-deers-exercise.md deleted file mode 100644 index 53bbd0ad64..0000000000 --- a/.changeset/metal-deers-exercise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/date-picker": patch ---- - -Fix issue where clearing the date picker value prevent selecting a new date when `inline: true` is set diff --git a/.changeset/nasty-windows-change.md b/.changeset/nasty-windows-change.md deleted file mode 100644 index 02732f29f2..0000000000 --- a/.changeset/nasty-windows-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/radio-group": patch ---- - -Remove unsupport `readOnly` property from types diff --git a/.changeset/neat-moose-guess.md b/.changeset/neat-moose-guess.md deleted file mode 100644 index e3e9a9ae59..0000000000 --- a/.changeset/neat-moose-guess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/editable": minor ---- - -Rename MaschineApi to Api diff --git a/.changeset/quick-needles-rescue.md b/.changeset/quick-needles-rescue.md deleted file mode 100644 index deb6676bd4..0000000000 --- a/.changeset/quick-needles-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/switch": minor ---- - -Remove input from anatomy diff --git a/.changeset/rich-hornets-love.md b/.changeset/rich-hornets-love.md deleted file mode 100644 index 8878231c9e..0000000000 --- a/.changeset/rich-hornets-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/react": patch ---- - -Export PropTypes from react package for consistency diff --git a/.changeset/thick-forks-hope.md b/.changeset/thick-forks-hope.md deleted file mode 100644 index ee436395d5..0000000000 --- a/.changeset/thick-forks-hope.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -"@zag-js/select": minor -"@zag-js/combobox": minor -"@zag-js/utils": minor ---- - -> Breaking Changes 💥 - -Redesign select and combobox API to allow passing value as `string` and `collection` - -Prior to this change, Zag computes the label and value from the DOM element. While this worked, it makes it challenging -to manage complex objects that don't match the `label` and `value` convention. - -```jsx -// Create the collection -const collection = select.collection({ - items: [], - itemToString(item) { - return item.label - }, - itemToValue(item) { - return item.value - }, -}) - -// Pass the collection to the select machine -const [state, send] = useMachine( - select.machine({ - collection, - id: useId(), - }), -) -``` diff --git a/.changeset/weak-cows-run.md b/.changeset/weak-cows-run.md deleted file mode 100644 index b9e7efed97..0000000000 --- a/.changeset/weak-cows-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/menu": patch ---- - -Fix issue where `closeOnSelect` on menu item props isn't respected in machine. diff --git a/packages/anatomy-icons/CHANGELOG.md b/packages/anatomy-icons/CHANGELOG.md index dcf712129d..3a063422ce 100644 --- a/packages/anatomy-icons/CHANGELOG.md +++ b/packages/anatomy-icons/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/anatomy-icons +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/anatomy-icons/package.json b/packages/anatomy-icons/package.json index 7b728da659..157d89afb2 100644 --- a/packages/anatomy-icons/package.json +++ b/packages/anatomy-icons/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/anatomy-icons", - "version": "0.17.0", + "version": "0.18.0", "keywords": [ "ui-machines", "state-machines", diff --git a/packages/anatomy/CHANGELOG.md b/packages/anatomy/CHANGELOG.md index d0c6d84fe4..9800747d10 100644 --- a/packages/anatomy/CHANGELOG.md +++ b/packages/anatomy/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/anatomy +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/anatomy/package.json b/packages/anatomy/package.json index f69efa7b89..df6e217e53 100644 --- a/packages/anatomy/package.json +++ b/packages/anatomy/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/anatomy", - "version": "0.17.0", + "version": "0.18.0", "keywords": [ "ui-machines", "state-machines", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 7c95e3c2ba..f9615864ab 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/core +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/store@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 1e9feda950..11c3bfa636 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/core", - "version": "0.17.0", + "version": "0.18.0", "description": "A minimal implementation of xstate fsm for UI machines", "keywords": [ "ui-machines", diff --git a/packages/docs/CHANGELOG.md b/packages/docs/CHANGELOG.md index 1969de1808..ba2d7b1c86 100644 --- a/packages/docs/CHANGELOG.md +++ b/packages/docs/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/docs +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/docs/package.json b/packages/docs/package.json index d26a47f2fa..09ecdafc5a 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/docs", - "version": "0.17.0", + "version": "0.18.0", "description": "Docs for zag-js machines", "keywords": [ "ui-machines", diff --git a/packages/frameworks/react/CHANGELOG.md b/packages/frameworks/react/CHANGELOG.md index d177c0b648..ff7ebe80c6 100644 --- a/packages/frameworks/react/CHANGELOG.md +++ b/packages/frameworks/react/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/react +## 0.18.0 + +### Patch Changes + +- [`44df2f45`](https://github.com/chakra-ui/zag/commit/44df2f458ce7679afc7cb8ca8d72c17b758f1366) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Export PropTypes from react package for consistency + +- Updated dependencies []: + - @zag-js/core@0.18.0 + - @zag-js/store@0.18.0 + - @zag-js/types@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/frameworks/react/package.json b/packages/frameworks/react/package.json index 856685b8b4..c11669e114 100644 --- a/packages/frameworks/react/package.json +++ b/packages/frameworks/react/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/react", - "version": "0.17.0", + "version": "0.18.0", "description": "The react wrapper for zag", "keywords": [ "ui-machines", diff --git a/packages/frameworks/solid/CHANGELOG.md b/packages/frameworks/solid/CHANGELOG.md index 36ce9c378c..a0a873549c 100644 --- a/packages/frameworks/solid/CHANGELOG.md +++ b/packages/frameworks/solid/CHANGELOG.md @@ -1,5 +1,14 @@ # @zag-js/solid +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/core@0.18.0 + - @zag-js/store@0.18.0 + - @zag-js/types@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/frameworks/solid/package.json b/packages/frameworks/solid/package.json index 377c83850a..e85325a906 100644 --- a/packages/frameworks/solid/package.json +++ b/packages/frameworks/solid/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/solid", - "version": "0.17.0", + "version": "0.18.0", "description": "The solid.js wrapper for zag", "keywords": [ "ui-machines", diff --git a/packages/frameworks/vue/CHANGELOG.md b/packages/frameworks/vue/CHANGELOG.md index 7433f6dc6f..8e403a59f6 100644 --- a/packages/frameworks/vue/CHANGELOG.md +++ b/packages/frameworks/vue/CHANGELOG.md @@ -1,5 +1,14 @@ # @zag-js/vue +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/core@0.18.0 + - @zag-js/store@0.18.0 + - @zag-js/types@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/frameworks/vue/package.json b/packages/frameworks/vue/package.json index 3c1c6a1b64..5455aa4fd1 100644 --- a/packages/frameworks/vue/package.json +++ b/packages/frameworks/vue/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/vue", - "version": "0.17.0", + "version": "0.18.0", "description": "The vue wrapper for zag", "keywords": [ "ui-machines", diff --git a/packages/machines/accordion/CHANGELOG.md b/packages/machines/accordion/CHANGELOG.md index 118f1d8c88..0c62402e1b 100644 --- a/packages/machines/accordion/CHANGELOG.md +++ b/packages/machines/accordion/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/accordion +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/accordion/package.json b/packages/machines/accordion/package.json index 03e0bd597c..ef3aee8ff4 100644 --- a/packages/machines/accordion/package.json +++ b/packages/machines/accordion/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/accordion", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the accordion widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/avatar/CHANGELOG.md b/packages/machines/avatar/CHANGELOG.md index 517d53ef69..9047b8edaa 100644 --- a/packages/machines/avatar/CHANGELOG.md +++ b/packages/machines/avatar/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/avatar +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/mutation-observer@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/avatar/package.json b/packages/machines/avatar/package.json index 0ddc5e8126..136a1a0ba6 100644 --- a/packages/machines/avatar/package.json +++ b/packages/machines/avatar/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/avatar", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the avatar widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/carousel/CHANGELOG.md b/packages/machines/carousel/CHANGELOG.md index 2d3dcc6f1e..d3291381aa 100644 --- a/packages/machines/carousel/CHANGELOG.md +++ b/packages/machines/carousel/CHANGELOG.md @@ -1,5 +1,16 @@ # @zag-js/carousel +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/carousel/package.json b/packages/machines/carousel/package.json index eb79583650..57c13d3b27 100644 --- a/packages/machines/carousel/package.json +++ b/packages/machines/carousel/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/carousel", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the carousel widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/checkbox/CHANGELOG.md b/packages/machines/checkbox/CHANGELOG.md index 34ca286a71..cf3218ee45 100644 --- a/packages/machines/checkbox/CHANGELOG.md +++ b/packages/machines/checkbox/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/checkbox +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/visually-hidden@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/checkbox/package.json b/packages/machines/checkbox/package.json index c4703d934e..790edfc32b 100644 --- a/packages/machines/checkbox/package.json +++ b/packages/machines/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/checkbox", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the checkbox widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/color-picker/CHANGELOG.md b/packages/machines/color-picker/CHANGELOG.md index 6def26bba2..9de4cd5317 100644 --- a/packages/machines/color-picker/CHANGELOG.md +++ b/packages/machines/color-picker/CHANGELOG.md @@ -1,5 +1,22 @@ # @zag-js/color-picker +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/color-utils@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/numeric-range@0.18.0 + - @zag-js/text-selection@0.18.0 + - @zag-js/visually-hidden@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/color-picker/package.json b/packages/machines/color-picker/package.json index 0c5f8c2c32..2c5e3c53da 100644 --- a/packages/machines/color-picker/package.json +++ b/packages/machines/color-picker/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/color-picker", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the color-picker widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/combobox/CHANGELOG.md b/packages/machines/combobox/CHANGELOG.md index c1e30a2c08..c82182ea80 100644 --- a/packages/machines/combobox/CHANGELOG.md +++ b/packages/machines/combobox/CHANGELOG.md @@ -1,5 +1,58 @@ # @zag-js/combobox +## 0.18.0 + +### Minor Changes + +- [#826](https://github.com/chakra-ui/zag/pull/826) + [`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - > Breaking Changes 💥 + + Redesign select and combobox API to allow passing value as `string` and `collection` + + Prior to this change, Zag computes the label and value from the DOM element. While this worked, it makes it + challenging to manage complex objects that don't match the `label` and `value` convention. + + ```jsx + // Create the collection + const collection = select.collection({ + items: [], + itemToString(item) { + return item.label + }, + itemToValue(item) { + return item.value + }, + }) + + // Pass the collection to the select machine + const [state, send] = useMachine( + select.machine({ + collection, + id: useId(), + }), + ) + ``` + +### Patch Changes + +- [#833](https://github.com/chakra-ui/zag/pull/833) + [`579d4a06`](https://github.com/chakra-ui/zag/commit/579d4a0666b1f1b2aebde6639e6912f2b1b1eccc) Thanks + [@srflp](https://github.com/srflp)! - Add support for `closeOnSelect` + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/interact-outside@0.18.0 + - @zag-js/popper@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/aria-hidden@0.18.0 + - @zag-js/collection@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/mutation-observer@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/combobox/package.json b/packages/machines/combobox/package.json index 32280c1b4b..ccd37964b4 100644 --- a/packages/machines/combobox/package.json +++ b/packages/machines/combobox/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/combobox", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the combobox widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/date-picker/CHANGELOG.md b/packages/machines/date-picker/CHANGELOG.md index 6d02433548..a1e570dbab 100644 --- a/packages/machines/date-picker/CHANGELOG.md +++ b/packages/machines/date-picker/CHANGELOG.md @@ -1,5 +1,30 @@ # @zag-js/date-picker +## 0.18.0 + +### Patch Changes + +- [`d65e8fc1`](https://github.com/chakra-ui/zag/commit/d65e8fc1a78cfc3ccee709055ee7f9c1fc28dacb) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where datepicker value onChange returned a proxy array + +- [`5c6431db`](https://github.com/chakra-ui/zag/commit/5c6431db3bbf8f9200e62f75b0ceaf74348131cf) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where clearing the date picker value prevent selecting a + new date when `inline: true` is set + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/dismissable@0.18.0 + - @zag-js/popper@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/date-utils@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/live-region@0.18.0 + - @zag-js/text-selection@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/date-picker/package.json b/packages/machines/date-picker/package.json index a9d9442c3e..cede935199 100644 --- a/packages/machines/date-picker/package.json +++ b/packages/machines/date-picker/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/date-picker", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the date-picker widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/dialog/CHANGELOG.md b/packages/machines/dialog/CHANGELOG.md index b68d3d0fe2..6418df118c 100644 --- a/packages/machines/dialog/CHANGELOG.md +++ b/packages/machines/dialog/CHANGELOG.md @@ -1,5 +1,19 @@ # @zag-js/dialog +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/dismissable@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/aria-hidden@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/remove-scroll@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/dialog/package.json b/packages/machines/dialog/package.json index ed7f3287b0..3622b2d071 100644 --- a/packages/machines/dialog/package.json +++ b/packages/machines/dialog/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/dialog", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the dialog widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/editable/CHANGELOG.md b/packages/machines/editable/CHANGELOG.md index 76ee61b7e3..a76a31b397 100644 --- a/packages/machines/editable/CHANGELOG.md +++ b/packages/machines/editable/CHANGELOG.md @@ -1,5 +1,24 @@ # @zag-js/editable +## 0.18.0 + +### Minor Changes + +- [`c54f5966`](https://github.com/chakra-ui/zag/commit/c54f59669f185480d7adda761eb4f9986ab51636) Thanks + [@cschroeter](https://github.com/cschroeter)! - Rename MaschineApi to Api + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/interact-outside@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/editable/package.json b/packages/machines/editable/package.json index 376124cd12..719a23a354 100644 --- a/packages/machines/editable/package.json +++ b/packages/machines/editable/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/editable", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the editable widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/file-upload/CHANGELOG.md b/packages/machines/file-upload/CHANGELOG.md index e21e21fe5e..ba0fdffe64 100644 --- a/packages/machines/file-upload/CHANGELOG.md +++ b/packages/machines/file-upload/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/file-upload +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/visually-hidden@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/file-upload/package.json b/packages/machines/file-upload/package.json index 5242acde9b..20ce1d4f0c 100644 --- a/packages/machines/file-upload/package.json +++ b/packages/machines/file-upload/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/file-upload", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the file-upload widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/hover-card/CHANGELOG.md b/packages/machines/hover-card/CHANGELOG.md index 318639c936..ed19e3d1d0 100644 --- a/packages/machines/hover-card/CHANGELOG.md +++ b/packages/machines/hover-card/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/hover-card +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/dismissable@0.18.0 + - @zag-js/popper@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/hover-card/package.json b/packages/machines/hover-card/package.json index c8ffa80802..826d38cd76 100644 --- a/packages/machines/hover-card/package.json +++ b/packages/machines/hover-card/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/hover-card", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the hover-card widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/menu/CHANGELOG.md b/packages/machines/menu/CHANGELOG.md index cb0c618e3c..aa315be635 100644 --- a/packages/machines/menu/CHANGELOG.md +++ b/packages/machines/menu/CHANGELOG.md @@ -1,5 +1,24 @@ # @zag-js/menu +## 0.18.0 + +### Patch Changes + +- [`bdd2b963`](https://github.com/chakra-ui/zag/commit/bdd2b963aa50201d3c4e569fc1ac90a93a65d1a9) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where `closeOnSelect` on menu item props isn't respected + in machine. + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/dismissable@0.18.0 + - @zag-js/popper@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/rect-utils@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/menu/package.json b/packages/machines/menu/package.json index 69e1213330..1ba10e176a 100644 --- a/packages/machines/menu/package.json +++ b/packages/machines/menu/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/menu", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the menu widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/number-input/CHANGELOG.md b/packages/machines/number-input/CHANGELOG.md index 138ff7e212..bbd33c4147 100644 --- a/packages/machines/number-input/CHANGELOG.md +++ b/packages/machines/number-input/CHANGELOG.md @@ -1,5 +1,20 @@ # @zag-js/number-input +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/mutation-observer@0.18.0 + - @zag-js/number-utils@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/number-input/package.json b/packages/machines/number-input/package.json index 29358c5c89..a1e77f52d9 100644 --- a/packages/machines/number-input/package.json +++ b/packages/machines/number-input/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/number-input", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the number-input widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/pagination/CHANGELOG.md b/packages/machines/pagination/CHANGELOG.md index 5a815b5eff..6f61618d52 100644 --- a/packages/machines/pagination/CHANGELOG.md +++ b/packages/machines/pagination/CHANGELOG.md @@ -1,5 +1,16 @@ # @zag-js/pagination +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/pagination/package.json b/packages/machines/pagination/package.json index 44cff95db8..3019e2edb0 100644 --- a/packages/machines/pagination/package.json +++ b/packages/machines/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/pagination", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the pagination widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/pin-input/CHANGELOG.md b/packages/machines/pin-input/CHANGELOG.md index 1729ee206e..ac232d2133 100644 --- a/packages/machines/pin-input/CHANGELOG.md +++ b/packages/machines/pin-input/CHANGELOG.md @@ -1,5 +1,19 @@ # @zag-js/pin-input +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/visually-hidden@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/pin-input/package.json b/packages/machines/pin-input/package.json index 7a34da6a8f..ad1165559b 100644 --- a/packages/machines/pin-input/package.json +++ b/packages/machines/pin-input/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/pin-input", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the pin-input widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/popover/CHANGELOG.md b/packages/machines/popover/CHANGELOG.md index dc69d18f54..09ba1573f8 100644 --- a/packages/machines/popover/CHANGELOG.md +++ b/packages/machines/popover/CHANGELOG.md @@ -1,5 +1,21 @@ # @zag-js/popover +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/dismissable@0.18.0 + - @zag-js/popper@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/aria-hidden@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/remove-scroll@0.18.0 + - @zag-js/tabbable@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/popover/package.json b/packages/machines/popover/package.json index 468a1af7c4..6528447b36 100644 --- a/packages/machines/popover/package.json +++ b/packages/machines/popover/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/popover", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the popover widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/presence/CHANGELOG.md b/packages/machines/presence/CHANGELOG.md index 85d175ce60..e5f1c3880e 100644 --- a/packages/machines/presence/CHANGELOG.md +++ b/packages/machines/presence/CHANGELOG.md @@ -1,5 +1,13 @@ # @zag-js/presence +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/core@0.18.0 + - @zag-js/types@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/presence/package.json b/packages/machines/presence/package.json index 1565e0ab60..a238fc5ac2 100644 --- a/packages/machines/presence/package.json +++ b/packages/machines/presence/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/presence", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the presence widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/pressable/CHANGELOG.md b/packages/machines/pressable/CHANGELOG.md index d8b14e46da..7fd04fd77b 100644 --- a/packages/machines/pressable/CHANGELOG.md +++ b/packages/machines/pressable/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/pressable +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/text-selection@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/pressable/package.json b/packages/machines/pressable/package.json index 70f26546db..2a2e27bde0 100644 --- a/packages/machines/pressable/package.json +++ b/packages/machines/pressable/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/pressable", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the pressable widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/radio-group/CHANGELOG.md b/packages/machines/radio-group/CHANGELOG.md index 81937ce9c6..ab10315e9a 100644 --- a/packages/machines/radio-group/CHANGELOG.md +++ b/packages/machines/radio-group/CHANGELOG.md @@ -1,5 +1,22 @@ # @zag-js/radio-group +## 0.18.0 + +### Patch Changes + +- [`e22ef3bc`](https://github.com/chakra-ui/zag/commit/e22ef3bc424da65909fef9003af918b97dc97963) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Remove unsupport `readOnly` property from types + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/element-rect@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/visually-hidden@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/radio-group/package.json b/packages/machines/radio-group/package.json index da2a51436b..1edfbb5876 100644 --- a/packages/machines/radio-group/package.json +++ b/packages/machines/radio-group/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/radio-group", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the radio group widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/range-slider/CHANGELOG.md b/packages/machines/range-slider/CHANGELOG.md index 430954b3cb..0258b99feb 100644 --- a/packages/machines/range-slider/CHANGELOG.md +++ b/packages/machines/range-slider/CHANGELOG.md @@ -1,5 +1,21 @@ # @zag-js/range-slider +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/slider@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/element-size@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/numeric-range@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/range-slider/package.json b/packages/machines/range-slider/package.json index ca67e1ac50..ada14a99cf 100644 --- a/packages/machines/range-slider/package.json +++ b/packages/machines/range-slider/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/range-slider", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the range-slider widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/rating-group/CHANGELOG.md b/packages/machines/rating-group/CHANGELOG.md index 7e46f5c4a1..8e457e2f30 100644 --- a/packages/machines/rating-group/CHANGELOG.md +++ b/packages/machines/rating-group/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/rating-group +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/rating-group/package.json b/packages/machines/rating-group/package.json index a7257243fd..b1b0643bd5 100644 --- a/packages/machines/rating-group/package.json +++ b/packages/machines/rating-group/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/rating-group", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the rating-group widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/select/CHANGELOG.md b/packages/machines/select/CHANGELOG.md index 6eabe62ec7..d12139b0a1 100644 --- a/packages/machines/select/CHANGELOG.md +++ b/packages/machines/select/CHANGELOG.md @@ -1,5 +1,56 @@ # @zag-js/select +## 0.18.0 + +### Minor Changes + +- [#826](https://github.com/chakra-ui/zag/pull/826) + [`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - > Breaking Changes 💥 + + Redesign select and combobox API to allow passing value as `string` and `collection` + + Prior to this change, Zag computes the label and value from the DOM element. While this worked, it makes it + challenging to manage complex objects that don't match the `label` and `value` convention. + + ```jsx + // Create the collection + const collection = select.collection({ + items: [], + itemToString(item) { + return item.label + }, + itemToValue(item) { + return item.value + }, + }) + + // Pass the collection to the select machine + const [state, send] = useMachine( + select.machine({ + collection, + id: useId(), + }), + ) + ``` + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/dismissable@0.18.0 + - @zag-js/popper@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/collection@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/mutation-observer@0.18.0 + - @zag-js/tabbable@0.18.0 + - @zag-js/visually-hidden@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/select/package.json b/packages/machines/select/package.json index d18b40c1fc..5afe7a6430 100644 --- a/packages/machines/select/package.json +++ b/packages/machines/select/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/select", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the select widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/slider/CHANGELOG.md b/packages/machines/slider/CHANGELOG.md index a453daa3b3..954d6890e0 100644 --- a/packages/machines/slider/CHANGELOG.md +++ b/packages/machines/slider/CHANGELOG.md @@ -1,5 +1,20 @@ # @zag-js/slider +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/element-size@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/numeric-range@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/slider/package.json b/packages/machines/slider/package.json index ac589b06a3..233735bff6 100644 --- a/packages/machines/slider/package.json +++ b/packages/machines/slider/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/slider", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the slider widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/splitter/CHANGELOG.md b/packages/machines/splitter/CHANGELOG.md index 63cdf917e8..3731c82f69 100644 --- a/packages/machines/splitter/CHANGELOG.md +++ b/packages/machines/splitter/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/splitter +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/number-utils@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/splitter/package.json b/packages/machines/splitter/package.json index a6c09e81f2..2e744c6c3d 100644 --- a/packages/machines/splitter/package.json +++ b/packages/machines/splitter/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/splitter", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the splitter widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/switch/CHANGELOG.md b/packages/machines/switch/CHANGELOG.md index c6cda20655..9311b7c874 100644 --- a/packages/machines/switch/CHANGELOG.md +++ b/packages/machines/switch/CHANGELOG.md @@ -1,5 +1,23 @@ # @zag-js/switch +## 0.18.0 + +### Minor Changes + +- [`3898e76c`](https://github.com/chakra-ui/zag/commit/3898e76cdcb105c25d5bf0c681680ec79e3cf757) Thanks + [@cschroeter](https://github.com/cschroeter)! - Remove input from anatomy + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/visually-hidden@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/switch/package.json b/packages/machines/switch/package.json index 704a2bee7f..d14d16e692 100644 --- a/packages/machines/switch/package.json +++ b/packages/machines/switch/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/switch", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the switch widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/tabs/CHANGELOG.md b/packages/machines/tabs/CHANGELOG.md index 2d337a76d3..ddbda4b829 100644 --- a/packages/machines/tabs/CHANGELOG.md +++ b/packages/machines/tabs/CHANGELOG.md @@ -1,5 +1,25 @@ # @zag-js/tabs +## 0.18.0 + +### Minor Changes + +- [`8be96a5e`](https://github.com/chakra-ui/zag/commit/8be96a5e943c6caa9a71b2d7c076f16a5adceb2a) Thanks + [@cschroeter](https://github.com/cschroeter)! - Optimize onFocus and onChange type declaration. Remove onDelete from + type defintion. + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/element-rect@0.18.0 + - @zag-js/tabbable@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/tabs/package.json b/packages/machines/tabs/package.json index 8fb4f0326d..9cb9c75817 100644 --- a/packages/machines/tabs/package.json +++ b/packages/machines/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/tabs", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the tabs widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/tags-input/CHANGELOG.md b/packages/machines/tags-input/CHANGELOG.md index e250c89d1b..89550b11ea 100644 --- a/packages/machines/tags-input/CHANGELOG.md +++ b/packages/machines/tags-input/CHANGELOG.md @@ -1,5 +1,21 @@ # @zag-js/tags-input +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/interact-outside@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/auto-resize@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/form-utils@0.18.0 + - @zag-js/live-region@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/tags-input/package.json b/packages/machines/tags-input/package.json index edbd2d2793..40f484943e 100644 --- a/packages/machines/tags-input/package.json +++ b/packages/machines/tags-input/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/tags-input", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the tags-input widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/toast/CHANGELOG.md b/packages/machines/toast/CHANGELOG.md index cde7391d64..cfea03bc71 100644 --- a/packages/machines/toast/CHANGELOG.md +++ b/packages/machines/toast/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/toast +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/toast/package.json b/packages/machines/toast/package.json index 5a20a1cf86..af1f2ed7c7 100644 --- a/packages/machines/toast/package.json +++ b/packages/machines/toast/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/toast", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the toast widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/toggle-group/CHANGELOG.md b/packages/machines/toggle-group/CHANGELOG.md index 7dc7ad6134..966452c1f0 100644 --- a/packages/machines/toggle-group/CHANGELOG.md +++ b/packages/machines/toggle-group/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/toggle-group +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/toggle-group/package.json b/packages/machines/toggle-group/package.json index b40981da70..e22f7b0f25 100644 --- a/packages/machines/toggle-group/package.json +++ b/packages/machines/toggle-group/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/toggle-group", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the toggle widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/toggle/CHANGELOG.md b/packages/machines/toggle/CHANGELOG.md index 2a393ae57e..7366478e73 100644 --- a/packages/machines/toggle/CHANGELOG.md +++ b/packages/machines/toggle/CHANGELOG.md @@ -1,5 +1,16 @@ # @zag-js/toggle +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/toggle/package.json b/packages/machines/toggle/package.json index 97b8d45f30..3a59a54f5b 100644 --- a/packages/machines/toggle/package.json +++ b/packages/machines/toggle/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/toggle", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the toggle widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/tooltip/CHANGELOG.md b/packages/machines/tooltip/CHANGELOG.md index ca241e143b..e2ea3bbda0 100644 --- a/packages/machines/tooltip/CHANGELOG.md +++ b/packages/machines/tooltip/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/tooltip +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/core@0.18.0 + - @zag-js/popper@0.18.0 + - @zag-js/anatomy@0.18.0 + - @zag-js/types@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/machines/tooltip/package.json b/packages/machines/tooltip/package.json index 272749368e..7f3001f593 100644 --- a/packages/machines/tooltip/package.json +++ b/packages/machines/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/tooltip", - "version": "0.17.0", + "version": "0.18.0", "description": "Core logic for the tooltip widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/store/CHANGELOG.md b/packages/store/CHANGELOG.md index 64e411371e..e17d3d6960 100644 --- a/packages/store/CHANGELOG.md +++ b/packages/store/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/store +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/store/package.json b/packages/store/package.json index 658881b3c8..781ef897ce 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/store", - "version": "0.17.0", + "version": "0.18.0", "description": "The reactive store package for zag machines", "keywords": [ "js", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index feee559c3e..fd3f37bf8c 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/types +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/types/package.json b/packages/types/package.json index 2c92caa440..9bf4a1a22e 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/types", - "version": "0.17.0", + "version": "0.18.0", "keywords": [ "js", "utils", diff --git a/packages/utilities/aria-hidden/CHANGELOG.md b/packages/utilities/aria-hidden/CHANGELOG.md index 8377d323ce..ce4f7ebd94 100644 --- a/packages/utilities/aria-hidden/CHANGELOG.md +++ b/packages/utilities/aria-hidden/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/aria-hidden +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/aria-hidden/package.json b/packages/utilities/aria-hidden/package.json index 8c5c776656..0837d93b7e 100644 --- a/packages/utilities/aria-hidden/package.json +++ b/packages/utilities/aria-hidden/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/aria-hidden", - "version": "0.17.0", + "version": "0.18.0", "description": "Hide targets from screen readers", "keywords": [ "js", diff --git a/packages/utilities/auto-resize/CHANGELOG.md b/packages/utilities/auto-resize/CHANGELOG.md index 6013ade5f6..d9240cbd63 100644 --- a/packages/utilities/auto-resize/CHANGELOG.md +++ b/packages/utilities/auto-resize/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/auto-resize +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/auto-resize/package.json b/packages/utilities/auto-resize/package.json index fc0646811b..03fd0211b1 100644 --- a/packages/utilities/auto-resize/package.json +++ b/packages/utilities/auto-resize/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/auto-resize", - "version": "0.17.0", + "version": "0.18.0", "description": "Autoresize utilities for the web", "keywords": [ "js", diff --git a/packages/utilities/collection/CHANGELOG.md b/packages/utilities/collection/CHANGELOG.md new file mode 100644 index 0000000000..e44629fe42 --- /dev/null +++ b/packages/utilities/collection/CHANGELOG.md @@ -0,0 +1,3 @@ +# @zag-js/collection + +## 0.18.0 diff --git a/packages/utilities/collection/package.json b/packages/utilities/collection/package.json index 92ea2d4344..a1cfd0b362 100644 --- a/packages/utilities/collection/package.json +++ b/packages/utilities/collection/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/collection", - "version": "0.0.0", + "version": "0.18.0", "description": "Utilities to manage a collection of items.", "keywords": [ "js", diff --git a/packages/utilities/color-utils/CHANGELOG.md b/packages/utilities/color-utils/CHANGELOG.md index c73ae649af..c125a5777f 100644 --- a/packages/utilities/color-utils/CHANGELOG.md +++ b/packages/utilities/color-utils/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/color-utils +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/color-utils/package.json b/packages/utilities/color-utils/package.json index d1e4779ddc..d469dd05f2 100644 --- a/packages/utilities/color-utils/package.json +++ b/packages/utilities/color-utils/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/color-utils", - "version": "0.17.0", + "version": "0.18.0", "description": "Color utilities for zag.js", "keywords": [ "js", diff --git a/packages/utilities/core/CHANGELOG.md b/packages/utilities/core/CHANGELOG.md index c165ee5edb..905debef61 100644 --- a/packages/utilities/core/CHANGELOG.md +++ b/packages/utilities/core/CHANGELOG.md @@ -1,5 +1,39 @@ # @zag-js/utils +## 0.18.0 + +### Minor Changes + +- [#826](https://github.com/chakra-ui/zag/pull/826) + [`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - > Breaking Changes 💥 + + Redesign select and combobox API to allow passing value as `string` and `collection` + + Prior to this change, Zag computes the label and value from the DOM element. While this worked, it makes it + challenging to manage complex objects that don't match the `label` and `value` convention. + + ```jsx + // Create the collection + const collection = select.collection({ + items: [], + itemToString(item) { + return item.label + }, + itemToValue(item) { + return item.value + }, + }) + + // Pass the collection to the select machine + const [state, send] = useMachine( + select.machine({ + collection, + id: useId(), + }), + ) + ``` + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/core/package.json b/packages/utilities/core/package.json index d69b4fc20a..99e9f97ffa 100644 --- a/packages/utilities/core/package.json +++ b/packages/utilities/core/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/utils", - "version": "0.17.0", + "version": "0.18.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/date-utils/CHANGELOG.md b/packages/utilities/date-utils/CHANGELOG.md index 6952013c24..4485543e88 100644 --- a/packages/utilities/date-utils/CHANGELOG.md +++ b/packages/utilities/date-utils/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/date-utils +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/date-utils/package.json b/packages/utilities/date-utils/package.json index b8687cbc98..982b143b60 100644 --- a/packages/utilities/date-utils/package.json +++ b/packages/utilities/date-utils/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/date-utils", - "version": "0.17.0", + "version": "0.18.0", "description": "Date utilities for zag.js", "keywords": [ "js", diff --git a/packages/utilities/dismissable/CHANGELOG.md b/packages/utilities/dismissable/CHANGELOG.md index 89d52ca1c6..1a1299809b 100644 --- a/packages/utilities/dismissable/CHANGELOG.md +++ b/packages/utilities/dismissable/CHANGELOG.md @@ -1,5 +1,15 @@ # @zag-js/dismissable +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/interact-outside@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/dismissable/package.json b/packages/utilities/dismissable/package.json index 26e0317970..28e77c1559 100644 --- a/packages/utilities/dismissable/package.json +++ b/packages/utilities/dismissable/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/dismissable", - "version": "0.17.0", + "version": "0.18.0", "description": "Dismissable layer utilities for the DOM", "keywords": [ "js", diff --git a/packages/utilities/dom-event/CHANGELOG.md b/packages/utilities/dom-event/CHANGELOG.md index 1d8edbbe81..5bbb4a9664 100644 --- a/packages/utilities/dom-event/CHANGELOG.md +++ b/packages/utilities/dom-event/CHANGELOG.md @@ -1,5 +1,13 @@ # @zag-js/dom-event +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/types@0.18.0 + - @zag-js/text-selection@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/dom-event/package.json b/packages/utilities/dom-event/package.json index b9f934a989..30d231c16b 100644 --- a/packages/utilities/dom-event/package.json +++ b/packages/utilities/dom-event/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/dom-event", - "version": "0.17.0", + "version": "0.18.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/dom-query/CHANGELOG.md b/packages/utilities/dom-query/CHANGELOG.md index aac62aca70..5a766f9599 100644 --- a/packages/utilities/dom-query/CHANGELOG.md +++ b/packages/utilities/dom-query/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/dom-query +## 0.18.0 + ## 0.17.0 ### Minor Changes diff --git a/packages/utilities/dom-query/package.json b/packages/utilities/dom-query/package.json index 3a8430a79e..448d376924 100644 --- a/packages/utilities/dom-query/package.json +++ b/packages/utilities/dom-query/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/dom-query", - "version": "0.17.0", + "version": "0.18.0", "description": "The dom helper library for zag.js machines", "keywords": [ "js", diff --git a/packages/utilities/element-rect/CHANGELOG.md b/packages/utilities/element-rect/CHANGELOG.md index 789b15e97d..c5b3662c59 100644 --- a/packages/utilities/element-rect/CHANGELOG.md +++ b/packages/utilities/element-rect/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/element-rect +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/element-rect/package.json b/packages/utilities/element-rect/package.json index 761fa7f6fd..a1e74dd2f7 100644 --- a/packages/utilities/element-rect/package.json +++ b/packages/utilities/element-rect/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/element-rect", - "version": "0.17.0", + "version": "0.18.0", "description": "observe element's rect over time", "keywords": [ "js", diff --git a/packages/utilities/element-size/CHANGELOG.md b/packages/utilities/element-size/CHANGELOG.md index a18015c8e9..f691036bdf 100644 --- a/packages/utilities/element-size/CHANGELOG.md +++ b/packages/utilities/element-size/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/element-size +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/element-size/package.json b/packages/utilities/element-size/package.json index 53fd47abd6..92e73a8fde 100644 --- a/packages/utilities/element-size/package.json +++ b/packages/utilities/element-size/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/element-size", - "version": "0.17.0", + "version": "0.18.0", "description": "Observer the size of an element over time", "keywords": [ "js", diff --git a/packages/utilities/focus-scope/CHANGELOG.md b/packages/utilities/focus-scope/CHANGELOG.md index ed562dd7ad..4bfd90ab5a 100644 --- a/packages/utilities/focus-scope/CHANGELOG.md +++ b/packages/utilities/focus-scope/CHANGELOG.md @@ -1,5 +1,16 @@ # @zag-js/focus-scope +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/tabbable@0.18.0 + - @zag-js/visually-hidden@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/focus-scope/package.json b/packages/utilities/focus-scope/package.json index 7804c8572d..b4b5222136 100644 --- a/packages/utilities/focus-scope/package.json +++ b/packages/utilities/focus-scope/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/focus-scope", - "version": "0.17.0", + "version": "0.18.0", "description": "Manage and trap focus within an element", "keywords": [ "js", diff --git a/packages/utilities/focus-visible/CHANGELOG.md b/packages/utilities/focus-visible/CHANGELOG.md index ddb83ed2e7..1db60c56f2 100644 --- a/packages/utilities/focus-visible/CHANGELOG.md +++ b/packages/utilities/focus-visible/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/focus-visible +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/focus-visible/package.json b/packages/utilities/focus-visible/package.json index 47863e4f5d..b485cf338f 100644 --- a/packages/utilities/focus-visible/package.json +++ b/packages/utilities/focus-visible/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/focus-visible", - "version": "0.17.0", + "version": "0.18.0", "description": "Focus visible polyfill utility based on WICG", "keywords": [ "js", diff --git a/packages/utilities/form-utils/CHANGELOG.md b/packages/utilities/form-utils/CHANGELOG.md index 313027dadb..d7285506bf 100644 --- a/packages/utilities/form-utils/CHANGELOG.md +++ b/packages/utilities/form-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/form-utils +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/mutation-observer@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/form-utils/package.json b/packages/utilities/form-utils/package.json index aa5de1e653..1dcaa60478 100644 --- a/packages/utilities/form-utils/package.json +++ b/packages/utilities/form-utils/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/form-utils", - "version": "0.17.0", + "version": "0.18.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/interact-outside/CHANGELOG.md b/packages/utilities/interact-outside/CHANGELOG.md index 852bb96c57..eefa082d90 100644 --- a/packages/utilities/interact-outside/CHANGELOG.md +++ b/packages/utilities/interact-outside/CHANGELOG.md @@ -1,5 +1,15 @@ # @zag-js/interact-outside +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/dom-event@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/tabbable@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/interact-outside/package.json b/packages/utilities/interact-outside/package.json index 894de0616d..306d4e0d36 100644 --- a/packages/utilities/interact-outside/package.json +++ b/packages/utilities/interact-outside/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/interact-outside", - "version": "0.17.0", + "version": "0.18.0", "description": "Track interations or focus outside an element", "keywords": [ "js", diff --git a/packages/utilities/live-region/CHANGELOG.md b/packages/utilities/live-region/CHANGELOG.md index 1a52ce8e1b..c1fdcedc42 100644 --- a/packages/utilities/live-region/CHANGELOG.md +++ b/packages/utilities/live-region/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/live-region +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/visually-hidden@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/live-region/package.json b/packages/utilities/live-region/package.json index 632c54ba6e..741566eb93 100644 --- a/packages/utilities/live-region/package.json +++ b/packages/utilities/live-region/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/live-region", - "version": "0.17.0", + "version": "0.18.0", "description": "Implementing live region for screen readers", "keywords": [ "js", diff --git a/packages/utilities/mutation-observer/CHANGELOG.md b/packages/utilities/mutation-observer/CHANGELOG.md index 78458f36d5..6404e4c162 100644 --- a/packages/utilities/mutation-observer/CHANGELOG.md +++ b/packages/utilities/mutation-observer/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/mutation-observer +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/mutation-observer/package.json b/packages/utilities/mutation-observer/package.json index c8c61e4e9f..8e78670a53 100644 --- a/packages/utilities/mutation-observer/package.json +++ b/packages/utilities/mutation-observer/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/mutation-observer", - "version": "0.17.0", + "version": "0.18.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/number/CHANGELOG.md b/packages/utilities/number/CHANGELOG.md index ec6053b706..23e8a2f9d0 100644 --- a/packages/utilities/number/CHANGELOG.md +++ b/packages/utilities/number/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/number-utils +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/number/package.json b/packages/utilities/number/package.json index ad09c20720..210ace9c8c 100644 --- a/packages/utilities/number/package.json +++ b/packages/utilities/number/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/number-utils", - "version": "0.17.0", + "version": "0.18.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/numeric-range/CHANGELOG.md b/packages/utilities/numeric-range/CHANGELOG.md index 1af844fc56..ae990d977f 100644 --- a/packages/utilities/numeric-range/CHANGELOG.md +++ b/packages/utilities/numeric-range/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/numeric-range +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/numeric-range/package.json b/packages/utilities/numeric-range/package.json index bdd6cded24..2912c2f519 100644 --- a/packages/utilities/numeric-range/package.json +++ b/packages/utilities/numeric-range/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/numeric-range", - "version": "0.17.0", + "version": "0.18.0", "description": "Numeric range utilities", "keywords": [ "js", diff --git a/packages/utilities/popper/CHANGELOG.md b/packages/utilities/popper/CHANGELOG.md index 72347e8203..aa08048dbe 100644 --- a/packages/utilities/popper/CHANGELOG.md +++ b/packages/utilities/popper/CHANGELOG.md @@ -1,5 +1,14 @@ # @zag-js/popper +## 0.18.0 + +### Patch Changes + +- Updated dependencies [[`224cbbb0`](https://github.com/chakra-ui/zag/commit/224cbbb02eef713d81acbee627dd9a0ed745c7fa)]: + - @zag-js/utils@0.18.0 + - @zag-js/dom-query@0.18.0 + - @zag-js/element-rect@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/popper/package.json b/packages/utilities/popper/package.json index 77da477c6e..8b855c75e4 100644 --- a/packages/utilities/popper/package.json +++ b/packages/utilities/popper/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/popper", - "version": "0.17.0", + "version": "0.18.0", "description": "Dynamic positioning logic for ui machines", "keywords": [ "js", diff --git a/packages/utilities/rect/CHANGELOG.md b/packages/utilities/rect/CHANGELOG.md index d1f98e2720..5aa02c551e 100644 --- a/packages/utilities/rect/CHANGELOG.md +++ b/packages/utilities/rect/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/rect-utils +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/rect/package.json b/packages/utilities/rect/package.json index 88a5d6dcd0..3c9981ee90 100644 --- a/packages/utilities/rect/package.json +++ b/packages/utilities/rect/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/rect-utils", - "version": "0.17.0", + "version": "0.18.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/remove-scroll/CHANGELOG.md b/packages/utilities/remove-scroll/CHANGELOG.md index e545699851..f6d2fa276c 100644 --- a/packages/utilities/remove-scroll/CHANGELOG.md +++ b/packages/utilities/remove-scroll/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/remove-scroll +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/remove-scroll/package.json b/packages/utilities/remove-scroll/package.json index e864a7c77a..4e39a399ec 100644 --- a/packages/utilities/remove-scroll/package.json +++ b/packages/utilities/remove-scroll/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/remove-scroll", - "version": "0.17.0", + "version": "0.18.0", "description": "JavaScript utility to remove scroll on body", "keywords": [ "js", diff --git a/packages/utilities/tabbable/CHANGELOG.md b/packages/utilities/tabbable/CHANGELOG.md index d24c5803df..8c643d3584 100644 --- a/packages/utilities/tabbable/CHANGELOG.md +++ b/packages/utilities/tabbable/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/tabbable +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/tabbable/package.json b/packages/utilities/tabbable/package.json index ad5ffaba34..1f94c60c8c 100644 --- a/packages/utilities/tabbable/package.json +++ b/packages/utilities/tabbable/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/tabbable", - "version": "0.17.0", + "version": "0.18.0", "description": "Small utility that returns an array of all* tabbable DOM nodes within a containing node.", "keywords": [ "js", diff --git a/packages/utilities/text-selection/CHANGELOG.md b/packages/utilities/text-selection/CHANGELOG.md index bcc11305f4..6e4112d975 100644 --- a/packages/utilities/text-selection/CHANGELOG.md +++ b/packages/utilities/text-selection/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/text-selection +## 0.18.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.18.0 + ## 0.17.0 ### Patch Changes diff --git a/packages/utilities/text-selection/package.json b/packages/utilities/text-selection/package.json index c5202fc124..cfd8b8403e 100644 --- a/packages/utilities/text-selection/package.json +++ b/packages/utilities/text-selection/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/text-selection", - "version": "0.17.0", + "version": "0.18.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/visually-hidden/CHANGELOG.md b/packages/utilities/visually-hidden/CHANGELOG.md index e0f683bb42..e13263ee26 100644 --- a/packages/utilities/visually-hidden/CHANGELOG.md +++ b/packages/utilities/visually-hidden/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/visually-hidden +## 0.18.0 + ## 0.17.0 ## 0.16.0 diff --git a/packages/utilities/visually-hidden/package.json b/packages/utilities/visually-hidden/package.json index 80eaac666b..b1bf98a899 100644 --- a/packages/utilities/visually-hidden/package.json +++ b/packages/utilities/visually-hidden/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/visually-hidden", - "version": "0.17.0", + "version": "0.18.0", "description": "", "keywords": [ "js",