Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump Chakra packges to latest (v2.8.0) #10727

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

TylerAPfledderer
Copy link
Contributor

Description

This PR bumps @chakra-ui/react from 2.6.4 to 2.8.0, and @chakra-ui/storybook-addon from 5.0.0 to 5.0.1.

This introduces the following changes/additions to the project:

@chakra-ui/react

  • Exposes the 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 for Input which is being used in this project), but created an unexpected theme undefined error at buildtime. 2.8.0 removes this function and reverts back to a previous function that handling this compiling.
  • Introduces a new Indicator component for custom placement of a component in a corner of another component (like a notification badge)

@chakra-ui/storybook-addon

  • Refines the addon by further keeping the setup inline with official SB addons for v7.
    • Previously, using another addon such as 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 from preview.js. I believe Exporting a preview 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

@github-actions github-actions bot added the dependencies 📦 Changes related to project dependencies label Jul 19, 2023
@gatsby-cloud
Copy link

gatsby-cloud bot commented Jul 19, 2023

✅ ethereum-org-website-dev deploy preview ready

@pettinarip pettinarip merged commit 6f12791 into ethereum:dev Jul 19, 2023
@TylerAPfledderer TylerAPfledderer deleted the chore/deps-chakra-latest branch July 19, 2023 21:53
This was referenced Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies 📦 Changes related to project dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants