Releases: rehookify/datepicker
Releases · rehookify/datepicker
React v19 support
- add React V19 to the peerDependencies
- update React to v19
- update all devDependencies to latest
- make e2e more robust
Support for node v16
Back support for node v16 closes #68
Fix createMonth function
- fix createMonth function that leads to bug at the end of the month closes #65
- migrate to new eslint config
- fix typo in CONTRIBUTION file
Fix: correct offsetDate for years
Use correct offsetDate for years hooks
Fix: create month date
🛠️ use offsetDate date part in createMonth function
Drop node 16.x unit test support
Fix Months Buttons
⚙️ fix Months buttons disabled state when min and max dates provided to config.
Edge offset detection
Thanks to @susosamuel and his #51
Now add/subtractOffset
functions defines the edge and allows to switch to the month with max/minDate
but set offset to the edge.
Fix: rollback bad typings
- 🛠️ fix bad typings for Providers
- 🔁 rallback transition to functions
- 🆙 bump all deps to latest
Accessibility improvements
- All instances now have only one item with
tabIndex: 0
it is defined by theactive
prop which is calculated based onoffsetDate
.
It will help navigate the calendar, month, years and time with the Tab key. - Fix the edge case in the create month test where it failed when the current month is December. The date-picker worked as expected tho.
Docs fix
- fix the tutorials link at the bottom of the README.md
- change exports in several files