Skip to content
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: icon button #5020

Closed
wants to merge 13 commits into from
Closed

Conversation

fbwoolf
Copy link
Contributor

@fbwoolf fbwoolf commented Mar 4, 2024

Building Leather at commit 0cd2afb

BRANCHED OFF THE CONTAINER WORK

This PR refactors our current ActionButton, which uses the Radix AccessibleIcon component, into a UI component called IconButton to make our buttons using icons consistent and accessible; showing the label is optional. Stories included.

Screenshot 2024-03-04 at 3 07 31 PM Screenshot 2024-03-04 at 3 07 45 PM

Also, addressed the large checkmarks/alignment issues on the AllowDiagnostics screen...

Screenshot 2024-03-04 at 12 08 42 PM

EDIT: Note, I took the autofocus off the allow diagnostics button bc everyone mentions it like they don't expect it? You can put back if want to keep.

Copy link
Contributor

@pete-watters pete-watters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff Fara 👍

@pete-watters pete-watters force-pushed the chore/4370/design-system-containers branch 2 times, most recently from c97312b to 9c511e5 Compare March 5, 2024 05:27
Copy link
Contributor

@pete-watters pete-watters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is great but marking as Needs work to stop it getting merged as I already cherry picked the last two commits into the containers branch, thanks Fara!

Yesterday I made a real rebase mess for myself merging so I'll just picking in the commits until this gets over the line.

@pete-watters pete-watters force-pushed the chore/4370/design-system-containers branch from 716ccaa to f25e404 Compare March 5, 2024 10:18
@fbwoolf fbwoolf deleted the feat/icon-button branch April 8, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AccessibleIcon Button component Some icons are too large on dev
2 participants