@riishabh/react-calender-heatmap 4.0.4 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ export interface TileChartProps {
5
5
  date: string;
6
6
  status?: "success" | "warning" | "alert" | "holiday" | "weekend" | "fullDayLeave" | "halfDayLeave";
7
7
  }[];
8
- range?: 3 | 6 | 12;
8
+ range?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
9
9
  onTileHover?: (date: string, status?: "success" | "warning" | "alert" | "holiday" | "weekend" | "fullDayLeave" | "halfDayLeave") => void;
10
10
  tileText?: string;
11
11
  }
@@ -5,7 +5,7 @@ export interface TileChartProps {
5
5
  date: string;
6
6
  status?: "success" | "warning" | "alert" | "holiday" | "weekend" | "fullDayLeave" | "halfDayLeave";
7
7
  }[];
8
- range?: 3 | 6 | 12;
8
+ range?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
9
9
  onTileHover?: (date: string, status?: "success" | "warning" | "alert" | "holiday" | "weekend" | "fullDayLeave" | "halfDayLeave") => void;
10
10
  tileText?: string;
11
11
  }
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ interface TileChartProps {
5
5
  date: string;
6
6
  status?: "success" | "warning" | "alert" | "holiday" | "weekend" | "fullDayLeave" | "halfDayLeave";
7
7
  }[];
8
- range?: 3 | 6 | 12;
8
+ range?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
9
9
  onTileHover?: (date: string, status?: "success" | "warning" | "alert" | "holiday" | "weekend" | "fullDayLeave" | "halfDayLeave") => void;
10
10
  tileText?: string;
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riishabh/react-calender-heatmap",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "author": "Rishabh Sharma",
5
5
  "description": "A simple and customizable React calendar heatmap component",
6
6
  "license": "MIT",