This PR refactors the BayViewCalendar Component introduced in #85 by @cpilande and fixes an issue in the flight component with sorted results.
Changes include:
Makes use of default input and card components for shared styles
Updates the input to allow for entering valid dates in multiple forms. Invalid dates are cleared on change
Updates the Flight, Lodging, and Dining Card to use the new inputs
Changes the Calendar Component display to act as a popup under the textfield vs as a pure modal
Updates styles and adds darkmode to existing component
Fixes bug in Flight Card where "Sorting by result type may be inaccurate due to unloaded items not being factored into client-side sorting at the time of effect call."
Motivation and Context
This provides a better input modality for dates on the homepage and unifies styles and components.
Description
This PR refactors the BayViewCalendar Component introduced in #85 by @cpilande and fixes an issue in the flight component with sorted results.
Changes include:
Motivation and Context
This provides a better input modality for dates on the homepage and unifies styles and components.
Screenshots:
https://github.com/heyitsmass/BayView/assets/38991991/9147f48b-5517-4110-85a7-72493a30a8ff
Additional Notes
It is still currently possible to enter dates outside of the range using manual input.
Types of changes
Checklist: