v1.3.1 (2016-03-02)
Fixes an issue causing className being overwritten by className
prop #137
v1.3.0 (2016-02-18)
Improvements
- Support for Babel 6 (#90)
- HTML props are spread to container tag, so to support
onBlur
,onFocus
, etc. (#122, #123) - Better RTL support for month navigation (#125)
v1.2.0 (2015-12-04)
New features
- Use a custom caption element with the new
captionElement
prop. A custom caption element is useful, for example, to create a year/month navigation as shown in this example. Read #52 for a discussion about this feature.
Improvements
- Improved navigation when clicking on outside days (#112, see also this example)
- New
addMonths
function in DateUtils - Added a style definition to package.json (#105, thanks @webbushka)
Fixed bugs
- Make the component working again with React ~0.13 (#108)
- Fix a bug when clicking on outside days when
fromMonth
ortoMonth
were set (#97) - Replace a wrong
attr
tag with the rightabbr
in the weekdays row – gpbl#33 (comment).⚠️ Please note that the component may now use the CSS defined forabbr
tags.
v1.1.5 (2015-11-20)
Fix an issue with showMonth()
(#95) – thanks @JKillian
v1.1.4 (2015-11-19)
Minor changes when importing utilities
v1.1.3 (2015-11-12)
Improvements
isSameDay
in DateUtils now acceptsnull
orundefined
arguments- Added bower support
v1.1.1 (2015-11-11)
Fix regression The last version was missing an element and this change may have broken existing styles. This fix restore the original behavior adding the element again. (see #82).
v1.1.0 (2015-11-06)
New features
- New
fromMonth
andtoMonth
props. Use thefromMonth
andtoMonth
props to restrict the months within which the calendar can work. See this example. dateUtils
includes some useful function to set custom modifierslocaleUtils
are the default functions used to localize the day picker in english. See gpbl#46 (comment) for a sample usage of this library.
v1.0.10 (2015-10-15)
Let the event from next/previous month click to propagate. #74 (kblcuk)
v1.0.9 (2015-10-12)
Fixed an issue with Daylight Saving Time for some timezones (#71) #72 (gpbl)
v1.0.7 (2015-10-08)
Add support of react-v0.14-rc1 #61
v1.0.6 (2015-10-08)
Fixes a bug causing onCaptionClick to receive always the first month when displaying multiple months #63
v1.0.5 (2015-09-01)
Fixes a bug when passing a new initialMonth
prop to the component that may cause an issue when navigating between months [#57]
v1.0.4 (2015-07-29)
Improvement
- Improve the navigation between months when
numberOfMonths
is greater than 1 (#37)
Bug fix
- Months may jump forward when clicking on days when
numberOfMonths
is greater than 1 (#38)
v1.0.3 (2015-07-25)
- New feature: onCaptionClick #31 (adambbecker)
v1.0.2 (2015-07-23)
Fixed bugs
v1.0.1 (2015-06-24)
First major release. Please see the updated website for more info.
- [#27] Removed the dependency from moment.js. Events and props work only with native
Date
object. To localize the day picker with moment.js (or another library), follow this page - Class names have been updated (objects are now CamelCase). As example, please see the updated CSS file.
- [#27] All rendered tags are now
div
orspan
. Use CSS to style the daypicker as table. - A
today
modifier is added automatically - Event handlers receive the event as first argument. For example:
onDayClick(e, day, modifiers)
instead ofonDayClick(day, modifiers, e)
onNextMonthClick
andonNextMonthClick
props have been removed. UseonMonthChange
instead.