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

[AppBar] Convert to support CSS extraction #41247

Merged
merged 15 commits into from
Apr 1, 2024

Conversation

mnajdova
Copy link
Member

@mnajdova mnajdova commented Feb 23, 2024

@mnajdova mnajdova added the component: app bar This is the name of the generic UI component, not the React module! label Feb 23, 2024
@mui-bot
Copy link

mui-bot commented Feb 23, 2024

Netlify deploy preview

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

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against feb064a

@@ -2,12 +2,14 @@ import path from 'path';
import fse from 'fs-extra';
import * as prettier from 'prettier';

function capitalize(string) {
function pascalCase(string) {
Copy link
Member Author

Choose a reason for hiding this comment

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

react-app-bar was throwing, it resulted in App-bar() which is not a valid function name, I've converted to using pascal case.

@@ -16,7 +16,7 @@ interface Props {
* You won't need it on your project.
*/
window?: () => Window;
children: React.ReactElement;
children?: React.ReactElement;
Copy link
Member Author

Choose a reason for hiding this comment

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

Converted the demos to not require children.

@mnajdova mnajdova requested a review from siriwatknp March 6, 2024 11:40
Signed-off-by: Marija Najdova <mnajdova@gmail.com>
@mnajdova mnajdova marked this pull request as ready for review March 7, 2024 08:59
@mnajdova mnajdova changed the title [AppBar] Convert to support zero-runtime [AppBar] Convert to support CSS extractions Mar 13, 2024
@mnajdova mnajdova changed the title [AppBar] Convert to support CSS extractions [AppBar] Convert to support CSS extraction Mar 13, 2024
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 28, 2024
Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

👍 Awesome, this is a tough one!

@siriwatknp siriwatknp changed the base branch from master to next March 28, 2024 08:53
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 28, 2024
@mnajdova
Copy link
Member Author

@siriwatknp I noticed bug while updating the branch, would be great if you can validate 1da33c9

@siriwatknp
Copy link
Member

@siriwatknp I noticed bug while updating the branch, would be great if you can validate 1da33c9

Looks good to me.

@mnajdova mnajdova merged commit 67663dd into mui:next Apr 1, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: app bar This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants