-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
refactor: Bump Chakra-UI dep to latest #9577
refactor: Bump Chakra-UI dep to latest #9577
Conversation
✅ ethereum-org-website-dev deploy preview ready
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Handy tool, nice. Thanks @TylerAPfledderer for the bump
@@ -44,4 +44,5 @@ const theme: ThemeOverride = { | |||
components, | |||
} | |||
|
|||
// TODO: use `extendBaseTheme` when updating theming for components for new DS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whats the difference between extendBaseTheme
vs extendTheme
. Couldn't find it on the docs.
@@ -127,7 +129,9 @@ | |||
"serve": "gatsby serve", | |||
"type-check": "tsc --noEmit", | |||
"storybook": "storybook dev -p 6006 -c .storybook", | |||
"build-storybook": "storybook build" | |||
"build-storybook": "storybook build", | |||
"theme": "chakra-cli tokens src/@chakra-ui/gatsby-plugin/theme.ts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Interesting decision to place those generated types in node_modules and not on the project 🤔.
░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▀▀░░░░░░░░ | ||
</ContentColumn> | ||
</Show> | ||
<ContentColumn hideBelow={largeBp}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleannn 👍🏼
NOTE: Recommend this PR for #9548 to not fall behind while implementing the DS. May need to consider timing in adding this while migrations are still ongoing
Description
This PR keeps Chakra up-to-date in preparation for the new DS
theme
andtheme:watch
to generate the typing and to generate the typing on watch when updating the theme config.postinstall
package script to generate the typing when updating package deps or when a developer forks the project into their local environment for the first time.Show
/Hide
components are replaced with thehideFrom
andhideBelow
props where possible.Related Issue
Closes #8870