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

Rename SegmentedControl--iconOnly-whenNarrow to SegmentedControl-button--iconOnly-whenNarrow and place on button #2202

Merged
merged 3 commits into from
Aug 15, 2022

Conversation

jonrohan
Copy link
Member

What are you trying to accomplish?

Based on review feedback, I moved the icon_only argument of the PVC component from the SegmentedControl to the SegmentedControl::Button. This PR updates the classes to account for the iconOnly--WhenNarrow class being on the button, and changes the classname to reflect the new placement.

Can these changes ship as is?

  • Yes, this PR does not depend on additional changes. 🚢

@changeset-bot
Copy link

changeset-bot bot commented Aug 15, 2022

🦋 Changeset detected

Latest commit: 449e9d7

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

This PR includes changesets to release 1 package
Name Type
@primer/css 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

@jonrohan jonrohan marked this pull request as ready for review August 15, 2022 16:12
@jonrohan jonrohan requested a review from a team as a code owner August 15, 2022 16:12
@jonrohan jonrohan enabled auto-merge (squash) August 15, 2022 16:12
@github-actions github-actions bot temporarily deployed to Storybook Preview August 15, 2022 16:18 Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview August 15, 2022 16:18 Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview August 15, 2022 16:18 Inactive
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