v3.1.0
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
- 📝 improve grammar in docs (#1073) @balazsorban44
- Fix time order in RTL DateTimePicker (#1071) (#1072) @Scimonster
- Consume fade correctly for rollup (#1077) @TrySound
- Remove react-event-listener (#1075) @TrySound
- Disable ToolbarButtonOverride, closes #1076 (#1080) @dmtrKovalenko
- Fix inputRef collision, closes #1069 (#1081) @dmtrKovalenko
- [typescript] Fix incorrectly inferred type for keyboard onChange (#1083) @dmtrKovalenko
- Support TextFieldComponent prop (#1087) @dmtrKovalenko
- Support keyboardIcon for v3, closes #1084 (#1085) @dmtrKovalenko