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

feat(Banner): update Banner to use CSS Modules behind feature flag #4913

Merged
merged 15 commits into from
Sep 17, 2024

Conversation

joshblack
Copy link
Member

@joshblack joshblack commented Sep 3, 2024

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

Changelog

New

Changed

  • Refactor Banner to use CSS Modules behind a feature flag
  • Update Link to no longer forward underline to the underlying node

Removed

Rollout strategy

  • Minor release

Copy link

changeset-bot bot commented Sep 3, 2024

🦋 Changeset detected

Latest commit: 4bf2a22

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 Minor

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 Sep 3, 2024
Copy link
Contributor

github-actions bot commented Sep 3, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 97.41 KB (-0.06% 🔽)
packages/react/dist/browser.umd.js 97.74 KB (-0.07% 🔽)

@joshblack joshblack marked this pull request as ready for review September 4, 2024 21:05
@joshblack joshblack requested a review from a team as a code owner September 4, 2024 21:05
packages/react/src/Banner/Banner.module.css Outdated Show resolved Hide resolved
packages/react/src/Banner/Banner.module.css Outdated Show resolved Hide resolved
packages/react/src/Banner/Banner.module.css Outdated Show resolved Hide resolved
packages/react/src/Banner/Banner.module.css Outdated Show resolved Hide resolved
packages/react/src/Banner/Banner.module.css Outdated Show resolved Hide resolved
Copy link
Member

@jonrohan jonrohan left a comment

Choose a reason for hiding this comment

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

Looks good ⚡

@joshblack joshblack added this pull request to the merge queue Sep 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 16, 2024
@jonrohan jonrohan added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit 6c9121e Sep 17, 2024
33 checks passed
@jonrohan jonrohan deleted the refactor/update-banner-to-css-modules branch September 17, 2024 22:21
@primer primer bot mentioned this pull request Sep 17, 2024
TylerJDev pushed a commit that referenced this pull request Sep 23, 2024
…4913)

* feat(Banner): update Banner to use CSS Modules behind feature flag

* chore: add changeset

* chore: remove autogenerated pnpm packageManager change

* chore: fix stylelint errors

* chore: add back in underline for fallback case

* refactor: update autofix and eslint warning

* chore: update class order for tests

* chore: fix stylelint errors

* Update packages/react/src/Banner/Banner.module.css

Co-authored-by: Katie Langerman <[email protected]>

---------

Co-authored-by: Josh Black <[email protected]>
Co-authored-by: Katie Langerman <[email protected]>
@primer primer bot mentioned this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staff Author is a staff member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants