Skip to content

Commit

Permalink
Merge pull request #395 from bahung1221/master
Browse files Browse the repository at this point in the history
v1.0.0-beta.10 and update CHANGELOG
  • Loading branch information
tsov authored Jun 18, 2020
2 parents 933fbf0 + 7174193 commit c533811
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v1.0.0-beta.10 - 2020-06-18

### Added

* Added `SortAnimation` plugin
* Added `distance?: number` to DraggableOptions TS interface

### Changed

* Fix mirror dimensions when `constrainDimensions` is active and not using fixed item width

## v1.0.0-beta.9 - 2019-08-26

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/draggable",
"version": "1.0.0-beta.9",
"version": "1.0.0-beta.10",
"private": false,
"license": "MIT",
"description": "The JavaScript Drag & Drop library your grandparents warned you about.",
Expand Down
4 changes: 2 additions & 2 deletions src/Plugins/SortAnimation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ The sort animation plugin currently only works with `Sortable`. It adds sort ani
and animates all sorted elements via `translate3d`. It is currently possible to change the duration and
the easing function of the animation.

It different with (SwapAnimation)[https://github.com/Shopify/draggable/tree/master/src/Plugins/SwapAnimation] plugin because SwapAnimation only support horizontal or vertical layout.
It different with [SwapAnimation](https://github.com/Shopify/draggable/tree/master/src/Plugins/SwapAnimation) plugin because SwapAnimation only support horizontal or vertical layout.

This plugin is not included by default, so make sure to import it before using.

**NOTE**: Don't use this plugin with (SwapAnimation)[https://github.com/Shopify/draggable/tree/master/src/Plugins/SwapAnimation] plugin to avoid conflict.
**NOTE**: Don't use this plugin with [SwapAnimation](https://github.com/Shopify/draggable/tree/master/src/Plugins/SwapAnimation) plugin to avoid conflict.

### Import

Expand Down

0 comments on commit c533811

Please sign in to comment.