Patch Changes
-
#2658
5778795Thanks
@segunadebayo! - - Fix keyboard navigation issue where pressing HOME key in month
view would incorrectly jump to an invalid date instead of January, potentially causing date selection errors.- Clear hover state immediately when completing range selection instead of waiting for pointer to leave the calendar
area.
- Clear hover state immediately when completing range selection instead of waiting for pointer to leave the calendar
-
#2658
5778795Thanks
@segunadebayo! - fix(date-picker): ensure Month/Year select labels update under
min/max constraints- Sync Month/Year
<select>values whenstartValuechanges so the labels reflect the visible month/year even if
focusedValuedoesn't change. - Add
hashforstartValueto enable efficient watcher updates. - Remove duplicate select sync from
focusedValuewatcher (syncs now only onstartValue). - Expose
disabledonapi.getMonths()andapi.getYears()results to indicate options out of range for current
constraints. - Update Next.js examples to apply
disabledon<option>.
- Sync Month/Year
-
Updated dependencies [
dd1519a]:- @zag-js/dom-query@1.21.8
- @zag-js/core@1.21.8
- @zag-js/dismissable@1.21.8
- @zag-js/popper@1.21.8
- @zag-js/anatomy@1.21.8
- @zag-js/types@1.21.8
- @zag-js/utils@1.21.8
- @zag-js/date-utils@1.21.8
- @zag-js/live-region@1.21.8