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

[Drawer][joy-ui] Apply content styles from theme to content slot #39199

Merged
merged 12 commits into from
Oct 3, 2023

Conversation

sai6855
Copy link
Contributor

@sai6855 sai6855 commented Sep 28, 2023

@sai6855 sai6855 added bug 🐛 Something doesn't work component: drawer This is the name of the generic UI component, not the React module! package: joy-ui Specific to @mui/joy labels Sep 28, 2023
@sai6855 sai6855 changed the title Joy drawer content [Drawer][joy-ui] Apply content styles from theme to content slot Sep 28, 2023
@mui-bot
Copy link

mui-bot commented Sep 28, 2023

Netlify deploy preview

https://deploy-preview-39199--material-ui.netlify.app/

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 803080b

@sai6855 sai6855 marked this pull request as draft September 28, 2023 10:11
@@ -65,5 +65,35 @@ describe('<Drawer />', () => {

expect(getByTestId('content').getAttribute('tabIndex')).to.equal('0');
});

it('should apply content theme styles for content slot', function test() {
Copy link
Member

Choose a reason for hiding this comment

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

I think the test should be in describeConformance.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally yes, but it was skipped due to portal, can't determine the root here

'themeStyleOverrides', // portal, can't determine the root

@sai6855 sai6855 marked this pull request as ready for review September 29, 2023 17:20
@sai6855 sai6855 requested a review from siriwatknp October 1, 2023 03:20
@sai6855
Copy link
Contributor Author

sai6855 commented Oct 2, 2023

@siriwatknp ci is green now

@siriwatknp siriwatknp merged commit 98592b6 into mui:master Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: drawer This is the name of the generic UI component, not the React module! package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[joy-ui][drawer] styleOverrides.content does not work
3 participants