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

[CardHeader] Deprecate *TypographyProps and complete slots, slotProps #44729

Merged
merged 7 commits into from
Jan 10, 2025

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Dec 11, 2024

Part of #41281

close #37585

@siriwatknp siriwatknp added the component: card This is the name of the generic UI component, not the React module! label Dec 11, 2024
@siriwatknp siriwatknp changed the title [CardHeader] Deprecate titleTypographyProps and subheaderTypographyProps [CardHeader] Deprecate *TypographyProps and complete slots, slotProps Dec 11, 2024
@mui-bot
Copy link

mui-bot commented Dec 11, 2024

Netlify deploy preview

CardHeader: parsed: +3.28% , gzip: +2.80%
@material-ui/core: parsed: +0.10% , gzip: +0.08%

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against f93ba1b

@zannager zannager requested a review from DiegoAndai December 11, 2024 13:37
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Dec 20, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 2, 2025
Copy link
Member

@DiegoAndai DiegoAndai left a comment

Choose a reason for hiding this comment

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

Sorry for the delay

packages/mui-material/src/CardHeader/CardHeader.js Outdated Show resolved Hide resolved
packages/mui-material/src/CardHeader/CardHeader.js Outdated Show resolved Hide resolved
@DiegoAndai
Copy link
Member

Seems like we're missing the migration guide section

@@ -80,13 +80,14 @@ const CardHeader = React.forwardRef(function CardHeader(inProps, ref) {
const {
action,
avatar,
className,
Copy link
Member Author

Choose a reason for hiding this comment

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

useSlot already handle the className for root slot.
Confirmed by testClassName in describeConformance() suite.

@siriwatknp
Copy link
Member Author

Seems like we're missing the migration guide section

Thanks for pointing out, added to the migration guide.

@siriwatknp siriwatknp requested a review from DiegoAndai January 9, 2025 10:51
@siriwatknp siriwatknp merged commit 11b3889 into mui:master Jan 10, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: card This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Theme Customization] defaultProps doesn't support deep merge
3 participants