@cyber-harbour/ui 1.0.18 → 1.0.20

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 CHANGED
@@ -1,10 +1,12 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import react__default, { SVGProps, ElementType, CSSProperties as CSSProperties$1, ReactNode, FC } from 'react';
3
+ import react__default, { SVGProps, ElementType, CSSProperties as CSSProperties$1 } from 'react';
4
4
  import * as styled_components from 'styled-components';
5
- import { DefaultTheme, CSSProperties } from 'styled-components';
5
+ import { CSSProperties, DefaultTheme } from 'styled-components';
6
+ import { PopoverPosition, PopoverAlign } from 'react-tiny-popover';
6
7
  import * as styled_components_dist_types from 'styled-components/dist/types';
7
8
  import { DefaultTheme as DefaultTheme$1 } from 'styled-components/dist/types';
9
+ import { GraphData } from 'react-force-graph-2d';
8
10
 
9
11
  declare const GlobalStyle: react.NamedExoticComponent<styled_components.ExecutionProps & object>;
10
12
 
@@ -141,6 +143,21 @@ type Theme = {
141
143
  margin: string;
142
144
  };
143
145
  };
146
+ contextMenu: {
147
+ button: Record<ButtonState, ButtonElementStyle>;
148
+ padding: number;
149
+ delimeter: {
150
+ style: CSSProperties['borderStyle'];
151
+ color: string;
152
+ thickness: number;
153
+ marginInline: number | string;
154
+ marginBlock: number | string;
155
+ };
156
+ shadow: string;
157
+ icon: {
158
+ size: number | string;
159
+ };
160
+ };
144
161
  };
145
162
  type ThemeColors = Theme['colors'];
146
163
  type ColorCategory = keyof ThemeColors;
@@ -172,7 +189,7 @@ declare const pxToRem: (pxValue: number | string, baseSize?: number) => string;
172
189
  * @param baseSize - Base font size in pixels. Default is 16px
173
190
  * @returns A new object with pixel values converted to rem
174
191
  */
175
- declare const convertPaletteToRem: (obj: Record<string, any>, baseSize?: number) => Record<string, any>;
192
+ declare const convertPaletteToRem: (obj: Record<string, any>, baseSize?: number, parentKey?: string) => Record<string, any>;
176
193
  /**
177
194
  * Функція для отримання стилів кнопки за варіантом, кольором, станом та розміром
178
195
  */
@@ -252,10 +269,10 @@ interface ChevronLeftIconProps extends SVGProps<SVGSVGElement> {
252
269
  }
253
270
  declare const ChevronLeftIcon: ({ fill, ...props }: ChevronLeftIconProps) => react_jsx_runtime.JSX.Element;
254
271
 
255
- interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
272
+ interface ChevronRightIconProps$2 extends SVGProps<SVGSVGElement> {
256
273
  fill?: string;
257
274
  }
258
- declare const ChevronRightIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
275
+ declare const ChevronRightIcon: ({ fill, ...props }: ChevronRightIconProps$2) => react_jsx_runtime.JSX.Element;
259
276
 
260
277
  interface ClosedLockIconProps extends SVGProps<SVGSVGElement> {
261
278
  fill?: string;
@@ -312,10 +329,10 @@ interface HomepageIconProps extends SVGProps<SVGSVGElement> {
312
329
  }
313
330
  declare const HomepageIcon: ({ fill, ...props }: HomepageIconProps) => react_jsx_runtime.JSX.Element;
314
331
 
315
- interface InfoCircleIconProps extends SVGProps<SVGSVGElement> {
332
+ interface InfoCircleIconProps$2 extends SVGProps<SVGSVGElement> {
316
333
  fill?: string;
317
334
  }
318
- declare const InfoCircleIcon: ({ fill, ...props }: InfoCircleIconProps) => react_jsx_runtime.JSX.Element;
335
+ declare const InfoCircleIcon: ({ fill, ...props }: InfoCircleIconProps$2) => react_jsx_runtime.JSX.Element;
319
336
 
320
337
  interface MapRadarIconProps extends SVGProps<SVGSVGElement> {
321
338
  fill?: string;
@@ -388,6 +405,26 @@ interface VectorIconProps extends SVGProps<SVGSVGElement> {
388
405
  }
389
406
  declare const VectorIcon: ({ fill, ...props }: VectorIconProps) => react_jsx_runtime.JSX.Element;
390
407
 
408
+ interface InfoCircleIconProps$1 extends SVGProps<SVGSVGElement> {
409
+ fill?: string;
410
+ }
411
+ declare const BallsMenu: ({ fill, ...props }: InfoCircleIconProps$1) => react_jsx_runtime.JSX.Element;
412
+
413
+ interface InfoCircleIconProps extends SVGProps<SVGSVGElement> {
414
+ fill?: string;
415
+ }
416
+ declare const CheckIcon: ({ fill, ...props }: InfoCircleIconProps) => react_jsx_runtime.JSX.Element;
417
+
418
+ interface ChevronRightIconProps$1 extends SVGProps<SVGSVGElement> {
419
+ fill?: string;
420
+ }
421
+ declare const ChevronDownIcon: ({ fill, ...props }: ChevronRightIconProps$1) => react_jsx_runtime.JSX.Element;
422
+
423
+ interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
424
+ fill?: string;
425
+ }
426
+ declare const ChevronUpIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
427
+
391
428
  interface SidebarProps {
392
429
  defaultCollapsed?: boolean;
393
430
  children: any;
@@ -462,7 +499,7 @@ type ListMenuItemProps = ListMenuItemBase & (ListMenuItemAnchorProps | ListMenuI
462
499
  declare const ListMenuItem: ({ active, label, count, ...props }: ListMenuItemProps) => react_jsx_runtime.JSX.Element;
463
500
 
464
501
  interface ListMenuSectionProps {
465
- items: ReactNode | ReactNode[];
502
+ items: any;
466
503
  title?: string;
467
504
  }
468
505
  declare const ListMenuSection: ({ title, items }: ListMenuSectionProps) => react_jsx_runtime.JSX.Element;
@@ -501,11 +538,11 @@ type RenderHeaderCellProps<T = string> = {
501
538
  interface TableProps {
502
539
  columns: ColumnTable[];
503
540
  rowCount: number;
504
- renderCell: (props: RenderCellProps<any>) => ReactNode;
505
- renderHeaderCell: (props: RenderHeaderCellProps<any>) => ReactNode;
541
+ renderCell: (props: RenderCellProps<any>) => any;
542
+ renderHeaderCell: (props: RenderHeaderCellProps<any>) => any;
506
543
  rowIds?: string[];
507
544
  }
508
- declare const Table: FC<TableProps>;
545
+ declare const Table: ({ columns, rowCount, renderCell, renderHeaderCell, rowIds }: TableProps) => react_jsx_runtime.JSX.Element;
509
546
 
510
547
  interface PaginationProps {
511
548
  total_items: number;
@@ -513,7 +550,33 @@ interface PaginationProps {
513
550
  offset: number;
514
551
  onChangePage: (offset: number) => void;
515
552
  }
516
- declare const Pagination: FC<PaginationProps>;
553
+ declare const Pagination: ({ total_items, limit, offset, onChangePage }: PaginationProps) => react_jsx_runtime.JSX.Element;
554
+
555
+ interface ContextMenuProps {
556
+ isOpen: boolean;
557
+ onClick: () => void;
558
+ onClickOutside: (e: MouseEvent) => void;
559
+ size?: ButtonSize;
560
+ disabled?: boolean;
561
+ fullWidth?: boolean;
562
+ className?: string;
563
+ children?: any;
564
+ anchor?: any;
565
+ positions?: PopoverPosition[] | PopoverPosition;
566
+ align?: PopoverAlign;
567
+ }
568
+ declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
569
+
570
+ interface StyledProps {
571
+ }
572
+ declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
573
+
574
+ declare const useContextMenuControl: () => {
575
+ isOpen: boolean;
576
+ toggleMenu: () => void;
577
+ closeMenu: () => void;
578
+ openMenu: () => void;
579
+ };
517
580
 
518
581
  interface PageLayoutProps {
519
582
  header?: any;
@@ -527,4 +590,22 @@ interface StyledContainerProps {
527
590
  }
528
591
  declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledContainerProps>> & string;
529
592
 
530
- export { AlertIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, type Breakpoint, BugReportIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, ChevronLeftIcon, ChevronRightIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, EditUserIcon, EnableVisibleIcon, EnterArrowLeftIcon, FiltersIcon, GlobalStyle, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleIcon, type InputSize, type InputState, type InputVariant, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MoonIcon, type NestedColorPaths, OpenLockIcon, OrganizationIcon, PageLayout, Pagination, type PaginationProps, PasswordFinderIcon, PhonebookIcon, PrintIcon, Profiler2Icon, ProfilerIcon, type RenderCellProps, type RenderHeaderCellProps, SandBoxIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, StyledContainer, SunIcon, Table, type Theme, ThemeProvider, Typography, type TypographyProps, type TypographyVariant, UpRightArrowCircleIcon, VectorIcon, convertPaletteToRem, darkTheme, getBreakpoint, getButtonSizeStyles, getButtonStyles, getTypographyStyles, lightTheme, lightThemePx, pxToRem, resolveThemeColor };
593
+ interface Graph2DProps {
594
+ graphData?: GraphData;
595
+ linkSource?: string;
596
+ linkTarget?: string;
597
+ width?: number;
598
+ height?: number;
599
+ config?: {
600
+ nodeSizeFactor: number;
601
+ fontSize: number;
602
+ nodeSizeBase: number;
603
+ textPaddingFactor: number;
604
+ };
605
+ onNodeClick?: (node: any) => void;
606
+ onLinkClick?: (link: any) => void;
607
+ }
608
+
609
+ declare const Graph2D: ({ graphData, width, height, linkTarget, linkSource, config, onNodeClick, onLinkClick, }: Graph2DProps) => react_jsx_runtime.JSX.Element;
610
+
611
+ export { AlertIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, type Breakpoint, BugReportIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, ContextMenu, ContextMenuDelimiter, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, EditUserIcon, EnableVisibleIcon, EnterArrowLeftIcon, FiltersIcon, GlobalStyle, Graph2D, type Graph2DProps, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleIcon, type InputSize, type InputState, type InputVariant, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MoonIcon, type NestedColorPaths, OpenLockIcon, OrganizationIcon, PageLayout, Pagination, type PaginationProps, PasswordFinderIcon, PhonebookIcon, PrintIcon, Profiler2Icon, ProfilerIcon, type RenderCellProps, type RenderHeaderCellProps, SandBoxIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, StyledContainer, SunIcon, Table, type Theme, ThemeProvider, Typography, type TypographyProps, type TypographyVariant, UpRightArrowCircleIcon, VectorIcon, convertPaletteToRem, darkTheme, getBreakpoint, getButtonSizeStyles, getButtonStyles, getTypographyStyles, lightTheme, lightThemePx, pxToRem, resolveThemeColor, useContextMenuControl };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,12 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import react__default, { SVGProps, ElementType, CSSProperties as CSSProperties$1, ReactNode, FC } from 'react';
3
+ import react__default, { SVGProps, ElementType, CSSProperties as CSSProperties$1 } from 'react';
4
4
  import * as styled_components from 'styled-components';
5
- import { DefaultTheme, CSSProperties } from 'styled-components';
5
+ import { CSSProperties, DefaultTheme } from 'styled-components';
6
+ import { PopoverPosition, PopoverAlign } from 'react-tiny-popover';
6
7
  import * as styled_components_dist_types from 'styled-components/dist/types';
7
8
  import { DefaultTheme as DefaultTheme$1 } from 'styled-components/dist/types';
9
+ import { GraphData } from 'react-force-graph-2d';
8
10
 
9
11
  declare const GlobalStyle: react.NamedExoticComponent<styled_components.ExecutionProps & object>;
10
12
 
@@ -141,6 +143,21 @@ type Theme = {
141
143
  margin: string;
142
144
  };
143
145
  };
146
+ contextMenu: {
147
+ button: Record<ButtonState, ButtonElementStyle>;
148
+ padding: number;
149
+ delimeter: {
150
+ style: CSSProperties['borderStyle'];
151
+ color: string;
152
+ thickness: number;
153
+ marginInline: number | string;
154
+ marginBlock: number | string;
155
+ };
156
+ shadow: string;
157
+ icon: {
158
+ size: number | string;
159
+ };
160
+ };
144
161
  };
145
162
  type ThemeColors = Theme['colors'];
146
163
  type ColorCategory = keyof ThemeColors;
@@ -172,7 +189,7 @@ declare const pxToRem: (pxValue: number | string, baseSize?: number) => string;
172
189
  * @param baseSize - Base font size in pixels. Default is 16px
173
190
  * @returns A new object with pixel values converted to rem
174
191
  */
175
- declare const convertPaletteToRem: (obj: Record<string, any>, baseSize?: number) => Record<string, any>;
192
+ declare const convertPaletteToRem: (obj: Record<string, any>, baseSize?: number, parentKey?: string) => Record<string, any>;
176
193
  /**
177
194
  * Функція для отримання стилів кнопки за варіантом, кольором, станом та розміром
178
195
  */
@@ -252,10 +269,10 @@ interface ChevronLeftIconProps extends SVGProps<SVGSVGElement> {
252
269
  }
253
270
  declare const ChevronLeftIcon: ({ fill, ...props }: ChevronLeftIconProps) => react_jsx_runtime.JSX.Element;
254
271
 
255
- interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
272
+ interface ChevronRightIconProps$2 extends SVGProps<SVGSVGElement> {
256
273
  fill?: string;
257
274
  }
258
- declare const ChevronRightIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
275
+ declare const ChevronRightIcon: ({ fill, ...props }: ChevronRightIconProps$2) => react_jsx_runtime.JSX.Element;
259
276
 
260
277
  interface ClosedLockIconProps extends SVGProps<SVGSVGElement> {
261
278
  fill?: string;
@@ -312,10 +329,10 @@ interface HomepageIconProps extends SVGProps<SVGSVGElement> {
312
329
  }
313
330
  declare const HomepageIcon: ({ fill, ...props }: HomepageIconProps) => react_jsx_runtime.JSX.Element;
314
331
 
315
- interface InfoCircleIconProps extends SVGProps<SVGSVGElement> {
332
+ interface InfoCircleIconProps$2 extends SVGProps<SVGSVGElement> {
316
333
  fill?: string;
317
334
  }
318
- declare const InfoCircleIcon: ({ fill, ...props }: InfoCircleIconProps) => react_jsx_runtime.JSX.Element;
335
+ declare const InfoCircleIcon: ({ fill, ...props }: InfoCircleIconProps$2) => react_jsx_runtime.JSX.Element;
319
336
 
320
337
  interface MapRadarIconProps extends SVGProps<SVGSVGElement> {
321
338
  fill?: string;
@@ -388,6 +405,26 @@ interface VectorIconProps extends SVGProps<SVGSVGElement> {
388
405
  }
389
406
  declare const VectorIcon: ({ fill, ...props }: VectorIconProps) => react_jsx_runtime.JSX.Element;
390
407
 
408
+ interface InfoCircleIconProps$1 extends SVGProps<SVGSVGElement> {
409
+ fill?: string;
410
+ }
411
+ declare const BallsMenu: ({ fill, ...props }: InfoCircleIconProps$1) => react_jsx_runtime.JSX.Element;
412
+
413
+ interface InfoCircleIconProps extends SVGProps<SVGSVGElement> {
414
+ fill?: string;
415
+ }
416
+ declare const CheckIcon: ({ fill, ...props }: InfoCircleIconProps) => react_jsx_runtime.JSX.Element;
417
+
418
+ interface ChevronRightIconProps$1 extends SVGProps<SVGSVGElement> {
419
+ fill?: string;
420
+ }
421
+ declare const ChevronDownIcon: ({ fill, ...props }: ChevronRightIconProps$1) => react_jsx_runtime.JSX.Element;
422
+
423
+ interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
424
+ fill?: string;
425
+ }
426
+ declare const ChevronUpIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
427
+
391
428
  interface SidebarProps {
392
429
  defaultCollapsed?: boolean;
393
430
  children: any;
@@ -462,7 +499,7 @@ type ListMenuItemProps = ListMenuItemBase & (ListMenuItemAnchorProps | ListMenuI
462
499
  declare const ListMenuItem: ({ active, label, count, ...props }: ListMenuItemProps) => react_jsx_runtime.JSX.Element;
463
500
 
464
501
  interface ListMenuSectionProps {
465
- items: ReactNode | ReactNode[];
502
+ items: any;
466
503
  title?: string;
467
504
  }
468
505
  declare const ListMenuSection: ({ title, items }: ListMenuSectionProps) => react_jsx_runtime.JSX.Element;
@@ -501,11 +538,11 @@ type RenderHeaderCellProps<T = string> = {
501
538
  interface TableProps {
502
539
  columns: ColumnTable[];
503
540
  rowCount: number;
504
- renderCell: (props: RenderCellProps<any>) => ReactNode;
505
- renderHeaderCell: (props: RenderHeaderCellProps<any>) => ReactNode;
541
+ renderCell: (props: RenderCellProps<any>) => any;
542
+ renderHeaderCell: (props: RenderHeaderCellProps<any>) => any;
506
543
  rowIds?: string[];
507
544
  }
508
- declare const Table: FC<TableProps>;
545
+ declare const Table: ({ columns, rowCount, renderCell, renderHeaderCell, rowIds }: TableProps) => react_jsx_runtime.JSX.Element;
509
546
 
510
547
  interface PaginationProps {
511
548
  total_items: number;
@@ -513,7 +550,33 @@ interface PaginationProps {
513
550
  offset: number;
514
551
  onChangePage: (offset: number) => void;
515
552
  }
516
- declare const Pagination: FC<PaginationProps>;
553
+ declare const Pagination: ({ total_items, limit, offset, onChangePage }: PaginationProps) => react_jsx_runtime.JSX.Element;
554
+
555
+ interface ContextMenuProps {
556
+ isOpen: boolean;
557
+ onClick: () => void;
558
+ onClickOutside: (e: MouseEvent) => void;
559
+ size?: ButtonSize;
560
+ disabled?: boolean;
561
+ fullWidth?: boolean;
562
+ className?: string;
563
+ children?: any;
564
+ anchor?: any;
565
+ positions?: PopoverPosition[] | PopoverPosition;
566
+ align?: PopoverAlign;
567
+ }
568
+ declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
569
+
570
+ interface StyledProps {
571
+ }
572
+ declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
573
+
574
+ declare const useContextMenuControl: () => {
575
+ isOpen: boolean;
576
+ toggleMenu: () => void;
577
+ closeMenu: () => void;
578
+ openMenu: () => void;
579
+ };
517
580
 
518
581
  interface PageLayoutProps {
519
582
  header?: any;
@@ -527,4 +590,22 @@ interface StyledContainerProps {
527
590
  }
528
591
  declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledContainerProps>> & string;
529
592
 
530
- export { AlertIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, type Breakpoint, BugReportIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, ChevronLeftIcon, ChevronRightIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, EditUserIcon, EnableVisibleIcon, EnterArrowLeftIcon, FiltersIcon, GlobalStyle, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleIcon, type InputSize, type InputState, type InputVariant, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MoonIcon, type NestedColorPaths, OpenLockIcon, OrganizationIcon, PageLayout, Pagination, type PaginationProps, PasswordFinderIcon, PhonebookIcon, PrintIcon, Profiler2Icon, ProfilerIcon, type RenderCellProps, type RenderHeaderCellProps, SandBoxIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, StyledContainer, SunIcon, Table, type Theme, ThemeProvider, Typography, type TypographyProps, type TypographyVariant, UpRightArrowCircleIcon, VectorIcon, convertPaletteToRem, darkTheme, getBreakpoint, getButtonSizeStyles, getButtonStyles, getTypographyStyles, lightTheme, lightThemePx, pxToRem, resolveThemeColor };
593
+ interface Graph2DProps {
594
+ graphData?: GraphData;
595
+ linkSource?: string;
596
+ linkTarget?: string;
597
+ width?: number;
598
+ height?: number;
599
+ config?: {
600
+ nodeSizeFactor: number;
601
+ fontSize: number;
602
+ nodeSizeBase: number;
603
+ textPaddingFactor: number;
604
+ };
605
+ onNodeClick?: (node: any) => void;
606
+ onLinkClick?: (link: any) => void;
607
+ }
608
+
609
+ declare const Graph2D: ({ graphData, width, height, linkTarget, linkSource, config, onNodeClick, onLinkClick, }: Graph2DProps) => react_jsx_runtime.JSX.Element;
610
+
611
+ export { AlertIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, type Breakpoint, BugReportIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, ContextMenu, ContextMenuDelimiter, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, EditUserIcon, EnableVisibleIcon, EnterArrowLeftIcon, FiltersIcon, GlobalStyle, Graph2D, type Graph2DProps, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleIcon, type InputSize, type InputState, type InputVariant, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MoonIcon, type NestedColorPaths, OpenLockIcon, OrganizationIcon, PageLayout, Pagination, type PaginationProps, PasswordFinderIcon, PhonebookIcon, PrintIcon, Profiler2Icon, ProfilerIcon, type RenderCellProps, type RenderHeaderCellProps, SandBoxIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, StyledContainer, SunIcon, Table, type Theme, ThemeProvider, Typography, type TypographyProps, type TypographyVariant, UpRightArrowCircleIcon, VectorIcon, convertPaletteToRem, darkTheme, getBreakpoint, getButtonSizeStyles, getButtonStyles, getTypographyStyles, lightTheme, lightThemePx, pxToRem, resolveThemeColor, useContextMenuControl };