@cgi-learning-hub/ui 1.5.0 → 1.5.1-dev.1744639457
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-D7eKsj1P.js → Alert-CDbAJ9jP.js} +27 -28
- package/dist/Autocomplete-2DWwLqO5.cjs +6 -0
- package/dist/{Autocomplete-Cfz4sLy8.js → Autocomplete-DO8kdiDn.js} +704 -665
- package/dist/Backdrop-Be5Hv5U8.cjs +1 -0
- package/dist/{Backdrop-COiz4sPF.js → Backdrop-CRrNkGxU.js} +18 -18
- package/dist/{Box-C-j-U8SH.js → Box-2IEW8Uij.js} +12 -12
- package/dist/Box-Bl24J58B.cjs +1 -0
- package/dist/Button-CZTPCtLu.cjs +1 -0
- package/dist/{Button-CQQdMCSm.js → Button-DYWfAsGe.js} +114 -148
- package/dist/{ButtonBase-CZFKUUHD.js → ButtonBase-BZXGvriS.js} +24 -24
- package/dist/{ButtonBase-NqQjeQ4X.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
- package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
- package/dist/{CardContent-sX9Bw4Ke.js → CardContent-oRdx06Ln.js} +5 -5
- package/dist/{Checkbox-1Zr36vDa.js → Checkbox-DMnS1qrF.js} +95 -68
- package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
- package/dist/Chip-BJSNxQBQ.cjs +1 -0
- package/dist/{Chip-BsErraqe.js → Chip-CacnC2L1.js} +53 -54
- package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
- package/dist/{CircularProgress-BBHGA0JX.js → CircularProgress-_VZwmayK.js} +28 -29
- package/dist/{Close-r-ZUhk0-.js → Close-CSvE0tu1.js} +1 -1
- package/dist/{Close-ZXg7X3Tz.cjs → Close-Czm0dlR9.cjs} +1 -1
- package/dist/{CloseRounded-CWmxueMc.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
- package/dist/{CloseRounded-B-eaQsyM.js → CloseRounded-CEX-NsA7.js} +1 -1
- package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
- package/dist/{CustomTreeItem-BpAK85gf.js → CustomTreeItem-DTV3xokL.js} +287 -289
- package/dist/{DatePicker-CWMXTgRG.js → DatePicker-C-toYUpc.js} +995 -1002
- package/dist/DatePicker-DbH5IN_w.cjs +13 -0
- package/dist/{DefaultPropsProvider-CXfMJdg8.js → DefaultPropsProvider-Bg-6nX-u.js} +53 -53
- package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
- package/dist/{Delete-CpTtpM4U.cjs → Delete-C0hR-twe.cjs} +1 -1
- package/dist/{Delete-DKn2lIDB.js → Delete-Pl5O0eBK.js} +1 -1
- package/dist/{Dialog-pU1ZAttp.js → Dialog-BGrQDZXr.js} +162 -169
- package/dist/Dialog-D1VJ5jXx.cjs +1 -0
- package/dist/DialogContent-DqdeAbSs.cjs +1 -0
- package/dist/{DialogContent-BEgapieO.js → DialogContent-ZiO3fkfO.js} +3 -3
- package/dist/DialogTitle-B3MlGamo.cjs +1 -0
- package/dist/{DialogTitle-Dcls3mcZ.js → DialogTitle-BiZ7zHp-.js} +7 -7
- package/dist/{Divider-CT4XaEn6.js → Divider-BDN4OyrO.js} +8 -8
- package/dist/Divider-I7KOokm8.cjs +1 -0
- package/dist/{Folder-DoEl37QZ.js → Folder-CF7SX2AD.js} +1 -1
- package/dist/{Folder-DWD_1Fux.cjs → Folder-ExV_xCn6.cjs} +1 -1
- package/dist/{FormLabel-BF6m-_uI.js → FormLabel-DNsUciXe.js} +24 -25
- package/dist/FormLabel-xZr5oZgx.cjs +2 -0
- package/dist/{Grow-Bk7XkPFP.js → Grow-CLBgYoz_.js} +5 -5
- package/dist/Grow-DrEdqZgX.cjs +1 -0
- package/dist/IconButton-C1I_233O.cjs +2 -0
- package/dist/{IconButton-BQW0xjdH.js → IconButton-CT0Plyy5.js} +26 -27
- package/dist/{InputAdornment-C6UfLaud.js → InputAdornment-Ci0BnJ_e.js} +10 -11
- package/dist/InputAdornment-_UPzajRP.cjs +1 -0
- package/dist/InputBase-C-ES3FPH.cjs +3 -0
- package/dist/{InputBase-YOnatBxw.js → InputBase-CJvM-WXJ.js} +261 -256
- package/dist/{Link-C3rf4gqc.js → Link-B6LNMjac.js} +15 -16
- package/dist/Link-BQrFDQ-K.cjs +1 -0
- package/dist/{List-CFInjv2S.js → List-22h7byk_.js} +2 -2
- package/dist/List-Bii833np.cjs +1 -0
- package/dist/{ListItem-BAAZxsu5.js → ListItem-B0syBgS7.js} +17 -17
- package/dist/ListItem-BtjE87R1.cjs +1 -0
- package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
- package/dist/ListItemText-zFoA_mgx.js +845 -0
- package/dist/Menu-4e60iiMU.cjs +7 -0
- package/dist/{Menu-BgO92SV3.js → Menu-B6t_52q7.js} +405 -335
- package/dist/MenuItem-De2MJkYT.cjs +1 -0
- package/dist/{MenuItem-B8eWAj8E.js → MenuItem-KNXRjnwO.js} +14 -14
- package/dist/{Modal-CFv4UMTP.js → Modal-BpJ9BCOo.js} +239 -245
- package/dist/Modal-JAWJUstF.cjs +2 -0
- package/dist/{MoreVert-Dq8BqKg4.js → MoreVert-BtC5XWOR.js} +1 -1
- package/dist/{MoreVert-B_Gz5Gfx.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
- package/dist/{Paper-DeL_n4k9.js → Paper-BTFv1nzl.js} +9 -9
- package/dist/Paper-CKG165jt.cjs +2 -0
- package/dist/Popper-CyH7Z-lN.cjs +4 -0
- package/dist/{Popper-BKxRTMsO.js → Popper-YJsxmJsm.js} +10 -10
- package/dist/Portal-CtsVKOQ9.js +85 -0
- package/dist/Portal-LP7SUKpU.cjs +1 -0
- package/dist/Radio-BEfQuau1.cjs +1 -0
- package/dist/{Radio-BVfoGshx.js → Radio-Dg73Pnqf.js} +226 -183
- package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
- package/dist/{RadioGroup-DcqRUtV8.js → RadioGroup-jev5E2xJ.js} +20 -20
- package/dist/{Select-Vnsr3NSv.js → Select-21Pm-BzJ.js} +164 -165
- package/dist/Select-CxofSqZJ.cjs +3 -0
- package/dist/{Stack-PQFKjbdN.js → Stack-D2Plrf1_.js} +60 -104
- package/dist/Stack-DpH56CPw.cjs +1 -0
- package/dist/Switch-BIGFww3p.cjs +1 -0
- package/dist/{Switch-Bn8zlIOf.js → Switch-CNfK1N1c.js} +167 -108
- package/dist/SwitchBase-BHC3uchj.js +314 -0
- package/dist/SwitchBase-DA079uiU.cjs +1 -0
- package/dist/{Tab-A0R3g6rB.js → Tab-BbWlzMyp.js} +597 -537
- package/dist/Tab-BsIC620i.cjs +4 -0
- package/dist/{TextField-Di6Nfe3O.js → TextField-BjzDdsW_.js} +133 -124
- package/dist/TextField-DFr8lsXU.cjs +1 -0
- package/dist/ToggleButtonGroup-BEvrUL8a.cjs +138 -0
- package/dist/{ToggleButtonGroup-B-zfmsAO.js → ToggleButtonGroup-C_O-zqof.js} +1995 -1818
- package/dist/{Tooltip-KTkLBRQj.js → Tooltip-Bf5VDDeG.js} +34 -35
- package/dist/Tooltip-DJC7nrsk.cjs +4 -0
- package/dist/{Typography-DZ11k9cZ.js → Typography-BNt9mZKm.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/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 +15 -15
- 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.d.ts +1 -0
- package/dist/components/FolderCard/FolderCard.es.js +26 -17
- package/dist/components/FolderCard/styles.cjs.js +1 -1
- package/dist/components/FolderCard/styles.d.ts +4 -0
- package/dist/components/FolderCard/styles.es.js +9 -5
- 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.d.ts +1 -0
- package/dist/components/ResourceCard/ResourceCard.es.js +21 -19
- package/dist/components/ResourceCard/style.cjs.js +1 -1
- package/dist/components/ResourceCard/style.es.js +49 -44
- 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 +7 -7
- package/dist/components/TreeView/TreeView.es.js +323 -319
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- package/dist/components/TreeView/style.cjs.js +1 -1
- package/dist/components/TreeView/style.es.js +24 -18
- package/dist/components/TreeView/types.d.ts +5 -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 +264 -266
- 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.d.ts +2 -0
- package/dist/components/stories/TreeView.stories.es.js +517 -268
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-BFqOnlgU.js → createSvgIcon-CCutbgLb.js} +54 -55
- package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
- package/dist/dividerClasses-B_bu1fey.cjs +1 -0
- package/dist/{dividerClasses-BYkvalOn.js → dividerClasses-hlXEfEZK.js} +1 -1
- package/dist/{elementTypeAcceptingRef-1usJq_B8.js → elementTypeAcceptingRef-COpcDx5q.js} +1 -1
- package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
- package/dist/{extendSxProp-D_IkoDXB.js → extendSxProp-0G38SSpC.js} +1 -1
- package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
- package/dist/{getReactElementRef-DtLerx40.js → getReactElementRef-C6oFed6n.js} +1 -1
- package/dist/getReactElementRef-EDbO4rJt.cjs +1 -0
- package/dist/{generateUtilityClasses-CqzQXpT_.js → identifier-BJqC6EXa.js} +833 -865
- package/dist/identifier-gJdGmHeC.cjs +74 -0
- package/dist/{index-CFIk4hVM.js → index-BOAF-ZZq.js} +4 -4
- package/dist/index-Cfd-LNZn.cjs +1 -0
- package/dist/index-D14TzUgK.cjs +1 -0
- package/dist/{index-sDFEVHTg.js → index-DP697UN9.js} +1 -1
- package/dist/index-Dmu1HrwE.cjs +5 -0
- package/dist/{index-C7WfZsMe.js → index-gxOBDuBW.js} +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +264 -266
- package/dist/{listItemTextClasses-C0D3xQur.js → listItemTextClasses-DBxyCmso.js} +1 -1
- package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
- package/dist/{memoTheme-B0xVysYu.js → memoTheme-D_Qap2ZW.js} +1 -1
- package/dist/{memoTheme-WwIyYqBX.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
- package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
- package/dist/mergeSlotProps-BSFlgsYC.js +62 -0
- package/dist/refType-53jD7LEO.cjs +1 -0
- package/dist/{refType-BvSJNaoq.js → refType-DRBJ18fO.js} +1 -1
- package/dist/styled-C7OKoThH.cjs +1 -0
- package/dist/styled-DpPa0vDp.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-DhC6EPU2.js +125 -0
- package/dist/useSlot-zJFQDOgm.cjs +1 -0
- package/dist/{useSlotProps-Ceyorp-u.js → useSlotProps-Bos9nSja.js} +2 -2
- package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
- package/dist/{useTheme-2JCMQS-E.js → useTheme-B1xvds8x.js} +1 -1
- package/dist/useTheme-BJZcQSBU.cjs +1 -0
- package/dist/useTheme-Dt-VOIyT.js +11 -0
- package/dist/useTheme-NQRIebh0.cjs +1 -0
- package/dist/useThemeProps-CxMYNgfp.js +17 -0
- package/dist/{useThemeProps-Cuazh32X.js → useThemeProps-DSVFwH3A.js} +4 -4
- package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
- package/dist/{useThemeProps-RdxbcMsR.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
- package/dist/utils-B2EQZFZP.cjs +1 -0
- package/dist/{utils-BVg32WSe.js → utils-qwVZGgXz.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-CvizDCvx.cjs +0 -1
- package/dist/Autocomplete-DjU6i3zL.cjs +0 -6
- package/dist/Backdrop-BM-OE2Q_.cjs +0 -1
- package/dist/Box-BmfpLwYG.cjs +0 -1
- package/dist/Button-BGWvL_UD.cjs +0 -1
- package/dist/CardContent-GHLuvxgm.cjs +0 -1
- package/dist/Checkbox-BZYoJieY.cjs +0 -1
- package/dist/Chip-Cu_SZxrx.cjs +0 -1
- package/dist/CircularProgress-CdS7-HOv.cjs +0 -28
- package/dist/CustomTreeItem-BIl2yiro.cjs +0 -4
- package/dist/DatePicker-tyDzcyzu.cjs +0 -14
- package/dist/DefaultPropsProvider-BTnRBr0O.cjs +0 -1
- package/dist/Dialog-DIHzs0ro.cjs +0 -1
- package/dist/DialogContent-B-9ga3Wv.cjs +0 -1
- package/dist/DialogTitle-B_UN_oL2.cjs +0 -1
- package/dist/Divider-iYLSpFUc.cjs +0 -1
- package/dist/FormLabel-Cp2OFw8d.cjs +0 -2
- package/dist/Grow-DXY5DOqR.cjs +0 -1
- package/dist/IconButton-BLZJne06.cjs +0 -2
- package/dist/InputAdornment-C0WI_oQg.cjs +0 -1
- package/dist/InputBase-B3KOyouT.cjs +0 -3
- package/dist/Link-lvpmE2yz.cjs +0 -1
- package/dist/List-PQXGlDbt.cjs +0 -1
- package/dist/ListItem-CWEvdMjN.cjs +0 -1
- package/dist/ListItemText-BhxrnTkb.cjs +0 -1
- package/dist/ListItemText-CADHegDF.js +0 -928
- package/dist/Menu-DBacrp-P.cjs +0 -7
- package/dist/MenuItem-DkcVAo3U.cjs +0 -1
- package/dist/Modal-kUvS-N46.cjs +0 -2
- package/dist/Paper-ByOgFIEE.cjs +0 -2
- package/dist/Popper-CsQqc5DE.cjs +0 -4
- package/dist/Portal-7MKUQzjh.js +0 -81
- package/dist/Portal-DhGy1jKe.cjs +0 -1
- package/dist/Radio-DG-k6cXx.cjs +0 -1
- package/dist/RadioGroup-Dd0mX-H2.cjs +0 -1
- package/dist/Select-b6liJFDI.cjs +0 -3
- package/dist/Stack-gtxG2YLo.cjs +0 -1
- package/dist/Switch-BlwDxL6O.cjs +0 -1
- package/dist/SwitchBase-DtKlxrES.cjs +0 -1
- package/dist/SwitchBase-QwOXoy8f.js +0 -262
- package/dist/Tab-Dx7V4E6B.cjs +0 -4
- package/dist/TextField-CB2n4aV8.cjs +0 -1
- package/dist/ToggleButtonGroup-D3bdznCl.cjs +0 -137
- package/dist/Tooltip-D0jvnXYu.cjs +0 -4
- package/dist/Typography-3CpuuLtj.cjs +0 -1
- package/dist/capitalize-B3tmp8MO.cjs +0 -1
- package/dist/capitalize-Bs7Xs33U.js +0 -9
- package/dist/createSvgIcon-2wwaxLPT.cjs +0 -1
- package/dist/dividerClasses-izm7KFVg.cjs +0 -1
- package/dist/elementTypeAcceptingRef-GoqLuvj1.cjs +0 -1
- package/dist/extendSxProp-Bv3E507G.cjs +0 -1
- package/dist/generateUtilityClasses-KugHyZhN.cjs +0 -75
- package/dist/getReactElementRef-D7IvykPI.cjs +0 -1
- package/dist/index-9hEUqvaJ.cjs +0 -1
- package/dist/index-BomeQRLD.cjs +0 -5
- package/dist/index-DS8G_wjP.cjs +0 -1
- package/dist/listItemTextClasses-CQXcckDA.cjs +0 -1
- package/dist/refType-D-n-tVSl.cjs +0 -1
- package/dist/resolveComponentProps-Byi_59AN.cjs +0 -1
- package/dist/resolveComponentProps-Ctw0-dUN.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-CGbU9jGm.cjs +0 -1
- package/dist/useSlot-CqjfyGd9.js +0 -48
- package/dist/useSlotProps-DfO7r_4Y.cjs +0 -1
- package/dist/useTheme-B6wow4M9.cjs +0 -1
- package/dist/useTheme-DepbBZga.js +0 -11
- package/dist/useTheme-MahNaB8C.cjs +0 -1
- package/dist/useThemeProps-BqypsO1h.cjs +0 -1
- package/dist/useThemeProps-Drd5oJEF.js +0 -17
- package/dist/utils-CUU5fjzL.cjs +0 -1
|
@@ -0,0 +1,845 @@
|
|
|
1
|
+
import { P as e, H as I, G as ae, R as ie, n as P } from "./identifier-BJqC6EXa.js";
|
|
2
|
+
import { u as ce } from "./useTheme-Dt-VOIyT.js";
|
|
3
|
+
import * as T from "react";
|
|
4
|
+
import { jsx as N, jsxs as le } from "react/jsx-runtime";
|
|
5
|
+
import { s as pe } from "./styled-DpPa0vDp.js";
|
|
6
|
+
import { u as de } from "./useTheme-B1xvds8x.js";
|
|
7
|
+
import { e as fe } from "./extendSxProp-0G38SSpC.js";
|
|
8
|
+
import { i as ue } from "./isMuiElement-DnSE4qG4.js";
|
|
9
|
+
import { u as me } from "./useThemeProps-DSVFwH3A.js";
|
|
10
|
+
import { c as F, s as A, u as U, r as ye } from "./DefaultPropsProvider-Bg-6nX-u.js";
|
|
11
|
+
import { m as ge } from "./memoTheme-D_Qap2ZW.js";
|
|
12
|
+
import { a as _ } from "./List-22h7byk_.js";
|
|
13
|
+
import { b as be, a as G } from "./ListItem-B0syBgS7.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-BZXGvriS.js";
|
|
17
|
+
import { g as we, l as k } from "./listItemTextClasses-DBxyCmso.js";
|
|
18
|
+
import { u as W } from "./useSlot-DhC6EPU2.js";
|
|
19
|
+
import { T as E, t as K } from "./Typography-BNt9mZKm.js";
|
|
20
|
+
function he(r, o) {
|
|
21
|
+
if (process.env.NODE_ENV === "production")
|
|
22
|
+
return () => null;
|
|
23
|
+
const n = o ? {
|
|
24
|
+
...o.propTypes
|
|
25
|
+
} : null;
|
|
26
|
+
return (a) => (s, i, u, m, l, ...p) => {
|
|
27
|
+
const y = l || i, d = n == null ? void 0 : n[y];
|
|
28
|
+
if (d) {
|
|
29
|
+
const f = d(s, i, u, m, l, ...p);
|
|
30
|
+
if (f)
|
|
31
|
+
return f;
|
|
32
|
+
}
|
|
33
|
+
return typeof s[i] < "u" && !s[a] ? new Error(`The prop \`${y}\` of \`${r}\` can only be used together with the \`${a}\` prop.`) : null;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
const xe = (r, o) => r.filter((n) => o.includes(n)), C = (r, o, n) => {
|
|
37
|
+
const t = r.keys[0];
|
|
38
|
+
Array.isArray(o) ? o.forEach((a, s) => {
|
|
39
|
+
n((i, u) => {
|
|
40
|
+
s <= r.keys.length - 1 && (s === 0 ? Object.assign(i, u) : i[r.up(r.keys[s])] = u);
|
|
41
|
+
}, a);
|
|
42
|
+
}) : o && typeof o == "object" ? (Object.keys(o).length > r.keys.length ? r.keys : xe(r.keys, Object.keys(o))).forEach((s) => {
|
|
43
|
+
if (r.keys.includes(s)) {
|
|
44
|
+
const i = o[s];
|
|
45
|
+
i !== void 0 && n((u, m) => {
|
|
46
|
+
t === s ? Object.assign(u, m) : u[r.up(s)] = m;
|
|
47
|
+
}, i);
|
|
48
|
+
}
|
|
49
|
+
}) : (typeof o == "number" || typeof o == "string") && n((a, s) => {
|
|
50
|
+
Object.assign(a, s);
|
|
51
|
+
}, o);
|
|
52
|
+
};
|
|
53
|
+
function R(r) {
|
|
54
|
+
return `--Grid-${r}Spacing`;
|
|
55
|
+
}
|
|
56
|
+
function B(r) {
|
|
57
|
+
return `--Grid-parent-${r}Spacing`;
|
|
58
|
+
}
|
|
59
|
+
const Y = "--Grid-columns", j = "--Grid-parent-columns", $e = ({
|
|
60
|
+
theme: r,
|
|
61
|
+
ownerState: o
|
|
62
|
+
}) => {
|
|
63
|
+
const n = {};
|
|
64
|
+
return C(r.breakpoints, o.size, (t, a) => {
|
|
65
|
+
let s = {};
|
|
66
|
+
a === "grow" && (s = {
|
|
67
|
+
flexBasis: 0,
|
|
68
|
+
flexGrow: 1,
|
|
69
|
+
maxWidth: "100%"
|
|
70
|
+
}), a === "auto" && (s = {
|
|
71
|
+
flexBasis: "auto",
|
|
72
|
+
flexGrow: 0,
|
|
73
|
+
flexShrink: 0,
|
|
74
|
+
maxWidth: "none",
|
|
75
|
+
width: "auto"
|
|
76
|
+
}), typeof a == "number" && (s = {
|
|
77
|
+
flexGrow: 0,
|
|
78
|
+
flexBasis: "auto",
|
|
79
|
+
width: `calc(100% * ${a} / var(${j}) - (var(${j}) - ${a}) * (var(${B("column")}) / var(${j})))`
|
|
80
|
+
}), t(n, s);
|
|
81
|
+
}), n;
|
|
82
|
+
}, Se = ({
|
|
83
|
+
theme: r,
|
|
84
|
+
ownerState: o
|
|
85
|
+
}) => {
|
|
86
|
+
const n = {};
|
|
87
|
+
return C(r.breakpoints, o.offset, (t, a) => {
|
|
88
|
+
let s = {};
|
|
89
|
+
a === "auto" && (s = {
|
|
90
|
+
marginLeft: "auto"
|
|
91
|
+
}), typeof a == "number" && (s = {
|
|
92
|
+
marginLeft: a === 0 ? "0px" : `calc(100% * ${a} / var(${j}) + var(${B("column")}) * ${a} / var(${j}))`
|
|
93
|
+
}), t(n, s);
|
|
94
|
+
}), n;
|
|
95
|
+
}, je = ({
|
|
96
|
+
theme: r,
|
|
97
|
+
ownerState: o
|
|
98
|
+
}) => {
|
|
99
|
+
if (!o.container)
|
|
100
|
+
return {};
|
|
101
|
+
const n = {
|
|
102
|
+
[Y]: 12
|
|
103
|
+
};
|
|
104
|
+
return C(r.breakpoints, o.columns, (t, a) => {
|
|
105
|
+
const s = a ?? 12;
|
|
106
|
+
t(n, {
|
|
107
|
+
[Y]: s,
|
|
108
|
+
"> *": {
|
|
109
|
+
[j]: s
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
}), n;
|
|
113
|
+
}, Ce = ({
|
|
114
|
+
theme: r,
|
|
115
|
+
ownerState: o
|
|
116
|
+
}) => {
|
|
117
|
+
if (!o.container)
|
|
118
|
+
return {};
|
|
119
|
+
const n = {};
|
|
120
|
+
return C(r.breakpoints, o.rowSpacing, (t, a) => {
|
|
121
|
+
var i;
|
|
122
|
+
const s = typeof a == "string" ? a : (i = r.spacing) == null ? void 0 : i.call(r, a);
|
|
123
|
+
t(n, {
|
|
124
|
+
[R("row")]: s,
|
|
125
|
+
"> *": {
|
|
126
|
+
[B("row")]: s
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}), n;
|
|
130
|
+
}, Ge = ({
|
|
131
|
+
theme: r,
|
|
132
|
+
ownerState: o
|
|
133
|
+
}) => {
|
|
134
|
+
if (!o.container)
|
|
135
|
+
return {};
|
|
136
|
+
const n = {};
|
|
137
|
+
return C(r.breakpoints, o.columnSpacing, (t, a) => {
|
|
138
|
+
var i;
|
|
139
|
+
const s = typeof a == "string" ? a : (i = r.spacing) == null ? void 0 : i.call(r, a);
|
|
140
|
+
t(n, {
|
|
141
|
+
[R("column")]: s,
|
|
142
|
+
"> *": {
|
|
143
|
+
[B("column")]: s
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}), n;
|
|
147
|
+
}, Ne = ({
|
|
148
|
+
theme: r,
|
|
149
|
+
ownerState: o
|
|
150
|
+
}) => {
|
|
151
|
+
if (!o.container)
|
|
152
|
+
return {};
|
|
153
|
+
const n = {};
|
|
154
|
+
return C(r.breakpoints, o.direction, (t, a) => {
|
|
155
|
+
t(n, {
|
|
156
|
+
flexDirection: a
|
|
157
|
+
});
|
|
158
|
+
}), n;
|
|
159
|
+
}, Pe = ({
|
|
160
|
+
ownerState: r
|
|
161
|
+
}) => ({
|
|
162
|
+
minWidth: 0,
|
|
163
|
+
boxSizing: "border-box",
|
|
164
|
+
...r.container && {
|
|
165
|
+
display: "flex",
|
|
166
|
+
flexWrap: "wrap",
|
|
167
|
+
...r.wrap && r.wrap !== "wrap" && {
|
|
168
|
+
flexWrap: r.wrap
|
|
169
|
+
},
|
|
170
|
+
gap: `var(${R("row")}) var(${R("column")})`
|
|
171
|
+
}
|
|
172
|
+
}), ke = (r) => {
|
|
173
|
+
const o = [];
|
|
174
|
+
return Object.entries(r).forEach(([n, t]) => {
|
|
175
|
+
t !== !1 && t !== void 0 && o.push(`grid-${n}-${String(t)}`);
|
|
176
|
+
}), o;
|
|
177
|
+
}, Ee = (r, o = "xs") => {
|
|
178
|
+
function n(t) {
|
|
179
|
+
return t === void 0 ? !1 : typeof t == "string" && !Number.isNaN(Number(t)) || typeof t == "number" && t > 0;
|
|
180
|
+
}
|
|
181
|
+
if (n(r))
|
|
182
|
+
return [`spacing-${o}-${String(r)}`];
|
|
183
|
+
if (typeof r == "object" && !Array.isArray(r)) {
|
|
184
|
+
const t = [];
|
|
185
|
+
return Object.entries(r).forEach(([a, s]) => {
|
|
186
|
+
n(s) && t.push(`spacing-${a}-${String(s)}`);
|
|
187
|
+
}), t;
|
|
188
|
+
}
|
|
189
|
+
return [];
|
|
190
|
+
}, 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.`, J = [];
|
|
191
|
+
function Be(r, o) {
|
|
192
|
+
const n = [];
|
|
193
|
+
r.item !== void 0 && (delete r.item, n.push("item")), r.zeroMinWidth !== void 0 && (delete r.zeroMinWidth, n.push("zeroMinWidth")), o.keys.forEach((t) => {
|
|
194
|
+
r[t] !== void 0 && (n.push(t), delete r[t]);
|
|
195
|
+
}), process.env.NODE_ENV !== "production" && n.forEach((t) => {
|
|
196
|
+
J.includes(t) || (J.push(t), console.warn(`MUI Grid: ${Re(t)}
|
|
197
|
+
`));
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
const Le = ie(), Me = pe("div", {
|
|
201
|
+
name: "MuiGrid",
|
|
202
|
+
slot: "Root",
|
|
203
|
+
overridesResolver: (r, o) => o.root
|
|
204
|
+
});
|
|
205
|
+
function ze(r) {
|
|
206
|
+
return me({
|
|
207
|
+
props: r,
|
|
208
|
+
name: "MuiGrid",
|
|
209
|
+
defaultTheme: Le
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
function De(r = {}) {
|
|
213
|
+
const {
|
|
214
|
+
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
215
|
+
createStyledComponent: o = Me,
|
|
216
|
+
useThemeProps: n = ze,
|
|
217
|
+
useTheme: t = de,
|
|
218
|
+
componentName: a = "MuiGrid"
|
|
219
|
+
} = r, s = (l, p) => {
|
|
220
|
+
const {
|
|
221
|
+
container: y,
|
|
222
|
+
direction: d,
|
|
223
|
+
spacing: f,
|
|
224
|
+
wrap: c,
|
|
225
|
+
size: v
|
|
226
|
+
} = l, b = {
|
|
227
|
+
root: ["root", y && "container", c !== "wrap" && `wrap-xs-${String(c)}`, ...Ie(d), ...ke(v), ...y ? Ee(f, p.breakpoints.keys[0]) : []]
|
|
228
|
+
};
|
|
229
|
+
return F(b, (g) => ae(a, g), {});
|
|
230
|
+
};
|
|
231
|
+
function i(l, p, y = () => !0) {
|
|
232
|
+
const d = {};
|
|
233
|
+
return l === null || (Array.isArray(l) ? l.forEach((f, c) => {
|
|
234
|
+
f !== null && y(f) && p.keys[c] && (d[p.keys[c]] = f);
|
|
235
|
+
}) : typeof l == "object" ? Object.keys(l).forEach((f) => {
|
|
236
|
+
const c = l[f];
|
|
237
|
+
c != null && y(c) && (d[f] = c);
|
|
238
|
+
}) : d[p.keys[0]] = l), d;
|
|
239
|
+
}
|
|
240
|
+
const u = o(je, Ge, Ce, $e, Ne, Pe, Se), m = /* @__PURE__ */ T.forwardRef(function(p, y) {
|
|
241
|
+
const d = t(), f = n(p), c = fe(f);
|
|
242
|
+
Be(c, d.breakpoints);
|
|
243
|
+
const {
|
|
244
|
+
className: v,
|
|
245
|
+
children: b,
|
|
246
|
+
columns: g = 12,
|
|
247
|
+
container: O = !1,
|
|
248
|
+
component: w = "div",
|
|
249
|
+
direction: $ = "row",
|
|
250
|
+
wrap: L = "wrap",
|
|
251
|
+
size: M = {},
|
|
252
|
+
offset: z = {},
|
|
253
|
+
spacing: h = 0,
|
|
254
|
+
rowSpacing: D = h,
|
|
255
|
+
columnSpacing: V = h,
|
|
256
|
+
unstable_level: S = 0,
|
|
257
|
+
...X
|
|
258
|
+
} = c, Z = i(M, d.breakpoints, (x) => x !== !1), ee = i(z, d.breakpoints), re = p.columns ?? (S ? void 0 : g), oe = p.spacing ?? (S ? void 0 : h), ne = p.rowSpacing ?? p.spacing ?? (S ? void 0 : D), te = p.columnSpacing ?? p.spacing ?? (S ? void 0 : V), q = {
|
|
259
|
+
...c,
|
|
260
|
+
level: S,
|
|
261
|
+
columns: re,
|
|
262
|
+
container: O,
|
|
263
|
+
direction: $,
|
|
264
|
+
wrap: L,
|
|
265
|
+
spacing: oe,
|
|
266
|
+
rowSpacing: ne,
|
|
267
|
+
columnSpacing: te,
|
|
268
|
+
size: Z,
|
|
269
|
+
offset: ee
|
|
270
|
+
}, se = s(q, d);
|
|
271
|
+
return /* @__PURE__ */ N(u, {
|
|
272
|
+
ref: y,
|
|
273
|
+
as: w,
|
|
274
|
+
ownerState: q,
|
|
275
|
+
className: I(se.root, v),
|
|
276
|
+
...X,
|
|
277
|
+
children: T.Children.map(b, (x) => {
|
|
278
|
+
var H;
|
|
279
|
+
return /* @__PURE__ */ T.isValidElement(x) && ue(x, ["Grid"]) && O && x.props.container ? /* @__PURE__ */ T.cloneElement(x, {
|
|
280
|
+
unstable_level: ((H = x.props) == null ? void 0 : H.unstable_level) ?? S + 1
|
|
281
|
+
}) : x;
|
|
282
|
+
})
|
|
283
|
+
});
|
|
284
|
+
});
|
|
285
|
+
return process.env.NODE_ENV !== "production" && (m.propTypes = {
|
|
286
|
+
children: e.node,
|
|
287
|
+
className: e.string,
|
|
288
|
+
columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
|
|
289
|
+
columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
290
|
+
component: e.elementType,
|
|
291
|
+
container: e.bool,
|
|
292
|
+
direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
|
|
293
|
+
offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
|
|
294
|
+
rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
295
|
+
size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
|
|
296
|
+
spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
297
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
298
|
+
wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
|
|
299
|
+
}), m.muiName = "Grid", m;
|
|
300
|
+
}
|
|
301
|
+
const Q = De({
|
|
302
|
+
createStyledComponent: A("div", {
|
|
303
|
+
name: "MuiGrid",
|
|
304
|
+
slot: "Root",
|
|
305
|
+
overridesResolver: (r, o) => {
|
|
306
|
+
const {
|
|
307
|
+
ownerState: n
|
|
308
|
+
} = r;
|
|
309
|
+
return [o.root, n.container && o.container];
|
|
310
|
+
}
|
|
311
|
+
}),
|
|
312
|
+
componentName: "MuiGrid",
|
|
313
|
+
useThemeProps: (r) => U({
|
|
314
|
+
props: r,
|
|
315
|
+
name: "MuiGrid"
|
|
316
|
+
}),
|
|
317
|
+
useTheme: ce
|
|
318
|
+
});
|
|
319
|
+
process.env.NODE_ENV !== "production" && (Q.propTypes = {
|
|
320
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
321
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
322
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
323
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
324
|
+
/**
|
|
325
|
+
* The content of the component.
|
|
326
|
+
*/
|
|
327
|
+
children: e.node,
|
|
328
|
+
/**
|
|
329
|
+
* The number of columns.
|
|
330
|
+
* @default 12
|
|
331
|
+
*/
|
|
332
|
+
columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
|
|
333
|
+
/**
|
|
334
|
+
* Defines the horizontal space between the type `item` components.
|
|
335
|
+
* It overrides the value of the `spacing` prop.
|
|
336
|
+
*/
|
|
337
|
+
columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
338
|
+
/**
|
|
339
|
+
* If `true`, the component will have the flex *container* behavior.
|
|
340
|
+
* You should be wrapping *items* with a *container*.
|
|
341
|
+
* @default false
|
|
342
|
+
*/
|
|
343
|
+
container: e.bool,
|
|
344
|
+
/**
|
|
345
|
+
* Defines the `flex-direction` style property.
|
|
346
|
+
* It is applied for all screen sizes.
|
|
347
|
+
* @default 'row'
|
|
348
|
+
*/
|
|
349
|
+
direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
|
|
350
|
+
/**
|
|
351
|
+
* Defines the offset value for the type `item` components.
|
|
352
|
+
*/
|
|
353
|
+
offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
|
|
354
|
+
/**
|
|
355
|
+
* Defines the vertical space between the type `item` components.
|
|
356
|
+
* It overrides the value of the `spacing` prop.
|
|
357
|
+
*/
|
|
358
|
+
rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
359
|
+
/**
|
|
360
|
+
* Defines the size of the the type `item` components.
|
|
361
|
+
*/
|
|
362
|
+
size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
|
|
363
|
+
/**
|
|
364
|
+
* Defines the space between the type `item` components.
|
|
365
|
+
* It can only be used on a type `container` component.
|
|
366
|
+
* @default 0
|
|
367
|
+
*/
|
|
368
|
+
spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
369
|
+
/**
|
|
370
|
+
* @ignore
|
|
371
|
+
*/
|
|
372
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
373
|
+
/**
|
|
374
|
+
* @internal
|
|
375
|
+
* The level of the grid starts from `0` and increases when the grid nests
|
|
376
|
+
* inside another grid. Nesting is defined as a container Grid being a direct
|
|
377
|
+
* child of a container Grid.
|
|
378
|
+
*
|
|
379
|
+
* ```js
|
|
380
|
+
* <Grid container> // level 0
|
|
381
|
+
* <Grid container> // level 1
|
|
382
|
+
* <Grid container> // level 2
|
|
383
|
+
* ```
|
|
384
|
+
*
|
|
385
|
+
* Only consecutive grid is considered nesting. A grid container will start at
|
|
386
|
+
* `0` if there are non-Grid container element above it.
|
|
387
|
+
*
|
|
388
|
+
* ```js
|
|
389
|
+
* <Grid container> // level 0
|
|
390
|
+
* <div>
|
|
391
|
+
* <Grid container> // level 0
|
|
392
|
+
* ```
|
|
393
|
+
*
|
|
394
|
+
* ```js
|
|
395
|
+
* <Grid container> // level 0
|
|
396
|
+
* <Grid>
|
|
397
|
+
* <Grid container> // level 0
|
|
398
|
+
* ```
|
|
399
|
+
*/
|
|
400
|
+
unstable_level: e.number,
|
|
401
|
+
/**
|
|
402
|
+
* Defines the `flex-wrap` style property.
|
|
403
|
+
* It's applied for all screen sizes.
|
|
404
|
+
* @default 'wrap'
|
|
405
|
+
*/
|
|
406
|
+
wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
|
|
407
|
+
});
|
|
408
|
+
if (process.env.NODE_ENV !== "production") {
|
|
409
|
+
const r = Q, o = he("Grid", r);
|
|
410
|
+
r.propTypes = {
|
|
411
|
+
// eslint-disable-next-line react/forbid-foreign-prop-types
|
|
412
|
+
...r.propTypes,
|
|
413
|
+
direction: o("container"),
|
|
414
|
+
spacing: o("container"),
|
|
415
|
+
wrap: o("container")
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
const Ve = (r, o) => {
|
|
419
|
+
const {
|
|
420
|
+
ownerState: n
|
|
421
|
+
} = r;
|
|
422
|
+
return [o.root, n.dense && o.dense, n.alignItems === "flex-start" && o.alignItemsFlexStart, n.divider && o.divider, !n.disableGutters && o.gutters];
|
|
423
|
+
}, We = (r) => {
|
|
424
|
+
const {
|
|
425
|
+
alignItems: o,
|
|
426
|
+
classes: n,
|
|
427
|
+
dense: t,
|
|
428
|
+
disabled: a,
|
|
429
|
+
disableGutters: s,
|
|
430
|
+
divider: i,
|
|
431
|
+
selected: u
|
|
432
|
+
} = r, l = F({
|
|
433
|
+
root: ["root", t && "dense", !s && "gutters", i && "divider", a && "disabled", o === "flex-start" && "alignItemsFlexStart", u && "selected"]
|
|
434
|
+
}, be, n);
|
|
435
|
+
return {
|
|
436
|
+
...n,
|
|
437
|
+
...l
|
|
438
|
+
};
|
|
439
|
+
}, _e = A(ve, {
|
|
440
|
+
shouldForwardProp: (r) => ye(r) || r === "classes",
|
|
441
|
+
name: "MuiListItemButton",
|
|
442
|
+
slot: "Root",
|
|
443
|
+
overridesResolver: Ve
|
|
444
|
+
})(ge(({
|
|
445
|
+
theme: r
|
|
446
|
+
}) => ({
|
|
447
|
+
display: "flex",
|
|
448
|
+
flexGrow: 1,
|
|
449
|
+
justifyContent: "flex-start",
|
|
450
|
+
alignItems: "center",
|
|
451
|
+
position: "relative",
|
|
452
|
+
textDecoration: "none",
|
|
453
|
+
minWidth: 0,
|
|
454
|
+
boxSizing: "border-box",
|
|
455
|
+
textAlign: "left",
|
|
456
|
+
paddingTop: 8,
|
|
457
|
+
paddingBottom: 8,
|
|
458
|
+
transition: r.transitions.create("background-color", {
|
|
459
|
+
duration: r.transitions.duration.shortest
|
|
460
|
+
}),
|
|
461
|
+
"&:hover": {
|
|
462
|
+
textDecoration: "none",
|
|
463
|
+
backgroundColor: (r.vars || r).palette.action.hover,
|
|
464
|
+
// Reset on touch devices, it doesn't add specificity
|
|
465
|
+
"@media (hover: none)": {
|
|
466
|
+
backgroundColor: "transparent"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
[`&.${G.selected}`]: {
|
|
470
|
+
backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / ${r.vars.palette.action.selectedOpacity})` : P(r.palette.primary.main, r.palette.action.selectedOpacity),
|
|
471
|
+
[`&.${G.focusVisible}`]: {
|
|
472
|
+
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)
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
[`&.${G.selected}:hover`]: {
|
|
476
|
+
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),
|
|
477
|
+
// Reset on touch devices, it doesn't add specificity
|
|
478
|
+
"@media (hover: none)": {
|
|
479
|
+
backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / ${r.vars.palette.action.selectedOpacity})` : P(r.palette.primary.main, r.palette.action.selectedOpacity)
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
[`&.${G.focusVisible}`]: {
|
|
483
|
+
backgroundColor: (r.vars || r).palette.action.focus
|
|
484
|
+
},
|
|
485
|
+
[`&.${G.disabled}`]: {
|
|
486
|
+
opacity: (r.vars || r).palette.action.disabledOpacity
|
|
487
|
+
},
|
|
488
|
+
variants: [{
|
|
489
|
+
props: ({
|
|
490
|
+
ownerState: o
|
|
491
|
+
}) => o.divider,
|
|
492
|
+
style: {
|
|
493
|
+
borderBottom: `1px solid ${(r.vars || r).palette.divider}`,
|
|
494
|
+
backgroundClip: "padding-box"
|
|
495
|
+
}
|
|
496
|
+
}, {
|
|
497
|
+
props: {
|
|
498
|
+
alignItems: "flex-start"
|
|
499
|
+
},
|
|
500
|
+
style: {
|
|
501
|
+
alignItems: "flex-start"
|
|
502
|
+
}
|
|
503
|
+
}, {
|
|
504
|
+
props: ({
|
|
505
|
+
ownerState: o
|
|
506
|
+
}) => !o.disableGutters,
|
|
507
|
+
style: {
|
|
508
|
+
paddingLeft: 16,
|
|
509
|
+
paddingRight: 16
|
|
510
|
+
}
|
|
511
|
+
}, {
|
|
512
|
+
props: ({
|
|
513
|
+
ownerState: o
|
|
514
|
+
}) => o.dense,
|
|
515
|
+
style: {
|
|
516
|
+
paddingTop: 4,
|
|
517
|
+
paddingBottom: 4
|
|
518
|
+
}
|
|
519
|
+
}]
|
|
520
|
+
}))), Fe = /* @__PURE__ */ T.forwardRef(function(o, n) {
|
|
521
|
+
const t = U({
|
|
522
|
+
props: o,
|
|
523
|
+
name: "MuiListItemButton"
|
|
524
|
+
}), {
|
|
525
|
+
alignItems: a = "center",
|
|
526
|
+
autoFocus: s = !1,
|
|
527
|
+
component: i = "div",
|
|
528
|
+
children: u,
|
|
529
|
+
dense: m = !1,
|
|
530
|
+
disableGutters: l = !1,
|
|
531
|
+
divider: p = !1,
|
|
532
|
+
focusVisibleClassName: y,
|
|
533
|
+
selected: d = !1,
|
|
534
|
+
className: f,
|
|
535
|
+
...c
|
|
536
|
+
} = t, v = T.useContext(_), b = T.useMemo(() => ({
|
|
537
|
+
dense: m || v.dense || !1,
|
|
538
|
+
alignItems: a,
|
|
539
|
+
disableGutters: l
|
|
540
|
+
}), [a, v.dense, m, l]), g = T.useRef(null);
|
|
541
|
+
Oe(() => {
|
|
542
|
+
s && (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."));
|
|
543
|
+
}, [s]);
|
|
544
|
+
const O = {
|
|
545
|
+
...t,
|
|
546
|
+
alignItems: a,
|
|
547
|
+
dense: b.dense,
|
|
548
|
+
disableGutters: l,
|
|
549
|
+
divider: p,
|
|
550
|
+
selected: d
|
|
551
|
+
}, w = We(O), $ = Te(g, n);
|
|
552
|
+
return /* @__PURE__ */ N(_.Provider, {
|
|
553
|
+
value: b,
|
|
554
|
+
children: /* @__PURE__ */ N(_e, {
|
|
555
|
+
ref: $,
|
|
556
|
+
href: c.href || c.to,
|
|
557
|
+
component: (c.href || c.to) && i === "div" ? "button" : i,
|
|
558
|
+
focusVisibleClassName: I(w.focusVisible, y),
|
|
559
|
+
ownerState: O,
|
|
560
|
+
className: I(w.root, f),
|
|
561
|
+
...c,
|
|
562
|
+
classes: w,
|
|
563
|
+
children: u
|
|
564
|
+
})
|
|
565
|
+
});
|
|
566
|
+
});
|
|
567
|
+
process.env.NODE_ENV !== "production" && (Fe.propTypes = {
|
|
568
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
569
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
570
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
571
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
572
|
+
/**
|
|
573
|
+
* Defines the `align-items` style property.
|
|
574
|
+
* @default 'center'
|
|
575
|
+
*/
|
|
576
|
+
alignItems: e.oneOf(["center", "flex-start"]),
|
|
577
|
+
/**
|
|
578
|
+
* If `true`, the list item is focused during the first mount.
|
|
579
|
+
* Focus will also be triggered if the value changes from false to true.
|
|
580
|
+
* @default false
|
|
581
|
+
*/
|
|
582
|
+
autoFocus: e.bool,
|
|
583
|
+
/**
|
|
584
|
+
* The content of the component if a `ListItemSecondaryAction` is used it must
|
|
585
|
+
* be the last child.
|
|
586
|
+
*/
|
|
587
|
+
children: e.node,
|
|
588
|
+
/**
|
|
589
|
+
* Override or extend the styles applied to the component.
|
|
590
|
+
*/
|
|
591
|
+
classes: e.object,
|
|
592
|
+
/**
|
|
593
|
+
* @ignore
|
|
594
|
+
*/
|
|
595
|
+
className: e.string,
|
|
596
|
+
/**
|
|
597
|
+
* The component used for the root node.
|
|
598
|
+
* Either a string to use a HTML element or a component.
|
|
599
|
+
*/
|
|
600
|
+
component: e.elementType,
|
|
601
|
+
/**
|
|
602
|
+
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
603
|
+
* The prop defaults to the value inherited from the parent List component.
|
|
604
|
+
* @default false
|
|
605
|
+
*/
|
|
606
|
+
dense: e.bool,
|
|
607
|
+
/**
|
|
608
|
+
* If `true`, the component is disabled.
|
|
609
|
+
* @default false
|
|
610
|
+
*/
|
|
611
|
+
disabled: e.bool,
|
|
612
|
+
/**
|
|
613
|
+
* If `true`, the left and right padding is removed.
|
|
614
|
+
* @default false
|
|
615
|
+
*/
|
|
616
|
+
disableGutters: e.bool,
|
|
617
|
+
/**
|
|
618
|
+
* If `true`, a 1px light border is added to the bottom of the list item.
|
|
619
|
+
* @default false
|
|
620
|
+
*/
|
|
621
|
+
divider: e.bool,
|
|
622
|
+
/**
|
|
623
|
+
* This prop can help identify which element has keyboard focus.
|
|
624
|
+
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
625
|
+
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
626
|
+
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
627
|
+
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
628
|
+
* if needed.
|
|
629
|
+
*/
|
|
630
|
+
focusVisibleClassName: e.string,
|
|
631
|
+
/**
|
|
632
|
+
* @ignore
|
|
633
|
+
*/
|
|
634
|
+
href: e.string,
|
|
635
|
+
/**
|
|
636
|
+
* Use to apply selected styling.
|
|
637
|
+
* @default false
|
|
638
|
+
*/
|
|
639
|
+
selected: e.bool,
|
|
640
|
+
/**
|
|
641
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
642
|
+
*/
|
|
643
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
644
|
+
});
|
|
645
|
+
const Ae = (r) => {
|
|
646
|
+
const {
|
|
647
|
+
classes: o,
|
|
648
|
+
inset: n,
|
|
649
|
+
primary: t,
|
|
650
|
+
secondary: a,
|
|
651
|
+
dense: s
|
|
652
|
+
} = r;
|
|
653
|
+
return F({
|
|
654
|
+
root: ["root", n && "inset", s && "dense", t && a && "multiline"],
|
|
655
|
+
primary: ["primary"],
|
|
656
|
+
secondary: ["secondary"]
|
|
657
|
+
}, we, o);
|
|
658
|
+
}, Ue = A("div", {
|
|
659
|
+
name: "MuiListItemText",
|
|
660
|
+
slot: "Root",
|
|
661
|
+
overridesResolver: (r, o) => {
|
|
662
|
+
const {
|
|
663
|
+
ownerState: n
|
|
664
|
+
} = r;
|
|
665
|
+
return [{
|
|
666
|
+
[`& .${k.primary}`]: o.primary
|
|
667
|
+
}, {
|
|
668
|
+
[`& .${k.secondary}`]: o.secondary
|
|
669
|
+
}, o.root, n.inset && o.inset, n.primary && n.secondary && o.multiline, n.dense && o.dense];
|
|
670
|
+
}
|
|
671
|
+
})({
|
|
672
|
+
flex: "1 1 auto",
|
|
673
|
+
minWidth: 0,
|
|
674
|
+
marginTop: 4,
|
|
675
|
+
marginBottom: 4,
|
|
676
|
+
[`.${K.root}:where(& .${k.primary})`]: {
|
|
677
|
+
display: "block"
|
|
678
|
+
},
|
|
679
|
+
[`.${K.root}:where(& .${k.secondary})`]: {
|
|
680
|
+
display: "block"
|
|
681
|
+
},
|
|
682
|
+
variants: [{
|
|
683
|
+
props: ({
|
|
684
|
+
ownerState: r
|
|
685
|
+
}) => r.primary && r.secondary,
|
|
686
|
+
style: {
|
|
687
|
+
marginTop: 6,
|
|
688
|
+
marginBottom: 6
|
|
689
|
+
}
|
|
690
|
+
}, {
|
|
691
|
+
props: ({
|
|
692
|
+
ownerState: r
|
|
693
|
+
}) => r.inset,
|
|
694
|
+
style: {
|
|
695
|
+
paddingLeft: 56
|
|
696
|
+
}
|
|
697
|
+
}]
|
|
698
|
+
}), qe = /* @__PURE__ */ T.forwardRef(function(o, n) {
|
|
699
|
+
const t = U({
|
|
700
|
+
props: o,
|
|
701
|
+
name: "MuiListItemText"
|
|
702
|
+
}), {
|
|
703
|
+
children: a,
|
|
704
|
+
className: s,
|
|
705
|
+
disableTypography: i = !1,
|
|
706
|
+
inset: u = !1,
|
|
707
|
+
primary: m,
|
|
708
|
+
primaryTypographyProps: l,
|
|
709
|
+
secondary: p,
|
|
710
|
+
secondaryTypographyProps: y,
|
|
711
|
+
slots: d = {},
|
|
712
|
+
slotProps: f = {},
|
|
713
|
+
...c
|
|
714
|
+
} = t, {
|
|
715
|
+
dense: v
|
|
716
|
+
} = T.useContext(_);
|
|
717
|
+
let b = m ?? a, g = p;
|
|
718
|
+
const O = {
|
|
719
|
+
...t,
|
|
720
|
+
disableTypography: i,
|
|
721
|
+
inset: u,
|
|
722
|
+
primary: !!b,
|
|
723
|
+
secondary: !!g,
|
|
724
|
+
dense: v
|
|
725
|
+
}, w = Ae(O), $ = {
|
|
726
|
+
slots: d,
|
|
727
|
+
slotProps: {
|
|
728
|
+
primary: l,
|
|
729
|
+
secondary: y,
|
|
730
|
+
...f
|
|
731
|
+
}
|
|
732
|
+
}, [L, M] = W("root", {
|
|
733
|
+
className: I(w.root, s),
|
|
734
|
+
elementType: Ue,
|
|
735
|
+
externalForwardedProps: {
|
|
736
|
+
...$,
|
|
737
|
+
...c
|
|
738
|
+
},
|
|
739
|
+
ownerState: O,
|
|
740
|
+
ref: n
|
|
741
|
+
}), [z, h] = W("primary", {
|
|
742
|
+
className: w.primary,
|
|
743
|
+
elementType: E,
|
|
744
|
+
externalForwardedProps: $,
|
|
745
|
+
ownerState: O
|
|
746
|
+
}), [D, V] = W("secondary", {
|
|
747
|
+
className: w.secondary,
|
|
748
|
+
elementType: E,
|
|
749
|
+
externalForwardedProps: $,
|
|
750
|
+
ownerState: O
|
|
751
|
+
});
|
|
752
|
+
return b != null && b.type !== E && !i && (b = /* @__PURE__ */ N(z, {
|
|
753
|
+
variant: v ? "body2" : "body1",
|
|
754
|
+
component: h != null && h.variant ? void 0 : "span",
|
|
755
|
+
...h,
|
|
756
|
+
children: b
|
|
757
|
+
})), g != null && g.type !== E && !i && (g = /* @__PURE__ */ N(D, {
|
|
758
|
+
variant: "body2",
|
|
759
|
+
color: "textSecondary",
|
|
760
|
+
...V,
|
|
761
|
+
children: g
|
|
762
|
+
})), /* @__PURE__ */ le(L, {
|
|
763
|
+
...M,
|
|
764
|
+
children: [b, g]
|
|
765
|
+
});
|
|
766
|
+
});
|
|
767
|
+
process.env.NODE_ENV !== "production" && (qe.propTypes = {
|
|
768
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
769
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
770
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
771
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
772
|
+
/**
|
|
773
|
+
* Alias for the `primary` prop.
|
|
774
|
+
*/
|
|
775
|
+
children: e.node,
|
|
776
|
+
/**
|
|
777
|
+
* Override or extend the styles applied to the component.
|
|
778
|
+
*/
|
|
779
|
+
classes: e.object,
|
|
780
|
+
/**
|
|
781
|
+
* @ignore
|
|
782
|
+
*/
|
|
783
|
+
className: e.string,
|
|
784
|
+
/**
|
|
785
|
+
* If `true`, the children won't be wrapped by a Typography component.
|
|
786
|
+
* This can be useful to render an alternative Typography variant by wrapping
|
|
787
|
+
* the `children` (or `primary`) text, and optional `secondary` text
|
|
788
|
+
* with the Typography component.
|
|
789
|
+
* @default false
|
|
790
|
+
*/
|
|
791
|
+
disableTypography: e.bool,
|
|
792
|
+
/**
|
|
793
|
+
* If `true`, the children are indented.
|
|
794
|
+
* This should be used if there is no left avatar or left icon.
|
|
795
|
+
* @default false
|
|
796
|
+
*/
|
|
797
|
+
inset: e.bool,
|
|
798
|
+
/**
|
|
799
|
+
* The main content element.
|
|
800
|
+
*/
|
|
801
|
+
primary: e.node,
|
|
802
|
+
/**
|
|
803
|
+
* These props will be forwarded to the primary typography component
|
|
804
|
+
* (as long as disableTypography is not `true`).
|
|
805
|
+
* @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.
|
|
806
|
+
*/
|
|
807
|
+
primaryTypographyProps: e.object,
|
|
808
|
+
/**
|
|
809
|
+
* The secondary content element.
|
|
810
|
+
*/
|
|
811
|
+
secondary: e.node,
|
|
812
|
+
/**
|
|
813
|
+
* These props will be forwarded to the secondary typography component
|
|
814
|
+
* (as long as disableTypography is not `true`).
|
|
815
|
+
* @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.
|
|
816
|
+
*/
|
|
817
|
+
secondaryTypographyProps: e.object,
|
|
818
|
+
/**
|
|
819
|
+
* The props used for each slot inside.
|
|
820
|
+
* @default {}
|
|
821
|
+
*/
|
|
822
|
+
slotProps: e.shape({
|
|
823
|
+
primary: e.oneOfType([e.func, e.object]),
|
|
824
|
+
root: e.oneOfType([e.func, e.object]),
|
|
825
|
+
secondary: e.oneOfType([e.func, e.object])
|
|
826
|
+
}),
|
|
827
|
+
/**
|
|
828
|
+
* The components used for each slot inside.
|
|
829
|
+
* @default {}
|
|
830
|
+
*/
|
|
831
|
+
slots: e.shape({
|
|
832
|
+
primary: e.elementType,
|
|
833
|
+
root: e.elementType,
|
|
834
|
+
secondary: e.elementType
|
|
835
|
+
}),
|
|
836
|
+
/**
|
|
837
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
838
|
+
*/
|
|
839
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
840
|
+
});
|
|
841
|
+
export {
|
|
842
|
+
Q as G,
|
|
843
|
+
Fe as L,
|
|
844
|
+
qe as a
|
|
845
|
+
};
|