Added
- Locale: Added
useDateFormatterhook for localized date formatting using@internationalized/date - Swap: Added new
Swapcomponent for toggling between two visual states with CSS animations using dual presence
instances - Checkbox: Added
maxSelectedValuesprop toCheckboxGroupto limit the number of selected values - Drawer: Replaced
BottomSheetwith newDrawercomponent supporting multi-directional swipe viaswipeDirection
prop (up,down,left,right), a newPositionerpart, andsnapToSequentialPointsoption - Date Picker:
- Added
focusoption toapi.clearValue({ focus?: boolean }) - Added
api.setTime(time, index?)for date-time picker support - Added
maxSelectedDatesprop to limit selected dates inmultipleselection mode - Added
api.isMaxSelectedto check if maximum number of dates has been selected - Added
openOnClickprop to open the calendar when clicking the input field - Added
showWeekNumberssupport to display ISO 8601 week number column in the day view
- Added
- Popover: Added
sizeMiddlewarepositioning option to optionally disable the size middleware - Select: Added
autoCompleteprop for browser autofill hints
Fixed
- useForwardExpose: Fixed crash when element bound with
forwardRefdoes not exist (e.g. conditionally rendered
withv-if) - Combobox:
- Fixed
aria-selectedbeing set on highlighted items instead of selected items - Fixed
selectedItemsgetting out of sync withvaluein controlled mode - Fixed item disabled state not accounting for root-level
disabledprop
- Fixed
- Date Picker:
- Fixed
api.selectToday()sending incorrect value format - Preserve time/timezone when selecting new dates (
CalendarDateTimeandZonedDateTime) - Improved focus management in trigger-only mode
- Fixed
- Dialog: Fixed non-modal dialog closing on outside click when
modalisfalse - Listbox: Fixed DOM IDs
- Number Input: Fixed
invalidprop being ignored when value is out of range - Popover: Improved performance by reducing style recalculations when scrolling
- Select: Fixed autofill not updating value when hidden select value changes