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