google / google/material-design-lite
State classes don't align to BEM
Open
BC Break
Textfield
- Dominant language
- HTML
- Stars
- 32.2k
- Forks
- 4.9k
- PR merge metrics
- No merged PRs in 30d
Description
We have things like `is-invalid`, `is-dirty`, and `is-disabled` on textfield for example. This should instead be `mdl-textfield--invalid`, `mdl-textfield--dirty`, and `mdl-textfield--disabled` respectively for proper BEM structure.
This goes across any components where state classes exist.
Contributor guide
Assessment
This issue has not been assessed yet.