react-spectrum
830234fd - v3 Datepicker + Calendar (#424)

Commit
6 years ago
v3 Datepicker + Calendar (#424) * datepicker and calendar merge-athon * More cal work * combine cal and picker * fix props to datepicker * keep time when cal selects * Move setDate to stately * Fix controlled state * fix some ts bs * Popover positioning and arrow hiding * Fix merge issues * calendar updates * merge fail fix * Separate popover specific stuff from dialog trigger * Merge mutliple ids pointing to the same element * First pass at labeling * Disable tests for temp build * Fix import * Open calendar on press in the field on mobile * Center stories by default * aria label and ts * Validation and stuff * autofocus and onpress * Support validationState="valid" * Autofocus calendar * Chevron icons * add label to cell for announcing * useLayoutEffect in focus scope * cal tests * wip * clean up * Implement required, autofocus, and read only * spinbutton tests * DatePicker tests * lint * Fix other tests * Revert "Disable tests for temp build" This reverts commit bba2034d9c2b8a3d358b0011fcdc6f3672a07b47. * More linting * Calendar refactoring * More calendar tests * linting * Add support for minValue and maxValue to calendar * Get first day of week from locale in calendar * Ensure locale is passed through to child providers * Mirror arrow key direction in RTL locales * Flip direction of previous/next buttons in RTL * Update locale when system locale changes * Select closest locale in message formatter * Update list of supported locales * Fix large scale, and add sizes for CJK locales * Center calendar when inside a tray * Scale down font size for CJK instead of scaling up cell size * Properly internationalize entering arabic digits in datepicker * Fix quiet * Implement RangeCalendar * Add RangeCalendar to DateRangePicker * Fix tapping on date range picker on mobile * lint * Cancel range selection on escape key, and don't select in read only mode * Test range calendar * Rename css variable * Fix datepicker labeling * DateRangePicker tests and fixes * Cleanup
Author
Committer
Parents
Loading