UNPKG

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