@cgi-learning-hub/ui 1.5.1-dev.1744637282 → 1.5.1-dev.1744643558

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. package/dist/Alert-5zQ9TB22.cjs +1 -0
  2. package/dist/{Alert-BfMYnyZX.js → Alert-D5C84Q-b.js} +27 -28
  3. package/dist/ArrowDropDown-Dt89EMyB.cjs +1 -0
  4. package/dist/ArrowDropDown-DvAbGzWJ.js +37 -0
  5. package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BjXP0c_4.js} +704 -665
  6. package/dist/Autocomplete-C6uWQlAq.cjs +6 -0
  7. package/dist/Backdrop-9ZMM04UV.cjs +1 -0
  8. package/dist/{Backdrop-B200pms1.js → Backdrop-CFkYB15z.js} +21 -20
  9. package/dist/Box-Bl24J58B.cjs +1 -0
  10. package/dist/{Box-D3Pi13ta.js → Box-CXvmZ2dD.js} +12 -12
  11. package/dist/Button-CZTPCtLu.cjs +1 -0
  12. package/dist/{Button-D1aKdjIh.js → Button-Dhxe4eYH.js} +114 -148
  13. package/dist/{ButtonBase-CBFRgTBs.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
  14. package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-uylSwkXQ.js} +24 -24
  15. package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
  16. package/dist/{CardContent-DyggcxBG.js → CardContent-uV5Z3O4p.js} +5 -5
  17. package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
  18. package/dist/{Checkbox-DkrWUPYT.js → Checkbox-hXnta6hd.js} +95 -68
  19. package/dist/Chip-BJSNxQBQ.cjs +1 -0
  20. package/dist/{Chip-Y39z3DS6.js → Chip-klg9LPzp.js} +53 -54
  21. package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DcEnE5le.js} +28 -29
  22. package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
  23. package/dist/{Close-DJDhRwj2.cjs → Close-Czm0dlR9.cjs} +1 -1
  24. package/dist/{Close-hx7dlgmZ.js → Close-KuFfPteA.js} +1 -1
  25. package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
  26. package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-D9nattPL.js} +1 -1
  27. package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-BITNDbQ_.js} +209 -216
  28. package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
  29. package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-D1YD4uGk.js} +995 -1002
  30. package/dist/DatePicker-PBy3aYBw.cjs +13 -0
  31. package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-CojEWOKR.js} +55 -55
  32. package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
  33. package/dist/{Delete-Cfk3fOW-.js → Delete-B4Xhz7O1.js} +1 -1
  34. package/dist/{Delete-DDxv1h6V.cjs → Delete-C0hR-twe.cjs} +1 -1
  35. package/dist/Dialog-BC20prgn.cjs +1 -0
  36. package/dist/{Dialog-Ccvug1yq.js → Dialog-Dk2BQsgk.js} +162 -169
  37. package/dist/{DialogContent-CIMpKm-U.js → DialogContent-C0BzN5yk.js} +3 -3
  38. package/dist/DialogContent-DqdeAbSs.cjs +1 -0
  39. package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-7MyBxAkp.js} +7 -7
  40. package/dist/DialogTitle-DwOXEToV.cjs +1 -0
  41. package/dist/{Divider-C2cBikSL.js → Divider-BC2Fp1JG.js} +8 -8
  42. package/dist/Divider-I7KOokm8.cjs +1 -0
  43. package/dist/{Folder-Bnoqtzc6.js → Folder-DYF788Ow.js} +1 -1
  44. package/dist/{Folder-DEtB13yM.cjs → Folder-ExV_xCn6.cjs} +1 -1
  45. package/dist/{FormLabel-EkpI8MQr.js → FormLabel-Dx6hkLPd.js} +24 -25
  46. package/dist/FormLabel-xZr5oZgx.cjs +2 -0
  47. package/dist/{Grow-B_clfUP9.js → Grow-C654F4zC.js} +6 -5
  48. package/dist/Grow-DPejKxV0.cjs +1 -0
  49. package/dist/{IconButton-D1mhTuaI.js → IconButton-BmspylGQ.js} +26 -27
  50. package/dist/IconButton-C1I_233O.cjs +2 -0
  51. package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-BrH8kQg8.js} +10 -11
  52. package/dist/InputAdornment-_UPzajRP.cjs +1 -0
  53. package/dist/{InputBase-BQnEIwl1.js → InputBase-B3APXSc_.js} +278 -277
  54. package/dist/InputBase-CELFJljc.cjs +3 -0
  55. package/dist/Link-BQrFDQ-K.cjs +1 -0
  56. package/dist/{Link-8ltXgZj7.js → Link-D3HS1nTr.js} +15 -16
  57. package/dist/List-Bii833np.cjs +1 -0
  58. package/dist/{List-DJsqHOqv.js → List-vQ97f0T4.js} +2 -2
  59. package/dist/ListItem-BtjE87R1.cjs +1 -0
  60. package/dist/{ListItem-BspNcHM_.js → ListItem-kT8cZ-t_.js} +17 -17
  61. package/dist/ListItemText-DaUQA10v.js +845 -0
  62. package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
  63. package/dist/Menu-BGO4rdUL.cjs +7 -0
  64. package/dist/{Menu-DPhreDcS.js → Menu-bXn70x2T.js} +405 -335
  65. package/dist/{MenuItem-Fb7iU47J.js → MenuItem-88KizCxg.js} +14 -14
  66. package/dist/MenuItem-De2MJkYT.cjs +1 -0
  67. package/dist/{Modal-dmMiGSAp.js → Modal-BGSxrh8O.js} +240 -245
  68. package/dist/Modal-CPt1nneG.cjs +2 -0
  69. package/dist/{MoreVert-BCGFGn8f.js → MoreVert-BLY3HCz9.js} +1 -1
  70. package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
  71. package/dist/Paper-CKG165jt.cjs +2 -0
  72. package/dist/{Paper-CEDxpHWv.js → Paper-D1MPGEsw.js} +9 -9
  73. package/dist/Popper-C6iJjm-m.cjs +4 -0
  74. package/dist/{Popper-D5_YIJX6.js → Popper-DbqO1kUk.js} +10 -10
  75. package/dist/Portal-C2eqRUQp.js +85 -0
  76. package/dist/Portal-Dm9aDz8_.cjs +1 -0
  77. package/dist/Radio-BEfQuau1.cjs +1 -0
  78. package/dist/{Radio-B4sx0387.js → Radio-BlcCOkYY.js} +226 -183
  79. package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-C1L3hzrF.js} +20 -20
  80. package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
  81. package/dist/Select-BTL6ppWW.cjs +3 -0
  82. package/dist/{Select-CxnCi-3l.js → Select-CWv7tdJU.js} +321 -349
  83. package/dist/{Stack-CzKIgmIE.js → Stack-Bkppffhe.js} +60 -104
  84. package/dist/Stack-DpH56CPw.cjs +1 -0
  85. package/dist/Switch-BIGFww3p.cjs +1 -0
  86. package/dist/{Switch-D3KweZGQ.js → Switch-CbNrfyJP.js} +167 -108
  87. package/dist/SwitchBase-BkcX4xzb.js +314 -0
  88. package/dist/SwitchBase-DA079uiU.cjs +1 -0
  89. package/dist/Tab-BsIC620i.cjs +4 -0
  90. package/dist/{Tab-C1r8JXwz.js → Tab-CeMAH2vi.js} +597 -537
  91. package/dist/{TextField-D-_WjPAW.js → TextField-ChDtIm6f.js} +133 -124
  92. package/dist/TextField-SGIs7v2v.cjs +1 -0
  93. package/dist/{ToggleButtonGroup-gxIqbo6a.js → ToggleButtonGroup-B8hGStTV.js} +1956 -1784
  94. package/dist/ToggleButtonGroup-C64DhY80.cjs +138 -0
  95. package/dist/{Tooltip-D0bof-68.js → Tooltip-DDiPhklW.js} +37 -37
  96. package/dist/Tooltip-DcBB_9cg.cjs +4 -0
  97. package/dist/{Typography-DBJqhIhB.js → Typography-BceX4HUn.js} +13 -14
  98. package/dist/Typography-DOpE-TJz.cjs +1 -0
  99. package/dist/components/Alert/Alert.cjs.js +1 -1
  100. package/dist/components/Alert/Alert.es.js +3 -3
  101. package/dist/components/Alert/index.cjs.js +1 -1
  102. package/dist/components/Alert/index.es.js +1 -1
  103. package/dist/components/Autocomplete/Autocomplete.cjs.js +1 -0
  104. package/dist/components/Autocomplete/Autocomplete.d.ts +11 -0
  105. package/dist/components/Autocomplete/Autocomplete.es.js +52 -0
  106. package/dist/components/Autocomplete/index.cjs.js +1 -0
  107. package/dist/components/Autocomplete/index.d.ts +2 -0
  108. package/dist/components/Autocomplete/index.es.js +4 -0
  109. package/dist/components/Button/Button.cjs.js +1 -1
  110. package/dist/components/Button/Button.es.js +2 -2
  111. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  112. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  113. package/dist/components/DatePicker/index.cjs.js +1 -1
  114. package/dist/components/DatePicker/index.es.js +1 -1
  115. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  116. package/dist/components/Dialog/Dialog.es.js +2 -2
  117. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  118. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  119. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  120. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  121. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  122. package/dist/components/FileList/FileIcon.es.js +1 -1
  123. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  124. package/dist/components/FileList/FileListItem.es.js +4 -4
  125. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  126. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  127. package/dist/components/Heading/Heading.cjs.js +1 -1
  128. package/dist/components/Heading/Heading.es.js +2 -2
  129. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  130. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  131. package/dist/components/Loader/Loader.cjs.js +1 -1
  132. package/dist/components/Loader/Loader.es.js +1 -1
  133. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  134. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  135. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  136. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  137. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  138. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  139. package/dist/components/ResourceCard/style.cjs.js +1 -1
  140. package/dist/components/ResourceCard/style.es.js +25 -25
  141. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  142. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  143. package/dist/components/TreeView/TreeView.cjs.js +4 -4
  144. package/dist/components/TreeView/TreeView.es.js +14 -13
  145. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  146. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  147. package/dist/components/TreeView/utils.cjs.js +1 -1
  148. package/dist/components/TreeView/utils.es.js +3 -3
  149. package/dist/components/index.cjs.js +1 -1
  150. package/dist/components/index.es.js +310 -311
  151. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  152. package/dist/components/stories/Alert.stories.es.js +1 -1
  153. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  154. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  155. package/dist/components/stories/Button.stories.cjs.js +1 -1
  156. package/dist/components/stories/Button.stories.es.js +1 -1
  157. package/dist/components/stories/Card.stories.cjs.js +1 -1
  158. package/dist/components/stories/Card.stories.es.js +2 -2
  159. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  160. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  161. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  162. package/dist/components/stories/Chip.stories.es.js +1 -1
  163. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  164. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  165. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  166. package/dist/components/stories/Dialog.stories.es.js +2 -2
  167. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  168. package/dist/components/stories/Divider.stories.es.js +1 -1
  169. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  170. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  171. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  172. package/dist/components/stories/Heading.stories.es.js +2 -2
  173. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  174. package/dist/components/stories/IconButton.stories.es.js +2 -2
  175. package/dist/components/stories/Link.stories.cjs.js +1 -1
  176. package/dist/components/stories/Link.stories.es.js +1 -1
  177. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  178. package/dist/components/stories/Menu.stories.es.js +2 -2
  179. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  180. package/dist/components/stories/Paper.stories.es.js +1 -1
  181. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  182. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  183. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  184. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  185. package/dist/components/stories/Select.stories.cjs.js +1 -1
  186. package/dist/components/stories/Select.stories.es.js +3 -3
  187. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  188. package/dist/components/stories/TabList.stories.es.js +1 -1
  189. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  190. package/dist/components/stories/TextField.stories.es.js +1 -1
  191. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  192. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  193. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  194. package/dist/components/stories/TreeView.stories.es.js +29 -29
  195. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  196. package/dist/components/stories/Typography.stories.es.js +1 -1
  197. package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
  198. package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-Q_5wEReh.js} +54 -55
  199. package/dist/dividerClasses-B_bu1fey.cjs +1 -0
  200. package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-CG6GpKdW.js} +1 -1
  201. package/dist/elementAcceptingRef-BzA19fXF.cjs +1 -0
  202. package/dist/elementAcceptingRef-De-6sh1C.js +25 -0
  203. package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DAXsN6bV.js} +1 -1
  204. package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
  205. package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BNvofXln.js} +1 -1
  206. package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
  207. package/dist/getReactElementRef-B4Mdq17D.js +8 -0
  208. package/dist/getReactElementRef-BPy0WStw.cjs +1 -0
  209. package/dist/{generateUtilityClasses-BpRGbQmY.js → identifier-UGP6vjyr.js} +811 -845
  210. package/dist/identifier-gJdGmHeC.cjs +74 -0
  211. package/dist/{index-CDLJvERp.js → index-BEwCnUM5.js} +2 -2
  212. package/dist/index-Cfd-LNZn.cjs +1 -0
  213. package/dist/index-D14TzUgK.cjs +1 -0
  214. package/dist/{index-CoYVLWJY.js → index-DF_6gEtu.js} +4 -4
  215. package/dist/index-Dmu1HrwE.cjs +5 -0
  216. package/dist/{index-JOgYmUF8.js → index-Q0xeFkEM.js} +1 -1
  217. package/dist/index.cjs.js +1 -1
  218. package/dist/index.es.js +310 -311
  219. package/dist/inputBaseClasses-BMcreG7U.cjs +1 -0
  220. package/dist/inputBaseClasses-BPb0JVKx.js +9 -0
  221. package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-Ceqh8Tnn.js} +1 -1
  222. package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
  223. package/dist/{memoTheme-44McxcVZ.js → memoTheme-D0vyNKLd.js} +1 -1
  224. package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
  225. package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
  226. package/dist/mergeSlotProps-D_CzNhXE.js +62 -0
  227. package/dist/refType-53jD7LEO.cjs +1 -0
  228. package/dist/{refType-DsRJ5_Sj.js → refType-BjXePEDa.js} +1 -1
  229. package/dist/styled-C7OKoThH.cjs +1 -0
  230. package/dist/styled-blmInu6U.js +5 -0
  231. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  232. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  233. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  234. package/dist/useForkRef-u29GSuCu.js +27 -0
  235. package/dist/useSlot-CxlUbTmA.js +125 -0
  236. package/dist/useSlot-zJFQDOgm.cjs +1 -0
  237. package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
  238. package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-DspaNRnE.js} +2 -2
  239. package/dist/useTheme-9UmqLsq5.js +11 -0
  240. package/dist/useTheme-BJZcQSBU.cjs +1 -0
  241. package/dist/{useTheme-C2OE_AnH.js → useTheme-CXUszJGf.js} +1 -1
  242. package/dist/useTheme-NQRIebh0.cjs +1 -0
  243. package/dist/useThemeProps-B4kO75RK.js +17 -0
  244. package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-DGawbBM3.js} +4 -4
  245. package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
  246. package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
  247. package/dist/utils-B2EQZFZP.cjs +1 -0
  248. package/dist/{utils-DFLaK7Ad.js → utils-CByxilR5.js} +1 -1
  249. package/dist/warning-C8W811fV.js +11 -0
  250. package/dist/warning-DMUNDgRg.cjs +2 -0
  251. package/package.json +10 -10
  252. package/dist/Alert-Dg5u5Z7d.cjs +0 -1
  253. package/dist/Autocomplete-3xshJ4m_.cjs +0 -6
  254. package/dist/Backdrop-BrTs3LxC.cjs +0 -1
  255. package/dist/Box-CFuWIdLg.cjs +0 -1
  256. package/dist/Button-C7tsSPXV.cjs +0 -1
  257. package/dist/CardContent-BRUkl8hU.cjs +0 -1
  258. package/dist/Checkbox-C_wSNEHD.cjs +0 -1
  259. package/dist/Chip-DUeBMcO4.cjs +0 -1
  260. package/dist/CircularProgress-DdHpo4Bf.cjs +0 -28
  261. package/dist/CustomTreeItem-9kBuTFO8.cjs +0 -4
  262. package/dist/DatePicker-BYPJypQT.cjs +0 -14
  263. package/dist/DefaultPropsProvider-B6DqRWnX.cjs +0 -1
  264. package/dist/Dialog-DOXpPT7S.cjs +0 -1
  265. package/dist/DialogContent-BoIE95Tg.cjs +0 -1
  266. package/dist/DialogTitle-B_am69Lr.cjs +0 -1
  267. package/dist/Divider-Nyl7rx-c.cjs +0 -1
  268. package/dist/FormLabel-D4O160ND.cjs +0 -2
  269. package/dist/Grow-DKA2Mfhu.cjs +0 -1
  270. package/dist/IconButton-CGfKAsNI.cjs +0 -2
  271. package/dist/InputAdornment-BOcB8UIi.cjs +0 -1
  272. package/dist/InputBase-BIf-xtMJ.cjs +0 -3
  273. package/dist/Link-CS0qbKjo.cjs +0 -1
  274. package/dist/List-T5dKKWkc.cjs +0 -1
  275. package/dist/ListItem-BN7OXyEP.cjs +0 -1
  276. package/dist/ListItemText-6gXRtF3r.cjs +0 -1
  277. package/dist/ListItemText-afV0BrJL.js +0 -928
  278. package/dist/Menu-D6dHPVP_.cjs +0 -7
  279. package/dist/MenuItem-DOVsV_vI.cjs +0 -1
  280. package/dist/Modal-B8xPmNJd.cjs +0 -2
  281. package/dist/Paper-owda8LtM.cjs +0 -2
  282. package/dist/Popper-DMGJYlm7.cjs +0 -4
  283. package/dist/Portal-BKVc0iys.js +0 -81
  284. package/dist/Portal-CgaP8O8B.cjs +0 -1
  285. package/dist/Radio-OUfsD89D.cjs +0 -1
  286. package/dist/RadioGroup-Cr_IFflA.cjs +0 -1
  287. package/dist/Select-CUlunaOr.cjs +0 -3
  288. package/dist/Stack-D5_1ZBcn.cjs +0 -1
  289. package/dist/Switch-DpdnFebj.cjs +0 -1
  290. package/dist/SwitchBase-BsP35Aas.js +0 -262
  291. package/dist/SwitchBase-DMGf52a3.cjs +0 -1
  292. package/dist/Tab-DZvAf79O.cjs +0 -4
  293. package/dist/TextField-C0KpyS6X.cjs +0 -1
  294. package/dist/ToggleButtonGroup-UNGSwlQe.cjs +0 -137
  295. package/dist/Tooltip-BljbhP1z.cjs +0 -4
  296. package/dist/Typography-yvyJLNFu.cjs +0 -1
  297. package/dist/capitalize-CToVceBw.cjs +0 -1
  298. package/dist/capitalize-DSG2FA7x.js +0 -9
  299. package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
  300. package/dist/dividerClasses-BtzbOVqV.cjs +0 -1
  301. package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
  302. package/dist/extendSxProp-BKP1AeGz.cjs +0 -1
  303. package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
  304. package/dist/getReactElementRef-CD3_Stk5.js +0 -31
  305. package/dist/getReactElementRef-yvpNgSpm.cjs +0 -1
  306. package/dist/index-Bt7ukCXi.cjs +0 -5
  307. package/dist/index-DCpyECL4.cjs +0 -1
  308. package/dist/index-baZm35zL.cjs +0 -1
  309. package/dist/listItemTextClasses-DePeZNtZ.cjs +0 -1
  310. package/dist/refType-DDdajp2p.cjs +0 -1
  311. package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
  312. package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
  313. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  314. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  315. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  316. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  317. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  318. package/dist/useForkRef-C_4o__cU.js +0 -15
  319. package/dist/useSlot-CSTfsYPJ.cjs +0 -1
  320. package/dist/useSlot-CYOxsM2I.js +0 -48
  321. package/dist/useSlotProps-DTgWZk99.cjs +0 -1
  322. package/dist/useTheme-BDL2rp7a.js +0 -11
  323. package/dist/useTheme-CCi6a5Vl.cjs +0 -1
  324. package/dist/useTheme-DpMakc_Y.cjs +0 -1
  325. package/dist/useThemeProps-BnN3o4c1.cjs +0 -1
  326. package/dist/useThemeProps-DjkGUV8r.js +0 -17
  327. package/dist/utils-Cn6wZNus.cjs +0 -1
@@ -0,0 +1,845 @@
1
+ import { P as e, H as I, G as ae, R as ie, n as P } from "./identifier-UGP6vjyr.js";
2
+ import { u as ce } from "./useTheme-9UmqLsq5.js";
3
+ import * as T from "react";
4
+ import { jsx as N, jsxs as le } from "react/jsx-runtime";
5
+ import { s as pe } from "./styled-blmInu6U.js";
6
+ import { u as de } from "./useTheme-CXUszJGf.js";
7
+ import { e as fe } from "./extendSxProp-BNvofXln.js";
8
+ import { i as ue } from "./isMuiElement-DnSE4qG4.js";
9
+ import { u as me } from "./useThemeProps-DGawbBM3.js";
10
+ import { c as F, s as A, u as U, r as ye } from "./DefaultPropsProvider-CojEWOKR.js";
11
+ import { m as ge } from "./memoTheme-D0vyNKLd.js";
12
+ import { a as _ } from "./List-vQ97f0T4.js";
13
+ import { b as be, a as G } from "./ListItem-kT8cZ-t_.js";
14
+ import { a as Oe } from "./useEventCallback-Yoj9nCug.js";
15
+ import { u as Te } from "./useForkRef-u29GSuCu.js";
16
+ import { B as ve } from "./ButtonBase-uylSwkXQ.js";
17
+ import { g as we, l as k } from "./listItemTextClasses-Ceqh8Tnn.js";
18
+ import { u as W } from "./useSlot-CxlUbTmA.js";
19
+ import { T as E, t as K } from "./Typography-BceX4HUn.js";
20
+ function he(r, o) {
21
+ if (process.env.NODE_ENV === "production")
22
+ return () => null;
23
+ const n = o ? {
24
+ ...o.propTypes
25
+ } : null;
26
+ return (a) => (s, i, u, m, l, ...p) => {
27
+ const y = l || i, d = n == null ? void 0 : n[y];
28
+ if (d) {
29
+ const f = d(s, i, u, m, l, ...p);
30
+ if (f)
31
+ return f;
32
+ }
33
+ return typeof s[i] < "u" && !s[a] ? new Error(`The prop \`${y}\` of \`${r}\` can only be used together with the \`${a}\` prop.`) : null;
34
+ };
35
+ }
36
+ const xe = (r, o) => r.filter((n) => o.includes(n)), C = (r, o, n) => {
37
+ const t = r.keys[0];
38
+ Array.isArray(o) ? o.forEach((a, s) => {
39
+ n((i, u) => {
40
+ s <= r.keys.length - 1 && (s === 0 ? Object.assign(i, u) : i[r.up(r.keys[s])] = u);
41
+ }, a);
42
+ }) : o && typeof o == "object" ? (Object.keys(o).length > r.keys.length ? r.keys : xe(r.keys, Object.keys(o))).forEach((s) => {
43
+ if (r.keys.includes(s)) {
44
+ const i = o[s];
45
+ i !== void 0 && n((u, m) => {
46
+ t === s ? Object.assign(u, m) : u[r.up(s)] = m;
47
+ }, i);
48
+ }
49
+ }) : (typeof o == "number" || typeof o == "string") && n((a, s) => {
50
+ Object.assign(a, s);
51
+ }, o);
52
+ };
53
+ function R(r) {
54
+ return `--Grid-${r}Spacing`;
55
+ }
56
+ function B(r) {
57
+ return `--Grid-parent-${r}Spacing`;
58
+ }
59
+ const Y = "--Grid-columns", j = "--Grid-parent-columns", $e = ({
60
+ theme: r,
61
+ ownerState: o
62
+ }) => {
63
+ const n = {};
64
+ return C(r.breakpoints, o.size, (t, a) => {
65
+ let s = {};
66
+ a === "grow" && (s = {
67
+ flexBasis: 0,
68
+ flexGrow: 1,
69
+ maxWidth: "100%"
70
+ }), a === "auto" && (s = {
71
+ flexBasis: "auto",
72
+ flexGrow: 0,
73
+ flexShrink: 0,
74
+ maxWidth: "none",
75
+ width: "auto"
76
+ }), typeof a == "number" && (s = {
77
+ flexGrow: 0,
78
+ flexBasis: "auto",
79
+ width: `calc(100% * ${a} / var(${j}) - (var(${j}) - ${a}) * (var(${B("column")}) / var(${j})))`
80
+ }), t(n, s);
81
+ }), n;
82
+ }, Se = ({
83
+ theme: r,
84
+ ownerState: o
85
+ }) => {
86
+ const n = {};
87
+ return C(r.breakpoints, o.offset, (t, a) => {
88
+ let s = {};
89
+ a === "auto" && (s = {
90
+ marginLeft: "auto"
91
+ }), typeof a == "number" && (s = {
92
+ marginLeft: a === 0 ? "0px" : `calc(100% * ${a} / var(${j}) + var(${B("column")}) * ${a} / var(${j}))`
93
+ }), t(n, s);
94
+ }), n;
95
+ }, je = ({
96
+ theme: r,
97
+ ownerState: o
98
+ }) => {
99
+ if (!o.container)
100
+ return {};
101
+ const n = {
102
+ [Y]: 12
103
+ };
104
+ return C(r.breakpoints, o.columns, (t, a) => {
105
+ const s = a ?? 12;
106
+ t(n, {
107
+ [Y]: s,
108
+ "> *": {
109
+ [j]: s
110
+ }
111
+ });
112
+ }), n;
113
+ }, Ce = ({
114
+ theme: r,
115
+ ownerState: o
116
+ }) => {
117
+ if (!o.container)
118
+ return {};
119
+ const n = {};
120
+ return C(r.breakpoints, o.rowSpacing, (t, a) => {
121
+ var i;
122
+ const s = typeof a == "string" ? a : (i = r.spacing) == null ? void 0 : i.call(r, a);
123
+ t(n, {
124
+ [R("row")]: s,
125
+ "> *": {
126
+ [B("row")]: s
127
+ }
128
+ });
129
+ }), n;
130
+ }, Ge = ({
131
+ theme: r,
132
+ ownerState: o
133
+ }) => {
134
+ if (!o.container)
135
+ return {};
136
+ const n = {};
137
+ return C(r.breakpoints, o.columnSpacing, (t, a) => {
138
+ var i;
139
+ const s = typeof a == "string" ? a : (i = r.spacing) == null ? void 0 : i.call(r, a);
140
+ t(n, {
141
+ [R("column")]: s,
142
+ "> *": {
143
+ [B("column")]: s
144
+ }
145
+ });
146
+ }), n;
147
+ }, Ne = ({
148
+ theme: r,
149
+ ownerState: o
150
+ }) => {
151
+ if (!o.container)
152
+ return {};
153
+ const n = {};
154
+ return C(r.breakpoints, o.direction, (t, a) => {
155
+ t(n, {
156
+ flexDirection: a
157
+ });
158
+ }), n;
159
+ }, Pe = ({
160
+ ownerState: r
161
+ }) => ({
162
+ minWidth: 0,
163
+ boxSizing: "border-box",
164
+ ...r.container && {
165
+ display: "flex",
166
+ flexWrap: "wrap",
167
+ ...r.wrap && r.wrap !== "wrap" && {
168
+ flexWrap: r.wrap
169
+ },
170
+ gap: `var(${R("row")}) var(${R("column")})`
171
+ }
172
+ }), ke = (r) => {
173
+ const o = [];
174
+ return Object.entries(r).forEach(([n, t]) => {
175
+ t !== !1 && t !== void 0 && o.push(`grid-${n}-${String(t)}`);
176
+ }), o;
177
+ }, Ee = (r, o = "xs") => {
178
+ function n(t) {
179
+ return t === void 0 ? !1 : typeof t == "string" && !Number.isNaN(Number(t)) || typeof t == "number" && t > 0;
180
+ }
181
+ if (n(r))
182
+ return [`spacing-${o}-${String(r)}`];
183
+ if (typeof r == "object" && !Array.isArray(r)) {
184
+ const t = [];
185
+ return Object.entries(r).forEach(([a, s]) => {
186
+ n(s) && t.push(`spacing-${a}-${String(s)}`);
187
+ }), t;
188
+ }
189
+ return [];
190
+ }, Ie = (r) => r === void 0 ? [] : typeof r == "object" ? Object.entries(r).map(([o, n]) => `direction-${o}-${n}`) : [`direction-xs-${String(r)}`], Re = (r) => ["item", "zeroMinWidth"].includes(r) ? `The \`${r}\` prop has been removed and is no longer necessary. You can safely remove it.` : `The \`${r}\` prop has been removed. See https://mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`, J = [];
191
+ function Be(r, o) {
192
+ const n = [];
193
+ r.item !== void 0 && (delete r.item, n.push("item")), r.zeroMinWidth !== void 0 && (delete r.zeroMinWidth, n.push("zeroMinWidth")), o.keys.forEach((t) => {
194
+ r[t] !== void 0 && (n.push(t), delete r[t]);
195
+ }), process.env.NODE_ENV !== "production" && n.forEach((t) => {
196
+ J.includes(t) || (J.push(t), console.warn(`MUI Grid: ${Re(t)}
197
+ `));
198
+ });
199
+ }
200
+ const Le = ie(), Me = pe("div", {
201
+ name: "MuiGrid",
202
+ slot: "Root",
203
+ overridesResolver: (r, o) => o.root
204
+ });
205
+ function ze(r) {
206
+ return me({
207
+ props: r,
208
+ name: "MuiGrid",
209
+ defaultTheme: Le
210
+ });
211
+ }
212
+ function De(r = {}) {
213
+ const {
214
+ // This will allow adding custom styled fn (for example for custom sx style function)
215
+ createStyledComponent: o = Me,
216
+ useThemeProps: n = ze,
217
+ useTheme: t = de,
218
+ componentName: a = "MuiGrid"
219
+ } = r, s = (l, p) => {
220
+ const {
221
+ container: y,
222
+ direction: d,
223
+ spacing: f,
224
+ wrap: c,
225
+ size: v
226
+ } = l, b = {
227
+ root: ["root", y && "container", c !== "wrap" && `wrap-xs-${String(c)}`, ...Ie(d), ...ke(v), ...y ? Ee(f, p.breakpoints.keys[0]) : []]
228
+ };
229
+ return F(b, (g) => ae(a, g), {});
230
+ };
231
+ function i(l, p, y = () => !0) {
232
+ const d = {};
233
+ return l === null || (Array.isArray(l) ? l.forEach((f, c) => {
234
+ f !== null && y(f) && p.keys[c] && (d[p.keys[c]] = f);
235
+ }) : typeof l == "object" ? Object.keys(l).forEach((f) => {
236
+ const c = l[f];
237
+ c != null && y(c) && (d[f] = c);
238
+ }) : d[p.keys[0]] = l), d;
239
+ }
240
+ const u = o(je, Ge, Ce, $e, Ne, Pe, Se), m = /* @__PURE__ */ T.forwardRef(function(p, y) {
241
+ const d = t(), f = n(p), c = fe(f);
242
+ Be(c, d.breakpoints);
243
+ const {
244
+ className: v,
245
+ children: b,
246
+ columns: g = 12,
247
+ container: O = !1,
248
+ component: w = "div",
249
+ direction: $ = "row",
250
+ wrap: L = "wrap",
251
+ size: M = {},
252
+ offset: z = {},
253
+ spacing: h = 0,
254
+ rowSpacing: D = h,
255
+ columnSpacing: V = h,
256
+ unstable_level: S = 0,
257
+ ...X
258
+ } = c, Z = i(M, d.breakpoints, (x) => x !== !1), ee = i(z, d.breakpoints), re = p.columns ?? (S ? void 0 : g), oe = p.spacing ?? (S ? void 0 : h), ne = p.rowSpacing ?? p.spacing ?? (S ? void 0 : D), te = p.columnSpacing ?? p.spacing ?? (S ? void 0 : V), q = {
259
+ ...c,
260
+ level: S,
261
+ columns: re,
262
+ container: O,
263
+ direction: $,
264
+ wrap: L,
265
+ spacing: oe,
266
+ rowSpacing: ne,
267
+ columnSpacing: te,
268
+ size: Z,
269
+ offset: ee
270
+ }, se = s(q, d);
271
+ return /* @__PURE__ */ N(u, {
272
+ ref: y,
273
+ as: w,
274
+ ownerState: q,
275
+ className: I(se.root, v),
276
+ ...X,
277
+ children: T.Children.map(b, (x) => {
278
+ var H;
279
+ return /* @__PURE__ */ T.isValidElement(x) && ue(x, ["Grid"]) && O && x.props.container ? /* @__PURE__ */ T.cloneElement(x, {
280
+ unstable_level: ((H = x.props) == null ? void 0 : H.unstable_level) ?? S + 1
281
+ }) : x;
282
+ })
283
+ });
284
+ });
285
+ return process.env.NODE_ENV !== "production" && (m.propTypes = {
286
+ children: e.node,
287
+ className: e.string,
288
+ columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
289
+ columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
290
+ component: e.elementType,
291
+ container: e.bool,
292
+ direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
293
+ offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
294
+ rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
295
+ size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
296
+ spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
297
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
298
+ wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
299
+ }), m.muiName = "Grid", m;
300
+ }
301
+ const Q = De({
302
+ createStyledComponent: A("div", {
303
+ name: "MuiGrid",
304
+ slot: "Root",
305
+ overridesResolver: (r, o) => {
306
+ const {
307
+ ownerState: n
308
+ } = r;
309
+ return [o.root, n.container && o.container];
310
+ }
311
+ }),
312
+ componentName: "MuiGrid",
313
+ useThemeProps: (r) => U({
314
+ props: r,
315
+ name: "MuiGrid"
316
+ }),
317
+ useTheme: ce
318
+ });
319
+ process.env.NODE_ENV !== "production" && (Q.propTypes = {
320
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
321
+ // │ These PropTypes are generated from the TypeScript type definitions. │
322
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
323
+ // └─────────────────────────────────────────────────────────────────────┘
324
+ /**
325
+ * The content of the component.
326
+ */
327
+ children: e.node,
328
+ /**
329
+ * The number of columns.
330
+ * @default 12
331
+ */
332
+ columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
333
+ /**
334
+ * Defines the horizontal space between the type `item` components.
335
+ * It overrides the value of the `spacing` prop.
336
+ */
337
+ columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
338
+ /**
339
+ * If `true`, the component will have the flex *container* behavior.
340
+ * You should be wrapping *items* with a *container*.
341
+ * @default false
342
+ */
343
+ container: e.bool,
344
+ /**
345
+ * Defines the `flex-direction` style property.
346
+ * It is applied for all screen sizes.
347
+ * @default 'row'
348
+ */
349
+ direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
350
+ /**
351
+ * Defines the offset value for the type `item` components.
352
+ */
353
+ offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
354
+ /**
355
+ * Defines the vertical space between the type `item` components.
356
+ * It overrides the value of the `spacing` prop.
357
+ */
358
+ rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
359
+ /**
360
+ * Defines the size of the the type `item` components.
361
+ */
362
+ size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
363
+ /**
364
+ * Defines the space between the type `item` components.
365
+ * It can only be used on a type `container` component.
366
+ * @default 0
367
+ */
368
+ spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
369
+ /**
370
+ * @ignore
371
+ */
372
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
373
+ /**
374
+ * @internal
375
+ * The level of the grid starts from `0` and increases when the grid nests
376
+ * inside another grid. Nesting is defined as a container Grid being a direct
377
+ * child of a container Grid.
378
+ *
379
+ * ```js
380
+ * <Grid container> // level 0
381
+ * <Grid container> // level 1
382
+ * <Grid container> // level 2
383
+ * ```
384
+ *
385
+ * Only consecutive grid is considered nesting. A grid container will start at
386
+ * `0` if there are non-Grid container element above it.
387
+ *
388
+ * ```js
389
+ * <Grid container> // level 0
390
+ * <div>
391
+ * <Grid container> // level 0
392
+ * ```
393
+ *
394
+ * ```js
395
+ * <Grid container> // level 0
396
+ * <Grid>
397
+ * <Grid container> // level 0
398
+ * ```
399
+ */
400
+ unstable_level: e.number,
401
+ /**
402
+ * Defines the `flex-wrap` style property.
403
+ * It's applied for all screen sizes.
404
+ * @default 'wrap'
405
+ */
406
+ wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
407
+ });
408
+ if (process.env.NODE_ENV !== "production") {
409
+ const r = Q, o = he("Grid", r);
410
+ r.propTypes = {
411
+ // eslint-disable-next-line react/forbid-foreign-prop-types
412
+ ...r.propTypes,
413
+ direction: o("container"),
414
+ spacing: o("container"),
415
+ wrap: o("container")
416
+ };
417
+ }
418
+ const Ve = (r, o) => {
419
+ const {
420
+ ownerState: n
421
+ } = r;
422
+ return [o.root, n.dense && o.dense, n.alignItems === "flex-start" && o.alignItemsFlexStart, n.divider && o.divider, !n.disableGutters && o.gutters];
423
+ }, We = (r) => {
424
+ const {
425
+ alignItems: o,
426
+ classes: n,
427
+ dense: t,
428
+ disabled: a,
429
+ disableGutters: s,
430
+ divider: i,
431
+ selected: u
432
+ } = r, l = F({
433
+ root: ["root", t && "dense", !s && "gutters", i && "divider", a && "disabled", o === "flex-start" && "alignItemsFlexStart", u && "selected"]
434
+ }, be, n);
435
+ return {
436
+ ...n,
437
+ ...l
438
+ };
439
+ }, _e = A(ve, {
440
+ shouldForwardProp: (r) => ye(r) || r === "classes",
441
+ name: "MuiListItemButton",
442
+ slot: "Root",
443
+ overridesResolver: Ve
444
+ })(ge(({
445
+ theme: r
446
+ }) => ({
447
+ display: "flex",
448
+ flexGrow: 1,
449
+ justifyContent: "flex-start",
450
+ alignItems: "center",
451
+ position: "relative",
452
+ textDecoration: "none",
453
+ minWidth: 0,
454
+ boxSizing: "border-box",
455
+ textAlign: "left",
456
+ paddingTop: 8,
457
+ paddingBottom: 8,
458
+ transition: r.transitions.create("background-color", {
459
+ duration: r.transitions.duration.shortest
460
+ }),
461
+ "&:hover": {
462
+ textDecoration: "none",
463
+ backgroundColor: (r.vars || r).palette.action.hover,
464
+ // Reset on touch devices, it doesn't add specificity
465
+ "@media (hover: none)": {
466
+ backgroundColor: "transparent"
467
+ }
468
+ },
469
+ [`&.${G.selected}`]: {
470
+ backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / ${r.vars.palette.action.selectedOpacity})` : P(r.palette.primary.main, r.palette.action.selectedOpacity),
471
+ [`&.${G.focusVisible}`]: {
472
+ backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / calc(${r.vars.palette.action.selectedOpacity} + ${r.vars.palette.action.focusOpacity}))` : P(r.palette.primary.main, r.palette.action.selectedOpacity + r.palette.action.focusOpacity)
473
+ }
474
+ },
475
+ [`&.${G.selected}:hover`]: {
476
+ backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / calc(${r.vars.palette.action.selectedOpacity} + ${r.vars.palette.action.hoverOpacity}))` : P(r.palette.primary.main, r.palette.action.selectedOpacity + r.palette.action.hoverOpacity),
477
+ // Reset on touch devices, it doesn't add specificity
478
+ "@media (hover: none)": {
479
+ backgroundColor: r.vars ? `rgba(${r.vars.palette.primary.mainChannel} / ${r.vars.palette.action.selectedOpacity})` : P(r.palette.primary.main, r.palette.action.selectedOpacity)
480
+ }
481
+ },
482
+ [`&.${G.focusVisible}`]: {
483
+ backgroundColor: (r.vars || r).palette.action.focus
484
+ },
485
+ [`&.${G.disabled}`]: {
486
+ opacity: (r.vars || r).palette.action.disabledOpacity
487
+ },
488
+ variants: [{
489
+ props: ({
490
+ ownerState: o
491
+ }) => o.divider,
492
+ style: {
493
+ borderBottom: `1px solid ${(r.vars || r).palette.divider}`,
494
+ backgroundClip: "padding-box"
495
+ }
496
+ }, {
497
+ props: {
498
+ alignItems: "flex-start"
499
+ },
500
+ style: {
501
+ alignItems: "flex-start"
502
+ }
503
+ }, {
504
+ props: ({
505
+ ownerState: o
506
+ }) => !o.disableGutters,
507
+ style: {
508
+ paddingLeft: 16,
509
+ paddingRight: 16
510
+ }
511
+ }, {
512
+ props: ({
513
+ ownerState: o
514
+ }) => o.dense,
515
+ style: {
516
+ paddingTop: 4,
517
+ paddingBottom: 4
518
+ }
519
+ }]
520
+ }))), Fe = /* @__PURE__ */ T.forwardRef(function(o, n) {
521
+ const t = U({
522
+ props: o,
523
+ name: "MuiListItemButton"
524
+ }), {
525
+ alignItems: a = "center",
526
+ autoFocus: s = !1,
527
+ component: i = "div",
528
+ children: u,
529
+ dense: m = !1,
530
+ disableGutters: l = !1,
531
+ divider: p = !1,
532
+ focusVisibleClassName: y,
533
+ selected: d = !1,
534
+ className: f,
535
+ ...c
536
+ } = t, v = T.useContext(_), b = T.useMemo(() => ({
537
+ dense: m || v.dense || !1,
538
+ alignItems: a,
539
+ disableGutters: l
540
+ }), [a, v.dense, m, l]), g = T.useRef(null);
541
+ Oe(() => {
542
+ s && (g.current ? g.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a ListItemButton whose component has not been rendered."));
543
+ }, [s]);
544
+ const O = {
545
+ ...t,
546
+ alignItems: a,
547
+ dense: b.dense,
548
+ disableGutters: l,
549
+ divider: p,
550
+ selected: d
551
+ }, w = We(O), $ = Te(g, n);
552
+ return /* @__PURE__ */ N(_.Provider, {
553
+ value: b,
554
+ children: /* @__PURE__ */ N(_e, {
555
+ ref: $,
556
+ href: c.href || c.to,
557
+ component: (c.href || c.to) && i === "div" ? "button" : i,
558
+ focusVisibleClassName: I(w.focusVisible, y),
559
+ ownerState: O,
560
+ className: I(w.root, f),
561
+ ...c,
562
+ classes: w,
563
+ children: u
564
+ })
565
+ });
566
+ });
567
+ process.env.NODE_ENV !== "production" && (Fe.propTypes = {
568
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
569
+ // │ These PropTypes are generated from the TypeScript type definitions. │
570
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
571
+ // └─────────────────────────────────────────────────────────────────────┘
572
+ /**
573
+ * Defines the `align-items` style property.
574
+ * @default 'center'
575
+ */
576
+ alignItems: e.oneOf(["center", "flex-start"]),
577
+ /**
578
+ * If `true`, the list item is focused during the first mount.
579
+ * Focus will also be triggered if the value changes from false to true.
580
+ * @default false
581
+ */
582
+ autoFocus: e.bool,
583
+ /**
584
+ * The content of the component if a `ListItemSecondaryAction` is used it must
585
+ * be the last child.
586
+ */
587
+ children: e.node,
588
+ /**
589
+ * Override or extend the styles applied to the component.
590
+ */
591
+ classes: e.object,
592
+ /**
593
+ * @ignore
594
+ */
595
+ className: e.string,
596
+ /**
597
+ * The component used for the root node.
598
+ * Either a string to use a HTML element or a component.
599
+ */
600
+ component: e.elementType,
601
+ /**
602
+ * If `true`, compact vertical padding designed for keyboard and mouse input is used.
603
+ * The prop defaults to the value inherited from the parent List component.
604
+ * @default false
605
+ */
606
+ dense: e.bool,
607
+ /**
608
+ * If `true`, the component is disabled.
609
+ * @default false
610
+ */
611
+ disabled: e.bool,
612
+ /**
613
+ * If `true`, the left and right padding is removed.
614
+ * @default false
615
+ */
616
+ disableGutters: e.bool,
617
+ /**
618
+ * If `true`, a 1px light border is added to the bottom of the list item.
619
+ * @default false
620
+ */
621
+ divider: e.bool,
622
+ /**
623
+ * This prop can help identify which element has keyboard focus.
624
+ * The class name will be applied when the element gains the focus through keyboard interaction.
625
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
626
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
627
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
628
+ * if needed.
629
+ */
630
+ focusVisibleClassName: e.string,
631
+ /**
632
+ * @ignore
633
+ */
634
+ href: e.string,
635
+ /**
636
+ * Use to apply selected styling.
637
+ * @default false
638
+ */
639
+ selected: e.bool,
640
+ /**
641
+ * The system prop that allows defining system overrides as well as additional CSS styles.
642
+ */
643
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
644
+ });
645
+ const Ae = (r) => {
646
+ const {
647
+ classes: o,
648
+ inset: n,
649
+ primary: t,
650
+ secondary: a,
651
+ dense: s
652
+ } = r;
653
+ return F({
654
+ root: ["root", n && "inset", s && "dense", t && a && "multiline"],
655
+ primary: ["primary"],
656
+ secondary: ["secondary"]
657
+ }, we, o);
658
+ }, Ue = A("div", {
659
+ name: "MuiListItemText",
660
+ slot: "Root",
661
+ overridesResolver: (r, o) => {
662
+ const {
663
+ ownerState: n
664
+ } = r;
665
+ return [{
666
+ [`& .${k.primary}`]: o.primary
667
+ }, {
668
+ [`& .${k.secondary}`]: o.secondary
669
+ }, o.root, n.inset && o.inset, n.primary && n.secondary && o.multiline, n.dense && o.dense];
670
+ }
671
+ })({
672
+ flex: "1 1 auto",
673
+ minWidth: 0,
674
+ marginTop: 4,
675
+ marginBottom: 4,
676
+ [`.${K.root}:where(& .${k.primary})`]: {
677
+ display: "block"
678
+ },
679
+ [`.${K.root}:where(& .${k.secondary})`]: {
680
+ display: "block"
681
+ },
682
+ variants: [{
683
+ props: ({
684
+ ownerState: r
685
+ }) => r.primary && r.secondary,
686
+ style: {
687
+ marginTop: 6,
688
+ marginBottom: 6
689
+ }
690
+ }, {
691
+ props: ({
692
+ ownerState: r
693
+ }) => r.inset,
694
+ style: {
695
+ paddingLeft: 56
696
+ }
697
+ }]
698
+ }), qe = /* @__PURE__ */ T.forwardRef(function(o, n) {
699
+ const t = U({
700
+ props: o,
701
+ name: "MuiListItemText"
702
+ }), {
703
+ children: a,
704
+ className: s,
705
+ disableTypography: i = !1,
706
+ inset: u = !1,
707
+ primary: m,
708
+ primaryTypographyProps: l,
709
+ secondary: p,
710
+ secondaryTypographyProps: y,
711
+ slots: d = {},
712
+ slotProps: f = {},
713
+ ...c
714
+ } = t, {
715
+ dense: v
716
+ } = T.useContext(_);
717
+ let b = m ?? a, g = p;
718
+ const O = {
719
+ ...t,
720
+ disableTypography: i,
721
+ inset: u,
722
+ primary: !!b,
723
+ secondary: !!g,
724
+ dense: v
725
+ }, w = Ae(O), $ = {
726
+ slots: d,
727
+ slotProps: {
728
+ primary: l,
729
+ secondary: y,
730
+ ...f
731
+ }
732
+ }, [L, M] = W("root", {
733
+ className: I(w.root, s),
734
+ elementType: Ue,
735
+ externalForwardedProps: {
736
+ ...$,
737
+ ...c
738
+ },
739
+ ownerState: O,
740
+ ref: n
741
+ }), [z, h] = W("primary", {
742
+ className: w.primary,
743
+ elementType: E,
744
+ externalForwardedProps: $,
745
+ ownerState: O
746
+ }), [D, V] = W("secondary", {
747
+ className: w.secondary,
748
+ elementType: E,
749
+ externalForwardedProps: $,
750
+ ownerState: O
751
+ });
752
+ return b != null && b.type !== E && !i && (b = /* @__PURE__ */ N(z, {
753
+ variant: v ? "body2" : "body1",
754
+ component: h != null && h.variant ? void 0 : "span",
755
+ ...h,
756
+ children: b
757
+ })), g != null && g.type !== E && !i && (g = /* @__PURE__ */ N(D, {
758
+ variant: "body2",
759
+ color: "textSecondary",
760
+ ...V,
761
+ children: g
762
+ })), /* @__PURE__ */ le(L, {
763
+ ...M,
764
+ children: [b, g]
765
+ });
766
+ });
767
+ process.env.NODE_ENV !== "production" && (qe.propTypes = {
768
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
769
+ // │ These PropTypes are generated from the TypeScript type definitions. │
770
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
771
+ // └─────────────────────────────────────────────────────────────────────┘
772
+ /**
773
+ * Alias for the `primary` prop.
774
+ */
775
+ children: e.node,
776
+ /**
777
+ * Override or extend the styles applied to the component.
778
+ */
779
+ classes: e.object,
780
+ /**
781
+ * @ignore
782
+ */
783
+ className: e.string,
784
+ /**
785
+ * If `true`, the children won't be wrapped by a Typography component.
786
+ * This can be useful to render an alternative Typography variant by wrapping
787
+ * the `children` (or `primary`) text, and optional `secondary` text
788
+ * with the Typography component.
789
+ * @default false
790
+ */
791
+ disableTypography: e.bool,
792
+ /**
793
+ * If `true`, the children are indented.
794
+ * This should be used if there is no left avatar or left icon.
795
+ * @default false
796
+ */
797
+ inset: e.bool,
798
+ /**
799
+ * The main content element.
800
+ */
801
+ primary: e.node,
802
+ /**
803
+ * These props will be forwarded to the primary typography component
804
+ * (as long as disableTypography is not `true`).
805
+ * @deprecated Use `slotProps.primary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
806
+ */
807
+ primaryTypographyProps: e.object,
808
+ /**
809
+ * The secondary content element.
810
+ */
811
+ secondary: e.node,
812
+ /**
813
+ * These props will be forwarded to the secondary typography component
814
+ * (as long as disableTypography is not `true`).
815
+ * @deprecated Use `slotProps.secondary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
816
+ */
817
+ secondaryTypographyProps: e.object,
818
+ /**
819
+ * The props used for each slot inside.
820
+ * @default {}
821
+ */
822
+ slotProps: e.shape({
823
+ primary: e.oneOfType([e.func, e.object]),
824
+ root: e.oneOfType([e.func, e.object]),
825
+ secondary: e.oneOfType([e.func, e.object])
826
+ }),
827
+ /**
828
+ * The components used for each slot inside.
829
+ * @default {}
830
+ */
831
+ slots: e.shape({
832
+ primary: e.elementType,
833
+ root: e.elementType,
834
+ secondary: e.elementType
835
+ }),
836
+ /**
837
+ * The system prop that allows defining system overrides as well as additional CSS styles.
838
+ */
839
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
840
+ });
841
+ export {
842
+ Q as G,
843
+ Fe as L,
844
+ qe as a
845
+ };