Releases: hesamurai/nested-sort
Releases · hesamurai/nested-sort
5.2.0
What's Changed
- feat: code samples visual improvement by @hesamurai in #88
- fix: take the dragged node depth into account when calculating the nesting levels by @hesamurai in #91
- feat: add new item by @hesamurai in #92
Full Changelog: 5.1.3...5.2.0
5.1.3
What's Changed
- fix: drag and drop on mobile devices by @hesamurai in #86
Full Changelog: 5.1.2...5.1.3
5.1.2
What's Changed
- fix: avoid iOS page redirection on drag end by @hesamurai in #84
Full Changelog: 5.1.1...5.1.2
5.1.1
What's Changed
- build(deps): upgrade node dependencies by @hesamurai in #80
- fix: nesting level behaviour by @hesamurai in #81
Full Changelog: 5.1.0...5.1.1
Customised Render
What's Changed
- feat: render function for customised list items by @hesamurai in #67
5.0.1
What's Changed
- feat: typescript integration by @hesamurai in #47
- fix: accommodate item drop before list items even if the cursor is indented by @hesamurai in #60
Full Changelog: 5.0.0...5.0.1
Better Semantics
This release includes:
- removal of inline list item styles and adding a modifier class to the main list so styling can be done via CSS.
getComputedStyleValue
andaddListItemStyles
methods of the NestedSort class have been removed now. - adding the new
nestingLevels
option to define the levels of nesting - adding the possibility of server rendered lists property mapping
- adding support for ordered lists and making them the default list type
Life cycle control
This release is about:
- adding the
init
option so you can control if the drag and drop functionality should be initialised - adding the
init()
method so you can control when the drag and drop functionality should be enabled - adding the
destroy()
method so you can disable the drag and drop functionality and remove the event listeners - refactoring the event listeners
Release 4.2.1
Fixing a bug on multi-instance pages
Release 4.2.0: Come up with you order
feat: items can now have a pre-defined order