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

UX-777 Add small radio card variant #1065

Merged
merged 8 commits into from
Mar 2, 2022
Merged

UX-777 Add small radio card variant #1065

merged 8 commits into from
Mar 2, 2022

Conversation

jonambas
Copy link
Contributor

@jonambas jonambas commented Feb 18, 2022

What Changed

  • Adds new size prop to RadioCard which accepts small
  • Adds new space prop to RadioCard.Groupwhich acceptscompact`

How To Test or Verify

PR Checklist

  • Add the correct type label
  • Pull request approval from #uxfe or #design-guild

Copy link
Contributor

@logansparlin logansparlin left a comment

Choose a reason for hiding this comment

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

Looks good! Just one small comment

fontSize={fontSize}
lineHeight="400"
fontWeight="semibold"
fontSize={isSmall ? '200' : fontSize}
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we rethink how fontSize is being defined, having '200' | fontSize is confusing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@logansparlin Do you think I should just remove the weight prop? We don't use it anywhere in the app, its not in the figma component, and not entirely sure why we set it up like this

Copy link
Contributor

Choose a reason for hiding this comment

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

Yea that's a good call

Copy link
Contributor

@logansparlin logansparlin left a comment

Choose a reason for hiding this comment

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

Looks good!

@jonambas jonambas merged commit 390984c into release Mar 2, 2022
@jonambas jonambas deleted the UX-777 branch March 2, 2022 17:43
jonambas added a commit that referenced this pull request Mar 8, 2022
* UX-777 Add small radio card variant

* UX-777 Use size instead of variant

* UX-777 Some cleanup

* UX-777 Fix default size

* UX-777 Clean up header font size

* UX-777 Some cleanup

* UX-777 Remove weight prop

* UX-777 Remove weight prop from regression test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants