Genesis
@beta

calendarLanes

The lanes a `lanes` layout draws: the ones given, in order, then any an event names that weren't given (labelled by key).

packages/ui/src/components/data/calendar/placement.ts

Import
Subpath export: @marktiderman/genesis-ui/data
import { calendarLanes } from "@marktiderman/genesis-ui/data";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

calendarLanes

The lanes a `lanes` layout draws: the ones given, in order, then any an event names that weren't given (labelled by key).

No declared props.

calendarWindow

The days a layout shows around `anchor`: a month grid's whole weeks, or `weeks` weeks from the week `anchor` is in. This is the window a calendar asks its data for.

No declared props.

eventDays

The first and last day an event covers on `zone`'s clock.

No declared props.

eventDots

An event's dots: its own colours, else its lanes' colours.

No declared props.

placeEvents

Each day of `range` with the events on it: an event that spans days is on each one, all-day events (and the middle days of a long timed one) come first, then timed ones by start, then by title.

No declared props.

shiftAnchor

The anchor one step back (−1) or on (1): a month for `month`, else the window's weeks.

No declared props.

CalendarEvent

One event. An all-day event's `start` and `end` are days, `end` the last day it covers (inclusive: a weekend away is Saturday to Sunday). A timed event's are instants, `end` exclusive; without one it is a moment.

No declared props.

CalendarLane

A lane: one person (or room, or team) a `lanes` layout gives a row.

No declared props.

CalendarLayout

How a calendar lays out its window.

No declared props.

CalendarWeeks

Weeks a `weeks`, `agenda` or `lanes` layout shows.

No declared props.

CalendarWindowOptions

What a layout's window depends on.

No declared props.

PlacedEvent

An event on one of its days.

No declared props.