fix(deps): update dependency react-day-picker to v9 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^8.10.0->^9.0.0Release Notes
gpbl/react-day-picker (react-day-picker)
v9.11.1Compare Source
What's Changed
Full Changelog: gpbl/react-day-picker@v9.11.0...v9.11.1
v9.11.0Compare Source
This release adds support for Buddhist and Hebrew calendars, introduces new Southeast Asian numeral systems, adds the
aria-labelledbyprop, and improves month/year formatting for specific locales. It also includes fixes for the recently added Ethiopic calendar.Buddhist Calendar
To use the Buddhist calendar, import
DayPickerfromreact-day-picker/buddhist.Read more in the documentation and play with it in playground.
Hebrew Calendar
To switch to the Hebrew calendar, import
DayPickerfromreact-day-picker/hebrew.Read more in the documentation and play with it in playground.
What's Changed
aria-labelledbyprop by @gpbl in #2828Full Changelog: gpbl/react-day-picker@v9.10.0...v9.11.0
v9.10.0Compare Source
This release adds support for the Ethiopic calendar.
Ethiopic calendar
To use the Ethiopic calendar, import
DayPickerfromreact-day-picker/ethiopic.Read more in the documentation and play with it in playground.
What's Changed
Full Changelog: gpbl/react-day-picker@v9.9.0...v9.10.0
v9.9.0Compare Source
This release includes a new
reverseYearsprop, a range selection fix, and a build update to fix issues with source maps.Reversing the Years in the Dropdown
When using
captionLayout='dropdown', setreverseYearsto reverse the years listed in the dropdown: the most recent year will appear first.See it in action in the playground.
What's Changed
reverseYearsprop by @gpbl in #2822srcdirectory from package by @gpbl in #2812date-fns/tzdependency by @gpbl in #2823Full Changelog: gpbl/react-day-picker@v9.8.1...v9.9.0
v9.8.1Compare Source
Improved
captionLayoutdocumentation and build process.What's Changed
captionLayoutprop by @rodgobbi in #2788 and @haecheonlee in #2787New Contributors
Full Changelog: gpbl/react-day-picker@v9.8.0...v9.8.1
v9.8.0Compare Source
DayPicker 9.8 includes better keyboard navigation and resolves edge cases with month and year rendering.
What's Changed
defaultMonthto the next year with the dropdown navigation layout no longer prevents the calendar from rendering by @rodgobbi in #2783numberOfMonthsandendMonthare set by @gpbl in #2784New Contributors
Full Changelog: gpbl/react-day-picker@v9.7.0...v9.8.0
v9.7.0Compare Source
DayPicker 9.7 introduces a new
navLayoutprop to customize the layout of the navigation and includes improvements for time zones and localization.Navigation Layouts
The
navLayoutprop allows you to change the layout of the navigation buttons in the calendar:navLayout="around", navigation buttons are displayed on either side of the caption.navLayout="after", navigation buttons are displayed after the caption. This layout ensures that the focus order respects the visual order, conforming to the WCAG 2.2 guidelines for accessibility.For more details, see the Navigation Layouts section in the documentation.
What's Changed
navLayoutprop by @gphttps://github.com/gpbl/react-day-picker/pull/2755l/2755Dateprops by @gphttps://github.com/gpbl/react-day-picker/pull/2750l/2750useGetModifierstocreateGetModifiersby @gphttps://github.com/gpbl/react-day-picker/pull/2751l/2751Full Changelog: gpbl/react-day-picker@v9.6.7...v9.7.0
v9.6.7Compare Source
Improved handling of timezones, fixed alignment with the Left/Right navigation icons.
What's Changed
initialMonthisDatetype by @lovebuizel in #2737New Contributors
Full Changelog: gpbl/react-day-picker@v9.6.6...v9.6.7
v9.6.6Compare Source
Includes a fix for
autoFocusprop not correctly autofocusing the selected day.What's Changed
Full Changelog: gpbl/react-day-picker@v9.6.5...v9.6.6
v9.6.5Compare Source
Fixed an issue with the Persian calendar.
What's Changed
enUSlocale displaying empty week by @gpbl in #2723Full Changelog: gpbl/react-day-picker@v9.6.4...v9.6.5
v9.6.4Compare Source
What's Changed
Full Changelog: gpbl/react-day-picker@v9.6.3...v9.6.4
v9.6.3Compare Source
Improved accessibility, fixed the default locale imports, and added missing files for source maps.
What's Changed
date-fnsby @binhpv in #2717srcto package.json by @gpbl in #2718New Contributors
Full Changelog: gpbl/react-day-picker@v9.6.2...v9.6.3
v9.6.2Compare Source
Fix issues when importing the Persian calendar or the CSS types declaration.
What's Changed
New Contributors
Full Changelog: gpbl/react-day-picker@v9.6.1...v9.6.2
v9.6.1Compare Source
This release addresses an accessibility issue, adds a new
animateprop and fixes other minor bugs.Possible Breaking Change in Custom Styles
To address a focus lost bug affecting navigation buttons, we updated the buttons to use
aria-disabledinstead of thedisabledattribute.This change may cause custom styles for those disabled buttons to break. To fix it in your code, update the CSS selector to target
[aria-disabled="true"]:Animating Month Transitions
Thanks to the work by @rodgobbi, we have added animations to DayPicker. The new
animateprop enables CSS transitions for captions and weeks when navigating between months:Customizing the animation style can be challenging due to the HTML table structure of the grid. We may address this in the future. Please leave your feedback in DayPicker Discussions.
What's Changed
animateprop by @rodgobbi in #2684sideEffectsproperty to package.json by @rodgobbi in #2673selectedmodifier when disabled by @rodgobbi in #2700v9.6.1
New Contributors
Full Changelog: gpbl/react-day-picker@v9.5.1...v9.6.1
v9.6.0Compare Source
This release addresses an accessibility issue, adds a new
animateprop and fixes other minor bugs.style.css. Please upgrade to v9.6.1 for a fix.v9.5.1Compare Source
This release fixes the calendar breaking its layout when passing a
monthnot included betweenstartMonthandendMonthprops.What's Changed
monthprop is invalid by @rodgobbi in #2672new Date()instead oftoday()fails test by @gpbl in #2656DateLibto not import types from date-fns by @gpbl in #2655style.csslink by @jakedee in #2666New Contributors
Full Changelog: gpbl/react-day-picker@v9.5.0...v9.5.1
v9.5.0Compare Source
This release adds full support for the Persian calendar and a new
numeralsprop to set the numbering system.Breaking Change: Dropdown Formatters
The
formatMonthDropdownandformatYearDropdownnow receive aDate(instead of anumber) as first argument.<DayPicker formatters={{ - formatMonthDropdown: (month) => format(new Date(month), "mmmm") }} + formatMonthDropdown: (date) => format(date, "mmmm") }} /> - formatYearDropdown: (year) => format(new Date(year), "yyyy") }} + formatYearDropdown: (date) => format(date, "yyyy") }} /> />Persian Calendar
Persian Calendar get fulls support in DayPicker and replaces the previous "Jalali Calendar".
If you were using DayPicker from
react-day-picker/jalali, change your imports toreact-day-picker/persian:See the Persian calendar documentation for more details about using Persian calendar in DayPicker.
What's Changed
numeralsprop by @gpbl in #2647today,newDate,timeZoneto theDateLibclass by @gpbl in #2642startMonth/endMonthconstraints when caption layout isdropdown-monthsby @rodgobbi in #2648date-fns-jalalito the package dependencies by @gpbl in #2640dateLibformat by @gpbl in #2644Dateconstructor fromdateLibby @gpbl in #2636dateLibfor getting days/months/years from aDateby @gpbl in #2643Full Changelog: gpbl/react-day-picker@v9.4.4...v9.5.0
v9.4.4Compare Source
This release fixes an issue with the month names in the Jalali calendar.
What's Changed
faIRlocale and RTL direction by @gpbl in #2624Full Changelog: gpbl/react-day-picker@v9.4.3...v9.4.4
v9.4.3Compare Source
This release enhances compatibility with React 19.
What's Changed
New Contributors
Full Changelog: gpbl/react-day-picker@v9.4.2...v9.4.3
v9.4.2Compare Source
This release addresses some bugs in the dropdown caption layout.
What's Changed
New Contributors
Full Changelog: gpbl/react-day-picker@v9.4.1...v9.4.2
v9.4.1Compare Source
This release improves support for screen readers and fixes a VoiceOver issue when navigating the calendar.
What's Changed
roleandaria-labelprops by @gpbl in #2609Full Changelog: gpbl/react-day-picker@v9.4.0...v9.4.1
v9.4.0Compare Source
This version includes support for broadcast calendars and some style fixes.
What's Changed
--rdp-day-height,--rdp-day-width,--rdp-day-button-height,--rdp-day-button-widthhave been updated to pixel values (44pxfor day cells and42pxfor day buttons).New Contributors
Full Changelog: gpbl/react-day-picker@v9.3.2...v9.4.0
v9.3.2Compare Source
Bug fixes.
What's Changed
beforeMonthwas set by @rodgobbi in #2578Full Changelog: gpbl/react-day-picker@v9.3.1...v9.3.2
v9.3.1Compare Source
Bug fixes.
What's Changed
fixedWeeksis used by @gpbl in #2590formatMonthDropdownthrowing a type error by @gpbl in #2584initialFocusandInternalModifierstypes by @gpbl in #2582selectionStatesfromuseGetModifiers()by @gpbl in #2586@date-fns/tzpackage to v1.2.0 by @gpbl in #2591Full Changelog: gpbl/react-day-picker@v9.3.0...v9.3.1
v9.3.0Compare Source
This release adds the
dayPickerPropsto 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-rootCSS class to includefont-family: system-ui.What's Changed
dayPickerPropsfromuseDayPickerby @gpbl in #2572New Contributors
Full Changelog: gpbl/react-day-picker@v9.2.1...v9.3.0
v9.2.1Compare Source
What's Changed
useRangeby @gpbl in #2560New Contributors
Full Changelog: gpbl/react-day-picker@v9.2.0...v9.2.1
v9.2.0Compare Source
This release addresses an issue with localization and applies some fixes for types and CSS exports.
What's Changed
DateLibclass by @gpbl and @daveallie in #2550New Contributors
Full Changelog: gpbl/react-day-picker@v9.1.4...v9.2.0
v9.1.4Compare Source
This release fixes a localization issue and improves export compatibility across various Node.js environments.
What's Changed
dropdown-yearscaption layout by @gpbl in #2497Full Changelog: gpbl/react-day-picker@v9.1.3...v9.1.4
v9.1.3Compare Source
This release includes some minor build fixes and documentation updates.
What's Changed
tsconfig-base.jsonto package by @luucvanderzee in #2492New Contributors
Full Changelog: gpbl/react-day-picker@v9.1.2...v9.1.3
v9.1.2Compare Source
What's Changed
dateLibto work when mocking dates by @gpbl in #2481DayPickerContexttype by @gpbl in #2479Full Changelog: gpbl/react-day-picker@v9.1.1...v9.1.2
v9.1.1Compare Source
This release improves reliability for controlled mode and adds experimental support for time zones.
Time Zone Support
By integrating the @date-fns/tz utilities for handling time zones, we have added a new experimental
timeZoneprop. Please see the updated docs for more details.What's Changed
timeZoneprop (experimental) by @gpbl in #2467react-day-picker/localeby @gpbl in #2474Full Changelog: gpbl/react-day-picker@v9.1.0...v9.1.1
v9.1.0Compare Source
Thank you for using and helping improve DayPicker. Here are the notable changes in this release:
@date-fns/utcif you are usingreact-day-picker/utc.What's Changed
PreviousMonthButtonandNextMonthButtonto custom components by @gpbl in #2437MonthsDropdownandYearsDropdowncustom components by @gpbl in #2454componentsandclassNamesprop types by @gpbl in #2452OnSelectHandlertype by @gpbl in #2436ChevronofNextMonthButtonby @qgadrian in #2449ClassNamestypes for dropdowns by @hsnaydd in #2441labelOptionsfromlabelNextandlabelPreviousby @gpbl in #2434Navto its own component by @gpbl in #2435ButtoninCustomComponentsby @gpbl in #2439New Contributors
Full Changelog: gpbl/react-day-picker@v9.0.9...v9.1.0
v9.0.9Compare Source
This release fixes a regression causing the calendar to reset when selecting the days, improves compatibility with the previous version and fixes some other bugs.
What's Changed
useDayPickerby @gpbl in #2427dateMatchModifiersto usedefaultDateLibby @gpbl in #2413formatWeekNumberHeadertoFormattersby @gpbl in #2412ChevronPropsexport by @rishabh-ink in #2363New Contributors
Full Changelog: gpbl/react-day-picker@v9.0.8...v9.0.9
v9.0.8Compare Source
This release fixes a regression in v9.0.7 affecting range mode.
What's Changed
Full Changelog: gpbl/react-day-picker@v9.0.7...v9.0.8
v9.0.7Compare Source
This release improves compatibility with v8 and fix an issue with the calendar navigation.
What's Changed
startMonthorendMonthchange by @gpbl in #2343defaultLocaleby @gpbl in #2348undefinedas initially selected value, as it was in v8 by @gpbl in #2341calendartorootin the examples by @gpbl in #2347New Contributors
Full Changelog: gpbl/react-day-picker@v9.0.6...v9.0.7
v9.0.6Compare Source
This release addresses the failed import of the common-js module for some app builder and add new
data-attributes to help the integration with Tailwind. Thanks for your feedback!What's Changed
New Contributors
Full Changelog: gpbl/react-day-picker@v9.0.5...v9.0.6
v9.0.5Compare Source
This release improves the range mode behavior (see the updated docs) and address some styling issues.
What's Changed
c919ad8New Contributors
Full Changelog: gpbl/react-day-picker@v9.0.4...v9.0.5
v9.0.4Compare Source
This release fixes some bugs and improves compatibility with v8.10. Thanks for your feedback and patience! 🤖
What's Changed
.rdp-range_endby @AlessioDP in #2298endMonthdate not working as expected by @gpbl in #2301onDayMouseEnterandonDayMouseLeaveby @gpbl in #2304New Contributors
Full Changelog: gpbl/react-day-picker@v9.0.3...v9.0.4
v9.0.3Compare Source
This release fixes two issues found with the grid style and the range mode.
What's Changed
Full Changelog: gpbl/react-day-picker@v9.0.2...v9.0.3
v9.0.2Compare Source
This update improves backward compatibility with v8.10.1 for range selection mode.
What's Changed
excludeDisabledprop for range mode by @gpbl in #2290Full Changelog: gpbl/react-day-picker@v9.0.1...v9.0.2
v9.0.1Compare Source
This update improves backward compatibility with v8.10.1.
What's Changed
DeprecatedUIenum by @gpbl in #2284Full Changelog: gpbl/react-day-picker@v9.0.0...v9.0.1
v9.0.0Compare Source
DayPicker v9 is a major release including significant updates related to accessibility, customization and localization.
Install the Latest Version
What’s New
date-fnsfrom peer dependencies to dependencies.dropdown-yearsanddropdown-monthscaption layouts.hideWeekdayRowandhideNavigationprops.strictmode.Breaking Changes
While we tried to keep the API as stable as possible, some breaking changes were necessary to improve the library:
useInputhook has been removed. See Input fields guide for more details.onWeekNumberClickhas been removed. Use a custom component to handle week number clicks.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.