Releases: ThibaultJanBeyer/DragSelect
Releases · ThibaultJanBeyer/DragSelect
Version 3.1.1
3.1.1
- Fix for #231 where the Area would alert everyone on any update, but we actually only care about certain position values
Version 3.1.0
- Add
useLayers
option to enable/disable thez-index
manipulation on drag/select of nodes. Thanks to @digitalclubb for the contributing PR #234
Version 3.0.7
- Fix an issue with scrolling bottom if there is no area defined and the document.element is used
Version 3.0.6
Expose the Drag class publicly, solves #224
Version 3.0.5
- Fix type issue during build bug #212
Full Changelog: v3.0.4...v3.0.5
Version 3.0.4
Version 3.0.3
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
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
- Fix typing issues #175 thanks @Ruslan207
Version 2.7.2
- 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.