3.0.0
Major updates
Tree structure markup improvements
- improve semantics (only
li
is children oful
) - wrap a level to
div
with a level parent indiv
and level children inul
- refactor assigned classes and add new classes
- because of changes above, I could simplify some default styles, so they were updated too
Because of that, it is very likely you will need to update your selectors in case you used your own styles for the navigation. I believe all tree structure markup updates are final and all of them will make future customizations much easier. You can see enhanced styling section of documentation for more detailed information.
UX improvements
- open a group when its header text clicked (so far it was only possible to open a group with clicking a toggle which wasn't very intuitive and also not suitable for mobile devices)
- do not close a group when text clicked (the group is closed only on its toggle click)
New features
- open all corresponding levels when a corresponding URL visited
Minor updates
- added support for external links
- bugfixes
- core functionality simplified, codes polished, more tests added