Skip to content
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

[docs] Migrate Chip demos to emotion #25268

Merged

Conversation

vicasas
Copy link
Member

@vicasas vicasas commented Mar 8, 2021

The following demos of the Chip component were migrated:

  • Chip
  • Outlined chip
  • Array chip
  • Small chip (Filled and Outlined)

Related to #16947

@mui-pr-bot
Copy link

mui-pr-bot commented Mar 8, 2021

No bundle size changes

Generated by 🚫 dangerJS against f577aae

@oliviertassinari oliviertassinari added component: chip This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation labels Mar 8, 2021
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

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

As a side note. We will need to breakdown the chips demo, to be more focused. There are too convoluted currently.

@vicasas
Copy link
Member Author

vicasas commented Mar 8, 2021

@oliviertassinari I'll keep it in mind. Right now something like this occurs to me...

Basic Chip or Contained Chip

  • Default Chip, Primary Chip, Secondary Chip, Disabled Chip (Whit Button demo)

Clickable Chip

  • Demo...

Avatar Chip

  • Demo...

Icon Chip

  • Demo...

Deletable Chip

  • Demo...

@oliviertassinari
Copy link
Member

oliviertassinari commented Mar 8, 2021

Regarding the breakdown, it feels like the current demos were built for the visual regressions tests, not the developers. We could move them to the test/regressions. For the split, I think that we should aim to have them small enough for the inline preview. I also think that we can do like the the text-field, have the outlined and filled variant documented in the same demo once the notion of variant has been introduced.

@oliviertassinari oliviertassinari merged commit 5808a69 into mui:next Mar 9, 2021
@vicasas
Copy link
Member Author

vicasas commented Mar 10, 2021

Regarding the breakdown

There is an issue associated with this or it is related to it?

@oliviertassinari
Copy link
Member

oliviertassinari commented Mar 10, 2021

There is an issue associated with this or it is related to it?

@vicasas The closest would be #22484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: chip This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants