12 KiB
Changelog
1.2.1
Patch Changes
1.2.0
Minor Changes
1.1.4
Patch Changes
1.1.3
Patch Changes
-
#590
f05efb3Thanks @tsov! - Fixes VSCode search to exclude generated files/folders -
#590
36e61b6Thanks @tsov! - Converts ResizeMirror test to typescript
1.1.2
Patch Changes
-
#579
bb23ff2Thanks @tsov! - Convert CollidableEvent to typescript -
#579
9154a96Thanks @tsov! - Convert SensorEvent to typescript -
#579
74c35e5Thanks @tsov! - Convert SwappableEvent to typescript -
#579
fb5354fThanks @tsov! - Convert SortableEvent to typescript -
#579
7734961Thanks @tsov! - Converts DragEvent tests to typescript -
#579
a0c3c90Thanks @tsov! - Convert DroppableEvent to typescript -
#579
527dcb6Thanks @tsov! - Converts MirrorEvent to typescript -
#579
7219781Thanks @tsov! - Convert SnappableEvent to typescript -
#579
cc42520Thanks @tsov! - Converts DraggableEvent to typescript
1.1.1
Patch Changes
-
#580
873ef2bThanks @tsov! - Removes unused packages dependencies -
#582
762ffbfThanks @tsov! - - Cleans up code comments from build folder- Also resolves absolute paths for ts build declarations
- Renames build files with .cjs and .mjs
1.1.0
Minor Changes
1.0.1
Patch Changes
1.0.0
Patch Changes
- Adds changeset dependency for version management
v1.0.0-beta.13 - 2021-05-17
Added
- Add
mirror:movedevent - Cancel Dragging on ESC key up
Changed
- Fixes add missing exports
DelayOptionsandDelayOptions - Fixes return early when the target isn't in handle or draggable elements sensor
- Fixes the argument type of the
triggermethod
v1.0.0-beta.12 - 2020-09-29
Added
- Added
drag:stoppedevent that will be fired after drag finished - Support specifying an array of class name to Draggable
classesoption
Changed
- Fixes incorrect
oldIndexvalue when working with nested sortable - Fixes wrong same container checking bug when working with nested sortable
- Fixes bug
drag:startevent was triggered during the delay time - Fixes missing
overContainerproperty in DragOutEvent
v1.0.0-beta.11 - 2020-07-14
Added
- Added
excludeoption to allow disable default plugins and sensors - Added missing plugin types
- Support set the type of callback function according to the event type
Changed
- Fixes drag start concurrency (
delayanddistanceoptions) - Fixes text in mirror blurry
- Fixes accidently append mirror
v1.0.0-beta.10 - 2020-06-18
Added
- Added
SortAnimationplugin - Added
distance?: numberto DraggableOptions TS interface
Changed
- Fix mirror dimensions when
constrainDimensionsis active and not using fixed item width
v1.0.0-beta.9 - 2019-08-26
Added
- Added
distanceoption - Added
thresholdXandthresholdYmirror options
Changed
- Fixes preventing of contextmenu in MouseSensor
- Fixes SortableEvent
overandoverContainergiving incorrect properties
v1.0.0-beta.8 - 2018-09-07
Changed
- Announcement plugin to use
textContentinstead ofinnerHTML
v1.0.0-beta.7 - 2018-04-28
Added
- ResizeMirror plugin
Changed
- Fixed native drag events with draggable
- Mouse position bug in scrollable
v1.0.0-beta.6 - 2018-04-04
Added
- Focusable plugin
- Added DroppableStart event for
Droppable - Added DroppableStop event for
Droppable - Added recommended VSCode settings
Changed
- Fixed
addContainer/removeContainerapi - Touch sensor fixes (including iOS 11.3 issues)
- Renames
DroppableOvertoDroppableDropped - Renames
DroppableOuttoDroppableReturned - Fix legacy bundle
- Improved webpack building
- Using
console.errorinstead of throwing error
v1.0.0-beta.5 - 2018-03-02
Added
- Increased Documentation coverage
- Increased Test coverage, including better testing environment
- Increased JSDoc coverage
- Added docblock section to
CONTRIBUTING.md - Added greenkeeper as integration for package dependency management
- Added codecov as integration for tracking test coverage
- Added github template issue
- Added github template PR
- Added yarn scripts for examples
- Added SensorEvent to exports
- Added yarn scripts for esdoc
- Added
Announcementplugin for screen reader support - Added cursor offset option for
Mirrorplugin - Added
scrollableElementsoption toScrollableplugin - Added
snappableElementtoSnapEvent - Added examples to published package
- Added
Emitterclass for event emitting for draggable
Changed
- Changed esdoc config
- Changed node version
8.9.1to8.9.4 - Updated package dependencies
- Updated roadmap section in README
- Changed export statements
- Fixes draggable state after canceling
drag:start - Fixes
constrainDimensionsoption forMirrorplugin - Fixes mirror position with touch devices and
Scrollable AutoScrollplugin has been renamed toScrollable- Fixes scrolling edge cases with
Scrollable - Fixes scrolling offset for touch devices in
Scrollable - Fixes npm install issue
- Fixes
overContainerproperty forDragOutContainerEvent
v1.0.0-beta.4 - 2018-01-15
Added
- Default
Draggableplugins get exposed statically onDraggable.Plugins - Default
Scrollableplugin for Draggable, which auto scrolls containers/viewport while dragging yarn watchtask for auto-building the librarysource:originalclass option for DraggableDraggable#getDraggableElementsForContainermethod, which returns all draggable elements for a given containerMirrorCreateEvent, which allows for canceling mirror creationAbstractPluginto use as Base class for all Draggable plugins- More test coverage
Changed
- Fixed
Sortablesort logic by excluding mirror and original source elements in calculations DraggableappendTooption now uses sources parent element as default, instead ofdocument.bodyDraggableappends over classes after triggering over/out eventsDraggableappends source into empty containers- Mirrors margin gets removed on creation in the mirror plugin
- Fix for mirror when drag start gets canceled
- Fixes memory leak in Draggable when calling
destroy() - Fixes race condition for the
source:placedclass - Changed
AbstractEvent#_canceledto use symbols for private instance variables - Some fixes for the documentation READMEs
v1.0.0-beta.3 - 2017-11-01
Added
- Bundle split, draggable now exports multiple bundles
- Adds JS bundle per module
- Adds legacy bundle for IE11
- Adds axis & dimension constraint options for mirror plugin
- Basic swap animation plugin
- Draggables API is now accessible via inheritance for
Sortable,SwappableandDroppable - Draggables API extended
addSensorto add sensor dynamicallyremoveSensorto remove a sensor dynamicallyaddPluginto add a plugin dynamicallyremovePluginto remove a plugin dynamicallyaddContainerto add a container dynamicallyremoveContainerto remove a container dynamicallyisDraggingto check if instance is currently dragging
- New
sortable:sortevent that can be canceled to prevent sorting - New
swappable:swapevent that can be canceled to prevent swapping - Added more documentation
Changes
SortableSortedEvent(sortable:sorted) now returns correct indexesSortableStartEventgets fired now- Plugins and Sensors are exported with namespace
- Removes reflow by removing unused lookup of next scroll parent
- Draggable delay option is now
100by default, instead of0 - Draggables private methods are now really private
- Sensor improvements
TouchSensornow prevents scrolling without preventDefaultMouseSensornow prevents native elements to start dragging during delay- All sensors now listen to document rather than each container
v1.0.0-beta.2 - 2017-10-10
Added
- Code of Conduct
- Contribution guidelines
- Documentation on
appendTooption forDraggable - Added concept of
originalSource - Fix for text selection issue
- Fix for native drag events firing for the
MouseSensor - Fix for missing
classesoption
Changes
- README updates
- Touch improvements
- ForceTouchSensor is not included by default anymore
- Folder/File restructure
- Exports
AbstractEventasBaseEvent - Update node version from
8.2.1to8.6.0 - Clones event callbacks before triggering (to prevent mutation during iterations)
- Improvements to
closestutils helper
v1.0.0-beta - 2017-09-27
Initial release