npm @material-ui/styles 5.0.0-alpha.31
v5.0.0-alpha.31

latest releases: 4.11.5, 5.0.0-beta.5, 5.0.0-beta.4...
3 years ago

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/core@5.0.0-alpha.31

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/lab@5.0.0-alpha.31

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/styled-engine@5.0.0-alpha.31

@material-ui/unstyled@5.0.0-alpha.31

  • [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

Don't miss a new styles release

NewReleases is sending notifications on new releases.