-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Update UI to Match Figma Specs: Labels, Buttons, Gaps #6415
Conversation
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.
PR Summary
Updated UI components to align with Figma design specifications, focusing on labels, buttons, and gaps.
- CommandGroup.tsx: Removed
text-transform: uppercase;
fromStyledGroup
to match Figma specs. - CommandMenu.tsx: Replaced 'Esc to cancel' text with
ModalCloseButton
, adjusted search input padding, and added top padding toStyledInnerList
.
Ensure these changes do not affect other components relying on CommandGroup
and verify ModalCloseButton
functionality across devices.
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
Hi @ehconitin, thanks for the contribution Here it's how it look on your PR: Here is the figma: Let's make sure they perfectly match, a few thing I've noticed:
Tackling this PR requires an attention to details :) |
Thank you @charlesBochet for your detailed review and feedback. I appreciate your attention to detail. The "X" button: I'm currently using the Which approach would you prefer for the "X" button? I'm happy to implement either solution or discuss alternatives if you have other ideas. |
@ehconitin I think we don't need to use the ModalCloseButton (especially since the menu is not a modal). Let's directly use a LightIconButton component within the CommandMenu |
Thank you for the clarification, @charlesBochet. |
Hi @charlesBochet, |
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.
@ehconitin Thank you! you are perfectly right, these styles should not be exported for the exact reason you mentioned.
I have also fixed another padding, I have noticed.
Thanks a lot, LGTM!
Thanks @ehconitin for your contribution! |
@Bonapara
Done with issue #5910