Skip to content

Conversation

@ZeeshanTamboli
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli commented Dec 10, 2025

This PR removes the square prop from the Accordion API and its docs. The prop is of the Paper component which is extended by AccordionRoot. It exposed an extra configuration surface that is unnecessary on Accordion itself. If it is provided, it will work. See these tests.

@ZeeshanTamboli ZeeshanTamboli added the scope: accordion Changes related to the accordion. label Dec 10, 2025
@mui-bot
Copy link

mui-bot commented Dec 10, 2025

Netlify deploy preview

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

Bundle size report

Bundle Parsed size Gzip size
@mui/material ▼-50B(-0.01%) ▼-30B(-0.02%)
@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 14d495c

@ZeeshanTamboli ZeeshanTamboli added the type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. label Dec 11, 2025
@ZeeshanTamboli ZeeshanTamboli changed the title [DRAFT][accordion] Remove additional square prop on Accordion Root [accordion] Remove unncessary handling of square prop on Accordion Root Dec 11, 2025
@ZeeshanTamboli ZeeshanTamboli changed the title [accordion] Remove unncessary handling of square prop on Accordion Root [accordion] Remove unnecessary handling of square prop on Accordion Root Dec 11, 2025
@ZeeshanTamboli ZeeshanTamboli marked this pull request as ready for review December 11, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants