Releases: gpbl/react-day-picker
v9.4.2
This release addresses some bugs in the dropdown caption layout.
What's Changed
- fix: display all available years in the dropdown by @rodgobbi in #2614
- fix: display all months in dropdown by @gpbl in #2619
- docs: update styling.mdx by @AlecRust in #2611
- docs: code typo in input-fields.mdx by @pkgacek in #2613
New Contributors
Full Changelog: v9.4.1...v9.4.2
v9.4.1
This release improves support for screen readers and fixes a VoiceOver issue when navigating the calendar.
What's Changed
- fix(a11y): improve screen reader and VoiceOver support by @gpbl in #2609
- feat(a11y): added
role
andaria-label
props by @gpbl in #2609 - chore(style): remove unused CSS variable by @gpbl in #2610
- chore: use callbacks for dropdown event handlers by @gpbl in #2602
Full Changelog: v9.4.0...v9.4.1
v9.4.0
This version includes support for broadcast calendars and some style fixes.
What's Changed
- feat: add support for broadcast calendars by @Nradar in #2597
- fix(styles): dropdown not appearing as focused by @gpbl in #2600
- fix(styles): inconsistent cell size when selection mode is set by @gpbl in #2601
- please note that the CSS variables
--rdp-day-height
,--rdp-day-width
,--rdp-day-button-height
,--rdp-day-button-width
have been updated to pixel values (44px
for day cells and42px
for day buttons).
- please note that the CSS variables
New Contributors
Full Changelog: v9.3.2...v9.4.0
v9.3.2
v9.3.1
Bug fixes.
What's Changed
- fix: months with 4 weeks not displaying 6 weeks when
fixedWeeks
is used by @gpbl in #2590 - fix(types):
formatMonthDropdown
throwing a type error by @gpbl in #2584 - chore(types): added deprecated
initialFocus
andInternalModifiers
types by @gpbl in #2582 - chore: removed not used
selectionStates
fromuseGetModifiers()
by @gpbl in #2586 - build: update
@date-fns/tz
package to v1.2.0 by @gpbl in #2591
Full Changelog: v9.3.0...v9.3.1
v9.3.0
This release adds the dayPickerProps
to the values returned by useDayPicker, enabling access to these props from custom components.
Thanks to the work by @rodgobbi, we could enhance the performance when selecting a range of days.
We’ve also updated the default style to preserve the font-family inherited from the parent element. To restore the previous behavior, update the .rdp-root
CSS class to include font-family: system-ui
.
What's Changed
- feat: return
dayPickerProps
fromuseDayPicker
by @gpbl in #2572 - fix(style): remove system-ui font family from default style by @gpbl in #2573
- Improve performance when selecting long ranges of days by @rodgobbi in #2537
New Contributors
Full Changelog: v9.2.1...v9.3.0
v9.2.1
What's Changed
- build(style): support importing styles in Sass by @GeorgeTaveras1231 in #2555
- fix(perf): improve selection performance in
useRange
by @gpbl in #2560
New Contributors
Full Changelog: v9.2.0...v9.2.1
v9.2.0
This release addresses an issue with localization and applies some fixes for types and CSS exports.
What's Changed
- feat: new
DateLib
class by @gpbl and @daveallie in #2550 - fix(localization): Australian locale may not work as expected by @gpbl and @daveallie in #2550
- fix(styles): day buttons height and width are reversed by @merlinio2000 in #2552
- fix(types): argument of type 'Date' is not assignable to parameter of type 'never' by @cosminpsk in #2542
- build: improve css exports in package.json by @karlshea in #2547
New Contributors
- @karlshea made their first contribution in #2547
- @cosminpsk made their first contribution in #2542
- @daveallie made their first contribution in #2550
- @merlinio2000 made their first contribution in #2552
Full Changelog: v9.1.4...v9.2.0
v9.1.4
This release fixes a localization issue and improves export compatibility across various Node.js environments.
What's Changed
- fix: month not being localized with
dropdown-years
caption layout by @gpbl in #2497 - build: update exports in package.json for better compatibility by @gpbl in #2535
Full Changelog: v9.1.3...v9.1.4
v9.1.3
This release includes some minor build fixes and documentation updates.
What's Changed
- build: add
tsconfig-base.json
to package by @luucvanderzee in #2492 - build(deps): bump @date-fns/tz to 1.1.2 by @gpbl in #2494
New Contributors
- @luucvanderzee made their first contribution in #2492
Full Changelog: v9.1.2...v9.1.3