fix(deps): update dependency @ariakit/react to v0.4.11 #1941
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.4.7
->0.4.11
Release Notes
ariakit/ariakit (@ariakit/react)
v0.4.11
Compare Source
Tabs inside animated Combobox or Select
When rendering Tab inside Combobox or Select, it now waits for the closing animation to finish before restoring the tab with the selected item. This should prevent an inconsistent UI where the tab is restored immediately while the content is still animating out. See Select with Combobox and Tabs.
Other updates
activeId
upon closing the popover.data-focus-visible
attribute.MenuButton
hiding the menu on Safari.@ariakit/[email protected]
v0.4.10
Compare Source
v0.4.8
that set the default value of theaccessibleWhenDisabled
prop tofalse
onTab
.@ariakit/[email protected]
v0.4.9
Compare Source
New
useStoreState
hookThe
useStoreState
hook is now part of the public API. Previously used internally by dynamicuseState
hooks from Ariakit store objects, it is now available in the@ariakit/react
package to ensure compatibility with the new React Compiler.The following snippets are equivalent:
Besides working better with the new React Compiler,
useStoreState
is more flexible thanstore.useState
as it accepts a store that isnull
orundefined
, in which case the returned value will beundefined
. This is useful when you're reading a store from a context that may not always be available:New
ComboboxValue
componentA
ComboboxValue
component is now available. This value component displays the current value of the combobox input without rendering any DOM elements or taking any HTML props. You can optionally pass a function as a child returning any React node based on the current value:aria-selected
on composite itemsComposite items like
ComboboxItem
no longer have thearia-selected
attribute automatically set when focused. This attribute was previously used to address an old bug in Google Chrome, but it's no longer needed. Now, it's only set when the item is actually selected, such as in a select widget or a multi-selectable combobox.This change shouldn't affect most users since the
aria-selected
attribute is not part of the public API and is not recommended as a CSS selector (use[data-active-item]
instead). However, if you have snapshot tests, you may need to update them.Other updates
userValue
prop toComboboxItemValue
.@ariakit/[email protected]
v0.4.8
Compare Source
Accessing selected tabs when disabled
A Tab component that is both selected and disabled will now remain accessible to keyboard focus even if the
accessibleWhenDisabled
prop is set tofalse
. This ensures users can navigate to other tabs using the keyboard.Other updates
@ariakit/[email protected]
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 was generated by Mend Renovate. View the repository job log.