Skip to content

v5.0.0-alpha.31

Pre-release
Pre-release
Compare
Choose a tag to compare
@mnajdova mnajdova released this 20 Apr 14:02
b061319

Apr 20, 2021

Big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:

  • 👩‍🎤 Migrate 4 components to emotion.
  • 💥 Resume work on the breaking changes, aim for v5.0.0-beta.0 in the next coming months.
  • And many more 🐛 bug fixes and 📚 improvements.

@material-ui/[email protected]

Breaking changes

  • [FormControl] Change default variant from standard to outlined (#24895) @petyosi
    Standard has been removed from the Material Design guidelines. This codemod will automatically update your code.

    -<FormControl value="Standard" />
    -<FormControl value="Outlined" variant="outlined" />
    +<FormControl value="Standard" variant="standard" />
    +<FormControl value="Outlined" />
  • [Menu] The selectedMenu variant will not vertically align the selected item with the anchor anymore. (#25691) @m4theushw

  • [Popover] Remove the getContentAnchorEl prop to simplify the positioning logic. (#25691) @m4theushw

  • [Select] Change default variant from standard to outlined (#24895) @petyosi
    Standard has been removed from the Material Design guidelines. This codemod will automatically update your code.

    -<Select value="Standard" />
    -<Select value="Outlined" variant="outlined" />
    +<Select value="Standard" variant="standard" />
    +<Select value="Outlined" />

Changes

@material-ui/[email protected]

Breaking changes

  • [Pickers] Rename DayPicker to CalendarPicker (#25810) @eps1lon
    -import DayPicker from '@material-ui/lab/DayPicker';
    +import CalendarPicker from '@material-ui/lab/CalendarPicker';
    
    createMuiTheme({
      components: {
    -   MuiDayPicker: {},
    +   MuiCalendarPicker: {},
      }
    })
  • [Pickers] Rename PickersCalendarSkeleton to CalendarPickerSkeleton (#25679) @eps1lon
    -import PickersCalendarSkeleton from '@material-ui/lab/PickersCalendarSkeleton';
    +import CalendarPickerSkeleton from '@material-ui/lab/CalendarPickerSkeleton';
  • [Pickers] Rename `date` `view` to `day` (#25685) @eps1lon
    -<DatePicker openTo="date" views={['date', 'month']} />
    +<DatePicker openTo="day" views={['day', 'month']} />

Changes

@material-ui/[email protected]

@material-ui/[email protected]

  • [unstyled] Convert generateUtilityClass(es) to TypeScript (#25753) @eps1lon

Docs

Core

All contributors of this release in alphabetical order: @ahmed-28, @catchanuj, @dtassone, @eps1lon, @ifndefdeadmau5, @jqrun, @m4theushw, @MieleVL, @mnajdova, @npandrei, @oliviertassinari, @petyosi, @robphoenix, @saeedeyvazy, @shakatoday, @siriwatknp, @vicasas, @viditrv123, @Vikram710