Minor Changes
-
87964a7Thanks
@segunadebayo! - - AddgetItemIndicatorPropspart- BREAKING: Removed
getIndicatorTrackProps- usegetListPropsinstead (list now includesposition: relative)
// Before <div {...api.getIndicatorTrackProps()}> <div {...api.getListProps()}> {/* items */} </div> </div> // After <div {...api.getListProps()}> {/* now acts as indicator track */} {/* items */} </div>
- BREAKING: Removed
Patch Changes
5dad198Thanks
@segunadebayo! - - Avoid focusing the trigger when hovering over it.- Add
closeOnClickprop togetLinkPropsto control whether the navigation menu closes when a link is clicked.
Defaults totrue(current behavior). - Separate
ContentPropsfromLinkPropsforgetContentProps- previously it incorrectly usedLinkProps.
- Add
- Updated dependencies []:
- @zag-js/anatomy@1.30.0
- @zag-js/core@1.30.0
- @zag-js/types@1.30.0
- @zag-js/utils@1.30.0
- @zag-js/dismissable@1.30.0
- @zag-js/dom-query@1.30.0