-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 chips to Material 3 chips. #18513
Conversation
For what it is worth, there is also a material chip implementation in the target picker. Aside from the chip possibilities, this one has multiple icon buttons and a very custom css. |
@silamon I checked to convert those chips to M3. M3 chips doesn't support 2 trainling actions (only remove action is possible). I will be for another PR because it's to much work for this one (e.g. we have to develop our own chips using M3 internals if we want this one) |
186fcc0
to
86d121f
Compare
Yeah I agree, eventually it may fit better as a regular component not really tied to a m3 chip. |
86d121f
to
7ca5bfd
Compare
b01c28c
to
8eb8111
Compare
This reverts commit c89be8f.
The preview deployment does not seem to be working for this PR |
Proposed change
Use new Material 3 chips. Most chips has been replaced by M3 chips. Demo has been updated too.
Some chips are used as label or tags (in quick-bar, automation list, user dialog). They are migrated to a new component
ha-label
that doesn't have click action and hover state.Old Material chip dependency is not removed because it's needed for target picker. We have to figure out how to move this one to M3 (in another PR).
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: