@cgi-learning-hub/ui 1.4.0 → 1.5.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-CvizDCvx.cjs +1 -0
- package/dist/Alert-D7eKsj1P.js +452 -0
- package/dist/Autocomplete-Cfz4sLy8.js +1829 -0
- package/dist/Autocomplete-DjU6i3zL.cjs +6 -0
- package/dist/Backdrop-BM-OE2Q_.cjs +1 -0
- package/dist/{Backdrop-DdA12b-5.js → Backdrop-COiz4sPF.js} +20 -19
- package/dist/Box-BmfpLwYG.cjs +1 -0
- package/dist/{Box-DbRInJ2-.js → Box-C-j-U8SH.js} +7 -7
- package/dist/Button-BGWvL_UD.cjs +1 -0
- package/dist/{Button-rxIER0bL.js → Button-CQQdMCSm.js} +147 -113
- package/dist/{ButtonBase-DzpmdR6N.js → ButtonBase-CZFKUUHD.js} +4 -4
- package/dist/{ButtonBase-C2rhY3j-.cjs → ButtonBase-NqQjeQ4X.cjs} +1 -1
- package/dist/CardContent-GHLuvxgm.cjs +1 -0
- package/dist/{CardContent-u1MKaFvP.js → CardContent-sX9Bw4Ke.js} +3 -3
- package/dist/{Checkbox-BI77q7eR.js → Checkbox-1Zr36vDa.js} +23 -22
- package/dist/Checkbox-BZYoJieY.cjs +1 -0
- package/dist/{Chip-6-zATjcr.js → Chip-BsErraqe.js} +50 -49
- package/dist/Chip-Cu_SZxrx.cjs +1 -0
- package/dist/{CircularProgress-CDa_qU1a.js → CircularProgress-BBHGA0JX.js} +14 -13
- package/dist/CircularProgress-CdS7-HOv.cjs +28 -0
- package/dist/Close-ZXg7X3Tz.cjs +1 -0
- package/dist/Close-r-ZUhk0-.js +9 -0
- package/dist/{CloseRounded-DTpqUeWr.js → CloseRounded-B-eaQsyM.js} +1 -1
- package/dist/{CloseRounded-DQWTEbNz.cjs → CloseRounded-CWmxueMc.cjs} +1 -1
- package/dist/CustomTreeItem-BIl2yiro.cjs +4 -0
- package/dist/CustomTreeItem-BpAK85gf.js +1336 -0
- package/dist/{DatePicker-BTTLIBm9.js → DatePicker-CWMXTgRG.js} +3032 -3133
- package/dist/DatePicker-tyDzcyzu.cjs +14 -0
- package/dist/DefaultPropsProvider-BTnRBr0O.cjs +1 -0
- package/dist/{DefaultPropsProvider-BcmyIf2H.js → DefaultPropsProvider-CXfMJdg8.js} +24 -24
- package/dist/Delete-CpTtpM4U.cjs +1 -0
- package/dist/Delete-DKn2lIDB.js +8 -0
- package/dist/Dialog-DIHzs0ro.cjs +1 -0
- package/dist/{Dialog-CgBiKk8B.js → Dialog-pU1ZAttp.js} +17 -16
- package/dist/DialogContent-B-9ga3Wv.cjs +1 -0
- package/dist/{DialogContent-SYCCu1VD.js → DialogContent-BEgapieO.js} +3 -3
- package/dist/DialogTitle-B_UN_oL2.cjs +1 -0
- package/dist/{DialogTitle-_yayDwkI.js → DialogTitle-Dcls3mcZ.js} +5 -5
- package/dist/{Divider-Doy31VS6.js → Divider-CT4XaEn6.js} +8 -8
- package/dist/Divider-iYLSpFUc.cjs +1 -0
- package/dist/Folder-DWD_1Fux.cjs +1 -0
- package/dist/Folder-DoEl37QZ.js +8 -0
- package/dist/{FormLabel-DjkS3S9h.js → FormLabel-BF6m-_uI.js} +68 -76
- package/dist/FormLabel-Cp2OFw8d.cjs +2 -0
- package/dist/{Grow-DPD-iBAX.js → Grow-Bk7XkPFP.js} +14 -13
- package/dist/Grow-DXY5DOqR.cjs +1 -0
- package/dist/IconButton-BLZJne06.cjs +2 -0
- package/dist/{IconButton-B4bt0Hp2.js → IconButton-BQW0xjdH.js} +27 -26
- package/dist/InputAdornment-C0WI_oQg.cjs +1 -0
- package/dist/{InputAdornment-GzDm1zf_.js → InputAdornment-C6UfLaud.js} +9 -8
- package/dist/InputBase-B3KOyouT.cjs +3 -0
- package/dist/{InputBase-CF5oNEfh.js → InputBase-YOnatBxw.js} +41 -40
- package/dist/{Link-CnahHTmK.js → Link-C3rf4gqc.js} +11 -10
- package/dist/Link-lvpmE2yz.cjs +1 -0
- package/dist/List-CFInjv2S.js +130 -0
- package/dist/List-PQXGlDbt.cjs +1 -0
- package/dist/ListItem-BAAZxsu5.js +423 -0
- package/dist/ListItem-CWEvdMjN.cjs +1 -0
- package/dist/ListItemText-BhxrnTkb.cjs +1 -0
- package/dist/ListItemText-CADHegDF.js +928 -0
- package/dist/{Menu-DzBX10ev.js → Menu-BgO92SV3.js} +302 -424
- package/dist/Menu-DBacrp-P.cjs +7 -0
- package/dist/{MenuItem-DQQ-p2ie.js → MenuItem-B8eWAj8E.js} +72 -77
- package/dist/MenuItem-DkcVAo3U.cjs +1 -0
- package/dist/{Modal-B8JRJWm0.js → Modal-CFv4UMTP.js} +8 -8
- package/dist/{Modal-D8lS9C1l.cjs → Modal-kUvS-N46.cjs} +2 -2
- package/dist/MoreVert-B_Gz5Gfx.cjs +1 -0
- package/dist/MoreVert-Dq8BqKg4.js +8 -0
- package/dist/Paper-ByOgFIEE.cjs +2 -0
- package/dist/{Paper-CbgkVQVx.js → Paper-DeL_n4k9.js} +4 -4
- package/dist/{Popper-1-DDNRPD.js → Popper-BKxRTMsO.js} +31 -30
- package/dist/Popper-CsQqc5DE.cjs +4 -0
- package/dist/{Portal-T-1Qk77D.js → Portal-7MKUQzjh.js} +2 -2
- package/dist/Portal-DhGy1jKe.cjs +1 -0
- package/dist/{Radio-BxMxeQa-.js → Radio-BVfoGshx.js} +9 -8
- package/dist/Radio-DG-k6cXx.cjs +1 -0
- package/dist/{RadioGroup-BLrD8_Lp.js → RadioGroup-DcqRUtV8.js} +3 -3
- package/dist/RadioGroup-Dd0mX-H2.cjs +1 -0
- package/dist/{Select-B6mYfJPA.js → Select-Vnsr3NSv.js} +49 -48
- package/dist/Select-b6liJFDI.cjs +3 -0
- package/dist/{Stack-aCUdCw1A.js → Stack-PQFKjbdN.js} +104 -59
- package/dist/Stack-gtxG2YLo.cjs +1 -0
- package/dist/Switch-BlwDxL6O.cjs +1 -0
- package/dist/{Switch-BOpqo-TS.js → Switch-Bn8zlIOf.js} +11 -10
- package/dist/SwitchBase-DtKlxrES.cjs +1 -0
- package/dist/{SwitchBase-BAjfatYA.js → SwitchBase-QwOXoy8f.js} +21 -20
- package/dist/Tab-A0R3g6rB.js +1394 -0
- package/dist/Tab-Dx7V4E6B.cjs +4 -0
- package/dist/TextField-CB2n4aV8.cjs +1 -0
- package/dist/{TextField-CAmc1Qpg.js → TextField-Di6Nfe3O.js} +18 -17
- package/dist/ToggleButtonGroup-B-zfmsAO.js +7716 -0
- package/dist/ToggleButtonGroup-D3bdznCl.cjs +137 -0
- package/dist/Tooltip-D0jvnXYu.cjs +4 -0
- package/dist/{Tooltip-BvVFPsVR.js → Tooltip-KTkLBRQj.js} +30 -29
- package/dist/Typography-3CpuuLtj.cjs +1 -0
- package/dist/{Typography-CE8fQQ8B.js → Typography-DZ11k9cZ.js} +13 -12
- package/dist/capitalize-B3tmp8MO.cjs +1 -0
- package/dist/capitalize-Bs7Xs33U.js +9 -0
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.d.ts +3 -3
- package/dist/components/Alert/Alert.es.js +5 -20
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +2 -2
- 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 +2 -3
- 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.d.ts +2 -0
- package/dist/components/Dropzone/Dropzone.es.js +33 -30
- package/dist/components/Dropzone/types.cjs.js +1 -0
- package/dist/components/Dropzone/types.d.ts +8 -0
- package/dist/components/Dropzone/types.es.js +1 -0
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +10 -2
- package/dist/components/EmptyState/EmptyState.es.js +26 -26
- 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 +14 -13
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -0
- package/dist/components/FolderCard/FolderCard.d.ts +11 -0
- package/dist/components/FolderCard/FolderCard.es.js +79 -0
- package/dist/components/FolderCard/index.cjs.js +1 -0
- package/dist/components/FolderCard/index.d.ts +2 -0
- package/dist/components/FolderCard/index.es.js +4 -0
- package/dist/components/FolderCard/styles.cjs.js +1 -0
- package/dist/components/FolderCard/styles.d.ts +20 -0
- package/dist/components/FolderCard/styles.es.js +23 -0
- package/dist/components/FolderCard/types.cjs.js +1 -0
- package/dist/components/FolderCard/types.d.ts +3 -0
- package/dist/components/FolderCard/types.es.js +14 -0
- 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 +54 -51
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +8 -9
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +4 -5
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
- package/dist/components/PasswordInput/PasswordInput.es.js +28 -37
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +23 -20
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +21 -23
- 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 -0
- package/dist/components/TreeView/TreeView.d.ts +4 -0
- package/dist/components/TreeView/TreeView.es.js +1890 -0
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -0
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +6 -0
- package/dist/components/TreeView/components/CustomTreeItem.es.js +8 -0
- package/dist/components/TreeView/index.cjs.js +1 -0
- package/dist/components/TreeView/index.d.ts +2 -0
- package/dist/components/TreeView/index.es.js +6 -0
- package/dist/components/TreeView/style.cjs.js +1 -0
- package/dist/components/TreeView/style.es.js +29 -0
- package/dist/components/TreeView/types.cjs.js +1 -0
- package/dist/components/TreeView/types.d.ts +41 -0
- package/dist/components/TreeView/types.es.js +4 -0
- package/dist/components/TreeView/utils.cjs.js +1 -0
- package/dist/components/TreeView/utils.d.ts +6 -0
- package/dist/components/TreeView/utils.es.js +50 -0
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +12 -1
- package/dist/components/index.es.js +368 -344
- 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 +3 -0
- package/dist/components/stories/Autocomplete.stories.d.ts +6 -0
- package/dist/components/stories/Autocomplete.stories.es.js +62 -0
- 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/EmptyState.stories.cjs.js +1 -1
- package/dist/components/stories/EmptyState.stories.es.js +23 -7
- package/dist/components/stories/FolderCard.stories.cjs.js +1 -0
- package/dist/components/stories/FolderCard.stories.d.ts +7 -0
- package/dist/components/stories/FolderCard.stories.es.js +71 -0
- 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 +21 -184
- 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 +69 -0
- package/dist/components/stories/TreeView.stories.d.ts +13 -0
- package/dist/components/stories/TreeView.stories.es.js +786 -0
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/createSvgIcon-2wwaxLPT.cjs +1 -0
- package/dist/{createSvgIcon-CCejzj0C.js → createSvgIcon-BFqOnlgU.js} +19 -18
- package/dist/{dividerClasses-DN9F43tq.js → dividerClasses-BYkvalOn.js} +1 -1
- package/dist/dividerClasses-izm7KFVg.cjs +1 -0
- package/dist/{elementTypeAcceptingRef-CrAqn_fc.js → elementTypeAcceptingRef-1usJq_B8.js} +1 -1
- package/dist/elementTypeAcceptingRef-GoqLuvj1.cjs +1 -0
- package/dist/extendSxProp-Bv3E507G.cjs +1 -0
- package/dist/{extendSxProp-DFv-GFt5.js → extendSxProp-D_IkoDXB.js} +1 -1
- package/dist/{identifier-D58rA1gM.js → generateUtilityClasses-CqzQXpT_.js} +885 -855
- package/dist/generateUtilityClasses-KugHyZhN.cjs +75 -0
- package/dist/getReactElementRef-D7IvykPI.cjs +1 -0
- package/dist/getReactElementRef-DtLerx40.js +31 -0
- package/dist/index-9hEUqvaJ.cjs +1 -0
- package/dist/index-BomeQRLD.cjs +5 -0
- package/dist/{index-BGS2uu2L.js → index-C7WfZsMe.js} +1 -1
- package/dist/{index-ClXCinr6.js → index-CFIk4hVM.js} +4 -4
- package/dist/index-DS8G_wjP.cjs +1 -0
- package/dist/index-sDFEVHTg.js +22 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +368 -344
- package/dist/isMuiElement-BzDAj3yJ.cjs +1 -0
- package/dist/isMuiElement-DnSE4qG4.js +13 -0
- package/dist/listItemTextClasses-C0D3xQur.js +9 -0
- package/dist/listItemTextClasses-CQXcckDA.cjs +1 -0
- package/dist/{memoTheme-DyiN-Awd.js → memoTheme-B0xVysYu.js} +1 -1
- package/dist/{memoTheme-C8EfvlY1.cjs → memoTheme-WwIyYqBX.cjs} +1 -1
- package/dist/{refType-B86yTZra.js → refType-BvSJNaoq.js} +1 -1
- package/dist/refType-D-n-tVSl.cjs +1 -0
- package/dist/resolveComponentProps-Byi_59AN.cjs +1 -0
- package/dist/{resolveComponentProps-0QnU-fDT.js → resolveComponentProps-Ctw0-dUN.js} +1 -1
- package/dist/{useSlot-CyXLaLc2.cjs → useSlot-CGbU9jGm.cjs} +1 -1
- package/dist/{useSlot-CZNcsPv1.js → useSlot-CqjfyGd9.js} +1 -1
- package/dist/useSlotProps-Ceyorp-u.js +25 -0
- package/dist/useSlotProps-DfO7r_4Y.cjs +1 -0
- package/dist/{useTheme-DxxkErdZ.js → useTheme-2JCMQS-E.js} +1 -1
- package/dist/useTheme-B6wow4M9.cjs +1 -0
- package/dist/useTheme-DepbBZga.js +11 -0
- package/dist/useTheme-MahNaB8C.cjs +1 -0
- package/dist/useThemeProps-BqypsO1h.cjs +1 -0
- package/dist/{useThemeProps-BGZrRNnL.js → useThemeProps-Cuazh32X.js} +2 -2
- package/dist/useThemeProps-Drd5oJEF.js +17 -0
- package/dist/{useThemeProps-CpNQz1Ap.cjs → useThemeProps-RdxbcMsR.cjs} +1 -1
- package/dist/{utils-SrEVp7Pm.js → utils-BVg32WSe.js} +76 -104
- package/dist/utils-CUU5fjzL.cjs +1 -0
- package/package.json +2 -1
- package/dist/Backdrop-COarwgJj.cjs +0 -1
- package/dist/Box-C0mEbUoK.cjs +0 -1
- package/dist/Button-1tZRtOeG.cjs +0 -1
- package/dist/CardContent-BXjX98Jd.cjs +0 -1
- package/dist/Checkbox-C6CIGK27.cjs +0 -1
- package/dist/Chip-CAPnyZyW.cjs +0 -1
- package/dist/CircularProgress-DTVP6gln.cjs +0 -28
- package/dist/DatePicker-CJ5-Udgh.cjs +0 -14
- package/dist/DefaultPropsProvider-QmkL7lbM.cjs +0 -1
- package/dist/Dialog-Cmv58WoN.cjs +0 -1
- package/dist/DialogContent-CGEdCDYk.cjs +0 -1
- package/dist/DialogTitle-Dxm2NHs7.cjs +0 -1
- package/dist/Divider-D_LVNUqS.cjs +0 -1
- package/dist/FormLabel-D0gSgwnj.cjs +0 -2
- package/dist/Grow-D7scX77o.cjs +0 -1
- package/dist/IconButton-Edo5JMfQ.cjs +0 -2
- package/dist/InputAdornment-C9NrmB_z.cjs +0 -1
- package/dist/InputBase-CgOQ0M4_.cjs +0 -3
- package/dist/Link-CAbb9OCV.cjs +0 -1
- package/dist/Menu-C-R0FVOB.cjs +0 -7
- package/dist/MenuItem-Cp1_Q0FD.cjs +0 -1
- package/dist/Paper-C-oPGpbI.cjs +0 -2
- package/dist/Popper-uw9PkkLY.cjs +0 -4
- package/dist/Portal-bIKnnWR4.cjs +0 -1
- package/dist/Radio-CvCkmq8g.cjs +0 -1
- package/dist/RadioGroup-Ya-I8Lz1.cjs +0 -1
- package/dist/Select-KMdcuol6.cjs +0 -3
- package/dist/Stack-C6v70ALA.cjs +0 -1
- package/dist/Switch-DF4bSjED.cjs +0 -1
- package/dist/SwitchBase-7zONZyYP.cjs +0 -1
- package/dist/Tabs-CrWcC5nJ.js +0 -1225
- package/dist/Tabs-Dploq_37.cjs +0 -4
- package/dist/TextField-BC7GvvHh.cjs +0 -1
- package/dist/ToggleButtonGroup-BCVgsika.cjs +0 -140
- package/dist/ToggleButtonGroup-ekxVeQCc.js +0 -10461
- package/dist/Tooltip-CWA-GKdK.cjs +0 -4
- package/dist/Typography-DEAE8-8u.cjs +0 -1
- package/dist/components/TextInput/TextInput.cjs.js +0 -1
- package/dist/components/TextInput/TextInput.d.ts +0 -4
- package/dist/components/TextInput/TextInput.es.js +0 -6
- package/dist/components/TextInput/index.cjs.js +0 -1
- package/dist/components/TextInput/index.d.ts +0 -2
- package/dist/components/TextInput/index.es.js +0 -4
- package/dist/createSvgIcon-Dn4BBPej.cjs +0 -1
- package/dist/dividerClasses-Zk1QmrZw.cjs +0 -1
- package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +0 -1
- package/dist/extendSxProp-BB6jYY1x.cjs +0 -1
- package/dist/fr-B3qrCNcK.js +0 -312
- package/dist/fr-JE-1WKP6.cjs +0 -1
- package/dist/identifier-5n4d7br9.cjs +0 -75
- package/dist/index-5BAFzrXD.cjs +0 -1
- package/dist/index-CFm-oAsb.cjs +0 -1
- package/dist/index-CJW5gB6d.cjs +0 -5
- package/dist/index-DwHI-aa0.js +0 -45
- package/dist/refType-CjW6JOBA.cjs +0 -1
- package/dist/resolveComponentProps-D0sgyopa.cjs +0 -1
- package/dist/useTheme-Bi8B4Op1.cjs +0 -1
- package/dist/useTheme-C_2IF7CS.cjs +0 -1
- package/dist/useTheme-Clhsq4HW.js +0 -11
- package/dist/useThemeProps-C6qniHmV.js +0 -17
- package/dist/useThemeProps-Dq3GRYN1.cjs +0 -1
- package/dist/utils-D4if93Yl.cjs +0 -1
- /package/dist/assets/{styles.css → Loader.css} +0 -0
- /package/dist/assets/{styles2.css → LoaderBackdrop.css} +0 -0
|
@@ -3,12 +3,12 @@ import { styled as u, ListItemButton as b, ListItem as I, Box as l, CircularProg
|
|
|
3
3
|
import w from "../EllipsisWithTooltip/EllipsisWithTooltip.es.js";
|
|
4
4
|
import { FileIcon as S } from "./FileIcon.es.js";
|
|
5
5
|
import { FileInfosSeparator as h } from "./FileInfosSeparator.es.js";
|
|
6
|
-
import { displaySize as
|
|
7
|
-
import { S as a } from "../../Stack-
|
|
8
|
-
import { T as p } from "../../Typography-
|
|
9
|
-
import { c as
|
|
10
|
-
import { C as j } from "../../CloseRounded-
|
|
11
|
-
const z =
|
|
6
|
+
import { displaySize as R, displayExtension as v } from "./utils.es.js";
|
|
7
|
+
import { S as a } from "../../Stack-PQFKjbdN.js";
|
|
8
|
+
import { T as p } from "../../Typography-DZ11k9cZ.js";
|
|
9
|
+
import { c as C } from "../../createSvgIcon-BFqOnlgU.js";
|
|
10
|
+
import { C as j } from "../../CloseRounded-B-eaQsyM.js";
|
|
11
|
+
const z = C(/* @__PURE__ */ r("path", {
|
|
12
12
|
d: "M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"
|
|
13
13
|
}), "DownloadRounded"), H = u(b)(
|
|
14
14
|
({ isClickable: t }) => ({
|
|
@@ -26,7 +26,8 @@ const z = R(/* @__PURE__ */ r("path", {
|
|
|
26
26
|
width: "100%",
|
|
27
27
|
justifyContent: "space-between",
|
|
28
28
|
boxSizing: "border-box",
|
|
29
|
-
paddingRight: "115px !important"
|
|
29
|
+
paddingRight: "115px !important",
|
|
30
|
+
userSelect: "text"
|
|
30
31
|
})
|
|
31
32
|
), M = ({
|
|
32
33
|
file: t,
|
|
@@ -35,7 +36,7 @@ const z = R(/* @__PURE__ */ r("path", {
|
|
|
35
36
|
onDownload: s
|
|
36
37
|
}) => {
|
|
37
38
|
if (!t.name) return null;
|
|
38
|
-
const
|
|
39
|
+
const o = R(t.size), i = v(t.name), x = () => e == null ? void 0 : e(t), g = (d) => {
|
|
39
40
|
d.stopPropagation(), c == null || c(t);
|
|
40
41
|
}, y = (d) => {
|
|
41
42
|
d.stopPropagation(), s == null || s(t);
|
|
@@ -53,7 +54,7 @@ const z = R(/* @__PURE__ */ r("path", {
|
|
|
53
54
|
{
|
|
54
55
|
onClick: x,
|
|
55
56
|
isClickable: !!e,
|
|
56
|
-
|
|
57
|
+
disableRipple: !e,
|
|
57
58
|
children: /* @__PURE__ */ n(a, { direction: "row", alignItems: "center", spacing: 2, minWidth: "0", children: [
|
|
58
59
|
/* @__PURE__ */ r(
|
|
59
60
|
a,
|
|
@@ -76,7 +77,7 @@ const z = R(/* @__PURE__ */ r("path", {
|
|
|
76
77
|
alignItems: "center",
|
|
77
78
|
justifyContent: "center",
|
|
78
79
|
display: "flex",
|
|
79
|
-
children: /* @__PURE__ */ r(S, { extension:
|
|
80
|
+
children: /* @__PURE__ */ r(S, { extension: i ?? "" })
|
|
80
81
|
}
|
|
81
82
|
)
|
|
82
83
|
}
|
|
@@ -98,10 +99,10 @@ const z = R(/* @__PURE__ */ r("path", {
|
|
|
98
99
|
alignItems: "center",
|
|
99
100
|
gap: 1,
|
|
100
101
|
children: [
|
|
101
|
-
i && /* @__PURE__ */ r(p, { variant: "caption", color: "text.secondary", children: i }),
|
|
102
|
-
i && o && /* @__PURE__ */ r(h, {}),
|
|
103
102
|
o && /* @__PURE__ */ r(p, { variant: "caption", color: "text.secondary", children: o }),
|
|
104
|
-
|
|
103
|
+
o && i && /* @__PURE__ */ r(h, {}),
|
|
104
|
+
i && /* @__PURE__ */ r(p, { variant: "caption", color: "text.secondary", children: i }),
|
|
105
|
+
t.ownerName && (o || i) && /* @__PURE__ */ r(h, {}),
|
|
105
106
|
t.ownerName && /* @__PURE__ */ r(p, { variant: "caption", color: "text.secondary", children: t.ownerName })
|
|
106
107
|
]
|
|
107
108
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),h=require("../../Folder-DWD_1Fux.cjs"),m=require("../../MoreVert-B_Gz5Gfx.cjs"),s=require("@mui/material"),p=require("../EllipsisWithTooltip/EllipsisWithTooltip.cjs.js"),n=require("./styles.cjs.js"),d=require("../ResourceCard/style.cjs.js"),c=require("./types.cjs.js"),f=({isSelected:o=!1,onSelect:l=()=>{},title:x,subtitle:a,width:y="320px",onClick:t=()=>{},iconSize:u="2rem"})=>{const i=e=>e.key==="Enter"||e.key===" ";return r.jsx(s.Box,{sx:{width:y},children:r.jsxs(d.StyledCard,{selected:o,onClick:t,onKeyDown:e=>{i(e)&&(e.preventDefault(),t==null||t())},role:"button",tabIndex:0,"aria-labelledby":"folder-title folder-subtitle","aria-pressed":o,children:[r.jsx(d.SelectedIcon,{onClick:e=>{e.preventDefault(),e.stopPropagation(),l()},onKeyDown:e=>{i(e)&&(e.preventDefault(),e.stopPropagation(),l())},className:"selected-icon",selected:o,role:"button",tabIndex:0,"aria-label":o?"Unselect folder":"Select folder","aria-pressed":o,children:r.jsx(m.MoreVertIcon,{})}),r.jsxs(s.CardContent,{sx:n.FolderBodyStyle,children:[r.jsx(s.Box,{fontSize:u,sx:n.IconContainerStyle,children:r.jsx(h.FolderIcon,{color:"primary",sx:n.FolderIconStyle,"aria-hidden":"true"})}),r.jsxs(s.Box,{sx:n.TextContainerStyle,children:[r.jsx(p,{typographyProps:c.titleTypographyProps,tooltipProps:{placement:"bottom",arrow:!0},children:x}),a&&r.jsx(p,{typographyProps:c.subtitleTypographyProps,tooltipProps:{placement:"bottom",arrow:!0},children:a})]})]})]})})};module.exports=f;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type FolderCardProps = {
|
|
2
|
+
isSelected?: boolean;
|
|
3
|
+
onSelect?: () => void;
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
width?: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
iconSize?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const FolderCard: React.FunctionComponent<FolderCardProps>;
|
|
11
|
+
export default FolderCard;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { F as f } from "../../Folder-DoEl37QZ.js";
|
|
3
|
+
import { M as c } from "../../MoreVert-Dq8BqKg4.js";
|
|
4
|
+
import { Box as l, CardContent as h } from "@mui/material";
|
|
5
|
+
import i from "../EllipsisWithTooltip/EllipsisWithTooltip.es.js";
|
|
6
|
+
import { FolderBodyStyle as x, IconContainerStyle as u, FolderIconStyle as b, TextContainerStyle as P } from "./styles.es.js";
|
|
7
|
+
import { StyledCard as I, SelectedIcon as g } from "../ResourceCard/style.es.js";
|
|
8
|
+
import { titleTypographyProps as D, subtitleTypographyProps as F } from "./types.es.js";
|
|
9
|
+
const E = ({
|
|
10
|
+
isSelected: e = !1,
|
|
11
|
+
onSelect: p = () => {
|
|
12
|
+
},
|
|
13
|
+
title: d,
|
|
14
|
+
subtitle: n,
|
|
15
|
+
width: m = "320px",
|
|
16
|
+
onClick: t = () => {
|
|
17
|
+
},
|
|
18
|
+
iconSize: y = "2rem"
|
|
19
|
+
}) => {
|
|
20
|
+
const s = (r) => r.key === "Enter" || r.key === " ";
|
|
21
|
+
return /* @__PURE__ */ o(l, { sx: { width: m }, children: /* @__PURE__ */ a(
|
|
22
|
+
I,
|
|
23
|
+
{
|
|
24
|
+
selected: e,
|
|
25
|
+
onClick: t,
|
|
26
|
+
onKeyDown: (r) => {
|
|
27
|
+
s(r) && (r.preventDefault(), t == null || t());
|
|
28
|
+
},
|
|
29
|
+
role: "button",
|
|
30
|
+
tabIndex: 0,
|
|
31
|
+
"aria-labelledby": "folder-title folder-subtitle",
|
|
32
|
+
"aria-pressed": e,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ o(
|
|
35
|
+
g,
|
|
36
|
+
{
|
|
37
|
+
onClick: (r) => {
|
|
38
|
+
r.preventDefault(), r.stopPropagation(), p();
|
|
39
|
+
},
|
|
40
|
+
onKeyDown: (r) => {
|
|
41
|
+
s(r) && (r.preventDefault(), r.stopPropagation(), p());
|
|
42
|
+
},
|
|
43
|
+
className: "selected-icon",
|
|
44
|
+
selected: e,
|
|
45
|
+
role: "button",
|
|
46
|
+
tabIndex: 0,
|
|
47
|
+
"aria-label": e ? "Unselect folder" : "Select folder",
|
|
48
|
+
"aria-pressed": e,
|
|
49
|
+
children: /* @__PURE__ */ o(c, {})
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
/* @__PURE__ */ a(h, { sx: x, children: [
|
|
53
|
+
/* @__PURE__ */ o(l, { fontSize: y, sx: u, children: /* @__PURE__ */ o(f, { color: "primary", sx: b, "aria-hidden": "true" }) }),
|
|
54
|
+
/* @__PURE__ */ a(l, { sx: P, children: [
|
|
55
|
+
/* @__PURE__ */ o(
|
|
56
|
+
i,
|
|
57
|
+
{
|
|
58
|
+
typographyProps: D,
|
|
59
|
+
tooltipProps: { placement: "bottom", arrow: !0 },
|
|
60
|
+
children: d
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
n && /* @__PURE__ */ o(
|
|
64
|
+
i,
|
|
65
|
+
{
|
|
66
|
+
typographyProps: F,
|
|
67
|
+
tooltipProps: { placement: "bottom", arrow: !0 },
|
|
68
|
+
children: n
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] })
|
|
72
|
+
] })
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
) });
|
|
76
|
+
};
|
|
77
|
+
export {
|
|
78
|
+
E as default
|
|
79
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./FolderCard.cjs.js");exports.FolderCard=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={display:"flex",padding:"16px !important",width:"100%",alignItems:"center"},t={marginRight:".8rem",fontSize:"inherit"},n={flex:15,alignItems:"center",display:"flex",justifyContent:"center"},o={flex:85,minWidth:0};exports.FolderBodyStyle=e;exports.FolderIconStyle=t;exports.IconContainerStyle=n;exports.TextContainerStyle=o;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const FolderBodyStyle: {
|
|
2
|
+
display: string;
|
|
3
|
+
padding: string;
|
|
4
|
+
width: string;
|
|
5
|
+
alignItems: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const FolderIconStyle: {
|
|
8
|
+
marginRight: string;
|
|
9
|
+
fontSize: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const IconContainerStyle: {
|
|
12
|
+
flex: number;
|
|
13
|
+
alignItems: string;
|
|
14
|
+
display: string;
|
|
15
|
+
justifyContent: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const TextContainerStyle: {
|
|
18
|
+
flex: number;
|
|
19
|
+
minWidth: number;
|
|
20
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const t = {
|
|
2
|
+
display: "flex",
|
|
3
|
+
padding: "16px !important",
|
|
4
|
+
width: "100%",
|
|
5
|
+
alignItems: "center"
|
|
6
|
+
}, e = {
|
|
7
|
+
marginRight: ".8rem",
|
|
8
|
+
fontSize: "inherit"
|
|
9
|
+
}, n = {
|
|
10
|
+
flex: 15,
|
|
11
|
+
alignItems: "center",
|
|
12
|
+
display: "flex",
|
|
13
|
+
justifyContent: "center"
|
|
14
|
+
}, i = {
|
|
15
|
+
flex: 85,
|
|
16
|
+
minWidth: 0
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
t as FolderBodyStyle,
|
|
20
|
+
e as FolderIconStyle,
|
|
21
|
+
n as IconContainerStyle,
|
|
22
|
+
i as TextContainerStyle
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={fontWeight:"700",id:"folder-title",variant:"body1"},o={fontWeight:"400",fontStyle:"italic",id:"folder-subtitle",variant:"body2"};exports.subtitleTypographyProps=o;exports.titleTypographyProps=t;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const t = {
|
|
2
|
+
fontWeight: "700",
|
|
3
|
+
id: "folder-title",
|
|
4
|
+
variant: "body1"
|
|
5
|
+
}, o = {
|
|
6
|
+
fontWeight: "400",
|
|
7
|
+
fontStyle: "italic",
|
|
8
|
+
id: "folder-subtitle",
|
|
9
|
+
variant: "body2"
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
o as subtitleTypographyProps,
|
|
13
|
+
t as titleTypographyProps
|
|
14
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const d=require("react/jsx-runtime"),c=require("../../Stack-
|
|
1
|
+
"use strict";const d=require("react/jsx-runtime"),c=require("../../Stack-gtxG2YLo.cjs"),j=require("../../Typography-3CpuuLtj.cjs"),y=({title:u,IconComponent:g,iconColor:n,iconProps:h,iconSize:e=28,titleProps:a,...x})=>d.jsxs(c.Stack,{direction:"row",alignItems:"center",gap:1,...x,children:[g?d.jsx(g,{sx:{fontSize:e,padding:"2px",borderRadius:1,color:n==null?void 0:n[500],backgroundColor:n==null?void 0:n[50]},...h}):null,d.jsx(j.Typography,{component:(a==null?void 0:a.component)??"h3",variant:(a==null?void 0:a.variant)??"h2",fontWeight:(a==null?void 0:a.fontWeight)??400,...a,children:u})]});module.exports=y;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as x, jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { S } from "../../Stack-
|
|
3
|
-
import { T as b } from "../../Typography-
|
|
2
|
+
import { S } from "../../Stack-PQFKjbdN.js";
|
|
3
|
+
import { T as b } from "../../Typography-DZ11k9cZ.js";
|
|
4
4
|
const y = ({
|
|
5
5
|
title: n,
|
|
6
6
|
IconComponent: g,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),h=require("../../createSvgIcon-2wwaxLPT.cjs"),v=require("../../Delete-CpTtpM4U.cjs"),o=require("@mui/material"),p=require("react"),C=require("../../index-BomeQRLD.cjs"),w=require("../../Stack-gtxG2YLo.cjs"),i=require("../../Typography-3CpuuLtj.cjs"),g=h.createSvgIcon(e.jsx("path",{d:"M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"}),"AddPhotoAlternate"),D=h.createSvgIcon(e.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Create"),F=()=>e.jsxs(i.Typography,{textAlign:"center",fontSize:"14px",color:"grey.darker",children:[e.jsx(o.Box,{component:"span",fontWeight:"bold",children:"Glissez-déposez"})," ","ou"," ",e.jsx(o.Box,{component:"span",fontWeight:"bold",children:"cliquez"})," ","pour choisir une image"]}),A=()=>e.jsxs(i.Typography,{textAlign:"center",fontSize:"14px",color:"grey.darker",children:[e.jsx(o.Box,{component:"span",fontWeight:"bold",children:"Glissez"})," ","une image"]}),q=({defaultLabel:x=e.jsx(F,{}),dragLabel:m=e.jsx(A,{}),information:n,onFileChange:l=r=>{},width:u="160px",height:j="160px",initialFile:s=null,...y})=>{const[r,c]=p.useState(s);p.useEffect(()=>{c(s)},[s]);const f=t=>{const d=t[0]||null;c(d),l(d)},b=t=>{t.stopPropagation(),c(null),l(null)},k=t=>{t.stopPropagation(),a()},{open:a,getRootProps:z,getInputProps:I,isDragActive:S}=C.useDropzone({...y,maxFiles:1,onDropAccepted:f,accept:{"image/*":[".png",".jpeg",".jpg",".gif"]},noClick:!0});return e.jsxs(w.Stack,{direction:"column",justifyContent:"center",alignItems:"center",width:u,minWidth:"150px",minHeight:"150px",height:j,borderRadius:1,sx:{cursor:"pointer",position:"relative",background:`${!r&&"linear-gradient(180deg, #F5F7F9 0%, #FFF 100%)"}`,border:`${!r&&"1px dashed"}`,borderColor:t=>!r&&t.palette.grey.main},...z({onClick:a}),children:[e.jsx("input",{...I()}),r?e.jsxs(e.Fragment,{children:[e.jsxs(o.Box,{sx:{position:"absolute",top:"0.5rem",right:"0.5rem",display:"flex",gap:"0.3rem"},children:[e.jsx(o.Box,{onClick:k,sx:{backgroundColor:"common.white",display:"flex",borderRadius:"3px",alignItems:"center",justifyContent:"center",boxShadow:1,width:"2rem",height:"2rem",cursor:"pointer","&:hover":{backgroundColor:"grey.darker","& .MuiSvgIcon-root":{fill:t=>t.palette.common.white}}},children:e.jsx(D,{fontSize:"small"})}),e.jsx(o.Box,{onClick:b,sx:{backgroundColor:"common.white",display:"flex",borderRadius:"3px",alignItems:"center",boxShadow:1,justifyContent:"center",width:"2rem",height:"2rem",cursor:"pointer","&:hover":{backgroundColor:"grey.darker","& .MuiSvgIcon-root":{fill:t=>t.palette.common.white}}},children:e.jsx(v.DeleteIcon,{fontSize:"small"})})]}),e.jsx("img",{src:typeof r=="string"?r:URL.createObjectURL(r),alt:typeof r=="string"?r:r.name,style:{width:"100%",height:"100%",maxWidth:"100%",objectFit:"cover",borderRadius:"5px"}})]}):e.jsx(e.Fragment,{children:S?e.jsxs(e.Fragment,{children:[e.jsx(g,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),m,n&&e.jsx(i.Typography,{textAlign:"center",fontSize:"12px",color:"grey",children:n})]}):e.jsxs(o.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",padding:"0.5rem",gap:"0.3rem"},children:[e.jsx(g,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),x,n&&e.jsx(i.Typography,{textAlign:"center",fontSize:"12px",color:"grey",children:n})]})})]})};module.exports=q;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { jsx as e, jsxs as o, Fragment as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as e, jsxs as o, Fragment as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as g } from "../../createSvgIcon-BFqOnlgU.js";
|
|
3
|
+
import { D as w } from "../../Delete-DKn2lIDB.js";
|
|
3
4
|
import { Box as n } from "@mui/material";
|
|
4
|
-
import { useState as
|
|
5
|
-
import { u as
|
|
6
|
-
import { S as F } from "../../Stack-
|
|
7
|
-
import { T as l } from "../../Typography-
|
|
8
|
-
const
|
|
5
|
+
import { useState as D, useEffect as A } from "react";
|
|
6
|
+
import { u as j } from "../../index-C7WfZsMe.js";
|
|
7
|
+
import { S as F } from "../../Stack-PQFKjbdN.js";
|
|
8
|
+
import { T as l } from "../../Typography-DZ11k9cZ.js";
|
|
9
|
+
const h = g(/* @__PURE__ */ e("path", {
|
|
9
10
|
d: "M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"
|
|
10
|
-
}), "AddPhotoAlternate"),
|
|
11
|
+
}), "AddPhotoAlternate"), P = g(/* @__PURE__ */ e("path", {
|
|
11
12
|
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
12
|
-
}), "Create"),
|
|
13
|
-
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
14
|
-
}), "Delete"), P = () => /* @__PURE__ */ o(l, { textAlign: "center", fontSize: "14px", color: "grey.darker", children: [
|
|
13
|
+
}), "Create"), R = () => /* @__PURE__ */ o(l, { textAlign: "center", fontSize: "14px", color: "grey.darker", children: [
|
|
15
14
|
/* @__PURE__ */ e(n, { component: "span", fontWeight: "bold", children: "Glissez-déposez" }),
|
|
16
15
|
" ",
|
|
17
16
|
"ou",
|
|
@@ -23,30 +22,34 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
23
22
|
/* @__PURE__ */ e(n, { component: "span", fontWeight: "bold", children: "Glissez" }),
|
|
24
23
|
" ",
|
|
25
24
|
"une image"
|
|
26
|
-
] }),
|
|
27
|
-
defaultLabel:
|
|
28
|
-
dragLabel:
|
|
25
|
+
] }), $ = ({
|
|
26
|
+
defaultLabel: u = /* @__PURE__ */ e(R, {}),
|
|
27
|
+
dragLabel: x = /* @__PURE__ */ e(M, {}),
|
|
29
28
|
information: i,
|
|
30
|
-
onFileChange:
|
|
29
|
+
onFileChange: d = (r) => {
|
|
31
30
|
},
|
|
32
|
-
width:
|
|
33
|
-
height:
|
|
34
|
-
initialFile:
|
|
31
|
+
width: f = "160px",
|
|
32
|
+
height: y = "160px",
|
|
33
|
+
initialFile: c = null,
|
|
35
34
|
...b
|
|
36
35
|
}) => {
|
|
37
|
-
const [
|
|
38
|
-
|
|
39
|
-
)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
},
|
|
36
|
+
const [r, a] = D(
|
|
37
|
+
c
|
|
38
|
+
);
|
|
39
|
+
A(() => {
|
|
40
|
+
a(c);
|
|
41
|
+
}, [c]);
|
|
42
|
+
const k = (t) => {
|
|
43
|
+
const m = t[0] || null;
|
|
44
|
+
a(m), d(m);
|
|
45
|
+
}, z = (t) => {
|
|
46
|
+
t.stopPropagation(), a(null), d(null);
|
|
47
|
+
}, C = (t) => {
|
|
48
|
+
t.stopPropagation(), p();
|
|
49
|
+
}, { open: p, getRootProps: I, getInputProps: S, isDragActive: v } = j({
|
|
47
50
|
...b,
|
|
48
51
|
maxFiles: 1,
|
|
49
|
-
onDropAccepted:
|
|
52
|
+
onDropAccepted: k,
|
|
50
53
|
accept: {
|
|
51
54
|
"image/*": [".png", ".jpeg", ".jpg", ".gif"]
|
|
52
55
|
},
|
|
@@ -58,24 +61,24 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
58
61
|
direction: "column",
|
|
59
62
|
justifyContent: "center",
|
|
60
63
|
alignItems: "center",
|
|
61
|
-
width:
|
|
64
|
+
width: f,
|
|
62
65
|
minWidth: "150px",
|
|
63
66
|
minHeight: "150px",
|
|
64
|
-
height:
|
|
67
|
+
height: y,
|
|
65
68
|
borderRadius: 1,
|
|
66
69
|
sx: {
|
|
67
70
|
cursor: "pointer",
|
|
68
71
|
position: "relative",
|
|
69
|
-
background: `${!
|
|
70
|
-
border: `${!
|
|
71
|
-
borderColor: (
|
|
72
|
+
background: `${!r && "linear-gradient(180deg, #F5F7F9 0%, #FFF 100%)"}`,
|
|
73
|
+
border: `${!r && "1px dashed"}`,
|
|
74
|
+
borderColor: (t) => !r && t.palette.grey.main
|
|
72
75
|
},
|
|
73
|
-
...
|
|
76
|
+
...I({
|
|
74
77
|
onClick: p
|
|
75
78
|
}),
|
|
76
79
|
children: [
|
|
77
|
-
/* @__PURE__ */ e("input", { ...
|
|
78
|
-
|
|
80
|
+
/* @__PURE__ */ e("input", { ...S() }),
|
|
81
|
+
r ? /* @__PURE__ */ o(s, { children: [
|
|
79
82
|
/* @__PURE__ */ o(
|
|
80
83
|
n,
|
|
81
84
|
{
|
|
@@ -90,7 +93,7 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
90
93
|
/* @__PURE__ */ e(
|
|
91
94
|
n,
|
|
92
95
|
{
|
|
93
|
-
onClick:
|
|
96
|
+
onClick: C,
|
|
94
97
|
sx: {
|
|
95
98
|
backgroundColor: "common.white",
|
|
96
99
|
display: "flex",
|
|
@@ -104,17 +107,17 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
104
107
|
"&:hover": {
|
|
105
108
|
backgroundColor: "grey.darker",
|
|
106
109
|
"& .MuiSvgIcon-root": {
|
|
107
|
-
fill: (
|
|
110
|
+
fill: (t) => t.palette.common.white
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
},
|
|
111
|
-
children: /* @__PURE__ */ e(
|
|
114
|
+
children: /* @__PURE__ */ e(P, { fontSize: "small" })
|
|
112
115
|
}
|
|
113
116
|
),
|
|
114
117
|
/* @__PURE__ */ e(
|
|
115
118
|
n,
|
|
116
119
|
{
|
|
117
|
-
onClick:
|
|
120
|
+
onClick: z,
|
|
118
121
|
sx: {
|
|
119
122
|
backgroundColor: "common.white",
|
|
120
123
|
display: "flex",
|
|
@@ -128,11 +131,11 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
128
131
|
"&:hover": {
|
|
129
132
|
backgroundColor: "grey.darker",
|
|
130
133
|
"& .MuiSvgIcon-root": {
|
|
131
|
-
fill: (
|
|
134
|
+
fill: (t) => t.palette.common.white
|
|
132
135
|
}
|
|
133
136
|
}
|
|
134
137
|
},
|
|
135
|
-
children: /* @__PURE__ */ e(
|
|
138
|
+
children: /* @__PURE__ */ e(w, { fontSize: "small" })
|
|
136
139
|
}
|
|
137
140
|
)
|
|
138
141
|
]
|
|
@@ -141,8 +144,8 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
141
144
|
/* @__PURE__ */ e(
|
|
142
145
|
"img",
|
|
143
146
|
{
|
|
144
|
-
src: typeof
|
|
145
|
-
alt: typeof
|
|
147
|
+
src: typeof r == "string" ? r : URL.createObjectURL(r),
|
|
148
|
+
alt: typeof r == "string" ? r : r.name,
|
|
146
149
|
style: {
|
|
147
150
|
width: "100%",
|
|
148
151
|
height: "100%",
|
|
@@ -152,9 +155,9 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
152
155
|
}
|
|
153
156
|
}
|
|
154
157
|
)
|
|
155
|
-
] }) : /* @__PURE__ */ e(
|
|
158
|
+
] }) : /* @__PURE__ */ e(s, { children: v ? /* @__PURE__ */ o(s, { children: [
|
|
156
159
|
/* @__PURE__ */ e(
|
|
157
|
-
|
|
160
|
+
h,
|
|
158
161
|
{
|
|
159
162
|
color: "primary",
|
|
160
163
|
style: {
|
|
@@ -163,7 +166,7 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
163
166
|
}
|
|
164
167
|
}
|
|
165
168
|
),
|
|
166
|
-
|
|
169
|
+
x,
|
|
167
170
|
i && /* @__PURE__ */ e(l, { textAlign: "center", fontSize: "12px", color: "grey", children: i })
|
|
168
171
|
] }) : /* @__PURE__ */ o(
|
|
169
172
|
n,
|
|
@@ -177,7 +180,7 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
177
180
|
},
|
|
178
181
|
children: [
|
|
179
182
|
/* @__PURE__ */ e(
|
|
180
|
-
|
|
183
|
+
h,
|
|
181
184
|
{
|
|
182
185
|
color: "primary",
|
|
183
186
|
style: {
|
|
@@ -186,7 +189,7 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
186
189
|
}
|
|
187
190
|
}
|
|
188
191
|
),
|
|
189
|
-
|
|
192
|
+
u,
|
|
190
193
|
i && /* @__PURE__ */ e(l, { textAlign: "center", fontSize: "12px", color: "grey", children: i })
|
|
191
194
|
]
|
|
192
195
|
}
|
|
@@ -196,5 +199,5 @@ const m = a(/* @__PURE__ */ e("path", {
|
|
|
196
199
|
);
|
|
197
200
|
};
|
|
198
201
|
export {
|
|
199
|
-
|
|
202
|
+
$ as default
|
|
200
203
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../../assets/
|
|
1
|
+
"use strict";require('../../assets/Loader.css');const e=require("react/jsx-runtime"),r=require("../../Box-BmfpLwYG.cjs"),s=({})=>e.jsx(r.Box,{className:"cs-loader",color:"primary.main",children:e.jsxs(r.Box,{className:"cs-loader-inner",children:[e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"})]})});module.exports=s;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */ r("label", { children: "●" })
|
|
1
|
+
import { jsx as l, jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import { B as r } from "../../Box-C-j-U8SH.js";
|
|
3
|
+
import '../../assets/Loader.css';const o = ({}) => /* @__PURE__ */ l(r, { className: "cs-loader", color: "primary.main", children: /* @__PURE__ */ e(r, { className: "cs-loader-inner", children: [
|
|
4
|
+
/* @__PURE__ */ l("label", { children: "●" }),
|
|
5
|
+
/* @__PURE__ */ l("label", { children: "●" }),
|
|
6
|
+
/* @__PURE__ */ l("label", { children: "●" }),
|
|
7
|
+
/* @__PURE__ */ l("label", { children: "●" })
|
|
9
8
|
] }) });
|
|
10
9
|
export {
|
|
11
|
-
|
|
10
|
+
o as default
|
|
12
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../../assets/
|
|
1
|
+
"use strict";require('../../assets/LoaderBackdrop.css');const r=require("react/jsx-runtime"),e=require("../../Backdrop-BM-OE2Q_.cjs"),c=require("../../Box-BmfpLwYG.cjs"),l=({})=>r.jsx(e.Backdrop,{open:!0,sx:{bgcolor:"background.default"},children:r.jsxs(c.Box,{className:"cs-loader-backdrop-inner",color:"primary.main",children:[r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"})]})});module.exports=l;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
const n = ({}) => /* @__PURE__ */ r(e, { open: !0, sx: { bgcolor: "background.default" }, children: /* @__PURE__ */ o(l, { className: "cs-loader-backdrop-inner", color: "primary.main", children: [
|
|
1
|
+
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import { B as l } from "../../Backdrop-COiz4sPF.js";
|
|
3
|
+
import { B as o } from "../../Box-C-j-U8SH.js";
|
|
4
|
+
import '../../assets/LoaderBackdrop.css';const n = ({}) => /* @__PURE__ */ r(l, { open: !0, sx: { bgcolor: "background.default" }, children: /* @__PURE__ */ e(o, { className: "cs-loader-backdrop-inner", color: "primary.main", children: [
|
|
6
5
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
7
6
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
8
7
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),l=require("react"),d=require("../../TextField-CB2n4aV8.cjs"),a=require("../../InputAdornment-C0WI_oQg.cjs"),u=require("../../IconButton-BLZJne06.cjs"),n=require("../../createSvgIcon-2wwaxLPT.cjs"),p=n.createSvgIcon(s.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),w=n.createSvgIcon(s.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff"),x=o=>{const[t,i]=l.useState(!1),c=()=>i(e=>!e),r=e=>{e.preventDefault()};return s.jsx(d.TextField,{...o,type:t?"text":"password",slotProps:{input:{endAdornment:s.jsx(a.InputAdornment,{position:"end",children:s.jsx(u.IconButton,{"aria-label":"toggle password visibility",onClick:c,onMouseDown:r,edge:"end",children:t?s.jsx(w,{}):s.jsx(p,{})})})}}})};module.exports=x;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { TextFieldProps } from '@mui/material/TextField';
|
|
1
2
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export type PasswordInputProps = {} & Omit<InputTextProps, "variant" | "type">;
|
|
3
|
+
export type PasswordInputProps = Omit<TextFieldProps, "variant" | "type">;
|
|
4
4
|
declare const PasswordInput: React.FunctionComponent<PasswordInputProps>;
|
|
5
5
|
export default PasswordInput;
|