Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui5-calendar): introduce new component. (#2424)
"CalendarSelection" enumeration is introduced with single, multiple and range selection modes. DayPicker component uses the new "CalendarSelection" class, in order to provide support for the three selection modes. Selection of multiple dates can be configured via the "selection" property of the Calendar component. Holding control keyboard key doesn't allow multiple dates selection. The logic for selecting a range of dates is moved from the DateRangePicker component into the DayPicker component. Selecting a range of dates via mouse now doesn't cause flickering on the hovered items. Updating the selected date range into the DateRangePicker component input field is now reflected visually, when the popover is opened. DateRangePicker now works properly with only start date of the range typed into the input field. Calendar navigation is now compliant with the specification. Playground sample is created. Fixes #1730
- Loading branch information