Skip to content

Releases: mui/material-ui-pickers

v3.2.3

21 Aug 06:52
Compare
Choose a tag to compare

This is another patch release. We are still on the way to range datepicker.
meme

Fixes/Enhancements

  • Do not allow input any chars when input is empty (#1265)
  • [variant=inline] Dispatch onChange before onClose (#1264)
  • [variant=inline]: Don't force any width on the paper (#1248) (#1261)
  • Remove direct @material-ui/core imports (#1236)
  • Reduce bundlesize for 1kb by refactoring
  • [a11y] Open picker by space click (#1266)
    ...and many more documentation improvements

v3.2.2

04 Aug 08:52
Compare
Choose a tag to compare

Release with the fixes for the previous release. Here is the list of changes

Fixes

  • Fix server-side imports and jest test failures by adding proper @babel/runtime imports
  • [TimePicker] Fix time position in landscape orientation (#1224)
  • [docs] Add react hook additional param warning note (#1220)

v3.2.1

30 Jul 20:16
Compare
Choose a tag to compare

Big thanks to 4 contributors that make this release possible 👍

Features

We have enabled treeshaking by moving our build system from rollup to plain babel esm export.
Treeshaking should work out of the box with webpack right now.

We are intent on moving back to rollup once everything will be right

Fixes / Ehancements

  • Fix crashing on orientation change for some old Android devices (#1207)
  • Support auto detection of orientation change for IOS Safari (#1207)
  • Add inputProps to the outputted typescript definitions (#1208)
  • Fix dispatching 2 onChange events with variant="inline" (#1209)
  • Add shorthand hook for static state managment (#1212)
  • Fix case when both clear button & showToday button (#1211)
  • [docs] Update CSS overrides example (#1201) @pschyma
  • [docs] Add redux form integration example (#1189) @igornfaustino
  • [docs] Add releases page (#1210)

v3.2.0

15 Jul 18:54
Compare
Choose a tag to compare

This is a new release of material-ui-pickers. Are you excited?
Here comes orientation support 🎉 . From now pickers will automatically use device orientation and change the layout for a better experience.
image

For now this feature supported only for DatePicker and TimePicker

Features

  • Add variant="static" (#1164)
  • Landscape orientation support (#1177)
  • Custom toolbar component via ToolbarComponent prop (#1182)

Fixes/Enhancements

  • [Calendar] Remove arrows white background on sliding from disabled state
  • Do not show error if input value was cleared symbol by symbol (#1160)
  • Fix keyboard popover position (#1184)
  • [InlineVariant] Do not update value on backdrop click (#1162)
  • [TimePicker] Properly hide separator if views not included (#1161)
  • Do not accept a and p sympbols in not am/pm mode (#1183)
  • [docs] Fix variant prop type displaying, highlight code in 'type'
  • [docs] Add Hijri calendar example (#1153)

Big thanks to everyone who supported this release ❤️

v3.1.2

24 Jun 08:58
Compare
Choose a tag to compare

Release with bugfixes 🐛. Big thanks to everybody who raised an issue 👍

Fixes / Enhancements

  • Fix rerendering loop after clear (#1139)
  • Fix spacing support issues (#1141)
  • Fix invalidLabel prop-type warning
  • Allow passing custom Rifm formater (#1142)
  • [our docs] Fix crashing on changing utils (#1123)

Visual regression with Percy

Also, we are working on confidence. So in this milestone we integrated visual regression with Percy

P.S. Range pickers are coming 🤐

v3.1.1

14 Jun 12:17
Compare
Choose a tag to compare

In this release we have fixed the most painful 🙉 change that landed in v3 - fully controlled components. Right now we return inner state for the datepicker modal.

P.S. Keyboard input stays controlled.

Breaking changes

N/A

Changelog

  • Return inner state for picker modal (#1095)
  • [#1111] Properly rely on views order when switching views (#1116)
  • [#1093] Spread emptyLabel from passing to textField
  • Fix crashing in IE 11 (#1117)
  • A lot of documentation changes. New examples and guides. 📝

v3.1.0

04 Jun 06:44
Compare
Choose a tag to compare

Fixing backward compatibility issues of v3.0.0

Features

  • Async month changed callbacks (#1052)

From now it is possible to return a promise from onMonthChange and Datepicker will render loading indicator till it will not be resolved

<DatePicker
  onMonthChange={async () => {
     const availableDates = await fetch()
     setState(availableDates)
  })
/>
  • [DatePicker] add strictCompareDates prop (#1067)
    It is used to make datepicker compare not start/end of day but the actual passed timestamp

Fixes / Enhancements

Grand v3.0.0

23 May 18:58
Compare
Choose a tag to compare

We are thrilled to release stable v3 of @material-ui/pickers.

This is really great release with a lot of changes, but they only made this project better.

Highlights

  • Bundlesize ⬇️ 6kb gzip
  • Enterly new state managment
  • Hooks povered api
    ...and many more improvements

Changelog

There is a lot of changes. So the complete updating guide is here

Thanks a lot for all our !70 contributors and 4 bakers. They made all this work possible

v3.0.0-rc.0

21 May 13:12
Compare
Choose a tag to compare
v3.0.0-rc.0 Pre-release
Pre-release

This is final pre-release version of material-ui-pickers v3. 🔥

This release comes with great refactoring that saved us 1.5kb gzip ⬇️ by grand views refactoring.
Right now all components available to take views and openTo to customize displayed views.

Change log 🎉

  • Views refactoring
  • [#1033] Properly handle disabled prop
  • Memoize picker state props
  • [#1033] Properly handle disabled prop
  • [#1031] Fix className of ClockNumber selected state (#1045)
  • Use react wildcard import rather than default import (#1038)

v2.2.4

01 Mar 21:39
Compare
Choose a tag to compare

📖 Hey everybody! 📖

Here is a new release! We have fixed something, improved something and added something 👍
But we have completely redone our docs site! From scratch! Here:

Docs Changes => https://material-ui-pickers.dev

  • Awesome domain
  • Server side rendering (3 times faster loading, SEO)
  • Markdown powered (much easier to contribute for our awesome contributors)
  • Improved UI (e.g. added autolinking anchors to headers)
  • New colors 😱 looks amazing

Release Changes

  • Feature: onMonthChange and onYearChange callbacks (#935)
  • Bugfix: Rerun labelFunc when new instance is passed (#934)
  • Support views and openTo props for InlineDatePicker and fix openTo behavior (#933, #925, #930)
  • Make todayLabel propTypes consistent with TS typings (#926) @janbejvl

And many more *improvements... *