Import
import { TreeGrid } from "@typed/ui/index";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 TreeGrid from "./TreeGrid.js";Members
TreeGrid.CellRenders and optionally registers one gridcell with row and column coordinates.
TreeGrid.CellOptionsInputs accepted by TreeGrid.Cell in addition to the shared DOM host options.
TreeGrid.CellPositionLogical coordinates stored with each registered TreeGrid cell.
TreeGrid.GroupRenders a rowgroup and hides it while its parent row is collapsed.
TreeGrid.GroupOptionsInputs accepted by TreeGrid.Group in addition to the shared DOM host options.
TreeGrid.InitialStateInitial TreeGrid values. Uses Tree state and defaults.
TreeGrid.RootRenders the focus-owning treegrid root and applies combined grid and expansion keys.
TreeGrid.RootOptionsInputs accepted by TreeGrid.Root in addition to the shared DOM host options.
TreeGrid.RowRenders a hierarchical row with level and optional expanded state.
TreeGrid.RowOptionsInputs accepted by TreeGrid.Row in addition to the shared DOM host options.
TreeGrid.StateTree expansion state reused for a grid whose active ID names a cell.
expandedIdsnames parent rows, whileactiveIdnames the active cell within a row.TreeGrid.StateSchemaEffect Schema used by makeState to encode, decode, and hydrate TreeGrid state.
TreeGrid.activateSets the active TreeGrid row or cell id without changing expansion.
TreeGrid.collapseRemoves a row id from expandedIds using the Tree state transition.
TreeGrid.expandAdds a row id once to expandedIds using the Tree state transition.
TreeGrid.isExpandedTests membership in expandedIds without touching the DOM; this is the Tree helper exposed from the TreeGrid entrypoint.
TreeGrid.makeCollectionCreates a scoped Collection for TreeGrid items.
TreeGrid.makeStateCreates hydrated TreeGrid state. Uses Tree state and defaults.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.