-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Conversation
Netlify deploy previewhttps://deploy-preview-41816--material-ui.netlify.app/ @material-ui/core: parsed: +0.23% , gzip: +0.15% Bundle size reportDetails of bundle changes (Toolpad) |
3bcd4f1
to
2af9c1f
Compare
const rotateAnimation = | ||
typeof circularRotateKeyframe !== 'string' | ||
? css` | ||
animation: ${circularRotateKeyframe} 1.4s linear infinite; | ||
` | ||
: null; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Part of #41273
Screen.Recording.2567-04-09.at.15.12.48.mov