@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740498210

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.
Files changed (297) hide show
  1. package/dist/Backdrop-COarwgJj.cjs +1 -0
  2. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-DdA12b-5.js} +79 -82
  3. package/dist/Box-C0mEbUoK.cjs +1 -0
  4. package/dist/{Box-Byz2BwGf.js → Box-DbRInJ2-.js} +8 -8
  5. package/dist/Button-1tZRtOeG.cjs +1 -0
  6. package/dist/Button-rxIER0bL.js +662 -0
  7. package/dist/ButtonBase-C2rhY3j-.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-DzpmdR6N.js} +334 -334
  9. package/dist/CardContent-BXjX98Jd.cjs +1 -0
  10. package/dist/CardContent-u1MKaFvP.js +226 -0
  11. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-BI77q7eR.js} +26 -27
  12. package/dist/Checkbox-C6CIGK27.cjs +1 -0
  13. package/dist/Chip-6-zATjcr.js +521 -0
  14. package/dist/Chip-CAPnyZyW.cjs +1 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CDa_qU1a.js} +19 -20
  16. package/dist/CircularProgress-DTVP6gln.cjs +28 -0
  17. package/dist/CloseRounded-DQWTEbNz.cjs +1 -0
  18. package/dist/CloseRounded-DTpqUeWr.js +8 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-BTTLIBm9.js} +3110 -3600
  20. package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
  21. package/dist/DefaultPropsProvider-BcmyIf2H.js +303 -0
  22. package/dist/DefaultPropsProvider-QmkL7lbM.cjs +1 -0
  23. package/dist/Dialog-CgBiKk8B.js +477 -0
  24. package/dist/Dialog-Cmv58WoN.cjs +1 -0
  25. package/dist/DialogContent-CGEdCDYk.cjs +1 -0
  26. package/dist/{DialogContent-uc65XOEU.js → DialogContent-SYCCu1VD.js} +13 -13
  27. package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
  28. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-_yayDwkI.js} +30 -30
  29. package/dist/Divider-D_LVNUqS.cjs +1 -0
  30. package/dist/{Divider-KO-E6nU8.js → Divider-Doy31VS6.js} +8 -8
  31. package/dist/FormLabel-D0gSgwnj.cjs +2 -0
  32. package/dist/{FormLabel-CfR4bb21.js → FormLabel-DjkS3S9h.js} +130 -133
  33. package/dist/Grow-D7scX77o.cjs +1 -0
  34. package/dist/{Grow-CQVPAYvp.js → Grow-DPD-iBAX.js} +46 -43
  35. package/dist/{IconButton-CekuyD4r.js → IconButton-B4bt0Hp2.js} +134 -67
  36. package/dist/IconButton-Edo5JMfQ.cjs +2 -0
  37. package/dist/InputAdornment-C9NrmB_z.cjs +1 -0
  38. package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-GzDm1zf_.js} +17 -17
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-CF5oNEfh.js} +216 -211
  40. package/dist/InputBase-CgOQ0M4_.cjs +3 -0
  41. package/dist/Link-CAbb9OCV.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-CnahHTmK.js} +49 -50
  43. package/dist/Menu-C-R0FVOB.cjs +7 -0
  44. package/dist/{Menu-C7tKmcAh.js → Menu-DzBX10ev.js} +56 -57
  45. package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-DQQ-p2ie.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-B8JRJWm0.js} +99 -98
  48. package/dist/Modal-D8lS9C1l.cjs +2 -0
  49. package/dist/Paper-C-oPGpbI.cjs +2 -0
  50. package/dist/{Paper-BG4Vk_Um.js → Paper-CbgkVQVx.js} +8 -8
  51. package/dist/{Popper-DFZ_gRev.js → Popper-1-DDNRPD.js} +241 -243
  52. package/dist/Popper-uw9PkkLY.cjs +4 -0
  53. package/dist/{Portal-JEwcozmp.js → Portal-T-1Qk77D.js} +34 -39
  54. package/dist/Portal-bIKnnWR4.cjs +1 -0
  55. package/dist/Radio-BxMxeQa-.js +567 -0
  56. package/dist/Radio-CvCkmq8g.cjs +1 -0
  57. package/dist/RadioGroup-BLrD8_Lp.js +190 -0
  58. package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
  59. package/dist/{Select-DmssuG5M.js → Select-B6mYfJPA.js} +419 -402
  60. package/dist/Select-KMdcuol6.cjs +3 -0
  61. package/dist/Stack-C6v70ALA.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-aCUdCw1A.js} +60 -105
  63. package/dist/Switch-BOpqo-TS.js +329 -0
  64. package/dist/Switch-DF4bSjED.cjs +1 -0
  65. package/dist/SwitchBase-7zONZyYP.cjs +1 -0
  66. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-BAjfatYA.js} +35 -36
  67. package/dist/{Tabs-CYbeTnJk.js → Tabs-CrWcC5nJ.js} +299 -301
  68. package/dist/Tabs-Dploq_37.cjs +4 -0
  69. package/dist/TextField-BC7GvvHh.cjs +1 -0
  70. package/dist/{TextField-Cri5Gxa7.js → TextField-CAmc1Qpg.js} +31 -30
  71. package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
  72. package/dist/ToggleButtonGroup-ekxVeQCc.js +10461 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-BvVFPsVR.js} +32 -33
  74. package/dist/Tooltip-CWA-GKdK.cjs +4 -0
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DBwTr_ix.js → Typography-CE8fQQ8B.js} +15 -16
  78. package/dist/Typography-DEAE8-8u.cjs +1 -0
  79. package/dist/components/Alert/Alert.es.js +13 -4
  80. package/dist/components/Button/Button.cjs.js +1 -1
  81. package/dist/components/Button/Button.d.ts +1 -2
  82. package/dist/components/Button/Button.es.js +12 -325
  83. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  84. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  85. package/dist/components/DatePicker/index.cjs.js +1 -1
  86. package/dist/components/DatePicker/index.es.js +1 -1
  87. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  88. package/dist/components/Dialog/Dialog.es.js +12 -14
  89. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  90. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  91. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  92. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  93. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  94. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  95. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  96. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  97. package/dist/components/FileList/FileIcon.d.ts +3 -0
  98. package/dist/components/FileList/FileIcon.es.js +56 -0
  99. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  100. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  101. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  102. package/dist/components/FileList/FileList.cjs.js +1 -1
  103. package/dist/components/FileList/FileList.d.ts +5 -3
  104. package/dist/components/FileList/FileList.es.js +22 -15
  105. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  106. package/dist/components/FileList/FileListItem.d.ts +9 -5
  107. package/dist/components/FileList/FileListItem.es.js +117 -24
  108. package/dist/components/FileList/utils.cjs.js +1 -0
  109. package/dist/components/FileList/utils.d.ts +2 -0
  110. package/dist/components/FileList/utils.es.js +13 -0
  111. package/dist/components/Heading/Heading.cjs.js +1 -1
  112. package/dist/components/Heading/Heading.es.js +2 -2
  113. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  114. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  115. package/dist/components/Loader/Loader.cjs.js +1 -1
  116. package/dist/components/Loader/Loader.d.ts +1 -2
  117. package/dist/components/Loader/Loader.es.js +1 -1
  118. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  119. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  121. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  122. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  123. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  124. package/dist/components/QueryError/QueryError.d.ts +2 -2
  125. package/dist/components/QueryError/QueryError.es.js +14 -14
  126. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  127. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  128. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  129. package/dist/components/ResourceCard/index.cjs.js +1 -0
  130. package/dist/components/ResourceCard/index.d.ts +2 -0
  131. package/dist/components/ResourceCard/index.es.js +4 -0
  132. package/dist/components/ResourceCard/style.cjs.js +1 -0
  133. package/dist/components/ResourceCard/style.es.js +125 -0
  134. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  135. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  136. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  137. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  138. package/dist/components/TextInput/TextInput.es.js +1 -1
  139. package/dist/components/index.cjs.js +1 -1
  140. package/dist/components/index.d.ts +35 -0
  141. package/dist/components/index.es.js +348 -294
  142. package/dist/components/stories/Button.stories.cjs.js +1 -1
  143. package/dist/components/stories/Button.stories.es.js +1 -1
  144. package/dist/components/stories/Card.stories.cjs.js +1 -1
  145. package/dist/components/stories/Card.stories.es.js +17 -168
  146. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  147. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  148. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  149. package/dist/components/stories/Chip.stories.d.ts +10 -0
  150. package/dist/components/stories/Chip.stories.es.js +77 -0
  151. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  152. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  153. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  154. package/dist/components/stories/Dialog.stories.es.js +2 -2
  155. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  156. package/dist/components/stories/Divider.stories.es.js +5 -5
  157. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  158. package/dist/components/stories/FileList.stories.es.js +144 -20
  159. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  160. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  161. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  162. package/dist/components/stories/Heading.stories.es.js +2 -2
  163. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  164. package/dist/components/stories/IconButton.stories.es.js +2 -2
  165. package/dist/components/stories/Link.stories.cjs.js +1 -1
  166. package/dist/components/stories/Link.stories.es.js +1 -1
  167. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  168. package/dist/components/stories/Menu.stories.es.js +16 -16
  169. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  170. package/dist/components/stories/Paper.stories.es.js +1 -1
  171. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  172. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  173. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  174. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  175. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  176. package/dist/components/stories/Select.stories.cjs.js +1 -1
  177. package/dist/components/stories/Select.stories.es.js +3 -3
  178. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  179. package/dist/components/stories/TabList.stories.es.js +14 -14
  180. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  181. package/dist/components/stories/TextField.stories.es.js +3 -3
  182. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  183. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  184. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  185. package/dist/components/stories/Typography.stories.es.js +1 -1
  186. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-CCejzj0C.js} +49 -48
  187. package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
  188. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-DN9F43tq.js} +3 -3
  189. package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
  190. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
  191. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
  192. package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
  193. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-DFv-GFt5.js} +3 -3
  194. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  195. package/dist/hooks/lazySvgImport.d.ts +1 -1
  196. package/dist/identifier-5n4d7br9.cjs +75 -0
  197. package/dist/identifier-D58rA1gM.js +3267 -0
  198. package/dist/index-5BAFzrXD.cjs +1 -0
  199. package/dist/{index-CwvpOCso.js → index-BGS2uu2L.js} +29 -29
  200. package/dist/index-CFm-oAsb.cjs +1 -0
  201. package/dist/index-CJW5gB6d.cjs +5 -0
  202. package/dist/{index-BCnPLuqJ.js → index-ClXCinr6.js} +22 -22
  203. package/dist/index-DwHI-aa0.js +45 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
  207. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-DyiN-Awd.js} +1 -1
  208. package/dist/{refType-DKYKROQk.js → refType-B86yTZra.js} +1 -1
  209. package/dist/refType-CjW6JOBA.cjs +1 -0
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-0QnU-fDT.js} +7 -7
  211. package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CZNcsPv1.js +48 -0
  215. package/dist/useSlot-CyXLaLc2.cjs +1 -0
  216. package/dist/useTheme-Bi8B4Op1.cjs +1 -0
  217. package/dist/useTheme-C_2IF7CS.cjs +1 -0
  218. package/dist/useTheme-Clhsq4HW.js +11 -0
  219. package/dist/{useTheme-_xyy-wul.js → useTheme-DxxkErdZ.js} +1 -1
  220. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BGZrRNnL.js} +2 -2
  221. package/dist/useThemeProps-C6qniHmV.js +17 -0
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
  223. package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
  224. package/dist/utils-D4if93Yl.cjs +1 -0
  225. package/dist/{utils-C6c4fj7D.js → utils-SrEVp7Pm.js} +41 -41
  226. package/package.json +9 -9
  227. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  228. package/dist/Box-mP2Th61z.cjs +0 -1
  229. package/dist/Button-BH9MUvmz.cjs +0 -1
  230. package/dist/Button-BnNYfQ3E.js +0 -484
  231. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  232. package/dist/Card-AJG0TUOx.js +0 -74
  233. package/dist/Card-NqCXQteq.cjs +0 -1
  234. package/dist/Checkbox-DYrDbdy1.cjs +0 -1
  235. package/dist/CircularProgress-BByrCLjv.cjs +0 -28
  236. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  237. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  238. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  239. package/dist/Delete-BkZN7Xu5.js +0 -8
  240. package/dist/Delete-D1EiKoL5.cjs +0 -1
  241. package/dist/Dialog-D_lS4J_M.js +0 -415
  242. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  243. package/dist/DialogContent-Dj_OjLZ6.cjs +0 -1
  244. package/dist/DialogTitle-BboPDaoB.cjs +0 -1
  245. package/dist/Divider-CcrM3lNn.cjs +0 -1
  246. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  247. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  248. package/dist/FormGroup-CbczEc6e.js +0 -95
  249. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  250. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  251. package/dist/Grow-CUBJs6WD.cjs +0 -1
  252. package/dist/IconButton-CJfzspZK.cjs +0 -2
  253. package/dist/InputAdornment-Cq0WhPxF.cjs +0 -1
  254. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  255. package/dist/Link-CWczkFp0.cjs +0 -1
  256. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  257. package/dist/MenuItem-BZ_EVaBq.cjs +0 -1
  258. package/dist/Modal-DImrEpYJ.cjs +0 -2
  259. package/dist/Paper-Cr56xkCr.cjs +0 -2
  260. package/dist/Popper-YT5WAMV-.cjs +0 -4
  261. package/dist/Portal-DF0RKOcD.cjs +0 -1
  262. package/dist/Radio-CVAEGXKi.cjs +0 -1
  263. package/dist/Radio-DGhot3Cd.js +0 -313
  264. package/dist/Select-CwAWNiiv.cjs +0 -3
  265. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  266. package/dist/SwitchBase-DjIY_KWB.cjs +0 -1
  267. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  268. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  269. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  270. package/dist/TextField-BI9KVqjC.cjs +0 -1
  271. package/dist/Tooltip-DhDtvULK.cjs +0 -4
  272. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  273. package/dist/Typography-DfRMDngd.cjs +0 -1
  274. package/dist/capitalize-B3GG7Wn6.cjs +0 -1
  275. package/dist/capitalize-CkF8kU4n.js +0 -9
  276. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  277. package/dist/dividerClasses-CCAY3Pnr.cjs +0 -1
  278. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +0 -1
  279. package/dist/extendSxProp-apyK-EBz.cjs +0 -1
  280. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  281. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  282. package/dist/index-Aa73Kpym.cjs +0 -1
  283. package/dist/index-ChM1Ett8.cjs +0 -5
  284. package/dist/index-Cw0GDedk.cjs +0 -17
  285. package/dist/index-DXD5J5Eu.js +0 -186
  286. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  287. package/dist/refType-CoaxQOPt.cjs +0 -1
  288. package/dist/useSlot-BTpHG6jf.js +0 -50
  289. package/dist/useSlot-CByalpSD.cjs +0 -1
  290. package/dist/useSlotProps-B31YQlzb.js +0 -45
  291. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  292. package/dist/useTheme-Cy5kyKJF.cjs +0 -1
  293. package/dist/useTheme-Dukx-__T.cjs +0 -1
  294. package/dist/useTheme-DyaNKf4e.js +0 -11
  295. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  296. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  297. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -1,335 +1,22 @@
1
- import { jsxs as E, jsx as s } from "react/jsx-runtime";
2
- import { s as g, u as M, c as S } from "../../DefaultPropsProvider-CvJPQJmL.js";
3
- import * as P from "react";
4
- import { I as R, H as T, P as n } from "../../generateUtilityClasses-Bssl7BA_.js";
5
- import { B as j, a as z, r as O } from "../../Button-BnNYfQ3E.js";
6
- import { m as h } from "../../memoTheme-D7Fyh_3C.js";
7
- import { c } from "../../capitalize-CkF8kU4n.js";
8
- import { u as k } from "../../useId-CK6Kn3Tn.js";
9
- import { c as U } from "../../chainPropTypes-D9lkm76m.js";
10
- import { C as W } from "../../CircularProgress-Kwlef5fX.js";
11
- function N(t) {
12
- return T("MuiLoadingButton", t);
13
- }
14
- const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator", "loadingIndicatorCenter", "loadingIndicatorStart", "loadingIndicatorEnd", "endIconLoadingEnd", "startIconLoadingStart"]), D = (t) => {
15
- const {
16
- loading: o,
17
- loadingPosition: i,
18
- classes: e
19
- } = t, u = {
20
- root: ["root", o && "loading"],
21
- label: ["label"],
22
- startIcon: [o && `startIconLoading${c(i)}`],
23
- endIcon: [o && `endIconLoading${c(i)}`],
24
- loadingIndicator: ["loadingIndicator", o && `loadingIndicator${c(i)}`]
25
- }, d = S(u, N, e);
26
- return {
27
- ...e,
28
- // forward the outlined, color, etc. classes to Button
29
- ...d
30
- };
31
- }, F = (t) => t !== "ownerState" && t !== "theme" && t !== "sx" && t !== "as" && t !== "classes", H = g(j, {
32
- shouldForwardProp: (t) => F(t) || t === "classes",
33
- name: "MuiLoadingButton",
34
- slot: "Root",
35
- overridesResolver: (t, o) => [o.root, o.startIconLoadingStart && {
36
- [`& .${a.startIconLoadingStart}`]: o.startIconLoadingStart
37
- }, o.endIconLoadingEnd && {
38
- [`& .${a.endIconLoadingEnd}`]: o.endIconLoadingEnd
39
- }]
40
- })(h(({
41
- theme: t
42
- }) => ({
43
- display: "inline-flex",
44
- [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
45
- transition: t.transitions.create(["opacity"], {
46
- duration: t.transitions.duration.short
47
- }),
48
- opacity: 0
49
- },
50
- variants: [{
51
- props: {
52
- loadingPosition: "center"
53
- },
54
- style: {
55
- transition: t.transitions.create(["background-color", "box-shadow", "border-color"], {
56
- duration: t.transitions.duration.short
57
- }),
58
- [`&.${a.loading}`]: {
59
- color: "transparent"
60
- }
61
- }
62
- }, {
63
- props: ({
64
- ownerState: o
65
- }) => o.loadingPosition === "start" && o.fullWidth,
66
- style: {
67
- [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
68
- transition: t.transitions.create(["opacity"], {
69
- duration: t.transitions.duration.short
70
- }),
71
- opacity: 0,
72
- marginRight: -8
73
- }
74
- }
75
- }, {
76
- props: ({
77
- ownerState: o
78
- }) => o.loadingPosition === "end" && o.fullWidth,
79
- style: {
80
- [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
81
- transition: t.transitions.create(["opacity"], {
82
- duration: t.transitions.duration.short
83
- }),
84
- opacity: 0,
85
- marginLeft: -8
86
- }
87
- }
88
- }]
89
- }))), G = g("span", {
90
- name: "MuiLoadingButton",
91
- slot: "LoadingIndicator",
92
- overridesResolver: (t, o) => {
93
- const {
94
- ownerState: i
95
- } = t;
96
- return [o.loadingIndicator, o[`loadingIndicator${c(i.loadingPosition)}`]];
97
- }
98
- })(h(({
99
- theme: t
100
- }) => ({
101
- position: "absolute",
102
- visibility: "visible",
103
- display: "flex",
104
- variants: [{
105
- props: {
106
- loadingPosition: "start",
107
- size: "small"
108
- },
109
- style: {
110
- left: 10
111
- }
112
- }, {
113
- props: ({
114
- loadingPosition: o,
115
- ownerState: i
116
- }) => o === "start" && i.size !== "small",
117
- style: {
118
- left: 14
119
- }
120
- }, {
121
- props: {
122
- variant: "text",
123
- loadingPosition: "start"
124
- },
125
- style: {
126
- left: 6
127
- }
128
- }, {
129
- props: {
130
- loadingPosition: "center"
131
- },
132
- style: {
133
- left: "50%",
134
- transform: "translate(-50%)",
135
- color: (t.vars || t).palette.action.disabled
136
- }
137
- }, {
138
- props: {
139
- loadingPosition: "end",
140
- size: "small"
141
- },
142
- style: {
143
- right: 10
144
- }
145
- }, {
146
- props: ({
147
- loadingPosition: o,
148
- ownerState: i
149
- }) => o === "end" && i.size !== "small",
150
- style: {
151
- right: 14
152
- }
153
- }, {
154
- props: {
155
- variant: "text",
156
- loadingPosition: "end"
157
- },
158
- style: {
159
- right: 6
160
- }
161
- }, {
162
- props: ({
163
- ownerState: o
164
- }) => o.loadingPosition === "start" && o.fullWidth,
165
- style: {
166
- position: "relative",
167
- left: -10
168
- }
169
- }, {
170
- props: ({
171
- ownerState: o
172
- }) => o.loadingPosition === "end" && o.fullWidth,
173
- style: {
174
- position: "relative",
175
- right: -10
176
- }
177
- }]
178
- }))), v = g("span", {
179
- name: "MuiLoadingButton",
180
- slot: "Label",
181
- overridesResolver: (t, o) => [o.label]
182
- })({
183
- display: "inherit",
184
- alignItems: "inherit",
185
- justifyContent: "inherit"
186
- }), B = /* @__PURE__ */ P.forwardRef(function(o, i) {
187
- const e = P.useContext(z), u = O(e, o), d = M({
188
- props: u,
189
- name: "MuiLoadingButton"
190
- }), {
191
- children: m,
192
- disabled: f = !1,
193
- id: C,
194
- loading: p = !1,
195
- loadingIndicator: x,
196
- loadingPosition: $ = "center",
197
- variant: I = "text",
198
- ...w
199
- } = d, b = k(C), y = x ?? /* @__PURE__ */ s(W, {
200
- "aria-labelledby": b,
201
- color: "inherit",
202
- size: 16
203
- }), r = {
204
- ...d,
205
- disabled: f,
206
- loading: p,
207
- loadingIndicator: y,
208
- loadingPosition: $,
209
- variant: I
210
- }, l = D(r), L = p ? /* @__PURE__ */ s(G, {
211
- className: l.loadingIndicator,
212
- ownerState: r,
213
- children: y
214
- }) : null;
215
- return /* @__PURE__ */ E(H, {
216
- disabled: f || p,
217
- id: b,
218
- ref: i,
219
- ...w,
220
- variant: I,
221
- classes: l,
222
- ownerState: r,
223
- children: [r.loadingPosition === "end" ? /* @__PURE__ */ s(v, {
224
- className: l.label,
225
- children: m
226
- }) : L, r.loadingPosition === "end" ? L : /* @__PURE__ */ s(v, {
227
- className: l.label,
228
- children: m
229
- })]
230
- });
231
- });
232
- process.env.NODE_ENV !== "production" && (B.propTypes = {
233
- // ┌────────────────────────────── Warning ──────────────────────────────┐
234
- // │ These PropTypes are generated from the TypeScript type definitions. │
235
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
236
- // └─────────────────────────────────────────────────────────────────────┘
237
- /**
238
- * The content of the component.
239
- */
240
- children: n.node,
241
- /**
242
- * Override or extend the styles applied to the component.
243
- */
244
- classes: n.object,
245
- /**
246
- * If `true`, the component is disabled.
247
- * @default false
248
- */
249
- disabled: n.bool,
250
- /**
251
- * @ignore
252
- */
253
- id: n.string,
254
- /**
255
- * If `true`, the loading indicator is shown and the button becomes disabled.
256
- * @default false
257
- */
258
- loading: n.bool,
259
- /**
260
- * Element placed before the children if the button is in loading state.
261
- * The node should contain an element with `role="progressbar"` with an accessible name.
262
- * By default we render a `CircularProgress` that is labelled by the button itself.
263
- * @default <CircularProgress color="inherit" size={16} />
264
- */
265
- loadingIndicator: n.node,
266
- /**
267
- * The loading indicator can be positioned on the start, end, or the center of the button.
268
- * @default 'center'
269
- */
270
- loadingPosition: U(n.oneOf(["start", "end", "center"]), (t) => t.loadingPosition === "start" && !t.startIcon ? new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.') : t.loadingPosition === "end" && !t.endIcon ? new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.') : null),
271
- /**
272
- * The system prop that allows defining system overrides as well as additional CSS styles.
273
- */
274
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
275
- /**
276
- * The variant to use.
277
- * @default 'text'
278
- */
279
- variant: n.oneOfType([n.oneOf(["contained", "outlined", "text"]), n.string])
280
- });
281
- const V = g(B)(({ color: t, theme: o }) => ({
282
- justifyContent: "center",
283
- alignItems: "center",
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { s as e } from "../../DefaultPropsProvider-BcmyIf2H.js";
3
+ import { B as n } from "../../Button-rxIER0bL.js";
4
+ const i = e(n)(({ color: t, theme: o }) => ({
284
5
  minHeight: 38,
285
6
  textTransform: "none",
286
- color: t,
287
- borderColor: t,
288
- borderRadius: 5,
289
- borderWidth: 2,
290
7
  transition: "all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
291
- "&.MuiButton-contained": {
292
- color: o.palette.common.white
293
- },
294
8
  "&.MuiButton-outlined": {
295
9
  borderRadius: 5,
296
- borderWidth: 2,
297
- "&.MuiButton-colorPrimary": {
298
- "&:active": {
299
- borderColor: o.palette.primary.main,
300
- color: o.palette.primary.main
301
- },
302
- "&:hover": {
303
- backgroundColor: o.palette.primary.dark,
304
- borderColor: o.palette.primary.dark,
305
- color: o.palette.common.white
306
- }
307
- },
308
- "&.MuiButton-colorSecondary": {
309
- "&:active": {
310
- borderColor: o.palette.secondary.main,
311
- color: o.palette.secondary.main
312
- },
313
- "&:hover": {
314
- backgroundColor: o.palette.secondary.main,
315
- color: o.palette.common.white
316
- }
317
- },
318
- "&.MuiButton-colorError": {
319
- "&:active": {
320
- borderColor: o.palette.error.main,
321
- color: o.palette.error.main
322
- },
323
- "&:hover": {
324
- backgroundColor: o.palette.error.main,
325
- color: o.palette.common.white
326
- }
327
- }
10
+ borderWidth: 2
11
+ /* "&:hover": {
12
+ //backgroundColor: theme.palette[color].main,
13
+ color: theme.palette.common.white,
14
+ },*/
328
15
  }
329
- })), oo = ({
16
+ })), d = ({
330
17
  variant: t = "outlined",
331
18
  ...o
332
- }) => /* @__PURE__ */ s(V, { variant: t, ...o });
19
+ }) => /* @__PURE__ */ r(i, { variant: t, ...o });
333
20
  export {
334
- oo as default
21
+ d as default
335
22
  };
@@ -1 +1 @@
1
- "use strict";require("react/jsx-runtime");require("../../fr-JE-1WKP6.cjs");const e=require("../../DatePicker-7-4p3Vtj.cjs");module.exports=e.DatePicker;
1
+ "use strict";require("react/jsx-runtime");require("../../fr-JE-1WKP6.cjs");const e=require("../../DatePicker-CJ5-Udgh.cjs");module.exports=e.DatePicker;
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
- import "../../fr-Bjufn3RW.js";
3
- import { D as p } from "../../DatePicker-BS1OatwQ.js";
2
+ import "../../fr-B3qrCNcK.js";
3
+ import { D as p } from "../../DatePicker-BTTLIBm9.js";
4
4
  export {
5
5
  p as default
6
6
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-7-4p3Vtj.cjs");exports.DatePicker=e.DatePicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-CJ5-Udgh.cjs");exports.DatePicker=e.DatePicker;
@@ -1,4 +1,4 @@
1
- import { D as a } from "../../DatePicker-BS1OatwQ.js";
1
+ import { D as a } from "../../DatePicker-BTTLIBm9.js";
2
2
  export {
3
3
  a as DatePicker
4
4
  };
@@ -1 +1 @@
1
- "use strict";const n=require("react/jsx-runtime"),t=require("../../createSvgIcon--rEClVU7.cjs"),i=require("@mui/material"),a=require("../../Dialog-yOrNcHbG.cjs"),u=t.createSvgIcon(n.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded"),r=({children:s,showCloseButton:l=!0,...e})=>{const o=()=>{var c;return(c=e.onClose)==null?void 0:c.call(e,{},"escapeKeyDown")};return n.jsxs(a.Dialog,{...e,children:[l?n.jsx(i.IconButton,{"aria-label":"close",onClick:o,sx:{position:"absolute",right:16,top:16},children:n.jsx(u,{})}):null,s]})};module.exports=r;
1
+ "use strict";const n=require("react/jsx-runtime"),t=require("../../CloseRounded-DQWTEbNz.cjs"),c=require("@mui/material"),u=require("../../Dialog-Cmv58WoN.cjs"),a=({children:s,showCloseButton:i=!0,...e})=>{const o=()=>{var l;return(l=e.onClose)==null?void 0:l.call(e,{},"escapeKeyDown")};return n.jsxs(u.Dialog,{...e,children:[i?n.jsx(c.IconButton,{"aria-label":"close",onClick:o,sx:{position:"absolute",right:24,top:24},children:n.jsx(t.CloseRounded,{})}):null,s]})};module.exports=a;
@@ -1,28 +1,26 @@
1
- import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
- import { c as s } from "../../createSvgIcon-C8nGcfF4.js";
1
+ import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
+ import { C as s } from "../../CloseRounded-DTpqUeWr.js";
3
3
  import { IconButton as t } from "@mui/material";
4
- import { D as i } from "../../Dialog-D_lS4J_M.js";
5
- const d = s(/* @__PURE__ */ l("path", {
6
- d: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"
7
- }), "CloseRounded"), g = ({
4
+ import { D as c } from "../../Dialog-CgBiKk8B.js";
5
+ const f = ({
8
6
  children: e,
9
7
  showCloseButton: a = !0,
10
- ...o
11
- }) => /* @__PURE__ */ c(i, { ...o, children: [
12
- a ? /* @__PURE__ */ l(
8
+ ...l
9
+ }) => /* @__PURE__ */ i(c, { ...l, children: [
10
+ a ? /* @__PURE__ */ n(
13
11
  t,
14
12
  {
15
13
  "aria-label": "close",
16
14
  onClick: () => {
17
- var n;
18
- return (n = o.onClose) == null ? void 0 : n.call(o, {}, "escapeKeyDown");
15
+ var o;
16
+ return (o = l.onClose) == null ? void 0 : o.call(l, {}, "escapeKeyDown");
19
17
  },
20
- sx: { position: "absolute", right: 16, top: 16 },
21
- children: /* @__PURE__ */ l(d, {})
18
+ sx: { position: "absolute", right: 24, top: 24 },
19
+ children: /* @__PURE__ */ n(s, {})
22
20
  }
23
21
  ) : null,
24
22
  e
25
23
  ] });
26
24
  export {
27
- g as default
25
+ f as default
28
26
  };
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),s=require("../../createSvgIcon--rEClVU7.cjs"),d=require("../../index-ChM1Ett8.cjs"),a=require("../../Stack-Yq6rb7iK.cjs"),r=require("../../Typography-DfRMDngd.cjs"),h=s.createSvgIcon(e.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),u=s.createSvgIcon(e.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"}),"UploadFile"),g=({defaultLabel:c="Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",dragLabel:i="Déposer les fichiers ici",information:o,...n})=>{const{getRootProps:t,getInputProps:p,isDragActive:l}=d.useDropzone(n);return e.jsxs(a.Stack,{direction:"column",justifyContent:"center",alignItems:"center",spacing:1,width:"18rem",padding:1,border:"1px dashed",borderColor:"grey.main",borderRadius:1,sx:{cursor:"pointer"},...t(),children:[e.jsx("input",{...p()}),l?e.jsxs(e.Fragment,{children:[e.jsx(h,{color:"primary"}),e.jsx(r.Typography,{children:i})]}):e.jsxs(e.Fragment,{children:[e.jsx(u,{color:"primary"}),e.jsx(r.Typography,{children:c}),o?e.jsx(r.Typography,{fontSize:"0.875rem",color:"grey",children:o}):null]})]})};module.exports=g;
1
+ "use strict";const e=require("react/jsx-runtime"),s=require("../../createSvgIcon-Dn4BBPej.cjs"),h=require("../../index-CJW5gB6d.cjs"),u=require("../../Stack-C6v70ALA.cjs"),r=require("../../Typography-DEAE8-8u.cjs"),g=s.createSvgIcon(e.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),x=s.createSvgIcon(e.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"}),"UploadFile"),j=({defaultLabel:c="Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",dragLabel:i="Déposer les fichiers ici",information:o,width:n,height:t,...p})=>{const{getRootProps:l,getInputProps:a,isDragActive:d}=h.useDropzone(p);return e.jsxs(u.Stack,{direction:"column",justifyContent:"center",alignItems:"center",spacing:1,width:n??"18rem",height:t??"auto",padding:1,border:"1px dashed",borderColor:"grey.main",borderRadius:1,sx:{cursor:"pointer"},...l(),children:[e.jsx("input",{...a()}),d?e.jsxs(e.Fragment,{children:[e.jsx(g,{color:"primary"}),e.jsx(r.Typography,{children:i})]}):e.jsxs(e.Fragment,{children:[e.jsx(x,{color:"primary"}),e.jsx(r.Typography,{children:c}),o?e.jsx(r.Typography,{fontSize:"0.875rem",color:"grey",children:o}):null]})]})};module.exports=j;
@@ -3,6 +3,8 @@ export type DropzoneProps = {
3
3
  defaultLabel?: string;
4
4
  dragLabel?: string;
5
5
  information?: string;
6
+ width?: string;
7
+ height?: string;
6
8
  } & ReactDropzoneProps;
7
9
  declare const Dropzone: React.FunctionComponent<DropzoneProps>;
8
10
  export default Dropzone;
@@ -1,27 +1,30 @@
1
1
  import { jsx as r, jsxs as e, Fragment as c } from "react/jsx-runtime";
2
- import { c as s } from "../../createSvgIcon-C8nGcfF4.js";
3
- import { u as h } from "../../index-CwvpOCso.js";
4
- import { S as m } from "../../Stack-BzTJdRGj.js";
5
- import { T as o } from "../../Typography-DBwTr_ix.js";
6
- const u = s(/* @__PURE__ */ r("path", {
2
+ import { c as t } from "../../createSvgIcon-CCejzj0C.js";
3
+ import { u } from "../../index-BGS2uu2L.js";
4
+ import { S as g } from "../../Stack-aCUdCw1A.js";
5
+ import { T as o } from "../../Typography-CE8fQQ8B.js";
6
+ const f = t(/* @__PURE__ */ r("path", {
7
7
  d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
8
- }), "FileUpload"), g = s(/* @__PURE__ */ r("path", {
8
+ }), "FileUpload"), z = t(/* @__PURE__ */ r("path", {
9
9
  d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"
10
- }), "UploadFile"), F = ({
11
- defaultLabel: t = "Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",
10
+ }), "UploadFile"), D = ({
11
+ defaultLabel: s = "Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",
12
12
  dragLabel: n = "Déposer les fichiers ici",
13
13
  information: i,
14
- ...l
14
+ width: l,
15
+ height: p,
16
+ ...d
15
17
  }) => {
16
- const { getRootProps: p, getInputProps: d, isDragActive: a } = h(l);
18
+ const { getRootProps: a, getInputProps: h, isDragActive: m } = u(d);
17
19
  return /* @__PURE__ */ e(
18
- m,
20
+ g,
19
21
  {
20
22
  direction: "column",
21
23
  justifyContent: "center",
22
24
  alignItems: "center",
23
25
  spacing: 1,
24
- width: "18rem",
26
+ width: l ?? "18rem",
27
+ height: p ?? "auto",
25
28
  padding: 1,
26
29
  border: "1px dashed",
27
30
  borderColor: "grey.main",
@@ -29,15 +32,15 @@ const u = s(/* @__PURE__ */ r("path", {
29
32
  sx: {
30
33
  cursor: "pointer"
31
34
  },
32
- ...p(),
35
+ ...a(),
33
36
  children: [
34
- /* @__PURE__ */ r("input", { ...d() }),
35
- a ? /* @__PURE__ */ e(c, { children: [
36
- /* @__PURE__ */ r(u, { color: "primary" }),
37
+ /* @__PURE__ */ r("input", { ...h() }),
38
+ m ? /* @__PURE__ */ e(c, { children: [
39
+ /* @__PURE__ */ r(f, { color: "primary" }),
37
40
  /* @__PURE__ */ r(o, { children: n })
38
41
  ] }) : /* @__PURE__ */ e(c, { children: [
39
- /* @__PURE__ */ r(g, { color: "primary" }),
40
- /* @__PURE__ */ r(o, { children: t }),
42
+ /* @__PURE__ */ r(z, { color: "primary" }),
43
+ /* @__PURE__ */ r(o, { children: s }),
41
44
  i ? /* @__PURE__ */ r(o, { fontSize: "0.875rem", color: "grey", children: i }) : null
42
45
  ] })
43
46
  ]
@@ -45,5 +48,5 @@ const u = s(/* @__PURE__ */ r("path", {
45
48
  );
46
49
  };
47
50
  export {
48
- F as default
51
+ D as default
49
52
  };
@@ -1 +1 @@
1
- "use strict";const n=require("react/jsx-runtime"),o=require("@mui/material"),t=require("react"),x=({children:r,tooltipProps:l,typographyProps:c})=>{const[u,f]=t.useState(!1),e=t.useRef(null);return t.useEffect(()=>{const s=()=>{if(e.current){const{scrollWidth:p,clientWidth:a}=e.current;f(p>a)}},i=new ResizeObserver(()=>{s()});return e.current&&i.observe(e.current),s(),()=>{e.current&&i.unobserve(e.current)}},[]),n.jsx(o.Tooltip,{disableHoverListener:!u,title:r,...l,children:n.jsx(o.Typography,{ref:e,noWrap:!0,overflow:"hidden",textOverflow:"ellipsis",...c,children:r})})};module.exports=x;
1
+ "use strict";const n=require("react/jsx-runtime"),o=require("@mui/material"),t=require("react"),x=({children:r,tooltipProps:l,typographyProps:c})=>{const[u,f]=t.useState(!1),e=t.useRef(null);return t.useEffect(()=>{const s=()=>{if(e.current){const{scrollWidth:p,clientWidth:a}=e.current;f(p>a)}},i=new ResizeObserver(()=>{s()});return e.current&&i.observe(e.current),s(),()=>{e.current&&i.unobserve(e.current)}},[]),n.jsx(o.Tooltip,{disableHoverListener:!u,title:r,...l,children:n.jsx(o.Typography,{ref:e,noWrap:!0,overflow:"hidden",textOverflow:"ellipsis",...c,maxWidth:"100%",children:r})})};module.exports=x;
@@ -1,13 +1,13 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { Tooltip as p, Typography as d } from "@mui/material";
3
- import { useState as a, useRef as v, useEffect as h } from "react";
3
+ import { useState as a, useRef as h, useEffect as m } from "react";
4
4
  const E = ({
5
5
  children: t,
6
6
  tooltipProps: o,
7
7
  typographyProps: l
8
8
  }) => {
9
- const [n, c] = a(!1), e = v(null);
10
- return h(() => {
9
+ const [n, c] = a(!1), e = h(null);
10
+ return m(() => {
11
11
  const r = () => {
12
12
  if (e.current) {
13
13
  const { scrollWidth: f, clientWidth: u } = e.current;
@@ -33,6 +33,7 @@ const E = ({
33
33
  overflow: "hidden",
34
34
  textOverflow: "ellipsis",
35
35
  ...l,
36
+ maxWidth: "100%",
36
37
  children: t
37
38
  }
38
39
  )
@@ -1 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-Yq6rb7iK.cjs"),i=require("../../Typography-DfRMDngd.cjs"),u=({svgName:n,title:s,description:e,descriptionProps:o,svgProps:c,titleProps:a,...h})=>{const{Svg:r}=l.useLazySvgImport(n);return r?t.jsxs(g.Stack,{direction:"column",alignItems:"center",margin:"auto",...h,children:[t.jsx("div",{style:{width:200,maxHeight:200},children:t.jsx(r,{width:"100%",height:"100%",preserveAspectRatio:"xMinYMin slice",...c})}),t.jsx(i.Typography,{variant:"h2",fontWeight:500,mt:3,...a,children:s}),e?t.jsx(i.Typography,{color:"grey",mt:2,...o,children:e}):null]}):null};module.exports=u;
1
+ "use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-C6v70ALA.cjs"),i=require("../../Typography-DEAE8-8u.cjs"),u=({svgName:n,title:s,description:e,descriptionProps:o,svgProps:c,titleProps:a,...h})=>{const{Svg:r}=l.useLazySvgImport(n);return r?t.jsxs(g.Stack,{direction:"column",alignItems:"center",margin:"auto",...h,children:[t.jsx("div",{style:{width:200,maxHeight:200},children:t.jsx(r,{width:"100%",height:"100%",preserveAspectRatio:"xMinYMin slice",...c})}),t.jsx(i.Typography,{variant:"h2",fontWeight:500,mt:3,...a,children:s}),e?t.jsx(i.Typography,{color:"grey",mt:2,...o,children:e}):null]}):null};module.exports=u;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
2
  import { useLazySvgImport as h } from "../../hooks/lazySvgImport.es.js";
3
- import { S as p } from "../../Stack-BzTJdRGj.js";
4
- import { T as i } from "../../Typography-DBwTr_ix.js";
3
+ import { S as p } from "../../Stack-aCUdCw1A.js";
4
+ import { T as i } from "../../Typography-CE8fQQ8B.js";
5
5
  const y = ({
6
6
  svgName: o,
7
7
  title: n,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),e=require("../../createSvgIcon-Dn4BBPej.cjs"),s=e.createSvgIcon(c.jsx("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M8 11H4V6h4zm6 0h-4V6h4zm6 0h-4V6h4zM8 18H4v-5h4zm6 0h-4v-5h4zm6 0h-4v-5h4z"}),"CalendarViewMonthRounded"),n=e.createSvgIcon(c.jsx("path",{d:"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"}),"DescriptionOutlined"),h=e.createSvgIcon(c.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"}),"InsertDriveFileOutlined"),a=e.createSvgIcon(c.jsx("path",{d:"M4 6.47 5.76 10H20v8H4zM22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z"}),"MovieOutlined"),o=e.createSvgIcon(c.jsx("path",{d:"M12 5v8.55c-.94-.54-2.1-.75-3.33-.32-1.34.48-2.37 1.67-2.61 3.07-.46 2.74 1.86 5.08 4.59 4.65 1.96-.31 3.35-2.11 3.35-4.1V7h2c1.1 0 2-.9 2-2s-.9-2-2-2h-2c-1.1 0-2 .9-2 2"}),"MusicNoteRounded"),r=e.createSvgIcon(c.jsx("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2m-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1m-5.52-5.13-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74"}),"OndemandVideoRounded"),d=e.createSvgIcon(c.jsx("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"}),"PhotoOutlined"),v=e.createSvgIcon(c.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H8V4h12zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm12 6V9c0-.55-.45-1-1-1h-2v5h2c.55 0 1-.45 1-1m-2-3h1v3h-1zm4 2h1v-1h-1V9h1V8h-2v5h1zm-8 0h1c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H9v5h1zm0-2h1v1h-1z"}),"PictureAsPdfOutlined"),i=({extension:t})=>{switch(t.toUpperCase()){case"MP3":case"MIDI":case"WAV":return c.jsx(o,{});case"JPG":case"JPEG":case"PNG":case"SVG":return c.jsx(d,{});case"MP4":case"MOV":case"AVI":return c.jsx(a,{});case"CSV":case"ODS":case"XLS":case"XLSX":return c.jsx(s,{});case"PDF":return c.jsx(v,{});case"ODT":case"DOC":case"DOCX":case"TXT":return c.jsx(n,{});case"ODP":case"PPT":case"PPTX":return c.jsx(r,{});default:return c.jsx(h,{})}};exports.FileIcon=i;
@@ -0,0 +1,3 @@
1
+ export declare const FileIcon: React.FC<{
2
+ extension: string;
3
+ }>;
@@ -0,0 +1,56 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { c as e } from "../../createSvgIcon-CCejzj0C.js";
3
+ const t = e(/* @__PURE__ */ c("path", {
4
+ d: "M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M8 11H4V6h4zm6 0h-4V6h4zm6 0h-4V6h4zM8 18H4v-5h4zm6 0h-4v-5h4zm6 0h-4v-5h4z"
5
+ }), "CalendarViewMonthRounded"), n = e(/* @__PURE__ */ c("path", {
6
+ d: "M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"
7
+ }), "DescriptionOutlined"), s = e(/* @__PURE__ */ c("path", {
8
+ d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"
9
+ }), "InsertDriveFileOutlined"), d = e(/* @__PURE__ */ c("path", {
10
+ d: "M4 6.47 5.76 10H20v8H4zM22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z"
11
+ }), "MovieOutlined"), a = e(/* @__PURE__ */ c("path", {
12
+ d: "M12 5v8.55c-.94-.54-2.1-.75-3.33-.32-1.34.48-2.37 1.67-2.61 3.07-.46 2.74 1.86 5.08 4.59 4.65 1.96-.31 3.35-2.11 3.35-4.1V7h2c1.1 0 2-.9 2-2s-.9-2-2-2h-2c-1.1 0-2 .9-2 2"
13
+ }), "MusicNoteRounded"), o = e(/* @__PURE__ */ c("path", {
14
+ d: "M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2m-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1m-5.52-5.13-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74"
15
+ }), "OndemandVideoRounded"), r = e(/* @__PURE__ */ c("path", {
16
+ d: "M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"
17
+ }), "PhotoOutlined"), i = e(/* @__PURE__ */ c("path", {
18
+ d: "M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H8V4h12zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm12 6V9c0-.55-.45-1-1-1h-2v5h2c.55 0 1-.45 1-1m-2-3h1v3h-1zm4 2h1v-1h-1V9h1V8h-2v5h1zm-8 0h1c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H9v5h1zm0-2h1v1h-1z"
19
+ }), "PictureAsPdfOutlined"), V = ({ extension: h }) => {
20
+ switch (h.toUpperCase()) {
21
+ case "MP3":
22
+ case "MIDI":
23
+ case "WAV":
24
+ return /* @__PURE__ */ c(a, {});
25
+ case "JPG":
26
+ case "JPEG":
27
+ case "PNG":
28
+ case "SVG":
29
+ return /* @__PURE__ */ c(r, {});
30
+ case "MP4":
31
+ case "MOV":
32
+ case "AVI":
33
+ return /* @__PURE__ */ c(d, {});
34
+ case "CSV":
35
+ case "ODS":
36
+ case "XLS":
37
+ case "XLSX":
38
+ return /* @__PURE__ */ c(t, {});
39
+ case "PDF":
40
+ return /* @__PURE__ */ c(i, {});
41
+ case "ODT":
42
+ case "DOC":
43
+ case "DOCX":
44
+ case "TXT":
45
+ return /* @__PURE__ */ c(n, {});
46
+ case "ODP":
47
+ case "PPT":
48
+ case "PPTX":
49
+ return /* @__PURE__ */ c(o, {});
50
+ default:
51
+ return /* @__PURE__ */ c(s, {});
52
+ }
53
+ };
54
+ export {
55
+ V as FileIcon
56
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@mui/material"),t=()=>e.jsx(r.Stack,{height:"100%",children:e.jsx(r.Stack,{height:"4px",width:"4px",borderRadius:"50%",sx:{backgroundColor:"divider"}})});exports.FileInfosSeparator=t;
@@ -0,0 +1 @@
1
+ export declare const FileInfosSeparator: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { Stack as o } from "@mui/material";
3
+ const e = () => /* @__PURE__ */ r(o, { height: "100%", children: /* @__PURE__ */ r(
4
+ o,
5
+ {
6
+ height: "4px",
7
+ width: "4px",
8
+ borderRadius: "50%",
9
+ sx: { backgroundColor: "divider" }
10
+ }
11
+ ) });
12
+ export {
13
+ e as FileInfosSeparator
14
+ };