- [new] Add option to allow days violating min nights to be clicked (#1913)
- [fix] Prevent vertical scrollable prev nav button from overlapping weekday headers (#1914)
- [fix] Add tests for previous fix (#1912)
- [fix] Fix render conditional in DayPickerKeyboardShortcuts (#1911)
- [fix] Keep scroll position when prev months rendered on vertical scrollable calendar (#1902)
- [new] Add ability to not show prev or next navigation buttons (#1900)
- [fix] Fix logic for applying default navigation button styling (#1898)
- [new] Add functionality to see previous months for vertical scrollable calendar (#1894)
- [new] Add support for noNavButtons in DayPickerSingleDateController (match DayPickerRangeController support) (#1895)
- [fix] Remove redundant overflowY:scroll on CalendarMonthGrid (#1881)
- [new] Add support for custom month navigation buttons (#1859)
- [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
- [fix] Loosen up CustomizeableCalendarDay restriction on children (#1857)
- [fix] Revert "Call getStateForNewMonth when date/startDate/endDate is set to a date that is not visible" (#1851)
- [fix] Update react-with-styles 4.1.0-alpha.1 -> 4.1.0
- [new] Update react-with-styles 4.0.1 -> 4.1.0 (#1843)
- [new] Add Input Font-Weight to Default Theme (#1765)
- [fix] Call getStateForNewMonth when date/startDate/endDate is set to a date that is not visible (#1834)
- [fix] Revert "Merge pull request #1758: Remove all direct imports of css in favor of injected prop" (#1818)
- [fix] Fix for getWeekHeaders(), prevents it from changing state.currentMonth (#1796)
- [new] Add support for positioning month navigation under the calendar (#1784)
- [new] Add minDate and maxDate props to DateRangePicker (#1793, #1794)
- [fix]
DayPicker
: week headers: use the passed-in moment object’s instance, to support localy (#1577) - [fix] Combine labelled DayPicker container elements (#1783)
- [new] Add a render function for customizable week header text (#1787)
- [fix] [deps] Update react-with-styles ^4.0.0 -> ^4.0.1 (#1781)
- [breaking] [deps] Update react-with-styles and other deps (#1761
- [new] [deps] Update dependencies related to react-with-styles (#1775)
- [new]
DayPickerSingleDateController
: Add onMultiplyScrollableMonths (#1770) - [dev] Fix moment date formats (#1767)
- [dev] Fix addons webpack loader, Fix tests (#1764)
- [dev] build: fix linting (refs eslint/eslint#12119)
- [new] [deps] update
@babel/runtime
,airbnb-prop-types
,object.values
,prop-types
,react-outside-click-handler
,react-portal
- [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
- [fix] Remove all direct imports of css in favor of injected prop (#1758)
- [fix] Optimize setState dayPickerContainerStyles in responsivizePickerPosition (#1735)
- [fix] Stop calendar blinking on DateRangePickerInput focus switch (fixes #1523) (#1553)
- [new] [a11y] Add
aria-roledescription
(#1746)
- [fix] Defer day focusing until next animation frame (#1707)
- [fix] Fix startDate style (@mmarkelov, #1710)
- [fix] Pass correct props to SingleDatePicker on close (@AlokTakshak, #1678)
- [dev] Update blocked navigation (min/maxDate) stories (@ianduvall, #1598)
- [dev] Add positioning to custom navigation in stories (@dougmacknz, #1573)
- [dev] Update karma 3 → 4, mocha 3 → 6, nyc 12 → 14, sinon 6 → 7, eslint 5 → 6 (#1713, #1712)
- [fix] Replace react-addons-shallow-compare with enzyme-shallow-equal (bf7e3347702f)
- [fix] Optimize SVG assets (#1690)
- [fix] Update babel-preset-airbnb 3.2.1 -> 4.0.0 (#1692)
- [fix] Add guard for undefined objects in deleteModifier (#1687)
- [dev] Update Storybook from v4 to v5 (@trotzig #1673)
- [fix] Add guard for undefined objects in addModifier (#1667)
- [fix] Compile classes in loose mode (#1655)
- [fix] Performance optimizations (#1656, #1657, #1659, #1661, #1662, and #1663)
- [docs] Add
initialVisibleMonth
toDayPickerRangeController
in readme (@AlokTakshak 1652)
- [new] Add
renderKeyboardShortcutsButton
prop (#1576)
- [breaking] Omit tabindex prop from calendar navigation buttons when custom buttons are supplied (#1563)
- [new] Add hovered-start-blocked-minimun-nights and hovered-start-first-possible-end modifiers (#1547)
- [fix] clearTimeout added for the setCalendarMonthGridHeight timeout (#1468)
- [fix] Remove default styles for the last-in-range modifier (#1538)
- [fix] Added
selected
aria label to dates in the selected range (#1555)
- [fix] Fix date selection in the SDP (#1540)
- no changes; extraneous publish
- [fix] Fix single date picker not responding to input (#1533)
- [fix] Fixes the focus out event in IE11 (#1524)
- [breaking] Call
onDatesChange
beforeonFocusChange
in the DRP (#1525)
- [fix] Add
aria-disabled
attribute to the (Customizable)CalendarDay (#1521) - [new] Add
startDateOffset
andendDateOffset
props to the DRP (#1252)
- [fix] Make DRP and SDP calendars tabbable from the inputs (#1499)
- [new] Clarify VoiceOver text for dates selected as start-date and end-date (#1501)
- [fix][RTL] Fix the SDP and DRP noflip util function (#1492)
- [fix] Update the SDP and DRP to be compatible with
react-with-direction
(#1482) - [new] Add
minDate
andmaxDate
props to block month navigation (#1311) - [fix][a11y] Remove space/enter onKeyDown handling for open/close keyboard shortcuts panel (#1464)
- [fix][a11y] Fix lack of visible focus in Firefox and IE on "?" keyboard shortcuts button (#1463)
- [fix] Conditionally apply the
shouldComponentUpdate
method in the babel transform (#1457) - [fix] Fix incorrect VO for selected check-in date (#1451)
- [fix] Add babel transform to handle PureComponent fallbacks (#1452)
- [new] Add
onTab
/onShiftTab
callbacks to the DayPicker (and its controllers) (#1427)
- [fix] Prevent outside range dates from being selected by typing (#1370)
- [fix] Default the
calendarMonthPadding
theme variable to 0 when undefined (#1355) - [new] Add
SingleDatePickerInputController
component (#1360) - [new] Add
horizontalMonthPadding
as a prop to the DRP (#1364) - [fix] Fix unnecessary rerender in
DayPickerNavigation
(#1363)
- [fix] revert 'revert 'Conditionally use
PureComponent
instead ofComponent
'' (4f8eb01)
- [fix] revert 'Conditionally use
PureComponent
instead ofComponent
' (50c382f)
- [fix] Remove svgo from "inline-react-svg" babel plugin options (#1350)
- [fix] Center vertical month navigation (#1347)
- [fix] Conditionally use
PureComponent
instead ofComponent
(#1335) - [breaking] Remove propTypes in production (#1322)
- [fix] Change border-styles to minimise overlap (#1328)
- [fix] Only blur the
activeElement
when available (#1345)
- [fix] Add modifiers for next months in the vertical scrollable datepickers (#1293)
- [fix] Fix cursor jumping to the end of the controlled input when typing (#1287)
- [new] Add
horizontalMonthPadding
prop anddayPickerHorizontalPadding
andnoScrollBarOnVerticalScrollable
theme variables (#1298) - [fix] Fix issue where custom month navigation was not clickable in FF (#1305)
- [fix] Set
DayPickerNavigation__horizontal
height to zero (#1265)
- [new] Add
ModifiersShape
and use throughout the codebase (#1231) - [fix] Fix minimum nights
blocked
modifiers being applied incorrectly (#1259) - [fix] Update conditions where
adjustDayPickerHeight
is called (#1241) - [fix] Do not render
OutsideClickHandler
unnecessarily (#1256)
- [fix] Replace dumb quotes with smart quotes in default phrases (#1168)
- [fix] Fix outside day movement on hover (#1178)
- [fix] Add
focusable="false"
to SVGs (#1190) - [fix] Use
react-outside-click-handler
instead of the internal component (#1191) - [breaking] Change the way month heights are calculated and update the name of some
CalendarMonth
/CalendarMonthGrid
props (#1192) - [new] Pass nextMonth to
onPrevMonthClick
/onNextMonthClick
(#1207) - [new] Allow input border styles to be overridden in the theme (#1201)
- [new] Allow consolidated-events@2.0.0 (#1218)
- [fix] Remove input.blur() call to fix a focus trap in Safari/IE (#1214)
- [new] Add support for month/year transitions (#1106)
- [breaking] Rename renderMonth=>renderMonthText and renderCaption=>renderMonthElement (#1220)
- [breaking] Remove default styling completely from the
navNext
/navPrev
props, including position (#1204) - [fix] Fix propType warnings for
onMonthChange
/onYearChange
(#1222) - [breaking] Remove
OutsideClickHandler
export entirely (#1225)
- [fix] react-with-styles v3 requires react-with-direction as a peer dep; this provides it but forwards the peer dep requirement (#1348)
- [fix] Force border-radius to be 0 on the inputs (#1157)
- [fix] Clear previous min nights modifiers, not current (#994)
- [fix] Tweak default input styling (#1158)
- [fix] Round transform3d values to fix font blur (#1155)
- [new] Add
noNavButtons
prop (#1160)
- [fix] Fix selective disabling of the
DateRangePicker
(#1116) - [fix] Fix
onOutsideClick
refactor (#1115)
- [new] Add
appendToBody
/disableScroll
props (#1069) - [fix] Address unexpected blur call (#1107)
- [new] Add
verticalBorderSpacing
prop toDayPickerSingleDateController
/DayPickerRangeController
(#1096) - [fix] Move focus to
DayPicker
when readOnly is true (#961)
- [new] Export
CustomizeableCalendarDay
default styles (#1095) - [new] Allow selectively disabling either input in the DRP (#)
- [new] Add
dayAriaLabelFormat
prop to the SDP/DRP (#)
- [new] Export
OutsideClickHandler
in index.js (#1089) - [fix] Do not apply
verticalSpacing
whenwithPortal
orwithFullScreenPortal
is true (#980) - [fix] Handle minimum nights when selecting
startDate
(#1015) - [fix] Fix style of
CloseIcon
in the SDP (#1058)
- [fix] Address width issues for vertical DayPickers (#1055)
- [fix] Includes all necessary CSS (c965348)
- [fix] Bumps all the RWS libraries again, now with less breakage!
- [revert] Reverts 'Bump react-with-style-interface-css dependency (#1043)'
- [revert] Reverts 'Bump react-with-styles dependency (#1041)'
- [deps] Bump react-with-styles dependency (#1041)
- [deps] Bump react-with-style-interface-css dependency (#1043)
- [new] customInfoPanel position prop (#989)
- [fix] Fix CustomizableCalendarDay selected/selected-start/selected-end specificity issues (#979)
- [fix] Add modifiers for
firstDayOfWeek
andlastDayOfWeek
(#988) - [fix] Ensure callbacks only trigger after state has been updates (#990)
- [fix] SDP
block
styling also makes the input full width (#972)
- [new] Add
startDateOffset
/endDateOffset
props toDayPickerRangeController
(#884) - [fix] Make all styles inline in
CustomizableCalendarDay
(#964)
- [fix] Address some small bugs with
CustomizableCalendarDay
(#962)
- [fix] Allow for changing of the input value via highlight and replace (#955)
- [fix] Fix OPEN_UP styling (#925)
- [fix] Don't read invisible months to the screen reader (#940)
- [new] Add phrase for aria-label for the selected day (#905)
- [fix] Fix keyboard navigation issues (#916)
- [fix] Fix React warnings when events are referenced later (#682)
- [fix] Add back missing onKeyDown method to
CalendarDay
(#901)
- [breaking] Simplify
CalendarDay
component (#894) - [breaking] rename
renderDay
prop torenderDayContents
(#894) - [new] Add
renderCalendarDay
component to allow for easy one-off customization ofCalendarDay
(#894)
- revert #866; it turned out to be semver-major
- [fix] Adjust
small
variant height to be 36px (#892)
- [new] Add
small
variant (#891)
- [new] Add
transitionDuration
prop (#865) - [fix] Remove default prop values for required startDateId and endDateId props (#866)
- [new] Add
block
styling prop (#871) - [new] Add
noBorder
prop toDayPicker
variations (#869) - [new] Add
noBorder
prop to inputs (#870) - [fix] Remove unused width style in
KeyboardShortcutsRow
(#867)
- [fix] Republish
_datepicker.css
- [new] Add back today modifier (and class) (#861)
- [new] Add ariaLabelFormat prop to CalendarDay (#842, #857)
- [fix] Reset
after-hover-start
incomponentWillReceiveProps
instead of only on click (#843) - [fix] Use
color.background
variable instead of hardcoded #fff for theming (#852) - [fix] Update CalendarMonthGrid months based on locale change (#795)
- [fix] Add explicit border-radius on KeyboardShortcuts button (#792)
- [fix] Pass onClose from SingleDatePicker to DayPickerSingleDateController (#816)
- [new] Pass modifiers to
renderDay
as second arg (#829) - [fix] Fix KeyboardShortcutsPanel focus issues (#825)
- [breaking] Rename SDP keydown callback props so that they match the DRP (#800)
- [fix] Explicitly set the border-radius on the keyboard shortcuts button (#792)
- [new] Add esm build (#791)
- [new] Add back
selected-start
/selected-end
modifiers toCalendarDay
(#796)
- [fix] Flip arrow navigation in RTL context (#775)
- [new] Add
verticalHeight
prop to SDP, DRP and DayPicker (#773) - [breaking] Modify default
DateInput
styling, convert inputs to actual inputs, and remove caption ids (#780)
- [fix] Update
react-with-styles-interface-css
dependency (#777)
- [fix] Add back missing built CSS file
- [fix] Pass through
customCloseIcon
prop from the SDP to the SDPInput (#767) - [fix] Fix incorrect available/unavailable phrase being read on
CalendarDay
components (#771)
- [fix] Change CSS style specificity to 0 for the default stylesheet (#753)
- [fix] Remove unnecessary caption object from
CalendarMonth
styles (#757)
- [fix] Use default export of
registerCSSInterfaceWithDefaultTheme
ininitialize
- [fix] Move caption div back outside of
CalendarMonth
table (#748)
- [breaking] Convert react-dates to rely on
react-with-styles
in place of CSS stylesheets (#722)
- [fix] set explicit border radius on shortcuts button (#792)
- [new] Some accessibility improvements and patches (#715)
- [new] Add
weekDayFormat
prop to SDP/DRP (#650) - [new] Add
openDirection
prop to SDP/DRP (#653) - [fix] Reset visibleDays/currentMonth state when
enableOutsideDays
ornumberOfMonths
has changed (#702) - [new] Add $react-dates-color-primary-dark CSS variable (#704)
- [fix] Ensure
this.childNode
exists in theOutsideClickHandler
(e330839) - [fix] Remove
minimumNights
prop from theDayPickerSingleDateController
(#686)
- [fix] Fix
onOutsideClick
prop functionality in the SDP (#666) - [new] Add
inputIconPosition
prop (#627) - [fix] Adjust DayPicker styles when portal status is set (#659)
- [fix] Pass
onPrevMonthClick
/onNextMonthClick
props through the SDP (#657) - [fix] Recalculate modifiers when prop modifiers change (#668)
- [new] Pass back month as argument to
onPrevMonthClick
/onNextMonthClick
props (#667)
- [fix] Allows users to type in same-day start date and end date when
minimumNights
is 0 (#555) - [new] Add
firstDayOfWeek
prop (#371) - [fix] Add back
phrases
support forSingleDatePicker
(#623)
- [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 falsy (#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] OutsideClickHandler: ensure this.childNode exists (#437)
- [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