Releases: mui/material-ui-pickers
v1.0.0-beta.4
Features
- Ability to change OK & Cancel button text for all modals
<DatePicker
okLabel="OK"
cancelLabel="Cancel"
/>
Fixes
- Fix not updating of DateText field when passing new material-ui props
v1.0.0-beta.3
Thanks to all contributors 👍
Here are some highlights ✨
Breaking changes
We have moved moment to peer dependencies. So if didnt use moment previously please do
npm i -S moment
Features
- Move moment to peer deps 😄
Fixes
- Fix localization of days of week labels #53 @sakulstra
- Fix closing pickers on mouse up in Firefox
- Fix clock pointer moving by hovering without click in Firefox
Docs
- Add example of changing moment locale
- Adjusted code hightlighting
v1.0.0-beta.2
We have moved to beta 🎉
Big thanks to @noah-potter he made this release possible
Here are some highlights ✨
Features
- Add
renderDay(date, selectedDate, dayInCurrentMonth)
hook, allowed to specify custom renderer for calendar day. - Add
labelFunc(date, invalidLabel)
hook, allowed to specify custom dynamic label for text field
Fixes
- Fix incorrect behavior on focus moving through several pickers in form.
- Remove ability to click onto the disabled field
1.0.0-alpha.13
Thanks to @BGuthrieJr for contributing this release.
This release is just some critical bug fixing.
Here are highlights ✨
- Fix error passing react nodes to custom icons props @BGuthrieJr
- Fix incorrect validation via minDate/maxDate props
v1.0.0-alpha.12
First of all want to thanks @BGuthrieJr he made this release possible 🥇
Here are some highlights ✨
Features
- New way to pass icons to components @BGuthrieJr
<DateTimePicker
dateRangeIcon={<DateIcon />} // can be a component from material-ui-icons
timeIcon={<TimeIcon />}
leftArrowIcon="add_alarm"
rigtArrowIcon="snooze"
/>
Component Fixes / Enhancements
- Fix not working am/pm selection outside the hour view [TimePicker] [DatePicker]
- Fix not applying am/pm without changing time [TimePicker] [DatePicker]
- Fix horizontal scrolling issue for mobile devices
- Fix keyboard focusing on close issue for mobile
v1.0.0-alpha.11
Here are some highlights ✨
Breaking Changes
High order components have been renamed, it may cause test fails
- <DatePickerModal value="" />
+ <DatePickerWrapper value="" />
- <TimePickerModal value="" />
+ <TimePickerWrapper value="" />
- <DateTimePickerModal value="" />
+ <DateTimePickerWrapper value="" />
Fixes
- Fix year reassigning for datetime picker
- Fix incorrect displaying of datetime picker hidden views for FireFox
- Fix not updating pickers state, when value changed outside ( programmatically changing value as state)
v1.0.0-alpha.9
There are some highlights 🃏
Component fixes
- Fix not working disable property for pickers
- Correct handling of null and not parsable dates
v1.0.0-alpha.10
Just a fix of datetime picker unexpected scrolling for material-ui v1.0.0-alpha.19
v1.0.0-alpha.8
Here are some highlights 🌟
Component fixes / enhancements
- Fix invalid prop passed to warning @edidiway
- Add
returnMoment
prop, ability to return vanilla date in onChange - [DatePicker] Auto redirect to date selection on year select
v1.0.0-alpha.7
First of all thanks to contributors, that makes this release possible 👍
There are some highlights
Features
- DateTime picker 😊
- Auto OK and switching view for TimePicker
Component fixes / Enhancements
- Change alignment of dialog actions to match material-ui guidelines @tfuqua
- Change toolbar background in dark theme