@ambuj.bhaskar/react-component-library 0.18.17-alpha → 0.19.0-alpha
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.
- package/README.md +34 -34
- package/bin/cli.js +87 -87
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs +295 -295
- package/dist/index.d.ts +32 -0
- package/dist/index.js +57961 -56857
- package/dist/index.umd.js +298 -298
- package/package.json +96 -94
package/dist/index.d.ts
CHANGED
|
@@ -608,6 +608,38 @@ declare type EventType = {
|
|
|
608
608
|
icon?: string;
|
|
609
609
|
};
|
|
610
610
|
|
|
611
|
+
export declare const Heatmap: React.FC<HeatmapProps>;
|
|
612
|
+
|
|
613
|
+
export declare type HeatmapData = {
|
|
614
|
+
ylabels: string[];
|
|
615
|
+
xlabels: string[];
|
|
616
|
+
datasets: {
|
|
617
|
+
[label: string]: HeatmapDatapoint[];
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
|
|
621
|
+
export declare type HeatmapDatapoint = {
|
|
622
|
+
value: number;
|
|
623
|
+
hoverContent?: React.ReactNode;
|
|
624
|
+
color?: Color;
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
export declare type HeatmapProps = {
|
|
628
|
+
data: HeatmapData;
|
|
629
|
+
colorRange: Color[];
|
|
630
|
+
valueRange: [number, number];
|
|
631
|
+
width?: CSSstring;
|
|
632
|
+
height?: CSSstring;
|
|
633
|
+
cellWidth?: CSSstring;
|
|
634
|
+
cellHeight?: CSSstring;
|
|
635
|
+
yLabelWidth?: CSSstring;
|
|
636
|
+
xLabelHeight?: CSSstring;
|
|
637
|
+
cellBorderColor?: Color;
|
|
638
|
+
borderColor?: Color;
|
|
639
|
+
cellTextColor?: Color;
|
|
640
|
+
labelTextColor?: Color;
|
|
641
|
+
};
|
|
642
|
+
|
|
611
643
|
declare type HTMLButtonProps = ComponentProps<"button">;
|
|
612
644
|
|
|
613
645
|
declare type HTMLInputProps = ComponentProps<"input">;
|