@cgi-learning-hub/ui 1.9.0 → 1.10.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 (508) hide show
  1. package/dist/index.cjs.js +63417 -1
  2. package/dist/index.d.ts +773 -1
  3. package/dist/index.es.js +63394 -417
  4. package/dist/ui.css +151 -0
  5. package/package.json +26 -24
  6. package/dist/Alert-BH_3hKCB.cjs +0 -1
  7. package/dist/Alert-BeVYzSS-.js +0 -94
  8. package/dist/Alert-BoYBWOXe.cjs +0 -1
  9. package/dist/Alert-CEu3llDi.js +0 -369
  10. package/dist/Autocomplete-BKpavKFW.cjs +0 -6
  11. package/dist/Autocomplete-DBZYn4YL.js +0 -1881
  12. package/dist/Backdrop-BvL371G3.js +0 -360
  13. package/dist/Backdrop-qOBrabpf.cjs +0 -1
  14. package/dist/Badge-2Kgbx-Cs.js +0 -466
  15. package/dist/Badge-DXl0Da36.cjs +0 -1
  16. package/dist/Box-BaZ7KlAc.js +0 -59
  17. package/dist/Box-CYQlQqRB.cjs +0 -1
  18. package/dist/Button-BP-QmmUu.cjs +0 -1
  19. package/dist/Button-C1mKNW-c.js +0 -698
  20. package/dist/ButtonBase-C2jRC_V7.js +0 -883
  21. package/dist/ButtonBase-DSJojbNE.cjs +0 -74
  22. package/dist/CardContent-DVcUynuH.cjs +0 -1
  23. package/dist/CardContent-kIapWv4T.js +0 -225
  24. package/dist/Checkbox-DhhuvKO5.cjs +0 -1
  25. package/dist/Checkbox-RxHWtafR.js +0 -271
  26. package/dist/Chip-DgGmi9yn.js +0 -574
  27. package/dist/Chip-n1kY-Dsh.cjs +0 -1
  28. package/dist/CircularProgress-BOm4zz7e.cjs +0 -28
  29. package/dist/CircularProgress-CLq0Rl-1.js +0 -253
  30. package/dist/Close-DR9m6hv3.cjs +0 -1
  31. package/dist/Close-vu-MZYNA.js +0 -9
  32. package/dist/CloseRounded-Cpp6nWQi.cjs +0 -1
  33. package/dist/CloseRounded-DF05lCUu.js +0 -8
  34. package/dist/CustomTreeItem-AecanDDg.js +0 -2046
  35. package/dist/CustomTreeItem-BBMp0k4i.cjs +0 -41
  36. package/dist/DatePicker-Cd-Aj-F8.js +0 -10758
  37. package/dist/DatePicker-Dj7U52Mk.cjs +0 -16
  38. package/dist/DefaultPropsProvider-BrmlvPWg.js +0 -312
  39. package/dist/DefaultPropsProvider-C1g4BXET.cjs +0 -1
  40. package/dist/Delete-C36W48MB.cjs +0 -1
  41. package/dist/Delete-DXUljXzP.js +0 -8
  42. package/dist/Dialog-C2HYr67H.cjs +0 -1
  43. package/dist/Dialog-D__8rwpw.js +0 -469
  44. package/dist/DialogContent-MPwmUJQp.js +0 -195
  45. package/dist/DialogContent-lup2v_ab.cjs +0 -1
  46. package/dist/DialogTitle-B8jOk7ZE.cjs +0 -1
  47. package/dist/DialogTitle-Dly5D3Ud.js +0 -134
  48. package/dist/Divider-BN12gMv9.js +0 -297
  49. package/dist/Divider-wisA5Qp_.cjs +0 -1
  50. package/dist/Folder-BSZMyA2L.js +0 -8
  51. package/dist/Folder-aAI_w_uF.cjs +0 -1
  52. package/dist/FormLabel-ByYWZh7M.cjs +0 -2
  53. package/dist/FormLabel-DtxJI2CU.js +0 -408
  54. package/dist/Grid-C0LY-MbT.js +0 -419
  55. package/dist/Grid-CPXE25PR.cjs +0 -2
  56. package/dist/Grow-6zwoqUfO.cjs +0 -1
  57. package/dist/Grow-CeGwnQpw.js +0 -197
  58. package/dist/IconButton-BTN16gZi.cjs +0 -2
  59. package/dist/IconButton-DBjiNqOa.js +0 -299
  60. package/dist/InputAdornment-C1r1YutO.cjs +0 -1
  61. package/dist/InputAdornment-DuR35FtU.js +0 -173
  62. package/dist/InputBase-CxknnWV4.cjs +0 -4
  63. package/dist/InputBase-D5UJOJBu.js +0 -797
  64. package/dist/Link-T11NCxGd.cjs +0 -1
  65. package/dist/Link-hWCqsQiI.js +0 -281
  66. package/dist/List-CmJ1jCss.js +0 -131
  67. package/dist/List-eQ4D0MvJ.cjs +0 -1
  68. package/dist/ListItem-CgWgbZ_g.cjs +0 -1
  69. package/dist/ListItem-onoPfwb4.js +0 -423
  70. package/dist/ListItemText-B-dySXgz.cjs +0 -1
  71. package/dist/ListItemText-BjhXxIIV.js +0 -441
  72. package/dist/Menu-D7B383z4.cjs +0 -7
  73. package/dist/Menu-DGvAkF5F.js +0 -911
  74. package/dist/MenuItem-Cusmy5t2.js +0 -268
  75. package/dist/MenuItem-D-4xzo-S.cjs +0 -1
  76. package/dist/Modal-DB9K8sJI.cjs +0 -2
  77. package/dist/Modal-DtjScKxh.js +0 -744
  78. package/dist/MoreVert-BwfUF9pO.cjs +0 -1
  79. package/dist/MoreVert-woCQ0dNf.js +0 -8
  80. package/dist/Paper-CZXfHfN_.js +0 -158
  81. package/dist/Paper-DcVuAxq3.cjs +0 -2
  82. package/dist/Popper-BwuGO_Si.js +0 -1407
  83. package/dist/Popper-D5Cs38W_.cjs +0 -4
  84. package/dist/Portal-Cmv45gpL.cjs +0 -1
  85. package/dist/Portal-PkRJuFYN.js +0 -85
  86. package/dist/Radio-DiyDpiVL.js +0 -617
  87. package/dist/Radio-DzKwkI68.cjs +0 -1
  88. package/dist/RadioGroup-BlkHQVRF.cjs +0 -1
  89. package/dist/RadioGroup-CjUaFqjJ.js +0 -191
  90. package/dist/Select-BxH16ruJ.js +0 -2648
  91. package/dist/Select-CSQfbogA.cjs +0 -3
  92. package/dist/Stack-ChvZzNqc.cjs +0 -1
  93. package/dist/Stack-pMJEpL7k.js +0 -173
  94. package/dist/Stepper-BsfN7O-W.cjs +0 -1
  95. package/dist/Stepper-DyH4sgY5.js +0 -966
  96. package/dist/Switch-BgZUmsKc.js +0 -392
  97. package/dist/Switch-Dr2jgPGV.cjs +0 -1
  98. package/dist/SwitchBase-BP_I-APE.cjs +0 -1
  99. package/dist/SwitchBase-BWz31Ed6.js +0 -319
  100. package/dist/Tab-Bksf_S4K.js +0 -1454
  101. package/dist/Tab-D2mI5G0L.cjs +0 -4
  102. package/dist/TextField-C9AnzUpZ.cjs +0 -1
  103. package/dist/TextField-Ctx4aW6-.js +0 -560
  104. package/dist/ToggleButtonGroup-CBw2I124.cjs +0 -138
  105. package/dist/ToggleButtonGroup-DtjRqNbI.js +0 -9091
  106. package/dist/Tooltip-C5AffX17.js +0 -722
  107. package/dist/Tooltip-CUm8vKGq.cjs +0 -4
  108. package/dist/TransitionGroupContext-DbLioz_6.js +0 -24
  109. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +0 -1
  110. package/dist/Typography-Cr-aIusw.js +0 -261
  111. package/dist/Typography-DHjq4GzQ.cjs +0 -1
  112. package/dist/assets/Loader.css +0 -1
  113. package/dist/assets/LoaderBackdrop.css +0 -1
  114. package/dist/capitalize-3OjkeP9i.cjs +0 -1
  115. package/dist/capitalize-BHEX83JQ.js +0 -9
  116. package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
  117. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  118. package/dist/client-error-CHkavqXs.cjs +0 -1
  119. package/dist/client-error-D0Ng5oOn.js +0 -393
  120. package/dist/components/ActionBar/ActionBar.cjs.js +0 -1
  121. package/dist/components/ActionBar/ActionBar.d.ts +0 -3
  122. package/dist/components/ActionBar/ActionBar.es.js +0 -63
  123. package/dist/components/ActionBar/index.cjs.js +0 -1
  124. package/dist/components/ActionBar/index.d.ts +0 -2
  125. package/dist/components/ActionBar/index.es.js +0 -4
  126. package/dist/components/ActionBar/style.cjs.js +0 -1
  127. package/dist/components/ActionBar/style.es.js +0 -61
  128. package/dist/components/ActionBar/types.cjs.js +0 -1
  129. package/dist/components/ActionBar/types.d.ts +0 -17
  130. package/dist/components/ActionBar/types.es.js +0 -1
  131. package/dist/components/Alert/Alert.cjs.js +0 -1
  132. package/dist/components/Alert/Alert.d.ts +0 -6
  133. package/dist/components/Alert/Alert.es.js +0 -8
  134. package/dist/components/Alert/index.cjs.js +0 -1
  135. package/dist/components/Alert/index.d.ts +0 -2
  136. package/dist/components/Alert/index.es.js +0 -4
  137. package/dist/components/Button/Button.cjs.js +0 -1
  138. package/dist/components/Button/Button.d.ts +0 -3
  139. package/dist/components/Button/Button.es.js +0 -44
  140. package/dist/components/Button/index.cjs.js +0 -1
  141. package/dist/components/Button/index.d.ts +0 -2
  142. package/dist/components/Button/index.es.js +0 -4
  143. package/dist/components/ButtonGroup/ButtonGroup.cjs.js +0 -1
  144. package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -3
  145. package/dist/components/ButtonGroup/ButtonGroup.es.js +0 -38
  146. package/dist/components/ButtonGroup/index.cjs.js +0 -1
  147. package/dist/components/ButtonGroup/index.d.ts +0 -2
  148. package/dist/components/ButtonGroup/index.es.js +0 -4
  149. package/dist/components/ButtonGroup/style.cjs.js +0 -1
  150. package/dist/components/ButtonGroup/style.es.js +0 -29
  151. package/dist/components/ButtonGroup/types.cjs.js +0 -1
  152. package/dist/components/ButtonGroup/types.d.ts +0 -22
  153. package/dist/components/ButtonGroup/types.es.js +0 -1
  154. package/dist/components/ColorPicker/ColorPicker.cjs.js +0 -27
  155. package/dist/components/ColorPicker/ColorPicker.d.ts +0 -4
  156. package/dist/components/ColorPicker/ColorPicker.es.js +0 -7960
  157. package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +0 -1
  158. package/dist/components/ColorPicker/ColorPickerIcon.d.ts +0 -5
  159. package/dist/components/ColorPicker/ColorPickerIcon.es.js +0 -58
  160. package/dist/components/ColorPicker/index.cjs.js +0 -1
  161. package/dist/components/ColorPicker/index.d.ts +0 -3
  162. package/dist/components/ColorPicker/index.es.js +0 -4
  163. package/dist/components/ColorPicker/styles.cjs.js +0 -1
  164. package/dist/components/ColorPicker/styles.es.js +0 -28
  165. package/dist/components/ColorPicker/types.cjs.js +0 -1
  166. package/dist/components/ColorPicker/types.d.ts +0 -19
  167. package/dist/components/ColorPicker/types.es.js +0 -1
  168. package/dist/components/DatePicker/DatePicker.cjs.js +0 -1
  169. package/dist/components/DatePicker/DatePicker.d.ts +0 -6
  170. package/dist/components/DatePicker/DatePicker.es.js +0 -5
  171. package/dist/components/DatePicker/index.cjs.js +0 -1
  172. package/dist/components/DatePicker/index.d.ts +0 -2
  173. package/dist/components/DatePicker/index.es.js +0 -4
  174. package/dist/components/Dialog/Dialog.cjs.js +0 -1
  175. package/dist/components/Dialog/Dialog.d.ts +0 -6
  176. package/dist/components/Dialog/Dialog.es.js +0 -31
  177. package/dist/components/Dialog/index.cjs.js +0 -1
  178. package/dist/components/Dialog/index.d.ts +0 -2
  179. package/dist/components/Dialog/index.es.js +0 -4
  180. package/dist/components/Dropzone/Dropzone.cjs.js +0 -1
  181. package/dist/components/Dropzone/Dropzone.d.ts +0 -12
  182. package/dist/components/Dropzone/Dropzone.es.js +0 -55
  183. package/dist/components/Dropzone/index.cjs.js +0 -1
  184. package/dist/components/Dropzone/index.d.ts +0 -2
  185. package/dist/components/Dropzone/index.es.js +0 -4
  186. package/dist/components/Dropzone/types.cjs.js +0 -1
  187. package/dist/components/Dropzone/types.d.ts +0 -8
  188. package/dist/components/Dropzone/types.es.js +0 -1
  189. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +0 -1
  190. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +0 -9
  191. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +0 -45
  192. package/dist/components/EllipsisWithTooltip/index.cjs.js +0 -1
  193. package/dist/components/EllipsisWithTooltip/index.d.ts +0 -2
  194. package/dist/components/EllipsisWithTooltip/index.es.js +0 -4
  195. package/dist/components/EmptyState/EmptyState.cjs.js +0 -1
  196. package/dist/components/EmptyState/EmptyState.d.ts +0 -22
  197. package/dist/components/EmptyState/EmptyState.es.js +0 -34
  198. package/dist/components/EmptyState/index.cjs.js +0 -1
  199. package/dist/components/EmptyState/index.d.ts +0 -2
  200. package/dist/components/EmptyState/index.es.js +0 -4
  201. package/dist/components/FileList/FileIcon.cjs.js +0 -1
  202. package/dist/components/FileList/FileIcon.d.ts +0 -3
  203. package/dist/components/FileList/FileIcon.es.js +0 -56
  204. package/dist/components/FileList/FileInfosSeparator.cjs.js +0 -1
  205. package/dist/components/FileList/FileInfosSeparator.d.ts +0 -1
  206. package/dist/components/FileList/FileInfosSeparator.es.js +0 -14
  207. package/dist/components/FileList/FileList.cjs.js +0 -1
  208. package/dist/components/FileList/FileList.d.ts +0 -9
  209. package/dist/components/FileList/FileList.es.js +0 -24
  210. package/dist/components/FileList/FileListItem.cjs.js +0 -1
  211. package/dist/components/FileList/FileListItem.d.ts +0 -16
  212. package/dist/components/FileList/FileListItem.es.js +0 -122
  213. package/dist/components/FileList/index.cjs.js +0 -1
  214. package/dist/components/FileList/index.d.ts +0 -4
  215. package/dist/components/FileList/index.es.js +0 -6
  216. package/dist/components/FileList/utils.cjs.js +0 -1
  217. package/dist/components/FileList/utils.d.ts +0 -2
  218. package/dist/components/FileList/utils.es.js +0 -13
  219. package/dist/components/FolderCard/FolderCard.cjs.js +0 -1
  220. package/dist/components/FolderCard/FolderCard.d.ts +0 -12
  221. package/dist/components/FolderCard/FolderCard.es.js +0 -88
  222. package/dist/components/FolderCard/index.cjs.js +0 -1
  223. package/dist/components/FolderCard/index.d.ts +0 -2
  224. package/dist/components/FolderCard/index.es.js +0 -4
  225. package/dist/components/FolderCard/styles.cjs.js +0 -1
  226. package/dist/components/FolderCard/styles.d.ts +0 -24
  227. package/dist/components/FolderCard/styles.es.js +0 -27
  228. package/dist/components/FolderCard/types.cjs.js +0 -1
  229. package/dist/components/FolderCard/types.d.ts +0 -3
  230. package/dist/components/FolderCard/types.es.js +0 -14
  231. package/dist/components/Heading/Heading.cjs.js +0 -1
  232. package/dist/components/Heading/Heading.d.ts +0 -14
  233. package/dist/components/Heading/Heading.es.js +0 -39
  234. package/dist/components/Heading/index.cjs.js +0 -1
  235. package/dist/components/Heading/index.d.ts +0 -2
  236. package/dist/components/Heading/index.es.js +0 -4
  237. package/dist/components/ImagePicker/ImagePicker.cjs.js +0 -1
  238. package/dist/components/ImagePicker/ImagePicker.d.ts +0 -13
  239. package/dist/components/ImagePicker/ImagePicker.es.js +0 -203
  240. package/dist/components/ImagePicker/index.cjs.js +0 -1
  241. package/dist/components/ImagePicker/index.d.ts +0 -2
  242. package/dist/components/ImagePicker/index.es.js +0 -4
  243. package/dist/components/Loader/Loader.cjs.js +0 -1
  244. package/dist/components/Loader/Loader.d.ts +0 -3
  245. package/dist/components/Loader/Loader.es.js +0 -11
  246. package/dist/components/Loader/index.cjs.js +0 -1
  247. package/dist/components/Loader/index.d.ts +0 -2
  248. package/dist/components/Loader/index.es.js +0 -4
  249. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +0 -1
  250. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -3
  251. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +0 -12
  252. package/dist/components/LoaderBackdrop/index.cjs.js +0 -1
  253. package/dist/components/LoaderBackdrop/index.d.ts +0 -2
  254. package/dist/components/LoaderBackdrop/index.es.js +0 -4
  255. package/dist/components/PasswordInput/PasswordInput.cjs.js +0 -1
  256. package/dist/components/PasswordInput/PasswordInput.d.ts +0 -5
  257. package/dist/components/PasswordInput/PasswordInput.es.js +0 -39
  258. package/dist/components/PasswordInput/index.cjs.js +0 -1
  259. package/dist/components/PasswordInput/index.d.ts +0 -2
  260. package/dist/components/PasswordInput/index.es.js +0 -4
  261. package/dist/components/QueryError/QueryError.cjs.js +0 -1
  262. package/dist/components/QueryError/QueryError.d.ts +0 -8
  263. package/dist/components/QueryError/QueryError.es.js +0 -46
  264. package/dist/components/QueryError/helpers.cjs.js +0 -1
  265. package/dist/components/QueryError/helpers.d.ts +0 -11
  266. package/dist/components/QueryError/helpers.es.js +0 -10
  267. package/dist/components/QueryError/index.cjs.js +0 -1
  268. package/dist/components/QueryError/index.d.ts +0 -2
  269. package/dist/components/QueryError/index.es.js +0 -4
  270. package/dist/components/ResourceCard/ResourceCard.cjs.js +0 -1
  271. package/dist/components/ResourceCard/ResourceCard.d.ts +0 -25
  272. package/dist/components/ResourceCard/ResourceCard.es.js +0 -128
  273. package/dist/components/ResourceCard/index.cjs.js +0 -1
  274. package/dist/components/ResourceCard/index.d.ts +0 -2
  275. package/dist/components/ResourceCard/index.es.js +0 -4
  276. package/dist/components/ResourceCard/style.cjs.js +0 -1
  277. package/dist/components/ResourceCard/style.es.js +0 -130
  278. package/dist/components/SearchInput/SearchInput.cjs.js +0 -1
  279. package/dist/components/SearchInput/SearchInput.d.ts +0 -4
  280. package/dist/components/SearchInput/SearchInput.es.js +0 -38
  281. package/dist/components/SearchInput/index.cjs.js +0 -1
  282. package/dist/components/SearchInput/index.d.ts +0 -2
  283. package/dist/components/SearchInput/index.es.js +0 -4
  284. package/dist/components/TreeView/TreeView.cjs.js +0 -5
  285. package/dist/components/TreeView/TreeView.d.ts +0 -4
  286. package/dist/components/TreeView/TreeView.es.js +0 -1663
  287. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +0 -1
  288. package/dist/components/TreeView/components/CustomTreeItem.d.ts +0 -6
  289. package/dist/components/TreeView/components/CustomTreeItem.es.js +0 -9
  290. package/dist/components/TreeView/index.cjs.js +0 -1
  291. package/dist/components/TreeView/index.d.ts +0 -2
  292. package/dist/components/TreeView/index.es.js +0 -6
  293. package/dist/components/TreeView/style.cjs.js +0 -1
  294. package/dist/components/TreeView/style.es.js +0 -35
  295. package/dist/components/TreeView/types.cjs.js +0 -1
  296. package/dist/components/TreeView/types.d.ts +0 -45
  297. package/dist/components/TreeView/types.es.js +0 -4
  298. package/dist/components/TreeView/utils.cjs.js +0 -1
  299. package/dist/components/TreeView/utils.d.ts +0 -6
  300. package/dist/components/TreeView/utils.es.js +0 -50
  301. package/dist/components/index.cjs.js +0 -1
  302. package/dist/components/index.d.ts +0 -197
  303. package/dist/components/index.es.js +0 -419
  304. package/dist/components/stories/ActionBar.stories.cjs.js +0 -1
  305. package/dist/components/stories/ActionBar.stories.d.ts +0 -11
  306. package/dist/components/stories/ActionBar.stories.es.js +0 -206
  307. package/dist/components/stories/Alert.stories.cjs.js +0 -1
  308. package/dist/components/stories/Alert.stories.d.ts +0 -9
  309. package/dist/components/stories/Alert.stories.es.js +0 -32
  310. package/dist/components/stories/Autocomplete.stories.cjs.js +0 -3
  311. package/dist/components/stories/Autocomplete.stories.d.ts +0 -6
  312. package/dist/components/stories/Autocomplete.stories.es.js +0 -62
  313. package/dist/components/stories/Badge.stories.cjs.js +0 -1
  314. package/dist/components/stories/Badge.stories.d.ts +0 -17
  315. package/dist/components/stories/Badge.stories.es.js +0 -188
  316. package/dist/components/stories/Button.stories.cjs.js +0 -1
  317. package/dist/components/stories/Button.stories.d.ts +0 -8
  318. package/dist/components/stories/Button.stories.es.js +0 -61
  319. package/dist/components/stories/ButtonGroup.stories.cjs.js +0 -153
  320. package/dist/components/stories/ButtonGroup.stories.d.ts +0 -17
  321. package/dist/components/stories/ButtonGroup.stories.es.js +0 -1296
  322. package/dist/components/stories/Card.stories.cjs.js +0 -1
  323. package/dist/components/stories/Card.stories.d.ts +0 -7
  324. package/dist/components/stories/Card.stories.es.js +0 -42
  325. package/dist/components/stories/Checkbox.stories.cjs.js +0 -1
  326. package/dist/components/stories/Checkbox.stories.d.ts +0 -10
  327. package/dist/components/stories/Checkbox.stories.es.js +0 -57
  328. package/dist/components/stories/Chip.stories.cjs.js +0 -1
  329. package/dist/components/stories/Chip.stories.d.ts +0 -10
  330. package/dist/components/stories/Chip.stories.es.js +0 -77
  331. package/dist/components/stories/ColoPicker.stories.cjs.js +0 -1
  332. package/dist/components/stories/ColoPicker.stories.d.ts +0 -6
  333. package/dist/components/stories/ColoPicker.stories.es.js +0 -23
  334. package/dist/components/stories/DatePicker.stories.cjs.js +0 -1
  335. package/dist/components/stories/DatePicker.stories.d.ts +0 -6
  336. package/dist/components/stories/DatePicker.stories.es.js +0 -13
  337. package/dist/components/stories/Dialog.stories.cjs.js +0 -1
  338. package/dist/components/stories/Dialog.stories.d.ts +0 -7
  339. package/dist/components/stories/Dialog.stories.es.js +0 -65
  340. package/dist/components/stories/Divider.stories.cjs.js +0 -1
  341. package/dist/components/stories/Divider.stories.d.ts +0 -6
  342. package/dist/components/stories/Divider.stories.es.js +0 -41
  343. package/dist/components/stories/Dropzone.stories.cjs.js +0 -1
  344. package/dist/components/stories/Dropzone.stories.d.ts +0 -6
  345. package/dist/components/stories/Dropzone.stories.es.js +0 -14
  346. package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +0 -1
  347. package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +0 -6
  348. package/dist/components/stories/EllipsisWithTooltip.stories.es.js +0 -36
  349. package/dist/components/stories/EmptyState.stories.cjs.js +0 -1
  350. package/dist/components/stories/EmptyState.stories.d.ts +0 -6
  351. package/dist/components/stories/EmptyState.stories.es.js +0 -30
  352. package/dist/components/stories/FileList.stories.cjs.js +0 -8
  353. package/dist/components/stories/FileList.stories.d.ts +0 -6
  354. package/dist/components/stories/FileList.stories.es.js +0 -150
  355. package/dist/components/stories/FolderCard.stories.cjs.js +0 -1
  356. package/dist/components/stories/FolderCard.stories.d.ts +0 -7
  357. package/dist/components/stories/FolderCard.stories.es.js +0 -71
  358. package/dist/components/stories/FormControlLabel.stories.cjs.js +0 -1
  359. package/dist/components/stories/FormControlLabel.stories.d.ts +0 -9
  360. package/dist/components/stories/FormControlLabel.stories.es.js +0 -55
  361. package/dist/components/stories/Heading.stories.cjs.js +0 -1
  362. package/dist/components/stories/Heading.stories.d.ts +0 -6
  363. package/dist/components/stories/Heading.stories.es.js +0 -20
  364. package/dist/components/stories/IconButton.stories.cjs.js +0 -1
  365. package/dist/components/stories/IconButton.stories.d.ts +0 -6
  366. package/dist/components/stories/IconButton.stories.es.js +0 -55
  367. package/dist/components/stories/ImagePicker.stories.cjs.js +0 -1
  368. package/dist/components/stories/ImagePicker.stories.d.ts +0 -6
  369. package/dist/components/stories/ImagePicker.stories.es.js +0 -57
  370. package/dist/components/stories/Link.stories.cjs.js +0 -1
  371. package/dist/components/stories/Link.stories.d.ts +0 -7
  372. package/dist/components/stories/Link.stories.es.js +0 -43
  373. package/dist/components/stories/Loader.stories.cjs.js +0 -1
  374. package/dist/components/stories/Loader.stories.d.ts +0 -6
  375. package/dist/components/stories/Loader.stories.es.js +0 -11
  376. package/dist/components/stories/LoaderBackdrop.stories.cjs.js +0 -1
  377. package/dist/components/stories/LoaderBackdrop.stories.d.ts +0 -6
  378. package/dist/components/stories/LoaderBackdrop.stories.es.js +0 -11
  379. package/dist/components/stories/Menu.stories.cjs.js +0 -1
  380. package/dist/components/stories/Menu.stories.d.ts +0 -7
  381. package/dist/components/stories/Menu.stories.es.js +0 -51
  382. package/dist/components/stories/Paper.stories.cjs.js +0 -1
  383. package/dist/components/stories/Paper.stories.d.ts +0 -7
  384. package/dist/components/stories/Paper.stories.es.js +0 -28
  385. package/dist/components/stories/PasswordInput.stories.cjs.js +0 -1
  386. package/dist/components/stories/PasswordInput.stories.d.ts +0 -6
  387. package/dist/components/stories/PasswordInput.stories.es.js +0 -13
  388. package/dist/components/stories/RadioGroup.stories.cjs.js +0 -1
  389. package/dist/components/stories/RadioGroup.stories.d.ts +0 -8
  390. package/dist/components/stories/RadioGroup.stories.es.js +0 -37
  391. package/dist/components/stories/ResourceCard.stories.cjs.js +0 -1
  392. package/dist/components/stories/ResourceCard.stories.d.ts +0 -9
  393. package/dist/components/stories/ResourceCard.stories.es.js +0 -141
  394. package/dist/components/stories/SearchInput.stories.cjs.js +0 -1
  395. package/dist/components/stories/SearchInput.stories.d.ts +0 -6
  396. package/dist/components/stories/SearchInput.stories.es.js +0 -13
  397. package/dist/components/stories/Select.stories.cjs.js +0 -1
  398. package/dist/components/stories/Select.stories.d.ts +0 -10
  399. package/dist/components/stories/Select.stories.es.js +0 -52
  400. package/dist/components/stories/Stepper.stories.cjs.js +0 -1
  401. package/dist/components/stories/Stepper.stories.d.ts +0 -7
  402. package/dist/components/stories/Stepper.stories.es.js +0 -161
  403. package/dist/components/stories/TabList.stories.cjs.js +0 -1
  404. package/dist/components/stories/TabList.stories.d.ts +0 -7
  405. package/dist/components/stories/TabList.stories.es.js +0 -73
  406. package/dist/components/stories/TextField.stories.cjs.js +0 -1
  407. package/dist/components/stories/TextField.stories.d.ts +0 -10
  408. package/dist/components/stories/TextField.stories.es.js +0 -69
  409. package/dist/components/stories/Tooltip.stories.cjs.js +0 -1
  410. package/dist/components/stories/Tooltip.stories.d.ts +0 -7
  411. package/dist/components/stories/Tooltip.stories.es.js +0 -46
  412. package/dist/components/stories/TreeView.stories.cjs.js +0 -69
  413. package/dist/components/stories/TreeView.stories.d.ts +0 -15
  414. package/dist/components/stories/TreeView.stories.es.js +0 -1036
  415. package/dist/components/stories/Typography.stories.cjs.js +0 -1
  416. package/dist/components/stories/Typography.stories.d.ts +0 -6
  417. package/dist/components/stories/Typography.stories.es.js +0 -65
  418. package/dist/composeClasses-BskurlZX.js +0 -51
  419. package/dist/composeClasses-vN5Almps.cjs +0 -1
  420. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  421. package/dist/createChainedFunction-CJmlQuW8.cjs +0 -1
  422. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  423. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +0 -1
  424. package/dist/createSvgIcon-CcWpa9Le.cjs +0 -1
  425. package/dist/createSvgIcon-DFIM5PqN.js +0 -254
  426. package/dist/debounce-46wSf_lW.js +0 -15
  427. package/dist/debounce-DpCj7ugL.cjs +0 -1
  428. package/dist/dividerClasses-BEzQ_reA.js +0 -9
  429. package/dist/dividerClasses-BpVbhp8e.cjs +0 -1
  430. package/dist/elementAcceptingRef-CZLfau9O.js +0 -31
  431. package/dist/elementAcceptingRef-CuMilXz3.cjs +0 -1
  432. package/dist/elementTypeAcceptingRef-vRb2iI4O.js +0 -23
  433. package/dist/elementTypeAcceptingRef-vjR5jGLx.cjs +0 -1
  434. package/dist/error-CRNeivL7.js +0 -5
  435. package/dist/error-Dk3o6ber.cjs +0 -1
  436. package/dist/extendSxProp-DGsHTtAe.js +0 -37
  437. package/dist/extendSxProp-Dwd9vpYv.cjs +0 -1
  438. package/dist/formControlState-CuX6WjAX.cjs +0 -1
  439. package/dist/formControlState-vgaj2ksH.js +0 -10
  440. package/dist/generateUtilityClasses-B_xKAflz.js +0 -2703
  441. package/dist/generateUtilityClasses-CENS22bI.cjs +0 -55
  442. package/dist/hooks/lazySvgImport.cjs.js +0 -1
  443. package/dist/hooks/lazySvgImport.d.ts +0 -6
  444. package/dist/hooks/lazySvgImport.es.js +0 -34
  445. package/dist/index-B9vkf41S.js +0 -672
  446. package/dist/index-BPpGXp0s.cjs +0 -1
  447. package/dist/index-BS46Ff4t.cjs +0 -5
  448. package/dist/index-Ba4TEBpP.js +0 -22
  449. package/dist/index-CJMnfcQs.js +0 -2152
  450. package/dist/index-CwHv-blH.js +0 -97
  451. package/dist/index-D_kvDIOz.cjs +0 -1
  452. package/dist/index-kjfz41UI.cjs +0 -20
  453. package/dist/integerPropType-BihGt2aU.js +0 -31
  454. package/dist/integerPropType-CR7ytEJG.cjs +0 -1
  455. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  456. package/dist/isFocusVisible-DlSijby6.cjs +0 -2
  457. package/dist/isHostComponent-PydJW4A4.cjs +0 -1
  458. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  459. package/dist/isMuiElement-BzDAj3yJ.cjs +0 -1
  460. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  461. package/dist/listItemTextClasses-CEbo8A-K.js +0 -9
  462. package/dist/listItemTextClasses-wcJANWC3.cjs +0 -1
  463. package/dist/memoTheme-Bi1UNdyO.cjs +0 -1
  464. package/dist/memoTheme-C-PaH-Cy.js +0 -15
  465. package/dist/mergeSlotProps-CL6s5QgQ.cjs +0 -1
  466. package/dist/mergeSlotProps-DVtjofCS.js +0 -62
  467. package/dist/ownerDocument-4MViGo3k.cjs +0 -1
  468. package/dist/ownerDocument-CUrv0DIK.js +0 -6
  469. package/dist/ownerWindow-DDHucZi0.cjs +0 -1
  470. package/dist/ownerWindow-niciwP7I.js +0 -7
  471. package/dist/refType-8hihVLUh.js +0 -5
  472. package/dist/refType-DJyA--UV.cjs +0 -1
  473. package/dist/server-error-CqyYyPLN.cjs +0 -1
  474. package/dist/server-error-CvgIy7ap.js +0 -398
  475. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  476. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  477. package/dist/useControlled-QrrYcKxm.cjs +0 -3
  478. package/dist/useControlled-nm4pBabJ.js +0 -31
  479. package/dist/useEventCallback-BxpcFap0.cjs +0 -1
  480. package/dist/useEventCallback-Y2KwRxBw.js +0 -15
  481. package/dist/useForkRef-CFhhTu-Q.cjs +0 -1
  482. package/dist/useForkRef-u29GSuCu.js +0 -27
  483. package/dist/useFormControl-CatNKXAi.js +0 -10
  484. package/dist/useFormControl-haP0iPhl.cjs +0 -1
  485. package/dist/useId-CK6Kn3Tn.js +0 -21
  486. package/dist/useId-DNXtOFeX.cjs +0 -1
  487. package/dist/usePreviousProps-ByGlbpJ6.js +0 -10
  488. package/dist/usePreviousProps-jC3PWcIp.cjs +0 -1
  489. package/dist/useSlot-BSkdRaZr.js +0 -125
  490. package/dist/useSlot-C-aMxEm0.cjs +0 -1
  491. package/dist/useSlotProps-BVVfeURp.cjs +0 -1
  492. package/dist/useSlotProps-CWTjRiRv.js +0 -25
  493. package/dist/useTheme-0AkY41zn.js +0 -11
  494. package/dist/useTheme-BT6SDKkk.cjs +0 -1
  495. package/dist/useTheme-BrGF2Vm0.cjs +0 -1
  496. package/dist/useTheme-DSA6Ir8k.js +0 -18
  497. package/dist/useThemeProps-BWsN0TEk.cjs +0 -1
  498. package/dist/useThemeProps-CAonvyKa.js +0 -27
  499. package/dist/useThemeProps-JozrkyA_.cjs +0 -1
  500. package/dist/useThemeProps-hSh1qhnc.js +0 -17
  501. package/dist/useTimeout-COCrDKz-.cjs +0 -1
  502. package/dist/useTimeout-CrCYVizI.js +0 -42
  503. package/dist/utils-BWx1W_q1.cjs +0 -1
  504. package/dist/utils-B_pVp6UZ.js +0 -363
  505. package/dist/utils-DWqc1kRF.js +0 -13
  506. package/dist/utils-XujN9ndp.cjs +0 -1
  507. package/dist/warning-C8W811fV.js +0 -11
  508. package/dist/warning-DMUNDgRg.cjs +0 -2
@@ -1,698 +0,0 @@
1
- import * as x from "react";
2
- import { P as t } from "./index-B9vkf41S.js";
3
- import { H as I, F as K, G as q } from "./generateUtilityClasses-B_xKAflz.js";
4
- import { u as J, s as S, c as Q, r as X } from "./DefaultPropsProvider-BrmlvPWg.js";
5
- import { m as Y } from "./memoTheme-C-PaH-Cy.js";
6
- import { c as Z } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
7
- import { jsxs as A, jsx as y } from "react/jsx-runtime";
8
- import { u as oo } from "./useId-CK6Kn3Tn.js";
9
- import { c as e } from "./capitalize-BHEX83JQ.js";
10
- import { B as to } from "./ButtonBase-C2jRC_V7.js";
11
- import { C as no } from "./CircularProgress-CLq0Rl-1.js";
12
- function E(o, n, i = !1) {
13
- const a = {
14
- ...n
15
- };
16
- for (const l in o)
17
- if (Object.prototype.hasOwnProperty.call(o, l)) {
18
- const r = l;
19
- if (r === "components" || r === "slots")
20
- a[r] = {
21
- ...o[r],
22
- ...a[r]
23
- };
24
- else if (r === "componentsProps" || r === "slotProps") {
25
- const s = o[r], c = n[r];
26
- if (!c)
27
- a[r] = s || {};
28
- else if (!s)
29
- a[r] = c;
30
- else {
31
- a[r] = {
32
- ...c
33
- };
34
- for (const u in s)
35
- if (Object.prototype.hasOwnProperty.call(s, u)) {
36
- const p = u;
37
- a[r][p] = E(s[p], c[p], i);
38
- }
39
- }
40
- } else r === "className" && i && n.className ? a.className = I(o == null ? void 0 : o.className, n == null ? void 0 : n.className) : r === "style" && i && n.style ? a.style = {
41
- ...o == null ? void 0 : o.style,
42
- ...n == null ? void 0 : n.style
43
- } : a[r] === void 0 && (a[r] = o[r]);
44
- }
45
- return a;
46
- }
47
- function ao(o) {
48
- return q("MuiButton", o);
49
- }
50
- const f = K("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge", "loading", "loadingWrapper", "loadingIconPlaceholder", "loadingIndicator", "loadingPositionCenter", "loadingPositionStart", "loadingPositionEnd"]), W = /* @__PURE__ */ x.createContext({});
51
- process.env.NODE_ENV !== "production" && (W.displayName = "ButtonGroupContext");
52
- const T = /* @__PURE__ */ x.createContext(void 0);
53
- process.env.NODE_ENV !== "production" && (T.displayName = "ButtonGroupButtonContext");
54
- const io = (o) => {
55
- const {
56
- color: n,
57
- disableElevation: i,
58
- fullWidth: a,
59
- size: l,
60
- variant: r,
61
- loading: s,
62
- loadingPosition: c,
63
- classes: u
64
- } = o, p = {
65
- root: ["root", s && "loading", r, `${r}${e(n)}`, `size${e(l)}`, `${r}Size${e(l)}`, `color${e(n)}`, i && "disableElevation", a && "fullWidth", s && `loadingPosition${e(c)}`],
66
- startIcon: ["icon", "startIcon", `iconSize${e(l)}`],
67
- endIcon: ["icon", "endIcon", `iconSize${e(l)}`],
68
- loadingIndicator: ["loadingIndicator"],
69
- loadingWrapper: ["loadingWrapper"]
70
- }, z = Q(p, ao, u);
71
- return {
72
- ...u,
73
- // forward the focused, disabled, etc. classes to the ButtonBase
74
- ...z
75
- };
76
- }, L = [{
77
- props: {
78
- size: "small"
79
- },
80
- style: {
81
- "& > *:nth-of-type(1)": {
82
- fontSize: 18
83
- }
84
- }
85
- }, {
86
- props: {
87
- size: "medium"
88
- },
89
- style: {
90
- "& > *:nth-of-type(1)": {
91
- fontSize: 20
92
- }
93
- }
94
- }, {
95
- props: {
96
- size: "large"
97
- },
98
- style: {
99
- "& > *:nth-of-type(1)": {
100
- fontSize: 22
101
- }
102
- }
103
- }], ro = S(to, {
104
- shouldForwardProp: (o) => X(o) || o === "classes",
105
- name: "MuiButton",
106
- slot: "Root",
107
- overridesResolver: (o, n) => {
108
- const {
109
- ownerState: i
110
- } = o;
111
- return [n.root, n[i.variant], n[`${i.variant}${e(i.color)}`], n[`size${e(i.size)}`], n[`${i.variant}Size${e(i.size)}`], i.color === "inherit" && n.colorInherit, i.disableElevation && n.disableElevation, i.fullWidth && n.fullWidth, i.loading && n.loading];
112
- }
113
- })(Y(({
114
- theme: o
115
- }) => {
116
- const n = o.palette.mode === "light" ? o.palette.grey[300] : o.palette.grey[800], i = o.palette.mode === "light" ? o.palette.grey.A100 : o.palette.grey[700];
117
- return {
118
- ...o.typography.button,
119
- minWidth: 64,
120
- padding: "6px 16px",
121
- border: 0,
122
- borderRadius: (o.vars || o).shape.borderRadius,
123
- transition: o.transitions.create(["background-color", "box-shadow", "border-color", "color"], {
124
- duration: o.transitions.duration.short
125
- }),
126
- "&:hover": {
127
- textDecoration: "none"
128
- },
129
- [`&.${f.disabled}`]: {
130
- color: (o.vars || o).palette.action.disabled
131
- },
132
- variants: [{
133
- props: {
134
- variant: "contained"
135
- },
136
- style: {
137
- color: "var(--variant-containedColor)",
138
- backgroundColor: "var(--variant-containedBg)",
139
- boxShadow: (o.vars || o).shadows[2],
140
- "&:hover": {
141
- boxShadow: (o.vars || o).shadows[4],
142
- // Reset on touch devices, it doesn't add specificity
143
- "@media (hover: none)": {
144
- boxShadow: (o.vars || o).shadows[2]
145
- }
146
- },
147
- "&:active": {
148
- boxShadow: (o.vars || o).shadows[8]
149
- },
150
- [`&.${f.focusVisible}`]: {
151
- boxShadow: (o.vars || o).shadows[6]
152
- },
153
- [`&.${f.disabled}`]: {
154
- color: (o.vars || o).palette.action.disabled,
155
- boxShadow: (o.vars || o).shadows[0],
156
- backgroundColor: (o.vars || o).palette.action.disabledBackground
157
- }
158
- }
159
- }, {
160
- props: {
161
- variant: "outlined"
162
- },
163
- style: {
164
- padding: "5px 15px",
165
- border: "1px solid currentColor",
166
- borderColor: "var(--variant-outlinedBorder, currentColor)",
167
- backgroundColor: "var(--variant-outlinedBg)",
168
- color: "var(--variant-outlinedColor)",
169
- [`&.${f.disabled}`]: {
170
- border: `1px solid ${(o.vars || o).palette.action.disabledBackground}`
171
- }
172
- }
173
- }, {
174
- props: {
175
- variant: "text"
176
- },
177
- style: {
178
- padding: "6px 8px",
179
- color: "var(--variant-textColor)",
180
- backgroundColor: "var(--variant-textBg)"
181
- }
182
- }, ...Object.entries(o.palette).filter(Z()).map(([a]) => ({
183
- props: {
184
- color: a
185
- },
186
- style: {
187
- "--variant-textColor": (o.vars || o).palette[a].main,
188
- "--variant-outlinedColor": (o.vars || o).palette[a].main,
189
- "--variant-outlinedBorder": o.alpha((o.vars || o).palette[a].main, 0.5),
190
- "--variant-containedColor": (o.vars || o).palette[a].contrastText,
191
- "--variant-containedBg": (o.vars || o).palette[a].main,
192
- "@media (hover: hover)": {
193
- "&:hover": {
194
- "--variant-containedBg": (o.vars || o).palette[a].dark,
195
- "--variant-textBg": o.alpha((o.vars || o).palette[a].main, (o.vars || o).palette.action.hoverOpacity),
196
- "--variant-outlinedBorder": (o.vars || o).palette[a].main,
197
- "--variant-outlinedBg": o.alpha((o.vars || o).palette[a].main, (o.vars || o).palette.action.hoverOpacity)
198
- }
199
- }
200
- }
201
- })), {
202
- props: {
203
- color: "inherit"
204
- },
205
- style: {
206
- color: "inherit",
207
- borderColor: "currentColor",
208
- "--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedBg : n,
209
- "@media (hover: hover)": {
210
- "&:hover": {
211
- "--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedHoverBg : i,
212
- "--variant-textBg": o.alpha((o.vars || o).palette.text.primary, (o.vars || o).palette.action.hoverOpacity),
213
- "--variant-outlinedBg": o.alpha((o.vars || o).palette.text.primary, (o.vars || o).palette.action.hoverOpacity)
214
- }
215
- }
216
- }
217
- }, {
218
- props: {
219
- size: "small",
220
- variant: "text"
221
- },
222
- style: {
223
- padding: "4px 5px",
224
- fontSize: o.typography.pxToRem(13)
225
- }
226
- }, {
227
- props: {
228
- size: "large",
229
- variant: "text"
230
- },
231
- style: {
232
- padding: "8px 11px",
233
- fontSize: o.typography.pxToRem(15)
234
- }
235
- }, {
236
- props: {
237
- size: "small",
238
- variant: "outlined"
239
- },
240
- style: {
241
- padding: "3px 9px",
242
- fontSize: o.typography.pxToRem(13)
243
- }
244
- }, {
245
- props: {
246
- size: "large",
247
- variant: "outlined"
248
- },
249
- style: {
250
- padding: "7px 21px",
251
- fontSize: o.typography.pxToRem(15)
252
- }
253
- }, {
254
- props: {
255
- size: "small",
256
- variant: "contained"
257
- },
258
- style: {
259
- padding: "4px 10px",
260
- fontSize: o.typography.pxToRem(13)
261
- }
262
- }, {
263
- props: {
264
- size: "large",
265
- variant: "contained"
266
- },
267
- style: {
268
- padding: "8px 22px",
269
- fontSize: o.typography.pxToRem(15)
270
- }
271
- }, {
272
- props: {
273
- disableElevation: !0
274
- },
275
- style: {
276
- boxShadow: "none",
277
- "&:hover": {
278
- boxShadow: "none"
279
- },
280
- [`&.${f.focusVisible}`]: {
281
- boxShadow: "none"
282
- },
283
- "&:active": {
284
- boxShadow: "none"
285
- },
286
- [`&.${f.disabled}`]: {
287
- boxShadow: "none"
288
- }
289
- }
290
- }, {
291
- props: {
292
- fullWidth: !0
293
- },
294
- style: {
295
- width: "100%"
296
- }
297
- }, {
298
- props: {
299
- loadingPosition: "center"
300
- },
301
- style: {
302
- transition: o.transitions.create(["background-color", "box-shadow", "border-color"], {
303
- duration: o.transitions.duration.short
304
- }),
305
- [`&.${f.loading}`]: {
306
- color: "transparent"
307
- }
308
- }
309
- }]
310
- };
311
- })), eo = S("span", {
312
- name: "MuiButton",
313
- slot: "StartIcon",
314
- overridesResolver: (o, n) => {
315
- const {
316
- ownerState: i
317
- } = o;
318
- return [n.startIcon, i.loading && n.startIconLoadingStart, n[`iconSize${e(i.size)}`]];
319
- }
320
- })(({
321
- theme: o
322
- }) => ({
323
- display: "inherit",
324
- marginRight: 8,
325
- marginLeft: -4,
326
- variants: [{
327
- props: {
328
- size: "small"
329
- },
330
- style: {
331
- marginLeft: -2
332
- }
333
- }, {
334
- props: {
335
- loadingPosition: "start",
336
- loading: !0
337
- },
338
- style: {
339
- transition: o.transitions.create(["opacity"], {
340
- duration: o.transitions.duration.short
341
- }),
342
- opacity: 0
343
- }
344
- }, {
345
- props: {
346
- loadingPosition: "start",
347
- loading: !0,
348
- fullWidth: !0
349
- },
350
- style: {
351
- marginRight: -8
352
- }
353
- }, ...L]
354
- })), so = S("span", {
355
- name: "MuiButton",
356
- slot: "EndIcon",
357
- overridesResolver: (o, n) => {
358
- const {
359
- ownerState: i
360
- } = o;
361
- return [n.endIcon, i.loading && n.endIconLoadingEnd, n[`iconSize${e(i.size)}`]];
362
- }
363
- })(({
364
- theme: o
365
- }) => ({
366
- display: "inherit",
367
- marginRight: -4,
368
- marginLeft: 8,
369
- variants: [{
370
- props: {
371
- size: "small"
372
- },
373
- style: {
374
- marginRight: -2
375
- }
376
- }, {
377
- props: {
378
- loadingPosition: "end",
379
- loading: !0
380
- },
381
- style: {
382
- transition: o.transitions.create(["opacity"], {
383
- duration: o.transitions.duration.short
384
- }),
385
- opacity: 0
386
- }
387
- }, {
388
- props: {
389
- loadingPosition: "end",
390
- loading: !0,
391
- fullWidth: !0
392
- },
393
- style: {
394
- marginLeft: -8
395
- }
396
- }, ...L]
397
- })), lo = S("span", {
398
- name: "MuiButton",
399
- slot: "LoadingIndicator"
400
- })(({
401
- theme: o
402
- }) => ({
403
- display: "none",
404
- position: "absolute",
405
- visibility: "visible",
406
- variants: [{
407
- props: {
408
- loading: !0
409
- },
410
- style: {
411
- display: "flex"
412
- }
413
- }, {
414
- props: {
415
- loadingPosition: "start"
416
- },
417
- style: {
418
- left: 14
419
- }
420
- }, {
421
- props: {
422
- loadingPosition: "start",
423
- size: "small"
424
- },
425
- style: {
426
- left: 10
427
- }
428
- }, {
429
- props: {
430
- variant: "text",
431
- loadingPosition: "start"
432
- },
433
- style: {
434
- left: 6
435
- }
436
- }, {
437
- props: {
438
- loadingPosition: "center"
439
- },
440
- style: {
441
- left: "50%",
442
- transform: "translate(-50%)",
443
- color: (o.vars || o).palette.action.disabled
444
- }
445
- }, {
446
- props: {
447
- loadingPosition: "end"
448
- },
449
- style: {
450
- right: 14
451
- }
452
- }, {
453
- props: {
454
- loadingPosition: "end",
455
- size: "small"
456
- },
457
- style: {
458
- right: 10
459
- }
460
- }, {
461
- props: {
462
- variant: "text",
463
- loadingPosition: "end"
464
- },
465
- style: {
466
- right: 6
467
- }
468
- }, {
469
- props: {
470
- loadingPosition: "start",
471
- fullWidth: !0
472
- },
473
- style: {
474
- position: "relative",
475
- left: -10
476
- }
477
- }, {
478
- props: {
479
- loadingPosition: "end",
480
- fullWidth: !0
481
- },
482
- style: {
483
- position: "relative",
484
- right: -10
485
- }
486
- }]
487
- })), R = S("span", {
488
- name: "MuiButton",
489
- slot: "LoadingIconPlaceholder"
490
- })({
491
- display: "inline-block",
492
- width: "1em",
493
- height: "1em"
494
- }), co = /* @__PURE__ */ x.forwardRef(function(n, i) {
495
- const a = x.useContext(W), l = x.useContext(T), r = E(a, n), s = J({
496
- props: r,
497
- name: "MuiButton"
498
- }), {
499
- children: c,
500
- color: u = "primary",
501
- component: p = "button",
502
- className: z,
503
- disabled: B = !1,
504
- disableElevation: k = !1,
505
- disableFocusRipple: m = !1,
506
- endIcon: C,
507
- focusVisibleClassName: M,
508
- fullWidth: V = !1,
509
- id: P,
510
- loading: g = null,
511
- loadingIndicator: j,
512
- loadingPosition: b = "center",
513
- size: F = "medium",
514
- startIcon: w,
515
- type: h,
516
- variant: G = "text",
517
- ...D
518
- } = s, N = oo(P), O = j ?? /* @__PURE__ */ y(no, {
519
- "aria-labelledby": N,
520
- color: "inherit",
521
- size: 16
522
- }), v = {
523
- ...s,
524
- color: u,
525
- component: p,
526
- disabled: B,
527
- disableElevation: k,
528
- disableFocusRipple: m,
529
- fullWidth: V,
530
- loading: g,
531
- loadingIndicator: O,
532
- loadingPosition: b,
533
- size: F,
534
- type: h,
535
- variant: G
536
- }, d = io(v), U = (w || g && b === "start") && /* @__PURE__ */ y(eo, {
537
- className: d.startIcon,
538
- ownerState: v,
539
- children: w || /* @__PURE__ */ y(R, {
540
- className: d.loadingIconPlaceholder,
541
- ownerState: v
542
- })
543
- }), H = (C || g && b === "end") && /* @__PURE__ */ y(so, {
544
- className: d.endIcon,
545
- ownerState: v,
546
- children: C || /* @__PURE__ */ y(R, {
547
- className: d.loadingIconPlaceholder,
548
- ownerState: v
549
- })
550
- }), _ = l || "", $ = typeof g == "boolean" ? (
551
- // use plain HTML span to minimize the runtime overhead
552
- /* @__PURE__ */ y("span", {
553
- className: d.loadingWrapper,
554
- style: {
555
- display: "contents"
556
- },
557
- children: g && /* @__PURE__ */ y(lo, {
558
- className: d.loadingIndicator,
559
- ownerState: v,
560
- children: O
561
- })
562
- })
563
- ) : null;
564
- return /* @__PURE__ */ A(ro, {
565
- ownerState: v,
566
- className: I(a.className, d.root, z, _),
567
- component: p,
568
- disabled: B || g,
569
- focusRipple: !m,
570
- focusVisibleClassName: I(d.focusVisible, M),
571
- ref: i,
572
- type: h,
573
- id: g ? N : P,
574
- ...D,
575
- classes: d,
576
- children: [U, b !== "end" && $, c, b === "end" && $, H]
577
- });
578
- });
579
- process.env.NODE_ENV !== "production" && (co.propTypes = {
580
- // ┌────────────────────────────── Warning ──────────────────────────────┐
581
- // │ These PropTypes are generated from the TypeScript type definitions. │
582
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
583
- // └─────────────────────────────────────────────────────────────────────┘
584
- /**
585
- * The content of the component.
586
- */
587
- children: t.node,
588
- /**
589
- * Override or extend the styles applied to the component.
590
- */
591
- classes: t.object,
592
- /**
593
- * @ignore
594
- */
595
- className: t.string,
596
- /**
597
- * The color of the component.
598
- * It supports both default and custom theme colors, which can be added as shown in the
599
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
600
- * @default 'primary'
601
- */
602
- color: t.oneOfType([t.oneOf(["inherit", "primary", "secondary", "success", "error", "info", "warning"]), t.string]),
603
- /**
604
- * The component used for the root node.
605
- * Either a string to use a HTML element or a component.
606
- */
607
- component: t.elementType,
608
- /**
609
- * If `true`, the component is disabled.
610
- * @default false
611
- */
612
- disabled: t.bool,
613
- /**
614
- * If `true`, no elevation is used.
615
- * @default false
616
- */
617
- disableElevation: t.bool,
618
- /**
619
- * If `true`, the keyboard focus ripple is disabled.
620
- * @default false
621
- */
622
- disableFocusRipple: t.bool,
623
- /**
624
- * If `true`, the ripple effect is disabled.
625
- *
626
- * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
627
- * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
628
- * @default false
629
- */
630
- disableRipple: t.bool,
631
- /**
632
- * Element placed after the children.
633
- */
634
- endIcon: t.node,
635
- /**
636
- * @ignore
637
- */
638
- focusVisibleClassName: t.string,
639
- /**
640
- * If `true`, the button will take up the full width of its container.
641
- * @default false
642
- */
643
- fullWidth: t.bool,
644
- /**
645
- * The URL to link to when the button is clicked.
646
- * If defined, an `a` element will be used as the root node.
647
- */
648
- href: t.string,
649
- /**
650
- * @ignore
651
- */
652
- id: t.string,
653
- /**
654
- * If `true`, the loading indicator is visible and the button is disabled.
655
- * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
656
- * @default null
657
- */
658
- loading: t.bool,
659
- /**
660
- * Element placed before the children if the button is in loading state.
661
- * The node should contain an element with `role="progressbar"` with an accessible name.
662
- * By default, it renders a `CircularProgress` that is labeled by the button itself.
663
- * @default <CircularProgress color="inherit" size={16} />
664
- */
665
- loadingIndicator: t.node,
666
- /**
667
- * The loading indicator can be positioned on the start, end, or the center of the button.
668
- * @default 'center'
669
- */
670
- loadingPosition: t.oneOf(["center", "end", "start"]),
671
- /**
672
- * The size of the component.
673
- * `small` is equivalent to the dense button styling.
674
- * @default 'medium'
675
- */
676
- size: t.oneOfType([t.oneOf(["small", "medium", "large"]), t.string]),
677
- /**
678
- * Element placed before the children.
679
- */
680
- startIcon: t.node,
681
- /**
682
- * The system prop that allows defining system overrides as well as additional CSS styles.
683
- */
684
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
685
- /**
686
- * @ignore
687
- */
688
- type: t.oneOfType([t.oneOf(["button", "reset", "submit"]), t.string]),
689
- /**
690
- * The variant to use.
691
- * @default 'text'
692
- */
693
- variant: t.oneOfType([t.oneOf(["contained", "outlined", "text"]), t.string])
694
- });
695
- export {
696
- co as B,
697
- E as r
698
- };