|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4 | 4 |
|
5 |
| -<a name="2.1.1"></a> |
6 |
| -## [2.1.1](https://github.com/frontend-collective/react-sortable-tree/compare/v2.1.0...v2.1.1) (2018-04-29) |
| 5 | +<a name="2.1.2"></a> |
| 6 | +## [2.1.2](https://github.com/frontend-collective/react-sortable-tree/compare/v2.1.1...v2.1.2) (2018-05-23) |
| 7 | + |
| 8 | + |
| 9 | +### Bug Fixes |
| 10 | + |
| 11 | +* prettier ([#313](https://github.com/frontend-collective/react-sortable-tree/issues/313)) ([3456076](https://github.com/frontend-collective/react-sortable-tree/commit/3456076)) |
| 12 | + |
7 | 13 |
|
8 | 14 |
|
| 15 | +<a name="2.1.1"></a> |
| 16 | + |
| 17 | +## [2.1.1](https://github.com/frontend-collective/react-sortable-tree/compare/v2.1.0...v2.1.1) (2018-04-29) |
9 | 18 |
|
10 | 19 | <a name="2.1.0"></a>
|
11 |
| -# [2.1.0](https://github.com/frontend-collective/react-sortable-tree/compare/v2.0.1...v2.1.0) (2018-03-04) |
12 | 20 |
|
| 21 | +# [2.1.0](https://github.com/frontend-collective/react-sortable-tree/compare/v2.0.1...v2.1.0) (2018-03-04) |
13 | 22 |
|
14 | 23 | ### Features
|
15 | 24 |
|
16 | 25 | * Added onlyExpandSearchedNodes prop ([2d57928](https://github.com/frontend-collective/react-sortable-tree/commit/2d57928)), closes [#245](https://github.com/frontend-collective/react-sortable-tree/issues/245)
|
17 | 26 |
|
18 |
| - |
19 |
| - |
20 | 27 | <a name="2.0.1"></a>
|
21 |
| -## [2.0.1](https://github.com/frontend-collective/react-sortable-tree/compare/v2.0.0...v2.0.1) (2018-02-10) |
22 | 28 |
|
| 29 | +## [2.0.1](https://github.com/frontend-collective/react-sortable-tree/compare/v2.0.0...v2.0.1) (2018-02-10) |
23 | 30 |
|
24 | 31 | ### Bug Fixes
|
25 | 32 |
|
26 | 33 | * restore highlight line appearance ([2c95205](https://github.com/frontend-collective/react-sortable-tree/commit/2c95205))
|
27 | 34 |
|
28 |
| - |
29 |
| - |
30 | 35 | <a name="2.0.0"></a>
|
31 |
| -# [2.0.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.8.1...v2.0.0) (2018-02-10) |
32 | 36 |
|
| 37 | +# [2.0.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.8.1...v2.0.0) (2018-02-10) |
33 | 38 |
|
34 | 39 | ### BREAKING CHANGES
|
35 | 40 |
|
36 | 41 | * from v2.0.0 on, you must import the css for the
|
37 |
| -component yourself, using `import 'react-sortable-tree/style.css';`. |
38 |
| -You only need to do this once in your application. |
| 42 | + component yourself, using `import 'react-sortable-tree/style.css';`. |
| 43 | + You only need to do this once in your application. |
39 | 44 |
|
40 | 45 | * Support dropped for IE versions earlier than IE 11
|
41 | 46 |
|
42 |
| - |
43 | 47 | <a name="1.8.1"></a>
|
44 |
| -## [1.8.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.8.0...v1.8.1) (2018-01-21) |
45 | 48 |
|
| 49 | +## [1.8.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.8.0...v1.8.1) (2018-01-21) |
46 | 50 |
|
47 | 51 | ### Bug Fixes
|
48 | 52 |
|
49 | 53 | * rename parentNode callback param to nextParentNode ([24bf39d](https://github.com/frontend-collective/react-sortable-tree/commit/24bf39d))
|
50 | 54 |
|
51 |
| - |
52 |
| - |
53 | 55 | <a name="1.8.0"></a>
|
54 |
| -# [1.8.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.7.0...v1.8.0) (2018-01-21) |
55 | 56 |
|
| 57 | +# [1.8.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.7.0...v1.8.0) (2018-01-21) |
56 | 58 |
|
57 | 59 | ### Features
|
58 | 60 |
|
59 | 61 | * Parent node in onMoveNode callback ([537c6a4](https://github.com/frontend-collective/react-sortable-tree/commit/537c6a4))
|
60 | 62 |
|
61 |
| - |
62 |
| - |
63 | 63 | <a name="1.7.0"></a>
|
64 |
| -# [1.7.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.6.0...v1.7.0) (2018-01-16) |
65 | 64 |
|
| 65 | +# [1.7.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.6.0...v1.7.0) (2018-01-16) |
66 | 66 |
|
67 | 67 | ### Features
|
68 | 68 |
|
69 | 69 | * add onDragStateChanged callback ([2caa9d1](https://github.com/frontend-collective/react-sortable-tree/commit/2caa9d1))
|
70 |
| - |
| 70 | + |
71 | 71 | onDragStateChanged is called when dragging begins and ends, so you can easily track the current state of dragging.<br />
|
72 | 72 | Thanks to [@wuweiweiwu](https://github.com/wuweiweiwu) for the contribution!
|
73 | 73 |
|
74 |
| - |
75 |
| - |
76 | 74 | <a name="1.6.0"></a>
|
77 |
| -# [1.6.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.5...v1.6.0) (2018-01-14) |
78 | 75 |
|
| 76 | +# [1.6.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.5...v1.6.0) (2018-01-14) |
79 | 77 |
|
80 | 78 | ### Features
|
81 | 79 |
|
82 | 80 | * add more parameters to rowHeight. Fixes [#199](https://github.com/frontend-collective/react-sortable-tree/issues/199) ([8ff0ff2](https://github.com/frontend-collective/react-sortable-tree/commit/8ff0ff2))
|
83 |
| - |
84 |
| - Thanks to [@wuweiweiwu](https://github.com/wuweiweiwu) for the contribution! |
85 |
| - |
86 | 81 |
|
| 82 | + Thanks to [@wuweiweiwu](https://github.com/wuweiweiwu) for the contribution! |
87 | 83 |
|
88 | 84 | <a name="1.5.5"></a>
|
89 |
| -## [1.5.5](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.4...v1.5.5) (2018-01-13) |
90 | 85 |
|
| 86 | +## [1.5.5](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.4...v1.5.5) (2018-01-13) |
91 | 87 |
|
92 | 88 | ### Bug Fixes
|
93 | 89 |
|
94 | 90 | * expand tree for searches on initial mount. fixes [#223](https://github.com/frontend-collective/react-sortable-tree/issues/223) ([64a984a](https://github.com/frontend-collective/react-sortable-tree/commit/64a984a))
|
95 | 91 |
|
96 |
| - |
97 |
| - |
98 | 92 | <a name="1.5.4"></a>
|
| 93 | + |
99 | 94 | ## [1.5.4](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.3...v1.5.4) (2018-01-07)
|
100 | 95 |
|
101 | 96 | ### Bug Fixes
|
102 | 97 |
|
103 | 98 | * UglifyJS enabled to remove dead code, which had been causing issues with some builds. If the presence of UglifyJS causes issues in your production builds, please refer to https://github.com/frontend-collective/react-sortable-tree#if-it-throws-typeerror-fn-is-not-a-function-errors-in-production
|
104 | 99 |
|
105 |
| - |
106 |
| - |
107 | 100 | <a name="1.5.3"></a>
|
108 |
| -## [1.5.3](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.2...v1.5.3) (2017-12-09) |
109 | 101 |
|
| 102 | +## [1.5.3](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.2...v1.5.3) (2017-12-09) |
110 | 103 |
|
111 | 104 | ### Bug Fixes
|
112 | 105 |
|
113 | 106 | * dragging past the bottom of the tree no longer slows down rendering ([3ce35f3](https://github.com/frontend-collective/react-sortable-tree/commit/3ce35f3))
|
114 | 107 |
|
115 |
| - |
116 |
| - |
117 | 108 | <a name="1.5.2"></a>
|
118 |
| -## [1.5.2](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.1...v1.5.2) (2017-11-28) |
119 | 109 |
|
| 110 | +## [1.5.2](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.1...v1.5.2) (2017-11-28) |
120 | 111 |
|
121 | 112 | ### Bug Fixes
|
122 | 113 |
|
123 | 114 | * correct positioning of full-width draggable rows ([00396d1](https://github.com/frontend-collective/react-sortable-tree/commit/00396d1))
|
124 | 115 |
|
125 |
| - |
126 |
| - |
127 | 116 | <a name="1.5.1"></a>
|
128 |
| -## [1.5.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.0...v1.5.1) (2017-11-28) |
129 | 117 |
|
| 118 | +## [1.5.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.0...v1.5.1) (2017-11-28) |
130 | 119 |
|
131 | 120 | ### Bug Fixes
|
132 | 121 |
|
133 | 122 | * prevent slowdown caused by invalid targetDepth when using maxDepth ([c21d4de](https://github.com/frontend-collective/react-sortable-tree/commit/c21d4de)), closes [#194](https://github.com/frontend-collective/react-sortable-tree/issues/194)
|
134 | 123 |
|
135 |
| - |
136 |
| - |
137 | 124 | <a name="1.5.0"></a>
|
138 |
| -# [1.5.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.4.0...v1.5.0) (2017-10-29) |
139 | 125 |
|
| 126 | +# [1.5.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.4.0...v1.5.0) (2017-10-29) |
140 | 127 |
|
141 | 128 | ### Bug Fixes
|
142 | 129 |
|
143 | 130 | * Fix oblong collapse/expand button appearance on mobile safari ([62dfdec](https://github.com/frontend-collective/react-sortable-tree/commit/62dfdec))
|
144 | 131 |
|
145 |
| - |
146 | 132 | ### Features
|
147 | 133 |
|
148 | 134 | * enable the use of themes for simplified appearance customization ([d07c6a7](https://github.com/frontend-collective/react-sortable-tree/commit/d07c6a7))
|
149 | 135 |
|
150 |
| - |
151 |
| - |
152 | 136 | <a name="1.4.0"></a>
|
153 |
| -# [1.4.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.3.1...v1.4.0) (2017-10-13) |
154 | 137 |
|
| 138 | +# [1.4.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.3.1...v1.4.0) (2017-10-13) |
155 | 139 |
|
156 | 140 | ### Features
|
157 | 141 |
|
158 | 142 | * Add path argument to onVisibilityToggle callback ([25cd134](https://github.com/frontend-collective/react-sortable-tree/commit/25cd134))
|
159 | 143 |
|
160 |
| - |
161 |
| - |
162 | 144 | <a name="1.3.1"></a>
|
163 |
| -## [1.3.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.3.0...v1.3.1) (2017-10-03) |
164 | 145 |
|
| 146 | +## [1.3.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.3.0...v1.3.1) (2017-10-03) |
165 | 147 |
|
166 | 148 | ### Bug Fixes
|
167 | 149 |
|
168 | 150 | * Allow react[@16](https://github.com/16) ([9a31a03](https://github.com/frontend-collective/react-sortable-tree/commit/9a31a03))
|
169 | 151 |
|
170 |
| - |
171 |
| - |
172 | 152 | <a name="1.3.0"></a>
|
173 |
| -# [1.3.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.2...v1.3.0) (2017-09-20) |
174 | 153 |
|
| 154 | +# [1.3.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.2...v1.3.0) (2017-09-20) |
175 | 155 |
|
176 | 156 | ### Features
|
177 | 157 |
|
178 | 158 | * Provide more row parameters in rowHeight callback ([1b88b18](https://github.com/frontend-collective/react-sortable-tree/commit/1b88b18))
|
179 | 159 |
|
180 |
| - |
181 |
| - |
182 | 160 | <a name="1.2.2"></a>
|
183 |
| -## [1.2.2](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.1...v1.2.2) (2017-09-12) |
184 | 161 |
|
| 162 | +## [1.2.2](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.1...v1.2.2) (2017-09-12) |
185 | 163 |
|
186 | 164 | ### Bug Fixes
|
187 | 165 |
|
188 | 166 | * Specify version of react-dnd-html5-backend to avoid invalid package installs ([a09b611](https://github.com/frontend-collective/react-sortable-tree/commit/a09b611))
|
189 | 167 |
|
190 |
| - |
191 |
| - |
192 | 168 | <a name="1.2.1"></a>
|
193 |
| -## [1.2.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.0...v1.2.1) (2017-09-06) |
194 | 169 |
|
| 170 | +## [1.2.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.0...v1.2.1) (2017-09-06) |
195 | 171 |
|
196 | 172 | ### Bug Fixes
|
197 | 173 |
|
198 | 174 | * Allow children function in default renderer ([6f1dcac](https://github.com/frontend-collective/react-sortable-tree/commit/6f1dcac))
|
199 | 175 |
|
200 |
| - |
201 |
| - |
202 | 176 | <a name="1.2.0"></a>
|
203 |
| -# [1.2.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.1.1...v1.2.0) (2017-08-12) |
204 | 177 |
|
| 178 | +# [1.2.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.1.1...v1.2.0) (2017-08-12) |
205 | 179 |
|
206 | 180 | ### Features
|
207 | 181 |
|
208 | 182 | * Add `shouldCopyOnOutsideDrop` prop to enable copying of nodes that leave the tree ([d6a9be9](https://github.com/frontend-collective/react-sortable-tree/commit/d6a9be9))
|
209 | 183 |
|
210 |
| - |
211 |
| - |
212 | 184 | <a name="1.1.1"></a>
|
213 |
| -## [1.1.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.1.0...v1.1.1) (2017-08-06) |
214 | 185 |
|
| 186 | +## [1.1.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.1.0...v1.1.1) (2017-08-06) |
215 | 187 |
|
216 | 188 | ### Bug Fixes
|
217 | 189 |
|
218 | 190 | * **tree-to-tree:** Fix node depth when dragging between trees ([323ccad](https://github.com/frontend-collective/react-sortable-tree/commit/323ccad))
|
219 | 191 |
|
220 |
| - |
221 |
| - |
222 | 192 | <a name="1.1.0"></a>
|
223 |
| -# [1.1.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.0.0...v1.1.0) (2017-08-05) |
224 | 193 |
|
| 194 | +# [1.1.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.0.0...v1.1.0) (2017-08-05) |
225 | 195 |
|
226 | 196 | ### Features
|
227 | 197 |
|
228 | 198 | * **node-renderer:** Make title and subtitle insertable via props ([fff72c6](https://github.com/frontend-collective/react-sortable-tree/commit/fff72c6))
|
229 | 199 |
|
230 |
| - |
231 |
| - |
232 | 200 | <a name="1.0.0"></a>
|
233 |
| -# [1.0.0](https://github.com/frontend-collective/react-sortable-tree/compare/v0.1.21...v1.0.0) (2017-08-05) |
234 | 201 |
|
| 202 | +# [1.0.0](https://github.com/frontend-collective/react-sortable-tree/compare/v0.1.21...v1.0.0) (2017-08-05) |
235 | 203 |
|
236 | 204 | ### Bug Fixes
|
237 | 205 |
|
238 | 206 | * External node offset was shifted ([d1ae0eb](https://github.com/frontend-collective/react-sortable-tree/commit/d1ae0eb))
|
239 | 207 |
|
240 |
| - |
241 | 208 | ### Code Refactoring
|
242 | 209 |
|
243 | 210 | * get rid of `dndWrapExternalSource` api ([d103e9f](https://github.com/frontend-collective/react-sortable-tree/commit/d103e9f))
|
244 | 211 |
|
245 |
| - |
246 | 212 | ### Features
|
247 | 213 |
|
248 | 214 | * **tree-to-tree:** Enable tree-to-tree drag-and-drop ([6986a23](https://github.com/frontend-collective/react-sortable-tree/commit/6986a23))
|
249 | 215 | * Display droppable placeholder element when tree is empty ([2cd371c](https://github.com/frontend-collective/react-sortable-tree/commit/2cd371c))
|
250 | 216 | * Add `prevPath` and `prevTreeIndex` to the `onMoveNode` callback ([6986a23](https://github.com/frontend-collective/react-sortable-tree/commit/6986a23))
|
251 | 217 |
|
252 |
| - |
253 | 218 | ### BREAKING CHANGES
|
254 | 219 |
|
255 | 220 | * Trees that are empty now display a placeholder element
|
256 |
| -in their place instead of being simply empty. |
| 221 | + in their place instead of being simply empty. |
257 | 222 | * `dndWrapExternalSource` api no longer exists.
|
258 |
| -You can achieve the same functionality and more with react-dnd |
259 |
| -APIs, as demonstrated in the storybook example. |
260 |
| - |
261 |
| - |
| 223 | + You can achieve the same functionality and more with react-dnd |
| 224 | + APIs, as demonstrated in the storybook example. |
262 | 225 |
|
263 | 226 | <a name="0.1.21"></a>
|
264 |
| -## [0.1.21](https://github.com/frontend-collective/react-sortable-tree/compare/v0.1.20...v0.1.21) (2017-07-15) |
265 | 227 |
|
| 228 | +## [0.1.21](https://github.com/frontend-collective/react-sortable-tree/compare/v0.1.20...v0.1.21) (2017-07-15) |
266 | 229 |
|
267 | 230 | ### Bug Fixes
|
268 | 231 |
|
269 | 232 | * Remove console.log left in after development ([da27c47](https://github.com/frontend-collective/react-sortable-tree/commit/da27c47))
|
270 | 233 |
|
271 |
| - |
272 |
| - |
273 | 234 | See the GitHub [Releases](https://github.com/frontend-collective/react-sortable-tree/releases) for information on updates.
|
0 commit comments