Skip to content

[material] Remove MuiTouchRipple from theme component types#47849

Merged
siriwatknp merged 3 commits intomui:masterfrom
siriwatknp:fix/remove-touch-ripple-theme-types-28551
Feb 26, 2026
Merged

[material] Remove MuiTouchRipple from theme component types#47849
siriwatknp merged 3 commits intomui:masterfrom
siriwatknp:fix/remove-touch-ripple-theme-types-28551

Conversation

@siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Feb 24, 2026

Closes #28551

Breaking Changes

Remove MuiTouchRipple from the theme components types (ComponentsProps, ComponentsOverrides, and ComponentsVariants).

TouchRipple has been an internal component since v5 and never consumed theme overrides or default props, so the types were misleading — users could set MuiTouchRipple in the theme but it had no effect.

Changes

  • Removed MuiTouchRipple entry from ComponentsPropsList (props.ts)
  • Removed MuiTouchRipple entry from ComponentNameToClassKey (overrides.ts)
  • Removed MuiTouchRipple entry from Components (components.ts)
  • Removed unused TouchRippleProps and TouchRippleClassKey imports
  • Added migration guide entry in upgrade-to-v9.md with workaround via MuiButtonBase styleOverrides

TouchRipple has been internal since v5 and never consumed theme
overrides or defaultProps, so the types were misleading.

Closes mui#28551
@mui-bot
Copy link

mui-bot commented Feb 24, 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 02fb2de

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Feb 24, 2026
Signed-off-by: Siriwat K <siriwatkunaporn@gmail.com>
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Feb 24, 2026
@siriwatknp siriwatknp added breaking change Introduces changes that are not backward compatible. v9.x package: material-ui Specific to Material UI. labels Feb 25, 2026
@siriwatknp siriwatknp merged commit ccc0b89 into mui:master Feb 26, 2026
26 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. v9.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Button ripple not using MuiTouchRipple styles from custom theme

3 participants