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 - + + + + + - + + + - + + + - + + + - + + + - + + + + + +