code0-tech / pictor

Base UI components for code0 applications
Other
3 stars 0 forks source link

Update dependency @ariakit/react to ^0.4.7 #133

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ariakit/react (source) ^0.4.5 -> ^0.4.7 age adoption passing confidence

Release Notes

ariakit/ariakit (@​ariakit/react) ### [`v0.4.7`](https://togithub.com/ariakit/ariakit/blob/HEAD/packages/ariakit-react/CHANGELOG.md#047) [Compare Source](https://togithub.com/ariakit/ariakit/compare/@ariakit/react@0.4.6...@ariakit/react@0.4.7) ##### New `SelectValue` component A [`SelectValue`](https://ariakit.org/reference/select-value) component is now available. This is a *value* component, which means it doesn't render any DOM elements and, as a result, doesn't take HTML props. Optionally, it can use a [`fallback`](https://ariakit.org/reference/select-value#fallback) prop as a default value if the store's [`value`](https://ariakit.org/reference/use-select-store#value) is `undefined`: ```jsx ``` ##### Other updates - Added React 19 to peer dependencies. - Fixed [`autoSelect`](https://ariakit.org/reference/combobox#autoselect) behavior with virtualized lists on mobile devices. - Improved JSDocs. - Updated dependencies: `@ariakit/react-core@0.4.7` ### [`v0.4.6`](https://togithub.com/ariakit/ariakit/blob/HEAD/packages/ariakit-react/CHANGELOG.md#046) [Compare Source](https://togithub.com/ariakit/ariakit/compare/@ariakit/react@0.4.5...@ariakit/react@0.4.6) ##### Nested `SelectList` The [`SelectList`](https://ariakit.org/reference/select-list) component can now be nested within a [`SelectPopover`](https://ariakit.org/reference/select-popover). This lets you render additional elements inside the popover without breaking the accessibility tree. The ARIA roles will be automatically adjusted to ensure a valid accessibility tree: ```jsx {6-9} Fruits ``` ##### `--popover-transform-origin` The [Popover](https://ariakit.org/components/popover) components now expose a [`--popover-transform-origin`](https://ariakit.org/guide/styling#--popover-transform-origin) CSS variable. You can use this to set the `transform-origin` property for the popover content element in relation to the anchor element: ```css .popover { transform-origin: var(--popover-transform-origin); } ``` ##### Opening `SelectPopover` on click To ensure uniformity across all dropdown buttons in the library, the [`SelectPopover`](https://ariakit.org/reference/select-popover) now opens when you click on the [`Select`](https://ariakit.org/reference/select) component, instead of on mouse/touch/pointer down. This change also resolves a problem where the `:active` state wouldn't be triggered on the select button due to a focus change on mousedown. ##### Other updates - Fixed `ref` warning in React 19. - Ensured [Combobox](https://ariakit.org/components/combobox) uses roving tabindex to manage focus on mobile Safari. - Added a new `listElement` state to the Select store. - Improved use of [Tab](https://ariakit.org/components/tab) components within [Select](https://ariakit.org/components/select) widgets. - Fixed `data-focus-visible` being applied after a `blur` event. - Fixed composite items not scrolling into view in Safari. - Improved JSDocs. - Updated dependencies: `@ariakit/react-core@0.4.6`

Configuration

πŸ“… Schedule: 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.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 5 months ago

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/pictor/-/pipelines/1307043866

Status: Passed \ Duration: 3 minutes

Job summaries

docs:preview

Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/6948449206/artifacts/dist/index.html

storybook:build

Storybook available at https://code0-tech.gitlab.io/-/development/pictor/-/jobs/6948439008/artifacts/storybook-static/index.html