npm @mui/material 6.0.0-beta.5

latest releases: 6.1.6, 6.1.5, 6.1.4...
3 months ago

Aug 8, 2024

A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:

  • Remove some deprecated props from the ListItem component (#41566) @thathva
  • Bumped the minimum supported version of TypeScript (#43116) @mnajdova

@mui/material@6.0.0-beta.5

BREAKING CHANGES

  • ​[material-ui][ListItem] Removing deprecated props (#41566) @thathva

    ListItem's props autoFocus, button, disabled, and selected, deprecated in v5, have been removed. To replace the button prop, use ListItemButton instead. The other removed props are available in the ListItemButton component as well.

    -<ListItem button />
    +<ListItemButton />

    Use this codemod to migrate your project to the ListItemButton component:

    npx @mui/codemod@next v6.0.0/list-item-button-prop <path/to/folder>

    As the ListItem no longer supports these props, the class names related to these props were removed. You should use the listItemButtonClasses object instead.

    -import { listItemClasses } from '@mui/material/ListItem';
    +import { listItemButtonClasses } from '@mui/material/ListItemButton';
    
    - listItemClasses.button
    + listItemButtonClasses.root
    
    - listItemClasses.focusVisible
    + listItemButtonClasses.focusVisible
    
    - listItemClasses.disabled
    + listItemButtonClasses.disabled
    
    - listItemClasses.selected
    + listItemButtonClasses.selected

Changes

  • ​[material-ui][Autocomplete] Fix default value for multiple mode getting redefined with React 19 (#43189) @DiegoAndai
  • ​[material-ui] Merge CssVarsProvider into ThemeProvider (#43115) @siriwatknp
  • ​[material-ui] Make tests compatible with React 19 (#43155) @DiegoAndai
  • ​[material-ui] Refine Blog template (#42825) @zanivan
  • ​[material-ui] Element ref access React 19 compatibility (#43132) @DiegoAndai
  • ​[material-ui][mui-system] Add support for version runtime checks (#43190) @DiegoAndai

@mui/material-pigment-css@6.0.0-beta.5

@mui/codemod@6.0.0-beta.5

Docs

Core

All contributors of this release in alphabetical order: @aarongarciah, @AbdurRahman2004, @alexfauquette, @DiegoAndai, @Janpot, @joserodolfofreitas, @LukasTy, @michaldudak, @mnajdova, @oliviertassinari, @prakhargupta1, @samuelsycamore, @siriwatknp, @thathva, @Vxee, @zanivan, @ZeeshanTamboli

Don't miss a new material release

NewReleases is sending notifications on new releases.