-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Update Material-UI 4.x #5278
Update Material-UI 4.x #5278
Conversation
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Mike Murray <[email protected]>
Theme.spacing() is now a function. Signed-off-by: Mike Murray <[email protected]>
`spacing` is now from 0 - 10, where `3 * base spacing unit of 8` will still equal `24` Signed-off-by: Mike Murray <[email protected]>
`spacing` is now from 0 - 10, where `1 * base spacing unit of 8` will still equal `8` Signed-off-by: Mike Murray <[email protected]>
`spacing` is now from 0 - 10, where `5 * base spacing unit of 8` will still equal `40` Signed-off-by: Mike Murray <[email protected]>
0b9e30d
to
e660e8d
Compare
The remaining issues I see seem to be some icon size and list item spacing issues. |
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Mike Murray <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good. Made a comment about MUI version inline.
Signed-off-by: Mike Murray <[email protected]>
Signed-off-by: Erik Kieckhafer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a couple updates to change spacing sizes in a couple files that were missed, but everything looks good after those couple changes 👍
Signed-off-by: Erik Kieckhafer <[email protected]>
Impact: major
Type: feature|chore
Issue
MUI 4.0 release a few months back and adds some refinements to an already super useful library. We were on 3.9 previously.
Solution
Breaking changes
theme.spacing.unit
is will betheme.spacing()
. Updated all our uses oftheme.spacing.unit
totheme.spacing()
. This will be a breaking change for v5.0-10
which are multiples of the base spacing unit of 8. Values about 10 with show a warning in the console.checkboxes
andicon buttons
will need<TableCell paddingCheckbox>
or<TableCell paddingNone>
, otherwise the rows will be much taller than necessary.I say these are mostly visual breaking changes. The app should run with maybe some extra padding or warnings to update to the new features for older plugins.
Testing