@rsdoctor/components 1.3.12 → 1.3.13-beta.0
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/dist/components/Charts/TreeMap.d.ts +5 -1
- package/dist/components/Charts/TreeMap.mjs +518 -202
- package/dist/components/Charts/TreeMap.mjs.map +1 -1
- package/dist/components/Charts/constants.d.ts +6 -5
- package/dist/components/Charts/constants.mjs +47 -43
- package/dist/components/Charts/constants.mjs.map +1 -1
- package/dist/components/Charts/treemap.module.mjs +32 -4
- package/dist/components/Charts/treemap.module.mjs.map +1 -1
- package/dist/components/Charts/treemap_module.css +193 -39
- package/dist/components/Charts/treemap_module.css.map +1 -1
- package/package.json +4 -4
|
@@ -8,11 +8,15 @@ export type TreeNode = {
|
|
|
8
8
|
bundledSize?: number;
|
|
9
9
|
gzipSize?: number;
|
|
10
10
|
};
|
|
11
|
+
export type SizeType = 'stat' | 'parsed' | 'gzip' | 'value';
|
|
11
12
|
interface TreeMapProps {
|
|
12
13
|
treeData: TreeNode[];
|
|
13
|
-
|
|
14
|
+
sizeType: SizeType;
|
|
14
15
|
style?: React.CSSProperties;
|
|
15
16
|
onChartClick?: (params: any) => void;
|
|
17
|
+
highlightNodeId?: number;
|
|
18
|
+
centerNodeId?: number;
|
|
19
|
+
rootPath?: string;
|
|
16
20
|
}
|
|
17
21
|
export declare const TreeMap: React.ForwardRefExoticComponent<TreeMapProps & React.RefAttributes<any>>;
|
|
18
22
|
export declare const AssetTreemapWithFilter: React.FC<{
|