feat: calendar refactor and multiple choices #558
+334
−142
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.
What
Refactor Calendar component from react-aria-components to react-day-picker with enhanced selection modes and improved styling
Why
This refactoring migrates from react-aria-components to react-day-picker, which provides better flexibility and more intuitive APIs for calendar functionality. The change enables support for multiple selection modes and improves the overall user experience.
How
CalendarDayButton
component with proper focus managementBreaking?
The refactor includes minor visual and ux changes, not necessarily breaking or "worse", i just thought that i should clear this out.