UNPKG

react-calendar-heatmap

Version:

A calendar heatmap component built on SVG, inspired by github's commit calendar graph.

45 lines (25 loc) 1.01 kB
## 1.4.0 * Add weekday label display (thanks @andreysaleba!) * Add title element to tooltip (thanks @andreysaleba!) * Add onMouseLeave, onMouseOver props (thanks @andreysaleba!) ## 1.3.0 * Allow customizeable month strings (thanks @otakustay!) ## 1.2.1 * Update React to `v15.6.1` & add `prop-types` package (thanks @easingthemes!) ## 1.2.0 * Add transformDayElement prop to improve flexibility (thanks @otakustay!) ## 1.1.0 * Allow tooltipDataAttrs to be a function rather than an object (thanks @RSO!) ## 1.0.0 * Improve tooltip support with tooltipDataAttrs prop, allowing usage of e.g. bootstrap tooltips * titleForValue now sets a square's title attribute instead of setting svg `<title>` element ## 0.4.3 * Build configuration updates ## 0.4.2 * Allow endDate to be string/milliseconds * Don't show titles by default ## 0.4.1 * Fix broken package issue * Stop loading CSS through webpack ## 0.4.0 * Add `horizontal` prop, which allows switching between horizontal and vertical orientations