This release adds support for Buddhist and Hebrew calendars, introduces new Southeast Asian numeral systems, adds the aria-labelledby prop, 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 DayPicker from react-day-picker/buddhist.
import { DayPicker } from "react-day-picker/buddhist";
export function BuddhistCalendar() {
return <DayPicker />;
}
Read more in the documentation and play with it in playground.
Hebrew Calendar
To switch to the Hebrew calendar, import DayPicker from react-day-picker/hebrew.
import { DayPicker } from "react-day-picker/hebrew";
export function HebrewCalendar() {
return <DayPicker />;
}
Read more in the documentation and play with it in playground.
What's Changed
- feat: Buddhist calendar by @gpbl in #2825
- feat: Hebrew calendar by @gpbl in #2827
- feat: align month/year caption and dropdown with locale by @gpbl in #2830
- feat: add
aria-labelledbyprop by @gpbl in #2828 - feat: add Southeast Asian numeral systems by @gpbl in #2832
- fix: ethiopic calendar may crash with dropdown layout by @gpbl in #2831
- fix: years are not correctly formatted in ethiopic calendar by @gpbl in #2831
Full Changelog: v9.10.0...v9.11.0