@cyber-harbour/ui 1.1.28 → 1.1.29
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/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +126 -126
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +89 -89
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -189,6 +189,11 @@ type Theme = {
|
|
|
189
189
|
section: {
|
|
190
190
|
background: string;
|
|
191
191
|
padding: string;
|
|
192
|
+
title: {
|
|
193
|
+
color: string;
|
|
194
|
+
fontSize: string;
|
|
195
|
+
fontWeight: number;
|
|
196
|
+
};
|
|
192
197
|
};
|
|
193
198
|
delimeter: {
|
|
194
199
|
color: string;
|
|
@@ -1867,7 +1872,7 @@ interface Graph2DProps {
|
|
|
1867
1872
|
onNodeClick?: (node: NodeObject) => void;
|
|
1868
1873
|
onBackgroundClick?: () => void;
|
|
1869
1874
|
onNodeHover?: (node: NodeObject | null) => void;
|
|
1870
|
-
onLinkHover?: (link: LinkObject | null) => void;
|
|
1875
|
+
onLinkHover?: (link: LinkObject | null, event: React.MouseEvent<HTMLCanvasElement>) => void;
|
|
1871
1876
|
onLinkClick?: (link: LinkObject) => void;
|
|
1872
1877
|
onChangeSelectedNodeIds?: (nodeIds: Set<string | number>) => void;
|
|
1873
1878
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -189,6 +189,11 @@ type Theme = {
|
|
|
189
189
|
section: {
|
|
190
190
|
background: string;
|
|
191
191
|
padding: string;
|
|
192
|
+
title: {
|
|
193
|
+
color: string;
|
|
194
|
+
fontSize: string;
|
|
195
|
+
fontWeight: number;
|
|
196
|
+
};
|
|
192
197
|
};
|
|
193
198
|
delimeter: {
|
|
194
199
|
color: string;
|
|
@@ -1867,7 +1872,7 @@ interface Graph2DProps {
|
|
|
1867
1872
|
onNodeClick?: (node: NodeObject) => void;
|
|
1868
1873
|
onBackgroundClick?: () => void;
|
|
1869
1874
|
onNodeHover?: (node: NodeObject | null) => void;
|
|
1870
|
-
onLinkHover?: (link: LinkObject | null) => void;
|
|
1875
|
+
onLinkHover?: (link: LinkObject | null, event: React.MouseEvent<HTMLCanvasElement>) => void;
|
|
1871
1876
|
onLinkClick?: (link: LinkObject) => void;
|
|
1872
1877
|
onChangeSelectedNodeIds?: (nodeIds: Set<string | number>) => void;
|
|
1873
1878
|
}
|