-
#590
f05efb3
Thanks @tsov! - Fixes VSCode search to exclude generated files/folders -
#590
36e61b6
Thanks @tsov! - Converts ResizeMirror test to typescript
-
#579
bb23ff2
Thanks @tsov! - Convert CollidableEvent to typescript -
#579
9154a96
Thanks @tsov! - Convert SensorEvent to typescript -
#579
74c35e5
Thanks @tsov! - Convert SwappableEvent to typescript -
#579
fb5354f
Thanks @tsov! - Convert SortableEvent to typescript -
#579
7734961
Thanks @tsov! - Converts DragEvent tests to typescript -
#579
a0c3c90
Thanks @tsov! - Convert DroppableEvent to typescript -
#579
527dcb6
Thanks @tsov! - Converts MirrorEvent to typescript -
#579
7219781
Thanks @tsov! - Convert SnappableEvent to typescript -
#579
cc42520
Thanks @tsov! - Converts DraggableEvent to typescript
-
#580
873ef2b
Thanks @tsov! - Removes unused packages dependencies -
#582
762ffbf
Thanks @tsov! - - Cleans up code comments from build folder- Also resolves absolute paths for ts build declarations
- Renames build files with .cjs and .mjs
- Adds changeset dependency for version management
- Add
mirror:moved
event - Cancel Dragging on ESC key up
- Fixes add missing exports
DelayOptions
andDelayOptions
- Fixes return early when the target isn't in handle or draggable elements sensor
- Fixes the argument type of the
trigger
method
- Added
drag:stopped
event that will be fired after drag finished - Support specifying an array of class name to Draggable
classes
option
- 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
- Added
exclude
option to allow disable default plugins and sensors - Added missing plugin types
- Support set the type of callback function according to the event type
- Fixes drag start concurrency (
delay
anddistance
options) - Fixes text in mirror blurry
- Fixes accidently append mirror
- Added
SortAnimation
plugin - Added
distance?: number
to DraggableOptions TS interface
- Fix mirror dimensions when
constrainDimensions
is active and not using fixed item width
- Added
distance
option - Added
thresholdX
andthresholdY
mirror options
- Fixes preventing of contextmenu in MouseSensor
- Fixes SortableEvent
over
andoverContainer
giving incorrect properties
- Announcement plugin to use
textContent
instead ofinnerHTML
- ResizeMirror plugin
- Fixed native drag events with draggable
- Mouse position bug in scrollable
- Focusable plugin
- Added DroppableStart event for
Droppable
- Added DroppableStop event for
Droppable
- Added recommended VSCode settings
- Fixed
addContainer
/removeContainer
api - Touch sensor fixes (including iOS 11.3 issues)
- Renames
DroppableOver
toDroppableDropped
- Renames
DroppableOut
toDroppableReturned
- Fix legacy bundle
- Improved webpack building
- Using
console.error
instead of throwing error
- 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
Announcement
plugin for screen reader support - Added cursor offset option for
Mirror
plugin - Added
scrollableElements
option toScrollable
plugin - Added
snappableElement
toSnapEvent
- Added examples to published package
- Added
Emitter
class for event emitting for draggable
- Changed esdoc config
- Changed node version
8.9.1
to8.9.4
- Updated package dependencies
- Updated roadmap section in README
- Changed export statements
- Fixes draggable state after canceling
drag:start
- Fixes
constrainDimensions
option forMirror
plugin - Fixes mirror position with touch devices and
Scrollable
AutoScroll
plugin has been renamed toScrollable
- Fixes scrolling edge cases with
Scrollable
- Fixes scrolling offset for touch devices in
Scrollable
- Fixes npm install issue
- Fixes
overContainer
property forDragOutContainerEvent
- Default
Draggable
plugins get exposed statically onDraggable.Plugins
- Default
Scrollable
plugin for Draggable, which auto scrolls containers/viewport while dragging yarn watch
task for auto-building the librarysource:original
class option for DraggableDraggable#getDraggableElementsForContainer
method, which returns all draggable elements for a given containerMirrorCreateEvent
, which allows for canceling mirror creationAbstractPlugin
to use as Base class for all Draggable plugins- More test coverage
- Fixed
Sortable
sort logic by excluding mirror and original source elements in calculations Draggable
appendTo
option now uses sources parent element as default, instead ofdocument.body
Draggable
appends over classes after triggering over/out eventsDraggable
appends 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:placed
class - Changed
AbstractEvent#_canceled
to use symbols for private instance variables - Some fixes for the documentation READMEs
- 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
,Swappable
andDroppable
- Draggables API extended
addSensor
to add sensor dynamicallyremoveSensor
to remove a sensor dynamicallyaddPlugin
to add a plugin dynamicallyremovePlugin
to remove a plugin dynamicallyaddContainer
to add a container dynamicallyremoveContainer
to remove a container dynamicallyisDragging
to check if instance is currently dragging
- New
sortable:sort
event that can be canceled to prevent sorting - New
swappable:swap
event that can be canceled to prevent swapping - Added more documentation
SortableSortedEvent
(sortable:sorted
) now returns correct indexesSortableStartEvent
gets fired now- Plugins and Sensors are exported with namespace
- Removes reflow by removing unused lookup of next scroll parent
- Draggable delay option is now
100
by default, instead of0
- Draggables private methods are now really private
- Sensor improvements
TouchSensor
now prevents scrolling without preventDefaultMouseSensor
now prevents native elements to start dragging during delay- All sensors now listen to document rather than each container
- Code of Conduct
- Contribution guidelines
- Documentation on
appendTo
option forDraggable
- Added concept of
originalSource
- Fix for text selection issue
- Fix for native drag events firing for the
MouseSensor
- Fix for missing
classes
option
- README updates
- Touch improvements
- ForceTouchSensor is not included by default anymore
- Folder/File restructure
- Exports
AbstractEvent
asBaseEvent
- Update node version from
8.2.1
to8.6.0
- Clones event callbacks before triggering (to prevent mutation during iterations)
- Improvements to
closest
utils helper
Initial release