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

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
  }
@@ -1377,12 +1387,12 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
1377
1387
  } & react__default.RefAttributes<unknown>>;
1378
1388
 
1379
1389
  type AlertProps = FabricComponent<{
1380
- title?: any;
1381
- note?: any;
1382
- }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1390
+ children?: any;
1391
+ color?: AlertColor;
1392
+ }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children' | 'color'>;
1383
1393
  declare const Alert: react__default.ForwardRefExoticComponent<{
1384
- title?: any;
1385
- note?: any;
1394
+ children?: any;
1395
+ color?: AlertColor;
1386
1396
  } & {
1387
1397
  m?: string | number;
1388
1398
  mt?: string | number;
@@ -1401,27 +1411,27 @@ declare const Alert: react__default.ForwardRefExoticComponent<{
1401
1411
  } & {
1402
1412
  media?: {
1403
1413
  xs?: Partial<{
1404
- title?: any;
1405
- note?: any;
1414
+ children?: any;
1415
+ color?: AlertColor;
1406
1416
  }> | undefined;
1407
1417
  s?: Partial<{
1408
- title?: any;
1409
- note?: any;
1418
+ children?: any;
1419
+ color?: AlertColor;
1410
1420
  }> | undefined;
1411
1421
  m?: Partial<{
1412
- title?: any;
1413
- note?: any;
1422
+ children?: any;
1423
+ color?: AlertColor;
1414
1424
  }> | undefined;
1415
1425
  l?: Partial<{
1416
- title?: any;
1417
- note?: any;
1426
+ children?: any;
1427
+ color?: AlertColor;
1418
1428
  }> | undefined;
1419
1429
  xl?: Partial<{
1420
- title?: any;
1421
- note?: any;
1430
+ children?: any;
1431
+ color?: AlertColor;
1422
1432
  }> | undefined;
1423
1433
  } | undefined;
1424
- } & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
1434
+ } & Omit<react__default.HTMLAttributes<HTMLDivElement>, "color" | "children"> & {
1425
1435
  media?: {
1426
1436
  xs?: Partial<AlertProps> | undefined;
1427
1437
  s?: Partial<AlertProps> | undefined;
@@ -1652,6 +1662,41 @@ type CounterProps = {
1652
1662
  };
1653
1663
  declare const Counter: FC<CounterProps>;
1654
1664
 
1665
+ type FileFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange' | 'size'> & {
1666
+ error?: string;
1667
+ variant?: InputVariant;
1668
+ multiple?: boolean;
1669
+ accept?: string;
1670
+ uploadButtonText?: string;
1671
+ dragDropPlaceholder?: string;
1672
+ infoPlaceholder?: string;
1673
+ dragDropText?: string;
1674
+ enableFilePreview?: boolean;
1675
+ value?: File[];
1676
+ onChange?: (files: File[]) => void;
1677
+ onError?: (error: string) => void;
1678
+ dragDropClassName?: string;
1679
+ hasIcon?: boolean;
1680
+ hasButton?: boolean;
1681
+ };
1682
+ declare const FileField: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "onChange"> & {
1683
+ error?: string;
1684
+ variant?: InputVariant;
1685
+ multiple?: boolean;
1686
+ accept?: string;
1687
+ uploadButtonText?: string;
1688
+ dragDropPlaceholder?: string;
1689
+ infoPlaceholder?: string;
1690
+ dragDropText?: string;
1691
+ enableFilePreview?: boolean;
1692
+ value?: File[];
1693
+ onChange?: (files: File[]) => void;
1694
+ onError?: (error: string) => void;
1695
+ dragDropClassName?: string;
1696
+ hasIcon?: boolean;
1697
+ hasButton?: boolean;
1698
+ } & react.RefAttributes<HTMLInputElement>>;
1699
+
1655
1700
  interface PageLayoutProps {
1656
1701
  children?: any;
1657
1702
  className?: string;
@@ -1706,6 +1751,21 @@ declare const Container: react.ForwardRefExoticComponent<ContainerProps & {
1706
1751
  } | undefined;
1707
1752
  } & react.RefAttributes<unknown>>;
1708
1753
 
1754
+ type SplitterLayoutProps = {
1755
+ columns: {
1756
+ content: React.ReactNode;
1757
+ className?: string;
1758
+ style?: React.CSSProperties;
1759
+ }[];
1760
+ style?: React.CSSProperties;
1761
+ className?: string;
1762
+ splitterClassName?: string;
1763
+ initialWidths: number[];
1764
+ minWidth?: number;
1765
+ storageKey?: string;
1766
+ };
1767
+ declare const SplitterLayout: ({ columns, initialWidths, style, className, splitterClassName, minWidth, storageKey, }: SplitterLayoutProps) => react_jsx_runtime.JSX.Element;
1768
+
1709
1769
  declare const Graph2D: any;
1710
1770
 
1711
1771
  interface Graph2DRef {
@@ -1945,4 +2005,20 @@ declare const FullscreenCard: react.ForwardRefExoticComponent<FullscreenCardProp
1945
2005
  } | undefined;
1946
2006
  } & react.RefAttributes<unknown>>;
1947
2007
 
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 };
2008
+ type ImageExtension = 'jpeg' | 'jpg' | 'png' | 'gif' | 'bmp' | 'webp';
2009
+ type AudioExtension = 'mp3' | 'wav' | 'ogg' | 'flac';
2010
+ type DocumentExtension = 'pdf' | 'docx' | 'txt' | 'xlsx' | 'pptx';
2011
+ type VideoExtension = 'mp4' | 'webm';
2012
+ 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';
2013
+ type SupportedFileExtension = ImageExtension | AudioExtension | DocumentExtension | CodeExtension | VideoExtension;
2014
+
2015
+ type FileViewerProps = {
2016
+ path?: string;
2017
+ blob?: Blob;
2018
+ buffer?: ArrayBuffer;
2019
+ extension: SupportedFileExtension;
2020
+ not_supported_message?: string;
2021
+ };
2022
+ declare const FileViewer: (props: FileViewerProps) => react_jsx_runtime.JSX.Element;
2023
+
2024
+ 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
  }
@@ -1377,12 +1387,12 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
1377
1387
  } & react__default.RefAttributes<unknown>>;
1378
1388
 
1379
1389
  type AlertProps = FabricComponent<{
1380
- title?: any;
1381
- note?: any;
1382
- }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1390
+ children?: any;
1391
+ color?: AlertColor;
1392
+ }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children' | 'color'>;
1383
1393
  declare const Alert: react__default.ForwardRefExoticComponent<{
1384
- title?: any;
1385
- note?: any;
1394
+ children?: any;
1395
+ color?: AlertColor;
1386
1396
  } & {
1387
1397
  m?: string | number;
1388
1398
  mt?: string | number;
@@ -1401,27 +1411,27 @@ declare const Alert: react__default.ForwardRefExoticComponent<{
1401
1411
  } & {
1402
1412
  media?: {
1403
1413
  xs?: Partial<{
1404
- title?: any;
1405
- note?: any;
1414
+ children?: any;
1415
+ color?: AlertColor;
1406
1416
  }> | undefined;
1407
1417
  s?: Partial<{
1408
- title?: any;
1409
- note?: any;
1418
+ children?: any;
1419
+ color?: AlertColor;
1410
1420
  }> | undefined;
1411
1421
  m?: Partial<{
1412
- title?: any;
1413
- note?: any;
1422
+ children?: any;
1423
+ color?: AlertColor;
1414
1424
  }> | undefined;
1415
1425
  l?: Partial<{
1416
- title?: any;
1417
- note?: any;
1426
+ children?: any;
1427
+ color?: AlertColor;
1418
1428
  }> | undefined;
1419
1429
  xl?: Partial<{
1420
- title?: any;
1421
- note?: any;
1430
+ children?: any;
1431
+ color?: AlertColor;
1422
1432
  }> | undefined;
1423
1433
  } | undefined;
1424
- } & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
1434
+ } & Omit<react__default.HTMLAttributes<HTMLDivElement>, "color" | "children"> & {
1425
1435
  media?: {
1426
1436
  xs?: Partial<AlertProps> | undefined;
1427
1437
  s?: Partial<AlertProps> | undefined;
@@ -1652,6 +1662,41 @@ type CounterProps = {
1652
1662
  };
1653
1663
  declare const Counter: FC<CounterProps>;
1654
1664
 
1665
+ type FileFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange' | 'size'> & {
1666
+ error?: string;
1667
+ variant?: InputVariant;
1668
+ multiple?: boolean;
1669
+ accept?: string;
1670
+ uploadButtonText?: string;
1671
+ dragDropPlaceholder?: string;
1672
+ infoPlaceholder?: string;
1673
+ dragDropText?: string;
1674
+ enableFilePreview?: boolean;
1675
+ value?: File[];
1676
+ onChange?: (files: File[]) => void;
1677
+ onError?: (error: string) => void;
1678
+ dragDropClassName?: string;
1679
+ hasIcon?: boolean;
1680
+ hasButton?: boolean;
1681
+ };
1682
+ declare const FileField: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "onChange"> & {
1683
+ error?: string;
1684
+ variant?: InputVariant;
1685
+ multiple?: boolean;
1686
+ accept?: string;
1687
+ uploadButtonText?: string;
1688
+ dragDropPlaceholder?: string;
1689
+ infoPlaceholder?: string;
1690
+ dragDropText?: string;
1691
+ enableFilePreview?: boolean;
1692
+ value?: File[];
1693
+ onChange?: (files: File[]) => void;
1694
+ onError?: (error: string) => void;
1695
+ dragDropClassName?: string;
1696
+ hasIcon?: boolean;
1697
+ hasButton?: boolean;
1698
+ } & react.RefAttributes<HTMLInputElement>>;
1699
+
1655
1700
  interface PageLayoutProps {
1656
1701
  children?: any;
1657
1702
  className?: string;
@@ -1706,6 +1751,21 @@ declare const Container: react.ForwardRefExoticComponent<ContainerProps & {
1706
1751
  } | undefined;
1707
1752
  } & react.RefAttributes<unknown>>;
1708
1753
 
1754
+ type SplitterLayoutProps = {
1755
+ columns: {
1756
+ content: React.ReactNode;
1757
+ className?: string;
1758
+ style?: React.CSSProperties;
1759
+ }[];
1760
+ style?: React.CSSProperties;
1761
+ className?: string;
1762
+ splitterClassName?: string;
1763
+ initialWidths: number[];
1764
+ minWidth?: number;
1765
+ storageKey?: string;
1766
+ };
1767
+ declare const SplitterLayout: ({ columns, initialWidths, style, className, splitterClassName, minWidth, storageKey, }: SplitterLayoutProps) => react_jsx_runtime.JSX.Element;
1768
+
1709
1769
  declare const Graph2D: any;
1710
1770
 
1711
1771
  interface Graph2DRef {
@@ -1945,4 +2005,20 @@ declare const FullscreenCard: react.ForwardRefExoticComponent<FullscreenCardProp
1945
2005
  } | undefined;
1946
2006
  } & react.RefAttributes<unknown>>;
1947
2007
 
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 };
2008
+ type ImageExtension = 'jpeg' | 'jpg' | 'png' | 'gif' | 'bmp' | 'webp';
2009
+ type AudioExtension = 'mp3' | 'wav' | 'ogg' | 'flac';
2010
+ type DocumentExtension = 'pdf' | 'docx' | 'txt' | 'xlsx' | 'pptx';
2011
+ type VideoExtension = 'mp4' | 'webm';
2012
+ 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';
2013
+ type SupportedFileExtension = ImageExtension | AudioExtension | DocumentExtension | CodeExtension | VideoExtension;
2014
+
2015
+ type FileViewerProps = {
2016
+ path?: string;
2017
+ blob?: Blob;
2018
+ buffer?: ArrayBuffer;
2019
+ extension: SupportedFileExtension;
2020
+ not_supported_message?: string;
2021
+ };
2022
+ declare const FileViewer: (props: FileViewerProps) => react_jsx_runtime.JSX.Element;
2023
+
2024
+ 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 };