Skip to content

Releases: huntabyte/bits-ui

[email protected]

18 Jun 00:09
4cb3323
Compare
Choose a tag to compare

Patch Changes

  • fix(ContextMenu): support portalling ContextMenu.SubContent (#1591)

  • fix(FocusScope): decouple onCloseAutoFocus and onOpenAutoFocus from trapFocus conditional (#1591)

  • fix: issue where ref would become null during state transitions (#1591)

  • fix(DropdownMenu): support portalling DropdownMenu.SubContent (#1591)

[email protected]

15 Jun 02:11
4a98c54
Compare
Choose a tag to compare

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]

13 Jun 15:37
23ddabf
Compare
Choose a tag to compare

Minor Changes

  • feat(RadioGroup): add readonly prop to make the RadioGroup readonly (#1579)

Patch Changes

  • fix(Select): ensure the disabled prop is respect for touch events (#1582)

[email protected]

13 Jun 02:54
d9e9a66
Compare
Choose a tag to compare

Patch Changes

  • fix: ensure body styles aren't touched when preventScroll={false} (#1577)

[email protected]

13 Jun 02:40
21f078e
Compare
Choose a tag to compare

Patch Changes

  • fix: Expose data-orientation on Tabs.Content (#1571)

[email protected]

11 Jun 02:09
ad6ce75
Compare
Choose a tag to compare

Minor Changes

  • feat(Command): add disableInitialScroll prop to Command.Root to prevent undesired scrolling on initial mount (#1548)

  • feat(command): Add columns prop for grid functionality (#1548)

[email protected]

07 Jun 21:44
2dd8e34
Compare
Choose a tag to compare

Minor Changes

  • feat(RangeCalendar): add minDays and maxDays props to require min/max number days in a range (#1558)

  • feat(RangeCalendar): add excludeDisabled prop that when true, 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 when type="multiple" (#1558)

  • feat(RangeCalendar): add data-range-middle attribute to Day and Cell 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 and data-selection-end as deprecated in favor of data-range-start and data-range-end which introduce improved functionality that would be considered breaking should the behavior be added to data-selection-start and data-selection-end. With data-range-start|end, when the start date is selected but an end has not been selected, that date will have both the data-range-start and data-range-end which makes it easier to conditionally style the dates (#1558)

  • feat(Select): expose autocomplete prop on Select.Root for passing autocomplete attribute to the hidden input (#1547)

Patch Changes

  • fix(RangeCalendar): ensure props are synced with months (#1558)

  • fix(Calendar): issue where props weren't being synced with the months (#1558)

[email protected]

01 Jun 03:50
696ff0b
Compare
Choose a tag to compare

Patch Changes

  • fix(FloatingComponents): ensure bad coordinates aren't used when anchor becomes hidden/removed (#1546)

  • fix(Slider): shadow DOM support (#1544)

[email protected]

30 May 19:48
e9e0ef5
Compare
Choose a tag to compare

Minor Changes

  • feat: introduce BitsConfig provider component for globally configuring default component props via context. (#1530)

Patch Changes

  • fix(Select): ensure typeahead enabled state is reactive to item updates (#1540)

[email protected]

30 May 19:08
66f3bf3
Compare
Choose a tag to compare

Patch Changes

  • fix(rating-group): Ensure data-state reflects value when showing preview (#1533)