Skip to content

Conversation

@jonrohan
Copy link
Member

@jonrohan jonrohan commented Dec 10, 2024

Follow up to #5343 when releasing 37.7.0 we saw some issues where ButtonGroup had mixed types.
ie. <ButtonGroup><a><button></ButtonGroup>.

This PR fixes the CSS in ButtonGroup for mixed types by wrapping each element in a <div> then updating the CSS to account for the direct child div and the button/a tags.

Changelog

New

Changed

Removed

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

@changeset-bot
Copy link

changeset-bot bot commented Dec 10, 2024

🦋 Changeset detected

Latest commit: 80cb728

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 github-actions bot added the staff Author is a staff member label Dec 10, 2024
@github-actions
Copy link
Contributor

👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks!

@github-actions github-actions bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Dec 10, 2024
@jonrohan jonrohan added the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Dec 10, 2024
@github-actions github-actions bot temporarily deployed to storybook-preview-5410 December 10, 2024 23:26 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Dec 10, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 102.54 KB (-0.02% 🔽)
packages/react/dist/browser.umd.js 102.87 KB (+0.02% 🔺)

@primer-integration
Copy link

👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/354495

@github-actions github-actions bot removed the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Dec 10, 2024
@github-actions github-actions bot added integration-tests: failing Changes in this PR cause breaking changes in gh/gh and removed integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Dec 10, 2024
@primer-integration
Copy link

🔴 golden-jobs completed with status failure.

@jonrohan jonrohan closed this Dec 11, 2024
@jonrohan jonrohan deleted the buttongroup_fix branch December 11, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: failing Changes in this PR cause breaking changes in gh/gh staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants