chore(ariakit): upgrade ariakit from 0.4.3 to 0.4.13 #2586
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.
DESCRIPTION
We are currently using @ariakit/react version 0.4.3
We need to upgrade to 0.4.13, meaning we need to upgrade 10 versions.
Here is the exhaustive list of our components based on ariakit:
We need to pay extra attention to these when testing this major upgrade.
LINEAR TICKET
https://linear.app/wttj/issue/WUI-23/upgrade-ariakit-to-latest
HOW TO TEST
CHANGES RELATED TO THE COMPONENTS WE USE
- Drawer and modal: new CSS variable: —dialog-viewport-height. Can be useful for Drawer and Modal when used on mobile device with input fields (cause it takes into account the virtual keyboard as well) (Can be useful, tested and working)
- Tabs: new scrollRestoration props for TabPanel => By default, scroll position is restored when switching tab. Set the scrollRestoration props to « reset » to return to the top of the panel when switching tab. (Tested and working, can be useful)
FULL CHANGELOG
https://ariakit.org/changelog
MIGRATING TO 0.4.4
MIGRATING TO 0.4.5
MIGRATING TO 0.4.6
MIGRATING TO 0.4.7
MIGRATING TO 0.4.8
MIGRATING TO 0.4.9
MIGRATING TO 0.4.10
MIGRATING TO 0.4.11
MIGRATING TO 0.4.12
MIGRATING TO 0.4.13