feat(deps): update dependency radix-ui ( 1.6.7 → 1.7.0 ) #28

Open
renovatebot wants to merge 1 commit from renovate/radix-ui-primitives-monorepo into main
Member

This PR contains the following updates:

Package Change Age Confidence
radix-ui (source) 1.6.7 → 1.7.0 age confidence

Release Notes

radix-ui/primitives (radix-ui)

v1.7.0

Dialog
  • Fixed nested, portalled layers being unusable inside a modal layer. A non-modal popover rendered inside a modal Dialog previously broke some user interactions because the modal layer's trapped FocusScope reclaimed focus, and its RemoveScroll only allowed scrolling within the modal content.
Navigation Menu
  • Added a disableToggle prop to NavigationMenu.Sub.
    • true: Clicking the trigger of an already-open submenu item keeps it open. This is the default and matches existing behavior.
    • false: Clicking the trigger of a submenu item toggles it open or closed.
  • Added an activationMode prop to NavigationMenu.Root and NavigationMenu.Sub.
    • "automatic": Hovering or focusing a trigger opens its item, and moving away from the trigger closes it after a short delay. This is the default and matches existing behavior.
    • "manual": Pointer entry and focus never open an item. The item opens when its trigger is clicked.
    • When activationMode is omitted on NavigationMenu.Sub, it inherits the value from the parent NavigationMenu.Root, so setting "manual" on the root also applies to submenus unless a submenu opts back in to "automatic".
  • Fixed a bug where a submenu's defaultValue was reset when an external element was focused before the menu opened.
  • Fixed a bug where NavigationMenu.Viewport discarded its children and rendered the active content in their place. The active content is now rendered inside the consumer's element alongside any children it already had.
Popover
  • Added Popover.Title and Popover.Description parts that provide accessible names and descriptions for popover content.
Scroll Area
  • Added a ScrollArea.Content part so consumers can own the wrapper element implicitly rendered by ScrollArea.Viewport. Pass disableImplicitContentElement to the viewport and render ScrollArea.Content as its child.

    <ScrollArea.Root>
      <ScrollArea.Viewport disableImplicitContentElement>
        <ScrollArea.Content>{children}</ScrollArea.Content>
      </ScrollArea.Viewport>
      <ScrollArea.Scrollbar>
        <ScrollArea.Thumb />
      </ScrollArea.Scrollbar>
    </ScrollArea.Root>
    

    In the next major release, the viewport will no longer render this element implicitly. We recommend migrating to this API now for a smoother upgrade.

  • Fixed a bug where asChild on ScrollArea.Viewport merged props onto the implicit content element instead of the consumer's element.

Slider
  • Added a preserveThumbOrder prop to Slider that prevents thumbs from crossing over one another. When enabled, each thumb is constrained to the values of its neighbors instead of swapping positions when dragged past them.
Other updates
  • Added support for multiple aria-describedby attributes, so id strings from a component and its child are merged, normalized, and deduplicated instead of one replacing the other.
  • Fixed a bug where internal event handlers were still called on disabled Select.Item elements.
  • Fixed a bug where a paused Toast would not auto-close after its duration changed while the timer was paused.
  • Fixed a bug where a focused element inside Tabs.Content did not fire a blur event before the tab switched. Tabs.Trigger now moves focus before the tab's state change.
  • Fixed compatibility issues with React Server Components.

Configuration

📅 Schedule: (in timezone Australia/Melbourne)

  • Branch creation
    • At any time (no schedule defined)
  • 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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [radix-ui](https://radix-ui.com/primitives) ([source](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/radix-ui)) | [`1.6.7` → `1.7.0`](https://renovatebot.com/diffs/npm/radix-ui/1.6.7/1.7.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/radix-ui/1.7.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/radix-ui/1.6.7/1.7.0?slim=true) | --- ### Release Notes <details> <summary>radix-ui/primitives (radix-ui)</summary> ### [`v1.7.0`](https://github.com/radix-ui/primitives/blob/HEAD/packages/react/radix-ui/CHANGELOG.md#170) ##### Dialog - Fixed nested, portalled layers being unusable inside a modal layer. A non-modal popover rendered inside a modal Dialog previously broke some user interactions because the modal layer's trapped `FocusScope` reclaimed focus, and its `RemoveScroll` only allowed scrolling within the modal content. ##### Navigation Menu - Added a `disableToggle` prop to `NavigationMenu.Sub`. - `true`: Clicking the trigger of an already-open submenu item keeps it open. This is the default and matches existing behavior. - `false`: Clicking the trigger of a submenu item toggles it open or closed. - Added an `activationMode` prop to `NavigationMenu.Root` and `NavigationMenu.Sub`. - `"automatic"`: Hovering or focusing a trigger opens its item, and moving away from the trigger closes it after a short delay. This is the default and matches existing behavior. - `"manual"`: Pointer entry and focus never open an item. The item opens when its trigger is clicked. - When `activationMode` is omitted on `NavigationMenu.Sub`, it inherits the value from the parent `NavigationMenu.Root`, so setting `"manual"` on the root also applies to submenus unless a submenu opts back in to `"automatic"`. - Fixed a bug where a submenu's `defaultValue` was reset when an external element was focused before the menu opened. - Fixed a bug where `NavigationMenu.Viewport` discarded its children and rendered the active content in their place. The active content is now rendered inside the consumer's element alongside any children it already had. ##### Popover - Added `Popover.Title` and `Popover.Description` parts that provide accessible names and descriptions for popover content. ##### Scroll Area - Added a `ScrollArea.Content` part so consumers can own the wrapper element implicitly rendered by `ScrollArea.Viewport`. Pass `disableImplicitContentElement` to the viewport and render `ScrollArea.Content` as its child. ```tsx <ScrollArea.Root> <ScrollArea.Viewport disableImplicitContentElement> <ScrollArea.Content>{children}</ScrollArea.Content> </ScrollArea.Viewport> <ScrollArea.Scrollbar> <ScrollArea.Thumb /> </ScrollArea.Scrollbar> </ScrollArea.Root> ``` In the next major release, the viewport will no longer render this element implicitly. We recommend migrating to this API now for a smoother upgrade. - Fixed a bug where `asChild` on `ScrollArea.Viewport` merged props onto the implicit content element instead of the consumer's element. ##### Slider - Added a `preserveThumbOrder` prop to `Slider` that prevents thumbs from crossing over one another. When enabled, each thumb is constrained to the values of its neighbors instead of swapping positions when dragged past them. ##### Other updates - Added support for multiple `aria-describedby` attributes, so id strings from a component and its child are merged, normalized, and deduplicated instead of one replacing the other. - Fixed a bug where internal event handlers were still called on disabled `Select.Item` elements. - Fixed a bug where a paused `Toast` would not auto-close after its `duration` changed while the timer was paused. - Fixed a bug where a focused element inside `Tabs.Content` did not fire a blur event before the tab switched. `Tabs.Trigger` now moves focus before the tab's state change. - Fixed compatibility issues with React Server Components. </details> --- ### Configuration 📅 **Schedule**: (in timezone Australia/Melbourne) - Branch creation - At any time (no schedule defined) - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC40OC4wIiwidXBkYXRlZEluVmVyIjoiNDQuNDguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidHlwZS9taW5vciJdfQ==-->
feat(deps): update dependency radix-ui ( 1.6.7 → 1.7.0 )
All checks were successful
JS lint / lint (pull_request) Successful in 1m51s
render-dmarc-ui CI / build-and-push (pull_request) Successful in 2m20s
5f304e0299
All checks were successful
JS lint / lint (pull_request) Successful in 1m51s
render-dmarc-ui CI / build-and-push (pull_request) Successful in 2m20s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/radix-ui-primitives-monorepo:renovate/radix-ui-primitives-monorepo
git switch renovate/radix-ui-primitives-monorepo

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/radix-ui-primitives-monorepo
git switch renovate/radix-ui-primitives-monorepo
git rebase main
git switch main
git merge --ff-only renovate/radix-ui-primitives-monorepo
git switch renovate/radix-ui-primitives-monorepo
git rebase main
git switch main
git merge --no-ff renovate/radix-ui-primitives-monorepo
git switch main
git merge --squash renovate/radix-ui-primitives-monorepo
git switch main
git merge --ff-only renovate/radix-ui-primitives-monorepo
git switch main
git merge renovate/radix-ui-primitives-monorepo
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
dmarc-ing/render-dmarc-ui!28
No description provided.