Skip to content

[chip] Rename default variant to filled#22683

Merged
mnajdova merged 3 commits into
mui:nextfrom
mnajdova:feat/chip-default-variant
Sep 22, 2020
Merged

[chip] Rename default variant to filled#22683
mnajdova merged 3 commits into
mui:nextfrom
mnajdova:feat/chip-default-variant

Conversation

@mnajdova

@mnajdova mnajdova commented Sep 21, 2020

Copy link
Copy Markdown
Member

Breaking changes

  • [Chip] Rename default variant to filled for consistency.

    -<Chip variant="default">
    +<Chip variant="filled">

Closes #18914
Part of #20012

Comment thread packages/material-ui/src/Chip/Chip.d.ts Outdated
@mui-pr-bot

mui-pr-bot commented Sep 21, 2020

Copy link
Copy Markdown

Details of bundle changes

Generated by 🚫 dangerJS against 7019d08

@eps1lon

eps1lon commented Sep 21, 2020

Copy link
Copy Markdown
Member

Is filled maybe a better name for it?

I like that better. I don't really understand how I thought "standard" was better than "default" but IMO these are pretty synonymous. filled has more meaning and relates to TextField.

@mnajdova

Copy link
Copy Markdown
Member Author

I like that better. I don't really understand how I thought "standard" was better than "default" but IMO these are pretty synonymous. filled has more meaning and relates to TextField.

done :)

@joshwooding joshwooding left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, I think there are references to the default variant on the docs page too so those will have to be changed as well :)

@mnajdova

Copy link
Copy Markdown
Member Author

Looks good, I think there are references to the default variant on the docs page too so those will have to be changed as well :)

@joshwooding good catch! Fixed :)

@oliviertassinari oliviertassinari added breaking change Introduces changes that are not backward compatible. scope: chip Changes related to the chip. labels Sep 21, 2020
@mnajdova mnajdova changed the title [Chip] Rename default variant to standard [Chip] Rename default variant to filled Sep 21, 2020
@mnajdova
mnajdova merged commit 079966a into mui:next Sep 22, 2020
@oliviertassinari oliviertassinari changed the title [Chip] Rename default variant to filled [chip] Rename default variant to filled May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible. scope: chip Changes related to the chip.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[chip] variant default value

6 participants