|
1 | 1 | # Change Log
|
| 2 | + |
2 | 3 | All notable changes to this project will be documented in this file.
|
3 | 4 |
|
4 | 5 | The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5 | 6 | and this project adheres (more or less) to [Semantic Versioning](http://semver.org/).
|
6 | 7 |
|
7 | 8 | ## Unreleased
|
| 9 | + |
8 | 10 | When you submit a PR, add your changes here!
|
9 | 11 |
|
| 12 | +### Added |
| 13 | + |
| 14 | +* `timelineContext` is provided to `itemRenderer` #233 |
| 15 | + |
10 | 16 | ## 0.15.6
|
11 | 17 |
|
12 | 18 | ### Fixed
|
13 |
| -- Fixed issue with state not properly updated when ending resize #173 |
14 |
| -- Fixed issue with onItem* events not reporting correct time when timeline has outer padding #227 |
| 19 | + |
| 20 | +* Fixed issue with state not properly updated when ending resize #173 |
| 21 | +* Fixed issue with onItem\* events not reporting correct time when timeline has outer padding #227 |
15 | 22 |
|
16 | 23 | ## 0.15.5
|
17 | 24 |
|
18 | 25 | ### Fixed
|
19 |
| -- context click actually calls double click callback #225 |
20 |
| -- Removed href attribute from header divs #222 |
| 26 | + |
| 27 | +* context click actually calls double click callback #225 |
| 28 | +* Removed href attribute from header divs #222 |
21 | 29 |
|
22 | 30 | ## 0.15.4
|
23 | 31 |
|
24 | 32 | ### Fixed
|
25 |
| -- Clicking on Svg element throws error #216 |
| 33 | + |
| 34 | +* Clicking on Svg element throws error #216 |
26 | 35 |
|
27 | 36 | ## 0.15.3
|
28 |
| -This version contains one crucial bug fix and a simple update to item clicks to report time. Much of the other work was around repo maintenance and preparing the repo for future development (update to dev-tooling, some documentation updates) |
| 37 | + |
| 38 | +This version contains one crucial bug fix and a simple update to item clicks to report time. Much of the other work was around repo maintenance and preparing the repo for future development (update to dev-tooling, some documentation updates) |
29 | 39 |
|
30 | 40 | ### Added
|
31 |
| -- Report time with all item clicks #210 |
| 41 | + |
| 42 | +* Report time with all item clicks #210 |
32 | 43 |
|
33 | 44 | ### Fixed
|
34 |
| -- Drag doesn't stop when you leave the timeline canvas #182 |
| 45 | + |
| 46 | +* Drag doesn't stop when you leave the timeline canvas #182 |
35 | 47 |
|
36 | 48 | ## [0.15.0]
|
| 49 | + |
37 | 50 | Plugin support and sticky header!
|
38 | 51 |
|
39 | 52 | ### Added
|
40 |
| -- Plugins system (pass them as children) @mariusandra #122 |
41 |
| -- Sticky header (`fixedHeader='sticky'`) @mariusandra #125 |
| 53 | + |
| 54 | +* Plugins system (pass them as children) @mariusandra #122 |
| 55 | +* Sticky header (`fixedHeader='sticky'`) @mariusandra #125 |
42 | 56 |
|
43 | 57 | ### Removed
|
44 |
| -- [BREAKING] Removed deprecated option to pass sidebar header content as children. Use `sidebarContent` instead. @mariusandra |
45 |
| -- [BREAKING] Removed fixedHeader option `absolute`, which was broken and is now replaced with the option `sticky` @mariusandra |
| 58 | + |
| 59 | +* [BREAKING] Removed deprecated option to pass sidebar header content as children. Use `sidebarContent` instead. @mariusandra |
| 60 | +* [BREAKING] Removed fixedHeader option `absolute`, which was broken and is now replaced with the option `sticky` @mariusandra |
46 | 61 |
|
47 | 62 | ### Demo & Docs
|
48 |
| -- Notice for modern module bundlers @jlubben @mariusandra #128 |
49 |
| -- Add [treeGroups](http://namespace.ee/react-calendar-timeline-docs/#/treeGroups) demo |
| 63 | + |
| 64 | +* Notice for modern module bundlers @jlubben @mariusandra #128 |
| 65 | +* Add [treeGroups](http://namespace.ee/react-calendar-timeline-docs/#/treeGroups) demo |
50 | 66 |
|
51 | 67 | ## [0.14.11]
|
| 68 | + |
52 | 69 | Plenty of bugfixes, tests and new demos in these 0.14 patch releases.
|
53 | 70 |
|
54 | 71 | ### Fixed
|
55 |
| -- Fixed bug with `resizeDetector` and with detecting changes in `sidebarWidth` @mariusandra |
56 |
| -- Fixed bug where order `0` was evaluated as a falsy @nicocrm #111 |
57 |
| -- Fix overflow-x with header @signalwerk |
| 72 | + |
| 73 | +* Fixed bug with `resizeDetector` and with detecting changes in `sidebarWidth` @mariusandra |
| 74 | +* Fixed bug where order `0` was evaluated as a falsy @nicocrm #111 |
| 75 | +* Fix overflow-x with header @signalwerk |
58 | 76 |
|
59 | 77 | ### Added
|
60 |
| -- Add meta+wheel modifier that zooms 3x the speed of the normal wheel events @mariusandra |
| 78 | + |
| 79 | +* Add meta+wheel modifier that zooms 3x the speed of the normal wheel events @mariusandra |
61 | 80 |
|
62 | 81 | ### Changed
|
63 |
| -- Refactor `calculateDimensions` to be pure @signalwerk |
64 |
| -- Convert `groupHeights` and `groupTops` to arrays (from objects) @mariusandra |
| 82 | + |
| 83 | +* Refactor `calculateDimensions` to be pure @signalwerk |
| 84 | +* Convert `groupHeights` and `groupTops` to arrays (from objects) @mariusandra |
65 | 85 |
|
66 | 86 | ### Demo & docs
|
67 |
| -- Add [linkedTimelines](http://namespace.ee/react-calendar-timeline-docs/#/linkedTimelines) demo |
68 |
| -- Add [elementResize](http://namespace.ee/react-calendar-timeline-docs/#/elementResize) demo |
69 |
| -- Add docs about modifier keys for zooming/scrolling @signalwerk |
| 87 | + |
| 88 | +* Add [linkedTimelines](http://namespace.ee/react-calendar-timeline-docs/#/linkedTimelines) demo |
| 89 | +* Add [elementResize](http://namespace.ee/react-calendar-timeline-docs/#/elementResize) demo |
| 90 | +* Add docs about modifier keys for zooming/scrolling @signalwerk |
70 | 91 |
|
71 | 92 | ## [0.14.2]
|
| 93 | + |
72 | 94 | ### Changed
|
73 |
| -- Use `prop-types` instead of `React.PropTypes` to support React 15.5+. @mariusandra #110 |
| 95 | + |
| 96 | +* Use `prop-types` instead of `React.PropTypes` to support React 15.5+. @mariusandra #110 |
74 | 97 |
|
75 | 98 | ## [0.14.0]
|
| 99 | + |
76 | 100 | ### Added
|
77 |
| -- Use `headerLabelFormats` and `subHeaderLabelFormats` to customise the header labels. @Slowyn #68 |
78 |
| -- Optional pluggable `resizeDetector` to detect when the element's container is resized. @Ziller321 #94 |
| 101 | + |
| 102 | +* Use `headerLabelFormats` and `subHeaderLabelFormats` to customise the header labels. @Slowyn #68 |
| 103 | +* Optional pluggable `resizeDetector` to detect when the element's container is resized. @Ziller321 #94 |
79 | 104 |
|
80 | 105 | ### Fixed
|
81 |
| -- Fix renders with empty `groups` array. @signalwerk #106 |
| 106 | + |
| 107 | +* Fix renders with empty `groups` array. @signalwerk #106 |
82 | 108 |
|
83 | 109 | ## [0.13.0]
|
| 110 | + |
84 | 111 | ### Added
|
85 |
| -- An option to add another sidebar to the right of the Timeline. @goooseman #80 |
86 |
| -- `itemRenderer` prop to allow specifying a custom component to render the items @nicocrm #103 |
87 |
| -- `groupRenderer` prop to allow specifying a custom component to render the groups @nicocrm #103 |
88 |
| -- `showCursorLine` prop to show a vertical line at the snap position @meikoudras |
89 |
| -- You can now select multiple items if you take control of the `selected` prop and the `onItemSelect` handler. @meengit #71 |
90 |
| -- Canvas context menu handler `onCanvasContextMenu` @meikoudras |
| 112 | + |
| 113 | +* An option to add another sidebar to the right of the Timeline. @goooseman #80 |
| 114 | +* `itemRenderer` prop to allow specifying a custom component to render the items @nicocrm #103 |
| 115 | +* `groupRenderer` prop to allow specifying a custom component to render the groups @nicocrm #103 |
| 116 | +* `showCursorLine` prop to show a vertical line at the snap position @meikoudras |
| 117 | +* You can now select multiple items if you take control of the `selected` prop and the `onItemSelect` handler. @meengit #71 |
| 118 | +* Canvas context menu handler `onCanvasContextMenu` @meikoudras |
91 | 119 |
|
92 | 120 | ### Fixed
|
93 |
| -- Calculate width when we receive sidebar width property @jmerriweather #75 |
94 |
| -- Avoid updating updateDimensions right after updateScrollCanvas @nicocrm #87 |
95 |
| -- Fix typo collision detection in stack() @nicocrm #96 |
96 |
| -- Remove dead code @signalwerk #101 |
97 |
| -- Disable cursor style by interactjs @bkniffler #89 |
98 |
| -- Fixed header width and Header label weekday support @meikoudras #66 |
| 121 | + |
| 122 | +* Calculate width when we receive sidebar width property @jmerriweather #75 |
| 123 | +* Avoid updating updateDimensions right after updateScrollCanvas @nicocrm #87 |
| 124 | +* Fix typo collision detection in stack() @nicocrm #96 |
| 125 | +* Remove dead code @signalwerk #101 |
| 126 | +* Disable cursor style by interactjs @bkniffler #89 |
| 127 | +* Fixed header width and Header label weekday support @meikoudras #66 |
99 | 128 |
|
100 | 129 | ### Changed
|
101 |
| -- [Deprecated] To have content above the left sidebar, pass it in a `sidebarContent={<div />}` prop, not as children to the component. |
| 130 | + |
| 131 | +* [Deprecated] To have content above the left sidebar, pass it in a `sidebarContent={<div />}` prop, not as children to the component. |
102 | 132 |
|
103 | 133 | ## [0.11.1]
|
| 134 | + |
104 | 135 | ### Fixed
|
105 |
| -- Without canResize prop in items it gave a Uncaught TypeError. @tgosp |
| 136 | + |
| 137 | +* Without canResize prop in items it gave a Uncaught TypeError. @tgosp |
106 | 138 |
|
107 | 139 | ## [0.11.0]
|
| 140 | + |
108 | 141 | ### Added
|
109 |
| -- An option to fully update the calendar at every scroll event. With this change, labels of items are always fully visible, even if looking at a multi day event with a zoom level set at 30min. @mariusandra |
| 142 | + |
| 143 | +* An option to fully update the calendar at every scroll event. With this change, labels of items are always fully visible, even if looking at a multi day event with a zoom level set at 30min. @mariusandra |
110 | 144 |
|
111 | 145 | ## [0.10.1]
|
| 146 | + |
112 | 147 | ### Changed
|
113 |
| -- The left resize edge mouse cursor is now a left arrow @mariusandra |
| 148 | + |
| 149 | +* The left resize edge mouse cursor is now a left arrow @mariusandra |
114 | 150 |
|
115 | 151 | ## [0.10.0]
|
| 152 | + |
116 | 153 | ### Added
|
117 |
| -- You can also resize items from the left now @mariusandra |
| 154 | + |
| 155 | +* You can also resize items from the left now @mariusandra |
118 | 156 |
|
119 | 157 | ## [0.9.0]
|
| 158 | + |
120 | 159 | ### Added
|
121 |
| -- Allow disabling selection clicks on items #58 by @sjchmiela |
122 |
| -- Allow passing additional props to `Item`'s `<div/>` #58 by @sjchmiela |
123 |
| -- Add `clickTolerance` so dragging more than 3 pixels is no longer a click @mariusandra |
| 160 | + |
| 161 | +* Allow disabling selection clicks on items #58 by @sjchmiela |
| 162 | +* Allow passing additional props to `Item`'s `<div/>` #58 by @sjchmiela |
| 163 | +* Add `clickTolerance` so dragging more than 3 pixels is no longer a click @mariusandra |
124 | 164 |
|
125 | 165 | ### Changed
|
126 |
| -- [BREAKING] Same arguments order (groupId, time, e) for onCanvasDoubleClick and onCanvasClick #52 by @signalwerk |
127 |
| -- [Deprecated] `onTimeChange` now gets `updateScrollCanvas` as the third argument. Doing `this.updateScrollCanvas` is no longer needed and will be removed soon. |
128 |
| -- Moved React & Moment from dependencies to peerDependencies #53 by @meikoudras |
129 |
| -- Fix resizing when inside DIV #47 by @semargal |
130 |
| -- Fix demo for IE11 #44 by @lucidlemon |
131 |
| -- Package a .css file, not a .scss file as previously done. @mariusandra |
| 166 | + |
| 167 | +* [BREAKING] Same arguments order (groupId, time, e) for onCanvasDoubleClick and onCanvasClick #52 by @signalwerk |
| 168 | +* [Deprecated] `onTimeChange` now gets `updateScrollCanvas` as the third argument. Doing `this.updateScrollCanvas` is no longer needed and will be removed soon. |
| 169 | +* Moved React & Moment from dependencies to peerDependencies #53 by @meikoudras |
| 170 | +* Fix resizing when inside DIV #47 by @semargal |
| 171 | +* Fix demo for IE11 #44 by @lucidlemon |
| 172 | +* Package a .css file, not a .scss file as previously done. @mariusandra |
132 | 173 |
|
133 | 174 | [0.9.0]: https://github.com/namespace-ee/react-calendar-timeline/compare/v0.8.6...v0.9.0
|
134 | 175 | [0.10.0]: https://github.com/namespace-ee/react-calendar-timeline/compare/v0.9.0...v0.10.0
|
|
0 commit comments