@cyber-harbour/ui 2.0.2 → 2.0.3
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 +47 -15
- package/dist/index.d.ts +47 -15
- package/dist/index.js +216 -194
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +219 -197
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as styled_components from 'styled-components';
|
|
1
2
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
|
2
3
|
export { ServerStyleSheet, StyleSheetManager } from 'styled-components';
|
|
3
4
|
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
@@ -91,6 +92,7 @@ type Theme = {
|
|
|
91
92
|
lighter: string;
|
|
92
93
|
lightest: string;
|
|
93
94
|
lightest2: string;
|
|
95
|
+
dark: string;
|
|
94
96
|
};
|
|
95
97
|
text: {
|
|
96
98
|
main: string;
|
|
@@ -817,10 +819,19 @@ interface UploadImageIconProps extends SVGProps<SVGSVGElement> {
|
|
|
817
819
|
}
|
|
818
820
|
declare const UploadImageIcon: ({ fill, ...props }: UploadImageIconProps) => react_jsx_runtime.JSX.Element;
|
|
819
821
|
|
|
822
|
+
interface BurgerMenuIconProps extends SVGProps<SVGSVGElement> {
|
|
823
|
+
fill?: string;
|
|
824
|
+
}
|
|
825
|
+
declare const BurgerMenuIcon: ({ fill, ...props }: BurgerMenuIconProps) => react_jsx_runtime.JSX.Element;
|
|
826
|
+
|
|
827
|
+
interface ClockIconProps extends SVGProps<SVGSVGElement> {
|
|
828
|
+
fill?: string;
|
|
829
|
+
}
|
|
830
|
+
declare const ClockIcon: ({ fill, ...props }: ClockIconProps) => react_jsx_runtime.JSX.Element;
|
|
831
|
+
|
|
820
832
|
interface SidebarProps {
|
|
821
833
|
defaultCollapsed?: boolean;
|
|
822
834
|
children: any;
|
|
823
|
-
canGrow: boolean;
|
|
824
835
|
}
|
|
825
836
|
declare const Sidebar: react__default.ForwardRefExoticComponent<SidebarProps & {
|
|
826
837
|
m?: string | number;
|
|
@@ -850,7 +861,6 @@ declare const Sidebar: react__default.ForwardRefExoticComponent<SidebarProps & {
|
|
|
850
861
|
interface SidebarContext {
|
|
851
862
|
collapsed: boolean;
|
|
852
863
|
setCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
|
|
853
|
-
canGrow: boolean;
|
|
854
864
|
}
|
|
855
865
|
declare const SidebarContext: react.Context<SidebarContext>;
|
|
856
866
|
|
|
@@ -858,6 +868,7 @@ interface SidebarItemBase {
|
|
|
858
868
|
active?: boolean;
|
|
859
869
|
icon?: React.ReactNode;
|
|
860
870
|
label?: string;
|
|
871
|
+
height?: number;
|
|
861
872
|
component?: React.ElementType;
|
|
862
873
|
}
|
|
863
874
|
interface SidebarItemAnchor {
|
|
@@ -870,17 +881,19 @@ interface SidebarItemButton {
|
|
|
870
881
|
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
871
882
|
}
|
|
872
883
|
type SidebarItemProps = SidebarItemBase & (SidebarItemAnchor | SidebarItemButton);
|
|
873
|
-
declare const SidebarItem: ({ active, icon, label, component, ...props }: SidebarItemProps) => react_jsx_runtime.JSX.Element;
|
|
884
|
+
declare const SidebarItem: ({ active, icon, label, component, height, ...props }: SidebarItemProps) => react_jsx_runtime.JSX.Element;
|
|
874
885
|
|
|
875
886
|
declare const SidebarDelimeter: () => react_jsx_runtime.JSX.Element;
|
|
876
887
|
|
|
888
|
+
type SectionRole = 'header' | 'footer' | 'content';
|
|
877
889
|
interface SidebarSectionProps {
|
|
878
890
|
grow?: number;
|
|
879
891
|
shrink?: number;
|
|
880
892
|
basis?: CSSProperties['flexBasis'];
|
|
881
893
|
items: React.ReactElement[];
|
|
894
|
+
role: SectionRole;
|
|
882
895
|
}
|
|
883
|
-
declare const SidebarSection: ({ grow, shrink, basis, items }: SidebarSectionProps) => react_jsx_runtime.JSX.Element;
|
|
896
|
+
declare const SidebarSection: ({ grow, shrink, basis, items, role }: SidebarSectionProps) => react_jsx_runtime.JSX.Element;
|
|
884
897
|
|
|
885
898
|
type TypographyProps = FabricComponent<{
|
|
886
899
|
style?: CSSProperties$1;
|
|
@@ -1018,7 +1031,7 @@ declare const ListMenuSection: ({ title, items }: ListMenuSectionProps) => react
|
|
|
1018
1031
|
interface HeaderProps {
|
|
1019
1032
|
children?: any;
|
|
1020
1033
|
}
|
|
1021
|
-
declare const Header:
|
|
1034
|
+
declare const Header: react.ForwardRefExoticComponent<HeaderProps & react.RefAttributes<HTMLHeadElement>>;
|
|
1022
1035
|
|
|
1023
1036
|
declare const HeaderDelimeter: () => react_jsx_runtime.JSX.Element;
|
|
1024
1037
|
|
|
@@ -1082,9 +1095,9 @@ interface ContextMenuProps {
|
|
|
1082
1095
|
}
|
|
1083
1096
|
declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, hasBorder, maxHeight, matchAnchorWidth, anchorIcon, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
|
|
1084
1097
|
|
|
1085
|
-
interface StyledProps {
|
|
1098
|
+
interface StyledProps$1 {
|
|
1086
1099
|
}
|
|
1087
|
-
declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
|
|
1100
|
+
declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps$1>> & string;
|
|
1088
1101
|
|
|
1089
1102
|
declare const useContextMenuControl: () => {
|
|
1090
1103
|
isOpen: boolean;
|
|
@@ -1287,6 +1300,7 @@ type TagProps = FabricComponent<{
|
|
|
1287
1300
|
variant?: TagVariant;
|
|
1288
1301
|
color?: TagColor;
|
|
1289
1302
|
className?: string;
|
|
1303
|
+
radius?: number;
|
|
1290
1304
|
icon?: any;
|
|
1291
1305
|
disabled?: boolean;
|
|
1292
1306
|
onClick?: () => void;
|
|
@@ -1297,6 +1311,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1297
1311
|
variant?: TagVariant;
|
|
1298
1312
|
color?: TagColor;
|
|
1299
1313
|
className?: string;
|
|
1314
|
+
radius?: number;
|
|
1300
1315
|
icon?: any;
|
|
1301
1316
|
disabled?: boolean;
|
|
1302
1317
|
onClick?: () => void;
|
|
@@ -1323,6 +1338,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1323
1338
|
variant?: TagVariant;
|
|
1324
1339
|
color?: TagColor;
|
|
1325
1340
|
className?: string;
|
|
1341
|
+
radius?: number;
|
|
1326
1342
|
icon?: any;
|
|
1327
1343
|
disabled?: boolean;
|
|
1328
1344
|
onClick?: () => void;
|
|
@@ -1333,6 +1349,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1333
1349
|
variant?: TagVariant;
|
|
1334
1350
|
color?: TagColor;
|
|
1335
1351
|
className?: string;
|
|
1352
|
+
radius?: number;
|
|
1336
1353
|
icon?: any;
|
|
1337
1354
|
disabled?: boolean;
|
|
1338
1355
|
onClick?: () => void;
|
|
@@ -1343,6 +1360,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1343
1360
|
variant?: TagVariant;
|
|
1344
1361
|
color?: TagColor;
|
|
1345
1362
|
className?: string;
|
|
1363
|
+
radius?: number;
|
|
1346
1364
|
icon?: any;
|
|
1347
1365
|
disabled?: boolean;
|
|
1348
1366
|
onClick?: () => void;
|
|
@@ -1353,6 +1371,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1353
1371
|
variant?: TagVariant;
|
|
1354
1372
|
color?: TagColor;
|
|
1355
1373
|
className?: string;
|
|
1374
|
+
radius?: number;
|
|
1356
1375
|
icon?: any;
|
|
1357
1376
|
disabled?: boolean;
|
|
1358
1377
|
onClick?: () => void;
|
|
@@ -1363,6 +1382,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1363
1382
|
variant?: TagVariant;
|
|
1364
1383
|
color?: TagColor;
|
|
1365
1384
|
className?: string;
|
|
1385
|
+
radius?: number;
|
|
1366
1386
|
icon?: any;
|
|
1367
1387
|
disabled?: boolean;
|
|
1368
1388
|
onClick?: () => void;
|
|
@@ -1665,17 +1685,29 @@ type ChatFieldProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'type'>
|
|
|
1665
1685
|
declare const ChatField: ({ multiple, value, onChangeImages, images, errorText, error, onError, button, fieldClassName, ...props }: ChatFieldProps) => react_jsx_runtime.JSX.Element;
|
|
1666
1686
|
|
|
1667
1687
|
interface PageLayoutProps {
|
|
1668
|
-
header?: any;
|
|
1669
|
-
sidebar?: any;
|
|
1670
1688
|
children?: any;
|
|
1671
1689
|
className?: string;
|
|
1672
1690
|
}
|
|
1673
|
-
declare const PageLayout: ({ children,
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1691
|
+
declare const PageLayout: ({ children, className }: PageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1692
|
+
declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
1693
|
+
|
|
1694
|
+
interface ContentProps {
|
|
1695
|
+
children: any;
|
|
1696
|
+
className?: string;
|
|
1697
|
+
}
|
|
1698
|
+
declare const PageContent: ({ children, className }: ContentProps) => react_jsx_runtime.JSX.Element;
|
|
1699
|
+
declare const StyledMain: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
1700
|
+
|
|
1701
|
+
interface SubNavProps {
|
|
1702
|
+
children?: any;
|
|
1703
|
+
className?: string;
|
|
1704
|
+
top?: number;
|
|
1677
1705
|
}
|
|
1678
|
-
declare const
|
|
1706
|
+
declare const SubNav: ({ children, className, top }: SubNavProps) => react_jsx_runtime.JSX.Element;
|
|
1707
|
+
type StyledProps = {
|
|
1708
|
+
$top: number;
|
|
1709
|
+
};
|
|
1710
|
+
declare const Styled: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
|
|
1679
1711
|
|
|
1680
1712
|
type ContainerProps = {
|
|
1681
1713
|
children: any;
|
|
@@ -1858,4 +1890,4 @@ declare const FullscreenCard: react.ForwardRefExoticComponent<FullscreenCardProp
|
|
|
1858
1890
|
} | undefined;
|
|
1859
1891
|
} & react.RefAttributes<unknown>>;
|
|
1860
1892
|
|
|
1861
|
-
export { type Action, Alert, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, ChatField, type ChatFieldProps, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileField, type FileFieldProps, FileIcon, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, 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, 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, StyledContainer, type StyledFabricComponent, SunIcon, Switch, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, TailwindExample, type TailwindExampleProps, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UploadImageIcon, 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 };
|
|
1893
|
+
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, ChatField, type ChatFieldProps, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileField, type FileFieldProps, FileIcon, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, 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, TailwindExample, type TailwindExampleProps, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UploadImageIcon, 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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as styled_components from 'styled-components';
|
|
1
2
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
|
2
3
|
export { ServerStyleSheet, StyleSheetManager } from 'styled-components';
|
|
3
4
|
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
@@ -91,6 +92,7 @@ type Theme = {
|
|
|
91
92
|
lighter: string;
|
|
92
93
|
lightest: string;
|
|
93
94
|
lightest2: string;
|
|
95
|
+
dark: string;
|
|
94
96
|
};
|
|
95
97
|
text: {
|
|
96
98
|
main: string;
|
|
@@ -817,10 +819,19 @@ interface UploadImageIconProps extends SVGProps<SVGSVGElement> {
|
|
|
817
819
|
}
|
|
818
820
|
declare const UploadImageIcon: ({ fill, ...props }: UploadImageIconProps) => react_jsx_runtime.JSX.Element;
|
|
819
821
|
|
|
822
|
+
interface BurgerMenuIconProps extends SVGProps<SVGSVGElement> {
|
|
823
|
+
fill?: string;
|
|
824
|
+
}
|
|
825
|
+
declare const BurgerMenuIcon: ({ fill, ...props }: BurgerMenuIconProps) => react_jsx_runtime.JSX.Element;
|
|
826
|
+
|
|
827
|
+
interface ClockIconProps extends SVGProps<SVGSVGElement> {
|
|
828
|
+
fill?: string;
|
|
829
|
+
}
|
|
830
|
+
declare const ClockIcon: ({ fill, ...props }: ClockIconProps) => react_jsx_runtime.JSX.Element;
|
|
831
|
+
|
|
820
832
|
interface SidebarProps {
|
|
821
833
|
defaultCollapsed?: boolean;
|
|
822
834
|
children: any;
|
|
823
|
-
canGrow: boolean;
|
|
824
835
|
}
|
|
825
836
|
declare const Sidebar: react__default.ForwardRefExoticComponent<SidebarProps & {
|
|
826
837
|
m?: string | number;
|
|
@@ -850,7 +861,6 @@ declare const Sidebar: react__default.ForwardRefExoticComponent<SidebarProps & {
|
|
|
850
861
|
interface SidebarContext {
|
|
851
862
|
collapsed: boolean;
|
|
852
863
|
setCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
|
|
853
|
-
canGrow: boolean;
|
|
854
864
|
}
|
|
855
865
|
declare const SidebarContext: react.Context<SidebarContext>;
|
|
856
866
|
|
|
@@ -858,6 +868,7 @@ interface SidebarItemBase {
|
|
|
858
868
|
active?: boolean;
|
|
859
869
|
icon?: React.ReactNode;
|
|
860
870
|
label?: string;
|
|
871
|
+
height?: number;
|
|
861
872
|
component?: React.ElementType;
|
|
862
873
|
}
|
|
863
874
|
interface SidebarItemAnchor {
|
|
@@ -870,17 +881,19 @@ interface SidebarItemButton {
|
|
|
870
881
|
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
871
882
|
}
|
|
872
883
|
type SidebarItemProps = SidebarItemBase & (SidebarItemAnchor | SidebarItemButton);
|
|
873
|
-
declare const SidebarItem: ({ active, icon, label, component, ...props }: SidebarItemProps) => react_jsx_runtime.JSX.Element;
|
|
884
|
+
declare const SidebarItem: ({ active, icon, label, component, height, ...props }: SidebarItemProps) => react_jsx_runtime.JSX.Element;
|
|
874
885
|
|
|
875
886
|
declare const SidebarDelimeter: () => react_jsx_runtime.JSX.Element;
|
|
876
887
|
|
|
888
|
+
type SectionRole = 'header' | 'footer' | 'content';
|
|
877
889
|
interface SidebarSectionProps {
|
|
878
890
|
grow?: number;
|
|
879
891
|
shrink?: number;
|
|
880
892
|
basis?: CSSProperties['flexBasis'];
|
|
881
893
|
items: React.ReactElement[];
|
|
894
|
+
role: SectionRole;
|
|
882
895
|
}
|
|
883
|
-
declare const SidebarSection: ({ grow, shrink, basis, items }: SidebarSectionProps) => react_jsx_runtime.JSX.Element;
|
|
896
|
+
declare const SidebarSection: ({ grow, shrink, basis, items, role }: SidebarSectionProps) => react_jsx_runtime.JSX.Element;
|
|
884
897
|
|
|
885
898
|
type TypographyProps = FabricComponent<{
|
|
886
899
|
style?: CSSProperties$1;
|
|
@@ -1018,7 +1031,7 @@ declare const ListMenuSection: ({ title, items }: ListMenuSectionProps) => react
|
|
|
1018
1031
|
interface HeaderProps {
|
|
1019
1032
|
children?: any;
|
|
1020
1033
|
}
|
|
1021
|
-
declare const Header:
|
|
1034
|
+
declare const Header: react.ForwardRefExoticComponent<HeaderProps & react.RefAttributes<HTMLHeadElement>>;
|
|
1022
1035
|
|
|
1023
1036
|
declare const HeaderDelimeter: () => react_jsx_runtime.JSX.Element;
|
|
1024
1037
|
|
|
@@ -1082,9 +1095,9 @@ interface ContextMenuProps {
|
|
|
1082
1095
|
}
|
|
1083
1096
|
declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, hasBorder, maxHeight, matchAnchorWidth, anchorIcon, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
|
|
1084
1097
|
|
|
1085
|
-
interface StyledProps {
|
|
1098
|
+
interface StyledProps$1 {
|
|
1086
1099
|
}
|
|
1087
|
-
declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
|
|
1100
|
+
declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps$1>> & string;
|
|
1088
1101
|
|
|
1089
1102
|
declare const useContextMenuControl: () => {
|
|
1090
1103
|
isOpen: boolean;
|
|
@@ -1287,6 +1300,7 @@ type TagProps = FabricComponent<{
|
|
|
1287
1300
|
variant?: TagVariant;
|
|
1288
1301
|
color?: TagColor;
|
|
1289
1302
|
className?: string;
|
|
1303
|
+
radius?: number;
|
|
1290
1304
|
icon?: any;
|
|
1291
1305
|
disabled?: boolean;
|
|
1292
1306
|
onClick?: () => void;
|
|
@@ -1297,6 +1311,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1297
1311
|
variant?: TagVariant;
|
|
1298
1312
|
color?: TagColor;
|
|
1299
1313
|
className?: string;
|
|
1314
|
+
radius?: number;
|
|
1300
1315
|
icon?: any;
|
|
1301
1316
|
disabled?: boolean;
|
|
1302
1317
|
onClick?: () => void;
|
|
@@ -1323,6 +1338,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1323
1338
|
variant?: TagVariant;
|
|
1324
1339
|
color?: TagColor;
|
|
1325
1340
|
className?: string;
|
|
1341
|
+
radius?: number;
|
|
1326
1342
|
icon?: any;
|
|
1327
1343
|
disabled?: boolean;
|
|
1328
1344
|
onClick?: () => void;
|
|
@@ -1333,6 +1349,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1333
1349
|
variant?: TagVariant;
|
|
1334
1350
|
color?: TagColor;
|
|
1335
1351
|
className?: string;
|
|
1352
|
+
radius?: number;
|
|
1336
1353
|
icon?: any;
|
|
1337
1354
|
disabled?: boolean;
|
|
1338
1355
|
onClick?: () => void;
|
|
@@ -1343,6 +1360,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1343
1360
|
variant?: TagVariant;
|
|
1344
1361
|
color?: TagColor;
|
|
1345
1362
|
className?: string;
|
|
1363
|
+
radius?: number;
|
|
1346
1364
|
icon?: any;
|
|
1347
1365
|
disabled?: boolean;
|
|
1348
1366
|
onClick?: () => void;
|
|
@@ -1353,6 +1371,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1353
1371
|
variant?: TagVariant;
|
|
1354
1372
|
color?: TagColor;
|
|
1355
1373
|
className?: string;
|
|
1374
|
+
radius?: number;
|
|
1356
1375
|
icon?: any;
|
|
1357
1376
|
disabled?: boolean;
|
|
1358
1377
|
onClick?: () => void;
|
|
@@ -1363,6 +1382,7 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1363
1382
|
variant?: TagVariant;
|
|
1364
1383
|
color?: TagColor;
|
|
1365
1384
|
className?: string;
|
|
1385
|
+
radius?: number;
|
|
1366
1386
|
icon?: any;
|
|
1367
1387
|
disabled?: boolean;
|
|
1368
1388
|
onClick?: () => void;
|
|
@@ -1665,17 +1685,29 @@ type ChatFieldProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'type'>
|
|
|
1665
1685
|
declare const ChatField: ({ multiple, value, onChangeImages, images, errorText, error, onError, button, fieldClassName, ...props }: ChatFieldProps) => react_jsx_runtime.JSX.Element;
|
|
1666
1686
|
|
|
1667
1687
|
interface PageLayoutProps {
|
|
1668
|
-
header?: any;
|
|
1669
|
-
sidebar?: any;
|
|
1670
1688
|
children?: any;
|
|
1671
1689
|
className?: string;
|
|
1672
1690
|
}
|
|
1673
|
-
declare const PageLayout: ({ children,
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1691
|
+
declare const PageLayout: ({ children, className }: PageLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1692
|
+
declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
1693
|
+
|
|
1694
|
+
interface ContentProps {
|
|
1695
|
+
children: any;
|
|
1696
|
+
className?: string;
|
|
1697
|
+
}
|
|
1698
|
+
declare const PageContent: ({ children, className }: ContentProps) => react_jsx_runtime.JSX.Element;
|
|
1699
|
+
declare const StyledMain: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
1700
|
+
|
|
1701
|
+
interface SubNavProps {
|
|
1702
|
+
children?: any;
|
|
1703
|
+
className?: string;
|
|
1704
|
+
top?: number;
|
|
1677
1705
|
}
|
|
1678
|
-
declare const
|
|
1706
|
+
declare const SubNav: ({ children, className, top }: SubNavProps) => react_jsx_runtime.JSX.Element;
|
|
1707
|
+
type StyledProps = {
|
|
1708
|
+
$top: number;
|
|
1709
|
+
};
|
|
1710
|
+
declare const Styled: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
|
|
1679
1711
|
|
|
1680
1712
|
type ContainerProps = {
|
|
1681
1713
|
children: any;
|
|
@@ -1858,4 +1890,4 @@ declare const FullscreenCard: react.ForwardRefExoticComponent<FullscreenCardProp
|
|
|
1858
1890
|
} | undefined;
|
|
1859
1891
|
} & react.RefAttributes<unknown>>;
|
|
1860
1892
|
|
|
1861
|
-
export { type Action, Alert, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, ChatField, type ChatFieldProps, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileField, type FileFieldProps, FileIcon, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, 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, 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, StyledContainer, type StyledFabricComponent, SunIcon, Switch, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, TailwindExample, type TailwindExampleProps, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UploadImageIcon, 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 };
|
|
1893
|
+
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, ChatField, type ChatFieldProps, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileField, type FileFieldProps, FileIcon, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, 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, TailwindExample, type TailwindExampleProps, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UploadImageIcon, 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 };
|