-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: build custom react-select component with Chakra [updated] #12065
feat: build custom react-select component with Chakra [updated] #12065
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
react-select
to v5.8.0fc9082f
to
dbdf622
Compare
|
||
import ReactSelect, { ReactSelectOnChange } from "." | ||
|
||
// TODO: Work with closed PR diff: https://github.com/ethereum/ethereum-org-website/pull/10542/files |
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.
This storybook file is not complete. Should have a story displaying both style variants with the full logic combination including option groups and as combobox.
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.
@pettinarip along with your initial suggestions, I will ping you back when I have this story file finalized proper.
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.
Wow! this looks great @TylerAPfledderer!!! ❤️
Few things I saw while testing:
======
cc @nloureiro 👀
Pages where we are using the select:
@TylerAPfledderer, great work, thank you!!! While testing on the browser, I realized that the color scheme was too strong and relied heavily on the primary color... Can you change it? Sorry about this, but sometimes, when on the browser and in the mix of the styles, we can find "design bugs". Link to the Figma file (I added a comment, too) https://www.figma.com/file/NrNxGjBL0Yl1PrNrOT8G2B/ethereum.org-Design-System?type=design&node-id=5303%3A58208&mode=design&t=gfwqptwT1wv8ZJCx-1 Thank you! |
@pettinarip @nloureiro all above suggestions should be resolved, and have updated the storybook file. |
I'm afk at the time of this comment, but I noticed a styling error for the flush variant when checking the story book preview. Will get that addressed asap. |
6e37d6b
to
6547732
Compare
@nloureiro you can immediately view this component through this published storybook preview |
@TylerAPfledderer @pettinarip is this ready to be merged? I need to use a |
@nhsz I think this is good to go for the most part. What's left is removing the original select and it's story |
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.
🚀
Replaces #10542
Part of Implementation of new DS v1 #9548
Description
This PR update the usage of the
react-select
package.react-select
dep to latest which includes TypeScript supportReactSelect
to be sent to the internal parts