1 | # Changelog
|
2 |
|
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 |
|
5 | ## [8.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v7.0.0...v8.0.0) (2022-12-11)
|
6 |
|
7 |
|
8 | ### ⚠ BREAKING CHANGES
|
9 |
|
10 | * angular 15 or higher is now required to use this package
|
11 |
|
12 | ### build
|
13 |
|
14 | * upgrade to angular 15 ([87c556b](https://github.com/mattlewis92/angular-draggable-droppable/commit/87c556b6de06a7777e17f3cd05750640f5fc9e2d))
|
15 |
|
16 | ## [7.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v6.1.0...v7.0.0) (2022-08-02)
|
17 |
|
18 |
|
19 | ### ⚠ BREAKING CHANGES
|
20 |
|
21 | * angular 14 or higher is now required to use this package
|
22 |
|
23 | ### build
|
24 |
|
25 | * upgrade to angular 14 ([cc52856](https://github.com/mattlewis92/angular-draggable-droppable/commit/cc5285603afd2a31546056d82ef52fcca486a983))
|
26 |
|
27 | ## [6.1.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v6.0.1...v6.1.0) (2022-04-19)
|
28 |
|
29 |
|
30 | ### Features
|
31 |
|
32 | * **droppable:** add clientX, clientY and target to all output events ([#113](https://github.com/mattlewis92/angular-draggable-droppable/issues/113)) ([0e8e0a8](https://github.com/mattlewis92/angular-draggable-droppable/commit/0e8e0a8bb1c82c3f6691c996defc7ff9a8e85153))
|
33 |
|
34 | ### [6.0.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v6.0.0...v6.0.1) (2022-04-12)
|
35 |
|
36 | ## [6.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v5.0.0...v6.0.0) (2021-12-11)
|
37 |
|
38 |
|
39 | ### ⚠ BREAKING CHANGES
|
40 |
|
41 | * angular 12 or higher is now required to use this package
|
42 |
|
43 | ### Features
|
44 |
|
45 | * publish package in ivy partial compilation mode ([2c37cc9](https://github.com/mattlewis92/angular-draggable-droppable/commit/2c37cc96fd62008eb6c3e8bcbc05df5c8422c176))
|
46 |
|
47 | ## [5.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.6.0...v5.0.0) (2021-08-30)
|
48 |
|
49 |
|
50 | ### ⚠ BREAKING CHANGES
|
51 |
|
52 | * The `activeLongPressDrag` and `longPressConfig` inputs have been removed on the `mwlDraggableScrollContainer` directive.
|
53 |
|
54 | To migrate use `[touchStartLongPress]="{delay: 300, delta: 30}"` on the `mwlDraggable` element instead.
|
55 | * if you were using the UMD bundle @mattlewis92/dom-autoscroller will no longer be bundled inside it and you may need to adjust your system.js config accordingly
|
56 | * angular 10 or higher is now required to use this package
|
57 |
|
58 | ### Features
|
59 |
|
60 | * remove deprecated inputs on mwlDraggableScrollContainer directive ([2766f33](https://github.com/mattlewis92/angular-draggable-droppable/commit/2766f33dd9d3c0df0c0eddc3dc7706ef41387ce8))
|
61 |
|
62 |
|
63 | ### build
|
64 |
|
65 | * don't bundle @mattlewis92/dom-autoscroller anymore ([3c41375](https://github.com/mattlewis92/angular-draggable-droppable/commit/3c41375e998f7aff6d80f4243f2044b348e8fb14))
|
66 | * upgrade to angular 10 ([907f637](https://github.com/mattlewis92/angular-draggable-droppable/commit/907f637d2684b4d5299893b68acc9a55e0e0bc13))
|
67 |
|
68 | ## [4.6.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.6...v4.6.0) (2020-12-28)
|
69 |
|
70 |
|
71 | ### Features
|
72 |
|
73 | * add validateDrop to mwlDroppable directive ([#111](https://github.com/mattlewis92/angular-draggable-droppable/issues/111)) ([8850ddf](https://github.com/mattlewis92/angular-draggable-droppable/commit/8850ddfd79f60bd5efd469ec5f99650fb02199e0))
|
74 |
|
75 | ### [4.5.6](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.5...v4.5.6) (2020-10-22)
|
76 |
|
77 |
|
78 | ### Bug Fixes
|
79 |
|
80 | * prevent error on drag end ([4a6bdbb](https://github.com/mattlewis92/angular-draggable-droppable/commit/4a6bdbba53c0252b56eff4b5918605e3f5c07bf6))
|
81 |
|
82 | ### [4.5.5](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.4...v4.5.5) (2020-10-20)
|
83 |
|
84 |
|
85 | ### Bug Fixes
|
86 |
|
87 | * ensure dragging output is never called unless dragging an item ([1661d72](https://github.com/mattlewis92/angular-draggable-droppable/commit/1661d726066674325486ff2534fa11e6eb733b32))
|
88 |
|
89 | ### [4.5.4](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.3...v4.5.4) (2020-09-12)
|
90 |
|
91 |
|
92 | ### Bug Fixes
|
93 |
|
94 | * upgrade dom auto scroller library to prevent commonjs warnings ([3f079fe](https://github.com/mattlewis92/angular-draggable-droppable/commit/3f079fec81e29ce4fa1a43b8803bd9c133fccdd7))
|
95 |
|
96 | ### [4.5.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.2...v4.5.3) (2020-07-09)
|
97 |
|
98 | ### [4.5.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.1...v4.5.2) (2020-07-09)
|
99 |
|
100 | ### [4.5.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.0...v4.5.1) (2020-06-19)
|
101 |
|
102 | ## [4.5.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.6...v4.5.0) (2020-06-17)
|
103 |
|
104 |
|
105 | ### Features
|
106 |
|
107 | * allow auto scroll options to be configured ([46892ac](https://github.com/mattlewis92/angular-draggable-droppable/commit/46892aca0ba321a5db927c36022811da3256ca63))
|
108 |
|
109 | ### [4.4.6](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.5...v4.4.6) (2020-05-29)
|
110 |
|
111 |
|
112 | ### Bug Fixes
|
113 |
|
114 | * **umd:** use correct sourcemaps in umd bundle ([30cfca3](https://github.com/mattlewis92/angular-draggable-droppable/commit/30cfca3eb96944bf0fec0795a412349efc278301))
|
115 |
|
116 | ### [4.4.5](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.4...v4.4.5) (2020-05-22)
|
117 |
|
118 |
|
119 | ### Bug Fixes
|
120 |
|
121 | * allow any angular version above 6 ([2aff5f0](https://github.com/mattlewis92/angular-draggable-droppable/commit/2aff5f0dfef05d3c0f8d7cb1c58c1cc6a5ed5ef2))
|
122 |
|
123 | ### [4.4.4](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.3...v4.4.4) (2020-04-19)
|
124 |
|
125 |
|
126 | ### Bug Fixes
|
127 |
|
128 | * always disable document scroll when dragging ([7276cab](https://github.com/mattlewis92/angular-draggable-droppable/commit/7276caba3c2a06d61f359f2acd643d937d1f41a9))
|
129 |
|
130 | ### [4.4.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.2...v4.4.3) (2020-04-19)
|
131 |
|
132 |
|
133 | ### Bug Fixes
|
134 |
|
135 | * disable text selection in safari ([d044523](https://github.com/mattlewis92/angular-draggable-droppable/commit/d044523d6324839f13434eab274fdf119c6a1580))
|
136 |
|
137 | ### [4.4.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.0...v4.4.2) (2020-04-19)
|
138 |
|
139 |
|
140 | ### Bug Fixes
|
141 |
|
142 | * only enable long press drag delay if inside a scrollable element ([0a30e09](https://github.com/mattlewis92/angular-draggable-droppable/commit/0a30e09ce2e69be88b2a426aa64ae3ffabe16dde))
|
143 | * remove scroll glitch on touch devices when dragging ([fe9bd5e](https://github.com/mattlewis92/angular-draggable-droppable/commit/fe9bd5ec6d7338bdb3fee96295c2aad48d90ab1d))
|
144 |
|
145 | ## [4.4.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.12...v4.4.0) (2020-04-18)
|
146 |
|
147 |
|
148 | ### Features
|
149 |
|
150 | * allow setting drag start delay on touch devices ([c9b28a5](https://github.com/mattlewis92/angular-draggable-droppable/commit/c9b28a59e1f8f822226e2b72d2ee7e034f9c7c71))
|
151 |
|
152 |
|
153 | ### Bug Fixes
|
154 |
|
155 | * disable text selection when dragging on ios safari ([ca83a33](https://github.com/mattlewis92/angular-draggable-droppable/commit/ca83a33b7b8e370e5707f0fb21784fa592237e73))
|
156 |
|
157 | ### [4.3.12](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.11...v4.3.12) (2020-04-12)
|
158 |
|
159 |
|
160 | ### Bug Fixes
|
161 |
|
162 | * remove need for server side rendering hacks ([7c96113](https://github.com/mattlewis92/angular-draggable-droppable/commit/7c96113))
|
163 |
|
164 | ### [4.3.11](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.10...v4.3.11) (2020-04-12)
|
165 |
|
166 |
|
167 | ### Bug Fixes
|
168 |
|
169 | * allow multiple dragActiveClass ([60844ec](https://github.com/mattlewis92/angular-draggable-droppable/commit/60844ec))
|
170 | * support multiple drag over and drag active classes ([ad50f0e](https://github.com/mattlewis92/angular-draggable-droppable/commit/ad50f0e))
|
171 |
|
172 | ### [4.3.10](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.9...v4.3.10) (2020-03-01)
|
173 |
|
174 | ### [4.3.9](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.8...v4.3.9) (2020-03-01)
|
175 |
|
176 |
|
177 | ### Bug Fixes
|
178 |
|
179 | * only allow dragging when using a left click ([d3eecde](https://github.com/mattlewis92/angular-draggable-droppable/commit/d3eecde))
|
180 |
|
181 | ### [4.3.8](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.7...v4.3.8) (2019-10-18)
|
182 |
|
183 | ### [4.3.7](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.6...v4.3.7) (2019-10-11)
|
184 |
|
185 |
|
186 | ### Bug Fixes
|
187 |
|
188 | * revert change to ghost element positioning ([e0128e5](https://github.com/mattlewis92/angular-draggable-droppable/commit/e0128e5))
|
189 |
|
190 | ### [4.3.6](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.5...v4.3.6) (2019-10-11)
|
191 |
|
192 | ### [4.3.5](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.4...v4.3.5) (2019-10-08)
|
193 |
|
194 | ### [4.3.4](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.3...v4.3.4) (2019-10-08)
|
195 |
|
196 |
|
197 | ### Bug Fixes
|
198 |
|
199 | * restore compatibility with angular 6 and 7 ([f110c8e](https://github.com/mattlewis92/angular-draggable-droppable/commit/f110c8e)), closes [#97](https://github.com/mattlewis92/angular-draggable-droppable/issues/97)
|
200 |
|
201 | ### [4.3.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.2...v4.3.3) (2019-10-07)
|
202 |
|
203 |
|
204 | ### Bug Fixes
|
205 |
|
206 | * allow angular 9 peer dependency ([cb7cf2e](https://github.com/mattlewis92/angular-draggable-droppable/commit/cb7cf2e))
|
207 |
|
208 | <a name="4.3.2"></a>
|
209 | ## [4.3.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.1...v4.3.2) (2019-06-26)
|
210 |
|
211 |
|
212 | ### Bug Fixes
|
213 |
|
214 | * restore compatibility with stackblitz ([ee94dc5](https://github.com/mattlewis92/angular-draggable-droppable/commit/ee94dc5))
|
215 |
|
216 |
|
217 |
|
218 | <a name="4.3.1"></a>
|
219 | ## [4.3.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.0...v4.3.1) (2019-06-05)
|
220 |
|
221 |
|
222 | ### Bug Fixes
|
223 |
|
224 | * restore compatibility with angular universal ([7fbaa2a](https://github.com/mattlewis92/angular-draggable-droppable/commit/7fbaa2a))
|
225 |
|
226 |
|
227 |
|
228 | <a name="4.3.0"></a>
|
229 | # [4.3.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.2.0...v4.3.0) (2019-04-21)
|
230 |
|
231 |
|
232 | ### Bug Fixes
|
233 |
|
234 | * expose ValidateDrag type ([32f4ce3](https://github.com/mattlewis92/angular-draggable-droppable/commit/32f4ce3))
|
235 |
|
236 |
|
237 | ### Features
|
238 |
|
239 | * expose css transform on validate drag function ([3c5c5b9](https://github.com/mattlewis92/angular-draggable-droppable/commit/3c5c5b9))
|
240 | * support auto scrolling when dragging ([78bdeb5](https://github.com/mattlewis92/angular-draggable-droppable/commit/78bdeb5))
|
241 |
|
242 |
|
243 |
|
244 | <a name="4.2.0"></a>
|
245 | # [4.2.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.1.0...v4.2.0) (2019-03-17)
|
246 |
|
247 |
|
248 | ### Features
|
249 |
|
250 | * expose ghost element and starting mouse position on ghost element created event ([d233788](https://github.com/mattlewis92/angular-draggable-droppable/commit/d233788)), closes [#81](https://github.com/mattlewis92/angular-draggable-droppable/issues/81) [#85](https://github.com/mattlewis92/angular-draggable-droppable/issues/85)
|
251 |
|
252 |
|
253 |
|
254 | <a name="4.1.0"></a>
|
255 | # [4.1.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.0.2...v4.1.0) (2019-02-17)
|
256 |
|
257 |
|
258 | ### Bug Fixes
|
259 |
|
260 | * allow angular 8 peer dependency ([f936805](https://github.com/mattlewis92/angular-draggable-droppable/commit/f936805))
|
261 |
|
262 |
|
263 | ### Features
|
264 |
|
265 | * **draggable-scroll-container:** Added input activeLongPressDrag ([#79](https://github.com/mattlewis92/angular-draggable-droppable/issues/79)) ([f98f586](https://github.com/mattlewis92/angular-draggable-droppable/commit/f98f586)), closes [#78](https://github.com/mattlewis92/angular-draggable-droppable/issues/78)
|
266 |
|
267 |
|
268 |
|
269 | <a name="4.0.2"></a>
|
270 | ## [4.0.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.0.1...v4.0.2) (2018-09-18)
|
271 |
|
272 |
|
273 | ### Bug Fixes
|
274 |
|
275 | * include readme and licence in npm ([cfff617](https://github.com/mattlewis92/angular-draggable-droppable/commit/cfff617))
|
276 |
|
277 |
|
278 |
|
279 | <a name="4.0.1"></a>
|
280 | ## [4.0.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.0.0...v4.0.1) (2018-09-01)
|
281 |
|
282 |
|
283 | ### Bug Fixes
|
284 |
|
285 | * allow draggable elements insider other draggable elements to be dragged ([700fef1](https://github.com/mattlewis92/angular-draggable-droppable/commit/700fef1)), closes [#61](https://github.com/mattlewis92/angular-draggable-droppable/issues/61)
|
286 |
|
287 |
|
288 |
|
289 | <a name="4.0.0"></a>
|
290 | # [4.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v3.0.1...v4.0.0) (2018-08-29)
|
291 |
|
292 |
|
293 | ### Bug Fixes
|
294 |
|
295 | * account for the window being scrolled whilst dragging ([566bf78](https://github.com/mattlewis92/angular-draggable-droppable/commit/566bf78))
|
296 | * allow dragging the element inside a scrollable container ([6e0a1a3](https://github.com/mattlewis92/angular-draggable-droppable/commit/6e0a1a3)), closes [#25](https://github.com/mattlewis92/angular-draggable-droppable/issues/25)
|
297 | * always remove global styles when clicking draggable elements ([c428eed](https://github.com/mattlewis92/angular-draggable-droppable/commit/c428eed)), closes [#44](https://github.com/mattlewis92/angular-draggable-droppable/issues/44)
|
298 | * append the ghost element to the body ([4f23661](https://github.com/mattlewis92/angular-draggable-droppable/commit/4f23661))
|
299 | * bump up z-index of element being dragged ([9d0f754](https://github.com/mattlewis92/angular-draggable-droppable/commit/9d0f754))
|
300 | * don't fire drop events when the droppable element is scrolled out of the view ([4c9224b](https://github.com/mattlewis92/angular-draggable-droppable/commit/4c9224b))
|
301 | * don't highlight text when dragging elements ([67d3a5e](https://github.com/mattlewis92/angular-draggable-droppable/commit/67d3a5e)), closes [#28](https://github.com/mattlewis92/angular-draggable-droppable/issues/28)
|
302 | * maintain old ghost element behaviour by default ([cf1bc61](https://github.com/mattlewis92/angular-draggable-droppable/commit/cf1bc61))
|
303 | * preserve original element styles after dragging ([f36ed2d](https://github.com/mattlewis92/angular-draggable-droppable/commit/f36ed2d))
|
304 | * remove automatic pointer-events:none on dragged element ([bfe9bb4](https://github.com/mattlewis92/angular-draggable-droppable/commit/bfe9bb4))
|
305 | * remove margin on the ghost element ([06396e6](https://github.com/mattlewis92/angular-draggable-droppable/commit/06396e6))
|
306 | * remove the drag helper provider from the public api ([48d4fe6](https://github.com/mattlewis92/angular-draggable-droppable/commit/48d4fe6))
|
307 | * round snap grids so dragging from each side is even ([fa8434b](https://github.com/mattlewis92/angular-draggable-droppable/commit/fa8434b))
|
308 | * set dimensions and z-index on ghost element ([9b5a6b0](https://github.com/mattlewis92/angular-draggable-droppable/commit/9b5a6b0))
|
309 | * **dragCursor:** don't default the drag cursor to `move` ([0a95ac7](https://github.com/mattlewis92/angular-draggable-droppable/commit/0a95ac7))
|
310 | * **droppable:** correctly account for scroll events when dragging elements ([c5ef775](https://github.com/mattlewis92/angular-draggable-droppable/commit/c5ef775)), closes [#23](https://github.com/mattlewis92/angular-draggable-droppable/issues/23)
|
311 | * **droppable:** dont throw when immediately destroying the directive ([dd3e89e](https://github.com/mattlewis92/angular-draggable-droppable/commit/dd3e89e))
|
312 |
|
313 |
|
314 | ### Features
|
315 |
|
316 | * **dragActiveClass:** add class when dragging element ([ee1d06c](https://github.com/mattlewis92/angular-draggable-droppable/commit/ee1d06c))
|
317 | * **dragCancel$:** allow the drag to be cancelled ([538f9b7](https://github.com/mattlewis92/angular-draggable-droppable/commit/538f9b7)), closes [#30](https://github.com/mattlewis92/angular-draggable-droppable/issues/30)
|
318 | * **draggable:** add option to show the original element while dragging ([d010733](https://github.com/mattlewis92/angular-draggable-droppable/commit/d010733))
|
319 | * **dragOverClass:** add a class when an element is dragged over it ([76852bc](https://github.com/mattlewis92/angular-draggable-droppable/commit/76852bc))
|
320 | * **droppable:** add css class when any element is being dragged ([5995f81](https://github.com/mattlewis92/angular-draggable-droppable/commit/5995f81))
|
321 | * add a way of setting the scroll container if not the window ([9831d36](https://github.com/mattlewis92/angular-draggable-droppable/commit/9831d36))
|
322 | * **ghostElementAppendTo:** allow the ghost element parent to be customised ([f51214e](https://github.com/mattlewis92/angular-draggable-droppable/commit/f51214e))
|
323 | * **ghostElementCreated:** emit new event after the ghost element is created ([22530b9](https://github.com/mattlewis92/angular-draggable-droppable/commit/22530b9))
|
324 | * **ghostElementTemplate:** allow changing the ghost element contents ([ecc96ec](https://github.com/mattlewis92/angular-draggable-droppable/commit/ecc96ec))
|
325 | * expose interfaces for all events ([c174023](https://github.com/mattlewis92/angular-draggable-droppable/commit/c174023))
|
326 | * remove the DragAndDropModule.forRoot method ([5ae52a7](https://github.com/mattlewis92/angular-draggable-droppable/commit/5ae52a7))
|
327 |
|
328 |
|
329 | ### Performance Improvements
|
330 |
|
331 | * deregister scroll listener once drag complete ([7e50d74](https://github.com/mattlewis92/angular-draggable-droppable/commit/7e50d74))
|
332 | * only recalculate the bounding rectangle once after scrolling ([d72e16b](https://github.com/mattlewis92/angular-draggable-droppable/commit/d72e16b))
|
333 | * only recompute draggable position on window scroll ([f6a5cde](https://github.com/mattlewis92/angular-draggable-droppable/commit/f6a5cde))
|
334 |
|
335 |
|
336 | ### BREAKING CHANGES
|
337 |
|
338 | * The `DragAndDropModule.forRoot` method was removed. To migrate just import the
|
339 | `DragAndDropModule` module directly
|
340 | * the drag helper provider is now no longer exported as part of the public api, just
|
341 | remove it from your code to migrate
|
342 | * A cloned element is now created when the element is being dragged, and the dragged
|
343 | element is set to be positioned fixed. This may break some apps in some edge cases.
|
344 | * The `dragStart` `$event.x` and `$event.y` values were removed as these were always
|
345 | `0`
|
346 | * `pointer-events:none` is no longer automatically applied to elements while they are being dragged. To migrate use the `dragActiveClass` option and set this yourself with css
|
347 | * **dragCursor:** The drag cursor will no longer be set to `move` by default, to restore the
|
348 | behaviour set `dragCursor="move"` or use CSS on the draggable elements to change the cursor
|
349 |
|
350 | <a name="3.0.1"></a>
|
351 | ## [3.0.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v3.0.0...v3.0.1) (2018-06-05)
|
352 |
|
353 |
|
354 | ### Bug Fixes
|
355 |
|
356 | * **drag:** style assignment for dragged element on IE ([#33](https://github.com/mattlewis92/angular-draggable-droppable/issues/33)) ([d0372ec](https://github.com/mattlewis92/angular-draggable-droppable/commit/d0372ec)), closes [#29](https://github.com/mattlewis92/angular-draggable-droppable/issues/29)
|
357 |
|
358 |
|
359 |
|
360 | <a name="3.0.0"></a>
|
361 |
|
362 | # [3.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v2.0.0...v3.0.0) (2018-05-09)
|
363 |
|
364 | ### Features
|
365 |
|
366 | * upgrade to angular 6 ([d96c26e](https://github.com/mattlewis92/angular-draggable-droppable/commit/d96c26e)), closes [#31](https://github.com/mattlewis92/angular-draggable-droppable/issues/31)
|
367 |
|
368 | ### BREAKING CHANGES
|
369 |
|
370 | * angular 6 and rxjs 6 or higher are now required to use this package
|
371 |
|
372 | <a name="2.0.0"></a>
|
373 |
|
374 | # [2.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.1.1...v2.0.0) (2017-12-26)
|
375 |
|
376 | ### Bug Fixes
|
377 |
|
378 | * only call drag start and end outputs when the element is actually dragged ([45c6b5f](https://github.com/mattlewis92/angular-draggable-droppable/commit/45c6b5f)), closes [#21](https://github.com/mattlewis92/angular-draggable-droppable/issues/21) [#20](https://github.com/mattlewis92/angular-draggable-droppable/issues/20)
|
379 |
|
380 | ### Features
|
381 |
|
382 | * upgrade to angular 5 ([4159ce2](https://github.com/mattlewis92/angular-draggable-droppable/commit/4159ce2))
|
383 | * use lettable rxjs operators ([9fca12a](https://github.com/mattlewis92/angular-draggable-droppable/commit/9fca12a))
|
384 | * use ng-packagr for building the package ([57dd436](https://github.com/mattlewis92/angular-draggable-droppable/commit/57dd436))
|
385 | * **dragPointerDown:** add a new output to repliate the old dragStart behaviour ([4a58c61](https://github.com/mattlewis92/angular-draggable-droppable/commit/4a58c61))
|
386 |
|
387 | ### BREAKING CHANGES
|
388 |
|
389 | * The UMD module path has changed from
|
390 | `angular-draggable-droppable/dist/umd/angular-draggable-droppable.js` to
|
391 | `angular-draggable-droppable/bundles/angular-draggable-droppable.umd.js`. System.js users will need
|
392 | to update their config.
|
393 | * rxjs operators will now no longer be added to the observable prototype. Also rxjs
|
394 | > = 5.5.x or higher is required
|
395 | * Angular 5 or higher is now required to use this package
|
396 | * drag start and end events are now only called when the element is actually dragged,
|
397 | use regular mousedown and mouseup events to get the old behaviour
|
398 |
|
399 | <a name="1.1.1"></a>
|
400 |
|
401 | ## [1.1.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.1.0...v1.1.1) (2017-10-21)
|
402 |
|
403 | ### Bug Fixes
|
404 |
|
405 | * allow angular 5 peer dependency ([1265bee](https://github.com/mattlewis92/angular-draggable-droppable/commit/1265bee))
|
406 |
|
407 | <a name="1.1.0"></a>
|
408 |
|
409 | # [1.1.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.0.2...v1.1.0) (2017-09-22)
|
410 |
|
411 | ### Features
|
412 |
|
413 | * **draggable:** allow the draggable cursor to be customised ([897b3fe](https://github.com/mattlewis92/angular-draggable-droppable/commit/897b3fe))
|
414 |
|
415 | <a name="1.0.2"></a>
|
416 |
|
417 | ## [1.0.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.0.1...v1.0.2) (2017-09-18)
|
418 |
|
419 | ### Bug Fixes
|
420 |
|
421 | * **draggable:** fire dragEnd event when the event was not dragged ([73d65d7](https://github.com/mattlewis92/angular-draggable-droppable/commit/73d65d7)), closes [#17](https://github.com/mattlewis92/angular-draggable-droppable/issues/17)
|
422 |
|
423 | <a name="1.0.1"></a>
|
424 |
|
425 | ## [1.0.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.0.0...v1.0.1) (2017-04-14)
|
426 |
|
427 | ### Bug Fixes
|
428 |
|
429 | * **draggable:** prevent text from being highlighted in firefox ([7d859c1](https://github.com/mattlewis92/angular-draggable-droppable/commit/7d859c1))
|
430 |
|
431 | <a name="1.0.0"></a>
|
432 |
|
433 | # [1.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.6.0...v1.0.0) (2017-03-24)
|
434 |
|
435 | ### Features
|
436 |
|
437 | * **ng4:** upgrade to angular 4 ([42631bc](https://github.com/mattlewis92/angular-draggable-droppable/commit/42631bc))
|
438 |
|
439 | ### BREAKING CHANGES
|
440 |
|
441 | * **ng4:** angular 4.0 or higher is now required to use this library. The [upgrade](http://angularjs.blogspot.co.uk/2017/03/angular-400-now-available.html) should be seamless for most users
|
442 |
|
443 | <a name="0.6.0"></a>
|
444 |
|
445 | # [0.6.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.4...v0.6.0) (2017-03-23)
|
446 |
|
447 | ### Features
|
448 |
|
449 | * **draggable:** make dragging work on touch devices ([dc0f863](https://github.com/mattlewis92/angular-draggable-droppable/commit/dc0f863))
|
450 |
|
451 | <a name="0.5.4"></a>
|
452 |
|
453 | ## [0.5.4](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.3...v0.5.4) (2017-03-04)
|
454 |
|
455 | ### Performance Improvements
|
456 |
|
457 | * **draggable:** lazily create all mouse event listeners ([3c99d40](https://github.com/mattlewis92/angular-draggable-droppable/commit/3c99d40))
|
458 |
|
459 | <a name="0.5.3"></a>
|
460 |
|
461 | ## [0.5.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.2...v0.5.3) (2017-03-04)
|
462 |
|
463 | ### Bug Fixes
|
464 |
|
465 | * move dependencies to dev ([17a2ccc](https://github.com/mattlewis92/angular-draggable-droppable/commit/17a2ccc))
|
466 |
|
467 | <a name="0.5.2"></a>
|
468 |
|
469 | ## [0.5.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.1...v0.5.2) (2017-03-04)
|
470 |
|
471 | ### Bug Fixes
|
472 |
|
473 | * loosen peer dependency to allow angular 4 ([bcc9080](https://github.com/mattlewis92/angular-draggable-droppable/commit/bcc9080))
|
474 |
|
475 | ### Performance Improvements
|
476 |
|
477 | * **draggable:** lazily create the mouse move listener ([bebd925](https://github.com/mattlewis92/angular-draggable-droppable/commit/bebd925))
|
478 | * run all event listeners outside of angulars zone ([d7c9256](https://github.com/mattlewis92/angular-draggable-droppable/commit/d7c9256))
|
479 |
|
480 | <a name="0.5.1"></a>
|
481 |
|
482 | ## [0.5.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.0...v0.5.1) (2017-01-06)
|
483 |
|
484 | ### Bug Fixes
|
485 |
|
486 | * **draggable:** allow draggable events to be clicked ([44ea67e](https://github.com/mattlewis92/angular-draggable-droppable/commit/44ea67e))
|
487 |
|
488 | <a name="0.5.0"></a>
|
489 |
|
490 | # [0.5.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.4.0...v0.5.0) (2016-12-21)
|
491 |
|
492 | ### Features
|
493 |
|
494 | * **dragAndDropModule:** add forRoot method ([00f6989](https://github.com/mattlewis92/angular-draggable-droppable/commit/00f6989))
|
495 |
|
496 | ### BREAKING CHANGES
|
497 |
|
498 | * dragAndDropModule: You must now import the DragAndDropModule with the forRoot method
|
499 |
|
500 | <a name="0.4.0"></a>
|
501 |
|
502 | # [0.4.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.3.1...v0.4.0) (2016-12-18)
|
503 |
|
504 | ### Features
|
505 |
|
506 | * **draggable:** remove the dragContainer option ([5aca67d](https://github.com/mattlewis92/angular-draggable-droppable/commit/5aca67d))
|
507 |
|
508 | ### BREAKING CHANGES
|
509 |
|
510 | * draggable: the dragContainer option has been removed as it didn't work in all cases and can be
|
511 |
|
512 | implemented yourself with the validateDrag option
|
513 |
|
514 | <a name="0.3.1"></a>
|
515 |
|
516 | ## [0.3.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.3.0...v0.3.1) (2016-12-18)
|
517 |
|
518 | ### Bug Fixes
|
519 |
|
520 | * **draggable:** make the dragEnd output respect the validateDrag input ([26cfa7e](https://github.com/mattlewis92/angular-draggable-droppable/commit/26cfa7e))
|
521 |
|
522 | <a name="0.3.0"></a>
|
523 |
|
524 | # [0.3.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.2.3...v0.3.0) (2016-12-12)
|
525 |
|
526 | ### Features
|
527 |
|
528 | * **draggable:** add dragContainer option ([fb75711](https://github.com/mattlewis92/angular-draggable-droppable/commit/fb75711)), closes [#10](https://github.com/mattlewis92/angular-draggable-droppable/issues/10)
|
529 |
|
530 | <a name="0.2.3"></a>
|
531 |
|
532 | ## [0.2.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.2.2...v0.2.3) (2016-12-11)
|
533 |
|
534 | ### Bug Fixes
|
535 |
|
536 | * **draggable:** allow events to be dragged back into their original positions ([7831903](https://github.com/mattlewis92/angular-draggable-droppable/commit/7831903))
|
537 |
|
538 | <a name="0.2.2"></a>
|
539 |
|
540 | ## [0.2.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.2.1...v0.2.2) (2016-12-11)
|
541 |
|
542 | ### Bug Fixes
|
543 |
|
544 | * **draggable:** only emit the dragEnd event once ([52e9a22](https://github.com/mattlewis92/angular-draggable-droppable/commit/52e9a22))
|
545 |
|
546 | <a name="0.2.1"></a>
|
547 |
|
548 | ## [0.2.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.2.0...v0.2.1) (2016-12-10)
|
549 |
|
550 | ### Bug Fixes
|
551 |
|
552 | * revert duplicate dragging fix as it caused worse errors ([7476301](https://github.com/mattlewis92/angular-draggable-droppable/commit/7476301))
|
553 |
|
554 | <a name="0.2.0"></a>
|
555 |
|
556 | # [0.2.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.1.1...v0.2.0) (2016-12-10)
|
557 |
|
558 | ### Bug Fixes
|
559 |
|
560 | * completely remove applied styled after dragging ([3445337](https://github.com/mattlewis92/angular-draggable-droppable/commit/3445337))
|
561 | * **draggable:** dont fire duplicate dragging events with the same coordinates ([222914b](https://github.com/mattlewis92/angular-draggable-droppable/commit/222914b)), closes [#6](https://github.com/mattlewis92/angular-draggable-droppable/issues/6)
|
562 | * **draggable:** when dragging is disabled, no drag events should be emitted ([729f24e](https://github.com/mattlewis92/angular-draggable-droppable/commit/729f24e))
|
563 | * **droppable:** only allow dropping of events when the cursor is inside ([652d632](https://github.com/mattlewis92/angular-draggable-droppable/commit/652d632)), closes [#5](https://github.com/mattlewis92/angular-draggable-droppable/issues/5)
|
564 |
|
565 | ### Features
|
566 |
|
567 | * **draggable:** auto change the cursor to the move icon on hover ([50d1962](https://github.com/mattlewis92/angular-draggable-droppable/commit/50d1962)), closes [#9](https://github.com/mattlewis92/angular-draggable-droppable/issues/9)
|
568 | * **snapGrid:** rename to dragSnapGrid ([a77d07a](https://github.com/mattlewis92/angular-draggable-droppable/commit/a77d07a)), closes [#7](https://github.com/mattlewis92/angular-draggable-droppable/issues/7)
|
569 | * **validateDrag:** add the validate drag input ([9e5ac95](https://github.com/mattlewis92/angular-draggable-droppable/commit/9e5ac95)), closes [#8](https://github.com/mattlewis92/angular-draggable-droppable/issues/8)
|
570 |
|
571 | ### BREAKING CHANGES
|
572 |
|
573 | * droppable: the drag enter, leave and drop events will not fire until cursor is inside the droppable element. This is to mimic how native drag and drop works
|
574 | * snapGrid: The snapGrid input has been renamed to dragSnapGrid
|
575 |
|
576 | <a name="0.1.1"></a>
|
577 |
|
578 | ## [0.1.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.1.0...v0.1.1) (2016-12-09)
|
579 |
|
580 | ### Bug Fixes
|
581 |
|
582 | * **draggable:** disable pointer events on the element when dragging ([f29b424](https://github.com/mattlewis92/angular-draggable-droppable/commit/f29b424))
|
583 |
|
584 | <a name="0.1.0"></a>
|
585 |
|
586 | # 0.1.0 (2016-11-27)
|
587 |
|
588 | ### Bug Fixes
|
589 |
|
590 | * **draggable:** dispose of observables when the component is destroyed ([710c7f7](https://github.com/mattlewis92/angular-draggable-droppable/commit/710c7f7))
|
591 | * prevent the default move move interaction on dragging ([d2fdcde](https://github.com/mattlewis92/angular-draggable-droppable/commit/d2fdcde))
|
592 |
|
593 | ### Features
|
594 |
|
595 | * **dragAxix:** allow the drag axis to be locked to just x and y ([38fd4b5](https://github.com/mattlewis92/angular-draggable-droppable/commit/38fd4b5)), closes [#2](https://github.com/mattlewis92/angular-draggable-droppable/issues/2)
|
596 | * **draggable:** add mwlDraggable directive ([c6771eb](https://github.com/mattlewis92/angular-draggable-droppable/commit/c6771eb))
|
597 | * **droppable:** add the mwlDroppable directive ([6016f12](https://github.com/mattlewis92/angular-draggable-droppable/commit/6016f12)), closes [#1](https://github.com/mattlewis92/angular-draggable-droppable/issues/1)
|
598 | * **ghostDragEnabled:** add option to disable the ghost dragging effect ([709327c](https://github.com/mattlewis92/angular-draggable-droppable/commit/709327c)), closes [#3](https://github.com/mattlewis92/angular-draggable-droppable/issues/3)
|
599 | * **snapGrid:** implement draggable snap grids ([16a3df8](https://github.com/mattlewis92/angular-draggable-droppable/commit/16a3df8)), closes [#4](https://github.com/mattlewis92/angular-draggable-droppable/issues/4)
|