Import
import { Tree } from "@typed/ui";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export * as Tree from "./Tree.js";Members
Tree.GroupRenders a child group and hides it while its parent id is not expanded.
Tree.GroupOptionsInputs accepted by Tree.Group in addition to the shared DOM host options.
Tree.InitialStateInitial Tree values. activeId defaults null and expandedIds defaults empty.
Tree.ItemRenders and optionally registers a treeitem with level, expanded, disabled, and roving-focus state.
Tree.ItemOptionsInputs accepted by Tree.Item in addition to the shared DOM host options.
Tree.ItemValueTree collection value recording an item’s parent relationship.
Tree.RootRenders the tree root and applies hierarchy-aware keyboard navigation to registered items.
Tree.RootOptionsInputs accepted by Tree.Root in addition to the shared DOM host options.
Tree.StateThe focused node and expanded parent identities. Expansion controls visible traversal; file selection or opening is a separate application action.
Tree.StateSchemaEffect Schema used by makeState to encode, decode, and hydrate Tree state.
Tree.activateSets the active tree item id without changing expansion.
Tree.collapseRemoves an id from expandedIds.
Tree.expandAdds an id once to expandedIds.
Tree.isExpandedTests membership in expandedIds without touching the DOM.
Tree.makeCollectionCreates a scoped Collection for Tree items.
Tree.makeStateCreates hydrated Tree state. activeId defaults null and expandedIds defaults empty.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.