Skip to content

Conversation

@boutahlilsoufiane
Copy link
Contributor

@boutahlilsoufiane boutahlilsoufiane commented Jan 23, 2022

Fix #29385

This fixes the problem of not being able to change the style of internal components despite passing the prop sx. The problem happens because of using the option skipSx. In order to fix that we removed the option skipSx from all components and we removed the option from the utility styled.

Note:
I’m not sure about the changes in the file TYPESCRIPT_CONVENTION.md.

@mui-bot
Copy link

mui-bot commented Jan 23, 2022

Details of bundle changes

@material-ui/lab: parsed: -0.19% 😍, gzip: -0.06% 😍

Generated by 🚫 dangerJS against 9acf56c

@mnajdova mnajdova requested a review from hbjORbj January 24, 2022 09:26
@boutahlilsoufiane
Copy link
Contributor Author

Hi @mnajdova, thanks a lot for the quick review, I really appreciate your time and your effort. Your review encouraged me to go ahead in the PR.

@mnajdova mnajdova changed the title Removing skipSx [pickers] Enable the sx props on all components Jan 25, 2022
Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

Looks great. Thanks a lot for the contribution

@mnajdova
Copy link
Member

@flaviendelangle FYI

@flaviendelangle
Copy link
Member

Thanks !
I'll mark this PR on my migration to X to replicate all the changes

@danilo-leal danilo-leal added the scope: pickers Changes related to the date/time pickers. label Jan 25, 2022
@boutahlilsoufiane
Copy link
Contributor Author

Hi @mnajdova, thanks a lot for accepting the changes.

@mnajdova mnajdova merged commit 0436605 into mui:master Jan 26, 2022
@mnajdova mnajdova changed the title [pickers] Enable the sx props on all components [pickers] Enable the sx prop on all components Jan 26, 2022
wladimirguerra pushed a commit to wladimirguerra/material-ui that referenced this pull request Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: pickers Changes related to the date/time pickers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DatePicker] The style for Paper not working

5 participants