Skip to content

[api-docs-builder] Validate slots prop and Slots interface export consistency#47623

Merged
Janpot merged 2 commits intomui:masterfrom
Janpot:api-docs-builder-slots-validation
Jan 16, 2026
Merged

[api-docs-builder] Validate slots prop and Slots interface export consistency#47623
Janpot merged 2 commits intomui:masterfrom
Janpot:api-docs-builder-slots-validation

Conversation

@Janpot
Copy link
Member

@Janpot Janpot commented Jan 15, 2026

As per mui/mui-x#20915 (comment)

Not throwing yet, but only warning if there is a slots prop. We can turn into an error once we've fixed it up for both X and Core.

@mui-bot
Copy link

mui-bot commented Jan 15, 2026

Netlify deploy preview

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

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(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 60ee0f5

@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Jan 15, 2026
@Janpot Janpot changed the title [api-docs-builder] Validate slots prop and XyzSlots export consistency [api-docs-builder] Validate slots prop and Slots interface export consistency Jan 15, 2026
@Janpot Janpot requested a review from alexfauquette January 15, 2026 13:43
@Janpot Janpot merged commit 69d92cb into mui:master Jan 16, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants