-
Notifications
You must be signed in to change notification settings - Fork 44
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
Dropdown::Toggle::Icon
: Fix inconsistencies (HDS-3416)
#2178
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This comment was marked as resolved.
This comment was marked as resolved.
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.
I added a couple of other comments on Friday, but I failed to submit the review 😞 .
I've also added a bit of a matrix here for what is changing. Let me know if this makes sense, but essentially I think it breaks down like this:
Dropdown::ToggleIcon
wherehasChevron={{true}}
and has anicon
size="small"
icon size should be12px
size="medium"
icon size should16px
I think everything else should be unchanged.
…ons without chevrons
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! Thanks for the work iterating here!
Dropdown
: Fix inconsistencies (HDS-3416)Dropdown::Toggle::Icon
: Fix inconsistencies (HDS-3416)
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.
Left a few suggestions, but nothing is a blocker.
PS: for the record: I think the 12px
icon size is too small, but that's a design decision.
Co-authored-by: Cristiano Rastelli <cristiano.rastelli@hashicorp.com>
📌 Summary
If merged, this PR fixes inconsistencies in color and toggle icon sizing between the
Dropdown::Toggle::Icon
as compared to theButton
component.Showcase: https://hds-showcase-git-hds-3416-fix-dropdown-inconsi-809ea9-hashicorp.vercel.app/components/dropdown#icon
📸 Screenshots
BEFORE:
AFTER:
🔗 External links
👀 Component checklist
💬 Please consider using conventional comments when reviewing this PR.