@birdnet/advanced-react-dates 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +67 -0
- package/.eslintrc +66 -0
- package/.nvmrc +1 -0
- package/.nyc_output/4d8efcd220c2aec1f2b4ffd49d875001.json +1 -0
- package/.nyc_output/66d34779498a5d49bcf9d757dfc7fdb5.json +1 -0
- package/.nyc_output/8ca7e04140934515928bc7d4ae476b73.json +1 -0
- package/.nyc_output/afc270bb597bfc50e690436959c2ae54.json +1 -0
- package/.nycrc +19 -0
- package/.travis.yml +13 -0
- package/CHANGELOG.md +665 -0
- package/CLAUDE.md +56 -0
- package/INTHEWILD.md +9 -0
- package/LICENSE +21 -0
- package/README.md +421 -2
- package/constants.js +2 -0
- package/esm/components/CalendarDay.js +321 -0
- package/esm/components/CalendarIcon.js +11 -0
- package/esm/components/CalendarMonth.js +254 -0
- package/esm/components/CalendarMonthGrid.js +365 -0
- package/esm/components/CalendarWeek.js +11 -0
- package/esm/components/ChevronDown.js +11 -0
- package/esm/components/ChevronUp.js +11 -0
- package/esm/components/CloseButton.js +12 -0
- package/esm/components/CustomizableCalendarDay.js +341 -0
- package/esm/components/DateInput.js +344 -0
- package/esm/components/DateRangePicker.js +647 -0
- package/esm/components/DateRangePickerInput.js +341 -0
- package/esm/components/DateRangePickerInputController.js +348 -0
- package/esm/components/DayPicker.js +1167 -0
- package/esm/components/DayPickerKeyboardShortcuts.js +364 -0
- package/esm/components/DayPickerNavigation.js +314 -0
- package/esm/components/DayPickerRangeController.js +1202 -0
- package/esm/components/DayPickerSingleDateController.js +690 -0
- package/esm/components/KeyboardShortcutRow.js +69 -0
- package/esm/components/LeftArrow.js +11 -0
- package/esm/components/RightArrow.js +11 -0
- package/esm/components/SingleDatePicker.js +605 -0
- package/esm/components/SingleDatePickerInput.js +264 -0
- package/esm/components/SingleDatePickerInputController.js +260 -0
- package/esm/constants.js +28 -0
- package/esm/defaultPhrases.js +225 -0
- package/esm/index.js +20 -0
- package/esm/initialize.js +2 -0
- package/esm/shapes/AnchorDirectionShape.js +3 -0
- package/esm/shapes/CalendarInfoPositionShape.js +3 -0
- package/esm/shapes/DateRangePickerShape.js +101 -0
- package/esm/shapes/DayOfWeekShape.js +3 -0
- package/esm/shapes/DisabledShape.js +3 -0
- package/esm/shapes/FocusedInputShape.js +3 -0
- package/esm/shapes/IconPositionShape.js +3 -0
- package/esm/shapes/ModifiersShape.js +18 -0
- package/esm/shapes/NavPositionShape.js +3 -0
- package/esm/shapes/OpenDirectionShape.js +3 -0
- package/esm/shapes/OrientationShape.js +3 -0
- package/esm/shapes/ScrollableOrientationShape.js +3 -0
- package/esm/shapes/SingleDatePickerShape.js +90 -0
- package/esm/theme/DefaultTheme.js +176 -0
- package/esm/utils/calculateDimension.js +28 -0
- package/esm/utils/disableScroll.js +67 -0
- package/esm/utils/getActiveElement.js +3 -0
- package/esm/utils/getCalendarDaySettings.js +48 -0
- package/esm/utils/getCalendarMonthWeeks.js +37 -0
- package/esm/utils/getCalendarMonthWidth.js +4 -0
- package/esm/utils/getDetachedContainerStyles.js +36 -0
- package/esm/utils/getInputHeight.js +42 -0
- package/esm/utils/getNumberOfCalendarMonthWeeks.js +11 -0
- package/esm/utils/getPhrase.js +7 -0
- package/esm/utils/getPhrasePropTypes.js +9 -0
- package/esm/utils/getPooledMoment.js +8 -0
- package/esm/utils/getPreviousMonthMemoLast.js +9 -0
- package/esm/utils/getResponsiveContainerStyles.js +8 -0
- package/esm/utils/getSelectedDateOffset.js +8 -0
- package/esm/utils/getTransformStyles.js +8 -0
- package/esm/utils/getVisibleDays.js +42 -0
- package/esm/utils/isAfterDay.js +7 -0
- package/esm/utils/isBeforeDay.js +13 -0
- package/esm/utils/isDayVisible.js +38 -0
- package/esm/utils/isInclusivelyAfterDay.js +6 -0
- package/esm/utils/isInclusivelyBeforeDay.js +6 -0
- package/esm/utils/isNextDay.js +7 -0
- package/esm/utils/isNextMonth.js +6 -0
- package/esm/utils/isPrevMonth.js +6 -0
- package/esm/utils/isPreviousDay.js +7 -0
- package/esm/utils/isSameDay.js +7 -0
- package/esm/utils/isSameMonth.js +7 -0
- package/esm/utils/isTransitionEndSupported.js +3 -0
- package/esm/utils/modifiers.js +94 -0
- package/esm/utils/noflip.js +10 -0
- package/esm/utils/registerCSSInterfaceWithDefaultTheme.js +5 -0
- package/esm/utils/registerInterfaceWithDefaultTheme.js +6 -0
- package/esm/utils/toISODateString.js +12 -0
- package/esm/utils/toISOMonthString.js +12 -0
- package/esm/utils/toLocalizedDateString.js +8 -0
- package/esm/utils/toMomentObject.js +7 -0
- package/index.js +2 -0
- package/initialize.js +2 -0
- package/karma.conf.js +82 -0
- package/lib/components/CalendarDay.js +327 -0
- package/lib/components/CalendarIcon.js +18 -0
- package/lib/components/CalendarMonth.js +259 -0
- package/lib/components/CalendarMonthGrid.js +372 -0
- package/lib/components/CalendarWeek.js +18 -0
- package/lib/components/ChevronDown.js +18 -0
- package/lib/components/ChevronUp.js +18 -0
- package/lib/components/CloseButton.js +19 -0
- package/lib/components/CustomizableCalendarDay.js +347 -0
- package/lib/components/DateInput.js +351 -0
- package/lib/components/DateRangePicker.js +653 -0
- package/lib/components/DateRangePickerInput.js +348 -0
- package/lib/components/DateRangePickerInputController.js +354 -0
- package/lib/components/DayPicker.js +1175 -0
- package/lib/components/DayPickerKeyboardShortcuts.js +371 -0
- package/lib/components/DayPickerNavigation.js +321 -0
- package/lib/components/DayPickerRangeController.js +1208 -0
- package/lib/components/DayPickerSingleDateController.js +695 -0
- package/lib/components/KeyboardShortcutRow.js +76 -0
- package/lib/components/LeftArrow.js +18 -0
- package/lib/components/RightArrow.js +18 -0
- package/lib/components/SingleDatePicker.js +611 -0
- package/lib/components/SingleDatePickerInput.js +271 -0
- package/lib/components/SingleDatePickerInputController.js +266 -0
- package/lib/constants.js +34 -0
- package/lib/css/_datepicker.css +886 -0
- package/lib/defaultPhrases.js +231 -0
- package/lib/index.js +146 -0
- package/lib/initialize.js +5 -0
- package/lib/shapes/AnchorDirectionShape.js +10 -0
- package/lib/shapes/CalendarInfoPositionShape.js +10 -0
- package/lib/shapes/DateRangePickerShape.js +108 -0
- package/lib/shapes/DayOfWeekShape.js +10 -0
- package/lib/shapes/DisabledShape.js +10 -0
- package/lib/shapes/FocusedInputShape.js +10 -0
- package/lib/shapes/IconPositionShape.js +10 -0
- package/lib/shapes/ModifiersShape.js +25 -0
- package/lib/shapes/NavPositionShape.js +10 -0
- package/lib/shapes/OpenDirectionShape.js +10 -0
- package/lib/shapes/OrientationShape.js +10 -0
- package/lib/shapes/ScrollableOrientationShape.js +10 -0
- package/lib/shapes/SingleDatePickerShape.js +97 -0
- package/lib/theme/DefaultTheme.js +182 -0
- package/lib/utils/calculateDimension.js +34 -0
- package/lib/utils/disableScroll.js +75 -0
- package/lib/utils/getActiveElement.js +9 -0
- package/lib/utils/getCalendarDaySettings.js +55 -0
- package/lib/utils/getCalendarMonthWeeks.js +44 -0
- package/lib/utils/getCalendarMonthWidth.js +10 -0
- package/lib/utils/getDetachedContainerStyles.js +41 -0
- package/lib/utils/getInputHeight.js +48 -0
- package/lib/utils/getNumberOfCalendarMonthWeeks.js +18 -0
- package/lib/utils/getPhrase.js +13 -0
- package/lib/utils/getPhrasePropTypes.js +16 -0
- package/lib/utils/getPooledMoment.js +15 -0
- package/lib/utils/getPreviousMonthMemoLast.js +15 -0
- package/lib/utils/getResponsiveContainerStyles.js +15 -0
- package/lib/utils/getSelectedDateOffset.js +14 -0
- package/lib/utils/getTransformStyles.js +14 -0
- package/lib/utils/getVisibleDays.js +49 -0
- package/lib/utils/isAfterDay.js +14 -0
- package/lib/utils/isBeforeDay.js +20 -0
- package/lib/utils/isDayVisible.js +45 -0
- package/lib/utils/isInclusivelyAfterDay.js +13 -0
- package/lib/utils/isInclusivelyBeforeDay.js +13 -0
- package/lib/utils/isNextDay.js +14 -0
- package/lib/utils/isNextMonth.js +13 -0
- package/lib/utils/isPrevMonth.js +13 -0
- package/lib/utils/isPreviousDay.js +14 -0
- package/lib/utils/isSameDay.js +14 -0
- package/lib/utils/isSameMonth.js +14 -0
- package/lib/utils/isTransitionEndSupported.js +9 -0
- package/lib/utils/modifiers.js +102 -0
- package/lib/utils/noflip.js +16 -0
- package/lib/utils/registerCSSInterfaceWithDefaultTheme.js +12 -0
- package/lib/utils/registerInterfaceWithDefaultTheme.js +13 -0
- package/lib/utils/toISODateString.js +19 -0
- package/lib/utils/toISOMonthString.js +19 -0
- package/lib/utils/toLocalizedDateString.js +15 -0
- package/lib/utils/toMomentObject.js +14 -0
- package/package.json +141 -4
- package/scripts/.eslintrc +7 -0
- package/scripts/buildCSS.js +37 -0
- package/scripts/pure-component-fallback.js +70 -0
- package/scripts/renderAllComponents.jsx +25 -0
- package/src/components/CalendarDay.jsx +366 -0
- package/src/components/CalendarIcon.jsx +3 -0
- package/src/components/CalendarMonth.jsx +300 -0
- package/src/components/CalendarMonthGrid.jsx +427 -0
- package/src/components/CalendarWeek.jsx +17 -0
- package/src/components/ChevronDown.jsx +3 -0
- package/src/components/ChevronUp.jsx +3 -0
- package/src/components/CloseButton.jsx +3 -0
- package/src/components/CustomizableCalendarDay.jsx +382 -0
- package/src/components/DateInput.jsx +401 -0
- package/src/components/DateRangePicker.jsx +777 -0
- package/src/components/DateRangePickerInput.jsx +434 -0
- package/src/components/DateRangePickerInputController.jsx +379 -0
- package/src/components/DayPicker.jsx +1407 -0
- package/src/components/DayPickerKeyboardShortcuts.jsx +443 -0
- package/src/components/DayPickerNavigation.jsx +445 -0
- package/src/components/DayPickerRangeController.jsx +1409 -0
- package/src/components/DayPickerSingleDateController.jsx +769 -0
- package/src/components/KeyboardShortcutRow.jsx +93 -0
- package/src/components/LeftArrow.jsx +3 -0
- package/src/components/RightArrow.jsx +3 -0
- package/src/components/SingleDatePicker.jsx +731 -0
- package/src/components/SingleDatePickerInput.jsx +329 -0
- package/src/components/SingleDatePickerInputController.jsx +280 -0
- package/src/constants.js +37 -0
- package/src/defaultPhrases.js +215 -0
- package/src/index.js +20 -0
- package/src/initialize.js +3 -0
- package/src/shapes/AnchorDirectionShape.js +8 -0
- package/src/shapes/CalendarInfoPositionShape.js +15 -0
- package/src/shapes/DateRangePickerShape.js +111 -0
- package/src/shapes/DayOfWeekShape.js +5 -0
- package/src/shapes/DisabledShape.js +5 -0
- package/src/shapes/FocusedInputShape.js +8 -0
- package/src/shapes/IconPositionShape.js +8 -0
- package/src/shapes/ModifiersShape.js +20 -0
- package/src/shapes/NavPositionShape.js +8 -0
- package/src/shapes/OpenDirectionShape.js +8 -0
- package/src/shapes/OrientationShape.js +8 -0
- package/src/shapes/ScrollableOrientationShape.js +13 -0
- package/src/shapes/SingleDatePickerShape.js +100 -0
- package/src/svg/arrow-left.svg +1 -0
- package/src/svg/arrow-right.svg +1 -0
- package/src/svg/calendar.svg +1 -0
- package/src/svg/chevron-down.svg +1 -0
- package/src/svg/chevron-up.svg +1 -0
- package/src/svg/close.svg +1 -0
- package/src/theme/DefaultTheme.js +196 -0
- package/src/utils/calculateDimension.js +32 -0
- package/src/utils/disableScroll.js +65 -0
- package/src/utils/getActiveElement.js +3 -0
- package/src/utils/getCalendarDaySettings.js +61 -0
- package/src/utils/getCalendarMonthWeeks.js +49 -0
- package/src/utils/getCalendarMonthWidth.js +3 -0
- package/src/utils/getDetachedContainerStyles.js +39 -0
- package/src/utils/getInputHeight.js +67 -0
- package/src/utils/getNumberOfCalendarMonthWeeks.js +15 -0
- package/src/utils/getPhrase.jsx +9 -0
- package/src/utils/getPhrasePropTypes.js +9 -0
- package/src/utils/getPooledMoment.js +10 -0
- package/src/utils/getPreviousMonthMemoLast.js +11 -0
- package/src/utils/getResponsiveContainerStyles.js +18 -0
- package/src/utils/getSelectedDateOffset.js +6 -0
- package/src/utils/getTransformStyles.js +8 -0
- package/src/utils/getVisibleDays.js +54 -0
- package/src/utils/isAfterDay.js +9 -0
- package/src/utils/isBeforeDay.js +18 -0
- package/src/utils/isDayVisible.js +57 -0
- package/src/utils/isInclusivelyAfterDay.js +8 -0
- package/src/utils/isInclusivelyBeforeDay.js +8 -0
- package/src/utils/isNextDay.js +9 -0
- package/src/utils/isNextMonth.js +8 -0
- package/src/utils/isPrevMonth.js +8 -0
- package/src/utils/isPreviousDay.js +9 -0
- package/src/utils/isSameDay.js +10 -0
- package/src/utils/isSameMonth.js +9 -0
- package/src/utils/isTransitionEndSupported.js +3 -0
- package/src/utils/modifiers.js +116 -0
- package/src/utils/noflip.js +11 -0
- package/src/utils/registerCSSInterfaceWithDefaultTheme.js +7 -0
- package/src/utils/registerInterfaceWithDefaultTheme.js +7 -0
- package/src/utils/toISODateString.js +14 -0
- package/src/utils/toISOMonthString.js +14 -0
- package/src/utils/toLocalizedDateString.js +12 -0
- package/src/utils/toMomentObject.js +12 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,665 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
<!--
|
|
4
|
+
- [] ([#](https://github.com/react-dates/react-dates/pull/))
|
|
5
|
+
-->
|
|
6
|
+
|
|
7
|
+
## 21.8.0
|
|
8
|
+
|
|
9
|
+
- [new] Add option to allow days violating min nights to be clicked ([#1913](https://github.com/react-dates/react-dates/pull/1913))
|
|
10
|
+
- [fix] Prevent vertical scrollable prev nav button from overlapping weekday headers ([#1914](https://github.com/react-dates/react-dates/pull/1914))
|
|
11
|
+
|
|
12
|
+
## 21.7.2
|
|
13
|
+
- [fix] Add tests for previous fix ([#1912](https://github.com/react-dates/react-dates/pull/1912))
|
|
14
|
+
|
|
15
|
+
## 21.7.1
|
|
16
|
+
- [fix] Fix render conditional in DayPickerKeyboardShortcuts ([#1911](https://github.com/react-dates/react-dates/pull/1911))
|
|
17
|
+
|
|
18
|
+
## 21.7.0
|
|
19
|
+
- [fix] Keep scroll position when prev months rendered on vertical scrollable calendar ([#1902](https://github.com/react-dates/react-dates/pull/1902))
|
|
20
|
+
- [new] Add ability to not show prev or next navigation buttons ([#1900](https://github.com/react-dates/react-dates/pull/1900))
|
|
21
|
+
- [fix] Fix logic for applying default navigation button styling ([#1898](https://github.com/react-dates/react-dates/pull/1898))
|
|
22
|
+
|
|
23
|
+
## 21.6.0
|
|
24
|
+
|
|
25
|
+
- [new] Add functionality to see previous months for vertical scrollable calendar ([#1894](https://github.com/react-dates/react-dates/pull/1894))
|
|
26
|
+
- [new] Add support for noNavButtons in DayPickerSingleDateController (match DayPickerRangeController support) ([#1895](https://github.com/react-dates/react-dates/pull/1895))
|
|
27
|
+
|
|
28
|
+
## 21.5.1
|
|
29
|
+
|
|
30
|
+
- [fix] Remove redundant overflowY:scroll on CalendarMonthGrid ([#1881](https://github.com/react-dates/react-dates/pull/1881))
|
|
31
|
+
|
|
32
|
+
## 21.5.0
|
|
33
|
+
|
|
34
|
+
- [new] Add support for custom month navigation buttons ([#1859](https://github.com/react-dates/react-dates/pull/1859))
|
|
35
|
+
|
|
36
|
+
## 21.4.0
|
|
37
|
+
|
|
38
|
+
- [new] Expose 'after-hovered-start' modifier and add 'before-hovered-end', 'no-selected-start-before-selected-end', 'selected-start-in-hovered-span', 'selected-end-in-hovered-span', 'selected-start-no-selected-end', and 'selected-end-no-selected-start' modifiers [#1608](https://github.com/react-dates/react-dates/pull/1608)
|
|
39
|
+
- [fix] Loosen up CustomizeableCalendarDay restriction on children ([#1857](https://github.com/react-dates/react-dates/pull/1857))
|
|
40
|
+
|
|
41
|
+
## 21.3.2
|
|
42
|
+
|
|
43
|
+
- [fix] Revert "Call getStateForNewMonth when date/startDate/endDate is set to a date that is not visible" ([#1851](https://github.com/react-dates/react-dates/pull/1851))
|
|
44
|
+
|
|
45
|
+
## 21.3.1
|
|
46
|
+
|
|
47
|
+
- [fix] Update react-with-styles 4.1.0-alpha.1 -> 4.1.0
|
|
48
|
+
|
|
49
|
+
## 21.3.0
|
|
50
|
+
|
|
51
|
+
- [new] Update react-with-styles 4.0.1 -> 4.1.0 ([#1843](https://github.com/react-dates/react-dates/pull/1843))
|
|
52
|
+
- [new] Add Input Font-Weight to Default Theme ([#1765](https://github.com/react-dates/react-dates/pull/#1765))
|
|
53
|
+
|
|
54
|
+
## 21.2.1
|
|
55
|
+
|
|
56
|
+
- [fix] Call getStateForNewMonth when date/startDate/endDate is set to a date that is not visible ([#1834](https://github.com/react-dates/react-dates/pull/1834))
|
|
57
|
+
|
|
58
|
+
## 21.2.0
|
|
59
|
+
|
|
60
|
+
- [fix] Revert "Merge pull request [#1758](https://github.com/react-dates/react-dates/pull/1758): Remove all direct imports of css in favor of injected prop" ([#1818](https://github.com/react-dates/react-dates/pull/1818))
|
|
61
|
+
- [fix] Fix for getWeekHeaders(), prevents it from changing state.currentMonth ([#1796](https://github.com/react-dates/react-dates/pull/1796))
|
|
62
|
+
- [new] Add support for positioning month navigation under the calendar ([#1784](https://github.com/react-dates/react-dates/pull/1784))
|
|
63
|
+
- [new] Add minDate and maxDate props to DateRangePicker ([#1793](https://github.com/react-dates/react-dates/pull/1793), [#1794](https://github.com/react-dates/react-dates/pull/1794))
|
|
64
|
+
|
|
65
|
+
## 21.1.0
|
|
66
|
+
|
|
67
|
+
- [fix] `DayPicker`: week headers: use the passed-in moment object’s instance, to support localy ([#1577](https://github.com/react-dates/react-dates/pull/1577))
|
|
68
|
+
- [fix] Combine labelled DayPicker container elements ([#1783](https://github.com/react-dates/react-dates/pull/1783))
|
|
69
|
+
- [new] Add a render function for customizable week header text ([#1787](https://github.com/react-dates/react-dates/pull/1787))
|
|
70
|
+
|
|
71
|
+
## 21.0.1
|
|
72
|
+
|
|
73
|
+
- [fix] [deps] Update react-with-styles ^4.0.0 -> ^4.0.1 ([#1781](https://github.com/react-dates/react-dates/pull/1781))
|
|
74
|
+
|
|
75
|
+
## 21.0.0
|
|
76
|
+
|
|
77
|
+
- [breaking] [deps] Update react-with-styles and other deps ([#1761](https://github.com/react-dates/react-dates/pull/1761)
|
|
78
|
+
- [new] [deps] Update dependencies related to react-with-styles ([#1775](https://github.com/react-dates/react-dates/pull/1775))
|
|
79
|
+
- [new] `DayPickerSingleDateController`: Add onMultiplyScrollableMonths ([#1770](https://github.com/react-dates/react-dates/pull/1770))
|
|
80
|
+
- [dev] Fix moment date formats ([#1767](https://github.com/react-dates/react-dates/pull/1767))
|
|
81
|
+
- [dev] Fix addons webpack loader, Fix tests ([#1764](https://github.com/react-dates/react-dates/pull/1764))
|
|
82
|
+
- [dev] build: fix linting (refs eslint/eslint#12119)
|
|
83
|
+
- [new] [deps] update `@babel/runtime`, `airbnb-prop-types`, `object.values`, `prop-types`, `react-outside-click-handler`, `react-portal`
|
|
84
|
+
- [dev] [deps] update `@babel/*`, `@storybook/*`, `babel-plugin-inline-svg`, `babel-plugin-istanbul`, `babel-preset-airbnb`, `eslint-config-airbnb` to v18 (plus peer deps), `eslint` to v6; `eslint-plugin-react-with-styles`, `karma`, `karma-firefox-launcher`, `mocha`, `safe-publish-latest`, `sass-loader`, `sinon`, `sinon-sandbox`, `coveralls`, `enzyme-adapter-react-helper`
|
|
85
|
+
- [fix] Remove all direct imports of css in favor of injected prop ([#1758](https://github.com/react-dates/react-dates/pull/1758))
|
|
86
|
+
|
|
87
|
+
## 20.3.0
|
|
88
|
+
- [fix] Optimize setState dayPickerContainerStyles in responsivizePickerPosition ([#1735](https://github.com/react-dates/react-dates/pull/1735))
|
|
89
|
+
- [fix] Stop calendar blinking on DateRangePickerInput focus switch (fixes #1523) ([#1553](https://github.com/react-dates/react-dates/pull/1553))
|
|
90
|
+
- [new] [a11y] Add `aria-roledescription` ([#1746](https://github.com/react-dates/react-dates/pull/1746))
|
|
91
|
+
|
|
92
|
+
## 20.2.5
|
|
93
|
+
- [fix] Defer day focusing until next animation frame ([#1707](https://github.com/react-dates/react-dates/pull/1707))
|
|
94
|
+
- [fix] Fix startDate style (@mmarkelov, [#1710](https://github.com/react-dates/react-dates/pull/1710))
|
|
95
|
+
- [fix] Pass correct props to SingleDatePicker on close (@AlokTakshak, [#1678](https://github.com/react-dates/react-dates/pull/1678))
|
|
96
|
+
- [dev] Update blocked navigation (min/maxDate) stories (@ianduvall, [#1598](https://github.com/react-dates/react-dates/pull/1598))
|
|
97
|
+
- [dev] Add positioning to custom navigation in stories (@dougmacknz, [#1573](https://github.com/react-dates/react-dates/pull/1573))
|
|
98
|
+
- [dev] Update karma 3 → 4, mocha 3 → 6, nyc 12 → 14, sinon 6 → 7, eslint 5 → 6 ([#1713](https://github.com/react-dates/react-dates/pull/1713), [#1712](https://github.com/react-dates/react-dates/pull/1713))
|
|
99
|
+
|
|
100
|
+
## 20.2.4
|
|
101
|
+
- [fix] Replace react-addons-shallow-compare with enzyme-shallow-equal (bf7e3347702f)
|
|
102
|
+
- [fix] Optimize SVG assets ([#1690](https://github.com/react-dates/react-dates/pull/1690))
|
|
103
|
+
- [fix] Update babel-preset-airbnb 3.2.1 -> 4.0.0 ([#1692](https://github.com/react-dates/react-dates/pull/1692))
|
|
104
|
+
|
|
105
|
+
## 20.2.3
|
|
106
|
+
- [fix] Add guard for undefined objects in deleteModifier ([#1687](https://github.com/react-dates/react-dates/pull/1687))
|
|
107
|
+
- [dev] Update Storybook from v4 to v5 ([@trotzig](https://github.com/trotzig) [#1673](https://github.com/react-dates/react-dates/pull/1673))
|
|
108
|
+
|
|
109
|
+
## 20.2.2
|
|
110
|
+
- [fix] Add guard for undefined objects in addModifier ([#1667](https://github.com/react-dates/react-dates/pull/1667))
|
|
111
|
+
|
|
112
|
+
## 20.2.1
|
|
113
|
+
- [fix] Compile classes in loose mode ([#1655](https://github.com/react-dates/react-dates/pull/1655))
|
|
114
|
+
- [fix] Performance optimizations ([#1656](https://github.com/react-dates/react-dates/pull/1656), [#1657](https://github.com/react-dates/react-dates/pull/1657), [#1659](https://github.com/react-dates/react-dates/pull/1659), [#1661](https://github.com/react-dates/react-dates/pull/1661), [#1662](https://github.com/react-dates/react-dates/pull/1662), and [#1663](https://github.com/react-dates/react-dates/pull/1663))
|
|
115
|
+
- [docs] Add `initialVisibleMonth` to `DayPickerRangeController` in readme ([@AlokTakshak](https://github.com/AlokTakshak) [1652](https://github.com/react-dates/react-dates/pull/1652))
|
|
116
|
+
|
|
117
|
+
## 20.2.0
|
|
118
|
+
- [fix] Fix date selection in the SDP ([#1530](https://github.com/react-dates/react-dates/pull/1530))
|
|
119
|
+
- [new] Add explicit aria label props ([#1594](https://github.com/react-dates/react-dates/pull/1594))
|
|
120
|
+
|
|
121
|
+
## 20.1.0
|
|
122
|
+
- [new] Add `renderKeyboardShortcutsButton` prop ([#1576](https://github.com/react-dates/react-dates/pull/1576))
|
|
123
|
+
|
|
124
|
+
## 20.0.0
|
|
125
|
+
- [breaking] Omit tabindex prop from calendar navigation buttons when custom buttons are supplied ([#1563](https://github.com/react-dates/react-dates/pull/1563))
|
|
126
|
+
- [new] Add hovered-start-blocked-minimun-nights and hovered-start-first-possible-end modifiers ([#1547](https://github.com/react-dates/react-dates/pull/1547))
|
|
127
|
+
- [fix] clearTimeout added for the setCalendarMonthGridHeight timeout ([#1468](https://github.com/react-dates/react-dates/pull/1468))
|
|
128
|
+
- [fix] Remove default styles for the last-in-range modifier ([#1538](https://github.com/react-dates/react-dates/pull/1538))
|
|
129
|
+
|
|
130
|
+
## 19.0.4
|
|
131
|
+
- [fix] Added `selected` aria label to dates in the selected range ([#1555](https://github.com/react-dates/react-dates/pull/1555))
|
|
132
|
+
|
|
133
|
+
## 19.0.3
|
|
134
|
+
- [fix] Fix date selection in the SDP ([#1540](https://github.com/react-dates/react-dates/pull/1540))
|
|
135
|
+
|
|
136
|
+
## 19.0.2
|
|
137
|
+
- no changes; extraneous publish
|
|
138
|
+
|
|
139
|
+
## 19.0.1
|
|
140
|
+
- [fix] Fix single date picker not responding to input ([#1533](https://github.com/react-dates/react-dates/pull/1533))
|
|
141
|
+
- [fix] Fixes the focus out event in IE11 ([#1524](https://github.com/react-dates/react-dates/pull/1524))
|
|
142
|
+
|
|
143
|
+
## 19.0.0
|
|
144
|
+
- [breaking] Call `onDatesChange` before `onFocusChange` in the DRP ([#1525](https://github.com/react-dates/react-dates/pull/1525))
|
|
145
|
+
|
|
146
|
+
## 18.5.0
|
|
147
|
+
- [fix] Add `aria-disabled` attribute to the (Customizable)CalendarDay ([#1521](https://github.com/react-dates/react-dates/pull/1521))
|
|
148
|
+
- [new] Add `startDateOffset` and `endDateOffset` props to the DRP ([#1252](https://github.com/react-dates/react-dates/pull/1252))
|
|
149
|
+
|
|
150
|
+
## 18.4.1
|
|
151
|
+
- [fix] Make DRP and SDP calendars tabbable from the inputs ([#1499](https://github.com/react-dates/react-dates/pull/1499))
|
|
152
|
+
|
|
153
|
+
## 18.4.0
|
|
154
|
+
- [new] Clarify VoiceOver text for dates selected as start-date and end-date ([#1501](https://github.com/react-dates/react-dates/pull/1501))
|
|
155
|
+
|
|
156
|
+
## 18.3.1
|
|
157
|
+
- [fix][RTL] Fix the SDP and DRP noflip util function ([#1492](https://github.com/react-dates/react-dates/pull/1492))
|
|
158
|
+
|
|
159
|
+
## 18.3.0
|
|
160
|
+
- [fix] Update the SDP and DRP to be compatible with `react-with-direction` ([#1482](https://github.com/react-dates/react-dates/pull/1482))
|
|
161
|
+
- [new] Add `minDate` and `maxDate` props to block month navigation ([#1311](https://github.com/react-dates/react-dates/pull/1311))
|
|
162
|
+
- [fix][a11y] Remove space/enter onKeyDown handling for open/close keyboard shortcuts panel ([#1464](https://github.com/react-dates/react-dates/pull/1464))
|
|
163
|
+
- [fix][a11y] Fix lack of visible focus in Firefox and IE on "?" keyboard shortcuts button ([#1463](https://github.com/react-dates/react-dates/pull/1463))
|
|
164
|
+
|
|
165
|
+
## 18.2.2
|
|
166
|
+
- [fix] Conditionally apply the `shouldComponentUpdate` method in the babel transform ([#1457](https://github.com/react-dates/react-dates/pull/1457))
|
|
167
|
+
- [fix] Fix incorrect VO for selected check-in date ([#1451](https://github.com/react-dates/react-dates/pull/1451))
|
|
168
|
+
|
|
169
|
+
## 18.2.1
|
|
170
|
+
- [fix] Add babel transform to handle PureComponent fallbacks ([#1452](https://github.com/react-dates/react-dates/pull/1452))
|
|
171
|
+
|
|
172
|
+
## 18.2.0
|
|
173
|
+
- [new] Add `onTab`/`onShiftTab` callbacks to the DayPicker (and its controllers) ([#1427](https://github.com/react-dates/react-dates/pull/1427))
|
|
174
|
+
|
|
175
|
+
## 18.1.1
|
|
176
|
+
- [fix] Prevent outside range dates from being selected by typing ([#1370](https://github.com/react-dates/react-dates/pull/1370))
|
|
177
|
+
|
|
178
|
+
## 18.1.0
|
|
179
|
+
- [fix] Default the `calendarMonthPadding` theme variable to 0 when undefined ([#1355](https://github.com/react-dates/react-dates/pull/1355))
|
|
180
|
+
- [new] Add `SingleDatePickerInputController` component ([#1360](https://github.com/react-dates/react-dates/pull/1360))
|
|
181
|
+
- [new] Add `horizontalMonthPadding` as a prop to the DRP ([#1364](https://github.com/react-dates/react-dates/pull/1364))
|
|
182
|
+
- [fix] Fix unnecessary rerender in `DayPickerNavigation` ([#1363](https://github.com/react-dates/react-dates/pull/1363))
|
|
183
|
+
|
|
184
|
+
## 18.0.4
|
|
185
|
+
- [fix] revert 'revert 'Conditionally use `PureComponent` instead of `Component`'' ([4f8eb01](https://github.com/react-dates/react-dates/commit/4f8eb01168ef6c4ae7d74e95ad14acb28960e43e))
|
|
186
|
+
|
|
187
|
+
## 18.0.3
|
|
188
|
+
- [fix] revert 'Conditionally use `PureComponent` instead of `Component`' ([50c382f](https://github.com/react-dates/react-dates/commit/50c382f7cf3e3ba60f4fdaa00eae53cf06d3c97b))
|
|
189
|
+
|
|
190
|
+
## 18.0.2
|
|
191
|
+
- [fix] Remove svgo from "inline-react-svg" babel plugin options ([#1350](https://github.com/react-dates/react-dates/pull/1350))
|
|
192
|
+
|
|
193
|
+
## 18.0.1
|
|
194
|
+
- [fix] Center vertical month navigation ([#1347](https://github.com/react-dates/react-dates/pull/1347))
|
|
195
|
+
|
|
196
|
+
## 18.0.0
|
|
197
|
+
- [fix] Conditionally use `PureComponent` instead of `Component` ([#1335](https://github.com/react-dates/react-dates/pull/1335))
|
|
198
|
+
- [breaking] Remove propTypes in production ([#1322](https://github.com/react-dates/react-dates/pull/1322))
|
|
199
|
+
- [fix] Change border-styles to minimise overlap ([#1328](https://github.com/react-dates/react-dates/pull/1328))
|
|
200
|
+
- [fix] Only blur the `activeElement` when available ([#1345](https://github.com/react-dates/react-dates/pull/1345))
|
|
201
|
+
|
|
202
|
+
## 17.2.0
|
|
203
|
+
- [fix] Add modifiers for next months in the vertical scrollable datepickers ([#1293](https://github.com/react-dates/react-dates/pull/1293))
|
|
204
|
+
- [fix] Fix cursor jumping to the end of the controlled input when typing ([#1287](https://github.com/react-dates/react-dates/pull/1287))
|
|
205
|
+
- [new] Add `horizontalMonthPadding` prop and `dayPickerHorizontalPadding` and `noScrollBarOnVerticalScrollable` theme variables ([#1298](https://github.com/react-dates/react-dates/pull/1298))
|
|
206
|
+
- [fix] Fix issue where custom month navigation was not clickable in FF ([#1305](https://github.com/react-dates/react-dates/pull/1305))
|
|
207
|
+
|
|
208
|
+
## 17.1.1
|
|
209
|
+
- [fix] Set `DayPickerNavigation__horizontal` height to zero ([#1265](https://github.com/react-dates/react-dates/pull/1265))
|
|
210
|
+
|
|
211
|
+
## 17.1.0
|
|
212
|
+
- [new] Add `ModifiersShape` and use throughout the codebase ([#1231](https://github.com/react-dates/react-dates/pull/1231))
|
|
213
|
+
- [fix] Fix minimum nights `blocked` modifiers being applied incorrectly ([#1259](https://github.com/react-dates/react-dates/pull/1259))
|
|
214
|
+
- [fix] Update conditions where `adjustDayPickerHeight` is called ([#1241](https://github.com/react-dates/react-dates/pull/1241))
|
|
215
|
+
- [fix] Do not render `OutsideClickHandler` unnecessarily ([#1256](https://github.com/react-dates/react-dates/pull/1256))
|
|
216
|
+
|
|
217
|
+
## 17.0.0
|
|
218
|
+
- [fix] Replace dumb quotes with smart quotes in default phrases ([#1168](https://github.com/react-dates/react-dates/pull/1168))
|
|
219
|
+
- [fix] Fix outside day movement on hover ([#1178](https://github.com/react-dates/react-dates/pull/1178))
|
|
220
|
+
- [fix] Add `focusable="false"` to SVGs ([#1190](https://github.com/react-dates/react-dates/pull/1190))
|
|
221
|
+
- [fix] Use `react-outside-click-handler` instead of the internal component ([#1191](https://github.com/react-dates/react-dates/pull/1191))
|
|
222
|
+
- [breaking] Change the way month heights are calculated and update the name of some `CalendarMonth`/`CalendarMonthGrid` props ([#1192](https://github.com/react-dates/react-dates/pull/1192))
|
|
223
|
+
- [new] Pass nextMonth to `onPrevMonthClick`/`onNextMonthClick` ([#1207](https://github.com/react-dates/react-dates/pull/1207))
|
|
224
|
+
- [new] Allow input border styles to be overridden in the theme ([#1201](https://github.com/react-dates/react-dates/pull/1201))
|
|
225
|
+
- [new] Allow consolidated-events@2.0.0 ([#1218](https://github.com/react-dates/react-dates/pull/1218))
|
|
226
|
+
- [fix] Remove input.blur() call to fix a focus trap in Safari/IE ([#1214](https://github.com/react-dates/react-dates/pull/1214))
|
|
227
|
+
- [new] Add support for month/year transitions ([#1106](https://github.com/react-dates/react-dates/pull/1106))
|
|
228
|
+
- [breaking] Rename renderMonth=>renderMonthText and renderCaption=>renderMonthElement ([#1220](https://github.com/react-dates/react-dates/pull/1220))
|
|
229
|
+
- [breaking] Remove default styling *completely* from the `navNext`/`navPrev` props, including position ([#1204](https://github.com/react-dates/react-dates/pull/1204))
|
|
230
|
+
- [fix] Fix propType warnings for `onMonthChange`/`onYearChange` ([#1222](https://github.com/react-dates/react-dates/pull/1222))
|
|
231
|
+
- [breaking] Remove `OutsideClickHandler` export entirely ([#1225](https://github.com/react-dates/react-dates/pull/1225))
|
|
232
|
+
|
|
233
|
+
## 16.7.1
|
|
234
|
+
- [fix] react-with-styles v3 requires react-with-direction as a peer dep; this provides it but forwards the peer dep requirement ([#1348](https://github.com/react-dates/react-dates/issues/1348))
|
|
235
|
+
|
|
236
|
+
## 16.7.0
|
|
237
|
+
- [fix] Force border-radius to be 0 on the inputs ([#1157](https://github.com/react-dates/react-dates/pull/1157))
|
|
238
|
+
- [fix] Clear previous min nights modifiers, not current ([#994](https://github.com/react-dates/react-dates/pull/994))
|
|
239
|
+
- [fix] Tweak default input styling ([#1158](https://github.com/react-dates/react-dates/pull/1158))
|
|
240
|
+
- [fix] Round transform3d values to fix font blur ([#1155](https://github.com/react-dates/react-dates/pull/1155))
|
|
241
|
+
- [new] Add `noNavButtons` prop ([#1160](https://github.com/react-dates/react-dates/pull/1160))
|
|
242
|
+
|
|
243
|
+
## 16.6.1
|
|
244
|
+
- [fix] Fix selective disabling of the `DateRangePicker` ([#1116](https://github.com/react-dates/react-dates/pull/1116))
|
|
245
|
+
- [fix] Fix `onOutsideClick` refactor ([#1115](https://github.com/react-dates/react-dates/pull/1115))
|
|
246
|
+
|
|
247
|
+
## 16.6.0
|
|
248
|
+
- [new] Add `appendToBody`/`disableScroll` props ([#1069](https://github.com/react-dates/react-dates/pull/1069))
|
|
249
|
+
- [fix] Address unexpected blur call ([#1107](https://github.com/react-dates/react-dates/pull/1107))
|
|
250
|
+
- [new] Add `verticalBorderSpacing` prop to `DayPickerSingleDateController`/`DayPickerRangeController` ([#1096](https://github.com/react-dates/react-dates/pull/1096))
|
|
251
|
+
- [fix] Move focus to `DayPicker` when readOnly is true ([#961](https://github.com/react-dates/react-dates/pull/961))
|
|
252
|
+
|
|
253
|
+
## 16.5.0
|
|
254
|
+
- [new] Export `CustomizeableCalendarDay` default styles ([#1095](https://github.com/react-dates/react-dates/pull/1095))
|
|
255
|
+
- [new] Allow selectively disabling either input in the DRP ([#](https://github.com/react-dates/react-dates/pull/606))
|
|
256
|
+
- [new] Add `dayAriaLabelFormat` prop to the SDP/DRP ([#](https://github.com/react-dates/react-dates/pull/984))
|
|
257
|
+
|
|
258
|
+
## 16.4.0
|
|
259
|
+
- [new] Export `OutsideClickHandler` in index.js ([#1089](https://github.com/react-dates/react-dates/pull/1089))
|
|
260
|
+
- [fix] Do not apply `verticalSpacing` when `withPortal` or `withFullScreenPortal` is true ([#980](https://github.com/react-dates/react-dates/pull/980))
|
|
261
|
+
- [fix] Handle minimum nights when selecting `startDate` ([#1015](https://github.com/react-dates/react-dates/pull/1015))
|
|
262
|
+
- [fix] Fix style of `CloseIcon` in the SDP ([#1058](https://github.com/react-dates/react-dates/pull/1058))
|
|
263
|
+
|
|
264
|
+
## 16.3.6
|
|
265
|
+
- [fix] Address width issues for vertical DayPickers ([#1055](https://github.com/react-dates/react-dates/pull/1055))
|
|
266
|
+
|
|
267
|
+
## 16.3.5 (I promise this one is good)
|
|
268
|
+
- [fix] Includes all necessary CSS ([c965348](https://github.com/react-dates/react-dates/commit/c96534896d8fe5c28ddc1f1090ef43dfaeebb5d6))
|
|
269
|
+
|
|
270
|
+
## 16.3.4
|
|
271
|
+
- [fix] Bumps all the RWS libraries again, now with less breakage!
|
|
272
|
+
|
|
273
|
+
## 16.3.3
|
|
274
|
+
- [revert] Reverts 'Bump react-with-style-interface-css dependency ([#1043](https://github.com/react-dates/react-dates/pull/1043))'
|
|
275
|
+
|
|
276
|
+
## 16.3.2
|
|
277
|
+
- [revert] Reverts 'Bump react-with-styles dependency ([#1041](https://github.com/react-dates/react-dates/pull/1041))'
|
|
278
|
+
|
|
279
|
+
## 16.3.1
|
|
280
|
+
- [deps] Bump react-with-styles dependency ([#1041](https://github.com/react-dates/react-dates/pull/1041))
|
|
281
|
+
- [deps] Bump react-with-style-interface-css dependency ([#1043](https://github.com/react-dates/react-dates/pull/1043))
|
|
282
|
+
|
|
283
|
+
## 16.3.0
|
|
284
|
+
- [new] customInfoPanel position prop ([#989](https://github.com/react-dates/react-dates/pull/989))
|
|
285
|
+
- [fix] Fix CustomizableCalendarDay selected/selected-start/selected-end specificity issues ([#979](https://github.com/react-dates/react-dates/pull/979))
|
|
286
|
+
- [fix] Add modifiers for `firstDayOfWeek` and `lastDayOfWeek` ([#988](https://github.com/react-dates/react-dates/pull/988))
|
|
287
|
+
- [fix] Ensure callbacks only trigger after state has been updates ([#990](https://github.com/react-dates/react-dates/pull/990))
|
|
288
|
+
|
|
289
|
+
## 16.2.1
|
|
290
|
+
- [fix] SDP `block` styling also makes the input full width ([#972](https://github.com/react-dates/react-dates/pull/972))
|
|
291
|
+
|
|
292
|
+
## 16.2.0
|
|
293
|
+
- [new] Add `startDateOffset`/`endDateOffset` props to `DayPickerRangeController` ([#884](https://github.com/react-dates/react-dates/pull/884))
|
|
294
|
+
- [fix] Make all styles inline in `CustomizableCalendarDay` ([#964](https://github.com/react-dates/react-dates/pull/964))
|
|
295
|
+
|
|
296
|
+
## 16.1.1
|
|
297
|
+
- [fix] Address some small bugs with `CustomizableCalendarDay` ([#962](https://github.com/react-dates/react-dates/pull/962))
|
|
298
|
+
|
|
299
|
+
## 16.1.0
|
|
300
|
+
- [fix] Allow for changing of the input value via highlight and replace ([#955](https://github.com/react-dates/react-dates/pull/955))
|
|
301
|
+
- [fix] Fix OPEN_UP styling ([#925](https://github.com/react-dates/react-dates/pull/925))
|
|
302
|
+
- [fix] Don't read invisible months to the screen reader ([#940](https://github.com/react-dates/react-dates/pull/940))
|
|
303
|
+
- [new] Add phrase for aria-label for the selected day ([#905](https://github.com/react-dates/react-dates/pull/905))
|
|
304
|
+
|
|
305
|
+
## 16.0.2
|
|
306
|
+
- [fix] Fix keyboard navigation issues ([#916](https://github.com/react-dates/react-dates/pull/916))
|
|
307
|
+
- [fix] Fix React warnings when events are referenced later ([#682](https://github.com/react-dates/react-dates/pull/682))
|
|
308
|
+
|
|
309
|
+
## 16.0.1
|
|
310
|
+
- [fix] Add back missing onKeyDown method to `CalendarDay` ([#901](https://github.com/react-dates/react-dates/pull/901))
|
|
311
|
+
|
|
312
|
+
## 16.0.0
|
|
313
|
+
- [breaking] Simplify `CalendarDay` component ([#894](https://github.com/react-dates/react-dates/pull/894))
|
|
314
|
+
- [breaking] rename `renderDay` prop to `renderDayContents` ([#894](https://github.com/react-dates/react-dates/pull/894))
|
|
315
|
+
- [new] Add `renderCalendarDay` component to allow for easy one-off customization of `CalendarDay` ([#894](https://github.com/react-dates/react-dates/pull/894))
|
|
316
|
+
|
|
317
|
+
## 15.5.2
|
|
318
|
+
- revert [#866](https://github.com/react-dates/react-dates/pull/866); it turned out to be semver-major
|
|
319
|
+
|
|
320
|
+
## 15.5.1
|
|
321
|
+
- [fix] Adjust `small` variant height to be 36px ([#892](https://github.com/react-dates/react-dates/pull/892))
|
|
322
|
+
|
|
323
|
+
## 15.5.0
|
|
324
|
+
- [new] Add `small` variant ([#891](https://github.com/react-dates/react-dates/pull/891))
|
|
325
|
+
|
|
326
|
+
## 15.4.0
|
|
327
|
+
- [fix] Set font sizes according to theme variable ([#885](https://github.com/react-dates/react-dates/pull/885))
|
|
328
|
+
- [new] Add `verticalSpacing` prop ([#883](https://github.com/react-dates/react-dates/pull/883))
|
|
329
|
+
|
|
330
|
+
## 15.3.0
|
|
331
|
+
- [new] Add `transitionDuration` prop ([#865](https://github.com/react-dates/react-dates/pull/865))
|
|
332
|
+
- [fix] Remove default prop values for required startDateId and endDateId props ([#866](https://github.com/react-dates/react-dates/pull/866))
|
|
333
|
+
- [new] Add `block` styling prop ([#871](https://github.com/react-dates/react-dates/pull/871))
|
|
334
|
+
- [new] Add `noBorder` prop to `DayPicker` variations ([#869](https://github.com/react-dates/react-dates/pull/869))
|
|
335
|
+
- [new] Add `noBorder` prop to inputs ([#870](https://github.com/react-dates/react-dates/pull/870))
|
|
336
|
+
- [fix] Remove unused width style in `KeyboardShortcutsRow` ([#867](https://github.com/react-dates/react-dates/pull/867))
|
|
337
|
+
|
|
338
|
+
## 15.2.1
|
|
339
|
+
- [fix] Republish `_datepicker.css`
|
|
340
|
+
|
|
341
|
+
## 15.2.0
|
|
342
|
+
- [new] Add back today modifier (and class) ([#861](https://github.com/react-dates/react-dates/pull/861))
|
|
343
|
+
- [new] Add ariaLabelFormat prop to CalendarDay ([#842](https://github.com/react-dates/react-dates/pull/842), [#857](https://github.com/react-dates/react-dates/pull/857))
|
|
344
|
+
- [fix] Reset `after-hover-start` in `componentWillReceiveProps` instead of only on click ([#843](https://github.com/react-dates/react-dates/pull/843))
|
|
345
|
+
- [fix] Use `color.background` variable instead of hardcoded #fff for theming ([#852](https://github.com/react-dates/react-dates/pull/852))
|
|
346
|
+
- [fix] Update CalendarMonthGrid months based on locale change ([#795](https://github.com/react-dates/react-dates/pull/795))
|
|
347
|
+
|
|
348
|
+
## 15.1.0
|
|
349
|
+
- [fix] Add explicit border-radius on KeyboardShortcuts button ([#792](https://github.com/react-dates/react-dates/pull/792))
|
|
350
|
+
- [fix] Pass onClose from SingleDatePicker to DayPickerSingleDateController ([#816](https://github.com/react-dates/react-dates/pull/816))
|
|
351
|
+
- [new] Pass modifiers to `renderDay` as second arg ([#829](https://github.com/react-dates/react-dates/pull/829))
|
|
352
|
+
- [fix] Fix KeyboardShortcutsPanel focus issues ([#825](https://github.com/react-dates/react-dates/pull/825))
|
|
353
|
+
|
|
354
|
+
## 15.0.0
|
|
355
|
+
- [breaking] Rename SDP keydown callback props so that they match the DRP ([#800](https://github.com/react-dates/react-dates/pull/800))
|
|
356
|
+
- [fix] Explicitly set the border-radius on the keyboard shortcuts button ([#792](https://github.com/react-dates/react-dates/pull/792))
|
|
357
|
+
|
|
358
|
+
## 14.1.0
|
|
359
|
+
- [new] Add esm build ([#791](https://github.com/react-dates/react-dates/pull/791))
|
|
360
|
+
- [new] Add back `selected-start`/`selected-end` modifiers to `CalendarDay` ([#796](https://github.com/react-dates/react-dates/pull/796))
|
|
361
|
+
|
|
362
|
+
## 14.0.0
|
|
363
|
+
- [fix] Flip arrow navigation in RTL context ([#775](https://github.com/react-dates/react-dates/pull/775))
|
|
364
|
+
- [new] Add `verticalHeight` prop to SDP, DRP and DayPicker ([#773](https://github.com/react-dates/react-dates/pull/773))
|
|
365
|
+
- [breaking] Modify default `DateInput` styling, convert inputs to actual inputs, and remove caption ids ([#780](https://github.com/react-dates/react-dates/pull/780))
|
|
366
|
+
|
|
367
|
+
## 13.0.6
|
|
368
|
+
- [fix] Update `react-with-styles-interface-css` dependency ([#777](https://github.com/react-dates/react-dates/pull/777))
|
|
369
|
+
|
|
370
|
+
## 13.0.5
|
|
371
|
+
- [fix] Add back missing built CSS file
|
|
372
|
+
|
|
373
|
+
## 13.0.4
|
|
374
|
+
- [fix] Pass through `customCloseIcon` prop from the SDP to the SDPInput ([#767](https://github.com/react-dates/react-dates/pull/767))
|
|
375
|
+
- [fix] Fix incorrect available/unavailable phrase being read on `CalendarDay` components ([#771](https://github.com/react-dates/react-dates/pull/771))
|
|
376
|
+
|
|
377
|
+
## 13.0.3
|
|
378
|
+
- [fix] Change CSS style specificity to 0 for the default stylesheet ([#753](https://github.com/react-dates/react-dates/pull/753))
|
|
379
|
+
- [fix] Remove unnecessary caption object from `CalendarMonth` styles ([#757](https://github.com/react-dates/react-dates/pull/757))
|
|
380
|
+
|
|
381
|
+
## 13.0.2
|
|
382
|
+
- [fix] Use default export of `registerCSSInterfaceWithDefaultTheme` in `initialize`
|
|
383
|
+
|
|
384
|
+
## 13.0.1
|
|
385
|
+
- [fix] Move caption div back outside of `CalendarMonth` table ([#748](https://github.com/react-dates/react-dates/pull/748))
|
|
386
|
+
|
|
387
|
+
## 13.0.0
|
|
388
|
+
- [breaking] Convert react-dates to rely on `react-with-styles` in place of CSS stylesheets ([#722](https://github.com/react-dates/react-dates/pull/722))
|
|
389
|
+
|
|
390
|
+
## 12.7.1
|
|
391
|
+
- [fix] set explicit border radius on shortcuts button ([#792](https://github.com/react-dates/react-dates/pull/792))
|
|
392
|
+
|
|
393
|
+
## 12.7.0
|
|
394
|
+
- [new] Some accessibility improvements and patches ([#715](https://github.com/react-dates/react-dates/pull/715))
|
|
395
|
+
|
|
396
|
+
## 12.6.0
|
|
397
|
+
- [new] Add `weekDayFormat` prop to SDP/DRP ([#650](https://github.com/react-dates/react-dates/pull/650))
|
|
398
|
+
- [new] Add `openDirection` prop to SDP/DRP ([#653](https://github.com/react-dates/react-dates/pull/653))
|
|
399
|
+
- [fix] Reset visibleDays/currentMonth state when `enableOutsideDays` or `numberOfMonths` has changed ([#702](https://github.com/react-dates/react-dates/pull/702))
|
|
400
|
+
- [new] Add $react-dates-color-primary-dark CSS variable ([#704](https://github.com/react-dates/react-dates/pull/704))
|
|
401
|
+
|
|
402
|
+
## 12.5.1
|
|
403
|
+
- [fix] Ensure `this.childNode` exists in the `OutsideClickHandler` ([e330839](https://github.com/react-dates/react-dates/commit/e3308395212bef07d1f3c05f413cac3dd245ac98))
|
|
404
|
+
- [fix] Remove `minimumNights` prop from the `DayPickerSingleDateController` ([#686](https://github.com/react-dates/react-dates/pull/686))
|
|
405
|
+
|
|
406
|
+
## 12.5.0
|
|
407
|
+
- [fix] Fix `onOutsideClick` prop functionality in the SDP ([#666](https://github.com/react-dates/react-dates/pull/666))
|
|
408
|
+
- [new] Add `inputIconPosition` prop ([#627](https://github.com/react-dates/react-dates/pull/627))
|
|
409
|
+
- [fix] Adjust DayPicker styles when portal status is set ([#659](https://github.com/react-dates/react-dates/pull/659))
|
|
410
|
+
|
|
411
|
+
## 12.4.0
|
|
412
|
+
- [fix] Pass `onPrevMonthClick`/`onNextMonthClick` props through the SDP ([#657](https://github.com/react-dates/react-dates/pull/657))
|
|
413
|
+
- [fix] Recalculate modifiers when prop modifiers change ([#668](https://github.com/react-dates/react-dates/pull/668))
|
|
414
|
+
- [new] Pass back month as argument to `onPrevMonthClick`/`onNextMonthClick` props ([#667](https://github.com/react-dates/react-dates/pull/667))
|
|
415
|
+
|
|
416
|
+
## 12.3.0
|
|
417
|
+
- [fix] Allows users to type in same-day start date and end date when `minimumNights` is 0 ([#555](https://github.com/react-dates/react-dates/pull/555))
|
|
418
|
+
- [new] Add `firstDayOfWeek` prop ([#371](https://github.com/react-dates/react-dates/pull/371))
|
|
419
|
+
- [fix] Add back `phrases` support for `SingleDatePicker` ([#623](https://github.com/react-dates/react-dates/pull/623))
|
|
420
|
+
|
|
421
|
+
## 12.2.4
|
|
422
|
+
- [fix] Fix `initialVisibleMonth` error in the `DayPickerRangeController` component ([#617](https://github.com/react-dates/react-dates/pull/617))
|
|
423
|
+
- [fix] Pass through missing `keepOpenOnDateSelect` prop to the `DayPickerSingleDateController` component ([#620](https://github.com/react-dates/react-dates/pull/620))
|
|
424
|
+
|
|
425
|
+
## 12.2.3
|
|
426
|
+
- [fix] Export `DayPickerSingleDateController` in index.js ([#609](https://github.com/react-dates/react-dates/pull/609))
|
|
427
|
+
|
|
428
|
+
## 12.2.2
|
|
429
|
+
- [fix] Reevaluate `--blocked` and `--blocked-outside-range` modifiers in the SDP componentWilLReceiveProps ([#550](https://github.com/react-dates/react-dates/pull/550))
|
|
430
|
+
|
|
431
|
+
## 12.2.1
|
|
432
|
+
- [fix] Fix `isTouchDevice` warning in `DayPickerSingleDateController` ([77e2135](https://github.com/react-dates/react-dates/commit/77e2135d2009994fbf2c62e3ff68ce82e5786194))
|
|
433
|
+
|
|
434
|
+
## v12.2.0
|
|
435
|
+
- [fix] Deprecate `isTouchDevice` in favor of `is-touch-device` ([#576](https://github.com/react-dates/react-dates/pull/576))
|
|
436
|
+
- [fix] Disable calendar icon when component is disabled ([#591](https://github.com/react-dates/react-dates/pull/591))
|
|
437
|
+
- [fix] Fix issue where range does not clear on invisible months ([#575](https://github.com/react-dates/react-dates/pull/575))
|
|
438
|
+
- [new] Add `DayPickerSingleDateController` component ([#573](https://github.com/react-dates/react-dates/pull/573))
|
|
439
|
+
|
|
440
|
+
## v12.1.2
|
|
441
|
+
- [fix] Add null check for calendarMonthGrid ref ([#552](https://github.com/react-dates/react-dates/pull/552))
|
|
442
|
+
|
|
443
|
+
## v12.1.1
|
|
444
|
+
- [fix] Remove `--hovered-span` modifier when selecting a new end date ([#523](https://github.com/react-dates/react-dates/pull/523))
|
|
445
|
+
- [fix] Improve `isTouchDevice` detection logic ([#516](https://github.com/react-dates/react-dates/pull/516))
|
|
446
|
+
- [fix] Recompute `--blocked` and `--blocked-outside-range` when `focusedInput` changes ([#522](https://github.com/react-dates/react-dates/pull/522))
|
|
447
|
+
|
|
448
|
+
## v12.1.0
|
|
449
|
+
- [new] Add `showDefaultInputIcon` and `customInputIcon` props to SDP ([#513](https://github.com/react-dates/react-dates/pull/513))
|
|
450
|
+
|
|
451
|
+
## v12.0.0
|
|
452
|
+
- [breaking] Updates moment peer dependency to ^2.18.1 ([#505](https://github.com/react-dates/react-dates/pull/505))
|
|
453
|
+
|
|
454
|
+
## v11.1.0
|
|
455
|
+
- [fix] Patch issues with vertical scrollable datepickers, after-hovered-start and month transitions ([#503](https://github.com/react-dates/react-dates/pull/503))
|
|
456
|
+
- [new] Adds a `readOnly` prop on the DRP and SDP ([#501](https://github.com/react-dates/react-dates/pull/501))
|
|
457
|
+
- [fix] Disable hover when `focusedInput` is falsy ([#483](https://github.com/react-dates/react-dates/pull/483))
|
|
458
|
+
|
|
459
|
+
## v11.0.1
|
|
460
|
+
- [fix] Fixes small modifier issues in the DRP after rearchitecture ([#489](https://github.com/react-dates/react-dates/pull/489))
|
|
461
|
+
|
|
462
|
+
## v11.0.0
|
|
463
|
+
- [breaking] Dramatic rearchitecture of modifiers with the goal of improved performance ([#450](https://github.com/react-dates/react-dates/pull/450))
|
|
464
|
+
|
|
465
|
+
## v10.2.0
|
|
466
|
+
- [new] Add RTL support to the DRP and the SDP with the `isRTL` prop ([#454](https://github.com/react-dates/react-dates/pull/454))
|
|
467
|
+
- [new] Add `renderMonth` prop to DRP and SDP([#449](https://github.com/react-dates/react-dates/pull/449))
|
|
468
|
+
|
|
469
|
+
## v10.1.3
|
|
470
|
+
- [Fix] OutsideClickHandler: ensure this.childNode exists (#437)
|
|
471
|
+
|
|
472
|
+
## v10.1.2
|
|
473
|
+
- [fix] Remove unused scss variables ([#475](https://github.com/react-dates/react-dates/pull/475))
|
|
474
|
+
- [fix] Address some issues introduced by the accessibility PR in v10.0.0 ([#477](https://github.com/react-dates/react-dates/pull/477))
|
|
475
|
+
- [fix] Only update phrase object in the DRP when necessary ([#448](https://github.com/react-dates/react-dates/pull/448))
|
|
476
|
+
|
|
477
|
+
## v10.1.1
|
|
478
|
+
- [fix] Remove unnecessary `onClose` instances on the `SDPInput` and `DateInput` components
|
|
479
|
+
|
|
480
|
+
## v10.1.0
|
|
481
|
+
- [new] Add `onClose` callback ([#397](https://github.com/react-dates/react-dates/pull/397))
|
|
482
|
+
|
|
483
|
+
## v10.0.1
|
|
484
|
+
- [fix] Fix a few nits as a result of the accessibility PR ([#429](https://github.com/react-dates/react-dates/pull/429))
|
|
485
|
+
|
|
486
|
+
## v10.0.0
|
|
487
|
+
- [breaking] Add keyboard accessibility to react-dates ([#301](https://github.com/react-dates/react-dates/pull/301))
|
|
488
|
+
|
|
489
|
+
## v9.0.1
|
|
490
|
+
- [fix] Fixes `withPortal` implementation in Firefox ([#421](https://github.com/react-dates/react-dates/pull/421))
|
|
491
|
+
|
|
492
|
+
## v9.0.0
|
|
493
|
+
- [fix] Only send down relevant modifiers down the tree ([#412](https://github.com/react-dates/react-dates/pull/412))
|
|
494
|
+
- [fix] Optimise `isSameDay` method ([#415](https://github.com/react-dates/react-dates/pull/415))
|
|
495
|
+
- [fix] Blur input for portal implementations (and on touch devices) ([#410](https://github.com/react-dates/react-dates/pull/410))
|
|
496
|
+
- [breaking] Add `daySize` prop to scale the pickers properly ([#406](https://github.com/react-dates/react-dates/pull/406))
|
|
497
|
+
|
|
498
|
+
## v8.2.1
|
|
499
|
+
- [fix] Add `needsclick` to inputs to disable fastclick ([#377](https://github.com/react-dates/react-dates/pull/377))
|
|
500
|
+
- [deps] Update `style-loader`, `sinon`, `babel-loader`, `coveralls`, and `karma-webpack` ([#379](https://github.com/react-dates/react-dates/pull/379), [#372](https://github.com/react-dates/react-dates/pull/372), [#373](https://github.com/react-dates/react-dates/pull/373))
|
|
501
|
+
|
|
502
|
+
## v8.2.0
|
|
503
|
+
- [new] Add `renderCalendarInfo` prop to DRP and SDP ([#341](https://github.com/react-dates/react-dates/pull/341))
|
|
504
|
+
|
|
505
|
+
## v8.1.1
|
|
506
|
+
- [fix] Add missing `customCloseIcon` propType declarations ([#367](https://github.com/react-dates/react-dates/pull/367))
|
|
507
|
+
|
|
508
|
+
## v8.1.0
|
|
509
|
+
- [new] Add `customCloseIcon` prop ([#356](https://github.com/react-dates/react-dates/pull/356))
|
|
510
|
+
|
|
511
|
+
## v8.0.0
|
|
512
|
+
- [fix] Remove `$react-dates-width-day-picker` variable from `CalendarMonthGrid.scss`, allowing overrides ([#352](https://github.com/react-dates/react-dates/pull/352))
|
|
513
|
+
- [new] Create `defaultPhrases` file for i18n ([#351](https://github.com/react-dates/react-dates/pull/351))
|
|
514
|
+
- [fix] Set `isTouchDevice` on `componentDidMount` ([#336](https://github.com/react-dates/react-dates/pull/336))
|
|
515
|
+
- [fix] Change `CalendarMonthGrid` background to use `$react-dates-color-white` ([#342](https://github.com/react-dates/react-dates/pull/342))
|
|
516
|
+
- [breaking] Make `onFocusChange` and `onDate(s)Change` props required and `forbidExtraProps` on all components ([#332](https://github.com/react-dates/react-dates/pull/332))
|
|
517
|
+
- [fix] Fix caption alignment when using bootstrap ([#323](https://github.com/react-dates/react-dates/pull/323))
|
|
518
|
+
|
|
519
|
+
## v7.0.1
|
|
520
|
+
- [fix] Fix minimum nights issues for startDates/endDates with time ([#310](https://github.com/react-dates/react-dates/pull/310))
|
|
521
|
+
|
|
522
|
+
## v7.0.0
|
|
523
|
+
- [breaking] Simplify `CalendarDay` DOM ([#291](https://github.com/react-dates/react-dates/pull/291))
|
|
524
|
+
|
|
525
|
+
## v6.1.0
|
|
526
|
+
- [fix] Revert "Simplify `CalendarDay` DOM ([#291](https://github.com/react-dates/react-dates/pull/291))"
|
|
527
|
+
- [new] Add `renderDay` prop to customize the content of the `CalendarDay` component ([#307](https://github.com/react-dates/react-dates/pull/307))
|
|
528
|
+
|
|
529
|
+
## v6.0.2
|
|
530
|
+
- [fix] Fix `day` prop type warning to `CalendarDay` ([#305](https://github.com/react-dates/react-dates/pull/305))
|
|
531
|
+
- [fix] Remove blinking cursor in iOS ([#304](https://github.com/react-dates/react-dates/pull/304))
|
|
532
|
+
- [fix] Do not render `DayPicker` when not visible ([#286](https://github.com/react-dates/react-dates/pull/286))
|
|
533
|
+
- [breaking] Simplify `CalendarDay` DOM ([#291](https://github.com/react-dates/react-dates/pull/291))
|
|
534
|
+
|
|
535
|
+
## v6.0.1
|
|
536
|
+
- [fix] Attached SDP closes on outside click again ([#288](https://github.com/react-dates/react-dates/pull/288))
|
|
537
|
+
- [fix] SDP display value defaults to moment's `L` format again instead of ISO ([#285](https://github.com/react-dates/react-dates/pull/285))
|
|
538
|
+
|
|
539
|
+
## v6.0.0
|
|
540
|
+
- [breaking] Remove hidden `label` element in favor of an `aria-label` property ([#280](https://github.com/react-dates/react-dates/pull/280))
|
|
541
|
+
- [new] Add `customArrowIcon` prop ([#277](https://github.com/react-dates/react-dates/pull/277))
|
|
542
|
+
- [breaking] Remove mousedown/mouseup/touchstart/touchend/touchtap handlers in favor of click ([#275](https://github.com/react-dates/react-dates/pull/275))
|
|
543
|
+
- [fix] Fix duplicate months created when increasing `numberOfMonths` and include year in `CalendarMonth` key ([#279](https://github.com/react-dates/react-dates/pull/279))
|
|
544
|
+
- [new] Add `screenReaderInputMessage` to populate the `aria-describedby` attribute on the input ([#266](https://github.com/react-dates/react-dates/pull/266))
|
|
545
|
+
|
|
546
|
+
## v5.2.0
|
|
547
|
+
- [new] Add `VERTICAL_SCROLLABLE` orientation to the `DayPickerRangeController` and child components ([#250](https://github.com/react-dates/react-dates/pull/250))
|
|
548
|
+
|
|
549
|
+
## v5.1.1
|
|
550
|
+
- [fix] Fix regression where user was no longer able to type into input ([#269](https://github.com/react-dates/react-dates/pull/269))
|
|
551
|
+
|
|
552
|
+
## v5.1.0
|
|
553
|
+
- [new] Add `showDefaultInputIcon` and `customInputIcon` prop to show an icon at the beginning of the input field ([#222](https://github.com/react-dates/react-dates/pull/222))
|
|
554
|
+
|
|
555
|
+
## v5.0.0
|
|
556
|
+
- [breaking] Update input value to use ISO format instead of the display format ([#229](https://github.com/react-dates/react-dates/pull/229))
|
|
557
|
+
- [breaking] Performance improvements, including the removal of the modifiers prop from `CalendarDay` ([#217](https://github.com/react-dates/react-dates/pull/217))
|
|
558
|
+
|
|
559
|
+
## v4.3.3
|
|
560
|
+
- [fix] Force DayPicker and CalendarMonthGrid alignment to the left ([#257](https://github.com/react-dates/react-dates/pull/257),[#258](https://github.com/react-dates/react-dates/pull/258))
|
|
561
|
+
|
|
562
|
+
## v4.3.2
|
|
563
|
+
- [fix] Finish refactor from 471bd602302f4dfe4f1e66b79d50b22f7511d8ba ([#233](https://github.com/react-dates/react-dates/pull/233))
|
|
564
|
+
|
|
565
|
+
## v4.3.1 (unpublished)
|
|
566
|
+
- [fix] Don’t create an unnecessary array from a NodeList, which avoids needing `Array.from` ([#233](https://github.com/react-dates/react-dates/pull/233))
|
|
567
|
+
|
|
568
|
+
## v4.3.0
|
|
569
|
+
- [new] Add today modifier to the `SingleDatePicker` component ([#218](https://github.com/react-dates/react-dates/pull/218))
|
|
570
|
+
- [fix] Fix week header alignment when `numberOfMonths` is greater than 2 ([#221](https://github.com/react-dates/react-dates/pull/221))
|
|
571
|
+
- [fix] Fix `transition`/`transform` prefixing on `.CalendarMonthGrid--animating` class ([#220](https://github.com/react-dates/react-dates/pull/220))
|
|
572
|
+
- [fix] Do not allow `pointer-events` on invisible first month ([#227](https://github.com/react-dates/react-dates/pull/227))
|
|
573
|
+
- [fix] Remove `maxLength` attribute from inputs ([#219](https://github.com/react-dates/react-dates/pull/219))
|
|
574
|
+
|
|
575
|
+
## v4.2.0
|
|
576
|
+
- [new] Add `isDayHighlighted` prop to the DRP/SDP which applies a `highlighted-calendar` to the relevant days ([#206](https://github.com/react-dates/react-dates/pull/206))
|
|
577
|
+
- [new] Add `today` modifier to the `DayPickerRangeController` component ([#213](https://github.com/react-dates/react-dates/pull/213))
|
|
578
|
+
|
|
579
|
+
## v4.1.2
|
|
580
|
+
- [fix] `DayPicker` now has initial width set, even before any other interaction ([#215](https://github.com/react-dates/react-dates/pull/215))
|
|
581
|
+
|
|
582
|
+
## v4.1.1
|
|
583
|
+
- [fix] Fix issue where the DayPicker height and width were not always being set initially ([#196](https://github.com/react-dates/react-dates/pull/196))
|
|
584
|
+
- [fix] Fix closed DRP/SDP refocus issue on window blur and refocus ([#212](https://github.com/react-dates/react-dates/pull/212))
|
|
585
|
+
|
|
586
|
+
## v4.1.0
|
|
587
|
+
- [new] Separate out date range input event handling logic into the `DateRangePickerInputController` component ([#180](https://github.com/react-dates/react-dates/pull/180))
|
|
588
|
+
- [fix] Only responsivize the DRP and SDP when `withPortal` and `withFullScreenPortal` options are false ([#183](https://github.com/react-dates/react-dates/pull/183))
|
|
589
|
+
- [new] Separate out date range calendar event handling logic and styles into the `DayPickerRangeController` component ([#167](https://github.com/react-dates/react-dates/pull/167))
|
|
590
|
+
|
|
591
|
+
## v4.0.2
|
|
592
|
+
- [patch] Revert [#176](https://github.com/react-dates/react-dates/pull/176) ([#189](https://github.com/react-dates/react-dates/pull/189))
|
|
593
|
+
|
|
594
|
+
## v4.0.1
|
|
595
|
+
- [patch] `initialVisibleMonth` prop will now be called every time the `DayPicker` is opened ([#176](https://github.com/react-dates/react-dates/pull/176))
|
|
596
|
+
- [patch] Use the `readOnly` prop on inputs instead of the `disabled` prop on touch devices ([#174](https://github.com/react-dates/react-dates/pull/174))
|
|
597
|
+
|
|
598
|
+
## v4.0.0
|
|
599
|
+
- [breaking] Cut the tether dependency from react-dates ([#163](https://github.com/react-dates/react-dates/pull/163))
|
|
600
|
+
|
|
601
|
+
## v3.6.0
|
|
602
|
+
- [new] Add `navPrev`/`navNext` props for custom month navigation ([#161](https://github.com/react-dates/react-dates/pull/161))
|
|
603
|
+
- [fix] Add missing right border on caret ([#160](https://github.com/react-dates/react-dates/pull/160))
|
|
604
|
+
- [fix] Adjust `DayPicker` height when `initialVisibleMonth` height is different from the current month's ([#159](https://github.com/react-dates/react-dates/pull/159))
|
|
605
|
+
- [new] Add `keepOpenOnDateSelect` prop to the `DateRangePicker` and `SingleDatePicker` ([#157](https://github.com/react-dates/react-dates/pull/157))
|
|
606
|
+
|
|
607
|
+
## v3.5.0
|
|
608
|
+
- [new] Add support for clear date button on the `SingleDatePicker` ([#155](https://github.com/react-dates/react-dates/pull/155))
|
|
609
|
+
- [fix] Fix focus behavior for vertically attached datepickers ([#121](https://github.com/react-dates/react-dates/pull/121))
|
|
610
|
+
|
|
611
|
+
## v3.4.0
|
|
612
|
+
- [new] Add support for `required` attribute on inputs ([#142](https://github.com/react-dates/react-dates/pull/142))
|
|
613
|
+
|
|
614
|
+
## v3.3.4
|
|
615
|
+
- [fix] Fix same tether overlay issue for the `SingleDatePicker` component ([#133](https://github.com/react-dates/react-dates/pull/133))
|
|
616
|
+
|
|
617
|
+
## v3.3.3
|
|
618
|
+
- [fix] Allow for elements to be interacted with when rendered beneath the tether component ([#131](https://github.com/react-dates/react-dates/pull/131))
|
|
619
|
+
|
|
620
|
+
## v3.3.2
|
|
621
|
+
- [fix] Responsive the `DateRangePicker` and `SingleDatePicker` components ([#80](https://github.com/react-dates/react-dates/pull/83))
|
|
622
|
+
|
|
623
|
+
## v3.3.1
|
|
624
|
+
- [fix] Update all days to use noon as their time stamp to fix a number of DST issues ([#114](https://github.com/react-dates/react-dates/pull/114))
|
|
625
|
+
|
|
626
|
+
## v3.3.0
|
|
627
|
+
- [new] Add `anchorDirection` prop to the SingleDatePicker and DateRangePicker components ([#72](https://github.com/react-dates/react-dates/pull/72))
|
|
628
|
+
|
|
629
|
+
## v3.2.0
|
|
630
|
+
- [new] Add `initialVisibleMonth` prop to the SingleDatePicker, DateRangePicker, and DayPicker components ([#70](https://github.com/react-dates/react-dates/pull/70))
|
|
631
|
+
|
|
632
|
+
## v3.1.1
|
|
633
|
+
- [fix] Fix moment dependencies to allow v2.10 - v2.14
|
|
634
|
+
|
|
635
|
+
## v3.1.0
|
|
636
|
+
- [new] Allow `displayFormat` prop to take a function as well as a string ([#98](https://github.com/react-dates/react-dates/pull/98))
|
|
637
|
+
- [fix] Default value for `displayFormat` now actually returns moment's `L` format based on the locale ([#98](https://github.com/react-dates/react-dates/pull/98)))
|
|
638
|
+
|
|
639
|
+
## v3.0.0
|
|
640
|
+
- [breaking] Move the constants file to the top-level ([#53](https://github.com/react-dates/react-dates/pull/53))
|
|
641
|
+
- [breaking] Add `reopenPickerOnClearDates` prop so that the DateRangePicker no longer automatically reopens when clearing dates ([#75](https://github.com/react-dates/react-dates/pull/75))
|
|
642
|
+
|
|
643
|
+
## v2.2.0
|
|
644
|
+
- [fix] Fix height issue where an extra table row was being rendered for some months ([#57](https://github.com/react-dates/react-dates/pull/57))
|
|
645
|
+
- [fix] Disables user-select on navigation ([#74](https://github.com/react-dates/react-dates/pull/74))
|
|
646
|
+
- [new] Allows for a custom date display format ([#52](https://github.com/react-dates/react-dates/pull/52))
|
|
647
|
+
|
|
648
|
+
## v2.1.1
|
|
649
|
+
- [fix] Fix initial day of month to utc to fix daylight savings time problem in Brazil and other locales
|
|
650
|
+
- [fix] Remove jQuery as a dependency
|
|
651
|
+
- [fix] Add centered text alignment to `DayPicker__caption` class to work with bootstrap styles
|
|
652
|
+
|
|
653
|
+
## v2.1.0
|
|
654
|
+
- [new] Export date comparison methods - `isNextDay`, `isSameDay`, `isInclusivelyAfterDay`, `isInclusivelyBeforeDay`
|
|
655
|
+
- [fix] Replace `Array.includes` with `array-includes` for compatibility with IE11
|
|
656
|
+
|
|
657
|
+
## v2.0.0
|
|
658
|
+
- [new] Set scss variables to `!default` for easing overriding
|
|
659
|
+
- [breaking] Rename scss variables to be more generic and namespace them with the `$react-dates-` prefix
|
|
660
|
+
- [new] Add `disabled` functionality to the `<SingleDatePicker />` and `<DateRangePicker />`
|
|
661
|
+
- [breaking] Consolidate `blockedDates`, `blockedByDefault`, and `unblockedDates` into a single function prop `isDayBlocked`
|
|
662
|
+
- [breaking] Remove prop `allowPastDates` in favor of `isOutsideRange` prop
|
|
663
|
+
|
|
664
|
+
## v1.0.0
|
|
665
|
+
- Initial commit
|