Repository navigation
Build: Update Ariakit React to 0.4.43 - #86887
Conversation
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: +2 kB (+0.02%) Total Size: 8.66 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. allows blocks to be added on mobile viewports in should give the image its context menu while selected @WebKit @Firefox in
|
aduth
left a comment
There was a problem hiding this comment.
LGTM 👍
I was able to validate an actual bug fixed by this upgrade:
- Start at "Layout List" https://wordpress.github.io/gutenberg/?path=/story/dataviews-dataviews--layout-list
- Click settings gear icon
- Click order ascending (up arrow)
- Click Items per page: 50
- Click order descending (down arrow)
- Dismiss menu
- Click first item
- Press ArrowDown
On trunk: First item stays selected, screen scrolls down
On this branch: Second item is selected
* Build: Update Ariakit React to 0.4.43 * Build: Link Ariakit changelog entries to PR --- Co-authored-by: ciampo <mciampini@git.wordpress.org> Co-authored-by: aduth <aduth@git.wordpress.org>
What?
Update both direct
@ariakit/reactdeclarations from^0.4.42to^0.4.43, moving the resolved runtime from 0.4.42 to 0.4.43.Why?
Take fixes for keyboard navigation, controlled radio selection, and popup focus and pointer behavior.
How?
Update Components and DataViews manifests and regenerate the root lockfile. Required Ariakit internals move with the runtime: react-components 0.7.1 → 0.7.2, components 0.1.15 → 0.1.16, react-utils 0.2.8 → 0.2.9, utils 0.2.2 → 0.2.3, store 0.1.11 → 0.1.12, and react-store 0.1.13 → 0.1.14. No other direct dependency is updated; there is no direct Ariakit test-package declaration to change.
Complete release span: @ariakit/react 0.4.43.
Notable upstream changes
arrowPadding, so no authored arrow needs adjustment. The new RadioGroupLabel and tooltipdata-instantstyling hook are not adopted.This is a pre-1.0 runtime dependency. Compatibility was checked through imports, affected wrappers, unchanged React 17/18/19 peer ranges, strict installation, and existing tests; it is not inferred from the patch number alone. No Gutenberg API or style changes are included.
Testing Instructions
Testing Instructions for Keyboard
Use Tab to reach a menu trigger, Enter to open it, arrow keys to navigate, and Escape to close it. Focus should return to the trigger. Navigate Tabs and ToggleGroupControl with arrow keys and verify the active panel or selected option follows focus. Tab through a tooltip trigger and confirm its tooltip dismisses when focus moves away.
Automated verification
Strict npm install, dependency lint, and lockfile lint passed. Existing jsdom coverage passed with 46 tests in four files. Chromium coverage passed with 206 tests in nine files across menus, tabs, tooltips, composite wrappers, toggle groups, and DataViews filters. Full build, typecheck, and published-dependency audit passed, with zero published-dependency findings across 129 packages. A second strict install passed. The security audit matches the base at 88 advisories, with no new named advisory.
The reviewer interactions above have not been performed by a human.
Use of AI Tools
Codex inspected upstream releases and consumers, authored this dependency update and description, and ran automated verification. No human review is claimed.