${grid.map(({ dateStr, day, isCurrentMonth }) => {
const isToday = dateStr === todayStr;
const isSelected = dateStr === selectedValue;
const hasMarker = markedDatesSet.has(dateStr);
const isDisabled = this.disabled || this._isDisabledDate(dateStr);
const classes = [
"day-cell",
!isCurrentMonth ? "day-other-month" : "",
isToday ? "day-today" : "",
isSelected ? "day-selected" : "",
isDisabled ? "day-disabled" : "",
]
.filter(Boolean)
.join(" ");
return html`
this._selectDate(dateStr)}"
data-cf-calendar-day="${dateStr}"
>
${day}
${hasMarker
? html`
`
: ""}
`;
})}