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