API Reference

WeeksViewStateContextValue

interface

Volatile state provided by WeeksView.Root.

Defined in package/src/weeks-view-types.ts:106

PropTypeDefaultDescription
focusedDate*PlainDate—The logically focused date in the grid.
windowInfo*WindowInfo—Information about the currently visible window.
gridLabelIds*Record<number, string>—Label element id for aria-labelledby on the grid.
weeks*WeekDescriptor[]—Computed week descriptors for all visible rows.
currentDateTime*PlainDateTime—Date-time representing the current moment (for "today" highlighting).
rootState*RootState—Render-prop RootState exposed to components inside WeeksView.