v1.0.0-rc.10
We apologize for long break between releases. But we have done a lot inside ⭐️
Big thanks to 6 contributors, that makes this release possible ❤️
Here is what's changed:
Breaking changes
We have redone forwarding refs logic with the new React's api. So no more pickerRef
prop
<DatePicker
- pickerRef={node => { this.picker = node }}
+ ref={node => { this.picker = node }}
/>
Features
- We have moved from inheritance to composition and providing our internal hoc for using any pickers sub-component (read more here) @dmtrKovalenko
- Accept date on text field blur instead of on any successful parse. @LastDreamer
- Introduce new TimePicker view with seconds. Use
seconds
prop @baig - Switched to new lifecycle components #422
- Accept react components for messages and labels #387
- Allow to disable keyboard event listener by setting
allowKeyboardControl
to false.
Fixes
- Make calendar keyboard event listener disabled by default if its used not under modal #412
- Fix that autoOk prop break keyboard input #432
- Fix not applying disabled effect for keyboard button if textfield disabled #452
- [ts] Fix missing
onKeyDown
typescript property forDateTextFieldProps
@ahmad Ilaiwi - [ts] Fix missing
todayLabel
andshowTodayButton
for pickers props @tjaskula