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): To use CSS modules behind the feature flag #4827

Closed
wants to merge 56 commits into from

Conversation

langermank
Copy link
Contributor

@langermank langermank commented Aug 8, 2024

Part of https://github.com/github/primer/issues/3815

Changelog

Changed

  • The ButtonBase component uses CSS modules behind the flag

Rollout strategy

  • Minor release

Testing & Reviewing

Snapshots should match with flag on/off

Merge checklist

Copy link

changeset-bot bot commented Aug 8, 2024

🦋 Changeset detected

Latest commit: b0bd7ad

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

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
langermank and others added 14 commits August 8, 2024 15:36
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
* refactor: remove SSRProvider and useSSRSafeId

* chore: remove unused eslint disables

* chore: remove unused prop

---------

Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
* Update snapshots

* Add changeset
* Refactor Link to use CSS modules

* Remove needless disable

* Add newline

* Create quick-adults-buy.md

* Run tests inside fhte feature flag also

* Fix naming

* Rails interpolation got me

* test(e2e): update e2e tests for link (#4825)

Co-authored-by: Josh Black <joshblack@users.noreply.github.com>

* Remove example-nextjs

---------

Co-authored-by: Josh Black <joshblack@github.com>
Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
* refactor(Heading): update component to CSS Modules

* test(e2e): add feature flags for Heading test

* chore: fix stylelint errors

* test(e2e): update snapshots for Heading

* refactor(Heading): incorporate variant features into CSS Modules

* chore: add changeset

* test(e2e): remove theme testing

* Fix props here

* Remove examples/nextjs

* Clean up css

---------

Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
@github-actions github-actions bot temporarily deployed to storybook-preview-4827 August 15, 2024 01:29 Inactive
@jonrohan jonrohan changed the title Button CSS Modules refactor(ButtonBase): To use CSS modules behind the feature flag Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants