commit | author | age
|
8abb28
|
1 |
Changelog |
M |
2 |
========= |
08dd0e
|
3 |
## 2.0.0 |
M |
4 |
* DOM classes are now prefixed with `rdt`. |
|
5 |
* A modified version of OnClickOutside is now included in the code to handle react 0.13 and 0.14 versions. |
|
6 |
* Updated dependencies. |
d6a6f7
|
7 |
|
272903
|
8 |
## 1.3.0 |
M |
9 |
* Added open prop. |
|
10 |
* Added strictParsing prop. |
|
11 |
* Fixed not possible to set value to `''`. |
|
12 |
|
1f5ec1
|
13 |
## 1.2.1 |
d6a6f7
|
14 |
* Removed classlist-polyfill so the component can be used in the server side. |
M |
15 |
|
b73550
|
16 |
## 1.1.1 |
M |
17 |
* Updates react-onclickoutside dependency to avoid the bug https://github.com/Pomax/react-onclickoutside/issues/20 |
|
18 |
|
62fd2f
|
19 |
## 1.1.0 |
M |
20 |
* Datepicker can have an empty value. If the value in the input is not valid, `onChange` and `onBlur` will return input value. |
|
21 |
* `onBlur` is not triggered anymore if the calendar is not open. |
8abb28
|
22 |
|
6eef21
|
23 |
## 1.0.0-rc.2 |
M |
24 |
* Added travis CI |
|
25 |
* Fixed not showing timepicker when `dateFormat`=`false`. |
|
26 |
|
8abb28
|
27 |
## 1.0.0-rc.1 |
M |
28 |
This is the release candidate for this project. Now it is pretty usable and API won't change drastically in a while. If you were using the alpha versions (v0.x) there is a bunch of breaking changes: |
|
29 |
|
|
30 |
* `date` prop is now called `defaultValue` and it is the initial value to use the component uncontrolled. |
|
31 |
* `value` prop has been added to use it as a [controlled component](https://facebook.github.io/react/docs/forms.html#controlled-components). |
|
32 |
* Removed `minDate` and `maxDate` props. Now to define what dates are valid it is possible to use the new `isValidDate` prop. |
|
33 |
* `dateFormat` and `timeFormat` default value is always the locale default format. In case that you don't want the component to show the date/time picker you should set `dateFormat`/`timeFormat` to `false`. |
|
34 |
|
|
35 |
Moreover: |
|
36 |
* Buttons doesn't submit anymore when the Datetime component is in a form. |
|
37 |
* `className` prop has been added to customize component class. |
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|