@cyber-harbour/ui 1.0.18 → 1.0.19

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,6 +1,6 @@
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
5
  import { DefaultTheme, CSSProperties } from 'styled-components';
6
6
  import * as styled_components_dist_types from 'styled-components/dist/types';
@@ -252,10 +252,10 @@ interface ChevronLeftIconProps extends SVGProps<SVGSVGElement> {
252
252
  }
253
253
  declare const ChevronLeftIcon: ({ fill, ...props }: ChevronLeftIconProps) => react_jsx_runtime.JSX.Element;
254
254
 
255
- interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
255
+ interface ChevronRightIconProps$2 extends SVGProps<SVGSVGElement> {
256
256
  fill?: string;
257
257
  }
258
- declare const ChevronRightIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
258
+ declare const ChevronRightIcon: ({ fill, ...props }: ChevronRightIconProps$2) => react_jsx_runtime.JSX.Element;
259
259
 
260
260
  interface ClosedLockIconProps extends SVGProps<SVGSVGElement> {
261
261
  fill?: string;
@@ -312,10 +312,10 @@ interface HomepageIconProps extends SVGProps<SVGSVGElement> {
312
312
  }
313
313
  declare const HomepageIcon: ({ fill, ...props }: HomepageIconProps) => react_jsx_runtime.JSX.Element;
314
314
 
315
- interface InfoCircleIconProps extends SVGProps<SVGSVGElement> {
315
+ interface InfoCircleIconProps$2 extends SVGProps<SVGSVGElement> {
316
316
  fill?: string;
317
317
  }
318
- declare const InfoCircleIcon: ({ fill, ...props }: InfoCircleIconProps) => react_jsx_runtime.JSX.Element;
318
+ declare const InfoCircleIcon: ({ fill, ...props }: InfoCircleIconProps$2) => react_jsx_runtime.JSX.Element;
319
319
 
320
320
  interface MapRadarIconProps extends SVGProps<SVGSVGElement> {
321
321
  fill?: string;
@@ -388,6 +388,26 @@ interface VectorIconProps extends SVGProps<SVGSVGElement> {
388
388
  }
389
389
  declare const VectorIcon: ({ fill, ...props }: VectorIconProps) => react_jsx_runtime.JSX.Element;
390
390
 
391
+ interface InfoCircleIconProps$1 extends SVGProps<SVGSVGElement> {
392
+ fill?: string;
393
+ }
394
+ declare const BallsMenu: ({ fill, ...props }: InfoCircleIconProps$1) => react_jsx_runtime.JSX.Element;
395
+
396
+ interface InfoCircleIconProps extends SVGProps<SVGSVGElement> {
397
+ fill?: string;
398
+ }
399
+ declare const CheckIcon: ({ fill, ...props }: InfoCircleIconProps) => react_jsx_runtime.JSX.Element;
400
+
401
+ interface ChevronRightIconProps$1 extends SVGProps<SVGSVGElement> {
402
+ fill?: string;
403
+ }
404
+ declare const ChevronDownIcon: ({ fill, ...props }: ChevronRightIconProps$1) => react_jsx_runtime.JSX.Element;
405
+
406
+ interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
407
+ fill?: string;
408
+ }
409
+ declare const ChevronUpIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
410
+
391
411
  interface SidebarProps {
392
412
  defaultCollapsed?: boolean;
393
413
  children: any;
@@ -462,7 +482,7 @@ type ListMenuItemProps = ListMenuItemBase & (ListMenuItemAnchorProps | ListMenuI
462
482
  declare const ListMenuItem: ({ active, label, count, ...props }: ListMenuItemProps) => react_jsx_runtime.JSX.Element;
463
483
 
464
484
  interface ListMenuSectionProps {
465
- items: ReactNode | ReactNode[];
485
+ items: any;
466
486
  title?: string;
467
487
  }
468
488
  declare const ListMenuSection: ({ title, items }: ListMenuSectionProps) => react_jsx_runtime.JSX.Element;
@@ -501,11 +521,11 @@ type RenderHeaderCellProps<T = string> = {
501
521
  interface TableProps {
502
522
  columns: ColumnTable[];
503
523
  rowCount: number;
504
- renderCell: (props: RenderCellProps<any>) => ReactNode;
505
- renderHeaderCell: (props: RenderHeaderCellProps<any>) => ReactNode;
524
+ renderCell: (props: RenderCellProps<any>) => any;
525
+ renderHeaderCell: (props: RenderHeaderCellProps<any>) => any;
506
526
  rowIds?: string[];
507
527
  }
508
- declare const Table: FC<TableProps>;
528
+ declare const Table: ({ columns, rowCount, renderCell, renderHeaderCell, rowIds }: TableProps) => react_jsx_runtime.JSX.Element;
509
529
 
510
530
  interface PaginationProps {
511
531
  total_items: number;
@@ -513,7 +533,7 @@ interface PaginationProps {
513
533
  offset: number;
514
534
  onChangePage: (offset: number) => void;
515
535
  }
516
- declare const Pagination: FC<PaginationProps>;
536
+ declare const Pagination: ({ total_items, limit, offset, onChangePage }: PaginationProps) => react_jsx_runtime.JSX.Element;
517
537
 
518
538
  interface PageLayoutProps {
519
539
  header?: any;
@@ -527,4 +547,4 @@ interface StyledContainerProps {
527
547
  }
528
548
  declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledContainerProps>> & string;
529
549
 
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 };
550
+ 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, 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 };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
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
5
  import { DefaultTheme, CSSProperties } from 'styled-components';
6
6
  import * as styled_components_dist_types from 'styled-components/dist/types';
@@ -252,10 +252,10 @@ interface ChevronLeftIconProps extends SVGProps<SVGSVGElement> {
252
252
  }
253
253
  declare const ChevronLeftIcon: ({ fill, ...props }: ChevronLeftIconProps) => react_jsx_runtime.JSX.Element;
254
254
 
255
- interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
255
+ interface ChevronRightIconProps$2 extends SVGProps<SVGSVGElement> {
256
256
  fill?: string;
257
257
  }
258
- declare const ChevronRightIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
258
+ declare const ChevronRightIcon: ({ fill, ...props }: ChevronRightIconProps$2) => react_jsx_runtime.JSX.Element;
259
259
 
260
260
  interface ClosedLockIconProps extends SVGProps<SVGSVGElement> {
261
261
  fill?: string;
@@ -312,10 +312,10 @@ interface HomepageIconProps extends SVGProps<SVGSVGElement> {
312
312
  }
313
313
  declare const HomepageIcon: ({ fill, ...props }: HomepageIconProps) => react_jsx_runtime.JSX.Element;
314
314
 
315
- interface InfoCircleIconProps extends SVGProps<SVGSVGElement> {
315
+ interface InfoCircleIconProps$2 extends SVGProps<SVGSVGElement> {
316
316
  fill?: string;
317
317
  }
318
- declare const InfoCircleIcon: ({ fill, ...props }: InfoCircleIconProps) => react_jsx_runtime.JSX.Element;
318
+ declare const InfoCircleIcon: ({ fill, ...props }: InfoCircleIconProps$2) => react_jsx_runtime.JSX.Element;
319
319
 
320
320
  interface MapRadarIconProps extends SVGProps<SVGSVGElement> {
321
321
  fill?: string;
@@ -388,6 +388,26 @@ interface VectorIconProps extends SVGProps<SVGSVGElement> {
388
388
  }
389
389
  declare const VectorIcon: ({ fill, ...props }: VectorIconProps) => react_jsx_runtime.JSX.Element;
390
390
 
391
+ interface InfoCircleIconProps$1 extends SVGProps<SVGSVGElement> {
392
+ fill?: string;
393
+ }
394
+ declare const BallsMenu: ({ fill, ...props }: InfoCircleIconProps$1) => react_jsx_runtime.JSX.Element;
395
+
396
+ interface InfoCircleIconProps extends SVGProps<SVGSVGElement> {
397
+ fill?: string;
398
+ }
399
+ declare const CheckIcon: ({ fill, ...props }: InfoCircleIconProps) => react_jsx_runtime.JSX.Element;
400
+
401
+ interface ChevronRightIconProps$1 extends SVGProps<SVGSVGElement> {
402
+ fill?: string;
403
+ }
404
+ declare const ChevronDownIcon: ({ fill, ...props }: ChevronRightIconProps$1) => react_jsx_runtime.JSX.Element;
405
+
406
+ interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
407
+ fill?: string;
408
+ }
409
+ declare const ChevronUpIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
410
+
391
411
  interface SidebarProps {
392
412
  defaultCollapsed?: boolean;
393
413
  children: any;
@@ -462,7 +482,7 @@ type ListMenuItemProps = ListMenuItemBase & (ListMenuItemAnchorProps | ListMenuI
462
482
  declare const ListMenuItem: ({ active, label, count, ...props }: ListMenuItemProps) => react_jsx_runtime.JSX.Element;
463
483
 
464
484
  interface ListMenuSectionProps {
465
- items: ReactNode | ReactNode[];
485
+ items: any;
466
486
  title?: string;
467
487
  }
468
488
  declare const ListMenuSection: ({ title, items }: ListMenuSectionProps) => react_jsx_runtime.JSX.Element;
@@ -501,11 +521,11 @@ type RenderHeaderCellProps<T = string> = {
501
521
  interface TableProps {
502
522
  columns: ColumnTable[];
503
523
  rowCount: number;
504
- renderCell: (props: RenderCellProps<any>) => ReactNode;
505
- renderHeaderCell: (props: RenderHeaderCellProps<any>) => ReactNode;
524
+ renderCell: (props: RenderCellProps<any>) => any;
525
+ renderHeaderCell: (props: RenderHeaderCellProps<any>) => any;
506
526
  rowIds?: string[];
507
527
  }
508
- declare const Table: FC<TableProps>;
528
+ declare const Table: ({ columns, rowCount, renderCell, renderHeaderCell, rowIds }: TableProps) => react_jsx_runtime.JSX.Element;
509
529
 
510
530
  interface PaginationProps {
511
531
  total_items: number;
@@ -513,7 +533,7 @@ interface PaginationProps {
513
533
  offset: number;
514
534
  onChangePage: (offset: number) => void;
515
535
  }
516
- declare const Pagination: FC<PaginationProps>;
536
+ declare const Pagination: ({ total_items, limit, offset, onChangePage }: PaginationProps) => react_jsx_runtime.JSX.Element;
517
537
 
518
538
  interface PageLayoutProps {
519
539
  header?: any;
@@ -527,4 +547,4 @@ interface StyledContainerProps {
527
547
  }
528
548
  declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledContainerProps>> & string;
529
549
 
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 };
550
+ 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, 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 };