Update Ariakit packages - #80765
Conversation
|
Size Change: +8 kB (+0.1%) Total Size: 7.76 MB 📦 View Changed
|
c1baca2 to
bb190dc
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If 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. |
|
Flaky tests detected in bb190dc. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/30470662846
|
| '^@ariakit/test$': '<rootDir>/node_modules/@ariakit/test/dist/index.js', | ||
| '^@ariakit/test/react$': | ||
| '<rootDir>/node_modules/@ariakit/test/dist/react.js', | ||
| '^@ariakit/utils$': | ||
| '<rootDir>/node_modules/@ariakit/utils/dist/index.js', |
There was a problem hiding this comment.
This hard-coding of node_modules will break in isolated mode because it doesn't exist as a dependency in the <rootDir>.
Also, we need some more improvements to this mapping list. Ideally, specific mappings should be set before the generic ones to ensure that they get resolved correctly.
There was a problem hiding this comment.
I will create a PR to improve it after #80837 lands.
Complete release span:
@ariakit/react: 0.4.33, 0.4.34, and 0.4.35@ariakit/test: 0.4.14, 0.4.15, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.7.0, 0.7.1, and 0.7.2What?
Updates the Ariakit group:
@ariakit/reactfrom 0.4.32 to 0.4.35 and@ariakit/testfrom 0.4.13 to 0.7.2.Why?
The React update includes interaction and performance fixes. The test-package update keeps Gutenberg on the supported Ariakit test API, but is a potentially breaking 0.x minor update.
Notable upstream changes
scrollbar-gutterand improves component/store performance. Gutenberg's Ariakit-backed overlays benefit directly; jsdom needed the addedCSS.supportsshim to exercise this path.includesHidden, removes most helper subpaths, applies browser shims globally, and speeds up interactions. Gutenberg does not useincludesHiddenor removed subpaths; its imports stay on the supported root and/reactentry points.How?
Updates all direct declarations and the lockfile. The Jest setup now resolves and transpiles Ariakit's ESM-only test helpers, and jsdom supplies the
CSS.supportsAPI used by Ariakit's modal scroll locking.Testing Instructions
Automated verification
Dependency and lockfile validation passed. All 25 focused suites passed, covering 632 tests and 5 snapshots across the affected Ariakit-backed components and test helpers.
Testing Instructions for Keyboard
Use Tab to reach each control, Enter or Space to open it, the arrow keys to move through items or tabs, and Escape to dismiss overlays. Confirm focus remains visible and returns to the trigger after dismissal.
Screenshots or screencast
Not applicable; no visual change is intended.
Use of AI Tools
Codex selected and implemented the dependency update, reviewed the intervening releases and compatibility constraints, ran the verification above, and updated this description.