Minor Changes
43c5c9bThanks
@segunadebayo! - - Fix time-only formatters (noyearsegment) never firing
onValueChange—erais now only required whenyearis present.- Fix
setSegmentValuereading staledisplayValues.updateSegmentValuereturns the newIncompleteDatedirectly
so the commit check uses the fresh value. - Fix
dayPeriod(AM/PM) arrow up/down not updating the visible segment whenhourCyclechanges at runtime —
displayValuesnow re-sync to the new hour cycle while preserving in-progress edits. - Fix typing "A" / "P" on the
dayPeriodsegment not updating the visible AM/PM. The typing path was writing12for
PM while every other code path uses1, so the display silently stayed on AM. - Add
hideTimeZoneprop. ThetimeZoneNamesegment now renders automatically when the value is aZonedDateTime,
and can be hidden viahideTimeZone: true. - Arrow navigation and auto-advance after typing now reach read-only focusable segments (e.g.
timeZoneName). Typing
the final editable segment (e.g. "P" ondayPeriod) advances focus to the trailing read-only segment instead of
staying put.
- Fix
Patch Changes
-
6dbc33aThanks
@segunadebayo! - Fix date input min/max handling to preserve entered segments while
editing. Values are now clamped segment-by-segment on blur, so06/15/1999with min2000-01-01becomes06/15/2000
instead of snapping to01/01/2000.Add
constrainSegmentsto@zag-js/date-utilsfor segment-wise min/max clamping. -
#3109
ab36b5fThanks
@copilot-swe-agent! - Fix range mode keyboard navigation soArrowRight
moves from the last segment of the start date to the first segment of the end date. -
8715c64Thanks
@segunadebayo! - Fix issue where the date input was not writable in locales whose
date format separator contains more than one character (e.g.cs-CZ,sk-SK,hu-HU,ko-KRwhich use". ") -
Updated dependencies [
13cd5d5,
6dbc33a,
8715c64,
13cd5d5,
84b9e2b]:- @zag-js/core@1.41.0
- @zag-js/date-utils@1.41.0
- @zag-js/dom-query@1.41.0
- @zag-js/anatomy@1.41.0
- @zag-js/types@1.41.0
- @zag-js/utils@1.41.0
- @zag-js/live-region@1.41.0