Skip to content

Releases: stephy/CalendarPicker

6.1.1

09 May 03:11
Compare
Choose a tag to compare
  • Add prop showDayStragglers to render prev/next month days (#152).
  • Fix month selection when outside of min/max range.
  • Improve adaptive layout for different container sizes.

6.1.0

07 May 15:15
Compare
Choose a tag to compare
  • Add props previousComponent, nextComponent to override prev/next (#193).
  • Fix disabledDates date comparisons (#197).
  • Move disabledDates, min/maxRangeDuration processing to state (performance).
  • Add month and year selector views (#150).
  • Add prop allowBackwardRangeSelect and support logic (#171)
  • Add customDatesStylesPriority prop to prioritze dayOfWeekStyles vs customDatesStyles (#194).
  • Fix type documentation for props (#191)
  • Specify moment.js dependency version more accurately (#190)
  • Fix call to moment.isSame(), remove unused import (#189)
  • Fix selectedStartDate, selectedEndDate prop update logic.
  • Remove obsolete GIF (#170).
  • Update example with customDatesStyles, dayOfWeekStyles, and range select options.
  • Add eslint and pre-commit hook.
  • Update Readme: new props, onDateChange params, TypeScript definitions, fix missing braces (#187, #188, etc).

6.0.6

26 Mar 18:17
Compare
Choose a tag to compare
  • Fix daylight saving time changes that occur at midnight (#181).
    DST at midnight shifts the date, causing comparison problems.

6.0.5

30 Jan 17:19
Compare
Choose a tag to compare

Fix HeaderControls minDate & maxDate bug

6.0.4

04 Jan 00:49
Compare
Choose a tag to compare
  • Add dayOfWeekStyles prop to support changing style of each day of the week.
  • Add dayLabelsWrapper prop to customize days' container style.
  • Add previousTitleStyle & nextTitleStyle props to change the color / style of previous button.
  • Updated README.

6.0.3

13 Dec 04:44
Compare
Choose a tag to compare

Add prop to add text styles to disabled dates. (#174)
Increase clickable area on next and prev buttons. (#175)
Add prop restrictMonthNavigation to disable Previous / Next buttons based on minDate / maxDate (#161)

6.0.2

26 Oct 04:25
9833bc7
Compare
Choose a tag to compare

Add accessibilityRole to calendar title for 508 compliance (#168)
Add support for disabledDates function (#139)
Add Moment installation instructions to README.md (#159)

6.0.1

20 Jun 03:34
9ef09f0
Compare
Choose a tag to compare
  • Fix first row blank for some months (#153, #155)
  • Removed a merge conflict marker from the .gitignore file. (#157)
  • Fix tests and snapshot. (#156)
  • Updated the Linux distribution for the Travis tests to be Xenial, to pick up more recent versions of Node.js by default.
  • Add dayShape props (#149)
  • Bind resetSelections()to instance context.

6.0.0

05 Mar 17:40
5120485
Compare
Choose a tag to compare

Fixed enableDateChange (#146)
Fix typo syles -> style (#144)
Added ability to disable day presses (#140)
Add props onSwipe (#135)

Note that the major version has been bumped to 6 in case there are any breaking changes with the styles fix.

5.22.0

28 Aug 21:39
Compare
Choose a tag to compare

Fix minRangeDuration / maxRangeDuration checks.
Checks should be on day granularity.
Use Moment for better robustness.