@mui/material 9.0.0-alpha.3 → 9.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. package/Accordion/Accordion.d.mts +0 -14
  2. package/Accordion/Accordion.d.ts +0 -14
  3. package/Accordion/Accordion.js +3 -25
  4. package/Accordion/Accordion.mjs +3 -25
  5. package/AccordionSummary/AccordionSummary.js +1 -1
  6. package/AccordionSummary/AccordionSummary.mjs +1 -1
  7. package/AccordionSummary/accordionSummaryClasses.d.mts +0 -5
  8. package/AccordionSummary/accordionSummaryClasses.d.ts +0 -5
  9. package/AccordionSummary/accordionSummaryClasses.js +1 -1
  10. package/AccordionSummary/accordionSummaryClasses.mjs +1 -1
  11. package/Alert/Alert.d.mts +0 -23
  12. package/Alert/Alert.d.ts +0 -23
  13. package/Alert/Alert.js +4 -36
  14. package/Alert/Alert.mjs +4 -36
  15. package/Alert/alertClasses.d.mts +0 -72
  16. package/Alert/alertClasses.d.ts +0 -72
  17. package/Alert/alertClasses.js +1 -1
  18. package/Alert/alertClasses.mjs +1 -1
  19. package/Autocomplete/Autocomplete.d.mts +10 -60
  20. package/Autocomplete/Autocomplete.d.ts +10 -60
  21. package/Autocomplete/Autocomplete.js +33 -99
  22. package/Autocomplete/Autocomplete.mjs +33 -99
  23. package/Avatar/Avatar.d.mts +0 -8
  24. package/Avatar/Avatar.d.ts +0 -8
  25. package/Avatar/Avatar.js +13 -35
  26. package/Avatar/Avatar.mjs +13 -35
  27. package/AvatarGroup/AvatarGroup.d.mts +0 -15
  28. package/AvatarGroup/AvatarGroup.d.ts +0 -15
  29. package/AvatarGroup/AvatarGroup.js +1 -18
  30. package/AvatarGroup/AvatarGroup.mjs +1 -18
  31. package/Backdrop/Backdrop.d.mts +1 -31
  32. package/Backdrop/Backdrop.d.ts +1 -31
  33. package/Backdrop/Backdrop.js +2 -42
  34. package/Backdrop/Backdrop.mjs +2 -42
  35. package/Badge/Badge.d.mts +0 -20
  36. package/Badge/Badge.d.ts +0 -20
  37. package/Badge/Badge.js +2 -35
  38. package/Badge/Badge.mjs +2 -35
  39. package/Button/Button.js +6 -6
  40. package/Button/Button.mjs +6 -6
  41. package/Button/buttonClasses.d.mts +0 -132
  42. package/Button/buttonClasses.d.ts +0 -132
  43. package/Button/buttonClasses.js +1 -1
  44. package/Button/buttonClasses.mjs +1 -1
  45. package/ButtonBase/ButtonBase.js +16 -2
  46. package/ButtonBase/ButtonBase.mjs +16 -2
  47. package/ButtonGroup/ButtonGroup.js +1 -9
  48. package/ButtonGroup/ButtonGroup.mjs +1 -9
  49. package/ButtonGroup/buttonGroupClasses.d.mts +0 -68
  50. package/ButtonGroup/buttonGroupClasses.d.ts +0 -68
  51. package/ButtonGroup/buttonGroupClasses.js +1 -1
  52. package/ButtonGroup/buttonGroupClasses.mjs +1 -1
  53. package/CHANGELOG.md +224 -3
  54. package/CardHeader/CardHeader.d.mts +13 -21
  55. package/CardHeader/CardHeader.d.ts +13 -21
  56. package/CardHeader/CardHeader.js +3 -21
  57. package/CardHeader/CardHeader.mjs +3 -21
  58. package/Checkbox/Checkbox.js +1 -7
  59. package/Checkbox/Checkbox.mjs +1 -7
  60. package/Chip/Chip.js +48 -54
  61. package/Chip/Chip.mjs +48 -54
  62. package/Chip/chipClasses.d.mts +0 -104
  63. package/Chip/chipClasses.d.ts +0 -104
  64. package/Chip/chipClasses.js +1 -1
  65. package/Chip/chipClasses.mjs +1 -1
  66. package/CircularProgress/CircularProgress.js +2 -2
  67. package/CircularProgress/CircularProgress.mjs +2 -2
  68. package/CircularProgress/circularProgressClasses.d.mts +0 -8
  69. package/CircularProgress/circularProgressClasses.d.ts +0 -8
  70. package/CircularProgress/circularProgressClasses.js +1 -1
  71. package/CircularProgress/circularProgressClasses.mjs +1 -1
  72. package/Dialog/Dialog.d.mts +0 -21
  73. package/Dialog/Dialog.d.ts +0 -21
  74. package/Dialog/Dialog.js +36 -73
  75. package/Dialog/Dialog.mjs +36 -73
  76. package/Dialog/dialogClasses.d.mts +0 -8
  77. package/Dialog/dialogClasses.d.ts +0 -8
  78. package/Dialog/dialogClasses.js +1 -1
  79. package/Dialog/dialogClasses.mjs +1 -1
  80. package/Divider/Divider.d.mts +0 -6
  81. package/Divider/Divider.d.ts +0 -6
  82. package/Divider/Divider.js +2 -18
  83. package/Divider/Divider.mjs +2 -18
  84. package/Divider/dividerClasses.d.mts +0 -8
  85. package/Divider/dividerClasses.d.ts +0 -8
  86. package/Divider/dividerClasses.js +1 -1
  87. package/Divider/dividerClasses.mjs +1 -1
  88. package/Drawer/Drawer.d.mts +0 -12
  89. package/Drawer/Drawer.d.ts +0 -12
  90. package/Drawer/Drawer.js +6 -40
  91. package/Drawer/Drawer.mjs +6 -40
  92. package/Drawer/drawerClasses.d.mts +0 -32
  93. package/Drawer/drawerClasses.d.ts +0 -32
  94. package/Drawer/drawerClasses.js +1 -1
  95. package/Drawer/drawerClasses.mjs +1 -1
  96. package/FilledInput/FilledInput.js +3 -32
  97. package/FilledInput/FilledInput.mjs +3 -32
  98. package/FormControlLabel/FormControlLabel.d.mts +1 -14
  99. package/FormControlLabel/FormControlLabel.d.ts +1 -14
  100. package/FormControlLabel/FormControlLabel.js +1 -13
  101. package/FormControlLabel/FormControlLabel.mjs +1 -13
  102. package/ImageListItemBar/ImageListItemBar.js +4 -17
  103. package/ImageListItemBar/ImageListItemBar.mjs +4 -17
  104. package/ImageListItemBar/imageListItemBarClasses.d.mts +0 -16
  105. package/ImageListItemBar/imageListItemBarClasses.d.ts +0 -16
  106. package/ImageListItemBar/imageListItemBarClasses.js +1 -1
  107. package/ImageListItemBar/imageListItemBarClasses.mjs +1 -1
  108. package/Input/Input.js +5 -33
  109. package/Input/Input.mjs +5 -33
  110. package/Input/inputClasses.d.mts +0 -16
  111. package/Input/inputClasses.d.ts +0 -16
  112. package/InputBase/InputBase.d.mts +0 -27
  113. package/InputBase/InputBase.d.ts +0 -27
  114. package/InputBase/InputBase.js +6 -35
  115. package/InputBase/InputBase.mjs +6 -35
  116. package/InputBase/inputBaseClasses.d.mts +0 -20
  117. package/InputBase/inputBaseClasses.d.ts +0 -20
  118. package/InputBase/inputBaseClasses.js +1 -1
  119. package/InputBase/inputBaseClasses.mjs +1 -1
  120. package/InputLabel/InputLabel.js +1 -1
  121. package/InputLabel/InputLabel.mjs +1 -1
  122. package/LinearProgress/LinearProgress.js +6 -18
  123. package/LinearProgress/LinearProgress.mjs +6 -18
  124. package/LinearProgress/linearProgressClasses.d.mts +0 -36
  125. package/LinearProgress/linearProgressClasses.d.ts +0 -36
  126. package/LinearProgress/linearProgressClasses.js +1 -1
  127. package/LinearProgress/linearProgressClasses.mjs +1 -1
  128. package/Link/Link.d.mts +1 -1
  129. package/Link/Link.d.ts +1 -1
  130. package/ListItem/ListItem.d.mts +2 -36
  131. package/ListItem/ListItem.d.ts +2 -36
  132. package/ListItem/ListItem.js +27 -152
  133. package/ListItem/ListItem.mjs +27 -152
  134. package/ListItem/listItemClasses.d.mts +2 -4
  135. package/ListItem/listItemClasses.d.ts +2 -4
  136. package/ListItem/listItemClasses.js +1 -1
  137. package/ListItem/listItemClasses.mjs +1 -1
  138. package/ListItemButton/ListItemButton.d.mts +1 -2
  139. package/ListItemButton/ListItemButton.d.ts +1 -2
  140. package/ListItemButton/ListItemButton.js +1 -2
  141. package/ListItemButton/ListItemButton.mjs +1 -2
  142. package/ListItemSecondaryAction/ListItemSecondaryAction.d.mts +10 -6
  143. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +10 -6
  144. package/ListItemSecondaryAction/ListItemSecondaryAction.js +7 -2
  145. package/ListItemSecondaryAction/ListItemSecondaryAction.mjs +7 -2
  146. package/ListItemText/ListItemText.d.mts +12 -20
  147. package/ListItemText/ListItemText.d.ts +12 -20
  148. package/ListItemText/ListItemText.js +2 -20
  149. package/ListItemText/ListItemText.mjs +2 -20
  150. package/Menu/Menu.d.mts +0 -13
  151. package/Menu/Menu.d.ts +0 -13
  152. package/Menu/Menu.js +5 -44
  153. package/Menu/Menu.mjs +5 -44
  154. package/MenuItem/MenuItem.js +21 -1
  155. package/MenuItem/MenuItem.mjs +23 -1
  156. package/MenuList/MenuList.js +2 -4
  157. package/MenuList/MenuList.mjs +2 -4
  158. package/MobileStepper/MobileStepper.d.mts +0 -5
  159. package/MobileStepper/MobileStepper.d.ts +0 -5
  160. package/MobileStepper/MobileStepper.js +1 -10
  161. package/MobileStepper/MobileStepper.mjs +1 -10
  162. package/Modal/Modal.d.mts +1 -41
  163. package/Modal/Modal.d.ts +1 -41
  164. package/Modal/Modal.js +5 -58
  165. package/Modal/Modal.mjs +5 -58
  166. package/OutlinedInput/OutlinedInput.js +2 -14
  167. package/OutlinedInput/OutlinedInput.mjs +2 -14
  168. package/OutlinedInput/outlinedInputClasses.d.mts +0 -16
  169. package/OutlinedInput/outlinedInputClasses.d.ts +0 -16
  170. package/PaginationItem/PaginationItem.d.mts +0 -15
  171. package/PaginationItem/PaginationItem.d.ts +0 -15
  172. package/PaginationItem/PaginationItem.js +3 -24
  173. package/PaginationItem/PaginationItem.mjs +3 -24
  174. package/PaginationItem/paginationItemClasses.d.mts +0 -16
  175. package/PaginationItem/paginationItemClasses.d.ts +0 -16
  176. package/PaginationItem/paginationItemClasses.js +1 -1
  177. package/PaginationItem/paginationItemClasses.mjs +1 -1
  178. package/Popover/Popover.d.mts +4 -48
  179. package/Popover/Popover.d.ts +4 -48
  180. package/Popover/Popover.js +4 -64
  181. package/Popover/Popover.mjs +4 -64
  182. package/Popper/Popper.d.mts +0 -17
  183. package/Popper/Popper.d.ts +0 -17
  184. package/Popper/Popper.js +2 -26
  185. package/Popper/Popper.mjs +2 -26
  186. package/Popper/index.d.mts +1 -0
  187. package/Popper/index.d.ts +1 -0
  188. package/Popper/index.js +11 -2
  189. package/Popper/index.mjs +1 -0
  190. package/Radio/Radio.js +1 -13
  191. package/Radio/Radio.mjs +1 -13
  192. package/Rating/Rating.d.mts +0 -9
  193. package/Rating/Rating.d.ts +0 -9
  194. package/Rating/Rating.js +1 -17
  195. package/Rating/Rating.mjs +1 -17
  196. package/Select/SelectInput.js +52 -58
  197. package/Select/SelectInput.mjs +49 -55
  198. package/Select/index.d.mts +1 -0
  199. package/Select/index.d.ts +1 -0
  200. package/Select/index.js +12 -0
  201. package/Select/index.mjs +1 -0
  202. package/Select/selectClasses.d.mts +0 -12
  203. package/Select/selectClasses.d.ts +0 -12
  204. package/Select/selectClasses.js +1 -1
  205. package/Select/selectClasses.mjs +1 -1
  206. package/Select/utils/SelectFocusSourceContext.d.mts +4 -0
  207. package/Select/utils/SelectFocusSourceContext.d.ts +4 -0
  208. package/Select/utils/SelectFocusSourceContext.js +19 -0
  209. package/Select/utils/SelectFocusSourceContext.mjs +13 -0
  210. package/Select/utils/areEqualValues.d.mts +1 -0
  211. package/Select/utils/areEqualValues.d.ts +1 -0
  212. package/Select/utils/areEqualValues.js +14 -0
  213. package/Select/utils/areEqualValues.mjs +8 -0
  214. package/Select/utils/getOpenInteractionType.d.mts +1 -0
  215. package/Select/utils/getOpenInteractionType.d.ts +1 -0
  216. package/Select/utils/getOpenInteractionType.js +18 -0
  217. package/Select/utils/getOpenInteractionType.mjs +12 -0
  218. package/Select/utils/index.d.mts +4 -0
  219. package/Select/utils/index.d.ts +4 -0
  220. package/Select/utils/index.js +40 -0
  221. package/Select/utils/index.mjs +4 -0
  222. package/Select/utils/isEmpty.d.mts +1 -0
  223. package/Select/utils/isEmpty.d.ts +1 -0
  224. package/Select/utils/isEmpty.js +9 -0
  225. package/Select/utils/isEmpty.mjs +3 -0
  226. package/Slider/Slider.d.mts +105 -78
  227. package/Slider/Slider.d.ts +105 -78
  228. package/Slider/Slider.js +44 -127
  229. package/Slider/Slider.mjs +44 -127
  230. package/Slider/sliderClasses.d.mts +0 -28
  231. package/Slider/sliderClasses.d.ts +0 -28
  232. package/Slider/sliderClasses.js +1 -1
  233. package/Slider/sliderClasses.mjs +1 -1
  234. package/Slider/useSlider.js +50 -14
  235. package/Slider/useSlider.mjs +50 -14
  236. package/Snackbar/Snackbar.d.mts +1 -27
  237. package/Snackbar/Snackbar.d.ts +1 -27
  238. package/Snackbar/Snackbar.js +5 -58
  239. package/Snackbar/Snackbar.mjs +5 -58
  240. package/SpeedDial/SpeedDial.d.mts +0 -13
  241. package/SpeedDial/SpeedDial.d.ts +0 -13
  242. package/SpeedDial/SpeedDial.js +15 -40
  243. package/SpeedDial/SpeedDial.mjs +15 -40
  244. package/SpeedDialAction/SpeedDialAction.d.mts +0 -28
  245. package/SpeedDialAction/SpeedDialAction.d.ts +0 -28
  246. package/SpeedDialAction/SpeedDialAction.js +5 -46
  247. package/SpeedDialAction/SpeedDialAction.mjs +5 -46
  248. package/Stack/Stack.d.mts +2 -2
  249. package/Stack/Stack.d.ts +2 -2
  250. package/StepConnector/StepConnector.js +2 -8
  251. package/StepConnector/StepConnector.mjs +2 -8
  252. package/StepConnector/stepConnectorClasses.d.mts +0 -8
  253. package/StepConnector/stepConnectorClasses.d.ts +0 -8
  254. package/StepConnector/stepConnectorClasses.js +1 -1
  255. package/StepConnector/stepConnectorClasses.mjs +1 -1
  256. package/StepContent/StepContent.d.mts +1 -16
  257. package/StepContent/StepContent.d.ts +1 -16
  258. package/StepContent/StepContent.js +3 -22
  259. package/StepContent/StepContent.mjs +3 -22
  260. package/StepLabel/StepLabel.d.mts +0 -22
  261. package/StepLabel/StepLabel.d.ts +0 -22
  262. package/StepLabel/StepLabel.js +2 -31
  263. package/StepLabel/StepLabel.mjs +2 -31
  264. package/SvgIcon/createSvgIcon.d.mts +2 -0
  265. package/SvgIcon/createSvgIcon.d.ts +2 -0
  266. package/SvgIcon/createSvgIcon.js +31 -0
  267. package/SvgIcon/createSvgIcon.mjs +26 -0
  268. package/SvgIcon/index.d.mts +1 -0
  269. package/SvgIcon/index.d.ts +1 -0
  270. package/SvgIcon/index.js +8 -0
  271. package/SvgIcon/index.mjs +1 -0
  272. package/SwipeableDrawer/SwipeableDrawer.d.mts +0 -5
  273. package/SwipeableDrawer/SwipeableDrawer.d.ts +0 -5
  274. package/SwipeableDrawer/SwipeableDrawer.js +6 -37
  275. package/SwipeableDrawer/SwipeableDrawer.mjs +6 -37
  276. package/Switch/Switch.js +0 -11
  277. package/Switch/Switch.mjs +0 -11
  278. package/Tab/Tab.js +1 -3
  279. package/Tab/Tab.mjs +1 -3
  280. package/Tab/tabClasses.d.mts +0 -4
  281. package/Tab/tabClasses.d.ts +0 -4
  282. package/Tab/tabClasses.js +1 -1
  283. package/Tab/tabClasses.mjs +1 -1
  284. package/TablePagination/TablePagination.d.mts +1 -25
  285. package/TablePagination/TablePagination.d.ts +1 -25
  286. package/TablePagination/TablePagination.js +5 -31
  287. package/TablePagination/TablePagination.mjs +5 -31
  288. package/TablePaginationActions/TablePaginationActions.d.mts +0 -10
  289. package/TablePaginationActions/TablePaginationActions.d.ts +0 -10
  290. package/TablePaginationActions/TablePaginationActions.js +2 -14
  291. package/TablePaginationActions/TablePaginationActions.mjs +2 -14
  292. package/TableSortLabel/TableSortLabel.js +2 -7
  293. package/TableSortLabel/TableSortLabel.mjs +2 -7
  294. package/TableSortLabel/tableSortLabelClasses.d.mts +0 -8
  295. package/TableSortLabel/tableSortLabelClasses.d.ts +0 -8
  296. package/TableSortLabel/tableSortLabelClasses.js +1 -1
  297. package/TableSortLabel/tableSortLabelClasses.mjs +1 -1
  298. package/Tabs/Tabs.d.mts +2 -33
  299. package/Tabs/Tabs.d.ts +2 -33
  300. package/Tabs/Tabs.js +11 -41
  301. package/Tabs/Tabs.mjs +11 -41
  302. package/Tabs/tabsClasses.d.mts +0 -6
  303. package/Tabs/tabsClasses.d.ts +0 -6
  304. package/Tabs/tabsClasses.js +1 -1
  305. package/Tabs/tabsClasses.mjs +1 -1
  306. package/TextField/TextField.d.mts +6 -49
  307. package/TextField/TextField.d.ts +6 -49
  308. package/TextField/TextField.js +18 -53
  309. package/TextField/TextField.mjs +18 -53
  310. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -4
  311. package/ToggleButtonGroup/ToggleButtonGroup.mjs +1 -4
  312. package/ToggleButtonGroup/toggleButtonGroupClasses.d.mts +0 -8
  313. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +0 -8
  314. package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  315. package/ToggleButtonGroup/toggleButtonGroupClasses.mjs +1 -1
  316. package/Tooltip/Tooltip.d.mts +1 -55
  317. package/Tooltip/Tooltip.d.ts +1 -55
  318. package/Tooltip/Tooltip.js +9 -87
  319. package/Tooltip/Tooltip.mjs +9 -87
  320. package/Typography/Typography.d.mts +3 -9
  321. package/Typography/Typography.d.ts +3 -9
  322. package/Typography/Typography.js +5 -43
  323. package/Typography/Typography.mjs +6 -44
  324. package/Typography/typographyClasses.d.mts +0 -5
  325. package/Typography/typographyClasses.d.ts +0 -5
  326. package/Typography/typographyClasses.js +1 -1
  327. package/Typography/typographyClasses.mjs +1 -1
  328. package/index.d.mts +0 -2
  329. package/index.d.ts +0 -2
  330. package/index.js +1 -9
  331. package/index.mjs +1 -2
  332. package/internal/SwitchBase.d.mts +0 -10
  333. package/internal/SwitchBase.d.ts +0 -10
  334. package/internal/SwitchBase.js +1 -16
  335. package/internal/SwitchBase.mjs +1 -16
  336. package/locale/amET.js +4 -1
  337. package/locale/amET.mjs +3 -1
  338. package/locale/arEG.js +4 -1
  339. package/locale/arEG.mjs +3 -1
  340. package/locale/arSA.js +4 -1
  341. package/locale/arSA.mjs +3 -1
  342. package/locale/arSD.js +4 -1
  343. package/locale/arSD.mjs +3 -1
  344. package/locale/beBY.js +4 -1
  345. package/locale/beBY.mjs +3 -1
  346. package/locale/bnBD.js +4 -1
  347. package/locale/bnBD.mjs +3 -1
  348. package/locale/caES.js +4 -1
  349. package/locale/caES.mjs +3 -1
  350. package/locale/csCZ.js +4 -1
  351. package/locale/csCZ.mjs +3 -1
  352. package/locale/daDK.js +4 -1
  353. package/locale/daDK.mjs +3 -1
  354. package/locale/deDE.js +4 -1
  355. package/locale/deDE.mjs +3 -1
  356. package/locale/elGR.js +4 -1
  357. package/locale/elGR.mjs +3 -1
  358. package/locale/esES.js +4 -1
  359. package/locale/esES.mjs +3 -1
  360. package/locale/etEE.js +4 -1
  361. package/locale/etEE.mjs +3 -1
  362. package/locale/faIR.js +4 -1
  363. package/locale/faIR.mjs +3 -1
  364. package/locale/fiFI.js +4 -1
  365. package/locale/fiFI.mjs +3 -1
  366. package/locale/frFR.js +4 -1
  367. package/locale/frFR.mjs +3 -1
  368. package/locale/heIL.js +4 -1
  369. package/locale/heIL.mjs +3 -1
  370. package/locale/hiIN.js +4 -1
  371. package/locale/hiIN.mjs +3 -1
  372. package/locale/hrHR.js +5 -1
  373. package/locale/hrHR.mjs +4 -1
  374. package/locale/isIS.js +4 -1
  375. package/locale/isIS.mjs +3 -1
  376. package/locale/itIT.js +4 -1
  377. package/locale/itIT.mjs +3 -1
  378. package/locale/jaJP.js +4 -1
  379. package/locale/jaJP.mjs +3 -1
  380. package/locale/khKH.js +4 -1
  381. package/locale/khKH.mjs +3 -1
  382. package/locale/kkKZ.js +4 -1
  383. package/locale/kkKZ.mjs +3 -1
  384. package/locale/koKR.js +4 -1
  385. package/locale/koKR.mjs +3 -1
  386. package/locale/kuCKB.js +4 -1
  387. package/locale/kuCKB.mjs +3 -1
  388. package/locale/kuLatn.js +4 -1
  389. package/locale/kuLatn.mjs +3 -1
  390. package/locale/mkMK.js +5 -1
  391. package/locale/mkMK.mjs +4 -1
  392. package/locale/msMS.js +5 -1
  393. package/locale/msMS.mjs +4 -1
  394. package/locale/myMY.js +5 -1
  395. package/locale/myMY.mjs +4 -1
  396. package/locale/nbNO.js +4 -1
  397. package/locale/nbNO.mjs +3 -1
  398. package/locale/neNP.js +5 -1
  399. package/locale/neNP.mjs +4 -1
  400. package/locale/nlNL.js +4 -1
  401. package/locale/nlNL.mjs +3 -1
  402. package/locale/nnNO.js +4 -1
  403. package/locale/nnNO.mjs +3 -1
  404. package/locale/plPL.js +4 -1
  405. package/locale/plPL.mjs +3 -1
  406. package/locale/psAF.js +4 -1
  407. package/locale/psAF.mjs +3 -1
  408. package/locale/ptBR.js +4 -1
  409. package/locale/ptBR.mjs +3 -1
  410. package/locale/ptPT.js +4 -1
  411. package/locale/ptPT.mjs +3 -1
  412. package/locale/roRO.js +4 -1
  413. package/locale/roRO.mjs +3 -1
  414. package/locale/ruRU.js +4 -1
  415. package/locale/ruRU.mjs +3 -1
  416. package/locale/siLK.js +4 -1
  417. package/locale/siLK.mjs +3 -1
  418. package/locale/skSK.js +4 -1
  419. package/locale/skSK.mjs +3 -1
  420. package/locale/srRS.js +5 -1
  421. package/locale/srRS.mjs +4 -1
  422. package/locale/svSE.js +4 -1
  423. package/locale/svSE.mjs +3 -1
  424. package/locale/thTH.js +4 -1
  425. package/locale/thTH.mjs +3 -1
  426. package/locale/tlTL.js +5 -1
  427. package/locale/tlTL.mjs +4 -1
  428. package/locale/trTR.js +4 -1
  429. package/locale/trTR.mjs +3 -1
  430. package/locale/ukUA.js +4 -1
  431. package/locale/ukUA.mjs +3 -1
  432. package/locale/urPK.js +4 -1
  433. package/locale/urPK.mjs +3 -1
  434. package/locale/utils/buildFormatNumber.d.mts +2 -0
  435. package/locale/utils/buildFormatNumber.d.ts +2 -0
  436. package/locale/utils/buildFormatNumber.js +23 -0
  437. package/locale/utils/buildFormatNumber.mjs +17 -0
  438. package/locale/viVN.js +4 -1
  439. package/locale/viVN.mjs +3 -1
  440. package/locale/zhCN.js +4 -1
  441. package/locale/zhCN.mjs +3 -1
  442. package/locale/zhHK.js +4 -1
  443. package/locale/zhHK.mjs +3 -1
  444. package/locale/zhTW.js +4 -1
  445. package/locale/zhTW.mjs +3 -1
  446. package/package.json +7 -21
  447. package/styles/components.d.mts +0 -5
  448. package/styles/components.d.ts +0 -5
  449. package/styles/createThemeWithVars.js +1 -0
  450. package/styles/createThemeWithVars.mjs +1 -0
  451. package/styles/overrides.d.mts +0 -2
  452. package/styles/overrides.d.ts +0 -2
  453. package/styles/props.d.mts +0 -2
  454. package/styles/props.d.ts +0 -2
  455. package/styles/stringifyTheme.js +1 -1
  456. package/styles/stringifyTheme.mjs +1 -1
  457. package/useAutocomplete/useAutocomplete.d.mts +0 -12
  458. package/useAutocomplete/useAutocomplete.d.ts +0 -12
  459. package/useAutocomplete/useAutocomplete.js +29 -28
  460. package/useAutocomplete/useAutocomplete.mjs +29 -28
  461. package/utils/createSvgIcon.d.mts +4 -2
  462. package/utils/createSvgIcon.d.ts +4 -2
  463. package/utils/createSvgIcon.js +6 -24
  464. package/utils/createSvgIcon.mjs +2 -24
  465. package/version/index.js +2 -2
  466. package/version/index.mjs +2 -2
  467. package/GridLegacy/GridLegacy.d.mts +0 -160
  468. package/GridLegacy/GridLegacy.d.ts +0 -160
  469. package/GridLegacy/GridLegacy.js +0 -601
  470. package/GridLegacy/GridLegacy.mjs +0 -588
  471. package/GridLegacy/GridLegacyContext.js +0 -17
  472. package/GridLegacy/GridLegacyContext.mjs +0 -12
  473. package/GridLegacy/gridLegacyClasses.d.mts +0 -48
  474. package/GridLegacy/gridLegacyClasses.d.ts +0 -48
  475. package/GridLegacy/gridLegacyClasses.js +0 -27
  476. package/GridLegacy/gridLegacyClasses.mjs +0 -19
  477. package/GridLegacy/index.d.mts +0 -4
  478. package/GridLegacy/index.d.ts +0 -4
  479. package/GridLegacy/index.js +0 -35
  480. package/GridLegacy/index.mjs +0 -3
package/Tabs/Tabs.d.ts CHANGED
@@ -3,7 +3,7 @@ import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
4
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
5
5
  import { Theme } from "../styles/index.js";
6
- import TabScrollButton, { TabScrollButtonProps } from "../TabScrollButton/index.js";
6
+ import TabScrollButton from "../TabScrollButton/index.js";
7
7
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
8
8
  import { TabsClasses } from "./tabsClasses.js";
9
9
  import SvgIcon from "../SvgIcon/index.js";
@@ -102,18 +102,7 @@ export type TabsSlotsAndSlotProps = CreateSlotsAndSlotProps<TabsSlots, {
102
102
  * By default, the available props are based on the [SvgIcon](https://mui.com/material-ui/api/svg-icon/#props) component.
103
103
  */
104
104
  endScrollButtonIcon: SlotProps<typeof SvgIcon, TabsEndScrollButtonIconSlotPropsOverrides, TabsOwnerState>;
105
- }> & {
106
- slots?: {
107
- /**
108
- * @deprecated Use `slots.startScrollButtonIcon` instead.
109
- */
110
- StartScrollButtonIcon?: React.ElementType | undefined;
111
- /**
112
- * @deprecated Use `slots.endScrollButtonIcon` instead.
113
- */
114
- EndScrollButtonIcon?: React.ElementType | undefined;
115
- } | undefined;
116
- };
105
+ }>;
117
106
  export interface TabsOwnerState extends Omit<TabsProps, 'slots' | 'slotProps'> {
118
107
  vertical: boolean;
119
108
  fixed: boolean;
@@ -178,12 +167,6 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
178
167
  * @default 'horizontal'
179
168
  */
180
169
  orientation?: 'horizontal' | 'vertical' | undefined;
181
- /**
182
- * The component used to render the scroll buttons.
183
- * @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.
184
- * @default TabScrollButton
185
- */
186
- ScrollButtonComponent?: React.ElementType | undefined;
187
170
  /**
188
171
  * Determine behavior of scroll buttons when tabs are set to scroll:
189
172
  *
@@ -201,20 +184,6 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
201
184
  * changes on activation.
202
185
  */
203
186
  selectionFollowsFocus?: boolean | undefined;
204
- /**
205
- * Props applied to the tab indicator element.
206
- * @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.
207
- * @default {}
208
- */
209
- TabIndicatorProps?: (React.HTMLAttributes<HTMLDivElement> & {
210
- sx?: SxProps<Theme> | undefined;
211
- }) | undefined;
212
- /**
213
- * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
214
- * @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.
215
- * @default {}
216
- */
217
- TabScrollButtonProps?: Partial<TabScrollButtonProps> | undefined;
218
187
  /**
219
188
  * Determines the color of the `Tab`.
220
189
  * @default 'primary'
package/Tabs/Tabs.js CHANGED
@@ -43,7 +43,7 @@ const useUtilityClasses = ownerState => {
43
43
  const slots = {
44
44
  root: ['root', vertical && 'vertical'],
45
45
  scroller: ['scroller', fixed && 'fixed', hideScrollbar && 'hideScrollbar', scrollableX && 'scrollableX', scrollableY && 'scrollableY'],
46
- list: ['list', 'flexContainer', vertical && 'flexContainerVertical', vertical && 'vertical', centered && 'centered'],
46
+ list: ['list', vertical && 'vertical', centered && 'centered'],
47
47
  indicator: ['indicator'],
48
48
  scrollButtons: ['scrollButtons', scrollButtonsHideMobile && 'scrollButtonsHideMobile'],
49
49
  scrollableX: [scrollableX && 'scrollableX'],
@@ -151,7 +151,7 @@ const List = (0, _zeroStyled.styled)('div', {
151
151
  const {
152
152
  ownerState
153
153
  } = props;
154
- return [styles.list, styles.flexContainer, ownerState.vertical && styles.flexContainerVertical, ownerState.centered && styles.centered];
154
+ return [styles.list, ownerState.centered && styles.centered];
155
155
  }
156
156
  })({
157
157
  display: 'flex',
@@ -238,16 +238,10 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
238
238
  indicatorColor = 'primary',
239
239
  onChange,
240
240
  orientation = 'horizontal',
241
- ScrollButtonComponent,
242
- // TODO: remove in v7 (deprecated in v6)
243
241
  scrollButtons = 'auto',
244
242
  selectionFollowsFocus,
245
243
  slots = {},
246
244
  slotProps = {},
247
- TabIndicatorProps = {},
248
- // TODO: remove in v7 (deprecated in v6)
249
- TabScrollButtonProps = {},
250
- // TODO: remove in v7 (deprecated in v6)
251
245
  textColor = 'primary',
252
246
  value,
253
247
  variant = 'standard',
@@ -281,12 +275,12 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
281
275
  };
282
276
  const classes = useUtilityClasses(ownerState);
283
277
  const startScrollButtonIconProps = (0, _useSlotProps.default)({
284
- elementType: slots.StartScrollButtonIcon,
278
+ elementType: slots.startScrollButtonIcon,
285
279
  externalSlotProps: slotProps.startScrollButtonIcon,
286
280
  ownerState
287
281
  });
288
282
  const endScrollButtonIconProps = (0, _useSlotProps.default)({
289
- elementType: slots.EndScrollButtonIcon,
283
+ elementType: slots.endScrollButtonIcon,
290
284
  externalSlotProps: slotProps.endScrollButtonIcon,
291
285
  ownerState
292
286
  });
@@ -309,11 +303,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
309
303
  const tabListRef = React.useRef(null);
310
304
  const externalForwardedProps = {
311
305
  slots,
312
- slotProps: {
313
- indicator: TabIndicatorProps,
314
- scrollButtons: TabScrollButtonProps,
315
- ...slotProps
316
- }
306
+ slotProps
317
307
  };
318
308
  const getTabsMeta = () => {
319
309
  const tabsNode = tabsRef.current;
@@ -457,15 +447,15 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
457
447
  });
458
448
  }, [scrollbarOnChange]);
459
449
  const [ScrollButtonsSlot, scrollButtonSlotProps] = (0, _useSlot.default)('scrollButtons', {
460
- className: (0, _clsx.default)(classes.scrollButtons, TabScrollButtonProps.className),
450
+ className: classes.scrollButtons,
461
451
  elementType: _TabScrollButton.default,
462
452
  externalForwardedProps,
463
453
  ownerState,
464
454
  additionalProps: {
465
455
  orientation,
466
456
  slots: {
467
- StartScrollButtonIcon: slots.startScrollButtonIcon || slots.StartScrollButtonIcon,
468
- EndScrollButtonIcon: slots.endScrollButtonIcon || slots.EndScrollButtonIcon
457
+ StartScrollButtonIcon: slots.startScrollButtonIcon,
458
+ EndScrollButtonIcon: slots.endScrollButtonIcon
469
459
  },
470
460
  slotProps: {
471
461
  startScrollButtonIcon: startScrollButtonIconProps,
@@ -620,7 +610,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
620
610
  updateScrollButtons: updateScrollButtonState
621
611
  }), [updateIndicatorState, updateScrollButtonState]);
622
612
  const [IndicatorSlot, indicatorSlotProps] = (0, _useSlot.default)('indicator', {
623
- className: (0, _clsx.default)(classes.indicator, TabIndicatorProps.className),
613
+ className: classes.indicator,
624
614
  elementType: TabsIndicator,
625
615
  externalForwardedProps,
626
616
  ownerState,
@@ -714,7 +704,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
714
704
  };
715
705
  const [ListSlot, listSlotProps] = (0, _useSlot.default)('list', {
716
706
  ref: mergedRef,
717
- className: (0, _clsx.default)(classes.list, classes.flexContainer),
707
+ className: classes.list,
718
708
  elementType: List,
719
709
  externalForwardedProps,
720
710
  ownerState,
@@ -813,12 +803,6 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
813
803
  * @default 'horizontal'
814
804
  */
815
805
  orientation: _propTypes.default.oneOf(['horizontal', 'vertical']),
816
- /**
817
- * The component used to render the scroll buttons.
818
- * @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.
819
- * @default TabScrollButton
820
- */
821
- ScrollButtonComponent: _propTypes.default.elementType,
822
806
  /**
823
807
  * Determine behavior of scroll buttons when tabs are set to scroll:
824
808
  *
@@ -856,32 +840,18 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
856
840
  */
857
841
  slots: _propTypes.default.shape({
858
842
  endScrollButtonIcon: _propTypes.default.elementType,
859
- EndScrollButtonIcon: _propTypes.default.elementType,
860
843
  indicator: _propTypes.default.elementType,
861
844
  list: _propTypes.default.elementType,
862
845
  root: _propTypes.default.elementType,
863
846
  scrollbar: _propTypes.default.elementType,
864
847
  scrollButtons: _propTypes.default.elementType,
865
848
  scroller: _propTypes.default.elementType,
866
- startScrollButtonIcon: _propTypes.default.elementType,
867
- StartScrollButtonIcon: _propTypes.default.elementType
849
+ startScrollButtonIcon: _propTypes.default.elementType
868
850
  }),
869
851
  /**
870
852
  * The system prop that allows defining system overrides as well as additional CSS styles.
871
853
  */
872
854
  sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
873
- /**
874
- * Props applied to the tab indicator element.
875
- * @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.
876
- * @default {}
877
- */
878
- TabIndicatorProps: _propTypes.default.object,
879
- /**
880
- * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
881
- * @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.
882
- * @default {}
883
- */
884
- TabScrollButtonProps: _propTypes.default.object,
885
855
  /**
886
856
  * Determines the color of the `Tab`.
887
857
  * @default 'primary'
package/Tabs/Tabs.mjs CHANGED
@@ -36,7 +36,7 @@ const useUtilityClasses = ownerState => {
36
36
  const slots = {
37
37
  root: ['root', vertical && 'vertical'],
38
38
  scroller: ['scroller', fixed && 'fixed', hideScrollbar && 'hideScrollbar', scrollableX && 'scrollableX', scrollableY && 'scrollableY'],
39
- list: ['list', 'flexContainer', vertical && 'flexContainerVertical', vertical && 'vertical', centered && 'centered'],
39
+ list: ['list', vertical && 'vertical', centered && 'centered'],
40
40
  indicator: ['indicator'],
41
41
  scrollButtons: ['scrollButtons', scrollButtonsHideMobile && 'scrollButtonsHideMobile'],
42
42
  scrollableX: [scrollableX && 'scrollableX'],
@@ -144,7 +144,7 @@ const List = styled('div', {
144
144
  const {
145
145
  ownerState
146
146
  } = props;
147
- return [styles.list, styles.flexContainer, ownerState.vertical && styles.flexContainerVertical, ownerState.centered && styles.centered];
147
+ return [styles.list, ownerState.centered && styles.centered];
148
148
  }
149
149
  })({
150
150
  display: 'flex',
@@ -231,16 +231,10 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
231
231
  indicatorColor = 'primary',
232
232
  onChange,
233
233
  orientation = 'horizontal',
234
- ScrollButtonComponent,
235
- // TODO: remove in v7 (deprecated in v6)
236
234
  scrollButtons = 'auto',
237
235
  selectionFollowsFocus,
238
236
  slots = {},
239
237
  slotProps = {},
240
- TabIndicatorProps = {},
241
- // TODO: remove in v7 (deprecated in v6)
242
- TabScrollButtonProps = {},
243
- // TODO: remove in v7 (deprecated in v6)
244
238
  textColor = 'primary',
245
239
  value,
246
240
  variant = 'standard',
@@ -274,12 +268,12 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
274
268
  };
275
269
  const classes = useUtilityClasses(ownerState);
276
270
  const startScrollButtonIconProps = useSlotProps({
277
- elementType: slots.StartScrollButtonIcon,
271
+ elementType: slots.startScrollButtonIcon,
278
272
  externalSlotProps: slotProps.startScrollButtonIcon,
279
273
  ownerState
280
274
  });
281
275
  const endScrollButtonIconProps = useSlotProps({
282
- elementType: slots.EndScrollButtonIcon,
276
+ elementType: slots.endScrollButtonIcon,
283
277
  externalSlotProps: slotProps.endScrollButtonIcon,
284
278
  ownerState
285
279
  });
@@ -302,11 +296,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
302
296
  const tabListRef = React.useRef(null);
303
297
  const externalForwardedProps = {
304
298
  slots,
305
- slotProps: {
306
- indicator: TabIndicatorProps,
307
- scrollButtons: TabScrollButtonProps,
308
- ...slotProps
309
- }
299
+ slotProps
310
300
  };
311
301
  const getTabsMeta = () => {
312
302
  const tabsNode = tabsRef.current;
@@ -450,15 +440,15 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
450
440
  });
451
441
  }, [scrollbarOnChange]);
452
442
  const [ScrollButtonsSlot, scrollButtonSlotProps] = useSlot('scrollButtons', {
453
- className: clsx(classes.scrollButtons, TabScrollButtonProps.className),
443
+ className: classes.scrollButtons,
454
444
  elementType: TabScrollButton,
455
445
  externalForwardedProps,
456
446
  ownerState,
457
447
  additionalProps: {
458
448
  orientation,
459
449
  slots: {
460
- StartScrollButtonIcon: slots.startScrollButtonIcon || slots.StartScrollButtonIcon,
461
- EndScrollButtonIcon: slots.endScrollButtonIcon || slots.EndScrollButtonIcon
450
+ StartScrollButtonIcon: slots.startScrollButtonIcon,
451
+ EndScrollButtonIcon: slots.endScrollButtonIcon
462
452
  },
463
453
  slotProps: {
464
454
  startScrollButtonIcon: startScrollButtonIconProps,
@@ -613,7 +603,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
613
603
  updateScrollButtons: updateScrollButtonState
614
604
  }), [updateIndicatorState, updateScrollButtonState]);
615
605
  const [IndicatorSlot, indicatorSlotProps] = useSlot('indicator', {
616
- className: clsx(classes.indicator, TabIndicatorProps.className),
606
+ className: classes.indicator,
617
607
  elementType: TabsIndicator,
618
608
  externalForwardedProps,
619
609
  ownerState,
@@ -707,7 +697,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
707
697
  };
708
698
  const [ListSlot, listSlotProps] = useSlot('list', {
709
699
  ref: mergedRef,
710
- className: clsx(classes.list, classes.flexContainer),
700
+ className: classes.list,
711
701
  elementType: List,
712
702
  externalForwardedProps,
713
703
  ownerState,
@@ -806,12 +796,6 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
806
796
  * @default 'horizontal'
807
797
  */
808
798
  orientation: PropTypes.oneOf(['horizontal', 'vertical']),
809
- /**
810
- * The component used to render the scroll buttons.
811
- * @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.
812
- * @default TabScrollButton
813
- */
814
- ScrollButtonComponent: PropTypes.elementType,
815
799
  /**
816
800
  * Determine behavior of scroll buttons when tabs are set to scroll:
817
801
  *
@@ -849,32 +833,18 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
849
833
  */
850
834
  slots: PropTypes.shape({
851
835
  endScrollButtonIcon: PropTypes.elementType,
852
- EndScrollButtonIcon: PropTypes.elementType,
853
836
  indicator: PropTypes.elementType,
854
837
  list: PropTypes.elementType,
855
838
  root: PropTypes.elementType,
856
839
  scrollbar: PropTypes.elementType,
857
840
  scrollButtons: PropTypes.elementType,
858
841
  scroller: PropTypes.elementType,
859
- startScrollButtonIcon: PropTypes.elementType,
860
- StartScrollButtonIcon: PropTypes.elementType
842
+ startScrollButtonIcon: PropTypes.elementType
861
843
  }),
862
844
  /**
863
845
  * The system prop that allows defining system overrides as well as additional CSS styles.
864
846
  */
865
847
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
866
- /**
867
- * Props applied to the tab indicator element.
868
- * @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.
869
- * @default {}
870
- */
871
- TabIndicatorProps: PropTypes.object,
872
- /**
873
- * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
874
- * @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.
875
- * @default {}
876
- */
877
- TabScrollButtonProps: PropTypes.object,
878
848
  /**
879
849
  * Determines the color of the `Tab`.
880
850
  * @default 'primary'
@@ -3,12 +3,6 @@ export interface TabsClasses {
3
3
  root: string;
4
4
  /** Styles applied to the root element if `orientation="vertical"`. */
5
5
  vertical: string;
6
- /** Styles applied to the flex container element. */
7
- /** @deprecated use `list` instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. */
8
- flexContainer: string;
9
- /** Styles applied to the flex container element if `orientation="vertical"`. */
10
- /** @deprecated use a combination of `list` and `vertical` instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. */
11
- flexContainerVertical: string;
12
6
  /** Styles applied to the list element. */
13
7
  list: string;
14
8
  /** Styles applied to the flex container element if `centered={true}` & `!variant="scrollable"`. */
@@ -3,12 +3,6 @@ export interface TabsClasses {
3
3
  root: string;
4
4
  /** Styles applied to the root element if `orientation="vertical"`. */
5
5
  vertical: string;
6
- /** Styles applied to the flex container element. */
7
- /** @deprecated use `list` instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. */
8
- flexContainer: string;
9
- /** Styles applied to the flex container element if `orientation="vertical"`. */
10
- /** @deprecated use a combination of `list` and `vertical` instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. */
11
- flexContainerVertical: string;
12
6
  /** Styles applied to the list element. */
13
7
  list: string;
14
8
  /** Styles applied to the flex container element if `centered={true}` & `!variant="scrollable"`. */
@@ -11,5 +11,5 @@ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateU
11
11
  function getTabsUtilityClass(slot) {
12
12
  return (0, _generateUtilityClass.default)('MuiTabs', slot);
13
13
  }
14
- const tabsClasses = (0, _generateUtilityClasses.default)('MuiTabs', ['root', 'vertical', 'list', 'flexContainer', 'flexContainerVertical', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);
14
+ const tabsClasses = (0, _generateUtilityClasses.default)('MuiTabs', ['root', 'vertical', 'list', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);
15
15
  var _default = exports.default = tabsClasses;
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getTabsUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiTabs', slot);
5
5
  }
6
- const tabsClasses = generateUtilityClasses('MuiTabs', ['root', 'vertical', 'list', 'flexContainer', 'flexContainerVertical', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);
6
+ const tabsClasses = generateUtilityClasses('MuiTabs', ['root', 'vertical', 'list', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);
7
7
  export default tabsClasses;
@@ -127,11 +127,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
127
127
  * @default false
128
128
  */
129
129
  error?: boolean | undefined;
130
- /**
131
- * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
132
- * @deprecated Use `slotProps.formHelperText` 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.
133
- */
134
- FormHelperTextProps?: Partial<FormHelperTextProps> | undefined;
135
130
  /**
136
131
  * If `true`, the input will take up the full width of its container.
137
132
  * @default false
@@ -146,17 +141,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
146
141
  * Use this prop to make `label` and `helperText` accessible for screen readers.
147
142
  */
148
143
  id?: string | undefined;
149
- /**
150
- * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
151
- * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
152
- * @deprecated Use `slotProps.inputLabel` 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.
153
- */
154
- InputLabelProps?: Partial<InputLabelProps> | undefined;
155
- /**
156
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
157
- * @deprecated Use `slotProps.htmlInput` 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.
158
- */
159
- inputProps?: InputBaseProps['inputProps'] | undefined;
160
144
  /**
161
145
  * Pass a ref to the `input` element.
162
146
  */
@@ -203,11 +187,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
203
187
  * @default false
204
188
  */
205
189
  select?: boolean | undefined;
206
- /**
207
- * Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
208
- * @deprecated Use `slotProps.select` 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.
209
- */
210
- SelectProps?: Partial<SelectProps> | undefined;
211
190
  /**
212
191
  * The size of the component.
213
192
  * @default 'medium'
@@ -239,14 +218,6 @@ export interface StandardTextFieldProps extends BaseTextFieldProps, TextFieldSlo
239
218
  * @default 'outlined'
240
219
  */
241
220
  variant?: 'standard' | undefined;
242
- /**
243
- * Props applied to the Input element.
244
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
245
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
246
- * component depending on the `variant` prop value.
247
- * @deprecated Use `slotProps.input` 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.
248
- */
249
- InputProps?: Partial<StandardInputProps> | undefined;
250
221
  }
251
222
  export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<FilledInputProps> {
252
223
  /**
@@ -261,14 +232,6 @@ export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlots
261
232
  * @default 'outlined'
262
233
  */
263
234
  variant: 'filled';
264
- /**
265
- * Props applied to the Input element.
266
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
267
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
268
- * component depending on the `variant` prop value.
269
- * @deprecated Use `slotProps.input` 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.
270
- */
271
- InputProps?: Partial<FilledInputProps> | undefined;
272
235
  }
273
236
  export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<OutlinedInputProps> {
274
237
  /**
@@ -283,14 +246,6 @@ export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlo
283
246
  * @default 'outlined'
284
247
  */
285
248
  variant: 'outlined';
286
- /**
287
- * Props applied to the Input element.
288
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
289
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
290
- * component depending on the `variant` prop value.
291
- * @deprecated Use `slotProps.input` 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.
292
- */
293
- InputProps?: Partial<OutlinedInputProps> | undefined;
294
249
  }
295
250
  export type TextFieldVariants = 'outlined' | 'standard' | 'filled';
296
251
  export type TextFieldProps<Variant extends TextFieldVariants = TextFieldVariants> = Variant extends 'filled' ? FilledTextFieldProps : Variant extends 'standard' ? StandardTextFieldProps : OutlinedTextFieldProps;
@@ -315,17 +270,19 @@ export type TextFieldOwnerState = BaseTextFieldProps;
315
270
  * If you wish to alter the props applied to the `input` element, you can do so as follows:
316
271
  *
317
272
  * ```jsx
318
- * const inputProps = {
319
- * step: 300,
273
+ * const slotProps = {
274
+ * htmlInput: {
275
+ * step: 300
276
+ * }
320
277
  * };
321
278
  *
322
- * return <TextField id="time" type="time" inputProps={inputProps} />;
279
+ * return <TextField id="time" type="time" slotProps={slotProps} />;
323
280
  * ```
324
281
  *
325
282
  * For advanced cases, please look at the source of TextField by clicking on the
326
283
  * "Edit this page" button above. Consider either:
327
284
  *
328
- * * using the upper case props for passing values directly to the components
285
+ * * using the `slotProps` prop for passing values directly to the components
329
286
  * * using the underlying components directly as shown in the demos
330
287
  *
331
288
  * Demos:
@@ -127,11 +127,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
127
127
  * @default false
128
128
  */
129
129
  error?: boolean | undefined;
130
- /**
131
- * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
132
- * @deprecated Use `slotProps.formHelperText` 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.
133
- */
134
- FormHelperTextProps?: Partial<FormHelperTextProps> | undefined;
135
130
  /**
136
131
  * If `true`, the input will take up the full width of its container.
137
132
  * @default false
@@ -146,17 +141,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
146
141
  * Use this prop to make `label` and `helperText` accessible for screen readers.
147
142
  */
148
143
  id?: string | undefined;
149
- /**
150
- * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
151
- * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
152
- * @deprecated Use `slotProps.inputLabel` 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.
153
- */
154
- InputLabelProps?: Partial<InputLabelProps> | undefined;
155
- /**
156
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
157
- * @deprecated Use `slotProps.htmlInput` 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.
158
- */
159
- inputProps?: InputBaseProps['inputProps'] | undefined;
160
144
  /**
161
145
  * Pass a ref to the `input` element.
162
146
  */
@@ -203,11 +187,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
203
187
  * @default false
204
188
  */
205
189
  select?: boolean | undefined;
206
- /**
207
- * Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
208
- * @deprecated Use `slotProps.select` 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.
209
- */
210
- SelectProps?: Partial<SelectProps> | undefined;
211
190
  /**
212
191
  * The size of the component.
213
192
  * @default 'medium'
@@ -239,14 +218,6 @@ export interface StandardTextFieldProps extends BaseTextFieldProps, TextFieldSlo
239
218
  * @default 'outlined'
240
219
  */
241
220
  variant?: 'standard' | undefined;
242
- /**
243
- * Props applied to the Input element.
244
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
245
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
246
- * component depending on the `variant` prop value.
247
- * @deprecated Use `slotProps.input` 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.
248
- */
249
- InputProps?: Partial<StandardInputProps> | undefined;
250
221
  }
251
222
  export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<FilledInputProps> {
252
223
  /**
@@ -261,14 +232,6 @@ export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlots
261
232
  * @default 'outlined'
262
233
  */
263
234
  variant: 'filled';
264
- /**
265
- * Props applied to the Input element.
266
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
267
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
268
- * component depending on the `variant` prop value.
269
- * @deprecated Use `slotProps.input` 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.
270
- */
271
- InputProps?: Partial<FilledInputProps> | undefined;
272
235
  }
273
236
  export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<OutlinedInputProps> {
274
237
  /**
@@ -283,14 +246,6 @@ export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlo
283
246
  * @default 'outlined'
284
247
  */
285
248
  variant: 'outlined';
286
- /**
287
- * Props applied to the Input element.
288
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
289
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
290
- * component depending on the `variant` prop value.
291
- * @deprecated Use `slotProps.input` 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.
292
- */
293
- InputProps?: Partial<OutlinedInputProps> | undefined;
294
249
  }
295
250
  export type TextFieldVariants = 'outlined' | 'standard' | 'filled';
296
251
  export type TextFieldProps<Variant extends TextFieldVariants = TextFieldVariants> = Variant extends 'filled' ? FilledTextFieldProps : Variant extends 'standard' ? StandardTextFieldProps : OutlinedTextFieldProps;
@@ -315,17 +270,19 @@ export type TextFieldOwnerState = BaseTextFieldProps;
315
270
  * If you wish to alter the props applied to the `input` element, you can do so as follows:
316
271
  *
317
272
  * ```jsx
318
- * const inputProps = {
319
- * step: 300,
273
+ * const slotProps = {
274
+ * htmlInput: {
275
+ * step: 300
276
+ * }
320
277
  * };
321
278
  *
322
- * return <TextField id="time" type="time" inputProps={inputProps} />;
279
+ * return <TextField id="time" type="time" slotProps={slotProps} />;
323
280
  * ```
324
281
  *
325
282
  * For advanced cases, please look at the source of TextField by clicking on the
326
283
  * "Edit this page" button above. Consider either:
327
284
  *
328
- * * using the upper case props for passing values directly to the components
285
+ * * using the `slotProps` prop for passing values directly to the components
329
286
  * * using the underlying components directly as shown in the demos
330
287
  *
331
288
  * Demos: