Skip to content

[docs] Remove generated CSS utility component doc#48383

Merged
mj12albert merged 2 commits intomui:masterfrom
mj12albert:docs-remove-cssComponent
Apr 29, 2026
Merged

[docs] Remove generated CSS utility component doc#48383
mj12albert merged 2 commits intomui:masterfrom
mj12albert:docs-remove-cssComponent

Conversation

@mj12albert
Copy link
Copy Markdown
Member

@mj12albert mj12albert commented Apr 28, 2026

All the direct system props were removed in v9, the cssComponent option for the docs generator is obsolete now

Closes #48382

@mj12albert mj12albert added docs Improvements or additions to the documentation. scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). labels Apr 28, 2026
@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented Apr 28, 2026

Bundle size

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

Deploy preview


Check out the code infra dashboard for more information about this PR.

@mj12albert mj12albert marked this pull request as ready for review April 28, 2026 20:36
Copy link
Copy Markdown
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

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

Looks nice. 👍
A couple Codex suggestions:

  1. Medium: docs/data/system/getting-started/usage/usage.md#L165-L174 still tells users that Box, Stack, Typography, and Grid “accept MUI System properties as props”. That directly contradicts both this PR’s rationale and the existing v9 migration guide at docs/data/system/migration/upgrade-to-v9/upgrade-to-v9.md#L23-L45, which says those deprecated system props were removed in favor of sx. After this lands, the API pages and Box docs will be corrected, but the getting-started guide will still send users to a removed API.

  2. Low: skills/material-ui-styling/AGENTS.md#L120-L127 still instructs agents that Box, Stack, Typography, and Grid accept direct system layout props. Since this repo ships agent guidance for automated edits, leaving that file stale means future generated examples and refactors can keep reintroducing the obsolete behavior this PR is trying to scrub.

Assumptions
I’m assuming master is documenting v9 semantics already; that matches the migration guides checked into the repo. I didn’t find any remaining runtime consumers of cssComponent in the code paths touched by this PR, so the builder/API/LLM removal itself looks internally consistent.

@mj12albert mj12albert force-pushed the docs-remove-cssComponent branch from f9ff70a to 0186637 Compare April 29, 2026 13:31
@mj12albert
Copy link
Copy Markdown
Member Author

mj12albert commented Apr 29, 2026

A couple Codex suggestions

Updated ~ Box, Stack, Typography, and Grid no longer need to be specifically called out anymore

@mj12albert mj12albert merged commit 4472372 into mui:master Apr 29, 2026
22 checks passed
@mj12albert mj12albert deleted the docs-remove-cssComponent branch April 29, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs] System props in MUI 9

2 participants