@cgi-learning-hub/ui 1.3.4 → 1.3.5-dev.1736343971

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 (268) hide show
  1. package/dist/Backdrop-CvufxHMY.cjs +1 -0
  2. package/dist/{Backdrop-BlKt7y1x.js → Backdrop-DcDd6WZF.js} +13 -13
  3. package/dist/{Box-DErdbtsw.js → Box-Byz2BwGf.js} +10 -10
  4. package/dist/Box-mP2Th61z.cjs +1 -0
  5. package/dist/Button-BH9MUvmz.cjs +1 -0
  6. package/dist/{Button-CiqVGfRs.js → Button-BnNYfQ3E.js} +153 -119
  7. package/dist/ButtonBase-BXtyQVDC.cjs +74 -0
  8. package/dist/{ButtonBase-DUPJVOlc.js → ButtonBase-DAWDecOk.js} +42 -41
  9. package/dist/{Card-mGRk1RuE.js → Card-AJG0TUOx.js} +3 -3
  10. package/dist/Card-NqCXQteq.cjs +1 -0
  11. package/dist/{Checkbox-aJ1r7ufI.js → Checkbox-8Rhxpkjl.js} +23 -22
  12. package/dist/Checkbox-DYrDbdy1.cjs +1 -0
  13. package/dist/CircularProgress-BByrCLjv.cjs +28 -0
  14. package/dist/{CircularProgress-CfODO7vI.js → CircularProgress-Kwlef5fX.js} +14 -13
  15. package/dist/DatePicker-7-4p3Vtj.cjs +14 -0
  16. package/dist/{DatePicker-Dyf9Vhld.js → DatePicker-BS1OatwQ.js} +549 -546
  17. package/dist/DefaultPropsProvider-3KMGupjb.cjs +17 -0
  18. package/dist/DefaultPropsProvider-CvJPQJmL.js +454 -0
  19. package/dist/{Delete-BOQTx9ze.js → Delete-BkZN7Xu5.js} +1 -1
  20. package/dist/{Delete-DyzDL8-Y.cjs → Delete-D1EiKoL5.cjs} +1 -1
  21. package/dist/Dialog-D_lS4J_M.js +415 -0
  22. package/dist/Dialog-yOrNcHbG.cjs +1 -0
  23. package/dist/DialogContent-Dj_OjLZ6.cjs +1 -0
  24. package/dist/DialogContent-uc65XOEU.js +194 -0
  25. package/dist/DialogTitle-BboPDaoB.cjs +1 -0
  26. package/dist/{DialogTitle-AQ-YU9PH.js → DialogTitle-C8JOi-rq.js} +43 -42
  27. package/dist/Divider-CcrM3lNn.cjs +1 -0
  28. package/dist/{Divider-C0R1SUa4.js → Divider-KO-E6nU8.js} +8 -8
  29. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +1 -0
  30. package/dist/{FormControlLabel-w-X91z27.js → FormControlLabel-BmrKQtQA.js} +17 -16
  31. package/dist/{FormGroup-6NoANcYk.js → FormGroup-CbczEc6e.js} +12 -12
  32. package/dist/FormGroup-Y3P2AG0i.cjs +1 -0
  33. package/dist/{FormLabel-CoLJ9tA8.js → FormLabel-CfR4bb21.js} +6 -5
  34. package/dist/FormLabel-D1uvEhsH.cjs +2 -0
  35. package/dist/{Grow-SW33sONG.js → Grow-CQVPAYvp.js} +13 -13
  36. package/dist/Grow-CUBJs6WD.cjs +1 -0
  37. package/dist/IconButton-CJfzspZK.cjs +2 -0
  38. package/dist/{IconButton-DjeMTpI5.js → IconButton-CekuyD4r.js} +13 -12
  39. package/dist/InputAdornment-Cq0WhPxF.cjs +1 -0
  40. package/dist/{InputAdornment-ByiVSgFT.js → InputAdornment-iU5YnveW.js} +16 -15
  41. package/dist/{InputBase-CvU0-Zg6.js → InputBase-BJy3wwFB.js} +28 -26
  42. package/dist/InputBase-s1fk8TB4.cjs +3 -0
  43. package/dist/Link-CWczkFp0.cjs +1 -0
  44. package/dist/{Link-Dmwt9wxb.js → Link-CoQuUM0t.js} +11 -10
  45. package/dist/Menu-Bsx8PA-q.cjs +7 -0
  46. package/dist/{Menu-4U27Dst1.js → Menu-C7tKmcAh.js} +63 -61
  47. package/dist/MenuItem-BZ_EVaBq.cjs +1 -0
  48. package/dist/{MenuItem-CqPsuuC1.js → MenuItem-j8luVUcX.js} +7 -7
  49. package/dist/Modal-DImrEpYJ.cjs +2 -0
  50. package/dist/{Modal-D_mqYIr2.js → Modal-brWBFdK7.js} +76 -74
  51. package/dist/{Paper-D973Ow-i.js → Paper-BG4Vk_Um.js} +4 -4
  52. package/dist/Paper-Cr56xkCr.cjs +2 -0
  53. package/dist/{Popper-B8oNZqtn.js → Popper-DFZ_gRev.js} +240 -239
  54. package/dist/Popper-YT5WAMV-.cjs +4 -0
  55. package/dist/Portal-DF0RKOcD.cjs +1 -0
  56. package/dist/{Portal-BKbBRbWN.js → Portal-JEwcozmp.js} +3 -3
  57. package/dist/Radio-CVAEGXKi.cjs +1 -0
  58. package/dist/{Radio-BrzQH9pY.js → Radio-DGhot3Cd.js} +21 -20
  59. package/dist/Select-CwAWNiiv.cjs +3 -0
  60. package/dist/{Select-CgAPAUTr.js → Select-DmssuG5M.js} +62 -60
  61. package/dist/{Stack-CYXQpKS2.js → Stack-BzTJdRGj.js} +105 -60
  62. package/dist/Stack-Yq6rb7iK.cjs +1 -0
  63. package/dist/SwitchBase-DjIY_KWB.cjs +1 -0
  64. package/dist/{SwitchBase-CGa9A6SL.js → SwitchBase-Dlth5_F7.js} +38 -37
  65. package/dist/{TableSortLabel-hvz89Dvu.js → TableSortLabel-BsgRD4k4.js} +1289 -1268
  66. package/dist/TableSortLabel-D0N3e3cP.cjs +98 -0
  67. package/dist/{Tabs-BPI2IyPx.js → Tabs-CYbeTnJk.js} +292 -289
  68. package/dist/Tabs-KG4VWw-1.cjs +4 -0
  69. package/dist/TextField-BI9KVqjC.cjs +1 -0
  70. package/dist/{TextField-C4nIxR_t.js → TextField-Cri5Gxa7.js} +20 -19
  71. package/dist/{Tooltip-Bdrv-e2a.js → Tooltip-BhAHhzKz.js} +32 -30
  72. package/dist/Tooltip-DhDtvULK.cjs +4 -0
  73. package/dist/{Typography-CUdlQxLM.js → Typography-DBwTr_ix.js} +13 -12
  74. package/dist/Typography-DfRMDngd.cjs +1 -0
  75. package/dist/capitalize-B3GG7Wn6.cjs +1 -0
  76. package/dist/capitalize-CkF8kU4n.js +9 -0
  77. package/dist/components/Button/Button.cjs.js +1 -1
  78. package/dist/components/Button/Button.es.js +101 -136
  79. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  80. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  81. package/dist/components/DatePicker/index.cjs.js +1 -1
  82. package/dist/components/DatePicker/index.es.js +1 -1
  83. package/dist/components/Dialog/Dialog.cjs.js +1 -0
  84. package/dist/components/Dialog/Dialog.d.ts +6 -0
  85. package/dist/components/Dialog/Dialog.es.js +28 -0
  86. package/dist/components/Dialog/index.cjs.js +1 -0
  87. package/dist/components/Dialog/index.d.ts +2 -0
  88. package/dist/components/Dialog/index.es.js +4 -0
  89. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  90. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  91. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -0
  92. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +9 -0
  93. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +44 -0
  94. package/dist/components/EllipsisWithTooltip/index.cjs.js +1 -0
  95. package/dist/components/EllipsisWithTooltip/index.d.ts +2 -0
  96. package/dist/components/EllipsisWithTooltip/index.es.js +4 -0
  97. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  98. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  99. package/dist/components/FileList/FileList.cjs.js +1 -1
  100. package/dist/components/FileList/FileList.es.js +1 -1
  101. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  102. package/dist/components/FileList/FileListItem.es.js +7 -7
  103. package/dist/components/Heading/Heading.cjs.js +1 -1
  104. package/dist/components/Heading/Heading.es.js +2 -2
  105. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  106. package/dist/components/ImagePicker/ImagePicker.d.ts +1 -0
  107. package/dist/components/ImagePicker/ImagePicker.es.js +29 -28
  108. package/dist/components/Loader/Loader.cjs.js +1 -1
  109. package/dist/components/Loader/Loader.es.js +1 -1
  110. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  111. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  112. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  113. package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
  114. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  115. package/dist/components/QueryError/QueryError.es.js +14 -14
  116. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  117. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  118. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  119. package/dist/components/TextInput/TextInput.es.js +1 -1
  120. package/dist/components/index.cjs.js +1 -1
  121. package/dist/components/index.d.ts +7 -3
  122. package/dist/components/index.es.js +228 -220
  123. package/dist/components/stories/Button.stories.cjs.js +1 -1
  124. package/dist/components/stories/Button.stories.es.js +1 -1
  125. package/dist/components/stories/Card.stories.cjs.js +1 -1
  126. package/dist/components/stories/Card.stories.es.js +8 -8
  127. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  128. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  129. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  130. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  131. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  132. package/dist/components/stories/Dialog.stories.d.ts +1 -1
  133. package/dist/components/stories/Dialog.stories.es.js +26 -14
  134. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  135. package/dist/components/stories/Divider.stories.es.js +5 -5
  136. package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +1 -0
  137. package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +6 -0
  138. package/dist/components/stories/EllipsisWithTooltip.stories.es.js +36 -0
  139. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  140. package/dist/components/stories/FormControlLabel.stories.es.js +69 -68
  141. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  142. package/dist/components/stories/Heading.stories.es.js +2 -2
  143. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  144. package/dist/components/stories/IconButton.stories.es.js +2 -2
  145. package/dist/components/stories/ImagePicker.stories.cjs.js +1 -1
  146. package/dist/components/stories/ImagePicker.stories.es.js +13 -6
  147. package/dist/components/stories/Link.stories.cjs.js +1 -1
  148. package/dist/components/stories/Link.stories.es.js +1 -1
  149. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  150. package/dist/components/stories/Menu.stories.es.js +16 -16
  151. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  152. package/dist/components/stories/Paper.stories.es.js +1 -1
  153. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  154. package/dist/components/stories/RadioGroup.stories.es.js +6 -6
  155. package/dist/components/stories/Select.stories.cjs.js +1 -1
  156. package/dist/components/stories/Select.stories.es.js +3 -3
  157. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  158. package/dist/components/stories/TabList.stories.es.js +9 -9
  159. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  160. package/dist/components/stories/TextField.stories.es.js +3 -3
  161. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  162. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  163. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  164. package/dist/components/stories/Typography.stories.es.js +1 -1
  165. package/dist/createSvgIcon--rEClVU7.cjs +1 -0
  166. package/dist/{createSvgIcon-CVd3Lo1D.js → createSvgIcon-C8nGcfF4.js} +6 -5
  167. package/dist/dividerClasses-CCAY3Pnr.cjs +1 -0
  168. package/dist/{dividerClasses-kN_Ky2Bl.js → dividerClasses-nh2-hkQB.js} +1 -1
  169. package/dist/{elementTypeAcceptingRef-modXfN2G.js → elementTypeAcceptingRef-D-5kcohU.js} +1 -1
  170. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +1 -0
  171. package/dist/{extendSxProp-CHv0k-C6.js → extendSxProp-C2ff0oGc.js} +1 -1
  172. package/dist/extendSxProp-apyK-EBz.cjs +1 -0
  173. package/dist/{fr-rmVQsNbI.js → fr-Bjufn3RW.js} +84 -84
  174. package/dist/{fr-ChrHtTbj.cjs → fr-JE-1WKP6.cjs} +1 -1
  175. package/dist/generateUtilityClasses-B_H9HEmg.cjs +59 -0
  176. package/dist/{identifier-Bn0tF6ls.js → generateUtilityClasses-Bssl7BA_.js} +898 -872
  177. package/dist/index-Aa73Kpym.cjs +1 -0
  178. package/dist/{index-CVpJYeY2.js → index-BCnPLuqJ.js} +23 -22
  179. package/dist/index-ChM1Ett8.cjs +5 -0
  180. package/dist/index-Cw0GDedk.cjs +17 -0
  181. package/dist/{index-BNojWn2E.js → index-CwvpOCso.js} +29 -29
  182. package/dist/index-DXD5J5Eu.js +186 -0
  183. package/dist/index.cjs.js +1 -1
  184. package/dist/index.es.js +228 -220
  185. package/dist/{memoTheme-BPA1FjB4.cjs → memoTheme-Bdg0Y_2O.cjs} +1 -1
  186. package/dist/{memoTheme-CMJVTZEg.js → memoTheme-D7Fyh_3C.js} +1 -1
  187. package/dist/mergeSlotProps-DuV-LTW7.cjs +1 -0
  188. package/dist/{resolveComponentProps-DHoZOPOi.js → mergeSlotProps-tUJEcwVu.js} +7 -7
  189. package/dist/refType-CoaxQOPt.cjs +1 -0
  190. package/dist/refType-DKYKROQk.js +5 -0
  191. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +1 -0
  192. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  193. package/dist/useEventCallback-BAQJJ3ye.js +14 -0
  194. package/dist/useEventCallback-C0-Qw3Sm.cjs +1 -0
  195. package/dist/{useSlot-t9oGnIgq.js → useSlot-BTpHG6jf.js} +1 -1
  196. package/dist/useSlot-CByalpSD.cjs +1 -0
  197. package/dist/useSlotProps-B31YQlzb.js +45 -0
  198. package/dist/useSlotProps-BVSAQTNl.cjs +1 -0
  199. package/dist/useTheme-Cy5kyKJF.cjs +1 -0
  200. package/dist/useTheme-Dukx-__T.cjs +1 -0
  201. package/dist/useTheme-DyaNKf4e.js +11 -0
  202. package/dist/{useTheme-CBsFvF7I.js → useTheme-_xyy-wul.js} +1 -1
  203. package/dist/{useThemeProps-5Bku71LW.js → useThemeProps-BySkSe-M.js} +2 -2
  204. package/dist/useThemeProps-CdV_QwDl.cjs +1 -0
  205. package/dist/{useThemeProps-I9EHeqzU.js → useThemeProps-CwEQ4bv2.js} +3 -3
  206. package/dist/{useThemeProps-C692LOYf.cjs → useThemeProps-u_ESzK2f.cjs} +1 -1
  207. package/dist/useTimeout-COCrDKz-.cjs +1 -0
  208. package/dist/useTimeout-CrCYVizI.js +42 -0
  209. package/dist/{utils-CE_a8glN.js → utils-C6c4fj7D.js} +41 -41
  210. package/dist/utils-vmyQ2IaS.cjs +1 -0
  211. package/package.json +1 -1
  212. package/dist/Backdrop-vSE8W9jq.cjs +0 -1
  213. package/dist/Box-DMYs7NTb.cjs +0 -1
  214. package/dist/Button-D3dbHQM1.cjs +0 -1
  215. package/dist/ButtonBase-BoWeLMzR.cjs +0 -74
  216. package/dist/Card-Cnh4u4kb.cjs +0 -1
  217. package/dist/Checkbox-s_RdgUlw.cjs +0 -1
  218. package/dist/CircularProgress-DHgcUb1c.cjs +0 -28
  219. package/dist/DatePicker-juzW4bLC.cjs +0 -14
  220. package/dist/DefaultPropsProvider-Biv7NHew.cjs +0 -17
  221. package/dist/DefaultPropsProvider-xJkZOrdv.js +0 -487
  222. package/dist/DialogContent-D1KFPXhr.js +0 -602
  223. package/dist/DialogContent-Dphl2SKX.cjs +0 -1
  224. package/dist/DialogTitle-C8AdXsDz.cjs +0 -1
  225. package/dist/Divider-Bdp8beK-.cjs +0 -1
  226. package/dist/FormControlLabel-BlO93LTi.cjs +0 -1
  227. package/dist/FormGroup-D0zSGn42.cjs +0 -1
  228. package/dist/FormLabel-BkiH7wl7.cjs +0 -2
  229. package/dist/Grow-DfACa72Q.cjs +0 -1
  230. package/dist/IconButton-DRs0xB4z.cjs +0 -2
  231. package/dist/InputAdornment-B1pggfEX.cjs +0 -1
  232. package/dist/InputBase-Xfjv-RYp.cjs +0 -3
  233. package/dist/Link-Z_UCBvgV.cjs +0 -1
  234. package/dist/Menu-DREdNbqu.cjs +0 -7
  235. package/dist/MenuItem-CN75Du-9.cjs +0 -1
  236. package/dist/Modal-DWqBsogu.cjs +0 -2
  237. package/dist/Paper-CjMuucS5.cjs +0 -2
  238. package/dist/Popper-hzM0y1hA.cjs +0 -4
  239. package/dist/Portal-Bv2VRYHH.cjs +0 -1
  240. package/dist/Radio-DxbXYNhR.cjs +0 -1
  241. package/dist/Select-CL4E8NNL.cjs +0 -3
  242. package/dist/Stack-WrITLr1B.cjs +0 -1
  243. package/dist/SwitchBase-Cqh9rxOh.cjs +0 -1
  244. package/dist/TableSortLabel-mAzX4tAl.cjs +0 -98
  245. package/dist/Tabs-BNqwYd2G.cjs +0 -4
  246. package/dist/TextField-Dy0Iblqt.cjs +0 -1
  247. package/dist/Tooltip-vg27N3PU.cjs +0 -4
  248. package/dist/Typography-BF9bdWxl.cjs +0 -1
  249. package/dist/createSvgIcon-BMmqQ2z0.cjs +0 -1
  250. package/dist/dividerClasses-CyDs_RPD.cjs +0 -1
  251. package/dist/elementTypeAcceptingRef-5w32V5hP.cjs +0 -1
  252. package/dist/extendSxProp-6YOo46ig.cjs +0 -1
  253. package/dist/identifier-Dax8VlUh.cjs +0 -59
  254. package/dist/index-C5dNuV-2.cjs +0 -5
  255. package/dist/index-D3PBNx_m.cjs +0 -1
  256. package/dist/index-OLlWw08I.cjs +0 -1
  257. package/dist/index-waINWr3i.js +0 -45
  258. package/dist/refType-BmrOFNz6.js +0 -7
  259. package/dist/refType-Dm84STBj.cjs +0 -1
  260. package/dist/resolveComponentProps-4nhUsl3a.cjs +0 -1
  261. package/dist/useSlot-CJAXUvYJ.cjs +0 -1
  262. package/dist/useTheme-BIogn5Me.cjs +0 -1
  263. package/dist/useTheme-Bz4LKMiC.cjs +0 -1
  264. package/dist/useTheme-L3EQmvnN.js +0 -11
  265. package/dist/useThemeProps-DNFKz8wS.cjs +0 -1
  266. package/dist/useTimeout-3Y5y4gWq.js +0 -53
  267. package/dist/useTimeout-CxOQget6.cjs +0 -1
  268. package/dist/utils-CusX8Edy.cjs +0 -1
@@ -1,48 +1,49 @@
1
- import { jsxs as E, jsx as s } from "react/jsx-runtime";
2
- import { s as g, a as M, u as S, c as R } from "../../DefaultPropsProvider-xJkZOrdv.js";
1
+ import { jsxs as S, jsx as r } from "react/jsx-runtime";
2
+ import { s as g, u as T, c as w } from "../../DefaultPropsProvider-CvJPQJmL.js";
3
3
  import * as P from "react";
4
- import { I as T, H as j, L as c, P as n } from "../../identifier-Bn0tF6ls.js";
5
- import { B as z, a as O } from "../../Button-CiqVGfRs.js";
6
- import { m as h } from "../../memoTheme-CMJVTZEg.js";
7
- import { u as k } from "../../useId-CK6Kn3Tn.js";
8
- import { c as U } from "../../chainPropTypes-D9lkm76m.js";
9
- import { C as W } from "../../CircularProgress-CfODO7vI.js";
10
- function N(t) {
11
- return j("MuiLoadingButton", t);
4
+ import { I as M, H as R, P as t } from "../../generateUtilityClasses-Bssl7BA_.js";
5
+ import { B as z, a as O, r as j } from "../../Button-BnNYfQ3E.js";
6
+ import { m as v } from "../../memoTheme-D7Fyh_3C.js";
7
+ import { c } from "../../capitalize-CkF8kU4n.js";
8
+ import { u as U } from "../../useId-CK6Kn3Tn.js";
9
+ import { c as N } from "../../chainPropTypes-D9lkm76m.js";
10
+ import { C as W } from "../../CircularProgress-Kwlef5fX.js";
11
+ function D(o) {
12
+ return R("MuiLoadingButton", o);
12
13
  }
13
- const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator", "loadingIndicatorCenter", "loadingIndicatorStart", "loadingIndicatorEnd", "endIconLoadingEnd", "startIconLoadingStart"]), D = (t) => {
14
+ const a = M("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator", "loadingIndicatorCenter", "loadingIndicatorStart", "loadingIndicatorEnd", "endIconLoadingEnd", "startIconLoadingStart"]), F = (o) => {
14
15
  const {
15
- loading: o,
16
+ loading: n,
16
17
  loadingPosition: i,
17
18
  classes: e
18
- } = t, u = {
19
- root: ["root", o && "loading"],
19
+ } = o, u = {
20
+ root: ["root", n && "loading"],
20
21
  label: ["label"],
21
- startIcon: [o && `startIconLoading${c(i)}`],
22
- endIcon: [o && `endIconLoading${c(i)}`],
23
- loadingIndicator: ["loadingIndicator", o && `loadingIndicator${c(i)}`]
24
- }, d = R(u, N, e);
22
+ startIcon: [n && `startIconLoading${c(i)}`],
23
+ endIcon: [n && `endIconLoading${c(i)}`],
24
+ loadingIndicator: ["loadingIndicator", n && `loadingIndicator${c(i)}`]
25
+ }, d = w(u, D, e);
25
26
  return {
26
27
  ...e,
27
28
  // forward the outlined, color, etc. classes to Button
28
29
  ...d
29
30
  };
30
- }, F = (t) => t !== "ownerState" && t !== "theme" && t !== "sx" && t !== "as" && t !== "classes", H = g(z, {
31
- shouldForwardProp: (t) => F(t) || t === "classes",
31
+ }, H = (o) => o !== "ownerState" && o !== "theme" && o !== "sx" && o !== "as" && o !== "classes", k = g(z, {
32
+ shouldForwardProp: (o) => H(o) || o === "classes",
32
33
  name: "MuiLoadingButton",
33
34
  slot: "Root",
34
- overridesResolver: (t, o) => [o.root, o.startIconLoadingStart && {
35
- [`& .${a.startIconLoadingStart}`]: o.startIconLoadingStart
36
- }, o.endIconLoadingEnd && {
37
- [`& .${a.endIconLoadingEnd}`]: o.endIconLoadingEnd
35
+ overridesResolver: (o, n) => [n.root, n.startIconLoadingStart && {
36
+ [`& .${a.startIconLoadingStart}`]: n.startIconLoadingStart
37
+ }, n.endIconLoadingEnd && {
38
+ [`& .${a.endIconLoadingEnd}`]: n.endIconLoadingEnd
38
39
  }]
39
- })(h(({
40
- theme: t
40
+ })(v(({
41
+ theme: o
41
42
  }) => ({
42
43
  display: "inline-flex",
43
44
  [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
44
- transition: t.transitions.create(["opacity"], {
45
- duration: t.transitions.duration.short
45
+ transition: o.transitions.create(["opacity"], {
46
+ duration: o.transitions.duration.short
46
47
  }),
47
48
  opacity: 0
48
49
  },
@@ -51,8 +52,8 @@ const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
51
52
  loadingPosition: "center"
52
53
  },
53
54
  style: {
54
- transition: t.transitions.create(["background-color", "box-shadow", "border-color"], {
55
- duration: t.transitions.duration.short
55
+ transition: o.transitions.create(["background-color", "box-shadow", "border-color"], {
56
+ duration: o.transitions.duration.short
56
57
  }),
57
58
  [`&.${a.loading}`]: {
58
59
  color: "transparent"
@@ -60,12 +61,12 @@ const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
60
61
  }
61
62
  }, {
62
63
  props: ({
63
- ownerState: o
64
- }) => o.loadingPosition === "start" && o.fullWidth,
64
+ ownerState: n
65
+ }) => n.loadingPosition === "start" && n.fullWidth,
65
66
  style: {
66
67
  [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
67
- transition: t.transitions.create(["opacity"], {
68
- duration: t.transitions.duration.short
68
+ transition: o.transitions.create(["opacity"], {
69
+ duration: o.transitions.duration.short
69
70
  }),
70
71
  opacity: 0,
71
72
  marginRight: -8
@@ -73,12 +74,12 @@ const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
73
74
  }
74
75
  }, {
75
76
  props: ({
76
- ownerState: o
77
- }) => o.loadingPosition === "end" && o.fullWidth,
77
+ ownerState: n
78
+ }) => n.loadingPosition === "end" && n.fullWidth,
78
79
  style: {
79
80
  [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
80
- transition: t.transitions.create(["opacity"], {
81
- duration: t.transitions.duration.short
81
+ transition: o.transitions.create(["opacity"], {
82
+ duration: o.transitions.duration.short
82
83
  }),
83
84
  opacity: 0,
84
85
  marginLeft: -8
@@ -88,14 +89,14 @@ const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
88
89
  }))), G = g("span", {
89
90
  name: "MuiLoadingButton",
90
91
  slot: "LoadingIndicator",
91
- overridesResolver: (t, o) => {
92
+ overridesResolver: (o, n) => {
92
93
  const {
93
94
  ownerState: i
94
- } = t;
95
- return [o.loadingIndicator, o[`loadingIndicator${c(i.loadingPosition)}`]];
95
+ } = o;
96
+ return [n.loadingIndicator, n[`loadingIndicator${c(i.loadingPosition)}`]];
96
97
  }
97
- })(h(({
98
- theme: t
98
+ })(v(({
99
+ theme: o
99
100
  }) => ({
100
101
  position: "absolute",
101
102
  visibility: "visible",
@@ -110,9 +111,9 @@ const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
110
111
  }
111
112
  }, {
112
113
  props: ({
113
- loadingPosition: o,
114
+ loadingPosition: n,
114
115
  ownerState: i
115
- }) => o === "start" && i.size !== "small",
116
+ }) => n === "start" && i.size !== "small",
116
117
  style: {
117
118
  left: 14
118
119
  }
@@ -131,7 +132,7 @@ const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
131
132
  style: {
132
133
  left: "50%",
133
134
  transform: "translate(-50%)",
134
- color: (t.vars || t).palette.action.disabled
135
+ color: (o.vars || o).palette.action.disabled
135
136
  }
136
137
  }, {
137
138
  props: {
@@ -143,9 +144,9 @@ const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
143
144
  }
144
145
  }, {
145
146
  props: ({
146
- loadingPosition: o,
147
+ loadingPosition: n,
147
148
  ownerState: i
148
- }) => o === "end" && i.size !== "small",
149
+ }) => n === "end" && i.size !== "small",
149
150
  style: {
150
151
  right: 14
151
152
  }
@@ -159,72 +160,72 @@ const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
159
160
  }
160
161
  }, {
161
162
  props: ({
162
- ownerState: o
163
- }) => o.loadingPosition === "start" && o.fullWidth,
163
+ ownerState: n
164
+ }) => n.loadingPosition === "start" && n.fullWidth,
164
165
  style: {
165
166
  position: "relative",
166
167
  left: -10
167
168
  }
168
169
  }, {
169
170
  props: ({
170
- ownerState: o
171
- }) => o.loadingPosition === "end" && o.fullWidth,
171
+ ownerState: n
172
+ }) => n.loadingPosition === "end" && n.fullWidth,
172
173
  style: {
173
174
  position: "relative",
174
175
  right: -10
175
176
  }
176
177
  }]
177
- }))), v = g("span", {
178
+ }))), h = g("span", {
178
179
  name: "MuiLoadingButton",
179
180
  slot: "Label",
180
- overridesResolver: (t, o) => [o.label]
181
+ overridesResolver: (o, n) => [n.label]
181
182
  })({
182
183
  display: "inherit",
183
184
  alignItems: "inherit",
184
185
  justifyContent: "inherit"
185
- }), B = /* @__PURE__ */ P.forwardRef(function(o, i) {
186
- const e = P.useContext(O), u = M(e, o), d = S({
186
+ }), B = /* @__PURE__ */ P.forwardRef(function(n, i) {
187
+ const e = P.useContext(O), u = j(e, n), d = T({
187
188
  props: u,
188
189
  name: "MuiLoadingButton"
189
190
  }), {
190
- children: m,
191
+ children: f,
191
192
  disabled: I = !1,
192
- id: C,
193
+ id: x,
193
194
  loading: p = !1,
194
- loadingIndicator: x,
195
- loadingPosition: $ = "center",
196
- variant: b = "text",
197
- ...w
198
- } = d, f = k(C), y = x ?? /* @__PURE__ */ s(W, {
199
- "aria-labelledby": f,
195
+ loadingIndicator: $,
196
+ loadingPosition: C = "center",
197
+ variant: m = "text",
198
+ ...E
199
+ } = d, L = U(x), b = $ ?? /* @__PURE__ */ r(W, {
200
+ "aria-labelledby": L,
200
201
  color: "inherit",
201
202
  size: 16
202
- }), r = {
203
+ }), s = {
203
204
  ...d,
204
205
  disabled: I,
205
206
  loading: p,
206
- loadingIndicator: y,
207
- loadingPosition: $,
208
- variant: b
209
- }, l = D(r), L = p ? /* @__PURE__ */ s(G, {
207
+ loadingIndicator: b,
208
+ loadingPosition: C,
209
+ variant: m
210
+ }, l = F(s), y = p ? /* @__PURE__ */ r(G, {
210
211
  className: l.loadingIndicator,
211
- ownerState: r,
212
- children: y
212
+ ownerState: s,
213
+ children: b
213
214
  }) : null;
214
- return /* @__PURE__ */ E(H, {
215
+ return /* @__PURE__ */ S(k, {
215
216
  disabled: I || p,
216
- id: f,
217
+ id: L,
217
218
  ref: i,
218
- ...w,
219
- variant: b,
219
+ ...E,
220
+ variant: m,
220
221
  classes: l,
221
- ownerState: r,
222
- children: [r.loadingPosition === "end" ? /* @__PURE__ */ s(v, {
222
+ ownerState: s,
223
+ children: [s.loadingPosition === "end" ? /* @__PURE__ */ r(h, {
223
224
  className: l.label,
224
- children: m
225
- }) : L, r.loadingPosition === "end" ? L : /* @__PURE__ */ s(v, {
225
+ children: f
226
+ }) : y, s.loadingPosition === "end" ? y : /* @__PURE__ */ r(h, {
226
227
  className: l.label,
227
- children: m
228
+ children: f
228
229
  })]
229
230
  });
230
231
  });
@@ -236,99 +237,63 @@ process.env.NODE_ENV !== "production" && (B.propTypes = {
236
237
  /**
237
238
  * The content of the component.
238
239
  */
239
- children: n.node,
240
+ children: t.node,
240
241
  /**
241
242
  * Override or extend the styles applied to the component.
242
243
  */
243
- classes: n.object,
244
+ classes: t.object,
244
245
  /**
245
246
  * If `true`, the component is disabled.
246
247
  * @default false
247
248
  */
248
- disabled: n.bool,
249
+ disabled: t.bool,
249
250
  /**
250
251
  * @ignore
251
252
  */
252
- id: n.string,
253
+ id: t.string,
253
254
  /**
254
255
  * If `true`, the loading indicator is shown and the button becomes disabled.
255
256
  * @default false
256
257
  */
257
- loading: n.bool,
258
+ loading: t.bool,
258
259
  /**
259
260
  * Element placed before the children if the button is in loading state.
260
261
  * The node should contain an element with `role="progressbar"` with an accessible name.
261
262
  * By default we render a `CircularProgress` that is labelled by the button itself.
262
263
  * @default <CircularProgress color="inherit" size={16} />
263
264
  */
264
- loadingIndicator: n.node,
265
+ loadingIndicator: t.node,
265
266
  /**
266
267
  * The loading indicator can be positioned on the start, end, or the center of the button.
267
268
  * @default 'center'
268
269
  */
269
- 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),
270
+ loadingPosition: N(t.oneOf(["start", "end", "center"]), (o) => o.loadingPosition === "start" && !o.startIcon ? new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.') : o.loadingPosition === "end" && !o.endIcon ? new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.') : null),
270
271
  /**
271
272
  * The system prop that allows defining system overrides as well as additional CSS styles.
272
273
  */
273
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
274
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
274
275
  /**
275
276
  * The variant to use.
276
277
  * @default 'text'
277
278
  */
278
- variant: n.oneOfType([n.oneOf(["contained", "outlined", "text"]), n.string])
279
+ variant: t.oneOfType([t.oneOf(["contained", "outlined", "text"]), t.string])
279
280
  });
280
- const V = g(B)(({ color: t, theme: o }) => ({
281
- justifyContent: "center",
282
- alignItems: "center",
281
+ const V = g(B)(({ color: o, theme: n }) => ({
283
282
  minHeight: 38,
284
283
  textTransform: "none",
285
- color: t,
286
- borderColor: t,
287
- borderRadius: 5,
288
- borderWidth: 2,
289
284
  transition: "all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
290
- "&.MuiButton-contained": {
291
- color: o.palette.common.white
292
- },
293
285
  "&.MuiButton-outlined": {
294
286
  borderRadius: 5,
295
- borderWidth: 2,
296
- "&.MuiButton-colorPrimary": {
297
- "&:active": {
298
- borderColor: o.palette.primary.main,
299
- color: o.palette.primary.main
300
- },
301
- "&:hover": {
302
- backgroundColor: o.palette.primary.dark,
303
- borderColor: o.palette.primary.dark,
304
- color: o.palette.common.white
305
- }
306
- },
307
- "&.MuiButton-colorSecondary": {
308
- "&:active": {
309
- borderColor: o.palette.secondary.main,
310
- color: o.palette.secondary.main
311
- },
312
- "&:hover": {
313
- backgroundColor: o.palette.secondary.main,
314
- color: o.palette.common.white
315
- }
316
- },
317
- "&.MuiButton-colorError": {
318
- "&:active": {
319
- borderColor: o.palette.error.main,
320
- color: o.palette.error.main
321
- },
322
- "&:hover": {
323
- backgroundColor: o.palette.error.main,
324
- color: o.palette.common.white
325
- }
326
- }
287
+ borderWidth: 2
288
+ /* "&:hover": {
289
+ //backgroundColor: theme.palette[color].main,
290
+ color: theme.palette.common.white,
291
+ },*/
327
292
  }
328
- })), Z = ({
329
- variant: t = "outlined",
330
- ...o
331
- }) => /* @__PURE__ */ s(V, { variant: t, ...o });
293
+ })), oo = ({
294
+ variant: o = "outlined",
295
+ ...n
296
+ }) => /* @__PURE__ */ r(V, { variant: o, ...n });
332
297
  export {
333
- Z as default
298
+ oo as default
334
299
  };
@@ -1 +1 @@
1
- "use strict";require("react/jsx-runtime");require("../../fr-ChrHtTbj.cjs");const e=require("../../DatePicker-juzW4bLC.cjs");module.exports=e.DatePicker;
1
+ "use strict";require("react/jsx-runtime");require("../../fr-JE-1WKP6.cjs");const e=require("../../DatePicker-7-4p3Vtj.cjs");module.exports=e.DatePicker;
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
- import "../../fr-rmVQsNbI.js";
3
- import { D as p } from "../../DatePicker-Dyf9Vhld.js";
2
+ import "../../fr-Bjufn3RW.js";
3
+ import { D as p } from "../../DatePicker-BS1OatwQ.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-juzW4bLC.cjs");exports.DatePicker=e.DatePicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-7-4p3Vtj.cjs");exports.DatePicker=e.DatePicker;
@@ -1,4 +1,4 @@
1
- import { D as a } from "../../DatePicker-Dyf9Vhld.js";
1
+ import { D as a } from "../../DatePicker-BS1OatwQ.js";
2
2
  export {
3
3
  a as DatePicker
4
4
  };
@@ -0,0 +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;
@@ -0,0 +1,6 @@
1
+ import { DialogProps as MUIDialogProps } from '@mui/material/Dialog';
2
+ export type DialogProps = {
3
+ showCloseButton?: boolean;
4
+ } & MUIDialogProps;
5
+ declare const Dialog: React.FunctionComponent<DialogProps>;
6
+ export default Dialog;
@@ -0,0 +1,28 @@
1
+ import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
+ import { c as s } from "../../createSvgIcon-C8nGcfF4.js";
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 = ({
8
+ children: e,
9
+ showCloseButton: a = !0,
10
+ ...o
11
+ }) => /* @__PURE__ */ c(i, { ...o, children: [
12
+ a ? /* @__PURE__ */ l(
13
+ t,
14
+ {
15
+ "aria-label": "close",
16
+ onClick: () => {
17
+ var n;
18
+ return (n = o.onClose) == null ? void 0 : n.call(o, {}, "escapeKeyDown");
19
+ },
20
+ sx: { position: "absolute", right: 16, top: 16 },
21
+ children: /* @__PURE__ */ l(d, {})
22
+ }
23
+ ) : null,
24
+ e
25
+ ] });
26
+ export {
27
+ g as default
28
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Dialog.cjs.js");exports.Dialog=e;
@@ -0,0 +1,2 @@
1
+ export * from './Dialog';
2
+ export { default as Dialog } from './Dialog';
@@ -0,0 +1,4 @@
1
+ import { default as e } from "./Dialog.es.js";
2
+ export {
3
+ e as Dialog
4
+ };
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),s=require("../../createSvgIcon-BMmqQ2z0.cjs"),d=require("../../index-C5dNuV-2.cjs"),a=require("../../Stack-WrITLr1B.cjs"),r=require("../../Typography-BF9bdWxl.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--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,8 +1,8 @@
1
1
  import { jsx as r, jsxs as e, Fragment as c } from "react/jsx-runtime";
2
- import { c as s } from "../../createSvgIcon-CVd3Lo1D.js";
3
- import { u as h } from "../../index-BNojWn2E.js";
4
- import { S as m } from "../../Stack-CYXQpKS2.js";
5
- import { T as o } from "../../Typography-CUdlQxLM.js";
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
6
  const u = s(/* @__PURE__ */ r("path", {
7
7
  d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
8
8
  }), "FileUpload"), g = s(/* @__PURE__ */ r("path", {
@@ -0,0 +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;
@@ -0,0 +1,9 @@
1
+ import { TooltipProps, TypographyProps } from '@mui/material';
2
+ import { FC, ReactNode } from 'react';
3
+ export type EllipsisWithTooltipProps = {
4
+ tooltipProps?: Omit<TooltipProps, "children" | "title">;
5
+ typographyProps?: Omit<TypographyProps, "noWrap" | "overflow" | "textOverflow">;
6
+ children: ReactNode;
7
+ };
8
+ declare const EllipsisWithTooltip: FC<EllipsisWithTooltipProps>;
9
+ export default EllipsisWithTooltip;
@@ -0,0 +1,44 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { Tooltip as p, Typography as d } from "@mui/material";
3
+ import { useState as a, useRef as v, useEffect as h } from "react";
4
+ const E = ({
5
+ children: t,
6
+ tooltipProps: o,
7
+ typographyProps: l
8
+ }) => {
9
+ const [n, c] = a(!1), e = v(null);
10
+ return h(() => {
11
+ const r = () => {
12
+ if (e.current) {
13
+ const { scrollWidth: f, clientWidth: u } = e.current;
14
+ c(f > u);
15
+ }
16
+ }, s = new ResizeObserver(() => {
17
+ r();
18
+ });
19
+ return e.current && s.observe(e.current), r(), () => {
20
+ e.current && s.unobserve(e.current);
21
+ };
22
+ }, []), /* @__PURE__ */ i(
23
+ p,
24
+ {
25
+ disableHoverListener: !n,
26
+ title: t,
27
+ ...o,
28
+ children: /* @__PURE__ */ i(
29
+ d,
30
+ {
31
+ ref: e,
32
+ noWrap: !0,
33
+ overflow: "hidden",
34
+ textOverflow: "ellipsis",
35
+ ...l,
36
+ children: t
37
+ }
38
+ )
39
+ }
40
+ );
41
+ };
42
+ export {
43
+ E as default
44
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./EllipsisWithTooltip.cjs.js");exports.EllipsisWithTooltip=i;
@@ -0,0 +1,2 @@
1
+ export * from './EllipsisWithTooltip';
2
+ export { default as EllipsisWithTooltip } from './EllipsisWithTooltip';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./EllipsisWithTooltip.es.js";
2
+ export {
3
+ o as EllipsisWithTooltip
4
+ };
@@ -1 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-WrITLr1B.cjs"),i=require("../../Typography-BF9bdWxl.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-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,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-CYXQpKS2.js";
4
- import { T as i } from "../../Typography-CUdlQxLM.js";
3
+ import { S as p } from "../../Stack-BzTJdRGj.js";
4
+ import { T as i } from "../../Typography-DBwTr_ix.js";
5
5
  const y = ({
6
6
  svgName: o,
7
7
  title: n,
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime");require("react");const t=require("./FileListItem.cjs.js"),o=require("../../Box-DMYs7NTb.cjs"),n=({files:r=[]})=>i.jsx(o.Box,{sx:{display:"flex",flexDirection:"column",rowGap:"0.5rem"},children:r.map((s,e)=>i.jsx(t,{file:s,uploading:e%2===0},e))});module.exports=n;
1
+ "use strict";const i=require("react/jsx-runtime");require("react");const t=require("./FileListItem.cjs.js"),o=require("../../Box-mP2Th61z.cjs"),n=({files:r=[]})=>i.jsx(o.Box,{sx:{display:"flex",flexDirection:"column",rowGap:"0.5rem"},children:r.map((s,e)=>i.jsx(t,{file:s,uploading:e%2===0},e))});module.exports=n;
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import m from "./FileListItem.es.js";
4
- import { B as e } from "../../Box-DErdbtsw.js";
4
+ import { B as e } from "../../Box-Byz2BwGf.js";
5
5
  const f = ({
6
6
  files: i = []
7
7
  }) => /* @__PURE__ */ r(e, { sx: { display: "flex", flexDirection: "column", rowGap: "0.5rem" }, children: i.map((t, o) => /* @__PURE__ */ r(
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),n=require("../../Delete-DyzDL8-Y.cjs"),a=require("../../createSvgIcon-BMmqQ2z0.cjs"),u=require("../../Stack-WrITLr1B.cjs"),x=require("../../Box-DMYs7NTb.cjs"),t=require("../../Typography-BF9bdWxl.cjs"),l=require("../../IconButton-DRs0xB4z.cjs"),d=require("../../CircularProgress-DHgcUb1c.cjs"),h=a.createSvgIcon(r.jsx("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile"),j=({file:e,uploading:c,onDelete:s})=>{const i=`${e.size} octets`,o=()=>s==null?void 0:s(e);return r.jsxs(u.Stack,{direction:"row",alignItems:"center",spacing:2,children:[r.jsx(h,{color:"primary"}),r.jsxs(x.Box,{sx:{width:"100%"},children:[r.jsx(t.Typography,{children:e.name}),r.jsx(t.Typography,{fontSize:"0.875rem",color:"grey",children:i})]}),r.jsx(l.IconButton,{onClick:o,disabled:c,children:c?r.jsx(d.CircularProgress,{size:24}):r.jsx(n.DeleteIcon,{})})]})};module.exports=j;
1
+ "use strict";const r=require("react/jsx-runtime"),n=require("../../Delete-D1EiKoL5.cjs"),a=require("../../createSvgIcon--rEClVU7.cjs"),u=require("../../Stack-Yq6rb7iK.cjs"),x=require("../../Box-mP2Th61z.cjs"),t=require("../../Typography-DfRMDngd.cjs"),l=require("../../IconButton-CJfzspZK.cjs"),d=require("../../CircularProgress-BByrCLjv.cjs"),h=a.createSvgIcon(r.jsx("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile"),j=({file:e,uploading:c,onDelete:s})=>{const i=`${e.size} octets`,o=()=>s==null?void 0:s(e);return r.jsxs(u.Stack,{direction:"row",alignItems:"center",spacing:2,children:[r.jsx(h,{color:"primary"}),r.jsxs(x.Box,{sx:{width:"100%"},children:[r.jsx(t.Typography,{children:e.name}),r.jsx(t.Typography,{fontSize:"0.875rem",color:"grey",children:i})]}),r.jsx(l.IconButton,{onClick:o,disabled:c,children:c?r.jsx(d.CircularProgress,{size:24}):r.jsx(n.DeleteIcon,{})})]})};module.exports=j;
@@ -1,11 +1,11 @@
1
1
  import { jsx as r, jsxs as c } from "react/jsx-runtime";
2
- import { D as n } from "../../Delete-BOQTx9ze.js";
3
- import { c as a } from "../../createSvgIcon-CVd3Lo1D.js";
4
- import { S as p } from "../../Stack-CYXQpKS2.js";
5
- import { B as d } from "../../Box-DErdbtsw.js";
6
- import { T as s } from "../../Typography-CUdlQxLM.js";
7
- import { I as l } from "../../IconButton-DjeMTpI5.js";
8
- import { C as I } from "../../CircularProgress-CfODO7vI.js";
2
+ import { D as n } from "../../Delete-BkZN7Xu5.js";
3
+ import { c as a } from "../../createSvgIcon-C8nGcfF4.js";
4
+ import { S as p } from "../../Stack-BzTJdRGj.js";
5
+ import { B as d } from "../../Box-Byz2BwGf.js";
6
+ import { T as s } from "../../Typography-DBwTr_ix.js";
7
+ import { I as l } from "../../IconButton-CekuyD4r.js";
8
+ import { C as I } from "../../CircularProgress-Kwlef5fX.js";
9
9
  const f = a(/* @__PURE__ */ r("path", {
10
10
  d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"
11
11
  }), "InsertDriveFile"), B = ({