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