You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+31-20Lines changed: 31 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,30 +7,41 @@ and this project adheres (more or less) to [Semantic Versioning](http://semver.o
7
7
8
8
## Unreleased
9
9
10
+
## 0.26.0
11
+
12
+
#### Added
13
+
14
+
* Add `onItemDrag` prop to `<Timeline />`#517@bettymakes
15
+
* Upgrade to Babel 7.5.0, Jest 24.8.0, Enzyme 3.10.0 @trevdor
16
+
17
+
#### Breaking
18
+
19
+
* Removed `<InfoLabel />` in favour of allowing for custom component to be rendered on move or resize. Check out the demo in `demo/app/demo-custom-info-label` for an example on how to display your own custom info label or [this example](https://codesandbox.io/s/timeline-demo-info-label-neec9).
20
+
21
+
10
22
## 0.25.4
11
23
12
-
- Move `classnames` to a production dependency
24
+
* Move `classnames` to a production dependency
13
25
14
26
## 0.25.3
15
27
16
-
- Fixed the `undefined` classnames in TimelineHeaders #566@trevdor
28
+
* Fixed the `undefined` classnames in TimelineHeaders #566@trevdor
17
29
18
30
## 0.25.2
19
31
20
-
- Fixed the auto-scroll right bug in a scaled browser. #528@cw196
32
+
* Fixed the auto-scroll right bug in a scaled browser. #528@cw196
21
33
22
34
## 0.25.1
23
35
24
-
- fix error when using `week` unit causing format error in `DateHeader`#562@dkarnutsch
25
-
- fix Wheel/Mousewheel Event errors on chrome 73 #541@ilaiwi
36
+
* fix error when using `week` unit causing format error in `DateHeader`#562@dkarnutsch
37
+
* fix Wheel/Mousewheel Event errors on chrome 73 #541@ilaiwi
26
38
27
39
## 0.25.0
28
40
29
41
### Custom Headers
30
42
31
43
This new feature gives more control to dev to create customizable headers to provide better UI. Now user have more control through a set of new components to render headers. This new feature came with a breaking change though.
32
44
33
-
34
45
```jsx
35
46
import Timeline, {
36
47
TimelineHeaders,
@@ -93,23 +104,23 @@ import Timeline, {
93
104
Check out the new docs before please [here](https://github.com/namespace-ee/react-calendar-timeline/tree/custom-headers#timeline-headers)
94
105
95
106
#### removed props
96
-
-`stickyOffset` and `stickyHeader` now you can make your header sticky by following this [examples](https://github.com/namespace-ee/react-calendar-timeline/tree/master/examples#custom-item-rendering)
97
-
-`headerRef` to get the headerRef you need to pass ref callback to `TimelineHeader` component
98
-
-`headerLabelGroupHeight` and `headerLabelHeight` now you can pass a `height` prop to both `CustomHeader` and `DateHeader`
99
-
-`headerLabelFormats` and `subHeaderLabelFormats` not you can pass `formatLabel` function to `DateHeader` with label width and start and end time of intervals
100
107
108
+
*`stickyOffset` and `stickyHeader` now you can make your header sticky by following this [examples](https://github.com/namespace-ee/react-calendar-timeline/tree/master/examples#custom-item-rendering)
109
+
*`headerRef` to get the headerRef you need to pass ref callback to `TimelineHeader` component
110
+
*`headerLabelGroupHeight` and `headerLabelHeight` now you can pass a `height` prop to both `CustomHeader` and `DateHeader`
111
+
*`headerLabelFormats` and `subHeaderLabelFormats` not you can pass `formatLabel` function to `DateHeader` with label width and start and end time of intervals
101
112
102
113
## 0.23.1
103
114
104
-
- fix height calculation of stacked items is off if no item is visible in a line @Felix-N
105
-
- fix Unsubscribing markers correctly when unmounted @gaston-niglia
115
+
* fix height calculation of stacked items is off if no item is visible in a line @Felix-N
116
+
* fix Unsubscribing markers correctly when unmounted @gaston-niglia
* fix sidebar re-render when groupHeights do not change #478 - @SDupZ
113
124
114
125
### Stack per group
115
126
@@ -156,7 +167,6 @@ ReactDOM.render(
156
167
)
157
168
```
158
169
159
-
160
170
## 0.22.0
161
171
162
172
### Fixed
@@ -181,9 +191,11 @@ ReactDOM.render(
181
191
### 0.20.0
182
192
183
193
### improvements
194
+
184
195
* eliminate extra renders on every scroll - #357[acemac](https://github.com/acemac)
185
196
186
197
### Fixed
198
+
187
199
* When the `date` prop on a `CustomMarker` changes the marker will now move on the timeline - #421[kevinmanncito](https://github.com/kevinmanncito)[ilaiwi](https://github.com/ilaiwi)
188
200
* Header has a bounce effect - #311[acemac](https://github.com/acemac)
189
201
@@ -192,8 +204,6 @@ ReactDOM.render(
192
204
* update to `react-testing-library` version 5
193
205
* remove deprecated `toBeInDom`
194
206
195
-
196
-
197
207
### 0.19.0
198
208
199
209
### Added
@@ -232,7 +242,7 @@ ReactDOM.render(
232
242
233
243
### Breaking
234
244
235
-
* Removed support for React 15 and lower. This is due to the fact that 16+ supports returning arrays from render, something that the TimelineMarker feature relies on.
245
+
* Removed support for React 15 and lower. This is due to the fact that 16+ supports returning arrays from render, something that the TimelineMarker feature relies on.
236
246
* removed `showCursorLine` prop in favor of using the `CursorMarker` component. See `TimelineMarkers` section of README for documentation.
237
247
238
248
```diff
@@ -256,6 +266,7 @@ from 'react-calendar-timeline'
0 commit comments