Skip to content

[AppBar] Migrate to emotion#24439

Merged
mnajdova merged 2 commits into
mui:nextfrom
povilass:migrate/component-app-bar
Jan 16, 2021
Merged

[AppBar] Migrate to emotion#24439
mnajdova merged 2 commits into
mui:nextfrom
povilass:migrate/component-app-bar

Conversation

@povilass

@povilass povilass commented Jan 15, 2021

Copy link
Copy Markdown
Contributor

One of #24405

@mui-pr-bot

mui-pr-bot commented Jan 15, 2021

Copy link
Copy Markdown

@material-ui/core: parsed: +0.17% , gzip: +0.18%

Details of bundle changes

Generated by 🚫 dangerJS against 951e966

Comment thread packages/material-ui/src/AppBar/AppBar.js Outdated
@povilass

Copy link
Copy Markdown
Contributor Author

@mnajdova can you help me with this it tell me that I have to run yarn proptypes? but it removes className.

Comment thread packages/material-ui/src/AppBar/AppBar.js Outdated
Comment thread packages/material-ui/src/AppBar/AppBar.js Outdated
classes[`position${capitalize(position)}`],
classes[`color${capitalize(color)}`],
{
'mui-fixed': position === 'fixed', // Useful for the Dialog

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.

We may be able to get rid of this now that we have utility classes, but let's keep it as is to keep the PR focused to the migraiton

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Comment thread packages/material-ui/src/AppBar/AppBar.test.js Outdated
Comment thread packages/material-ui/src/AppBar/AppBar.js
"type": {
"name": "enum",
"description": "'default'<br>&#124;&nbsp;'inherit'<br>&#124;&nbsp;'primary'<br>&#124;&nbsp;'secondary'<br>&#124;&nbsp;'transparent'"
},

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.

@povilass

Copy link
Copy Markdown
Contributor Author

Don't know why but after running yarn proptypes other files also regenerated with few differences.
image

@povilass

Copy link
Copy Markdown
Contributor Author

Well, some dark magic worked after moving all properties as separate variable :D

@povilass

Copy link
Copy Markdown
Contributor Author

Ok, one done more to go.

@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!

@oliviertassinari oliviertassinari added the scope: app bar Changes related to the app bar. label Jan 16, 2021
@mnajdova
mnajdova merged commit 85b1611 into mui:next Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: app bar Changes related to the app bar.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants