Skip to content

Latest commit

 

History

History
122 lines (90 loc) · 7.49 KB

CHANGELOG.md

File metadata and controls

122 lines (90 loc) · 7.49 KB

Change Log

v5.2.0

  • [new] Add VERTICAL_SCROLLABLE orientation to the DayPickerRangeController and child components (#250)

v5.1.1

  • [fix] Fix regression where user was no longer able to type into input (#269)

v5.1.0

  • [new] Add showDefaultInputIcon and customInputIcon prop to show an icon at the beginning of the input field (#222)

v5.0.0

  • [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)

v4.3.3

  • [fix] Force DayPicker and CalendarMonthGrid alignment to the left (#257,#258)

v4.3.2

  • [fix] Finish refactor from 471bd602302f4dfe4f1e66b79d50b22f7511d8ba (#233)

v4.3.1 (unpublished)

  • [fix] Don’t create an unnecessary array from a NodeList, which avoids needing Array.from (#233)

v4.3.0

  • [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)

v4.2.0

  • [new] Add isDayHighlighted prop to the DRP/SDP which applies a highlighted-calendar to the relevant days (#206)
  • [new] Add today modifier to the DayPickerRangeController component (#213)

v4.1.2

  • [fix] DayPicker now has initial width set, even before any other interaction (#215)

v4.1.1

  • [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)

v4.1.0

  • [new] Separate out date range input event handling logic into the DateRangePickerInputController component (#180)
  • [fix] Only responsivize the DRP and SDP when withPortal and withFullScreenPortal options are false (#183)
  • [new] Separate out date range calendar event handling logic and styles into the DayPickerRangeController component (#167)

v4.0.2

v4.0.1

  • [patch] initialVisibleMonth prop will now be called every time the DayPicker is opened (#176)
  • [patch] Use the readOnly prop on inputs instead of the disabled prop on touch devices (#174)

v4.0.0

  • [breaking] Cut the tether dependency from react-dates (#163)

v3.6.0

  • [new] Add navPrev/navNext props for custom month navigation (#161)
  • [fix] Add missing right border on caret (#160)
  • [fix] Adjust DayPicker height when initialVisibleMonth height is different from the current month's (#159)
  • [new] Add keepOpenOnDateSelect prop to the DateRangePicker and SingleDatePicker (#157)

v3.5.0

  • [new] Add support for clear date button on the SingleDatePicker (#155)
  • [fix] Fix focus behavior for vertically attached datepickers (#121)

v3.4.0

  • [new] Add support for required attribute on inputs (#142)

v3.3.4

  • [fix] Fix same tether overlay issue for the SingleDatePicker component (#133)

v3.3.3

  • [fix] Allow for elements to be interacted with when rendered beneath the tether component (#131)

v3.3.2

  • [fix] Responsive the DateRangePicker and SingleDatePicker components (#80)

v3.3.1

  • [fix] Update all days to use noon as their time stamp to fix a number of DST issues (#114)

v3.3.0

  • [new] Add anchorDirection prop to the SingleDatePicker and DateRangePicker components (#72)

v3.2.0

  • [new] Add initialVisibleMonth prop to the SingleDatePicker, DateRangePicker, and DayPicker components (#70)

v3.1.1

  • [fix] Fix moment dependencies to allow v2.10 - v2.14

v3.1.0

  • [new] Allow displayFormat prop to take a function as well as a string (#98)
  • [fix] Default value for displayFormat now actually returns moment's L format based on the locale (#98))

v3.0.0

  • [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)

v2.2.0

  • [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)

v2.1.1

  • [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

v2.1.0

  • [new] Export date comparison methods - isNextDay, isSameDay, isInclusivelyAfterDay, isInclusivelyBeforeDay
  • [fix] Replace Array.includes with array-includes for compatibility with IE11

v2.0.0

  • [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, and unblockedDates into a single function prop isDayBlocked
  • [breaking] Remove prop allowPastDates in favor of isOutsideRange prop

v1.0.0

  • Initial commit