@cgi-learning-hub/ui 1.5.0 → 1.5.1-dev.1744639457

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 (323) hide show
  1. package/dist/Alert-5zQ9TB22.cjs +1 -0
  2. package/dist/{Alert-D7eKsj1P.js → Alert-CDbAJ9jP.js} +27 -28
  3. package/dist/Autocomplete-2DWwLqO5.cjs +6 -0
  4. package/dist/{Autocomplete-Cfz4sLy8.js → Autocomplete-DO8kdiDn.js} +704 -665
  5. package/dist/Backdrop-Be5Hv5U8.cjs +1 -0
  6. package/dist/{Backdrop-COiz4sPF.js → Backdrop-CRrNkGxU.js} +18 -18
  7. package/dist/{Box-C-j-U8SH.js → Box-2IEW8Uij.js} +12 -12
  8. package/dist/Box-Bl24J58B.cjs +1 -0
  9. package/dist/Button-CZTPCtLu.cjs +1 -0
  10. package/dist/{Button-CQQdMCSm.js → Button-DYWfAsGe.js} +114 -148
  11. package/dist/{ButtonBase-CZFKUUHD.js → ButtonBase-BZXGvriS.js} +24 -24
  12. package/dist/{ButtonBase-NqQjeQ4X.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
  13. package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
  14. package/dist/{CardContent-sX9Bw4Ke.js → CardContent-oRdx06Ln.js} +5 -5
  15. package/dist/{Checkbox-1Zr36vDa.js → Checkbox-DMnS1qrF.js} +95 -68
  16. package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
  17. package/dist/Chip-BJSNxQBQ.cjs +1 -0
  18. package/dist/{Chip-BsErraqe.js → Chip-CacnC2L1.js} +53 -54
  19. package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
  20. package/dist/{CircularProgress-BBHGA0JX.js → CircularProgress-_VZwmayK.js} +28 -29
  21. package/dist/{Close-r-ZUhk0-.js → Close-CSvE0tu1.js} +1 -1
  22. package/dist/{Close-ZXg7X3Tz.cjs → Close-Czm0dlR9.cjs} +1 -1
  23. package/dist/{CloseRounded-CWmxueMc.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
  24. package/dist/{CloseRounded-B-eaQsyM.js → CloseRounded-CEX-NsA7.js} +1 -1
  25. package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
  26. package/dist/{CustomTreeItem-BpAK85gf.js → CustomTreeItem-DTV3xokL.js} +287 -289
  27. package/dist/{DatePicker-CWMXTgRG.js → DatePicker-C-toYUpc.js} +995 -1002
  28. package/dist/DatePicker-DbH5IN_w.cjs +13 -0
  29. package/dist/{DefaultPropsProvider-CXfMJdg8.js → DefaultPropsProvider-Bg-6nX-u.js} +53 -53
  30. package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
  31. package/dist/{Delete-CpTtpM4U.cjs → Delete-C0hR-twe.cjs} +1 -1
  32. package/dist/{Delete-DKn2lIDB.js → Delete-Pl5O0eBK.js} +1 -1
  33. package/dist/{Dialog-pU1ZAttp.js → Dialog-BGrQDZXr.js} +162 -169
  34. package/dist/Dialog-D1VJ5jXx.cjs +1 -0
  35. package/dist/DialogContent-DqdeAbSs.cjs +1 -0
  36. package/dist/{DialogContent-BEgapieO.js → DialogContent-ZiO3fkfO.js} +3 -3
  37. package/dist/DialogTitle-B3MlGamo.cjs +1 -0
  38. package/dist/{DialogTitle-Dcls3mcZ.js → DialogTitle-BiZ7zHp-.js} +7 -7
  39. package/dist/{Divider-CT4XaEn6.js → Divider-BDN4OyrO.js} +8 -8
  40. package/dist/Divider-I7KOokm8.cjs +1 -0
  41. package/dist/{Folder-DoEl37QZ.js → Folder-CF7SX2AD.js} +1 -1
  42. package/dist/{Folder-DWD_1Fux.cjs → Folder-ExV_xCn6.cjs} +1 -1
  43. package/dist/{FormLabel-BF6m-_uI.js → FormLabel-DNsUciXe.js} +24 -25
  44. package/dist/FormLabel-xZr5oZgx.cjs +2 -0
  45. package/dist/{Grow-Bk7XkPFP.js → Grow-CLBgYoz_.js} +5 -5
  46. package/dist/Grow-DrEdqZgX.cjs +1 -0
  47. package/dist/IconButton-C1I_233O.cjs +2 -0
  48. package/dist/{IconButton-BQW0xjdH.js → IconButton-CT0Plyy5.js} +26 -27
  49. package/dist/{InputAdornment-C6UfLaud.js → InputAdornment-Ci0BnJ_e.js} +10 -11
  50. package/dist/InputAdornment-_UPzajRP.cjs +1 -0
  51. package/dist/InputBase-C-ES3FPH.cjs +3 -0
  52. package/dist/{InputBase-YOnatBxw.js → InputBase-CJvM-WXJ.js} +261 -256
  53. package/dist/{Link-C3rf4gqc.js → Link-B6LNMjac.js} +15 -16
  54. package/dist/Link-BQrFDQ-K.cjs +1 -0
  55. package/dist/{List-CFInjv2S.js → List-22h7byk_.js} +2 -2
  56. package/dist/List-Bii833np.cjs +1 -0
  57. package/dist/{ListItem-BAAZxsu5.js → ListItem-B0syBgS7.js} +17 -17
  58. package/dist/ListItem-BtjE87R1.cjs +1 -0
  59. package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
  60. package/dist/ListItemText-zFoA_mgx.js +845 -0
  61. package/dist/Menu-4e60iiMU.cjs +7 -0
  62. package/dist/{Menu-BgO92SV3.js → Menu-B6t_52q7.js} +405 -335
  63. package/dist/MenuItem-De2MJkYT.cjs +1 -0
  64. package/dist/{MenuItem-B8eWAj8E.js → MenuItem-KNXRjnwO.js} +14 -14
  65. package/dist/{Modal-CFv4UMTP.js → Modal-BpJ9BCOo.js} +239 -245
  66. package/dist/Modal-JAWJUstF.cjs +2 -0
  67. package/dist/{MoreVert-Dq8BqKg4.js → MoreVert-BtC5XWOR.js} +1 -1
  68. package/dist/{MoreVert-B_Gz5Gfx.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
  69. package/dist/{Paper-DeL_n4k9.js → Paper-BTFv1nzl.js} +9 -9
  70. package/dist/Paper-CKG165jt.cjs +2 -0
  71. package/dist/Popper-CyH7Z-lN.cjs +4 -0
  72. package/dist/{Popper-BKxRTMsO.js → Popper-YJsxmJsm.js} +10 -10
  73. package/dist/Portal-CtsVKOQ9.js +85 -0
  74. package/dist/Portal-LP7SUKpU.cjs +1 -0
  75. package/dist/Radio-BEfQuau1.cjs +1 -0
  76. package/dist/{Radio-BVfoGshx.js → Radio-Dg73Pnqf.js} +226 -183
  77. package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
  78. package/dist/{RadioGroup-DcqRUtV8.js → RadioGroup-jev5E2xJ.js} +20 -20
  79. package/dist/{Select-Vnsr3NSv.js → Select-21Pm-BzJ.js} +164 -165
  80. package/dist/Select-CxofSqZJ.cjs +3 -0
  81. package/dist/{Stack-PQFKjbdN.js → Stack-D2Plrf1_.js} +60 -104
  82. package/dist/Stack-DpH56CPw.cjs +1 -0
  83. package/dist/Switch-BIGFww3p.cjs +1 -0
  84. package/dist/{Switch-Bn8zlIOf.js → Switch-CNfK1N1c.js} +167 -108
  85. package/dist/SwitchBase-BHC3uchj.js +314 -0
  86. package/dist/SwitchBase-DA079uiU.cjs +1 -0
  87. package/dist/{Tab-A0R3g6rB.js → Tab-BbWlzMyp.js} +597 -537
  88. package/dist/Tab-BsIC620i.cjs +4 -0
  89. package/dist/{TextField-Di6Nfe3O.js → TextField-BjzDdsW_.js} +133 -124
  90. package/dist/TextField-DFr8lsXU.cjs +1 -0
  91. package/dist/ToggleButtonGroup-BEvrUL8a.cjs +138 -0
  92. package/dist/{ToggleButtonGroup-B-zfmsAO.js → ToggleButtonGroup-C_O-zqof.js} +1995 -1818
  93. package/dist/{Tooltip-KTkLBRQj.js → Tooltip-Bf5VDDeG.js} +34 -35
  94. package/dist/Tooltip-DJC7nrsk.cjs +4 -0
  95. package/dist/{Typography-DZ11k9cZ.js → Typography-BNt9mZKm.js} +13 -14
  96. package/dist/Typography-DOpE-TJz.cjs +1 -0
  97. package/dist/components/Alert/Alert.cjs.js +1 -1
  98. package/dist/components/Alert/Alert.es.js +3 -3
  99. package/dist/components/Alert/index.cjs.js +1 -1
  100. package/dist/components/Alert/index.es.js +1 -1
  101. package/dist/components/Button/Button.cjs.js +1 -1
  102. package/dist/components/Button/Button.es.js +2 -2
  103. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  104. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  105. package/dist/components/DatePicker/index.cjs.js +1 -1
  106. package/dist/components/DatePicker/index.es.js +1 -1
  107. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  108. package/dist/components/Dialog/Dialog.es.js +15 -15
  109. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  110. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  111. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  112. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  113. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  114. package/dist/components/FileList/FileIcon.es.js +1 -1
  115. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  116. package/dist/components/FileList/FileListItem.es.js +4 -4
  117. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  118. package/dist/components/FolderCard/FolderCard.d.ts +1 -0
  119. package/dist/components/FolderCard/FolderCard.es.js +26 -17
  120. package/dist/components/FolderCard/styles.cjs.js +1 -1
  121. package/dist/components/FolderCard/styles.d.ts +4 -0
  122. package/dist/components/FolderCard/styles.es.js +9 -5
  123. package/dist/components/Heading/Heading.cjs.js +1 -1
  124. package/dist/components/Heading/Heading.es.js +2 -2
  125. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  126. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  127. package/dist/components/Loader/Loader.cjs.js +1 -1
  128. package/dist/components/Loader/Loader.es.js +1 -1
  129. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  130. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  131. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  132. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  133. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  134. package/dist/components/ResourceCard/ResourceCard.d.ts +1 -0
  135. package/dist/components/ResourceCard/ResourceCard.es.js +21 -19
  136. package/dist/components/ResourceCard/style.cjs.js +1 -1
  137. package/dist/components/ResourceCard/style.es.js +49 -44
  138. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  139. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  140. package/dist/components/TreeView/TreeView.cjs.js +7 -7
  141. package/dist/components/TreeView/TreeView.es.js +323 -319
  142. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  143. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  144. package/dist/components/TreeView/style.cjs.js +1 -1
  145. package/dist/components/TreeView/style.es.js +24 -18
  146. package/dist/components/TreeView/types.d.ts +5 -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 +264 -266
  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.d.ts +2 -0
  195. package/dist/components/stories/TreeView.stories.es.js +517 -268
  196. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  197. package/dist/components/stories/Typography.stories.es.js +1 -1
  198. package/dist/{createSvgIcon-BFqOnlgU.js → createSvgIcon-CCutbgLb.js} +54 -55
  199. package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
  200. package/dist/dividerClasses-B_bu1fey.cjs +1 -0
  201. package/dist/{dividerClasses-BYkvalOn.js → dividerClasses-hlXEfEZK.js} +1 -1
  202. package/dist/{elementTypeAcceptingRef-1usJq_B8.js → elementTypeAcceptingRef-COpcDx5q.js} +1 -1
  203. package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
  204. package/dist/{extendSxProp-D_IkoDXB.js → extendSxProp-0G38SSpC.js} +1 -1
  205. package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
  206. package/dist/{getReactElementRef-DtLerx40.js → getReactElementRef-C6oFed6n.js} +1 -1
  207. package/dist/getReactElementRef-EDbO4rJt.cjs +1 -0
  208. package/dist/{generateUtilityClasses-CqzQXpT_.js → identifier-BJqC6EXa.js} +833 -865
  209. package/dist/identifier-gJdGmHeC.cjs +74 -0
  210. package/dist/{index-CFIk4hVM.js → index-BOAF-ZZq.js} +4 -4
  211. package/dist/index-Cfd-LNZn.cjs +1 -0
  212. package/dist/index-D14TzUgK.cjs +1 -0
  213. package/dist/{index-sDFEVHTg.js → index-DP697UN9.js} +1 -1
  214. package/dist/index-Dmu1HrwE.cjs +5 -0
  215. package/dist/{index-C7WfZsMe.js → index-gxOBDuBW.js} +2 -2
  216. package/dist/index.cjs.js +1 -1
  217. package/dist/index.es.js +264 -266
  218. package/dist/{listItemTextClasses-C0D3xQur.js → listItemTextClasses-DBxyCmso.js} +1 -1
  219. package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
  220. package/dist/{memoTheme-B0xVysYu.js → memoTheme-D_Qap2ZW.js} +1 -1
  221. package/dist/{memoTheme-WwIyYqBX.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
  222. package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
  223. package/dist/mergeSlotProps-BSFlgsYC.js +62 -0
  224. package/dist/refType-53jD7LEO.cjs +1 -0
  225. package/dist/{refType-BvSJNaoq.js → refType-DRBJ18fO.js} +1 -1
  226. package/dist/styled-C7OKoThH.cjs +1 -0
  227. package/dist/styled-DpPa0vDp.js +5 -0
  228. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  229. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  230. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  231. package/dist/useForkRef-u29GSuCu.js +27 -0
  232. package/dist/useSlot-DhC6EPU2.js +125 -0
  233. package/dist/useSlot-zJFQDOgm.cjs +1 -0
  234. package/dist/{useSlotProps-Ceyorp-u.js → useSlotProps-Bos9nSja.js} +2 -2
  235. package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
  236. package/dist/{useTheme-2JCMQS-E.js → useTheme-B1xvds8x.js} +1 -1
  237. package/dist/useTheme-BJZcQSBU.cjs +1 -0
  238. package/dist/useTheme-Dt-VOIyT.js +11 -0
  239. package/dist/useTheme-NQRIebh0.cjs +1 -0
  240. package/dist/useThemeProps-CxMYNgfp.js +17 -0
  241. package/dist/{useThemeProps-Cuazh32X.js → useThemeProps-DSVFwH3A.js} +4 -4
  242. package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
  243. package/dist/{useThemeProps-RdxbcMsR.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
  244. package/dist/utils-B2EQZFZP.cjs +1 -0
  245. package/dist/{utils-BVg32WSe.js → utils-qwVZGgXz.js} +1 -1
  246. package/dist/warning-C8W811fV.js +11 -0
  247. package/dist/warning-DMUNDgRg.cjs +2 -0
  248. package/package.json +10 -10
  249. package/dist/Alert-CvizDCvx.cjs +0 -1
  250. package/dist/Autocomplete-DjU6i3zL.cjs +0 -6
  251. package/dist/Backdrop-BM-OE2Q_.cjs +0 -1
  252. package/dist/Box-BmfpLwYG.cjs +0 -1
  253. package/dist/Button-BGWvL_UD.cjs +0 -1
  254. package/dist/CardContent-GHLuvxgm.cjs +0 -1
  255. package/dist/Checkbox-BZYoJieY.cjs +0 -1
  256. package/dist/Chip-Cu_SZxrx.cjs +0 -1
  257. package/dist/CircularProgress-CdS7-HOv.cjs +0 -28
  258. package/dist/CustomTreeItem-BIl2yiro.cjs +0 -4
  259. package/dist/DatePicker-tyDzcyzu.cjs +0 -14
  260. package/dist/DefaultPropsProvider-BTnRBr0O.cjs +0 -1
  261. package/dist/Dialog-DIHzs0ro.cjs +0 -1
  262. package/dist/DialogContent-B-9ga3Wv.cjs +0 -1
  263. package/dist/DialogTitle-B_UN_oL2.cjs +0 -1
  264. package/dist/Divider-iYLSpFUc.cjs +0 -1
  265. package/dist/FormLabel-Cp2OFw8d.cjs +0 -2
  266. package/dist/Grow-DXY5DOqR.cjs +0 -1
  267. package/dist/IconButton-BLZJne06.cjs +0 -2
  268. package/dist/InputAdornment-C0WI_oQg.cjs +0 -1
  269. package/dist/InputBase-B3KOyouT.cjs +0 -3
  270. package/dist/Link-lvpmE2yz.cjs +0 -1
  271. package/dist/List-PQXGlDbt.cjs +0 -1
  272. package/dist/ListItem-CWEvdMjN.cjs +0 -1
  273. package/dist/ListItemText-BhxrnTkb.cjs +0 -1
  274. package/dist/ListItemText-CADHegDF.js +0 -928
  275. package/dist/Menu-DBacrp-P.cjs +0 -7
  276. package/dist/MenuItem-DkcVAo3U.cjs +0 -1
  277. package/dist/Modal-kUvS-N46.cjs +0 -2
  278. package/dist/Paper-ByOgFIEE.cjs +0 -2
  279. package/dist/Popper-CsQqc5DE.cjs +0 -4
  280. package/dist/Portal-7MKUQzjh.js +0 -81
  281. package/dist/Portal-DhGy1jKe.cjs +0 -1
  282. package/dist/Radio-DG-k6cXx.cjs +0 -1
  283. package/dist/RadioGroup-Dd0mX-H2.cjs +0 -1
  284. package/dist/Select-b6liJFDI.cjs +0 -3
  285. package/dist/Stack-gtxG2YLo.cjs +0 -1
  286. package/dist/Switch-BlwDxL6O.cjs +0 -1
  287. package/dist/SwitchBase-DtKlxrES.cjs +0 -1
  288. package/dist/SwitchBase-QwOXoy8f.js +0 -262
  289. package/dist/Tab-Dx7V4E6B.cjs +0 -4
  290. package/dist/TextField-CB2n4aV8.cjs +0 -1
  291. package/dist/ToggleButtonGroup-D3bdznCl.cjs +0 -137
  292. package/dist/Tooltip-D0jvnXYu.cjs +0 -4
  293. package/dist/Typography-3CpuuLtj.cjs +0 -1
  294. package/dist/capitalize-B3tmp8MO.cjs +0 -1
  295. package/dist/capitalize-Bs7Xs33U.js +0 -9
  296. package/dist/createSvgIcon-2wwaxLPT.cjs +0 -1
  297. package/dist/dividerClasses-izm7KFVg.cjs +0 -1
  298. package/dist/elementTypeAcceptingRef-GoqLuvj1.cjs +0 -1
  299. package/dist/extendSxProp-Bv3E507G.cjs +0 -1
  300. package/dist/generateUtilityClasses-KugHyZhN.cjs +0 -75
  301. package/dist/getReactElementRef-D7IvykPI.cjs +0 -1
  302. package/dist/index-9hEUqvaJ.cjs +0 -1
  303. package/dist/index-BomeQRLD.cjs +0 -5
  304. package/dist/index-DS8G_wjP.cjs +0 -1
  305. package/dist/listItemTextClasses-CQXcckDA.cjs +0 -1
  306. package/dist/refType-D-n-tVSl.cjs +0 -1
  307. package/dist/resolveComponentProps-Byi_59AN.cjs +0 -1
  308. package/dist/resolveComponentProps-Ctw0-dUN.js +0 -80
  309. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  310. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  311. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  312. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  313. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  314. package/dist/useForkRef-C_4o__cU.js +0 -15
  315. package/dist/useSlot-CGbU9jGm.cjs +0 -1
  316. package/dist/useSlot-CqjfyGd9.js +0 -48
  317. package/dist/useSlotProps-DfO7r_4Y.cjs +0 -1
  318. package/dist/useTheme-B6wow4M9.cjs +0 -1
  319. package/dist/useTheme-DepbBZga.js +0 -11
  320. package/dist/useTheme-MahNaB8C.cjs +0 -1
  321. package/dist/useThemeProps-BqypsO1h.cjs +0 -1
  322. package/dist/useThemeProps-Drd5oJEF.js +0 -17
  323. package/dist/utils-CUU5fjzL.cjs +0 -1
@@ -1,44 +1,43 @@
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-CqzQXpT_.js";
3
- import { jsx as T, jsxs as K } from "react/jsx-runtime";
4
- import { u as $e } from "./index-sDFEVHTg.js";
5
- import { u as ao } from "./useTheme-DepbBZga.js";
6
- import { u as he, s as $, c as se } from "./DefaultPropsProvider-CXfMJdg8.js";
7
- import { m as me } from "./memoTheme-B0xVysYu.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-BFqOnlgU.js";
12
- import { u as ne } from "./useSlotProps-Ceyorp-u.js";
13
- import { B as ze } from "./ButtonBase-CZFKUUHD.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-BvSJNaoq.js";
17
- import { u as po } from "./useThemeProps-Drd5oJEF.js";
18
- import { c as Le } from "./capitalize-Bs7Xs33U.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, F as ae, G as ie, H as j, Z as wo, K as ze } from "./identifier-BJqC6EXa.js";
3
+ import { jsx as T, jsxs as G } from "react/jsx-runtime";
4
+ import { u as Fe } from "./index-DP697UN9.js";
5
+ import { u as xo } from "./useTheme-Dt-VOIyT.js";
6
+ import { u as Se, s as D, c as ce } from "./DefaultPropsProvider-Bg-6nX-u.js";
7
+ import { m as ve } from "./memoTheme-D_Qap2ZW.js";
8
+ import { a as Bo, u as me } from "./useEventCallback-Yoj9nCug.js";
9
+ import { d as Ae } from "./debounce-46wSf_lW.js";
10
+ import { o as Ve } from "./ownerWindow-niciwP7I.js";
11
+ import { u as H } from "./useSlot-DhC6EPU2.js";
12
+ import { u as se } from "./useSlotProps-Bos9nSja.js";
13
+ import { c as He } from "./createSvgIcon-CCutbgLb.js";
14
+ import { B as Ue } from "./ButtonBase-BZXGvriS.js";
15
+ import { o as Co } from "./ownerDocument-CUrv0DIK.js";
16
+ import { r as Eo } from "./refType-DRBJ18fO.js";
17
+ import { u as Io } from "./useThemeProps-CxMYNgfp.js";
18
+ import { u as Po } from "./unsupportedProp-BuVD30Gh.js";
19
+ const Te = /* @__PURE__ */ s.createContext(null);
20
+ process.env.NODE_ENV !== "production" && (Te.displayName = "TabContext");
21
+ function Mo() {
22
+ const [t, o] = s.useState(null);
24
23
  return s.useEffect(() => {
25
- e(`mui-p-${Math.round(Math.random() * 1e5)}`);
24
+ o(`mui-p-${Math.round(Math.random() * 1e5)}`);
26
25
  }, []), t;
27
26
  }
28
- function ho(t) {
27
+ function Oo(t) {
29
28
  const {
30
- children: e,
31
- value: n
32
- } = t, a = bo(), i = s.useMemo(() => ({
29
+ children: o,
30
+ value: r
31
+ } = t, a = Mo(), i = s.useMemo(() => ({
33
32
  idPrefix: a,
34
- value: n
35
- }), [a, n]);
36
- return /* @__PURE__ */ T(ve.Provider, {
33
+ value: r
34
+ }), [a, r]);
35
+ return /* @__PURE__ */ T(Te.Provider, {
37
36
  value: i,
38
- children: e
37
+ children: o
39
38
  });
40
39
  }
41
- process.env.NODE_ENV !== "production" && (ho.propTypes = {
40
+ process.env.NODE_ENV !== "production" && (Oo.propTypes = {
42
41
  // ┌────────────────────────────── Warning ──────────────────────────────┐
43
42
  // │ These PropTypes are generated from the TypeScript type definitions. │
44
43
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -46,50 +45,50 @@ process.env.NODE_ENV !== "production" && (ho.propTypes = {
46
45
  /**
47
46
  * The content of the component.
48
47
  */
49
- children: o.node,
48
+ children: e.node,
50
49
  /**
51
50
  * The value of the currently selected `Tab`.
52
51
  */
53
- value: o.oneOfType([o.number, o.string]).isRequired
52
+ value: e.oneOfType([e.number, e.string]).isRequired
54
53
  });
55
- function Ae() {
56
- return s.useContext(ve);
54
+ function Ke() {
55
+ return s.useContext(Te);
57
56
  }
58
- function Fe(t, e) {
57
+ function Xe(t, o) {
59
58
  const {
60
- idPrefix: n
59
+ idPrefix: r
61
60
  } = t;
62
- return n === null ? null : `${t.idPrefix}-P-${e}`;
61
+ return r === null ? null : `${t.idPrefix}-P-${o}`;
63
62
  }
64
- function Ve(t, e) {
63
+ function _e(t, o) {
65
64
  const {
66
- idPrefix: n
65
+ idPrefix: r
67
66
  } = t;
68
- return n === null ? null : `${t.idPrefix}-T-${e}`;
67
+ return r === null ? null : `${t.idPrefix}-T-${o}`;
69
68
  }
70
- function mo(t) {
69
+ function Ro(t) {
71
70
  return (1 + Math.sin(Math.PI * t - Math.PI / 2)) / 2;
72
71
  }
73
- function vo(t, e, n, a = {}, i = () => {
72
+ function No(t, o, r, a = {}, i = () => {
74
73
  }) {
75
74
  const {
76
- ease: d = mo,
75
+ ease: d = Ro,
77
76
  duration: p = 300
78
77
  // standard
79
78
  } = a;
80
79
  let f = null;
81
- const h = e[t];
80
+ const h = o[t];
82
81
  let S = !1;
83
- const y = () => {
82
+ const v = () => {
84
83
  S = !0;
85
- }, m = (v) => {
84
+ }, m = (y) => {
86
85
  if (S) {
87
86
  i(new Error("Animation cancelled"));
88
87
  return;
89
88
  }
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) {
89
+ f === null && (f = y);
90
+ const g = Math.min(1, (y - f) / p);
91
+ if (o[t] = d(g) * (r - h) + h, g >= 1) {
93
92
  requestAnimationFrame(() => {
94
93
  i(null);
95
94
  });
@@ -97,72 +96,72 @@ function vo(t, e, n, a = {}, i = () => {
97
96
  }
98
97
  requestAnimationFrame(m);
99
98
  };
100
- return h === n ? (i(new Error("Element already at target position")), y) : (requestAnimationFrame(m), y);
99
+ return h === r ? (i(new Error("Element already at target position")), v) : (requestAnimationFrame(m), v);
101
100
  }
102
- const So = {
101
+ const jo = {
103
102
  width: 99,
104
103
  height: 99,
105
104
  position: "absolute",
106
105
  top: -9999,
107
106
  overflow: "scroll"
108
107
  };
109
- function He(t) {
108
+ function Ye(t) {
110
109
  const {
111
- onChange: e,
112
- ...n
110
+ onChange: o,
111
+ ...r
113
112
  } = t, a = s.useRef(), i = s.useRef(null), d = () => {
114
113
  a.current = i.current.offsetHeight - i.current.clientHeight;
115
114
  };
116
- return io(() => {
117
- const p = We(() => {
115
+ return Bo(() => {
116
+ const p = Ae(() => {
118
117
  const h = a.current;
119
- d(), h !== a.current && e(a.current);
120
- }), f = De(i.current);
118
+ d(), h !== a.current && o(a.current);
119
+ }), f = Ve(i.current);
121
120
  return f.addEventListener("resize", p), () => {
122
121
  p.clear(), f.removeEventListener("resize", p);
123
122
  };
124
- }, [e]), s.useEffect(() => {
125
- d(), e(a.current);
126
- }, [e]), /* @__PURE__ */ T("div", {
127
- style: So,
128
- ...n,
123
+ }, [o]), s.useEffect(() => {
124
+ d(), o(a.current);
125
+ }, [o]), /* @__PURE__ */ T("div", {
126
+ style: jo,
127
+ ...r,
129
128
  ref: i
130
129
  });
131
130
  }
132
- process.env.NODE_ENV !== "production" && (He.propTypes = {
133
- onChange: o.func.isRequired
131
+ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
132
+ onChange: e.func.isRequired
134
133
  });
135
- const yo = je(/* @__PURE__ */ T("path", {
134
+ const ko = He(/* @__PURE__ */ T("path", {
136
135
  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", {
136
+ }), "KeyboardArrowLeft"), $o = He(/* @__PURE__ */ T("path", {
138
137
  d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
139
138
  }), "KeyboardArrowRight");
140
- function go(t) {
141
- return le("MuiTabScrollButton", t);
139
+ function Do(t) {
140
+ return ie("MuiTabScrollButton", t);
142
141
  }
143
- const wo = re("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), xo = (t) => {
142
+ const Wo = ae("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), Lo = (t) => {
144
143
  const {
145
- classes: e,
146
- orientation: n,
144
+ classes: o,
145
+ orientation: r,
147
146
  disabled: a
148
147
  } = t;
149
- return se({
150
- root: ["root", n, a && "disabled"]
151
- }, go, e);
152
- }, Co = $(ze, {
148
+ return ce({
149
+ root: ["root", r, a && "disabled"]
150
+ }, Do, o);
151
+ }, zo = D(Ue, {
153
152
  name: "MuiTabScrollButton",
154
153
  slot: "Root",
155
- overridesResolver: (t, e) => {
154
+ overridesResolver: (t, o) => {
156
155
  const {
157
- ownerState: n
156
+ ownerState: r
158
157
  } = t;
159
- return [e.root, n.orientation && e[n.orientation]];
158
+ return [o.root, r.orientation && o[r.orientation]];
160
159
  }
161
160
  })({
162
161
  width: 40,
163
162
  flexShrink: 0,
164
163
  opacity: 0.8,
165
- [`&.${wo.disabled}`]: {
164
+ [`&.${Wo.disabled}`]: {
166
165
  opacity: 0
167
166
  },
168
167
  variants: [{
@@ -177,9 +176,9 @@ const wo = re("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
177
176
  }
178
177
  }
179
178
  }]
180
- }), Ue = /* @__PURE__ */ s.forwardRef(function(e, n) {
181
- const a = he({
182
- props: e,
179
+ }), qe = /* @__PURE__ */ s.forwardRef(function(o, r) {
180
+ const a = Se({
181
+ props: o,
183
182
  name: "MuiTabScrollButton"
184
183
  }), {
185
184
  className: i,
@@ -188,47 +187,47 @@ const wo = re("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
188
187
  direction: f,
189
188
  orientation: h,
190
189
  disabled: S,
191
- ...y
192
- } = a, m = $e(), v = {
190
+ ...v
191
+ } = a, m = Fe(), y = {
193
192
  isRtl: m,
194
193
  ...a
195
- }, g = xo(v), W = d.StartScrollButtonIcon ?? yo, E = d.EndScrollButtonIcon ?? To, w = ne({
194
+ }, g = Lo(y), W = d.StartScrollButtonIcon ?? ko, E = d.EndScrollButtonIcon ?? $o, x = se({
196
195
  elementType: W,
197
196
  externalSlotProps: p.startScrollButtonIcon,
198
197
  additionalProps: {
199
198
  fontSize: "small"
200
199
  },
201
- ownerState: v
202
- }), F = ne({
200
+ ownerState: y
201
+ }), Z = se({
203
202
  elementType: E,
204
203
  externalSlotProps: p.endScrollButtonIcon,
205
204
  additionalProps: {
206
205
  fontSize: "small"
207
206
  },
208
- ownerState: v
207
+ ownerState: y
209
208
  });
210
- return /* @__PURE__ */ T(Co, {
209
+ return /* @__PURE__ */ T(zo, {
211
210
  component: "div",
212
- className: R(g.root, i),
213
- ref: n,
211
+ className: j(g.root, i),
212
+ ref: r,
214
213
  role: null,
215
- ownerState: v,
214
+ ownerState: y,
216
215
  tabIndex: null,
217
- ...y,
216
+ ...v,
218
217
  style: {
219
- ...y.style,
218
+ ...v.style,
220
219
  ...h === "vertical" && {
221
220
  "--TabScrollButton-svgRotate": `rotate(${m ? -90 : 90}deg)`
222
221
  }
223
222
  },
224
223
  children: f === "left" ? /* @__PURE__ */ T(W, {
225
- ...w
224
+ ...x
226
225
  }) : /* @__PURE__ */ T(E, {
227
- ...F
226
+ ...Z
228
227
  })
229
228
  });
230
229
  });
231
- process.env.NODE_ENV !== "production" && (Ue.propTypes = {
230
+ process.env.NODE_ENV !== "production" && (qe.propTypes = {
232
231
  // ┌────────────────────────────── Warning ──────────────────────────────┐
233
232
  // │ These PropTypes are generated from the TypeScript type definitions. │
234
233
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -236,59 +235,59 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
236
235
  /**
237
236
  * The content of the component.
238
237
  */
239
- children: o.node,
238
+ children: e.node,
240
239
  /**
241
240
  * Override or extend the styles applied to the component.
242
241
  */
243
- classes: o.object,
242
+ classes: e.object,
244
243
  /**
245
244
  * @ignore
246
245
  */
247
- className: o.string,
246
+ className: e.string,
248
247
  /**
249
248
  * The direction the button should indicate.
250
249
  */
251
- direction: o.oneOf(["left", "right"]).isRequired,
250
+ direction: e.oneOf(["left", "right"]).isRequired,
252
251
  /**
253
252
  * If `true`, the component is disabled.
254
253
  * @default false
255
254
  */
256
- disabled: o.bool,
255
+ disabled: e.bool,
257
256
  /**
258
257
  * The component orientation (layout flow direction).
259
258
  */
260
- orientation: o.oneOf(["horizontal", "vertical"]).isRequired,
259
+ orientation: e.oneOf(["horizontal", "vertical"]).isRequired,
261
260
  /**
262
261
  * The extra props for the slot components.
263
262
  * You can override the existing props or add new ones.
264
263
  * @default {}
265
264
  */
266
- slotProps: o.shape({
267
- endScrollButtonIcon: o.oneOfType([o.func, o.object]),
268
- startScrollButtonIcon: o.oneOfType([o.func, o.object])
265
+ slotProps: e.shape({
266
+ endScrollButtonIcon: e.oneOfType([e.func, e.object]),
267
+ startScrollButtonIcon: e.oneOfType([e.func, e.object])
269
268
  }),
270
269
  /**
271
270
  * The components used for each slot inside.
272
271
  * @default {}
273
272
  */
274
- slots: o.shape({
275
- EndScrollButtonIcon: o.elementType,
276
- StartScrollButtonIcon: o.elementType
273
+ slots: e.shape({
274
+ EndScrollButtonIcon: e.elementType,
275
+ StartScrollButtonIcon: e.elementType
277
276
  }),
278
277
  /**
279
278
  * @ignore
280
279
  */
281
- style: o.object,
280
+ style: e.object,
282
281
  /**
283
282
  * The system prop that allows defining system overrides as well as additional CSS styles.
284
283
  */
285
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
284
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
286
285
  });
287
- function Bo(t) {
288
- return le("MuiTabs", t);
286
+ function Fo(t) {
287
+ return ie("MuiTabs", t);
289
288
  }
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);
289
+ 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) => {
290
+ let a = !1, i = r(t, o);
292
291
  for (; i; ) {
293
292
  if (i === t.firstChild) {
294
293
  if (a)
@@ -297,16 +296,16 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
297
296
  }
298
297
  const d = i.disabled || i.getAttribute("aria-disabled") === "true";
299
298
  if (!i.hasAttribute("tabindex") || d)
300
- i = n(t, i);
299
+ i = r(t, i);
301
300
  else {
302
301
  i.focus();
303
302
  return;
304
303
  }
305
304
  }
306
- }, Eo = (t) => {
305
+ }, Ao = (t) => {
307
306
  const {
308
- vertical: e,
309
- fixed: n,
307
+ vertical: o,
308
+ fixed: r,
310
309
  hideScrollbar: a,
311
310
  scrollableX: i,
312
311
  scrollableY: d,
@@ -314,29 +313,29 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
314
313
  scrollButtonsHideMobile: f,
315
314
  classes: h
316
315
  } = 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"],
316
+ return ce({
317
+ root: ["root", o && "vertical"],
318
+ scroller: ["scroller", r && "fixed", a && "hideScrollbar", i && "scrollableX", d && "scrollableY"],
319
+ list: ["list", "flexContainer", o && "flexContainerVertical", o && "vertical", p && "centered"],
321
320
  indicator: ["indicator"],
322
321
  scrollButtons: ["scrollButtons", f && "scrollButtonsHideMobile"],
323
322
  scrollableX: [i && "scrollableX"],
324
323
  hideScrollbar: [a && "hideScrollbar"]
325
- }, Bo, h);
326
- }, Io = $("div", {
324
+ }, Fo, h);
325
+ }, Vo = D("div", {
327
326
  name: "MuiTabs",
328
327
  slot: "Root",
329
- overridesResolver: (t, e) => {
328
+ overridesResolver: (t, o) => {
330
329
  const {
331
- ownerState: n
330
+ ownerState: r
332
331
  } = t;
333
332
  return [{
334
- [`& .${be.scrollButtons}`]: e.scrollButtons
333
+ [`& .${ye.scrollButtons}`]: o.scrollButtons
335
334
  }, {
336
- [`& .${be.scrollButtons}`]: n.scrollButtonsHideMobile && e.scrollButtonsHideMobile
337
- }, e.root, n.vertical && e.vertical];
335
+ [`& .${ye.scrollButtons}`]: r.scrollButtonsHideMobile && o.scrollButtonsHideMobile
336
+ }, o.root, r.vertical && o.vertical];
338
337
  }
339
- })(me(({
338
+ })(ve(({
340
339
  theme: t
341
340
  }) => ({
342
341
  overflow: "hidden",
@@ -346,31 +345,31 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
346
345
  display: "flex",
347
346
  variants: [{
348
347
  props: ({
349
- ownerState: e
350
- }) => e.vertical,
348
+ ownerState: o
349
+ }) => o.vertical,
351
350
  style: {
352
351
  flexDirection: "column"
353
352
  }
354
353
  }, {
355
354
  props: ({
356
- ownerState: e
357
- }) => e.scrollButtonsHideMobile,
355
+ ownerState: o
356
+ }) => o.scrollButtonsHideMobile,
358
357
  style: {
359
- [`& .${be.scrollButtons}`]: {
358
+ [`& .${ye.scrollButtons}`]: {
360
359
  [t.breakpoints.down("sm")]: {
361
360
  display: "none"
362
361
  }
363
362
  }
364
363
  }
365
364
  }]
366
- }))), Mo = $("div", {
365
+ }))), Ho = D("div", {
367
366
  name: "MuiTabs",
368
367
  slot: "Scroller",
369
- overridesResolver: (t, e) => {
368
+ overridesResolver: (t, o) => {
370
369
  const {
371
- ownerState: n
370
+ ownerState: r
372
371
  } = t;
373
- return [e.scroller, n.fixed && e.fixed, n.hideScrollbar && e.hideScrollbar, n.scrollableX && e.scrollableX, n.scrollableY && e.scrollableY];
372
+ return [o.scroller, r.fixed && o.fixed, r.hideScrollbar && o.hideScrollbar, r.scrollableX && o.scrollableX, r.scrollableY && o.scrollableY];
374
373
  }
375
374
  })({
376
375
  position: "relative",
@@ -415,14 +414,14 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
415
414
  overflowX: "hidden"
416
415
  }
417
416
  }]
418
- }), No = $("div", {
417
+ }), Uo = D("div", {
419
418
  name: "MuiTabs",
420
- slot: "FlexContainer",
421
- overridesResolver: (t, e) => {
419
+ slot: "List",
420
+ overridesResolver: (t, o) => {
422
421
  const {
423
- ownerState: n
422
+ ownerState: r
424
423
  } = t;
425
- return [e.flexContainer, n.vertical && e.flexContainerVertical, n.centered && e.centered];
424
+ return [o.list, o.flexContainer, r.vertical && o.flexContainerVertical, r.centered && o.centered];
426
425
  }
427
426
  })({
428
427
  display: "flex",
@@ -441,11 +440,11 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
441
440
  justifyContent: "center"
442
441
  }
443
442
  }]
444
- }), Po = $("span", {
443
+ }), Ko = D("span", {
445
444
  name: "MuiTabs",
446
445
  slot: "Indicator",
447
- overridesResolver: (t, e) => e.indicator
448
- })(me(({
446
+ overridesResolver: (t, o) => o.indicator
447
+ })(ve(({
449
448
  theme: t
450
449
  }) => ({
451
450
  position: "absolute",
@@ -469,15 +468,15 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
469
468
  }
470
469
  }, {
471
470
  props: ({
472
- ownerState: e
473
- }) => e.vertical,
471
+ ownerState: o
472
+ }) => o.vertical,
474
473
  style: {
475
474
  height: "100%",
476
475
  width: 2,
477
476
  right: 0
478
477
  }
479
478
  }]
480
- }))), Ro = $(He)({
479
+ }))), Xo = D(Ye)({
481
480
  overflowX: "auto",
482
481
  overflowY: "hidden",
483
482
  // Hide dimensionless scrollbar on macOS
@@ -487,76 +486,86 @@ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
487
486
  display: "none"
488
487
  // Safari + Chrome
489
488
  }
490
- }), Oe = {};
491
- let ke = !1;
492
- const Xe = /* @__PURE__ */ s.forwardRef(function(e, n) {
493
- const a = he({
494
- props: e,
489
+ }), We = {};
490
+ let Le = !1;
491
+ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
492
+ const a = Se({
493
+ props: o,
495
494
  name: "MuiTabs"
496
- }), i = ao(), d = $e(), {
495
+ }), i = xo(), d = Fe(), {
497
496
  "aria-label": p,
498
497
  "aria-labelledby": f,
499
498
  action: h,
500
499
  centered: S = !1,
501
- children: y,
500
+ children: v,
502
501
  className: m,
503
- component: v = "div",
502
+ component: y = "div",
504
503
  allowScrollButtonsMobile: g = !1,
505
504
  indicatorColor: W = "primary",
506
505
  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 = {
506
+ orientation: x = "horizontal",
507
+ ScrollButtonComponent: Z,
508
+ // TODO: remove in v7 (deprecated in v6)
509
+ scrollButtons: P = "auto",
510
+ selectionFollowsFocus: de,
511
+ slots: M = {},
512
+ slotProps: A = {},
513
+ TabIndicatorProps: U = {},
514
+ // TODO: remove in v7 (deprecated in v6)
515
+ TabScrollButtonProps: K = {},
516
+ // TODO: remove in v7 (deprecated in v6)
517
+ textColor: J = "primary",
518
+ value: k,
519
+ variant: O = "standard",
520
+ visibleScrollbar: ue = !1,
521
+ ...Ze
522
+ } = a, B = O === "scrollable", C = x === "vertical", X = C ? "scrollTop" : "scrollLeft", Q = C ? "top" : "left", ee = C ? "bottom" : "right", pe = C ? "clientHeight" : "clientWidth", _ = C ? "height" : "width", R = {
521
523
  ...a,
522
- component: v,
524
+ component: y,
523
525
  allowScrollButtonsMobile: g,
524
526
  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,
527
+ orientation: x,
528
+ vertical: C,
529
+ scrollButtons: P,
530
+ textColor: J,
531
+ variant: O,
532
+ visibleScrollbar: ue,
533
+ fixed: !B,
534
+ hideScrollbar: B && !ue,
535
+ scrollableX: B && !C,
536
+ scrollableY: B && C,
537
+ centered: S && !B,
536
538
  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
539
+ }, $ = Ao(R), Je = se({
540
+ elementType: M.StartScrollButtonIcon,
541
+ externalSlotProps: A.startScrollButtonIcon,
542
+ ownerState: R
543
+ }), Qe = se({
544
+ elementType: M.EndScrollButtonIcon,
545
+ externalSlotProps: A.endScrollButtonIcon,
546
+ ownerState: R
545
547
  });
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({
548
+ 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.');
549
+ 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
550
  overflow: "hidden",
549
551
  scrollbarWidth: 0
550
- }), Z = /* @__PURE__ */ new Map(), P = s.useRef(null), L = s.useRef(null), Ce = () => {
551
- const r = P.current;
552
+ }), oe = /* @__PURE__ */ new Map(), N = s.useRef(null), z = s.useRef(null), V = {
553
+ slots: M,
554
+ slotProps: {
555
+ indicator: U,
556
+ scrollButton: K,
557
+ ...A
558
+ }
559
+ }, Ie = () => {
560
+ const n = N.current;
552
561
  let l;
553
- if (r) {
554
- const u = r.getBoundingClientRect();
562
+ if (n) {
563
+ const u = n.getBoundingClientRect();
555
564
  l = {
556
- clientWidth: r.clientWidth,
557
- scrollLeft: r.scrollLeft,
558
- scrollTop: r.scrollTop,
559
- scrollWidth: r.scrollWidth,
565
+ clientWidth: n.clientWidth,
566
+ scrollLeft: n.scrollLeft,
567
+ scrollTop: n.scrollTop,
568
+ scrollWidth: n.scrollWidth,
560
569
  top: u.top,
561
570
  bottom: u.bottom,
562
571
  left: u.left,
@@ -564,253 +573,288 @@ const Xe = /* @__PURE__ */ s.forwardRef(function(e, n) {
564
573
  };
565
574
  }
566
575
  let c;
567
- if (r && O !== !1) {
568
- const u = L.current.children;
576
+ if (n && k !== !1) {
577
+ const u = z.current.children;
569
578
  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);
579
+ const b = u[oe.get(k)];
580
+ 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(`
581
+ `))), 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
582
+ 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(`
583
+ `)), Le = !0);
575
584
  }
576
585
  }
577
586
  return {
578
587
  tabsMeta: l,
579
588
  tabMeta: c
580
589
  };
581
- }, Y = fe(() => {
590
+ }, Y = me(() => {
582
591
  const {
583
- tabsMeta: r,
592
+ tabsMeta: n,
584
593
  tabMeta: l
585
- } = Ce();
594
+ } = Ie();
586
595
  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)));
596
+ 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
597
  const b = {
589
598
  [u]: c,
590
599
  // May be wrong until the font is loaded.
591
600
  [_]: l ? l[_] : 0
592
601
  };
593
- if (typeof z[u] != "number" || typeof z[_] != "number")
594
- ye(b);
602
+ if (typeof L[u] != "number" || typeof L[_] != "number")
603
+ we(b);
595
604
  else {
596
- const I = Math.abs(z[u] - b[u]), A = Math.abs(z[_] - b[_]);
597
- (I >= 1 || A >= 1) && ye(b);
605
+ const I = Math.abs(L[u] - b[u]), F = Math.abs(L[_] - b[_]);
606
+ (I >= 1 || F >= 1) && we(b);
598
607
  }
599
- }), de = (r, {
608
+ }), fe = (n, {
600
609
  animation: l = !0
601
610
  } = {}) => {
602
- l ? vo(X, P.current, r, {
611
+ l ? No(X, N.current, n, {
603
612
  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];
613
+ }) : N.current[X] = n;
614
+ }, Pe = (n) => {
615
+ let l = N.current[X];
616
+ C ? l += n : l += n * (d ? -1 : 1), fe(l);
617
+ }, Me = () => {
618
+ const n = N.current[pe];
610
619
  let l = 0;
611
- const c = Array.from(L.current.children);
620
+ const c = Array.from(z.current.children);
612
621
  for (let u = 0; u < c.length; u += 1) {
613
622
  const b = c[u];
614
- if (l + b[ce] > r) {
615
- u === 0 && (l = r);
623
+ if (l + b[pe] > n) {
624
+ u === 0 && (l = n);
616
625
  break;
617
626
  }
618
- l += b[ce];
627
+ l += b[pe];
619
628
  }
620
629
  return l;
621
- }, eo = () => {
622
- Be(-1 * Ee());
623
- }, oo = () => {
624
- Be(Ee());
625
- }, to = s.useCallback((r) => {
626
- Ze({
630
+ }, lo = () => {
631
+ Pe(-1 * Me());
632
+ }, so = () => {
633
+ Pe(Me());
634
+ }, [ao, {
635
+ onChange: te,
636
+ ...io
637
+ }] = H("scrollbar", {
638
+ className: j($.scrollableX, $.hideScrollbar),
639
+ elementType: Xo,
640
+ shouldForwardComponentProp: !0,
641
+ externalForwardedProps: V,
642
+ ownerState: R
643
+ }), co = s.useCallback((n) => {
644
+ te == null || te(n), ro({
627
645
  overflow: null,
628
- scrollbarWidth: r
646
+ scrollbarWidth: n
629
647
  });
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, {
648
+ }, [te]), [Oe, Re] = H("scrollButtons", {
649
+ className: j($.scrollButtons, K.className),
650
+ elementType: qe,
651
+ externalForwardedProps: V,
652
+ ownerState: R,
653
+ additionalProps: {
654
+ orientation: x,
638
655
  slots: {
639
- StartScrollButtonIcon: V.StartScrollButtonIcon
656
+ StartScrollButtonIcon: M.startScrollButtonIcon || M.StartScrollButtonIcon,
657
+ EndScrollButtonIcon: M.endScrollButtonIcon || M.EndScrollButtonIcon
640
658
  },
641
659
  slotProps: {
642
- startScrollButtonIcon: Ye
643
- },
644
- orientation: w,
660
+ startScrollButtonIcon: Je,
661
+ endScrollButtonIcon: Qe
662
+ }
663
+ }
664
+ }), uo = () => {
665
+ const n = {};
666
+ n.scrollbarSizeListener = B ? /* @__PURE__ */ T(ao, {
667
+ ...io,
668
+ onChange: co
669
+ }) : null;
670
+ const c = B && (P === "auto" && (xe || Be) || P === !0);
671
+ return n.scrollButtonStart = c ? /* @__PURE__ */ T(Oe, {
645
672
  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,
673
+ onClick: lo,
674
+ disabled: !xe,
675
+ ...Re
676
+ }) : null, n.scrollButtonEnd = c ? /* @__PURE__ */ T(Oe, {
658
677
  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) => {
678
+ onClick: so,
679
+ disabled: !Be,
680
+ ...Re
681
+ }) : null, n;
682
+ }, Ne = me((n) => {
665
683
  const {
666
684
  tabsMeta: l,
667
685
  tabMeta: c
668
- } = Ce();
686
+ } = Ie();
669
687
  if (!(!c || !l)) {
670
- if (c[J] < l[J]) {
671
- const u = l[X] + (c[J] - l[J]);
672
- de(u, {
673
- animation: r
674
- });
675
- } else if (c[Q] > l[Q]) {
688
+ if (c[Q] < l[Q]) {
676
689
  const u = l[X] + (c[Q] - l[Q]);
677
- de(u, {
678
- animation: r
690
+ fe(u, {
691
+ animation: n
692
+ });
693
+ } else if (c[ee] > l[ee]) {
694
+ const u = l[X] + (c[ee] - l[ee]);
695
+ fe(u, {
696
+ animation: n
679
697
  });
680
698
  }
681
699
  }
682
- }), ee = fe(() => {
683
- C && M !== !1 && Qe(!we);
700
+ }), ne = me(() => {
701
+ B && P !== !1 && no(!Ce);
684
702
  });
685
703
  s.useEffect(() => {
686
- const r = We(() => {
687
- P.current && Y();
704
+ const n = Ae(() => {
705
+ N.current && Y();
688
706
  });
689
707
  let l;
690
708
  const c = (I) => {
691
- I.forEach((A) => {
692
- A.removedNodes.forEach((q) => {
709
+ I.forEach((F) => {
710
+ F.removedNodes.forEach((q) => {
693
711
  l == null || l.unobserve(q);
694
- }), A.addedNodes.forEach((q) => {
712
+ }), F.addedNodes.forEach((q) => {
695
713
  l == null || l.observe(q);
696
714
  });
697
- }), r(), ee();
698
- }, u = De(P.current);
699
- u.addEventListener("resize", r);
715
+ }), n(), ne();
716
+ }, u = Ve(N.current);
717
+ u.addEventListener("resize", n);
700
718
  let b;
701
- return typeof ResizeObserver < "u" && (l = new ResizeObserver(r), Array.from(L.current.children).forEach((I) => {
719
+ return typeof ResizeObserver < "u" && (l = new ResizeObserver(n), Array.from(z.current.children).forEach((I) => {
702
720
  l.observe(I);
703
- })), typeof MutationObserver < "u" && (b = new MutationObserver(c), b.observe(L.current, {
721
+ })), typeof MutationObserver < "u" && (b = new MutationObserver(c), b.observe(z.current, {
704
722
  childList: !0
705
723
  })), () => {
706
- r.clear(), u.removeEventListener("resize", r), b == null || b.disconnect(), l == null || l.disconnect();
724
+ n.clear(), u.removeEventListener("resize", n), b == null || b.disconnect(), l == null || l.disconnect();
707
725
  };
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,
726
+ }, [Y, ne]), s.useEffect(() => {
727
+ const n = Array.from(z.current.children), l = n.length;
728
+ if (typeof IntersectionObserver < "u" && l > 0 && B && P !== !1) {
729
+ const c = n[0], u = n[l - 1], b = {
730
+ root: N.current,
713
731
  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();
732
+ }, I = (he) => {
733
+ oo(!he[0].isIntersecting);
734
+ }, F = new IntersectionObserver(I, b);
735
+ F.observe(c);
736
+ const q = (he) => {
737
+ to(!he[0].isIntersecting);
738
+ }, ke = new IntersectionObserver(q, b);
739
+ return ke.observe(u), () => {
740
+ F.disconnect(), ke.disconnect();
723
741
  };
724
742
  }
725
- }, [C, M, we, y == null ? void 0 : y.length]), s.useEffect(() => {
726
- Ke(!0);
743
+ }, [B, P, Ce, v == null ? void 0 : v.length]), s.useEffect(() => {
744
+ eo(!0);
727
745
  }, []), s.useEffect(() => {
728
746
  Y();
729
747
  }), s.useEffect(() => {
730
- Ie(Oe !== z);
731
- }, [Ie, z]), s.useImperativeHandle(h, () => ({
748
+ Ne(We !== L);
749
+ }, [Ne, L]), s.useImperativeHandle(h, () => ({
732
750
  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
751
+ updateScrollButtons: ne
752
+ }), [Y, ne]);
753
+ const [po, fo] = H("indicator", {
754
+ className: j($.indicator, U.className),
755
+ elementType: Ko,
756
+ externalForwardedProps: V,
757
+ ownerState: R,
758
+ additionalProps: {
759
+ style: L
742
760
  }
761
+ }), je = /* @__PURE__ */ T(po, {
762
+ ...fo
743
763
  });
744
- let oe = 0;
745
- const ro = s.Children.map(y, (r) => {
746
- if (!/* @__PURE__ */ s.isValidElement(r))
764
+ let re = 0;
765
+ const bo = s.Children.map(v, (n) => {
766
+ if (!/* @__PURE__ */ s.isValidElement(n))
747
767
  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(`
768
+ 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
769
  `));
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,
770
+ const l = n.props.value === void 0 ? re : n.props.value;
771
+ oe.set(l, re);
772
+ const c = l === k;
773
+ return re += 1, /* @__PURE__ */ s.cloneElement(n, {
774
+ fullWidth: O === "fullWidth",
775
+ indicator: c && !ge && je,
756
776
  selected: c,
757
- selectionFollowsFocus: ae,
777
+ selectionFollowsFocus: de,
758
778
  onChange: E,
759
- textColor: G,
779
+ textColor: J,
760
780
  value: l,
761
- ...oe === 1 && O === !1 && !r.props.tabIndex ? {
781
+ ...re === 1 && k === !1 && !n.props.tabIndex ? {
762
782
  tabIndex: 0
763
783
  } : {}
764
784
  });
765
- }), lo = (r) => {
766
- const l = L.current, c = co(l).activeElement;
785
+ }), ho = (n) => {
786
+ if (n.altKey || n.shiftKey || n.ctrlKey || n.metaKey)
787
+ return;
788
+ const l = z.current, c = Co(l).activeElement;
767
789
  if (c.getAttribute("role") !== "tab")
768
790
  return;
769
- let b = w === "horizontal" ? "ArrowLeft" : "ArrowUp", I = w === "horizontal" ? "ArrowRight" : "ArrowDown";
770
- switch (w === "horizontal" && d && (b = "ArrowRight", I = "ArrowLeft"), r.key) {
791
+ let b = x === "horizontal" ? "ArrowLeft" : "ArrowUp", I = x === "horizontal" ? "ArrowRight" : "ArrowDown";
792
+ switch (x === "horizontal" && d && (b = "ArrowRight", I = "ArrowLeft"), n.key) {
771
793
  case b:
772
- r.preventDefault(), te(l, c, Re);
794
+ n.preventDefault(), le(l, c, De);
773
795
  break;
774
796
  case I:
775
- r.preventDefault(), te(l, c, Pe);
797
+ n.preventDefault(), le(l, c, $e);
776
798
  break;
777
799
  case "Home":
778
- r.preventDefault(), te(l, null, Pe);
800
+ n.preventDefault(), le(l, null, $e);
779
801
  break;
780
802
  case "End":
781
- r.preventDefault(), te(l, null, Re);
803
+ n.preventDefault(), le(l, null, De);
782
804
  break;
783
805
  }
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,
806
+ }, be = uo(), [mo, yo] = H("root", {
807
+ ref: r,
808
+ className: j($.root, m),
809
+ elementType: Vo,
810
+ externalForwardedProps: {
811
+ ...V,
812
+ ...Ze,
813
+ component: y
814
+ },
815
+ ownerState: R
816
+ }), [So, vo] = H("scroller", {
817
+ ref: N,
818
+ className: $.scroller,
819
+ elementType: Ho,
820
+ externalForwardedProps: V,
821
+ ownerState: R,
822
+ additionalProps: {
794
823
  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, {
824
+ overflow: Ee.overflow,
825
+ [C ? `margin${d ? "Left" : "Right"}` : "marginBottom"]: ue ? void 0 : -Ee.scrollbarWidth
826
+ }
827
+ }
828
+ }), [To, go] = H("list", {
829
+ ref: z,
830
+ className: j($.list, $.flexContainer),
831
+ elementType: Uo,
832
+ externalForwardedProps: V,
833
+ ownerState: R,
834
+ getSlotProps: (n) => ({
835
+ ...n,
836
+ onKeyDown: (l) => {
837
+ var c;
838
+ ho(l), (c = n.onKeyDown) == null || c.call(n, l);
839
+ }
840
+ })
841
+ });
842
+ return /* @__PURE__ */ G(mo, {
843
+ ...yo,
844
+ children: [be.scrollButtonStart, be.scrollbarSizeListener, /* @__PURE__ */ G(So, {
845
+ ...vo,
846
+ children: [/* @__PURE__ */ T(To, {
800
847
  "aria-label": p,
801
848
  "aria-labelledby": f,
802
- "aria-orientation": w === "vertical" ? "vertical" : null,
803
- className: k.flexContainer,
804
- ownerState: j,
805
- onKeyDown: lo,
806
- ref: L,
849
+ "aria-orientation": x === "vertical" ? "vertical" : null,
807
850
  role: "tablist",
808
- children: ro
809
- }), Se && Me]
810
- }), ue.scrollButtonEnd]
851
+ ...go,
852
+ children: bo
853
+ }), ge && je]
854
+ }), be.scrollButtonEnd]
811
855
  });
812
856
  });
813
- process.env.NODE_ENV !== "production" && (Xe.propTypes = {
857
+ process.env.NODE_ENV !== "production" && (Ge.propTypes = {
814
858
  // ┌────────────────────────────── Warning ──────────────────────────────┐
815
859
  // │ These PropTypes are generated from the TypeScript type definitions. │
816
860
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -823,66 +867,67 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
823
867
  * @param {object} actions This object contains all possible actions
824
868
  * that can be triggered programmatically.
825
869
  */
826
- action: uo,
870
+ action: Eo,
827
871
  /**
828
872
  * If `true`, the scroll buttons aren't forced hidden on mobile.
829
873
  * By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.
830
874
  * @default false
831
875
  */
832
- allowScrollButtonsMobile: o.bool,
876
+ allowScrollButtonsMobile: e.bool,
833
877
  /**
834
878
  * The label for the Tabs as a string.
835
879
  */
836
- "aria-label": o.string,
880
+ "aria-label": e.string,
837
881
  /**
838
882
  * An id or list of ids separated by a space that label the Tabs.
839
883
  */
840
- "aria-labelledby": o.string,
884
+ "aria-labelledby": e.string,
841
885
  /**
842
886
  * If `true`, the tabs are centered.
843
887
  * This prop is intended for large views.
844
888
  * @default false
845
889
  */
846
- centered: o.bool,
890
+ centered: e.bool,
847
891
  /**
848
892
  * The content of the component.
849
893
  */
850
- children: o.node,
894
+ children: e.node,
851
895
  /**
852
896
  * Override or extend the styles applied to the component.
853
897
  */
854
- classes: o.object,
898
+ classes: e.object,
855
899
  /**
856
900
  * @ignore
857
901
  */
858
- className: o.string,
902
+ className: e.string,
859
903
  /**
860
904
  * The component used for the root node.
861
905
  * Either a string to use a HTML element or a component.
862
906
  */
863
- component: o.elementType,
907
+ component: e.elementType,
864
908
  /**
865
909
  * Determines the color of the indicator.
866
910
  * @default 'primary'
867
911
  */
868
- indicatorColor: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
912
+ indicatorColor: e.oneOfType([e.oneOf(["primary", "secondary"]), e.string]),
869
913
  /**
870
914
  * Callback fired when the value changes.
871
915
  *
872
916
  * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
873
917
  * @param {any} value We default to the index of the child (number)
874
918
  */
875
- onChange: o.func,
919
+ onChange: e.func,
876
920
  /**
877
921
  * The component orientation (layout flow direction).
878
922
  * @default 'horizontal'
879
923
  */
880
- orientation: o.oneOf(["horizontal", "vertical"]),
924
+ orientation: e.oneOf(["horizontal", "vertical"]),
881
925
  /**
882
926
  * The component used to render the scroll buttons.
927
+ * @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
928
  * @default TabScrollButton
884
929
  */
885
- ScrollButtonComponent: o.elementType,
930
+ ScrollButtonComponent: e.elementType,
886
931
  /**
887
932
  * Determine behavior of scroll buttons when tabs are set to scroll:
888
933
  *
@@ -894,53 +939,68 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
894
939
  * This behavior can be disabled with `allowScrollButtonsMobile`.
895
940
  * @default 'auto'
896
941
  */
897
- scrollButtons: o.oneOf(["auto", !1, !0]),
942
+ scrollButtons: e.oneOf(["auto", !1, !0]),
898
943
  /**
899
944
  * If `true` the selected tab changes on focus. Otherwise it only
900
945
  * changes on activation.
901
946
  */
902
- selectionFollowsFocus: o.bool,
947
+ selectionFollowsFocus: e.bool,
903
948
  /**
904
- * The extra props for the slot components.
905
- * You can override the existing props or add new ones.
949
+ * The props used for each slot inside.
906
950
  * @default {}
907
951
  */
908
- slotProps: o.shape({
909
- endScrollButtonIcon: o.oneOfType([o.func, o.object]),
910
- startScrollButtonIcon: o.oneOfType([o.func, o.object])
952
+ slotProps: e.shape({
953
+ endScrollButtonIcon: e.oneOfType([e.func, e.object]),
954
+ indicator: e.oneOfType([e.func, e.object]),
955
+ list: e.oneOfType([e.func, e.object]),
956
+ root: e.oneOfType([e.func, e.object]),
957
+ scrollbar: e.oneOfType([e.func, e.object]),
958
+ scrollButtons: e.oneOfType([e.func, e.object]),
959
+ scroller: e.oneOfType([e.func, e.object]),
960
+ startScrollButtonIcon: e.oneOfType([e.func, e.object])
911
961
  }),
912
962
  /**
913
963
  * The components used for each slot inside.
914
964
  * @default {}
915
965
  */
916
- slots: o.shape({
917
- EndScrollButtonIcon: o.elementType,
918
- StartScrollButtonIcon: o.elementType
966
+ slots: e.shape({
967
+ endScrollButtonIcon: e.elementType,
968
+ EndScrollButtonIcon: e.elementType,
969
+ indicator: e.elementType,
970
+ list: e.elementType,
971
+ root: e.elementType,
972
+ scrollbar: e.elementType,
973
+ scrollButtons: e.elementType,
974
+ scroller: e.elementType,
975
+ startScrollButtonIcon: e.elementType,
976
+ StartScrollButtonIcon: e.elementType
919
977
  }),
920
978
  /**
921
979
  * The system prop that allows defining system overrides as well as additional CSS styles.
922
980
  */
923
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
981
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
924
982
  /**
925
983
  * Props applied to the tab indicator element.
984
+ * @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
985
  * @default {}
927
986
  */
928
- TabIndicatorProps: o.object,
987
+ TabIndicatorProps: e.object,
929
988
  /**
930
989
  * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
990
+ * @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
991
  * @default {}
932
992
  */
933
- TabScrollButtonProps: o.object,
993
+ TabScrollButtonProps: e.object,
934
994
  /**
935
995
  * Determines the color of the `Tab`.
936
996
  * @default 'primary'
937
997
  */
938
- textColor: o.oneOf(["inherit", "primary", "secondary"]),
998
+ textColor: e.oneOf(["inherit", "primary", "secondary"]),
939
999
  /**
940
1000
  * The value of the currently selected `Tab`.
941
1001
  * If you don't want any selected `Tab`, you can set this prop to `false`.
942
1002
  */
943
- value: o.any,
1003
+ value: e.any,
944
1004
  /**
945
1005
  * Determines additional display behavior of the tabs:
946
1006
  *
@@ -951,34 +1011,34 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
951
1011
  * - `standard` will render the default state.
952
1012
  * @default 'standard'
953
1013
  */
954
- variant: o.oneOf(["fullWidth", "scrollable", "standard"]),
1014
+ variant: e.oneOf(["fullWidth", "scrollable", "standard"]),
955
1015
  /**
956
1016
  * If `true`, the scrollbar is visible. It can be useful when displaying
957
1017
  * a long vertical list of tabs.
958
1018
  * @default false
959
1019
  */
960
- visibleScrollbar: o.bool
1020
+ visibleScrollbar: e.bool
961
1021
  });
962
- const Oo = /* @__PURE__ */ s.forwardRef(function(e, n) {
1022
+ const _o = /* @__PURE__ */ s.forwardRef(function(o, r) {
963
1023
  const {
964
1024
  children: a,
965
1025
  ...i
966
- } = e, d = Ae();
1026
+ } = o, d = Ke();
967
1027
  if (d === null)
968
1028
  throw new TypeError("No TabContext provided");
969
1029
  const p = s.Children.map(a, (f) => /* @__PURE__ */ s.isValidElement(f) ? /* @__PURE__ */ s.cloneElement(f, {
970
1030
  // SOMEDAY: `Tabs` will set those themselves
971
- "aria-controls": Fe(d, f.props.value),
972
- id: Ve(d, f.props.value)
1031
+ "aria-controls": Xe(d, f.props.value),
1032
+ id: _e(d, f.props.value)
973
1033
  }) : null);
974
- return /* @__PURE__ */ T(Xe, {
1034
+ return /* @__PURE__ */ T(Ge, {
975
1035
  ...i,
976
- ref: n,
1036
+ ref: r,
977
1037
  value: d.value,
978
1038
  children: p
979
1039
  });
980
1040
  });
981
- process.env.NODE_ENV !== "production" && (Oo.propTypes = {
1041
+ process.env.NODE_ENV !== "production" && (_o.propTypes = {
982
1042
  // ┌────────────────────────────── Warning ──────────────────────────────┐
983
1043
  // │ These PropTypes are generated from the TypeScript type definitions. │
984
1044
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -986,30 +1046,30 @@ process.env.NODE_ENV !== "production" && (Oo.propTypes = {
986
1046
  /**
987
1047
  * A list of `<Tab />` elements.
988
1048
  */
989
- children: o.node
1049
+ children: e.node
990
1050
  });
991
- function ko(t) {
992
- return le("MuiTabPanel", t);
1051
+ function Yo(t) {
1052
+ return ie("MuiTabPanel", t);
993
1053
  }
994
- const lt = re("MuiTabPanel", ["root", "hidden"]), $o = (t) => {
1054
+ const vt = ae("MuiTabPanel", ["root", "hidden"]), qo = (t) => {
995
1055
  const {
996
- classes: e,
997
- hidden: n
1056
+ classes: o,
1057
+ hidden: r
998
1058
  } = t;
999
- return se({
1000
- root: ["root", n && "hidden"]
1001
- }, ko, e);
1002
- }, Wo = $("div", {
1059
+ return ce({
1060
+ root: ["root", r && "hidden"]
1061
+ }, Yo, o);
1062
+ }, Go = D("div", {
1003
1063
  name: "MuiTabPanel",
1004
1064
  slot: "Root",
1005
- overridesResolver: (t, e) => e.root
1065
+ overridesResolver: (t, o) => o.root
1006
1066
  })(({
1007
1067
  theme: t
1008
1068
  }) => ({
1009
1069
  padding: t.spacing(3)
1010
- })), Do = /* @__PURE__ */ s.forwardRef(function(e, n) {
1011
- const a = po({
1012
- props: e,
1070
+ })), Zo = /* @__PURE__ */ s.forwardRef(function(o, r) {
1071
+ const a = Io({
1072
+ props: o,
1013
1073
  name: "MuiTabPanel"
1014
1074
  }), {
1015
1075
  children: i,
@@ -1019,23 +1079,23 @@ const lt = re("MuiTabPanel", ["root", "hidden"]), $o = (t) => {
1019
1079
  ...h
1020
1080
  } = a, S = {
1021
1081
  ...a
1022
- }, y = $o(S), m = Ae();
1082
+ }, v = qo(S), m = Ke();
1023
1083
  if (m === null)
1024
1084
  throw new TypeError("No TabContext provided");
1025
- const v = Fe(m, p), g = Ve(m, p);
1026
- return /* @__PURE__ */ T(Wo, {
1085
+ const y = Xe(m, p), g = _e(m, p);
1086
+ return /* @__PURE__ */ T(Go, {
1027
1087
  "aria-labelledby": g,
1028
- className: R(y.root, d),
1088
+ className: j(v.root, d),
1029
1089
  hidden: p !== m.value,
1030
- id: v,
1031
- ref: n,
1090
+ id: y,
1091
+ ref: r,
1032
1092
  role: "tabpanel",
1033
1093
  ownerState: S,
1034
1094
  ...h,
1035
1095
  children: (f || p === m.value) && i
1036
1096
  });
1037
1097
  });
1038
- process.env.NODE_ENV !== "production" && (Do.propTypes = {
1098
+ process.env.NODE_ENV !== "production" && (Zo.propTypes = {
1039
1099
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1040
1100
  // │ These PropTypes are generated from the TypeScript type definitions. │
1041
1101
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1043,37 +1103,37 @@ process.env.NODE_ENV !== "production" && (Do.propTypes = {
1043
1103
  /**
1044
1104
  * The content of the component.
1045
1105
  */
1046
- children: o.node,
1106
+ children: e.node,
1047
1107
  /**
1048
1108
  * Override or extend the styles applied to the component.
1049
1109
  */
1050
- classes: o.object,
1110
+ classes: e.object,
1051
1111
  /**
1052
1112
  * @ignore
1053
1113
  */
1054
- className: o.string,
1114
+ className: e.string,
1055
1115
  /**
1056
1116
  * Always keep the children in the DOM.
1057
1117
  * @default false
1058
1118
  */
1059
- keepMounted: o.bool,
1119
+ keepMounted: e.bool,
1060
1120
  /**
1061
1121
  * The system prop that allows defining system overrides as well as additional CSS styles.
1062
1122
  */
1063
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
1123
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1064
1124
  /**
1065
1125
  * The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
1066
1126
  * no `value` was passed to `Tab`.
1067
1127
  */
1068
- value: o.oneOfType([o.number, o.string]).isRequired
1128
+ value: e.oneOfType([e.number, e.string]).isRequired
1069
1129
  });
1070
- function jo(t) {
1071
- return le("MuiTab", t);
1130
+ function Jo(t) {
1131
+ return ie("MuiTab", t);
1072
1132
  }
1073
- const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), zo = (t) => {
1133
+ const w = ae("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), Qo = (t) => {
1074
1134
  const {
1075
- classes: e,
1076
- textColor: n,
1135
+ classes: o,
1136
+ textColor: r,
1077
1137
  fullWidth: a,
1078
1138
  wrapped: i,
1079
1139
  icon: d,
@@ -1081,24 +1141,24 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1081
1141
  selected: f,
1082
1142
  disabled: h
1083
1143
  } = t, S = {
1084
- root: ["root", d && p && "labelIcon", `textColor${Le(n)}`, a && "fullWidth", i && "wrapped", f && "selected", h && "disabled"],
1144
+ root: ["root", d && p && "labelIcon", `textColor${ze(r)}`, a && "fullWidth", i && "wrapped", f && "selected", h && "disabled"],
1085
1145
  icon: ["iconWrapper", "icon"]
1086
1146
  };
1087
- return se(S, jo, e);
1088
- }, Lo = $(ze, {
1147
+ return ce(S, Jo, o);
1148
+ }, et = D(Ue, {
1089
1149
  name: "MuiTab",
1090
1150
  slot: "Root",
1091
- overridesResolver: (t, e) => {
1151
+ overridesResolver: (t, o) => {
1092
1152
  const {
1093
- ownerState: n
1153
+ ownerState: r
1094
1154
  } = 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
1155
+ return [o.root, r.label && r.icon && o.labelIcon, o[`textColor${ze(r.textColor)}`], r.fullWidth && o.fullWidth, r.wrapped && o.wrapped, {
1156
+ [`& .${w.iconWrapper}`]: o.iconWrapper
1097
1157
  }, {
1098
- [`& .${x.icon}`]: e.icon
1158
+ [`& .${w.icon}`]: o.icon
1099
1159
  }];
1100
1160
  }
1101
- })(me(({
1161
+ })(ve(({
1102
1162
  theme: t
1103
1163
  }) => ({
1104
1164
  ...t.typography.button,
@@ -1114,22 +1174,22 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1114
1174
  lineHeight: 1.25,
1115
1175
  variants: [{
1116
1176
  props: ({
1117
- ownerState: e
1118
- }) => e.label && (e.iconPosition === "top" || e.iconPosition === "bottom"),
1177
+ ownerState: o
1178
+ }) => o.label && (o.iconPosition === "top" || o.iconPosition === "bottom"),
1119
1179
  style: {
1120
1180
  flexDirection: "column"
1121
1181
  }
1122
1182
  }, {
1123
1183
  props: ({
1124
- ownerState: e
1125
- }) => e.label && e.iconPosition !== "top" && e.iconPosition !== "bottom",
1184
+ ownerState: o
1185
+ }) => o.label && o.iconPosition !== "top" && o.iconPosition !== "bottom",
1126
1186
  style: {
1127
1187
  flexDirection: "row"
1128
1188
  }
1129
1189
  }, {
1130
1190
  props: ({
1131
- ownerState: e
1132
- }) => e.icon && e.label,
1191
+ ownerState: o
1192
+ }) => o.icon && o.label,
1133
1193
  style: {
1134
1194
  minHeight: 72,
1135
1195
  paddingTop: 9,
@@ -1137,41 +1197,41 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1137
1197
  }
1138
1198
  }, {
1139
1199
  props: ({
1140
- ownerState: e,
1141
- iconPosition: n
1142
- }) => e.icon && e.label && n === "top",
1200
+ ownerState: o,
1201
+ iconPosition: r
1202
+ }) => o.icon && o.label && r === "top",
1143
1203
  style: {
1144
- [`& > .${x.icon}`]: {
1204
+ [`& > .${w.icon}`]: {
1145
1205
  marginBottom: 6
1146
1206
  }
1147
1207
  }
1148
1208
  }, {
1149
1209
  props: ({
1150
- ownerState: e,
1151
- iconPosition: n
1152
- }) => e.icon && e.label && n === "bottom",
1210
+ ownerState: o,
1211
+ iconPosition: r
1212
+ }) => o.icon && o.label && r === "bottom",
1153
1213
  style: {
1154
- [`& > .${x.icon}`]: {
1214
+ [`& > .${w.icon}`]: {
1155
1215
  marginTop: 6
1156
1216
  }
1157
1217
  }
1158
1218
  }, {
1159
1219
  props: ({
1160
- ownerState: e,
1161
- iconPosition: n
1162
- }) => e.icon && e.label && n === "start",
1220
+ ownerState: o,
1221
+ iconPosition: r
1222
+ }) => o.icon && o.label && r === "start",
1163
1223
  style: {
1164
- [`& > .${x.icon}`]: {
1224
+ [`& > .${w.icon}`]: {
1165
1225
  marginRight: t.spacing(1)
1166
1226
  }
1167
1227
  }
1168
1228
  }, {
1169
1229
  props: ({
1170
- ownerState: e,
1171
- iconPosition: n
1172
- }) => e.icon && e.label && n === "end",
1230
+ ownerState: o,
1231
+ iconPosition: r
1232
+ }) => o.icon && o.label && r === "end",
1173
1233
  style: {
1174
- [`& > .${x.icon}`]: {
1234
+ [`& > .${w.icon}`]: {
1175
1235
  marginLeft: t.spacing(1)
1176
1236
  }
1177
1237
  }
@@ -1183,10 +1243,10 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1183
1243
  color: "inherit",
1184
1244
  opacity: 0.6,
1185
1245
  // same opacity as theme.palette.text.secondary
1186
- [`&.${x.selected}`]: {
1246
+ [`&.${w.selected}`]: {
1187
1247
  opacity: 1
1188
1248
  },
1189
- [`&.${x.disabled}`]: {
1249
+ [`&.${w.disabled}`]: {
1190
1250
  opacity: (t.vars || t).palette.action.disabledOpacity
1191
1251
  }
1192
1252
  }
@@ -1196,10 +1256,10 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1196
1256
  },
1197
1257
  style: {
1198
1258
  color: (t.vars || t).palette.text.secondary,
1199
- [`&.${x.selected}`]: {
1259
+ [`&.${w.selected}`]: {
1200
1260
  color: (t.vars || t).palette.primary.main
1201
1261
  },
1202
- [`&.${x.disabled}`]: {
1262
+ [`&.${w.disabled}`]: {
1203
1263
  color: (t.vars || t).palette.text.disabled
1204
1264
  }
1205
1265
  }
@@ -1209,17 +1269,17 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1209
1269
  },
1210
1270
  style: {
1211
1271
  color: (t.vars || t).palette.text.secondary,
1212
- [`&.${x.selected}`]: {
1272
+ [`&.${w.selected}`]: {
1213
1273
  color: (t.vars || t).palette.secondary.main
1214
1274
  },
1215
- [`&.${x.disabled}`]: {
1275
+ [`&.${w.disabled}`]: {
1216
1276
  color: (t.vars || t).palette.text.disabled
1217
1277
  }
1218
1278
  }
1219
1279
  }, {
1220
1280
  props: ({
1221
- ownerState: e
1222
- }) => e.fullWidth,
1281
+ ownerState: o
1282
+ }) => o.fullWidth,
1223
1283
  style: {
1224
1284
  flexShrink: 1,
1225
1285
  flexGrow: 1,
@@ -1228,15 +1288,15 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1228
1288
  }
1229
1289
  }, {
1230
1290
  props: ({
1231
- ownerState: e
1232
- }) => e.wrapped,
1291
+ ownerState: o
1292
+ }) => o.wrapped,
1233
1293
  style: {
1234
1294
  fontSize: t.typography.pxToRem(12)
1235
1295
  }
1236
1296
  }]
1237
- }))), Ao = /* @__PURE__ */ s.forwardRef(function(e, n) {
1238
- const a = he({
1239
- props: e,
1297
+ }))), ot = /* @__PURE__ */ s.forwardRef(function(o, r) {
1298
+ const a = Se({
1299
+ props: o,
1240
1300
  name: "MuiTab"
1241
1301
  }), {
1242
1302
  className: i,
@@ -1247,21 +1307,21 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1247
1307
  icon: h,
1248
1308
  iconPosition: S = "top",
1249
1309
  // eslint-disable-next-line react/prop-types
1250
- indicator: y,
1310
+ indicator: v,
1251
1311
  label: m,
1252
- onChange: v,
1312
+ onChange: y,
1253
1313
  onClick: g,
1254
1314
  onFocus: W,
1255
1315
  // eslint-disable-next-line react/prop-types
1256
1316
  selected: E,
1257
1317
  // eslint-disable-next-line react/prop-types
1258
- selectionFollowsFocus: w,
1318
+ selectionFollowsFocus: x,
1259
1319
  // eslint-disable-next-line react/prop-types
1260
- textColor: F = "inherit",
1261
- value: M,
1262
- wrapped: ae = !1,
1263
- ...V
1264
- } = a, U = {
1320
+ textColor: Z = "inherit",
1321
+ value: P,
1322
+ wrapped: de = !1,
1323
+ ...M
1324
+ } = a, A = {
1265
1325
  ...a,
1266
1326
  disabled: d,
1267
1327
  disableFocusRipple: p,
@@ -1270,35 +1330,35 @@ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
1270
1330
  iconPosition: S,
1271
1331
  label: !!m,
1272
1332
  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);
1333
+ textColor: Z,
1334
+ wrapped: de
1335
+ }, U = Qo(A), K = h && m && /* @__PURE__ */ s.isValidElement(h) ? /* @__PURE__ */ s.cloneElement(h, {
1336
+ className: j(U.icon, h.props.className)
1337
+ }) : h, J = (O) => {
1338
+ !E && y && y(O, P), g && g(O);
1339
+ }, k = (O) => {
1340
+ x && !E && y && y(O, P), W && W(O);
1281
1341
  };
1282
- return /* @__PURE__ */ K(Lo, {
1342
+ return /* @__PURE__ */ G(et, {
1283
1343
  focusRipple: !p,
1284
- className: R(H.root, i),
1285
- ref: n,
1344
+ className: j(U.root, i),
1345
+ ref: r,
1286
1346
  role: "tab",
1287
1347
  "aria-selected": E,
1288
1348
  disabled: d,
1289
- onClick: G,
1290
- onFocus: O,
1291
- ownerState: U,
1349
+ onClick: J,
1350
+ onFocus: k,
1351
+ ownerState: A,
1292
1352
  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]
1353
+ ...M,
1354
+ children: [S === "top" || S === "start" ? /* @__PURE__ */ G(s.Fragment, {
1355
+ children: [K, m]
1356
+ }) : /* @__PURE__ */ G(s.Fragment, {
1357
+ children: [m, K]
1358
+ }), v]
1299
1359
  });
1300
1360
  });
1301
- process.env.NODE_ENV !== "production" && (Ao.propTypes = {
1361
+ process.env.NODE_ENV !== "production" && (ot.propTypes = {
1302
1362
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1303
1363
  // │ These PropTypes are generated from the TypeScript type definitions. │
1304
1364
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1307,25 +1367,25 @@ process.env.NODE_ENV !== "production" && (Ao.propTypes = {
1307
1367
  * This prop isn't supported.
1308
1368
  * Use the `component` prop if you need to change the children structure.
1309
1369
  */
1310
- children: fo,
1370
+ children: Po,
1311
1371
  /**
1312
1372
  * Override or extend the styles applied to the component.
1313
1373
  */
1314
- classes: o.object,
1374
+ classes: e.object,
1315
1375
  /**
1316
1376
  * @ignore
1317
1377
  */
1318
- className: o.string,
1378
+ className: e.string,
1319
1379
  /**
1320
1380
  * If `true`, the component is disabled.
1321
1381
  * @default false
1322
1382
  */
1323
- disabled: o.bool,
1383
+ disabled: e.bool,
1324
1384
  /**
1325
1385
  * If `true`, the keyboard focus ripple is disabled.
1326
1386
  * @default false
1327
1387
  */
1328
- disableFocusRipple: o.bool,
1388
+ disableFocusRipple: e.bool,
1329
1389
  /**
1330
1390
  * If `true`, the ripple effect is disabled.
1331
1391
  *
@@ -1333,62 +1393,62 @@ process.env.NODE_ENV !== "production" && (Ao.propTypes = {
1333
1393
  * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
1334
1394
  * @default false
1335
1395
  */
1336
- disableRipple: o.bool,
1396
+ disableRipple: e.bool,
1337
1397
  /**
1338
1398
  * The icon to display.
1339
1399
  */
1340
- icon: o.oneOfType([o.element, o.string]),
1400
+ icon: e.oneOfType([e.element, e.string]),
1341
1401
  /**
1342
1402
  * The position of the icon relative to the label.
1343
1403
  * @default 'top'
1344
1404
  */
1345
- iconPosition: o.oneOf(["bottom", "end", "start", "top"]),
1405
+ iconPosition: e.oneOf(["bottom", "end", "start", "top"]),
1346
1406
  /**
1347
1407
  * The label element.
1348
1408
  */
1349
- label: o.node,
1409
+ label: e.node,
1350
1410
  /**
1351
1411
  * @ignore
1352
1412
  */
1353
- onChange: o.func,
1413
+ onChange: e.func,
1354
1414
  /**
1355
1415
  * @ignore
1356
1416
  */
1357
- onClick: o.func,
1417
+ onClick: e.func,
1358
1418
  /**
1359
1419
  * @ignore
1360
1420
  */
1361
- onFocus: o.func,
1421
+ onFocus: e.func,
1362
1422
  /**
1363
1423
  * The system prop that allows defining system overrides as well as additional CSS styles.
1364
1424
  */
1365
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
1425
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1366
1426
  /**
1367
1427
  * You can provide your own value. Otherwise, we fallback to the child position index.
1368
1428
  */
1369
- value: o.any,
1429
+ value: e.any,
1370
1430
  /**
1371
1431
  * Tab labels appear in a single row.
1372
1432
  * They can use a second line if needed.
1373
1433
  * @default false
1374
1434
  */
1375
- wrapped: o.bool
1435
+ wrapped: e.bool
1376
1436
  });
1377
1437
  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
1438
+ $o as K,
1439
+ Oo as T,
1440
+ _o as a,
1441
+ Zo as b,
1442
+ ot as c,
1443
+ Ge as d,
1444
+ _e as e,
1445
+ Yo as f,
1446
+ Xe as g,
1447
+ w as h,
1448
+ Jo as i,
1449
+ ye as j,
1450
+ Fo as k,
1451
+ ko as l,
1452
+ vt as t,
1453
+ Ke as u
1394
1454
  };