@ambuj.bhaskar/react-component-library 0.18.16-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 +39 -1
- package/dist/index.js +58090 -56982
- package/dist/index.umd.js +298 -298
- package/package.json +96 -94
package/dist/index.d.ts
CHANGED
|
@@ -124,7 +124,13 @@ export declare type AwiEmptyStateProps = {
|
|
|
124
124
|
title?: string;
|
|
125
125
|
};
|
|
126
126
|
|
|
127
|
-
export declare const AwiGenerateHeader:
|
|
127
|
+
export declare const AwiGenerateHeader: default_2.FC<AwiGenerateHeaderProps>;
|
|
128
|
+
|
|
129
|
+
declare type AwiGenerateHeaderProps = {
|
|
130
|
+
list: string[];
|
|
131
|
+
headerClass?: string;
|
|
132
|
+
type?: string;
|
|
133
|
+
};
|
|
128
134
|
|
|
129
135
|
export declare const AwiHelperMethods: {
|
|
130
136
|
getStatusDisplayText: (status: string, user: any) => any;
|
|
@@ -602,6 +608,38 @@ declare type EventType = {
|
|
|
602
608
|
icon?: string;
|
|
603
609
|
};
|
|
604
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
|
+
|
|
605
643
|
declare type HTMLButtonProps = ComponentProps<"button">;
|
|
606
644
|
|
|
607
645
|
declare type HTMLInputProps = ComponentProps<"input">;
|