npm / @mui/internal-test-utils
@mui/internal-test-utils
What changed in @mui/internal-test-utils 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-01.
60 breaking1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@mui/internal-test-utils 961 changes
Breaking changes 60
Removed the components and componentsProps props; use slots and slotProps instead.
Removed ChipProps, componentsProps, ListboxComponent, ListboxProps, PaperComponent, PopperComponent, and renderTags; use slotProps, slots, and renderValue as appropriate.
When rendering a TextField from Autocomplete, the params shape changed to match the new TextField API; use params.slotProps.htmlInput instead of params.inputProps.
Removed imgProps; move its values to slotProps.img.
Removed componentsProps; use slotProps, with the additionalAvatar key renamed to surplus.
Removed components, componentsProps, and TransitionComponent; use slots and slotProps instead.
Removed components and componentsProps; use slots and slotProps instead.
Removed deprecated CSS classes for variant, color, size, and icon size combinations; use the documented compound selectors. Theme overrides should use variants in the root override.
Removed deprecated grouped CSS classes; use the documented compound selectors. Theme overrides should use variants in the root override.
Removed titleTypographyProps and subheaderTypographyProps; use slotProps.title and slotProps.subheader instead.
Removed inputProps and inputRef; use slotProps.input and slotProps.input.ref instead.
The deprecated Tooltip prop was removed; use slots instead.
The deprecated Tooltip prop was removed; use slotProps instead.
The deprecated Tabs CSS class was removed; use the list class instead.
The deprecated Tabs CSS class was removed; combine the list and vertical classes instead.
The deprecated TextField prop was removed; use slotProps.formHelperText instead.
The deprecated ToggleButtonGroup CSS class was removed; use .MuiToggleButtonGroup-horizontal > .MuiToggleButtonGroup-grouped instead.
The deprecated ToggleButtonGroup CSS class was removed; use .MuiToggleButtonGroup-vertical > .MuiToggleButtonGroup-grouped instead.
The deprecated TableSortLabel CSS class was removed; combine MuiTableSortLabel-directionAsc and MuiTableSortLabel-icon instead.
The deprecated TableSortLabel CSS class was removed; combine MuiTableSortLabel-directionDesc and MuiTableSortLabel-icon instead.
The deprecated Tab CSS class was removed; use the icon class instead.
The deprecated TextField prop was removed; use slotProps.inputLabel instead.
The deprecated TextField prop was removed; use slotProps.input instead.
The deprecated TextField prop was removed; use slotProps.htmlInput instead.
Removed primaryTypographyProps and secondaryTypographyProps; use slotProps.primary and slotProps.secondary instead.
Removed MenuListProps, PaperProps, and TransitionProps; use the corresponding slotProps fields instead. Apply the same migration when passing them through Select's MenuProps.
Removed BackdropComponent, BackdropProps, components, and componentsProps; use slots and slotProps instead.
Removed components and componentsProps; use slots and slotProps instead.
Removed the components prop; use slots instead.
Removed textPrimary, textSecondary, outlinedPrimary, and outlinedSecondary classes; combine the base style and color classes instead.
The deprecated Typography CSS class was removed; target paragraph elements with .MuiTypography-root:where(p) instead.
The deprecated Typography prop was removed; use sx to add a margin bottom instead.
Removed BackdropComponent, BackdropProps, PaperProps, TransitionComponent, and TransitionProps; use slots and slotProps instead.
Removed components and componentsProps; use slots and slotProps instead.
The deprecated Tooltip prop was removed; use slots.popper instead.
The deprecated Tooltip prop was removed; use slotProps.popper instead.
Removed inputProps and inputRef; use slotProps.input and slotProps.input.ref instead.
Removed IconContainerComponent; use slotProps.icon.component instead.
The deprecated Tabs prop was removed; use slots.scrollButtons instead.
Removed iconFilled, iconOutlined, and iconStandard; use sibling selectors in the root override, including for theme styleOverrides.
The deprecated TextField prop was removed; use slotProps.select instead.
Removed components and componentsProps; use slots and slotProps instead.
Removed thumb color and size classes; use selectors combining the color or size class with .MuiSlider-thumb.
The deprecated Tabs slot name was removed; use slots.endScrollButtonIcon instead.
The deprecated Tabs slot name was removed; use slots.startScrollButtonIcon instead.
Removed ClickAwayListenerProps, ContentProps, TransitionComponent, and TransitionProps; use slotProps and slots instead.
Removed deprecated props; use slots and slotProps instead.
Removed deprecated props; use slotProps.fab and slotProps.tooltip for Fab and tooltip configuration.
Removed lineHorizontal and lineVertical classes; use orientation selectors or the variants array in the line override.
Removed TransitionComponent and TransitionProps; use slots.transition and slotProps.transition instead.
Removed componentsProps, StepIconComponent, and StepIconProps; use slotProps and slots.stepIcon instead.
Removed BackdropComponent, BackdropProps, and SwipeAreaProps; use slots and slotProps instead.
Removed inputProps and inputRef; use slotProps.input and slotProps.input.ref instead.
Deprecated system props were removed from Box, DialogContentText, Grid, Link, Stack, Typography, TimelineContent, and TimelineOppositeContent; use sx instead.
The deprecated Tabs prop was removed; use slotProps.indicator instead.
Removed backIconButtonProps, nextIconButtonProps, and SelectProps; use the corresponding slotProps fields instead.
The deprecated Tabs prop was removed; use slotProps.scrollButtons instead.
The deprecated Tooltip prop was removed; use slots.transition instead.
The deprecated Tooltip prop was removed; use slotProps.transition instead.
Removed getTagProps and focusedTag from the hook return value; use getItemProps and focusedItem instead.
Fixes and other changes 1
Props such as color are now correctly forwarded to the element rendered via the component prop instead of being consumed by the component.