Skip to content

[icons] Remove legacy *Outline icons#48116

Merged
mj12albert merged 3 commits into
mui:masterfrom
mj12albert:chore/remove-legacy-outline-icons
Apr 2, 2026
Merged

[icons] Remove legacy *Outline icons#48116
mj12albert merged 3 commits into
mui:masterfrom
mj12albert:chore/remove-legacy-outline-icons

Conversation

@mj12albert

Copy link
Copy Markdown
Member

Closes #47941

@mj12albert mj12albert added breaking change Introduces changes that are not backward compatible. scope: icons Changes related to the icons. labels Mar 27, 2026
@mui-bot

mui-bot commented Mar 27, 2026

Copy link
Copy Markdown

Netlify deploy preview

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 132c9cb

@mj12albert mj12albert force-pushed the chore/remove-legacy-outline-icons branch from 18238f8 to fb438a6 Compare March 27, 2026 15:41
@mj12albert mj12albert force-pushed the chore/remove-legacy-outline-icons branch from fb438a6 to 92a2728 Compare March 27, 2026 15:51
@mj12albert mj12albert marked this pull request as ready for review March 27, 2026 20:40
@mj12albert

Copy link
Copy Markdown
Member Author

@siriwatknp would you mind double-checking this, I don't think I've really touched the icons package before 🙏

@siriwatknp siriwatknp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM — all 23 legacy *Outline icon removals are clean, internal usages migrated, guard tests added, and migration docs are clear. No remaining references in the codebase.

@mj12albert mj12albert merged commit 709d924 into mui:master Apr 2, 2026
23 checks passed
cursor Bot pushed a commit to opencost/opencost-ui that referenced this pull request May 27, 2026
Bumps the MUI v9 stack together so peer dependencies line up:
- @mui/material 7.3.9 -> 9.0.1
- @mui/icons-material 7.3.9 -> 9.0.1
- @mui/x-date-pickers 8.27.2 -> 9.3.0  (8.x peer-pins @mui/material@^7)

Replaces dependabot PR #245, which only bumped @mui/material and
therefore failed npm install with peer-dep conflicts against
@mui/icons-material@7.3.9 (and would have hit @mui/x-date-pickers@8 too).

### v9 breaking change handled

The v9.0.0-beta.1 release removed the legacy `*Outline` icon aliases
(see mui/material-ui#48116). All call sites that imported
`DeleteOutline` were migrated to `DeleteOutlined`:

- app/routes/dashboard-list.tsx
- app/components/report-list-table.tsx
- app/components/report-builder-side-panel.tsx (3 call sites)

The `*Outlined` variants are the canonical Material Symbols name and
have been available since v5; the legacy `*Outline` aliases are now gone.

### Notes

- No Grid `direction='column'/'column-reverse'` usages exist in the
  codebase, so the v9.0.0-beta.1 Grid change does not apply.
- The only ListItemIcon with a hardcoded minWidth (Nav/NavItem.jsx) uses
  sx overrides, so the v9 theme-spacing default does not affect it.
- @mui/styles@^6.5.0 has no peer dep on @mui/material and continues to
  install cleanly alongside v9.
- date-fns@^4.1.0 is supported by @mui/x-date-pickers@^9.3.0.

### Validation

- `npm install` succeeds; `found 0 vulnerabilities`.
- `npm run build` (new UI) passes.
- `npm run build:legacy` passes.
- `npx tsc --noEmit` shows no new errors over main (pre-existing errors
  in app/routes/legacy/external-costs.tsx are unchanged).

Signed-off-by: cursor-agent[bot] <cursor-agent[bot]@users.noreply.github.com>

Co-authored-by: Alex Meijer <ameijer@users.noreply.github.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
cursor Bot pushed a commit to opencost/opencost-ui that referenced this pull request Jun 2, 2026
Bumps the MUI v9 stack together so peer dependencies line up:
- @mui/material 7.3.9 -> 9.0.1
- @mui/icons-material 7.3.9 -> 9.0.1
- @mui/x-date-pickers 8.27.2 -> 9.3.0  (8.x peer-pins @mui/material@^7)

Replaces dependabot PR #245, which only bumped @mui/material and
therefore failed npm install with peer-dep conflicts against
@mui/icons-material@7.3.9 (and would have hit @mui/x-date-pickers@8 too).

Rebased on top of recently-merged main (which includes #259/#260/#261).

### v9 breaking change handled

The v9.0.0-beta.1 release removed the legacy `*Outline` icon aliases
(see mui/material-ui#48116). All call sites that imported
`DeleteOutline` were migrated to `DeleteOutlined`:

- app/routes/dashboard-list.tsx
- app/components/report-list-table.tsx
- app/components/report-builder-side-panel.tsx (3 call sites)

The `*Outlined` variants are the canonical Material Symbols name and
have been available since v5; the legacy `*Outline` aliases are now gone.

### Notes

- No Grid `direction='column'/'column-reverse'` usages exist in the
  codebase, so the v9.0.0-beta.1 Grid change does not apply.
- The only ListItemIcon with a hardcoded minWidth (Nav/NavItem.jsx) uses
  sx overrides, so the v9 theme-spacing default does not affect it.
- @mui/styles@^6.5.0 has no peer dep on @mui/material and continues to
  install cleanly alongside v9.
- date-fns@^4.1.0 is supported by @mui/x-date-pickers@^9.3.0.

### Validation

- `npm install` succeeds; `found 0 vulnerabilities`.
- `npm run build` (new UI) passes.
- `npm run build:legacy` passes.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Alex Meijer <ameijer@users.noreply.github.com>
@mj12albert mj12albert deleted the chore/remove-legacy-outline-icons branch June 3, 2026 14:28
nicolasmattelaer pushed a commit to nicolasmattelaer/opencost-ui that referenced this pull request Jun 11, 2026
Bumps the MUI v9 stack together so peer dependencies line up:
- @mui/material 7.3.9 -> 9.0.1
- @mui/icons-material 7.3.9 -> 9.0.1
- @mui/x-date-pickers 8.27.2 -> 9.3.0  (8.x peer-pins @mui/material@^7)

Replaces dependabot PR opencost#245, which only bumped @mui/material and
therefore failed npm install with peer-dep conflicts against
@mui/icons-material@7.3.9 (and would have hit @mui/x-date-pickers@8 too).

Rebased on top of recently-merged main (which includes opencost#259/opencost#260/opencost#261).

### v9 breaking change handled

The v9.0.0-beta.1 release removed the legacy `*Outline` icon aliases
(see mui/material-ui#48116). All call sites that imported
`DeleteOutline` were migrated to `DeleteOutlined`:

- app/routes/dashboard-list.tsx
- app/components/report-list-table.tsx
- app/components/report-builder-side-panel.tsx (3 call sites)

The `*Outlined` variants are the canonical Material Symbols name and
have been available since v5; the legacy `*Outline` aliases are now gone.

### Notes

- No Grid `direction='column'/'column-reverse'` usages exist in the
  codebase, so the v9.0.0-beta.1 Grid change does not apply.
- The only ListItemIcon with a hardcoded minWidth (Nav/NavItem.jsx) uses
  sx overrides, so the v9 theme-spacing default does not affect it.
- @mui/styles@^6.5.0 has no peer dep on @mui/material and continues to
  install cleanly alongside v9.
- date-fns@^4.1.0 is supported by @mui/x-date-pickers@^9.3.0.

### Validation

- `npm install` succeeds; `found 0 vulnerabilities`.
- `npm run build` (new UI) passes.
- `npm run build:legacy` passes.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Alex Meijer <ameijer@users.noreply.github.com>
Signed-off-by: nmattela <nicolas.bruno.mattelaer@vub.be>
nicolasmattelaer pushed a commit to nicolasmattelaer/opencost-ui that referenced this pull request Jun 11, 2026
Bumps the MUI v9 stack together so peer dependencies line up:
- @mui/material 7.3.9 -> 9.0.1
- @mui/icons-material 7.3.9 -> 9.0.1
- @mui/x-date-pickers 8.27.2 -> 9.3.0  (8.x peer-pins @mui/material@^7)

Replaces dependabot PR opencost#245, which only bumped @mui/material and
therefore failed npm install with peer-dep conflicts against
@mui/icons-material@7.3.9 (and would have hit @mui/x-date-pickers@8 too).

Rebased on top of recently-merged main (which includes opencost#259/opencost#260/opencost#261).

### v9 breaking change handled

The v9.0.0-beta.1 release removed the legacy `*Outline` icon aliases
(see mui/material-ui#48116). All call sites that imported
`DeleteOutline` were migrated to `DeleteOutlined`:

- app/routes/dashboard-list.tsx
- app/components/report-list-table.tsx
- app/components/report-builder-side-panel.tsx (3 call sites)

The `*Outlined` variants are the canonical Material Symbols name and
have been available since v5; the legacy `*Outline` aliases are now gone.

### Notes

- No Grid `direction='column'/'column-reverse'` usages exist in the
  codebase, so the v9.0.0-beta.1 Grid change does not apply.
- The only ListItemIcon with a hardcoded minWidth (Nav/NavItem.jsx) uses
  sx overrides, so the v9 theme-spacing default does not affect it.
- @mui/styles@^6.5.0 has no peer dep on @mui/material and continues to
  install cleanly alongside v9.
- date-fns@^4.1.0 is supported by @mui/x-date-pickers@^9.3.0.

### Validation

- `npm install` succeeds; `found 0 vulnerabilities`.
- `npm run build` (new UI) passes.
- `npm run build:legacy` passes.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Alex Meijer <ameijer@users.noreply.github.com>
Signed-off-by: nmattela <nicolas.bruno.mattelaer@vub.be>
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: icons Changes related to the icons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs] Incorrect import statement in click-to-copy for InfoOutline icon

4 participants