@cyber-harbour/ui 1.0.71 → 1.0.73
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 +77 -52
- package/dist/index.d.ts +77 -52
- package/dist/index.js +272 -213
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +305 -246
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/ContextMenu/ContextMenu.tsx +9 -5
- package/src/Core/Drawer/Drawer.tsx +7 -1
- package/src/Core/Modal/Modal.tsx +116 -0
- package/src/Core/Modal/index.ts +1 -0
- package/src/Core/Overlay/Overlay.tsx +4 -2
- package/src/Core/index.ts +1 -0
- package/src/Theme/themes/dark.ts +8 -0
- package/src/Theme/themes/light.ts +8 -0
- package/src/Theme/types.ts +8 -0
- package/src/Theme/utils.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { SVGProps, CSSProperties as CSSProperties$1, ElementType, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
3
3
|
import * as styled_components from 'styled-components';
|
|
4
4
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
|
5
5
|
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
@@ -8,7 +8,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
8
8
|
import { PopoverPosition, PopoverAlign } from 'react-tiny-popover';
|
|
9
9
|
import { IContentLoaderProps } from 'react-content-loader';
|
|
10
10
|
|
|
11
|
-
declare const GlobalStyle:
|
|
11
|
+
declare const GlobalStyle: react.NamedExoticComponent<styled_components.ExecutionProps & object>;
|
|
12
12
|
|
|
13
13
|
interface ThemeProviderProps {
|
|
14
14
|
children: any;
|
|
@@ -328,6 +328,14 @@ type Theme = {
|
|
|
328
328
|
background: string;
|
|
329
329
|
gap: string | number;
|
|
330
330
|
};
|
|
331
|
+
modal: {
|
|
332
|
+
padding: string | number;
|
|
333
|
+
width: number;
|
|
334
|
+
shadow: string;
|
|
335
|
+
borderColor: string;
|
|
336
|
+
background: string;
|
|
337
|
+
borderRadius: string | number;
|
|
338
|
+
};
|
|
331
339
|
};
|
|
332
340
|
type ThemeColors = Theme['colors'];
|
|
333
341
|
type ColorCategory = keyof ThemeColors;
|
|
@@ -438,14 +446,14 @@ type MediaProps<T = object> = {
|
|
|
438
446
|
type FabricStyledComponentOptions = {
|
|
439
447
|
ignoreStyles?: GeneratedFabricMarginProperties[] | undefined;
|
|
440
448
|
};
|
|
441
|
-
type CreatedFabricComponent<T extends FabricComponent> =
|
|
449
|
+
type CreatedFabricComponent<T extends FabricComponent> = react__default.ComponentType<Omit<T, 'media'>> | react__default.ForwardRefExoticComponent<Omit<T, 'media'>>;
|
|
442
450
|
type FabricComponent<T = object> = T & SpaceProps & MediaProps<T>;
|
|
443
451
|
type StyledFabricComponent<T = object> = T & SpaceProps;
|
|
444
452
|
declare const destructSpaceProps: <T extends FabricComponent>(props: T) => SpaceProps;
|
|
445
453
|
declare const generatePropertySpaceStyle: (theme: DefaultTheme, property: GeneratedFabricMarginProperties, value?: string | number, ignoredOptions?: GeneratedFabricMarginProperties[]) => string;
|
|
446
454
|
declare function getResponsiveProps<T = object>({ media, ...props }: T & MediaProps<T>, currentBreakpoint: Breakpoint, breakpointOrder: Breakpoint[]): Omit<T & MediaProps<T>, "media">;
|
|
447
|
-
declare const createComponent: <T extends FabricComponent, R = unknown>(Component: CreatedFabricComponent<T>) =>
|
|
448
|
-
declare const createStyledComponent: <T extends object = StyledFabricComponent>(component:
|
|
455
|
+
declare const createComponent: <T extends FabricComponent, R = unknown>(Component: CreatedFabricComponent<T>) => react__default.ForwardRefExoticComponent<react__default.PropsWithoutRef<FabricComponent<T>> & react__default.RefAttributes<R>>;
|
|
456
|
+
declare const createStyledComponent: <T extends object = StyledFabricComponent>(component: react__default.ComponentType<T>, options?: FabricStyledComponentOptions) => styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<T | (react__default.PropsWithoutRef<T> & react__default.RefAttributes<react__default.Component<T, any, any>>), StyledFabricComponent<T>>> & (string & (Omit<react__default.ComponentClass<T, any>, keyof react__default.Component<any, {}, any>> | Omit<react__default.FunctionComponent<T>, keyof react__default.Component<any, {}, any>>));
|
|
449
457
|
|
|
450
458
|
declare const useTheme: () => Theme;
|
|
451
459
|
|
|
@@ -471,8 +479,8 @@ type BaseButtonProps = {
|
|
|
471
479
|
minWidth?: number;
|
|
472
480
|
whiteSpace?: CSSProperties['whiteSpace'];
|
|
473
481
|
};
|
|
474
|
-
type ButtonProps = (Omit<
|
|
475
|
-
declare const Button:
|
|
482
|
+
type ButtonProps = (Omit<react__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'media'> | Omit<react__default.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'media'>) & BaseButtonProps;
|
|
483
|
+
declare const Button: react__default.ForwardRefExoticComponent<FabricComponent<ButtonProps> & react__default.RefAttributes<unknown>>;
|
|
476
484
|
|
|
477
485
|
interface AlertIconProps extends SVGProps<SVGSVGElement> {
|
|
478
486
|
fill?: string;
|
|
@@ -810,7 +818,7 @@ interface SidebarProps {
|
|
|
810
818
|
children: any;
|
|
811
819
|
canGrow: boolean;
|
|
812
820
|
}
|
|
813
|
-
declare const Sidebar:
|
|
821
|
+
declare const Sidebar: react__default.ForwardRefExoticComponent<SidebarProps & {
|
|
814
822
|
m?: string | number;
|
|
815
823
|
mt?: string | number;
|
|
816
824
|
mr?: string | number;
|
|
@@ -833,14 +841,14 @@ declare const Sidebar: React__default.ForwardRefExoticComponent<SidebarProps & {
|
|
|
833
841
|
l?: Partial<SidebarProps> | undefined;
|
|
834
842
|
xl?: Partial<SidebarProps> | undefined;
|
|
835
843
|
} | undefined;
|
|
836
|
-
} &
|
|
844
|
+
} & react__default.RefAttributes<unknown>>;
|
|
837
845
|
|
|
838
846
|
interface SidebarContext {
|
|
839
847
|
collapsed: boolean;
|
|
840
848
|
setCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
|
|
841
849
|
canGrow: boolean;
|
|
842
850
|
}
|
|
843
|
-
declare const SidebarContext:
|
|
851
|
+
declare const SidebarContext: react.Context<SidebarContext>;
|
|
844
852
|
|
|
845
853
|
interface SidebarItemBase {
|
|
846
854
|
active?: boolean;
|
|
@@ -880,7 +888,7 @@ type TypographyProps = FabricComponent<{
|
|
|
880
888
|
className?: string;
|
|
881
889
|
ellipsis?: boolean;
|
|
882
890
|
}> & Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
883
|
-
declare const Typography:
|
|
891
|
+
declare const Typography: react.ForwardRefExoticComponent<{
|
|
884
892
|
style?: CSSProperties$1;
|
|
885
893
|
variant?: TypographyVariant;
|
|
886
894
|
element?: ElementType;
|
|
@@ -963,7 +971,7 @@ declare const Typography: React$1.ForwardRefExoticComponent<{
|
|
|
963
971
|
ellipsis?: boolean;
|
|
964
972
|
}> | undefined;
|
|
965
973
|
} | undefined;
|
|
966
|
-
} & Omit<
|
|
974
|
+
} & Omit<react.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
967
975
|
media?: {
|
|
968
976
|
xs?: Partial<TypographyProps> | undefined;
|
|
969
977
|
s?: Partial<TypographyProps> | undefined;
|
|
@@ -971,7 +979,7 @@ declare const Typography: React$1.ForwardRefExoticComponent<{
|
|
|
971
979
|
l?: Partial<TypographyProps> | undefined;
|
|
972
980
|
xl?: Partial<TypographyProps> | undefined;
|
|
973
981
|
} | undefined;
|
|
974
|
-
} &
|
|
982
|
+
} & react.RefAttributes<unknown>>;
|
|
975
983
|
|
|
976
984
|
interface ListMenuProps {
|
|
977
985
|
children: any;
|
|
@@ -1065,12 +1073,13 @@ interface ContextMenuProps {
|
|
|
1065
1073
|
hasBorder?: boolean;
|
|
1066
1074
|
maxHeight?: number;
|
|
1067
1075
|
matchAnchorWidth?: boolean;
|
|
1076
|
+
anchorIcon?: any;
|
|
1068
1077
|
}
|
|
1069
|
-
declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, hasBorder, maxHeight, matchAnchorWidth, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
|
|
1078
|
+
declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, hasBorder, maxHeight, matchAnchorWidth, anchorIcon, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
|
|
1070
1079
|
|
|
1071
1080
|
interface StyledProps {
|
|
1072
1081
|
}
|
|
1073
|
-
declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<
|
|
1082
|
+
declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
|
|
1074
1083
|
|
|
1075
1084
|
declare const useContextMenuControl: () => {
|
|
1076
1085
|
isOpen: boolean;
|
|
@@ -1157,7 +1166,7 @@ interface FlexContainerProps extends FabricComponent<Omit<React.HTMLAttributes<H
|
|
|
1157
1166
|
style?: CSSProperties$1;
|
|
1158
1167
|
as?: any;
|
|
1159
1168
|
}
|
|
1160
|
-
declare const FlexContainer:
|
|
1169
|
+
declare const FlexContainer: react.ForwardRefExoticComponent<FlexContainerProps & {
|
|
1161
1170
|
m?: string | number;
|
|
1162
1171
|
mt?: string | number;
|
|
1163
1172
|
mr?: string | number;
|
|
@@ -1180,7 +1189,7 @@ declare const FlexContainer: React$1.ForwardRefExoticComponent<FlexContainerProp
|
|
|
1180
1189
|
l?: Partial<FlexContainerProps> | undefined;
|
|
1181
1190
|
xl?: Partial<FlexContainerProps> | undefined;
|
|
1182
1191
|
} | undefined;
|
|
1183
|
-
} &
|
|
1192
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1184
1193
|
|
|
1185
1194
|
type FlexItemGrow = number;
|
|
1186
1195
|
type FlexItemShrink = number;
|
|
@@ -1197,7 +1206,7 @@ interface FlexItemProps {
|
|
|
1197
1206
|
style?: CSSProperties$1;
|
|
1198
1207
|
as?: any;
|
|
1199
1208
|
}
|
|
1200
|
-
declare const FlexItem:
|
|
1209
|
+
declare const FlexItem: react.ForwardRefExoticComponent<FlexItemProps & {
|
|
1201
1210
|
m?: string | number;
|
|
1202
1211
|
mt?: string | number;
|
|
1203
1212
|
mr?: string | number;
|
|
@@ -1220,7 +1229,7 @@ declare const FlexItem: React$1.ForwardRefExoticComponent<FlexItemProps & {
|
|
|
1220
1229
|
l?: Partial<FlexItemProps> | undefined;
|
|
1221
1230
|
xl?: Partial<FlexItemProps> | undefined;
|
|
1222
1231
|
} | undefined;
|
|
1223
|
-
} &
|
|
1232
|
+
} & react.RefAttributes<unknown>>;
|
|
1224
1233
|
|
|
1225
1234
|
type BoxProps = {
|
|
1226
1235
|
children?: any;
|
|
@@ -1228,12 +1237,12 @@ type BoxProps = {
|
|
|
1228
1237
|
hasBorder?: boolean;
|
|
1229
1238
|
color?: ColorVariant | string;
|
|
1230
1239
|
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
1231
|
-
declare const Box:
|
|
1240
|
+
declare const Box: react.ForwardRefExoticComponent<Omit<FabricComponent<BoxProps>, "ref"> & react.RefAttributes<unknown>>;
|
|
1232
1241
|
|
|
1233
1242
|
type LineProps = FabricComponent<{
|
|
1234
1243
|
direction?: 'horizontal' | 'vertical';
|
|
1235
1244
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'children'>>;
|
|
1236
|
-
declare const Line:
|
|
1245
|
+
declare const Line: react.ForwardRefExoticComponent<Omit<FabricComponent<LineProps>, "ref"> & react.RefAttributes<unknown>>;
|
|
1237
1246
|
|
|
1238
1247
|
interface EmptyDataProps {
|
|
1239
1248
|
children?: any;
|
|
@@ -1252,8 +1261,8 @@ type TagProps = FabricComponent<{
|
|
|
1252
1261
|
disabled?: boolean;
|
|
1253
1262
|
onClick?: () => void;
|
|
1254
1263
|
onDelete?: () => void;
|
|
1255
|
-
}> & Omit<
|
|
1256
|
-
declare const Tag:
|
|
1264
|
+
}> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
1265
|
+
declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
1257
1266
|
children?: any;
|
|
1258
1267
|
variant?: TagVariant;
|
|
1259
1268
|
color?: TagColor;
|
|
@@ -1330,7 +1339,7 @@ declare const Tag: React__default.ForwardRefExoticComponent<{
|
|
|
1330
1339
|
onDelete?: () => void;
|
|
1331
1340
|
}> | undefined;
|
|
1332
1341
|
} | undefined;
|
|
1333
|
-
} & Omit<
|
|
1342
|
+
} & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1334
1343
|
media?: {
|
|
1335
1344
|
xs?: Partial<TagProps> | undefined;
|
|
1336
1345
|
s?: Partial<TagProps> | undefined;
|
|
@@ -1338,13 +1347,13 @@ declare const Tag: React__default.ForwardRefExoticComponent<{
|
|
|
1338
1347
|
l?: Partial<TagProps> | undefined;
|
|
1339
1348
|
xl?: Partial<TagProps> | undefined;
|
|
1340
1349
|
} | undefined;
|
|
1341
|
-
} &
|
|
1350
|
+
} & react__default.RefAttributes<unknown>>;
|
|
1342
1351
|
|
|
1343
1352
|
type AlertProps = FabricComponent<{
|
|
1344
1353
|
title?: any;
|
|
1345
1354
|
note?: any;
|
|
1346
|
-
}> & Omit<
|
|
1347
|
-
declare const Alert:
|
|
1355
|
+
}> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
1356
|
+
declare const Alert: react__default.ForwardRefExoticComponent<{
|
|
1348
1357
|
title?: any;
|
|
1349
1358
|
note?: any;
|
|
1350
1359
|
} & {
|
|
@@ -1385,7 +1394,7 @@ declare const Alert: React__default.ForwardRefExoticComponent<{
|
|
|
1385
1394
|
note?: any;
|
|
1386
1395
|
}> | undefined;
|
|
1387
1396
|
} | undefined;
|
|
1388
|
-
} & Omit<
|
|
1397
|
+
} & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1389
1398
|
media?: {
|
|
1390
1399
|
xs?: Partial<AlertProps> | undefined;
|
|
1391
1400
|
s?: Partial<AlertProps> | undefined;
|
|
@@ -1393,7 +1402,7 @@ declare const Alert: React__default.ForwardRefExoticComponent<{
|
|
|
1393
1402
|
l?: Partial<AlertProps> | undefined;
|
|
1394
1403
|
xl?: Partial<AlertProps> | undefined;
|
|
1395
1404
|
} | undefined;
|
|
1396
|
-
} &
|
|
1405
|
+
} & react__default.RefAttributes<unknown>>;
|
|
1397
1406
|
|
|
1398
1407
|
type LabelProps = FabricComponent<{
|
|
1399
1408
|
label?: any;
|
|
@@ -1402,22 +1411,22 @@ type LabelProps = FabricComponent<{
|
|
|
1402
1411
|
size?: LabelSize;
|
|
1403
1412
|
children: any;
|
|
1404
1413
|
fullWidth?: boolean;
|
|
1405
|
-
}> & Omit<
|
|
1414
|
+
}> & Omit<react__default.LabelHTMLAttributes<HTMLLabelElement>, 'children'> & (LabelDirection | LabelDirectionRaw);
|
|
1406
1415
|
type LabelDirectionRaw = {
|
|
1407
1416
|
direction?: 'row' | 'row-reverse';
|
|
1408
1417
|
childrenWidth?: number | string;
|
|
1409
1418
|
};
|
|
1410
1419
|
type LabelDirection = {
|
|
1411
|
-
direction?: Omit<
|
|
1420
|
+
direction?: Omit<react__default.CSSProperties['flexDirection'], 'row' | 'row-reverse'>;
|
|
1412
1421
|
};
|
|
1413
|
-
declare const Label:
|
|
1422
|
+
declare const Label: react__default.ForwardRefExoticComponent<FabricComponent<LabelProps> & react__default.RefAttributes<unknown>>;
|
|
1414
1423
|
|
|
1415
1424
|
type CheckboxProps = {
|
|
1416
1425
|
label?: any;
|
|
1417
|
-
} & Omit<
|
|
1418
|
-
declare const Checkbox:
|
|
1426
|
+
} & Omit<react__default.InputHTMLAttributes<HTMLInputElement>, 'type'>;
|
|
1427
|
+
declare const Checkbox: react__default.ForwardRefExoticComponent<{
|
|
1419
1428
|
label?: any;
|
|
1420
|
-
} & Omit<
|
|
1429
|
+
} & Omit<react__default.InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
1421
1430
|
m?: string | number;
|
|
1422
1431
|
mt?: string | number;
|
|
1423
1432
|
mr?: string | number;
|
|
@@ -1440,7 +1449,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
1440
1449
|
l?: Partial<CheckboxProps> | undefined;
|
|
1441
1450
|
xl?: Partial<CheckboxProps> | undefined;
|
|
1442
1451
|
} | undefined;
|
|
1443
|
-
} &
|
|
1452
|
+
} & react__default.RefAttributes<unknown>>;
|
|
1444
1453
|
|
|
1445
1454
|
type Direction = 'horizontal' | 'vertical';
|
|
1446
1455
|
type LinerProgressProps = {
|
|
@@ -1449,10 +1458,10 @@ type LinerProgressProps = {
|
|
|
1449
1458
|
direction?: Direction;
|
|
1450
1459
|
value: number;
|
|
1451
1460
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'children'>;
|
|
1452
|
-
declare const LinerProgress:
|
|
1461
|
+
declare const LinerProgress: react.ForwardRefExoticComponent<Omit<FabricComponent<LinerProgressProps>, "ref"> & react.RefAttributes<unknown>>;
|
|
1453
1462
|
|
|
1454
1463
|
type SwitchProps = FabricComponent<Omit<InputHTMLAttributes<HTMLInputElement>, 'type'>>;
|
|
1455
|
-
declare const Switch:
|
|
1464
|
+
declare const Switch: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
1456
1465
|
m?: string | number;
|
|
1457
1466
|
mt?: string | number;
|
|
1458
1467
|
mr?: string | number;
|
|
@@ -1483,7 +1492,7 @@ declare const Switch: React$1.ForwardRefExoticComponent<Omit<InputHTMLAttributes
|
|
|
1483
1492
|
l?: Partial<SwitchProps> | undefined;
|
|
1484
1493
|
xl?: Partial<SwitchProps> | undefined;
|
|
1485
1494
|
} | undefined;
|
|
1486
|
-
} &
|
|
1495
|
+
} & react.RefAttributes<unknown>>;
|
|
1487
1496
|
|
|
1488
1497
|
type DrawerProps = {
|
|
1489
1498
|
isOpen: boolean;
|
|
@@ -1492,7 +1501,7 @@ type DrawerProps = {
|
|
|
1492
1501
|
header?: number;
|
|
1493
1502
|
width?: string | number;
|
|
1494
1503
|
};
|
|
1495
|
-
declare const Drawer:
|
|
1504
|
+
declare const Drawer: react.ForwardRefExoticComponent<DrawerProps & {
|
|
1496
1505
|
m?: string | number;
|
|
1497
1506
|
mt?: string | number;
|
|
1498
1507
|
mr?: string | number;
|
|
@@ -1515,7 +1524,7 @@ declare const Drawer: React$1.ForwardRefExoticComponent<DrawerProps & {
|
|
|
1515
1524
|
l?: Partial<DrawerProps> | undefined;
|
|
1516
1525
|
xl?: Partial<DrawerProps> | undefined;
|
|
1517
1526
|
} | undefined;
|
|
1518
|
-
} &
|
|
1527
|
+
} & react.RefAttributes<unknown>>;
|
|
1519
1528
|
declare const DrawerHeader: any;
|
|
1520
1529
|
declare const DrawerBody: any;
|
|
1521
1530
|
|
|
@@ -1528,7 +1537,7 @@ interface TooltipProps {
|
|
|
1528
1537
|
anchorClassName?: string;
|
|
1529
1538
|
offset?: number;
|
|
1530
1539
|
}
|
|
1531
|
-
declare const Tooltip:
|
|
1540
|
+
declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & {
|
|
1532
1541
|
m?: string | number;
|
|
1533
1542
|
mt?: string | number;
|
|
1534
1543
|
mr?: string | number;
|
|
@@ -1551,7 +1560,7 @@ declare const Tooltip: React$1.ForwardRefExoticComponent<TooltipProps & {
|
|
|
1551
1560
|
l?: Partial<TooltipProps> | undefined;
|
|
1552
1561
|
xl?: Partial<TooltipProps> | undefined;
|
|
1553
1562
|
} | undefined;
|
|
1554
|
-
} &
|
|
1563
|
+
} & react.RefAttributes<unknown>>;
|
|
1555
1564
|
|
|
1556
1565
|
interface ContentLoaderProps extends Omit<IContentLoaderProps, 'backgroundColor' | 'foregroundColor'> {
|
|
1557
1566
|
children?: any;
|
|
@@ -1566,8 +1575,10 @@ type OverlayProps = {
|
|
|
1566
1575
|
appendPosition?: Position;
|
|
1567
1576
|
prepend?: any;
|
|
1568
1577
|
prependPosition?: Position;
|
|
1578
|
+
isLocked?: boolean;
|
|
1579
|
+
className?: string;
|
|
1569
1580
|
};
|
|
1570
|
-
declare const Overlay:
|
|
1581
|
+
declare const Overlay: react.ForwardRefExoticComponent<OverlayProps & {
|
|
1571
1582
|
m?: string | number;
|
|
1572
1583
|
mt?: string | number;
|
|
1573
1584
|
mr?: string | number;
|
|
@@ -1590,7 +1601,21 @@ declare const Overlay: React$1.ForwardRefExoticComponent<OverlayProps & {
|
|
|
1590
1601
|
l?: Partial<OverlayProps> | undefined;
|
|
1591
1602
|
xl?: Partial<OverlayProps> | undefined;
|
|
1592
1603
|
} | undefined;
|
|
1593
|
-
} &
|
|
1604
|
+
} & react.RefAttributes<unknown>>;
|
|
1605
|
+
|
|
1606
|
+
type ModalProps = {
|
|
1607
|
+
onClose: () => void;
|
|
1608
|
+
width?: number;
|
|
1609
|
+
children: any;
|
|
1610
|
+
isNested?: boolean;
|
|
1611
|
+
};
|
|
1612
|
+
interface ModalChildrenProps extends FabricComponent<Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>> {
|
|
1613
|
+
children: any;
|
|
1614
|
+
}
|
|
1615
|
+
declare const Modal: ({ children, onClose, isNested, width }: ModalProps) => react_jsx_runtime.JSX.Element;
|
|
1616
|
+
declare const ModalHeader: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
|
|
1617
|
+
declare const ModalBody: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
|
|
1618
|
+
declare const ModalFooter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
|
|
1594
1619
|
|
|
1595
1620
|
interface PageLayoutProps {
|
|
1596
1621
|
header?: any;
|
|
@@ -1603,13 +1628,13 @@ interface StyledContainerProps {
|
|
|
1603
1628
|
$withHeader?: boolean;
|
|
1604
1629
|
$withSidebar?: boolean;
|
|
1605
1630
|
}
|
|
1606
|
-
declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<
|
|
1631
|
+
declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledContainerProps>> & string;
|
|
1607
1632
|
|
|
1608
1633
|
type ContainerProps = {
|
|
1609
1634
|
children: any;
|
|
1610
1635
|
maxWidth?: string | number;
|
|
1611
1636
|
};
|
|
1612
|
-
declare const Container:
|
|
1637
|
+
declare const Container: react.ForwardRefExoticComponent<ContainerProps & {
|
|
1613
1638
|
m?: string | number;
|
|
1614
1639
|
mt?: string | number;
|
|
1615
1640
|
mr?: string | number;
|
|
@@ -1632,7 +1657,7 @@ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & {
|
|
|
1632
1657
|
l?: Partial<ContainerProps> | undefined;
|
|
1633
1658
|
xl?: Partial<ContainerProps> | undefined;
|
|
1634
1659
|
} | undefined;
|
|
1635
|
-
} &
|
|
1660
|
+
} & react.RefAttributes<unknown>>;
|
|
1636
1661
|
|
|
1637
1662
|
declare const Graph2D: any;
|
|
1638
1663
|
|
|
@@ -1761,7 +1786,7 @@ interface FullscreenCardProps {
|
|
|
1761
1786
|
right?: number;
|
|
1762
1787
|
bottom?: number;
|
|
1763
1788
|
}
|
|
1764
|
-
declare const FullscreenCard:
|
|
1789
|
+
declare const FullscreenCard: react.ForwardRefExoticComponent<FullscreenCardProps & {
|
|
1765
1790
|
m?: string | number;
|
|
1766
1791
|
mt?: string | number;
|
|
1767
1792
|
mr?: string | number;
|
|
@@ -1784,6 +1809,6 @@ declare const FullscreenCard: React$1.ForwardRefExoticComponent<FullscreenCardPr
|
|
|
1784
1809
|
l?: Partial<FullscreenCardProps> | undefined;
|
|
1785
1810
|
xl?: Partial<FullscreenCardProps> | undefined;
|
|
1786
1811
|
} | undefined;
|
|
1787
|
-
} &
|
|
1812
|
+
} & react.RefAttributes<unknown>>;
|
|
1788
1813
|
|
|
1789
|
-
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, 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, 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, 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, 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 };
|
|
1814
|
+
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, 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, 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, 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, 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 };
|