-
Notifications
You must be signed in to change notification settings - Fork 176
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 the VFilterButton to use the new variants #1132
Conversation
Size Change: -76 B (0%) Total Size: 853 kB
ℹ️ View Unchanged
|
Full-stack documentation: https://docs.openverse.org/_preview/1132 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. |
9d6ed9b
to
8bd2121
Compare
775d0c6
to
b506445
Compare
b506445
to
917b1a7
Compare
547ea0b
to
c3a6f6b
Compare
88f21dc
to
148282b
Compare
@obulat is this one ready for review? Just want to make sure; saw some new commits. |
Yes, @zackkrida, it's ready for review. The latest change was to set the hover color to dark-charcoal-90, not 80, after @panchovm confirmed in Figma that the correct value is 90 |
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.
LGTM.
Yes! Confirming what @obulat said |
@panchovm, just a note about the |
You are right @obulat. We can leave it as it is. I checked the same situation in Gutenberg and the style doesn't change. We can review it in the future if we notice some problems. |
148282b
to
d5f9722
Compare
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.
d5f9722
to
b02daff
Compare
b02daff
to
1959262
Compare
3598f71
to
d87b4e3
Compare
c10d1c2
to
d157169
Compare
d87b4e3
to
766eec2
Compare
c30a3d6
to
e2b1709
Compare
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.
It looks great ✨ 🚀
Fixes
Related to #1020 by @obulat
Description
This PR uses the new variants for the VFilterButton. This standardizes the border behavior (no dark ring in the focus ring, no transitions for border color).
The Storybook tests are also updated: better order, added
focused
state test, and the hot-fix for focus-ring (wait) is removed.TheThe buttons were updated to always have a border, so no snapshot changes were necessary.xl
and2xl
snapshots are updated because now the button has no border, so the width for larger buttons becomes 2px more.Testing Instructions
Checklist
Update index.md
).main
) ora parent feature branch.
errors.
Developer Certificate of Origin
Developer Certificate of Origin