Added
-
Collection: Add
useListSelection
hook for managing collection item selection with support for single/multiple
selection modesconst collection = createListCollection({ items: ['React', 'Vue', 'Angular'] }) const selection = useListSelection({ collection }) // Check if item is selected const isSelected = selection.isSelected('React') // Select/deselect items selection.select('React') selection.toggle('Vue')
-
File Upload: Add support for programmatically controlling the accepted files via
acceptedFiles
and
defaultAcceptedFiles
-
Signature Pad: Add support for programmatically controlling the paths via
paths
anddefaultPaths
props. -
Date Picker: Added hover range preview support for date picker range selection. Added
inHoveredRange
,
firstInHoveredRange
, andlastInHoveredRange
properties toDayTableCellState
with corresponding data attributes
data-in-hover-range
,data-hover-range-start
, anddata-hover-range-end
.Hover range states are only active when not overlapping with actual selected range, enabling distinct styling for
hover preview vs actual selection in range mode.
Fixed
- Date Picker: Fix date comparison issues when time components are involved. This resolves critical issues with date
comparison operations when different date types (CalendarDate
,CalendarDateTime
,ZonedDateTime
) are mixed,
particularly in scenarios involving time components.