MonthContent
A month on the calendar: a dot under each day that has something on, and one day’s
events listed beside it. Days are local calendar days, "2026-10-14". The notch draws
the grid; you keep which month is shown and which day is picked, and the grid’s own
controls come back to onAction (MONTH): ‹ › and Today as previous, next
and today, a day as day:2026-10-14, an event as event:<id>. Emit the month as it
now is. At most MAX_MONTH_EVENTS events are kept.
Properties
Section titled “Properties”counts?
Section titled “counts?”
optionalcounts?:Record<string,number>
How many events each day has, for the days on the grid with any.
datesOnly?
Section titled “datesOnly?”
optionaldatesOnly?:boolean
Only dates, no events: nothing listed beside the month.
events?
Section titled “events?”
optionalevents?:MonthEvent[]
The selected day’s events, in order.
firstWeekday?
Section titled “firstWeekday?”
optionalfirstWeekday?:number
The first day of the week, 1 Sunday … 7 Saturday.
month:
string
The month shown, as its first day, "2026-10-01".
notice?
Section titled “notice?”
optionalnotice?:MonthNotice
selected?
Section titled “selected?”
optionalselected?:string
The day whose events are listed; today when left out.
today:
string
Today, so the grid rings it.