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

Migrate custom BEM to getBEM syntax #1919

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Migrate custom BEM to getBEM syntax #1919

merged 2 commits into from
Apr 16, 2024

Conversation

anselmbradford
Copy link
Member

@anselmbradford anselmbradford commented Feb 27, 2024

Changes

  • Migrate custom BEM to getBEM syntax. The new syntax separates elements with a double underscore __ and modifiers with a double dash --.

Testing

  1. PR checks should pass and the page preview should not be changed.

Copy link

netlify bot commented Feb 27, 2024

Thanks for the improvements! Browse a preview of your changes using the link below.

Name Link
🔨 Latest commit 9920f62
🔍 Latest deploy log https://app.netlify.com/sites/cfpb-design-system/deploys/661e947544c9a9000838582e
😎 Deploy Preview https://deploy-preview-1919--cfpb-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@wpears wpears left a comment

Choose a reason for hiding this comment

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

This is looking good! My main worry here is how breaking this change is for dependents, eg design-system-react and cfgov.

Does this warrant a major version bump? Otherwise, we need to make sure dependents are pinned to something before the next release (true for cfgov, not for d-s-r, until cfpb/design-system-react#336 goes in).

@contolini
Copy link
Member

cc @billhimmelsbach @meissadia no rush but y'all will need to update DSR at some point

Copy link
Member

@contolini contolini left a comment

Choose a reason for hiding this comment

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

🚢

@anselmbradford anselmbradford merged commit fa4d78d into main Apr 16, 2024
8 checks passed
@anselmbradford anselmbradford deleted the ans_update_bem branch April 16, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lerna-changelog/breaking lerna label. DO NOT MODIFY
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants