From 68fe3f7c4feefe78e40c95c555fde9d08474b50c Mon Sep 17 00:00:00 2001 From: JuFeng Zhang Date: Tue, 14 Jul 2020 22:02:13 +0800 Subject: [PATCH] update to v1.0.0-beta.11 --- CHANGELOG.md | 28 +++++++++++++++++++++------- README.md | 16 ++++++++-------- package.json | 2 +- src/Draggable/README.md | 4 ++-- src/Droppable/README.md | 4 ++-- src/Plugins/Collidable/README.md | 4 ++-- src/Plugins/ResizeMirror/README.md | 4 ++-- src/Plugins/Snappable/README.md | 4 ++-- src/Plugins/SortAnimation/README.md | 4 ++-- src/Plugins/SwapAnimation/README.md | 4 ++-- src/Sortable/README.md | 4 ++-- src/Swappable/README.md | 4 ++-- 12 files changed, 48 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c8558a..c2d4cf1 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 1a3fdb2..af28bd5 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 4edec97..e46fa0c 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 0cebc94..486b455 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 56cc45a..6b78a6a 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 947e652..ad4edb3 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 5e0c573..eb76cec 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 f2ef80d..14f81c7 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 7a8ff88..f24278e 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 88c3220..b2835f8 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 817d6f8..64e2645 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 26f0acd..95aa272 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