@cgi-learning-hub/ui 1.10.0-dev.1761752478 → 1.10.0-dev.1762422522
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.cjs.js +501 -250
- package/dist/index.d.ts +53 -8
- package/dist/index.es.js +502 -251
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,9 +8,11 @@ import { default as AppBar } from '@mui/material/AppBar';
|
|
|
8
8
|
import { default as Autocomplete } from '@mui/material/Autocomplete';
|
|
9
9
|
import { default as Avatar } from '@mui/material/Avatar';
|
|
10
10
|
import { default as Backdrop } from '@mui/material/Backdrop';
|
|
11
|
+
import { BackdropProps } from '@mui/material/Backdrop';
|
|
11
12
|
import { default as Badge } from '@mui/material/Badge';
|
|
12
13
|
import { default as Box } from '@mui/material/Box';
|
|
13
14
|
import { BoxProps } from '@mui/material';
|
|
15
|
+
import { BoxProps as BoxProps_2 } from '@mui/material/Box';
|
|
14
16
|
import { default as Breadcrumbs } from '@mui/material/Breadcrumbs';
|
|
15
17
|
import { ButtonProps } from '@mui/material/Button';
|
|
16
18
|
import { default as Card } from '@mui/material/Card';
|
|
@@ -111,7 +113,7 @@ import { default as ToggleButton } from '@mui/material/ToggleButton';
|
|
|
111
113
|
import { default as ToggleButtonGroup } from '@mui/material/ToggleButtonGroup';
|
|
112
114
|
import { default as Toolbar } from '@mui/material/Toolbar';
|
|
113
115
|
import { default as Tooltip } from '@mui/material/Tooltip';
|
|
114
|
-
import { TooltipProps } from '@mui/material';
|
|
116
|
+
import { TooltipProps } from '@mui/material/Tooltip';
|
|
115
117
|
import { TreeItemProps } from '@mui/x-tree-view/TreeItem';
|
|
116
118
|
import { TreeViewBaseItem } from '@mui/x-tree-view/models/items';
|
|
117
119
|
import { default as Typography } from '@mui/material/Typography';
|
|
@@ -308,28 +310,55 @@ declare type DropZoneSlotProps = {
|
|
|
308
310
|
export declare const EllipsisWithTooltip: FC<EllipsisWithTooltipProps>;
|
|
309
311
|
|
|
310
312
|
export declare type EllipsisWithTooltipProps = {
|
|
311
|
-
tooltipProps?: Omit<TooltipProps, "children" | "title">;
|
|
312
|
-
typographyProps?: Omit<TypographyProps, "noWrap" | "overflow" | "textOverflow">;
|
|
313
313
|
children: ReactNode;
|
|
314
|
+
slotProps?: {
|
|
315
|
+
text?: Omit<TypographyProps_2, "noWrap" | "overflow" | "textOverflow">;
|
|
316
|
+
tooltip?: Omit<TooltipProps, "children" | "title">;
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* @deprecated Use `slotProps.tooltip` instead.
|
|
320
|
+
*/
|
|
321
|
+
tooltipProps?: Omit<TooltipProps, "children" | "title">;
|
|
322
|
+
/**
|
|
323
|
+
* @deprecated Use `slotProps.text` instead.
|
|
324
|
+
*/
|
|
325
|
+
typographyProps?: Omit<TypographyProps_2, "noWrap" | "overflow" | "textOverflow">;
|
|
314
326
|
};
|
|
315
327
|
|
|
316
328
|
export declare const EmptyState: React.FunctionComponent<EmptyStateProps>;
|
|
317
329
|
|
|
318
330
|
export declare type EmptyStateProps = ({
|
|
319
331
|
image: ReactNode;
|
|
332
|
+
/**
|
|
333
|
+
* @deprecated Use `slotProps.description` instead.
|
|
334
|
+
*/
|
|
320
335
|
imageProps?: never;
|
|
321
336
|
imageSrc?: never;
|
|
322
337
|
} | {
|
|
323
338
|
image?: never;
|
|
339
|
+
/**
|
|
340
|
+
* @deprecated Use `slotProps.description` instead.
|
|
341
|
+
*/
|
|
324
342
|
imageProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
325
343
|
imageSrc: string;
|
|
326
344
|
}) & {
|
|
327
345
|
imageHeight?: string | number;
|
|
328
346
|
title: string;
|
|
329
347
|
description?: string;
|
|
330
|
-
descriptionProps?: TypographyProps_2;
|
|
331
348
|
footer?: ReactNode;
|
|
332
|
-
|
|
349
|
+
slotProps?: {
|
|
350
|
+
root?: StackProps;
|
|
351
|
+
image?: ImgHTMLAttributes<HTMLImageElement>;
|
|
352
|
+
title?: TypographyProps_2;
|
|
353
|
+
description?: TypographyProps_2;
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* @deprecated Use `slotProps.description` instead.
|
|
357
|
+
*/
|
|
358
|
+
descriptionProps?: TypographyProps_2;
|
|
359
|
+
/**
|
|
360
|
+
* @deprecated Use `slotProps.title` instead.
|
|
361
|
+
*/
|
|
333
362
|
titleProps?: TypographyProps_2;
|
|
334
363
|
} & StackProps;
|
|
335
364
|
|
|
@@ -397,8 +426,19 @@ export declare type HeadingProps = {
|
|
|
397
426
|
title: string;
|
|
398
427
|
IconComponent?: SvgIconComponent;
|
|
399
428
|
iconColor?: Color;
|
|
400
|
-
|
|
429
|
+
slotProps?: {
|
|
430
|
+
root?: StackProps;
|
|
431
|
+
icon?: SvgIconProps;
|
|
432
|
+
text?: TypographyProps_2;
|
|
433
|
+
};
|
|
401
434
|
iconSize?: number;
|
|
435
|
+
/**
|
|
436
|
+
* @deprecated Use `slotProps.icon` instead.
|
|
437
|
+
*/
|
|
438
|
+
iconProps?: SvgIconProps;
|
|
439
|
+
/**
|
|
440
|
+
* @deprecated Use `slotProps.text` instead.
|
|
441
|
+
*/
|
|
402
442
|
titleProps?: TypographyProps_2;
|
|
403
443
|
} & StackProps;
|
|
404
444
|
|
|
@@ -461,9 +501,14 @@ export declare const Loader: React.FunctionComponent<LoaderProps>;
|
|
|
461
501
|
|
|
462
502
|
export declare const LoaderBackdrop: React.FunctionComponent<LoaderBackdropProps>;
|
|
463
503
|
|
|
464
|
-
export declare type LoaderBackdropProps = {
|
|
504
|
+
export declare type LoaderBackdropProps = {
|
|
505
|
+
slotProps?: {
|
|
506
|
+
backdrop?: Omit<BackdropProps, "open" | "children">;
|
|
507
|
+
loader?: BoxProps_2;
|
|
508
|
+
};
|
|
509
|
+
};
|
|
465
510
|
|
|
466
|
-
export declare type LoaderProps =
|
|
511
|
+
export declare type LoaderProps = BoxProps_2;
|
|
467
512
|
|
|
468
513
|
export { Menu }
|
|
469
514
|
|