Skip to content

3.0.0

Compare
Choose a tag to compare
@MisRob MisRob released this 22 Apr 18:23
· 331 commits to master since this release

Major updates

Tree structure markup improvements

  • improve semantics (only li is children of ul)
  • wrap a level to div with a level parent in div and level children in ul
  • 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