Major Changes
-
#3342
d6089c3Thanks
@github-actions! - - AddhiddenUntilFound, so closed content stays
searchable with the browser's find-in-page. A match opens the item. A[hidden] { display: none }reset blocks this,
so exclude it:[hidden]:not([hidden="until-found"]) { display: none; }
-
Breaking: Remove arrow,
HomeandEndnavigation between triggers, and theloopFocusprop, following the
WAI-ARIA accordion pattern. Triggers are reached withTab. RemoveloopFocusfrom your props. -
Breaking: Default
collapsibletotrue. Set it tofalseto keep one item open.- accordion.machine({}) + accordion.machine({ collapsible: false })
-
Minor Changes
- #3342
4f28f36Thanks
@github-actions! - - AddreasontoonValueChangedetails, such as
trigger-click,keyboard,drag,item-selectorscript. Each component exports itsValueChangeReasontype.
Slider also adds it toonValueChangeEnd.
Patch Changes
- #3342
730ea29Thanks
@github-actions! - - Fix focus, scroll and sync work scheduled for the next
frame running after the component unmounts. - Updated dependencies [
a80b307]:- @zag-js/dom-query@2.0.0-next.4
- @zag-js/core@2.0.0-next.4
- @zag-js/anatomy@2.0.0-next.4
- @zag-js/types@2.0.0-next.4
- @zag-js/utils@2.0.0-next.4