Patch Changes
-
ac82db1Thanks
@segunadebayo! - Fix year cells being disabled when they fall outside the decade
currently in view, even with nominormaxset. Onlyminandmaxdecide whether a year can be selected now.
Cells outside the visible decade still getdata-outside-rangefor styling, and remain excluded from the hovered
range in a year range picker.Also fix
Endin the year view focusing two years past the last cell in the grid.Breaking:
getDecadeRangefrom@zag-js/date-utilsno longer accepts the{ strict }option and always returns
the ten years of the decade. It previously returned twelve by default, which is what putEndout of bounds. Drop the
option if you were passing{ strict: true }; there is no replacement for the twelve-year form.