@cyber-harbour/ui 1.0.60 → 1.0.61

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;
@@ -754,7 +772,7 @@ interface SidebarContext {
754
772
  collapsed: boolean;
755
773
  setCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
756
774
  }
757
- declare const SidebarContext: react.Context<SidebarContext>;
775
+ declare const SidebarContext: React$1.Context<SidebarContext>;
758
776
 
759
777
  interface SidebarItemBase {
760
778
  active?: boolean;
@@ -794,7 +812,98 @@ type TypographyProps = FabricComponent<{
794
812
  className?: string;
795
813
  ellipsis?: boolean;
796
814
  }> & 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;
815
+ declare const Typography: React$1.ForwardRefExoticComponent<{
816
+ style?: CSSProperties$1;
817
+ variant?: TypographyVariant;
818
+ element?: ElementType;
819
+ children: any;
820
+ weight?: CSSProperties$1["fontWeight"];
821
+ fontStyle?: CSSProperties$1["fontStyle"];
822
+ color?: ColorVariant | string;
823
+ className?: string;
824
+ ellipsis?: boolean;
825
+ } & {
826
+ m?: string | number;
827
+ mt?: string | number;
828
+ mr?: string | number;
829
+ mb?: string | number;
830
+ ml?: string | number;
831
+ mx?: string | number;
832
+ my?: string | number;
833
+ p?: string | number;
834
+ pt?: string | number;
835
+ pr?: string | number;
836
+ pb?: string | number;
837
+ pl?: string | number;
838
+ px?: string | number;
839
+ py?: string | number;
840
+ } & {
841
+ media?: {
842
+ xs?: Partial<{
843
+ style?: CSSProperties$1;
844
+ variant?: TypographyVariant;
845
+ element?: ElementType;
846
+ children: any;
847
+ weight?: CSSProperties$1["fontWeight"];
848
+ fontStyle?: CSSProperties$1["fontStyle"];
849
+ color?: ColorVariant | string;
850
+ className?: string;
851
+ ellipsis?: boolean;
852
+ }> | undefined;
853
+ s?: Partial<{
854
+ style?: CSSProperties$1;
855
+ variant?: TypographyVariant;
856
+ element?: ElementType;
857
+ children: any;
858
+ weight?: CSSProperties$1["fontWeight"];
859
+ fontStyle?: CSSProperties$1["fontStyle"];
860
+ color?: ColorVariant | string;
861
+ className?: string;
862
+ ellipsis?: boolean;
863
+ }> | undefined;
864
+ m?: Partial<{
865
+ style?: CSSProperties$1;
866
+ variant?: TypographyVariant;
867
+ element?: ElementType;
868
+ children: any;
869
+ weight?: CSSProperties$1["fontWeight"];
870
+ fontStyle?: CSSProperties$1["fontStyle"];
871
+ color?: ColorVariant | string;
872
+ className?: string;
873
+ ellipsis?: boolean;
874
+ }> | undefined;
875
+ l?: Partial<{
876
+ style?: CSSProperties$1;
877
+ variant?: TypographyVariant;
878
+ element?: ElementType;
879
+ children: any;
880
+ weight?: CSSProperties$1["fontWeight"];
881
+ fontStyle?: CSSProperties$1["fontStyle"];
882
+ color?: ColorVariant | string;
883
+ className?: string;
884
+ ellipsis?: boolean;
885
+ }> | undefined;
886
+ xl?: Partial<{
887
+ style?: CSSProperties$1;
888
+ variant?: TypographyVariant;
889
+ element?: ElementType;
890
+ children: any;
891
+ weight?: CSSProperties$1["fontWeight"];
892
+ fontStyle?: CSSProperties$1["fontStyle"];
893
+ color?: ColorVariant | string;
894
+ className?: string;
895
+ ellipsis?: boolean;
896
+ }> | undefined;
897
+ } | undefined;
898
+ } & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & {
899
+ media?: {
900
+ xs?: Partial<TypographyProps> | undefined;
901
+ s?: Partial<TypographyProps> | undefined;
902
+ m?: Partial<TypographyProps> | undefined;
903
+ l?: Partial<TypographyProps> | undefined;
904
+ xl?: Partial<TypographyProps> | undefined;
905
+ } | undefined;
906
+ } & React$1.RefAttributes<unknown>>;
798
907
 
799
908
  interface ListMenuProps {
800
909
  children: any;
@@ -893,7 +1002,7 @@ declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, dis
893
1002
 
894
1003
  interface StyledProps {
895
1004
  }
896
- declare const ContextMenuDelimiter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
1005
+ 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
1006
 
898
1007
  declare const useContextMenuControl: () => {
899
1008
  isOpen: boolean;
@@ -961,7 +1070,49 @@ type TextAreaElementProps = BaseInputProps & TextareaHTMLAttributes<HTMLTextArea
961
1070
  type InputProps = InputElementProps | TextAreaElementProps;
962
1071
  declare const Input: any;
963
1072
 
964
- declare const FlexContainer: any;
1073
+ type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
1074
+ type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
1075
+ type FlexJustify = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
1076
+ type FlexAlign = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
1077
+ type FlexGap = string | number;
1078
+ interface FlexContainerProps extends FabricComponent<Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>> {
1079
+ children: any;
1080
+ direction?: FlexDirection;
1081
+ wrap?: FlexWrap;
1082
+ justify?: FlexJustify;
1083
+ align?: FlexAlign;
1084
+ alignContent?: FlexAlign;
1085
+ gap?: FlexGap;
1086
+ rowGap?: FlexGap;
1087
+ columnGap?: FlexGap;
1088
+ className?: string;
1089
+ style?: CSSProperties$1;
1090
+ as?: any;
1091
+ }
1092
+ declare const FlexContainer: React$1.ForwardRefExoticComponent<FlexContainerProps & {
1093
+ m?: string | number;
1094
+ mt?: string | number;
1095
+ mr?: string | number;
1096
+ mb?: string | number;
1097
+ ml?: string | number;
1098
+ mx?: string | number;
1099
+ my?: string | number;
1100
+ p?: string | number;
1101
+ pt?: string | number;
1102
+ pr?: string | number;
1103
+ pb?: string | number;
1104
+ pl?: string | number;
1105
+ px?: string | number;
1106
+ py?: string | number;
1107
+ } & {
1108
+ media?: {
1109
+ xs?: Partial<FlexContainerProps> | undefined;
1110
+ s?: Partial<FlexContainerProps> | undefined;
1111
+ m?: Partial<FlexContainerProps> | undefined;
1112
+ l?: Partial<FlexContainerProps> | undefined;
1113
+ xl?: Partial<FlexContainerProps> | undefined;
1114
+ } | undefined;
1115
+ } & React$1.RefAttributes<HTMLDivElement>>;
965
1116
 
966
1117
  type FlexItemGrow = number;
967
1118
  type FlexItemShrink = number;
@@ -978,20 +1129,43 @@ interface FlexItemProps {
978
1129
  style?: CSSProperties$1;
979
1130
  as?: any;
980
1131
  }
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;
1132
+ declare const FlexItem: React$1.ForwardRefExoticComponent<FlexItemProps & {
1133
+ m?: string | number;
1134
+ mt?: string | number;
1135
+ mr?: string | number;
1136
+ mb?: string | number;
1137
+ ml?: string | number;
1138
+ mx?: string | number;
1139
+ my?: string | number;
1140
+ p?: string | number;
1141
+ pt?: string | number;
1142
+ pr?: string | number;
1143
+ pb?: string | number;
1144
+ pl?: string | number;
1145
+ px?: string | number;
1146
+ py?: string | number;
1147
+ } & {
1148
+ media?: {
1149
+ xs?: Partial<FlexItemProps> | undefined;
1150
+ s?: Partial<FlexItemProps> | undefined;
1151
+ m?: Partial<FlexItemProps> | undefined;
1152
+ l?: Partial<FlexItemProps> | undefined;
1153
+ xl?: Partial<FlexItemProps> | undefined;
1154
+ } | undefined;
1155
+ } & React$1.RefAttributes<unknown>>;
1156
+
1157
+ type BoxProps = {
1158
+ children?: any;
985
1159
  element?: 'div' | 'section';
986
1160
  hasBorder?: boolean;
987
1161
  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;
1162
+ } & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
1163
+ declare const Box: React$1.ForwardRefExoticComponent<Omit<FabricComponent<BoxProps>, "ref"> & React$1.RefAttributes<unknown>>;
990
1164
 
991
1165
  type LineProps = FabricComponent<{
992
1166
  direction?: 'horizontal' | 'vertical';
993
1167
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'children'>>;
994
- declare const Line: ({ direction, ...props }: LineProps) => react_jsx_runtime.JSX.Element;
1168
+ declare const Line: React$1.ForwardRefExoticComponent<Omit<FabricComponent<LineProps>, "ref"> & React$1.RefAttributes<unknown>>;
995
1169
 
996
1170
  interface EmptyDataProps {
997
1171
  children?: any;
@@ -1010,14 +1184,148 @@ type TagProps = FabricComponent<{
1010
1184
  disabled?: boolean;
1011
1185
  onClick?: () => void;
1012
1186
  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;
1187
+ }> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1188
+ declare const Tag: React__default.ForwardRefExoticComponent<{
1189
+ children?: any;
1190
+ variant?: TagVariant;
1191
+ color?: TagColor;
1192
+ className?: string;
1193
+ icon?: any;
1194
+ disabled?: boolean;
1195
+ onClick?: () => void;
1196
+ onDelete?: () => void;
1197
+ } & {
1198
+ m?: string | number;
1199
+ mt?: string | number;
1200
+ mr?: string | number;
1201
+ mb?: string | number;
1202
+ ml?: string | number;
1203
+ mx?: string | number;
1204
+ my?: string | number;
1205
+ p?: string | number;
1206
+ pt?: string | number;
1207
+ pr?: string | number;
1208
+ pb?: string | number;
1209
+ pl?: string | number;
1210
+ px?: string | number;
1211
+ py?: string | number;
1212
+ } & {
1213
+ media?: {
1214
+ xs?: Partial<{
1215
+ children?: any;
1216
+ variant?: TagVariant;
1217
+ color?: TagColor;
1218
+ className?: string;
1219
+ icon?: any;
1220
+ disabled?: boolean;
1221
+ onClick?: () => void;
1222
+ onDelete?: () => void;
1223
+ }> | undefined;
1224
+ s?: 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
+ m?: 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
+ l?: 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
+ xl?: 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
+ } | undefined;
1265
+ } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & {
1266
+ media?: {
1267
+ xs?: Partial<TagProps> | undefined;
1268
+ s?: Partial<TagProps> | undefined;
1269
+ m?: Partial<TagProps> | undefined;
1270
+ l?: Partial<TagProps> | undefined;
1271
+ xl?: Partial<TagProps> | undefined;
1272
+ } | undefined;
1273
+ } & React__default.RefAttributes<unknown>>;
1015
1274
 
1016
1275
  type AlertProps = FabricComponent<{
1017
1276
  title?: any;
1018
1277
  note?: any;
1019
- }> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1020
- declare const Alert: ({ title, note, ...props }: AlertProps) => react_jsx_runtime.JSX.Element;
1278
+ }> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'>;
1279
+ declare const Alert: React__default.ForwardRefExoticComponent<{
1280
+ title?: any;
1281
+ note?: any;
1282
+ } & {
1283
+ m?: string | number;
1284
+ mt?: string | number;
1285
+ mr?: string | number;
1286
+ mb?: string | number;
1287
+ ml?: string | number;
1288
+ mx?: string | number;
1289
+ my?: string | number;
1290
+ p?: string | number;
1291
+ pt?: string | number;
1292
+ pr?: string | number;
1293
+ pb?: string | number;
1294
+ pl?: string | number;
1295
+ px?: string | number;
1296
+ py?: string | number;
1297
+ } & {
1298
+ media?: {
1299
+ xs?: Partial<{
1300
+ title?: any;
1301
+ note?: any;
1302
+ }> | undefined;
1303
+ s?: Partial<{
1304
+ title?: any;
1305
+ note?: any;
1306
+ }> | undefined;
1307
+ m?: Partial<{
1308
+ title?: any;
1309
+ note?: any;
1310
+ }> | undefined;
1311
+ l?: Partial<{
1312
+ title?: any;
1313
+ note?: any;
1314
+ }> | undefined;
1315
+ xl?: Partial<{
1316
+ title?: any;
1317
+ note?: any;
1318
+ }> | undefined;
1319
+ } | undefined;
1320
+ } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & {
1321
+ media?: {
1322
+ xs?: Partial<AlertProps> | undefined;
1323
+ s?: Partial<AlertProps> | undefined;
1324
+ m?: Partial<AlertProps> | undefined;
1325
+ l?: Partial<AlertProps> | undefined;
1326
+ xl?: Partial<AlertProps> | undefined;
1327
+ } | undefined;
1328
+ } & React__default.RefAttributes<unknown>>;
1021
1329
 
1022
1330
  type LabelProps = FabricComponent<{
1023
1331
  label?: any;
@@ -1026,32 +1334,88 @@ type LabelProps = FabricComponent<{
1026
1334
  size?: LabelSize;
1027
1335
  children: any;
1028
1336
  fullWidth?: boolean;
1029
- }> & Omit<react__default.LabelHTMLAttributes<HTMLLabelElement>, 'children'> & (LabelDirection | LabelDirectionRaw);
1337
+ }> & Omit<React__default.LabelHTMLAttributes<HTMLLabelElement>, 'children'> & (LabelDirection | LabelDirectionRaw);
1030
1338
  type LabelDirectionRaw = {
1031
1339
  direction?: 'row' | 'row-reverse';
1032
1340
  childrenWidth?: number | string;
1033
1341
  };
1034
1342
  type LabelDirection = {
1035
- direction?: Omit<react__default.CSSProperties['flexDirection'], 'row' | 'row-reverse'>;
1343
+ direction?: Omit<React__default.CSSProperties['flexDirection'], 'row' | 'row-reverse'>;
1036
1344
  };
1037
- declare const Label: ({ label, helpText, children, direction, size, errorText, fullWidth, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
1345
+ declare const Label: React__default.ForwardRefExoticComponent<FabricComponent<LabelProps> & React__default.RefAttributes<unknown>>;
1038
1346
 
1039
- type CheckboxProps = FabricComponent<{
1347
+ type CheckboxProps = {
1040
1348
  label?: any;
1041
- }> & Omit<react__default.InputHTMLAttributes<HTMLInputElement>, 'type'>;
1042
- declare const Checkbox: ({ label, className, disabled, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
1349
+ } & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'type'>;
1350
+ declare const Checkbox: React__default.ForwardRefExoticComponent<{
1351
+ label?: any;
1352
+ } & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & {
1353
+ m?: string | number;
1354
+ mt?: string | number;
1355
+ mr?: string | number;
1356
+ mb?: string | number;
1357
+ ml?: string | number;
1358
+ mx?: string | number;
1359
+ my?: string | number;
1360
+ p?: string | number;
1361
+ pt?: string | number;
1362
+ pr?: string | number;
1363
+ pb?: string | number;
1364
+ pl?: string | number;
1365
+ px?: string | number;
1366
+ py?: string | number;
1367
+ } & {
1368
+ media?: {
1369
+ xs?: Partial<CheckboxProps> | undefined;
1370
+ s?: Partial<CheckboxProps> | undefined;
1371
+ m?: Partial<CheckboxProps> | undefined;
1372
+ l?: Partial<CheckboxProps> | undefined;
1373
+ xl?: Partial<CheckboxProps> | undefined;
1374
+ } | undefined;
1375
+ } & React__default.RefAttributes<unknown>>;
1043
1376
 
1044
1377
  type Direction = 'horizontal' | 'vertical';
1045
- type LinerProgressProps = FabricComponent<{
1378
+ type LinerProgressProps = {
1046
1379
  height?: number;
1047
1380
  width?: string | number;
1048
1381
  direction?: Direction;
1049
1382
  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;
1383
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'children'>;
1384
+ declare const LinerProgress: React$1.ForwardRefExoticComponent<Omit<FabricComponent<LinerProgressProps>, "ref"> & React$1.RefAttributes<unknown>>;
1052
1385
 
1053
1386
  type SwitchProps = FabricComponent<Omit<InputHTMLAttributes<HTMLInputElement>, 'type'>>;
1054
- declare const Switch: ({ className, ...props }: SwitchProps) => react_jsx_runtime.JSX.Element;
1387
+ declare const Switch: React$1.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type"> & {
1388
+ m?: string | number;
1389
+ mt?: string | number;
1390
+ mr?: string | number;
1391
+ mb?: string | number;
1392
+ ml?: string | number;
1393
+ mx?: string | number;
1394
+ my?: string | number;
1395
+ p?: string | number;
1396
+ pt?: string | number;
1397
+ pr?: string | number;
1398
+ pb?: string | number;
1399
+ pl?: string | number;
1400
+ px?: string | number;
1401
+ py?: string | number;
1402
+ } & {
1403
+ media?: {
1404
+ xs?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1405
+ s?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1406
+ m?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1407
+ l?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1408
+ xl?: Partial<Omit<InputHTMLAttributes<HTMLInputElement>, "type">> | undefined;
1409
+ } | undefined;
1410
+ } & {
1411
+ media?: {
1412
+ xs?: Partial<SwitchProps> | undefined;
1413
+ s?: Partial<SwitchProps> | undefined;
1414
+ m?: Partial<SwitchProps> | undefined;
1415
+ l?: Partial<SwitchProps> | undefined;
1416
+ xl?: Partial<SwitchProps> | undefined;
1417
+ } | undefined;
1418
+ } & React$1.RefAttributes<unknown>>;
1055
1419
 
1056
1420
  type DrawerProps = {
1057
1421
  isOpen: boolean;
@@ -1060,7 +1424,30 @@ type DrawerProps = {
1060
1424
  header?: number;
1061
1425
  width?: string | number;
1062
1426
  };
1063
- declare const Drawer: (props: DrawerProps) => react.ReactPortal | null;
1427
+ declare const Drawer: React$1.ForwardRefExoticComponent<DrawerProps & {
1428
+ m?: string | number;
1429
+ mt?: string | number;
1430
+ mr?: string | number;
1431
+ mb?: string | number;
1432
+ ml?: string | number;
1433
+ mx?: string | number;
1434
+ my?: string | number;
1435
+ p?: string | number;
1436
+ pt?: string | number;
1437
+ pr?: string | number;
1438
+ pb?: string | number;
1439
+ pl?: string | number;
1440
+ px?: string | number;
1441
+ py?: string | number;
1442
+ } & {
1443
+ media?: {
1444
+ xs?: Partial<DrawerProps> | undefined;
1445
+ s?: Partial<DrawerProps> | undefined;
1446
+ m?: Partial<DrawerProps> | undefined;
1447
+ l?: Partial<DrawerProps> | undefined;
1448
+ xl?: Partial<DrawerProps> | undefined;
1449
+ } | undefined;
1450
+ } & React$1.RefAttributes<unknown>>;
1064
1451
  declare const DrawerHeader: any;
1065
1452
  declare const DrawerBody: any;
1066
1453
 
@@ -1073,7 +1460,35 @@ interface TooltipProps {
1073
1460
  anchorClassName?: string;
1074
1461
  offset?: number;
1075
1462
  }
1076
- declare const Tooltip: ({ className, positions, align, anchorClassName, content, offset, children, }: TooltipProps) => react_jsx_runtime.JSX.Element;
1463
+ declare const Tooltip: React$1.ForwardRefExoticComponent<TooltipProps & {
1464
+ m?: string | number;
1465
+ mt?: string | number;
1466
+ mr?: string | number;
1467
+ mb?: string | number;
1468
+ ml?: string | number;
1469
+ mx?: string | number;
1470
+ my?: string | number;
1471
+ p?: string | number;
1472
+ pt?: string | number;
1473
+ pr?: string | number;
1474
+ pb?: string | number;
1475
+ pl?: string | number;
1476
+ px?: string | number;
1477
+ py?: string | number;
1478
+ } & {
1479
+ media?: {
1480
+ xs?: Partial<TooltipProps> | undefined;
1481
+ s?: Partial<TooltipProps> | undefined;
1482
+ m?: Partial<TooltipProps> | undefined;
1483
+ l?: Partial<TooltipProps> | undefined;
1484
+ xl?: Partial<TooltipProps> | undefined;
1485
+ } | undefined;
1486
+ } & React$1.RefAttributes<unknown>>;
1487
+
1488
+ interface ContentLoaderProps extends Omit<IContentLoaderProps, 'backgroundColor' | 'foregroundColor'> {
1489
+ children?: any;
1490
+ }
1491
+ declare const ContentLoader: (props: ContentLoaderProps) => react_jsx_runtime.JSX.Element;
1077
1492
 
1078
1493
  interface PageLayoutProps {
1079
1494
  header?: any;
@@ -1086,13 +1501,36 @@ interface StyledContainerProps {
1086
1501
  $withHeader?: boolean;
1087
1502
  $withSidebar?: boolean;
1088
1503
  }
1089
- declare const StyledContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledContainerProps>> & string;
1504
+ 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
1505
 
1091
- type ContainerProps = FabricComponent<{
1506
+ type ContainerProps = {
1092
1507
  children: any;
1093
1508
  maxWidth?: string | number;
1094
- }>;
1095
- declare const Container: ({ maxWidth, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
1509
+ };
1510
+ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & {
1511
+ m?: string | number;
1512
+ mt?: string | number;
1513
+ mr?: string | number;
1514
+ mb?: string | number;
1515
+ ml?: string | number;
1516
+ mx?: string | number;
1517
+ my?: string | number;
1518
+ p?: string | number;
1519
+ pt?: string | number;
1520
+ pr?: string | number;
1521
+ pb?: string | number;
1522
+ pl?: string | number;
1523
+ px?: string | number;
1524
+ py?: string | number;
1525
+ } & {
1526
+ media?: {
1527
+ xs?: Partial<ContainerProps> | undefined;
1528
+ s?: Partial<ContainerProps> | undefined;
1529
+ m?: Partial<ContainerProps> | undefined;
1530
+ l?: Partial<ContainerProps> | undefined;
1531
+ xl?: Partial<ContainerProps> | undefined;
1532
+ } | undefined;
1533
+ } & React$1.RefAttributes<unknown>>;
1096
1534
 
1097
1535
  declare const Graph2D: any;
1098
1536
 
@@ -1218,4 +1656,4 @@ interface FullscreenCardProps {
1218
1656
  }
1219
1657
  declare const FullscreenCard: ({ isActive, position, top, left, right, bottom, ...props }: FullscreenCardProps) => react_jsx_runtime.JSX.Element;
1220
1658
 
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 };
1659
+ 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, 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, 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 };