Skip to content

v1.0.0-rc.10

Compare
Choose a tag to compare
@dmtrKovalenko dmtrKovalenko released this 13 Jun 08:30
844796d

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 for DateTextFieldProps @ahmad Ilaiwi
  • [ts] Fix missing todayLabel and showTodayButton for pickers props @tjaskula