- [fix] Updates all days to use noon as their time stamp to fix a number of DST issues (#114)
- [new] Add
anchorDirection
prop to the SingleDatePicker and DateRangePicker components (#72)
- [new] Add
initialVisibleMonth
prop to the SingleDatePicker, DateRangePicker, and DayPicker components (#70)
- [fix] Fix moment dependencies to allow v2.10 - v2.14
- [new] Allow
displayFormat
prop to take a function as well as a string (#98) - [fix] Default value for
displayFormat
now actually returns moment'sL
format based on the locale (#98))
- [breaking] Move the constants file to the top-level (#53)
- [breaking] Add
reopenPickerOnClearDates
prop so that the DateRangePicker no longer automatically reopens when clearing dates (#75)
- [fix] Fix height issue where an extra table row was being rendered for some months (#57)
- [fix] Disables user-select on navigation (#74)
- [new] Allows for a custom date display format (#52)
- [fix] Fix initial day of month to utc to fix daylight savings time problem in Brazil and other locales
- [fix] Remove jQuery as a dependency
- [fix] Add centered text alignment to
DayPicker__caption
class to work with bootstrap styles
- [new] Export date comparision methods -
isNextDay
,isSameDay
,isInclusivelyAfterDay
,isInclusivelyBeforeDay
- [fix] Replace
Array.includes
witharray-includes
for compatibility with IE11
- [new] Set scss variables to
!default
for easing overriding - [breaking] Rename scss variables to be more generic and namespace them with the
$react-dates-
prefix - [new] Add
disabled
functionality to the<SingleDatePicker />
and<DateRangePicker />
- [breaking] Consolidate
blockedDates
,blockedByDefault
, andunblockedDates
into a single function propisDayBlocked
- [breaking] Remove prop
allowPastDates
in favor ofisOutsideRange
prop
- Initial commit