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

[docs] Replace @mui/styles in x-data-grid-generator #3560

Merged
merged 11 commits into from Jan 19, 2022

Conversation

m4theushw
Copy link
Member

@m4theushw m4theushw commented Jan 7, 2022

@m4theushw m4theushw force-pushed the replace-mui-styles branch 3 times, most recently from 0eb5319 to 64f28f9 Compare January 8, 2022 01:57
);
const Value = styled('div')(({ theme }) => ({
width: '100%',
height: '100%',
Copy link
Member Author

Choose a reason for hiding this comment

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

The added height is to fix a bug created by #3446. It was also added in edit components.

image

image

@m4theushw m4theushw added the docs Improvements or additions to the documentation label Jan 8, 2022
@m4theushw m4theushw marked this pull request as ready for review January 8, 2022 02:41
Copy link
Member

@alexfauquette alexfauquette left a comment

Choose a reason for hiding this comment

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

I did not read all of them. I will finish the reading tomorow

Comment on lines 9 to 19
const StyledAutocomplete = styled(Autocomplete)(({ theme }) => ({
[`& .${autocompleteClasses.inputRoot}`]: {
...theme.typography.body2,
padding: '1px 0',
height: '100%',
'& input': {
padding: '0 16px',
height: '100%',
},
},
}));
Copy link
Member

Choose a reason for hiding this comment

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

I don't know why, but the autocompleteClasses.root also needs to have height: "100%". Otherwise the Autocomplete component does not fill the cell

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in 1420d76.

@m4theushw m4theushw self-assigned this Jan 14, 2022
@alexfauquette
Copy link
Member

Just finished reading. The other files look good to me :)

@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 17, 2022
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 17, 2022
@mui-bot
Copy link

mui-bot commented Jan 17, 2022

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 138.8 248.6 229.7 201.74 48.604
Sort 100k rows ms 377.7 542.2 491.9 478.6 58.866
Select 100k rows ms 133.3 262.3 174.8 188.22 42.651
Deselect 100k rows ms 98.3 221.5 162.6 145.64 44.31

Generated by 🚫 dangerJS against a50d851

@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 18, 2022
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 19, 2022
@m4theushw m4theushw merged commit d1b5a08 into mui:master Jan 19, 2022
@m4theushw m4theushw deleted the replace-mui-styles branch January 19, 2022 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants