@cgi-learning-hub/ui 1.12.0 → 1.13.0-dev.1775748095

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
@@ -12,7 +12,9 @@ import { BackdropProps } from '@mui/material/Backdrop';
12
12
  import { default as Badge } from '@mui/material/Badge';
13
13
  import { default as Box } from '@mui/material/Box';
14
14
  import { BoxProps } from '@mui/material/Box';
15
+ import { BoxProps as BoxProps_2 } from '@mui/material';
15
16
  import { default as Breadcrumbs } from '@mui/material/Breadcrumbs';
17
+ import { default as Button } from '@mui/material/Button';
16
18
  import { default as ButtonGroup } from '@mui/material/ButtonGroup';
17
19
  import { ButtonProps } from '@mui/material/Button';
18
20
  import { default as Card } from '@mui/material/Card';
@@ -80,6 +82,7 @@ import { default as Select } from '@mui/material/Select';
80
82
  import { SerializedError } from '@reduxjs/toolkit';
81
83
  import { default as Skeleton } from '@mui/material/Skeleton';
82
84
  import { default as Slide } from '@mui/material/Slide';
85
+ import { default as Slider } from '@mui/material/Slider';
83
86
  import { default as Snackbar } from '@mui/material/Snackbar';
84
87
  import { default as Stack } from '@mui/material/Stack';
85
88
  import { StackProps } from '@mui/material/Stack';
@@ -109,6 +112,7 @@ import { default as TabPanel } from '@mui/lab/TabPanel';
109
112
  import { default as Tabs } from '@mui/material/Tabs';
110
113
  import { default as TextField } from '@mui/material/TextField';
111
114
  import { TextFieldProps } from '@mui/material/TextField';
115
+ import { TimePickerProps as TimePickerProps_2 } from '@mui/x-date-pickers/TimePicker';
112
116
  import { default as ToggleButton } from '@mui/material/ToggleButton';
113
117
  import { default as ToggleButtonGroup } from '@mui/material/ToggleButtonGroup';
114
118
  import { default as Toolbar } from '@mui/material/Toolbar';
@@ -170,12 +174,10 @@ export { Box }
170
174
 
171
175
  export { Breadcrumbs }
172
176
 
173
- export declare const Button: FC<ButtonProps>;
177
+ export { Button }
174
178
 
175
179
  export { ButtonGroup }
176
180
 
177
- export { ButtonProps }
178
-
179
181
  export { Card }
180
182
 
181
183
  export { CardActionArea }
@@ -296,36 +298,20 @@ export declare type EllipsisWithTooltipProps = {
296
298
  text?: Omit<TypographyProps, "noWrap" | "overflow" | "textOverflow">;
297
299
  tooltip?: Omit<TooltipProps, "children" | "title">;
298
300
  };
299
- /**
300
- * @deprecated Use `slotProps.tooltip` instead.
301
- */
302
- tooltipProps?: Omit<TooltipProps, "children" | "title">;
303
- /**
304
- * @deprecated Use `slotProps.text` instead.
305
- */
306
- typographyProps?: Omit<TypographyProps, "noWrap" | "overflow" | "textOverflow">;
307
301
  };
308
302
 
309
303
  export declare const EmptyState: FC<EmptyStateProps>;
310
304
 
311
305
  export declare type EmptyStateProps = ({
312
306
  image: ReactNode;
313
- /**
314
- * @deprecated Use `slotProps.image` instead.
315
- */
316
- imageProps?: never;
317
307
  imageSrc?: never;
318
308
  } | {
319
309
  image?: never;
320
- /**
321
- * @deprecated Use `slotProps.image` instead.
322
- */
323
- imageProps?: ImgHTMLAttributes<HTMLImageElement>;
324
310
  imageSrc: string;
325
311
  }) & {
326
312
  imageHeight?: string | number;
327
- title: string;
328
- description?: string;
313
+ title: ReactNode;
314
+ description?: ReactNode;
329
315
  footer?: ReactNode;
330
316
  slotProps?: {
331
317
  root?: StackProps;
@@ -333,14 +319,6 @@ export declare type EmptyStateProps = ({
333
319
  title?: TypographyProps;
334
320
  description?: TypographyProps;
335
321
  };
336
- /**
337
- * @deprecated Use `slotProps.description` instead.
338
- */
339
- descriptionProps?: TypographyProps;
340
- /**
341
- * @deprecated Use `slotProps.title` instead.
342
- */
343
- titleProps?: TypographyProps;
344
322
  } & StackProps;
345
323
 
346
324
  export declare interface ExtendedTreeItemProps extends TreeItemProps {
@@ -413,14 +391,6 @@ export declare type HeadingProps = {
413
391
  text?: TypographyProps;
414
392
  };
415
393
  iconSize?: number;
416
- /**
417
- * @deprecated Use `slotProps.icon` instead.
418
- */
419
- iconProps?: SvgIconProps;
420
- /**
421
- * @deprecated Use `slotProps.text` instead.
422
- */
423
- titleProps?: TypographyProps;
424
394
  } & StackProps;
425
395
 
426
396
  export declare type HexaColor = `#${string}`;
@@ -505,7 +475,7 @@ export { Paper }
505
475
 
506
476
  export declare const PasswordInput: FC<PasswordInputProps>;
507
477
 
508
- export declare type PasswordInputProps = Omit<TextFieldProps, "variant" | "type">;
478
+ export declare type PasswordInputProps = Omit<TextFieldProps, "type">;
509
479
 
510
480
  export declare type PickerBackGroundBoxProps = {
511
481
  disabled?: boolean;
@@ -560,6 +530,8 @@ export { Skeleton }
560
530
 
561
531
  export { Slide }
562
532
 
533
+ export { Slider }
534
+
563
535
  export { Snackbar }
564
536
 
565
537
  export { Stack }
@@ -618,6 +590,12 @@ export { Tabs }
618
590
 
619
591
  export { TextField }
620
592
 
593
+ export declare const TimePicker: FC<TimePickerProps>;
594
+
595
+ export declare type TimePickerProps = {
596
+ adapterLocale?: string;
597
+ } & TimePickerProps_2;
598
+
621
599
  export { ToggleButton }
622
600
 
623
601
  export { ToggleButtonGroup }
@@ -652,6 +630,21 @@ export { useMediaQuery }
652
630
 
653
631
  export { Zoom }
654
632
 
633
+ export declare const ZoomControl: FC<ZoomControlProps>;
634
+
635
+ declare interface ZoomControlProps {
636
+ step?: number;
637
+ value: number;
638
+ onChange: (value: number) => void;
639
+ max?: number;
640
+ min?: number;
641
+ label?: string;
642
+ opacity?: number;
643
+ slotProps?: {
644
+ root?: BoxProps_2;
645
+ };
646
+ }
647
+
655
648
 
656
649
  export * from "@mui/lab/TabContext";
657
650
  export * from "@mui/lab/TabList";
@@ -668,6 +661,7 @@ export * from "@mui/material/Backdrop";
668
661
  export * from "@mui/material/Badge";
669
662
  export * from "@mui/material/Box";
670
663
  export * from "@mui/material/Breadcrumbs";
664
+ export * from "@mui/material/Button";
671
665
  export * from "@mui/material/ButtonGroup";
672
666
  export * from "@mui/material/Card";
673
667
  export * from "@mui/material/CardActionArea";
@@ -720,6 +714,7 @@ export * from "@mui/material/RadioGroup";
720
714
  export * from "@mui/material/Select";
721
715
  export * from "@mui/material/Skeleton";
722
716
  export * from "@mui/material/Slide";
717
+ export * from "@mui/material/Slider";
723
718
  export * from "@mui/material/Snackbar";
724
719
  export * from "@mui/material/Stack";
725
720
  export * from "@mui/material/Step";