Askr documentation
Generated API snapshot

@askrjs/themes/calendar

Exports from the declarations published in @askrjs/themes. Signatures reflect the published artifact.

Exports

This entrypoint publishes 12 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

Calendartype

Calendar: (props: CatalogComponentProps) => JSX.Element

Styling-only calendar anatomy; it does not own dates, grid focus, selection, or month navigation.

CalendarBodytype

CalendarBody: (props: CatalogComponentProps) => JSX.Element

Renders the calendar-body part of the shadcn-compatible catalog primitives.

CalendarCaptiontype

CalendarCaption: (props: CatalogComponentProps) => JSX.Element

Renders the calendar-caption part of the shadcn-compatible catalog primitives.

CalendarCelltype

CalendarCell: (props: CatalogComponentProps) => JSX.Element

Renders the calendar-cell part of the shadcn-compatible catalog primitives.

CalendarDaytype

CalendarDay: (props: CatalogComponentProps<HTMLButtonElement> & { disabled?: boolean; outside?: boolean; rangeEnd?: boolean; rangeMiddle?: boolean; rangeStart?: boolean; selected?: boolean; today?: boolean; }) => JSX.Element

Renders a single selectable day cell in the calendar grid, with selection/range/today state exposed as data attributes.

CalendarGridtype

CalendarGrid: (props: CatalogComponentProps) => JSX.Element

Renders the calendar-grid part of the shadcn-compatible catalog primitives.

CalendarHeadtype

CalendarHead: (props: CatalogComponentProps) => JSX.Element

Renders the calendar-head part of the shadcn-compatible catalog primitives.

CalendarHeadertype

CalendarHeader: (props: CatalogComponentProps) => JSX.Element

Renders the calendar-header part of the shadcn-compatible catalog primitives.

CalendarNavtype

CalendarNav: (props: CatalogComponentProps) => JSX.Element

Renders the calendar-nav part of the shadcn-compatible catalog primitives.

CalendarNextButtontype

CalendarNextButton: (props: CatalogComponentProps<HTMLButtonElement>) => JSX.Element

Button that navigates the calendar to the next month.

CalendarPreviousButtontype

CalendarPreviousButton: (props: CatalogComponentProps<HTMLButtonElement>) => JSX.Element

Button that navigates the calendar to the previous month.

CalendarRowtype

CalendarRow: (props: CatalogComponentProps) => JSX.Element

Renders the calendar-row part of the shadcn-compatible catalog primitives.