@cyber-harbour/ui 1.0.60 → 1.0.62

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.ts CHANGED
@@ -1,13 +1,14 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as react from 'react';
3
- import react__default, { SVGProps, CSSProperties as CSSProperties$1, ElementType, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
1
+ import * as React$1 from 'react';
2
+ import React__default, { SVGProps, CSSProperties as CSSProperties$1, ElementType, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
4
3
  import * as styled_components from 'styled-components';
5
4
  import { CSSProperties, DefaultTheme } from 'styled-components';
6
5
  import * as styled_components_dist_types from 'styled-components/dist/types';
7
6
  import { DefaultTheme as DefaultTheme$1 } from 'styled-components/dist/types';
7
+ import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import { PopoverPosition, PopoverAlign } from 'react-tiny-popover';
9
+ import { IContentLoaderProps } from 'react-content-loader';
9
10
 
10
- declare const GlobalStyle: react.NamedExoticComponent<styled_components.ExecutionProps & object>;
11
+ declare const GlobalStyle: React$1.NamedExoticComponent<styled_components.ExecutionProps & object>;
11
12
 
12
13
  interface ThemeProviderProps {
13
14
  children: any;
@@ -412,18 +413,35 @@ type SpaceProps = {
412
413
  px?: string | number;
413
414
  py?: string | number;
414
415
  };
415
- type FabricComponent<T = object> = T & SpaceProps;
416
416
  type GeneratedFabricMarginProperties = 'margin' | 'margin-top' | 'margin-right' | 'margin-bottom' | 'margin-left' | 'margin-inline' | 'margin-block' | 'padding' | 'padding-top' | 'padding-right' | 'padding-bottom' | 'padding-left' | 'padding-inline' | 'padding-block';
417
- declare const generatePropertySpaceStyle: (theme: DefaultTheme, property: GeneratedFabricMarginProperties, value?: string | number, ignoredOptions?: GeneratedFabricMarginProperties[]) => string;
418
- type FabricComponentOptions = {
417
+ type MediaProps<T = object> = {
418
+ media?: {
419
+ [key in Breakpoint]?: Partial<T>;
420
+ };
421
+ };
422
+ type FabricStyledComponentOptions = {
419
423
  ignoreStyles?: GeneratedFabricMarginProperties[] | undefined;
420
424
  };
421
- declare const createComponent: <T extends object = {}>(component: React.ComponentType<T>, options?: FabricComponentOptions) => styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<T | (react.PropsWithoutRef<T> & react.RefAttributes<react.Component<T, any, any>>), T & object & SpaceProps>> & (string & (Omit<react.ComponentClass<T, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<T>, keyof react.Component<any, {}, any>>));
425
+ type CreatedFabricComponent<T extends FabricComponent> = React__default.ComponentType<Omit<T, 'media'>> | React__default.ForwardRefExoticComponent<Omit<T, 'media'>>;
426
+ type FabricComponent<T = object> = T & SpaceProps & MediaProps<T>;
427
+ type StyledFabricComponent<T = object> = T & SpaceProps;
422
428
  declare const destructSpaceProps: <T extends FabricComponent>(props: T) => SpaceProps;
429
+ declare const generatePropertySpaceStyle: (theme: DefaultTheme, property: GeneratedFabricMarginProperties, value?: string | number, ignoredOptions?: GeneratedFabricMarginProperties[]) => string;
430
+ declare function getResponsiveProps<T = object>({ media, ...props }: T & MediaProps<T>, currentBreakpoint: Breakpoint, breakpointOrder: Breakpoint[]): Omit<T & MediaProps<T>, "media">;
431
+ declare const createComponent: <T extends FabricComponent, R = unknown>(Component: CreatedFabricComponent<T>) => React__default.ForwardRefExoticComponent<React__default.PropsWithoutRef<FabricComponent<T>> & React__default.RefAttributes<R>>;
432
+ 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>>));
423
433
 
424
434
  declare const useTheme: () => Theme;
425
435
 
426
- type BaseButtonProps = FabricComponent<{
436
+ declare const BreakpointProvider: ({ children }: {
437
+ children: any;
438
+ }) => react_jsx_runtime.JSX.Element;
439
+ declare const useBreakpoint: () => {
440
+ currentBreakpoint: Breakpoint;
441
+ breakpointsOrder: Breakpoint[];
442
+ };
443
+
444
+ type BaseButtonProps = {
427
445
  children?: any;
428
446
  variant?: ButtonVariant;
429
447
  color?: ButtonColor;
@@ -434,9 +452,9 @@ type BaseButtonProps = FabricComponent<{
434
452
  icon?: any;
435
453
  iconPosition?: 'left' | 'right';
436
454
  iconVariant?: 'filled' | 'empty';
437
- }>;
438
- type ButtonProps = (Omit<react__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'children'> | Omit<react__default.ButtonHTMLAttributes<HTMLButtonElement>, 'children'>) & BaseButtonProps;
439
- declare const Button: ({ children, variant, color, size, disabled, fullWidth, className, icon, iconPosition, iconVariant, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
455
+ };
456
+ type ButtonProps = (Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'media'> | Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'media'>) & BaseButtonProps;
457
+ declare const Button: React__default.ForwardRefExoticComponent<FabricComponent<ButtonProps> & React__default.RefAttributes<unknown>>;
440
458
 
441
459
  interface AlertIconProps extends SVGProps<SVGSVGElement> {
442
460
  fill?: string;
@@ -744,6 +762,16 @@ interface PencilIconProps extends SVGProps<SVGSVGElement> {
744
762
  }
745
763
  declare const PencilIcon: ({ fill, ...props }: PencilIconProps) => react_jsx_runtime.JSX.Element;
746
764
 
765
+ interface UserInCircleIconProps extends SVGProps<SVGSVGElement> {
766
+ fill?: string;
767
+ }
768
+ declare const UserInCircleIcon: ({ fill, ...props }: UserInCircleIconProps) => react_jsx_runtime.JSX.Element;
769
+
770
+ interface FlashIconProps extends SVGProps<SVGSVGElement> {
771
+ fill?: string;
772
+ }
773
+ declare const FlashIcon: ({ fill, ...props }: FlashIconProps) => react_jsx_runtime.JSX.Element;
774
+
747
775
  interface SidebarProps {
748
776
  defaultCollapsed?: boolean;
749
777
  children: any;
@@ -754,7 +782,7 @@ interface SidebarContext {
754
782
  collapsed: boolean;
755
783
  setCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
756
784
  }
757
- declare const SidebarContext: react.Context<SidebarContext>;
785
+ declare const SidebarContext: React$1.Context<SidebarContext>;
758
786
 
759
787
  interface SidebarItemBase {
760
788
  active?: boolean;
@@ -794,7 +822,98 @@ type TypographyProps = FabricComponent<{
794
822
  className?: string;
795
823
  ellipsis?: boolean;
796
824
  }> & Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>;
797
- declare const Typography: ({ variant, element, children, weight, fontStyle, color, className, style, ellipsis, ...props }: TypographyProps) => react_jsx_runtime.JSX.Element;
825
+ declare const Typography: React$1.ForwardRefExoticComponent<{
826
+ style?: CSSProperties$1;
827
+ variant?: TypographyVariant;
828
+ element?: ElementType;
829
+ children: any;
830
+ weight?: CSSProperties$1["fontWeight"];
831
+ fontStyle?: CSSProperties$1["fontStyle"];
832
+ color?: ColorVariant | string;
833
+ className?: string;
834
+ ellipsis?: boolean;
835
+ } & {
836
+ m?: string | number;
837
+ mt?: string | number;
838
+ mr?: string | number;
839
+ mb?: string | number;
840
+ ml?: string | number;
841
+ mx?: string | number;
842
+ my?: string | number;
843
+ p?: string | number;
844
+ pt?: string | number;
845
+ pr?: string | number;
846
+ pb?: string | number;
847
+ pl?: string | number;
848
+ px?: string | number;
849
+ py?: string | number;
850
+ } & {
851
+ media?: {
852
+ xs?: Partial<{
853
+ style?: CSSProperties$1;
854
+ variant?: TypographyVariant;
855
+ element?: ElementType;
856
+ children: any;
857
+ weight?: CSSProperties$1["fontWeight"];
858
+ fontStyle?: CSSProperties$1["fontStyle"];
859
+ color?: ColorVariant | string;
860
+ className?: string;
861
+ ellipsis?: boolean;
862
+ }> | undefined;
863
+ s?: Partial<{
864
+ style?: CSSProperties$1;
865
+ variant?: TypographyVariant;
866
+ element?: ElementType;
867
+ children: any;
868
+ weight?: CSSProperties$1["fontWeight"];
869
+ fontStyle?: CSSProperties$1["fontStyle"];
870
+ color?: ColorVariant | string;
871
+ className?: string;
872
+ ellipsis?: boolean;
873
+ }> | undefined;
874
+ m?: Partial<{
875
+ style?: CSSProperties$1;
876
+ variant?: TypographyVariant;
877
+ element?: ElementType;
878
+ children: any;
879
+ weight?: CSSProperties$1["fontWeight"];
880
+ fontStyle?: CSSProperties$1["fontStyle"];
881
+ color?: ColorVariant | string;
882
+ className?: string;
883
+ ellipsis?: boolean;
884
+ }> | undefined;
885
+ l?: Partial<{
886
+ style?: CSSProperties$1;
887
+ variant?: TypographyVariant;
888
+ element?: ElementType;
889
+ children: any;
890
+ weight?: CSSProperties$1["fontWeight"];
891
+ fontStyle?: CSSProperties$1["fontStyle"];
892
+ color?: ColorVariant | string;
893
+ className?: string;
894
+ ellipsis?: boolean;
895
+ }> | undefined;
896
+ xl?: Partial<{
897
+ style?: CSSProperties$1;
898
+ variant?: TypographyVariant;
899
+ element?: ElementType;
900
+ children: any;
901
+ weight?: CSSProperties$1["fontWeight"];
902
+ fontStyle?: CSSProperties$1["fontStyle"];
903
+ color?: ColorVariant | string;
904
+ className?: string;
905
+ ellipsis?: boolean;
906
+ }> | undefined;
907
+ } | undefined;
908
+ } & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & {
909
+ media?: {
910
+ xs?: Partial<TypographyProps> | undefined;
911
+ s?: Partial<TypographyProps> | undefined;
912
+ m?: Partial<TypographyProps> | undefined;
913
+ l?: Partial<TypographyProps> | undefined;
914
+ xl?: Partial<TypographyProps> | undefined;
915
+ } | undefined;
916
+ } & React$1.RefAttributes<unknown>>;
798
917
 
799
918
  interface ListMenuProps {
800
919
  children: any;
@@ -893,7 +1012,7 @@ declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, dis
893
1012
 
894
1013
  interface StyledProps {
895
1014
  }
896
- declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
1015
+ declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
897
1016
 
898
1017
  declare const useContextMenuControl: () => {
899
1018
  isOpen: boolean;
@@ -961,7 +1080,49 @@ type TextAreaElementProps = BaseInputProps & TextareaHTMLAttributes<HTMLTextArea
961
1080
  type InputProps = InputElementProps | TextAreaElementProps;
962
1081
  declare const Input: any;
963
1082
 
964
- declare const FlexContainer: any;
1083
+ type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
1084
+ type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
1085
+ type FlexJustify = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
1086
+ type FlexAlign = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
1087
+ type FlexGap = string | number;
1088
+ interface FlexContainerProps extends FabricComponent<Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>> {
1089
+ children: any;
1090
+ direction?: FlexDirection;
1091
+ wrap?: FlexWrap;
1092
+ justify?: FlexJustify;
1093
+ align?: FlexAlign;
1094
+ alignContent?: FlexAlign;
1095
+ gap?: FlexGap;
1096
+ rowGap?: FlexGap;
1097
+ columnGap?: FlexGap;
1098
+ className?: string;
1099
+ style?: CSSProperties$1;
1100
+ as?: any;
1101
+ }
1102
+ declare const FlexContainer: React$1.ForwardRefExoticComponent<FlexContainerProps & {
1103
+ m?: string | number;
1104
+ mt?: string | number;
1105
+ mr?: string | number;
1106
+ mb?: string | number;
1107
+ ml?: string | number;
1108
+ mx?: string | number;
1109
+ my?: string | number;
1110
+ p?: string | number;
1111
+ pt?: string | number;
1112
+ pr?: string | number;
1113
+ pb?: string | number;
1114
+ pl?: string | number;
1115
+ px?: string | number;
1116
+ py?: string | number;
1117
+ } & {
1118
+ media?: {
1119
+ xs?: Partial<FlexContainerProps> | undefined;
1120
+ s?: Partial<FlexContainerProps> | undefined;
1121
+ m?: Partial<FlexContainerProps> | undefined;
1122
+ l?: Partial<FlexContainerProps> | undefined;
1123
+ xl?: Partial<FlexContainerProps> | undefined;
1124
+ } | undefined;
1125
+ } & React$1.RefAttributes<HTMLDivElement>>;
965
1126
 
966
1127
  type FlexItemGrow = number;
967
1128
  type FlexItemShrink = number;
@@ -978,20 +1139,43 @@ interface FlexItemProps {
978
1139
  style?: CSSProperties$1;
979
1140
  as?: any;
980
1141
  }
981
- declare const FlexItem: ({ children, grow, shrink, basis, align, order, className, style, as, }: FlexItemProps) => react_jsx_runtime.JSX.Element;
982
-
983
- type BoxProps = FabricComponent<{
984
- children: any;
1142
+ declare const FlexItem: React$1.ForwardRefExoticComponent<FlexItemProps & {
1143
+ m?: string | number;
1144
+ mt?: string | number;
1145
+ mr?: string | number;
1146
+ mb?: string | number;
1147
+ ml?: string | number;
1148
+ mx?: string | number;
1149
+ my?: string | number;
1150
+ p?: string | number;
1151
+ pt?: string | number;
1152
+ pr?: string | number;
1153
+ pb?: string | number;
1154
+ pl?: string | number;
1155
+ px?: string | number;
1156
+ py?: string | number;
1157
+ } & {
1158
+ media?: {
1159
+ xs?: Partial<FlexItemProps> | undefined;
1160
+ s?: Partial<FlexItemProps> | undefined;
1161
+ m?: Partial<FlexItemProps> | undefined;
1162
+ l?: Partial<FlexItemProps> | undefined;
1163
+ xl?: Partial<FlexItemProps> | undefined;
1164
+ } | undefined;
1165
+ } & React$1.RefAttributes<unknown>>;
1166
+
1167
+ type BoxProps = {
1168
+ children?: any;
985
1169
  element?: 'div' | 'section';
986
1170
  hasBorder?: boolean;
987
1171
  color?: ColorVariant | string;
988
- } & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
989
- declare const Box: ({ children, element, hasBorder, color, ...props }: BoxProps) => react_jsx_runtime.JSX.Element;
1172
+ } & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
1173
+ declare const Box: React$1.ForwardRefExoticComponent<Omit<FabricComponent<BoxProps>, "ref"> & React$1.RefAttributes<unknown>>;
990
1174
 
991
1175
  type LineProps = FabricComponent<{
992
1176
  direction?: 'horizontal' | 'vertical';
993
1177
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'children'>>;
994
- declare const Line: ({ direction, ...props }: LineProps) => react_jsx_runtime.JSX.Element;
1178
+ declare const Line: React$1.ForwardRefExoticComponent<Omit<FabricComponent<LineProps>, "ref"> & React$1.RefAttributes<unknown>>;
995
1179
 
996
1180
  interface EmptyDataProps {
997
1181
  children?: any;
@@ -1010,14 +1194,148 @@ type TagProps = FabricComponent<{
1010
1194
  disabled?: boolean;
1011
1195
  onClick?: () => void;
1012
1196
  onDelete?: () => void;
1013
- }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1014
- declare const Tag: ({ children, variant, color, className, disabled, icon, onClick, onDelete, ...props }: TagProps) => react_jsx_runtime.JSX.Element;
1197
+ }> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1198
+ declare const Tag: React__default.ForwardRefExoticComponent<{
1199
+ children?: any;
1200
+ variant?: TagVariant;
1201
+ color?: TagColor;
1202
+ className?: string;
1203
+ icon?: any;
1204
+ disabled?: boolean;
1205
+ onClick?: () => void;
1206
+ onDelete?: () => void;
1207
+ } & {
1208
+ m?: string | number;
1209
+ mt?: string | number;
1210
+ mr?: string | number;
1211
+ mb?: string | number;
1212
+ ml?: string | number;
1213
+ mx?: string | number;
1214
+ my?: string | number;
1215
+ p?: string | number;
1216
+ pt?: string | number;
1217
+ pr?: string | number;
1218
+ pb?: string | number;
1219
+ pl?: string | number;
1220
+ px?: string | number;
1221
+ py?: string | number;
1222
+ } & {
1223
+ media?: {
1224
+ xs?: Partial<{
1225
+ children?: any;
1226
+ variant?: TagVariant;
1227
+ color?: TagColor;
1228
+ className?: string;
1229
+ icon?: any;
1230
+ disabled?: boolean;
1231
+ onClick?: () => void;
1232
+ onDelete?: () => void;
1233
+ }> | undefined;
1234
+ s?: Partial<{
1235
+ children?: any;
1236
+ variant?: TagVariant;
1237
+ color?: TagColor;
1238
+ className?: string;
1239
+ icon?: any;
1240
+ disabled?: boolean;
1241
+ onClick?: () => void;
1242
+ onDelete?: () => void;
1243
+ }> | undefined;
1244
+ m?: Partial<{
1245
+ children?: any;
1246
+ variant?: TagVariant;
1247
+ color?: TagColor;
1248
+ className?: string;
1249
+ icon?: any;
1250
+ disabled?: boolean;
1251
+ onClick?: () => void;
1252
+ onDelete?: () => void;
1253
+ }> | undefined;
1254
+ l?: Partial<{
1255
+ children?: any;
1256
+ variant?: TagVariant;
1257
+ color?: TagColor;
1258
+ className?: string;
1259
+ icon?: any;
1260
+ disabled?: boolean;
1261
+ onClick?: () => void;
1262
+ onDelete?: () => void;
1263
+ }> | undefined;
1264
+ xl?: Partial<{
1265
+ children?: any;
1266
+ variant?: TagVariant;
1267
+ color?: TagColor;
1268
+ className?: string;
1269
+ icon?: any;
1270
+ disabled?: boolean;
1271
+ onClick?: () => void;
1272
+ onDelete?: () => void;
1273
+ }> | undefined;
1274
+ } | undefined;
1275
+ } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & {
1276
+ media?: {
1277
+ xs?: Partial<TagProps> | undefined;
1278
+ s?: Partial<TagProps> | undefined;
1279
+ m?: Partial<TagProps> | undefined;
1280
+ l?: Partial<TagProps> | undefined;
1281
+ xl?: Partial<TagProps> | undefined;
1282
+ } | undefined;
1283
+ } & React__default.RefAttributes<unknown>>;
1015
1284
 
1016
1285
  type AlertProps = FabricComponent<{
1017
1286
  title?: any;
1018
1287
  note?: any;
1019
- }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1020
- declare const Alert: ({ title, note, ...props }: AlertProps) => react_jsx_runtime.JSX.Element;
1288
+ }> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1289
+ declare const Alert: React__default.ForwardRefExoticComponent<{
1290
+ title?: any;
1291
+ note?: any;
1292
+ } & {
1293
+ m?: string | number;
1294
+ mt?: string | number;
1295
+ mr?: string | number;
1296
+ mb?: string | number;
1297
+ ml?: string | number;
1298
+ mx?: string | number;
1299
+ my?: string | number;
1300
+ p?: string | number;
1301
+ pt?: string | number;
1302
+ pr?: string | number;
1303
+ pb?: string | number;
1304
+ pl?: string | number;
1305
+ px?: string | number;
1306
+ py?: string | number;
1307
+ } & {
1308
+ media?: {
1309
+ xs?: Partial<{
1310
+ title?: any;
1311
+ note?: any;
1312
+ }> | undefined;
1313
+ s?: Partial<{
1314
+ title?: any;
1315
+ note?: any;
1316
+ }> | undefined;
1317
+ m?: Partial<{
1318
+ title?: any;
1319
+ note?: any;
1320
+ }> | undefined;
1321
+ l?: Partial<{
1322
+ title?: any;
1323
+ note?: any;
1324
+ }> | undefined;
1325
+ xl?: Partial<{
1326
+ title?: any;
1327
+ note?: any;
1328
+ }> | undefined;
1329
+ } | undefined;
1330
+ } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & {
1331
+ media?: {
1332
+ xs?: Partial<AlertProps> | undefined;
1333
+ s?: Partial<AlertProps> | undefined;
1334
+ m?: Partial<AlertProps> | undefined;
1335
+ l?: Partial<AlertProps> | undefined;
1336
+ xl?: Partial<AlertProps> | undefined;
1337
+ } | undefined;
1338
+ } & React__default.RefAttributes<unknown>>;
1021
1339
 
1022
1340
  type LabelProps = FabricComponent<{
1023
1341
  label?: any;
@@ -1026,32 +1344,88 @@ type LabelProps = FabricComponent<{
1026
1344
  size?: LabelSize;
1027
1345
  children: any;
1028
1346
  fullWidth?: boolean;
1029
- }> & Omit<react__default.LabelHTMLAttributes<HTMLLabelElement>, 'children'> & (LabelDirection | LabelDirectionRaw);
1347
+ }> & Omit<React__default.LabelHTMLAttributes<HTMLLabelElement>, 'children'> & (LabelDirection | LabelDirectionRaw);
1030
1348
  type LabelDirectionRaw = {
1031
1349
  direction?: 'row' | 'row-reverse';
1032
1350
  childrenWidth?: number | string;
1033
1351
  };
1034
1352
  type LabelDirection = {
1035
- direction?: Omit<react__default.CSSProperties['flexDirection'], 'row' | 'row-reverse'>;
1353
+ direction?: Omit<React__default.CSSProperties['flexDirection'], 'row' | 'row-reverse'>;
1036
1354
  };
1037
- declare const Label: ({ label, helpText, children, direction, size, errorText, fullWidth, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
1355
+ declare const Label: React__default.ForwardRefExoticComponent<FabricComponent<LabelProps> & React__default.RefAttributes<unknown>>;
1038
1356
 
1039
- type CheckboxProps = FabricComponent<{
1357
+ type CheckboxProps = {
1040
1358
  label?: any;
1041
- }> & Omit<react__default.InputHTMLAttributes<HTMLInputElement>, 'type'>;
1042
- declare const Checkbox: ({ label, className, disabled, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
1359
+ } & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'type'>;
1360
+ declare const Checkbox: React__default.ForwardRefExoticComponent<{
1361
+ label?: any;
1362
+ } & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & {
1363
+ m?: string | number;
1364
+ mt?: string | number;
1365
+ mr?: string | number;
1366
+ mb?: string | number;
1367
+ ml?: string | number;
1368
+ mx?: string | number;
1369
+ my?: string | number;
1370
+ p?: string | number;
1371
+ pt?: string | number;
1372
+ pr?: string | number;
1373
+ pb?: string | number;
1374
+ pl?: string | number;
1375
+ px?: string | number;
1376
+ py?: string | number;
1377
+ } & {
1378
+ media?: {
1379
+ xs?: Partial<CheckboxProps> | undefined;
1380
+ s?: Partial<CheckboxProps> | undefined;
1381
+ m?: Partial<CheckboxProps> | undefined;
1382
+ l?: Partial<CheckboxProps> | undefined;
1383
+ xl?: Partial<CheckboxProps> | undefined;
1384
+ } | undefined;
1385
+ } & React__default.RefAttributes<unknown>>;
1043
1386
 
1044
1387
  type Direction = 'horizontal' | 'vertical';
1045
- type LinerProgressProps = FabricComponent<{
1388
+ type LinerProgressProps = {
1046
1389
  height?: number;
1047
1390
  width?: string | number;
1048
1391
  direction?: Direction;
1049
1392
  value: number;
1050
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'children'>>;
1051
- declare const LinerProgress: ({ height, width, direction, value, ...props }: LinerProgressProps) => react_jsx_runtime.JSX.Element;
1393
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'children'>;
1394
+ declare const LinerProgress: React$1.ForwardRefExoticComponent<Omit<FabricComponent<LinerProgressProps>, "ref"> & React$1.RefAttributes<unknown>>;
1052
1395
 
1053
1396
  type SwitchProps = FabricComponent<Omit<InputHTMLAttributes<HTMLInputElement>, 'type'>>;
1054
- declare const Switch: ({ className, ...props }: SwitchProps) => react_jsx_runtime.JSX.Element;
1397
+ declare const Switch: React$1.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type"> & {
1398
+ m?: string | number;
1399
+ mt?: string | number;
1400
+ mr?: string | number;
1401
+ mb?: string | number;
1402
+ ml?: string | number;
1403
+ mx?: string | number;
1404
+ my?: string | number;
1405
+ p?: string | number;
1406
+ pt?: string | number;
1407
+ pr?: string | number;
1408
+ pb?: string | number;
1409
+ pl?: string | number;
1410
+ px?: string | number;
1411
+ py?: string | number;
1412
+ } & {
1413
+ media?: {
1414
+ xs?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1415
+ s?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1416
+ m?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1417
+ l?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1418
+ xl?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1419
+ } | undefined;
1420
+ } & {
1421
+ media?: {
1422
+ xs?: Partial<SwitchProps> | undefined;
1423
+ s?: Partial<SwitchProps> | undefined;
1424
+ m?: Partial<SwitchProps> | undefined;
1425
+ l?: Partial<SwitchProps> | undefined;
1426
+ xl?: Partial<SwitchProps> | undefined;
1427
+ } | undefined;
1428
+ } & React$1.RefAttributes<unknown>>;
1055
1429
 
1056
1430
  type DrawerProps = {
1057
1431
  isOpen: boolean;
@@ -1060,7 +1434,30 @@ type DrawerProps = {
1060
1434
  header?: number;
1061
1435
  width?: string | number;
1062
1436
  };
1063
- declare const Drawer: (props: DrawerProps) => react.ReactPortal | null;
1437
+ declare const Drawer: React$1.ForwardRefExoticComponent<DrawerProps & {
1438
+ m?: string | number;
1439
+ mt?: string | number;
1440
+ mr?: string | number;
1441
+ mb?: string | number;
1442
+ ml?: string | number;
1443
+ mx?: string | number;
1444
+ my?: string | number;
1445
+ p?: string | number;
1446
+ pt?: string | number;
1447
+ pr?: string | number;
1448
+ pb?: string | number;
1449
+ pl?: string | number;
1450
+ px?: string | number;
1451
+ py?: string | number;
1452
+ } & {
1453
+ media?: {
1454
+ xs?: Partial<DrawerProps> | undefined;
1455
+ s?: Partial<DrawerProps> | undefined;
1456
+ m?: Partial<DrawerProps> | undefined;
1457
+ l?: Partial<DrawerProps> | undefined;
1458
+ xl?: Partial<DrawerProps> | undefined;
1459
+ } | undefined;
1460
+ } & React$1.RefAttributes<unknown>>;
1064
1461
  declare const DrawerHeader: any;
1065
1462
  declare const DrawerBody: any;
1066
1463
 
@@ -1073,7 +1470,35 @@ interface TooltipProps {
1073
1470
  anchorClassName?: string;
1074
1471
  offset?: number;
1075
1472
  }
1076
- declare const Tooltip: ({ className, positions, align, anchorClassName, content, offset, children, }: TooltipProps) => react_jsx_runtime.JSX.Element;
1473
+ declare const Tooltip: React$1.ForwardRefExoticComponent<TooltipProps & {
1474
+ m?: string | number;
1475
+ mt?: string | number;
1476
+ mr?: string | number;
1477
+ mb?: string | number;
1478
+ ml?: string | number;
1479
+ mx?: string | number;
1480
+ my?: string | number;
1481
+ p?: string | number;
1482
+ pt?: string | number;
1483
+ pr?: string | number;
1484
+ pb?: string | number;
1485
+ pl?: string | number;
1486
+ px?: string | number;
1487
+ py?: string | number;
1488
+ } & {
1489
+ media?: {
1490
+ xs?: Partial<TooltipProps> | undefined;
1491
+ s?: Partial<TooltipProps> | undefined;
1492
+ m?: Partial<TooltipProps> | undefined;
1493
+ l?: Partial<TooltipProps> | undefined;
1494
+ xl?: Partial<TooltipProps> | undefined;
1495
+ } | undefined;
1496
+ } & React$1.RefAttributes<unknown>>;
1497
+
1498
+ interface ContentLoaderProps extends Omit<IContentLoaderProps, 'backgroundColor' | 'foregroundColor'> {
1499
+ children?: any;
1500
+ }
1501
+ declare const ContentLoader: (props: ContentLoaderProps) => react_jsx_runtime.JSX.Element;
1077
1502
 
1078
1503
  interface PageLayoutProps {
1079
1504
  header?: any;
@@ -1086,13 +1511,36 @@ interface StyledContainerProps {
1086
1511
  $withHeader?: boolean;
1087
1512
  $withSidebar?: boolean;
1088
1513
  }
1089
- declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledContainerProps>> & string;
1514
+ declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledContainerProps>> & string;
1090
1515
 
1091
- type ContainerProps = FabricComponent<{
1516
+ type ContainerProps = {
1092
1517
  children: any;
1093
1518
  maxWidth?: string | number;
1094
- }>;
1095
- declare const Container: ({ maxWidth, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
1519
+ };
1520
+ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & {
1521
+ m?: string | number;
1522
+ mt?: string | number;
1523
+ mr?: string | number;
1524
+ mb?: string | number;
1525
+ ml?: string | number;
1526
+ mx?: string | number;
1527
+ my?: string | number;
1528
+ p?: string | number;
1529
+ pt?: string | number;
1530
+ pr?: string | number;
1531
+ pb?: string | number;
1532
+ pl?: string | number;
1533
+ px?: string | number;
1534
+ py?: string | number;
1535
+ } & {
1536
+ media?: {
1537
+ xs?: Partial<ContainerProps> | undefined;
1538
+ s?: Partial<ContainerProps> | undefined;
1539
+ m?: Partial<ContainerProps> | undefined;
1540
+ l?: Partial<ContainerProps> | undefined;
1541
+ xl?: Partial<ContainerProps> | undefined;
1542
+ } | undefined;
1543
+ } & React$1.RefAttributes<unknown>>;
1096
1544
 
1097
1545
  declare const Graph2D: any;
1098
1546
 
@@ -1216,6 +1664,29 @@ interface FullscreenCardProps {
1216
1664
  right?: number;
1217
1665
  bottom?: number;
1218
1666
  }
1219
- declare const FullscreenCard: ({ isActive, position, top, left, right, bottom, ...props }: FullscreenCardProps) => react_jsx_runtime.JSX.Element;
1220
-
1221
- export { type Action, Alert, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, Box, type Breakpoint, 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, ContextMenu, ContextMenuDelimiter, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileIcon, FiltersIcon, FlexContainer, FlexItem, FolderAlertIcon, 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, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, RowActionsMenu, SandBoxIcon, SearchIcon, Select, ShipIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, StyledContainer, 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, UsersIcon, VectorIcon, WayIcon, convertPaletteToRem, createComponent, darkTheme, darkThemePx, destructSpaceProps, generatePropertySpaceStyle, getBreakpoint, getButtonSizeStyles, getButtonStyles, getInputStyles, getTypographyStyles, hexToRgba, lightTheme, lightThemePx, propToRem, pxToRem, remToPx, resolveThemeColor, useContextMenuControl, useTheme };
1667
+ declare const FullscreenCard: React$1.ForwardRefExoticComponent<FullscreenCardProps & {
1668
+ m?: string | number;
1669
+ mt?: string | number;
1670
+ mr?: string | number;
1671
+ mb?: string | number;
1672
+ ml?: string | number;
1673
+ mx?: string | number;
1674
+ my?: string | number;
1675
+ p?: string | number;
1676
+ pt?: string | number;
1677
+ pr?: string | number;
1678
+ pb?: string | number;
1679
+ pl?: string | number;
1680
+ px?: string | number;
1681
+ py?: string | number;
1682
+ } & {
1683
+ media?: {
1684
+ xs?: Partial<FullscreenCardProps> | undefined;
1685
+ s?: Partial<FullscreenCardProps> | undefined;
1686
+ m?: Partial<FullscreenCardProps> | undefined;
1687
+ l?: Partial<FullscreenCardProps> | undefined;
1688
+ xl?: Partial<FullscreenCardProps> | undefined;
1689
+ } | undefined;
1690
+ } & React$1.RefAttributes<unknown>>;
1691
+
1692
+ 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, 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, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, 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 };