Skip to content

Remove support for sx from BranchName component #6625

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

llastflowers
Copy link
Contributor

@llastflowers llastflowers commented Aug 19, 2025

Relates to https://github.com/github/primer/issues/5730

Still need to separately update github-ui components to use @primer/styled-react (sx: 3)

Changelog

Removed

  • Remove support for sx from the BranchName component

Rollout strategy

  • Major release; if selected, include a written rollout or migration plan

We are using the @primer/styled-react component to mitigate removing sx usage. We will make sure usage is updated upstream before merging.

Merge checklist

@llastflowers llastflowers self-assigned this Aug 19, 2025
Copy link

changeset-bot bot commented Aug 19, 2025

🦋 Changeset detected

Latest commit: 15c149e

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

This PR includes changesets to release 3 packages
Name Type
@primer/react Major
@primer/styled-react Major
@primer/mcp 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 integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Aug 19, 2025
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!

Update BranchName component to no longer support sx, add sx wrapper to @primer/styled-react
Copy link
Contributor

github-actions bot commented Aug 19, 2025

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 90.31 KB (+0.04% 🔺)
packages/react/dist/browser.umd.js 90.37 KB (-0.09% 🔽)

@llastflowers llastflowers changed the title Remove support for sx from the BranchName component Remove support for sx from BranchName component Aug 19, 2025
@primer-integration
Copy link

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

@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 Aug 19, 2025
@primer-integration
Copy link

🔴 golden-jobs completed with status failure.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant