Skip to content

[accordionsummary] Remove deprecated props#48006

Merged
silviuaavram merged 2 commits intomui:masterfrom
silviuaavram:chore/remove-accordion-deprecated-props-2
Mar 17, 2026
Merged

[accordionsummary] Remove deprecated props#48006
silviuaavram merged 2 commits intomui:masterfrom
silviuaavram:chore/remove-accordion-deprecated-props-2

Conversation

@silviuaavram
Copy link
Member

@silviuaavram silviuaavram commented Mar 17, 2026

Copilot AI review requested due to automatic review settings March 17, 2026 08:32
@silviuaavram silviuaavram added breaking change Introduces changes that are not backward compatible. scope: accordion Changes related to the accordion. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. v9.x labels Mar 17, 2026
@mui-bot
Copy link

mui-bot commented Mar 17, 2026

Netlify deploy preview

Bundle size report

Bundle Parsed size Gzip size
@mui/material ▼-38B(-0.01%) ▼-7B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 02cea34

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the deprecated contentGutters CSS class from AccordionSummary, as part of the v9 upgrade cleanup.

Changes:

  • Removed contentGutters from classes definition, utility class generation, and the useUtilityClasses hook
  • Removed related documentation and translations entries
  • Added migration guide entry in the v9 upgrade docs

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
AccordionSummary.js Removed contentGutters from content slot classes
accordionSummaryClasses.ts Removed contentGutters from interface and generated classes
accordion-summary.json (docs/pages) Removed contentGutters class entry
accordion-summary.json (translations) Removed contentGutters class description
upgrade-to-v9.md Added migration instructions for the removed class

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@silviuaavram silviuaavram merged commit 81f43c3 into mui:master Mar 17, 2026
23 checks passed
@silviuaavram silviuaavram deleted the chore/remove-accordion-deprecated-props-2 branch March 17, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible. scope: accordion Changes related to the accordion. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. v9.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants