UNPKG

angular-draggable-droppable

Version:
600 lines (311 loc) 29.8 kB
# Changelog 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. ## [8.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v7.0.0...v8.0.0) (2022-12-11) ### ⚠ BREAKING CHANGES * angular 15 or higher is now required to use this package ### build * upgrade to angular 15 ([87c556b](https://github.com/mattlewis92/angular-draggable-droppable/commit/87c556b6de06a7777e17f3cd05750640f5fc9e2d)) ## [7.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v6.1.0...v7.0.0) (2022-08-02) ### ⚠ BREAKING CHANGES * angular 14 or higher is now required to use this package ### build * upgrade to angular 14 ([cc52856](https://github.com/mattlewis92/angular-draggable-droppable/commit/cc5285603afd2a31546056d82ef52fcca486a983)) ## [6.1.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v6.0.1...v6.1.0) (2022-04-19) ### Features * **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)) ### [6.0.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v6.0.0...v6.0.1) (2022-04-12) ## [6.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v5.0.0...v6.0.0) (2021-12-11) ### ⚠ BREAKING CHANGES * angular 12 or higher is now required to use this package ### Features * publish package in ivy partial compilation mode ([2c37cc9](https://github.com/mattlewis92/angular-draggable-droppable/commit/2c37cc96fd62008eb6c3e8bcbc05df5c8422c176)) ## [5.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.6.0...v5.0.0) (2021-08-30) ### ⚠ BREAKING CHANGES * The `activeLongPressDrag` and `longPressConfig` inputs have been removed on the `mwlDraggableScrollContainer` directive. To migrate use `[touchStartLongPress]="{delay: 300, delta: 30}"` on the `mwlDraggable` element instead. * 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 * angular 10 or higher is now required to use this package ### Features * remove deprecated inputs on mwlDraggableScrollContainer directive ([2766f33](https://github.com/mattlewis92/angular-draggable-droppable/commit/2766f33dd9d3c0df0c0eddc3dc7706ef41387ce8)) ### build * don't bundle @mattlewis92/dom-autoscroller anymore ([3c41375](https://github.com/mattlewis92/angular-draggable-droppable/commit/3c41375e998f7aff6d80f4243f2044b348e8fb14)) * upgrade to angular 10 ([907f637](https://github.com/mattlewis92/angular-draggable-droppable/commit/907f637d2684b4d5299893b68acc9a55e0e0bc13)) ## [4.6.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.6...v4.6.0) (2020-12-28) ### Features * 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)) ### [4.5.6](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.5...v4.5.6) (2020-10-22) ### Bug Fixes * prevent error on drag end ([4a6bdbb](https://github.com/mattlewis92/angular-draggable-droppable/commit/4a6bdbba53c0252b56eff4b5918605e3f5c07bf6)) ### [4.5.5](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.4...v4.5.5) (2020-10-20) ### Bug Fixes * ensure dragging output is never called unless dragging an item ([1661d72](https://github.com/mattlewis92/angular-draggable-droppable/commit/1661d726066674325486ff2534fa11e6eb733b32)) ### [4.5.4](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.3...v4.5.4) (2020-09-12) ### Bug Fixes * upgrade dom auto scroller library to prevent commonjs warnings ([3f079fe](https://github.com/mattlewis92/angular-draggable-droppable/commit/3f079fec81e29ce4fa1a43b8803bd9c133fccdd7)) ### [4.5.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.2...v4.5.3) (2020-07-09) ### [4.5.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.1...v4.5.2) (2020-07-09) ### [4.5.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.5.0...v4.5.1) (2020-06-19) ## [4.5.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.6...v4.5.0) (2020-06-17) ### Features * allow auto scroll options to be configured ([46892ac](https://github.com/mattlewis92/angular-draggable-droppable/commit/46892aca0ba321a5db927c36022811da3256ca63)) ### [4.4.6](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.5...v4.4.6) (2020-05-29) ### Bug Fixes * **umd:** use correct sourcemaps in umd bundle ([30cfca3](https://github.com/mattlewis92/angular-draggable-droppable/commit/30cfca3eb96944bf0fec0795a412349efc278301)) ### [4.4.5](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.4...v4.4.5) (2020-05-22) ### Bug Fixes * allow any angular version above 6 ([2aff5f0](https://github.com/mattlewis92/angular-draggable-droppable/commit/2aff5f0dfef05d3c0f8d7cb1c58c1cc6a5ed5ef2)) ### [4.4.4](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.3...v4.4.4) (2020-04-19) ### Bug Fixes * always disable document scroll when dragging ([7276cab](https://github.com/mattlewis92/angular-draggable-droppable/commit/7276caba3c2a06d61f359f2acd643d937d1f41a9)) ### [4.4.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.2...v4.4.3) (2020-04-19) ### Bug Fixes * disable text selection in safari ([d044523](https://github.com/mattlewis92/angular-draggable-droppable/commit/d044523d6324839f13434eab274fdf119c6a1580)) ### [4.4.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.4.0...v4.4.2) (2020-04-19) ### Bug Fixes * only enable long press drag delay if inside a scrollable element ([0a30e09](https://github.com/mattlewis92/angular-draggable-droppable/commit/0a30e09ce2e69be88b2a426aa64ae3ffabe16dde)) * remove scroll glitch on touch devices when dragging ([fe9bd5e](https://github.com/mattlewis92/angular-draggable-droppable/commit/fe9bd5ec6d7338bdb3fee96295c2aad48d90ab1d)) ## [4.4.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.12...v4.4.0) (2020-04-18) ### Features * allow setting drag start delay on touch devices ([c9b28a5](https://github.com/mattlewis92/angular-draggable-droppable/commit/c9b28a59e1f8f822226e2b72d2ee7e034f9c7c71)) ### Bug Fixes * disable text selection when dragging on ios safari ([ca83a33](https://github.com/mattlewis92/angular-draggable-droppable/commit/ca83a33b7b8e370e5707f0fb21784fa592237e73)) ### [4.3.12](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.11...v4.3.12) (2020-04-12) ### Bug Fixes * remove need for server side rendering hacks ([7c96113](https://github.com/mattlewis92/angular-draggable-droppable/commit/7c96113)) ### [4.3.11](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.10...v4.3.11) (2020-04-12) ### Bug Fixes * allow multiple dragActiveClass ([60844ec](https://github.com/mattlewis92/angular-draggable-droppable/commit/60844ec)) * support multiple drag over and drag active classes ([ad50f0e](https://github.com/mattlewis92/angular-draggable-droppable/commit/ad50f0e)) ### [4.3.10](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.9...v4.3.10) (2020-03-01) ### [4.3.9](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.8...v4.3.9) (2020-03-01) ### Bug Fixes * only allow dragging when using a left click ([d3eecde](https://github.com/mattlewis92/angular-draggable-droppable/commit/d3eecde)) ### [4.3.8](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.7...v4.3.8) (2019-10-18) ### [4.3.7](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.6...v4.3.7) (2019-10-11) ### Bug Fixes * revert change to ghost element positioning ([e0128e5](https://github.com/mattlewis92/angular-draggable-droppable/commit/e0128e5)) ### [4.3.6](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.5...v4.3.6) (2019-10-11) ### [4.3.5](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.4...v4.3.5) (2019-10-08) ### [4.3.4](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.3...v4.3.4) (2019-10-08) ### Bug Fixes * 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) ### [4.3.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.2...v4.3.3) (2019-10-07) ### Bug Fixes * allow angular 9 peer dependency ([cb7cf2e](https://github.com/mattlewis92/angular-draggable-droppable/commit/cb7cf2e)) <a name="4.3.2"></a> ## [4.3.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.1...v4.3.2) (2019-06-26) ### Bug Fixes * restore compatibility with stackblitz ([ee94dc5](https://github.com/mattlewis92/angular-draggable-droppable/commit/ee94dc5)) <a name="4.3.1"></a> ## [4.3.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.3.0...v4.3.1) (2019-06-05) ### Bug Fixes * restore compatibility with angular universal ([7fbaa2a](https://github.com/mattlewis92/angular-draggable-droppable/commit/7fbaa2a)) <a name="4.3.0"></a> # [4.3.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.2.0...v4.3.0) (2019-04-21) ### Bug Fixes * expose ValidateDrag type ([32f4ce3](https://github.com/mattlewis92/angular-draggable-droppable/commit/32f4ce3)) ### Features * expose css transform on validate drag function ([3c5c5b9](https://github.com/mattlewis92/angular-draggable-droppable/commit/3c5c5b9)) * support auto scrolling when dragging ([78bdeb5](https://github.com/mattlewis92/angular-draggable-droppable/commit/78bdeb5)) <a name="4.2.0"></a> # [4.2.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.1.0...v4.2.0) (2019-03-17) ### Features * 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) <a name="4.1.0"></a> # [4.1.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.0.2...v4.1.0) (2019-02-17) ### Bug Fixes * allow angular 8 peer dependency ([f936805](https://github.com/mattlewis92/angular-draggable-droppable/commit/f936805)) ### Features * **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) <a name="4.0.2"></a> ## [4.0.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.0.1...v4.0.2) (2018-09-18) ### Bug Fixes * include readme and licence in npm ([cfff617](https://github.com/mattlewis92/angular-draggable-droppable/commit/cfff617)) <a name="4.0.1"></a> ## [4.0.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v4.0.0...v4.0.1) (2018-09-01) ### Bug Fixes * 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) <a name="4.0.0"></a> # [4.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v3.0.1...v4.0.0) (2018-08-29) ### Bug Fixes * account for the window being scrolled whilst dragging ([566bf78](https://github.com/mattlewis92/angular-draggable-droppable/commit/566bf78)) * 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) * 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) * append the ghost element to the body ([4f23661](https://github.com/mattlewis92/angular-draggable-droppable/commit/4f23661)) * bump up z-index of element being dragged ([9d0f754](https://github.com/mattlewis92/angular-draggable-droppable/commit/9d0f754)) * 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)) * 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) * maintain old ghost element behaviour by default ([cf1bc61](https://github.com/mattlewis92/angular-draggable-droppable/commit/cf1bc61)) * preserve original element styles after dragging ([f36ed2d](https://github.com/mattlewis92/angular-draggable-droppable/commit/f36ed2d)) * remove automatic pointer-events:none on dragged element ([bfe9bb4](https://github.com/mattlewis92/angular-draggable-droppable/commit/bfe9bb4)) * remove margin on the ghost element ([06396e6](https://github.com/mattlewis92/angular-draggable-droppable/commit/06396e6)) * remove the drag helper provider from the public api ([48d4fe6](https://github.com/mattlewis92/angular-draggable-droppable/commit/48d4fe6)) * round snap grids so dragging from each side is even ([fa8434b](https://github.com/mattlewis92/angular-draggable-droppable/commit/fa8434b)) * set dimensions and z-index on ghost element ([9b5a6b0](https://github.com/mattlewis92/angular-draggable-droppable/commit/9b5a6b0)) * **dragCursor:** don't default the drag cursor to `move` ([0a95ac7](https://github.com/mattlewis92/angular-draggable-droppable/commit/0a95ac7)) * **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) * **droppable:** dont throw when immediately destroying the directive ([dd3e89e](https://github.com/mattlewis92/angular-draggable-droppable/commit/dd3e89e)) ### Features * **dragActiveClass:** add class when dragging element ([ee1d06c](https://github.com/mattlewis92/angular-draggable-droppable/commit/ee1d06c)) * **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) * **draggable:** add option to show the original element while dragging ([d010733](https://github.com/mattlewis92/angular-draggable-droppable/commit/d010733)) * **dragOverClass:** add a class when an element is dragged over it ([76852bc](https://github.com/mattlewis92/angular-draggable-droppable/commit/76852bc)) * **droppable:** add css class when any element is being dragged ([5995f81](https://github.com/mattlewis92/angular-draggable-droppable/commit/5995f81)) * add a way of setting the scroll container if not the window ([9831d36](https://github.com/mattlewis92/angular-draggable-droppable/commit/9831d36)) * **ghostElementAppendTo:** allow the ghost element parent to be customised ([f51214e](https://github.com/mattlewis92/angular-draggable-droppable/commit/f51214e)) * **ghostElementCreated:** emit new event after the ghost element is created ([22530b9](https://github.com/mattlewis92/angular-draggable-droppable/commit/22530b9)) * **ghostElementTemplate:** allow changing the ghost element contents ([ecc96ec](https://github.com/mattlewis92/angular-draggable-droppable/commit/ecc96ec)) * expose interfaces for all events ([c174023](https://github.com/mattlewis92/angular-draggable-droppable/commit/c174023)) * remove the DragAndDropModule.forRoot method ([5ae52a7](https://github.com/mattlewis92/angular-draggable-droppable/commit/5ae52a7)) ### Performance Improvements * deregister scroll listener once drag complete ([7e50d74](https://github.com/mattlewis92/angular-draggable-droppable/commit/7e50d74)) * only recalculate the bounding rectangle once after scrolling ([d72e16b](https://github.com/mattlewis92/angular-draggable-droppable/commit/d72e16b)) * only recompute draggable position on window scroll ([f6a5cde](https://github.com/mattlewis92/angular-draggable-droppable/commit/f6a5cde)) ### BREAKING CHANGES * The `DragAndDropModule.forRoot` method was removed. To migrate just import the `DragAndDropModule` module directly * the drag helper provider is now no longer exported as part of the public api, just remove it from your code to migrate * A cloned element is now created when the element is being dragged, and the dragged element is set to be positioned fixed. This may break some apps in some edge cases. * The `dragStart` `$event.x` and `$event.y` values were removed as these were always `0` * `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 * **dragCursor:** The drag cursor will no longer be set to `move` by default, to restore the behaviour set `dragCursor="move"` or use CSS on the draggable elements to change the cursor <a name="3.0.1"></a> ## [3.0.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v3.0.0...v3.0.1) (2018-06-05) ### Bug Fixes * **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) <a name="3.0.0"></a> # [3.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v2.0.0...v3.0.0) (2018-05-09) ### Features * 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) ### BREAKING CHANGES * angular 6 and rxjs 6 or higher are now required to use this package <a name="2.0.0"></a> # [2.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.1.1...v2.0.0) (2017-12-26) ### Bug Fixes * 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) ### Features * upgrade to angular 5 ([4159ce2](https://github.com/mattlewis92/angular-draggable-droppable/commit/4159ce2)) * use lettable rxjs operators ([9fca12a](https://github.com/mattlewis92/angular-draggable-droppable/commit/9fca12a)) * use ng-packagr for building the package ([57dd436](https://github.com/mattlewis92/angular-draggable-droppable/commit/57dd436)) * **dragPointerDown:** add a new output to repliate the old dragStart behaviour ([4a58c61](https://github.com/mattlewis92/angular-draggable-droppable/commit/4a58c61)) ### BREAKING CHANGES * The UMD module path has changed from `angular-draggable-droppable/dist/umd/angular-draggable-droppable.js` to `angular-draggable-droppable/bundles/angular-draggable-droppable.umd.js`. System.js users will need to update their config. * rxjs operators will now no longer be added to the observable prototype. Also rxjs > = 5.5.x or higher is required * Angular 5 or higher is now required to use this package * drag start and end events are now only called when the element is actually dragged, use regular mousedown and mouseup events to get the old behaviour <a name="1.1.1"></a> ## [1.1.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.1.0...v1.1.1) (2017-10-21) ### Bug Fixes * allow angular 5 peer dependency ([1265bee](https://github.com/mattlewis92/angular-draggable-droppable/commit/1265bee)) <a name="1.1.0"></a> # [1.1.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.0.2...v1.1.0) (2017-09-22) ### Features * **draggable:** allow the draggable cursor to be customised ([897b3fe](https://github.com/mattlewis92/angular-draggable-droppable/commit/897b3fe)) <a name="1.0.2"></a> ## [1.0.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.0.1...v1.0.2) (2017-09-18) ### Bug Fixes * **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) <a name="1.0.1"></a> ## [1.0.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v1.0.0...v1.0.1) (2017-04-14) ### Bug Fixes * **draggable:** prevent text from being highlighted in firefox ([7d859c1](https://github.com/mattlewis92/angular-draggable-droppable/commit/7d859c1)) <a name="1.0.0"></a> # [1.0.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.6.0...v1.0.0) (2017-03-24) ### Features * **ng4:** upgrade to angular 4 ([42631bc](https://github.com/mattlewis92/angular-draggable-droppable/commit/42631bc)) ### BREAKING CHANGES * **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 <a name="0.6.0"></a> # [0.6.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.4...v0.6.0) (2017-03-23) ### Features * **draggable:** make dragging work on touch devices ([dc0f863](https://github.com/mattlewis92/angular-draggable-droppable/commit/dc0f863)) <a name="0.5.4"></a> ## [0.5.4](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.3...v0.5.4) (2017-03-04) ### Performance Improvements * **draggable:** lazily create all mouse event listeners ([3c99d40](https://github.com/mattlewis92/angular-draggable-droppable/commit/3c99d40)) <a name="0.5.3"></a> ## [0.5.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.2...v0.5.3) (2017-03-04) ### Bug Fixes * move dependencies to dev ([17a2ccc](https://github.com/mattlewis92/angular-draggable-droppable/commit/17a2ccc)) <a name="0.5.2"></a> ## [0.5.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.1...v0.5.2) (2017-03-04) ### Bug Fixes * loosen peer dependency to allow angular 4 ([bcc9080](https://github.com/mattlewis92/angular-draggable-droppable/commit/bcc9080)) ### Performance Improvements * **draggable:** lazily create the mouse move listener ([bebd925](https://github.com/mattlewis92/angular-draggable-droppable/commit/bebd925)) * run all event listeners outside of angulars zone ([d7c9256](https://github.com/mattlewis92/angular-draggable-droppable/commit/d7c9256)) <a name="0.5.1"></a> ## [0.5.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.5.0...v0.5.1) (2017-01-06) ### Bug Fixes * **draggable:** allow draggable events to be clicked ([44ea67e](https://github.com/mattlewis92/angular-draggable-droppable/commit/44ea67e)) <a name="0.5.0"></a> # [0.5.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.4.0...v0.5.0) (2016-12-21) ### Features * **dragAndDropModule:** add forRoot method ([00f6989](https://github.com/mattlewis92/angular-draggable-droppable/commit/00f6989)) ### BREAKING CHANGES * dragAndDropModule: You must now import the DragAndDropModule with the forRoot method <a name="0.4.0"></a> # [0.4.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.3.1...v0.4.0) (2016-12-18) ### Features * **draggable:** remove the dragContainer option ([5aca67d](https://github.com/mattlewis92/angular-draggable-droppable/commit/5aca67d)) ### BREAKING CHANGES * draggable: the dragContainer option has been removed as it didn't work in all cases and can be implemented yourself with the validateDrag option <a name="0.3.1"></a> ## [0.3.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.3.0...v0.3.1) (2016-12-18) ### Bug Fixes * **draggable:** make the dragEnd output respect the validateDrag input ([26cfa7e](https://github.com/mattlewis92/angular-draggable-droppable/commit/26cfa7e)) <a name="0.3.0"></a> # [0.3.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.2.3...v0.3.0) (2016-12-12) ### Features * **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) <a name="0.2.3"></a> ## [0.2.3](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.2.2...v0.2.3) (2016-12-11) ### Bug Fixes * **draggable:** allow events to be dragged back into their original positions ([7831903](https://github.com/mattlewis92/angular-draggable-droppable/commit/7831903)) <a name="0.2.2"></a> ## [0.2.2](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.2.1...v0.2.2) (2016-12-11) ### Bug Fixes * **draggable:** only emit the dragEnd event once ([52e9a22](https://github.com/mattlewis92/angular-draggable-droppable/commit/52e9a22)) <a name="0.2.1"></a> ## [0.2.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.2.0...v0.2.1) (2016-12-10) ### Bug Fixes * revert duplicate dragging fix as it caused worse errors ([7476301](https://github.com/mattlewis92/angular-draggable-droppable/commit/7476301)) <a name="0.2.0"></a> # [0.2.0](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.1.1...v0.2.0) (2016-12-10) ### Bug Fixes * completely remove applied styled after dragging ([3445337](https://github.com/mattlewis92/angular-draggable-droppable/commit/3445337)) * **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) * **draggable:** when dragging is disabled, no drag events should be emitted ([729f24e](https://github.com/mattlewis92/angular-draggable-droppable/commit/729f24e)) * **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) ### Features * **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) * **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) * **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) ### BREAKING CHANGES * 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 * snapGrid: The snapGrid input has been renamed to dragSnapGrid <a name="0.1.1"></a> ## [0.1.1](https://github.com/mattlewis92/angular-draggable-droppable/compare/v0.1.0...v0.1.1) (2016-12-09) ### Bug Fixes * **draggable:** disable pointer events on the element when dragging ([f29b424](https://github.com/mattlewis92/angular-draggable-droppable/commit/f29b424)) <a name="0.1.0"></a> # 0.1.0 (2016-11-27) ### Bug Fixes * **draggable:** dispose of observables when the component is destroyed ([710c7f7](https://github.com/mattlewis92/angular-draggable-droppable/commit/710c7f7)) * prevent the default move move interaction on dragging ([d2fdcde](https://github.com/mattlewis92/angular-draggable-droppable/commit/d2fdcde)) ### Features * **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) * **draggable:** add mwlDraggable directive ([c6771eb](https://github.com/mattlewis92/angular-draggable-droppable/commit/c6771eb)) * **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) * **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) * **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)