Skip to content

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

Merged
jonrohan merged 3 commits into
mainfrom
segmented_control/when_narrow
Aug 15, 2022
Merged

Rename SegmentedControl--iconOnly-whenNarrow to SegmentedControl-button--iconOnly-whenNarrow and place on button#2202
jonrohan merged 3 commits into
mainfrom
segmented_control/when_narrow

Conversation

@jonrohan

Copy link
Copy Markdown
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

changeset-bot Bot commented Aug 15, 2022

Copy link
Copy Markdown

🦋 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 requested a review from langermank 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