Import
import { Grid } 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 Grid from "./Grid.js";Members
Grid.CellRenders and optionally registers a gridcell with row and column coordinates.
Grid.CellOptionsInputs accepted by Grid.Cell in addition to the shared DOM host options.
Grid.CellPositionLogical coordinates stored with each registered Grid cell.
Grid.ColumnHeaderRenders the Cell contract with the columnheader role.
Grid.InitialStateInitial Grid values. activeId defaults to null.
Grid.RootRenders the focus-owning grid root and initializes the active cell from DOM order on first focus.
Grid.RootOptionsInputs accepted by Grid.Root in addition to the shared DOM host options.
Grid.RowRenders an ARIA row and forwards an optional one-based aria-rowindex.
Grid.RowHeaderRenders the Cell contract with the rowheader role.
Grid.RowOptionsInputs accepted by Grid.Row in addition to the shared DOM host options.
Grid.StateThe cell ID exposed by the root through
aria-activedescendant. Native focus stays on the root; selected cells and editing state are not stored here.Grid.StateSchemaEffect Schema used by makeState to encode, decode, and hydrate Grid state.
Grid.activateSets activeId, including null to clear virtual focus.
Grid.makeCollectionCreates a scoped Collection for Grid items.
Grid.makeStateCreates hydrated Grid state. activeId defaults to null.
Grid.moveActiveIdMaps grid keys to a cell id: horizontal movement stays in-row, vertical movement stays in-column, and Ctrl+Home/End reaches grid endpoints.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.