@cgi-learning-hub/ui 1.5.1 → 1.6.0-dev.1747671610

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 (343) hide show
  1. package/dist/Alert-DW8yCR-B.cjs +1 -0
  2. package/dist/{Alert-BfMYnyZX.js → Alert-PmI169Dq.js} +144 -142
  3. package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BIBR54X2.js} +709 -667
  4. package/dist/Autocomplete-D9hZ2wrR.cjs +6 -0
  5. package/dist/Backdrop-3TL73mAe.cjs +1 -0
  6. package/dist/{Backdrop-B200pms1.js → Backdrop-BxgGvlLM.js} +21 -20
  7. package/dist/Badge-DhyDno9j.cjs +138 -0
  8. package/dist/{ToggleButtonGroup-gxIqbo6a.js → Badge-rX7YUmBc.js} +6487 -4178
  9. package/dist/Box-DYD6q-6M.cjs +1 -0
  10. package/dist/{Box-D3Pi13ta.js → Box-o7Tjjyko.js} +21 -20
  11. package/dist/{Button-D1aKdjIh.js → Button-D974vesA.js} +19 -18
  12. package/dist/Button-y1LmxqGA.cjs +1 -0
  13. package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-Chb99sDQ.js} +25 -24
  14. package/dist/ButtonBase-Cteo-mSC.cjs +74 -0
  15. package/dist/{CardContent-DyggcxBG.js → CardContent-DaZl2i3G.js} +10 -9
  16. package/dist/CardContent-ji0_AneN.cjs +1 -0
  17. package/dist/Checkbox-XXqW_dbW.cjs +1 -0
  18. package/dist/{Checkbox-DkrWUPYT.js → Checkbox-p-PKpEw_.js} +91 -62
  19. package/dist/Chip-Bpcd3tnL.cjs +1 -0
  20. package/dist/{Chip-Y39z3DS6.js → Chip-CPR3r42q.js} +13 -12
  21. package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DVKNRMKq.js} +15 -14
  22. package/dist/CircularProgress-Wqx0-T36.cjs +28 -0
  23. package/dist/{Close-DJDhRwj2.cjs → Close-DyRqry3p.cjs} +1 -1
  24. package/dist/{Close-hx7dlgmZ.js → Close-m-MX3rFn.js} +1 -1
  25. package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-Bpxbxvyb.cjs} +1 -1
  26. package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-CjjQdrNy.js} +1 -1
  27. package/dist/CustomTreeItem-DPyfIueW.cjs +3 -0
  28. package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-hIRSCwAW.js} +251 -256
  29. package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-BMzW4v1g.js} +1079 -1081
  30. package/dist/DatePicker-CNhBoaI3.cjs +14 -0
  31. package/dist/DefaultPropsProvider-B1crdkTC.cjs +1 -0
  32. package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-hFv1J_xl.js} +68 -67
  33. package/dist/{Delete-Cfk3fOW-.js → Delete-9fJbdRit.js} +1 -1
  34. package/dist/{Delete-DDxv1h6V.cjs → Delete-CEX2hq0f.cjs} +1 -1
  35. package/dist/Dialog-B2LKe7ZM.cjs +1 -0
  36. package/dist/{Dialog-Ccvug1yq.js → Dialog-BzsWl6Vl.js} +106 -111
  37. package/dist/{DialogContent-CIMpKm-U.js → DialogContent-B41jvlMn.js} +14 -13
  38. package/dist/DialogContent-BbCu_OEw.cjs +1 -0
  39. package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-CVvztEM0.js} +22 -21
  40. package/dist/DialogTitle-SwUSpeBT.cjs +1 -0
  41. package/dist/{Divider-C2cBikSL.js → Divider-CJwnMdVg.js} +9 -8
  42. package/dist/Divider-Cshcr5kR.cjs +1 -0
  43. package/dist/{Folder-DEtB13yM.cjs → Folder-7plrMkOp.cjs} +1 -1
  44. package/dist/{Folder-Bnoqtzc6.js → Folder-CutUz0bW.js} +1 -1
  45. package/dist/FormLabel-0LbNeQQU.cjs +2 -0
  46. package/dist/{FormLabel-EkpI8MQr.js → FormLabel-DSi2pGSZ.js} +16 -15
  47. package/dist/{Grow-B_clfUP9.js → Grow-FFFqe81C.js} +5 -5
  48. package/dist/Grow-aEgTOewU.cjs +1 -0
  49. package/dist/IconButton-BKwDNYJl.cjs +2 -0
  50. package/dist/{IconButton-D1mhTuaI.js → IconButton-CgwURB2g.js} +7 -6
  51. package/dist/InputAdornment-C7e-kyf7.cjs +1 -0
  52. package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-DgWvMLgR.js} +22 -21
  53. package/dist/{InputBase-BQnEIwl1.js → InputBase-DxLqRpcl.js} +263 -256
  54. package/dist/InputBase-pYQWRFK2.cjs +3 -0
  55. package/dist/Link-DUtuCYMx.cjs +1 -0
  56. package/dist/{Link-8ltXgZj7.js → Link-rb-SwfiY.js} +18 -17
  57. package/dist/List-BH_S4Hqm.cjs +1 -0
  58. package/dist/{List-DJsqHOqv.js → List-BjfdkeEI.js} +5 -4
  59. package/dist/{ListItem-BspNcHM_.js → ListItem-B0EiObKw.js} +40 -39
  60. package/dist/ListItem-D33t-hkx.cjs +1 -0
  61. package/dist/ListItemText-B8jlTz59.cjs +2 -0
  62. package/dist/ListItemText-BeyHu1da.js +853 -0
  63. package/dist/Menu-BjrN8rMF.cjs +7 -0
  64. package/dist/{Menu-DPhreDcS.js → Menu-By6cOqEO.js} +407 -336
  65. package/dist/{MenuItem-Fb7iU47J.js → MenuItem-B1FTx8Uo.js} +17 -16
  66. package/dist/MenuItem-Cz_x60jl.cjs +1 -0
  67. package/dist/Modal-DxwlW5NV.cjs +2 -0
  68. package/dist/{Modal-dmMiGSAp.js → Modal-vrLLqk9Y.js} +240 -245
  69. package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-DC6HBf1h.cjs} +1 -1
  70. package/dist/{MoreVert-BCGFGn8f.js → MoreVert-DJ8sAY3o.js} +1 -1
  71. package/dist/{Paper-CEDxpHWv.js → Paper-984iTz4H.js} +32 -31
  72. package/dist/Paper-Bh9CKUCb.cjs +2 -0
  73. package/dist/{Popper-D5_YIJX6.js → Popper-DfwuvxaQ.js} +11 -10
  74. package/dist/Popper-yO_RaCbM.cjs +4 -0
  75. package/dist/Portal-B5KqLEa0.cjs +1 -0
  76. package/dist/Portal-ChC9wmMZ.js +85 -0
  77. package/dist/{Radio-B4sx0387.js → Radio-BqY-su_F.js} +228 -183
  78. package/dist/Radio-C7zzpRFc.cjs +1 -0
  79. package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-BQvlYFpE.js} +24 -23
  80. package/dist/RadioGroup-BlUWRmLG.cjs +1 -0
  81. package/dist/{Select-CxnCi-3l.js → Select-DZMwqCYA.js} +96 -95
  82. package/dist/Select-Doay7ukI.cjs +3 -0
  83. package/dist/Stack-BVWbOqY_.cjs +1 -0
  84. package/dist/{Stack-CzKIgmIE.js → Stack-CMUWQxQn.js} +63 -107
  85. package/dist/{Switch-D3KweZGQ.js → Switch-Bg4QB4PJ.js} +169 -108
  86. package/dist/Switch-CEfqaD33.cjs +1 -0
  87. package/dist/SwitchBase-DvCITKv8.cjs +1 -0
  88. package/dist/SwitchBase-EDFBMPd7.js +316 -0
  89. package/dist/{Tab-C1r8JXwz.js → Tab-52AkFc9v.js} +599 -537
  90. package/dist/Tab-C6H241Pf.cjs +4 -0
  91. package/dist/{TextField-D-_WjPAW.js → TextField-DG9mRp_m.js} +127 -116
  92. package/dist/TextField-bE2NUKKK.cjs +1 -0
  93. package/dist/{Tooltip-D0bof-68.js → Tooltip-DCgaU2em.js} +20 -19
  94. package/dist/Tooltip-D_w-IJoD.cjs +4 -0
  95. package/dist/Typography-De-21leI.cjs +1 -0
  96. package/dist/{Typography-DBJqhIhB.js → Typography-DwMlN0K5.js} +9 -8
  97. package/dist/{capitalize-DSG2FA7x.js → capitalize-BHFotl9B.js} +1 -1
  98. package/dist/{capitalize-CToVceBw.cjs → capitalize-CKLkSyDO.cjs} +1 -1
  99. package/dist/client-error-CHkavqXs.cjs +1 -0
  100. package/dist/{client-error-B_-qjgAB.js → client-error-D0Ng5oOn.js} +1 -3
  101. package/dist/components/Alert/Alert.cjs.js +1 -1
  102. package/dist/components/Alert/Alert.es.js +3 -3
  103. package/dist/components/Alert/index.cjs.js +1 -1
  104. package/dist/components/Alert/index.es.js +1 -1
  105. package/dist/components/Button/Button.cjs.js +1 -1
  106. package/dist/components/Button/Button.es.js +2 -2
  107. package/dist/components/ColorPicker/ColorPicker.cjs.js +27 -0
  108. package/dist/components/ColorPicker/ColorPicker.d.ts +4 -0
  109. package/dist/components/ColorPicker/ColorPicker.es.js +7960 -0
  110. package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +1 -0
  111. package/dist/components/ColorPicker/ColorPickerIcon.d.ts +5 -0
  112. package/dist/components/ColorPicker/ColorPickerIcon.es.js +58 -0
  113. package/dist/components/ColorPicker/index.cjs.js +1 -0
  114. package/dist/components/ColorPicker/index.d.ts +3 -0
  115. package/dist/components/ColorPicker/index.es.js +4 -0
  116. package/dist/components/ColorPicker/styles.cjs.js +1 -0
  117. package/dist/components/ColorPicker/styles.es.js +26 -0
  118. package/dist/components/ColorPicker/types.cjs.js +1 -0
  119. package/dist/components/ColorPicker/types.d.ts +19 -0
  120. package/dist/components/ColorPicker/types.es.js +1 -0
  121. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  122. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  123. package/dist/components/DatePicker/index.cjs.js +1 -1
  124. package/dist/components/DatePicker/index.es.js +1 -1
  125. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  126. package/dist/components/Dialog/Dialog.es.js +2 -2
  127. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  128. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  129. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  130. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  131. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  132. package/dist/components/FileList/FileIcon.es.js +1 -1
  133. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  134. package/dist/components/FileList/FileListItem.es.js +4 -4
  135. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  136. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  137. package/dist/components/Heading/Heading.cjs.js +1 -1
  138. package/dist/components/Heading/Heading.es.js +2 -2
  139. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  140. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  141. package/dist/components/Loader/Loader.cjs.js +1 -1
  142. package/dist/components/Loader/Loader.es.js +1 -1
  143. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  144. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  145. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  146. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  147. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  148. package/dist/components/QueryError/QueryError.es.js +2 -2
  149. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  150. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  151. package/dist/components/ResourceCard/style.cjs.js +1 -1
  152. package/dist/components/ResourceCard/style.es.js +22 -22
  153. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  154. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  155. package/dist/components/TreeView/TreeView.cjs.js +5 -5
  156. package/dist/components/TreeView/TreeView.es.js +15 -13
  157. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  158. package/dist/components/TreeView/components/CustomTreeItem.es.js +4 -3
  159. package/dist/components/TreeView/utils.cjs.js +1 -1
  160. package/dist/components/TreeView/utils.es.js +3 -3
  161. package/dist/components/index.cjs.js +1 -1
  162. package/dist/components/index.d.ts +19 -0
  163. package/dist/components/index.es.js +404 -373
  164. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  165. package/dist/components/stories/Alert.stories.es.js +1 -1
  166. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  167. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  168. package/dist/components/stories/Button.stories.cjs.js +1 -1
  169. package/dist/components/stories/Button.stories.es.js +1 -1
  170. package/dist/components/stories/Card.stories.cjs.js +1 -1
  171. package/dist/components/stories/Card.stories.es.js +2 -2
  172. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  173. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  174. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  175. package/dist/components/stories/Chip.stories.es.js +1 -1
  176. package/dist/components/stories/ColoPicker.stories.cjs.js +1 -0
  177. package/dist/components/stories/ColoPicker.stories.d.ts +6 -0
  178. package/dist/components/stories/ColoPicker.stories.es.js +23 -0
  179. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  180. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  181. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  182. package/dist/components/stories/Dialog.stories.es.js +2 -2
  183. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  184. package/dist/components/stories/Divider.stories.es.js +1 -1
  185. package/dist/components/stories/EmptyState.stories.cjs.js +1 -1
  186. package/dist/components/stories/EmptyState.stories.es.js +1 -1
  187. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  188. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  189. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  190. package/dist/components/stories/Heading.stories.es.js +2 -2
  191. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  192. package/dist/components/stories/IconButton.stories.es.js +2 -2
  193. package/dist/components/stories/Link.stories.cjs.js +1 -1
  194. package/dist/components/stories/Link.stories.es.js +1 -1
  195. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  196. package/dist/components/stories/Menu.stories.es.js +2 -2
  197. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  198. package/dist/components/stories/Paper.stories.es.js +1 -1
  199. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  200. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  201. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  202. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  203. package/dist/components/stories/Select.stories.cjs.js +1 -1
  204. package/dist/components/stories/Select.stories.es.js +3 -3
  205. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  206. package/dist/components/stories/TabList.stories.es.js +1 -1
  207. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  208. package/dist/components/stories/TextField.stories.es.js +1 -1
  209. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  210. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  211. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  212. package/dist/components/stories/TreeView.stories.es.js +29 -29
  213. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  214. package/dist/components/stories/Typography.stories.es.js +1 -1
  215. package/dist/composeClasses-CJKlIaRn.js +51 -0
  216. package/dist/composeClasses-CWgX5SFD.cjs +1 -0
  217. package/dist/createSvgIcon-BgBODH2F.cjs +1 -0
  218. package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-BlKmtOkV.js} +48 -47
  219. package/dist/{dividerClasses-BtzbOVqV.cjs → dividerClasses-D3gnW6kZ.cjs} +1 -1
  220. package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-Glz8RJdF.js} +1 -1
  221. package/dist/elementTypeAcceptingRef-BwZv9xBI.cjs +1 -0
  222. package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DOeckaXy.js} +1 -1
  223. package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BouzOuB6.js} +1 -1
  224. package/dist/{extendSxProp-BKP1AeGz.cjs → extendSxProp-Cm-DtZe3.cjs} +1 -1
  225. package/dist/generateUtilityClasses-CMlilM6r.cjs +55 -0
  226. package/dist/generateUtilityClasses-DngCqveO.js +2628 -0
  227. package/dist/getReactElementRef-EVJnBPlV.cjs +1 -0
  228. package/dist/{getReactElementRef-CD3_Stk5.js → getReactElementRef-H8kwrWP1.js} +1 -1
  229. package/dist/hooks/lazySvgImport.cjs.js +1 -1
  230. package/dist/hooks/lazySvgImport.es.js +1 -1
  231. package/dist/index-BzsuDIEl.cjs +1 -0
  232. package/dist/{index-CDLJvERp.js → index-CX0sAlmK.js} +2 -2
  233. package/dist/index-CrINMjCH.cjs +1 -0
  234. package/dist/index-DIyAQH20.cjs +5 -0
  235. package/dist/index-DLnSn8GT.cjs +20 -0
  236. package/dist/{index-JOgYmUF8.js → index-DX2Sl0Ig.js} +1 -1
  237. package/dist/index-Sy88PpwE.js +672 -0
  238. package/dist/{index-CoYVLWJY.js → index-l8yqod25.js} +14 -13
  239. package/dist/index.cjs.js +1 -1
  240. package/dist/index.es.js +404 -373
  241. package/dist/{listItemTextClasses-DePeZNtZ.cjs → listItemTextClasses-BJFgw1ah.cjs} +1 -1
  242. package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-BRj19IXv.js} +1 -1
  243. package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-BAbn60Cb.cjs} +1 -1
  244. package/dist/{memoTheme-44McxcVZ.js → memoTheme-nmt7i1dS.js} +1 -1
  245. package/dist/mergeSlotProps-BBciKnr4.js +62 -0
  246. package/dist/mergeSlotProps-Z5-o9vSe.cjs +1 -0
  247. package/dist/refType-B_IEJm4x.cjs +1 -0
  248. package/dist/{refType-DsRJ5_Sj.js → refType-Dp7CJc86.js} +1 -1
  249. package/dist/server-error-CqyYyPLN.cjs +1 -0
  250. package/dist/{server-error-DMyaPFs8.js → server-error-CvgIy7ap.js} +1 -3
  251. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  252. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  253. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  254. package/dist/useForkRef-u29GSuCu.js +27 -0
  255. package/dist/useSlot-BDb1lvxu.js +125 -0
  256. package/dist/useSlot-W0PiuVaZ.cjs +1 -0
  257. package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-B_D8u0j-.js} +2 -2
  258. package/dist/useSlotProps-OhEflPiz.cjs +1 -0
  259. package/dist/useTheme-C59wIJ3-.js +11 -0
  260. package/dist/{useTheme-DpMakc_Y.cjs → useTheme-ClhInrO2.cjs} +1 -1
  261. package/dist/{useTheme-CCi6a5Vl.cjs → useTheme-CqYtLDbs.cjs} +1 -1
  262. package/dist/{useTheme-C2OE_AnH.js → useTheme-D9cVynB-.js} +1 -1
  263. package/dist/useThemeProps-BFQ8ndnj.js +17 -0
  264. package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-DQOn-ezC.cjs} +1 -1
  265. package/dist/useThemeProps-DYpozGhe.cjs +1 -0
  266. package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-ggw56DH-.js} +2 -2
  267. package/dist/{utils-DFLaK7Ad.js → utils-BQenyzDz.js} +1 -1
  268. package/dist/utils-ByXw_ZY1.cjs +1 -0
  269. package/dist/warning-C8W811fV.js +11 -0
  270. package/dist/warning-DMUNDgRg.cjs +2 -0
  271. package/package.json +12 -10
  272. package/dist/Alert-Dg5u5Z7d.cjs +0 -1
  273. package/dist/Autocomplete-3xshJ4m_.cjs +0 -6
  274. package/dist/Backdrop-BrTs3LxC.cjs +0 -1
  275. package/dist/Box-CFuWIdLg.cjs +0 -1
  276. package/dist/Button-C7tsSPXV.cjs +0 -1
  277. package/dist/ButtonBase-CBFRgTBs.cjs +0 -74
  278. package/dist/CardContent-BRUkl8hU.cjs +0 -1
  279. package/dist/Checkbox-C_wSNEHD.cjs +0 -1
  280. package/dist/Chip-DUeBMcO4.cjs +0 -1
  281. package/dist/CircularProgress-DdHpo4Bf.cjs +0 -28
  282. package/dist/CustomTreeItem-9kBuTFO8.cjs +0 -4
  283. package/dist/DatePicker-BYPJypQT.cjs +0 -14
  284. package/dist/DefaultPropsProvider-B6DqRWnX.cjs +0 -1
  285. package/dist/Dialog-DOXpPT7S.cjs +0 -1
  286. package/dist/DialogContent-BoIE95Tg.cjs +0 -1
  287. package/dist/DialogTitle-B_am69Lr.cjs +0 -1
  288. package/dist/Divider-Nyl7rx-c.cjs +0 -1
  289. package/dist/FormLabel-D4O160ND.cjs +0 -2
  290. package/dist/Grow-DKA2Mfhu.cjs +0 -1
  291. package/dist/IconButton-CGfKAsNI.cjs +0 -2
  292. package/dist/InputAdornment-BOcB8UIi.cjs +0 -1
  293. package/dist/InputBase-BIf-xtMJ.cjs +0 -3
  294. package/dist/Link-CS0qbKjo.cjs +0 -1
  295. package/dist/List-T5dKKWkc.cjs +0 -1
  296. package/dist/ListItem-BN7OXyEP.cjs +0 -1
  297. package/dist/ListItemText-6gXRtF3r.cjs +0 -1
  298. package/dist/ListItemText-afV0BrJL.js +0 -928
  299. package/dist/Menu-D6dHPVP_.cjs +0 -7
  300. package/dist/MenuItem-DOVsV_vI.cjs +0 -1
  301. package/dist/Modal-B8xPmNJd.cjs +0 -2
  302. package/dist/Paper-owda8LtM.cjs +0 -2
  303. package/dist/Popper-DMGJYlm7.cjs +0 -4
  304. package/dist/Portal-BKVc0iys.js +0 -81
  305. package/dist/Portal-CgaP8O8B.cjs +0 -1
  306. package/dist/Radio-OUfsD89D.cjs +0 -1
  307. package/dist/RadioGroup-Cr_IFflA.cjs +0 -1
  308. package/dist/Select-CUlunaOr.cjs +0 -3
  309. package/dist/Stack-D5_1ZBcn.cjs +0 -1
  310. package/dist/Switch-DpdnFebj.cjs +0 -1
  311. package/dist/SwitchBase-BsP35Aas.js +0 -262
  312. package/dist/SwitchBase-DMGf52a3.cjs +0 -1
  313. package/dist/Tab-DZvAf79O.cjs +0 -4
  314. package/dist/TextField-C0KpyS6X.cjs +0 -1
  315. package/dist/ToggleButtonGroup-UNGSwlQe.cjs +0 -137
  316. package/dist/Tooltip-BljbhP1z.cjs +0 -4
  317. package/dist/Typography-yvyJLNFu.cjs +0 -1
  318. package/dist/client-error-BUtdld5f.cjs +0 -1
  319. package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
  320. package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
  321. package/dist/generateUtilityClasses-BpRGbQmY.js +0 -3299
  322. package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
  323. package/dist/getReactElementRef-yvpNgSpm.cjs +0 -1
  324. package/dist/index-Bt7ukCXi.cjs +0 -5
  325. package/dist/index-DCpyECL4.cjs +0 -1
  326. package/dist/index-baZm35zL.cjs +0 -1
  327. package/dist/refType-DDdajp2p.cjs +0 -1
  328. package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
  329. package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
  330. package/dist/server-error-CeAtUo4S.cjs +0 -1
  331. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  332. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  333. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  334. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  335. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  336. package/dist/useForkRef-C_4o__cU.js +0 -15
  337. package/dist/useSlot-CSTfsYPJ.cjs +0 -1
  338. package/dist/useSlot-CYOxsM2I.js +0 -48
  339. package/dist/useSlotProps-DTgWZk99.cjs +0 -1
  340. package/dist/useTheme-BDL2rp7a.js +0 -11
  341. package/dist/useThemeProps-BnN3o4c1.cjs +0 -1
  342. package/dist/useThemeProps-DjkGUV8r.js +0 -17
  343. package/dist/utils-Cn6wZNus.cjs +0 -1
@@ -1,44 +1,45 @@
1
1
  import * as s from "react";
2
- import { P as o, G as re, H as le, I as R, S as so } from "./generateUtilityClasses-BpRGbQmY.js";
3
- import { jsx as T, jsxs as K } from "react/jsx-runtime";
4
- import { u as $e } from "./index-JOgYmUF8.js";
5
- import { u as ao } from "./useTheme-BDL2rp7a.js";
6
- import { u as he, s as $, c as se } from "./DefaultPropsProvider-Ik4eAJdt.js";
7
- import { m as me } from "./memoTheme-44McxcVZ.js";
8
- import { u as io } from "./useEnhancedEffect-CJGo-L3B.js";
9
- import { d as We } from "./debounce-46wSf_lW.js";
10
- import { o as De } from "./ownerWindow-niciwP7I.js";
11
- import { c as je } from "./createSvgIcon-CsMK8tGM.js";
12
- import { u as ne } from "./useSlotProps-CDJdiQpV.js";
13
- import { B as ze } from "./ButtonBase-Bncgzjtp.js";
14
- import { u as fe } from "./useEventCallback-BAQJJ3ye.js";
15
- import { o as co } from "./ownerDocument-CUrv0DIK.js";
16
- import { r as uo } from "./refType-DsRJ5_Sj.js";
17
- import { u as po } from "./useThemeProps-DjkGUV8r.js";
18
- import { c as Le } from "./capitalize-DSG2FA7x.js";
19
- import { u as fo } from "./unsupportedProp-BuVD30Gh.js";
20
- const ve = /* @__PURE__ */ s.createContext(null);
21
- process.env.NODE_ENV !== "production" && (ve.displayName = "TabContext");
22
- function bo() {
23
- const [t, e] = s.useState(null);
2
+ import { P as e } from "./index-Sy88PpwE.js";
3
+ import { jsx as T, jsxs as G } from "react/jsx-runtime";
4
+ import { F as ae, G as ie, H as j, X as wo } from "./generateUtilityClasses-DngCqveO.js";
5
+ import { u as ze } from "./index-DX2Sl0Ig.js";
6
+ import { u as xo } from "./useTheme-C59wIJ3-.js";
7
+ import { u as Se, s as D, c as ce } from "./DefaultPropsProvider-hFv1J_xl.js";
8
+ import { m as ve } from "./memoTheme-nmt7i1dS.js";
9
+ import { a as Bo, u as me } from "./useEventCallback-Yoj9nCug.js";
10
+ import { d as Fe } from "./debounce-46wSf_lW.js";
11
+ import { o as Ae } from "./ownerWindow-niciwP7I.js";
12
+ import { u as H } from "./useSlot-BDb1lvxu.js";
13
+ import { u as se } from "./useSlotProps-B_D8u0j-.js";
14
+ import { c as Ve } from "./createSvgIcon-BlKmtOkV.js";
15
+ import { B as He } from "./ButtonBase-Chb99sDQ.js";
16
+ import { o as Co } from "./ownerDocument-CUrv0DIK.js";
17
+ import { r as Eo } from "./refType-Dp7CJc86.js";
18
+ import { u as Io } from "./useThemeProps-BFQ8ndnj.js";
19
+ import { c as Ue } from "./capitalize-BHFotl9B.js";
20
+ import { u as Po } from "./unsupportedProp-BuVD30Gh.js";
21
+ const Te = /* @__PURE__ */ s.createContext(null);
22
+ process.env.NODE_ENV !== "production" && (Te.displayName = "TabContext");
23
+ function Mo() {
24
+ const [t, o] = s.useState(null);
24
25
  return s.useEffect(() => {
25
- e(`mui-p-${Math.round(Math.random() * 1e5)}`);
26
+ o(`mui-p-${Math.round(Math.random() * 1e5)}`);
26
27
  }, []), t;
27
28
  }
28
- function ho(t) {
29
+ function Oo(t) {
29
30
  const {
30
- children: e,
31
- value: n
32
- } = t, a = bo(), i = s.useMemo(() => ({
31
+ children: o,
32
+ value: r
33
+ } = t, a = Mo(), i = s.useMemo(() => ({
33
34
  idPrefix: a,
34
- value: n
35
- }), [a, n]);
36
- return /* @__PURE__ */ T(ve.Provider, {
35
+ value: r
36
+ }), [a, r]);
37
+ return /* @__PURE__ */ T(Te.Provider, {
37
38
  value: i,
38
- children: e
39
+ children: o
39
40
  });
40
41
  }
41
- process.env.NODE_ENV !== "production" && (ho.propTypes = {
42
+ process.env.NODE_ENV !== "production" && (Oo.propTypes = {
42
43
  // ┌────────────────────────────── Warning ──────────────────────────────┐
43
44
  // │ These PropTypes are generated from the TypeScript type definitions. │
44
45
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -46,50 +47,50 @@ process.env.NODE_ENV !== "production" && (ho.propTypes = {
46
47
  /**
47
48
  * The content of the component.
48
49
  */
49
- children: o.node,
50
+ children: e.node,
50
51
  /**
51
52
  * The value of the currently selected `Tab`.
52
53
  */
53
- value: o.oneOfType([o.number, o.string]).isRequired
54
+ value: e.oneOfType([e.number, e.string]).isRequired
54
55
  });
55
- function Ae() {
56
- return s.useContext(ve);
56
+ function Xe() {
57
+ return s.useContext(Te);
57
58
  }
58
- function Fe(t, e) {
59
+ function Ke(t, o) {
59
60
  const {
60
- idPrefix: n
61
+ idPrefix: r
61
62
  } = t;
62
- return n === null ? null : `${t.idPrefix}-P-${e}`;
63
+ return r === null ? null : `${t.idPrefix}-P-${o}`;
63
64
  }
64
- function Ve(t, e) {
65
+ function _e(t, o) {
65
66
  const {
66
- idPrefix: n
67
+ idPrefix: r
67
68
  } = t;
68
- return n === null ? null : `${t.idPrefix}-T-${e}`;
69
+ return r === null ? null : `${t.idPrefix}-T-${o}`;
69
70
  }
70
- function mo(t) {
71
+ function Ro(t) {
71
72
  return (1 + Math.sin(Math.PI * t - Math.PI / 2)) / 2;
72
73
  }
73
- function vo(t, e, n, a = {}, i = () => {
74
+ function No(t, o, r, a = {}, i = () => {
74
75
  }) {
75
76
  const {
76
- ease: d = mo,
77
+ ease: d = Ro,
77
78
  duration: p = 300
78
79
  // standard
79
80
  } = a;
80
81
  let f = null;
81
- const h = e[t];
82
+ const h = o[t];
82
83
  let S = !1;
83
- const y = () => {
84
+ const v = () => {
84
85
  S = !0;
85
- }, m = (v) => {
86
+ }, m = (y) => {
86
87
  if (S) {
87
88
  i(new Error("Animation cancelled"));
88
89
  return;
89
90
  }
90
- f === null && (f = v);
91
- const g = Math.min(1, (v - f) / p);
92
- if (e[t] = d(g) * (n - h) + h, g >= 1) {
91
+ f === null && (f = y);
92
+ const g = Math.min(1, (y - f) / p);
93
+ if (o[t] = d(g) * (r - h) + h, g >= 1) {
93
94
  requestAnimationFrame(() => {
94
95
  i(null);
95
96
  });
@@ -97,72 +98,72 @@ function vo(t, e, n, a = {}, i = () => {
97
98
  }
98
99
  requestAnimationFrame(m);
99
100
  };
100
- return h === n ? (i(new Error("Element already at target position")), y) : (requestAnimationFrame(m), y);
101
+ return h === r ? (i(new Error("Element already at target position")), v) : (requestAnimationFrame(m), v);
101
102
  }
102
- const So = {
103
+ const jo = {
103
104
  width: 99,
104
105
  height: 99,
105
106
  position: "absolute",
106
107
  top: -9999,
107
108
  overflow: "scroll"
108
109
  };
109
- function He(t) {
110
+ function Ye(t) {
110
111
  const {
111
- onChange: e,
112
- ...n
112
+ onChange: o,
113
+ ...r
113
114
  } = t, a = s.useRef(), i = s.useRef(null), d = () => {
114
115
  a.current = i.current.offsetHeight - i.current.clientHeight;
115
116
  };
116
- return io(() => {
117
- const p = We(() => {
117
+ return Bo(() => {
118
+ const p = Fe(() => {
118
119
  const h = a.current;
119
- d(), h !== a.current && e(a.current);
120
- }), f = De(i.current);
120
+ d(), h !== a.current && o(a.current);
121
+ }), f = Ae(i.current);
121
122
  return f.addEventListener("resize", p), () => {
122
123
  p.clear(), f.removeEventListener("resize", p);
123
124
  };
124
- }, [e]), s.useEffect(() => {
125
- d(), e(a.current);
126
- }, [e]), /* @__PURE__ */ T("div", {
127
- style: So,
128
- ...n,
125
+ }, [o]), s.useEffect(() => {
126
+ d(), o(a.current);
127
+ }, [o]), /* @__PURE__ */ T("div", {
128
+ style: jo,
129
+ ...r,
129
130
  ref: i
130
131
  });
131
132
  }
132
- process.env.NODE_ENV !== "production" && (He.propTypes = {
133
- onChange: o.func.isRequired
133
+ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
134
+ onChange: e.func.isRequired
134
135
  });
135
- const yo = je(/* @__PURE__ */ T("path", {
136
+ const ko = Ve(/* @__PURE__ */ T("path", {
136
137
  d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
137
- }), "KeyboardArrowLeft"), To = je(/* @__PURE__ */ T("path", {
138
+ }), "KeyboardArrowLeft"), $o = Ve(/* @__PURE__ */ T("path", {
138
139
  d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
139
140
  }), "KeyboardArrowRight");
140
- function go(t) {
141
- return le("MuiTabScrollButton", t);
141
+ function Do(t) {
142
+ return ie("MuiTabScrollButton", t);
142
143
  }
143
- const wo = re("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), xo = (t) => {
144
+ const Wo = ae("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), Lo = (t) => {
144
145
  const {
145
- classes: e,
146
- orientation: n,
146
+ classes: o,
147
+ orientation: r,
147
148
  disabled: a
148
149
  } = t;
149
- return se({
150
- root: ["root", n, a && "disabled"]
151
- }, go, e);
152
- }, Co = $(ze, {
150
+ return ce({
151
+ root: ["root", r, a && "disabled"]
152
+ }, Do, o);
153
+ }, zo = D(He, {
153
154
  name: "MuiTabScrollButton",
154
155
  slot: "Root",
155
- overridesResolver: (t, e) => {
156
+ overridesResolver: (t, o) => {
156
157
  const {
157
- ownerState: n
158
+ ownerState: r
158
159
  } = t;
159
- return [e.root, n.orientation && e[n.orientation]];
160
+ return [o.root, r.orientation && o[r.orientation]];
160
161
  }
161
162
  })({
162
163
  width: 40,
163
164
  flexShrink: 0,
164
165
  opacity: 0.8,
165
- [`&.${wo.disabled}`]: {
166
+ [`&.${Wo.disabled}`]: {
166
167
  opacity: 0
167
168
  },
168
169
  variants: [{
@@ -177,9 +178,9 @@ const wo = re("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
177
178
  }
178
179
  }
179
180
  }]
180
- }), Ue = /* @__PURE__ */ s.forwardRef(function(e, n) {
181
- const a = he({
182
- props: e,
181
+ }), qe = /* @__PURE__ */ s.forwardRef(function(o, r) {
182
+ const a = Se({
183
+ props: o,
183
184
  name: "MuiTabScrollButton"
184
185
  }), {
185
186
  className: i,
@@ -188,47 +189,47 @@ const wo = re("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
188
189
  direction: f,
189
190
  orientation: h,
190
191
  disabled: S,
191
- ...y
192
- } = a, m = $e(), v = {
192
+ ...v
193
+ } = a, m = ze(), y = {
193
194
  isRtl: m,
194
195
  ...a
195
- }, g = xo(v), W = d.StartScrollButtonIcon ?? yo, E = d.EndScrollButtonIcon ?? To, w = ne({
196
+ }, g = Lo(y), W = d.StartScrollButtonIcon ?? ko, E = d.EndScrollButtonIcon ?? $o, x = se({
196
197
  elementType: W,
197
198
  externalSlotProps: p.startScrollButtonIcon,
198
199
  additionalProps: {
199
200
  fontSize: "small"
200
201
  },
201
- ownerState: v
202
- }), F = ne({
202
+ ownerState: y
203
+ }), J = se({
203
204
  elementType: E,
204
205
  externalSlotProps: p.endScrollButtonIcon,
205
206
  additionalProps: {
206
207
  fontSize: "small"
207
208
  },
208
- ownerState: v
209
+ ownerState: y
209
210
  });
210
- return /* @__PURE__ */ T(Co, {
211
+ return /* @__PURE__ */ T(zo, {
211
212
  component: "div",
212
- className: R(g.root, i),
213
- ref: n,
213
+ className: j(g.root, i),
214
+ ref: r,
214
215
  role: null,
215
- ownerState: v,
216
+ ownerState: y,
216
217
  tabIndex: null,
217
- ...y,
218
+ ...v,
218
219
  style: {
219
- ...y.style,
220
+ ...v.style,
220
221
  ...h === "vertical" && {
221
222
  "--TabScrollButton-svgRotate": `rotate(${m ? -90 : 90}deg)`
222
223
  }
223
224
  },
224
225
  children: f === "left" ? /* @__PURE__ */ T(W, {
225
- ...w
226
+ ...x
226
227
  }) : /* @__PURE__ */ T(E, {
227
- ...F
228
+ ...J
228
229
  })
229
230
  });
230
231
  });
231
- process.env.NODE_ENV !== "production" && (Ue.propTypes = {
232
+ process.env.NODE_ENV !== "production" && (qe.propTypes = {
232
233
  // ┌────────────────────────────── Warning ──────────────────────────────┐
233
234
  // │ These PropTypes are generated from the TypeScript type definitions. │
234
235
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -236,59 +237,59 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
236
237
  /**
237
238
  * The content of the component.
238
239
  */
239
- children: o.node,
240
+ children: e.node,
240
241
  /**
241
242
  * Override or extend the styles applied to the component.
242
243
  */
243
- classes: o.object,
244
+ classes: e.object,
244
245
  /**
245
246
  * @ignore
246
247
  */
247
- className: o.string,
248
+ className: e.string,
248
249
  /**
249
250
  * The direction the button should indicate.
250
251
  */
251
- direction: o.oneOf(["left", "right"]).isRequired,
252
+ direction: e.oneOf(["left", "right"]).isRequired,
252
253
  /**
253
254
  * If `true`, the component is disabled.
254
255
  * @default false
255
256
  */
256
- disabled: o.bool,
257
+ disabled: e.bool,
257
258
  /**
258
259
  * The component orientation (layout flow direction).
259
260
  */
260
- orientation: o.oneOf(["horizontal", "vertical"]).isRequired,
261
+ orientation: e.oneOf(["horizontal", "vertical"]).isRequired,
261
262
  /**
262
263
  * The extra props for the slot components.
263
264
  * You can override the existing props or add new ones.
264
265
  * @default {}
265
266
  */
266
- slotProps: o.shape({
267
- endScrollButtonIcon: o.oneOfType([o.func, o.object]),
268
- startScrollButtonIcon: o.oneOfType([o.func, o.object])
267
+ slotProps: e.shape({
268
+ endScrollButtonIcon: e.oneOfType([e.func, e.object]),
269
+ startScrollButtonIcon: e.oneOfType([e.func, e.object])
269
270
  }),
270
271
  /**
271
272
  * The components used for each slot inside.
272
273
  * @default {}
273
274
  */
274
- slots: o.shape({
275
- EndScrollButtonIcon: o.elementType,
276
- StartScrollButtonIcon: o.elementType
275
+ slots: e.shape({
276
+ EndScrollButtonIcon: e.elementType,
277
+ StartScrollButtonIcon: e.elementType
277
278
  }),
278
279
  /**
279
280
  * @ignore
280
281
  */
281
- style: o.object,
282
+ style: e.object,
282
283
  /**
283
284
  * The system prop that allows defining system overrides as well as additional CSS styles.
284
285
  */
285
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
286
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
286
287
  });
287
- function Bo(t) {
288
- return le("MuiTabs", t);
288
+ function Fo(t) {
289
+ return ie("MuiTabs", t);
289
290
  }
290
- const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), Pe = (t, e) => t === e ? t.firstChild : e && e.nextElementSibling ? e.nextElementSibling : t.firstChild, Re = (t, e) => t === e ? t.lastChild : e && e.previousElementSibling ? e.previousElementSibling : t.lastChild, te = (t, e, n) => {
291
- let a = !1, i = n(t, e);
291
+ const ye = ae("MuiTabs", ["root", "vertical", "list", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), $e = (t, o) => t === o ? t.firstChild : o && o.nextElementSibling ? o.nextElementSibling : t.firstChild, De = (t, o) => t === o ? t.lastChild : o && o.previousElementSibling ? o.previousElementSibling : t.lastChild, le = (t, o, r) => {
292
+ let a = !1, i = r(t, o);
292
293
  for (; i; ) {
293
294
  if (i === t.firstChild) {
294
295
  if (a)
@@ -297,16 +298,16 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
297
298
  }
298
299
  const d = i.disabled || i.getAttribute("aria-disabled") === "true";
299
300
  if (!i.hasAttribute("tabindex") || d)
300
- i = n(t, i);
301
+ i = r(t, i);
301
302
  else {
302
303
  i.focus();
303
304
  return;
304
305
  }
305
306
  }
306
- }, Eo = (t) => {
307
+ }, Ao = (t) => {
307
308
  const {
308
- vertical: e,
309
- fixed: n,
309
+ vertical: o,
310
+ fixed: r,
310
311
  hideScrollbar: a,
311
312
  scrollableX: i,
312
313
  scrollableY: d,
@@ -314,29 +315,29 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
314
315
  scrollButtonsHideMobile: f,
315
316
  classes: h
316
317
  } = t;
317
- return se({
318
- root: ["root", e && "vertical"],
319
- scroller: ["scroller", n && "fixed", a && "hideScrollbar", i && "scrollableX", d && "scrollableY"],
320
- flexContainer: ["flexContainer", e && "flexContainerVertical", p && "centered"],
318
+ return ce({
319
+ root: ["root", o && "vertical"],
320
+ scroller: ["scroller", r && "fixed", a && "hideScrollbar", i && "scrollableX", d && "scrollableY"],
321
+ list: ["list", "flexContainer", o && "flexContainerVertical", o && "vertical", p && "centered"],
321
322
  indicator: ["indicator"],
322
323
  scrollButtons: ["scrollButtons", f && "scrollButtonsHideMobile"],
323
324
  scrollableX: [i && "scrollableX"],
324
325
  hideScrollbar: [a && "hideScrollbar"]
325
- }, Bo, h);
326
- }, Io = $("div", {
326
+ }, Fo, h);
327
+ }, Vo = D("div", {
327
328
  name: "MuiTabs",
328
329
  slot: "Root",
329
- overridesResolver: (t, e) => {
330
+ overridesResolver: (t, o) => {
330
331
  const {
331
- ownerState: n
332
+ ownerState: r
332
333
  } = t;
333
334
  return [{
334
- [`& .${be.scrollButtons}`]: e.scrollButtons
335
+ [`& .${ye.scrollButtons}`]: o.scrollButtons
335
336
  }, {
336
- [`& .${be.scrollButtons}`]: n.scrollButtonsHideMobile && e.scrollButtonsHideMobile
337
- }, e.root, n.vertical && e.vertical];
337
+ [`& .${ye.scrollButtons}`]: r.scrollButtonsHideMobile && o.scrollButtonsHideMobile
338
+ }, o.root, r.vertical && o.vertical];
338
339
  }
339
- })(me(({
340
+ })(ve(({
340
341
  theme: t
341
342
  }) => ({
342
343
  overflow: "hidden",
@@ -346,31 +347,31 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
346
347
  display: "flex",
347
348
  variants: [{
348
349
  props: ({
349
- ownerState: e
350
- }) => e.vertical,
350
+ ownerState: o
351
+ }) => o.vertical,
351
352
  style: {
352
353
  flexDirection: "column"
353
354
  }
354
355
  }, {
355
356
  props: ({
356
- ownerState: e
357
- }) => e.scrollButtonsHideMobile,
357
+ ownerState: o
358
+ }) => o.scrollButtonsHideMobile,
358
359
  style: {
359
- [`& .${be.scrollButtons}`]: {
360
+ [`& .${ye.scrollButtons}`]: {
360
361
  [t.breakpoints.down("sm")]: {
361
362
  display: "none"
362
363
  }
363
364
  }
364
365
  }
365
366
  }]
366
- }))), Mo = $("div", {
367
+ }))), Ho = D("div", {
367
368
  name: "MuiTabs",
368
369
  slot: "Scroller",
369
- overridesResolver: (t, e) => {
370
+ overridesResolver: (t, o) => {
370
371
  const {
371
- ownerState: n
372
+ ownerState: r
372
373
  } = t;
373
- return [e.scroller, n.fixed && e.fixed, n.hideScrollbar && e.hideScrollbar, n.scrollableX && e.scrollableX, n.scrollableY && e.scrollableY];
374
+ return [o.scroller, r.fixed && o.fixed, r.hideScrollbar && o.hideScrollbar, r.scrollableX && o.scrollableX, r.scrollableY && o.scrollableY];
374
375
  }
375
376
  })({
376
377
  position: "relative",
@@ -415,14 +416,14 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
415
416
  overflowX: "hidden"
416
417
  }
417
418
  }]
418
- }), No = $("div", {
419
+ }), Uo = D("div", {
419
420
  name: "MuiTabs",
420
- slot: "FlexContainer",
421
- overridesResolver: (t, e) => {
421
+ slot: "List",
422
+ overridesResolver: (t, o) => {
422
423
  const {
423
- ownerState: n
424
+ ownerState: r
424
425
  } = t;
425
- return [e.flexContainer, n.vertical && e.flexContainerVertical, n.centered && e.centered];
426
+ return [o.list, o.flexContainer, r.vertical && o.flexContainerVertical, r.centered && o.centered];
426
427
  }
427
428
  })({
428
429
  display: "flex",
@@ -441,11 +442,11 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
441
442
  justifyContent: "center"
442
443
  }
443
444
  }]
444
- }), Po = $("span", {
445
+ }), Xo = D("span", {
445
446
  name: "MuiTabs",
446
447
  slot: "Indicator",
447
- overridesResolver: (t, e) => e.indicator
448
- })(me(({
448
+ overridesResolver: (t, o) => o.indicator
449
+ })(ve(({
449
450
  theme: t
450
451
  }) => ({
451
452
  position: "absolute",
@@ -469,15 +470,15 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
469
470
  }
470
471
  }, {
471
472
  props: ({
472
- ownerState: e
473
- }) => e.vertical,
473
+ ownerState: o
474
+ }) => o.vertical,
474
475
  style: {
475
476
  height: "100%",
476
477
  width: 2,
477
478
  right: 0
478
479
  }
479
480
  }]
480
- }))), Ro = $(He)({
481
+ }))), Ko = D(Ye)({
481
482
  overflowX: "auto",
482
483
  overflowY: "hidden",
483
484
  // Hide dimensionless scrollbar on macOS
@@ -487,76 +488,86 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
487
488
  display: "none"
488
489
  // Safari + Chrome
489
490
  }
490
- }), Oe = {};
491
- let ke = !1;
492
- const Xe = /* @__PURE__ */ s.forwardRef(function(e, n) {
493
- const a = he({
494
- props: e,
491
+ }), We = {};
492
+ let Le = !1;
493
+ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
494
+ const a = Se({
495
+ props: o,
495
496
  name: "MuiTabs"
496
- }), i = ao(), d = $e(), {
497
+ }), i = xo(), d = ze(), {
497
498
  "aria-label": p,
498
499
  "aria-labelledby": f,
499
500
  action: h,
500
501
  centered: S = !1,
501
- children: y,
502
+ children: v,
502
503
  className: m,
503
- component: v = "div",
504
+ component: y = "div",
504
505
  allowScrollButtonsMobile: g = !1,
505
506
  indicatorColor: W = "primary",
506
507
  onChange: E,
507
- orientation: w = "horizontal",
508
- ScrollButtonComponent: F = Ue,
509
- scrollButtons: M = "auto",
510
- selectionFollowsFocus: ae,
511
- slots: V = {},
512
- slotProps: U = {},
513
- TabIndicatorProps: H = {},
514
- TabScrollButtonProps: D = {},
515
- textColor: G = "primary",
516
- value: O,
517
- variant: N = "standard",
518
- visibleScrollbar: ie = !1,
519
- ..._e
520
- } = a, C = N === "scrollable", B = w === "vertical", X = B ? "scrollTop" : "scrollLeft", J = B ? "top" : "left", Q = B ? "bottom" : "right", ce = B ? "clientHeight" : "clientWidth", _ = B ? "height" : "width", j = {
508
+ orientation: x = "horizontal",
509
+ ScrollButtonComponent: J,
510
+ // TODO: remove in v7 (deprecated in v6)
511
+ scrollButtons: P = "auto",
512
+ selectionFollowsFocus: de,
513
+ slots: M = {},
514
+ slotProps: A = {},
515
+ TabIndicatorProps: U = {},
516
+ // TODO: remove in v7 (deprecated in v6)
517
+ TabScrollButtonProps: X = {},
518
+ // TODO: remove in v7 (deprecated in v6)
519
+ textColor: Q = "primary",
520
+ value: k,
521
+ variant: O = "standard",
522
+ visibleScrollbar: ue = !1,
523
+ ...Je
524
+ } = a, B = O === "scrollable", C = x === "vertical", K = C ? "scrollTop" : "scrollLeft", Z = C ? "top" : "left", ee = C ? "bottom" : "right", pe = C ? "clientHeight" : "clientWidth", _ = C ? "height" : "width", R = {
521
525
  ...a,
522
- component: v,
526
+ component: y,
523
527
  allowScrollButtonsMobile: g,
524
528
  indicatorColor: W,
525
- orientation: w,
526
- vertical: B,
527
- scrollButtons: M,
528
- textColor: G,
529
- variant: N,
530
- visibleScrollbar: ie,
531
- fixed: !C,
532
- hideScrollbar: C && !ie,
533
- scrollableX: C && !B,
534
- scrollableY: C && B,
535
- centered: S && !C,
529
+ orientation: x,
530
+ vertical: C,
531
+ scrollButtons: P,
532
+ textColor: Q,
533
+ variant: O,
534
+ visibleScrollbar: ue,
535
+ fixed: !B,
536
+ hideScrollbar: B && !ue,
537
+ scrollableX: B && !C,
538
+ scrollableY: B && C,
539
+ centered: S && !B,
536
540
  scrollButtonsHideMobile: !g
537
- }, k = Eo(j), Ye = ne({
538
- elementType: V.StartScrollButtonIcon,
539
- externalSlotProps: U.startScrollButtonIcon,
540
- ownerState: j
541
- }), qe = ne({
542
- elementType: V.EndScrollButtonIcon,
543
- externalSlotProps: U.endScrollButtonIcon,
544
- ownerState: j
541
+ }, $ = Ao(R), Qe = se({
542
+ elementType: M.StartScrollButtonIcon,
543
+ externalSlotProps: A.startScrollButtonIcon,
544
+ ownerState: R
545
+ }), Ze = se({
546
+ elementType: M.EndScrollButtonIcon,
547
+ externalSlotProps: A.endScrollButtonIcon,
548
+ ownerState: R
545
549
  });
546
- process.env.NODE_ENV !== "production" && S && C && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
547
- const [Se, Ke] = s.useState(!1), [z, ye] = s.useState(Oe), [Te, Ge] = s.useState(!1), [ge, Je] = s.useState(!1), [we, Qe] = s.useState(!1), [xe, Ze] = s.useState({
550
+ process.env.NODE_ENV !== "production" && S && B && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
551
+ const [ge, eo] = s.useState(!1), [L, we] = s.useState(We), [xe, oo] = s.useState(!1), [Be, to] = s.useState(!1), [Ce, no] = s.useState(!1), [Ee, ro] = s.useState({
548
552
  overflow: "hidden",
549
553
  scrollbarWidth: 0
550
- }), Z = /* @__PURE__ */ new Map(), P = s.useRef(null), L = s.useRef(null), Ce = () => {
551
- const r = P.current;
554
+ }), oe = /* @__PURE__ */ new Map(), N = s.useRef(null), z = s.useRef(null), V = {
555
+ slots: M,
556
+ slotProps: {
557
+ indicator: U,
558
+ scrollButton: X,
559
+ ...A
560
+ }
561
+ }, Ie = () => {
562
+ const n = N.current;
552
563
  let l;
553
- if (r) {
554
- const u = r.getBoundingClientRect();
564
+ if (n) {
565
+ const u = n.getBoundingClientRect();
555
566
  l = {
556
- clientWidth: r.clientWidth,
557
- scrollLeft: r.scrollLeft,
558
- scrollTop: r.scrollTop,
559
- scrollWidth: r.scrollWidth,
567
+ clientWidth: n.clientWidth,
568
+ scrollLeft: n.scrollLeft,
569
+ scrollTop: n.scrollTop,
570
+ scrollWidth: n.scrollWidth,
560
571
  top: u.top,
561
572
  bottom: u.bottom,
562
573
  left: u.left,
@@ -564,253 +575,288 @@ const Xe = /* @__PURE__ */ s.forwardRef(function(e, n) {
564
575
  };
565
576
  }
566
577
  let c;
567
- if (r && O !== !1) {
568
- const u = L.current.children;
578
+ if (n && k !== !1) {
579
+ const u = z.current.children;
569
580
  if (u.length > 0) {
570
- const b = u[Z.get(O)];
571
- process.env.NODE_ENV !== "production" && (b || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${O}".`, Z.keys ? `You can provide one of the following values: ${Array.from(Z.keys()).join(", ")}.` : null].join(`
572
- `))), c = b ? b.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !ke && c && c.width === 0 && c.height === 0 && // if the whole Tabs component is hidden, don't warn
573
- l.clientWidth !== 0 && (l = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${O}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
574
- `)), ke = !0);
581
+ const b = u[oe.get(k)];
582
+ process.env.NODE_ENV !== "production" && (b || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${k}".`, oe.keys ? `You can provide one of the following values: ${Array.from(oe.keys()).join(", ")}.` : null].join(`
583
+ `))), c = b ? b.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !Le && c && c.width === 0 && c.height === 0 && // if the whole Tabs component is hidden, don't warn
584
+ l.clientWidth !== 0 && (l = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${k}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
585
+ `)), Le = !0);
575
586
  }
576
587
  }
577
588
  return {
578
589
  tabsMeta: l,
579
590
  tabMeta: c
580
591
  };
581
- }, Y = fe(() => {
592
+ }, Y = me(() => {
582
593
  const {
583
- tabsMeta: r,
594
+ tabsMeta: n,
584
595
  tabMeta: l
585
- } = Ce();
596
+ } = Ie();
586
597
  let c = 0, u;
587
- B ? (u = "top", l && r && (c = l.top - r.top + r.scrollTop)) : (u = d ? "right" : "left", l && r && (c = (d ? -1 : 1) * (l[u] - r[u] + r.scrollLeft)));
598
+ C ? (u = "top", l && n && (c = l.top - n.top + n.scrollTop)) : (u = d ? "right" : "left", l && n && (c = (d ? -1 : 1) * (l[u] - n[u] + n.scrollLeft)));
588
599
  const b = {
589
600
  [u]: c,
590
601
  // May be wrong until the font is loaded.
591
602
  [_]: l ? l[_] : 0
592
603
  };
593
- if (typeof z[u] != "number" || typeof z[_] != "number")
594
- ye(b);
604
+ if (typeof L[u] != "number" || typeof L[_] != "number")
605
+ we(b);
595
606
  else {
596
- const I = Math.abs(z[u] - b[u]), A = Math.abs(z[_] - b[_]);
597
- (I >= 1 || A >= 1) && ye(b);
607
+ const I = Math.abs(L[u] - b[u]), F = Math.abs(L[_] - b[_]);
608
+ (I >= 1 || F >= 1) && we(b);
598
609
  }
599
- }), de = (r, {
610
+ }), fe = (n, {
600
611
  animation: l = !0
601
612
  } = {}) => {
602
- l ? vo(X, P.current, r, {
613
+ l ? No(K, N.current, n, {
603
614
  duration: i.transitions.duration.standard
604
- }) : P.current[X] = r;
605
- }, Be = (r) => {
606
- let l = P.current[X];
607
- B ? l += r : l += r * (d ? -1 : 1), de(l);
608
- }, Ee = () => {
609
- const r = P.current[ce];
615
+ }) : N.current[K] = n;
616
+ }, Pe = (n) => {
617
+ let l = N.current[K];
618
+ C ? l += n : l += n * (d ? -1 : 1), fe(l);
619
+ }, Me = () => {
620
+ const n = N.current[pe];
610
621
  let l = 0;
611
- const c = Array.from(L.current.children);
622
+ const c = Array.from(z.current.children);
612
623
  for (let u = 0; u < c.length; u += 1) {
613
624
  const b = c[u];
614
- if (l + b[ce] > r) {
615
- u === 0 && (l = r);
625
+ if (l + b[pe] > n) {
626
+ u === 0 && (l = n);
616
627
  break;
617
628
  }
618
- l += b[ce];
629
+ l += b[pe];
619
630
  }
620
631
  return l;
621
- }, eo = () => {
622
- Be(-1 * Ee());
623
- }, oo = () => {
624
- Be(Ee());
625
- }, to = s.useCallback((r) => {
626
- Ze({
632
+ }, lo = () => {
633
+ Pe(-1 * Me());
634
+ }, so = () => {
635
+ Pe(Me());
636
+ }, [ao, {
637
+ onChange: te,
638
+ ...io
639
+ }] = H("scrollbar", {
640
+ className: j($.scrollableX, $.hideScrollbar),
641
+ elementType: Ko,
642
+ shouldForwardComponentProp: !0,
643
+ externalForwardedProps: V,
644
+ ownerState: R
645
+ }), co = s.useCallback((n) => {
646
+ te == null || te(n), ro({
627
647
  overflow: null,
628
- scrollbarWidth: r
648
+ scrollbarWidth: n
629
649
  });
630
- }, []), no = () => {
631
- const r = {};
632
- r.scrollbarSizeListener = C ? /* @__PURE__ */ T(Ro, {
633
- onChange: to,
634
- className: R(k.scrollableX, k.hideScrollbar)
635
- }) : null;
636
- const c = C && (M === "auto" && (Te || ge) || M === !0);
637
- return r.scrollButtonStart = c ? /* @__PURE__ */ T(F, {
650
+ }, [te]), [Oe, Re] = H("scrollButtons", {
651
+ className: j($.scrollButtons, X.className),
652
+ elementType: qe,
653
+ externalForwardedProps: V,
654
+ ownerState: R,
655
+ additionalProps: {
656
+ orientation: x,
638
657
  slots: {
639
- StartScrollButtonIcon: V.StartScrollButtonIcon
658
+ StartScrollButtonIcon: M.startScrollButtonIcon || M.StartScrollButtonIcon,
659
+ EndScrollButtonIcon: M.endScrollButtonIcon || M.EndScrollButtonIcon
640
660
  },
641
661
  slotProps: {
642
- startScrollButtonIcon: Ye
643
- },
644
- orientation: w,
662
+ startScrollButtonIcon: Qe,
663
+ endScrollButtonIcon: Ze
664
+ }
665
+ }
666
+ }), uo = () => {
667
+ const n = {};
668
+ n.scrollbarSizeListener = B ? /* @__PURE__ */ T(ao, {
669
+ ...io,
670
+ onChange: co
671
+ }) : null;
672
+ const c = B && (P === "auto" && (xe || Be) || P === !0);
673
+ return n.scrollButtonStart = c ? /* @__PURE__ */ T(Oe, {
645
674
  direction: d ? "right" : "left",
646
- onClick: eo,
647
- disabled: !Te,
648
- ...D,
649
- className: R(k.scrollButtons, D.className)
650
- }) : null, r.scrollButtonEnd = c ? /* @__PURE__ */ T(F, {
651
- slots: {
652
- EndScrollButtonIcon: V.EndScrollButtonIcon
653
- },
654
- slotProps: {
655
- endScrollButtonIcon: qe
656
- },
657
- orientation: w,
675
+ onClick: lo,
676
+ disabled: !xe,
677
+ ...Re
678
+ }) : null, n.scrollButtonEnd = c ? /* @__PURE__ */ T(Oe, {
658
679
  direction: d ? "left" : "right",
659
- onClick: oo,
660
- disabled: !ge,
661
- ...D,
662
- className: R(k.scrollButtons, D.className)
663
- }) : null, r;
664
- }, Ie = fe((r) => {
680
+ onClick: so,
681
+ disabled: !Be,
682
+ ...Re
683
+ }) : null, n;
684
+ }, Ne = me((n) => {
665
685
  const {
666
686
  tabsMeta: l,
667
687
  tabMeta: c
668
- } = Ce();
688
+ } = Ie();
669
689
  if (!(!c || !l)) {
670
- if (c[J] < l[J]) {
671
- const u = l[X] + (c[J] - l[J]);
672
- de(u, {
673
- animation: r
690
+ if (c[Z] < l[Z]) {
691
+ const u = l[K] + (c[Z] - l[Z]);
692
+ fe(u, {
693
+ animation: n
674
694
  });
675
- } else if (c[Q] > l[Q]) {
676
- const u = l[X] + (c[Q] - l[Q]);
677
- de(u, {
678
- animation: r
695
+ } else if (c[ee] > l[ee]) {
696
+ const u = l[K] + (c[ee] - l[ee]);
697
+ fe(u, {
698
+ animation: n
679
699
  });
680
700
  }
681
701
  }
682
- }), ee = fe(() => {
683
- C && M !== !1 && Qe(!we);
702
+ }), ne = me(() => {
703
+ B && P !== !1 && no(!Ce);
684
704
  });
685
705
  s.useEffect(() => {
686
- const r = We(() => {
687
- P.current && Y();
706
+ const n = Fe(() => {
707
+ N.current && Y();
688
708
  });
689
709
  let l;
690
710
  const c = (I) => {
691
- I.forEach((A) => {
692
- A.removedNodes.forEach((q) => {
711
+ I.forEach((F) => {
712
+ F.removedNodes.forEach((q) => {
693
713
  l == null || l.unobserve(q);
694
- }), A.addedNodes.forEach((q) => {
714
+ }), F.addedNodes.forEach((q) => {
695
715
  l == null || l.observe(q);
696
716
  });
697
- }), r(), ee();
698
- }, u = De(P.current);
699
- u.addEventListener("resize", r);
717
+ }), n(), ne();
718
+ }, u = Ae(N.current);
719
+ u.addEventListener("resize", n);
700
720
  let b;
701
- return typeof ResizeObserver < "u" && (l = new ResizeObserver(r), Array.from(L.current.children).forEach((I) => {
721
+ return typeof ResizeObserver < "u" && (l = new ResizeObserver(n), Array.from(z.current.children).forEach((I) => {
702
722
  l.observe(I);
703
- })), typeof MutationObserver < "u" && (b = new MutationObserver(c), b.observe(L.current, {
723
+ })), typeof MutationObserver < "u" && (b = new MutationObserver(c), b.observe(z.current, {
704
724
  childList: !0
705
725
  })), () => {
706
- r.clear(), u.removeEventListener("resize", r), b == null || b.disconnect(), l == null || l.disconnect();
726
+ n.clear(), u.removeEventListener("resize", n), b == null || b.disconnect(), l == null || l.disconnect();
707
727
  };
708
- }, [Y, ee]), s.useEffect(() => {
709
- const r = Array.from(L.current.children), l = r.length;
710
- if (typeof IntersectionObserver < "u" && l > 0 && C && M !== !1) {
711
- const c = r[0], u = r[l - 1], b = {
712
- root: P.current,
728
+ }, [Y, ne]), s.useEffect(() => {
729
+ const n = Array.from(z.current.children), l = n.length;
730
+ if (typeof IntersectionObserver < "u" && l > 0 && B && P !== !1) {
731
+ const c = n[0], u = n[l - 1], b = {
732
+ root: N.current,
713
733
  threshold: 0.99
714
- }, I = (pe) => {
715
- Ge(!pe[0].isIntersecting);
716
- }, A = new IntersectionObserver(I, b);
717
- A.observe(c);
718
- const q = (pe) => {
719
- Je(!pe[0].isIntersecting);
720
- }, Ne = new IntersectionObserver(q, b);
721
- return Ne.observe(u), () => {
722
- A.disconnect(), Ne.disconnect();
734
+ }, I = (he) => {
735
+ oo(!he[0].isIntersecting);
736
+ }, F = new IntersectionObserver(I, b);
737
+ F.observe(c);
738
+ const q = (he) => {
739
+ to(!he[0].isIntersecting);
740
+ }, ke = new IntersectionObserver(q, b);
741
+ return ke.observe(u), () => {
742
+ F.disconnect(), ke.disconnect();
723
743
  };
724
744
  }
725
- }, [C, M, we, y == null ? void 0 : y.length]), s.useEffect(() => {
726
- Ke(!0);
745
+ }, [B, P, Ce, v == null ? void 0 : v.length]), s.useEffect(() => {
746
+ eo(!0);
727
747
  }, []), s.useEffect(() => {
728
748
  Y();
729
749
  }), s.useEffect(() => {
730
- Ie(Oe !== z);
731
- }, [Ie, z]), s.useImperativeHandle(h, () => ({
750
+ Ne(We !== L);
751
+ }, [Ne, L]), s.useImperativeHandle(h, () => ({
732
752
  updateIndicator: Y,
733
- updateScrollButtons: ee
734
- }), [Y, ee]);
735
- const Me = /* @__PURE__ */ T(Po, {
736
- ...H,
737
- className: R(k.indicator, H.className),
738
- ownerState: j,
739
- style: {
740
- ...z,
741
- ...H.style
753
+ updateScrollButtons: ne
754
+ }), [Y, ne]);
755
+ const [po, fo] = H("indicator", {
756
+ className: j($.indicator, U.className),
757
+ elementType: Xo,
758
+ externalForwardedProps: V,
759
+ ownerState: R,
760
+ additionalProps: {
761
+ style: L
742
762
  }
763
+ }), je = /* @__PURE__ */ T(po, {
764
+ ...fo
743
765
  });
744
- let oe = 0;
745
- const ro = s.Children.map(y, (r) => {
746
- if (!/* @__PURE__ */ s.isValidElement(r))
766
+ let re = 0;
767
+ const bo = s.Children.map(v, (n) => {
768
+ if (!/* @__PURE__ */ s.isValidElement(n))
747
769
  return null;
748
- process.env.NODE_ENV !== "production" && so.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
770
+ process.env.NODE_ENV !== "production" && wo.isFragment(n) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
749
771
  `));
750
- const l = r.props.value === void 0 ? oe : r.props.value;
751
- Z.set(l, oe);
752
- const c = l === O;
753
- return oe += 1, /* @__PURE__ */ s.cloneElement(r, {
754
- fullWidth: N === "fullWidth",
755
- indicator: c && !Se && Me,
772
+ const l = n.props.value === void 0 ? re : n.props.value;
773
+ oe.set(l, re);
774
+ const c = l === k;
775
+ return re += 1, /* @__PURE__ */ s.cloneElement(n, {
776
+ fullWidth: O === "fullWidth",
777
+ indicator: c && !ge && je,
756
778
  selected: c,
757
- selectionFollowsFocus: ae,
779
+ selectionFollowsFocus: de,
758
780
  onChange: E,
759
- textColor: G,
781
+ textColor: Q,
760
782
  value: l,
761
- ...oe === 1 && O === !1 && !r.props.tabIndex ? {
783
+ ...re === 1 && k === !1 && !n.props.tabIndex ? {
762
784
  tabIndex: 0
763
785
  } : {}
764
786
  });
765
- }), lo = (r) => {
766
- const l = L.current, c = co(l).activeElement;
787
+ }), ho = (n) => {
788
+ if (n.altKey || n.shiftKey || n.ctrlKey || n.metaKey)
789
+ return;
790
+ const l = z.current, c = Co(l).activeElement;
767
791
  if (c.getAttribute("role") !== "tab")
768
792
  return;
769
- let b = w === "horizontal" ? "ArrowLeft" : "ArrowUp", I = w === "horizontal" ? "ArrowRight" : "ArrowDown";
770
- switch (w === "horizontal" && d && (b = "ArrowRight", I = "ArrowLeft"), r.key) {
793
+ let b = x === "horizontal" ? "ArrowLeft" : "ArrowUp", I = x === "horizontal" ? "ArrowRight" : "ArrowDown";
794
+ switch (x === "horizontal" && d && (b = "ArrowRight", I = "ArrowLeft"), n.key) {
771
795
  case b:
772
- r.preventDefault(), te(l, c, Re);
796
+ n.preventDefault(), le(l, c, De);
773
797
  break;
774
798
  case I:
775
- r.preventDefault(), te(l, c, Pe);
799
+ n.preventDefault(), le(l, c, $e);
776
800
  break;
777
801
  case "Home":
778
- r.preventDefault(), te(l, null, Pe);
802
+ n.preventDefault(), le(l, null, $e);
779
803
  break;
780
804
  case "End":
781
- r.preventDefault(), te(l, null, Re);
805
+ n.preventDefault(), le(l, null, De);
782
806
  break;
783
807
  }
784
- }, ue = no();
785
- return /* @__PURE__ */ K(Io, {
786
- className: R(k.root, m),
787
- ownerState: j,
788
- ref: n,
789
- as: v,
790
- ..._e,
791
- children: [ue.scrollButtonStart, ue.scrollbarSizeListener, /* @__PURE__ */ K(Mo, {
792
- className: k.scroller,
793
- ownerState: j,
808
+ }, be = uo(), [mo, yo] = H("root", {
809
+ ref: r,
810
+ className: j($.root, m),
811
+ elementType: Vo,
812
+ externalForwardedProps: {
813
+ ...V,
814
+ ...Je,
815
+ component: y
816
+ },
817
+ ownerState: R
818
+ }), [So, vo] = H("scroller", {
819
+ ref: N,
820
+ className: $.scroller,
821
+ elementType: Ho,
822
+ externalForwardedProps: V,
823
+ ownerState: R,
824
+ additionalProps: {
794
825
  style: {
795
- overflow: xe.overflow,
796
- [B ? `margin${d ? "Left" : "Right"}` : "marginBottom"]: ie ? void 0 : -xe.scrollbarWidth
797
- },
798
- ref: P,
799
- children: [/* @__PURE__ */ T(No, {
826
+ overflow: Ee.overflow,
827
+ [C ? `margin${d ? "Left" : "Right"}` : "marginBottom"]: ue ? void 0 : -Ee.scrollbarWidth
828
+ }
829
+ }
830
+ }), [To, go] = H("list", {
831
+ ref: z,
832
+ className: j($.list, $.flexContainer),
833
+ elementType: Uo,
834
+ externalForwardedProps: V,
835
+ ownerState: R,
836
+ getSlotProps: (n) => ({
837
+ ...n,
838
+ onKeyDown: (l) => {
839
+ var c;
840
+ ho(l), (c = n.onKeyDown) == null || c.call(n, l);
841
+ }
842
+ })
843
+ });
844
+ return /* @__PURE__ */ G(mo, {
845
+ ...yo,
846
+ children: [be.scrollButtonStart, be.scrollbarSizeListener, /* @__PURE__ */ G(So, {
847
+ ...vo,
848
+ children: [/* @__PURE__ */ T(To, {
800
849
  "aria-label": p,
801
850
  "aria-labelledby": f,
802
- "aria-orientation": w === "vertical" ? "vertical" : null,
803
- className: k.flexContainer,
804
- ownerState: j,
805
- onKeyDown: lo,
806
- ref: L,
851
+ "aria-orientation": x === "vertical" ? "vertical" : null,
807
852
  role: "tablist",
808
- children: ro
809
- }), Se && Me]
810
- }), ue.scrollButtonEnd]
853
+ ...go,
854
+ children: bo
855
+ }), ge && je]
856
+ }), be.scrollButtonEnd]
811
857
  });
812
858
  });
813
- process.env.NODE_ENV !== "production" && (Xe.propTypes = {
859
+ process.env.NODE_ENV !== "production" && (Ge.propTypes = {
814
860
  // ┌────────────────────────────── Warning ──────────────────────────────┐
815
861
  // │ These PropTypes are generated from the TypeScript type definitions. │
816
862
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -823,66 +869,67 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
823
869
  * @param {object} actions This object contains all possible actions
824
870
  * that can be triggered programmatically.
825
871
  */
826
- action: uo,
872
+ action: Eo,
827
873
  /**
828
874
  * If `true`, the scroll buttons aren't forced hidden on mobile.
829
875
  * By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.
830
876
  * @default false
831
877
  */
832
- allowScrollButtonsMobile: o.bool,
878
+ allowScrollButtonsMobile: e.bool,
833
879
  /**
834
880
  * The label for the Tabs as a string.
835
881
  */
836
- "aria-label": o.string,
882
+ "aria-label": e.string,
837
883
  /**
838
884
  * An id or list of ids separated by a space that label the Tabs.
839
885
  */
840
- "aria-labelledby": o.string,
886
+ "aria-labelledby": e.string,
841
887
  /**
842
888
  * If `true`, the tabs are centered.
843
889
  * This prop is intended for large views.
844
890
  * @default false
845
891
  */
846
- centered: o.bool,
892
+ centered: e.bool,
847
893
  /**
848
894
  * The content of the component.
849
895
  */
850
- children: o.node,
896
+ children: e.node,
851
897
  /**
852
898
  * Override or extend the styles applied to the component.
853
899
  */
854
- classes: o.object,
900
+ classes: e.object,
855
901
  /**
856
902
  * @ignore
857
903
  */
858
- className: o.string,
904
+ className: e.string,
859
905
  /**
860
906
  * The component used for the root node.
861
907
  * Either a string to use a HTML element or a component.
862
908
  */
863
- component: o.elementType,
909
+ component: e.elementType,
864
910
  /**
865
911
  * Determines the color of the indicator.
866
912
  * @default 'primary'
867
913
  */
868
- indicatorColor: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
914
+ indicatorColor: e.oneOfType([e.oneOf(["primary", "secondary"]), e.string]),
869
915
  /**
870
916
  * Callback fired when the value changes.
871
917
  *
872
918
  * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
873
919
  * @param {any} value We default to the index of the child (number)
874
920
  */
875
- onChange: o.func,
921
+ onChange: e.func,
876
922
  /**
877
923
  * The component orientation (layout flow direction).
878
924
  * @default 'horizontal'
879
925
  */
880
- orientation: o.oneOf(["horizontal", "vertical"]),
926
+ orientation: e.oneOf(["horizontal", "vertical"]),
881
927
  /**
882
928
  * The component used to render the scroll buttons.
929
+ * @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
883
930
  * @default TabScrollButton
884
931
  */
885
- ScrollButtonComponent: o.elementType,
932
+ ScrollButtonComponent: e.elementType,
886
933
  /**
887
934
  * Determine behavior of scroll buttons when tabs are set to scroll:
888
935
  *
@@ -894,53 +941,68 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
894
941
  * This behavior can be disabled with `allowScrollButtonsMobile`.
895
942
  * @default 'auto'
896
943
  */
897
- scrollButtons: o.oneOf(["auto", !1, !0]),
944
+ scrollButtons: e.oneOf(["auto", !1, !0]),
898
945
  /**
899
946
  * If `true` the selected tab changes on focus. Otherwise it only
900
947
  * changes on activation.
901
948
  */
902
- selectionFollowsFocus: o.bool,
949
+ selectionFollowsFocus: e.bool,
903
950
  /**
904
- * The extra props for the slot components.
905
- * You can override the existing props or add new ones.
951
+ * The props used for each slot inside.
906
952
  * @default {}
907
953
  */
908
- slotProps: o.shape({
909
- endScrollButtonIcon: o.oneOfType([o.func, o.object]),
910
- startScrollButtonIcon: o.oneOfType([o.func, o.object])
954
+ slotProps: e.shape({
955
+ endScrollButtonIcon: e.oneOfType([e.func, e.object]),
956
+ indicator: e.oneOfType([e.func, e.object]),
957
+ list: e.oneOfType([e.func, e.object]),
958
+ root: e.oneOfType([e.func, e.object]),
959
+ scrollbar: e.oneOfType([e.func, e.object]),
960
+ scrollButtons: e.oneOfType([e.func, e.object]),
961
+ scroller: e.oneOfType([e.func, e.object]),
962
+ startScrollButtonIcon: e.oneOfType([e.func, e.object])
911
963
  }),
912
964
  /**
913
965
  * The components used for each slot inside.
914
966
  * @default {}
915
967
  */
916
- slots: o.shape({
917
- EndScrollButtonIcon: o.elementType,
918
- StartScrollButtonIcon: o.elementType
968
+ slots: e.shape({
969
+ endScrollButtonIcon: e.elementType,
970
+ EndScrollButtonIcon: e.elementType,
971
+ indicator: e.elementType,
972
+ list: e.elementType,
973
+ root: e.elementType,
974
+ scrollbar: e.elementType,
975
+ scrollButtons: e.elementType,
976
+ scroller: e.elementType,
977
+ startScrollButtonIcon: e.elementType,
978
+ StartScrollButtonIcon: e.elementType
919
979
  }),
920
980
  /**
921
981
  * The system prop that allows defining system overrides as well as additional CSS styles.
922
982
  */
923
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
983
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
924
984
  /**
925
985
  * Props applied to the tab indicator element.
986
+ * @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
926
987
  * @default {}
927
988
  */
928
- TabIndicatorProps: o.object,
989
+ TabIndicatorProps: e.object,
929
990
  /**
930
991
  * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
992
+ * @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
931
993
  * @default {}
932
994
  */
933
- TabScrollButtonProps: o.object,
995
+ TabScrollButtonProps: e.object,
934
996
  /**
935
997
  * Determines the color of the `Tab`.
936
998
  * @default 'primary'
937
999
  */
938
- textColor: o.oneOf(["inherit", "primary", "secondary"]),
1000
+ textColor: e.oneOf(["inherit", "primary", "secondary"]),
939
1001
  /**
940
1002
  * The value of the currently selected `Tab`.
941
1003
  * If you don't want any selected `Tab`, you can set this prop to `false`.
942
1004
  */
943
- value: o.any,
1005
+ value: e.any,
944
1006
  /**
945
1007
  * Determines additional display behavior of the tabs:
946
1008
  *
@@ -951,34 +1013,34 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
951
1013
  * - `standard` will render the default state.
952
1014
  * @default 'standard'
953
1015
  */
954
- variant: o.oneOf(["fullWidth", "scrollable", "standard"]),
1016
+ variant: e.oneOf(["fullWidth", "scrollable", "standard"]),
955
1017
  /**
956
1018
  * If `true`, the scrollbar is visible. It can be useful when displaying
957
1019
  * a long vertical list of tabs.
958
1020
  * @default false
959
1021
  */
960
- visibleScrollbar: o.bool
1022
+ visibleScrollbar: e.bool
961
1023
  });
962
- const Oo = /* @__PURE__ */ s.forwardRef(function(e, n) {
1024
+ const _o = /* @__PURE__ */ s.forwardRef(function(o, r) {
963
1025
  const {
964
1026
  children: a,
965
1027
  ...i
966
- } = e, d = Ae();
1028
+ } = o, d = Xe();
967
1029
  if (d === null)
968
1030
  throw new TypeError("No TabContext provided");
969
1031
  const p = s.Children.map(a, (f) => /* @__PURE__ */ s.isValidElement(f) ? /* @__PURE__ */ s.cloneElement(f, {
970
1032
  // SOMEDAY: `Tabs` will set those themselves
971
- "aria-controls": Fe(d, f.props.value),
972
- id: Ve(d, f.props.value)
1033
+ "aria-controls": Ke(d, f.props.value),
1034
+ id: _e(d, f.props.value)
973
1035
  }) : null);
974
- return /* @__PURE__ */ T(Xe, {
1036
+ return /* @__PURE__ */ T(Ge, {
975
1037
  ...i,
976
- ref: n,
1038
+ ref: r,
977
1039
  value: d.value,
978
1040
  children: p
979
1041
  });
980
1042
  });
981
- process.env.NODE_ENV !== "production" && (Oo.propTypes = {
1043
+ process.env.NODE_ENV !== "production" && (_o.propTypes = {
982
1044
  // ┌────────────────────────────── Warning ──────────────────────────────┐
983
1045
  // │ These PropTypes are generated from the TypeScript type definitions. │
984
1046
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -986,30 +1048,30 @@ process.env.NODE_ENV !== "production" && (Oo.propTypes = {
986
1048
  /**
987
1049
  * A list of `<Tab />` elements.
988
1050
  */
989
- children: o.node
1051
+ children: e.node
990
1052
  });
991
- function ko(t) {
992
- return le("MuiTabPanel", t);
1053
+ function Yo(t) {
1054
+ return ie("MuiTabPanel", t);
993
1055
  }
994
- const lt = re("MuiTabPanel", ["root", "hidden"]), $o = (t) => {
1056
+ const gt = ae("MuiTabPanel", ["root", "hidden"]), qo = (t) => {
995
1057
  const {
996
- classes: e,
997
- hidden: n
1058
+ classes: o,
1059
+ hidden: r
998
1060
  } = t;
999
- return se({
1000
- root: ["root", n && "hidden"]
1001
- }, ko, e);
1002
- }, Wo = $("div", {
1061
+ return ce({
1062
+ root: ["root", r && "hidden"]
1063
+ }, Yo, o);
1064
+ }, Go = D("div", {
1003
1065
  name: "MuiTabPanel",
1004
1066
  slot: "Root",
1005
- overridesResolver: (t, e) => e.root
1067
+ overridesResolver: (t, o) => o.root
1006
1068
  })(({
1007
1069
  theme: t
1008
1070
  }) => ({
1009
1071
  padding: t.spacing(3)
1010
- })), Do = /* @__PURE__ */ s.forwardRef(function(e, n) {
1011
- const a = po({
1012
- props: e,
1072
+ })), Jo = /* @__PURE__ */ s.forwardRef(function(o, r) {
1073
+ const a = Io({
1074
+ props: o,
1013
1075
  name: "MuiTabPanel"
1014
1076
  }), {
1015
1077
  children: i,
@@ -1019,23 +1081,23 @@ const lt = re("MuiTabPanel", ["root", "hidden"]), $o = (t) => {
1019
1081
  ...h
1020
1082
  } = a, S = {
1021
1083
  ...a
1022
- }, y = $o(S), m = Ae();
1084
+ }, v = qo(S), m = Xe();
1023
1085
  if (m === null)
1024
1086
  throw new TypeError("No TabContext provided");
1025
- const v = Fe(m, p), g = Ve(m, p);
1026
- return /* @__PURE__ */ T(Wo, {
1087
+ const y = Ke(m, p), g = _e(m, p);
1088
+ return /* @__PURE__ */ T(Go, {
1027
1089
  "aria-labelledby": g,
1028
- className: R(y.root, d),
1090
+ className: j(v.root, d),
1029
1091
  hidden: p !== m.value,
1030
- id: v,
1031
- ref: n,
1092
+ id: y,
1093
+ ref: r,
1032
1094
  role: "tabpanel",
1033
1095
  ownerState: S,
1034
1096
  ...h,
1035
1097
  children: (f || p === m.value) && i
1036
1098
  });
1037
1099
  });
1038
- process.env.NODE_ENV !== "production" && (Do.propTypes = {
1100
+ process.env.NODE_ENV !== "production" && (Jo.propTypes = {
1039
1101
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1040
1102
  // │ These PropTypes are generated from the TypeScript type definitions. │
1041
1103
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1043,37 +1105,37 @@ process.env.NODE_ENV !== "production" && (Do.propTypes = {
1043
1105
  /**
1044
1106
  * The content of the component.
1045
1107
  */
1046
- children: o.node,
1108
+ children: e.node,
1047
1109
  /**
1048
1110
  * Override or extend the styles applied to the component.
1049
1111
  */
1050
- classes: o.object,
1112
+ classes: e.object,
1051
1113
  /**
1052
1114
  * @ignore
1053
1115
  */
1054
- className: o.string,
1116
+ className: e.string,
1055
1117
  /**
1056
1118
  * Always keep the children in the DOM.
1057
1119
  * @default false
1058
1120
  */
1059
- keepMounted: o.bool,
1121
+ keepMounted: e.bool,
1060
1122
  /**
1061
1123
  * The system prop that allows defining system overrides as well as additional CSS styles.
1062
1124
  */
1063
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
1125
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1064
1126
  /**
1065
1127
  * The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
1066
1128
  * no `value` was passed to `Tab`.
1067
1129
  */
1068
- value: o.oneOfType([o.number, o.string]).isRequired
1130
+ value: e.oneOfType([e.number, e.string]).isRequired
1069
1131
  });
1070
- function jo(t) {
1071
- return le("MuiTab", t);
1132
+ function Qo(t) {
1133
+ return ie("MuiTab", t);
1072
1134
  }
1073
- const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), zo = (t) => {
1135
+ const w = ae("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), Zo = (t) => {
1074
1136
  const {
1075
- classes: e,
1076
- textColor: n,
1137
+ classes: o,
1138
+ textColor: r,
1077
1139
  fullWidth: a,
1078
1140
  wrapped: i,
1079
1141
  icon: d,
@@ -1081,24 +1143,24 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1081
1143
  selected: f,
1082
1144
  disabled: h
1083
1145
  } = t, S = {
1084
- root: ["root", d && p && "labelIcon", `textColor${Le(n)}`, a && "fullWidth", i && "wrapped", f && "selected", h && "disabled"],
1146
+ root: ["root", d && p && "labelIcon", `textColor${Ue(r)}`, a && "fullWidth", i && "wrapped", f && "selected", h && "disabled"],
1085
1147
  icon: ["iconWrapper", "icon"]
1086
1148
  };
1087
- return se(S, jo, e);
1088
- }, Lo = $(ze, {
1149
+ return ce(S, Qo, o);
1150
+ }, et = D(He, {
1089
1151
  name: "MuiTab",
1090
1152
  slot: "Root",
1091
- overridesResolver: (t, e) => {
1153
+ overridesResolver: (t, o) => {
1092
1154
  const {
1093
- ownerState: n
1155
+ ownerState: r
1094
1156
  } = t;
1095
- return [e.root, n.label && n.icon && e.labelIcon, e[`textColor${Le(n.textColor)}`], n.fullWidth && e.fullWidth, n.wrapped && e.wrapped, {
1096
- [`& .${x.iconWrapper}`]: e.iconWrapper
1157
+ return [o.root, r.label && r.icon && o.labelIcon, o[`textColor${Ue(r.textColor)}`], r.fullWidth && o.fullWidth, r.wrapped && o.wrapped, {
1158
+ [`& .${w.iconWrapper}`]: o.iconWrapper
1097
1159
  }, {
1098
- [`& .${x.icon}`]: e.icon
1160
+ [`& .${w.icon}`]: o.icon
1099
1161
  }];
1100
1162
  }
1101
- })(me(({
1163
+ })(ve(({
1102
1164
  theme: t
1103
1165
  }) => ({
1104
1166
  ...t.typography.button,
@@ -1114,22 +1176,22 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1114
1176
  lineHeight: 1.25,
1115
1177
  variants: [{
1116
1178
  props: ({
1117
- ownerState: e
1118
- }) => e.label && (e.iconPosition === "top" || e.iconPosition === "bottom"),
1179
+ ownerState: o
1180
+ }) => o.label && (o.iconPosition === "top" || o.iconPosition === "bottom"),
1119
1181
  style: {
1120
1182
  flexDirection: "column"
1121
1183
  }
1122
1184
  }, {
1123
1185
  props: ({
1124
- ownerState: e
1125
- }) => e.label && e.iconPosition !== "top" && e.iconPosition !== "bottom",
1186
+ ownerState: o
1187
+ }) => o.label && o.iconPosition !== "top" && o.iconPosition !== "bottom",
1126
1188
  style: {
1127
1189
  flexDirection: "row"
1128
1190
  }
1129
1191
  }, {
1130
1192
  props: ({
1131
- ownerState: e
1132
- }) => e.icon && e.label,
1193
+ ownerState: o
1194
+ }) => o.icon && o.label,
1133
1195
  style: {
1134
1196
  minHeight: 72,
1135
1197
  paddingTop: 9,
@@ -1137,41 +1199,41 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1137
1199
  }
1138
1200
  }, {
1139
1201
  props: ({
1140
- ownerState: e,
1141
- iconPosition: n
1142
- }) => e.icon && e.label && n === "top",
1202
+ ownerState: o,
1203
+ iconPosition: r
1204
+ }) => o.icon && o.label && r === "top",
1143
1205
  style: {
1144
- [`& > .${x.icon}`]: {
1206
+ [`& > .${w.icon}`]: {
1145
1207
  marginBottom: 6
1146
1208
  }
1147
1209
  }
1148
1210
  }, {
1149
1211
  props: ({
1150
- ownerState: e,
1151
- iconPosition: n
1152
- }) => e.icon && e.label && n === "bottom",
1212
+ ownerState: o,
1213
+ iconPosition: r
1214
+ }) => o.icon && o.label && r === "bottom",
1153
1215
  style: {
1154
- [`& > .${x.icon}`]: {
1216
+ [`& > .${w.icon}`]: {
1155
1217
  marginTop: 6
1156
1218
  }
1157
1219
  }
1158
1220
  }, {
1159
1221
  props: ({
1160
- ownerState: e,
1161
- iconPosition: n
1162
- }) => e.icon && e.label && n === "start",
1222
+ ownerState: o,
1223
+ iconPosition: r
1224
+ }) => o.icon && o.label && r === "start",
1163
1225
  style: {
1164
- [`& > .${x.icon}`]: {
1226
+ [`& > .${w.icon}`]: {
1165
1227
  marginRight: t.spacing(1)
1166
1228
  }
1167
1229
  }
1168
1230
  }, {
1169
1231
  props: ({
1170
- ownerState: e,
1171
- iconPosition: n
1172
- }) => e.icon && e.label && n === "end",
1232
+ ownerState: o,
1233
+ iconPosition: r
1234
+ }) => o.icon && o.label && r === "end",
1173
1235
  style: {
1174
- [`& > .${x.icon}`]: {
1236
+ [`& > .${w.icon}`]: {
1175
1237
  marginLeft: t.spacing(1)
1176
1238
  }
1177
1239
  }
@@ -1183,10 +1245,10 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1183
1245
  color: "inherit",
1184
1246
  opacity: 0.6,
1185
1247
  // same opacity as theme.palette.text.secondary
1186
- [`&.${x.selected}`]: {
1248
+ [`&.${w.selected}`]: {
1187
1249
  opacity: 1
1188
1250
  },
1189
- [`&.${x.disabled}`]: {
1251
+ [`&.${w.disabled}`]: {
1190
1252
  opacity: (t.vars || t).palette.action.disabledOpacity
1191
1253
  }
1192
1254
  }
@@ -1196,10 +1258,10 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1196
1258
  },
1197
1259
  style: {
1198
1260
  color: (t.vars || t).palette.text.secondary,
1199
- [`&.${x.selected}`]: {
1261
+ [`&.${w.selected}`]: {
1200
1262
  color: (t.vars || t).palette.primary.main
1201
1263
  },
1202
- [`&.${x.disabled}`]: {
1264
+ [`&.${w.disabled}`]: {
1203
1265
  color: (t.vars || t).palette.text.disabled
1204
1266
  }
1205
1267
  }
@@ -1209,17 +1271,17 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1209
1271
  },
1210
1272
  style: {
1211
1273
  color: (t.vars || t).palette.text.secondary,
1212
- [`&.${x.selected}`]: {
1274
+ [`&.${w.selected}`]: {
1213
1275
  color: (t.vars || t).palette.secondary.main
1214
1276
  },
1215
- [`&.${x.disabled}`]: {
1277
+ [`&.${w.disabled}`]: {
1216
1278
  color: (t.vars || t).palette.text.disabled
1217
1279
  }
1218
1280
  }
1219
1281
  }, {
1220
1282
  props: ({
1221
- ownerState: e
1222
- }) => e.fullWidth,
1283
+ ownerState: o
1284
+ }) => o.fullWidth,
1223
1285
  style: {
1224
1286
  flexShrink: 1,
1225
1287
  flexGrow: 1,
@@ -1228,15 +1290,15 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1228
1290
  }
1229
1291
  }, {
1230
1292
  props: ({
1231
- ownerState: e
1232
- }) => e.wrapped,
1293
+ ownerState: o
1294
+ }) => o.wrapped,
1233
1295
  style: {
1234
1296
  fontSize: t.typography.pxToRem(12)
1235
1297
  }
1236
1298
  }]
1237
- }))), Ao = /* @__PURE__ */ s.forwardRef(function(e, n) {
1238
- const a = he({
1239
- props: e,
1299
+ }))), ot = /* @__PURE__ */ s.forwardRef(function(o, r) {
1300
+ const a = Se({
1301
+ props: o,
1240
1302
  name: "MuiTab"
1241
1303
  }), {
1242
1304
  className: i,
@@ -1247,21 +1309,21 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1247
1309
  icon: h,
1248
1310
  iconPosition: S = "top",
1249
1311
  // eslint-disable-next-line react/prop-types
1250
- indicator: y,
1312
+ indicator: v,
1251
1313
  label: m,
1252
- onChange: v,
1314
+ onChange: y,
1253
1315
  onClick: g,
1254
1316
  onFocus: W,
1255
1317
  // eslint-disable-next-line react/prop-types
1256
1318
  selected: E,
1257
1319
  // eslint-disable-next-line react/prop-types
1258
- selectionFollowsFocus: w,
1320
+ selectionFollowsFocus: x,
1259
1321
  // eslint-disable-next-line react/prop-types
1260
- textColor: F = "inherit",
1261
- value: M,
1262
- wrapped: ae = !1,
1263
- ...V
1264
- } = a, U = {
1322
+ textColor: J = "inherit",
1323
+ value: P,
1324
+ wrapped: de = !1,
1325
+ ...M
1326
+ } = a, A = {
1265
1327
  ...a,
1266
1328
  disabled: d,
1267
1329
  disableFocusRipple: p,
@@ -1270,35 +1332,35 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1270
1332
  iconPosition: S,
1271
1333
  label: !!m,
1272
1334
  fullWidth: f,
1273
- textColor: F,
1274
- wrapped: ae
1275
- }, H = zo(U), D = h && m && /* @__PURE__ */ s.isValidElement(h) ? /* @__PURE__ */ s.cloneElement(h, {
1276
- className: R(H.icon, h.props.className)
1277
- }) : h, G = (N) => {
1278
- !E && v && v(N, M), g && g(N);
1279
- }, O = (N) => {
1280
- w && !E && v && v(N, M), W && W(N);
1335
+ textColor: J,
1336
+ wrapped: de
1337
+ }, U = Zo(A), X = h && m && /* @__PURE__ */ s.isValidElement(h) ? /* @__PURE__ */ s.cloneElement(h, {
1338
+ className: j(U.icon, h.props.className)
1339
+ }) : h, Q = (O) => {
1340
+ !E && y && y(O, P), g && g(O);
1341
+ }, k = (O) => {
1342
+ x && !E && y && y(O, P), W && W(O);
1281
1343
  };
1282
- return /* @__PURE__ */ K(Lo, {
1344
+ return /* @__PURE__ */ G(et, {
1283
1345
  focusRipple: !p,
1284
- className: R(H.root, i),
1285
- ref: n,
1346
+ className: j(U.root, i),
1347
+ ref: r,
1286
1348
  role: "tab",
1287
1349
  "aria-selected": E,
1288
1350
  disabled: d,
1289
- onClick: G,
1290
- onFocus: O,
1291
- ownerState: U,
1351
+ onClick: Q,
1352
+ onFocus: k,
1353
+ ownerState: A,
1292
1354
  tabIndex: E ? 0 : -1,
1293
- ...V,
1294
- children: [S === "top" || S === "start" ? /* @__PURE__ */ K(s.Fragment, {
1295
- children: [D, m]
1296
- }) : /* @__PURE__ */ K(s.Fragment, {
1297
- children: [m, D]
1298
- }), y]
1355
+ ...M,
1356
+ children: [S === "top" || S === "start" ? /* @__PURE__ */ G(s.Fragment, {
1357
+ children: [X, m]
1358
+ }) : /* @__PURE__ */ G(s.Fragment, {
1359
+ children: [m, X]
1360
+ }), v]
1299
1361
  });
1300
1362
  });
1301
- process.env.NODE_ENV !== "production" && (Ao.propTypes = {
1363
+ process.env.NODE_ENV !== "production" && (ot.propTypes = {
1302
1364
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1303
1365
  // │ These PropTypes are generated from the TypeScript type definitions. │
1304
1366
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1307,25 +1369,25 @@ process.env.NODE_ENV !== "production" && (Ao.propTypes = {
1307
1369
  * This prop isn't supported.
1308
1370
  * Use the `component` prop if you need to change the children structure.
1309
1371
  */
1310
- children: fo,
1372
+ children: Po,
1311
1373
  /**
1312
1374
  * Override or extend the styles applied to the component.
1313
1375
  */
1314
- classes: o.object,
1376
+ classes: e.object,
1315
1377
  /**
1316
1378
  * @ignore
1317
1379
  */
1318
- className: o.string,
1380
+ className: e.string,
1319
1381
  /**
1320
1382
  * If `true`, the component is disabled.
1321
1383
  * @default false
1322
1384
  */
1323
- disabled: o.bool,
1385
+ disabled: e.bool,
1324
1386
  /**
1325
1387
  * If `true`, the keyboard focus ripple is disabled.
1326
1388
  * @default false
1327
1389
  */
1328
- disableFocusRipple: o.bool,
1390
+ disableFocusRipple: e.bool,
1329
1391
  /**
1330
1392
  * If `true`, the ripple effect is disabled.
1331
1393
  *
@@ -1333,62 +1395,62 @@ process.env.NODE_ENV !== "production" && (Ao.propTypes = {
1333
1395
  * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
1334
1396
  * @default false
1335
1397
  */
1336
- disableRipple: o.bool,
1398
+ disableRipple: e.bool,
1337
1399
  /**
1338
1400
  * The icon to display.
1339
1401
  */
1340
- icon: o.oneOfType([o.element, o.string]),
1402
+ icon: e.oneOfType([e.element, e.string]),
1341
1403
  /**
1342
1404
  * The position of the icon relative to the label.
1343
1405
  * @default 'top'
1344
1406
  */
1345
- iconPosition: o.oneOf(["bottom", "end", "start", "top"]),
1407
+ iconPosition: e.oneOf(["bottom", "end", "start", "top"]),
1346
1408
  /**
1347
1409
  * The label element.
1348
1410
  */
1349
- label: o.node,
1411
+ label: e.node,
1350
1412
  /**
1351
1413
  * @ignore
1352
1414
  */
1353
- onChange: o.func,
1415
+ onChange: e.func,
1354
1416
  /**
1355
1417
  * @ignore
1356
1418
  */
1357
- onClick: o.func,
1419
+ onClick: e.func,
1358
1420
  /**
1359
1421
  * @ignore
1360
1422
  */
1361
- onFocus: o.func,
1423
+ onFocus: e.func,
1362
1424
  /**
1363
1425
  * The system prop that allows defining system overrides as well as additional CSS styles.
1364
1426
  */
1365
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
1427
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1366
1428
  /**
1367
1429
  * You can provide your own value. Otherwise, we fallback to the child position index.
1368
1430
  */
1369
- value: o.any,
1431
+ value: e.any,
1370
1432
  /**
1371
1433
  * Tab labels appear in a single row.
1372
1434
  * They can use a second line if needed.
1373
1435
  * @default false
1374
1436
  */
1375
- wrapped: o.bool
1437
+ wrapped: e.bool
1376
1438
  });
1377
1439
  export {
1378
- To as K,
1379
- ho as T,
1380
- Oo as a,
1381
- Do as b,
1382
- Ao as c,
1383
- Xe as d,
1384
- Ve as e,
1385
- ko as f,
1386
- Fe as g,
1387
- x as h,
1388
- jo as i,
1389
- be as j,
1390
- Bo as k,
1391
- yo as l,
1392
- lt as t,
1393
- Ae as u
1440
+ $o as K,
1441
+ Oo as T,
1442
+ _o as a,
1443
+ Jo as b,
1444
+ ot as c,
1445
+ Ge as d,
1446
+ _e as e,
1447
+ Yo as f,
1448
+ Ke as g,
1449
+ w as h,
1450
+ Qo as i,
1451
+ ye as j,
1452
+ Fo as k,
1453
+ ko as l,
1454
+ gt as t,
1455
+ Xe as u
1394
1456
  };