chore(deps): bump Chakra packges to latest (v2.8.0) #10727
Merged
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
This PR bumps
@chakra-ui/react
from2.6.4
to2.8.0
, and@chakra-ui/storybook-addon
from5.0.0
to5.0.1
.This introduces the following changes/additions to the project:
@chakra-ui/react
SkipNavLink
/SkipNavContent
component tandem for a theme-aware component to help with skip navigation (This can replace the custom SkipLink component for uniformity with other potential usage)v2.7.0
introduced a function for compiling colors in the theme config (seen in the default theme forInput
which is being used in this project), but created an unexpectedtheme undefined
error at buildtime.2.8.0
removes this function and reverts back to a previous function that handling this compiling.@chakra-ui/storybook-addon
storybook-reacti18next
would trigger errors in the Chakra addon for hooks being used outside of the preview context. This was because the preview object was not being exported in the Chakra addon; only the decorator was export directly frompreview.js
. I believe Exporting apreview
object allows both addons to be compiled to the SB server correctly because they will merge together the same type of object.There are no known breaking changes with this update to allow for further improvements to be done in future PRs.
Related Issue