- [fix] Fix
initialVisibleMonth
error in theDayPickerRangeController
component (#617) - [fix] Pass through missing
keepOpenOnDateSelect
prop to theDayPickerSingleDateController
component (#620)
- [fix] Export
DayPickerSingleDateController
in index.js (#609)
- [fix] Reevaluate
--blocked
and--blocked-outside-range
modifiers in the SDP componentWilLReceiveProps (#550)
- [fix] Fix
isTouchDevice
warning inDayPickerSingleDateController
(77e2135)
- [fix] Deprecate
isTouchDevice
in favor ofis-touch-device
(#576) - [fix] Disable calendar icon when component is disabled (#591)
- [fix] Fix issue where range does not clear on invisible months (#575)
- [new] Add
DayPickerSingleDateController
component (#573)
- [fix] Add null check for calendarMonthGrid ref (#552)
- [fix] Remove
--hovered-span
modifier when selecting a new end date (#523) - [fix] Improve
isTouchDevice
detection logic (#516) - [fix] Recompute
--blocked
and--blocked-outside-range
whenfocusedInput
changes (#522)
- [new] Add
showDefaultInputIcon
andcustomInputIcon
props to SDP (#513)
- [breaking] Updates moment peer dependency to ^2.18.1 (#505)
- [fix] Patch issues with vertical scrollable datepickers, after-hovered-start and month transitions (#503)
- [new] Adds a
readOnly
prop on the DRP and SDP (#501) - [fix] Disable hover when
focusedInput
is falsey (#483)
- [fix] Fixes small modifier issues in the DRP after rearchitecture (#489)
- [breaking] Dramatic rearchitecture of modifiers with the goal of improved performance (#450)
- [new] Add RTL support to the DRP and the SDP with the
isRTL
prop (#454) - [new] Add
renderMonth
prop to DRP and SDP(#449)
- [fix] Remove unused scss variables (#475)
- [fix] Address some issues introduced by the accessibility PR in v10.0.0 (#477)
- [fix] Only update phrase object in the DRP when necessary (#448)
- [fix] Remove unnecessary
onClose
instances on theSDPInput
andDateInput
components
- [new] Add
onClose
callback (#397)
- [fix] Fix a few nits as a result of the accessibility PR (#429)
- [breaking] Add keyboard accessibility to react-dates (#301)
- [fix] Fixes
withPortal
implementation in Firefox (#421)
- [fix] Only send down relevant modifiers down the tree (#412)
- [fix] Optimise
isSameDay
method (#415) - [fix] Blur input for portal implementations (and on touch devices) (#410)
- [breaking] Add
daySize
prop to scale the pickers properly (#406)
- [fix] Add
needsclick
to inputs to disable fastclick (#377) - [deps] Update
style-loader
,sinon
,babel-loader
,coveralls
, andkarma-webpack
(#379, #372, #373)
- [new] Add
renderCalendarInfo
prop to DRP and SDP (#341)
- [fix] Add missing
customCloseIcon
propType declarations (#367)
- [new] Add
customCloseIcon
prop (#356)
- [fix] Remove
$react-dates-width-day-picker
variable fromCalendarMonthGrid.scss
, allowing overrides (#352) - [new] Create
defaultPhrases
file for i18n (#351) - [fix] Set
isTouchDevice
oncomponentDidMount
(#336) - [fix] Change
CalendarMonthGrid
background to use$react-dates-color-white
(#342) - [breaking] Make
onFocusChange
andonDate(s)Change
props required andforbidExtraProps
on all components (#332) - [fix] Fix caption alignment when using bootstrap (#323)
- [fix] Fix minimum nights issues for startDates/endDates with time (#310)
- [breaking] Simplify
CalendarDay
DOM (#291)
- [fix] Revert "Simplify
CalendarDay
DOM (#291)" - [new] Add
renderDay
prop to customize the content of theCalendarDay
component (#307)
- [fix] Fix
day
prop type warning toCalendarDay
(#305) - [fix] Remove blinking cursor in iOS (#304)
- [fix] Do not render
DayPicker
when not visible (#286) - [breaking] Simplify
CalendarDay
DOM (#291)
- [fix] Attached SDP closes on outside click again (#288)
- [fix] SDP display value defaults to moment's
L
format again instead of ISO (#285)
- [breaking] Remove hidden
label
element in favor of anaria-label
property (#280) - [new] Add
customArrowIcon
prop (#277) - [breaking] Remove mousedown/mouseup/touchstart/touchend/touchtap handlers in favor of click (#275)
- [fix] Fix duplicate months created when increasing
numberOfMonths
and include year inCalendarMonth
key (#279) - [new] Add
screenReaderInputMessage
to populate thearia-describedby
attribute on the input (#266)
- [new] Add
VERTICAL_SCROLLABLE
orientation to theDayPickerRangeController
and child components (#250)
- [fix] Fix regression where user was no longer able to type into input (#269)
- [new] Add
showDefaultInputIcon
andcustomInputIcon
prop to show an icon at the beginning of the input field (#222)
- [breaking] Update input value to use ISO format instead of the display format (#229)
- [breaking] Performance improvements, including the removal of the modifiers prop from
CalendarDay
(#217)
- [fix] Finish refactor from 471bd602302f4dfe4f1e66b79d50b22f7511d8ba (#233)
- [fix] Don’t create an unnecessary array from a NodeList, which avoids needing
Array.from
(#233)
- [new] Add today modifier to the
SingleDatePicker
component (#218) - [fix] Fix week header alignment when
numberOfMonths
is greater than 2 (#221) - [fix] Fix
transition
/transform
prefixing on.CalendarMonthGrid--animating
class (#220) - [fix] Do not allow
pointer-events
on invisible first month (#227) - [fix] Remove
maxLength
attribute from inputs (#219)
- [new] Add
isDayHighlighted
prop to the DRP/SDP which applies ahighlighted-calendar
to the relevant days (#206) - [new] Add
today
modifier to theDayPickerRangeController
component (#213)
- [fix]
DayPicker
now has initial width set, even before any other interaction (#215)
- [fix] Fix issue where the DayPicker height and width were not always being set initially (#196)
- [fix] Fix closed DRP/SDP refocus issue on window blur and refocus (#212)
- [new] Separate out date range input event handling logic into the
DateRangePickerInputController
component (#180) - [fix] Only responsivize the DRP and SDP when
withPortal
andwithFullScreenPortal
options are false (#183) - [new] Separate out date range calendar event handling logic and styles into the
DayPickerRangeController
component (#167)
- [patch]
initialVisibleMonth
prop will now be called every time theDayPicker
is opened (#176) - [patch] Use the
readOnly
prop on inputs instead of thedisabled
prop on touch devices (#174)
- [breaking] Cut the tether dependency from react-dates (#163)
- [new] Add
navPrev
/navNext
props for custom month navigation (#161) - [fix] Add missing right border on caret (#160)
- [fix] Adjust
DayPicker
height wheninitialVisibleMonth
height is different from the current month's (#159) - [new] Add
keepOpenOnDateSelect
prop to theDateRangePicker
andSingleDatePicker
(#157)
- [new] Add support for clear date button on the
SingleDatePicker
(#155) - [fix] Fix focus behavior for vertically attached datepickers (#121)
- [new] Add support for
required
attribute on inputs (#142)
- [fix] Fix same tether overlay issue for the
SingleDatePicker
component (#133)
- [fix] Allow for elements to be interacted with when rendered beneath the tether component (#131)
- [fix] Responsive the
DateRangePicker
andSingleDatePicker
components (#80)
- [fix] Update 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 comparison 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