Releases: mar10/fancytree
Releases · mar10/fancytree
v2.26.0
- BREAKING CHANGES:
- [Fixed] #792 postProcess is now also called for non-Ajax sources
- [Improved] LESS now compiles with webpack
- [Added] #791 ext-glyph support for radio buttons
- [Added] Color definitions for skin-awesome (taken from skin-lion)
- [Fixed]
$.ui.fancytree.getNode()
for ES6 environments - [Fixed] #789 Wrong node is activated in IE, when clicking in unfocused container
v2.25.0
- BREAKING CHANGES:
- The
dist/src/
folder was renamed todist/modules
. - Some directories like
demo/
are no longer part of the npm install.
- The
- Improved Module Support and Distribution
- The
dist/
folder now includes amodules/
directory with fancytree core
and all extensions. - All modules have UMD wrappers with defined dependencies.
- Internal jQuery UI dependencies are deployed as module and implicitly loaded.
jquery.fancytree/dist/modules/jquery.fancytree
is defined as
package main module, so Fancytree can be included using a simple
fancytree = require('jquery.fancytree')
.
See the docs for details.- All modules now return the
$.ui.fancytree object. - [Added] new static method
$.ui.fancytree.createTree(elem, opts)
- The
- [Added] Source map files for
jquery.fancytree-all-deps.min.js
- [Added] New extension ext-fixed (work-in-progress, experimental)
- [Fixed] #767: Input inside table head not working
- [Fixed] #768: Can't use keyboard to select nodes when
checkbox
option is false - [Fixed] #782: wide extension - padding is off when checkbox option is changed
- [Fixed] #787: Fix getEventTarget() for custom icons
v2.24.0
- [Added] ext-glyph option
preset
(making themap
option optional) - [Fixed] #695: List AMD dependency on jQuery UI
- [Fixed] #735: Trying to set root node selected throws an error
- [Fixed] Drop marker for ext-glyph + ext-dnd5
- [Fixed] #740: Filtering must not consider escaped html entities
- [Fixed] #741: Passing an empty string ("") as filter calls clearFilter()
- [Fixed] #761: dnd5 throws exception when tree is empty
- [Fixed] #748: Drag start should not activate a node
- [Fixed] #764: FancyTree filter breaks links
- Updated jsdoc to 3.5
v2.23.0
-
The external dependency on jQuery UI was removed.
A new libraryjquery.fancytree-all-deps.min.js
is now added to the
distribution. It includes all dependencies on jQuery UI, so the only
remaining external dependency is jQuery.
Continue to usejquery.fancytree-all.min.js
if jQuery UI is already
included anyway. -
Refactored the select behavior
details:- [Added] Allow control of selection status propagation with new options:
unselectable
,unselectableIgnore
,unselectableStatus
. - [Added] node option
radiogroup
enables single-select for child nodes - [Added] option
opts.noEvents
tosetSelected(flag, opts)
- [Improved] Option 'checkbox' can have the string value "radio" (only visual
effect)
- [Added] Allow control of selection status propagation with new options:
-
BREAKING CHANGES:
- The
hideCheckbox
option was removed. Usecheckbox: false
instead.
Note that the<li class='hideCheckbox'>
is still parsed from input
HTML and converted accordingly. - The optional modifier class
<div class='fancytree-radio'>
was removed.
This class was used on the container to turn all checkbox items into
radio buttons.
Instead, this class is now added to<span class="fancytree-checkbox fancytree-radio">
.
Use thetree.checkox: "radio"
option to activate this for the whole tree. - The callback signature for the
tree.tooltip
option has changed to
tooltip(event, data)
- The
-
[Improved]
aria
option is now on by default -
Use the new dynamic options pattern for
checkbox
,icon
,tooltip
,unselectable
,unselectableIgnore
,
unselectableStatus
.
See also dynamic options. -
[Added] New method
node.visitSiblings()
-
[Added] #730 ext-persist option
expandOpts
is passed to setExpanded()
Allows to suppress animation or event generation.
v2.22.5
v2.22.4
v2.22.3
v2.22.2
v2.22.1
v2.22.0
- [Added] ext-dnd5 now part of standard distribution
- [Added] #693 ext-dnd/dnd5: configurable drop marker offset
- [Added] #616 ext-wide: configurable left padding
- [Added] New method $.ui.fancytree.evalOption()
- [Improved] #601 ext-filter: improve performance (don't render hidden nodes)
- [Improved] ext-contextMenu: disable keyboard while popup is open and restore focus
- [Improved] #701 ext-hotkeys: Prevent default behavior on hot key combination
- [Improved] #708 speedup improvement for addChildren
- [Fixed] #680 ext-dnd5: top level nodes not draggable
- [Fixed] #681 ext-table: exception when a lazy node has
children: []
- [Fixed] #699 ext-dnd5: Icon remains after dnd is cancelled
- [Fixed] #702 $.ui.fancytree.getNode(jQuery)' for jQuery v3.x
- [Fixed] #706 Fix DND where fancytree-title span is not a direct child due to custom layouts
- [Fixed] #712 When clicking in a scrolled tree for the first time, focus is not set properly
- [Fixed] #716 ext-wide: animation 'jumps' (jQuery UI 1.12)
- [Fixed] #717, #719 expand/collapse shows displaced child nodes when scrolled (jQuery UI 1.12)
- Update demos to jQuery 3.2.1 / jQuery UI 1.12.1