From fa922724e09272a912b674e301ce53d067f0a756 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 22 May 2024 16:23:05 +0000 Subject: [PATCH] ci(changesets): version packages --- .changeset/fast-radios-exercise.md | 5 -- .changeset/perfect-lions-attend.md | 5 -- .changeset/tame-boats-taste.md | 7 -- 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 | 15 ++-- packages/core/package.json | 2 +- packages/docs/CHANGELOG.md | 2 + packages/docs/package.json | 2 +- packages/frameworks/preact/CHANGELOG.md | 14 +++- packages/frameworks/preact/package.json | 2 +- packages/frameworks/react/CHANGELOG.md | 18 ++++- packages/frameworks/react/package.json | 2 +- packages/frameworks/solid/CHANGELOG.md | 19 ++++-- packages/frameworks/solid/package.json | 2 +- packages/frameworks/svelte/CHANGELOG.md | 8 +++ packages/frameworks/svelte/package.json | 2 +- packages/frameworks/vue/CHANGELOG.md | 16 +++-- packages/frameworks/vue/package.json | 2 +- packages/machines/accordion/CHANGELOG.md | 19 +++++- packages/machines/accordion/package.json | 2 +- packages/machines/avatar/CHANGELOG.md | 15 +++- packages/machines/avatar/package.json | 2 +- packages/machines/carousel/CHANGELOG.md | 15 +++- packages/machines/carousel/package.json | 2 +- packages/machines/checkbox/CHANGELOG.md | 25 +++++-- packages/machines/checkbox/package.json | 2 +- packages/machines/clipboard/CHANGELOG.md | 15 +++- packages/machines/clipboard/package.json | 2 +- packages/machines/collapsible/CHANGELOG.md | 23 ++++++- packages/machines/collapsible/package.json | 2 +- packages/machines/color-picker/CHANGELOG.md | 21 +++++- packages/machines/color-picker/package.json | 2 +- packages/machines/combobox/CHANGELOG.md | 68 +++++++++++++------ packages/machines/combobox/package.json | 2 +- packages/machines/date-picker/CHANGELOG.md | 29 +++++++- packages/machines/date-picker/package.json | 2 +- packages/machines/dialog/CHANGELOG.md | 27 ++++++-- packages/machines/dialog/package.json | 2 +- packages/machines/editable/CHANGELOG.md | 26 ++++++- packages/machines/editable/package.json | 2 +- packages/machines/file-upload/CHANGELOG.md | 17 ++++- packages/machines/file-upload/package.json | 2 +- packages/machines/floating-panel/CHANGELOG.md | 17 +++++ packages/machines/floating-panel/package.json | 2 +- packages/machines/hover-card/CHANGELOG.md | 27 ++++++-- packages/machines/hover-card/package.json | 2 +- packages/machines/menu/CHANGELOG.md | 26 ++++++- packages/machines/menu/package.json | 2 +- packages/machines/number-input/CHANGELOG.md | 16 ++++- 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 | 15 +++- packages/machines/pin-input/package.json | 2 +- packages/machines/popover/CHANGELOG.md | 25 +++++-- packages/machines/popover/package.json | 2 +- packages/machines/presence/CHANGELOG.md | 12 +++- packages/machines/presence/package.json | 2 +- packages/machines/progress/CHANGELOG.md | 17 +++++ packages/machines/progress/package.json | 2 +- packages/machines/radio-group/CHANGELOG.md | 17 ++++- packages/machines/radio-group/package.json | 2 +- packages/machines/rating-group/CHANGELOG.md | 17 ++++- packages/machines/rating-group/package.json | 2 +- packages/machines/select/CHANGELOG.md | 40 ++++++++--- packages/machines/select/package.json | 2 +- packages/machines/signature-pad/CHANGELOG.md | 16 ++++- packages/machines/signature-pad/package.json | 2 +- packages/machines/slider/CHANGELOG.md | 23 ++++++- packages/machines/slider/package.json | 2 +- packages/machines/splitter/CHANGELOG.md | 16 ++++- packages/machines/splitter/package.json | 2 +- packages/machines/switch/CHANGELOG.md | 21 +++++- packages/machines/switch/package.json | 2 +- packages/machines/tabs/CHANGELOG.md | 26 +++++-- packages/machines/tabs/package.json | 2 +- packages/machines/tags-input/CHANGELOG.md | 27 +++++++- packages/machines/tags-input/package.json | 2 +- packages/machines/time-picker/CHANGELOG.md | 15 ++++ packages/machines/time-picker/package.json | 2 +- packages/machines/timer/CHANGELOG.md | 16 +++++ packages/machines/timer/package.json | 2 +- packages/machines/toast/CHANGELOG.md | 25 +++++-- packages/machines/toast/package.json | 2 +- packages/machines/toggle-group/CHANGELOG.md | 12 ++++ packages/machines/toggle-group/package.json | 2 +- packages/machines/tooltip/CHANGELOG.md | 23 +++++-- packages/machines/tooltip/package.json | 2 +- packages/machines/tour/CHANGELOG.md | 13 ++++ packages/machines/tour/package.json | 2 +- packages/machines/tree-view/CHANGELOG.md | 22 +++++- packages/machines/tree-view/package.json | 2 +- packages/store/CHANGELOG.md | 7 +- 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 | 12 +++- packages/utilities/collection/package.json | 2 +- packages/utilities/color-utils/CHANGELOG.md | 7 ++ packages/utilities/color-utils/package.json | 2 +- packages/utilities/core/CHANGELOG.md | 10 +-- 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 | 9 +++ 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 | 10 +-- packages/utilities/element-rect/package.json | 2 +- packages/utilities/element-size/CHANGELOG.md | 2 + packages/utilities/element-size/package.json | 2 +- packages/utilities/file-utils/CHANGELOG.md | 7 ++ packages/utilities/file-utils/package.json | 2 +- packages/utilities/focus-visible/CHANGELOG.md | 7 ++ packages/utilities/focus-visible/package.json | 2 +- packages/utilities/form-utils/CHANGELOG.md | 2 + packages/utilities/form-utils/package.json | 2 +- packages/utilities/i18n-utils/CHANGELOG.md | 7 ++ packages/utilities/i18n-utils/package.json | 2 +- .../utilities/interact-outside/CHANGELOG.md | 9 +++ .../utilities/interact-outside/package.json | 2 +- packages/utilities/live-region/CHANGELOG.md | 2 + packages/utilities/live-region/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 | 12 +++- 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 +- .../utilities/text-selection/CHANGELOG.md | 7 ++ .../utilities/text-selection/package.json | 2 +- 145 files changed, 991 insertions(+), 212 deletions(-) delete mode 100644 .changeset/fast-radios-exercise.md delete mode 100644 .changeset/perfect-lions-attend.md delete mode 100644 .changeset/tame-boats-taste.md create mode 100644 packages/machines/time-picker/CHANGELOG.md diff --git a/.changeset/fast-radios-exercise.md b/.changeset/fast-radios-exercise.md deleted file mode 100644 index b2f41233f4..0000000000 --- a/.changeset/fast-radios-exercise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/timer": minor ---- - -Initial release diff --git a/.changeset/perfect-lions-attend.md b/.changeset/perfect-lions-attend.md deleted file mode 100644 index 919099ed49..0000000000 --- a/.changeset/perfect-lions-attend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zag-js/editable": minor ---- - -Add `api.valueText` that returns the current value or placeholder if empty diff --git a/.changeset/tame-boats-taste.md b/.changeset/tame-boats-taste.md deleted file mode 100644 index 314e9eed36..0000000000 --- a/.changeset/tame-boats-taste.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@zag-js/progress": patch ---- - -Fix issue where using a smaller `max` than `50` throws due to the fact the default `value` is set to `50`. - -Now we set the default `value` to mid value between the `min` and `max` diff --git a/packages/anatomy-icons/CHANGELOG.md b/packages/anatomy-icons/CHANGELOG.md index 3a8047d143..3b583b4ba8 100644 --- a/packages/anatomy-icons/CHANGELOG.md +++ b/packages/anatomy-icons/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/anatomy-icons +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/anatomy-icons/package.json b/packages/anatomy-icons/package.json index f3abe1f2eb..5f4b8d0c8d 100644 --- a/packages/anatomy-icons/package.json +++ b/packages/anatomy-icons/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/anatomy-icons", - "version": "0.50.0", + "version": "0.51.0", "keywords": [ "ui-machines", "state-machines", diff --git a/packages/anatomy/CHANGELOG.md b/packages/anatomy/CHANGELOG.md index 186a4a9842..dbcb79009e 100644 --- a/packages/anatomy/CHANGELOG.md +++ b/packages/anatomy/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/anatomy +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/anatomy/package.json b/packages/anatomy/package.json index 72e7f02a3c..1e7ac11bd1 100644 --- a/packages/anatomy/package.json +++ b/packages/anatomy/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/anatomy", - "version": "0.50.0", + "version": "0.51.0", "keywords": [ "ui-machines", "state-machines", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 62bacca4e1..d82fd11b26 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/core +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/store@0.51.0 + ## 0.50.0 ### Patch Changes @@ -599,7 +606,7 @@ date: (a, b) => a.getTime() === b.getTime(), }, }, - ); + ) ``` - [#462](https://github.com/chakra-ui/zag/pull/462) @@ -775,9 +782,9 @@ This helper can be used in inline guards or the gaurds options. ```js - import { guards } from "@zag-js/core"; + import { guards } from "@zag-js/core" - const { isIn } = gaurds; + const { isIn } = gaurds const machine = createMachine({ on: { @@ -789,7 +796,7 @@ open: {}, closed: {}, }, - }); + }) ``` * [`587cbec9`](https://github.com/chakra-ui/zag/commit/587cbec9b32ee9e8faef5ceeefb779231b152018) Thanks diff --git a/packages/core/package.json b/packages/core/package.json index 77b442acd9..7fc5ad66db 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/core", - "version": "0.50.0", + "version": "0.51.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 ab0be3bcf6..88609eb862 100644 --- a/packages/docs/CHANGELOG.md +++ b/packages/docs/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/docs +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/docs/package.json b/packages/docs/package.json index 5d89f67931..8bdad86e8d 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/docs", - "version": "0.50.0", + "version": "0.51.0", "description": "Docs for zag.js machines", "keywords": [ "zag", diff --git a/packages/frameworks/preact/CHANGELOG.md b/packages/frameworks/preact/CHANGELOG.md index 6a5e238282..4cc7988bda 100644 --- a/packages/frameworks/preact/CHANGELOG.md +++ b/packages/frameworks/preact/CHANGELOG.md @@ -1,5 +1,14 @@ # @zag-js/preact +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/core@0.51.0 + - @zag-js/store@0.51.0 + - @zag-js/types@0.51.0 + ## 0.50.0 ### Patch Changes @@ -13,7 +22,10 @@ ### Patch Changes -- [#1441](https://github.com/chakra-ui/zag/pull/1441) [`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to "proxy state is not iterable" errors. +- [#1441](https://github.com/chakra-ui/zag/pull/1441) + [`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to + "proxy state is not iterable" errors. - Updated dependencies [[`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6)]: - @zag-js/store@0.49.0 diff --git a/packages/frameworks/preact/package.json b/packages/frameworks/preact/package.json index 46f408d9c6..c30dfc6a7a 100644 --- a/packages/frameworks/preact/package.json +++ b/packages/frameworks/preact/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/preact", - "version": "0.50.0", + "version": "0.51.0", "description": "The react wrapper for zag", "keywords": [ "ui-machines", diff --git a/packages/frameworks/react/CHANGELOG.md b/packages/frameworks/react/CHANGELOG.md index 8472cdd4e5..d90203e0b0 100644 --- a/packages/frameworks/react/CHANGELOG.md +++ b/packages/frameworks/react/CHANGELOG.md @@ -1,10 +1,21 @@ # @zag-js/react +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/core@0.51.0 + - @zag-js/store@0.51.0 + - @zag-js/types@0.51.0 + ## 0.50.0 ### Patch Changes -- [`ab422c1`](https://github.com/chakra-ui/zag/commit/ab422c1f8aa855a315e2197274f4e6ada15716e2) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where controlled context can sometimes not be synced correctly +- [`ab422c1`](https://github.com/chakra-ui/zag/commit/ab422c1f8aa855a315e2197274f4e6ada15716e2) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where controlled context can sometimes not be synced + correctly - Updated dependencies []: - @zag-js/core@0.50.0 @@ -15,7 +26,10 @@ ### Patch Changes -- [#1441](https://github.com/chakra-ui/zag/pull/1441) [`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to "proxy state is not iterable" errors. +- [#1441](https://github.com/chakra-ui/zag/pull/1441) + [`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to + "proxy state is not iterable" errors. - Updated dependencies [[`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6)]: - @zag-js/store@0.49.0 diff --git a/packages/frameworks/react/package.json b/packages/frameworks/react/package.json index cab4102cfa..dcffb344a9 100644 --- a/packages/frameworks/react/package.json +++ b/packages/frameworks/react/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/react", - "version": "0.50.0", + "version": "0.51.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 ac3c49cb3f..7ecb20d78e 100644 --- a/packages/frameworks/solid/CHANGELOG.md +++ b/packages/frameworks/solid/CHANGELOG.md @@ -1,5 +1,14 @@ # @zag-js/solid +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/core@0.51.0 + - @zag-js/store@0.51.0 + - @zag-js/types@0.51.0 + ## 0.50.0 ### Patch Changes @@ -75,15 +84,15 @@ **Before** ```js - const props = mergeProps({ a: 1 }, { a: 2 }); - props; // Proxy { a: 2 } + const props = mergeProps({ a: 1 }, { a: 2 }) + props // Proxy { a: 2 } ``` **After** ```js - const props = mergeProps({ a: 1 }, { a: 2 }); - props(); // { a: 2 } + const props = mergeProps({ a: 1 }, { a: 2 }) + props() // { a: 2 } ``` ### Patch Changes @@ -695,7 +704,7 @@ max: props.max, min: props.min, })), - }); + }) } ``` diff --git a/packages/frameworks/solid/package.json b/packages/frameworks/solid/package.json index 59a1a14b77..d48212a11b 100644 --- a/packages/frameworks/solid/package.json +++ b/packages/frameworks/solid/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/solid", - "version": "0.50.0", + "version": "0.51.0", "description": "The solid.js wrapper for zag", "keywords": [ "ui-machines", diff --git a/packages/frameworks/svelte/CHANGELOG.md b/packages/frameworks/svelte/CHANGELOG.md index 207564a3e4..2a0c6f6ded 100644 --- a/packages/frameworks/svelte/CHANGELOG.md +++ b/packages/frameworks/svelte/CHANGELOG.md @@ -1,5 +1,13 @@ # @zag-js/svelte +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/frameworks/svelte/package.json b/packages/frameworks/svelte/package.json index ad6430a9ad..2debde096b 100644 --- a/packages/frameworks/svelte/package.json +++ b/packages/frameworks/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/svelte", - "version": "0.50.0", + "version": "0.51.0", "description": "The svelte wrapper for zag", "keywords": [ "ui-machines", diff --git a/packages/frameworks/vue/CHANGELOG.md b/packages/frameworks/vue/CHANGELOG.md index 73c481245e..e962e02433 100644 --- a/packages/frameworks/vue/CHANGELOG.md +++ b/packages/frameworks/vue/CHANGELOG.md @@ -1,5 +1,14 @@ # @zag-js/vue +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/core@0.51.0 + - @zag-js/store@0.51.0 + - @zag-js/types@0.51.0 + ## 0.50.0 ### Patch Changes @@ -815,13 +824,10 @@ ```ts // Before - type Ref = - | string - | Vue.Ref - | ((ref: Element | Vue.ComponentPublicInstance | null) => void); + type Ref = string | Vue.Ref | ((ref: Element | Vue.ComponentPublicInstance | null) => void) // After - type Ref = VNodeRef; + type Ref = VNodeRef ``` - Updated dependencies [[`61c11646`](https://github.com/chakra-ui/zag/commit/61c116467c1758bdda7efe1f27d4ed26e7d44624), diff --git a/packages/frameworks/vue/package.json b/packages/frameworks/vue/package.json index 774407ec66..75076edeb4 100644 --- a/packages/frameworks/vue/package.json +++ b/packages/frameworks/vue/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/vue", - "version": "0.50.0", + "version": "0.51.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 eafcac56fc..f8cce7e51f 100644 --- a/packages/machines/accordion/CHANGELOG.md +++ b/packages/machines/accordion/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/accordion +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes @@ -16,7 +28,8 @@ ### Patch Changes -- [`635cce7`](https://github.com/chakra-ui/zag/commit/635cce75b9e4bf53d986c0bdf4f5fcfbacfde6ef) Thanks [@cschroeter](https://github.com/cschroeter)! - Update type descriptions +- [`635cce7`](https://github.com/chakra-ui/zag/commit/635cce75b9e4bf53d986c0bdf4f5fcfbacfde6ef) Thanks + [@cschroeter](https://github.com/cschroeter)! - Update type descriptions - Updated dependencies []: - @zag-js/core@0.49.0 @@ -30,7 +43,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Rename `getItemState` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Rename `getItemState` properties - `isOpen` -> `expanded` - `isDisabled` -> `disabled` - `isFocused` -> `focused` diff --git a/packages/machines/accordion/package.json b/packages/machines/accordion/package.json index 768dd7fd86..6c3623ea73 100644 --- a/packages/machines/accordion/package.json +++ b/packages/machines/accordion/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/accordion", - "version": "0.50.0", + "version": "0.51.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 9b9795a0d9..9c148b51e2 100644 --- a/packages/machines/avatar/CHANGELOG.md +++ b/packages/machines/avatar/CHANGELOG.md @@ -1,5 +1,16 @@ # @zag-js/avatar +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes @@ -26,7 +37,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Rename `api.isLoaded` to `api.loaded` +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Rename `api.isLoaded` to `api.loaded` - Remove `api.showFallback` since it's equivalent to `!api.loaded` ### Patch Changes diff --git a/packages/machines/avatar/package.json b/packages/machines/avatar/package.json index 36fc5d1a34..686242c3a8 100644 --- a/packages/machines/avatar/package.json +++ b/packages/machines/avatar/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/avatar", - "version": "0.50.0", + "version": "0.51.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 4d98b47b41..d97c454f26 100644 --- a/packages/machines/carousel/CHANGELOG.md +++ b/packages/machines/carousel/CHANGELOG.md @@ -1,5 +1,16 @@ # @zag-js/carousel +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes @@ -26,7 +37,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Rename `api.getItemState` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Rename `api.getItemState` properties - `isCurrent` to `current` - `isNext` to `next` diff --git a/packages/machines/carousel/package.json b/packages/machines/carousel/package.json index 20b2856c7f..e120eb92f3 100644 --- a/packages/machines/carousel/package.json +++ b/packages/machines/carousel/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/carousel", - "version": "0.50.0", + "version": "0.51.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 47ba931c6f..35e606033e 100644 --- a/packages/machines/checkbox/CHANGELOG.md +++ b/packages/machines/checkbox/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/checkbox +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + ## 0.50.0 ### Patch Changes @@ -30,14 +43,18 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties - `isChecked` to `checked` - `isDisabled` to `disabled` - `isIndeterminate` to `indeterminate` - `isFocused` to `focused` -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Add support for `readOnly` prop +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Add support for `readOnly` prop ### Patch Changes @@ -1030,7 +1047,7 @@ id: "1", checked: true, }), - ); + ) // this will update the checkbox when the `checked` value changes const [state, send] = useMachine(checkbox.machine({ id: "1" }), { @@ -1038,7 +1055,7 @@ // when this value changes, the checkbox will be checked/unchecked checked: true, }, - }); + }) ``` ### Patch Changes diff --git a/packages/machines/checkbox/package.json b/packages/machines/checkbox/package.json index f958e1b5f0..124f2e4332 100644 --- a/packages/machines/checkbox/package.json +++ b/packages/machines/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/checkbox", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the checkbox widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/clipboard/CHANGELOG.md b/packages/machines/clipboard/CHANGELOG.md index 6932c30b92..406fbb5256 100644 --- a/packages/machines/clipboard/CHANGELOG.md +++ b/packages/machines/clipboard/CHANGELOG.md @@ -1,5 +1,16 @@ # @zag-js/clipboard +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes @@ -26,7 +37,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `api.isCopied` to `api.copied` +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `api.isCopied` to `api.copied` ### Patch Changes diff --git a/packages/machines/clipboard/package.json b/packages/machines/clipboard/package.json index c70095855f..a4c1dbd7bf 100644 --- a/packages/machines/clipboard/package.json +++ b/packages/machines/clipboard/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/clipboard", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the clipboard widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/collapsible/CHANGELOG.md b/packages/machines/collapsible/CHANGELOG.md index fac98df26c..1d5b4b3589 100644 --- a/packages/machines/collapsible/CHANGELOG.md +++ b/packages/machines/collapsible/CHANGELOG.md @@ -1,5 +1,16 @@ # @zag-js/collapsible +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes @@ -15,7 +26,9 @@ ### Patch Changes -- [#1442](https://github.com/chakra-ui/zag/pull/1442) [`14658ee`](https://github.com/chakra-ui/zag/commit/14658eebb74ebbb5201fed8d47f37d5bf0acf5dc) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where initial height animation can sometimes run. +- [#1442](https://github.com/chakra-ui/zag/pull/1442) + [`14658ee`](https://github.com/chakra-ui/zag/commit/14658eebb74ebbb5201fed8d47f37d5bf0acf5dc) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where initial height animation can sometimes run. - Updated dependencies []: - @zag-js/core@0.49.0 @@ -28,7 +41,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties - `isVisible` -> `visible` - `isDisabled` -> `disabled` @@ -37,7 +52,9 @@ ### Patch Changes -- [`40f3703`](https://github.com/chakra-ui/zag/commit/40f37039fcd2e954c429d696e0ddb1f9a8726191) Thanks [@cschroeter](https://github.com/cschroeter)! - Resolve an issue that sometimes the collapsible height was not measured correctly +- [`40f3703`](https://github.com/chakra-ui/zag/commit/40f37039fcd2e954c429d696e0ddb1f9a8726191) Thanks + [@cschroeter](https://github.com/cschroeter)! - Resolve an issue that sometimes the collapsible height was not + measured correctly - Updated dependencies []: - @zag-js/anatomy@0.48.0 diff --git a/packages/machines/collapsible/package.json b/packages/machines/collapsible/package.json index ba3e6c20ff..106e093568 100644 --- a/packages/machines/collapsible/package.json +++ b/packages/machines/collapsible/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/collapsible", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the collapsible 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 437f2cb4bc..40a7434ed0 100644 --- a/packages/machines/color-picker/CHANGELOG.md +++ b/packages/machines/color-picker/CHANGELOG.md @@ -1,5 +1,22 @@ # @zag-js/color-picker +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/color-utils@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + - @zag-js/popper@0.51.0 + - @zag-js/text-selection@0.51.0 + ## 0.50.0 ### Patch Changes @@ -39,7 +56,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties - `isDragging` -> `dragging` - `isOpen` -> `open` diff --git a/packages/machines/color-picker/package.json b/packages/machines/color-picker/package.json index 00321c5f07..4ee5dfd920 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.50.0", + "version": "0.51.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 3f19db5165..c7a9fda640 100644 --- a/packages/machines/combobox/CHANGELOG.md +++ b/packages/machines/combobox/CHANGELOG.md @@ -1,14 +1,34 @@ # @zag-js/combobox +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/aria-hidden@0.51.0 + - @zag-js/collection@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/popper@0.51.0 + ## 0.50.0 ### Minor Changes -- [#1489](https://github.com/chakra-ui/zag/pull/1489) [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `triggerProps` to `getTriggerProps()` to allow for more flexible compositions. +- [#1489](https://github.com/chakra-ui/zag/pull/1489) + [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `triggerProps` to `getTriggerProps()` to allow for more + flexible compositions. ### Patch Changes -- Updated dependencies [[`8f325a8`](https://github.com/chakra-ui/zag/commit/8f325a8a966256c45410ed3e953d7f041d40b658), [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238)]: +- Updated dependencies [[`8f325a8`](https://github.com/chakra-ui/zag/commit/8f325a8a966256c45410ed3e953d7f041d40b658), + [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238)]: - @zag-js/collection@0.50.0 - @zag-js/popper@0.50.0 - @zag-js/anatomy@0.50.0 @@ -24,7 +44,8 @@ ### Patch Changes -- [`d28ea96`](https://github.com/chakra-ui/zag/commit/d28ea96b0d71f34c8a1a19a14cc16c6cd1f4d350) Thanks [@cschroeter](https://github.com/cschroeter)! - Export IntlTranslations from Combobox +- [`d28ea96`](https://github.com/chakra-ui/zag/commit/d28ea96b0d71f34c8a1a19a14cc16c6cd1f4d350) Thanks + [@cschroeter](https://github.com/cschroeter)! - Export IntlTranslations from Combobox - Updated dependencies []: - @zag-js/core@0.49.0 @@ -42,10 +63,13 @@ ### Minor Changes -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Add `open` and `open.controlled` property to programmatically control the combobox's open state +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Add `open` and `open.controlled` property to programmatically + control the combobox's open state - - Add new `openOnChange` property to automatically open the combobox when the value changes. Value can be a boolean or a - function that returns a boolean. + - Add new `openOnChange` property to automatically open the combobox when the value changes. Value can be a boolean or + a function that returns a boolean. ```jsx const [state, send] = useMachine( @@ -53,7 +77,7 @@ // openOnChange: true, openOnChange: ({ inputValue }) => inputValue.length > 2, }), - ); + ) ``` - Add new `openOnKeypress` property to automatically open the combobox when the arrow keys (up and down) are pressed. @@ -63,29 +87,35 @@ const [state, send] = useMachine( combobox.machine({ getSelectionValue({ inputValue, valueAsString }) { - return `${inputValue} ${valueAsString}`; + return `${inputValue} ${valueAsString}` }, }), - ); + ) ``` - Add new `dismissable` property to determine whether to add the combobox content to the dismissable stack. - Add `popup` attribute to allow rendering the combobox has a select with input within the content. - Add `persistFocus` to the item props to determine whether to clear the highlighted item on pointer leave. -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties - `isFocused` -> `focused` - `isOpen` -> `open` - `isInputValueEmpty` -> `inputEmpty` - `open()`, `close()` -> `setOpen(true|false)` -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `loop` to `loopFocus` to better reflect its purpose +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `loop` to `loopFocus` to better reflect its purpose -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Fix issue where combobox could be composed with tags-input due to the way `selectedItems` and `valueAsString` was - computed - - Remove `selectOnBlur` to prevent accidental selection of options. Prefer explicit selection by user via click or enter - key. +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Fix issue where combobox could be composed with tags-input due + to the way `selectedItems` and `valueAsString` was computed + - Remove `selectOnBlur` to prevent accidental selection of options. Prefer explicit selection by user via click or + enter key. - Update the details provided by `onInputValueChange` to from `details.value` to `details.inputValue` ### Patch Changes @@ -972,12 +1002,12 @@ const collection = select.collection({ items: [], itemToString(item) { - return item.label; + return item.label }, itemToValue(item) { - return item.value; + return item.value }, - }); + }) // Pass the collection to the select machine const [state, send] = useMachine( @@ -985,7 +1015,7 @@ collection, id: useId(), }), - ); + ) ``` ### Patch Changes diff --git a/packages/machines/combobox/package.json b/packages/machines/combobox/package.json index f9a0d0c5b4..1e4900111c 100644 --- a/packages/machines/combobox/package.json +++ b/packages/machines/combobox/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/combobox", - "version": "0.50.0", + "version": "0.51.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 b6f24c8639..1ccf7b64c8 100644 --- a/packages/machines/date-picker/CHANGELOG.md +++ b/packages/machines/date-picker/CHANGELOG.md @@ -1,5 +1,23 @@ # @zag-js/date-picker +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/date-utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + - @zag-js/live-region@0.51.0 + - @zag-js/popper@0.51.0 + - @zag-js/text-selection@0.51.0 + ## 0.50.0 ### Patch Changes @@ -22,13 +40,18 @@ ### Minor Changes -- [`9b379db`](https://github.com/chakra-ui/zag/commit/9b379db27efa01207772551d95995a28d9ad206f) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `data-docused` to `data-focus` for consistency +- [`9b379db`](https://github.com/chakra-ui/zag/commit/9b379db27efa01207772551d95995a28d9ad206f) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `data-docused` to `data-focus` for consistency ### Patch Changes -- [`9a2159a`](https://github.com/chakra-ui/zag/commit/9a2159ac17d6c01320558e22b8e9ecbecfffff6b) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where date picker content doesn't register as a dismissable when lazy mounted. +- [`9a2159a`](https://github.com/chakra-ui/zag/commit/9a2159ac17d6c01320558e22b8e9ecbecfffff6b) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where date picker content doesn't register as a + dismissable when lazy mounted. -- [`21eab4d`](https://github.com/chakra-ui/zag/commit/21eab4d8af702153d5b00c3ab80bb2532de2e71f) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where changing focused value doesn't update the date picker's visible range +- [`21eab4d`](https://github.com/chakra-ui/zag/commit/21eab4d8af702153d5b00c3ab80bb2532de2e71f) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where changing focused value doesn't update the date + picker's visible range - Updated dependencies []: - @zag-js/core@0.49.0 diff --git a/packages/machines/date-picker/package.json b/packages/machines/date-picker/package.json index 2e3d6bad64..0eefd0f169 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.50.0", + "version": "0.51.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 d3985501c0..b5dc75b116 100644 --- a/packages/machines/dialog/CHANGELOG.md +++ b/packages/machines/dialog/CHANGELOG.md @@ -1,10 +1,27 @@ # @zag-js/dialog +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/aria-hidden@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/remove-scroll@0.51.0 + ## 0.50.0 ### Minor Changes -- [#1489](https://github.com/chakra-ui/zag/pull/1489) [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Prevent closing dialog on outside click when `role=alertdialog` is set. +- [#1489](https://github.com/chakra-ui/zag/pull/1489) + [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Prevent closing dialog on outside click when `role=alertdialog` + is set. - Set the initial focus to the close trigger, when `role=alertdialog` is set to prevent accidental selection of destructive action. @@ -38,7 +55,9 @@ ### Minor Changes -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `closeOnEscapeKeyDown` to `closeOnEscape` +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `closeOnEscapeKeyDown` to `closeOnEscape` ### Patch Changes @@ -1058,7 +1077,7 @@ ```jsx // this is will open the dialog initially - const [state, send] = useMachine(dialog.machine({ id: "1", open: true })); + const [state, send] = useMachine(dialog.machine({ id: "1", open: true })) // this will open the dialog when the `open` value changes const [state, send] = useMachine(dialog.machine({ id: "1" }), { @@ -1066,7 +1085,7 @@ // when this value changes, the dialog will open/close open: true, }, - }); + }) ``` ### Patch Changes diff --git a/packages/machines/dialog/package.json b/packages/machines/dialog/package.json index 09b695ab44..f6d78039ee 100644 --- a/packages/machines/dialog/package.json +++ b/packages/machines/dialog/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/dialog", - "version": "0.50.0", + "version": "0.51.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 3f19557bab..ec27f3b23c 100644 --- a/packages/machines/editable/CHANGELOG.md +++ b/packages/machines/editable/CHANGELOG.md @@ -1,5 +1,25 @@ # @zag-js/editable +## 0.51.0 + +### Minor Changes + +- [`e827bd9`](https://github.com/chakra-ui/zag/commit/e827bd9d459bcce74e971d947208d0312dd0b18a) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Add `api.valueText` that returns the current value or placeholder + if empty + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + - @zag-js/interact-outside@0.51.0 + ## 0.50.0 ### Patch Changes @@ -32,7 +52,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties - `isEditing` -> `editing` - `isValueEmpty` -> `empty` @@ -1444,7 +1466,7 @@ editable.machine({ placeholder: { edit: "Enter...", preview: "Add name..." }, }), - ); + ) ``` ## 0.1.4 diff --git a/packages/machines/editable/package.json b/packages/machines/editable/package.json index bbb3f7435c..6af50588f6 100644 --- a/packages/machines/editable/package.json +++ b/packages/machines/editable/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/editable", - "version": "0.50.0", + "version": "0.51.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 6db5714af8..3499d0719d 100644 --- a/packages/machines/file-upload/CHANGELOG.md +++ b/packages/machines/file-upload/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/file-upload +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/file-utils@0.51.0 + - @zag-js/i18n-utils@0.51.0 + ## 0.50.0 ### Patch Changes @@ -30,7 +43,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties - `isDragging` -> `dragging` - `isFocused` -> `focused` diff --git a/packages/machines/file-upload/package.json b/packages/machines/file-upload/package.json index 4edc7e3410..225784ba5a 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.50.0", + "version": "0.51.0", "description": "Core logic for the file-upload widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/floating-panel/CHANGELOG.md b/packages/machines/floating-panel/CHANGELOG.md index b30d8e4fdc..dbd4bdc53c 100644 --- a/packages/machines/floating-panel/CHANGELOG.md +++ b/packages/machines/floating-panel/CHANGELOG.md @@ -1,5 +1,22 @@ # @zag-js/floating-panel +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/store@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/numeric-range@0.51.0 + - @zag-js/popper@0.51.0 + - @zag-js/rect-utils@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/machines/floating-panel/package.json b/packages/machines/floating-panel/package.json index 14374d31ea..287bbdf23d 100644 --- a/packages/machines/floating-panel/package.json +++ b/packages/machines/floating-panel/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/floating-panel", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the floating-panel 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 0587e173a7..644ec6414a 100644 --- a/packages/machines/hover-card/CHANGELOG.md +++ b/packages/machines/hover-card/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/hover-card +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/popper@0.51.0 + ## 0.50.0 ### Patch Changes @@ -970,7 +983,7 @@ ```jsx // this is will open the dialog initially - const [state, send] = useMachine(dialog.machine({ id: "1", open: true })); + const [state, send] = useMachine(dialog.machine({ id: "1", open: true })) // this will open the dialog when the `open` value changes const [state, send] = useMachine(dialog.machine({ id: "1" }), { @@ -978,7 +991,7 @@ // when this value changes, the dialog will open/close open: true, }, - }); + }) ``` ### Patch Changes @@ -998,7 +1011,7 @@ of the popover. This API supports all the positioning options. ```js - api.setPositioning({ placement: "top" }); + api.setPositioning({ placement: "top" }) ``` ### Patch Changes @@ -1092,15 +1105,15 @@ [@TimKolberger](https://github.com/TimKolberger)! - Add `open` and `close` functions to the connect api: ```ts - import * as hoverCard from "@zag-js/hover-card"; + import * as hoverCard from "@zag-js/hover-card" - const api = hoverCard.connect(state, send, normalizeProps); + const api = hoverCard.connect(state, send, normalizeProps) // call `open` to open the hover card - api.open(); + api.open() // call `close` to close the hover card - api.close(); + api.close() ``` ### Patch Changes diff --git a/packages/machines/hover-card/package.json b/packages/machines/hover-card/package.json index 09c76a9b9f..e56fcff6d3 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.50.0", + "version": "0.51.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 a6e2c7abbd..7db6c767b7 100644 --- a/packages/machines/menu/CHANGELOG.md +++ b/packages/machines/menu/CHANGELOG.md @@ -1,5 +1,20 @@ # @zag-js/menu +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/popper@0.51.0 + - @zag-js/rect-utils@0.51.0 + ## 0.50.0 ### Patch Changes @@ -35,9 +50,14 @@ ### Minor Changes -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Focus first tabbable element when menu opens. To allow composition with combobox +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Focus first tabbable element when menu opens. To allow composition + with combobox -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `loop` to `loopFocus` to better reflect its purpose +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `loop` to `loopFocus` to better reflect its purpose ### Patch Changes @@ -1312,7 +1332,7 @@ of the popover. This API supports all the positioning options. ```js - api.setPositioning({ placement: "top" }); + api.setPositioning({ placement: "top" }) ``` ### Patch Changes diff --git a/packages/machines/menu/package.json b/packages/machines/menu/package.json index 6d8c466877..bf8cb2cf23 100644 --- a/packages/machines/menu/package.json +++ b/packages/machines/menu/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/menu", - "version": "0.50.0", + "version": "0.51.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 6c5e352790..7b37a328bf 100644 --- a/packages/machines/number-input/CHANGELOG.md +++ b/packages/machines/number-input/CHANGELOG.md @@ -1,5 +1,19 @@ # @zag-js/number-input +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + - @zag-js/number-utils@0.51.0 + ## 0.50.0 ### Patch Changes @@ -1351,7 +1365,7 @@ // details => { value: string, valueAsNumber: number } }, }), - ); + ) ``` - Add `focus()` and `blur()` methods to the machine's `api` diff --git a/packages/machines/number-input/package.json b/packages/machines/number-input/package.json index b1dea89958..e7a0d931a4 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.50.0", + "version": "0.51.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 9eede29d1a..3277b1000a 100644 --- a/packages/machines/pagination/CHANGELOG.md +++ b/packages/machines/pagination/CHANGELOG.md @@ -1,5 +1,16 @@ # @zag-js/pagination +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/machines/pagination/package.json b/packages/machines/pagination/package.json index 30193e4425..8776016670 100644 --- a/packages/machines/pagination/package.json +++ b/packages/machines/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/pagination", - "version": "0.50.0", + "version": "0.51.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 61eee29736..96d757d8a4 100644 --- a/packages/machines/pin-input/CHANGELOG.md +++ b/packages/machines/pin-input/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/pin-input +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + ## 0.50.0 ### Patch Changes @@ -1291,7 +1304,7 @@ define their own patterns to validate against. ```jsx - const [state, send] = useMachine(pinInput.machine({ pattern: "^[0-9.-]+$" })); + const [state, send] = useMachine(pinInput.machine({ pattern: "^[0-9.-]+$" })) ``` Improve form support by exposing `hiddenInputProps`. When the machine is passed a `name` property: diff --git a/packages/machines/pin-input/package.json b/packages/machines/pin-input/package.json index 166b82a414..fff5831a95 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.50.0", + "version": "0.51.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 22a6aa0282..b255b2119c 100644 --- a/packages/machines/popover/CHANGELOG.md +++ b/packages/machines/popover/CHANGELOG.md @@ -1,10 +1,27 @@ # @zag-js/popover +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/aria-hidden@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/popper@0.51.0 + - @zag-js/remove-scroll@0.51.0 + ## 0.50.0 ### Minor Changes -- [`bbe0c77`](https://github.com/chakra-ui/zag/commit/bbe0c7795c4e045530f14ef7266f704529ef11c3) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `closeOnEsc` to `closeOnEscape` to be consistent with dialog machine +- [`bbe0c77`](https://github.com/chakra-ui/zag/commit/bbe0c7795c4e045530f14ef7266f704529ef11c3) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `closeOnEsc` to `closeOnEscape` to be consistent with + dialog machine ### Patch Changes @@ -1207,7 +1224,7 @@ ```jsx // this is will open the dialog initially - const [state, send] = useMachine(dialog.machine({ id: "1", open: true })); + const [state, send] = useMachine(dialog.machine({ id: "1", open: true })) // this will open the dialog when the `open` value changes const [state, send] = useMachine(dialog.machine({ id: "1" }), { @@ -1215,7 +1232,7 @@ // when this value changes, the dialog will open/close open: true, }, - }); + }) ``` ### Patch Changes @@ -1238,7 +1255,7 @@ positioning options. ```js - api.setPositioning({ placement: "top" }); + api.setPositioning({ placement: "top" }) ``` - Updated dependencies [[`fa2ecc8e`](https://github.com/chakra-ui/zag/commit/fa2ecc8ea235b824f45deda10070c321f896886c), diff --git a/packages/machines/popover/package.json b/packages/machines/popover/package.json index 085d9b061c..d3e7cebcde 100644 --- a/packages/machines/popover/package.json +++ b/packages/machines/popover/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/popover", - "version": "0.50.0", + "version": "0.51.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 b3e3bafeed..40b73a21cf 100644 --- a/packages/machines/presence/CHANGELOG.md +++ b/packages/machines/presence/CHANGELOG.md @@ -1,5 +1,13 @@ # @zag-js/presence +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + ## 0.50.0 ### Patch Changes @@ -12,7 +20,9 @@ ### Minor Changes -- [#1439](https://github.com/chakra-ui/zag/pull/1439) [`159b9f5`](https://github.com/chakra-ui/zag/commit/159b9f5987ae2ac62fe87ada061d62a04b37af20) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Add `api.unmount` to programmatically unmount the component +- [#1439](https://github.com/chakra-ui/zag/pull/1439) + [`159b9f5`](https://github.com/chakra-ui/zag/commit/159b9f5987ae2ac62fe87ada061d62a04b37af20) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Add `api.unmount` to programmatically unmount the component - Add `api.skip` to skip initial animation ### Patch Changes diff --git a/packages/machines/presence/package.json b/packages/machines/presence/package.json index dc6a184782..9b4576b75a 100644 --- a/packages/machines/presence/package.json +++ b/packages/machines/presence/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/presence", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the presence widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/progress/CHANGELOG.md b/packages/machines/progress/CHANGELOG.md index 1ad0789c5b..474594f6c4 100644 --- a/packages/machines/progress/CHANGELOG.md +++ b/packages/machines/progress/CHANGELOG.md @@ -1,5 +1,22 @@ # @zag-js/progress +## 0.51.0 + +### Patch Changes + +- [`66b31f8`](https://github.com/chakra-ui/zag/commit/66b31f8340f10c59540be25845e4d00166ea5ac1) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where using a smaller `max` than `50` throws due to the + fact the default `value` is set to `50`. + + Now we set the default `value` to mid value between the `min` and `max` + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/machines/progress/package.json b/packages/machines/progress/package.json index 21a01cb016..ba7c3c6330 100644 --- a/packages/machines/progress/package.json +++ b/packages/machines/progress/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/progress", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the progress 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 c6507ec177..42d20c49ce 100644 --- a/packages/machines/radio-group/CHANGELOG.md +++ b/packages/machines/radio-group/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/radio-group +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/element-rect@0.51.0 + - @zag-js/form-utils@0.51.0 + ## 0.50.0 ### Patch Changes @@ -30,7 +43,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Add support for `readOnly` prop +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Add support for `readOnly` prop ### Patch Changes diff --git a/packages/machines/radio-group/package.json b/packages/machines/radio-group/package.json index 26eaf51a1b..9b5a589105 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.50.0", + "version": "0.51.0", "description": "Core logic for the radio group 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 2177b3a4c6..db2d408633 100644 --- a/packages/machines/rating-group/CHANGELOG.md +++ b/packages/machines/rating-group/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/rating-group +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + ## 0.50.0 ### Patch Changes @@ -1006,10 +1019,10 @@ ```js // set the value of the rating-group to 3 - api.setValue(3); + api.setValue(3) // clear the value of the rating-group - api.clearValue(); + api.clearValue() ``` ### Patch Changes diff --git a/packages/machines/rating-group/package.json b/packages/machines/rating-group/package.json index c422279346..52230b392e 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.50.0", + "version": "0.51.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 ef973c9493..8cbc2cbab8 100644 --- a/packages/machines/select/CHANGELOG.md +++ b/packages/machines/select/CHANGELOG.md @@ -1,10 +1,27 @@ # @zag-js/select +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/collection@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + - @zag-js/popper@0.51.0 + ## 0.50.0 ### Patch Changes -- Updated dependencies [[`8f325a8`](https://github.com/chakra-ui/zag/commit/8f325a8a966256c45410ed3e953d7f041d40b658), [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238)]: +- Updated dependencies [[`8f325a8`](https://github.com/chakra-ui/zag/commit/8f325a8a966256c45410ed3e953d7f041d40b658), + [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238)]: - @zag-js/collection@0.50.0 - @zag-js/popper@0.50.0 - @zag-js/anatomy@0.50.0 @@ -36,9 +53,14 @@ ### Minor Changes -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `loop` to `loopFocus` to better reflect its purpose +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `loop` to `loopFocus` to better reflect its purpose -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Remove `selectOnBlur` to prevent accidental selection of options. Prefer explicit selection by user via click or enter key. +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Remove `selectOnBlur` to prevent accidental selection of options. + Prefer explicit selection by user via click or enter key. ### Patch Changes @@ -58,7 +80,9 @@ ### Patch Changes -- [`30528d0`](https://github.com/chakra-ui/zag/commit/30528d04563aa428d044867ce40c3ccab7cf8b7b) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Prevent tab key interaction when the select is open. This keeps focus within the select and ensures keyboard interactions work consistently +- [`30528d0`](https://github.com/chakra-ui/zag/commit/30528d04563aa428d044867ce40c3ccab7cf8b7b) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Prevent tab key interaction when the select is open. This keeps + focus within the select and ensures keyboard interactions work consistently - Updated dependencies []: - @zag-js/anatomy@0.47.0 @@ -1051,12 +1075,12 @@ const collection = select.collection({ items: [], itemToString(item) { - return item.label; + return item.label }, itemToValue(item) { - return item.value; + return item.value }, - }); + }) // Pass the collection to the select machine const [state, send] = useMachine( @@ -1064,7 +1088,7 @@ collection, id: useId(), }), - ); + ) ``` ### Patch Changes diff --git a/packages/machines/select/package.json b/packages/machines/select/package.json index 278d142478..6b2faf4b2d 100644 --- a/packages/machines/select/package.json +++ b/packages/machines/select/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/select", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the select widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/signature-pad/CHANGELOG.md b/packages/machines/signature-pad/CHANGELOG.md index 8f862b3bbd..ad535fb5a7 100644 --- a/packages/machines/signature-pad/CHANGELOG.md +++ b/packages/machines/signature-pad/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/signature-pad +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes @@ -28,7 +40,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `api` properties - `isDrawing` -> `drawing` - `isEmpty` -> `empty` diff --git a/packages/machines/signature-pad/package.json b/packages/machines/signature-pad/package.json index e4d8b97cb6..cd64a8e8eb 100644 --- a/packages/machines/signature-pad/package.json +++ b/packages/machines/signature-pad/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/signature-pad", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the signature-pad widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/slider/CHANGELOG.md b/packages/machines/slider/CHANGELOG.md index 50f0a46987..70e2526387 100644 --- a/packages/machines/slider/CHANGELOG.md +++ b/packages/machines/slider/CHANGELOG.md @@ -1,10 +1,28 @@ # @zag-js/slider +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/element-size@0.51.0 + - @zag-js/form-utils@0.51.0 + - @zag-js/numeric-range@0.51.0 + ## 0.50.0 ### Minor Changes -- [#1489](https://github.com/chakra-ui/zag/pull/1489) [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Invoke `onValueChangeEnd` when using keyboard to interact with slider thumb +- [#1489](https://github.com/chakra-ui/zag/pull/1489) + [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Invoke `onValueChangeEnd` when using keyboard to interact with + slider thumb ### Patch Changes @@ -23,7 +41,8 @@ ### Patch Changes -- [`c271c5c`](https://github.com/chakra-ui/zag/commit/c271c5cf4febea959922cabafb112ac3e3a33443) Thanks [@cschroeter](https://github.com/cschroeter)! - Export ValueTextDetails from slider +- [`c271c5c`](https://github.com/chakra-ui/zag/commit/c271c5cf4febea959922cabafb112ac3e3a33443) Thanks + [@cschroeter](https://github.com/cschroeter)! - Export ValueTextDetails from slider - Updated dependencies []: - @zag-js/core@0.49.0 diff --git a/packages/machines/slider/package.json b/packages/machines/slider/package.json index 03aa09237b..9cf4e034fc 100644 --- a/packages/machines/slider/package.json +++ b/packages/machines/slider/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/slider", - "version": "0.50.0", + "version": "0.51.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 d0e2894dd0..5a5914a401 100644 --- a/packages/machines/splitter/CHANGELOG.md +++ b/packages/machines/splitter/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/splitter +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/number-utils@0.51.0 + ## 0.50.0 ### Patch Changes @@ -17,7 +30,8 @@ ### Patch Changes -- [`9786ad0`](https://github.com/chakra-ui/zag/commit/9786ad000ba7b9358097e0e46beaaf3ea0c5d77a) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where `onResize` was not called +- [`9786ad0`](https://github.com/chakra-ui/zag/commit/9786ad000ba7b9358097e0e46beaaf3ea0c5d77a) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where `onResize` was not called - Updated dependencies []: - @zag-js/core@0.49.0 diff --git a/packages/machines/splitter/package.json b/packages/machines/splitter/package.json index 15c62d25ab..5719122115 100644 --- a/packages/machines/splitter/package.json +++ b/packages/machines/splitter/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/splitter", - "version": "0.50.0", + "version": "0.51.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 71729c91dd..c35a6b36bd 100644 --- a/packages/machines/switch/CHANGELOG.md +++ b/packages/machines/switch/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/switch +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + ## 0.50.0 ### Patch Changes @@ -30,7 +43,9 @@ ### Minor Changes -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Add support for `readOnly` prop +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Add support for `readOnly` prop ### Patch Changes @@ -967,7 +982,7 @@ id: "1", checked: true, }), - ); + ) // this will update the checkbox when the `checked` value changes const [state, send] = useMachine(checkbox.machine({ id: "1" }), { @@ -975,7 +990,7 @@ // when this value changes, the checkbox will be checked/unchecked checked: true, }, - }); + }) ``` ### Patch Changes diff --git a/packages/machines/switch/package.json b/packages/machines/switch/package.json index 19c96df91b..d2acd821e1 100644 --- a/packages/machines/switch/package.json +++ b/packages/machines/switch/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/switch", - "version": "0.50.0", + "version": "0.51.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 43a8c46711..a13a944dd4 100644 --- a/packages/machines/tabs/CHANGELOG.md +++ b/packages/machines/tabs/CHANGELOG.md @@ -1,11 +1,25 @@ # @zag-js/tabs +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/element-rect@0.51.0 + ## 0.50.0 ### Minor Changes -- [`bd7a2e4`](https://github.com/chakra-ui/zag/commit/bd7a2e436ab315d8afa16bc7081ea2ad28bfc817) Thanks [@segunadebayo](https://github.com/segunadebayo)! - When using the pointer, prefer click based selection when using `activationMode=automatic` over focus triggering - selection. For keyboard, selection follows focus as usual. +- [`bd7a2e4`](https://github.com/chakra-ui/zag/commit/bd7a2e436ab315d8afa16bc7081ea2ad28bfc817) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - When using the pointer, prefer click based selection when using + `activationMode=automatic` over focus triggering selection. For keyboard, selection follows focus as usual. ### Patch Changes @@ -36,9 +50,13 @@ ### Minor Changes -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `loop` to `loopFocus` to better reflect its purpose +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `loop` to `loopFocus` to better reflect its purpose -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `api.getTriggerState` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `api.getTriggerState` properties - `isSelected` -> `selected` - `isDisabled` -> `disabled` diff --git a/packages/machines/tabs/package.json b/packages/machines/tabs/package.json index 6137a76c4b..0cac2ff5e7 100644 --- a/packages/machines/tabs/package.json +++ b/packages/machines/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/tabs", - "version": "0.50.0", + "version": "0.51.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 9ffe6262fc..85c5fe9890 100644 --- a/packages/machines/tags-input/CHANGELOG.md +++ b/packages/machines/tags-input/CHANGELOG.md @@ -1,5 +1,21 @@ # @zag-js/tags-input +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/auto-resize@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/form-utils@0.51.0 + - @zag-js/interact-outside@0.51.0 + - @zag-js/live-region@0.51.0 + ## 0.50.0 ### Patch Changes @@ -20,11 +36,14 @@ ### Patch Changes -- [`a110001`](https://github.com/chakra-ui/zag/commit/a110001fa422a71d879f3390308fff3f338d94cf) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Fix issue where editing a tag and clearing it's value leaves an empty tag. Now, empty tags will be deleted. +- [`a110001`](https://github.com/chakra-ui/zag/commit/a110001fa422a71d879f3390308fff3f338d94cf) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Fix issue where editing a tag and clearing it's value leaves an + empty tag. Now, empty tags will be deleted. - Fix issue where deleting a tag with pointer and navigating with keyboard doesn't work -- [`dfc85a4`](https://github.com/chakra-ui/zag/commit/dfc85a43337ca854ae37ecf9bdd6c6be99db8922) Thanks [@cschroeter](https://github.com/cschroeter)! - Export ValidateArgs from TagsInput +- [`dfc85a4`](https://github.com/chakra-ui/zag/commit/dfc85a43337ca854ae37ecf9bdd6c6be99db8922) Thanks + [@cschroeter](https://github.com/cschroeter)! - Export ValidateArgs from TagsInput - Updated dependencies []: - @zag-js/core@0.49.0 @@ -42,7 +61,9 @@ ### Minor Changes -- [#1431](https://github.com/chakra-ui/zag/pull/1431) [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Rename `allowTagEdit` to `editable` +- [#1431](https://github.com/chakra-ui/zag/pull/1431) + [`80b97a9`](https://github.com/chakra-ui/zag/commit/80b97a907382f0cece781abeae2a462f9bfba686) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Rename `allowTagEdit` to `editable` - Add `onInputValueChange` to machine context ### Patch Changes diff --git a/packages/machines/tags-input/package.json b/packages/machines/tags-input/package.json index 6c087a899b..97c4806429 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.50.0", + "version": "0.51.0", "description": "Core logic for the tags-input widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/time-picker/CHANGELOG.md b/packages/machines/time-picker/CHANGELOG.md new file mode 100644 index 0000000000..700de23cd1 --- /dev/null +++ b/packages/machines/time-picker/CHANGELOG.md @@ -0,0 +1,15 @@ +# @zag-js/time-picker + +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/popper@0.51.0 diff --git a/packages/machines/time-picker/package.json b/packages/machines/time-picker/package.json index be36d5ce4b..4fd9af2628 100644 --- a/packages/machines/time-picker/package.json +++ b/packages/machines/time-picker/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/time-picker", - "version": "0.0.0", + "version": "0.51.0", "description": "Core logic for the time-picker widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/timer/CHANGELOG.md b/packages/machines/timer/CHANGELOG.md index 63dc90f20b..b124c50688 100644 --- a/packages/machines/timer/CHANGELOG.md +++ b/packages/machines/timer/CHANGELOG.md @@ -1 +1,17 @@ # @zag-js/checkbox + +## 0.51.0 + +### Minor Changes + +- [#1508](https://github.com/chakra-ui/zag/pull/1508) + [`6489516`](https://github.com/chakra-ui/zag/commit/6489516033c6fa342ab50f84910d7d154db6c5ed) Thanks + [@anubra266](https://github.com/anubra266)! - Initial release + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 diff --git a/packages/machines/timer/package.json b/packages/machines/timer/package.json index 9ce4174c55..6d892b466c 100644 --- a/packages/machines/timer/package.json +++ b/packages/machines/timer/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/timer", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the timer widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/toast/CHANGELOG.md b/packages/machines/toast/CHANGELOG.md index 4489b2193a..558bba0b27 100644 --- a/packages/machines/toast/CHANGELOG.md +++ b/packages/machines/toast/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/toast +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes @@ -30,9 +43,11 @@ ### Patch Changes -- [`2ac0f00`](https://github.com/chakra-ui/zag/commit/2ac0f000dd9e5f7487e829ea6ed4c7edac2f255e) Thanks [@cschroeter](https://github.com/cschroeter)! - Fix an issue where toast hide immediately after updating +- [`2ac0f00`](https://github.com/chakra-ui/zag/commit/2ac0f000dd9e5f7487e829ea6ed4c7edac2f255e) Thanks + [@cschroeter](https://github.com/cschroeter)! - Fix an issue where toast hide immediately after updating -- [`ccb1fa5`](https://github.com/chakra-ui/zag/commit/ccb1fa5951bd85cea933c5ea3f881a7a32ef953f) Thanks [@cschroeter](https://github.com/cschroeter)! - Fix an issue that the height was not exactly measured +- [`ccb1fa5`](https://github.com/chakra-ui/zag/commit/ccb1fa5951bd85cea933c5ea3f881a7a32ef953f) Thanks + [@cschroeter](https://github.com/cschroeter)! - Fix an issue that the height was not exactly measured - Updated dependencies []: - @zag-js/anatomy@0.48.0 @@ -47,7 +62,8 @@ ### Minor Changes -- [`d4b091d`](https://github.com/chakra-ui/zag/commit/d4b091d8710fc08efc24f2ecec49d26c80e58b0d) Thanks [@cschroeter](https://github.com/cschroeter)! - **[BREAKING]** Simplify toast api methods +- [`d4b091d`](https://github.com/chakra-ui/zag/commit/d4b091d8710fc08efc24f2ecec49d26c80e58b0d) Thanks + [@cschroeter](https://github.com/cschroeter)! - **[BREAKING]** Simplify toast api methods ```diff @@ -66,7 +82,8 @@ ### Patch Changes -- [`6386d79`](https://github.com/chakra-ui/zag/commit/6386d7945ec2550e06b3e134d7c690cd1268b56f) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where toast closes when you update the same toast type +- [`6386d79`](https://github.com/chakra-ui/zag/commit/6386d7945ec2550e06b3e134d7c690cd1268b56f) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where toast closes when you update the same toast type - Updated dependencies []: - @zag-js/anatomy@0.47.0 diff --git a/packages/machines/toast/package.json b/packages/machines/toast/package.json index aa92a59c7a..794f8776bf 100644 --- a/packages/machines/toast/package.json +++ b/packages/machines/toast/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/toast", - "version": "0.50.0", + "version": "0.51.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 c1cb365a38..cc06aa46ad 100644 --- a/packages/machines/toggle-group/CHANGELOG.md +++ b/packages/machines/toggle-group/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/toggle-group +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/machines/toggle-group/package.json b/packages/machines/toggle-group/package.json index 57b11a6789..8c05da6008 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.50.0", + "version": "0.51.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 0d542b8608..bc162b5322 100644 --- a/packages/machines/tooltip/CHANGELOG.md +++ b/packages/machines/tooltip/CHANGELOG.md @@ -1,10 +1,25 @@ # @zag-js/tooltip +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/popper@0.51.0 + ## 0.50.0 ### Minor Changes -- [`bbe0c77`](https://github.com/chakra-ui/zag/commit/bbe0c7795c4e045530f14ef7266f704529ef11c3) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `closeOnEsc` to `closeOnEscape` to be consistent with dialog machine +- [`bbe0c77`](https://github.com/chakra-ui/zag/commit/bbe0c7795c4e045530f14ef7266f704529ef11c3) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `closeOnEsc` to `closeOnEscape` to be consistent with + dialog machine ### Patch Changes @@ -1003,7 +1018,7 @@ ```jsx // this is will open the dialog initially - const [state, send] = useMachine(dialog.machine({ id: "1", open: true })); + const [state, send] = useMachine(dialog.machine({ id: "1", open: true })) // this will open the dialog when the `open` value changes const [state, send] = useMachine(dialog.machine({ id: "1" }), { @@ -1011,7 +1026,7 @@ // when this value changes, the dialog will open/close open: true, }, - }); + }) ``` ### Patch Changes @@ -1031,7 +1046,7 @@ of the popover. This API supports all the positioning options. ```js - api.setPositioning({ placement: "top" }); + api.setPositioning({ placement: "top" }) ``` ### Patch Changes diff --git a/packages/machines/tooltip/package.json b/packages/machines/tooltip/package.json index 30e33a464d..144edc4c8a 100644 --- a/packages/machines/tooltip/package.json +++ b/packages/machines/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/tooltip", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the tooltip widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/tour/CHANGELOG.md b/packages/machines/tour/CHANGELOG.md index 41d496243f..5e34cff89f 100644 --- a/packages/machines/tour/CHANGELOG.md +++ b/packages/machines/tour/CHANGELOG.md @@ -1,5 +1,18 @@ # @zag-js/tour +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dismissable@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/popper@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/machines/tour/package.json b/packages/machines/tour/package.json index bbc76011a4..5d1496c250 100644 --- a/packages/machines/tour/package.json +++ b/packages/machines/tour/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/tour", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the tour widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/machines/tree-view/CHANGELOG.md b/packages/machines/tree-view/CHANGELOG.md index e9daf17967..3dee87bda7 100644 --- a/packages/machines/tree-view/CHANGELOG.md +++ b/packages/machines/tree-view/CHANGELOG.md @@ -1,5 +1,17 @@ # @zag-js/tree-view +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/anatomy@0.51.0 + - @zag-js/core@0.51.0 + - @zag-js/types@0.51.0 + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes @@ -16,7 +28,8 @@ ### Minor Changes -- [`9b379db`](https://github.com/chakra-ui/zag/commit/9b379db27efa01207772551d95995a28d9ad206f) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Rename `data-docused` to `data-focus` for consistency +- [`9b379db`](https://github.com/chakra-ui/zag/commit/9b379db27efa01207772551d95995a28d9ad206f) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Rename `data-docused` to `data-focus` for consistency ### Patch Changes @@ -32,13 +45,16 @@ ### Minor Changes -- [`c7b781c`](https://github.com/chakra-ui/zag/commit/c7b781c937378dcf45f07e8333360d913fc9f8f1) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Rename some properties for better consistency: +- [`c7b781c`](https://github.com/chakra-ui/zag/commit/c7b781c937378dcf45f07e8333360d913fc9f8f1) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Rename some properties for better consistency: - `id` -> `value` - `expandedIds` -> `expandedValue` - `selectedIds` -> `selectedValue` -- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Rename `api.getItemState` properties +- [#1435](https://github.com/chakra-ui/zag/pull/1435) + [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - - Rename `api.getItemState` properties - `isDisabled` -> `disabled` - `isFocused` -> `focused` diff --git a/packages/machines/tree-view/package.json b/packages/machines/tree-view/package.json index ba62aeb2ae..2948a10f25 100644 --- a/packages/machines/tree-view/package.json +++ b/packages/machines/tree-view/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/tree-view", - "version": "0.50.0", + "version": "0.51.0", "description": "Core logic for the tree-view widget implemented as a state machine", "keywords": [ "js", diff --git a/packages/store/CHANGELOG.md b/packages/store/CHANGELOG.md index 494d094d45..8bb658ae9a 100644 --- a/packages/store/CHANGELOG.md +++ b/packages/store/CHANGELOG.md @@ -1,12 +1,17 @@ # @zag-js/store +## 0.51.0 + ## 0.50.0 ## 0.49.0 ### Patch Changes -- [#1441](https://github.com/chakra-ui/zag/pull/1441) [`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to "proxy state is not iterable" errors. +- [#1441](https://github.com/chakra-ui/zag/pull/1441) + [`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to + "proxy state is not iterable" errors. ## 0.48.0 diff --git a/packages/store/package.json b/packages/store/package.json index dc78bf6654..1dbae4c3af 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/store", - "version": "0.50.0", + "version": "0.51.0", "description": "The reactive store package for zag machines", "keywords": [ "js", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 53d4e9a8d5..c70eaa9646 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/types +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/types/package.json b/packages/types/package.json index 773c7c5690..3217d9e0d5 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/types", - "version": "0.50.0", + "version": "0.51.0", "keywords": [ "js", "utils", diff --git a/packages/utilities/aria-hidden/CHANGELOG.md b/packages/utilities/aria-hidden/CHANGELOG.md index 09e9f0cc4e..76953b1177 100644 --- a/packages/utilities/aria-hidden/CHANGELOG.md +++ b/packages/utilities/aria-hidden/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/aria-hidden +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/aria-hidden/package.json b/packages/utilities/aria-hidden/package.json index 90c97c9699..0c957baeeb 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.50.0", + "version": "0.51.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 0735cfdca7..54a464877e 100644 --- a/packages/utilities/auto-resize/CHANGELOG.md +++ b/packages/utilities/auto-resize/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/auto-resize +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/auto-resize/package.json b/packages/utilities/auto-resize/package.json index ba34dd3f13..4bf0d69a75 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.50.0", + "version": "0.51.0", "description": "Autoresize utilities for the web", "keywords": [ "js", diff --git a/packages/utilities/collection/CHANGELOG.md b/packages/utilities/collection/CHANGELOG.md index 027af3047c..d92b32e0c2 100644 --- a/packages/utilities/collection/CHANGELOG.md +++ b/packages/utilities/collection/CHANGELOG.md @@ -1,10 +1,15 @@ # @zag-js/collection +## 0.51.0 + ## 0.50.0 ### Patch Changes -- [#1483](https://github.com/chakra-ui/zag/pull/1483) [`8f325a8`](https://github.com/chakra-ui/zag/commit/8f325a8a966256c45410ed3e953d7f041d40b658) Thanks [@maastrich](https://github.com/maastrich)! - Ensure collection are considered different when item's disabled property changes +- [#1483](https://github.com/chakra-ui/zag/pull/1483) + [`8f325a8`](https://github.com/chakra-ui/zag/commit/8f325a8a966256c45410ed3e953d7f041d40b658) Thanks + [@maastrich](https://github.com/maastrich)! - Ensure collection are considered different when item's disabled property + changes ## 0.49.0 @@ -12,7 +17,10 @@ ### Patch Changes -- [#1434](https://github.com/chakra-ui/zag/pull/1434) [`ed0ee38`](https://github.com/chakra-ui/zag/commit/ed0ee38da9bea2ec7d7aa46ba5c1bc11d8dadb1d) Thanks [@erm1116](https://github.com/erm1116)! - Fix issue where value is unintentionally sorted when highlighting item in the combobox and the select machine +- [#1434](https://github.com/chakra-ui/zag/pull/1434) + [`ed0ee38`](https://github.com/chakra-ui/zag/commit/ed0ee38da9bea2ec7d7aa46ba5c1bc11d8dadb1d) Thanks + [@erm1116](https://github.com/erm1116)! - Fix issue where value is unintentionally sorted when highlighting item in + the combobox and the select machine ## 0.47.0 diff --git a/packages/utilities/collection/package.json b/packages/utilities/collection/package.json index 6fe762d754..04ba6dd96d 100644 --- a/packages/utilities/collection/package.json +++ b/packages/utilities/collection/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/collection", - "version": "0.50.0", + "version": "0.51.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 056639f1dd..145740b7c1 100644 --- a/packages/utilities/color-utils/CHANGELOG.md +++ b/packages/utilities/color-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/color-utils +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/numeric-range@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/color-utils/package.json b/packages/utilities/color-utils/package.json index eb53150c76..1d3a06472c 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.50.0", + "version": "0.51.0", "description": "Color utilities for zag.js", "keywords": [ "js", diff --git a/packages/utilities/core/CHANGELOG.md b/packages/utilities/core/CHANGELOG.md index 1325a6ab08..f360a69669 100644 --- a/packages/utilities/core/CHANGELOG.md +++ b/packages/utilities/core/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/utils +## 0.51.0 + ## 0.50.0 ## 0.49.0 @@ -127,12 +129,12 @@ const collection = select.collection({ items: [], itemToString(item) { - return item.label; + return item.label }, itemToValue(item) { - return item.value; + return item.value }, - }); + }) // Pass the collection to the select machine const [state, send] = useMachine( @@ -140,7 +142,7 @@ collection, id: useId(), }), - ); + ) ``` ## 0.17.0 diff --git a/packages/utilities/core/package.json b/packages/utilities/core/package.json index a0f529a22d..42dc2516f6 100644 --- a/packages/utilities/core/package.json +++ b/packages/utilities/core/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/utils", - "version": "0.50.0", + "version": "0.51.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/date-utils/CHANGELOG.md b/packages/utilities/date-utils/CHANGELOG.md index 81bc6a6084..eedced46cc 100644 --- a/packages/utilities/date-utils/CHANGELOG.md +++ b/packages/utilities/date-utils/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/date-utils +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/utilities/date-utils/package.json b/packages/utilities/date-utils/package.json index b1b222d90f..c35b65e22f 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.50.0", + "version": "0.51.0", "description": "Date utilities for zag.js", "keywords": [ "js", diff --git a/packages/utilities/dismissable/CHANGELOG.md b/packages/utilities/dismissable/CHANGELOG.md index 3ddf86d39d..e117ebffe5 100644 --- a/packages/utilities/dismissable/CHANGELOG.md +++ b/packages/utilities/dismissable/CHANGELOG.md @@ -1,5 +1,15 @@ # @zag-js/dismissable +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/interact-outside@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/dismissable/package.json b/packages/utilities/dismissable/package.json index dbb12b316d..c25a7221fd 100644 --- a/packages/utilities/dismissable/package.json +++ b/packages/utilities/dismissable/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/dismissable", - "version": "0.50.0", + "version": "0.51.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 276c974291..97de2de108 100644 --- a/packages/utilities/dom-event/CHANGELOG.md +++ b/packages/utilities/dom-event/CHANGELOG.md @@ -1,5 +1,14 @@ # @zag-js/dom-event +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/types@0.51.0 + - @zag-js/dom-query@0.51.0 + - @zag-js/text-selection@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/dom-event/package.json b/packages/utilities/dom-event/package.json index af99ab64fa..5f6a3b10ac 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.50.0", + "version": "0.51.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/dom-query/CHANGELOG.md b/packages/utilities/dom-query/CHANGELOG.md index 7c015f28e3..bac6a2ea51 100644 --- a/packages/utilities/dom-query/CHANGELOG.md +++ b/packages/utilities/dom-query/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/dom-query +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/utilities/dom-query/package.json b/packages/utilities/dom-query/package.json index 6dd9404b01..e361aa1f75 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.50.0", + "version": "0.51.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 ddf99536d1..499a9e3300 100644 --- a/packages/utilities/element-rect/CHANGELOG.md +++ b/packages/utilities/element-rect/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/element-rect +## 0.51.0 + ## 0.50.0 ## 0.49.0 @@ -164,11 +166,11 @@ position or rect. ```js - import { trackElementRect } from "@zag-js/element-rect"; + import { trackElementRect } from "@zag-js/element-rect" - trackElementRect(element, update, { scope: "size" }); // only track size - trackElementRect(element, update, { scope: "position" }); // only track position - trackElementRect(element, update, { scope: "rect" }); // track size and position (default) + trackElementRect(element, update, { scope: "size" }) // only track size + trackElementRect(element, update, { scope: "position" }) // only track position + trackElementRect(element, update, { scope: "rect" }) // track size and position (default) ``` ## 0.2.2 diff --git a/packages/utilities/element-rect/package.json b/packages/utilities/element-rect/package.json index e6aef3ca9f..8887a3cc4c 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.50.0", + "version": "0.51.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 ff82073a7a..22385ab7b7 100644 --- a/packages/utilities/element-size/CHANGELOG.md +++ b/packages/utilities/element-size/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/element-size +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/utilities/element-size/package.json b/packages/utilities/element-size/package.json index 6dee491861..4c616e3bd4 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.50.0", + "version": "0.51.0", "description": "Observer the size of an element over time", "keywords": [ "js", diff --git a/packages/utilities/file-utils/CHANGELOG.md b/packages/utilities/file-utils/CHANGELOG.md index bdc350d8c9..93887b3bf4 100644 --- a/packages/utilities/file-utils/CHANGELOG.md +++ b/packages/utilities/file-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/file-utils +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/i18n-utils@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/file-utils/package.json b/packages/utilities/file-utils/package.json index 89e4c30069..6b2c5e3451 100644 --- a/packages/utilities/file-utils/package.json +++ b/packages/utilities/file-utils/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/file-utils", - "version": "0.50.0", + "version": "0.51.0", "description": "JS File API utilities", "keywords": [ "js", diff --git a/packages/utilities/focus-visible/CHANGELOG.md b/packages/utilities/focus-visible/CHANGELOG.md index dd0e831195..d4135a702c 100644 --- a/packages/utilities/focus-visible/CHANGELOG.md +++ b/packages/utilities/focus-visible/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/focus-visible +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/focus-visible/package.json b/packages/utilities/focus-visible/package.json index 61c43cabed..47a7a9e7e6 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.50.0", + "version": "0.51.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 5fe37215c7..83284a2175 100644 --- a/packages/utilities/form-utils/CHANGELOG.md +++ b/packages/utilities/form-utils/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/form-utils +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/utilities/form-utils/package.json b/packages/utilities/form-utils/package.json index 243e108ea2..71c0266cfd 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.50.0", + "version": "0.51.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/i18n-utils/CHANGELOG.md b/packages/utilities/i18n-utils/CHANGELOG.md index 80d20315e0..0b58e41ada 100644 --- a/packages/utilities/i18n-utils/CHANGELOG.md +++ b/packages/utilities/i18n-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/i18n-utils +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/i18n-utils/package.json b/packages/utilities/i18n-utils/package.json index ab2737ac03..870490e8b5 100644 --- a/packages/utilities/i18n-utils/package.json +++ b/packages/utilities/i18n-utils/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/i18n-utils", - "version": "0.50.0", + "version": "0.51.0", "description": "Interationalization utilities for Zag.js", "keywords": [ "js", diff --git a/packages/utilities/interact-outside/CHANGELOG.md b/packages/utilities/interact-outside/CHANGELOG.md index 9ae86e827f..b1be7e0d6a 100644 --- a/packages/utilities/interact-outside/CHANGELOG.md +++ b/packages/utilities/interact-outside/CHANGELOG.md @@ -1,5 +1,14 @@ # @zag-js/interact-outside +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/utils@0.51.0 + - @zag-js/dom-event@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/interact-outside/package.json b/packages/utilities/interact-outside/package.json index 76b0d58850..f0a2738887 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.50.0", + "version": "0.51.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 f1a0ac0722..4f5623ba44 100644 --- a/packages/utilities/live-region/CHANGELOG.md +++ b/packages/utilities/live-region/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/live-region +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/utilities/live-region/package.json b/packages/utilities/live-region/package.json index bc248782dd..0d58658364 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.50.0", + "version": "0.51.0", "description": "Implementing live region for screen readers", "keywords": [ "js", diff --git a/packages/utilities/number/CHANGELOG.md b/packages/utilities/number/CHANGELOG.md index 9c481e9680..4e527a0fae 100644 --- a/packages/utilities/number/CHANGELOG.md +++ b/packages/utilities/number/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/number-utils +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/utilities/number/package.json b/packages/utilities/number/package.json index bfec6c9ec7..18fefeab5c 100644 --- a/packages/utilities/number/package.json +++ b/packages/utilities/number/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/number-utils", - "version": "0.50.0", + "version": "0.51.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/numeric-range/CHANGELOG.md b/packages/utilities/numeric-range/CHANGELOG.md index 199e038957..217286e56b 100644 --- a/packages/utilities/numeric-range/CHANGELOG.md +++ b/packages/utilities/numeric-range/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/numeric-range +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/utilities/numeric-range/package.json b/packages/utilities/numeric-range/package.json index 5494fb5c6b..b00a86a36b 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.50.0", + "version": "0.51.0", "description": "Numeric range utilities", "keywords": [ "js", diff --git a/packages/utilities/popper/CHANGELOG.md b/packages/utilities/popper/CHANGELOG.md index 64e20794ea..bf7cde5909 100644 --- a/packages/utilities/popper/CHANGELOG.md +++ b/packages/utilities/popper/CHANGELOG.md @@ -1,10 +1,20 @@ # @zag-js/popper +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/utils@0.51.0 + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes -- [#1489](https://github.com/chakra-ui/zag/pull/1489) [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where positioner does not respect the `offset.crossAxis` +- [#1489](https://github.com/chakra-ui/zag/pull/1489) + [`6784564`](https://github.com/chakra-ui/zag/commit/678456443f1ae958bb93bee8448e04a4ff2ce238) Thanks + [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where positioner does not respect the `offset.crossAxis` - Updated dependencies []: - @zag-js/utils@0.50.0 diff --git a/packages/utilities/popper/package.json b/packages/utilities/popper/package.json index 6966206362..09171baafd 100644 --- a/packages/utilities/popper/package.json +++ b/packages/utilities/popper/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/popper", - "version": "0.50.0", + "version": "0.51.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 92dabafbf9..856cd7994d 100644 --- a/packages/utilities/rect/CHANGELOG.md +++ b/packages/utilities/rect/CHANGELOG.md @@ -1,5 +1,7 @@ # @zag-js/rect-utils +## 0.51.0 + ## 0.50.0 ## 0.49.0 diff --git a/packages/utilities/rect/package.json b/packages/utilities/rect/package.json index be20ae82ad..ef7520ac03 100644 --- a/packages/utilities/rect/package.json +++ b/packages/utilities/rect/package.json @@ -1,6 +1,6 @@ { "name": "@zag-js/rect-utils", - "version": "0.50.0", + "version": "0.51.0", "description": "", "keywords": [ "js", diff --git a/packages/utilities/remove-scroll/CHANGELOG.md b/packages/utilities/remove-scroll/CHANGELOG.md index 2fb67dd4fc..fedc07a023 100644 --- a/packages/utilities/remove-scroll/CHANGELOG.md +++ b/packages/utilities/remove-scroll/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/remove-scroll +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/remove-scroll/package.json b/packages/utilities/remove-scroll/package.json index 74355a1bc4..c3b1e835b0 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.50.0", + "version": "0.51.0", "description": "JavaScript utility to remove scroll on body", "keywords": [ "js", diff --git a/packages/utilities/text-selection/CHANGELOG.md b/packages/utilities/text-selection/CHANGELOG.md index 34cc4176db..6b6d0316d1 100644 --- a/packages/utilities/text-selection/CHANGELOG.md +++ b/packages/utilities/text-selection/CHANGELOG.md @@ -1,5 +1,12 @@ # @zag-js/text-selection +## 0.51.0 + +### Patch Changes + +- Updated dependencies []: + - @zag-js/dom-query@0.51.0 + ## 0.50.0 ### Patch Changes diff --git a/packages/utilities/text-selection/package.json b/packages/utilities/text-selection/package.json index e648e89e08..dc5a0b543d 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.50.0", + "version": "0.51.0", "description": "", "keywords": [ "js",