diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c8558ad..c2d4cf19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,27 +1,41 @@ # Changelog +## v1.0.0-beta.11 - 2020-07-14 + +### Added + +- Added `exclude` option to allow disable default plugins and sensors +- Added missing plugin types +- Support set the type of callback function according to the event type + +### Changed + +- Fixes drag start concurrency (`delay` and `distance` options) +- Fixes text in mirror blurry +- Fixes accidently append mirror + ## v1.0.0-beta.10 - 2020-06-18 ### Added -* Added `SortAnimation` plugin -* Added `distance?: number` to DraggableOptions TS interface +- Added `SortAnimation` plugin +- Added `distance?: number` to DraggableOptions TS interface ### Changed -* Fix mirror dimensions when `constrainDimensions` is active and not using fixed item width +- Fix mirror dimensions when `constrainDimensions` is active and not using fixed item width ## v1.0.0-beta.9 - 2019-08-26 ### Added -* Added `distance` option -* Added `thresholdX` and `thresholdY` mirror options +- Added `distance` option +- Added `thresholdX` and `thresholdY` mirror options ### Changed -* Fixes preventing of contextmenu in MouseSensor -* Fixes SortableEvent `over` and `overContainer` giving incorrect properties +- Fixes preventing of contextmenu in MouseSensor +- Fixes SortableEvent `over` and `overContainer` giving incorrect properties ## v1.0.0-beta.8 - 2018-09-07 diff --git a/README.md b/README.md index 1a3fdb2a..af28bd5b 100644 --- a/README.md +++ b/README.md @@ -63,19 +63,19 @@ or via CDN ```html - + - + - + - + - + - + - + ``` ## Browser Compatibility @@ -151,7 +151,7 @@ For more information, please checkout the [contributing document](https://github ## Roadmap -We are currently working on `v1.0.0-beta.8`. Check out the [project board](https://github.com/Shopify/draggable/projects/3) to see tasks and follow progress on the release. Any Pull Requests should be pointed against the feature branch `v1.0.0-beta.8`. +We are currently working on `v1.0.0-beta.11`. Check out the [project board](https://github.com/Shopify/draggable/projects/3) to see tasks and follow progress on the release. Any Pull Requests should be pointed against the feature branch `v1.0.0-beta.11`. ## Related resources diff --git a/package.json b/package.json index 4edec976..e46fa0c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/draggable", - "version": "1.0.0-beta.10", + "version": "1.0.0-beta.11", "private": false, "license": "MIT", "description": "The JavaScript Drag & Drop library your grandparents warned you about.", diff --git a/src/Draggable/README.md b/src/Draggable/README.md index 0cebc94b..486b4557 100644 --- a/src/Draggable/README.md +++ b/src/Draggable/README.md @@ -11,11 +11,11 @@ import Draggable from '@shopify/draggable/lib/draggable'; ``` ```html - + ``` ```html - + ``` ### API diff --git a/src/Droppable/README.md b/src/Droppable/README.md index 56cc45ae..6b78a6ab 100644 --- a/src/Droppable/README.md +++ b/src/Droppable/README.md @@ -16,11 +16,11 @@ import Droppable from '@shopify/draggable/lib/droppable'; ``` ```html - + ``` ```html - + ``` ### API diff --git a/src/Plugins/Collidable/README.md b/src/Plugins/Collidable/README.md index 947e652e..ad4edb32 100644 --- a/src/Plugins/Collidable/README.md +++ b/src/Plugins/Collidable/README.md @@ -16,11 +16,11 @@ import Collidable from '@shopify/draggable/lib/plugins/collidable'; ``` ```html - + ``` ```html - + ``` ### Options diff --git a/src/Plugins/ResizeMirror/README.md b/src/Plugins/ResizeMirror/README.md index 5e0c5736..eb76cec0 100644 --- a/src/Plugins/ResizeMirror/README.md +++ b/src/Plugins/ResizeMirror/README.md @@ -22,11 +22,11 @@ import ResizeMirror from '@shopify/draggable/lib/plugins/resize-mirror'; ``` ```html - + ``` ```html - + ``` ### API diff --git a/src/Plugins/Snappable/README.md b/src/Plugins/Snappable/README.md index f2ef80dd..14f81c72 100644 --- a/src/Plugins/Snappable/README.md +++ b/src/Plugins/Snappable/README.md @@ -16,11 +16,11 @@ import Snappable from '@shopify/draggable/lib/plugins/snappable'; ``` ```html - + ``` ```html - + ``` ### Options diff --git a/src/Plugins/SortAnimation/README.md b/src/Plugins/SortAnimation/README.md index 7a8ff88c..f24278e7 100644 --- a/src/Plugins/SortAnimation/README.md +++ b/src/Plugins/SortAnimation/README.md @@ -21,11 +21,11 @@ import SortAnimation from '@shopify/draggable/lib/plugins/sort-animation'; ``` ```html - + ``` ```html - + ``` ### API diff --git a/src/Plugins/SwapAnimation/README.md b/src/Plugins/SwapAnimation/README.md index 88c3220b..b2835f83 100644 --- a/src/Plugins/SwapAnimation/README.md +++ b/src/Plugins/SwapAnimation/README.md @@ -17,11 +17,11 @@ import SwapAnimation from '@shopify/draggable/lib/plugins/swap-animation'; ``` ```html - + ``` ```html - + ``` ### API diff --git a/src/Sortable/README.md b/src/Sortable/README.md index 817d6f85..64e26454 100644 --- a/src/Sortable/README.md +++ b/src/Sortable/README.md @@ -16,11 +16,11 @@ import Sortable from '@shopify/draggable/lib/sortable'; ``` ```html - + ``` ```html - + ``` ### API diff --git a/src/Swappable/README.md b/src/Swappable/README.md index 26f0acd9..95aa2721 100644 --- a/src/Swappable/README.md +++ b/src/Swappable/README.md @@ -14,11 +14,11 @@ import Swappable from '@shopify/draggable/lib/swappable'; ``` ```html - + ``` ```html - + ``` ### API