google / google/material-design-lite

State classes don't align to BEM

Open
#1,882 58 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.