Skip to content

[TablePagination][TableSortLabel] Remove deprecated props and classes#48060

Merged
siriwatknp merged 5 commits into
mui:masterfrom
siriwatknp:remove-deprecated-table-props
Mar 23, 2026
Merged

[TablePagination][TableSortLabel] Remove deprecated props and classes#48060
siriwatknp merged 5 commits into
mui:masterfrom
siriwatknp:remove-deprecated-table-props

Conversation

@siriwatknp

Copy link
Copy Markdown
Member

Summary

Remove all deprecated props and classes from TablePagination and TableSortLabel.

Breaking changes

TablePagination

  • backIconButtonProps prop removed — use slotProps.actions.previousButton instead
  • nextIconButtonProps prop removed — use slotProps.actions.nextButton instead
  • SelectProps prop removed — use slotProps.select instead

TableSortLabel

  • iconDirectionDesc class removed — combine .MuiTableSortLabel-directionDesc and .MuiTableSortLabel-icon instead
  • iconDirectionAsc class removed — combine .MuiTableSortLabel-directionAsc and .MuiTableSortLabel-icon instead

Codemods available:

npx @mui/codemod@latest deprecations/table-pagination-props <path>
npx @mui/codemod@latest deprecations/table-sort-label-classes <path>

Relates to #47987

@siriwatknp siriwatknp added breaking change Introduces changes that are not backward compatible. package: material-ui Specific to Material UI. labels Mar 23, 2026
@mui-bot

mui-bot commented Mar 23, 2026

Copy link
Copy Markdown

Netlify deploy preview

Bundle size report

Bundle Parsed size Gzip size
@mui/material ▼-247B(-0.05%) ▼-58B(-0.04%)
@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 a57221c

@siriwatknp siriwatknp enabled auto-merge (squash) March 23, 2026 04:52
@siriwatknp siriwatknp merged commit 0970365 into mui:master Mar 23, 2026
23 checks passed
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. package: material-ui Specific to Material UI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants