UNPKG

react-accessible-treeview

Version:

A react component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.

42 lines (41 loc) 1.63 kB
export declare const baseClassNames: { readonly root: "tree"; readonly node: "tree-node"; readonly branch: "tree-node__branch"; readonly branchWrapper: "tree-branch-wrapper"; readonly leafListItem: "tree-leaf-list-item"; readonly leaf: "tree-node__leaf"; readonly nodeGroup: "tree-node-group"; }; export declare const clickActions: { readonly select: "SELECT"; readonly focus: "FOCUS"; readonly exclusiveSelect: "EXCLUSIVE_SELECT"; }; export declare const CLICK_ACTIONS: readonly ("SELECT" | "FOCUS" | "EXCLUSIVE_SELECT")[]; export declare const nodeActions: { readonly check: "check"; readonly select: "select"; }; export declare const NODE_ACTIONS: readonly ("select" | "check")[]; export declare const treeTypes: { readonly collapse: "COLLAPSE"; readonly collapseMany: "COLLAPSE_MANY"; readonly expand: "EXPAND"; readonly expandMany: "EXPAND_MANY"; readonly halfSelect: "HALF_SELECT"; readonly select: "SELECT"; readonly deselect: "DESELECT"; readonly toggle: "TOGGLE"; readonly toggleSelect: "TOGGLE_SELECT"; readonly changeSelectMany: "SELECT_MANY"; readonly exclusiveChangeSelectMany: "EXCLUSIVE_CHANGE_SELECT_MANY"; readonly focus: "FOCUS"; readonly clearFocus: "CLEAR_FOCUS"; readonly blur: "BLUR"; readonly disable: "DISABLE"; readonly enable: "ENABLE"; readonly clearLastManuallyToggled: "CLEAR_MANUALLY_TOGGLED"; readonly controlledSelectMany: "CONTROLLED_SELECT_MANY"; readonly updateTreeStateWhenDataChanged: "UPDATE_TREE_STATE_WHEN_DATA_CHANGED"; };