@cgi-learning-hub/ui 1.5.1-dev.1744637282 → 1.5.1-dev.1744643558
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/Alert-5zQ9TB22.cjs +1 -0
- package/dist/{Alert-BfMYnyZX.js → Alert-D5C84Q-b.js} +27 -28
- package/dist/ArrowDropDown-Dt89EMyB.cjs +1 -0
- package/dist/ArrowDropDown-DvAbGzWJ.js +37 -0
- package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BjXP0c_4.js} +704 -665
- package/dist/Autocomplete-C6uWQlAq.cjs +6 -0
- package/dist/Backdrop-9ZMM04UV.cjs +1 -0
- package/dist/{Backdrop-B200pms1.js → Backdrop-CFkYB15z.js} +21 -20
- package/dist/Box-Bl24J58B.cjs +1 -0
- package/dist/{Box-D3Pi13ta.js → Box-CXvmZ2dD.js} +12 -12
- package/dist/Button-CZTPCtLu.cjs +1 -0
- package/dist/{Button-D1aKdjIh.js → Button-Dhxe4eYH.js} +114 -148
- package/dist/{ButtonBase-CBFRgTBs.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
- package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-uylSwkXQ.js} +24 -24
- package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
- package/dist/{CardContent-DyggcxBG.js → CardContent-uV5Z3O4p.js} +5 -5
- package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
- package/dist/{Checkbox-DkrWUPYT.js → Checkbox-hXnta6hd.js} +95 -68
- package/dist/Chip-BJSNxQBQ.cjs +1 -0
- package/dist/{Chip-Y39z3DS6.js → Chip-klg9LPzp.js} +53 -54
- package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DcEnE5le.js} +28 -29
- package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
- package/dist/{Close-DJDhRwj2.cjs → Close-Czm0dlR9.cjs} +1 -1
- package/dist/{Close-hx7dlgmZ.js → Close-KuFfPteA.js} +1 -1
- package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
- package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-D9nattPL.js} +1 -1
- package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-BITNDbQ_.js} +209 -216
- package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
- package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-D1YD4uGk.js} +995 -1002
- package/dist/DatePicker-PBy3aYBw.cjs +13 -0
- package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-CojEWOKR.js} +55 -55
- package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
- package/dist/{Delete-Cfk3fOW-.js → Delete-B4Xhz7O1.js} +1 -1
- package/dist/{Delete-DDxv1h6V.cjs → Delete-C0hR-twe.cjs} +1 -1
- package/dist/Dialog-BC20prgn.cjs +1 -0
- package/dist/{Dialog-Ccvug1yq.js → Dialog-Dk2BQsgk.js} +162 -169
- package/dist/{DialogContent-CIMpKm-U.js → DialogContent-C0BzN5yk.js} +3 -3
- package/dist/DialogContent-DqdeAbSs.cjs +1 -0
- package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-7MyBxAkp.js} +7 -7
- package/dist/DialogTitle-DwOXEToV.cjs +1 -0
- package/dist/{Divider-C2cBikSL.js → Divider-BC2Fp1JG.js} +8 -8
- package/dist/Divider-I7KOokm8.cjs +1 -0
- package/dist/{Folder-Bnoqtzc6.js → Folder-DYF788Ow.js} +1 -1
- package/dist/{Folder-DEtB13yM.cjs → Folder-ExV_xCn6.cjs} +1 -1
- package/dist/{FormLabel-EkpI8MQr.js → FormLabel-Dx6hkLPd.js} +24 -25
- package/dist/FormLabel-xZr5oZgx.cjs +2 -0
- package/dist/{Grow-B_clfUP9.js → Grow-C654F4zC.js} +6 -5
- package/dist/Grow-DPejKxV0.cjs +1 -0
- package/dist/{IconButton-D1mhTuaI.js → IconButton-BmspylGQ.js} +26 -27
- package/dist/IconButton-C1I_233O.cjs +2 -0
- package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-BrH8kQg8.js} +10 -11
- package/dist/InputAdornment-_UPzajRP.cjs +1 -0
- package/dist/{InputBase-BQnEIwl1.js → InputBase-B3APXSc_.js} +278 -277
- package/dist/InputBase-CELFJljc.cjs +3 -0
- package/dist/Link-BQrFDQ-K.cjs +1 -0
- package/dist/{Link-8ltXgZj7.js → Link-D3HS1nTr.js} +15 -16
- package/dist/List-Bii833np.cjs +1 -0
- package/dist/{List-DJsqHOqv.js → List-vQ97f0T4.js} +2 -2
- package/dist/ListItem-BtjE87R1.cjs +1 -0
- package/dist/{ListItem-BspNcHM_.js → ListItem-kT8cZ-t_.js} +17 -17
- package/dist/ListItemText-DaUQA10v.js +845 -0
- package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
- package/dist/Menu-BGO4rdUL.cjs +7 -0
- package/dist/{Menu-DPhreDcS.js → Menu-bXn70x2T.js} +405 -335
- package/dist/{MenuItem-Fb7iU47J.js → MenuItem-88KizCxg.js} +14 -14
- package/dist/MenuItem-De2MJkYT.cjs +1 -0
- package/dist/{Modal-dmMiGSAp.js → Modal-BGSxrh8O.js} +240 -245
- package/dist/Modal-CPt1nneG.cjs +2 -0
- package/dist/{MoreVert-BCGFGn8f.js → MoreVert-BLY3HCz9.js} +1 -1
- package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
- package/dist/Paper-CKG165jt.cjs +2 -0
- package/dist/{Paper-CEDxpHWv.js → Paper-D1MPGEsw.js} +9 -9
- package/dist/Popper-C6iJjm-m.cjs +4 -0
- package/dist/{Popper-D5_YIJX6.js → Popper-DbqO1kUk.js} +10 -10
- package/dist/Portal-C2eqRUQp.js +85 -0
- package/dist/Portal-Dm9aDz8_.cjs +1 -0
- package/dist/Radio-BEfQuau1.cjs +1 -0
- package/dist/{Radio-B4sx0387.js → Radio-BlcCOkYY.js} +226 -183
- package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-C1L3hzrF.js} +20 -20
- package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
- package/dist/Select-BTL6ppWW.cjs +3 -0
- package/dist/{Select-CxnCi-3l.js → Select-CWv7tdJU.js} +321 -349
- package/dist/{Stack-CzKIgmIE.js → Stack-Bkppffhe.js} +60 -104
- package/dist/Stack-DpH56CPw.cjs +1 -0
- package/dist/Switch-BIGFww3p.cjs +1 -0
- package/dist/{Switch-D3KweZGQ.js → Switch-CbNrfyJP.js} +167 -108
- package/dist/SwitchBase-BkcX4xzb.js +314 -0
- package/dist/SwitchBase-DA079uiU.cjs +1 -0
- package/dist/Tab-BsIC620i.cjs +4 -0
- package/dist/{Tab-C1r8JXwz.js → Tab-CeMAH2vi.js} +597 -537
- package/dist/{TextField-D-_WjPAW.js → TextField-ChDtIm6f.js} +133 -124
- package/dist/TextField-SGIs7v2v.cjs +1 -0
- package/dist/{ToggleButtonGroup-gxIqbo6a.js → ToggleButtonGroup-B8hGStTV.js} +1956 -1784
- package/dist/ToggleButtonGroup-C64DhY80.cjs +138 -0
- package/dist/{Tooltip-D0bof-68.js → Tooltip-DDiPhklW.js} +37 -37
- package/dist/Tooltip-DcBB_9cg.cjs +4 -0
- package/dist/{Typography-DBJqhIhB.js → Typography-BceX4HUn.js} +13 -14
- package/dist/Typography-DOpE-TJz.cjs +1 -0
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.es.js +3 -3
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.cjs.js +1 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +11 -0
- package/dist/components/Autocomplete/Autocomplete.es.js +52 -0
- package/dist/components/Autocomplete/index.cjs.js +1 -0
- package/dist/components/Autocomplete/index.d.ts +2 -0
- package/dist/components/Autocomplete/index.es.js +4 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +2 -2
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +3 -3
- package/dist/components/FileList/FileIcon.cjs.js +1 -1
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +4 -4
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
- package/dist/components/FolderCard/FolderCard.es.js +2 -2
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
- package/dist/components/ResourceCard/style.cjs.js +1 -1
- package/dist/components/ResourceCard/style.es.js +25 -25
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TreeView/TreeView.cjs.js +4 -4
- package/dist/components/TreeView/TreeView.es.js +14 -13
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- package/dist/components/TreeView/utils.cjs.js +1 -1
- package/dist/components/TreeView/utils.es.js +3 -3
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +310 -311
- package/dist/components/stories/Alert.stories.cjs.js +1 -1
- package/dist/components/stories/Alert.stories.es.js +1 -1
- package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
- package/dist/components/stories/Autocomplete.stories.es.js +2 -2
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +2 -2
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/Chip.stories.cjs.js +1 -1
- package/dist/components/stories/Chip.stories.es.js +1 -1
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +2 -2
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +3 -3
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +1 -1
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/TreeView.stories.cjs.js +3 -3
- package/dist/components/stories/TreeView.stories.es.js +29 -29
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
- package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-Q_5wEReh.js} +54 -55
- package/dist/dividerClasses-B_bu1fey.cjs +1 -0
- package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-CG6GpKdW.js} +1 -1
- package/dist/elementAcceptingRef-BzA19fXF.cjs +1 -0
- package/dist/elementAcceptingRef-De-6sh1C.js +25 -0
- package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DAXsN6bV.js} +1 -1
- package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
- package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BNvofXln.js} +1 -1
- package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
- package/dist/getReactElementRef-B4Mdq17D.js +8 -0
- package/dist/getReactElementRef-BPy0WStw.cjs +1 -0
- package/dist/{generateUtilityClasses-BpRGbQmY.js → identifier-UGP6vjyr.js} +811 -845
- package/dist/identifier-gJdGmHeC.cjs +74 -0
- package/dist/{index-CDLJvERp.js → index-BEwCnUM5.js} +2 -2
- package/dist/index-Cfd-LNZn.cjs +1 -0
- package/dist/index-D14TzUgK.cjs +1 -0
- package/dist/{index-CoYVLWJY.js → index-DF_6gEtu.js} +4 -4
- package/dist/index-Dmu1HrwE.cjs +5 -0
- package/dist/{index-JOgYmUF8.js → index-Q0xeFkEM.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +310 -311
- package/dist/inputBaseClasses-BMcreG7U.cjs +1 -0
- package/dist/inputBaseClasses-BPb0JVKx.js +9 -0
- package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-Ceqh8Tnn.js} +1 -1
- package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
- package/dist/{memoTheme-44McxcVZ.js → memoTheme-D0vyNKLd.js} +1 -1
- package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
- package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
- package/dist/mergeSlotProps-D_CzNhXE.js +62 -0
- package/dist/refType-53jD7LEO.cjs +1 -0
- package/dist/{refType-DsRJ5_Sj.js → refType-BjXePEDa.js} +1 -1
- package/dist/styled-C7OKoThH.cjs +1 -0
- package/dist/styled-blmInu6U.js +5 -0
- package/dist/useEventCallback-BxpcFap0.cjs +1 -0
- package/dist/useEventCallback-Yoj9nCug.js +15 -0
- package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
- package/dist/useForkRef-u29GSuCu.js +27 -0
- package/dist/useSlot-CxlUbTmA.js +125 -0
- package/dist/useSlot-zJFQDOgm.cjs +1 -0
- package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
- package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-DspaNRnE.js} +2 -2
- package/dist/useTheme-9UmqLsq5.js +11 -0
- package/dist/useTheme-BJZcQSBU.cjs +1 -0
- package/dist/{useTheme-C2OE_AnH.js → useTheme-CXUszJGf.js} +1 -1
- package/dist/useTheme-NQRIebh0.cjs +1 -0
- package/dist/useThemeProps-B4kO75RK.js +17 -0
- package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-DGawbBM3.js} +4 -4
- package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
- package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
- package/dist/utils-B2EQZFZP.cjs +1 -0
- package/dist/{utils-DFLaK7Ad.js → utils-CByxilR5.js} +1 -1
- package/dist/warning-C8W811fV.js +11 -0
- package/dist/warning-DMUNDgRg.cjs +2 -0
- package/package.json +10 -10
- package/dist/Alert-Dg5u5Z7d.cjs +0 -1
- package/dist/Autocomplete-3xshJ4m_.cjs +0 -6
- package/dist/Backdrop-BrTs3LxC.cjs +0 -1
- package/dist/Box-CFuWIdLg.cjs +0 -1
- package/dist/Button-C7tsSPXV.cjs +0 -1
- package/dist/CardContent-BRUkl8hU.cjs +0 -1
- package/dist/Checkbox-C_wSNEHD.cjs +0 -1
- package/dist/Chip-DUeBMcO4.cjs +0 -1
- package/dist/CircularProgress-DdHpo4Bf.cjs +0 -28
- package/dist/CustomTreeItem-9kBuTFO8.cjs +0 -4
- package/dist/DatePicker-BYPJypQT.cjs +0 -14
- package/dist/DefaultPropsProvider-B6DqRWnX.cjs +0 -1
- package/dist/Dialog-DOXpPT7S.cjs +0 -1
- package/dist/DialogContent-BoIE95Tg.cjs +0 -1
- package/dist/DialogTitle-B_am69Lr.cjs +0 -1
- package/dist/Divider-Nyl7rx-c.cjs +0 -1
- package/dist/FormLabel-D4O160ND.cjs +0 -2
- package/dist/Grow-DKA2Mfhu.cjs +0 -1
- package/dist/IconButton-CGfKAsNI.cjs +0 -2
- package/dist/InputAdornment-BOcB8UIi.cjs +0 -1
- package/dist/InputBase-BIf-xtMJ.cjs +0 -3
- package/dist/Link-CS0qbKjo.cjs +0 -1
- package/dist/List-T5dKKWkc.cjs +0 -1
- package/dist/ListItem-BN7OXyEP.cjs +0 -1
- package/dist/ListItemText-6gXRtF3r.cjs +0 -1
- package/dist/ListItemText-afV0BrJL.js +0 -928
- package/dist/Menu-D6dHPVP_.cjs +0 -7
- package/dist/MenuItem-DOVsV_vI.cjs +0 -1
- package/dist/Modal-B8xPmNJd.cjs +0 -2
- package/dist/Paper-owda8LtM.cjs +0 -2
- package/dist/Popper-DMGJYlm7.cjs +0 -4
- package/dist/Portal-BKVc0iys.js +0 -81
- package/dist/Portal-CgaP8O8B.cjs +0 -1
- package/dist/Radio-OUfsD89D.cjs +0 -1
- package/dist/RadioGroup-Cr_IFflA.cjs +0 -1
- package/dist/Select-CUlunaOr.cjs +0 -3
- package/dist/Stack-D5_1ZBcn.cjs +0 -1
- package/dist/Switch-DpdnFebj.cjs +0 -1
- package/dist/SwitchBase-BsP35Aas.js +0 -262
- package/dist/SwitchBase-DMGf52a3.cjs +0 -1
- package/dist/Tab-DZvAf79O.cjs +0 -4
- package/dist/TextField-C0KpyS6X.cjs +0 -1
- package/dist/ToggleButtonGroup-UNGSwlQe.cjs +0 -137
- package/dist/Tooltip-BljbhP1z.cjs +0 -4
- package/dist/Typography-yvyJLNFu.cjs +0 -1
- package/dist/capitalize-CToVceBw.cjs +0 -1
- package/dist/capitalize-DSG2FA7x.js +0 -9
- package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
- package/dist/dividerClasses-BtzbOVqV.cjs +0 -1
- package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
- package/dist/extendSxProp-BKP1AeGz.cjs +0 -1
- package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
- package/dist/getReactElementRef-CD3_Stk5.js +0 -31
- package/dist/getReactElementRef-yvpNgSpm.cjs +0 -1
- package/dist/index-Bt7ukCXi.cjs +0 -5
- package/dist/index-DCpyECL4.cjs +0 -1
- package/dist/index-baZm35zL.cjs +0 -1
- package/dist/listItemTextClasses-DePeZNtZ.cjs +0 -1
- package/dist/refType-DDdajp2p.cjs +0 -1
- package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
- package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
- package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useEventCallback-BAQJJ3ye.js +0 -14
- package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
- package/dist/useForkRef-CTI33h-3.cjs +0 -1
- package/dist/useForkRef-C_4o__cU.js +0 -15
- package/dist/useSlot-CSTfsYPJ.cjs +0 -1
- package/dist/useSlot-CYOxsM2I.js +0 -48
- package/dist/useSlotProps-DTgWZk99.cjs +0 -1
- package/dist/useTheme-BDL2rp7a.js +0 -11
- package/dist/useTheme-CCi6a5Vl.cjs +0 -1
- package/dist/useTheme-DpMakc_Y.cjs +0 -1
- package/dist/useThemeProps-BnN3o4c1.cjs +0 -1
- package/dist/useThemeProps-DjkGUV8r.js +0 -17
- package/dist/utils-Cn6wZNus.cjs +0 -1
|
@@ -1,57 +1,56 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
|
-
import { G as
|
|
3
|
-
import { u as
|
|
2
|
+
import { F as se, G as ie, H as k, K as n, P as e } from "./identifier-UGP6vjyr.js";
|
|
3
|
+
import { u as pe } from "./useTheme-9UmqLsq5.js";
|
|
4
4
|
import { jsx as i } from "react/jsx-runtime";
|
|
5
|
-
import { u as
|
|
6
|
-
import { m as
|
|
7
|
-
import { u as p } from "./useSlot-
|
|
8
|
-
import { P as
|
|
9
|
-
import { F as
|
|
10
|
-
import { u as
|
|
11
|
-
import {
|
|
12
|
-
import { M as ho } from "./Modal-dmMiGSAp.js";
|
|
5
|
+
import { u as ce, s as m, c as de } from "./DefaultPropsProvider-CojEWOKR.js";
|
|
6
|
+
import { m as ue } from "./memoTheme-D0vyNKLd.js";
|
|
7
|
+
import { u as p } from "./useSlot-CxlUbTmA.js";
|
|
8
|
+
import { P as w } from "./Paper-D1MPGEsw.js";
|
|
9
|
+
import { F as W, B as me } from "./Backdrop-CFkYB15z.js";
|
|
10
|
+
import { u as be } from "./useId-CK6Kn3Tn.js";
|
|
11
|
+
import { M as fe } from "./Modal-BGSxrh8O.js";
|
|
13
12
|
const O = /* @__PURE__ */ u.createContext({});
|
|
14
13
|
process.env.NODE_ENV !== "production" && (O.displayName = "DialogContext");
|
|
15
|
-
function
|
|
16
|
-
return
|
|
14
|
+
function ye(r) {
|
|
15
|
+
return ie("MuiDialog", r);
|
|
17
16
|
}
|
|
18
|
-
const P =
|
|
17
|
+
const P = se("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), he = m(me, {
|
|
19
18
|
name: "MuiDialog",
|
|
20
19
|
slot: "Backdrop",
|
|
21
|
-
overrides: (r,
|
|
20
|
+
overrides: (r, o) => o.backdrop
|
|
22
21
|
})({
|
|
23
22
|
// Improve scrollable dialog support.
|
|
24
23
|
zIndex: -1
|
|
25
|
-
}),
|
|
24
|
+
}), ge = (r) => {
|
|
26
25
|
const {
|
|
27
|
-
classes:
|
|
26
|
+
classes: o,
|
|
28
27
|
scroll: a,
|
|
29
28
|
maxWidth: c,
|
|
30
29
|
fullWidth: d,
|
|
31
30
|
fullScreen: b
|
|
32
31
|
} = r, f = {
|
|
33
32
|
root: ["root"],
|
|
34
|
-
container: ["container", `scroll${
|
|
35
|
-
paper: ["paper", `paperScroll${
|
|
33
|
+
container: ["container", `scroll${n(a)}`],
|
|
34
|
+
paper: ["paper", `paperScroll${n(a)}`, `paperWidth${n(String(c))}`, d && "paperFullWidth", b && "paperFullScreen"]
|
|
36
35
|
};
|
|
37
|
-
return
|
|
38
|
-
},
|
|
36
|
+
return de(f, ye, o);
|
|
37
|
+
}, xe = m(fe, {
|
|
39
38
|
name: "MuiDialog",
|
|
40
39
|
slot: "Root",
|
|
41
|
-
overridesResolver: (r,
|
|
40
|
+
overridesResolver: (r, o) => o.root
|
|
42
41
|
})({
|
|
43
42
|
"@media print": {
|
|
44
43
|
// Use !important to override the Modal inline-style.
|
|
45
44
|
position: "absolute !important"
|
|
46
45
|
}
|
|
47
|
-
}),
|
|
46
|
+
}), ke = m("div", {
|
|
48
47
|
name: "MuiDialog",
|
|
49
48
|
slot: "Container",
|
|
50
|
-
overridesResolver: (r,
|
|
49
|
+
overridesResolver: (r, o) => {
|
|
51
50
|
const {
|
|
52
51
|
ownerState: a
|
|
53
52
|
} = r;
|
|
54
|
-
return [
|
|
53
|
+
return [o.container, o[`scroll${n(a.scroll)}`]];
|
|
55
54
|
}
|
|
56
55
|
})({
|
|
57
56
|
height: "100%",
|
|
@@ -86,16 +85,16 @@ const P = io("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "pa
|
|
|
86
85
|
}
|
|
87
86
|
}
|
|
88
87
|
}]
|
|
89
|
-
}),
|
|
88
|
+
}), Pe = m(w, {
|
|
90
89
|
name: "MuiDialog",
|
|
91
90
|
slot: "Paper",
|
|
92
|
-
overridesResolver: (r,
|
|
91
|
+
overridesResolver: (r, o) => {
|
|
93
92
|
const {
|
|
94
93
|
ownerState: a
|
|
95
94
|
} = r;
|
|
96
|
-
return [
|
|
95
|
+
return [o.paper, o[`scrollPaper${n(a.scroll)}`], o[`paperWidth${n(String(a.maxWidth))}`], a.fullWidth && o.paperFullWidth, a.fullScreen && o.paperFullScreen];
|
|
97
96
|
}
|
|
98
|
-
})(
|
|
97
|
+
})(ue(({
|
|
99
98
|
theme: r
|
|
100
99
|
}) => ({
|
|
101
100
|
margin: 32,
|
|
@@ -125,8 +124,8 @@ const P = io("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "pa
|
|
|
125
124
|
}
|
|
126
125
|
}, {
|
|
127
126
|
props: ({
|
|
128
|
-
ownerState:
|
|
129
|
-
}) => !
|
|
127
|
+
ownerState: o
|
|
128
|
+
}) => !o.maxWidth,
|
|
130
129
|
style: {
|
|
131
130
|
maxWidth: "calc(100% - 64px)"
|
|
132
131
|
}
|
|
@@ -142,29 +141,29 @@ const P = io("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "pa
|
|
|
142
141
|
}
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
|
-
}, ...Object.keys(r.breakpoints.values).filter((
|
|
144
|
+
}, ...Object.keys(r.breakpoints.values).filter((o) => o !== "xs").map((o) => ({
|
|
146
145
|
props: {
|
|
147
|
-
maxWidth:
|
|
146
|
+
maxWidth: o
|
|
148
147
|
},
|
|
149
148
|
style: {
|
|
150
|
-
maxWidth: `${r.breakpoints.values[
|
|
149
|
+
maxWidth: `${r.breakpoints.values[o]}${r.breakpoints.unit}`,
|
|
151
150
|
[`&.${P.paperScrollBody}`]: {
|
|
152
|
-
[r.breakpoints.down(r.breakpoints.values[
|
|
151
|
+
[r.breakpoints.down(r.breakpoints.values[o] + 32 * 2)]: {
|
|
153
152
|
maxWidth: "calc(100% - 64px)"
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
}
|
|
157
156
|
})), {
|
|
158
157
|
props: ({
|
|
159
|
-
ownerState:
|
|
160
|
-
}) =>
|
|
158
|
+
ownerState: o
|
|
159
|
+
}) => o.fullWidth,
|
|
161
160
|
style: {
|
|
162
161
|
width: "calc(100% - 64px)"
|
|
163
162
|
}
|
|
164
163
|
}, {
|
|
165
164
|
props: ({
|
|
166
|
-
ownerState:
|
|
167
|
-
}) =>
|
|
165
|
+
ownerState: o
|
|
166
|
+
}) => o.fullScreen,
|
|
168
167
|
style: {
|
|
169
168
|
margin: 0,
|
|
170
169
|
width: "100%",
|
|
@@ -178,137 +177,136 @@ const P = io("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "pa
|
|
|
178
177
|
}
|
|
179
178
|
}
|
|
180
179
|
}]
|
|
181
|
-
}))),
|
|
182
|
-
const c =
|
|
183
|
-
props:
|
|
180
|
+
}))), Se = /* @__PURE__ */ u.forwardRef(function(o, a) {
|
|
181
|
+
const c = ce({
|
|
182
|
+
props: o,
|
|
184
183
|
name: "MuiDialog"
|
|
185
|
-
}), d =
|
|
184
|
+
}), d = pe(), b = {
|
|
186
185
|
enter: d.transitions.duration.enteringScreen,
|
|
187
186
|
exit: d.transitions.duration.leavingScreen
|
|
188
187
|
}, {
|
|
189
188
|
"aria-describedby": f,
|
|
190
189
|
"aria-labelledby": M,
|
|
191
|
-
"aria-modal":
|
|
192
|
-
BackdropComponent:
|
|
193
|
-
BackdropProps:
|
|
194
|
-
children:
|
|
195
|
-
className:
|
|
196
|
-
disableEscapeKeyDown:
|
|
197
|
-
fullScreen:
|
|
198
|
-
fullWidth:
|
|
199
|
-
maxWidth:
|
|
200
|
-
onBackdropClick: S,
|
|
190
|
+
"aria-modal": B = !0,
|
|
191
|
+
BackdropComponent: j,
|
|
192
|
+
BackdropProps: F,
|
|
193
|
+
children: $,
|
|
194
|
+
className: N,
|
|
195
|
+
disableEscapeKeyDown: S = !1,
|
|
196
|
+
fullScreen: R = !1,
|
|
197
|
+
fullWidth: E = !1,
|
|
198
|
+
maxWidth: A = "sm",
|
|
201
199
|
onClick: T,
|
|
202
200
|
onClose: y,
|
|
203
|
-
open:
|
|
204
|
-
PaperComponent:
|
|
205
|
-
PaperProps:
|
|
206
|
-
scroll:
|
|
207
|
-
slots:
|
|
208
|
-
slotProps:
|
|
209
|
-
TransitionComponent:
|
|
210
|
-
transitionDuration:
|
|
211
|
-
TransitionProps:
|
|
212
|
-
...
|
|
201
|
+
open: C,
|
|
202
|
+
PaperComponent: I = w,
|
|
203
|
+
PaperProps: D = {},
|
|
204
|
+
scroll: K = "paper",
|
|
205
|
+
slots: U = {},
|
|
206
|
+
slotProps: H = {},
|
|
207
|
+
TransitionComponent: L = W,
|
|
208
|
+
transitionDuration: v = b,
|
|
209
|
+
TransitionProps: V,
|
|
210
|
+
...X
|
|
213
211
|
} = c, t = {
|
|
214
212
|
...c,
|
|
215
|
-
disableEscapeKeyDown:
|
|
216
|
-
fullScreen:
|
|
217
|
-
fullWidth:
|
|
218
|
-
maxWidth:
|
|
219
|
-
scroll:
|
|
220
|
-
}, h =
|
|
221
|
-
g.current =
|
|
222
|
-
},
|
|
223
|
-
T && T(
|
|
224
|
-
}, x =
|
|
213
|
+
disableEscapeKeyDown: S,
|
|
214
|
+
fullScreen: R,
|
|
215
|
+
fullWidth: E,
|
|
216
|
+
maxWidth: A,
|
|
217
|
+
scroll: K
|
|
218
|
+
}, h = ge(t), g = u.useRef(), Y = (s) => {
|
|
219
|
+
g.current = s.target === s.currentTarget;
|
|
220
|
+
}, z = (s) => {
|
|
221
|
+
T && T(s), g.current && (g.current = null, y && y(s, "backdropClick"));
|
|
222
|
+
}, x = be(M), _ = u.useMemo(() => ({
|
|
225
223
|
titleId: x
|
|
226
|
-
}), [x]),
|
|
224
|
+
}), [x]), q = {
|
|
225
|
+
transition: L,
|
|
226
|
+
...U
|
|
227
|
+
}, G = {
|
|
227
228
|
transition: V,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
},
|
|
235
|
-
|
|
236
|
-
slotProps: J
|
|
237
|
-
}, [Q, Z] = p("root", {
|
|
238
|
-
elementType: Po,
|
|
229
|
+
paper: D,
|
|
230
|
+
backdrop: F,
|
|
231
|
+
...H
|
|
232
|
+
}, l = {
|
|
233
|
+
slots: q,
|
|
234
|
+
slotProps: G
|
|
235
|
+
}, [J, Q] = p("root", {
|
|
236
|
+
elementType: xe,
|
|
239
237
|
shouldForwardComponentProp: !0,
|
|
240
|
-
externalForwardedProps:
|
|
238
|
+
externalForwardedProps: l,
|
|
241
239
|
ownerState: t,
|
|
242
|
-
className: k(h.root,
|
|
240
|
+
className: k(h.root, N),
|
|
243
241
|
ref: a
|
|
244
|
-
}), [
|
|
245
|
-
elementType:
|
|
242
|
+
}), [Z, ee] = p("backdrop", {
|
|
243
|
+
elementType: he,
|
|
246
244
|
shouldForwardComponentProp: !0,
|
|
247
|
-
externalForwardedProps:
|
|
245
|
+
externalForwardedProps: l,
|
|
248
246
|
ownerState: t
|
|
249
|
-
}), [
|
|
250
|
-
elementType:
|
|
247
|
+
}), [oe, re] = p("paper", {
|
|
248
|
+
elementType: Pe,
|
|
251
249
|
shouldForwardComponentProp: !0,
|
|
252
|
-
externalForwardedProps:
|
|
250
|
+
externalForwardedProps: l,
|
|
253
251
|
ownerState: t,
|
|
254
|
-
className: k(h.paper,
|
|
255
|
-
}), [
|
|
256
|
-
elementType:
|
|
257
|
-
externalForwardedProps:
|
|
252
|
+
className: k(h.paper, D.className)
|
|
253
|
+
}), [ae, te] = p("container", {
|
|
254
|
+
elementType: ke,
|
|
255
|
+
externalForwardedProps: l,
|
|
258
256
|
ownerState: t,
|
|
259
257
|
className: k(h.container)
|
|
260
|
-
}), [
|
|
261
|
-
elementType:
|
|
262
|
-
externalForwardedProps:
|
|
258
|
+
}), [ne, le] = p("transition", {
|
|
259
|
+
elementType: W,
|
|
260
|
+
externalForwardedProps: l,
|
|
263
261
|
ownerState: t,
|
|
264
262
|
additionalProps: {
|
|
265
263
|
appear: !0,
|
|
266
|
-
in:
|
|
267
|
-
timeout:
|
|
264
|
+
in: C,
|
|
265
|
+
timeout: v,
|
|
268
266
|
role: "presentation"
|
|
269
267
|
}
|
|
270
268
|
});
|
|
271
|
-
return /* @__PURE__ */ i(
|
|
269
|
+
return /* @__PURE__ */ i(J, {
|
|
272
270
|
closeAfterTransition: !0,
|
|
273
271
|
slots: {
|
|
274
|
-
backdrop:
|
|
272
|
+
backdrop: Z
|
|
275
273
|
},
|
|
276
274
|
slotProps: {
|
|
277
275
|
backdrop: {
|
|
278
|
-
transitionDuration:
|
|
279
|
-
as:
|
|
280
|
-
...
|
|
276
|
+
transitionDuration: v,
|
|
277
|
+
as: j,
|
|
278
|
+
...ee
|
|
281
279
|
}
|
|
282
280
|
},
|
|
283
|
-
disableEscapeKeyDown:
|
|
281
|
+
disableEscapeKeyDown: S,
|
|
284
282
|
onClose: y,
|
|
285
|
-
open:
|
|
286
|
-
onClick:
|
|
287
|
-
...
|
|
288
|
-
...
|
|
289
|
-
children: /* @__PURE__ */ i(
|
|
290
|
-
...
|
|
291
|
-
children: /* @__PURE__ */ i(
|
|
292
|
-
onMouseDown:
|
|
293
|
-
...
|
|
294
|
-
children: /* @__PURE__ */ i(
|
|
295
|
-
as:
|
|
283
|
+
open: C,
|
|
284
|
+
onClick: z,
|
|
285
|
+
...Q,
|
|
286
|
+
...X,
|
|
287
|
+
children: /* @__PURE__ */ i(ne, {
|
|
288
|
+
...le,
|
|
289
|
+
children: /* @__PURE__ */ i(ae, {
|
|
290
|
+
onMouseDown: Y,
|
|
291
|
+
...te,
|
|
292
|
+
children: /* @__PURE__ */ i(oe, {
|
|
293
|
+
as: I,
|
|
296
294
|
elevation: 24,
|
|
297
295
|
role: "dialog",
|
|
298
296
|
"aria-describedby": f,
|
|
299
297
|
"aria-labelledby": x,
|
|
300
|
-
"aria-modal":
|
|
301
|
-
...
|
|
298
|
+
"aria-modal": B,
|
|
299
|
+
...re,
|
|
302
300
|
children: /* @__PURE__ */ i(O.Provider, {
|
|
303
|
-
value:
|
|
304
|
-
children:
|
|
301
|
+
value: _,
|
|
302
|
+
children: $
|
|
305
303
|
})
|
|
306
304
|
})
|
|
307
305
|
})
|
|
308
306
|
})
|
|
309
307
|
});
|
|
310
308
|
});
|
|
311
|
-
process.env.NODE_ENV !== "production" && (
|
|
309
|
+
process.env.NODE_ENV !== "production" && (Se.propTypes = {
|
|
312
310
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
313
311
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
314
312
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -316,17 +314,17 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
|
316
314
|
/**
|
|
317
315
|
* The id(s) of the element(s) that describe the dialog.
|
|
318
316
|
*/
|
|
319
|
-
"aria-describedby":
|
|
317
|
+
"aria-describedby": e.string,
|
|
320
318
|
/**
|
|
321
319
|
* The id(s) of the element(s) that label the dialog.
|
|
322
320
|
*/
|
|
323
|
-
"aria-labelledby":
|
|
321
|
+
"aria-labelledby": e.string,
|
|
324
322
|
/**
|
|
325
323
|
* Informs assistive technologies that the element is modal.
|
|
326
324
|
* It's added on the element with role="dialog".
|
|
327
325
|
* @default true
|
|
328
326
|
*/
|
|
329
|
-
"aria-modal":
|
|
327
|
+
"aria-modal": e.oneOfType([e.oneOf(["false", "true"]), e.bool]),
|
|
330
328
|
/**
|
|
331
329
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
332
330
|
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
@@ -341,116 +339,111 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
|
341
339
|
* zIndex: -1,
|
|
342
340
|
* })
|
|
343
341
|
*/
|
|
344
|
-
BackdropComponent:
|
|
342
|
+
BackdropComponent: e.elementType,
|
|
345
343
|
/**
|
|
346
344
|
* @ignore
|
|
347
345
|
*/
|
|
348
|
-
BackdropProps:
|
|
346
|
+
BackdropProps: e.object,
|
|
349
347
|
/**
|
|
350
348
|
* Dialog children, usually the included sub-components.
|
|
351
349
|
*/
|
|
352
|
-
children:
|
|
350
|
+
children: e.node,
|
|
353
351
|
/**
|
|
354
352
|
* Override or extend the styles applied to the component.
|
|
355
353
|
*/
|
|
356
|
-
classes:
|
|
354
|
+
classes: e.object,
|
|
357
355
|
/**
|
|
358
356
|
* @ignore
|
|
359
357
|
*/
|
|
360
|
-
className:
|
|
358
|
+
className: e.string,
|
|
361
359
|
/**
|
|
362
360
|
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
363
361
|
* @default false
|
|
364
362
|
*/
|
|
365
|
-
disableEscapeKeyDown:
|
|
363
|
+
disableEscapeKeyDown: e.bool,
|
|
366
364
|
/**
|
|
367
365
|
* If `true`, the dialog is full-screen.
|
|
368
366
|
* @default false
|
|
369
367
|
*/
|
|
370
|
-
fullScreen:
|
|
368
|
+
fullScreen: e.bool,
|
|
371
369
|
/**
|
|
372
370
|
* If `true`, the dialog stretches to `maxWidth`.
|
|
373
371
|
*
|
|
374
372
|
* Notice that the dialog width grow is limited by the default margin.
|
|
375
373
|
* @default false
|
|
376
374
|
*/
|
|
377
|
-
fullWidth:
|
|
375
|
+
fullWidth: e.bool,
|
|
378
376
|
/**
|
|
379
377
|
* Determine the max-width of the dialog.
|
|
380
378
|
* The dialog width grows with the size of the screen.
|
|
381
379
|
* Set to `false` to disable `maxWidth`.
|
|
382
380
|
* @default 'sm'
|
|
383
381
|
*/
|
|
384
|
-
maxWidth:
|
|
385
|
-
/**
|
|
386
|
-
* Callback fired when the backdrop is clicked.
|
|
387
|
-
* @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
|
|
388
|
-
*/
|
|
389
|
-
onBackdropClick: o.func,
|
|
382
|
+
maxWidth: e.oneOfType([e.oneOf(["xs", "sm", "md", "lg", "xl", !1]), e.string]),
|
|
390
383
|
/**
|
|
391
384
|
* @ignore
|
|
392
385
|
*/
|
|
393
|
-
onClick:
|
|
386
|
+
onClick: e.func,
|
|
394
387
|
/**
|
|
395
388
|
* Callback fired when the component requests to be closed.
|
|
396
389
|
*
|
|
397
390
|
* @param {object} event The event source of the callback.
|
|
398
391
|
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
399
392
|
*/
|
|
400
|
-
onClose:
|
|
393
|
+
onClose: e.func,
|
|
401
394
|
/**
|
|
402
395
|
* If `true`, the component is shown.
|
|
403
396
|
*/
|
|
404
|
-
open:
|
|
397
|
+
open: e.bool.isRequired,
|
|
405
398
|
/**
|
|
406
399
|
* The component used to render the body of the dialog.
|
|
407
400
|
* @default Paper
|
|
408
401
|
*/
|
|
409
|
-
PaperComponent:
|
|
402
|
+
PaperComponent: e.elementType,
|
|
410
403
|
/**
|
|
411
404
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
412
405
|
* @default {}
|
|
413
|
-
* @deprecated Use `slotProps.paper` instead. This prop will be removed in
|
|
406
|
+
* @deprecated Use `slotProps.paper` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
414
407
|
*/
|
|
415
|
-
PaperProps:
|
|
408
|
+
PaperProps: e.object,
|
|
416
409
|
/**
|
|
417
410
|
* Determine the container for scrolling the dialog.
|
|
418
411
|
* @default 'paper'
|
|
419
412
|
*/
|
|
420
|
-
scroll:
|
|
413
|
+
scroll: e.oneOf(["body", "paper"]),
|
|
421
414
|
/**
|
|
422
415
|
* The props used for each slot inside.
|
|
423
416
|
* @default {}
|
|
424
417
|
*/
|
|
425
|
-
slotProps:
|
|
426
|
-
backdrop:
|
|
427
|
-
container:
|
|
428
|
-
paper:
|
|
429
|
-
root:
|
|
430
|
-
transition:
|
|
418
|
+
slotProps: e.shape({
|
|
419
|
+
backdrop: e.oneOfType([e.func, e.object]),
|
|
420
|
+
container: e.oneOfType([e.func, e.object]),
|
|
421
|
+
paper: e.oneOfType([e.func, e.object]),
|
|
422
|
+
root: e.oneOfType([e.func, e.object]),
|
|
423
|
+
transition: e.oneOfType([e.func, e.object])
|
|
431
424
|
}),
|
|
432
425
|
/**
|
|
433
426
|
* The components used for each slot inside.
|
|
434
427
|
* @default {}
|
|
435
428
|
*/
|
|
436
|
-
slots:
|
|
437
|
-
backdrop:
|
|
438
|
-
container:
|
|
439
|
-
paper:
|
|
440
|
-
root:
|
|
441
|
-
transition:
|
|
429
|
+
slots: e.shape({
|
|
430
|
+
backdrop: e.elementType,
|
|
431
|
+
container: e.elementType,
|
|
432
|
+
paper: e.elementType,
|
|
433
|
+
root: e.elementType,
|
|
434
|
+
transition: e.elementType
|
|
442
435
|
}),
|
|
443
436
|
/**
|
|
444
437
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
445
438
|
*/
|
|
446
|
-
sx:
|
|
439
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
447
440
|
/**
|
|
448
441
|
* The component used for the transition.
|
|
449
442
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
450
443
|
* @default Fade
|
|
451
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
444
|
+
* @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
452
445
|
*/
|
|
453
|
-
TransitionComponent:
|
|
446
|
+
TransitionComponent: e.elementType,
|
|
454
447
|
/**
|
|
455
448
|
* The duration for the transition, in milliseconds.
|
|
456
449
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
@@ -459,20 +452,20 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
|
459
452
|
* exit: theme.transitions.duration.leavingScreen,
|
|
460
453
|
* }
|
|
461
454
|
*/
|
|
462
|
-
transitionDuration:
|
|
463
|
-
appear:
|
|
464
|
-
enter:
|
|
465
|
-
exit:
|
|
455
|
+
transitionDuration: e.oneOfType([e.number, e.shape({
|
|
456
|
+
appear: e.number,
|
|
457
|
+
enter: e.number,
|
|
458
|
+
exit: e.number
|
|
466
459
|
})]),
|
|
467
460
|
/**
|
|
468
461
|
* Props applied to the transition element.
|
|
469
462
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
470
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
463
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
471
464
|
*/
|
|
472
|
-
TransitionProps:
|
|
465
|
+
TransitionProps: e.object
|
|
473
466
|
});
|
|
474
467
|
export {
|
|
475
|
-
|
|
468
|
+
Se as D,
|
|
476
469
|
O as a,
|
|
477
470
|
P as d
|
|
478
471
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as g from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { F as p, G as d, H as u, P as o } from "./identifier-UGP6vjyr.js";
|
|
3
3
|
import { jsx as f } from "react/jsx-runtime";
|
|
4
|
-
import { u as v, s as m, c as D } from "./DefaultPropsProvider-
|
|
5
|
-
import { m as y } from "./memoTheme-
|
|
4
|
+
import { u as v, s as m, c as D } from "./DefaultPropsProvider-CojEWOKR.js";
|
|
5
|
+
import { m as y } from "./memoTheme-D0vyNKLd.js";
|
|
6
6
|
function C(s) {
|
|
7
7
|
return d("MuiDialogActions", s);
|
|
8
8
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const D=require("react"),e=require("./identifier-gJdGmHeC.cjs"),d=require("react/jsx-runtime"),n=require("./DefaultPropsProvider-DLSItMqn.cjs"),P=require("./memoTheme-GOMOSdXJ.cjs");function v(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(s,t,i.get?i:{enumerable:!0,get:()=>o[t]})}}return s.default=o,Object.freeze(s)}const g=v(D);function u(o){return e.generateUtilityClass("MuiDialogActions",o)}const b=e.generateUtilityClasses("MuiDialogActions",["root","spacing"]),m=o=>{const{classes:s,disableSpacing:t}=o,i={root:["root",!t&&"spacing"]};return n.composeClasses(i,u,s)},x=n.styled("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:t}=o;return[s.root,!t.disableSpacing&&s.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:o})=>!o.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),y=g.forwardRef(function(s,t){const i=n.useDefaultProps({props:s,name:"MuiDialogActions"}),{className:a,disableSpacing:l=!1,...p}=i,r={...i,disableSpacing:l},c=m(r);return d.jsx(x,{className:e.clsx(c.root,a),ownerState:r,ref:t,...p})});process.env.NODE_ENV!=="production"&&(y.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableSpacing:e.PropTypes.bool,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});function f(o){return e.generateUtilityClass("MuiDialogContent",o)}const j=e.generateUtilityClasses("MuiDialogContent",["root","dividers"]);function O(o){return e.generateUtilityClass("MuiDialogTitle",o)}const T=e.generateUtilityClasses("MuiDialogTitle",["root"]),S=o=>{const{classes:s,dividers:t}=o,i={root:["root",t&&"dividers"]};return n.composeClasses(i,f,s)},U=n.styled("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:t}=o;return[s.root,t.dividers&&s.dividers]}})(P.memoTheme(({theme:o})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:s})=>s.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(o.vars||o).palette.divider}`,borderBottom:`1px solid ${(o.vars||o).palette.divider}`}},{props:({ownerState:s})=>!s.dividers,style:{[`.${T.root} + &`]:{paddingTop:0}}}]}))),C=g.forwardRef(function(s,t){const i=n.useDefaultProps({props:s,name:"MuiDialogContent"}),{className:a,dividers:l=!1,...p}=i,r={...i,dividers:l},c=S(r);return d.jsx(U,{className:e.clsx(c.root,a),ownerState:r,ref:t,...p})});process.env.NODE_ENV!=="production"&&(C.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,dividers:e.PropTypes.bool,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});exports.DialogActions=y;exports.DialogContent=C;exports.dialogActionsClasses=b;exports.dialogContentClasses=j;exports.dialogTitleClasses=T;exports.getDialogActionsUtilityClass=u;exports.getDialogContentUtilityClass=f;exports.getDialogTitleUtilityClass=O;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { u as d, s as f, c as u, r as D } from "./DefaultPropsProvider-
|
|
2
|
+
import { F as y, G as C, H as p, P as o } from "./identifier-UGP6vjyr.js";
|
|
3
|
+
import { u as d, s as f, c as u, r as D } from "./DefaultPropsProvider-CojEWOKR.js";
|
|
4
4
|
import { jsx as m } from "react/jsx-runtime";
|
|
5
|
-
import { T as g } from "./Typography-
|
|
6
|
-
import { f as v } from "./DialogContent-
|
|
7
|
-
import { a as N } from "./Dialog-
|
|
5
|
+
import { T as g } from "./Typography-BceX4HUn.js";
|
|
6
|
+
import { f as v } from "./DialogContent-C0BzN5yk.js";
|
|
7
|
+
import { a as N } from "./Dialog-Dk2BQsgk.js";
|
|
8
8
|
function b(t) {
|
|
9
9
|
return C("MuiDialogContentText", t);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const _ = y("MuiDialogContentText", ["root"]), h = (t) => {
|
|
12
12
|
const {
|
|
13
13
|
classes: s
|
|
14
14
|
} = t, e = u({
|
|
@@ -130,6 +130,6 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
|
|
|
130
130
|
export {
|
|
131
131
|
w as D,
|
|
132
132
|
M as a,
|
|
133
|
-
|
|
133
|
+
_ as d,
|
|
134
134
|
b as g
|
|
135
135
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const C=require("react"),e=require("./identifier-gJdGmHeC.cjs"),n=require("./DefaultPropsProvider-DLSItMqn.cjs"),T=require("react/jsx-runtime"),y=require("./Typography-DOpE-TJz.cjs"),D=require("./DialogContent-DqdeAbSs.cjs"),x=require("./Dialog-BC20prgn.cjs");function m(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(t,s,r.get?r:{enumerable:!0,get:()=>o[s]})}}return t.default=o,Object.freeze(t)}const i=m(C);function u(o){return e.generateUtilityClass("MuiDialogContentText",o)}const b=e.generateUtilityClasses("MuiDialogContentText",["root"]),j=o=>{const{classes:t}=o,s={root:["root"]},r=n.composeClasses(s,u,t);return{...t,...r}},O=n.styled(y.Typography,{shouldForwardProp:o=>n.rootShouldForwardProp(o)||o==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(o,t)=>t.root})({}),g=i.forwardRef(function(t,s){const r=n.useDefaultProps({props:t,name:"MuiDialogContentText"}),{children:c,className:p,...l}=r,a=j(l);return T.jsx(O,{component:"p",variant:"body1",color:"textSecondary",ref:s,ownerState:l,className:e.clsx(a.root,p),...r,classes:a})});process.env.NODE_ENV!=="production"&&(g.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});const v=o=>{const{classes:t}=o,s={root:["root"]};return n.composeClasses(s,D.getDialogTitleUtilityClass,t)},h=n.styled(y.Typography,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(o,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),d=i.forwardRef(function(t,s){const r=n.useDefaultProps({props:t,name:"MuiDialogTitle"}),{className:c,id:p,...l}=r,a=r,f=v(a),{titleId:P=p}=i.useContext(x.DialogContext);return T.jsx(h,{component:"h2",className:e.clsx(f.root,c),ownerState:a,ref:s,variant:"h6",id:p??P,...l})});process.env.NODE_ENV!=="production"&&(d.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,id:e.PropTypes.string,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});exports.DialogContentText=g;exports.DialogTitle=d;exports.dialogContentTextClasses=b;exports.getDialogContentTextUtilityClass=u;
|