Minor Changes
75788b9Thanks
@segunadebayo! - AddshowWeekNumberssupport to the date picker. When enabled,
the day view displays an ISO 8601 week number column. AddedgetWeekOfYearto date-utils for week number calculation.
Patch Changes
-
26ffbbaThanks
@segunadebayo! - DatePicker- Fix
api.selectToday()sending incorrect value format to state machine - Add
focusoption toapi.clearValue({ focus?: boolean }) - Add
api.setTime(time, index?)for date-time picker support - Preserve time/timezone when selecting new dates (
CalendarDateTimeandZonedDateTime) - Add
maxSelectedDatesprop to limit the number of selected dates inmultipleselection mode - Add
api.isMaxSelectedto check if the maximum number of dates has been selected - Add
openOnClickprop to open the calendar when clicking the input field (defaults tofalse)
Date utils
- Fix
constrainValuestripping time fromCalendarDateTime/ZonedDateTimevalues
- Fix
-
8a02d5cThanks
@segunadebayo! - Date Picker: ExportDateValuetype locally instead of
re-exporting from@internationalized/date, since that package doesn't export this type in v3.10.0+