lipgloss/tree
Carlos Alexandro Becker feb42a9be4
feat: move tree to root (#342)
* feat: support any type for list Root func

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* feat: move tree to root

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* feat: more cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* docs(examples): bring back tree examples

* docs(examples): add tree toggle example

* docs(examples): fix toggle tree hierarchy; as bashbunni metadata

* fix(tree): stylize whitespace when vertically joining tree elements

* docs: get started with trees

* feat: add RootStyle with example

* test: add test for RootStyle func

* docs(godoc): replace list mentions in tree package

* refactor(examples): use Root shorthand instead of tree.New where applicable

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: bashbunni <bunni@bashbunni.dev>
Co-authored-by: Christian Rocha <christian@rocha.is>
2024-08-19 15:43:29 -03:00
..
testdata feat: move tree to root (#342) 2024-08-19 15:43:29 -03:00
children.go feat: move tree to root (#342) 2024-08-19 15:43:29 -03:00
enumerator.go feat: move tree to root (#342) 2024-08-19 15:43:29 -03:00
renderer.go feat: move tree to root (#342) 2024-08-19 15:43:29 -03:00
tree_test.go feat: move tree to root (#342) 2024-08-19 15:43:29 -03:00
tree.go feat: move tree to root (#342) 2024-08-19 15:43:29 -03:00