@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,883 +0,0 @@
1
- var we = Object.defineProperty;
2
- var Be = (o, e, t) => e in o ? we(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
- var ae = (o, e, t) => Be(o, typeof e != "symbol" ? e + "" : e, t);
4
- import * as d from "react";
5
- import H, { isValidElement as W, cloneElement as G, Children as Le } from "react";
6
- import { P as n } from "./index-B9vkf41S.js";
7
- import { H as C, F as pe, G as Oe } from "./generateUtilityClasses-B_xKAflz.js";
8
- import { jsx as I, jsxs as ke } from "react/jsx-runtime";
9
- import { u as fe, s as ne, c as je } from "./DefaultPropsProvider-BrmlvPWg.js";
10
- import { a as Fe, u as $e } from "./useTimeout-CrCYVizI.js";
11
- import { _ as Ie, a as Ue, T as ue } from "./TransitionGroupContext-DbLioz_6.js";
12
- import { keyframes as oe } from "@emotion/react";
13
- import { u as le } from "./useForkRef-u29GSuCu.js";
14
- import { a as J } from "./useEventCallback-Y2KwRxBw.js";
15
- import { i as ce } from "./isFocusVisible-CPZqtjv2.js";
16
- import { e as ze } from "./elementTypeAcceptingRef-vRb2iI4O.js";
17
- import { r as _e } from "./refType-8hihVLUh.js";
18
- class Q {
19
- constructor() {
20
- ae(this, "mountEffect", () => {
21
- this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
22
- });
23
- this.ref = {
24
- current: null
25
- }, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
26
- }
27
- /** React ref to the ripple instance */
28
- /** If the ripple component should be mounted */
29
- /** Promise that resolves when the ripple component is mounted */
30
- /** If the ripple component has been mounted */
31
- /** React state hook setter */
32
- static create() {
33
- return new Q();
34
- }
35
- static use() {
36
- const e = Fe(Q.create).current, [t, a] = d.useState(!1);
37
- return e.shouldMount = t, e.setShouldMount = a, d.useEffect(e.mountEffect, [t]), e;
38
- }
39
- mount() {
40
- return this.mounted || (this.mounted = Ye(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
41
- }
42
- /* Ripple API */
43
- start(...e) {
44
- this.mount().then(() => {
45
- var t;
46
- return (t = this.ref.current) == null ? void 0 : t.start(...e);
47
- });
48
- }
49
- stop(...e) {
50
- this.mount().then(() => {
51
- var t;
52
- return (t = this.ref.current) == null ? void 0 : t.stop(...e);
53
- });
54
- }
55
- pulsate(...e) {
56
- this.mount().then(() => {
57
- var t;
58
- return (t = this.ref.current) == null ? void 0 : t.pulsate(...e);
59
- });
60
- }
61
- }
62
- function Xe() {
63
- return Q.use();
64
- }
65
- function Ye() {
66
- let o, e;
67
- const t = new Promise((a, i) => {
68
- o = a, e = i;
69
- });
70
- return t.resolve = o, t.reject = e, t;
71
- }
72
- function ee() {
73
- return ee = Object.assign ? Object.assign.bind() : function(o) {
74
- for (var e = 1; e < arguments.length; e++) {
75
- var t = arguments[e];
76
- for (var a in t) ({}).hasOwnProperty.call(t, a) && (o[a] = t[a]);
77
- }
78
- return o;
79
- }, ee.apply(null, arguments);
80
- }
81
- function Ae(o) {
82
- if (o === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
83
- return o;
84
- }
85
- function ie(o, e) {
86
- var t = function(r) {
87
- return e && W(r) ? e(r) : r;
88
- }, a = /* @__PURE__ */ Object.create(null);
89
- return o && Le.map(o, function(i) {
90
- return i;
91
- }).forEach(function(i) {
92
- a[i.key] = t(i);
93
- }), a;
94
- }
95
- function Ke(o, e) {
96
- o = o || {}, e = e || {};
97
- function t(h) {
98
- return h in e ? e[h] : o[h];
99
- }
100
- var a = /* @__PURE__ */ Object.create(null), i = [];
101
- for (var r in o)
102
- r in e ? i.length && (a[r] = i, i = []) : i.push(r);
103
- var s, p = {};
104
- for (var l in e) {
105
- if (a[l])
106
- for (s = 0; s < a[l].length; s++) {
107
- var f = a[l][s];
108
- p[a[l][s]] = t(f);
109
- }
110
- p[l] = t(l);
111
- }
112
- for (s = 0; s < i.length; s++)
113
- p[i[s]] = t(i[s]);
114
- return p;
115
- }
116
- function k(o, e, t) {
117
- return t[e] != null ? t[e] : o.props[e];
118
- }
119
- function qe(o, e) {
120
- return ie(o.children, function(t) {
121
- return G(t, {
122
- onExited: e.bind(null, t),
123
- in: !0,
124
- appear: k(t, "appear", o),
125
- enter: k(t, "enter", o),
126
- exit: k(t, "exit", o)
127
- });
128
- });
129
- }
130
- function He(o, e, t) {
131
- var a = ie(o.children), i = Ke(e, a);
132
- return Object.keys(i).forEach(function(r) {
133
- var s = i[r];
134
- if (W(s)) {
135
- var p = r in e, l = r in a, f = e[r], h = W(f) && !f.props.in;
136
- l && (!p || h) ? i[r] = G(s, {
137
- onExited: t.bind(null, s),
138
- in: !0,
139
- exit: k(s, "exit", o),
140
- enter: k(s, "enter", o)
141
- }) : !l && p && !h ? i[r] = G(s, {
142
- in: !1
143
- }) : l && p && W(f) && (i[r] = G(s, {
144
- onExited: t.bind(null, s),
145
- in: f.props.in,
146
- exit: k(s, "exit", o),
147
- enter: k(s, "enter", o)
148
- }));
149
- }
150
- }), i;
151
- }
152
- var We = Object.values || function(o) {
153
- return Object.keys(o).map(function(e) {
154
- return o[e];
155
- });
156
- }, Ge = {
157
- component: "div",
158
- childFactory: function(e) {
159
- return e;
160
- }
161
- }, re = /* @__PURE__ */ (function(o) {
162
- Ie(e, o);
163
- function e(a, i) {
164
- var r;
165
- r = o.call(this, a, i) || this;
166
- var s = r.handleExited.bind(Ae(r));
167
- return r.state = {
168
- contextValue: {
169
- isMounting: !0
170
- },
171
- handleExited: s,
172
- firstRender: !0
173
- }, r;
174
- }
175
- var t = e.prototype;
176
- return t.componentDidMount = function() {
177
- this.mounted = !0, this.setState({
178
- contextValue: {
179
- isMounting: !1
180
- }
181
- });
182
- }, t.componentWillUnmount = function() {
183
- this.mounted = !1;
184
- }, e.getDerivedStateFromProps = function(i, r) {
185
- var s = r.children, p = r.handleExited, l = r.firstRender;
186
- return {
187
- children: l ? qe(i, p) : He(i, s, p),
188
- firstRender: !1
189
- };
190
- }, t.handleExited = function(i, r) {
191
- var s = ie(this.props.children);
192
- i.key in s || (i.props.onExited && i.props.onExited(r), this.mounted && this.setState(function(p) {
193
- var l = ee({}, p.children);
194
- return delete l[i.key], {
195
- children: l
196
- };
197
- }));
198
- }, t.render = function() {
199
- var i = this.props, r = i.component, s = i.childFactory, p = Ue(i, ["component", "childFactory"]), l = this.state.contextValue, f = We(this.state.children).map(s);
200
- return delete p.appear, delete p.enter, delete p.exit, r === null ? /* @__PURE__ */ H.createElement(ue.Provider, {
201
- value: l
202
- }, f) : /* @__PURE__ */ H.createElement(ue.Provider, {
203
- value: l
204
- }, /* @__PURE__ */ H.createElement(r, p, f));
205
- }, e;
206
- })(H.Component);
207
- re.propTypes = process.env.NODE_ENV !== "production" ? {
208
- /**
209
- * `<TransitionGroup>` renders a `<div>` by default. You can change this
210
- * behavior by providing a `component` prop.
211
- * If you use React v16+ and would like to avoid a wrapping `<div>` element
212
- * you can pass in `component={null}`. This is useful if the wrapping div
213
- * borks your css styles.
214
- */
215
- component: n.any,
216
- /**
217
- * A set of `<Transition>` components, that are toggled `in` and out as they
218
- * leave. the `<TransitionGroup>` will inject specific transition props, so
219
- * remember to spread them through if you are wrapping the `<Transition>` as
220
- * with our `<Fade>` example.
221
- *
222
- * While this component is meant for multiple `Transition` or `CSSTransition`
223
- * children, sometimes you may want to have a single transition child with
224
- * content that you want to be transitioned out and in when you change it
225
- * (e.g. routes, images etc.) In that case you can change the `key` prop of
226
- * the transition child as you change its content, this will cause
227
- * `TransitionGroup` to transition the child out and back in.
228
- */
229
- children: n.node,
230
- /**
231
- * A convenience prop that enables or disables appear animations
232
- * for all children. Note that specifying this will override any defaults set
233
- * on individual children Transitions.
234
- */
235
- appear: n.bool,
236
- /**
237
- * A convenience prop that enables or disables enter animations
238
- * for all children. Note that specifying this will override any defaults set
239
- * on individual children Transitions.
240
- */
241
- enter: n.bool,
242
- /**
243
- * A convenience prop that enables or disables exit animations
244
- * for all children. Note that specifying this will override any defaults set
245
- * on individual children Transitions.
246
- */
247
- exit: n.bool,
248
- /**
249
- * You may need to apply reactive updates to a child as it is exiting.
250
- * This is generally done by using `cloneElement` however in the case of an exiting
251
- * child the element has already been removed and not accessible to the consumer.
252
- *
253
- * If you do need to update a child as it leaves you can provide a `childFactory`
254
- * to wrap every child, even the ones that are leaving.
255
- *
256
- * @type Function(child: ReactElement) -> ReactElement
257
- */
258
- childFactory: n.func
259
- } : {};
260
- re.defaultProps = Ge;
261
- function de(o) {
262
- const {
263
- className: e,
264
- classes: t,
265
- pulsate: a = !1,
266
- rippleX: i,
267
- rippleY: r,
268
- rippleSize: s,
269
- in: p,
270
- onExited: l,
271
- timeout: f
272
- } = o, [h, m] = d.useState(!1), y = C(e, t.ripple, t.rippleVisible, a && t.ripplePulsate), D = {
273
- width: s,
274
- height: s,
275
- top: -(s / 2) + r,
276
- left: -(s / 2) + i
277
- }, g = C(t.child, h && t.childLeaving, a && t.childPulsate);
278
- return !p && !h && m(!0), d.useEffect(() => {
279
- if (!p && l != null) {
280
- const w = setTimeout(l, f);
281
- return () => {
282
- clearTimeout(w);
283
- };
284
- }
285
- }, [l, p, f]), /* @__PURE__ */ I("span", {
286
- className: y,
287
- style: D,
288
- children: /* @__PURE__ */ I("span", {
289
- className: g
290
- })
291
- });
292
- }
293
- process.env.NODE_ENV !== "production" && (de.propTypes = {
294
- /**
295
- * Override or extend the styles applied to the component.
296
- */
297
- classes: n.object.isRequired,
298
- className: n.string,
299
- /**
300
- * @ignore - injected from TransitionGroup
301
- */
302
- in: n.bool,
303
- /**
304
- * @ignore - injected from TransitionGroup
305
- */
306
- onExited: n.func,
307
- /**
308
- * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
309
- */
310
- pulsate: n.bool,
311
- /**
312
- * Diameter of the ripple.
313
- */
314
- rippleSize: n.number,
315
- /**
316
- * Horizontal position of the ripple center.
317
- */
318
- rippleX: n.number,
319
- /**
320
- * Vertical position of the ripple center.
321
- */
322
- rippleY: n.number,
323
- /**
324
- * exit delay
325
- */
326
- timeout: n.number.isRequired
327
- });
328
- const M = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), te = 550, Je = 80, Qe = oe`
329
- 0% {
330
- transform: scale(0);
331
- opacity: 0.1;
332
- }
333
-
334
- 100% {
335
- transform: scale(1);
336
- opacity: 0.3;
337
- }
338
- `, Ze = oe`
339
- 0% {
340
- opacity: 1;
341
- }
342
-
343
- 100% {
344
- opacity: 0;
345
- }
346
- `, et = oe`
347
- 0% {
348
- transform: scale(1);
349
- }
350
-
351
- 50% {
352
- transform: scale(0.92);
353
- }
354
-
355
- 100% {
356
- transform: scale(1);
357
- }
358
- `, tt = ne("span", {
359
- name: "MuiTouchRipple",
360
- slot: "Root"
361
- })({
362
- overflow: "hidden",
363
- pointerEvents: "none",
364
- position: "absolute",
365
- zIndex: 0,
366
- top: 0,
367
- right: 0,
368
- bottom: 0,
369
- left: 0,
370
- borderRadius: "inherit"
371
- }), nt = ne(de, {
372
- name: "MuiTouchRipple",
373
- slot: "Ripple"
374
- })`
375
- opacity: 0;
376
- position: absolute;
377
-
378
- &.${M.rippleVisible} {
379
- opacity: 0.3;
380
- transform: scale(1);
381
- animation-name: ${Qe};
382
- animation-duration: ${te}ms;
383
- animation-timing-function: ${({
384
- theme: o
385
- }) => o.transitions.easing.easeInOut};
386
- }
387
-
388
- &.${M.ripplePulsate} {
389
- animation-duration: ${({
390
- theme: o
391
- }) => o.transitions.duration.shorter}ms;
392
- }
393
-
394
- & .${M.child} {
395
- opacity: 1;
396
- display: block;
397
- width: 100%;
398
- height: 100%;
399
- border-radius: 50%;
400
- background-color: currentColor;
401
- }
402
-
403
- & .${M.childLeaving} {
404
- opacity: 0;
405
- animation-name: ${Ze};
406
- animation-duration: ${te}ms;
407
- animation-timing-function: ${({
408
- theme: o
409
- }) => o.transitions.easing.easeInOut};
410
- }
411
-
412
- & .${M.childPulsate} {
413
- position: absolute;
414
- /* @noflip */
415
- left: 0px;
416
- top: 0;
417
- animation-name: ${et};
418
- animation-duration: 2500ms;
419
- animation-timing-function: ${({
420
- theme: o
421
- }) => o.transitions.easing.easeInOut};
422
- animation-iteration-count: infinite;
423
- animation-delay: 200ms;
424
- }
425
- `, he = /* @__PURE__ */ d.forwardRef(function(e, t) {
426
- const a = fe({
427
- props: e,
428
- name: "MuiTouchRipple"
429
- }), {
430
- center: i = !1,
431
- classes: r = {},
432
- className: s,
433
- ...p
434
- } = a, [l, f] = d.useState([]), h = d.useRef(0), m = d.useRef(null);
435
- d.useEffect(() => {
436
- m.current && (m.current(), m.current = null);
437
- }, [l]);
438
- const y = d.useRef(!1), D = $e(), g = d.useRef(null), w = d.useRef(null), x = d.useCallback((c) => {
439
- const {
440
- pulsate: T,
441
- rippleX: R,
442
- rippleY: $,
443
- rippleSize: B,
444
- cb: U
445
- } = c;
446
- f((E) => [...E, /* @__PURE__ */ I(nt, {
447
- classes: {
448
- ripple: C(r.ripple, M.ripple),
449
- rippleVisible: C(r.rippleVisible, M.rippleVisible),
450
- ripplePulsate: C(r.ripplePulsate, M.ripplePulsate),
451
- child: C(r.child, M.child),
452
- childLeaving: C(r.childLeaving, M.childLeaving),
453
- childPulsate: C(r.childPulsate, M.childPulsate)
454
- },
455
- timeout: te,
456
- pulsate: T,
457
- rippleX: R,
458
- rippleY: $,
459
- rippleSize: B
460
- }, h.current)]), h.current += 1, m.current = U;
461
- }, [r]), j = d.useCallback((c = {}, T = {}, R = () => {
462
- }) => {
463
- const {
464
- pulsate: $ = !1,
465
- center: B = i || T.pulsate,
466
- fakeElement: U = !1
467
- // For test purposes
468
- } = T;
469
- if ((c == null ? void 0 : c.type) === "mousedown" && y.current) {
470
- y.current = !1;
471
- return;
472
- }
473
- (c == null ? void 0 : c.type) === "touchstart" && (y.current = !0);
474
- const E = U ? null : w.current, V = E ? E.getBoundingClientRect() : {
475
- width: 0,
476
- height: 0,
477
- left: 0,
478
- top: 0
479
- };
480
- let S, P, v;
481
- if (B || c === void 0 || c.clientX === 0 && c.clientY === 0 || !c.clientX && !c.touches)
482
- S = Math.round(V.width / 2), P = Math.round(V.height / 2);
483
- else {
484
- const {
485
- clientX: z,
486
- clientY: L
487
- } = c.touches && c.touches.length > 0 ? c.touches[0] : c;
488
- S = Math.round(z - V.left), P = Math.round(L - V.top);
489
- }
490
- if (B)
491
- v = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), v % 2 === 0 && (v += 1);
492
- else {
493
- const z = Math.max(Math.abs((E ? E.clientWidth : 0) - S), S) * 2 + 2, L = Math.max(Math.abs((E ? E.clientHeight : 0) - P), P) * 2 + 2;
494
- v = Math.sqrt(z ** 2 + L ** 2);
495
- }
496
- c != null && c.touches ? g.current === null && (g.current = () => {
497
- x({
498
- pulsate: $,
499
- rippleX: S,
500
- rippleY: P,
501
- rippleSize: v,
502
- cb: R
503
- });
504
- }, D.start(Je, () => {
505
- g.current && (g.current(), g.current = null);
506
- })) : x({
507
- pulsate: $,
508
- rippleX: S,
509
- rippleY: P,
510
- rippleSize: v,
511
- cb: R
512
- });
513
- }, [i, x, D]), A = d.useCallback(() => {
514
- j({}, {
515
- pulsate: !0
516
- });
517
- }, [j]), F = d.useCallback((c, T) => {
518
- if (D.clear(), (c == null ? void 0 : c.type) === "touchend" && g.current) {
519
- g.current(), g.current = null, D.start(0, () => {
520
- F(c, T);
521
- });
522
- return;
523
- }
524
- g.current = null, f((R) => R.length > 0 ? R.slice(1) : R), m.current = T;
525
- }, [D]);
526
- return d.useImperativeHandle(t, () => ({
527
- pulsate: A,
528
- start: j,
529
- stop: F
530
- }), [A, j, F]), /* @__PURE__ */ I(tt, {
531
- className: C(M.root, r.root, s),
532
- ref: w,
533
- ...p,
534
- children: /* @__PURE__ */ I(re, {
535
- component: null,
536
- exit: !0,
537
- children: l
538
- })
539
- });
540
- });
541
- process.env.NODE_ENV !== "production" && (he.propTypes = {
542
- /**
543
- * If `true`, the ripple starts at the center of the component
544
- * rather than at the point of interaction.
545
- */
546
- center: n.bool,
547
- /**
548
- * Override or extend the styles applied to the component.
549
- */
550
- classes: n.object,
551
- /**
552
- * @ignore
553
- */
554
- className: n.string
555
- });
556
- function ot(o) {
557
- return Oe("MuiButtonBase", o);
558
- }
559
- const it = pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), rt = (o) => {
560
- const {
561
- disabled: e,
562
- focusVisible: t,
563
- focusVisibleClassName: a,
564
- classes: i
565
- } = o, s = je({
566
- root: ["root", e && "disabled", t && "focusVisible"]
567
- }, ot, i);
568
- return t && a && (s.root += ` ${a}`), s;
569
- }, st = ne("button", {
570
- name: "MuiButtonBase",
571
- slot: "Root"
572
- })({
573
- display: "inline-flex",
574
- alignItems: "center",
575
- justifyContent: "center",
576
- position: "relative",
577
- boxSizing: "border-box",
578
- WebkitTapHighlightColor: "transparent",
579
- backgroundColor: "transparent",
580
- // Reset default value
581
- // We disable the focus ring for mouse, touch and keyboard users.
582
- outline: 0,
583
- border: 0,
584
- margin: 0,
585
- // Remove the margin in Safari
586
- borderRadius: 0,
587
- padding: 0,
588
- // Remove the padding in Firefox
589
- cursor: "pointer",
590
- userSelect: "none",
591
- verticalAlign: "middle",
592
- MozAppearance: "none",
593
- // Reset
594
- WebkitAppearance: "none",
595
- // Reset
596
- textDecoration: "none",
597
- // So we take precedent over the style of a native <a /> element.
598
- color: "inherit",
599
- "&::-moz-focus-inner": {
600
- borderStyle: "none"
601
- // Remove Firefox dotted outline.
602
- },
603
- [`&.${it.disabled}`]: {
604
- pointerEvents: "none",
605
- // Disable link interactions
606
- cursor: "default"
607
- },
608
- "@media print": {
609
- colorAdjust: "exact"
610
- }
611
- }), at = /* @__PURE__ */ d.forwardRef(function(e, t) {
612
- const a = fe({
613
- props: e,
614
- name: "MuiButtonBase"
615
- }), {
616
- action: i,
617
- centerRipple: r = !1,
618
- children: s,
619
- className: p,
620
- component: l = "button",
621
- disabled: f = !1,
622
- disableRipple: h = !1,
623
- disableTouchRipple: m = !1,
624
- focusRipple: y = !1,
625
- focusVisibleClassName: D,
626
- LinkComponent: g = "a",
627
- onBlur: w,
628
- onClick: x,
629
- onContextMenu: j,
630
- onDragLeave: A,
631
- onFocus: F,
632
- onFocusVisible: c,
633
- onKeyDown: T,
634
- onKeyUp: R,
635
- onMouseDown: $,
636
- onMouseLeave: B,
637
- onMouseUp: U,
638
- onTouchEnd: E,
639
- onTouchMove: V,
640
- onTouchStart: S,
641
- tabIndex: P = 0,
642
- TouchRippleProps: v,
643
- touchRippleRef: z,
644
- type: L,
645
- ..._
646
- } = a, X = d.useRef(null), b = Xe(), me = le(b.ref, z), [O, K] = d.useState(!1);
647
- f && O && K(!1), d.useImperativeHandle(i, () => ({
648
- focusVisible: () => {
649
- K(!0), X.current.focus();
650
- }
651
- }), []);
652
- const be = b.shouldMount && !h && !f;
653
- d.useEffect(() => {
654
- O && y && !h && b.pulsate();
655
- }, [h, y, O, b]);
656
- const ge = N(b, "start", $, m), Me = N(b, "stop", j, m), ye = N(b, "stop", A, m), Re = N(b, "stop", U, m), Te = N(b, "stop", (u) => {
657
- O && u.preventDefault(), B && B(u);
658
- }, m), Ee = N(b, "start", S, m), Ce = N(b, "stop", E, m), xe = N(b, "stop", V, m), Pe = N(b, "stop", (u) => {
659
- ce(u.target) || K(!1), w && w(u);
660
- }, !1), Ne = J((u) => {
661
- X.current || (X.current = u.currentTarget), ce(u.target) && (K(!0), c && c(u)), F && F(u);
662
- }), Z = () => {
663
- const u = X.current;
664
- return l && l !== "button" && !(u.tagName === "A" && u.href);
665
- }, De = J((u) => {
666
- y && !u.repeat && O && u.key === " " && b.stop(u, () => {
667
- b.start(u);
668
- }), u.target === u.currentTarget && Z() && u.key === " " && u.preventDefault(), T && T(u), u.target === u.currentTarget && Z() && u.key === "Enter" && !f && (u.preventDefault(), x && x(u));
669
- }), Ve = J((u) => {
670
- y && u.key === " " && O && !u.defaultPrevented && b.stop(u, () => {
671
- b.pulsate(u);
672
- }), R && R(u), x && u.target === u.currentTarget && Z() && u.key === " " && !u.defaultPrevented && x(u);
673
- });
674
- let q = l;
675
- q === "button" && (_.href || _.to) && (q = g);
676
- const Y = {};
677
- q === "button" ? (Y.type = L === void 0 ? "button" : L, Y.disabled = f) : (!_.href && !_.to && (Y.role = "button"), f && (Y["aria-disabled"] = f));
678
- const Se = le(t, X), se = {
679
- ...a,
680
- centerRipple: r,
681
- component: l,
682
- disabled: f,
683
- disableRipple: h,
684
- disableTouchRipple: m,
685
- focusRipple: y,
686
- tabIndex: P,
687
- focusVisible: O
688
- }, ve = rt(se);
689
- return /* @__PURE__ */ ke(st, {
690
- as: q,
691
- className: C(ve.root, p),
692
- ownerState: se,
693
- onBlur: Pe,
694
- onClick: x,
695
- onContextMenu: Me,
696
- onFocus: Ne,
697
- onKeyDown: De,
698
- onKeyUp: Ve,
699
- onMouseDown: ge,
700
- onMouseLeave: Te,
701
- onMouseUp: Re,
702
- onDragLeave: ye,
703
- onTouchEnd: Ce,
704
- onTouchMove: xe,
705
- onTouchStart: Ee,
706
- ref: Se,
707
- tabIndex: f ? -1 : P,
708
- type: L,
709
- ...Y,
710
- ..._,
711
- children: [s, be ? /* @__PURE__ */ I(he, {
712
- ref: me,
713
- center: r,
714
- ...v
715
- }) : null]
716
- });
717
- });
718
- function N(o, e, t, a = !1) {
719
- return J((i) => (t && t(i), a || o[e](i), !0));
720
- }
721
- process.env.NODE_ENV !== "production" && (at.propTypes = {
722
- // ┌────────────────────────────── Warning ──────────────────────────────┐
723
- // │ These PropTypes are generated from the TypeScript type definitions. │
724
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
725
- // └─────────────────────────────────────────────────────────────────────┘
726
- /**
727
- * A ref for imperative actions.
728
- * It currently only supports `focusVisible()` action.
729
- */
730
- action: _e,
731
- /**
732
- * If `true`, the ripples are centered.
733
- * They won't start at the cursor interaction position.
734
- * @default false
735
- */
736
- centerRipple: n.bool,
737
- /**
738
- * The content of the component.
739
- */
740
- children: n.node,
741
- /**
742
- * Override or extend the styles applied to the component.
743
- */
744
- classes: n.object,
745
- /**
746
- * @ignore
747
- */
748
- className: n.string,
749
- /**
750
- * The component used for the root node.
751
- * Either a string to use a HTML element or a component.
752
- */
753
- component: ze,
754
- /**
755
- * If `true`, the component is disabled.
756
- * @default false
757
- */
758
- disabled: n.bool,
759
- /**
760
- * If `true`, the ripple effect is disabled.
761
- *
762
- * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
763
- * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
764
- * @default false
765
- */
766
- disableRipple: n.bool,
767
- /**
768
- * If `true`, the touch ripple effect is disabled.
769
- * @default false
770
- */
771
- disableTouchRipple: n.bool,
772
- /**
773
- * If `true`, the base button will have a keyboard focus ripple.
774
- * @default false
775
- */
776
- focusRipple: n.bool,
777
- /**
778
- * This prop can help identify which element has keyboard focus.
779
- * The class name will be applied when the element gains the focus through keyboard interaction.
780
- * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
781
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
782
- * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
783
- * if needed.
784
- */
785
- focusVisibleClassName: n.string,
786
- /**
787
- * @ignore
788
- */
789
- href: n.any,
790
- /**
791
- * The component used to render a link when the `href` prop is provided.
792
- * @default 'a'
793
- */
794
- LinkComponent: n.elementType,
795
- /**
796
- * @ignore
797
- */
798
- onBlur: n.func,
799
- /**
800
- * @ignore
801
- */
802
- onClick: n.func,
803
- /**
804
- * @ignore
805
- */
806
- onContextMenu: n.func,
807
- /**
808
- * @ignore
809
- */
810
- onDragLeave: n.func,
811
- /**
812
- * @ignore
813
- */
814
- onFocus: n.func,
815
- /**
816
- * Callback fired when the component is focused with a keyboard.
817
- * We trigger a `onFocus` callback too.
818
- */
819
- onFocusVisible: n.func,
820
- /**
821
- * @ignore
822
- */
823
- onKeyDown: n.func,
824
- /**
825
- * @ignore
826
- */
827
- onKeyUp: n.func,
828
- /**
829
- * @ignore
830
- */
831
- onMouseDown: n.func,
832
- /**
833
- * @ignore
834
- */
835
- onMouseLeave: n.func,
836
- /**
837
- * @ignore
838
- */
839
- onMouseUp: n.func,
840
- /**
841
- * @ignore
842
- */
843
- onTouchEnd: n.func,
844
- /**
845
- * @ignore
846
- */
847
- onTouchMove: n.func,
848
- /**
849
- * @ignore
850
- */
851
- onTouchStart: n.func,
852
- /**
853
- * The system prop that allows defining system overrides as well as additional CSS styles.
854
- */
855
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
856
- /**
857
- * @default 0
858
- */
859
- tabIndex: n.number,
860
- /**
861
- * Props applied to the `TouchRipple` element.
862
- */
863
- TouchRippleProps: n.object,
864
- /**
865
- * A ref that points to the `TouchRipple` element.
866
- */
867
- touchRippleRef: n.oneOfType([n.func, n.shape({
868
- current: n.shape({
869
- pulsate: n.func.isRequired,
870
- start: n.func.isRequired,
871
- stop: n.func.isRequired
872
- })
873
- })]),
874
- /**
875
- * @ignore
876
- */
877
- type: n.oneOfType([n.oneOf(["button", "reset", "submit"]), n.string])
878
- });
879
- export {
880
- at as B,
881
- re as T,
882
- ee as _
883
- };