Skip to content

[codemod] Add slot key rename to tabs-props codemod and add to README#48035

Merged
siriwatknp merged 3 commits intomui:masterfrom
siriwatknp:tabs-props-codemod-slot-rename
Mar 19, 2026
Merged

[codemod] Add slot key rename to tabs-props codemod and add to README#48035
siriwatknp merged 3 commits intomui:masterfrom
siriwatknp:tabs-props-codemod-slot-rename

Conversation

@siriwatknp
Copy link
Member

Summary

  • Add slots.StartScrollButtonIconslots.startScrollButtonIcon and slots.EndScrollButtonIconslots.endScrollButtonIcon transformations to the tabs-props codemod (JSX and theme defaultProps)
  • Add tabs-props codemod documentation to packages/mui-codemod/README.md
  • Add slot rename diff example to the v9 migration guide

Addresses #48017 (comment)

@mui-bot
Copy link

mui-bot commented Mar 19, 2026

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 684d14d

@siriwatknp siriwatknp changed the title Add slot key rename to tabs-props codemod and document it [codemod] Add slot key rename to tabs-props codemod and add to README Mar 19, 2026
@siriwatknp siriwatknp added package: codemod Specific to codemod. v7.x needs cherry-pick The PR should be cherry-picked to master after merge. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. labels Mar 19, 2026
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

Looks great!

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 19, 2026
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 19, 2026
@siriwatknp siriwatknp merged commit 2ece3e8 into mui:master Mar 19, 2026
23 checks passed
@github-actions
Copy link

Cherry-pick PRs will be created targeting branches: v7.x

@ZeeshanTamboli
Copy link
Member

@siriwatknp Cherry-pick PR wasn't created for this automatically. Maybe due to conflicts with v7. Can you create a PR manually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs cherry-pick The PR should be cherry-picked to master after merge. package: codemod Specific to codemod. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. v7.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants