@cgi-learning-hub/ui 1.2.0 → 1.3.0-dev.1731062725

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 (327) hide show
  1. package/dist/Backdrop-CxHwPsCX.js +789 -0
  2. package/dist/Backdrop-ZCTs-Ws8.cjs +1 -0
  3. package/dist/Box-D61CmHcZ.cjs +1 -0
  4. package/dist/{Box-Bawb5zHX.js → Box-a6v7fn61.js} +31 -30
  5. package/dist/Button-B8Vr_qVd.js +450 -0
  6. package/dist/Button-elp97nQ8.cjs +1 -0
  7. package/dist/ButtonBase-S0mFlojL.cjs +75 -0
  8. package/dist/ButtonBase-Y5TK5SRu.js +890 -0
  9. package/dist/CircularProgress-DDIZxeFH.cjs +28 -0
  10. package/dist/CircularProgress-DU3DJQfF.js +252 -0
  11. package/dist/DatePicker-BigDV0IN.cjs +17 -0
  12. package/dist/{DatePicker-DGVeagTz.js → DatePicker-ZdjLD9eR.js} +6100 -5984
  13. package/dist/DefaultPropsProvider-7QnSWHxy.js +484 -0
  14. package/dist/DefaultPropsProvider-eEVEiLDf.cjs +17 -0
  15. package/dist/IconButton-C7H_G1LX.js +230 -0
  16. package/dist/IconButton-DfmbM9nO.cjs +2 -0
  17. package/dist/InputAdornment-C-EbfNtT.cjs +1 -0
  18. package/dist/{InputAdornment-hNrnvXW9.js → InputAdornment-CPJFY_m_.js} +81 -64
  19. package/dist/InputBase-5GB2c2J6.js +803 -0
  20. package/dist/InputBase-CPtGhJye.cjs +3 -0
  21. package/dist/Stack-656bqKiW.cjs +1 -0
  22. package/dist/{Stack-BJ2ths-g.js → Stack-CutIWKkG.js} +61 -60
  23. package/dist/Tabs-CKic46Op.js +1222 -0
  24. package/dist/Tabs-DzrxYlm-.cjs +4 -0
  25. package/dist/TextField-BLEvZwPH.cjs +14 -0
  26. package/dist/TextField-CGMPbx_J.js +5686 -0
  27. package/dist/Tooltip-BJefPCe7.cjs +100 -0
  28. package/dist/{Tooltip-D42pzHKW.js → Tooltip-DqLAZimE.js} +4764 -3511
  29. package/dist/TransitionGroupContext-DMJLhY9-.js +24 -0
  30. package/dist/TransitionGroupContext-DbXD5xqS.cjs +1 -0
  31. package/dist/Typography-CreZW2v6.cjs +1 -0
  32. package/dist/Typography-DsJC595c.js +259 -0
  33. package/dist/assets/styles.css +1 -1
  34. package/dist/assets/styles2.css +1 -1
  35. package/dist/client-error-BUtdld5f.cjs +1 -0
  36. package/dist/client-error-B_-qjgAB.js +395 -0
  37. package/dist/components/Alert/Alert.cjs.js +1 -0
  38. package/dist/components/{feedback/Alert → Alert}/Alert.d.ts +0 -1
  39. package/dist/components/Alert/Alert.stories.cjs.js +1 -0
  40. package/dist/components/{feedback/Alert → Alert}/Alert.stories.d.ts +0 -1
  41. package/dist/components/{feedback/Alert → Alert}/Alert.stories.es.js +7 -7
  42. package/dist/components/Button/Button.cjs.js +1 -0
  43. package/dist/components/Button/Button.d.ts +4 -0
  44. package/dist/components/Button/Button.es.js +334 -0
  45. package/dist/components/Button/Button.stories.cjs.js +1 -0
  46. package/dist/components/{buttons/SecondaryButton/SecondaryButton.stories.d.ts → Button/Button.stories.d.ts} +3 -2
  47. package/dist/components/Button/Button.stories.es.js +45 -0
  48. package/dist/components/Button/index.cjs.js +1 -0
  49. package/dist/components/Button/index.d.ts +2 -0
  50. package/dist/components/Button/index.es.js +4 -0
  51. package/dist/components/DatePicker/DatePicker.cjs.js +1 -0
  52. package/dist/components/{pickers/DatePicker → DatePicker}/DatePicker.d.ts +0 -1
  53. package/dist/components/DatePicker/DatePicker.es.js +6 -0
  54. package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -0
  55. package/dist/components/{pickers/DatePicker → DatePicker}/DatePicker.stories.d.ts +0 -1
  56. package/dist/components/DatePicker/DatePicker.stories.es.js +16 -0
  57. package/dist/components/{pickers → DatePicker}/index.cjs.js +1 -1
  58. package/dist/components/DatePicker/index.es.js +4 -0
  59. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  60. package/dist/components/Dropzone/Dropzone.d.ts +0 -1
  61. package/dist/components/Dropzone/Dropzone.es.js +1685 -686
  62. package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -1
  63. package/dist/components/Dropzone/Dropzone.stories.d.ts +0 -1
  64. package/dist/components/Dropzone/Dropzone.stories.es.js +1 -1
  65. package/dist/components/EmptyState/EmptyState.cjs.js +1 -0
  66. package/dist/components/EmptyState/EmptyState.d.ts +12 -0
  67. package/dist/components/EmptyState/EmptyState.es.js +31 -0
  68. package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -0
  69. package/dist/components/{PaperHeader/PaperHeader.stories.d.ts → EmptyState/EmptyState.stories.d.ts} +0 -1
  70. package/dist/components/EmptyState/EmptyState.stories.es.js +17 -0
  71. package/dist/components/EmptyState/index.cjs.js +1 -0
  72. package/dist/components/EmptyState/index.d.ts +2 -0
  73. package/dist/components/EmptyState/index.es.js +4 -0
  74. package/dist/components/FileList/FileList.cjs.js +1 -0
  75. package/dist/components/{lists/FileList → FileList}/FileList.d.ts +0 -1
  76. package/dist/components/{lists/FileList → FileList}/FileList.es.js +1 -1
  77. package/dist/components/FileList/FileList.stories.cjs.js +1 -0
  78. package/dist/components/{lists/FileList → FileList}/FileList.stories.d.ts +0 -1
  79. package/dist/components/{lists/FileList → FileList}/FileList.stories.es.js +3 -3
  80. package/dist/components/FileList/FileListItem.cjs.js +1 -0
  81. package/dist/components/FileList/FileListItem.d.ts +12 -0
  82. package/dist/components/FileList/FileListItem.es.js +29 -0
  83. package/dist/components/Heading/Heading.cjs.js +1 -0
  84. package/dist/components/{PaperHeader/PaperHeader.d.ts → Heading/Heading.d.ts} +6 -5
  85. package/dist/components/Heading/Heading.es.js +39 -0
  86. package/dist/components/Heading/Heading.stories.cjs.js +1 -0
  87. package/dist/components/{buttons/PrimaryButton/PrimaryButton.stories.d.ts → Heading/Heading.stories.d.ts} +0 -1
  88. package/dist/components/Heading/Heading.stories.es.js +22 -0
  89. package/dist/components/Heading/index.cjs.js +1 -0
  90. package/dist/components/Heading/index.d.ts +2 -0
  91. package/dist/components/Heading/index.es.js +4 -0
  92. package/dist/components/IconButton.stories.cjs.js +1 -0
  93. package/dist/components/{buttons/IconButton.stories.d.ts → IconButton.stories.d.ts} +0 -1
  94. package/dist/components/IconButton.stories.es.js +21 -0
  95. package/dist/components/Loader/Loader.cjs.js +1 -1
  96. package/dist/components/Loader/Loader.d.ts +0 -1
  97. package/dist/components/Loader/Loader.es.js +2 -2
  98. package/dist/components/Loader/Loader.stories.cjs.js +1 -1
  99. package/dist/components/Loader/Loader.stories.d.ts +0 -1
  100. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  101. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -1
  102. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +10 -8
  103. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.d.ts +0 -1
  104. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -0
  105. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.d.ts +0 -1
  106. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.es.js +10 -11
  107. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.stories.cjs.js +1 -1
  108. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.stories.d.ts +0 -1
  109. package/dist/components/PasswordInput/PasswordInput.stories.es.js +16 -0
  110. package/dist/components/QueryError/QueryError.cjs.js +1 -0
  111. package/dist/components/{feedback/QueryError → QueryError}/QueryError.d.ts +0 -1
  112. package/dist/components/QueryError/QueryError.es.js +43 -0
  113. package/dist/components/{feedback/QueryError → QueryError}/helpers.d.ts +0 -1
  114. package/dist/components/SearchInput/SearchInput.cjs.js +1 -0
  115. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.d.ts +0 -1
  116. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.es.js +4 -4
  117. package/dist/components/SearchInput/SearchInput.stories.cjs.js +1 -0
  118. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.stories.d.ts +0 -1
  119. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.stories.es.js +1 -1
  120. package/dist/components/TabList.stories.cjs.js +1 -0
  121. package/dist/components/{lists/TabList.stories.d.ts → TabList.stories.d.ts} +0 -1
  122. package/dist/components/{lists/TabList.stories.es.js → TabList.stories.es.js} +99 -87
  123. package/dist/components/TextInput/TextInput.cjs.js +1 -0
  124. package/dist/components/{inputs/TextInput → TextInput}/TextInput.d.ts +0 -1
  125. package/dist/components/{inputs/TextInput → TextInput}/TextInput.es.js +1 -1
  126. package/dist/components/TextInput/TextInput.stories.cjs.js +1 -0
  127. package/dist/components/{inputs/TextInput → TextInput}/TextInput.stories.d.ts +0 -1
  128. package/dist/components/{inputs/TextInput → TextInput}/TextInput.stories.es.js +7 -7
  129. package/dist/components/index.cjs.js +1 -1
  130. package/dist/components/index.d.ts +14 -20
  131. package/dist/components/index.es.js +270 -272
  132. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  133. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
  134. package/dist/createSvgIcon-Ae1vF9Lv.js +250 -0
  135. package/dist/createSvgIcon-PXjVOXDY.cjs +1 -0
  136. package/dist/error-CRNeivL7.js +5 -0
  137. package/dist/error-Dk3o6ber.cjs +1 -0
  138. package/dist/extendSxProp-BzTGWWcy.js +37 -0
  139. package/dist/extendSxProp-DLhbnNxc.cjs +1 -0
  140. package/dist/{fr-By4s91yO.js → fr-B0c4Eu-I.js} +13 -13
  141. package/dist/{fr-TRjulm1Q.cjs → fr-BtINyNRC.cjs} +1 -1
  142. package/dist/hooks/lazySvgImport.cjs.js +1 -0
  143. package/dist/hooks/lazySvgImport.d.ts +6 -0
  144. package/dist/hooks/lazySvgImport.es.js +34 -0
  145. package/dist/identifier-B_IiMbpZ.cjs +59 -0
  146. package/dist/identifier-Bu3vgTzE.js +3115 -0
  147. package/dist/index-BDy6VH40.cjs +1 -0
  148. package/dist/index-D4YvqRSh.js +45 -0
  149. package/dist/index-DNmEgr4X.js +89 -0
  150. package/dist/index-Dl4BXU0b.cjs +1 -0
  151. package/dist/index.cjs.js +1 -1
  152. package/dist/index.d.ts +0 -1
  153. package/dist/index.es.js +271 -273
  154. package/dist/memoTheme-C4_nd-x4.js +15 -0
  155. package/dist/memoTheme-DvW891YJ.cjs +1 -0
  156. package/dist/{ownerWindow-C7EH1lr6.js → ownerWindow-BoRkeomM.js} +2 -2
  157. package/dist/refType-DYRsy3ld.cjs +1 -0
  158. package/dist/refType-DvOnKTmB.js +27 -0
  159. package/dist/server-error-CeAtUo4S.cjs +1 -0
  160. package/dist/server-error-DMyaPFs8.js +400 -0
  161. package/dist/useForkRef-D-DyzOXj.js +21 -0
  162. package/dist/useForkRef-D81w5oMb.cjs +1 -0
  163. package/dist/useId-CK6Kn3Tn.js +21 -0
  164. package/dist/useId-DNXtOFeX.cjs +1 -0
  165. package/dist/useTheme-B_3HWqyi.js +88 -0
  166. package/dist/useTheme-BvsnROiB.cjs +1 -0
  167. package/dist/{useTheme-CjBTq22m.js → useTheme-DhYab2-0.js} +5 -5
  168. package/dist/useTheme-vN32oV1t.cjs +1 -0
  169. package/dist/useThemeProps-5hp2m3Xl.cjs +1 -0
  170. package/dist/{useThemeProps-BM4fCFq5.js → useThemeProps-Bmkt_XOR.js} +2 -2
  171. package/dist/useThemeProps-D_gKWuk1.cjs +1 -0
  172. package/dist/useThemeProps-DftpgVZ0.js +24 -0
  173. package/dist/useTimeout-Bx22KOcH.js +53 -0
  174. package/dist/useTimeout-gEG15bRo.cjs +1 -0
  175. package/package.json +14 -17
  176. package/dist/Box-5x1F2S3-.cjs +0 -1
  177. package/dist/Button-C__-QOJY.js +0 -359
  178. package/dist/Button-DKIRmOzf.cjs +0 -1
  179. package/dist/ButtonBase-4F5roLHd.js +0 -827
  180. package/dist/ButtonBase-Bw3wq81v.cjs +0 -75
  181. package/dist/CircularProgress-BNazIBar.js +0 -217
  182. package/dist/CircularProgress-WnNPMTjD.cjs +0 -28
  183. package/dist/DatePicker-B0jLSEvZ.cjs +0 -19
  184. package/dist/DefaultButton-F67BOmrx.js +0 -258
  185. package/dist/DefaultButton-y-mHSNFH.cjs +0 -1
  186. package/dist/IconButton-D_deQOvN.js +0 -184
  187. package/dist/IconButton-DhWgsgQ7.cjs +0 -2
  188. package/dist/InputAdornment-DYqMrYJz.cjs +0 -1
  189. package/dist/InputBase-BeZ70Fbf.cjs +0 -3
  190. package/dist/InputBase-DNkF-TAp.js +0 -794
  191. package/dist/Stack-BOcvai-O.cjs +0 -1
  192. package/dist/Tabs-CG428TT3.cjs +0 -4
  193. package/dist/Tabs-CWujD0SK.js +0 -1091
  194. package/dist/TextField-DDmGQyEr.js +0 -5800
  195. package/dist/TextField-wYRnAj1v.cjs +0 -12
  196. package/dist/Tooltip-O30xWGZU.cjs +0 -95
  197. package/dist/TransitionGroupContext-BkoHK5Kx.js +0 -14
  198. package/dist/TransitionGroupContext-mYDSzffd.cjs +0 -1
  199. package/dist/Typography-B2XMXu83.js +0 -178
  200. package/dist/Typography-DR_aF9lJ.cjs +0 -1
  201. package/dist/assets/index.css +0 -1
  202. package/dist/components/PaperHeader/PaperHeader.cjs.js +0 -1
  203. package/dist/components/PaperHeader/PaperHeader.es.js +0 -41
  204. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +0 -1
  205. package/dist/components/PaperHeader/PaperHeader.stories.es.js +0 -28
  206. package/dist/components/PaperHeader/index.cjs.js +0 -1
  207. package/dist/components/PaperHeader/index.d.ts +0 -2
  208. package/dist/components/PaperHeader/index.es.js +0 -4
  209. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +0 -1
  210. package/dist/components/buttons/DefaultButton/DefaultButton.d.ts +0 -9
  211. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +0 -8
  212. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +0 -1
  213. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.d.ts +0 -9
  214. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +0 -143
  215. package/dist/components/buttons/DefaultButton/index.cjs.js +0 -1
  216. package/dist/components/buttons/DefaultButton/index.d.ts +0 -2
  217. package/dist/components/buttons/DefaultButton/index.es.js +0 -4
  218. package/dist/components/buttons/IconButton.stories.cjs.js +0 -1
  219. package/dist/components/buttons/IconButton.stories.es.js +0 -28
  220. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +0 -1
  221. package/dist/components/buttons/PrimaryButton/PrimaryButton.d.ts +0 -6
  222. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +0 -13
  223. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +0 -1
  224. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +0 -25
  225. package/dist/components/buttons/PrimaryButton/index.cjs.js +0 -1
  226. package/dist/components/buttons/PrimaryButton/index.d.ts +0 -2
  227. package/dist/components/buttons/PrimaryButton/index.es.js +0 -4
  228. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +0 -1
  229. package/dist/components/buttons/SecondaryButton/SecondaryButton.d.ts +0 -6
  230. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +0 -6
  231. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +0 -1
  232. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +0 -25
  233. package/dist/components/buttons/SecondaryButton/index.cjs.js +0 -1
  234. package/dist/components/buttons/SecondaryButton/index.d.ts +0 -2
  235. package/dist/components/buttons/SecondaryButton/index.es.js +0 -4
  236. package/dist/components/buttons/index.cjs.js +0 -1
  237. package/dist/components/buttons/index.d.ts +0 -3
  238. package/dist/components/buttons/index.es.js +0 -8
  239. package/dist/components/feedback/Alert/Alert.cjs.js +0 -1
  240. package/dist/components/feedback/Alert/Alert.stories.cjs.js +0 -1
  241. package/dist/components/feedback/QueryError/QueryError.cjs.js +0 -1
  242. package/dist/components/feedback/QueryError/QueryError.es.js +0 -19
  243. package/dist/components/feedback/index.cjs.js +0 -1
  244. package/dist/components/feedback/index.d.ts +0 -2
  245. package/dist/components/feedback/index.es.js +0 -6
  246. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +0 -1
  247. package/dist/components/inputs/PasswordInput/PasswordInput.stories.es.js +0 -16
  248. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +0 -1
  249. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +0 -1
  250. package/dist/components/inputs/TextInput/TextInput.cjs.js +0 -1
  251. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +0 -1
  252. package/dist/components/inputs/index.cjs.js +0 -1
  253. package/dist/components/inputs/index.d.ts +0 -3
  254. package/dist/components/inputs/index.es.js +0 -8
  255. package/dist/components/lists/FileList/FileList.cjs.js +0 -1
  256. package/dist/components/lists/FileList/FileList.stories.cjs.js +0 -1
  257. package/dist/components/lists/FileList/FileListItem.cjs.js +0 -1
  258. package/dist/components/lists/FileList/FileListItem.d.ts +0 -14
  259. package/dist/components/lists/FileList/FileListItem.es.js +0 -42
  260. package/dist/components/lists/TabList.stories.cjs.js +0 -1
  261. package/dist/components/lists/index.cjs.js +0 -1
  262. package/dist/components/lists/index.d.ts +0 -1
  263. package/dist/components/lists/index.es.js +0 -6
  264. package/dist/components/pickers/DatePicker/DatePicker.cjs.js +0 -1
  265. package/dist/components/pickers/DatePicker/DatePicker.es.js +0 -6
  266. package/dist/components/pickers/DatePicker/DatePicker.stories.cjs.js +0 -1
  267. package/dist/components/pickers/DatePicker/DatePicker.stories.es.js +0 -16
  268. package/dist/components/pickers/DatePicker/index.cjs.js +0 -1
  269. package/dist/components/pickers/DatePicker/index.es.js +0 -4
  270. package/dist/components/pickers/index.d.ts +0 -1
  271. package/dist/components/pickers/index.es.js +0 -4
  272. package/dist/createStyled-CzVedz8V.js +0 -142
  273. package/dist/createStyled-LobpFGWo.cjs +0 -1
  274. package/dist/createSvgIcon-B8vHI3I6.js +0 -183
  275. package/dist/createSvgIcon-BGm-SWUB.cjs +0 -1
  276. package/dist/createSvgIcon-CKlvKClV.cjs +0 -2
  277. package/dist/createSvgIcon-DjuUwmEp.js +0 -75
  278. package/dist/identifier-4KVhx666.cjs +0 -50
  279. package/dist/identifier-D-ng7Qqa.js +0 -3047
  280. package/dist/isHostComponent-PydJW4A4.cjs +0 -1
  281. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  282. package/dist/refType-BhXrhWFB.cjs +0 -1
  283. package/dist/refType-COGEdfch.js +0 -29
  284. package/dist/styled-ZF_yhfMW.cjs +0 -17
  285. package/dist/styled-xiAudcD_.js +0 -533
  286. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  287. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  288. package/dist/useControlled-DKpcyPsg.cjs +0 -3
  289. package/dist/useControlled-DoRrpN8o.js +0 -48
  290. package/dist/useForkRef-CGd3Nhyb.cjs +0 -1
  291. package/dist/useForkRef-DwN_Iz9R.js +0 -17
  292. package/dist/useId-BW-oWmul.js +0 -19
  293. package/dist/useId-Cw0TtD-8.cjs +0 -1
  294. package/dist/useIsFocusVisible-Bv_7uvif.cjs +0 -1
  295. package/dist/useIsFocusVisible-DhASXQ4o.js +0 -69
  296. package/dist/useTheme-B5RCz7rY.cjs +0 -1
  297. package/dist/useTheme-iNHILPzK.js +0 -99
  298. package/dist/useTheme-kqsjFBnC.cjs +0 -1
  299. package/dist/useThemeProps-B-Oq4Y2j.cjs +0 -1
  300. package/dist/useThemeProps-BHAsCmc4.cjs +0 -1
  301. package/dist/useThemeProps-BVvSbkPP.js +0 -17
  302. package/dist/useTimeout-BdvDipeg.js +0 -47
  303. package/dist/useTimeout-XUWYBnl6.cjs +0 -1
  304. package/dist/vite-env.d.cjs.js +0 -1
  305. package/dist/vite-env.d.es.js +0 -1
  306. /package/dist/components/{feedback/Alert → Alert}/Alert.es.js +0 -0
  307. /package/dist/components/{feedback/Alert → Alert}/index.cjs.js +0 -0
  308. /package/dist/components/{feedback/Alert → Alert}/index.d.ts +0 -0
  309. /package/dist/components/{feedback/Alert → Alert}/index.es.js +0 -0
  310. /package/dist/components/{pickers/DatePicker → DatePicker}/index.d.ts +0 -0
  311. /package/dist/components/{lists/FileList → FileList}/index.cjs.js +0 -0
  312. /package/dist/components/{lists/FileList → FileList}/index.d.ts +0 -0
  313. /package/dist/components/{lists/FileList → FileList}/index.es.js +0 -0
  314. /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.cjs.js +0 -0
  315. /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.d.ts +0 -0
  316. /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.es.js +0 -0
  317. /package/dist/components/{feedback/QueryError → QueryError}/helpers.cjs.js +0 -0
  318. /package/dist/components/{feedback/QueryError → QueryError}/helpers.es.js +0 -0
  319. /package/dist/components/{feedback/QueryError → QueryError}/index.cjs.js +0 -0
  320. /package/dist/components/{feedback/QueryError → QueryError}/index.d.ts +0 -0
  321. /package/dist/components/{feedback/QueryError → QueryError}/index.es.js +0 -0
  322. /package/dist/components/{inputs/SearchInput → SearchInput}/index.cjs.js +0 -0
  323. /package/dist/components/{inputs/SearchInput → SearchInput}/index.d.ts +0 -0
  324. /package/dist/components/{inputs/SearchInput → SearchInput}/index.es.js +0 -0
  325. /package/dist/components/{inputs/TextInput → TextInput}/index.cjs.js +0 -0
  326. /package/dist/components/{inputs/TextInput → TextInput}/index.d.ts +0 -0
  327. /package/dist/components/{inputs/TextInput → TextInput}/index.es.js +0 -0
@@ -0,0 +1,334 @@
1
+ import { jsxs as E, jsx as s } from "react/jsx-runtime";
2
+ import { s as g, r as M, u as S, c as R } from "../../DefaultPropsProvider-7QnSWHxy.js";
3
+ import * as P from "react";
4
+ import { J as T, I as j, K as c, P as n } from "../../identifier-Bu3vgTzE.js";
5
+ import { B as z, a as O } from "../../Button-B8Vr_qVd.js";
6
+ import { m as h } from "../../memoTheme-C4_nd-x4.js";
7
+ import { u as k } from "../../useId-CK6Kn3Tn.js";
8
+ import { c as U } from "../../useForkRef-D-DyzOXj.js";
9
+ import { C as W } from "../../CircularProgress-DU3DJQfF.js";
10
+ function N(t) {
11
+ return j("MuiLoadingButton", t);
12
+ }
13
+ const a = T("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator", "loadingIndicatorCenter", "loadingIndicatorStart", "loadingIndicatorEnd", "endIconLoadingEnd", "startIconLoadingStart"]), D = (t) => {
14
+ const {
15
+ loading: o,
16
+ loadingPosition: i,
17
+ classes: e
18
+ } = t, u = {
19
+ root: ["root", o && "loading"],
20
+ 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);
25
+ return {
26
+ ...e,
27
+ // forward the outlined, color, etc. classes to Button
28
+ ...d
29
+ };
30
+ }, F = (t) => t !== "ownerState" && t !== "theme" && t !== "sx" && t !== "as" && t !== "classes", G = g(z, {
31
+ shouldForwardProp: (t) => F(t) || t === "classes",
32
+ name: "MuiLoadingButton",
33
+ slot: "Root",
34
+ overridesResolver: (t, o) => [o.root, o.startIconLoadingStart && {
35
+ [`& .${a.startIconLoadingStart}`]: o.startIconLoadingStart
36
+ }, o.endIconLoadingEnd && {
37
+ [`& .${a.endIconLoadingEnd}`]: o.endIconLoadingEnd
38
+ }]
39
+ })(h(({
40
+ theme: t
41
+ }) => ({
42
+ display: "inline-flex",
43
+ [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
44
+ transition: t.transitions.create(["opacity"], {
45
+ duration: t.transitions.duration.short
46
+ }),
47
+ opacity: 0
48
+ },
49
+ variants: [{
50
+ props: {
51
+ loadingPosition: "center"
52
+ },
53
+ style: {
54
+ transition: t.transitions.create(["background-color", "box-shadow", "border-color"], {
55
+ duration: t.transitions.duration.short
56
+ }),
57
+ [`&.${a.loading}`]: {
58
+ color: "transparent"
59
+ }
60
+ }
61
+ }, {
62
+ props: ({
63
+ ownerState: o
64
+ }) => o.loadingPosition === "start" && o.fullWidth,
65
+ style: {
66
+ [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
67
+ transition: t.transitions.create(["opacity"], {
68
+ duration: t.transitions.duration.short
69
+ }),
70
+ opacity: 0,
71
+ marginRight: -8
72
+ }
73
+ }
74
+ }, {
75
+ props: ({
76
+ ownerState: o
77
+ }) => o.loadingPosition === "end" && o.fullWidth,
78
+ style: {
79
+ [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
80
+ transition: t.transitions.create(["opacity"], {
81
+ duration: t.transitions.duration.short
82
+ }),
83
+ opacity: 0,
84
+ marginLeft: -8
85
+ }
86
+ }
87
+ }]
88
+ }))), H = g("span", {
89
+ name: "MuiLoadingButton",
90
+ slot: "LoadingIndicator",
91
+ overridesResolver: (t, o) => {
92
+ const {
93
+ ownerState: i
94
+ } = t;
95
+ return [o.loadingIndicator, o[`loadingIndicator${c(i.loadingPosition)}`]];
96
+ }
97
+ })(h(({
98
+ theme: t
99
+ }) => ({
100
+ position: "absolute",
101
+ visibility: "visible",
102
+ display: "flex",
103
+ variants: [{
104
+ props: {
105
+ loadingPosition: "start",
106
+ size: "small"
107
+ },
108
+ style: {
109
+ left: 10
110
+ }
111
+ }, {
112
+ props: ({
113
+ loadingPosition: o,
114
+ ownerState: i
115
+ }) => o === "start" && i.size !== "small",
116
+ style: {
117
+ left: 14
118
+ }
119
+ }, {
120
+ props: {
121
+ variant: "text",
122
+ loadingPosition: "start"
123
+ },
124
+ style: {
125
+ left: 6
126
+ }
127
+ }, {
128
+ props: {
129
+ loadingPosition: "center"
130
+ },
131
+ style: {
132
+ left: "50%",
133
+ transform: "translate(-50%)",
134
+ color: (t.vars || t).palette.action.disabled
135
+ }
136
+ }, {
137
+ props: {
138
+ loadingPosition: "end",
139
+ size: "small"
140
+ },
141
+ style: {
142
+ right: 10
143
+ }
144
+ }, {
145
+ props: ({
146
+ loadingPosition: o,
147
+ ownerState: i
148
+ }) => o === "end" && i.size !== "small",
149
+ style: {
150
+ right: 14
151
+ }
152
+ }, {
153
+ props: {
154
+ variant: "text",
155
+ loadingPosition: "end"
156
+ },
157
+ style: {
158
+ right: 6
159
+ }
160
+ }, {
161
+ props: ({
162
+ ownerState: o
163
+ }) => o.loadingPosition === "start" && o.fullWidth,
164
+ style: {
165
+ position: "relative",
166
+ left: -10
167
+ }
168
+ }, {
169
+ props: ({
170
+ ownerState: o
171
+ }) => o.loadingPosition === "end" && o.fullWidth,
172
+ style: {
173
+ position: "relative",
174
+ right: -10
175
+ }
176
+ }]
177
+ }))), v = g("span", {
178
+ name: "MuiLoadingButton",
179
+ slot: "Label",
180
+ overridesResolver: (t, o) => [o.label]
181
+ })({
182
+ display: "inherit",
183
+ alignItems: "inherit",
184
+ justifyContent: "inherit"
185
+ }), B = /* @__PURE__ */ P.forwardRef(function(o, i) {
186
+ const e = P.useContext(O), u = M(e, o), d = S({
187
+ props: u,
188
+ name: "MuiLoadingButton"
189
+ }), {
190
+ children: m,
191
+ disabled: I = !1,
192
+ id: C,
193
+ 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,
200
+ color: "inherit",
201
+ size: 16
202
+ }), r = {
203
+ ...d,
204
+ disabled: I,
205
+ loading: p,
206
+ loadingIndicator: y,
207
+ loadingPosition: $,
208
+ variant: b
209
+ }, l = D(r), L = p ? /* @__PURE__ */ s(H, {
210
+ className: l.loadingIndicator,
211
+ ownerState: r,
212
+ children: y
213
+ }) : null;
214
+ return /* @__PURE__ */ E(G, {
215
+ disabled: I || p,
216
+ id: f,
217
+ ref: i,
218
+ ...w,
219
+ variant: b,
220
+ classes: l,
221
+ ownerState: r,
222
+ children: [r.loadingPosition === "end" ? /* @__PURE__ */ s(v, {
223
+ className: l.label,
224
+ children: m
225
+ }) : L, r.loadingPosition === "end" ? L : /* @__PURE__ */ s(v, {
226
+ className: l.label,
227
+ children: m
228
+ })]
229
+ });
230
+ });
231
+ process.env.NODE_ENV !== "production" && (B.propTypes = {
232
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
233
+ // │ These PropTypes are generated from the TypeScript type definitions. │
234
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
235
+ // └─────────────────────────────────────────────────────────────────────┘
236
+ /**
237
+ * The content of the component.
238
+ */
239
+ children: n.node,
240
+ /**
241
+ * Override or extend the styles applied to the component.
242
+ */
243
+ classes: n.object,
244
+ /**
245
+ * If `true`, the component is disabled.
246
+ * @default false
247
+ */
248
+ disabled: n.bool,
249
+ /**
250
+ * @ignore
251
+ */
252
+ id: n.string,
253
+ /**
254
+ * If `true`, the loading indicator is shown and the button becomes disabled.
255
+ * @default false
256
+ */
257
+ loading: n.bool,
258
+ /**
259
+ * Element placed before the children if the button is in loading state.
260
+ * The node should contain an element with `role="progressbar"` with an accessible name.
261
+ * By default we render a `CircularProgress` that is labelled by the button itself.
262
+ * @default <CircularProgress color="inherit" size={16} />
263
+ */
264
+ loadingIndicator: n.node,
265
+ /**
266
+ * The loading indicator can be positioned on the start, end, or the center of the button.
267
+ * @default 'center'
268
+ */
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
+ /**
271
+ * The system prop that allows defining system overrides as well as additional CSS styles.
272
+ */
273
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
274
+ /**
275
+ * The variant to use.
276
+ * @default 'text'
277
+ */
278
+ variant: n.oneOfType([n.oneOf(["contained", "outlined", "text"]), n.string])
279
+ });
280
+ const J = g(B)(({ color: t, theme: o }) => ({
281
+ justifyContent: "center",
282
+ alignItems: "center",
283
+ minHeight: 38,
284
+ textTransform: "none",
285
+ color: t,
286
+ borderColor: t,
287
+ borderRadius: 5,
288
+ borderWidth: 2,
289
+ transition: "all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
290
+ "&.MuiButton-contained": {
291
+ color: o.palette.common.white
292
+ },
293
+ "&.MuiButton-outlined": {
294
+ 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
+ }
327
+ }
328
+ })), Z = ({
329
+ variant: t = "outlined",
330
+ ...o
331
+ }) => /* @__PURE__ */ s(J, { variant: t, ...o });
332
+ export {
333
+ Z as default
334
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),n=require("../../createSvgIcon-PXjVOXDY.cjs"),o=require("./Button.cjs.js"),i=n.createSvgIcon(e.jsx("path",{d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m-9-2V7H4v3H1v2h3v3h2v-3h3v-2zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"PersonAdd"),l=n.createSvgIcon(e.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save"),d={title:"Components/Button",component:o,argTypes:{}},t=a=>e.jsx(o,{...a}),r=t.bind({});r.args={children:"Enregistrer",color:"primary",disabled:!1,startIcon:e.jsx(l,{}),variant:"contained",onClick:()=>alert("Alert")};const s=t.bind({});s.args={children:"Ajouter un utilisateur",color:"secondary",disabled:!1,startIcon:e.jsx(i,{}),variant:"outlined",onClick:()=>alert("Alert")};const c=t.bind({});c.args={children:"Annuler",color:"secondary",disabled:!1,variant:"text",onClick:()=>alert("Alert")};exports.Contained=r;exports.Outlined=s;exports.Text=c;exports.default=d;
@@ -1,5 +1,6 @@
1
1
  import { Meta, StoryFn } from '@storybook/react';
2
-
3
2
  declare const stories: Meta<StoryFn<any>>;
4
- export declare const Default: any;
3
+ export declare const Contained: any;
4
+ export declare const Outlined: any;
5
+ export declare const Text: any;
5
6
  export default stories;
@@ -0,0 +1,45 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { c as e } from "../../createSvgIcon-Ae1vF9Lv.js";
3
+ import o from "./Button.es.js";
4
+ const a = e(/* @__PURE__ */ t("path", {
5
+ d: "M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m-9-2V7H4v3H1v2h3v3h2v-3h3v-2zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"
6
+ }), "PersonAdd"), c = e(/* @__PURE__ */ t("path", {
7
+ d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"
8
+ }), "Save"), h = {
9
+ title: "Components/Button",
10
+ component: o,
11
+ argTypes: {
12
+ // Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
13
+ }
14
+ }, n = (r) => /* @__PURE__ */ t(o, { ...r }), s = n.bind({});
15
+ s.args = {
16
+ children: "Enregistrer",
17
+ color: "primary",
18
+ disabled: !1,
19
+ startIcon: /* @__PURE__ */ t(c, {}),
20
+ variant: "contained",
21
+ onClick: () => alert("Alert")
22
+ };
23
+ const i = n.bind({});
24
+ i.args = {
25
+ children: "Ajouter un utilisateur",
26
+ color: "secondary",
27
+ disabled: !1,
28
+ startIcon: /* @__PURE__ */ t(a, {}),
29
+ variant: "outlined",
30
+ onClick: () => alert("Alert")
31
+ };
32
+ const l = n.bind({});
33
+ l.args = {
34
+ children: "Annuler",
35
+ color: "secondary",
36
+ disabled: !1,
37
+ variant: "text",
38
+ onClick: () => alert("Alert")
39
+ };
40
+ export {
41
+ s as Contained,
42
+ i as Outlined,
43
+ l as Text,
44
+ h as default
45
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Button.cjs.js");exports.Button=t;
@@ -0,0 +1,2 @@
1
+ export * from './Button';
2
+ export { default as Button } from './Button';
@@ -0,0 +1,4 @@
1
+ import { default as a } from "./Button.es.js";
2
+ export {
3
+ a as Button
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";require("react/jsx-runtime");require("../../fr-BtINyNRC.cjs");const e=require("../../DatePicker-BigDV0IN.cjs");module.exports=e.DatePicker;
@@ -1,6 +1,5 @@
1
1
  import { DatePickerProps as MuiDatePickerProps } from '@mui/x-date-pickers/DatePicker';
2
2
  import { Dayjs } from 'dayjs';
3
-
4
3
  export type DatePickerProps = {
5
4
  adapterLocale?: string;
6
5
  } & MuiDatePickerProps<Dayjs>;
@@ -0,0 +1,6 @@
1
+ import "react/jsx-runtime";
2
+ import "../../fr-B0c4Eu-I.js";
3
+ import { q as p } from "../../DatePicker-ZdjLD9eR.js";
4
+ export {
5
+ p as default
6
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),e=require("../../DatePicker-BigDV0IN.cjs"),a={title:"Components/DatePicker",component:e.DatePicker,argTypes:{}},s=r=>o.jsx(e.DatePicker,{...r}),t=s.bind({});t.args={adapterLocale:"fr"};exports.Default=t;exports.default=a;
@@ -1,5 +1,4 @@
1
1
  import { Meta, StoryFn } from '@storybook/react';
2
-
3
2
  declare const stories: Meta<StoryFn<any>>;
4
3
  export declare const Default: any;
5
4
  export default stories;
@@ -0,0 +1,16 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { q as t } from "../../DatePicker-ZdjLD9eR.js";
3
+ const p = {
4
+ title: "Components/DatePicker",
5
+ component: t,
6
+ argTypes: {
7
+ // Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
8
+ }
9
+ }, a = (e) => /* @__PURE__ */ o(t, { ...e }), r = a.bind({});
10
+ r.args = {
11
+ adapterLocale: "fr"
12
+ };
13
+ export {
14
+ r as Default,
15
+ p as default
16
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-B0jLSEvZ.cjs");exports.DatePicker=e.DatePicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-BigDV0IN.cjs");exports.DatePicker=e.DatePicker;
@@ -0,0 +1,4 @@
1
+ import { q as a } from "../../DatePicker-ZdjLD9eR.js";
2
+ export {
3
+ a as DatePicker
4
+ };