feat: custom calendar support #7803
Add createCalendar prop to Calendar/RangeCalendar
ddcb1fdc
Update date math for adding/subtracting months
2ca395af
Add doc comments
6172fd6c
Simplify isEqualDay/Month/Year
f48fcf1d
Display the calendar month name based on the result of getCurrentMonth()
d86e2830
Format aria labels based on current month
15f2b0d6
Refactor to return weeksInMonth from useCalendarGrid hook
0ae33ffb
Fix month's year display in calendar header for custom calendars
82a262b5
Update Calendar and RangeCalendar docs to talk about custom calendars
729600c3
Add custom calendar stories to Calendar and RangeCalendar
d880b79e
Fix range selection styles for custom calendar
a265261f
Write tests for custom calendar date math
471db7f5
Write tests for changes to queries.ts
79ee1521
Use customCalendarImpl in stories
dce90a95
Write tests for visible range description with custom calendar
a30b47ab
ToyWalrus
changed the title Custom calendar support feat: custom calendar support 1 year ago
Update calendar docs to use jsx syntax
ede8d9e1
Merge branch 'main' into custom-calendar-support
7b54cbb0
Update calendar docs to fully implement Calendar interface to satisfy…
a617fca8
Update calendar docs
5191f42a
Merge branch 'main' into custom-calendar-support
e9ae17a0
wip
cee9ee54
fix
348dba13
feat: use suggestion from @devongovett to implement custom cal w/ jul…
648b8d68
chore: remove unnecessary code in queries & manipulation
d6c5e56c
feat: zero-index the week pattern in 454 calendar impl
8fe7e49a
chore: remove unused code in utils
f736857f
test: update useCalendar tests for custom calendar
c1357af1
test: verify conversion for end of big year
efe3924d
feat: update createCalendar prop types
e8eac82b
feat: add createCalendar prop to DatePicker and DateRangePicker
27d33551
Update docs
360b56b2
update examples
fd6815dd
ts
743ad296
docs: update docs for DatePicker and DateRangePicker
615f7191
Merge branch 'main' of github.com:adobe/react-spectrum into custom-ca…
71392e29
docs: remove custom calendar system section in useCalendar hooks
933937bb
chore: more code cleanup
df2b1b09
fix: mdx example
23dc0f00
Add isEqualCalendar function
b7ab7930
Update docs
6cda1790
Merge branch 'main' into custom-calendar-support
bd68b263
LFDanLu
approved these changes
on 2025-03-28
LFDanLu
merged
3f7c5116
into main 1 year ago
Login to write a write a comment.
Login via GitHub