Zum Inhalt springen

React DayPicker Release Notes

Einträge
30
Quellen
1
Zuletzt aktualisiert

Folge React DayPicker, um die Release Notes in deinen Feed zu holen.

React DayPicker

React DayPicker 9.6.3

Verbessert die Barrierefreiheit durch visuell verborgenen Text zur Ansage von Monat/Jahr, behebt den Import ganzer Locales aus date-fns und ergänzt fehlende Dateien für Source Maps.

Improved accessibility, fixed the default locale imports, and added missing files for source maps.

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.6.2...v9.6.3

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.6.2

Behebt Probleme beim Import des persischen Kalenders und der CSS-Typdeklaration, indem fehlende Dateien in die package.json aufgenommen wurden.

Fix issues when importing the Persian calendar or the CSS types declaration.

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.6.1...v9.6.2

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.6.1: animate-Prop und aria-disabled bei Buttons

Version 9.6.1 behebt ein Barrierefreiheitsproblem, indem Navigationsbuttons statt disabled nun aria-disabled nutzen (eigene CSS-Selektoren müssen auf [aria-disabled="true"] angepasst werden), und ergänzt die neue animate-Prop für CSS-Übergänge beim Monatswechsel.

This release addresses an accessibility issue, adds a new animate prop 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-disabled instead of the disabled attribute.

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"]:

- .rdp-button_next:disabled,
+ .rdp-button_next[aria-disabled="true"] {
  /* your custom CSS */
}
- .rdp-button_previous:disabled,
+ .rdp-button_previous[aria-disabled="true"] {
  /* your custom CSS */
}

Animating Month Transitions

Thanks to the work by @rodgobbi, we have added animations to DayPicker. The new animate prop enables CSS transitions for captions and weeks when navigating between months:

<img width="500" src="https://github.com/user-attachments/assets/26b6d7ad-f0e8-4b2c-9bdd-a2e61b044db7">
<DayPicker animate />

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 …

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.6.0

Version 9.6.0 behebt ein Barrierefreiheitsproblem, fügt die neue animate-Prop hinzu und enthält einen Fehler beim Import von style.css, weshalb ein Upgrade auf v9.6.1 empfohlen wird.

This release addresses an accessibility issue, adds a new animate prop and fixes other minor bugs.

⚠️ Note v9.6.0 presents a bug when importing style.css. Please upgrade to v9.6.1 for a fix.

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.5.1

Version 9.5.1 behebt das Problem, dass das Kalenderlayout bricht, wenn die month-Prop außerhalb von startMonth und endMonth liegt.

This release fixes the calendar breaking its layout when passing a month not included between startMonth and endMonth props.

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.5.0...v9.5.1

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.5.0: Persischer Kalender und numerals-Prop

Version 9.5.0 bringt volle Unterstützung für den persischen Kalender (Import jetzt über react-day-picker/persian statt jalali) und die neue numerals-Prop, wobei formatMonthDropdown und formatYearDropdown nun ein Date statt einer Zahl erhalten.

This release adds full support for the Persian calendar and a new numerals prop to set the numbering system.

Breaking Change: Dropdown Formatters

The formatMonthDropdown and formatYearDropdown now receive a Date (instead of a number) 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 to react-day-picker/persian:

- import { DayPicker } from  `react-day-picker/jalali`;
+ import { DayPicker } from  `react-day-picker/persian`;

See the Persian calendar documentation for more details about using Persian calendar in DayPicker.

What's Changed

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.4.4

Version 9.4.4 behebt ein Problem mit den Monatsnamen im Jalali-Kalender, der nun standardmäßig die Locale faIR und RTL-Richtung verwendet.

This release fixes an issue with the month names in the Jalali calendar.

What's Changed

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.4.3...v9.4.4

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.4.3

Version 9.4.3 verbessert die Kompatibilität mit React 19 durch aktualisierte HTML-Attribut-Typen.

This release enhances compatibility with React 19.

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.4.2...v9.4.3

Originalquelle(öffnet in neuem Tab)Problem melden