Skip to content

v4.0.0-alpha.12

Pre-release
Pre-release
Compare
Choose a tag to compare
@dmtrKovalenko dmtrKovalenko released this 04 Aug 09:31
· 8 commits to next since this release

This is the last release of @material-ui/pickers v4-alpha from the https://github.com/mui/material-ui-pickers repository. Starting from this point, we will work on migrating pickers to https://github.com/mui/mui-x repository 😋

Breaking changes

  • [typescript] We made all of our components to be generic. That means that from now type inference works for all the props like renderDay and for side components.
<CalendarView<Dayjs>
  date={dayjs()}
  {...props}
/>

Bugfixes and enhancements

  • [typescript] Fix typing for date values as unknown (by making all components generic)
  • [MonthView] Fix crashing when null was passed to the month selection view
  • [chore] Fix various peer dependency warnings (#2054) @eps1lon
  • [docs] Fix docs colors for v4.0.0-alpha.11 (#2065)