From 9b8c4dc97afdb841ca2b19d7d0f0fe4f038a772c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguye=CC=82=CC=83n=20Ba=CC=81=20Hu=CC=9Bng?= Date: Tue, 29 Sep 2020 00:29:24 +0700 Subject: [PATCH] v1.0.0-beta.12 --- CHANGELOG.md | 14 ++++++++++++++ README.md | 16 ++++++++-------- package.json | 2 +- src/Draggable/README.md | 4 ++-- src/Droppable/README.md | 4 ++-- src/Plugins/Collidable/README.md | 6 +++--- src/Plugins/ResizeMirror/README.md | 6 +++--- src/Plugins/Snappable/README.md | 6 +++--- src/Plugins/SortAnimation/README.md | 6 +++--- src/Plugins/SwapAnimation/README.md | 6 +++--- src/Sortable/README.md | 4 ++-- src/Swappable/README.md | 4 ++-- 12 files changed, 46 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2d4cf19..2cd86197 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## v1.0.0-beta.12 - 2020-09-29 + +### Added + +- Added `drag:stopped` event that will be fired after drag finished +- Support specifying an array of class name to Draggable `classes` option + +### Changed + +- Fixes incorrect `oldIndex` value when working with **nested sortable** +- Fixes wrong same container checking bug when working with **nested sortable** +- Fixes bug `drag:start` event was triggered during the delay time +- Fixes missing `overContainer` property in **DragOutEvent** + ## v1.0.0-beta.11 - 2020-07-14 ### Added diff --git a/README.md b/README.md index 2631cc15..952e1a96 100644 --- a/README.md +++ b/README.md @@ -57,19 +57,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.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`. +We are currently working on `v1.0.0-beta.12`. 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.12`. ## Related resources diff --git a/package.json b/package.json index a9bf3fdf..efb37033 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/draggable", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "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 44a1da2f..3c900372 100644 --- a/src/Draggable/README.md +++ b/src/Draggable/README.md @@ -15,7 +15,7 @@ const draggable = new Draggable(document.querySelectorAll('ul'), { - Browser (All Bundle): ```html - + + + + + - + + + - + + + - + + + - + + + - + + + + + +