Skip to content

Releases: ThibaultJanBeyer/DragSelect

Version 3.1.0

17 Sep 12:48
6dcfe99
Compare
Choose a tag to compare
  • Add useLayers option to enable/disable the z-index manipulation on drag/select of nodes. Thanks to @digitalclubb for the contributing PR #234

Version 3.0.7

14 Jul 16:40
a3e73ab
Compare
Choose a tag to compare
  • Fix an issue with scrolling bottom if there is no area defined and the document.element is used

Version 3.0.6

14 Jul 13:53
e9aa31f
Compare
Choose a tag to compare

Expose the Drag class publicly, solves #224

Version 3.0.5

27 Feb 09:02
9462762
Compare
Choose a tag to compare
  • Fix type issue during build bug #212

Full Changelog: v3.0.4...v3.0.5

Version 3.0.4

18 Oct 18:33
78cdc78
Compare
Choose a tag to compare

Version 3.0.3

25 Sep 11:11
5bcb543
Compare
Choose a tag to compare

Breaking Updates

Moving the project to typescript

  • Enable complex typings
  • Removes typing issues from the past

New license model

  • Free to everything for non-commercial, paid for commercial projects
  • Fees will be split with contributors
  • Enables faster development cycles
  • Keeps the lights on
  • Attract talent to collaborate

Callbacks Refactor

"elementselect" => "DS:select",
"elementunselect" => "DS:unselect",
"autoscroll" => "DS:scroll",
"dragstart" => "DS:start",
"dragmove" => "DS:update",
"callback" => "DS:end",
"preelementselect" => "DS:select:pre",
"preelementunselect" => "DS:unselect:pre",
"preautoscroll" => "DS:scroll:pre",
"predragstart" => "DS:start:pre",
"predragmove" => "DS:update:pre",
"precallback" => "DS:end:pre",
  • New callbacks:
"DS:added:pre"
"DS:added"
"DS:removed:pre"
"DS:removed"

Box-Dragging as new default

  • This is the default expected behaviour, hence if should be the default

Binary files restructure

  • Renamed .es6m to .esm because that makes more sense
  • Release only /dist folder for a small package size (previously also packaged the src folder for curious people, BUT they can also just come check out the code on github imo.

Removing self-hosted versions

  • This was just bad practice from ancient times

Extras (non-breaking)

  • Previous setting dragAsBlock is the default behavior.
  • Add an over-writeable method to filter the elements that are supposed to be dragged .filterDragElements Override inspired by #158
  • Fix persistance of removeSelectables as of 148 note however, that the items are still in the settings, thus will be re-added when manually running .start()
  • Add keyboard drop-zoning solving 149
  • Fix key stroke bug #181

Version 3.0.0

25 Sep 10:41
7a7257f
Compare
Choose a tag to compare

Breaking Updates

Moving the project to typescript

  • Enable complex typings
  • Removes typing issues from the past

New license model

  • Free to everything for non-commercial, paid for commercial projects
  • Fees will be split with contributors
  • Enables faster development cycles
  • Keeps the lights on
  • Attract talent to collaborate

Callbacks Refactor

"elementselect" => "DS:select",
"elementunselect" => "DS:unselect",
"autoscroll" => "DS:scroll",
"dragstart" => "DS:start",
"dragmove" => "DS:update",
"callback" => "DS:end",
"preelementselect" => "DS:select:pre",
"preelementunselect" => "DS:unselect:pre",
"preautoscroll" => "DS:scroll:pre",
"predragstart" => "DS:start:pre",
"predragmove" => "DS:update:pre",
"precallback" => "DS:end:pre",
  • New callbacks:
"DS:added:pre"
"DS:added"
"DS:removed:pre"
"DS:removed"

Box-Dragging as new default

  • This is the default expected behaviour, hence if should be the default

Removing self-hosted versions

  • This was just bad practice from ancient times

Extras (non-breaking)

  • Previous setting dragAsBlock is the default behavior.
  • Add an over-writeable method to filter the elements that are supposed to be dragged .filterDragElements Override inspired by #158
  • Fix persistance of removeSelectables as of 148 note however, that the items are still in the settings, thus will be re-added when manually running .start()
  • Add keyboard drop-zoning solving 149
  • Fix key stroke bug #181

Version 2.7.4

21 Apr 13:58
6735c63
Compare
Choose a tag to compare

Version 2.7.2

05 Mar 13:10
9603b2d
Compare
Choose a tag to compare
  • Add readme to npmjs
  • Fix bug #170 where area position was not updated after a start when the area was the document itself and there was a timeout.

Version 2.7.0

05 Mar 09:54
0d9b246
Compare
Choose a tag to compare
  • Introduce blog-drag as alpha. It is supposed to fix dragging of multiple elements: dragging them as one block keeping aspect ratio positions on drag-scroll. Instead of moving elements individually. This was considered a bug. However as it is not fully tested it comes under a flag, please turn it on by setting dragAsBlock: true and report any issue you find here. Thanks to @rendertom for the addition #162.

Note: this feature will be turned on by default in a future release once proper testing and all bugs are fixed