makeStyles: finish up keyframes implementation#16757
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 434b0dd:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 6adb69ffc5187cadeb9ecfdb5280fa6f027d6546 (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
| const animationName = names.join(' '); | ||
| const animationNameRtl = namesRtl.join(' '); | ||
| result[animationName] = [undefined, keyframeCSS, keyframeRtlCSS || undefined]; | ||
| resolveStyleRules({ animationName }, unstable_cssPriority, pseudo, media, support, result, animationNameRtl); |
There was a problem hiding this comment.
I would like to have a better proposal than adding animationNameRtl as a param, but nothing simpler comes to my mind 💭
There was a problem hiding this comment.
I didn't like this either. I will think a bit more :)
There was a problem hiding this comment.
I thought about this more today but couldn't come up with a better approach :/
b097cf1 to
434b0dd
Compare
|
🎉 Handy links: |
Pull request checklist
$ yarn changeDescription of changes
Finish up
keyframesimplementation inmakeStyles, including:Related issue: #16372
Focus areas to test
Added unit tests.