@cgi-learning-hub/ui 1.9.0 → 1.10.0
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 +63417 -1
- package/dist/index.d.ts +773 -1
- package/dist/index.es.js +63394 -417
- package/dist/ui.css +151 -0
- package/package.json +26 -24
- package/dist/Alert-BH_3hKCB.cjs +0 -1
- package/dist/Alert-BeVYzSS-.js +0 -94
- package/dist/Alert-BoYBWOXe.cjs +0 -1
- package/dist/Alert-CEu3llDi.js +0 -369
- package/dist/Autocomplete-BKpavKFW.cjs +0 -6
- package/dist/Autocomplete-DBZYn4YL.js +0 -1881
- package/dist/Backdrop-BvL371G3.js +0 -360
- package/dist/Backdrop-qOBrabpf.cjs +0 -1
- package/dist/Badge-2Kgbx-Cs.js +0 -466
- package/dist/Badge-DXl0Da36.cjs +0 -1
- package/dist/Box-BaZ7KlAc.js +0 -59
- package/dist/Box-CYQlQqRB.cjs +0 -1
- package/dist/Button-BP-QmmUu.cjs +0 -1
- package/dist/Button-C1mKNW-c.js +0 -698
- package/dist/ButtonBase-C2jRC_V7.js +0 -883
- package/dist/ButtonBase-DSJojbNE.cjs +0 -74
- package/dist/CardContent-DVcUynuH.cjs +0 -1
- package/dist/CardContent-kIapWv4T.js +0 -225
- package/dist/Checkbox-DhhuvKO5.cjs +0 -1
- package/dist/Checkbox-RxHWtafR.js +0 -271
- package/dist/Chip-DgGmi9yn.js +0 -574
- package/dist/Chip-n1kY-Dsh.cjs +0 -1
- package/dist/CircularProgress-BOm4zz7e.cjs +0 -28
- package/dist/CircularProgress-CLq0Rl-1.js +0 -253
- package/dist/Close-DR9m6hv3.cjs +0 -1
- package/dist/Close-vu-MZYNA.js +0 -9
- package/dist/CloseRounded-Cpp6nWQi.cjs +0 -1
- package/dist/CloseRounded-DF05lCUu.js +0 -8
- package/dist/CustomTreeItem-AecanDDg.js +0 -2046
- package/dist/CustomTreeItem-BBMp0k4i.cjs +0 -41
- package/dist/DatePicker-Cd-Aj-F8.js +0 -10758
- package/dist/DatePicker-Dj7U52Mk.cjs +0 -16
- package/dist/DefaultPropsProvider-BrmlvPWg.js +0 -312
- package/dist/DefaultPropsProvider-C1g4BXET.cjs +0 -1
- package/dist/Delete-C36W48MB.cjs +0 -1
- package/dist/Delete-DXUljXzP.js +0 -8
- package/dist/Dialog-C2HYr67H.cjs +0 -1
- package/dist/Dialog-D__8rwpw.js +0 -469
- package/dist/DialogContent-MPwmUJQp.js +0 -195
- package/dist/DialogContent-lup2v_ab.cjs +0 -1
- package/dist/DialogTitle-B8jOk7ZE.cjs +0 -1
- package/dist/DialogTitle-Dly5D3Ud.js +0 -134
- package/dist/Divider-BN12gMv9.js +0 -297
- package/dist/Divider-wisA5Qp_.cjs +0 -1
- package/dist/Folder-BSZMyA2L.js +0 -8
- package/dist/Folder-aAI_w_uF.cjs +0 -1
- package/dist/FormLabel-ByYWZh7M.cjs +0 -2
- package/dist/FormLabel-DtxJI2CU.js +0 -408
- package/dist/Grid-C0LY-MbT.js +0 -419
- package/dist/Grid-CPXE25PR.cjs +0 -2
- package/dist/Grow-6zwoqUfO.cjs +0 -1
- package/dist/Grow-CeGwnQpw.js +0 -197
- package/dist/IconButton-BTN16gZi.cjs +0 -2
- package/dist/IconButton-DBjiNqOa.js +0 -299
- package/dist/InputAdornment-C1r1YutO.cjs +0 -1
- package/dist/InputAdornment-DuR35FtU.js +0 -173
- package/dist/InputBase-CxknnWV4.cjs +0 -4
- package/dist/InputBase-D5UJOJBu.js +0 -797
- package/dist/Link-T11NCxGd.cjs +0 -1
- package/dist/Link-hWCqsQiI.js +0 -281
- package/dist/List-CmJ1jCss.js +0 -131
- package/dist/List-eQ4D0MvJ.cjs +0 -1
- package/dist/ListItem-CgWgbZ_g.cjs +0 -1
- package/dist/ListItem-onoPfwb4.js +0 -423
- package/dist/ListItemText-B-dySXgz.cjs +0 -1
- package/dist/ListItemText-BjhXxIIV.js +0 -441
- package/dist/Menu-D7B383z4.cjs +0 -7
- package/dist/Menu-DGvAkF5F.js +0 -911
- package/dist/MenuItem-Cusmy5t2.js +0 -268
- package/dist/MenuItem-D-4xzo-S.cjs +0 -1
- package/dist/Modal-DB9K8sJI.cjs +0 -2
- package/dist/Modal-DtjScKxh.js +0 -744
- package/dist/MoreVert-BwfUF9pO.cjs +0 -1
- package/dist/MoreVert-woCQ0dNf.js +0 -8
- package/dist/Paper-CZXfHfN_.js +0 -158
- package/dist/Paper-DcVuAxq3.cjs +0 -2
- package/dist/Popper-BwuGO_Si.js +0 -1407
- package/dist/Popper-D5Cs38W_.cjs +0 -4
- package/dist/Portal-Cmv45gpL.cjs +0 -1
- package/dist/Portal-PkRJuFYN.js +0 -85
- package/dist/Radio-DiyDpiVL.js +0 -617
- package/dist/Radio-DzKwkI68.cjs +0 -1
- package/dist/RadioGroup-BlkHQVRF.cjs +0 -1
- package/dist/RadioGroup-CjUaFqjJ.js +0 -191
- package/dist/Select-BxH16ruJ.js +0 -2648
- package/dist/Select-CSQfbogA.cjs +0 -3
- package/dist/Stack-ChvZzNqc.cjs +0 -1
- package/dist/Stack-pMJEpL7k.js +0 -173
- package/dist/Stepper-BsfN7O-W.cjs +0 -1
- package/dist/Stepper-DyH4sgY5.js +0 -966
- package/dist/Switch-BgZUmsKc.js +0 -392
- package/dist/Switch-Dr2jgPGV.cjs +0 -1
- package/dist/SwitchBase-BP_I-APE.cjs +0 -1
- package/dist/SwitchBase-BWz31Ed6.js +0 -319
- package/dist/Tab-Bksf_S4K.js +0 -1454
- package/dist/Tab-D2mI5G0L.cjs +0 -4
- package/dist/TextField-C9AnzUpZ.cjs +0 -1
- package/dist/TextField-Ctx4aW6-.js +0 -560
- package/dist/ToggleButtonGroup-CBw2I124.cjs +0 -138
- package/dist/ToggleButtonGroup-DtjRqNbI.js +0 -9091
- package/dist/Tooltip-C5AffX17.js +0 -722
- package/dist/Tooltip-CUm8vKGq.cjs +0 -4
- package/dist/TransitionGroupContext-DbLioz_6.js +0 -24
- package/dist/TransitionGroupContext-Zt4NoR0u.cjs +0 -1
- package/dist/Typography-Cr-aIusw.js +0 -261
- package/dist/Typography-DHjq4GzQ.cjs +0 -1
- package/dist/assets/Loader.css +0 -1
- package/dist/assets/LoaderBackdrop.css +0 -1
- package/dist/capitalize-3OjkeP9i.cjs +0 -1
- package/dist/capitalize-BHEX83JQ.js +0 -9
- package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/client-error-CHkavqXs.cjs +0 -1
- package/dist/client-error-D0Ng5oOn.js +0 -393
- package/dist/components/ActionBar/ActionBar.cjs.js +0 -1
- package/dist/components/ActionBar/ActionBar.d.ts +0 -3
- package/dist/components/ActionBar/ActionBar.es.js +0 -63
- package/dist/components/ActionBar/index.cjs.js +0 -1
- package/dist/components/ActionBar/index.d.ts +0 -2
- package/dist/components/ActionBar/index.es.js +0 -4
- package/dist/components/ActionBar/style.cjs.js +0 -1
- package/dist/components/ActionBar/style.es.js +0 -61
- package/dist/components/ActionBar/types.cjs.js +0 -1
- package/dist/components/ActionBar/types.d.ts +0 -17
- package/dist/components/ActionBar/types.es.js +0 -1
- package/dist/components/Alert/Alert.cjs.js +0 -1
- package/dist/components/Alert/Alert.d.ts +0 -6
- package/dist/components/Alert/Alert.es.js +0 -8
- package/dist/components/Alert/index.cjs.js +0 -1
- package/dist/components/Alert/index.d.ts +0 -2
- package/dist/components/Alert/index.es.js +0 -4
- package/dist/components/Button/Button.cjs.js +0 -1
- package/dist/components/Button/Button.d.ts +0 -3
- package/dist/components/Button/Button.es.js +0 -44
- package/dist/components/Button/index.cjs.js +0 -1
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/index.es.js +0 -4
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -3
- package/dist/components/ButtonGroup/ButtonGroup.es.js +0 -38
- package/dist/components/ButtonGroup/index.cjs.js +0 -1
- package/dist/components/ButtonGroup/index.d.ts +0 -2
- package/dist/components/ButtonGroup/index.es.js +0 -4
- package/dist/components/ButtonGroup/style.cjs.js +0 -1
- package/dist/components/ButtonGroup/style.es.js +0 -29
- package/dist/components/ButtonGroup/types.cjs.js +0 -1
- package/dist/components/ButtonGroup/types.d.ts +0 -22
- package/dist/components/ButtonGroup/types.es.js +0 -1
- package/dist/components/ColorPicker/ColorPicker.cjs.js +0 -27
- package/dist/components/ColorPicker/ColorPicker.d.ts +0 -4
- package/dist/components/ColorPicker/ColorPicker.es.js +0 -7960
- package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +0 -1
- package/dist/components/ColorPicker/ColorPickerIcon.d.ts +0 -5
- package/dist/components/ColorPicker/ColorPickerIcon.es.js +0 -58
- package/dist/components/ColorPicker/index.cjs.js +0 -1
- package/dist/components/ColorPicker/index.d.ts +0 -3
- package/dist/components/ColorPicker/index.es.js +0 -4
- package/dist/components/ColorPicker/styles.cjs.js +0 -1
- package/dist/components/ColorPicker/styles.es.js +0 -28
- package/dist/components/ColorPicker/types.cjs.js +0 -1
- package/dist/components/ColorPicker/types.d.ts +0 -19
- package/dist/components/ColorPicker/types.es.js +0 -1
- package/dist/components/DatePicker/DatePicker.cjs.js +0 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -6
- package/dist/components/DatePicker/DatePicker.es.js +0 -5
- package/dist/components/DatePicker/index.cjs.js +0 -1
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/DatePicker/index.es.js +0 -4
- package/dist/components/Dialog/Dialog.cjs.js +0 -1
- package/dist/components/Dialog/Dialog.d.ts +0 -6
- package/dist/components/Dialog/Dialog.es.js +0 -31
- package/dist/components/Dialog/index.cjs.js +0 -1
- package/dist/components/Dialog/index.d.ts +0 -2
- package/dist/components/Dialog/index.es.js +0 -4
- package/dist/components/Dropzone/Dropzone.cjs.js +0 -1
- package/dist/components/Dropzone/Dropzone.d.ts +0 -12
- package/dist/components/Dropzone/Dropzone.es.js +0 -55
- package/dist/components/Dropzone/index.cjs.js +0 -1
- package/dist/components/Dropzone/index.d.ts +0 -2
- package/dist/components/Dropzone/index.es.js +0 -4
- package/dist/components/Dropzone/types.cjs.js +0 -1
- package/dist/components/Dropzone/types.d.ts +0 -8
- package/dist/components/Dropzone/types.es.js +0 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +0 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +0 -9
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +0 -45
- package/dist/components/EllipsisWithTooltip/index.cjs.js +0 -1
- package/dist/components/EllipsisWithTooltip/index.d.ts +0 -2
- package/dist/components/EllipsisWithTooltip/index.es.js +0 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +0 -1
- package/dist/components/EmptyState/EmptyState.d.ts +0 -22
- package/dist/components/EmptyState/EmptyState.es.js +0 -34
- package/dist/components/EmptyState/index.cjs.js +0 -1
- package/dist/components/EmptyState/index.d.ts +0 -2
- package/dist/components/EmptyState/index.es.js +0 -4
- package/dist/components/FileList/FileIcon.cjs.js +0 -1
- package/dist/components/FileList/FileIcon.d.ts +0 -3
- package/dist/components/FileList/FileIcon.es.js +0 -56
- package/dist/components/FileList/FileInfosSeparator.cjs.js +0 -1
- package/dist/components/FileList/FileInfosSeparator.d.ts +0 -1
- package/dist/components/FileList/FileInfosSeparator.es.js +0 -14
- package/dist/components/FileList/FileList.cjs.js +0 -1
- package/dist/components/FileList/FileList.d.ts +0 -9
- package/dist/components/FileList/FileList.es.js +0 -24
- package/dist/components/FileList/FileListItem.cjs.js +0 -1
- package/dist/components/FileList/FileListItem.d.ts +0 -16
- package/dist/components/FileList/FileListItem.es.js +0 -122
- package/dist/components/FileList/index.cjs.js +0 -1
- package/dist/components/FileList/index.d.ts +0 -4
- package/dist/components/FileList/index.es.js +0 -6
- package/dist/components/FileList/utils.cjs.js +0 -1
- package/dist/components/FileList/utils.d.ts +0 -2
- package/dist/components/FileList/utils.es.js +0 -13
- package/dist/components/FolderCard/FolderCard.cjs.js +0 -1
- package/dist/components/FolderCard/FolderCard.d.ts +0 -12
- package/dist/components/FolderCard/FolderCard.es.js +0 -88
- package/dist/components/FolderCard/index.cjs.js +0 -1
- package/dist/components/FolderCard/index.d.ts +0 -2
- package/dist/components/FolderCard/index.es.js +0 -4
- package/dist/components/FolderCard/styles.cjs.js +0 -1
- package/dist/components/FolderCard/styles.d.ts +0 -24
- package/dist/components/FolderCard/styles.es.js +0 -27
- package/dist/components/FolderCard/types.cjs.js +0 -1
- package/dist/components/FolderCard/types.d.ts +0 -3
- package/dist/components/FolderCard/types.es.js +0 -14
- package/dist/components/Heading/Heading.cjs.js +0 -1
- package/dist/components/Heading/Heading.d.ts +0 -14
- package/dist/components/Heading/Heading.es.js +0 -39
- package/dist/components/Heading/index.cjs.js +0 -1
- package/dist/components/Heading/index.d.ts +0 -2
- package/dist/components/Heading/index.es.js +0 -4
- package/dist/components/ImagePicker/ImagePicker.cjs.js +0 -1
- package/dist/components/ImagePicker/ImagePicker.d.ts +0 -13
- package/dist/components/ImagePicker/ImagePicker.es.js +0 -203
- package/dist/components/ImagePicker/index.cjs.js +0 -1
- package/dist/components/ImagePicker/index.d.ts +0 -2
- package/dist/components/ImagePicker/index.es.js +0 -4
- package/dist/components/Loader/Loader.cjs.js +0 -1
- package/dist/components/Loader/Loader.d.ts +0 -3
- package/dist/components/Loader/Loader.es.js +0 -11
- package/dist/components/Loader/index.cjs.js +0 -1
- package/dist/components/Loader/index.d.ts +0 -2
- package/dist/components/Loader/index.es.js +0 -4
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -3
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +0 -12
- package/dist/components/LoaderBackdrop/index.cjs.js +0 -1
- package/dist/components/LoaderBackdrop/index.d.ts +0 -2
- package/dist/components/LoaderBackdrop/index.es.js +0 -4
- package/dist/components/PasswordInput/PasswordInput.cjs.js +0 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +0 -5
- package/dist/components/PasswordInput/PasswordInput.es.js +0 -39
- package/dist/components/PasswordInput/index.cjs.js +0 -1
- package/dist/components/PasswordInput/index.d.ts +0 -2
- package/dist/components/PasswordInput/index.es.js +0 -4
- package/dist/components/QueryError/QueryError.cjs.js +0 -1
- package/dist/components/QueryError/QueryError.d.ts +0 -8
- package/dist/components/QueryError/QueryError.es.js +0 -46
- package/dist/components/QueryError/helpers.cjs.js +0 -1
- package/dist/components/QueryError/helpers.d.ts +0 -11
- package/dist/components/QueryError/helpers.es.js +0 -10
- package/dist/components/QueryError/index.cjs.js +0 -1
- package/dist/components/QueryError/index.d.ts +0 -2
- package/dist/components/QueryError/index.es.js +0 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +0 -1
- package/dist/components/ResourceCard/ResourceCard.d.ts +0 -25
- package/dist/components/ResourceCard/ResourceCard.es.js +0 -128
- package/dist/components/ResourceCard/index.cjs.js +0 -1
- package/dist/components/ResourceCard/index.d.ts +0 -2
- package/dist/components/ResourceCard/index.es.js +0 -4
- package/dist/components/ResourceCard/style.cjs.js +0 -1
- package/dist/components/ResourceCard/style.es.js +0 -130
- package/dist/components/SearchInput/SearchInput.cjs.js +0 -1
- package/dist/components/SearchInput/SearchInput.d.ts +0 -4
- package/dist/components/SearchInput/SearchInput.es.js +0 -38
- package/dist/components/SearchInput/index.cjs.js +0 -1
- package/dist/components/SearchInput/index.d.ts +0 -2
- package/dist/components/SearchInput/index.es.js +0 -4
- package/dist/components/TreeView/TreeView.cjs.js +0 -5
- package/dist/components/TreeView/TreeView.d.ts +0 -4
- package/dist/components/TreeView/TreeView.es.js +0 -1663
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +0 -1
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +0 -6
- package/dist/components/TreeView/components/CustomTreeItem.es.js +0 -9
- package/dist/components/TreeView/index.cjs.js +0 -1
- package/dist/components/TreeView/index.d.ts +0 -2
- package/dist/components/TreeView/index.es.js +0 -6
- package/dist/components/TreeView/style.cjs.js +0 -1
- package/dist/components/TreeView/style.es.js +0 -35
- package/dist/components/TreeView/types.cjs.js +0 -1
- package/dist/components/TreeView/types.d.ts +0 -45
- package/dist/components/TreeView/types.es.js +0 -4
- package/dist/components/TreeView/utils.cjs.js +0 -1
- package/dist/components/TreeView/utils.d.ts +0 -6
- package/dist/components/TreeView/utils.es.js +0 -50
- package/dist/components/index.cjs.js +0 -1
- package/dist/components/index.d.ts +0 -197
- package/dist/components/index.es.js +0 -419
- package/dist/components/stories/ActionBar.stories.cjs.js +0 -1
- package/dist/components/stories/ActionBar.stories.d.ts +0 -11
- package/dist/components/stories/ActionBar.stories.es.js +0 -206
- package/dist/components/stories/Alert.stories.cjs.js +0 -1
- package/dist/components/stories/Alert.stories.d.ts +0 -9
- package/dist/components/stories/Alert.stories.es.js +0 -32
- package/dist/components/stories/Autocomplete.stories.cjs.js +0 -3
- package/dist/components/stories/Autocomplete.stories.d.ts +0 -6
- package/dist/components/stories/Autocomplete.stories.es.js +0 -62
- package/dist/components/stories/Badge.stories.cjs.js +0 -1
- package/dist/components/stories/Badge.stories.d.ts +0 -17
- package/dist/components/stories/Badge.stories.es.js +0 -188
- package/dist/components/stories/Button.stories.cjs.js +0 -1
- package/dist/components/stories/Button.stories.d.ts +0 -8
- package/dist/components/stories/Button.stories.es.js +0 -61
- package/dist/components/stories/ButtonGroup.stories.cjs.js +0 -153
- package/dist/components/stories/ButtonGroup.stories.d.ts +0 -17
- package/dist/components/stories/ButtonGroup.stories.es.js +0 -1296
- package/dist/components/stories/Card.stories.cjs.js +0 -1
- package/dist/components/stories/Card.stories.d.ts +0 -7
- package/dist/components/stories/Card.stories.es.js +0 -42
- package/dist/components/stories/Checkbox.stories.cjs.js +0 -1
- package/dist/components/stories/Checkbox.stories.d.ts +0 -10
- package/dist/components/stories/Checkbox.stories.es.js +0 -57
- package/dist/components/stories/Chip.stories.cjs.js +0 -1
- package/dist/components/stories/Chip.stories.d.ts +0 -10
- package/dist/components/stories/Chip.stories.es.js +0 -77
- package/dist/components/stories/ColoPicker.stories.cjs.js +0 -1
- package/dist/components/stories/ColoPicker.stories.d.ts +0 -6
- package/dist/components/stories/ColoPicker.stories.es.js +0 -23
- package/dist/components/stories/DatePicker.stories.cjs.js +0 -1
- package/dist/components/stories/DatePicker.stories.d.ts +0 -6
- package/dist/components/stories/DatePicker.stories.es.js +0 -13
- package/dist/components/stories/Dialog.stories.cjs.js +0 -1
- package/dist/components/stories/Dialog.stories.d.ts +0 -7
- package/dist/components/stories/Dialog.stories.es.js +0 -65
- package/dist/components/stories/Divider.stories.cjs.js +0 -1
- package/dist/components/stories/Divider.stories.d.ts +0 -6
- package/dist/components/stories/Divider.stories.es.js +0 -41
- package/dist/components/stories/Dropzone.stories.cjs.js +0 -1
- package/dist/components/stories/Dropzone.stories.d.ts +0 -6
- package/dist/components/stories/Dropzone.stories.es.js +0 -14
- package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +0 -1
- package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +0 -6
- package/dist/components/stories/EllipsisWithTooltip.stories.es.js +0 -36
- package/dist/components/stories/EmptyState.stories.cjs.js +0 -1
- package/dist/components/stories/EmptyState.stories.d.ts +0 -6
- package/dist/components/stories/EmptyState.stories.es.js +0 -30
- package/dist/components/stories/FileList.stories.cjs.js +0 -8
- package/dist/components/stories/FileList.stories.d.ts +0 -6
- package/dist/components/stories/FileList.stories.es.js +0 -150
- package/dist/components/stories/FolderCard.stories.cjs.js +0 -1
- package/dist/components/stories/FolderCard.stories.d.ts +0 -7
- package/dist/components/stories/FolderCard.stories.es.js +0 -71
- package/dist/components/stories/FormControlLabel.stories.cjs.js +0 -1
- package/dist/components/stories/FormControlLabel.stories.d.ts +0 -9
- package/dist/components/stories/FormControlLabel.stories.es.js +0 -55
- package/dist/components/stories/Heading.stories.cjs.js +0 -1
- package/dist/components/stories/Heading.stories.d.ts +0 -6
- package/dist/components/stories/Heading.stories.es.js +0 -20
- package/dist/components/stories/IconButton.stories.cjs.js +0 -1
- package/dist/components/stories/IconButton.stories.d.ts +0 -6
- package/dist/components/stories/IconButton.stories.es.js +0 -55
- package/dist/components/stories/ImagePicker.stories.cjs.js +0 -1
- package/dist/components/stories/ImagePicker.stories.d.ts +0 -6
- package/dist/components/stories/ImagePicker.stories.es.js +0 -57
- package/dist/components/stories/Link.stories.cjs.js +0 -1
- package/dist/components/stories/Link.stories.d.ts +0 -7
- package/dist/components/stories/Link.stories.es.js +0 -43
- package/dist/components/stories/Loader.stories.cjs.js +0 -1
- package/dist/components/stories/Loader.stories.d.ts +0 -6
- package/dist/components/stories/Loader.stories.es.js +0 -11
- package/dist/components/stories/LoaderBackdrop.stories.cjs.js +0 -1
- package/dist/components/stories/LoaderBackdrop.stories.d.ts +0 -6
- package/dist/components/stories/LoaderBackdrop.stories.es.js +0 -11
- package/dist/components/stories/Menu.stories.cjs.js +0 -1
- package/dist/components/stories/Menu.stories.d.ts +0 -7
- package/dist/components/stories/Menu.stories.es.js +0 -51
- package/dist/components/stories/Paper.stories.cjs.js +0 -1
- package/dist/components/stories/Paper.stories.d.ts +0 -7
- package/dist/components/stories/Paper.stories.es.js +0 -28
- package/dist/components/stories/PasswordInput.stories.cjs.js +0 -1
- package/dist/components/stories/PasswordInput.stories.d.ts +0 -6
- package/dist/components/stories/PasswordInput.stories.es.js +0 -13
- package/dist/components/stories/RadioGroup.stories.cjs.js +0 -1
- package/dist/components/stories/RadioGroup.stories.d.ts +0 -8
- package/dist/components/stories/RadioGroup.stories.es.js +0 -37
- package/dist/components/stories/ResourceCard.stories.cjs.js +0 -1
- package/dist/components/stories/ResourceCard.stories.d.ts +0 -9
- package/dist/components/stories/ResourceCard.stories.es.js +0 -141
- package/dist/components/stories/SearchInput.stories.cjs.js +0 -1
- package/dist/components/stories/SearchInput.stories.d.ts +0 -6
- package/dist/components/stories/SearchInput.stories.es.js +0 -13
- package/dist/components/stories/Select.stories.cjs.js +0 -1
- package/dist/components/stories/Select.stories.d.ts +0 -10
- package/dist/components/stories/Select.stories.es.js +0 -52
- package/dist/components/stories/Stepper.stories.cjs.js +0 -1
- package/dist/components/stories/Stepper.stories.d.ts +0 -7
- package/dist/components/stories/Stepper.stories.es.js +0 -161
- package/dist/components/stories/TabList.stories.cjs.js +0 -1
- package/dist/components/stories/TabList.stories.d.ts +0 -7
- package/dist/components/stories/TabList.stories.es.js +0 -73
- package/dist/components/stories/TextField.stories.cjs.js +0 -1
- package/dist/components/stories/TextField.stories.d.ts +0 -10
- package/dist/components/stories/TextField.stories.es.js +0 -69
- package/dist/components/stories/Tooltip.stories.cjs.js +0 -1
- package/dist/components/stories/Tooltip.stories.d.ts +0 -7
- package/dist/components/stories/Tooltip.stories.es.js +0 -46
- package/dist/components/stories/TreeView.stories.cjs.js +0 -69
- package/dist/components/stories/TreeView.stories.d.ts +0 -15
- package/dist/components/stories/TreeView.stories.es.js +0 -1036
- package/dist/components/stories/Typography.stories.cjs.js +0 -1
- package/dist/components/stories/Typography.stories.d.ts +0 -6
- package/dist/components/stories/Typography.stories.es.js +0 -65
- package/dist/composeClasses-BskurlZX.js +0 -51
- package/dist/composeClasses-vN5Almps.cjs +0 -1
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createChainedFunction-CJmlQuW8.cjs +0 -1
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +0 -1
- package/dist/createSvgIcon-CcWpa9Le.cjs +0 -1
- package/dist/createSvgIcon-DFIM5PqN.js +0 -254
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/debounce-DpCj7ugL.cjs +0 -1
- package/dist/dividerClasses-BEzQ_reA.js +0 -9
- package/dist/dividerClasses-BpVbhp8e.cjs +0 -1
- package/dist/elementAcceptingRef-CZLfau9O.js +0 -31
- package/dist/elementAcceptingRef-CuMilXz3.cjs +0 -1
- package/dist/elementTypeAcceptingRef-vRb2iI4O.js +0 -23
- package/dist/elementTypeAcceptingRef-vjR5jGLx.cjs +0 -1
- package/dist/error-CRNeivL7.js +0 -5
- package/dist/error-Dk3o6ber.cjs +0 -1
- package/dist/extendSxProp-DGsHTtAe.js +0 -37
- package/dist/extendSxProp-Dwd9vpYv.cjs +0 -1
- package/dist/formControlState-CuX6WjAX.cjs +0 -1
- package/dist/formControlState-vgaj2ksH.js +0 -10
- package/dist/generateUtilityClasses-B_xKAflz.js +0 -2703
- package/dist/generateUtilityClasses-CENS22bI.cjs +0 -55
- package/dist/hooks/lazySvgImport.cjs.js +0 -1
- package/dist/hooks/lazySvgImport.d.ts +0 -6
- package/dist/hooks/lazySvgImport.es.js +0 -34
- package/dist/index-B9vkf41S.js +0 -672
- package/dist/index-BPpGXp0s.cjs +0 -1
- package/dist/index-BS46Ff4t.cjs +0 -5
- package/dist/index-Ba4TEBpP.js +0 -22
- package/dist/index-CJMnfcQs.js +0 -2152
- package/dist/index-CwHv-blH.js +0 -97
- package/dist/index-D_kvDIOz.cjs +0 -1
- package/dist/index-kjfz41UI.cjs +0 -20
- package/dist/integerPropType-BihGt2aU.js +0 -31
- package/dist/integerPropType-CR7ytEJG.cjs +0 -1
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isFocusVisible-DlSijby6.cjs +0 -2
- package/dist/isHostComponent-PydJW4A4.cjs +0 -1
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-BzDAj3yJ.cjs +0 -1
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/listItemTextClasses-CEbo8A-K.js +0 -9
- package/dist/listItemTextClasses-wcJANWC3.cjs +0 -1
- package/dist/memoTheme-Bi1UNdyO.cjs +0 -1
- package/dist/memoTheme-C-PaH-Cy.js +0 -15
- package/dist/mergeSlotProps-CL6s5QgQ.cjs +0 -1
- package/dist/mergeSlotProps-DVtjofCS.js +0 -62
- package/dist/ownerDocument-4MViGo3k.cjs +0 -1
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-DDHucZi0.cjs +0 -1
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/refType-8hihVLUh.js +0 -5
- package/dist/refType-DJyA--UV.cjs +0 -1
- package/dist/server-error-CqyYyPLN.cjs +0 -1
- package/dist/server-error-CvgIy7ap.js +0 -398
- package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
- package/dist/unsupportedProp-BuVD30Gh.js +0 -9
- package/dist/useControlled-QrrYcKxm.cjs +0 -3
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEventCallback-BxpcFap0.cjs +0 -1
- package/dist/useEventCallback-Y2KwRxBw.js +0 -15
- package/dist/useForkRef-CFhhTu-Q.cjs +0 -1
- package/dist/useForkRef-u29GSuCu.js +0 -27
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useFormControl-haP0iPhl.cjs +0 -1
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useId-DNXtOFeX.cjs +0 -1
- package/dist/usePreviousProps-ByGlbpJ6.js +0 -10
- package/dist/usePreviousProps-jC3PWcIp.cjs +0 -1
- package/dist/useSlot-BSkdRaZr.js +0 -125
- package/dist/useSlot-C-aMxEm0.cjs +0 -1
- package/dist/useSlotProps-BVVfeURp.cjs +0 -1
- package/dist/useSlotProps-CWTjRiRv.js +0 -25
- package/dist/useTheme-0AkY41zn.js +0 -11
- package/dist/useTheme-BT6SDKkk.cjs +0 -1
- package/dist/useTheme-BrGF2Vm0.cjs +0 -1
- package/dist/useTheme-DSA6Ir8k.js +0 -18
- package/dist/useThemeProps-BWsN0TEk.cjs +0 -1
- package/dist/useThemeProps-CAonvyKa.js +0 -27
- package/dist/useThemeProps-JozrkyA_.cjs +0 -1
- package/dist/useThemeProps-hSh1qhnc.js +0 -17
- package/dist/useTimeout-COCrDKz-.cjs +0 -1
- package/dist/useTimeout-CrCYVizI.js +0 -42
- package/dist/utils-BWx1W_q1.cjs +0 -1
- package/dist/utils-B_pVp6UZ.js +0 -363
- package/dist/utils-DWqc1kRF.js +0 -13
- package/dist/utils-XujN9ndp.cjs +0 -1
- package/dist/warning-C8W811fV.js +0 -11
- package/dist/warning-DMUNDgRg.cjs +0 -2
package/dist/Modal-DtjScKxh.js
DELETED
|
@@ -1,744 +0,0 @@
|
|
|
1
|
-
import * as u from "react";
|
|
2
|
-
import { P as n } from "./index-B9vkf41S.js";
|
|
3
|
-
import { F as me, G as be, H as J } from "./generateUtilityClasses-B_xKAflz.js";
|
|
4
|
-
import { m as he } from "./memoTheme-C-PaH-Cy.js";
|
|
5
|
-
import { o as H } from "./ownerWindow-niciwP7I.js";
|
|
6
|
-
import { o as O } from "./ownerDocument-CUrv0DIK.js";
|
|
7
|
-
import { u as re } from "./useForkRef-u29GSuCu.js";
|
|
8
|
-
import { a as Q } from "./useEventCallback-Y2KwRxBw.js";
|
|
9
|
-
import { c as Z } from "./createChainedFunction-C0nujS3O.js";
|
|
10
|
-
import { e as ge, u as ee } from "./useSlot-BSkdRaZr.js";
|
|
11
|
-
import { jsxs as se, jsx as j } from "react/jsx-runtime";
|
|
12
|
-
import { u as Ee, s as ie, c as Te } from "./DefaultPropsProvider-BrmlvPWg.js";
|
|
13
|
-
import { e as ye, P as xe, H as Re } from "./Portal-PkRJuFYN.js";
|
|
14
|
-
import { g as Pe, e as ae } from "./elementAcceptingRef-CZLfau9O.js";
|
|
15
|
-
import { B as ve } from "./Backdrop-BvL371G3.js";
|
|
16
|
-
function ke(e = window) {
|
|
17
|
-
const t = e.document.documentElement.clientWidth;
|
|
18
|
-
return e.innerWidth - t;
|
|
19
|
-
}
|
|
20
|
-
function Ie(e) {
|
|
21
|
-
const t = O(e);
|
|
22
|
-
return t.body === e ? H(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
|
|
23
|
-
}
|
|
24
|
-
function K(e, t) {
|
|
25
|
-
t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
|
|
26
|
-
}
|
|
27
|
-
function te(e) {
|
|
28
|
-
return parseInt(H(e).getComputedStyle(e).paddingRight, 10) || 0;
|
|
29
|
-
}
|
|
30
|
-
function Ne(e) {
|
|
31
|
-
const s = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(e.tagName), o = e.tagName === "INPUT" && e.getAttribute("type") === "hidden";
|
|
32
|
-
return s || o;
|
|
33
|
-
}
|
|
34
|
-
function oe(e, t, s, o, i) {
|
|
35
|
-
const r = [t, s, ...o];
|
|
36
|
-
[].forEach.call(e.children, (a) => {
|
|
37
|
-
const c = !r.includes(a), m = !Ne(a);
|
|
38
|
-
c && m && K(a, i);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function Y(e, t) {
|
|
42
|
-
let s = -1;
|
|
43
|
-
return e.some((o, i) => t(o) ? (s = i, !0) : !1), s;
|
|
44
|
-
}
|
|
45
|
-
function Fe(e, t) {
|
|
46
|
-
const s = [], o = e.container;
|
|
47
|
-
if (!t.disableScrollLock) {
|
|
48
|
-
if (Ie(o)) {
|
|
49
|
-
const a = ke(H(o));
|
|
50
|
-
s.push({
|
|
51
|
-
value: o.style.paddingRight,
|
|
52
|
-
property: "padding-right",
|
|
53
|
-
el: o
|
|
54
|
-
}), o.style.paddingRight = `${te(o) + a}px`;
|
|
55
|
-
const c = O(o).querySelectorAll(".mui-fixed");
|
|
56
|
-
[].forEach.call(c, (m) => {
|
|
57
|
-
s.push({
|
|
58
|
-
value: m.style.paddingRight,
|
|
59
|
-
property: "padding-right",
|
|
60
|
-
el: m
|
|
61
|
-
}), m.style.paddingRight = `${te(m) + a}px`;
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
let r;
|
|
65
|
-
if (o.parentNode instanceof DocumentFragment)
|
|
66
|
-
r = O(o).body;
|
|
67
|
-
else {
|
|
68
|
-
const a = o.parentElement, c = H(o);
|
|
69
|
-
r = (a == null ? void 0 : a.nodeName) === "HTML" && c.getComputedStyle(a).overflowY === "scroll" ? a : o;
|
|
70
|
-
}
|
|
71
|
-
s.push({
|
|
72
|
-
value: r.style.overflow,
|
|
73
|
-
property: "overflow",
|
|
74
|
-
el: r
|
|
75
|
-
}, {
|
|
76
|
-
value: r.style.overflowX,
|
|
77
|
-
property: "overflow-x",
|
|
78
|
-
el: r
|
|
79
|
-
}, {
|
|
80
|
-
value: r.style.overflowY,
|
|
81
|
-
property: "overflow-y",
|
|
82
|
-
el: r
|
|
83
|
-
}), r.style.overflow = "hidden";
|
|
84
|
-
}
|
|
85
|
-
return () => {
|
|
86
|
-
s.forEach(({
|
|
87
|
-
value: r,
|
|
88
|
-
el: a,
|
|
89
|
-
property: c
|
|
90
|
-
}) => {
|
|
91
|
-
r ? a.style.setProperty(c, r) : a.style.removeProperty(c);
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
function Se(e) {
|
|
96
|
-
const t = [];
|
|
97
|
-
return [].forEach.call(e.children, (s) => {
|
|
98
|
-
s.getAttribute("aria-hidden") === "true" && t.push(s);
|
|
99
|
-
}), t;
|
|
100
|
-
}
|
|
101
|
-
class Ce {
|
|
102
|
-
constructor() {
|
|
103
|
-
this.modals = [], this.containers = [];
|
|
104
|
-
}
|
|
105
|
-
add(t, s) {
|
|
106
|
-
let o = this.modals.indexOf(t);
|
|
107
|
-
if (o !== -1)
|
|
108
|
-
return o;
|
|
109
|
-
o = this.modals.length, this.modals.push(t), t.modalRef && K(t.modalRef, !1);
|
|
110
|
-
const i = Se(s);
|
|
111
|
-
oe(s, t.mount, t.modalRef, i, !0);
|
|
112
|
-
const r = Y(this.containers, (a) => a.container === s);
|
|
113
|
-
return r !== -1 ? (this.containers[r].modals.push(t), o) : (this.containers.push({
|
|
114
|
-
modals: [t],
|
|
115
|
-
container: s,
|
|
116
|
-
restore: null,
|
|
117
|
-
hiddenSiblings: i
|
|
118
|
-
}), o);
|
|
119
|
-
}
|
|
120
|
-
mount(t, s) {
|
|
121
|
-
const o = Y(this.containers, (r) => r.modals.includes(t)), i = this.containers[o];
|
|
122
|
-
i.restore || (i.restore = Fe(i, s));
|
|
123
|
-
}
|
|
124
|
-
remove(t, s = !0) {
|
|
125
|
-
const o = this.modals.indexOf(t);
|
|
126
|
-
if (o === -1)
|
|
127
|
-
return o;
|
|
128
|
-
const i = Y(this.containers, (a) => a.modals.includes(t)), r = this.containers[i];
|
|
129
|
-
if (r.modals.splice(r.modals.indexOf(t), 1), this.modals.splice(o, 1), r.modals.length === 0)
|
|
130
|
-
r.restore && r.restore(), t.modalRef && K(t.modalRef, s), oe(r.container, t.mount, t.modalRef, r.hiddenSiblings, !1), this.containers.splice(i, 1);
|
|
131
|
-
else {
|
|
132
|
-
const a = r.modals[r.modals.length - 1];
|
|
133
|
-
a.modalRef && K(a.modalRef, !1);
|
|
134
|
-
}
|
|
135
|
-
return o;
|
|
136
|
-
}
|
|
137
|
-
isTopModal(t) {
|
|
138
|
-
return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
const Me = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
|
|
142
|
-
function we(e) {
|
|
143
|
-
const t = parseInt(e.getAttribute("tabindex") || "", 10);
|
|
144
|
-
return Number.isNaN(t) ? e.contentEditable === "true" || (e.nodeName === "AUDIO" || e.nodeName === "VIDEO" || e.nodeName === "DETAILS") && e.getAttribute("tabindex") === null ? 0 : e.tabIndex : t;
|
|
145
|
-
}
|
|
146
|
-
function Oe(e) {
|
|
147
|
-
if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name)
|
|
148
|
-
return !1;
|
|
149
|
-
const t = (o) => e.ownerDocument.querySelector(`input[type="radio"]${o}`);
|
|
150
|
-
let s = t(`[name="${e.name}"]:checked`);
|
|
151
|
-
return s || (s = t(`[name="${e.name}"]`)), s !== e;
|
|
152
|
-
}
|
|
153
|
-
function Ae(e) {
|
|
154
|
-
return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Oe(e));
|
|
155
|
-
}
|
|
156
|
-
function De(e) {
|
|
157
|
-
const t = [], s = [];
|
|
158
|
-
return Array.from(e.querySelectorAll(Me)).forEach((o, i) => {
|
|
159
|
-
const r = we(o);
|
|
160
|
-
r === -1 || !Ae(o) || (r === 0 ? t.push(o) : s.push({
|
|
161
|
-
documentOrder: i,
|
|
162
|
-
tabIndex: r,
|
|
163
|
-
node: o
|
|
164
|
-
}));
|
|
165
|
-
}), s.sort((o, i) => o.tabIndex === i.tabIndex ? o.documentOrder - i.documentOrder : o.tabIndex - i.tabIndex).map((o) => o.node).concat(t);
|
|
166
|
-
}
|
|
167
|
-
function Le() {
|
|
168
|
-
return !0;
|
|
169
|
-
}
|
|
170
|
-
function z(e) {
|
|
171
|
-
const {
|
|
172
|
-
children: t,
|
|
173
|
-
disableAutoFocus: s = !1,
|
|
174
|
-
disableEnforceFocus: o = !1,
|
|
175
|
-
disableRestoreFocus: i = !1,
|
|
176
|
-
getTabbable: r = De,
|
|
177
|
-
isEnabled: a = Le,
|
|
178
|
-
open: c
|
|
179
|
-
} = e, m = u.useRef(!1), E = u.useRef(null), v = u.useRef(null), h = u.useRef(null), y = u.useRef(null), b = u.useRef(!1), p = u.useRef(null), M = re(Pe(t), p), N = u.useRef(null);
|
|
180
|
-
u.useEffect(() => {
|
|
181
|
-
!c || !p.current || (b.current = !s);
|
|
182
|
-
}, [s, c]), u.useEffect(() => {
|
|
183
|
-
if (!c || !p.current)
|
|
184
|
-
return;
|
|
185
|
-
const l = O(p.current);
|
|
186
|
-
return p.current.contains(l.activeElement) || (p.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
187
|
-
`)), p.current.setAttribute("tabIndex", "-1")), b.current && p.current.focus()), () => {
|
|
188
|
-
i || (h.current && h.current.focus && (m.current = !0, h.current.focus()), h.current = null);
|
|
189
|
-
};
|
|
190
|
-
}, [c]), u.useEffect(() => {
|
|
191
|
-
if (!c || !p.current)
|
|
192
|
-
return;
|
|
193
|
-
const l = O(p.current), g = (T) => {
|
|
194
|
-
N.current = T, !(o || !a() || T.key !== "Tab") && l.activeElement === p.current && T.shiftKey && (m.current = !0, v.current && v.current.focus());
|
|
195
|
-
}, k = () => {
|
|
196
|
-
var x, w;
|
|
197
|
-
const T = p.current;
|
|
198
|
-
if (T === null)
|
|
199
|
-
return;
|
|
200
|
-
if (!l.hasFocus() || !a() || m.current) {
|
|
201
|
-
m.current = !1;
|
|
202
|
-
return;
|
|
203
|
-
}
|
|
204
|
-
if (T.contains(l.activeElement) || o && l.activeElement !== E.current && l.activeElement !== v.current)
|
|
205
|
-
return;
|
|
206
|
-
if (l.activeElement !== y.current)
|
|
207
|
-
y.current = null;
|
|
208
|
-
else if (y.current !== null)
|
|
209
|
-
return;
|
|
210
|
-
if (!b.current)
|
|
211
|
-
return;
|
|
212
|
-
let S = [];
|
|
213
|
-
if ((l.activeElement === E.current || l.activeElement === v.current) && (S = r(p.current)), S.length > 0) {
|
|
214
|
-
const D = !!((x = N.current) != null && x.shiftKey && ((w = N.current) == null ? void 0 : w.key) === "Tab"), U = S[0], L = S[S.length - 1];
|
|
215
|
-
typeof U != "string" && typeof L != "string" && (D ? L.focus() : U.focus());
|
|
216
|
-
} else
|
|
217
|
-
T.focus();
|
|
218
|
-
};
|
|
219
|
-
l.addEventListener("focusin", k), l.addEventListener("keydown", g, !0);
|
|
220
|
-
const A = setInterval(() => {
|
|
221
|
-
l.activeElement && l.activeElement.tagName === "BODY" && k();
|
|
222
|
-
}, 50);
|
|
223
|
-
return () => {
|
|
224
|
-
clearInterval(A), l.removeEventListener("focusin", k), l.removeEventListener("keydown", g, !0);
|
|
225
|
-
};
|
|
226
|
-
}, [s, o, i, a, c, r]);
|
|
227
|
-
const F = (l) => {
|
|
228
|
-
h.current === null && (h.current = l.relatedTarget), b.current = !0, y.current = l.target;
|
|
229
|
-
const g = t.props.onFocus;
|
|
230
|
-
g && g(l);
|
|
231
|
-
}, R = (l) => {
|
|
232
|
-
h.current === null && (h.current = l.relatedTarget), b.current = !0;
|
|
233
|
-
};
|
|
234
|
-
return /* @__PURE__ */ se(u.Fragment, {
|
|
235
|
-
children: [/* @__PURE__ */ j("div", {
|
|
236
|
-
tabIndex: c ? 0 : -1,
|
|
237
|
-
onFocus: R,
|
|
238
|
-
ref: E,
|
|
239
|
-
"data-testid": "sentinelStart"
|
|
240
|
-
}), /* @__PURE__ */ u.cloneElement(t, {
|
|
241
|
-
ref: M,
|
|
242
|
-
onFocus: F
|
|
243
|
-
}), /* @__PURE__ */ j("div", {
|
|
244
|
-
tabIndex: c ? 0 : -1,
|
|
245
|
-
onFocus: R,
|
|
246
|
-
ref: v,
|
|
247
|
-
"data-testid": "sentinelEnd"
|
|
248
|
-
})]
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
process.env.NODE_ENV !== "production" && (z.propTypes = {
|
|
252
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
253
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
254
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
255
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
256
|
-
/**
|
|
257
|
-
* A single child content element.
|
|
258
|
-
*/
|
|
259
|
-
children: ae,
|
|
260
|
-
/**
|
|
261
|
-
* If `true`, the focus trap will not automatically shift focus to itself when it opens, and
|
|
262
|
-
* replace it to the last focused element when it closes.
|
|
263
|
-
* This also works correctly with any focus trap children that have the `disableAutoFocus` prop.
|
|
264
|
-
*
|
|
265
|
-
* Generally this should never be set to `true` as it makes the focus trap less
|
|
266
|
-
* accessible to assistive technologies, like screen readers.
|
|
267
|
-
* @default false
|
|
268
|
-
*/
|
|
269
|
-
disableAutoFocus: n.bool,
|
|
270
|
-
/**
|
|
271
|
-
* If `true`, the focus trap will not prevent focus from leaving the focus trap while open.
|
|
272
|
-
*
|
|
273
|
-
* Generally this should never be set to `true` as it makes the focus trap less
|
|
274
|
-
* accessible to assistive technologies, like screen readers.
|
|
275
|
-
* @default false
|
|
276
|
-
*/
|
|
277
|
-
disableEnforceFocus: n.bool,
|
|
278
|
-
/**
|
|
279
|
-
* If `true`, the focus trap will not restore focus to previously focused element once
|
|
280
|
-
* focus trap is hidden or unmounted.
|
|
281
|
-
* @default false
|
|
282
|
-
*/
|
|
283
|
-
disableRestoreFocus: n.bool,
|
|
284
|
-
/**
|
|
285
|
-
* Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.
|
|
286
|
-
* For instance, you can provide the "tabbable" npm dependency.
|
|
287
|
-
* @param {HTMLElement} root
|
|
288
|
-
*/
|
|
289
|
-
getTabbable: n.func,
|
|
290
|
-
/**
|
|
291
|
-
* This prop extends the `open` prop.
|
|
292
|
-
* It allows to toggle the open state without having to wait for a rerender when changing the `open` prop.
|
|
293
|
-
* This prop should be memoized.
|
|
294
|
-
* It can be used to support multiple focus trap mounted at the same time.
|
|
295
|
-
* @default function defaultIsEnabled(): boolean {
|
|
296
|
-
* return true;
|
|
297
|
-
* }
|
|
298
|
-
*/
|
|
299
|
-
isEnabled: n.func,
|
|
300
|
-
/**
|
|
301
|
-
* If `true`, focus is locked.
|
|
302
|
-
*/
|
|
303
|
-
open: n.bool.isRequired
|
|
304
|
-
});
|
|
305
|
-
process.env.NODE_ENV !== "production" && (z.propTypes = ye(z.propTypes));
|
|
306
|
-
function Be(e) {
|
|
307
|
-
return typeof e == "function" ? e() : e;
|
|
308
|
-
}
|
|
309
|
-
function je(e) {
|
|
310
|
-
return e ? e.props.hasOwnProperty("in") : !1;
|
|
311
|
-
}
|
|
312
|
-
const ne = () => {
|
|
313
|
-
}, q = new Ce();
|
|
314
|
-
function Ke(e) {
|
|
315
|
-
const {
|
|
316
|
-
container: t,
|
|
317
|
-
disableEscapeKeyDown: s = !1,
|
|
318
|
-
disableScrollLock: o = !1,
|
|
319
|
-
closeAfterTransition: i = !1,
|
|
320
|
-
onTransitionEnter: r,
|
|
321
|
-
onTransitionExited: a,
|
|
322
|
-
children: c,
|
|
323
|
-
onClose: m,
|
|
324
|
-
open: E,
|
|
325
|
-
rootRef: v
|
|
326
|
-
} = e, h = u.useRef({}), y = u.useRef(null), b = u.useRef(null), p = re(b, v), [M, N] = u.useState(!E), F = je(c);
|
|
327
|
-
let R = !0;
|
|
328
|
-
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (R = !1);
|
|
329
|
-
const l = () => O(y.current), g = () => (h.current.modalRef = b.current, h.current.mount = y.current, h.current), k = () => {
|
|
330
|
-
q.mount(g(), {
|
|
331
|
-
disableScrollLock: o
|
|
332
|
-
}), b.current && (b.current.scrollTop = 0);
|
|
333
|
-
}, A = Q(() => {
|
|
334
|
-
const f = Be(t) || l().body;
|
|
335
|
-
q.add(g(), f), b.current && k();
|
|
336
|
-
}), T = () => q.isTopModal(g()), S = Q((f) => {
|
|
337
|
-
y.current = f, f && (E && T() ? k() : b.current && K(b.current, R));
|
|
338
|
-
}), x = u.useCallback(() => {
|
|
339
|
-
q.remove(g(), R);
|
|
340
|
-
}, [R]);
|
|
341
|
-
u.useEffect(() => () => {
|
|
342
|
-
x();
|
|
343
|
-
}, [x]), u.useEffect(() => {
|
|
344
|
-
E ? A() : (!F || !i) && x();
|
|
345
|
-
}, [E, x, F, i, A]);
|
|
346
|
-
const w = (f) => (d) => {
|
|
347
|
-
var P;
|
|
348
|
-
(P = f.onKeyDown) == null || P.call(f, d), !(d.key !== "Escape" || d.which === 229 || // Wait until IME is settled.
|
|
349
|
-
!T()) && (s || (d.stopPropagation(), m && m(d, "escapeKeyDown")));
|
|
350
|
-
}, D = (f) => (d) => {
|
|
351
|
-
var P;
|
|
352
|
-
(P = f.onClick) == null || P.call(f, d), d.target === d.currentTarget && m && m(d, "backdropClick");
|
|
353
|
-
};
|
|
354
|
-
return {
|
|
355
|
-
getRootProps: (f = {}) => {
|
|
356
|
-
const d = ge(e);
|
|
357
|
-
delete d.onTransitionEnter, delete d.onTransitionExited;
|
|
358
|
-
const P = {
|
|
359
|
-
...d,
|
|
360
|
-
...f
|
|
361
|
-
};
|
|
362
|
-
return {
|
|
363
|
-
/*
|
|
364
|
-
* Marking an element with the role presentation indicates to assistive technology
|
|
365
|
-
* that this element should be ignored; it exists to support the web application and
|
|
366
|
-
* is not meant for humans to interact with directly.
|
|
367
|
-
* https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
|
|
368
|
-
*/
|
|
369
|
-
role: "presentation",
|
|
370
|
-
...P,
|
|
371
|
-
onKeyDown: w(P),
|
|
372
|
-
ref: p
|
|
373
|
-
};
|
|
374
|
-
},
|
|
375
|
-
getBackdropProps: (f = {}) => {
|
|
376
|
-
const d = f;
|
|
377
|
-
return {
|
|
378
|
-
"aria-hidden": !0,
|
|
379
|
-
...d,
|
|
380
|
-
onClick: D(d),
|
|
381
|
-
open: E
|
|
382
|
-
};
|
|
383
|
-
},
|
|
384
|
-
getTransitionProps: () => {
|
|
385
|
-
const f = () => {
|
|
386
|
-
N(!1), r && r();
|
|
387
|
-
}, d = () => {
|
|
388
|
-
N(!0), a && a(), i && x();
|
|
389
|
-
};
|
|
390
|
-
return {
|
|
391
|
-
onEnter: Z(f, (c == null ? void 0 : c.props.onEnter) ?? ne),
|
|
392
|
-
onExited: Z(d, (c == null ? void 0 : c.props.onExited) ?? ne)
|
|
393
|
-
};
|
|
394
|
-
},
|
|
395
|
-
rootRef: p,
|
|
396
|
-
portalRef: S,
|
|
397
|
-
isTopModal: T,
|
|
398
|
-
exited: M,
|
|
399
|
-
hasTransition: F
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
function Ue(e) {
|
|
403
|
-
return be("MuiModal", e);
|
|
404
|
-
}
|
|
405
|
-
const st = me("MuiModal", ["root", "hidden", "backdrop"]), We = (e) => {
|
|
406
|
-
const {
|
|
407
|
-
open: t,
|
|
408
|
-
exited: s,
|
|
409
|
-
classes: o
|
|
410
|
-
} = e;
|
|
411
|
-
return Te({
|
|
412
|
-
root: ["root", !t && s && "hidden"],
|
|
413
|
-
backdrop: ["backdrop"]
|
|
414
|
-
}, Ue, o);
|
|
415
|
-
}, qe = ie("div", {
|
|
416
|
-
name: "MuiModal",
|
|
417
|
-
slot: "Root",
|
|
418
|
-
overridesResolver: (e, t) => {
|
|
419
|
-
const {
|
|
420
|
-
ownerState: s
|
|
421
|
-
} = e;
|
|
422
|
-
return [t.root, !s.open && s.exited && t.hidden];
|
|
423
|
-
}
|
|
424
|
-
})(he(({
|
|
425
|
-
theme: e
|
|
426
|
-
}) => ({
|
|
427
|
-
position: "fixed",
|
|
428
|
-
zIndex: (e.vars || e).zIndex.modal,
|
|
429
|
-
right: 0,
|
|
430
|
-
bottom: 0,
|
|
431
|
-
top: 0,
|
|
432
|
-
left: 0,
|
|
433
|
-
variants: [{
|
|
434
|
-
props: ({
|
|
435
|
-
ownerState: t
|
|
436
|
-
}) => !t.open && t.exited,
|
|
437
|
-
style: {
|
|
438
|
-
visibility: "hidden"
|
|
439
|
-
}
|
|
440
|
-
}]
|
|
441
|
-
}))), He = ie(ve, {
|
|
442
|
-
name: "MuiModal",
|
|
443
|
-
slot: "Backdrop"
|
|
444
|
-
})({
|
|
445
|
-
zIndex: -1
|
|
446
|
-
}), ze = /* @__PURE__ */ u.forwardRef(function(t, s) {
|
|
447
|
-
const o = Ee({
|
|
448
|
-
name: "MuiModal",
|
|
449
|
-
props: t
|
|
450
|
-
}), {
|
|
451
|
-
BackdropComponent: i = He,
|
|
452
|
-
BackdropProps: r,
|
|
453
|
-
classes: a,
|
|
454
|
-
className: c,
|
|
455
|
-
closeAfterTransition: m = !1,
|
|
456
|
-
children: E,
|
|
457
|
-
container: v,
|
|
458
|
-
component: h,
|
|
459
|
-
components: y = {},
|
|
460
|
-
componentsProps: b = {},
|
|
461
|
-
disableAutoFocus: p = !1,
|
|
462
|
-
disableEnforceFocus: M = !1,
|
|
463
|
-
disableEscapeKeyDown: N = !1,
|
|
464
|
-
disablePortal: F = !1,
|
|
465
|
-
disableRestoreFocus: R = !1,
|
|
466
|
-
disableScrollLock: l = !1,
|
|
467
|
-
hideBackdrop: g = !1,
|
|
468
|
-
keepMounted: k = !1,
|
|
469
|
-
onClose: A,
|
|
470
|
-
onTransitionEnter: T,
|
|
471
|
-
onTransitionExited: S,
|
|
472
|
-
open: x,
|
|
473
|
-
slotProps: w = {},
|
|
474
|
-
slots: D = {},
|
|
475
|
-
// eslint-disable-next-line react/prop-types
|
|
476
|
-
theme: U,
|
|
477
|
-
...L
|
|
478
|
-
} = o, V = {
|
|
479
|
-
...o,
|
|
480
|
-
closeAfterTransition: m,
|
|
481
|
-
disableAutoFocus: p,
|
|
482
|
-
disableEnforceFocus: M,
|
|
483
|
-
disableEscapeKeyDown: N,
|
|
484
|
-
disablePortal: F,
|
|
485
|
-
disableRestoreFocus: R,
|
|
486
|
-
disableScrollLock: l,
|
|
487
|
-
hideBackdrop: g,
|
|
488
|
-
keepMounted: k
|
|
489
|
-
}, {
|
|
490
|
-
getRootProps: f,
|
|
491
|
-
getBackdropProps: d,
|
|
492
|
-
getTransitionProps: P,
|
|
493
|
-
portalRef: ce,
|
|
494
|
-
isTopModal: le,
|
|
495
|
-
exited: _,
|
|
496
|
-
hasTransition: G
|
|
497
|
-
} = Ke({
|
|
498
|
-
...V,
|
|
499
|
-
rootRef: s
|
|
500
|
-
}), B = {
|
|
501
|
-
...V,
|
|
502
|
-
exited: _
|
|
503
|
-
}, I = We(B), W = {};
|
|
504
|
-
if (E.props.tabIndex === void 0 && (W.tabIndex = "-1"), G) {
|
|
505
|
-
const {
|
|
506
|
-
onEnter: C,
|
|
507
|
-
onExited: $
|
|
508
|
-
} = P();
|
|
509
|
-
W.onEnter = C, W.onExited = $;
|
|
510
|
-
}
|
|
511
|
-
const X = {
|
|
512
|
-
slots: {
|
|
513
|
-
root: y.Root,
|
|
514
|
-
backdrop: y.Backdrop,
|
|
515
|
-
...D
|
|
516
|
-
},
|
|
517
|
-
slotProps: {
|
|
518
|
-
...b,
|
|
519
|
-
...w
|
|
520
|
-
}
|
|
521
|
-
}, [ue, de] = ee("root", {
|
|
522
|
-
ref: s,
|
|
523
|
-
elementType: qe,
|
|
524
|
-
externalForwardedProps: {
|
|
525
|
-
...X,
|
|
526
|
-
...L,
|
|
527
|
-
component: h
|
|
528
|
-
},
|
|
529
|
-
getSlotProps: f,
|
|
530
|
-
ownerState: B,
|
|
531
|
-
className: J(c, I == null ? void 0 : I.root, !B.open && B.exited && (I == null ? void 0 : I.hidden))
|
|
532
|
-
}), [fe, pe] = ee("backdrop", {
|
|
533
|
-
ref: r == null ? void 0 : r.ref,
|
|
534
|
-
elementType: i,
|
|
535
|
-
externalForwardedProps: X,
|
|
536
|
-
shouldForwardComponentProp: !0,
|
|
537
|
-
additionalProps: r,
|
|
538
|
-
getSlotProps: (C) => d({
|
|
539
|
-
...C,
|
|
540
|
-
onClick: ($) => {
|
|
541
|
-
C != null && C.onClick && C.onClick($);
|
|
542
|
-
}
|
|
543
|
-
}),
|
|
544
|
-
className: J(r == null ? void 0 : r.className, I == null ? void 0 : I.backdrop),
|
|
545
|
-
ownerState: B
|
|
546
|
-
});
|
|
547
|
-
return !k && !x && (!G || _) ? null : /* @__PURE__ */ j(xe, {
|
|
548
|
-
ref: ce,
|
|
549
|
-
container: v,
|
|
550
|
-
disablePortal: F,
|
|
551
|
-
children: /* @__PURE__ */ se(ue, {
|
|
552
|
-
...de,
|
|
553
|
-
children: [!g && i ? /* @__PURE__ */ j(fe, {
|
|
554
|
-
...pe
|
|
555
|
-
}) : null, /* @__PURE__ */ j(z, {
|
|
556
|
-
disableEnforceFocus: M,
|
|
557
|
-
disableAutoFocus: p,
|
|
558
|
-
disableRestoreFocus: R,
|
|
559
|
-
isEnabled: le,
|
|
560
|
-
open: x,
|
|
561
|
-
children: /* @__PURE__ */ u.cloneElement(E, W)
|
|
562
|
-
})]
|
|
563
|
-
})
|
|
564
|
-
});
|
|
565
|
-
});
|
|
566
|
-
process.env.NODE_ENV !== "production" && (ze.propTypes = {
|
|
567
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
568
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
569
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
570
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
571
|
-
/**
|
|
572
|
-
* A backdrop component. This prop enables custom backdrop rendering.
|
|
573
|
-
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
574
|
-
* Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
|
|
575
|
-
* @default styled(Backdrop, {
|
|
576
|
-
* name: 'MuiModal',
|
|
577
|
-
* slot: 'Backdrop',
|
|
578
|
-
* })({
|
|
579
|
-
* zIndex: -1,
|
|
580
|
-
* })
|
|
581
|
-
*/
|
|
582
|
-
BackdropComponent: n.elementType,
|
|
583
|
-
/**
|
|
584
|
-
* Props applied to the [`Backdrop`](https://mui.com/material-ui/api/backdrop/) element.
|
|
585
|
-
* @deprecated Use `slotProps.backdrop` instead.
|
|
586
|
-
*/
|
|
587
|
-
BackdropProps: n.object,
|
|
588
|
-
/**
|
|
589
|
-
* A single child content element.
|
|
590
|
-
*/
|
|
591
|
-
children: ae.isRequired,
|
|
592
|
-
/**
|
|
593
|
-
* Override or extend the styles applied to the component.
|
|
594
|
-
*/
|
|
595
|
-
classes: n.object,
|
|
596
|
-
/**
|
|
597
|
-
* @ignore
|
|
598
|
-
*/
|
|
599
|
-
className: n.string,
|
|
600
|
-
/**
|
|
601
|
-
* When set to true the Modal waits until a nested Transition is completed before closing.
|
|
602
|
-
* @default false
|
|
603
|
-
*/
|
|
604
|
-
closeAfterTransition: n.bool,
|
|
605
|
-
/**
|
|
606
|
-
* The component used for the root node.
|
|
607
|
-
* Either a string to use a HTML element or a component.
|
|
608
|
-
*/
|
|
609
|
-
component: n.elementType,
|
|
610
|
-
/**
|
|
611
|
-
* The components used for each slot inside.
|
|
612
|
-
*
|
|
613
|
-
* @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
614
|
-
*
|
|
615
|
-
* @default {}
|
|
616
|
-
*/
|
|
617
|
-
components: n.shape({
|
|
618
|
-
Backdrop: n.elementType,
|
|
619
|
-
Root: n.elementType
|
|
620
|
-
}),
|
|
621
|
-
/**
|
|
622
|
-
* The extra props for the slot components.
|
|
623
|
-
* You can override the existing props or add new ones.
|
|
624
|
-
*
|
|
625
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
626
|
-
*
|
|
627
|
-
* @default {}
|
|
628
|
-
*/
|
|
629
|
-
componentsProps: n.shape({
|
|
630
|
-
backdrop: n.oneOfType([n.func, n.object]),
|
|
631
|
-
root: n.oneOfType([n.func, n.object])
|
|
632
|
-
}),
|
|
633
|
-
/**
|
|
634
|
-
* An HTML element or function that returns one.
|
|
635
|
-
* The `container` will have the portal children appended to it.
|
|
636
|
-
*
|
|
637
|
-
* You can also provide a callback, which is called in a React layout effect.
|
|
638
|
-
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
639
|
-
*
|
|
640
|
-
* By default, it uses the body of the top-level document object,
|
|
641
|
-
* so it's simply `document.body` most of the time.
|
|
642
|
-
*/
|
|
643
|
-
container: n.oneOfType([Re, n.func]),
|
|
644
|
-
/**
|
|
645
|
-
* If `true`, the modal will not automatically shift focus to itself when it opens, and
|
|
646
|
-
* replace it to the last focused element when it closes.
|
|
647
|
-
* This also works correctly with any modal children that have the `disableAutoFocus` prop.
|
|
648
|
-
*
|
|
649
|
-
* Generally this should never be set to `true` as it makes the modal less
|
|
650
|
-
* accessible to assistive technologies, like screen readers.
|
|
651
|
-
* @default false
|
|
652
|
-
*/
|
|
653
|
-
disableAutoFocus: n.bool,
|
|
654
|
-
/**
|
|
655
|
-
* If `true`, the modal will not prevent focus from leaving the modal while open.
|
|
656
|
-
*
|
|
657
|
-
* Generally this should never be set to `true` as it makes the modal less
|
|
658
|
-
* accessible to assistive technologies, like screen readers.
|
|
659
|
-
* @default false
|
|
660
|
-
*/
|
|
661
|
-
disableEnforceFocus: n.bool,
|
|
662
|
-
/**
|
|
663
|
-
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
664
|
-
* @default false
|
|
665
|
-
*/
|
|
666
|
-
disableEscapeKeyDown: n.bool,
|
|
667
|
-
/**
|
|
668
|
-
* The `children` will be under the DOM hierarchy of the parent component.
|
|
669
|
-
* @default false
|
|
670
|
-
*/
|
|
671
|
-
disablePortal: n.bool,
|
|
672
|
-
/**
|
|
673
|
-
* If `true`, the modal will not restore focus to previously focused element once
|
|
674
|
-
* modal is hidden or unmounted.
|
|
675
|
-
* @default false
|
|
676
|
-
*/
|
|
677
|
-
disableRestoreFocus: n.bool,
|
|
678
|
-
/**
|
|
679
|
-
* Disable the scroll lock behavior.
|
|
680
|
-
* @default false
|
|
681
|
-
*/
|
|
682
|
-
disableScrollLock: n.bool,
|
|
683
|
-
/**
|
|
684
|
-
* If `true`, the backdrop is not rendered.
|
|
685
|
-
* @default false
|
|
686
|
-
*/
|
|
687
|
-
hideBackdrop: n.bool,
|
|
688
|
-
/**
|
|
689
|
-
* Always keep the children in the DOM.
|
|
690
|
-
* This prop can be useful in SEO situation or
|
|
691
|
-
* when you want to maximize the responsiveness of the Modal.
|
|
692
|
-
* @default false
|
|
693
|
-
*/
|
|
694
|
-
keepMounted: n.bool,
|
|
695
|
-
/**
|
|
696
|
-
* Callback fired when the component requests to be closed.
|
|
697
|
-
* The `reason` parameter can optionally be used to control the response to `onClose`.
|
|
698
|
-
*
|
|
699
|
-
* @param {object} event The event source of the callback.
|
|
700
|
-
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
701
|
-
*/
|
|
702
|
-
onClose: n.func,
|
|
703
|
-
/**
|
|
704
|
-
* A function called when a transition enters.
|
|
705
|
-
*/
|
|
706
|
-
onTransitionEnter: n.func,
|
|
707
|
-
/**
|
|
708
|
-
* A function called when a transition has exited.
|
|
709
|
-
*/
|
|
710
|
-
onTransitionExited: n.func,
|
|
711
|
-
/**
|
|
712
|
-
* If `true`, the component is shown.
|
|
713
|
-
*/
|
|
714
|
-
open: n.bool.isRequired,
|
|
715
|
-
/**
|
|
716
|
-
* The props used for each slot inside the Modal.
|
|
717
|
-
* @default {}
|
|
718
|
-
*/
|
|
719
|
-
slotProps: n.shape({
|
|
720
|
-
backdrop: n.oneOfType([n.func, n.object]),
|
|
721
|
-
root: n.oneOfType([n.func, n.object])
|
|
722
|
-
}),
|
|
723
|
-
/**
|
|
724
|
-
* The components used for each slot inside the Modal.
|
|
725
|
-
* Either a string to use a HTML element or a component.
|
|
726
|
-
* @default {}
|
|
727
|
-
*/
|
|
728
|
-
slots: n.shape({
|
|
729
|
-
backdrop: n.elementType,
|
|
730
|
-
root: n.elementType
|
|
731
|
-
}),
|
|
732
|
-
/**
|
|
733
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
734
|
-
*/
|
|
735
|
-
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
|
|
736
|
-
});
|
|
737
|
-
export {
|
|
738
|
-
z as F,
|
|
739
|
-
ze as M,
|
|
740
|
-
Ce as a,
|
|
741
|
-
ke as b,
|
|
742
|
-
Ue as g,
|
|
743
|
-
st as m
|
|
744
|
-
};
|