Skip to content

[alert] Migrate to emotion#24442

Merged
mnajdova merged 15 commits into
mui:nextfrom
kutnickclose:migrate/component-alert
Jan 18, 2021
Merged

[alert] Migrate to emotion#24442
mnajdova merged 15 commits into
mui:nextfrom
kutnickclose:migrate/component-alert

Conversation

@kutnickclose

Copy link
Copy Markdown
Contributor

I took a first stab at the Alert component for the emotion migration. One of #24405.

I have not yet figured out how to test and I would say generally a bit confused exactly how overridesResolver and useUtilityClasses works but I'll be figuring that out the next few days. I'm opening this now 1) in case anyone wants to add some pointers 😅 and 2) so no one duplicates the work.

@mui-pr-bot

mui-pr-bot commented Jan 16, 2021

Copy link
Copy Markdown

@material-ui/lab: parsed: -0.11% 😍, gzip: +0.18%

Details of bundle changes

Generated by 🚫 dangerJS against 9eb18e5

@mnajdova mnajdova changed the title Migrate/component alert [Avatar] Migrate to emotion Jan 16, 2021

@mnajdova mnajdova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the contribution! Great progress, left some comments on things that should be fixed or can be improved. Let me know if you have more questions and we can update the migration guide to include some more info :)

Comment thread packages/material-ui/src/Alert/Alert.js
Comment thread packages/material-ui/src/Alert/Alert.js Outdated
Comment thread packages/material-ui/src/Alert/Alert.js Outdated
Comment thread packages/material-ui/src/Alert/Alert.js Outdated
Comment thread packages/material-ui/src/Alert/Alert.js Outdated
Comment thread packages/material-ui/src/Alert/alertClasses.js
Comment thread packages/material-ui/src/Alert/alertClasses.d.ts
@povilass

Copy link
Copy Markdown
Contributor

@mnajdova Probably it's [Alert] Migration to emotion

@mnajdova mnajdova changed the title [Avatar] Migrate to emotion [Alert] Migrate to emotion Jan 16, 2021
@mnajdova

Copy link
Copy Markdown
Member

@mnajdova Probably it's [Alert] Migration to emotion

Right, thanks! The two PRs came approximately at the same time, so I must have confused them :)

@oliviertassinari oliviertassinari added the scope: alert Changes related to the alert. label Jan 16, 2021
Comment thread packages/material-ui/src/Alert/Alert.test.js Outdated
Comment thread packages/material-ui/src/Alert/Alert.js Outdated
Comment thread packages/material-ui/src/Alert/Alert.test.js

@mnajdova mnajdova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great work! Thanks for spending the time 🙏

Comment thread packages/material-ui/src/Alert/Alert.js Outdated
@mnajdova
mnajdova merged commit 95b8edc into mui:next Jan 18, 2021
@oliviertassinari oliviertassinari changed the title [Alert] Migrate to emotion [alert] Migrate to emotion May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: alert Changes related to the alert.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants