-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[TimePicker] Migrate ClockPicker to emotion #26389
Conversation
Details of bundle changes (experimental) @material-ui/lab: parsed: +0.08% , gzip: -0.10% 😍 |
refInstanceof: window.HTMLDivElement, | ||
muiName: 'MuiClockPicker', | ||
// cannot test reactTestRenderer because of required context | ||
testRootOverrides: null, |
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.
This component does not have root
slot.
test/utils/describeConformanceV5.js
Outdated
@@ -201,6 +205,38 @@ function testThemeStyleOverrides(element, getOptions) { | |||
).to.toHaveComputedStyle(testStyle); | |||
} | |||
}); | |||
|
|||
it("respect theme's styleOverrides specific slot", function test() { |
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.
add new test for specific slot. @mnajdova should it be another PR or this PR is fine?
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.
Let's handle this in a separate PR. We can disable this test for the component with Todo and handle it in a follow up. I wouldn't add this logic in the describeConformance
as it is not a conformant thing :)
We should not make Now that this is the last component from the migration to @emotion (good job for taking this to the finish line @siriwatknp), we can revisit the code debt that we left, by resolving the Todos. |
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.
Last one done 🎉 great work @siriwatknp
Closes #24405 🎉