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

[Joy] Fix --List-decorator* vars #36595

Merged
merged 4 commits into from
Mar 21, 2023

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Mar 21, 2023

The transformation in https://github.com/mui/material-ui/pull/36282/files#diff-3e64c06413e58efa8d337c4e2e53db6a4fe714613064bc302b702a6ff9bbea79 is wrong.

According to the decision in #35474, it should be:

Before: --List-decorator-size
After: --ListItemDecorator-size

@siriwatknp siriwatknp added the package: joy-ui Specific to @mui/joy label Mar 21, 2023
@siriwatknp siriwatknp requested review from hbjORbj and mnajdova March 21, 2023 06:31
@mui-bot
Copy link

mui-bot commented Mar 21, 2023

Netlify deploy preview

https://deploy-preview-36595--material-ui.netlify.app/

Bundle size report

Details of bundle changes

Generated by 🚫 dangerJS against de9efb1

Comment on lines +101 to +102
.replace(/--List-decoratorSize/gm, '--ListItemDecorator-size')
.replace(/--List-decoratorColor/gm, '--ListItemDecorator-color')
Copy link
Member Author

Choose a reason for hiding this comment

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

This is required for projects that already upgraded to 5.0.0-alpha.71.

Copy link
Member

@mnajdova mnajdova 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 1a14b54 into mui:master Mar 21, 2023
@hbjORbj
Copy link
Member

hbjORbj commented Mar 21, 2023

Looks good! Thanks for catching it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants