@cyber-harbour/ui 1.1.38-dark-theme.0 → 1.1.38-dev.1

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
@@ -37,6 +37,7 @@ type LabelSizeStyle = {
37
37
  marginTop: number | string;
38
38
  };
39
39
  };
40
+ type AlertColor = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'error';
40
41
  type SwitchState = 'default' | 'checked' | 'disabled';
41
42
  type Breakpoint = 'xs' | 's' | 'm' | 'l' | 'xl';
42
43
  type ButtonElementStyle = {
@@ -189,6 +190,11 @@ type Theme = {
189
190
  section: {
190
191
  background: string;
191
192
  padding: string;
193
+ title: {
194
+ color: string;
195
+ fontSize: string;
196
+ fontWeight: number;
197
+ };
192
198
  };
193
199
  delimeter: {
194
200
  color: string;
@@ -276,16 +282,10 @@ type Theme = {
276
282
  borderRadius: number | string;
277
283
  fontSize: number | string;
278
284
  gap: number | string;
279
- icon: {
280
- width: number | string;
281
- height: number | string;
282
- paddingTop: number | string;
283
- };
284
- color: {
285
- icon: string;
285
+ colors: Record<AlertColor, {
286
286
  text: string;
287
287
  background: string;
288
- };
288
+ }>;
289
289
  };
290
290
  label: {
291
291
  sizes: Record<LabelSize, LabelSizeStyle>;
@@ -488,6 +488,16 @@ interface AlertIconProps extends SVGProps<SVGSVGElement> {
488
488
  }
489
489
  declare const AlertIcon: ({ fill, ...props }: AlertIconProps) => react_jsx_runtime.JSX.Element;
490
490
 
491
+ interface ImageIconProps extends SVGProps<SVGSVGElement> {
492
+ fill?: string;
493
+ }
494
+ declare const ImageIcon: ({ fill, ...props }: ImageIconProps) => react_jsx_runtime.JSX.Element;
495
+
496
+ interface MinusIconProps extends SVGProps<SVGSVGElement> {
497
+ fill?: string;
498
+ }
499
+ declare const MinusIcon: ({ fill, ...props }: MinusIconProps) => react_jsx_runtime.JSX.Element;
500
+
491
501
  interface ApiIconProps extends SVGProps<SVGSVGElement> {
492
502
  fill?: string;
493
503
  }
@@ -1061,11 +1071,14 @@ interface TableProps {
1061
1071
  columns: ColumnTable[];
1062
1072
  rowCount: number;
1063
1073
  renderCell: (props: RenderCellProps<any>) => any;
1064
- renderHeaderCell: (props: RenderHeaderCellProps<any>) => any;
1074
+ renderHeaderCell?: (props: RenderHeaderCellProps<any>) => any;
1065
1075
  rowIds?: string[];
1066
1076
  className?: string;
1077
+ hasHeader?: boolean;
1078
+ hasBorder?: boolean;
1079
+ cellPadding?: number;
1067
1080
  }
1068
- declare const Table: ({ columns, rowCount, renderCell, renderHeaderCell, rowIds, className }: TableProps) => react_jsx_runtime.JSX.Element;
1081
+ declare const Table: ({ columns, rowCount, renderCell, renderHeaderCell, rowIds, className, hasHeader, hasBorder, cellPadding, }: TableProps) => react_jsx_runtime.JSX.Element;
1069
1082
 
1070
1083
  interface PaginationProps {
1071
1084
  total_items: number;
@@ -1377,12 +1390,12 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
1377
1390
  } & react__default.RefAttributes<unknown>>;
1378
1391
 
1379
1392
  type AlertProps = FabricComponent<{
1380
- title?: any;
1381
- note?: any;
1382
- }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1393
+ children?: any;
1394
+ color?: AlertColor;
1395
+ }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children' | 'color'>;
1383
1396
  declare const Alert: react__default.ForwardRefExoticComponent<{
1384
- title?: any;
1385
- note?: any;
1397
+ children?: any;
1398
+ color?: AlertColor;
1386
1399
  } & {
1387
1400
  m?: string | number;
1388
1401
  mt?: string | number;
@@ -1401,27 +1414,27 @@ declare const Alert: react__default.ForwardRefExoticComponent<{
1401
1414
  } & {
1402
1415
  media?: {
1403
1416
  xs?: Partial<{
1404
- title?: any;
1405
- note?: any;
1417
+ children?: any;
1418
+ color?: AlertColor;
1406
1419
  }> | undefined;
1407
1420
  s?: Partial<{
1408
- title?: any;
1409
- note?: any;
1421
+ children?: any;
1422
+ color?: AlertColor;
1410
1423
  }> | undefined;
1411
1424
  m?: Partial<{
1412
- title?: any;
1413
- note?: any;
1425
+ children?: any;
1426
+ color?: AlertColor;
1414
1427
  }> | undefined;
1415
1428
  l?: Partial<{
1416
- title?: any;
1417
- note?: any;
1429
+ children?: any;
1430
+ color?: AlertColor;
1418
1431
  }> | undefined;
1419
1432
  xl?: Partial<{
1420
- title?: any;
1421
- note?: any;
1433
+ children?: any;
1434
+ color?: AlertColor;
1422
1435
  }> | undefined;
1423
1436
  } | undefined;
1424
- } & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
1437
+ } & Omit<react__default.HTMLAttributes<HTMLDivElement>, "color" | "children"> & {
1425
1438
  media?: {
1426
1439
  xs?: Partial<AlertProps> | undefined;
1427
1440
  s?: Partial<AlertProps> | undefined;
@@ -1652,6 +1665,41 @@ type CounterProps = {
1652
1665
  };
1653
1666
  declare const Counter: FC<CounterProps>;
1654
1667
 
1668
+ type FileFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange' | 'size'> & {
1669
+ error?: string;
1670
+ variant?: InputVariant;
1671
+ multiple?: boolean;
1672
+ accept?: string;
1673
+ uploadButtonText?: string;
1674
+ dragDropPlaceholder?: string;
1675
+ infoPlaceholder?: string;
1676
+ dragDropText?: string;
1677
+ enableFilePreview?: boolean;
1678
+ value?: File[];
1679
+ onChange?: (files: File[]) => void;
1680
+ onError?: (error: string) => void;
1681
+ dragDropClassName?: string;
1682
+ hasIcon?: boolean;
1683
+ hasButton?: boolean;
1684
+ };
1685
+ declare const FileField: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "onChange"> & {
1686
+ error?: string;
1687
+ variant?: InputVariant;
1688
+ multiple?: boolean;
1689
+ accept?: string;
1690
+ uploadButtonText?: string;
1691
+ dragDropPlaceholder?: string;
1692
+ infoPlaceholder?: string;
1693
+ dragDropText?: string;
1694
+ enableFilePreview?: boolean;
1695
+ value?: File[];
1696
+ onChange?: (files: File[]) => void;
1697
+ onError?: (error: string) => void;
1698
+ dragDropClassName?: string;
1699
+ hasIcon?: boolean;
1700
+ hasButton?: boolean;
1701
+ } & react.RefAttributes<HTMLInputElement>>;
1702
+
1655
1703
  interface PageLayoutProps {
1656
1704
  children?: any;
1657
1705
  className?: string;
@@ -1706,6 +1754,21 @@ declare const Container: react.ForwardRefExoticComponent<ContainerProps & {
1706
1754
  } | undefined;
1707
1755
  } & react.RefAttributes<unknown>>;
1708
1756
 
1757
+ type SplitterLayoutProps = {
1758
+ columns: {
1759
+ content: React.ReactNode;
1760
+ className?: string;
1761
+ style?: React.CSSProperties;
1762
+ }[];
1763
+ style?: React.CSSProperties;
1764
+ className?: string;
1765
+ splitterClassName?: string;
1766
+ initialWidths: number[];
1767
+ minWidth?: number;
1768
+ storageKey?: string;
1769
+ };
1770
+ declare const SplitterLayout: ({ columns, initialWidths, style, className, splitterClassName, minWidth, storageKey, }: SplitterLayoutProps) => react_jsx_runtime.JSX.Element;
1771
+
1709
1772
  declare const Graph2D: any;
1710
1773
 
1711
1774
  interface Graph2DRef {
@@ -1945,4 +2008,20 @@ declare const FullscreenCard: react.ForwardRefExoticComponent<FullscreenCardProp
1945
2008
  } | undefined;
1946
2009
  } & react.RefAttributes<unknown>>;
1947
2010
 
1948
- export { type Action, Alert, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BurgerMenuIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, Counter, type CounterProps, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileIcon, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, GlobalStyle, Graph2D, type Graph2DProps, type Graph2DRef, type GraphData, type GraphState, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleFilledIcon, InfoCircleIcon, Input, type InputElementProps, type InputElementStyle, type InputProps, type InputSize, type InputSizeStyle, type InputState, type InputVariant, IosIcon, Label, type LabelSize, type LabelSizeStyle, Line, LinerProgress, type LinkObject, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MaximizeIcon, MicrosoftIcon, Modal, ModalBody, ModalFooter, ModalHeader, MoonIcon, type NestedColorPaths, type NodeButton, type NodeObject, OpenLockIcon, OrganizationIcon, Overlay, type OverlayProps, PageContent, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, RotateLeftIcon, RotateRightIcon, RowActionsMenu, SandBoxIcon, SearchIcon, Select, ShipIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, Styled, StyledContainer, type StyledFabricComponent, StyledMain, SubNav, SunIcon, Switch, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UserInCircleIcon, UsersIcon, VectorIcon, WayIcon, convertPaletteToRem, createComponent, createStyledComponent, darkTheme, darkThemePx, destructSpaceProps, generatePropertySpaceStyle, getBreakpoint, getButtonSizeStyles, getButtonStyles, getInputStyles, getResponsiveProps, getTypographyStyles, hexToRgba, lightTheme, lightThemePx, propToRem, pxToRem, remToPx, resolveThemeColor, useBreakpoint, useContextMenuControl, useTheme };
2011
+ type ImageExtension = 'jpeg' | 'jpg' | 'png' | 'gif' | 'bmp' | 'webp';
2012
+ type AudioExtension = 'mp3' | 'wav' | 'ogg' | 'flac';
2013
+ type DocumentExtension = 'pdf' | 'docx' | 'txt' | 'xlsx' | 'pptx';
2014
+ type VideoExtension = 'mp4' | 'webm';
2015
+ type CodeExtension = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'html' | 'css' | 'scss' | 'py' | 'java' | 'cpp' | 'c' | 'cs' | 'php' | 'rb' | 'go' | 'rs' | 'swift' | 'kt' | 'xml' | 'yaml' | 'yml' | 'md' | 'sql' | 'sh' | 'bash';
2016
+ type SupportedFileExtension = ImageExtension | AudioExtension | DocumentExtension | CodeExtension | VideoExtension;
2017
+
2018
+ type FileViewerProps = {
2019
+ path?: string;
2020
+ blob?: Blob;
2021
+ buffer?: ArrayBuffer;
2022
+ extension: SupportedFileExtension;
2023
+ not_supported_message?: string;
2024
+ };
2025
+ declare const FileViewer: (props: FileViewerProps) => react_jsx_runtime.JSX.Element;
2026
+
2027
+ export { type Action, Alert, type AlertColor, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BurgerMenuIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, Counter, type CounterProps, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileField, type FileFieldProps, FileIcon, FileViewer, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, GlobalStyle, Graph2D, type Graph2DProps, type Graph2DRef, type GraphData, type GraphState, Header, HeaderDelimeter, HeaderSection, HomepageIcon, ImageIcon, InfoCircleFilledIcon, InfoCircleIcon, Input, type InputElementProps, type InputElementStyle, type InputProps, type InputSize, type InputSizeStyle, type InputState, type InputVariant, IosIcon, Label, type LabelSize, type LabelSizeStyle, Line, LinerProgress, type LinkObject, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MaximizeIcon, MicrosoftIcon, MinusIcon, Modal, ModalBody, ModalFooter, ModalHeader, MoonIcon, type NestedColorPaths, type NodeButton, type NodeObject, OpenLockIcon, OrganizationIcon, Overlay, type OverlayProps, PageContent, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, RotateLeftIcon, RotateRightIcon, RowActionsMenu, SandBoxIcon, SearchIcon, Select, ShipIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SplitterLayout, StatisticIcon, Styled, StyledContainer, type StyledFabricComponent, StyledMain, SubNav, SunIcon, type SupportedFileExtension, Switch, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UserInCircleIcon, UsersIcon, VectorIcon, WayIcon, convertPaletteToRem, createComponent, createStyledComponent, darkTheme, darkThemePx, destructSpaceProps, generatePropertySpaceStyle, getBreakpoint, getButtonSizeStyles, getButtonStyles, getInputStyles, getResponsiveProps, getTypographyStyles, hexToRgba, lightTheme, lightThemePx, propToRem, pxToRem, remToPx, resolveThemeColor, useBreakpoint, useContextMenuControl, useTheme };
package/dist/index.d.ts CHANGED
@@ -37,6 +37,7 @@ type LabelSizeStyle = {
37
37
  marginTop: number | string;
38
38
  };
39
39
  };
40
+ type AlertColor = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'error';
40
41
  type SwitchState = 'default' | 'checked' | 'disabled';
41
42
  type Breakpoint = 'xs' | 's' | 'm' | 'l' | 'xl';
42
43
  type ButtonElementStyle = {
@@ -189,6 +190,11 @@ type Theme = {
189
190
  section: {
190
191
  background: string;
191
192
  padding: string;
193
+ title: {
194
+ color: string;
195
+ fontSize: string;
196
+ fontWeight: number;
197
+ };
192
198
  };
193
199
  delimeter: {
194
200
  color: string;
@@ -276,16 +282,10 @@ type Theme = {
276
282
  borderRadius: number | string;
277
283
  fontSize: number | string;
278
284
  gap: number | string;
279
- icon: {
280
- width: number | string;
281
- height: number | string;
282
- paddingTop: number | string;
283
- };
284
- color: {
285
- icon: string;
285
+ colors: Record<AlertColor, {
286
286
  text: string;
287
287
  background: string;
288
- };
288
+ }>;
289
289
  };
290
290
  label: {
291
291
  sizes: Record<LabelSize, LabelSizeStyle>;
@@ -488,6 +488,16 @@ interface AlertIconProps extends SVGProps<SVGSVGElement> {
488
488
  }
489
489
  declare const AlertIcon: ({ fill, ...props }: AlertIconProps) => react_jsx_runtime.JSX.Element;
490
490
 
491
+ interface ImageIconProps extends SVGProps<SVGSVGElement> {
492
+ fill?: string;
493
+ }
494
+ declare const ImageIcon: ({ fill, ...props }: ImageIconProps) => react_jsx_runtime.JSX.Element;
495
+
496
+ interface MinusIconProps extends SVGProps<SVGSVGElement> {
497
+ fill?: string;
498
+ }
499
+ declare const MinusIcon: ({ fill, ...props }: MinusIconProps) => react_jsx_runtime.JSX.Element;
500
+
491
501
  interface ApiIconProps extends SVGProps<SVGSVGElement> {
492
502
  fill?: string;
493
503
  }
@@ -1061,11 +1071,14 @@ interface TableProps {
1061
1071
  columns: ColumnTable[];
1062
1072
  rowCount: number;
1063
1073
  renderCell: (props: RenderCellProps<any>) => any;
1064
- renderHeaderCell: (props: RenderHeaderCellProps<any>) => any;
1074
+ renderHeaderCell?: (props: RenderHeaderCellProps<any>) => any;
1065
1075
  rowIds?: string[];
1066
1076
  className?: string;
1077
+ hasHeader?: boolean;
1078
+ hasBorder?: boolean;
1079
+ cellPadding?: number;
1067
1080
  }
1068
- declare const Table: ({ columns, rowCount, renderCell, renderHeaderCell, rowIds, className }: TableProps) => react_jsx_runtime.JSX.Element;
1081
+ declare const Table: ({ columns, rowCount, renderCell, renderHeaderCell, rowIds, className, hasHeader, hasBorder, cellPadding, }: TableProps) => react_jsx_runtime.JSX.Element;
1069
1082
 
1070
1083
  interface PaginationProps {
1071
1084
  total_items: number;
@@ -1377,12 +1390,12 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
1377
1390
  } & react__default.RefAttributes<unknown>>;
1378
1391
 
1379
1392
  type AlertProps = FabricComponent<{
1380
- title?: any;
1381
- note?: any;
1382
- }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1393
+ children?: any;
1394
+ color?: AlertColor;
1395
+ }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children' | 'color'>;
1383
1396
  declare const Alert: react__default.ForwardRefExoticComponent<{
1384
- title?: any;
1385
- note?: any;
1397
+ children?: any;
1398
+ color?: AlertColor;
1386
1399
  } & {
1387
1400
  m?: string | number;
1388
1401
  mt?: string | number;
@@ -1401,27 +1414,27 @@ declare const Alert: react__default.ForwardRefExoticComponent<{
1401
1414
  } & {
1402
1415
  media?: {
1403
1416
  xs?: Partial<{
1404
- title?: any;
1405
- note?: any;
1417
+ children?: any;
1418
+ color?: AlertColor;
1406
1419
  }> | undefined;
1407
1420
  s?: Partial<{
1408
- title?: any;
1409
- note?: any;
1421
+ children?: any;
1422
+ color?: AlertColor;
1410
1423
  }> | undefined;
1411
1424
  m?: Partial<{
1412
- title?: any;
1413
- note?: any;
1425
+ children?: any;
1426
+ color?: AlertColor;
1414
1427
  }> | undefined;
1415
1428
  l?: Partial<{
1416
- title?: any;
1417
- note?: any;
1429
+ children?: any;
1430
+ color?: AlertColor;
1418
1431
  }> | undefined;
1419
1432
  xl?: Partial<{
1420
- title?: any;
1421
- note?: any;
1433
+ children?: any;
1434
+ color?: AlertColor;
1422
1435
  }> | undefined;
1423
1436
  } | undefined;
1424
- } & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
1437
+ } & Omit<react__default.HTMLAttributes<HTMLDivElement>, "color" | "children"> & {
1425
1438
  media?: {
1426
1439
  xs?: Partial<AlertProps> | undefined;
1427
1440
  s?: Partial<AlertProps> | undefined;
@@ -1652,6 +1665,41 @@ type CounterProps = {
1652
1665
  };
1653
1666
  declare const Counter: FC<CounterProps>;
1654
1667
 
1668
+ type FileFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange' | 'size'> & {
1669
+ error?: string;
1670
+ variant?: InputVariant;
1671
+ multiple?: boolean;
1672
+ accept?: string;
1673
+ uploadButtonText?: string;
1674
+ dragDropPlaceholder?: string;
1675
+ infoPlaceholder?: string;
1676
+ dragDropText?: string;
1677
+ enableFilePreview?: boolean;
1678
+ value?: File[];
1679
+ onChange?: (files: File[]) => void;
1680
+ onError?: (error: string) => void;
1681
+ dragDropClassName?: string;
1682
+ hasIcon?: boolean;
1683
+ hasButton?: boolean;
1684
+ };
1685
+ declare const FileField: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "onChange"> & {
1686
+ error?: string;
1687
+ variant?: InputVariant;
1688
+ multiple?: boolean;
1689
+ accept?: string;
1690
+ uploadButtonText?: string;
1691
+ dragDropPlaceholder?: string;
1692
+ infoPlaceholder?: string;
1693
+ dragDropText?: string;
1694
+ enableFilePreview?: boolean;
1695
+ value?: File[];
1696
+ onChange?: (files: File[]) => void;
1697
+ onError?: (error: string) => void;
1698
+ dragDropClassName?: string;
1699
+ hasIcon?: boolean;
1700
+ hasButton?: boolean;
1701
+ } & react.RefAttributes<HTMLInputElement>>;
1702
+
1655
1703
  interface PageLayoutProps {
1656
1704
  children?: any;
1657
1705
  className?: string;
@@ -1706,6 +1754,21 @@ declare const Container: react.ForwardRefExoticComponent<ContainerProps & {
1706
1754
  } | undefined;
1707
1755
  } & react.RefAttributes<unknown>>;
1708
1756
 
1757
+ type SplitterLayoutProps = {
1758
+ columns: {
1759
+ content: React.ReactNode;
1760
+ className?: string;
1761
+ style?: React.CSSProperties;
1762
+ }[];
1763
+ style?: React.CSSProperties;
1764
+ className?: string;
1765
+ splitterClassName?: string;
1766
+ initialWidths: number[];
1767
+ minWidth?: number;
1768
+ storageKey?: string;
1769
+ };
1770
+ declare const SplitterLayout: ({ columns, initialWidths, style, className, splitterClassName, minWidth, storageKey, }: SplitterLayoutProps) => react_jsx_runtime.JSX.Element;
1771
+
1709
1772
  declare const Graph2D: any;
1710
1773
 
1711
1774
  interface Graph2DRef {
@@ -1945,4 +2008,20 @@ declare const FullscreenCard: react.ForwardRefExoticComponent<FullscreenCardProp
1945
2008
  } | undefined;
1946
2009
  } & react.RefAttributes<unknown>>;
1947
2010
 
1948
- export { type Action, Alert, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BurgerMenuIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, Counter, type CounterProps, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileIcon, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, GlobalStyle, Graph2D, type Graph2DProps, type Graph2DRef, type GraphData, type GraphState, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleFilledIcon, InfoCircleIcon, Input, type InputElementProps, type InputElementStyle, type InputProps, type InputSize, type InputSizeStyle, type InputState, type InputVariant, IosIcon, Label, type LabelSize, type LabelSizeStyle, Line, LinerProgress, type LinkObject, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MaximizeIcon, MicrosoftIcon, Modal, ModalBody, ModalFooter, ModalHeader, MoonIcon, type NestedColorPaths, type NodeButton, type NodeObject, OpenLockIcon, OrganizationIcon, Overlay, type OverlayProps, PageContent, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, RotateLeftIcon, RotateRightIcon, RowActionsMenu, SandBoxIcon, SearchIcon, Select, ShipIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, Styled, StyledContainer, type StyledFabricComponent, StyledMain, SubNav, SunIcon, Switch, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UserInCircleIcon, UsersIcon, VectorIcon, WayIcon, convertPaletteToRem, createComponent, createStyledComponent, darkTheme, darkThemePx, destructSpaceProps, generatePropertySpaceStyle, getBreakpoint, getButtonSizeStyles, getButtonStyles, getInputStyles, getResponsiveProps, getTypographyStyles, hexToRgba, lightTheme, lightThemePx, propToRem, pxToRem, remToPx, resolveThemeColor, useBreakpoint, useContextMenuControl, useTheme };
2011
+ type ImageExtension = 'jpeg' | 'jpg' | 'png' | 'gif' | 'bmp' | 'webp';
2012
+ type AudioExtension = 'mp3' | 'wav' | 'ogg' | 'flac';
2013
+ type DocumentExtension = 'pdf' | 'docx' | 'txt' | 'xlsx' | 'pptx';
2014
+ type VideoExtension = 'mp4' | 'webm';
2015
+ type CodeExtension = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'html' | 'css' | 'scss' | 'py' | 'java' | 'cpp' | 'c' | 'cs' | 'php' | 'rb' | 'go' | 'rs' | 'swift' | 'kt' | 'xml' | 'yaml' | 'yml' | 'md' | 'sql' | 'sh' | 'bash';
2016
+ type SupportedFileExtension = ImageExtension | AudioExtension | DocumentExtension | CodeExtension | VideoExtension;
2017
+
2018
+ type FileViewerProps = {
2019
+ path?: string;
2020
+ blob?: Blob;
2021
+ buffer?: ArrayBuffer;
2022
+ extension: SupportedFileExtension;
2023
+ not_supported_message?: string;
2024
+ };
2025
+ declare const FileViewer: (props: FileViewerProps) => react_jsx_runtime.JSX.Element;
2026
+
2027
+ export { type Action, Alert, type AlertColor, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BurgerMenuIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, Counter, type CounterProps, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileField, type FileFieldProps, FileIcon, FileViewer, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, GlobalStyle, Graph2D, type Graph2DProps, type Graph2DRef, type GraphData, type GraphState, Header, HeaderDelimeter, HeaderSection, HomepageIcon, ImageIcon, InfoCircleFilledIcon, InfoCircleIcon, Input, type InputElementProps, type InputElementStyle, type InputProps, type InputSize, type InputSizeStyle, type InputState, type InputVariant, IosIcon, Label, type LabelSize, type LabelSizeStyle, Line, LinerProgress, type LinkObject, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MaximizeIcon, MicrosoftIcon, MinusIcon, Modal, ModalBody, ModalFooter, ModalHeader, MoonIcon, type NestedColorPaths, type NodeButton, type NodeObject, OpenLockIcon, OrganizationIcon, Overlay, type OverlayProps, PageContent, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, RotateLeftIcon, RotateRightIcon, RowActionsMenu, SandBoxIcon, SearchIcon, Select, ShipIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SplitterLayout, StatisticIcon, Styled, StyledContainer, type StyledFabricComponent, StyledMain, SubNav, SunIcon, type SupportedFileExtension, Switch, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UserInCircleIcon, UsersIcon, VectorIcon, WayIcon, convertPaletteToRem, createComponent, createStyledComponent, darkTheme, darkThemePx, destructSpaceProps, generatePropertySpaceStyle, getBreakpoint, getButtonSizeStyles, getButtonStyles, getInputStyles, getResponsiveProps, getTypographyStyles, hexToRgba, lightTheme, lightThemePx, propToRem, pxToRem, remToPx, resolveThemeColor, useBreakpoint, useContextMenuControl, useTheme };