react-spectrum
e7660846 - Calendar and TimeField integration into DatePicker (#2242)

Commit
4 years ago
Calendar and TimeField integration into DatePicker (#2242) * Be explicit about which functions accept which date/time types * Enforce that onChange is sent the same type as is given to value/defaultValue with TS * Don't change offset if setting the same field values in ZonedDateTime * Time field integration into date picker calendar popover * Calendar improvements * Remove overflow balancing and always constrain instead * Add DateField export * Ignore time when adding or subtracting from a CalendarDate * Improve constraining behavior of Japanese calendar * Work around browser bugs with hour cycles * Add tests for queries * Add tests for selecting date + time * Update Calendar tests * Remove support for year and month granularity * Fix test * TypeScript is dumb * Fix comment * lint * Update packages/@react-stately/datepicker/src/useDateRangePickerState.ts Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: Robert Snow <rsnow@adobe.com>
Author
Parents
Loading