API Reference

WeeksViewStateContextValue

interface

Volatile state provided by WeeksView.Root.

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

PropTypeDefaultDescription
focusedDate*PlainDateThe logically focused date in the grid.
windowInfo*WindowInfoInformation 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*PlainDateTimeDate-time representing the current moment (for "today" highlighting).