@manufac/reactjs-calendar-heatmap
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1,8 +0,10 @@ | ||
interface CalendarHeatmapDatum { | ||
import type { Component } from "react"; | ||
export interface CalendarHeatmapDatum { | ||
date: string; | ||
} | ||
type CalendarHeatmapOverview = 'global' | 'year' | 'month' | 'week' | 'day'; | ||
export type CalendarHeatmapOverview = 'global' | 'year' | 'month' | 'week' | 'day'; | ||
interface CalendarHeatmapProps { | ||
export interface CalendarHeatmapProps { | ||
data: CalendarHeatmapDatum[]; | ||
@@ -14,3 +16,3 @@ color?: string; | ||
interface CalendarHeatmapSettings { | ||
export interface CalendarHeatmapSettings { | ||
gutter: number; | ||
@@ -28,3 +30,3 @@ item_gutter: number; | ||
declare class CalendarHeatmap extends React.Component<CalendarHeatmapProps, unknown> { | ||
export class CalendarHeatmap extends Component<CalendarHeatmapProps, unknown> { | ||
settings: CalendarHeatmapSettings; | ||
@@ -64,4 +66,2 @@ in_transition: boolean; | ||
declare module 'reactjs-calendar-heatmap' { | ||
export = CalendarHeatmap; | ||
} | ||
export default CalendarHeatmap; |
{ | ||
"name": "@manufac/reactjs-calendar-heatmap", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "React component for d3.js calendar heatmap graph.", | ||
"homepage": "https://github.com/manufac-analytics/reactjs-calendar-heatmap", | ||
"contributors": ["g1eb <mail@g1eb.com> (https://g1eb.com)", "maneetgoyal"], | ||
"homepage": "https://manufac-analytics.github.io/reactjs-calendar-heatmap/", | ||
"contributors": [ | ||
"g1eb <mail@g1eb.com> (https://g1eb.com)", | ||
"maneetgoyal" | ||
], | ||
"repository": { | ||
@@ -23,3 +26,5 @@ "type": "git", | ||
"types": "dist/types.d.ts", | ||
"files": ["dist"], | ||
"files": [ | ||
"dist" | ||
], | ||
"devDependencies": { | ||
@@ -26,0 +31,0 @@ "babel-core": "^6.26.0", |
459061
3810