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

[material-ui] Convert LinearProgress to support Pigment CSS #41816

Merged
merged 8 commits into from
Apr 17, 2024

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Apr 9, 2024

Part of #41273

Screen.Recording.2567-04-09.at.15.12.48.mov

@mui-bot
Copy link

mui-bot commented Apr 9, 2024

Netlify deploy preview

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

@material-ui/core: parsed: +0.23% , gzip: +0.15%

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against db7937c

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Apr 11, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Apr 11, 2024
Comment on lines +45 to +50
const rotateAnimation =
typeof circularRotateKeyframe !== 'string'
? css`
animation: ${circularRotateKeyframe} 1.4s linear infinite;
`
: null;
Copy link
Member Author

@siriwatknp siriwatknp Apr 12, 2024

Choose a reason for hiding this comment

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

I decided to move the logic here so that rotateAnimation is not generated for Pigment CSS since the keyframe is already enough.

Copy link
Contributor

@brijeshb42 brijeshb42 left a comment

Choose a reason for hiding this comment

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

LGTM

@siriwatknp siriwatknp merged commit e9762ec into mui:next Apr 17, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: LinearProgress The React component. package: material-ui Specific to @mui/material v6.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants