Détail du package

@devtools-ds/tree

intuit1.2mMIT1.2.1

A versatile expanding Tree component, with full keyboard navigation following the Tree View Design Pattern.

readme

@devtools-ds/tree

A versatile expanding Tree component, with full keyboard navigation following the Tree View Design Pattern.

Installation

npm i @devtools-ds/tree
# or with yarn
yarn add @devtools-ds/tree

Then to use the component in your code just import it!

import { Tree } from "@devtools-ds/tree";

Accessibility Approach

This component follows the DOM structure and interaction guidelines outlined in the Tree View Design Pattern.

Some of these resources were helpful for following the tree view interaction best practices.

Usage

The label can be a string or a React component.

<Tree label="Root">
  <Tree label="Branch One">
    <Tree label="Leaf One" />
    <Tree label="Leaf Two" />
  </Tree>
  <Tree label="Branch Two" />
  <Tree label="Branch Three" />
</Tree>

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Tyler Krupicka

💻 📖 🎨 🚇 💡 ⚠️

Adam Dierkens

📖 💡 ⚠️ 💻

Andrew Lisowski

📖 💡 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

changelog

v1.0.2 (Mon Feb 15 2021)

🐛 Bug Fix

📝 Documentation

Authors: 1


v1.0.0 (Tue Feb 02 2021)

💥 Breaking Change

🐛 Bug Fix

Authors: 1


v0.132.0 (Mon Feb 01 2021)

:tada: This release contains work from a new contributor! :tada:

Thank you, Andrew Lisowski (@hipstersmoothie), for all your work!

🚀 Enhancement

🐛 Bug Fix

Authors: 2


v0.132.0 (Mon Feb 01 2021)

:tada: This release contains work from a new contributor! :tada:

Thank you, Andrew Lisowski (@hipstersmoothie), for all your work!

🚀 Enhancement

🐛 Bug Fix

Authors: 2


v0.131.0 (Tue Jan 26 2021)

🚀 Enhancement

🐛 Bug Fix

Authors: 1


v0.130.5 (Sun Jan 24 2021)

⚠️ Pushed to master

Authors: 1


v0.130.4 (Sun Jan 24 2021)

⚠️ Pushed to master

Authors: 1


vnull (Sun Jan 24 2021)

🐛 Bug Fix

  • Bump version to: v0.130.1 [skip ci] (tylerkrupicka@gmail.com)

⚠️ Pushed to master

  • set access in package json (tylerkrupicka@gmail.com)

Authors: 1

  • Tyler Krupicka (tylerkrupicka@gmail.com)