0.22.0
CalendarHeatmap, a GitHub-style activity grid
CalendarHeatmap is a new GitHub-style activity grid: one square per day, a column per week, and up to four shades of any palette color. It localizes dates, week start and direction through Intl, and is a keyboard-navigable grid with one shared tooltip.
Spotlight
A year of activity at a glance
Pass { date, value }[] to CalendarHeatmap; a raw event list works, since entries on the same day add up. The busiest day is split into quarters the way GitHub does it, every palette color gets its own four-step ramp, and a range wider than its container scrolls inside its own scroller, opening on the latest week with the weekday labels pinned.
630 activities in the last year
Changes
2added
- added2
- Calendar Heatmap#431
New
CalendarHeatmap: a GitHub-style activity grid that sums{ date, value }entries per day, shades them in up to fourthresholdsof anycolor, and scrolls a long range inside its container, opening on the latest week - Calendar Heatmap#431
Localized through
Intl(dates, numbers, week start, RTL) with atranslationsprop, and navigable as arole="grid"with arrow keys, Home/End and PageUp/PageDown