commit | author | age
|
8abb28
|
1 |
Changelog |
M |
2 |
========= |
77e8e7
|
3 |
## 2.7.2 |
SE |
4 |
* Bug fix: When setting `locale` and entering month view mode the component would sometimes freeze, depending on the locale. This has now been fixed. |
|
5 |
|
1647b9
|
6 |
## 2.7.1 |
SE |
7 |
* Bug fix: `onFocus` and `onBlur` were being called in a way causing state to reset. This unwanted behavior is now adjusted. |
|
8 |
|
851b44
|
9 |
## 2.7.0 |
SE |
10 |
* `isValidDate` now supports months and years. |
|
11 |
* `utc` prop was added, by setting it to `true` input time values will be interpreted as UTC (Zulu time). |
|
12 |
* Bug fix: The input value now updates when `dateFormat` changes. |
|
13 |
* Removed the source-map file because the commit it was introduced in was causing the minified file to be bigger than the non-minified. |
|
14 |
|
e00d4b
|
15 |
## 2.6.2 |
SE |
16 |
* Update file references in `package.json` |
|
17 |
|
3fdcb7
|
18 |
## 2.6.1 |
SE |
19 |
* Added a source-map file. |
|
20 |
* Fixed bug with invalid moment object. |
|
21 |
* Decreased npm package size by ~29.3KB. |
|
22 |
|
b53b25
|
23 |
## 2.6.0 |
M |
24 |
* Fixed hover styles for days |
|
25 |
* Added multiple simultaneous datetime component support. |
|
26 |
* `className` prop now supports string arrays |
|
27 |
* Fixes 12:00am |
|
28 |
* Removed warning for missing element keys. |
|
29 |
|
cc4a96
|
30 |
## 2.5.0 |
M |
31 |
* Added pre-commit hook for tests. |
|
32 |
* Added the `timeConstraints` prop. |
|
33 |
|
52191d
|
34 |
## 2.4.0 |
M |
35 |
* Added ES linting. |
|
36 |
* Added `closeOnTab` property. |
|
37 |
|
64ce8b
|
38 |
## 2.3.3 |
M |
39 |
* Updated readme. |
|
40 |
* Fixed short months for not English locales. |
|
41 |
* Fixed mixed 12 AM/PM. |
|
42 |
|
fa70cd
|
43 |
## 2.3.2 |
M |
44 |
* Time editor now handles the A format to display 12h times. |
|
45 |
|
0390c2
|
46 |
## 2.3.0 |
M |
47 |
* Added typescript definition file. |
|
48 |
* Changed button markup and updated styles. |
a8a17a
|
49 |
* Fixes autoclosing on time change. |
0390c2
|
50 |
|
50a0c2
|
51 |
## 2.2.1 |
M |
52 |
* Controlled datepicker now working for controlled datepickers |
|
53 |
|
92a2c6
|
54 |
## 2.2.0 |
M |
55 |
* The picker can be used as a month or year picker just giving a format date without days/months |
|
56 |
* Updates test suite |
795f65
|
57 |
|
b9158d
|
58 |
## 2.1.0 |
M |
59 |
* Fixed rdtActive not getting set. |
|
60 |
* Add react-dom as external dependency. |
|
61 |
* Fixed rendering a span directly under the calendar table. |
|
62 |
* Added dev setup |
|
63 |
* Added example |
|
64 |
|
795f65
|
65 |
## 2.0.2 |
M |
66 |
* Fixed january days go to november problem. |
|
67 |
|
8b2e86
|
68 |
## 2.0.1 |
M |
69 |
* Fixed two days can't have the same header name. |
|
70 |
|
08dd0e
|
71 |
## 2.0.0 |
M |
72 |
* DOM classes are now prefixed with `rdt`. |
|
73 |
* A modified version of OnClickOutside is now included in the code to handle react 0.13 and 0.14 versions. |
|
74 |
* Updated dependencies. |
d6a6f7
|
75 |
|
272903
|
76 |
## 1.3.0 |
M |
77 |
* Added open prop. |
|
78 |
* Added strictParsing prop. |
|
79 |
* Fixed not possible to set value to `''`. |
|
80 |
|
1f5ec1
|
81 |
## 1.2.1 |
d6a6f7
|
82 |
* Removed classlist-polyfill so the component can be used in the server side. |
M |
83 |
|
b73550
|
84 |
## 1.1.1 |
M |
85 |
* Updates react-onclickoutside dependency to avoid the bug https://github.com/Pomax/react-onclickoutside/issues/20 |
|
86 |
|
62fd2f
|
87 |
## 1.1.0 |
M |
88 |
* Datepicker can have an empty value. If the value in the input is not valid, `onChange` and `onBlur` will return input value. |
|
89 |
* `onBlur` is not triggered anymore if the calendar is not open. |
8abb28
|
90 |
|
6eef21
|
91 |
## 1.0.0-rc.2 |
M |
92 |
* Added travis CI |
|
93 |
* Fixed not showing timepicker when `dateFormat`=`false`. |
|
94 |
|
8abb28
|
95 |
## 1.0.0-rc.1 |
M |
96 |
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: |
|
97 |
|
|
98 |
* `date` prop is now called `defaultValue` and it is the initial value to use the component uncontrolled. |
|
99 |
* `value` prop has been added to use it as a [controlled component](https://facebook.github.io/react/docs/forms.html#controlled-components). |
|
100 |
* Removed `minDate` and `maxDate` props. Now to define what dates are valid it is possible to use the new `isValidDate` prop. |
|
101 |
* `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`. |
|
102 |
|
|
103 |
Moreover: |
|
104 |
* Buttons doesn't submit anymore when the Datetime component is in a form. |
|
105 |
* `className` prop has been added to customize component class. |