@cyber-harbour/ui 1.0.39 → 1.0.41
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +107 -105
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +112 -110
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/Button/Button.tsx +2 -0
- package/src/Graph2D/Graph2D.tsx +21 -27
- package/src/Graph2D/types.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -844,9 +844,10 @@ interface Graph2DProps {
|
|
|
844
844
|
onNodeHover?: (node: NodeObject | null) => void;
|
|
845
845
|
onLinkHover?: (link: NodeObject | null) => void;
|
|
846
846
|
onBackgroundClick?: () => void;
|
|
847
|
+
onClickLoadNodes?: (node: NodeObject) => void;
|
|
847
848
|
}
|
|
848
849
|
|
|
849
|
-
declare const Graph2D: ({ graphData, width, height, linkTarget, linkSource, loading, config, onNodeClick, onNodeHover, onLinkHover, onLinkClick, onBackgroundClick, }: Graph2DProps) => react_jsx_runtime.JSX.Element;
|
|
850
|
+
declare const Graph2D: ({ graphData, width, height, linkTarget, linkSource, loading, config, onNodeClick, onNodeHover, onLinkHover, onLinkClick, onBackgroundClick, onClickLoadNodes, }: Graph2DProps) => react_jsx_runtime.JSX.Element;
|
|
850
851
|
|
|
851
852
|
interface FullscreenCardProps {
|
|
852
853
|
children: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -844,9 +844,10 @@ interface Graph2DProps {
|
|
|
844
844
|
onNodeHover?: (node: NodeObject | null) => void;
|
|
845
845
|
onLinkHover?: (link: NodeObject | null) => void;
|
|
846
846
|
onBackgroundClick?: () => void;
|
|
847
|
+
onClickLoadNodes?: (node: NodeObject) => void;
|
|
847
848
|
}
|
|
848
849
|
|
|
849
|
-
declare const Graph2D: ({ graphData, width, height, linkTarget, linkSource, loading, config, onNodeClick, onNodeHover, onLinkHover, onLinkClick, onBackgroundClick, }: Graph2DProps) => react_jsx_runtime.JSX.Element;
|
|
850
|
+
declare const Graph2D: ({ graphData, width, height, linkTarget, linkSource, loading, config, onNodeClick, onNodeHover, onLinkHover, onLinkClick, onBackgroundClick, onClickLoadNodes, }: Graph2DProps) => react_jsx_runtime.JSX.Element;
|
|
850
851
|
|
|
851
852
|
interface FullscreenCardProps {
|
|
852
853
|
children: any;
|