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

Updates visual design of Checkbox and Radio inputs #2701

Merged
merged 11 commits into from
Jan 13, 2023

Conversation

mperrotti
Copy link
Contributor

Updates PRC Checkbox and Radio inputs to visually match the PVC Checkbox and Radio inputs

Closes https://github.com/github/primer/issues/1024

Screenshots

Radio

Before

Screenshot 2022-12-16 at 2 58 38 PM

After

Screenshot 2022-12-16 at 2 58 22 PM

Checkbox

Before

Screenshot 2022-12-16 at 2 57 42 PM

After

Screenshot 2022-12-16 at 2 57 54 PM

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@mperrotti mperrotti requested review from a team and broccolinisoup December 16, 2022 23:08
@changeset-bot
Copy link

changeset-bot bot commented Dec 16, 2022

🦋 Changeset detected

Latest commit: 0637a09

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 88.87 KB (+1.7% 🔺)
dist/browser.umd.js 89.52 KB (+1.7% 🔺)

@mperrotti mperrotti temporarily deployed to github-pages December 16, 2022 23:16 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2701 December 16, 2022 23:16 Inactive
@mperrotti mperrotti temporarily deployed to github-pages December 17, 2022 01:20 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2701 December 17, 2022 01:20 Inactive
@mperrotti mperrotti temporarily deployed to github-pages January 3, 2023 17:12 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2701 January 3, 2023 17:13 Inactive
@mperrotti mperrotti temporarily deployed to github-pages January 3, 2023 18:15 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2701 January 3, 2023 18:16 Inactive
@primer primer bot temporarily deployed to github-pages January 3, 2023 20:56 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2701 January 3, 2023 20:56 Inactive
@mperrotti mperrotti temporarily deployed to github-pages January 11, 2023 18:30 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-2701 January 11, 2023 18:30 Inactive
Copy link
Contributor

@langermank langermank left a comment

Choose a reason for hiding this comment

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

Looks great! Its hard to test indeterminate if I remember correctly, so I'm not sure if its covered here? But just in case it might be missing here's a line for checkbox https://github.com/primer/view_components/blob/main/app/components/primer/alpha/text_field.pcss#L618

@github-actions github-actions bot temporarily deployed to storybook-preview-2701 January 12, 2023 23:36 Inactive
@mperrotti mperrotti temporarily deployed to github-pages January 12, 2023 23:38 — with GitHub Actions Inactive
@mperrotti mperrotti merged commit 73dbefd into main Jan 13, 2023
@mperrotti mperrotti deleted the mp/update-checkbox-and-radio-styles branch January 13, 2023 00:45
@primer-css primer-css mentioned this pull request Jan 13, 2023
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.

2 participants