Several `/next` components were built before the flat class name convention was established and still use BEM (`__` element separators, `--` modifier suffixes). These should be updated to use simple flat class names scoped by CSS nesting, as documented in AGENTS.md.
Components to update
Breaking change
Renaming CSS classes is a breaking change for any consumer who is targeting these class names directly in their own CSS (e.g. `.eds-field__helper-message { color: red }`). Each fix should be committed as `fix!:` and the class name changes documented in the PR description so consumers know what to update.
Testing checklist (per component PR)
Related
ADR 0006 documenting the flat class name convention and superseding the BEM-inspired naming in ADR 0002 is in #5134.
Several `/next` components were built before the flat class name convention was established and still use BEM (`__` element separators, `--` modifier suffixes). These should be updated to use simple flat class names scoped by CSS nesting, as documented in AGENTS.md.
Components to update
Breaking change
Renaming CSS classes is a breaking change for any consumer who is targeting these class names directly in their own CSS (e.g. `.eds-field__helper-message { color: red }`). Each fix should be committed as `fix!:` and the class name changes documented in the PR description so consumers know what to update.
Testing checklist (per component PR)
Related
ADR 0006 documenting the flat class name convention and superseding the BEM-inspired naming in ADR 0002 is in #5134.