@cgi-learning-hub/ui 1.3.5 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,133 +1,37 @@
1
- import { jsx as o, jsxs as g } from "react/jsx-runtime";
2
- import { F as V, a as N } from "../../FormLabel-CfR4bb21.js";
3
- import * as s from "react";
4
- import { I as P, H as S, G as U, P as t } from "../../generateUtilityClasses-Bssl7BA_.js";
5
- import { R as I, a as c } from "../../Radio-DGhot3Cd.js";
6
- import { u as L } from "../../useControlled-BYdyS7Pn.js";
7
- import { u as M } from "../../useForkRef-C_4o__cU.js";
8
- import { u as T } from "../../useId-CK6Kn3Tn.js";
9
- import { F as j } from "../../FormGroup-CbczEc6e.js";
10
- import { c as k } from "../../DefaultPropsProvider-CvJPQJmL.js";
11
- import { F as d } from "../../FormControlLabel-BmrKQtQA.js";
12
- function q(r) {
13
- return S("MuiRadioGroup", r);
14
- }
15
- P("MuiRadioGroup", ["root", "row", "error"]);
16
- const D = (r) => {
17
- const {
18
- classes: a,
19
- row: l,
20
- error: n
21
- } = r;
22
- return k({
23
- root: ["root", l && "row", n && "error"]
24
- }, q, a);
25
- }, b = /* @__PURE__ */ s.forwardRef(function(a, l) {
26
- const {
27
- // private
28
- // eslint-disable-next-line react/prop-types
29
- actions: n,
30
- children: m,
31
- className: h,
32
- defaultValue: C,
33
- name: v,
34
- onChange: u,
35
- value: y,
36
- ...G
37
- } = a, i = s.useRef(null), F = D(a), [p, f] = L({
38
- controlled: y,
39
- default: C,
40
- name: "RadioGroup"
41
- });
42
- s.useImperativeHandle(n, () => ({
43
- focus: () => {
44
- let e = i.current.querySelector("input:not(:disabled):checked");
45
- e || (e = i.current.querySelector("input:not(:disabled)")), e && e.focus();
46
- }
47
- }), []);
48
- const w = M(l, i), R = T(v), x = s.useMemo(() => ({
49
- name: R,
50
- onChange(e) {
51
- f(e.target.value), u && u(e, e.target.value);
52
- },
53
- value: p
54
- }), [R, u, f, p]);
55
- return /* @__PURE__ */ o(I.Provider, {
56
- value: x,
57
- children: /* @__PURE__ */ o(j, {
58
- role: "radiogroup",
59
- ref: w,
60
- className: U(F.root, h),
61
- ...G,
62
- children: m
63
- })
64
- });
65
- });
66
- process.env.NODE_ENV !== "production" && (b.propTypes = {
67
- // ┌────────────────────────────── Warning ──────────────────────────────┐
68
- // │ These PropTypes are generated from the TypeScript type definitions. │
69
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
70
- // └─────────────────────────────────────────────────────────────────────┘
71
- /**
72
- * The content of the component.
73
- */
74
- children: t.node,
75
- /**
76
- * @ignore
77
- */
78
- className: t.string,
79
- /**
80
- * The default value. Use when the component is not controlled.
81
- */
82
- defaultValue: t.any,
83
- /**
84
- * The name used to reference the value of the control.
85
- * If you don't provide this prop, it falls back to a randomly generated name.
86
- */
87
- name: t.string,
88
- /**
89
- * Callback fired when a radio button is selected.
90
- *
91
- * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
92
- * @param {string} value The value of the selected radio button.
93
- * You can pull out the new value by accessing `event.target.value` (string).
94
- */
95
- onChange: t.func,
96
- /**
97
- * Value of the selected radio button. The DOM API casts this to a string.
98
- */
99
- value: t.any
100
- });
101
- const E = (r) => /* @__PURE__ */ g(V, { children: [
102
- /* @__PURE__ */ o(N, { id: "radio-buttons-group-label", children: "Label" }),
103
- /* @__PURE__ */ g(
104
- b,
1
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
+ import { F as e, a as s } from "../../FormLabel-DjkS3S9h.js";
3
+ import { R as n } from "../../RadioGroup-BLrD8_Lp.js";
4
+ import { F as r, R as a } from "../../Radio-BxMxeQa-.js";
5
+ const i = (l) => /* @__PURE__ */ t(e, { children: [
6
+ /* @__PURE__ */ o(s, { id: "radio-buttons-group-label", children: "Label" }),
7
+ /* @__PURE__ */ t(
8
+ n,
105
9
  {
106
10
  "aria-labelledby": "radio-buttons-group-label",
107
11
  defaultValue: "first",
108
12
  name: "radio-buttons-group",
109
- ...r,
13
+ ...l,
110
14
  children: [
111
- /* @__PURE__ */ o(d, { value: "first", control: /* @__PURE__ */ o(c, {}), label: "First" }),
112
- /* @__PURE__ */ o(d, { value: "second", control: /* @__PURE__ */ o(c, {}), label: "Second" }),
113
- /* @__PURE__ */ o(d, { value: "third", control: /* @__PURE__ */ o(c, {}), label: "Third" })
15
+ /* @__PURE__ */ o(r, { value: "first", control: /* @__PURE__ */ o(a, {}), label: "First" }),
16
+ /* @__PURE__ */ o(r, { value: "second", control: /* @__PURE__ */ o(a, {}), label: "Second" }),
17
+ /* @__PURE__ */ o(r, { value: "third", control: /* @__PURE__ */ o(a, {}), label: "Third" })
114
18
  ]
115
19
  }
116
20
  )
117
- ] }), W = {
21
+ ] }), c = {
118
22
  title: "Components/RadioGroup",
119
- component: E
120
- }, X = {
23
+ component: i
24
+ }, p = {
121
25
  args: {
122
26
  row: !1
123
27
  }
124
- }, Y = {
28
+ }, f = {
125
29
  args: {
126
30
  row: !0
127
31
  }
128
32
  };
129
33
  export {
130
- X as Default,
131
- Y as Row,
132
- W as default
34
+ p as Default,
35
+ f as Row,
36
+ c as default
133
37
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),o=require("../../createSvgIcon-Dn4BBPej.cjs"),r=require("@mui/material"),c=require("../ResourceCard/ResourceCard.cjs.js"),s=o.createSvgIcon(e.jsx("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V8h16z"}),"CalendarToday"),i=o.createSvgIcon(e.jsx("path",{d:"M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-6 16h-2v-2h2zm2.07-7.75-.9.92C13.45 11.9 13 12.5 13 14h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}),"LiveHelp"),l=o.createSvgIcon(e.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"Public"),a=o.createSvgIcon(e.jsx("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),n={title:"Components/ResourceCard",component:c,argTypes:{title:{description:"Titre de la carte.",control:"text",table:{type:{summary:"string"}},required:!0},defaultImage:{description:"Image par défaut => Logo de l'application",control:"text",table:{type:{summary:"string"}},required:!0},isSelected:{description:"Indique si la carte est sélectionnée.",control:"boolean",table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}},onSelect:{description:"Callback déclenché lorsque l'utilisateur sélectionne la carte.",action:"card-selected",table:{type:{summary:"() => void"}}},image:{description:"URL de l'image affichée sur la carte.",control:"text",table:{type:{summary:"string"}}},propertyItems:{description:"Liste des propriétés affichées sous le titre.",control:"object",table:{type:{summary:"PropertyItem[{text: Typography, icon: MuiIcon}]"}}},infoIcons:{description:"Liste des icônes d'information affichées dans la carte. (3 maximums)",control:"object",table:{type:{summary:"InfoItem[{text: string, icon: MuiIcon}]"}}},size:{description:"Taille de la carte (petite ou moyenne).",control:"radio",options:["sm","md"],table:{type:{summary:'"sm" | "md"'},defaultValue:{summary:"md"}}},width:{description:"Largeur de la carte.",control:"text",table:{type:{summary:"string"},defaultValue:{summary:"320px"}}}}},t={args:{isSelected:!1,image:"https://dummyimage.com/600x400/000/fff.png&text=flashquizz",defaultImage:"https://flashquizz-dev.support-ent.fr/images/logo.svg",title:"Titre de la Ressource tres loooooooooooooooooooooooooooooooooooooooooooooooooooooong",propertyItems:[{text:e.jsx(r.Typography,{color:"text.primary",children:"0 questions"}),icon:e.jsx(i,{color:"primary"})},{text:e.jsx(r.Typography,{color:"text.primary",children:"27 septembre 2025"}),icon:e.jsx(s,{color:"primary"})}],infoIcons:[{text:"Information 1",icon:e.jsx(l,{color:"primary"})},{text:"Information 2",icon:e.jsx(a,{color:"primary"})},{text:"Information 3",icon:e.jsx(a,{color:"primary"})}],size:"md",onSelect:()=>{console.log("Carte sélectionnée !")},onClick:()=>{console.log("Select all")}}},m={args:{...t.args,isSelected:!0,title:"Carte Sélectionnée"}},d={args:{...t.args,size:"sm",title:"Petite Carte"}},u={args:{...t.args,title:"Pas d'image",image:void 0}};exports.Default=t;exports.NoImage=u;exports.Selected=m;exports.Small=d;exports.default=n;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as ResourceCard } from '../ResourceCard/ResourceCard';
3
+ declare const meta: Meta<typeof ResourceCard>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ResourceCard>;
6
+ export declare const Default: Story;
7
+ export declare const Selected: Story;
8
+ export declare const Small: Story;
9
+ export declare const NoImage: Story;
@@ -0,0 +1,141 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { c as e } from "../../createSvgIcon-CCejzj0C.js";
3
+ import { Typography as r } from "@mui/material";
4
+ import c from "../ResourceCard/ResourceCard.es.js";
5
+ const i = e(/* @__PURE__ */ o("path", {
6
+ d: "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V8h16z"
7
+ }), "CalendarToday"), s = e(/* @__PURE__ */ o("path", {
8
+ d: "M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-6 16h-2v-2h2zm2.07-7.75-.9.92C13.45 11.9 13 12.5 13 14h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"
9
+ }), "LiveHelp"), l = e(/* @__PURE__ */ o("path", {
10
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"
11
+ }), "Public"), a = e(/* @__PURE__ */ o("path", {
12
+ d: "M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"
13
+ }), "Star"), u = {
14
+ title: "Components/ResourceCard",
15
+ component: c,
16
+ argTypes: {
17
+ title: {
18
+ description: "Titre de la carte.",
19
+ control: "text",
20
+ table: {
21
+ type: { summary: "string" }
22
+ },
23
+ required: !0
24
+ },
25
+ defaultImage: {
26
+ description: "Image par défaut => Logo de l'application",
27
+ control: "text",
28
+ table: {
29
+ type: { summary: "string" }
30
+ },
31
+ required: !0
32
+ },
33
+ isSelected: {
34
+ description: "Indique si la carte est sélectionnée.",
35
+ control: "boolean",
36
+ table: {
37
+ type: { summary: "boolean" },
38
+ defaultValue: { summary: "false" }
39
+ }
40
+ },
41
+ onSelect: {
42
+ description: "Callback déclenché lorsque l'utilisateur sélectionne la carte.",
43
+ action: "card-selected",
44
+ table: {
45
+ type: { summary: "() => void" }
46
+ }
47
+ },
48
+ image: {
49
+ description: "URL de l'image affichée sur la carte.",
50
+ control: "text",
51
+ table: {
52
+ type: { summary: "string" }
53
+ }
54
+ },
55
+ propertyItems: {
56
+ description: "Liste des propriétés affichées sous le titre.",
57
+ control: "object",
58
+ table: {
59
+ type: { summary: "PropertyItem[{text: Typography, icon: MuiIcon}]" }
60
+ }
61
+ },
62
+ infoIcons: {
63
+ description: "Liste des icônes d'information affichées dans la carte. (3 maximums)",
64
+ control: "object",
65
+ table: {
66
+ type: { summary: "InfoItem[{text: string, icon: MuiIcon}]" }
67
+ }
68
+ },
69
+ size: {
70
+ description: "Taille de la carte (petite ou moyenne).",
71
+ control: "radio",
72
+ options: ["sm", "md"],
73
+ table: {
74
+ type: { summary: '"sm" | "md"' },
75
+ defaultValue: { summary: "md" }
76
+ }
77
+ },
78
+ width: {
79
+ description: "Largeur de la carte.",
80
+ control: "text",
81
+ table: {
82
+ type: { summary: "string" },
83
+ defaultValue: { summary: "320px" }
84
+ }
85
+ }
86
+ }
87
+ }, t = {
88
+ args: {
89
+ isSelected: !1,
90
+ image: "https://dummyimage.com/600x400/000/fff.png&text=flashquizz",
91
+ defaultImage: "https://flashquizz-dev.support-ent.fr/images/logo.svg",
92
+ title: "Titre de la Ressource tres loooooooooooooooooooooooooooooooooooooooooooooooooooooong",
93
+ propertyItems: [
94
+ {
95
+ text: /* @__PURE__ */ o(r, { color: "text.primary", children: "0 questions" }),
96
+ icon: /* @__PURE__ */ o(s, { color: "primary" })
97
+ },
98
+ {
99
+ text: /* @__PURE__ */ o(r, { color: "text.primary", children: "27 septembre 2025" }),
100
+ icon: /* @__PURE__ */ o(i, { color: "primary" })
101
+ }
102
+ ],
103
+ infoIcons: [
104
+ { text: "Information 1", icon: /* @__PURE__ */ o(l, { color: "primary" }) },
105
+ { text: "Information 2", icon: /* @__PURE__ */ o(a, { color: "primary" }) },
106
+ { text: "Information 3", icon: /* @__PURE__ */ o(a, { color: "primary" }) }
107
+ ],
108
+ size: "md",
109
+ onSelect: () => {
110
+ console.log("Carte sélectionnée !");
111
+ },
112
+ onClick: () => {
113
+ console.log("Select all");
114
+ }
115
+ }
116
+ }, y = {
117
+ args: {
118
+ ...t.args,
119
+ isSelected: !0,
120
+ title: "Carte Sélectionnée"
121
+ }
122
+ }, g = {
123
+ args: {
124
+ ...t.args,
125
+ size: "sm",
126
+ title: "Petite Carte"
127
+ }
128
+ }, f = {
129
+ args: {
130
+ ...t.args,
131
+ title: "Pas d'image",
132
+ image: void 0
133
+ }
134
+ };
135
+ export {
136
+ t as Default,
137
+ f as NoImage,
138
+ y as Selected,
139
+ g as Small,
140
+ u as default
141
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),d=require("react"),u=require("../../FormLabel-D1uvEhsH.cjs"),l=require("../../Select-CwAWNiiv.cjs"),t=require("../../MenuItem-BZ_EVaBq.cjs"),c=n=>{const[a,s]=d.useState("pending"),i=r=>s(r.target.value);return e.jsxs(u.FormControl,{variant:n.variant,sx:{width:"10rem"},children:[e.jsx(l.InputLabel,{id:"simple-select-label",children:"Status"}),e.jsxs(l.Select,{labelId:"simple-select-label",id:"simple-select",value:a,label:"Status",onChange:i,...n,children:[e.jsx(t.MenuItem,{value:"pending",children:"Pending"}),e.jsx(t.MenuItem,{value:"ongoing",children:"Ongoing"}),e.jsx(t.MenuItem,{value:"validated",children:"Validated"}),e.jsx(t.MenuItem,{value:"rejected",children:"Rejected"})]})]})},o={title:"Components/Select",component:c},g={args:{}},m={args:{variant:"filled"}},v={args:{variant:"standard"}},S={args:{disabled:!0}};exports.Default=g;exports.Disabled=S;exports.Filled=m;exports.Standard=v;exports.default=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),d=require("react"),u=require("../../FormLabel-D0gSgwnj.cjs"),l=require("../../Select-KMdcuol6.cjs"),t=require("../../MenuItem-Cp1_Q0FD.cjs"),c=n=>{const[a,s]=d.useState("pending"),i=r=>s(r.target.value);return e.jsxs(u.FormControl,{variant:n.variant,sx:{width:"10rem"},children:[e.jsx(l.InputLabel,{id:"simple-select-label",children:"Status"}),e.jsxs(l.Select,{labelId:"simple-select-label",id:"simple-select",value:a,label:"Status",onChange:i,...n,children:[e.jsx(t.MenuItem,{value:"pending",children:"Pending"}),e.jsx(t.MenuItem,{value:"ongoing",children:"Ongoing"}),e.jsx(t.MenuItem,{value:"validated",children:"Validated"}),e.jsx(t.MenuItem,{value:"rejected",children:"Rejected"})]})]})},o={title:"Components/Select",component:c},g={args:{}},m={args:{variant:"filled"}},v={args:{variant:"standard"}},S={args:{disabled:!0}};exports.Default=g;exports.Disabled=S;exports.Filled=m;exports.Standard=v;exports.default=o;
@@ -1,8 +1,8 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as d } from "react";
3
- import { F as o } from "../../FormLabel-CfR4bb21.js";
4
- import { a as c, S as m } from "../../Select-DmssuG5M.js";
5
- import { M as t } from "../../MenuItem-j8luVUcX.js";
3
+ import { F as o } from "../../FormLabel-DjkS3S9h.js";
4
+ import { a as c, S as m } from "../../Select-B6mYfJPA.js";
5
+ import { M as t } from "../../MenuItem-DQQ-p2ie.js";
6
6
  const u = (a) => {
7
7
  const [n, s] = d("pending"), r = (i) => s(i.target.value);
8
8
  return /* @__PURE__ */ l(o, { variant: a.variant, sx: { width: "10rem" }, children: [
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),y=require("react"),o=require("../../generateUtilityClasses-B_H9HEmg.cjs"),d=require("../../Tabs-KG4VWw-1.cjs"),P=require("../../DefaultPropsProvider-3KMGupjb.cjs"),M=require("../../useThemeProps-CdV_QwDl.cjs");function w(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const l=w(y),f=l.createContext(null);process.env.NODE_ENV!=="production"&&(f.displayName="TabContext");function E(){const[e,t]=l.useState(null);return l.useEffect(()=>{t(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),e}function v(e){const{children:t,value:r}=e,n=E(),i=l.useMemo(()=>({idPrefix:n,value:r}),[n,r]);return s.jsx(f.Provider,{value:i,children:t})}process.env.NODE_ENV!=="production"&&(v.propTypes={children:o.PropTypes.node,value:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]).isRequired});function m(){return l.useContext(f)}function h(e,t){const{idPrefix:r}=e;return r===null?null:`${e.idPrefix}-P-${t}`}function x(e,t){const{idPrefix:r}=e;return r===null?null:`${e.idPrefix}-T-${t}`}const g=l.forwardRef(function(t,r){const{children:n,...i}=t,a=m();if(a===null)throw new TypeError("No TabContext provided");const c=l.Children.map(n,u=>l.isValidElement(u)?l.cloneElement(u,{"aria-controls":h(a,u.props.value),id:x(a,u.props.value)}):null);return s.jsx(d.Tabs,{...i,ref:r,value:a.value,children:c})});process.env.NODE_ENV!=="production"&&(g.propTypes={children:o.PropTypes.node});function S(e){return o.generateUtilityClass("MuiTabPanel",e)}o.generateUtilityClasses("MuiTabPanel",["root","hidden"]);const I=e=>{const{classes:t,hidden:r}=e,n={root:["root",r&&"hidden"]};return P.composeClasses(n,S,t)},R=P.styled("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(3)})),b=l.forwardRef(function(t,r){const n=M.useThemeProps({props:t,name:"MuiTabPanel"}),{children:i,className:a,value:c,keepMounted:u=!1,...C}=n,T={...n},j=I(T),p=m();if(p===null)throw new TypeError("No TabContext provided");const N=h(p,c),O=x(p,c);return s.jsx(R,{"aria-labelledby":O,className:o.clsx(j.root,a),hidden:c!==p.value,id:N,ref:r,role:"tabpanel",ownerState:T,...C,children:(u||c===p.value)&&i})});process.env.NODE_ENV!=="production"&&(b.propTypes={children:o.PropTypes.node,classes:o.PropTypes.object,className:o.PropTypes.string,keepMounted:o.PropTypes.bool,sx:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object,o.PropTypes.bool])),o.PropTypes.func,o.PropTypes.object]),value:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]).isRequired});const q=e=>{const[t,r]=y.useState("1"),n=(i,a)=>r(a);return s.jsxs(v,{value:t,children:[s.jsxs(g,{...e,onChange:n,"aria-label":"lib tablist example",children:[s.jsx(d.Tab,{label:"Item one",value:"1"}),s.jsx(d.Tab,{label:"Item two",value:"2"}),s.jsx(d.Tab,{label:"Item three",value:"3"})]}),s.jsx(b,{value:"1",children:"Item one"}),s.jsx(b,{value:"2",children:"Item two"}),s.jsx(b,{value:"3",children:"Item three"})]})},D={title:"Components/TabList",component:q,argTypes:{allowScrollButtonsMobile:{control:"boolean"},centered:{control:"boolean"},indicatorColor:{control:"radio",options:["primary","secondary"]},orientation:{control:"radio",options:["horizontal","vertical"]},scrollButtons:{control:"radio",options:["auto",!0,!1]},textColor:{control:"radio",options:["inherit","primary","secondary"]},variant:{control:"radio",options:["fullWidth","scrollable","standard"]},visibleScrollbar:{control:"boolean"}}},_={args:{allowScrollButtonsMobile:!1,centered:!1,indicatorColor:"primary",orientation:"horizontal",scrollButtons:"auto",textColor:"primary",variant:"standard",visibleScrollbar:!1}};exports.Default=_;exports.default=D;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),y=require("react"),o=require("../../identifier-5n4d7br9.cjs"),d=require("../../Tabs-Dploq_37.cjs"),M=require("../../useThemeProps-Dq3GRYN1.cjs"),P=require("../../DefaultPropsProvider-QmkL7lbM.cjs");function w(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const l=w(y),T=l.createContext(null);process.env.NODE_ENV!=="production"&&(T.displayName="TabContext");function E(){const[e,t]=l.useState(null);return l.useEffect(()=>{t(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),e}function v(e){const{children:t,value:r}=e,n=E(),i=l.useMemo(()=>({idPrefix:n,value:r}),[n,r]);return s.jsx(T.Provider,{value:i,children:t})}process.env.NODE_ENV!=="production"&&(v.propTypes={children:o.PropTypes.node,value:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]).isRequired});function m(){return l.useContext(T)}function h(e,t){const{idPrefix:r}=e;return r===null?null:`${e.idPrefix}-P-${t}`}function x(e,t){const{idPrefix:r}=e;return r===null?null:`${e.idPrefix}-T-${t}`}const g=l.forwardRef(function(t,r){const{children:n,...i}=t,a=m();if(a===null)throw new TypeError("No TabContext provided");const c=l.Children.map(n,u=>l.isValidElement(u)?l.cloneElement(u,{"aria-controls":h(a,u.props.value),id:x(a,u.props.value)}):null);return s.jsx(d.Tabs,{...i,ref:r,value:a.value,children:c})});process.env.NODE_ENV!=="production"&&(g.propTypes={children:o.PropTypes.node});function S(e){return o.generateUtilityClass("MuiTabPanel",e)}o.generateUtilityClasses("MuiTabPanel",["root","hidden"]);const I=e=>{const{classes:t,hidden:r}=e,n={root:["root",r&&"hidden"]};return P.composeClasses(n,S,t)},R=P.styled("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(3)})),b=l.forwardRef(function(t,r){const n=M.useThemeProps({props:t,name:"MuiTabPanel"}),{children:i,className:a,value:c,keepMounted:u=!1,...C}=n,f={...n},j=I(f),p=m();if(p===null)throw new TypeError("No TabContext provided");const N=h(p,c),O=x(p,c);return s.jsx(R,{"aria-labelledby":O,className:o.clsx(j.root,a),hidden:c!==p.value,id:N,ref:r,role:"tabpanel",ownerState:f,...C,children:(u||c===p.value)&&i})});process.env.NODE_ENV!=="production"&&(b.propTypes={children:o.PropTypes.node,classes:o.PropTypes.object,className:o.PropTypes.string,keepMounted:o.PropTypes.bool,sx:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object,o.PropTypes.bool])),o.PropTypes.func,o.PropTypes.object]),value:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]).isRequired});const q=e=>{const[t,r]=y.useState("1"),n=(i,a)=>r(a);return s.jsxs(v,{value:t,children:[s.jsxs(g,{...e,onChange:n,"aria-label":"lib tablist example",children:[s.jsx(d.Tab,{label:"Item one",value:"1"}),s.jsx(d.Tab,{label:"Item two",value:"2"}),s.jsx(d.Tab,{label:"Item three",value:"3"})]}),s.jsx(b,{value:"1",children:"Item one"}),s.jsx(b,{value:"2",children:"Item two"}),s.jsx(b,{value:"3",children:"Item three"})]})},D={title:"Components/TabList",component:q,argTypes:{allowScrollButtonsMobile:{control:"boolean"},centered:{control:"boolean"},indicatorColor:{control:"radio",options:["primary","secondary"]},orientation:{control:"radio",options:["horizontal","vertical"]},scrollButtons:{control:"radio",options:["auto",!0,!1]},textColor:{control:"radio",options:["inherit","primary","secondary"]},variant:{control:"radio",options:["fullWidth","scrollable","standard"]},visibleScrollbar:{control:"boolean"}}},_={args:{allowScrollButtonsMobile:!1,centered:!1,indicatorColor:"primary",orientation:"horizontal",scrollButtons:"auto",textColor:"primary",variant:"standard",visibleScrollbar:!1}};exports.Default=_;exports.default=D;
@@ -1,10 +1,10 @@
1
- import { jsx as l, jsxs as h } from "react/jsx-runtime";
1
+ import { jsx as l, jsxs as v } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
3
  import { useState as w } from "react";
4
- import { P as o, I, H as M, G as O } from "../../generateUtilityClasses-Bssl7BA_.js";
5
- import { a as R, T as f } from "../../Tabs-CYbeTnJk.js";
6
- import { s as S, c as V } from "../../DefaultPropsProvider-CvJPQJmL.js";
7
- import { u as $ } from "../../useThemeProps-CwEQ4bv2.js";
4
+ import { P as o, I, H as M, G as O } from "../../identifier-D58rA1gM.js";
5
+ import { a as R, T as f } from "../../Tabs-CrWcC5nJ.js";
6
+ import { u as S } from "../../useThemeProps-C6qniHmV.js";
7
+ import { s as V, c as $ } from "../../DefaultPropsProvider-BcmyIf2H.js";
8
8
  const b = /* @__PURE__ */ r.createContext(null);
9
9
  process.env.NODE_ENV !== "production" && (b.displayName = "TabContext");
10
10
  function j() {
@@ -13,7 +13,7 @@ function j() {
13
13
  t(`mui-p-${Math.round(Math.random() * 1e5)}`);
14
14
  }, []), e;
15
15
  }
16
- function v(e) {
16
+ function h(e) {
17
17
  const {
18
18
  children: t,
19
19
  value: n
@@ -26,7 +26,7 @@ function v(e) {
26
26
  children: t
27
27
  });
28
28
  }
29
- process.env.NODE_ENV !== "production" && (v.propTypes = {
29
+ process.env.NODE_ENV !== "production" && (h.propTypes = {
30
30
  // ┌────────────────────────────── Warning ──────────────────────────────┐
31
31
  // │ These PropTypes are generated from the TypeScript type definitions. │
32
32
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -85,18 +85,18 @@ process.env.NODE_ENV !== "production" && (C.propTypes = {
85
85
  children: o.node
86
86
  });
87
87
  function D(e) {
88
- return M("MuiTabPanel", e);
88
+ return I("MuiTabPanel", e);
89
89
  }
90
- I("MuiTabPanel", ["root", "hidden"]);
90
+ M("MuiTabPanel", ["root", "hidden"]);
91
91
  const U = (e) => {
92
92
  const {
93
93
  classes: t,
94
94
  hidden: n
95
95
  } = e;
96
- return V({
96
+ return $({
97
97
  root: ["root", n && "hidden"]
98
98
  }, D, t);
99
- }, B = S("div", {
99
+ }, B = V("div", {
100
100
  name: "MuiTabPanel",
101
101
  slot: "Root",
102
102
  overridesResolver: (e, t) => t.root
@@ -105,7 +105,7 @@ const U = (e) => {
105
105
  }) => ({
106
106
  padding: e.spacing(3)
107
107
  })), p = /* @__PURE__ */ r.forwardRef(function(t, n) {
108
- const a = $({
108
+ const a = S({
109
109
  props: t,
110
110
  name: "MuiTabPanel"
111
111
  }), {
@@ -166,8 +166,8 @@ process.env.NODE_ENV !== "production" && (p.propTypes = {
166
166
  });
167
167
  const L = (e) => {
168
168
  const [t, n] = w("1");
169
- return /* @__PURE__ */ h(v, { value: t, children: [
170
- /* @__PURE__ */ h(
169
+ return /* @__PURE__ */ v(h, { value: t, children: [
170
+ /* @__PURE__ */ v(
171
171
  C,
172
172
  {
173
173
  ...e,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),t=require("../../TextField-BI9KVqjC.cjs"),o=e=>l.jsx(t.TextField,{...e}),r={title:"Components/TextField",component:o,argTypes:{color:{control:"select",options:["primary","secondary","error","info","success","warning"]},disabled:{control:"boolean"},error:{control:"boolean"},fullWidth:{control:"boolean"},helperText:{control:"text"},label:{control:"text"},multiline:{control:"boolean"},placeholder:{control:"text"},variant:{control:"select",options:["standard","outlined","filled"]}},args:{color:"primary",disabled:!1,error:!1,fullWidth:!1,helperText:void 0,label:"Label",multiline:!1,placeholder:void 0,variant:"outlined"}},a={args:{}},n={args:{variant:"filled"}},i={args:{variant:"standard"}},s={args:{disabled:!0}};exports.Default=a;exports.Disabled=s;exports.Filled=n;exports.Standard=i;exports.default=r;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),t=require("../../TextField-BC7GvvHh.cjs"),o=e=>l.jsx(t.TextField,{...e}),r={title:"Components/TextField",component:o,argTypes:{color:{control:"select",options:["primary","secondary","error","info","success","warning"]},disabled:{control:"boolean"},error:{control:"boolean"},fullWidth:{control:"boolean"},helperText:{control:"text"},label:{control:"text"},multiline:{control:"boolean"},placeholder:{control:"text"},variant:{control:"select",options:["standard","outlined","filled"]}},args:{color:"primary",disabled:!1,error:!1,fullWidth:!1,helperText:void 0,label:"Label",multiline:!1,placeholder:void 0,variant:"outlined"}},a={args:{}},n={args:{variant:"filled"}},i={args:{variant:"standard"}},s={args:{disabled:!0}};exports.Default=a;exports.Disabled=s;exports.Filled=n;exports.Standard=i;exports.default=r;
@@ -1,6 +1,6 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import { T as o } from "../../TextField-Cri5Gxa7.js";
3
- const t = (e) => /* @__PURE__ */ l(o, { ...e }), n = {
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { T as l } from "../../TextField-CAmc1Qpg.js";
3
+ const t = (e) => /* @__PURE__ */ o(l, { ...e }), n = {
4
4
  title: "Components/TextField",
5
5
  component: t,
6
6
  argTypes: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),e=require("../../Tooltip-DhDtvULK.cjs"),l=require("../../Button-BH9MUvmz.cjs"),r=o=>t.jsx(e.Tooltip,{...o,children:t.jsx(l.Button,{children:"Hover to display tooltip"})}),n={title:"Components/Tooltip",component:r,argTypes:{arrow:{control:"boolean"},followCursor:{control:"boolean"},placement:{control:"select",options:["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]},title:{control:"text"}}},s={args:{arrow:!1,followCursor:!1,placement:"bottom",title:"Title"}};exports.Default=s;exports.default=n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),e=require("../../Tooltip-CWA-GKdK.cjs"),l=require("../../Button-1tZRtOeG.cjs"),r=o=>t.jsx(e.Tooltip,{...o,children:t.jsx(l.Button,{children:"Hover to display tooltip"})}),n={title:"Components/Tooltip",component:r,argTypes:{arrow:{control:"boolean"},followCursor:{control:"boolean"},placement:{control:"select",options:["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]},title:{control:"text"}}},s={args:{arrow:!1,followCursor:!1,placement:"bottom",title:"Title"}};exports.Default=s;exports.default=n;
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { T as e } from "../../Tooltip-BhAHhzKz.js";
3
- import { B as r } from "../../Button-BnNYfQ3E.js";
2
+ import { T as e } from "../../Tooltip-BvVFPsVR.js";
3
+ import { B as r } from "../../Button-rxIER0bL.js";
4
4
  const l = (o) => /* @__PURE__ */ t(e, { ...o, children: /* @__PURE__ */ t(r, { children: "Hover to display tooltip" }) }), i = {
5
5
  title: "Components/Tooltip",
6
6
  component: l,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../Typography-DfRMDngd.cjs"),e={title:"Components/Typography",component:t.Typography,argTypes:{align:{control:"select",options:["center","inherit","justify","left","right"]},children:{control:"text"},color:{control:"select",options:["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]},gutterBottom:{control:"boolean"},noWrap:{control:"boolean"},variant:{control:"select",options:["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]}}},o={args:{align:"inherit",children:"CGI Learning Hub",gutterBottom:!1,noWrap:!1,variant:"body1"}};exports.Default=o;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../Typography-DEAE8-8u.cjs"),e={title:"Components/Typography",component:t.Typography,argTypes:{align:{control:"select",options:["center","inherit","justify","left","right"]},children:{control:"text"},color:{control:"select",options:["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]},gutterBottom:{control:"boolean"},noWrap:{control:"boolean"},variant:{control:"select",options:["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]}}},o={args:{align:"inherit",children:"CGI Learning Hub",gutterBottom:!1,noWrap:!1,variant:"body1"}};exports.Default=o;exports.default=e;
@@ -1,4 +1,4 @@
1
- import { T as t } from "../../Typography-DBwTr_ix.js";
1
+ import { T as t } from "../../Typography-CE8fQQ8B.js";
2
2
  const e = {
3
3
  title: "Components/Typography",
4
4
  component: t,