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

refactor(ButtonBase): update selector to have specificty 0,1,0 #5584

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

joshblack
Copy link
Member

@joshblack joshblack commented Jan 21, 2025

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

Changelog

New

Changed

  • Update .ButtonBase to have specificity of at least 0,1,0 to no longer get overridden by reset styles or equivalent selectors with 0,1,0 specificity

Removed

Rollout strategy

  • Patch release

Copy link

changeset-bot bot commented Jan 21, 2025

🦋 Changeset detected

Latest commit: c78eae4

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 staff Author is a staff member integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Jan 21, 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!

@github-actions github-actions bot temporarily deployed to storybook-preview-5584 January 21, 2025 21:43 Inactive
Copy link
Contributor

github-actions bot commented Jan 21, 2025

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 104.47 KB (0%)
packages/react/dist/browser.umd.js 104.76 KB (0%)

@github-actions github-actions bot temporarily deployed to storybook-preview-5584 January 21, 2025 21:50 Inactive
@primer-integration
Copy link

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

@primer-integration
Copy link

🔴 golden-jobs completed with status failure.

@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 Jan 22, 2025
Copy link
Contributor

@mperrotti mperrotti left a comment

Choose a reason for hiding this comment

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

Used the preview release to test in primer-docs, and this works as expected 🎉

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.

🚀

@joshblack joshblack added this pull request to the merge queue Jan 22, 2025
Merged via the queue into main with commit b661959 Jan 22, 2025
42 checks passed
@joshblack joshblack deleted the 4703-update-buttonbase branch January 22, 2025 18:56
@primer primer bot mentioned this pull request Jan 22, 2025
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.

3 participants