Skip to content

fix(deps): update dependency bits-ui to v2 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bits-ui ^1.4.8 -> ^2.5.0 age adoption passing confidence

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

huntabyte/bits-ui (bits-ui)

v2.5.0

Compare Source

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)

v2.4.1

Compare Source

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

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

v2.4.0

Compare Source

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)

v2.3.1

Compare Source

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

v2.3.0

Compare Source

Minor Changes
  • feat: Introduce experimental RatingGroup component, exported as unstable_RatingGroup pending API stabilization and community feedback. (#​1525)

v2.2.1

Compare Source

Patch Changes
  • fix(Tooltip): ensure Tooltip.Triggers can be composed with other floating component triggers (#​1527)

  • fix(Slider): ensure floating point precision aligns with step (#​1529)

v2.2.0

Compare Source

Minor Changes
  • feat(Combobox): expose inputValue prop on Combobox.Root to synchronize input value with programmatic updates to the value from outside Bits UI (#​1517)
Patch Changes

v2.1.0

Compare Source

(Had to publish 2.1.0 instead of 2.0.0 as someone published 2.0.x to NPM many years ago)

Major Changes
Minor Changes
  • feat(Slider): add Slider.ThumbLabel for rendering a label positioned relative to a Slider.Thumb. (#​1494)

  • feat(Slider): add Slider.TickLabel for rendering a label positioned relative to a Slider.Tick. (#​1494)

  • feat(Slider): support discrete step values via steps: number[] | number on Slider.Root. If an array is passed, it defines the selectable values directly, and min/max default to the array's bounds. (#​1494)

  • feat: add TimeField component for time input with segmented control and full keyboard support. (#​1494)

  • feat(Slider): introduce the tickItems snippet prop on Slider.Root as a replacement for the now-deprecated ticks, enabling a more flexible API that better supports rendering TickLabels. Prefer tickItems going forward. (#​1494)

  • feat: add TimeRangeField component for selecting a start and end time. (#​1494)

  • feat(Slider): introduce the thumbItems snippet prop on Slider.Root as a replacement for the now-deprecated thumbs, enabling a more flexible API that better supports rendering ThumbLabels. Prefer thumbItems going forward. (#​1494)

  • feat(Slider): add trackPadding prop to Slider.Root as an SSR-friendly alternative to thumbPositioning="contain", which requires client-side measurement. (#​1494)

Patch Changes
  • fix(Button): add missing fallback to null for ref prop to align with other components. (#​1494)

v1.8.0

Compare Source

Minor Changes
  • feat(Slider): thumbPositioning for more granular control of thumb positioning (#​1470)
Patch Changes
  • fix(NavigationMenu): moving from submenu trigger to menu item in the same menu should close the submenu (#​1489)

  • feat(NavigationMenu): openOnHover prop to control whether menu items open on hover or not (#​1491)

  • fix(NavigationMenu): issues with non-viewport transitions (#​1489)

v1.7.0

Compare Source

Minor Changes
  • feat(DropdownMenu): new DropdownMenu.CheckboxGroup component (#​1486)

  • feat(ContextMenu): new ContextMenu.CheckboxGroup component (#​1486)

  • feat(Menubar): new Menubar.CheckboxGroup component (#​1486)

Patch Changes
  • fix(Select): ensure scroll buttons render on subsequent mounts (#​1484)

  • fix(Combobox): ensure scroll buttons render on subsequent mounts (#​1484)

v1.6.1

Compare Source

Patch Changes
  • fix(Tooltip): ensure only one tooltip within a Provider can be open at a time (#​1481)

  • fix(Command): replace encodeURIComponent with css.escape for attribute values (#​1482)

v1.6.0

Compare Source

Minor Changes
  • feat(Slider): expose thumb active state (#​1471)
Patch Changes
  • fix(DateRangeField): ensure prepopulated value takes priority over placeholder for validation (#​1479)

  • fix(NavigationMenu): do not close Sub content when clicking the trigger (#​1473)

  • fix(NavigationMenu): render Content without Viewport (#​1474)

  • fix(DateField): ensure prepopulated value takes priority over placeholder for validation (#​1479)

v1.5.3

Compare Source

Patch Changes
  • chore: remove internal uses of parameter properties (#​1466)

v1.5.2

Compare Source

Patch Changes
  • fix(RangeCalendar): ensure weekStartsOn is absolute and fallback to locale if not provided (#​1462)

  • fix(DateRangePicker): use current field to determine max days in month (#​1460)

  • fix(DateRangePicker): ensure weekStartsOn is absolute and fallback to locale if not provided (#​1462)

  • fix(DatePicker): ensure weekStartsOn is absolute and fallback to locale if not provided (#​1462)

  • fix(Calendar): ensure weekStartsOn is absolute and fallback to locale if not provided (#​1462)

  • fix(DateRangeField): use current field to determine max days in month (#​1460)

v1.5.1

Compare Source

Patch Changes
  • fix(NavigationMenu): allow roving focus to link items (#​1457)

v1.5.0

Compare Source

Minor Changes
  • feat(Menu): add onSelect for SubTrigger (#​1454)
Patch Changes
  • fix(ScrollArea): ensure thumb properly restores previous position (#​1455)

  • fix(DatePicker): export Portal parts (#​1451)

  • fix(Menu): remove unused closeOnSelect prop from SubTrigger components (#​1453)


Configuration

📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/bits-ui-2.x branch from 2e4029c to fed3cdb Compare June 8, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants