material-ui v5.0.0-rc.0 Release Notes

  • 💥 Breaking changes

    • 📦 ​<!-- 33 -->[core] Rename packages (#28049) @mnajdova

    replace @material-ui/* prefix with @mui/*:

      @material-ui/system -> @mui/system
      @material-ui/styles -> @mui/styles
      @material-ui/lab -> @mui/lab
      @material-ui/types -> @mui/types
      @material-ui/styled-engine -> @mui/styled-engine
      @material-ui/styled-engine-sc ->@mui/styled-engine-sc
      @material-ui/private-theming -> @mui/private-theming
      @material-ui/codemod -> @mui/codemod
    

    except these 3 packages that are renamed.

      @material-ui/core => @mui/material        // represents Material Design components.
      @material-ui/icons => @mui/icons-material // represents Material Design icons.
      @material-ui/unstyled => @mui/base        // fully functional components with minimum styles.
    

    Note: @mui/base (previously @material-ui/unstyled) is not the same as @material-ui/core.

    We encourage you to use the codemod for smooth migration.

    🔄 Changes

    • ⚡️ ​<!-- 39 -->[Autocomplete] Update warning for value prop (#27977) @vedadeepta
    • ⚡️ ​<!-- 37 -->[ButtonGroup] Update PropTypes to match augmentable interface (#27944) @aaronlademann-wf
    • ​<!-- 36 -->[CardMedia] Add image role if image prop is specified but no image component is specified (#27676) @eps1lon
    • ​<!-- 10 -->[InputBase] Fix autofill issue (#28070) @mnajdova
    • ​<!-- 08 -->[Tabs] Fix indicator position when tab size changes (ResizeObserver) (#27791) @hbjORbj
    • 🔀 ​<!-- 06 -->[TextareaAutosize] Sync height when the width of the textarea changes (#27840) @hbjORbj
    • ​<!-- 05 -->[ToggleButtonGroup] Add "disabled" prop (#27998) @chetas411
    • ​<!-- 34 -->[core] Export types for module augmentation (#28078) @m4theushw