-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
[List] Update to match the specification #15339
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
[List] Update to match the specification #15339
Conversation
25c9e6c to
bc5b77d
Compare
|
@material-ui/core: parsed: -0.23% 😍, gzip: -0.16% 😍 Details of bundle changes.Comparing: 71d4ebe...af3b825
|
479b58e to
3992309
Compare
f143cc4 to
32e5846
Compare
e23f166 to
14dc2be
Compare
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.
That's some nice cleanup
ee4567f to
4a9254f
Compare
| root: { | ||
| flex: '1 1 auto', | ||
| minWidth: 0, | ||
| padding: '0 16px', |
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.
@oliviertassinari We are migrating v3 -> v4 and here and there paddings get removed breaking some layout
is there any particular reason why these changes were applied?
Do we know how many components undergone such style adjustments?
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 don't remember, nor I have the time to look at it. We encourage to have visual regression tests when upgrading
Closes #6098
Closes #14752 the padding is identical: 16px.
Breaking changes
Rework the list components to match the specification:
ListItemAvatarcomponent is required when using an avatarListItemIconcomponent is required when using a left checkboxedgeproperty should be set on the icon buttons.