@cgi-learning-hub/ui 1.14.0-dev.1785404668 → 1.14.0-dev.1785424862
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 +727 -22
- package/dist/tiptap/index.d.ts +40 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,41 +1,746 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { default as Accordion } from '@mui/material/Accordion';
|
|
2
|
+
import { default as AccordionActions } from '@mui/material/AccordionActions';
|
|
3
|
+
import { default as AccordionDetails } from '@mui/material/AccordionDetails';
|
|
4
|
+
import { default as AccordionSummary } from '@mui/material/AccordionSummary';
|
|
5
|
+
import { AlertProps as AlertProps_2 } from '@mui/material/Alert';
|
|
6
|
+
import { default as AlertTitle } from '@mui/material/AlertTitle';
|
|
7
|
+
import { default as AppBar } from '@mui/material/AppBar';
|
|
8
|
+
import { default as Autocomplete } from '@mui/material/Autocomplete';
|
|
9
|
+
import { default as Avatar } from '@mui/material/Avatar';
|
|
10
|
+
import { default as Backdrop } from '@mui/material/Backdrop';
|
|
11
|
+
import { BackdropProps } from '@mui/material/Backdrop';
|
|
12
|
+
import { default as Badge } from '@mui/material/Badge';
|
|
13
|
+
import { default as Box } from '@mui/material/Box';
|
|
14
|
+
import { BoxProps } from '@mui/material/Box';
|
|
15
|
+
import { default as Breadcrumbs } from '@mui/material/Breadcrumbs';
|
|
16
|
+
import { default as Button } from '@mui/material/Button';
|
|
17
|
+
import { default as ButtonGroup } from '@mui/material/ButtonGroup';
|
|
18
|
+
import { ButtonProps } from '@mui/material/Button';
|
|
19
|
+
import { default as Card } from '@mui/material/Card';
|
|
20
|
+
import { default as CardActionArea } from '@mui/material/CardActionArea';
|
|
21
|
+
import { default as CardActions } from '@mui/material/CardActions';
|
|
22
|
+
import { default as CardContent } from '@mui/material/CardContent';
|
|
23
|
+
import { default as CardHeader } from '@mui/material/CardHeader';
|
|
24
|
+
import { default as CardMedia } from '@mui/material/CardMedia';
|
|
25
|
+
import { default as Checkbox } from '@mui/material/Checkbox';
|
|
26
|
+
import { default as Chip } from '@mui/material/Chip';
|
|
27
|
+
import { CircleProps } from '@uiw/react-color-circle';
|
|
28
|
+
import { default as CircularProgress } from '@mui/material/CircularProgress';
|
|
29
|
+
import { default as ClickAwayListener } from '@mui/material/ClickAwayListener';
|
|
30
|
+
import { ClickAwayListenerProps } from '@mui/material/ClickAwayListener';
|
|
31
|
+
import { default as Collapse } from '@mui/material/Collapse';
|
|
32
|
+
import { Color } from '@mui/material/styles';
|
|
33
|
+
import { default as Container } from '@mui/material/Container';
|
|
34
|
+
import { DatePickerProps as DatePickerProps_2 } from '@mui/x-date-pickers/DatePicker';
|
|
35
|
+
import { default as DialogActions } from '@mui/material/DialogActions';
|
|
36
|
+
import { default as DialogContent } from '@mui/material/DialogContent';
|
|
37
|
+
import { default as DialogContentText } from '@mui/material/DialogContentText';
|
|
38
|
+
import { DialogProps as DialogProps_2 } from '@mui/material/Dialog';
|
|
39
|
+
import { default as DialogTitle } from '@mui/material/DialogTitle';
|
|
40
|
+
import { default as Divider } from '@mui/material/Divider';
|
|
41
|
+
import { default as Drawer } from '@mui/material/Drawer';
|
|
42
|
+
import { DropzoneProps as DropzoneProps_2 } from 'react-dropzone';
|
|
43
|
+
import { default as Fade } from '@mui/material/Fade';
|
|
44
|
+
import { FC } from 'react';
|
|
45
|
+
import { FetchBaseQueryError } from '@reduxjs/toolkit/query';
|
|
46
|
+
import { default as FormControl } from '@mui/material/FormControl';
|
|
47
|
+
import { default as FormControlLabel } from '@mui/material/FormControlLabel';
|
|
48
|
+
import { default as FormGroup } from '@mui/material/FormGroup';
|
|
49
|
+
import { default as FormHelperText } from '@mui/material/FormHelperText';
|
|
50
|
+
import { default as FormLabel } from '@mui/material/FormLabel';
|
|
51
|
+
import { default as GlobalStyles } from '@mui/material/GlobalStyles';
|
|
52
|
+
import { default as Grid } from '@mui/material/Grid';
|
|
53
|
+
import { default as Grow } from '@mui/material/Grow';
|
|
54
|
+
import { default as IconButton } from '@mui/material/IconButton';
|
|
55
|
+
import { ImgHTMLAttributes } from 'react';
|
|
56
|
+
import { default as Input } from '@mui/material/Input';
|
|
57
|
+
import { default as InputBase } from '@mui/material/InputBase';
|
|
58
|
+
import { InputBaseProps } from '@mui/material/InputBase';
|
|
59
|
+
import { InputHTMLAttributes } from 'react';
|
|
60
|
+
import { default as InputLabel } from '@mui/material/InputLabel';
|
|
3
61
|
import { JSX } from 'react';
|
|
4
|
-
import {
|
|
62
|
+
import { default as LinearProgress } from '@mui/material/LinearProgress';
|
|
63
|
+
import { default as Link } from '@mui/material/Link';
|
|
64
|
+
import { default as List } from '@mui/material/List';
|
|
65
|
+
import { default as ListItem } from '@mui/material/ListItem';
|
|
66
|
+
import { default as ListItemButton } from '@mui/material/ListItemButton';
|
|
67
|
+
import { default as ListItemIcon } from '@mui/material/ListItemIcon';
|
|
68
|
+
import { default as ListItemText } from '@mui/material/ListItemText';
|
|
69
|
+
import { default as ListSubheader } from '@mui/material/ListSubheader';
|
|
70
|
+
import { default as Menu } from '@mui/material/Menu';
|
|
71
|
+
import { default as MenuItem } from '@mui/material/MenuItem';
|
|
72
|
+
import { default as MobileStepper } from '@mui/material/MobileStepper';
|
|
73
|
+
import { default as Modal } from '@mui/material/Modal';
|
|
74
|
+
import { default as Pagination } from '@mui/material/Pagination';
|
|
75
|
+
import { default as Paper } from '@mui/material/Paper';
|
|
76
|
+
import { default as Popover } from '@mui/material/Popover';
|
|
77
|
+
import { default as Radio } from '@mui/material/Radio';
|
|
78
|
+
import { default as RadioGroup } from '@mui/material/RadioGroup';
|
|
79
|
+
import { ReactNode } from 'react';
|
|
80
|
+
import { default as Select } from '@mui/material/Select';
|
|
81
|
+
import { SerializedError } from '@reduxjs/toolkit';
|
|
82
|
+
import { default as Skeleton } from '@mui/material/Skeleton';
|
|
83
|
+
import { default as Slide } from '@mui/material/Slide';
|
|
84
|
+
import { default as Slider } from '@mui/material/Slider';
|
|
85
|
+
import { default as Snackbar } from '@mui/material/Snackbar';
|
|
86
|
+
import { default as Stack } from '@mui/material/Stack';
|
|
87
|
+
import { StackProps } from '@mui/material/Stack';
|
|
88
|
+
import { default as Step } from '@mui/material/Step';
|
|
89
|
+
import { default as StepButton } from '@mui/material/StepButton';
|
|
90
|
+
import { default as StepLabel } from '@mui/material/StepLabel';
|
|
91
|
+
import { default as Stepper } from '@mui/material/Stepper';
|
|
92
|
+
import { SVGAttributes } from 'react';
|
|
93
|
+
import { default as SvgIcon } from '@mui/material/SvgIcon';
|
|
94
|
+
import { SvgIconComponent } from '@mui/icons-material';
|
|
95
|
+
import { SvgIconProps } from '@mui/material/SvgIcon';
|
|
96
|
+
import { default as Switch } from '@mui/material/Switch';
|
|
97
|
+
import { SyntheticEvent } from 'react';
|
|
98
|
+
import { default as Tab } from '@mui/material/Tab';
|
|
99
|
+
import { default as TabContext } from '@mui/lab/TabContext';
|
|
100
|
+
import { default as Table } from '@mui/material/Table';
|
|
101
|
+
import { default as TableBody } from '@mui/material/TableBody';
|
|
102
|
+
import { default as TableCell } from '@mui/material/TableCell';
|
|
103
|
+
import { default as TableContainer } from '@mui/material/TableContainer';
|
|
104
|
+
import { default as TableFooter } from '@mui/material/TableFooter';
|
|
105
|
+
import { default as TableHead } from '@mui/material/TableHead';
|
|
106
|
+
import { default as TablePagination } from '@mui/material/TablePagination';
|
|
107
|
+
import { default as TableRow } from '@mui/material/TableRow';
|
|
108
|
+
import { default as TableSortLabel } from '@mui/material/TableSortLabel';
|
|
109
|
+
import { default as TabList } from '@mui/lab/TabList';
|
|
110
|
+
import { default as TabPanel } from '@mui/lab/TabPanel';
|
|
111
|
+
import { default as Tabs } from '@mui/material/Tabs';
|
|
112
|
+
import { default as TextField } from '@mui/material/TextField';
|
|
113
|
+
import { TextFieldProps } from '@mui/material/TextField';
|
|
114
|
+
import { TimePickerProps as TimePickerProps_2 } from '@mui/x-date-pickers/TimePicker';
|
|
115
|
+
import { default as ToggleButton } from '@mui/material/ToggleButton';
|
|
116
|
+
import { default as ToggleButtonGroup } from '@mui/material/ToggleButtonGroup';
|
|
117
|
+
import { default as Toolbar } from '@mui/material/Toolbar';
|
|
118
|
+
import { default as Tooltip } from '@mui/material/Tooltip';
|
|
119
|
+
import { TooltipProps } from '@mui/material/Tooltip';
|
|
120
|
+
import { TreeItemProps } from '@mui/x-tree-view/TreeItem';
|
|
121
|
+
import { default as Typography } from '@mui/material/Typography';
|
|
122
|
+
import { TypographyProps } from '@mui/material/Typography';
|
|
123
|
+
import { default as useMediaQuery } from '@mui/material/useMediaQuery';
|
|
124
|
+
import { default as Zoom } from '@mui/material/Zoom';
|
|
5
125
|
|
|
6
|
-
|
|
126
|
+
export { Accordion }
|
|
7
127
|
|
|
8
|
-
|
|
128
|
+
export { AccordionActions }
|
|
9
129
|
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
130
|
+
export { AccordionDetails }
|
|
131
|
+
|
|
132
|
+
export { AccordionSummary }
|
|
133
|
+
|
|
134
|
+
export declare const ActionBar: FC<ActionBarProps>;
|
|
135
|
+
|
|
136
|
+
declare type ActionBarButton = {
|
|
137
|
+
label: string;
|
|
138
|
+
action: () => void;
|
|
13
139
|
};
|
|
14
140
|
|
|
15
|
-
declare
|
|
16
|
-
|
|
141
|
+
declare type ActionBarProps = {
|
|
142
|
+
leftActions: ActionBarButton[];
|
|
143
|
+
rightActions: ActionBarButton[];
|
|
144
|
+
slotProps?: {
|
|
145
|
+
leftActions?: ButtonProps;
|
|
146
|
+
leftActionsContainer?: StackProps;
|
|
147
|
+
rightActions?: ButtonProps;
|
|
148
|
+
rightActionsContainer?: StackProps;
|
|
149
|
+
root?: StackProps;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
export declare const Alert: FC<AlertProps>;
|
|
154
|
+
|
|
155
|
+
export declare type AlertProps = {
|
|
156
|
+
title?: string;
|
|
157
|
+
} & Omit<AlertProps_2, "color">;
|
|
158
|
+
|
|
159
|
+
export { AlertTitle }
|
|
160
|
+
|
|
161
|
+
export { AppBar }
|
|
162
|
+
|
|
163
|
+
export { Autocomplete }
|
|
164
|
+
|
|
165
|
+
export { Avatar }
|
|
166
|
+
|
|
167
|
+
export { Backdrop }
|
|
168
|
+
|
|
169
|
+
export { Badge }
|
|
170
|
+
|
|
171
|
+
export { Box }
|
|
172
|
+
|
|
173
|
+
export { Breadcrumbs }
|
|
174
|
+
|
|
175
|
+
export { Button }
|
|
176
|
+
|
|
177
|
+
export { ButtonGroup }
|
|
178
|
+
|
|
179
|
+
export { Card }
|
|
180
|
+
|
|
181
|
+
export { CardActionArea }
|
|
182
|
+
|
|
183
|
+
export { CardActions }
|
|
184
|
+
|
|
185
|
+
export { CardContent }
|
|
186
|
+
|
|
187
|
+
export { CardHeader }
|
|
188
|
+
|
|
189
|
+
export { CardMedia }
|
|
190
|
+
|
|
191
|
+
export { Checkbox }
|
|
192
|
+
|
|
193
|
+
export { Chip }
|
|
194
|
+
|
|
195
|
+
export { CircularProgress }
|
|
196
|
+
|
|
197
|
+
export { ClickAwayListener }
|
|
198
|
+
|
|
199
|
+
export { Collapse }
|
|
200
|
+
|
|
201
|
+
export declare type ColorOption = {
|
|
202
|
+
color: string;
|
|
203
|
+
showBorder?: boolean;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
export declare const ColorPicker: FC<ColorPickerProps>;
|
|
207
|
+
|
|
208
|
+
export declare type ColorPickerProps = {
|
|
209
|
+
value: HexaColor;
|
|
210
|
+
disabled?: boolean;
|
|
211
|
+
options?: string[] | ColorOption[];
|
|
212
|
+
slotProps?: ColorPickerSlotProps;
|
|
213
|
+
onChange: (value: HexaColor) => void;
|
|
214
|
+
useCheckmarkSwatch?: boolean;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
export declare type ColorPickerSlotProps = {
|
|
218
|
+
clickAwayListener?: Omit<ClickAwayListenerProps, "onClickAway" | "children">;
|
|
219
|
+
circlePicker?: Omit<CircleProps, "colors" | "color" | "onChange">;
|
|
220
|
+
circlePickerBox?: BoxProps;
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
export { Container }
|
|
224
|
+
|
|
225
|
+
export declare interface CustomFile {
|
|
226
|
+
name: string;
|
|
227
|
+
size: number;
|
|
228
|
+
isLoading?: boolean;
|
|
229
|
+
isDeletable?: boolean;
|
|
230
|
+
isDownloadable?: boolean;
|
|
231
|
+
ownerName?: string;
|
|
17
232
|
}
|
|
18
233
|
|
|
19
|
-
export declare
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
234
|
+
export declare type CustomSVGProps = SVGAttributes<SVGSVGElement>;
|
|
235
|
+
|
|
236
|
+
export declare type CustomTreeViewItem = {
|
|
237
|
+
internalId: string;
|
|
238
|
+
label: string;
|
|
239
|
+
iconType?: IconType;
|
|
240
|
+
customIcon?: SvgIconComponent;
|
|
241
|
+
children?: CustomTreeViewItem[];
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
export declare const DatePicker: FC<DatePickerProps>;
|
|
245
|
+
|
|
246
|
+
export declare type DatePickerProps = {
|
|
247
|
+
adapterLocale?: string;
|
|
248
|
+
} & DatePickerProps_2;
|
|
249
|
+
|
|
250
|
+
export declare const DEFAULT_COLOR_OPTIONS: ColorOption[];
|
|
251
|
+
|
|
252
|
+
export declare const Dialog: FC<DialogProps>;
|
|
253
|
+
|
|
254
|
+
export { DialogActions }
|
|
255
|
+
|
|
256
|
+
export { DialogContent }
|
|
257
|
+
|
|
258
|
+
export { DialogContentText }
|
|
23
259
|
|
|
24
|
-
export declare type
|
|
260
|
+
export declare type DialogProps = {
|
|
261
|
+
showCloseButton?: boolean;
|
|
262
|
+
} & DialogProps_2;
|
|
25
263
|
|
|
26
|
-
export
|
|
264
|
+
export { DialogTitle }
|
|
27
265
|
|
|
28
|
-
export
|
|
266
|
+
export { Divider }
|
|
29
267
|
|
|
30
|
-
|
|
31
|
-
|
|
268
|
+
export { Drawer }
|
|
269
|
+
|
|
270
|
+
export declare const Dropzone: FC<DropzoneProps>;
|
|
271
|
+
|
|
272
|
+
export declare type DropzoneProps = {
|
|
273
|
+
defaultLabel?: string;
|
|
274
|
+
dragLabel?: string;
|
|
275
|
+
information?: string;
|
|
276
|
+
width?: string;
|
|
277
|
+
height?: string;
|
|
278
|
+
slotProps?: DropZoneSlotProps;
|
|
279
|
+
} & DropzoneProps_2;
|
|
280
|
+
|
|
281
|
+
declare type DropZoneSlotProps = {
|
|
282
|
+
root?: StackProps;
|
|
283
|
+
input?: InputHTMLAttributes<HTMLInputElement>;
|
|
284
|
+
icon?: SvgIconProps;
|
|
285
|
+
label?: TypographyProps;
|
|
286
|
+
information?: TypographyProps;
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
export declare const EllipsisWithTooltip: FC<EllipsisWithTooltipProps>;
|
|
290
|
+
|
|
291
|
+
export declare type EllipsisWithTooltipProps = {
|
|
292
|
+
children: ReactNode;
|
|
293
|
+
slotProps?: {
|
|
294
|
+
text?: Omit<TypographyProps, "noWrap" | "overflow" | "textOverflow">;
|
|
295
|
+
tooltip?: Omit<TooltipProps, "children" | "title">;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
export declare const EmptyState: FC<EmptyStateProps>;
|
|
300
|
+
|
|
301
|
+
export declare type EmptyStateProps = ({
|
|
302
|
+
image: ReactNode;
|
|
303
|
+
imageSrc?: never;
|
|
304
|
+
} | {
|
|
305
|
+
image?: never;
|
|
306
|
+
imageSrc: string;
|
|
307
|
+
}) & {
|
|
308
|
+
imageHeight?: string | number;
|
|
309
|
+
title: ReactNode;
|
|
310
|
+
description?: ReactNode;
|
|
311
|
+
footer?: ReactNode;
|
|
312
|
+
slotProps?: {
|
|
313
|
+
root?: StackProps;
|
|
314
|
+
image?: ImgHTMLAttributes<HTMLImageElement>;
|
|
315
|
+
title?: TypographyProps;
|
|
316
|
+
description?: TypographyProps;
|
|
317
|
+
};
|
|
318
|
+
} & StackProps;
|
|
319
|
+
|
|
320
|
+
export declare interface ExtendedTreeItemProps extends TreeItemProps {
|
|
321
|
+
itemData?: CustomTreeViewItem;
|
|
322
|
+
hasNoIcons: boolean;
|
|
323
|
+
iconColor?: "disabled" | "primary" | "inherit" | "action" | "secondary" | "error" | "info" | "success" | "warning";
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export { Fade }
|
|
327
|
+
|
|
328
|
+
declare const FileList_2: <T extends CustomFile>({ files, onDelete, onClick, onDownload, }: FileListProps<T>) => JSX.Element;
|
|
329
|
+
export { FileList_2 as FileList }
|
|
330
|
+
|
|
331
|
+
export declare const FileListItem: <T extends CustomFile>({ file, onDelete, onClick, onDownload, }: FileListItemProps<T>) => JSX.Element | null;
|
|
332
|
+
|
|
333
|
+
export declare interface FileListItemProps<T extends CustomFile> {
|
|
334
|
+
file: T;
|
|
335
|
+
onDelete?: (file: T) => void;
|
|
336
|
+
onClick?: (file: T) => void;
|
|
337
|
+
onDownload?: (file: T) => void;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export declare interface FileListProps<T extends CustomFile> {
|
|
341
|
+
files: T[];
|
|
342
|
+
onDelete?: (file: T) => void;
|
|
343
|
+
onClick?: (file: T) => void;
|
|
344
|
+
onDownload?: (file: T) => void;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export declare const FolderCard: FC<FolderCardProps>;
|
|
348
|
+
|
|
349
|
+
export declare type FolderCardProps = {
|
|
350
|
+
isSelected?: boolean;
|
|
351
|
+
onSelect?: () => void;
|
|
352
|
+
title: string;
|
|
353
|
+
subtitle?: string;
|
|
354
|
+
width?: string;
|
|
355
|
+
onClick?: () => void;
|
|
356
|
+
iconSize?: string;
|
|
357
|
+
hasNoButtonOnFocus?: boolean;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
export { FormControl }
|
|
361
|
+
|
|
362
|
+
export { FormControlLabel }
|
|
363
|
+
|
|
364
|
+
export { FormGroup }
|
|
365
|
+
|
|
366
|
+
export { FormHelperText }
|
|
367
|
+
|
|
368
|
+
export { FormLabel }
|
|
369
|
+
|
|
370
|
+
export { GlobalStyles }
|
|
371
|
+
|
|
372
|
+
export { Grid }
|
|
373
|
+
|
|
374
|
+
export { Grow }
|
|
375
|
+
|
|
376
|
+
export declare const Heading: FC<HeadingProps>;
|
|
377
|
+
|
|
378
|
+
export declare type HeadingProps = {
|
|
379
|
+
title: string;
|
|
380
|
+
IconComponent?: SvgIconComponent;
|
|
381
|
+
iconColor?: Color;
|
|
382
|
+
slotProps?: {
|
|
383
|
+
root?: StackProps;
|
|
384
|
+
icon?: SvgIconProps;
|
|
385
|
+
text?: TypographyProps;
|
|
386
|
+
};
|
|
387
|
+
iconSize?: number;
|
|
388
|
+
} & StackProps;
|
|
389
|
+
|
|
390
|
+
export declare type HexaColor = `#${string}`;
|
|
391
|
+
|
|
392
|
+
export declare enum ICON_TYPE {
|
|
393
|
+
FOLDER = "FOLDER",
|
|
394
|
+
SHARE = "SHARE",
|
|
395
|
+
TRASH = "TRASH",
|
|
396
|
+
CUSTOM = "CUSTOM"
|
|
32
397
|
}
|
|
33
398
|
|
|
34
|
-
export
|
|
35
|
-
|
|
36
|
-
|
|
399
|
+
export { IconButton }
|
|
400
|
+
|
|
401
|
+
export declare type IconType = ICON_TYPE | SvgIconComponent;
|
|
402
|
+
|
|
403
|
+
export declare const ImagePicker: FC<ImagePickerProps>;
|
|
404
|
+
|
|
405
|
+
export declare type ImagePickerProps = {
|
|
406
|
+
defaultLabel?: ReactNode;
|
|
407
|
+
dragLabel?: ReactNode;
|
|
408
|
+
information?: string;
|
|
409
|
+
onFileChange?: (file: File | null) => void;
|
|
410
|
+
width?: string;
|
|
411
|
+
height?: string;
|
|
412
|
+
initialFile?: string | File;
|
|
413
|
+
disabled?: boolean;
|
|
414
|
+
} & DropzoneProps_2;
|
|
415
|
+
|
|
416
|
+
export declare type InfoItem = {
|
|
417
|
+
text: string;
|
|
418
|
+
icon: ReactNode;
|
|
37
419
|
};
|
|
38
420
|
|
|
421
|
+
export { Input }
|
|
422
|
+
|
|
423
|
+
export { InputBase }
|
|
424
|
+
|
|
425
|
+
export { InputLabel }
|
|
426
|
+
|
|
427
|
+
export declare interface ItemDataMap {
|
|
428
|
+
[key: string]: CustomTreeViewItem;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export { LinearProgress }
|
|
432
|
+
|
|
433
|
+
export { Link }
|
|
434
|
+
|
|
435
|
+
export { List }
|
|
436
|
+
|
|
437
|
+
export { ListItem }
|
|
438
|
+
|
|
439
|
+
export { ListItemButton }
|
|
440
|
+
|
|
441
|
+
export { ListItemIcon }
|
|
442
|
+
|
|
443
|
+
export { ListItemText }
|
|
444
|
+
|
|
445
|
+
export { ListSubheader }
|
|
446
|
+
|
|
447
|
+
export declare const Loader: FC<LoaderProps>;
|
|
448
|
+
|
|
449
|
+
export declare const LoaderBackdrop: FC<LoaderBackdropProps>;
|
|
450
|
+
|
|
451
|
+
export declare type LoaderBackdropProps = {
|
|
452
|
+
slotProps?: {
|
|
453
|
+
backdrop?: Omit<BackdropProps, "open" | "children">;
|
|
454
|
+
loader?: BoxProps;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
export declare type LoaderProps = BoxProps;
|
|
459
|
+
|
|
460
|
+
export { Menu }
|
|
461
|
+
|
|
462
|
+
export { MenuItem }
|
|
463
|
+
|
|
464
|
+
export { MobileStepper }
|
|
465
|
+
|
|
466
|
+
export { Modal }
|
|
467
|
+
|
|
468
|
+
export { Pagination }
|
|
469
|
+
|
|
470
|
+
export { Paper }
|
|
471
|
+
|
|
472
|
+
export declare const PasswordInput: FC<PasswordInputProps>;
|
|
473
|
+
|
|
474
|
+
export declare type PasswordInputProps = Omit<TextFieldProps, "type">;
|
|
475
|
+
|
|
476
|
+
export declare type PickerBackGroundBoxProps = {
|
|
477
|
+
disabled?: boolean;
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
export { Popover }
|
|
481
|
+
|
|
482
|
+
export declare type PropertyItem = {
|
|
483
|
+
text: ReactNode;
|
|
484
|
+
icon?: ReactNode;
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
export declare const QueryError: FC<QueryErrorProps>;
|
|
488
|
+
|
|
489
|
+
export declare type QueryErrorProps = {
|
|
490
|
+
error: FetchBaseQueryError | SerializedError | undefined;
|
|
491
|
+
statusPrefix?: string;
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
export { Radio }
|
|
495
|
+
|
|
496
|
+
export { RadioGroup }
|
|
497
|
+
|
|
498
|
+
export declare const ResourceCard: FC<ResourceCardProps>;
|
|
499
|
+
|
|
500
|
+
export declare type ResourceCardProps = {
|
|
501
|
+
isSelected?: boolean;
|
|
502
|
+
onSelect?: () => void;
|
|
503
|
+
image?: string;
|
|
504
|
+
defaultImage: string;
|
|
505
|
+
title: string;
|
|
506
|
+
propertyItems?: PropertyItem[];
|
|
507
|
+
infoIcons?: InfoItem[];
|
|
508
|
+
size?: ResourceCardSize;
|
|
509
|
+
width?: string;
|
|
510
|
+
maxWidth?: string;
|
|
511
|
+
onClick?: () => void;
|
|
512
|
+
hasNoButtonOnFocus?: boolean;
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
export declare type ResourceCardSize = "md" | "sm";
|
|
516
|
+
|
|
517
|
+
export declare const SearchInput: FC<SearchInputProps>;
|
|
518
|
+
|
|
519
|
+
export declare type SearchInputProps = InputBaseProps & {
|
|
520
|
+
loading?: boolean;
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
export { Select }
|
|
524
|
+
|
|
525
|
+
export { Skeleton }
|
|
526
|
+
|
|
527
|
+
export { Slide }
|
|
528
|
+
|
|
529
|
+
export { Slider }
|
|
530
|
+
|
|
531
|
+
export { Snackbar }
|
|
532
|
+
|
|
533
|
+
export { Stack }
|
|
534
|
+
|
|
535
|
+
export { Step }
|
|
536
|
+
|
|
537
|
+
export { StepButton }
|
|
538
|
+
|
|
539
|
+
export { StepLabel }
|
|
540
|
+
|
|
541
|
+
export { Stepper }
|
|
542
|
+
|
|
543
|
+
export declare interface StyledSwatchBoxProps {
|
|
544
|
+
showBorder?: boolean;
|
|
545
|
+
backgroundColor?: string;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export { SvgIcon }
|
|
549
|
+
|
|
550
|
+
export declare type SwatchProps = {
|
|
551
|
+
color: string;
|
|
552
|
+
onClick: () => void;
|
|
553
|
+
active: boolean;
|
|
554
|
+
showBorder?: boolean;
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
export { Switch }
|
|
558
|
+
|
|
559
|
+
export { Tab }
|
|
560
|
+
|
|
561
|
+
export { TabContext }
|
|
562
|
+
|
|
563
|
+
export { Table }
|
|
564
|
+
|
|
565
|
+
export { TableBody }
|
|
566
|
+
|
|
567
|
+
export { TableCell }
|
|
568
|
+
|
|
569
|
+
export { TableContainer }
|
|
570
|
+
|
|
571
|
+
export { TableFooter }
|
|
572
|
+
|
|
573
|
+
export { TableHead }
|
|
574
|
+
|
|
575
|
+
export { TablePagination }
|
|
576
|
+
|
|
577
|
+
export { TableRow }
|
|
578
|
+
|
|
579
|
+
export { TableSortLabel }
|
|
580
|
+
|
|
581
|
+
export { TabList }
|
|
582
|
+
|
|
583
|
+
export { TabPanel }
|
|
584
|
+
|
|
585
|
+
export { Tabs }
|
|
586
|
+
|
|
587
|
+
export { TextField }
|
|
588
|
+
|
|
589
|
+
export declare const TimePicker: FC<TimePickerProps>;
|
|
590
|
+
|
|
591
|
+
export declare type TimePickerProps = {
|
|
592
|
+
adapterLocale?: string;
|
|
593
|
+
} & TimePickerProps_2;
|
|
594
|
+
|
|
595
|
+
export { ToggleButton }
|
|
596
|
+
|
|
597
|
+
export { ToggleButtonGroup }
|
|
598
|
+
|
|
599
|
+
export { Toolbar }
|
|
600
|
+
|
|
601
|
+
export { Tooltip }
|
|
602
|
+
|
|
603
|
+
export declare interface TreeContainerProps {
|
|
604
|
+
maxHeight: number | string;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
export declare const TreeView: FC<TreeViewProps>;
|
|
608
|
+
|
|
609
|
+
export declare type TreeViewItemId = string;
|
|
610
|
+
|
|
611
|
+
export declare type TreeViewItemsReorderingAction = "reorder-above" | "reorder-below" | "make-child" | "move-to-parent";
|
|
612
|
+
|
|
613
|
+
export declare interface TreeViewProps {
|
|
614
|
+
items: CustomTreeViewItem[];
|
|
615
|
+
selectedItemId: string;
|
|
616
|
+
handleSelectedItemChange: (event: SyntheticEvent | null, itemIds: string | null) => void;
|
|
617
|
+
iconColor?: string;
|
|
618
|
+
maxHeight?: string | number;
|
|
619
|
+
hasNoIcons?: boolean;
|
|
620
|
+
defaultExpandedItems?: string[];
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export { Typography }
|
|
624
|
+
|
|
625
|
+
export { useMediaQuery }
|
|
626
|
+
|
|
627
|
+
export { Zoom }
|
|
628
|
+
|
|
629
|
+
export declare const ZoomControl: FC<ZoomControlProps>;
|
|
630
|
+
|
|
631
|
+
declare interface ZoomControlProps {
|
|
632
|
+
step?: number;
|
|
633
|
+
value: number;
|
|
634
|
+
onChange: (value: number) => void;
|
|
635
|
+
max?: number;
|
|
636
|
+
min?: number;
|
|
637
|
+
label?: string;
|
|
638
|
+
opacity?: number;
|
|
639
|
+
slotProps?: {
|
|
640
|
+
root?: BoxProps;
|
|
641
|
+
};
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
export * from "@mui/lab/TabContext";
|
|
646
|
+
export * from "@mui/lab/TabList";
|
|
647
|
+
export * from "@mui/lab/TabPanel";
|
|
648
|
+
export * from "@mui/material/Accordion";
|
|
649
|
+
export * from "@mui/material/AccordionActions";
|
|
650
|
+
export * from "@mui/material/AccordionDetails";
|
|
651
|
+
export * from "@mui/material/AccordionSummary";
|
|
652
|
+
export * from "@mui/material/AlertTitle";
|
|
653
|
+
export * from "@mui/material/AppBar";
|
|
654
|
+
export * from "@mui/material/Autocomplete";
|
|
655
|
+
export * from "@mui/material/Avatar";
|
|
656
|
+
export * from "@mui/material/Backdrop";
|
|
657
|
+
export * from "@mui/material/Badge";
|
|
658
|
+
export * from "@mui/material/Box";
|
|
659
|
+
export * from "@mui/material/Breadcrumbs";
|
|
660
|
+
export * from "@mui/material/Button";
|
|
661
|
+
export * from "@mui/material/ButtonGroup";
|
|
662
|
+
export * from "@mui/material/Card";
|
|
663
|
+
export * from "@mui/material/CardActionArea";
|
|
664
|
+
export * from "@mui/material/CardActions";
|
|
665
|
+
export * from "@mui/material/CardContent";
|
|
666
|
+
export * from "@mui/material/CardHeader";
|
|
667
|
+
export * from "@mui/material/CardMedia";
|
|
668
|
+
export * from "@mui/material/Checkbox";
|
|
669
|
+
export * from "@mui/material/Chip";
|
|
670
|
+
export * from "@mui/material/CircularProgress";
|
|
671
|
+
export * from "@mui/material/ClickAwayListener";
|
|
672
|
+
export * from "@mui/material/Collapse";
|
|
673
|
+
export * from "@mui/material/Container";
|
|
674
|
+
export * from "@mui/material/DialogActions";
|
|
675
|
+
export * from "@mui/material/DialogContent";
|
|
676
|
+
export * from "@mui/material/DialogContentText";
|
|
677
|
+
export * from "@mui/material/DialogTitle";
|
|
678
|
+
export * from "@mui/material/Divider";
|
|
679
|
+
export * from "@mui/material/Drawer";
|
|
680
|
+
export * from "@mui/material/Fade";
|
|
681
|
+
export * from "@mui/material/FormControl";
|
|
682
|
+
export * from "@mui/material/FormControlLabel";
|
|
683
|
+
export * from "@mui/material/FormGroup";
|
|
684
|
+
export * from "@mui/material/FormHelperText";
|
|
685
|
+
export * from "@mui/material/FormLabel";
|
|
686
|
+
export * from "@mui/material/GlobalStyles";
|
|
687
|
+
export * from "@mui/material/Grid";
|
|
688
|
+
export * from "@mui/material/Grow";
|
|
689
|
+
export * from "@mui/material/IconButton";
|
|
690
|
+
export * from "@mui/material/Input";
|
|
691
|
+
export * from "@mui/material/InputBase";
|
|
692
|
+
export * from "@mui/material/InputLabel";
|
|
693
|
+
export * from "@mui/material/LinearProgress";
|
|
694
|
+
export * from "@mui/material/Link";
|
|
695
|
+
export * from "@mui/material/List";
|
|
696
|
+
export * from "@mui/material/ListItem";
|
|
697
|
+
export * from "@mui/material/ListItemButton";
|
|
698
|
+
export * from "@mui/material/ListItemIcon";
|
|
699
|
+
export * from "@mui/material/ListItemText";
|
|
700
|
+
export * from "@mui/material/ListSubheader";
|
|
701
|
+
export * from "@mui/material/Menu";
|
|
702
|
+
export * from "@mui/material/MenuItem";
|
|
703
|
+
export * from "@mui/material/MobileStepper";
|
|
704
|
+
export * from "@mui/material/Modal";
|
|
705
|
+
export * from "@mui/material/Pagination";
|
|
706
|
+
export * from "@mui/material/Paper";
|
|
707
|
+
export * from "@mui/material/Popover";
|
|
708
|
+
export * from "@mui/material/Radio";
|
|
709
|
+
export * from "@mui/material/RadioGroup";
|
|
710
|
+
export * from "@mui/material/Select";
|
|
711
|
+
export * from "@mui/material/Skeleton";
|
|
712
|
+
export * from "@mui/material/Slide";
|
|
713
|
+
export * from "@mui/material/Slider";
|
|
714
|
+
export * from "@mui/material/Snackbar";
|
|
715
|
+
export * from "@mui/material/Stack";
|
|
716
|
+
export * from "@mui/material/Step";
|
|
717
|
+
export * from "@mui/material/StepButton";
|
|
718
|
+
export * from "@mui/material/StepLabel";
|
|
719
|
+
export * from "@mui/material/Stepper";
|
|
720
|
+
export * from "@mui/material/SvgIcon";
|
|
721
|
+
export * from "@mui/material/Switch";
|
|
722
|
+
export * from "@mui/material/Tab";
|
|
723
|
+
export * from "@mui/material/Table";
|
|
724
|
+
export * from "@mui/material/TableBody";
|
|
725
|
+
export * from "@mui/material/TableCell";
|
|
726
|
+
export * from "@mui/material/TableContainer";
|
|
727
|
+
export * from "@mui/material/TableFooter";
|
|
728
|
+
export * from "@mui/material/TableHead";
|
|
729
|
+
export * from "@mui/material/TablePagination";
|
|
730
|
+
export * from "@mui/material/TableRow";
|
|
731
|
+
export * from "@mui/material/TableSortLabel";
|
|
732
|
+
export * from "@mui/material/Tabs";
|
|
733
|
+
export * from "@mui/material/TextField";
|
|
734
|
+
export * from "@mui/material/ToggleButton";
|
|
735
|
+
export * from "@mui/material/ToggleButtonGroup";
|
|
736
|
+
export * from "@mui/material/Toolbar";
|
|
737
|
+
export * from "@mui/material/Tooltip";
|
|
738
|
+
export * from "@mui/material/Typography";
|
|
739
|
+
export * from "@mui/material/Zoom";
|
|
740
|
+
export * from "@mui/material/colors";
|
|
741
|
+
export * from "@mui/material/styles";
|
|
742
|
+
export * from "@mui/material/useMediaQuery";
|
|
743
|
+
|
|
39
744
|
export { }
|
|
40
745
|
|
|
41
746
|
|
package/dist/tiptap/index.d.ts
CHANGED
|
@@ -1,7 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Editor } from '@tiptap/react';
|
|
2
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
+
import { JSX } from 'react';
|
|
4
|
+
import { RefAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
declare type BaseProps = React.HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
|
|
8
|
+
declare type BaseProps_2 = React.HTMLAttributes<HTMLDivElement>;
|
|
9
|
+
|
|
10
|
+
export declare const FormattingControls: {
|
|
11
|
+
({ editor }: FormattingControlsProps): JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
declare interface FormattingControlsProps extends BaseProps {
|
|
16
|
+
editor: Editor;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export declare function Spacer({ orientation, size, style, ...props }: React.ComponentProps<"div"> & {
|
|
20
|
+
orientation?: SpacerOrientation;
|
|
21
|
+
size?: string | number;
|
|
22
|
+
}): JSX.Element;
|
|
23
|
+
|
|
24
|
+
export declare type SpacerOrientation = "horizontal" | "vertical";
|
|
25
|
+
|
|
26
|
+
export declare const Toolbar: ForwardRefExoticComponent<ToolbarProps & RefAttributes<HTMLDivElement>>;
|
|
27
|
+
|
|
28
|
+
export declare const ToolbarGroup: ForwardRefExoticComponent<BaseProps_2 & RefAttributes<HTMLDivElement>>;
|
|
29
|
+
|
|
30
|
+
declare interface ToolbarProps extends BaseProps_2 {
|
|
31
|
+
variant?: "floating" | "fixed";
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export declare const ToolbarSeparator: {
|
|
35
|
+
(): JSX.Element;
|
|
36
|
+
displayName: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { }
|
|
40
|
+
|
|
5
41
|
|
|
6
42
|
declare module "@mui/x-tree-view/TreeItem" {
|
|
7
43
|
interface TreeItemProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cgi-learning-hub/ui",
|
|
3
|
-
"version": "1.14.0-dev.
|
|
3
|
+
"version": "1.14.0-dev.1785424862",
|
|
4
4
|
"description": "React component library for Hub's design system, built on Material UI with custom and extended components.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cgi-learning-hub",
|