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

[core] Update classes generation logic #24371

Merged
merged 7 commits into from Jan 12, 2021

Conversation

mnajdova
Copy link
Member

@mnajdova mnajdova commented Jan 11, 2021

This PR consolidates how the classes for the components are being generated. It is inspired by #24250 (comment)

There is one common composeClasses utility introduced that takes care of adding utility classes as well as classes overrides.

It should avoid issues like #24250 to ever happen.

@mui-pr-bot
Copy link

mui-pr-bot commented Jan 11, 2021

@material-ui/core: parsed: -0.08% 😍, gzip: -0.05% 😍

Details of bundle changes

Generated by 🚫 dangerJS against fbaaf6d

@mnajdova mnajdova changed the title [WIP] Update classes generation logic Update classes generation logic Jan 12, 2021
@mnajdova mnajdova changed the title Update classes generation logic [core] Update classes generation logic Jan 12, 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.

I can't find issues with the approach 👍

@mnajdova mnajdova marked this pull request as ready for review January 12, 2021 12:32
Copy link
Member

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@mnajdova mnajdova merged commit d07811d into mui:next Jan 12, 2021
@oliviertassinari oliviertassinari added the core Infrastructure work going on behind the scenes label Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants