Skip to content

Releases: vinz3872/vuejs-tree

v3.0.2

25 Feb 21:26
Compare
Choose a tag to compare

New features:

  • Make icon_parent a style option class

Fixes:

  • Remove duplicate event call when checking a node

v3.0.1 - Vue3

17 Jul 14:05
Compare
Choose a tag to compare

Breaking changes:

  • Upgrade from Vue 2 to Vue 3
  • The state.checked, state.selected and state.expanded keys are now mandatory
  • Move customStyles 'tree' css in a 'style' key (customStyles.tree.style)
  • The tree 'row' css must now be in the customStyles.row.style key

Other changes:

  • Add typescript
  • Add more documentation in code and refactor some functions

v2.1.0

07 Jul 11:26
Compare
Choose a tag to compare

New features:

  • Add options to customize row's css and class
  • Add class key to customize node's text in custom styles

Improvements:

  • Edit the customStyles.row and customStyles.row.child format to have the same format as customStyles.text (Passing style directly to the customStyles.row is still possible)

v2.0.3

10 Jun 17:26
Compare
Choose a tag to compare

New features:

  • Add the rowIndent key in the customOptions to change the css applied to each child's <ul>. Mainly to be able to modify the tree node's indentation.

Fixes:

  • Add default text-align: left to prevent indentation to go haywire when the node's text length is significantly different and there's a text-align: center on the parents.

v2.0.1

24 Dec 16:50
Compare
Choose a tag to compare
  • Build package sources 🎉 (so no more dependency errors)
  • Add back the expandable, selectable and checkable options

Style customization improvement

04 Dec 14:05
Compare
Choose a tag to compare
Pre-release

Params rework:

  • Move the tree style from myCustomOptions to myCustomStyles
  • Improve the style customisation for tree and node
  • Add edit node and delete node icons
  • Add default tree icons
  • Add the possibility to overwrite the tree icons and style

v1.1.0

18 Jun 10:51
Compare
Choose a tag to compare

Initial stable release