Releases: huntabyte/bits-ui
[email protected]
Patch Changes
-
fix(ContextMenu): support portalling
ContextMenu.SubContent
(#1591) -
fix(FocusScope): decouple
onCloseAutoFocus
andonOpenAutoFocus
fromtrapFocus
conditional (#1591) -
fix: issue where
ref
would becomenull
during state transitions (#1591) -
fix(DropdownMenu): support portalling
DropdownMenu.SubContent
(#1591)
[email protected]
Minor Changes
-
feat(ContextMenu): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(Combobox): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(AlertDialog): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(Collapsible): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(Select): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(LinkPreview): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(Dialog): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(DateRangePicker): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(DatePicker): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(Popover): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(DropdownMenu): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589) -
feat(Tooltip): add
onOpenChangeComplete
prop which is called after the open/close animations have finished (#1589)
Patch Changes
- perf: simplify/optimize internals (#1586)
[email protected]
[email protected]
Patch Changes
- fix: ensure body styles aren't touched when
preventScroll={false}
(#1577)
[email protected]
Patch Changes
- fix: Expose
data-orientation
onTabs.Content
(#1571)
[email protected]
[email protected]
Minor Changes
-
feat(RangeCalendar): add
minDays
andmaxDays
props to require min/max number days in a range (#1558) -
feat(RangeCalendar): add
excludeDisabled
prop that whentrue
, will reset the range if it includes a disabled date (#1558) -
feat(Calendar): add
maxDays
prop to limit the number of days that can be selected whentype="multiple"
(#1558) -
feat(RangeCalendar): add
data-range-middle
attribute toDay
andCell
components to indicate items within the selected range, but not the start or end. Useful for conditional styling. (#1558) -
feat(RangeCalendar): mark
data-selection-start
anddata-selection-end
as deprecated in favor ofdata-range-start
anddata-range-end
which introduce improved functionality that would be considered breaking should the behavior be added todata-selection-start
anddata-selection-end
. Withdata-range-start|end
, when the start date is selected but an end has not been selected, that date will have both thedata-range-start
anddata-range-end
which makes it easier to conditionally style the dates (#1558) -
feat(Select): expose
autocomplete
prop onSelect.Root
for passingautocomplete
attribute to the hidden input (#1547)
Patch Changes
[email protected]
[email protected]
[email protected]
Patch Changes
- fix(rating-group): Ensure
data-state
reflects value when showing preview (#1533)