@cgi-learning-hub/ui 1.5.1 → 1.6.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/Alert-DW8yCR-B.cjs +1 -0
- package/dist/{Alert-BfMYnyZX.js → Alert-PmI169Dq.js} +144 -142
- package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BIBR54X2.js} +709 -667
- package/dist/Autocomplete-D9hZ2wrR.cjs +6 -0
- package/dist/Backdrop-3TL73mAe.cjs +1 -0
- package/dist/{Backdrop-B200pms1.js → Backdrop-BxgGvlLM.js} +21 -20
- package/dist/Badge-DhyDno9j.cjs +138 -0
- package/dist/{ToggleButtonGroup-gxIqbo6a.js → Badge-rX7YUmBc.js} +6487 -4178
- package/dist/Box-DYD6q-6M.cjs +1 -0
- package/dist/{Box-D3Pi13ta.js → Box-o7Tjjyko.js} +21 -20
- package/dist/{Button-D1aKdjIh.js → Button-D974vesA.js} +19 -18
- package/dist/Button-y1LmxqGA.cjs +1 -0
- package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-Chb99sDQ.js} +25 -24
- package/dist/ButtonBase-Cteo-mSC.cjs +74 -0
- package/dist/{CardContent-DyggcxBG.js → CardContent-DaZl2i3G.js} +10 -9
- package/dist/CardContent-ji0_AneN.cjs +1 -0
- package/dist/Checkbox-XXqW_dbW.cjs +1 -0
- package/dist/{Checkbox-DkrWUPYT.js → Checkbox-p-PKpEw_.js} +91 -62
- package/dist/Chip-Bpcd3tnL.cjs +1 -0
- package/dist/{Chip-Y39z3DS6.js → Chip-CPR3r42q.js} +13 -12
- package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DVKNRMKq.js} +15 -14
- package/dist/CircularProgress-Wqx0-T36.cjs +28 -0
- package/dist/{Close-DJDhRwj2.cjs → Close-DyRqry3p.cjs} +1 -1
- package/dist/{Close-hx7dlgmZ.js → Close-m-MX3rFn.js} +1 -1
- package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-Bpxbxvyb.cjs} +1 -1
- package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-CjjQdrNy.js} +1 -1
- package/dist/CustomTreeItem-DPyfIueW.cjs +3 -0
- package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-hIRSCwAW.js} +251 -256
- package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-BMzW4v1g.js} +1079 -1081
- package/dist/DatePicker-CNhBoaI3.cjs +14 -0
- package/dist/DefaultPropsProvider-B1crdkTC.cjs +1 -0
- package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-hFv1J_xl.js} +68 -67
- package/dist/{Delete-Cfk3fOW-.js → Delete-9fJbdRit.js} +1 -1
- package/dist/{Delete-DDxv1h6V.cjs → Delete-CEX2hq0f.cjs} +1 -1
- package/dist/Dialog-B2LKe7ZM.cjs +1 -0
- package/dist/{Dialog-Ccvug1yq.js → Dialog-BzsWl6Vl.js} +106 -111
- package/dist/{DialogContent-CIMpKm-U.js → DialogContent-B41jvlMn.js} +14 -13
- package/dist/DialogContent-BbCu_OEw.cjs +1 -0
- package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-CVvztEM0.js} +22 -21
- package/dist/DialogTitle-SwUSpeBT.cjs +1 -0
- package/dist/{Divider-C2cBikSL.js → Divider-CJwnMdVg.js} +9 -8
- package/dist/Divider-Cshcr5kR.cjs +1 -0
- package/dist/{Folder-DEtB13yM.cjs → Folder-7plrMkOp.cjs} +1 -1
- package/dist/{Folder-Bnoqtzc6.js → Folder-CutUz0bW.js} +1 -1
- package/dist/FormLabel-0LbNeQQU.cjs +2 -0
- package/dist/{FormLabel-EkpI8MQr.js → FormLabel-DSi2pGSZ.js} +16 -15
- package/dist/{Grow-B_clfUP9.js → Grow-FFFqe81C.js} +5 -5
- package/dist/Grow-aEgTOewU.cjs +1 -0
- package/dist/IconButton-BKwDNYJl.cjs +2 -0
- package/dist/{IconButton-D1mhTuaI.js → IconButton-CgwURB2g.js} +7 -6
- package/dist/InputAdornment-C7e-kyf7.cjs +1 -0
- package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-DgWvMLgR.js} +22 -21
- package/dist/{InputBase-BQnEIwl1.js → InputBase-DxLqRpcl.js} +263 -256
- package/dist/InputBase-pYQWRFK2.cjs +3 -0
- package/dist/Link-DUtuCYMx.cjs +1 -0
- package/dist/{Link-8ltXgZj7.js → Link-rb-SwfiY.js} +18 -17
- package/dist/List-BH_S4Hqm.cjs +1 -0
- package/dist/{List-DJsqHOqv.js → List-BjfdkeEI.js} +5 -4
- package/dist/{ListItem-BspNcHM_.js → ListItem-B0EiObKw.js} +40 -39
- package/dist/ListItem-D33t-hkx.cjs +1 -0
- package/dist/ListItemText-B8jlTz59.cjs +2 -0
- package/dist/ListItemText-BeyHu1da.js +853 -0
- package/dist/Menu-BjrN8rMF.cjs +7 -0
- package/dist/{Menu-DPhreDcS.js → Menu-By6cOqEO.js} +407 -336
- package/dist/{MenuItem-Fb7iU47J.js → MenuItem-B1FTx8Uo.js} +17 -16
- package/dist/MenuItem-Cz_x60jl.cjs +1 -0
- package/dist/Modal-DxwlW5NV.cjs +2 -0
- package/dist/{Modal-dmMiGSAp.js → Modal-vrLLqk9Y.js} +240 -245
- package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-DC6HBf1h.cjs} +1 -1
- package/dist/{MoreVert-BCGFGn8f.js → MoreVert-DJ8sAY3o.js} +1 -1
- package/dist/{Paper-CEDxpHWv.js → Paper-984iTz4H.js} +32 -31
- package/dist/Paper-Bh9CKUCb.cjs +2 -0
- package/dist/{Popper-D5_YIJX6.js → Popper-DfwuvxaQ.js} +11 -10
- package/dist/Popper-yO_RaCbM.cjs +4 -0
- package/dist/Portal-B5KqLEa0.cjs +1 -0
- package/dist/Portal-ChC9wmMZ.js +85 -0
- package/dist/{Radio-B4sx0387.js → Radio-BqY-su_F.js} +228 -183
- package/dist/Radio-C7zzpRFc.cjs +1 -0
- package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-BQvlYFpE.js} +24 -23
- package/dist/RadioGroup-BlUWRmLG.cjs +1 -0
- package/dist/{Select-CxnCi-3l.js → Select-DZMwqCYA.js} +96 -95
- package/dist/Select-Doay7ukI.cjs +3 -0
- package/dist/Stack-BVWbOqY_.cjs +1 -0
- package/dist/{Stack-CzKIgmIE.js → Stack-CMUWQxQn.js} +63 -107
- package/dist/{Switch-D3KweZGQ.js → Switch-Bg4QB4PJ.js} +169 -108
- package/dist/Switch-CEfqaD33.cjs +1 -0
- package/dist/SwitchBase-DvCITKv8.cjs +1 -0
- package/dist/SwitchBase-EDFBMPd7.js +316 -0
- package/dist/{Tab-C1r8JXwz.js → Tab-52AkFc9v.js} +599 -537
- package/dist/Tab-C6H241Pf.cjs +4 -0
- package/dist/{TextField-D-_WjPAW.js → TextField-DG9mRp_m.js} +127 -116
- package/dist/TextField-bE2NUKKK.cjs +1 -0
- package/dist/{Tooltip-D0bof-68.js → Tooltip-DCgaU2em.js} +20 -19
- package/dist/Tooltip-D_w-IJoD.cjs +4 -0
- package/dist/Typography-De-21leI.cjs +1 -0
- package/dist/{Typography-DBJqhIhB.js → Typography-DwMlN0K5.js} +9 -8
- package/dist/{capitalize-DSG2FA7x.js → capitalize-BHFotl9B.js} +1 -1
- package/dist/{capitalize-CToVceBw.cjs → capitalize-CKLkSyDO.cjs} +1 -1
- package/dist/client-error-CHkavqXs.cjs +1 -0
- package/dist/{client-error-B_-qjgAB.js → client-error-D0Ng5oOn.js} +1 -3
- 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/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +2 -2
- package/dist/components/ColorPicker/ColorPicker.cjs.js +27 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +4 -0
- package/dist/components/ColorPicker/ColorPicker.es.js +7960 -0
- package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +1 -0
- package/dist/components/ColorPicker/ColorPickerIcon.d.ts +5 -0
- package/dist/components/ColorPicker/ColorPickerIcon.es.js +58 -0
- package/dist/components/ColorPicker/index.cjs.js +1 -0
- package/dist/components/ColorPicker/index.d.ts +3 -0
- package/dist/components/ColorPicker/index.es.js +4 -0
- package/dist/components/ColorPicker/styles.cjs.js +1 -0
- package/dist/components/ColorPicker/styles.es.js +26 -0
- package/dist/components/ColorPicker/types.cjs.js +1 -0
- package/dist/components/ColorPicker/types.d.ts +19 -0
- package/dist/components/ColorPicker/types.es.js +1 -0
- 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/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +2 -2
- 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 +22 -22
- 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 +5 -5
- package/dist/components/TreeView/TreeView.es.js +15 -13
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +4 -3
- 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.d.ts +19 -0
- package/dist/components/index.es.js +404 -373
- 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/ColoPicker.stories.cjs.js +1 -0
- package/dist/components/stories/ColoPicker.stories.d.ts +6 -0
- package/dist/components/stories/ColoPicker.stories.es.js +23 -0
- 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/EmptyState.stories.cjs.js +1 -1
- package/dist/components/stories/EmptyState.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/composeClasses-CJKlIaRn.js +51 -0
- package/dist/composeClasses-CWgX5SFD.cjs +1 -0
- package/dist/createSvgIcon-BgBODH2F.cjs +1 -0
- package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-BlKmtOkV.js} +48 -47
- package/dist/{dividerClasses-BtzbOVqV.cjs → dividerClasses-D3gnW6kZ.cjs} +1 -1
- package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-Glz8RJdF.js} +1 -1
- package/dist/elementTypeAcceptingRef-BwZv9xBI.cjs +1 -0
- package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DOeckaXy.js} +1 -1
- package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BouzOuB6.js} +1 -1
- package/dist/{extendSxProp-BKP1AeGz.cjs → extendSxProp-Cm-DtZe3.cjs} +1 -1
- package/dist/generateUtilityClasses-CMlilM6r.cjs +55 -0
- package/dist/generateUtilityClasses-DngCqveO.js +2628 -0
- package/dist/getReactElementRef-EVJnBPlV.cjs +1 -0
- package/dist/{getReactElementRef-CD3_Stk5.js → getReactElementRef-H8kwrWP1.js} +1 -1
- package/dist/hooks/lazySvgImport.cjs.js +1 -1
- package/dist/hooks/lazySvgImport.es.js +1 -1
- package/dist/index-BzsuDIEl.cjs +1 -0
- package/dist/{index-CDLJvERp.js → index-CX0sAlmK.js} +2 -2
- package/dist/index-CrINMjCH.cjs +1 -0
- package/dist/index-DIyAQH20.cjs +5 -0
- package/dist/index-DLnSn8GT.cjs +20 -0
- package/dist/{index-JOgYmUF8.js → index-DX2Sl0Ig.js} +1 -1
- package/dist/index-Sy88PpwE.js +672 -0
- package/dist/{index-CoYVLWJY.js → index-l8yqod25.js} +14 -13
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +404 -373
- package/dist/{listItemTextClasses-DePeZNtZ.cjs → listItemTextClasses-BJFgw1ah.cjs} +1 -1
- package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-BRj19IXv.js} +1 -1
- package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-BAbn60Cb.cjs} +1 -1
- package/dist/{memoTheme-44McxcVZ.js → memoTheme-nmt7i1dS.js} +1 -1
- package/dist/mergeSlotProps-BBciKnr4.js +62 -0
- package/dist/mergeSlotProps-Z5-o9vSe.cjs +1 -0
- package/dist/refType-B_IEJm4x.cjs +1 -0
- package/dist/{refType-DsRJ5_Sj.js → refType-Dp7CJc86.js} +1 -1
- package/dist/server-error-CqyYyPLN.cjs +1 -0
- package/dist/{server-error-DMyaPFs8.js → server-error-CvgIy7ap.js} +1 -3
- 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-BDb1lvxu.js +125 -0
- package/dist/useSlot-W0PiuVaZ.cjs +1 -0
- package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-B_D8u0j-.js} +2 -2
- package/dist/useSlotProps-OhEflPiz.cjs +1 -0
- package/dist/useTheme-C59wIJ3-.js +11 -0
- package/dist/{useTheme-DpMakc_Y.cjs → useTheme-ClhInrO2.cjs} +1 -1
- package/dist/{useTheme-CCi6a5Vl.cjs → useTheme-CqYtLDbs.cjs} +1 -1
- package/dist/{useTheme-C2OE_AnH.js → useTheme-D9cVynB-.js} +1 -1
- package/dist/useThemeProps-BFQ8ndnj.js +17 -0
- package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-DQOn-ezC.cjs} +1 -1
- package/dist/useThemeProps-DYpozGhe.cjs +1 -0
- package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-ggw56DH-.js} +2 -2
- package/dist/{utils-DFLaK7Ad.js → utils-BQenyzDz.js} +1 -1
- package/dist/utils-ByXw_ZY1.cjs +1 -0
- package/dist/warning-C8W811fV.js +11 -0
- package/dist/warning-DMUNDgRg.cjs +2 -0
- package/package.json +12 -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/ButtonBase-CBFRgTBs.cjs +0 -74
- 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/client-error-BUtdld5f.cjs +0 -1
- package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
- package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
- package/dist/generateUtilityClasses-BpRGbQmY.js +0 -3299
- package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
- 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/refType-DDdajp2p.cjs +0 -1
- package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
- package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
- package/dist/server-error-CeAtUo4S.cjs +0 -1
- 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/useThemeProps-BnN3o4c1.cjs +0 -1
- package/dist/useThemeProps-DjkGUV8r.js +0 -17
- package/dist/utils-Cn6wZNus.cjs +0 -1
|
@@ -0,0 +1,853 @@
|
|
|
1
|
+
import { P as e } from "./index-Sy88PpwE.js";
|
|
2
|
+
import { u as ae } from "./useTheme-C59wIJ3-.js";
|
|
3
|
+
import * as O from "react";
|
|
4
|
+
import { H as I, Q as ie, n as P } from "./generateUtilityClasses-DngCqveO.js";
|
|
5
|
+
import { jsx as G, jsxs as ce } from "react/jsx-runtime";
|
|
6
|
+
import { s as le, c as pe, g as de } from "./composeClasses-CJKlIaRn.js";
|
|
7
|
+
import { u as fe } from "./useTheme-D9cVynB-.js";
|
|
8
|
+
import { e as ue } from "./extendSxProp-BouzOuB6.js";
|
|
9
|
+
import { u as me } from "./useThemeProps-ggw56DH-.js";
|
|
10
|
+
import { s as F, u as A, c as Y, r as ye } from "./DefaultPropsProvider-hFv1J_xl.js";
|
|
11
|
+
import { m as ge } from "./memoTheme-nmt7i1dS.js";
|
|
12
|
+
import { a as _ } from "./List-BjfdkeEI.js";
|
|
13
|
+
import { b as be, a as N } from "./ListItem-B0EiObKw.js";
|
|
14
|
+
import { a as Oe } from "./useEventCallback-Yoj9nCug.js";
|
|
15
|
+
import { u as Te } from "./useForkRef-u29GSuCu.js";
|
|
16
|
+
import { B as ve } from "./ButtonBase-Chb99sDQ.js";
|
|
17
|
+
import { g as we, l as E } from "./listItemTextClasses-BRj19IXv.js";
|
|
18
|
+
import { u as W } from "./useSlot-BDb1lvxu.js";
|
|
19
|
+
import { T as k, t as H } from "./Typography-DwMlN0K5.js";
|
|
20
|
+
function xe(r, o) {
|
|
21
|
+
var n, t, s;
|
|
22
|
+
return /* @__PURE__ */ O.isValidElement(r) && o.indexOf(
|
|
23
|
+
// For server components `muiName` is avaialble in element.type._payload.value.muiName
|
|
24
|
+
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
25
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
26
|
+
r.type.muiName ?? ((s = (t = (n = r.type) == null ? void 0 : n._payload) == null ? void 0 : t.value) == null ? void 0 : s.muiName)
|
|
27
|
+
) !== -1;
|
|
28
|
+
}
|
|
29
|
+
const he = (r, o) => r.filter((n) => o.includes(n)), j = (r, o, n) => {
|
|
30
|
+
const t = r.keys[0];
|
|
31
|
+
Array.isArray(o) ? o.forEach((s, a) => {
|
|
32
|
+
n((i, u) => {
|
|
33
|
+
a <= r.keys.length - 1 && (a === 0 ? Object.assign(i, u) : i[r.up(r.keys[a])] = u);
|
|
34
|
+
}, s);
|
|
35
|
+
}) : o && typeof o == "object" ? (Object.keys(o).length > r.keys.length ? r.keys : he(r.keys, Object.keys(o))).forEach((a) => {
|
|
36
|
+
if (r.keys.includes(a)) {
|
|
37
|
+
const i = o[a];
|
|
38
|
+
i !== void 0 && n((u, m) => {
|
|
39
|
+
t === a ? Object.assign(u, m) : u[r.up(a)] = m;
|
|
40
|
+
}, i);
|
|
41
|
+
}
|
|
42
|
+
}) : (typeof o == "number" || typeof o == "string") && n((s, a) => {
|
|
43
|
+
Object.assign(s, a);
|
|
44
|
+
}, o);
|
|
45
|
+
};
|
|
46
|
+
function R(r) {
|
|
47
|
+
return `--Grid-${r}Spacing`;
|
|
48
|
+
}
|
|
49
|
+
function B(r) {
|
|
50
|
+
return `--Grid-parent-${r}Spacing`;
|
|
51
|
+
}
|
|
52
|
+
const K = "--Grid-columns", C = "--Grid-parent-columns", $e = ({
|
|
53
|
+
theme: r,
|
|
54
|
+
ownerState: o
|
|
55
|
+
}) => {
|
|
56
|
+
const n = {};
|
|
57
|
+
return j(r.breakpoints, o.size, (t, s) => {
|
|
58
|
+
let a = {};
|
|
59
|
+
s === "grow" && (a = {
|
|
60
|
+
flexBasis: 0,
|
|
61
|
+
flexGrow: 1,
|
|
62
|
+
maxWidth: "100%"
|
|
63
|
+
}), s === "auto" && (a = {
|
|
64
|
+
flexBasis: "auto",
|
|
65
|
+
flexGrow: 0,
|
|
66
|
+
flexShrink: 0,
|
|
67
|
+
maxWidth: "none",
|
|
68
|
+
width: "auto"
|
|
69
|
+
}), typeof s == "number" && (a = {
|
|
70
|
+
flexGrow: 0,
|
|
71
|
+
flexBasis: "auto",
|
|
72
|
+
width: `calc(100% * ${s} / var(${C}) - (var(${C}) - ${s}) * (var(${B("column")}) / var(${C})))`
|
|
73
|
+
}), t(n, a);
|
|
74
|
+
}), n;
|
|
75
|
+
}, Se = ({
|
|
76
|
+
theme: r,
|
|
77
|
+
ownerState: o
|
|
78
|
+
}) => {
|
|
79
|
+
const n = {};
|
|
80
|
+
return j(r.breakpoints, o.offset, (t, s) => {
|
|
81
|
+
let a = {};
|
|
82
|
+
s === "auto" && (a = {
|
|
83
|
+
marginLeft: "auto"
|
|
84
|
+
}), typeof s == "number" && (a = {
|
|
85
|
+
marginLeft: s === 0 ? "0px" : `calc(100% * ${s} / var(${C}) + var(${B("column")}) * ${s} / var(${C}))`
|
|
86
|
+
}), t(n, a);
|
|
87
|
+
}), n;
|
|
88
|
+
}, Ce = ({
|
|
89
|
+
theme: r,
|
|
90
|
+
ownerState: o
|
|
91
|
+
}) => {
|
|
92
|
+
if (!o.container)
|
|
93
|
+
return {};
|
|
94
|
+
const n = {
|
|
95
|
+
[K]: 12
|
|
96
|
+
};
|
|
97
|
+
return j(r.breakpoints, o.columns, (t, s) => {
|
|
98
|
+
const a = s ?? 12;
|
|
99
|
+
t(n, {
|
|
100
|
+
[K]: a,
|
|
101
|
+
"> *": {
|
|
102
|
+
[C]: a
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
}), n;
|
|
106
|
+
}, je = ({
|
|
107
|
+
theme: r,
|
|
108
|
+
ownerState: o
|
|
109
|
+
}) => {
|
|
110
|
+
if (!o.container)
|
|
111
|
+
return {};
|
|
112
|
+
const n = {};
|
|
113
|
+
return j(r.breakpoints, o.rowSpacing, (t, s) => {
|
|
114
|
+
var i;
|
|
115
|
+
const a = typeof s == "string" ? s : (i = r.spacing) == null ? void 0 : i.call(r, s);
|
|
116
|
+
t(n, {
|
|
117
|
+
[R("row")]: a,
|
|
118
|
+
"> *": {
|
|
119
|
+
[B("row")]: a
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
}), n;
|
|
123
|
+
}, Ne = ({
|
|
124
|
+
theme: r,
|
|
125
|
+
ownerState: o
|
|
126
|
+
}) => {
|
|
127
|
+
if (!o.container)
|
|
128
|
+
return {};
|
|
129
|
+
const n = {};
|
|
130
|
+
return j(r.breakpoints, o.columnSpacing, (t, s) => {
|
|
131
|
+
var i;
|
|
132
|
+
const a = typeof s == "string" ? s : (i = r.spacing) == null ? void 0 : i.call(r, s);
|
|
133
|
+
t(n, {
|
|
134
|
+
[R("column")]: a,
|
|
135
|
+
"> *": {
|
|
136
|
+
[B("column")]: a
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
}), n;
|
|
140
|
+
}, Ge = ({
|
|
141
|
+
theme: r,
|
|
142
|
+
ownerState: o
|
|
143
|
+
}) => {
|
|
144
|
+
if (!o.container)
|
|
145
|
+
return {};
|
|
146
|
+
const n = {};
|
|
147
|
+
return j(r.breakpoints, o.direction, (t, s) => {
|
|
148
|
+
t(n, {
|
|
149
|
+
flexDirection: s
|
|
150
|
+
});
|
|
151
|
+
}), n;
|
|
152
|
+
}, Pe = ({
|
|
153
|
+
ownerState: r
|
|
154
|
+
}) => ({
|
|
155
|
+
minWidth: 0,
|
|
156
|
+
boxSizing: "border-box",
|
|
157
|
+
...r.container && {
|
|
158
|
+
display: "flex",
|
|
159
|
+
flexWrap: "wrap",
|
|
160
|
+
...r.wrap && r.wrap !== "wrap" && {
|
|
161
|
+
flexWrap: r.wrap
|
|
162
|
+
},
|
|
163
|
+
gap: `var(${R("row")}) var(${R("column")})`
|
|
164
|
+
}
|
|
165
|
+
}), Ee = (r) => {
|
|
166
|
+
const o = [];
|
|
167
|
+
return Object.entries(r).forEach(([n, t]) => {
|
|
168
|
+
t !== !1 && t !== void 0 && o.push(`grid-${n}-${String(t)}`);
|
|
169
|
+
}), o;
|
|
170
|
+
}, ke = (r, o = "xs") => {
|
|
171
|
+
function n(t) {
|
|
172
|
+
return t === void 0 ? !1 : typeof t == "string" && !Number.isNaN(Number(t)) || typeof t == "number" && t > 0;
|
|
173
|
+
}
|
|
174
|
+
if (n(r))
|
|
175
|
+
return [`spacing-${o}-${String(r)}`];
|
|
176
|
+
if (typeof r == "object" && !Array.isArray(r)) {
|
|
177
|
+
const t = [];
|
|
178
|
+
return Object.entries(r).forEach(([s, a]) => {
|
|
179
|
+
n(a) && t.push(`spacing-${s}-${String(a)}`);
|
|
180
|
+
}), t;
|
|
181
|
+
}
|
|
182
|
+
return [];
|
|
183
|
+
}, Ie = (r) => r === void 0 ? [] : typeof r == "object" ? Object.entries(r).map(([o, n]) => `direction-${o}-${n}`) : [`direction-xs-${String(r)}`], Re = (r) => ["item", "zeroMinWidth"].includes(r) ? `The \`${r}\` prop has been removed and is no longer necessary. You can safely remove it.` : `The \`${r}\` prop has been removed. See https://mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`, Q = [];
|
|
184
|
+
function Be(r, o) {
|
|
185
|
+
const n = [];
|
|
186
|
+
r.item !== void 0 && (delete r.item, n.push("item")), r.zeroMinWidth !== void 0 && (delete r.zeroMinWidth, n.push("zeroMinWidth")), o.keys.forEach((t) => {
|
|
187
|
+
r[t] !== void 0 && (n.push(t), delete r[t]);
|
|
188
|
+
}), process.env.NODE_ENV !== "production" && n.forEach((t) => {
|
|
189
|
+
Q.includes(t) || (Q.push(t), console.warn(`MUI Grid: ${Re(t)}
|
|
190
|
+
`));
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
const Le = ie(), Me = le("div", {
|
|
194
|
+
name: "MuiGrid",
|
|
195
|
+
slot: "Root"
|
|
196
|
+
});
|
|
197
|
+
function ze(r) {
|
|
198
|
+
return me({
|
|
199
|
+
props: r,
|
|
200
|
+
name: "MuiGrid",
|
|
201
|
+
defaultTheme: Le
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
function De(r = {}) {
|
|
205
|
+
const {
|
|
206
|
+
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
207
|
+
createStyledComponent: o = Me,
|
|
208
|
+
useThemeProps: n = ze,
|
|
209
|
+
useTheme: t = fe,
|
|
210
|
+
componentName: s = "MuiGrid"
|
|
211
|
+
} = r, a = (l, p) => {
|
|
212
|
+
const {
|
|
213
|
+
container: y,
|
|
214
|
+
direction: d,
|
|
215
|
+
spacing: f,
|
|
216
|
+
wrap: c,
|
|
217
|
+
size: v
|
|
218
|
+
} = l, b = {
|
|
219
|
+
root: ["root", y && "container", c !== "wrap" && `wrap-xs-${String(c)}`, ...Ie(d), ...Ee(v), ...y ? ke(f, p.breakpoints.keys[0]) : []]
|
|
220
|
+
};
|
|
221
|
+
return pe(b, (g) => de(s, g), {});
|
|
222
|
+
};
|
|
223
|
+
function i(l, p, y = () => !0) {
|
|
224
|
+
const d = {};
|
|
225
|
+
return l === null || (Array.isArray(l) ? l.forEach((f, c) => {
|
|
226
|
+
f !== null && y(f) && p.keys[c] && (d[p.keys[c]] = f);
|
|
227
|
+
}) : typeof l == "object" ? Object.keys(l).forEach((f) => {
|
|
228
|
+
const c = l[f];
|
|
229
|
+
c != null && y(c) && (d[f] = c);
|
|
230
|
+
}) : d[p.keys[0]] = l), d;
|
|
231
|
+
}
|
|
232
|
+
const u = o(Ce, Ne, je, $e, Ge, Pe, Se), m = /* @__PURE__ */ O.forwardRef(function(p, y) {
|
|
233
|
+
const d = t(), f = n(p), c = ue(f);
|
|
234
|
+
Be(c, d.breakpoints);
|
|
235
|
+
const {
|
|
236
|
+
className: v,
|
|
237
|
+
children: b,
|
|
238
|
+
columns: g = 12,
|
|
239
|
+
container: T = !1,
|
|
240
|
+
component: w = "div",
|
|
241
|
+
direction: $ = "row",
|
|
242
|
+
wrap: L = "wrap",
|
|
243
|
+
size: M = {},
|
|
244
|
+
offset: z = {},
|
|
245
|
+
spacing: x = 0,
|
|
246
|
+
rowSpacing: D = x,
|
|
247
|
+
columnSpacing: V = x,
|
|
248
|
+
unstable_level: S = 0,
|
|
249
|
+
...X
|
|
250
|
+
} = c, Z = i(M, d.breakpoints, (h) => h !== !1), ee = i(z, d.breakpoints), re = p.columns ?? (S ? void 0 : g), oe = p.spacing ?? (S ? void 0 : x), ne = p.rowSpacing ?? p.spacing ?? (S ? void 0 : D), te = p.columnSpacing ?? p.spacing ?? (S ? void 0 : V), U = {
|
|
251
|
+
...c,
|
|
252
|
+
level: S,
|
|
253
|
+
columns: re,
|
|
254
|
+
container: T,
|
|
255
|
+
direction: $,
|
|
256
|
+
wrap: L,
|
|
257
|
+
spacing: oe,
|
|
258
|
+
rowSpacing: ne,
|
|
259
|
+
columnSpacing: te,
|
|
260
|
+
size: Z,
|
|
261
|
+
offset: ee
|
|
262
|
+
}, se = a(U, d);
|
|
263
|
+
return /* @__PURE__ */ G(u, {
|
|
264
|
+
ref: y,
|
|
265
|
+
as: w,
|
|
266
|
+
ownerState: U,
|
|
267
|
+
className: I(se.root, v),
|
|
268
|
+
...X,
|
|
269
|
+
children: O.Children.map(b, (h) => {
|
|
270
|
+
var q;
|
|
271
|
+
return /* @__PURE__ */ O.isValidElement(h) && xe(h, ["Grid"]) && T && h.props.container ? /* @__PURE__ */ O.cloneElement(h, {
|
|
272
|
+
unstable_level: ((q = h.props) == null ? void 0 : q.unstable_level) ?? S + 1
|
|
273
|
+
}) : h;
|
|
274
|
+
})
|
|
275
|
+
});
|
|
276
|
+
});
|
|
277
|
+
return process.env.NODE_ENV !== "production" && (m.propTypes = {
|
|
278
|
+
children: e.node,
|
|
279
|
+
className: e.string,
|
|
280
|
+
columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
|
|
281
|
+
columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
282
|
+
component: e.elementType,
|
|
283
|
+
container: e.bool,
|
|
284
|
+
direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
|
|
285
|
+
offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
|
|
286
|
+
rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
287
|
+
size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
|
|
288
|
+
spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
289
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
290
|
+
wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
|
|
291
|
+
}), m.muiName = "Grid", m;
|
|
292
|
+
}
|
|
293
|
+
function Ve(r, o) {
|
|
294
|
+
if (process.env.NODE_ENV === "production")
|
|
295
|
+
return () => null;
|
|
296
|
+
const n = o ? {
|
|
297
|
+
...o.propTypes
|
|
298
|
+
} : null;
|
|
299
|
+
return (s) => (a, i, u, m, l, ...p) => {
|
|
300
|
+
const y = l || i, d = n == null ? void 0 : n[y];
|
|
301
|
+
if (d) {
|
|
302
|
+
const f = d(a, i, u, m, l, ...p);
|
|
303
|
+
if (f)
|
|
304
|
+
return f;
|
|
305
|
+
}
|
|
306
|
+
return typeof a[i] < "u" && !a[s] ? new Error(`The prop \`${y}\` of \`${r}\` can only be used together with the \`${s}\` prop.`) : null;
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
const J = De({
|
|
310
|
+
createStyledComponent: F("div", {
|
|
311
|
+
name: "MuiGrid",
|
|
312
|
+
slot: "Root",
|
|
313
|
+
overridesResolver: (r, o) => {
|
|
314
|
+
const {
|
|
315
|
+
ownerState: n
|
|
316
|
+
} = r;
|
|
317
|
+
return [o.root, n.container && o.container];
|
|
318
|
+
}
|
|
319
|
+
}),
|
|
320
|
+
componentName: "MuiGrid",
|
|
321
|
+
useThemeProps: (r) => A({
|
|
322
|
+
props: r,
|
|
323
|
+
name: "MuiGrid"
|
|
324
|
+
}),
|
|
325
|
+
useTheme: ae
|
|
326
|
+
});
|
|
327
|
+
process.env.NODE_ENV !== "production" && (J.propTypes = {
|
|
328
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
329
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
330
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
331
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
332
|
+
/**
|
|
333
|
+
* The content of the component.
|
|
334
|
+
*/
|
|
335
|
+
children: e.node,
|
|
336
|
+
/**
|
|
337
|
+
* The number of columns.
|
|
338
|
+
* @default 12
|
|
339
|
+
*/
|
|
340
|
+
columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
|
|
341
|
+
/**
|
|
342
|
+
* Defines the horizontal space between the type `item` components.
|
|
343
|
+
* It overrides the value of the `spacing` prop.
|
|
344
|
+
*/
|
|
345
|
+
columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
346
|
+
/**
|
|
347
|
+
* If `true`, the component will have the flex *container* behavior.
|
|
348
|
+
* You should be wrapping *items* with a *container*.
|
|
349
|
+
* @default false
|
|
350
|
+
*/
|
|
351
|
+
container: e.bool,
|
|
352
|
+
/**
|
|
353
|
+
* Defines the `flex-direction` style property.
|
|
354
|
+
* It is applied for all screen sizes.
|
|
355
|
+
* @default 'row'
|
|
356
|
+
*/
|
|
357
|
+
direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
|
|
358
|
+
/**
|
|
359
|
+
* Defines the offset value for the type `item` components.
|
|
360
|
+
*/
|
|
361
|
+
offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
|
|
362
|
+
/**
|
|
363
|
+
* Defines the vertical space between the type `item` components.
|
|
364
|
+
* It overrides the value of the `spacing` prop.
|
|
365
|
+
*/
|
|
366
|
+
rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
367
|
+
/**
|
|
368
|
+
* Defines the size of the the type `item` components.
|
|
369
|
+
*/
|
|
370
|
+
size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
|
|
371
|
+
/**
|
|
372
|
+
* Defines the space between the type `item` components.
|
|
373
|
+
* It can only be used on a type `container` component.
|
|
374
|
+
* @default 0
|
|
375
|
+
*/
|
|
376
|
+
spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
377
|
+
/**
|
|
378
|
+
* @ignore
|
|
379
|
+
*/
|
|
380
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
381
|
+
/**
|
|
382
|
+
* @internal
|
|
383
|
+
* The level of the grid starts from `0` and increases when the grid nests
|
|
384
|
+
* inside another grid. Nesting is defined as a container Grid being a direct
|
|
385
|
+
* child of a container Grid.
|
|
386
|
+
*
|
|
387
|
+
* ```js
|
|
388
|
+
* <Grid container> // level 0
|
|
389
|
+
* <Grid container> // level 1
|
|
390
|
+
* <Grid container> // level 2
|
|
391
|
+
* ```
|
|
392
|
+
*
|
|
393
|
+
* Only consecutive grid is considered nesting. A grid container will start at
|
|
394
|
+
* `0` if there are non-Grid container element above it.
|
|
395
|
+
*
|
|
396
|
+
* ```js
|
|
397
|
+
* <Grid container> // level 0
|
|
398
|
+
* <div>
|
|
399
|
+
* <Grid container> // level 0
|
|
400
|
+
* ```
|
|
401
|
+
*
|
|
402
|
+
* ```js
|
|
403
|
+
* <Grid container> // level 0
|
|
404
|
+
* <Grid>
|
|
405
|
+
* <Grid container> // level 0
|
|
406
|
+
* ```
|
|
407
|
+
*/
|
|
408
|
+
unstable_level: e.number,
|
|
409
|
+
/**
|
|
410
|
+
* Defines the `flex-wrap` style property.
|
|
411
|
+
* It's applied for all screen sizes.
|
|
412
|
+
* @default 'wrap'
|
|
413
|
+
*/
|
|
414
|
+
wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
|
|
415
|
+
});
|
|
416
|
+
if (process.env.NODE_ENV !== "production") {
|
|
417
|
+
const r = J, o = Ve("Grid", r);
|
|
418
|
+
r.propTypes = {
|
|
419
|
+
// eslint-disable-next-line react/forbid-foreign-prop-types
|
|
420
|
+
...r.propTypes,
|
|
421
|
+
direction: o("container"),
|
|
422
|
+
spacing: o("container"),
|
|
423
|
+
wrap: o("container")
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
const We = (r, o) => {
|
|
427
|
+
const {
|
|
428
|
+
ownerState: n
|
|
429
|
+
} = r;
|
|
430
|
+
return [o.root, n.dense && o.dense, n.alignItems === "flex-start" && o.alignItemsFlexStart, n.divider && o.divider, !n.disableGutters && o.gutters];
|
|
431
|
+
}, _e = (r) => {
|
|
432
|
+
const {
|
|
433
|
+
alignItems: o,
|
|
434
|
+
classes: n,
|
|
435
|
+
dense: t,
|
|
436
|
+
disabled: s,
|
|
437
|
+
disableGutters: a,
|
|
438
|
+
divider: i,
|
|
439
|
+
selected: u
|
|
440
|
+
} = r, l = Y({
|
|
441
|
+
root: ["root", t && "dense", !a && "gutters", i && "divider", s && "disabled", o === "flex-start" && "alignItemsFlexStart", u && "selected"]
|
|
442
|
+
}, be, n);
|
|
443
|
+
return {
|
|
444
|
+
...n,
|
|
445
|
+
...l
|
|
446
|
+
};
|
|
447
|
+
}, Fe = F(ve, {
|
|
448
|
+
shouldForwardProp: (r) => ye(r) || r === "classes",
|
|
449
|
+
name: "MuiListItemButton",
|
|
450
|
+
slot: "Root",
|
|
451
|
+
overridesResolver: We
|
|
452
|
+
})(ge(({
|
|
453
|
+
theme: r
|
|
454
|
+
}) => ({
|
|
455
|
+
display: "flex",
|
|
456
|
+
flexGrow: 1,
|
|
457
|
+
justifyContent: "flex-start",
|
|
458
|
+
alignItems: "center",
|
|
459
|
+
position: "relative",
|
|
460
|
+
textDecoration: "none",
|
|
461
|
+
minWidth: 0,
|
|
462
|
+
boxSizing: "border-box",
|
|
463
|
+
textAlign: "left",
|
|
464
|
+
paddingTop: 8,
|
|
465
|
+
paddingBottom: 8,
|
|
466
|
+
transition: r.transitions.create("background-color", {
|
|
467
|
+
duration: r.transitions.duration.shortest
|
|
468
|
+
}),
|
|
469
|
+
"&:hover": {
|
|
470
|
+
textDecoration: "none",
|
|
471
|
+
backgroundColor: (r.vars || r).palette.action.hover,
|
|
472
|
+
// Reset on touch devices, it doesn't add specificity
|
|
473
|
+
"@media (hover: none)": {
|
|
474
|
+
backgroundColor: "transparent"
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
[`&.${N.selected}`]: {
|
|
478
|
+
backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / ${r.vars.palette.action.selectedOpacity})` : P(r.palette.primary.main, r.palette.action.selectedOpacity),
|
|
479
|
+
[`&.${N.focusVisible}`]: {
|
|
480
|
+
backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / calc(${r.vars.palette.action.selectedOpacity} + ${r.vars.palette.action.focusOpacity}))` : P(r.palette.primary.main, r.palette.action.selectedOpacity + r.palette.action.focusOpacity)
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
[`&.${N.selected}:hover`]: {
|
|
484
|
+
backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / calc(${r.vars.palette.action.selectedOpacity} + ${r.vars.palette.action.hoverOpacity}))` : P(r.palette.primary.main, r.palette.action.selectedOpacity + r.palette.action.hoverOpacity),
|
|
485
|
+
// Reset on touch devices, it doesn't add specificity
|
|
486
|
+
"@media (hover: none)": {
|
|
487
|
+
backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / ${r.vars.palette.action.selectedOpacity})` : P(r.palette.primary.main, r.palette.action.selectedOpacity)
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
[`&.${N.focusVisible}`]: {
|
|
491
|
+
backgroundColor: (r.vars || r).palette.action.focus
|
|
492
|
+
},
|
|
493
|
+
[`&.${N.disabled}`]: {
|
|
494
|
+
opacity: (r.vars || r).palette.action.disabledOpacity
|
|
495
|
+
},
|
|
496
|
+
variants: [{
|
|
497
|
+
props: ({
|
|
498
|
+
ownerState: o
|
|
499
|
+
}) => o.divider,
|
|
500
|
+
style: {
|
|
501
|
+
borderBottom: `1px solid ${(r.vars || r).palette.divider}`,
|
|
502
|
+
backgroundClip: "padding-box"
|
|
503
|
+
}
|
|
504
|
+
}, {
|
|
505
|
+
props: {
|
|
506
|
+
alignItems: "flex-start"
|
|
507
|
+
},
|
|
508
|
+
style: {
|
|
509
|
+
alignItems: "flex-start"
|
|
510
|
+
}
|
|
511
|
+
}, {
|
|
512
|
+
props: ({
|
|
513
|
+
ownerState: o
|
|
514
|
+
}) => !o.disableGutters,
|
|
515
|
+
style: {
|
|
516
|
+
paddingLeft: 16,
|
|
517
|
+
paddingRight: 16
|
|
518
|
+
}
|
|
519
|
+
}, {
|
|
520
|
+
props: ({
|
|
521
|
+
ownerState: o
|
|
522
|
+
}) => o.dense,
|
|
523
|
+
style: {
|
|
524
|
+
paddingTop: 4,
|
|
525
|
+
paddingBottom: 4
|
|
526
|
+
}
|
|
527
|
+
}]
|
|
528
|
+
}))), Ae = /* @__PURE__ */ O.forwardRef(function(o, n) {
|
|
529
|
+
const t = A({
|
|
530
|
+
props: o,
|
|
531
|
+
name: "MuiListItemButton"
|
|
532
|
+
}), {
|
|
533
|
+
alignItems: s = "center",
|
|
534
|
+
autoFocus: a = !1,
|
|
535
|
+
component: i = "div",
|
|
536
|
+
children: u,
|
|
537
|
+
dense: m = !1,
|
|
538
|
+
disableGutters: l = !1,
|
|
539
|
+
divider: p = !1,
|
|
540
|
+
focusVisibleClassName: y,
|
|
541
|
+
selected: d = !1,
|
|
542
|
+
className: f,
|
|
543
|
+
...c
|
|
544
|
+
} = t, v = O.useContext(_), b = O.useMemo(() => ({
|
|
545
|
+
dense: m || v.dense || !1,
|
|
546
|
+
alignItems: s,
|
|
547
|
+
disableGutters: l
|
|
548
|
+
}), [s, v.dense, m, l]), g = O.useRef(null);
|
|
549
|
+
Oe(() => {
|
|
550
|
+
a && (g.current ? g.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a ListItemButton whose component has not been rendered."));
|
|
551
|
+
}, [a]);
|
|
552
|
+
const T = {
|
|
553
|
+
...t,
|
|
554
|
+
alignItems: s,
|
|
555
|
+
dense: b.dense,
|
|
556
|
+
disableGutters: l,
|
|
557
|
+
divider: p,
|
|
558
|
+
selected: d
|
|
559
|
+
}, w = _e(T), $ = Te(g, n);
|
|
560
|
+
return /* @__PURE__ */ G(_.Provider, {
|
|
561
|
+
value: b,
|
|
562
|
+
children: /* @__PURE__ */ G(Fe, {
|
|
563
|
+
ref: $,
|
|
564
|
+
href: c.href || c.to,
|
|
565
|
+
component: (c.href || c.to) && i === "div" ? "button" : i,
|
|
566
|
+
focusVisibleClassName: I(w.focusVisible, y),
|
|
567
|
+
ownerState: T,
|
|
568
|
+
className: I(w.root, f),
|
|
569
|
+
...c,
|
|
570
|
+
classes: w,
|
|
571
|
+
children: u
|
|
572
|
+
})
|
|
573
|
+
});
|
|
574
|
+
});
|
|
575
|
+
process.env.NODE_ENV !== "production" && (Ae.propTypes = {
|
|
576
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
577
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
578
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
579
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
580
|
+
/**
|
|
581
|
+
* Defines the `align-items` style property.
|
|
582
|
+
* @default 'center'
|
|
583
|
+
*/
|
|
584
|
+
alignItems: e.oneOf(["center", "flex-start"]),
|
|
585
|
+
/**
|
|
586
|
+
* If `true`, the list item is focused during the first mount.
|
|
587
|
+
* Focus will also be triggered if the value changes from false to true.
|
|
588
|
+
* @default false
|
|
589
|
+
*/
|
|
590
|
+
autoFocus: e.bool,
|
|
591
|
+
/**
|
|
592
|
+
* The content of the component if a `ListItemSecondaryAction` is used it must
|
|
593
|
+
* be the last child.
|
|
594
|
+
*/
|
|
595
|
+
children: e.node,
|
|
596
|
+
/**
|
|
597
|
+
* Override or extend the styles applied to the component.
|
|
598
|
+
*/
|
|
599
|
+
classes: e.object,
|
|
600
|
+
/**
|
|
601
|
+
* @ignore
|
|
602
|
+
*/
|
|
603
|
+
className: e.string,
|
|
604
|
+
/**
|
|
605
|
+
* The component used for the root node.
|
|
606
|
+
* Either a string to use a HTML element or a component.
|
|
607
|
+
*/
|
|
608
|
+
component: e.elementType,
|
|
609
|
+
/**
|
|
610
|
+
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
611
|
+
* The prop defaults to the value inherited from the parent List component.
|
|
612
|
+
* @default false
|
|
613
|
+
*/
|
|
614
|
+
dense: e.bool,
|
|
615
|
+
/**
|
|
616
|
+
* If `true`, the component is disabled.
|
|
617
|
+
* @default false
|
|
618
|
+
*/
|
|
619
|
+
disabled: e.bool,
|
|
620
|
+
/**
|
|
621
|
+
* If `true`, the left and right padding is removed.
|
|
622
|
+
* @default false
|
|
623
|
+
*/
|
|
624
|
+
disableGutters: e.bool,
|
|
625
|
+
/**
|
|
626
|
+
* If `true`, a 1px light border is added to the bottom of the list item.
|
|
627
|
+
* @default false
|
|
628
|
+
*/
|
|
629
|
+
divider: e.bool,
|
|
630
|
+
/**
|
|
631
|
+
* This prop can help identify which element has keyboard focus.
|
|
632
|
+
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
633
|
+
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
634
|
+
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
635
|
+
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
636
|
+
* if needed.
|
|
637
|
+
*/
|
|
638
|
+
focusVisibleClassName: e.string,
|
|
639
|
+
/**
|
|
640
|
+
* @ignore
|
|
641
|
+
*/
|
|
642
|
+
href: e.string,
|
|
643
|
+
/**
|
|
644
|
+
* Use to apply selected styling.
|
|
645
|
+
* @default false
|
|
646
|
+
*/
|
|
647
|
+
selected: e.bool,
|
|
648
|
+
/**
|
|
649
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
650
|
+
*/
|
|
651
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
652
|
+
});
|
|
653
|
+
const Ue = (r) => {
|
|
654
|
+
const {
|
|
655
|
+
classes: o,
|
|
656
|
+
inset: n,
|
|
657
|
+
primary: t,
|
|
658
|
+
secondary: s,
|
|
659
|
+
dense: a
|
|
660
|
+
} = r;
|
|
661
|
+
return Y({
|
|
662
|
+
root: ["root", n && "inset", a && "dense", t && s && "multiline"],
|
|
663
|
+
primary: ["primary"],
|
|
664
|
+
secondary: ["secondary"]
|
|
665
|
+
}, we, o);
|
|
666
|
+
}, qe = F("div", {
|
|
667
|
+
name: "MuiListItemText",
|
|
668
|
+
slot: "Root",
|
|
669
|
+
overridesResolver: (r, o) => {
|
|
670
|
+
const {
|
|
671
|
+
ownerState: n
|
|
672
|
+
} = r;
|
|
673
|
+
return [{
|
|
674
|
+
[`& .${E.primary}`]: o.primary
|
|
675
|
+
}, {
|
|
676
|
+
[`& .${E.secondary}`]: o.secondary
|
|
677
|
+
}, o.root, n.inset && o.inset, n.primary && n.secondary && o.multiline, n.dense && o.dense];
|
|
678
|
+
}
|
|
679
|
+
})({
|
|
680
|
+
flex: "1 1 auto",
|
|
681
|
+
minWidth: 0,
|
|
682
|
+
marginTop: 4,
|
|
683
|
+
marginBottom: 4,
|
|
684
|
+
[`.${H.root}:where(& .${E.primary})`]: {
|
|
685
|
+
display: "block"
|
|
686
|
+
},
|
|
687
|
+
[`.${H.root}:where(& .${E.secondary})`]: {
|
|
688
|
+
display: "block"
|
|
689
|
+
},
|
|
690
|
+
variants: [{
|
|
691
|
+
props: ({
|
|
692
|
+
ownerState: r
|
|
693
|
+
}) => r.primary && r.secondary,
|
|
694
|
+
style: {
|
|
695
|
+
marginTop: 6,
|
|
696
|
+
marginBottom: 6
|
|
697
|
+
}
|
|
698
|
+
}, {
|
|
699
|
+
props: ({
|
|
700
|
+
ownerState: r
|
|
701
|
+
}) => r.inset,
|
|
702
|
+
style: {
|
|
703
|
+
paddingLeft: 56
|
|
704
|
+
}
|
|
705
|
+
}]
|
|
706
|
+
}), He = /* @__PURE__ */ O.forwardRef(function(o, n) {
|
|
707
|
+
const t = A({
|
|
708
|
+
props: o,
|
|
709
|
+
name: "MuiListItemText"
|
|
710
|
+
}), {
|
|
711
|
+
children: s,
|
|
712
|
+
className: a,
|
|
713
|
+
disableTypography: i = !1,
|
|
714
|
+
inset: u = !1,
|
|
715
|
+
primary: m,
|
|
716
|
+
primaryTypographyProps: l,
|
|
717
|
+
secondary: p,
|
|
718
|
+
secondaryTypographyProps: y,
|
|
719
|
+
slots: d = {},
|
|
720
|
+
slotProps: f = {},
|
|
721
|
+
...c
|
|
722
|
+
} = t, {
|
|
723
|
+
dense: v
|
|
724
|
+
} = O.useContext(_);
|
|
725
|
+
let b = m ?? s, g = p;
|
|
726
|
+
const T = {
|
|
727
|
+
...t,
|
|
728
|
+
disableTypography: i,
|
|
729
|
+
inset: u,
|
|
730
|
+
primary: !!b,
|
|
731
|
+
secondary: !!g,
|
|
732
|
+
dense: v
|
|
733
|
+
}, w = Ue(T), $ = {
|
|
734
|
+
slots: d,
|
|
735
|
+
slotProps: {
|
|
736
|
+
primary: l,
|
|
737
|
+
secondary: y,
|
|
738
|
+
...f
|
|
739
|
+
}
|
|
740
|
+
}, [L, M] = W("root", {
|
|
741
|
+
className: I(w.root, a),
|
|
742
|
+
elementType: qe,
|
|
743
|
+
externalForwardedProps: {
|
|
744
|
+
...$,
|
|
745
|
+
...c
|
|
746
|
+
},
|
|
747
|
+
ownerState: T,
|
|
748
|
+
ref: n
|
|
749
|
+
}), [z, x] = W("primary", {
|
|
750
|
+
className: w.primary,
|
|
751
|
+
elementType: k,
|
|
752
|
+
externalForwardedProps: $,
|
|
753
|
+
ownerState: T
|
|
754
|
+
}), [D, V] = W("secondary", {
|
|
755
|
+
className: w.secondary,
|
|
756
|
+
elementType: k,
|
|
757
|
+
externalForwardedProps: $,
|
|
758
|
+
ownerState: T
|
|
759
|
+
});
|
|
760
|
+
return b != null && b.type !== k && !i && (b = /* @__PURE__ */ G(z, {
|
|
761
|
+
variant: v ? "body2" : "body1",
|
|
762
|
+
component: x != null && x.variant ? void 0 : "span",
|
|
763
|
+
...x,
|
|
764
|
+
children: b
|
|
765
|
+
})), g != null && g.type !== k && !i && (g = /* @__PURE__ */ G(D, {
|
|
766
|
+
variant: "body2",
|
|
767
|
+
color: "textSecondary",
|
|
768
|
+
...V,
|
|
769
|
+
children: g
|
|
770
|
+
})), /* @__PURE__ */ ce(L, {
|
|
771
|
+
...M,
|
|
772
|
+
children: [b, g]
|
|
773
|
+
});
|
|
774
|
+
});
|
|
775
|
+
process.env.NODE_ENV !== "production" && (He.propTypes = {
|
|
776
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
777
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
778
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
779
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
780
|
+
/**
|
|
781
|
+
* Alias for the `primary` prop.
|
|
782
|
+
*/
|
|
783
|
+
children: e.node,
|
|
784
|
+
/**
|
|
785
|
+
* Override or extend the styles applied to the component.
|
|
786
|
+
*/
|
|
787
|
+
classes: e.object,
|
|
788
|
+
/**
|
|
789
|
+
* @ignore
|
|
790
|
+
*/
|
|
791
|
+
className: e.string,
|
|
792
|
+
/**
|
|
793
|
+
* If `true`, the children won't be wrapped by a Typography component.
|
|
794
|
+
* This can be useful to render an alternative Typography variant by wrapping
|
|
795
|
+
* the `children` (or `primary`) text, and optional `secondary` text
|
|
796
|
+
* with the Typography component.
|
|
797
|
+
* @default false
|
|
798
|
+
*/
|
|
799
|
+
disableTypography: e.bool,
|
|
800
|
+
/**
|
|
801
|
+
* If `true`, the children are indented.
|
|
802
|
+
* This should be used if there is no left avatar or left icon.
|
|
803
|
+
* @default false
|
|
804
|
+
*/
|
|
805
|
+
inset: e.bool,
|
|
806
|
+
/**
|
|
807
|
+
* The main content element.
|
|
808
|
+
*/
|
|
809
|
+
primary: e.node,
|
|
810
|
+
/**
|
|
811
|
+
* These props will be forwarded to the primary typography component
|
|
812
|
+
* (as long as disableTypography is not `true`).
|
|
813
|
+
* @deprecated Use `slotProps.primary` 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.
|
|
814
|
+
*/
|
|
815
|
+
primaryTypographyProps: e.object,
|
|
816
|
+
/**
|
|
817
|
+
* The secondary content element.
|
|
818
|
+
*/
|
|
819
|
+
secondary: e.node,
|
|
820
|
+
/**
|
|
821
|
+
* These props will be forwarded to the secondary typography component
|
|
822
|
+
* (as long as disableTypography is not `true`).
|
|
823
|
+
* @deprecated Use `slotProps.secondary` 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.
|
|
824
|
+
*/
|
|
825
|
+
secondaryTypographyProps: e.object,
|
|
826
|
+
/**
|
|
827
|
+
* The props used for each slot inside.
|
|
828
|
+
* @default {}
|
|
829
|
+
*/
|
|
830
|
+
slotProps: e.shape({
|
|
831
|
+
primary: e.oneOfType([e.func, e.object]),
|
|
832
|
+
root: e.oneOfType([e.func, e.object]),
|
|
833
|
+
secondary: e.oneOfType([e.func, e.object])
|
|
834
|
+
}),
|
|
835
|
+
/**
|
|
836
|
+
* The components used for each slot inside.
|
|
837
|
+
* @default {}
|
|
838
|
+
*/
|
|
839
|
+
slots: e.shape({
|
|
840
|
+
primary: e.elementType,
|
|
841
|
+
root: e.elementType,
|
|
842
|
+
secondary: e.elementType
|
|
843
|
+
}),
|
|
844
|
+
/**
|
|
845
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
846
|
+
*/
|
|
847
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
848
|
+
});
|
|
849
|
+
export {
|
|
850
|
+
J as G,
|
|
851
|
+
Ae as L,
|
|
852
|
+
He as a
|
|
853
|
+
};
|