Releases: stephy/CalendarPicker
Releases · stephy/CalendarPicker
6.1.1
- 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
- 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
- Fix daylight saving time changes that occur at midnight (#181).
DST at midnight shifts the date, causing comparison problems.
6.0.5
Fix HeaderControls minDate & maxDate bug
6.0.4
- 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
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
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
- 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
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
Fix minRangeDuration / maxRangeDuration checks.
Checks should be on day granularity.
Use Moment for better robustness.