@mui/material 7.0.2 → 7.1.1

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 (933) hide show
  1. package/Accordion/Accordion.d.ts +1 -1
  2. package/Accordion/Accordion.js +1 -2
  3. package/AccordionActions/AccordionActions.d.ts +2 -1
  4. package/AccordionDetails/AccordionDetails.d.ts +2 -1
  5. package/AccordionDetails/AccordionDetails.js +1 -2
  6. package/AccordionSummary/AccordionSummary.d.ts +2 -1
  7. package/AccordionSummary/AccordionSummary.js +3 -6
  8. package/Alert/Alert.d.ts +4 -1
  9. package/Alert/Alert.js +3 -6
  10. package/AlertTitle/AlertTitle.d.ts +2 -1
  11. package/AlertTitle/AlertTitle.js +1 -2
  12. package/AppBar/AppBar.d.ts +1 -1
  13. package/Autocomplete/Autocomplete.d.ts +10 -1
  14. package/Autocomplete/Autocomplete.js +39 -34
  15. package/Avatar/Avatar.d.ts +33 -6
  16. package/Avatar/Avatar.js +35 -16
  17. package/AvatarGroup/AvatarGroup.d.ts +1 -1
  18. package/Badge/Badge.d.ts +27 -28
  19. package/Badge/Badge.js +28 -22
  20. package/Badge/useBadge.d.ts +0 -10
  21. package/Badge/useBadge.js +3 -12
  22. package/BottomNavigation/BottomNavigation.d.ts +1 -1
  23. package/BottomNavigation/BottomNavigation.js +1 -2
  24. package/BottomNavigationAction/BottomNavigationAction.d.ts +29 -3
  25. package/BottomNavigationAction/BottomNavigationAction.js +54 -11
  26. package/Breadcrumbs/Breadcrumbs.js +2 -4
  27. package/Button/Button.js +2 -4
  28. package/ButtonBase/ButtonBase.js +1 -2
  29. package/ButtonBase/TouchRipple.d.ts +1 -1
  30. package/ButtonGroup/ButtonGroup.d.ts +1 -1
  31. package/CHANGELOG.md +169 -0
  32. package/Card/Card.d.ts +1 -1
  33. package/Card/Card.js +1 -2
  34. package/CardActionArea/CardActionArea.d.ts +29 -3
  35. package/CardActionArea/CardActionArea.js +49 -12
  36. package/CardActions/CardActions.d.ts +2 -1
  37. package/CardContent/CardContent.d.ts +1 -1
  38. package/CardContent/CardContent.js +1 -2
  39. package/CardHeader/CardHeader.d.ts +1 -1
  40. package/CardHeader/CardHeader.js +3 -6
  41. package/CardMedia/CardMedia.d.ts +1 -1
  42. package/Checkbox/Checkbox.d.ts +2 -1
  43. package/Checkbox/Checkbox.js +1 -1
  44. package/Chip/Chip.d.ts +28 -2
  45. package/Chip/Chip.js +66 -15
  46. package/CircularProgress/CircularProgress.d.ts +2 -1
  47. package/CircularProgress/CircularProgress.js +1 -2
  48. package/ClickAwayListener/ClickAwayListener.js +12 -8
  49. package/Collapse/Collapse.d.ts +2 -1
  50. package/Collapse/Collapse.js +2 -4
  51. package/Dialog/Dialog.d.ts +2 -1
  52. package/Dialog/Dialog.js +2 -6
  53. package/DialogActions/DialogActions.d.ts +2 -1
  54. package/DialogContent/DialogContent.d.ts +2 -1
  55. package/DialogContentText/DialogContentText.js +1 -2
  56. package/DialogTitle/DialogTitle.js +1 -2
  57. package/Divider/Divider.d.ts +1 -1
  58. package/Drawer/Drawer.d.ts +2 -1
  59. package/Fab/Fab.d.ts +1 -1
  60. package/FilledInput/FilledInput.d.ts +2 -1
  61. package/FilledInput/FilledInput.js +2 -2
  62. package/FormControlLabel/FormControlLabel.d.ts +2 -1
  63. package/FormControlLabel/FormControlLabel.js +1 -2
  64. package/FormGroup/FormGroup.d.ts +2 -1
  65. package/FormLabel/FormLabel.js +1 -2
  66. package/IconButton/IconButton.d.ts +1 -1
  67. package/IconButton/IconButton.js +1 -2
  68. package/ImageList/ImageList.d.ts +1 -1
  69. package/ImageListItem/ImageListItem.d.ts +1 -1
  70. package/ImageListItemBar/ImageListItemBar.d.ts +2 -1
  71. package/ImageListItemBar/ImageListItemBar.js +2 -4
  72. package/InitColorSchemeScript/InitColorSchemeScript.d.ts +59 -3
  73. package/InitColorSchemeScript/InitColorSchemeScript.js +79 -4
  74. package/Input/Input.d.ts +2 -1
  75. package/Input/Input.js +2 -2
  76. package/InputAdornment/InputAdornment.d.ts +1 -1
  77. package/InputBase/InputBase.d.ts +3 -3
  78. package/InputBase/InputBase.js +2 -2
  79. package/LinearProgress/LinearProgress.d.ts +2 -1
  80. package/List/List.d.ts +1 -1
  81. package/ListItem/ListItem.js +1 -2
  82. package/ListItemAvatar/ListItemAvatar.d.ts +2 -1
  83. package/ListItemIcon/ListItemIcon.d.ts +2 -1
  84. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -1
  85. package/ListItemText/ListItemText.d.ts +2 -1
  86. package/ListSubheader/ListSubheader.d.ts +1 -1
  87. package/Menu/Menu.d.ts +3 -3
  88. package/Menu/Menu.js +3 -6
  89. package/MobileStepper/MobileStepper.d.ts +2 -1
  90. package/MobileStepper/MobileStepper.js +2 -4
  91. package/Modal/Modal.d.ts +0 -3
  92. package/Modal/Modal.js +1 -7
  93. package/Modal/ModalManager.js +11 -8
  94. package/Modal/useModal.d.ts +0 -10
  95. package/Modal/useModal.js +10 -17
  96. package/NativeSelect/NativeSelect.d.ts +3 -2
  97. package/NativeSelect/NativeSelect.js +1 -1
  98. package/NativeSelect/NativeSelectInput.d.ts +1 -1
  99. package/NoSsr/NoSsr.js +4 -3
  100. package/OutlinedInput/NotchedOutline.d.ts +1 -1
  101. package/OutlinedInput/OutlinedInput.d.ts +18 -2
  102. package/OutlinedInput/OutlinedInput.js +33 -14
  103. package/Pagination/Pagination.d.ts +1 -1
  104. package/Pagination/Pagination.js +1 -2
  105. package/PaginationItem/PaginationItem.js +1 -2
  106. package/Popover/Popover.d.ts +4 -3
  107. package/Popover/Popover.js +2 -4
  108. package/Popper/BasePopper.js +14 -9
  109. package/Popper/Popper.js +1 -2
  110. package/Portal/Portal.js +13 -8
  111. package/Radio/Radio.d.ts +2 -1
  112. package/Radio/Radio.js +1 -1
  113. package/Rating/Rating.d.ts +1 -1
  114. package/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
  115. package/Select/Select.d.ts +3 -2
  116. package/Select/Select.js +3 -4
  117. package/Select/SelectInput.d.ts +11 -3
  118. package/Select/SelectInput.js +1 -2
  119. package/Skeleton/Skeleton.d.ts +1 -1
  120. package/Slider/Slider.js +4 -8
  121. package/Slider/SliderValueLabel.js +1 -1
  122. package/Slider/useSlider.d.ts +0 -10
  123. package/Slider/useSlider.js +26 -29
  124. package/Snackbar/Snackbar.d.ts +1 -1
  125. package/Snackbar/Snackbar.js +4 -0
  126. package/Snackbar/useSnackbar.d.ts +0 -11
  127. package/Snackbar/useSnackbar.js +5 -15
  128. package/SnackbarContent/SnackbarContent.d.ts +1 -1
  129. package/SnackbarContent/SnackbarContent.js +5 -11
  130. package/SpeedDial/SpeedDial.d.ts +1 -1
  131. package/SpeedDial/SpeedDial.js +1 -2
  132. package/SpeedDialAction/SpeedDialAction.d.ts +1 -1
  133. package/SpeedDialAction/SpeedDialAction.js +1 -2
  134. package/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
  135. package/Stack/Stack.js +1 -2
  136. package/StepConnector/StepConnector.d.ts +1 -1
  137. package/StepContent/StepContent.d.ts +2 -1
  138. package/StepContent/StepContent.js +1 -2
  139. package/StepIcon/StepIcon.d.ts +2 -1
  140. package/StepIcon/StepIcon.js +2 -4
  141. package/StepLabel/StepLabel.d.ts +2 -2
  142. package/StepLabel/StepLabel.js +3 -6
  143. package/Switch/Switch.d.ts +2 -1
  144. package/Switch/Switch.js +3 -5
  145. package/Tab/Tab.d.ts +1 -1
  146. package/TabScrollButton/TabScrollButton.d.ts +2 -1
  147. package/Table/Table.d.ts +1 -1
  148. package/TableBody/TableBody.d.ts +1 -1
  149. package/TableBody/TableBody.js +1 -2
  150. package/TableCell/TableCell.d.ts +2 -1
  151. package/TableContainer/TableContainer.d.ts +1 -1
  152. package/TableContainer/TableContainer.js +1 -2
  153. package/TableFooter/TableFooter.d.ts +1 -1
  154. package/TableFooter/TableFooter.js +1 -2
  155. package/TableHead/TableHead.d.ts +1 -1
  156. package/TableHead/TableHead.js +1 -2
  157. package/TablePagination/TablePagination.d.ts +1 -1
  158. package/TablePagination/TablePagination.js +6 -11
  159. package/{TablePagination → TablePaginationActions}/TablePaginationActions.d.ts +11 -0
  160. package/{TablePagination → TablePaginationActions}/TablePaginationActions.js +60 -25
  161. package/TablePaginationActions/index.d.ts +4 -0
  162. package/TablePaginationActions/index.js +20 -0
  163. package/TablePaginationActions/tablePaginationActionsClasses.d.ts +8 -0
  164. package/TablePaginationActions/tablePaginationActionsClasses.js +15 -0
  165. package/TableRow/TableRow.d.ts +1 -1
  166. package/TableSortLabel/TableSortLabel.d.ts +1 -1
  167. package/Tabs/Tabs.js +1 -2
  168. package/TextField/TextField.d.ts +4 -4
  169. package/TextField/TextField.js +3 -4
  170. package/TextareaAutosize/TextareaAutosize.js +21 -8
  171. package/ToggleButton/ToggleButton.d.ts +1 -1
  172. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  173. package/Toolbar/Toolbar.d.ts +1 -1
  174. package/Tooltip/Tooltip.d.ts +2 -1
  175. package/Tooltip/Tooltip.js +1 -2
  176. package/Unstable_TrapFocus/FocusTrap.js +10 -6
  177. package/className/index.d.ts +1 -1
  178. package/className/index.js +3 -2
  179. package/esm/Accordion/Accordion.d.ts +1 -1
  180. package/esm/Accordion/Accordion.js +1 -2
  181. package/esm/AccordionActions/AccordionActions.d.ts +2 -1
  182. package/esm/AccordionDetails/AccordionDetails.d.ts +2 -1
  183. package/esm/AccordionDetails/AccordionDetails.js +1 -2
  184. package/esm/AccordionSummary/AccordionSummary.d.ts +2 -1
  185. package/esm/AccordionSummary/AccordionSummary.js +3 -6
  186. package/esm/Alert/Alert.d.ts +4 -1
  187. package/esm/Alert/Alert.js +3 -6
  188. package/esm/AlertTitle/AlertTitle.d.ts +2 -1
  189. package/esm/AlertTitle/AlertTitle.js +1 -2
  190. package/esm/AppBar/AppBar.d.ts +1 -1
  191. package/esm/Autocomplete/Autocomplete.d.ts +10 -1
  192. package/esm/Autocomplete/Autocomplete.js +39 -34
  193. package/esm/Avatar/Avatar.d.ts +33 -6
  194. package/esm/Avatar/Avatar.js +35 -16
  195. package/esm/AvatarGroup/AvatarGroup.d.ts +1 -1
  196. package/esm/Badge/Badge.d.ts +27 -28
  197. package/esm/Badge/Badge.js +28 -22
  198. package/esm/Badge/useBadge.d.ts +0 -10
  199. package/esm/Badge/useBadge.js +1 -11
  200. package/esm/BottomNavigation/BottomNavigation.d.ts +1 -1
  201. package/esm/BottomNavigation/BottomNavigation.js +1 -2
  202. package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +29 -3
  203. package/esm/BottomNavigationAction/BottomNavigationAction.js +54 -11
  204. package/esm/Breadcrumbs/Breadcrumbs.js +2 -4
  205. package/esm/Button/Button.js +2 -4
  206. package/esm/ButtonBase/ButtonBase.js +1 -2
  207. package/esm/ButtonBase/TouchRipple.d.ts +1 -1
  208. package/esm/ButtonGroup/ButtonGroup.d.ts +1 -1
  209. package/esm/Card/Card.d.ts +1 -1
  210. package/esm/Card/Card.js +1 -2
  211. package/esm/CardActionArea/CardActionArea.d.ts +29 -3
  212. package/esm/CardActionArea/CardActionArea.js +49 -12
  213. package/esm/CardActions/CardActions.d.ts +2 -1
  214. package/esm/CardContent/CardContent.d.ts +1 -1
  215. package/esm/CardContent/CardContent.js +1 -2
  216. package/esm/CardHeader/CardHeader.d.ts +1 -1
  217. package/esm/CardHeader/CardHeader.js +3 -6
  218. package/esm/CardMedia/CardMedia.d.ts +1 -1
  219. package/esm/Checkbox/Checkbox.d.ts +2 -1
  220. package/esm/Checkbox/Checkbox.js +1 -1
  221. package/esm/Chip/Chip.d.ts +28 -2
  222. package/esm/Chip/Chip.js +66 -15
  223. package/esm/CircularProgress/CircularProgress.d.ts +2 -1
  224. package/esm/CircularProgress/CircularProgress.js +1 -2
  225. package/esm/ClickAwayListener/ClickAwayListener.js +5 -1
  226. package/esm/Collapse/Collapse.d.ts +2 -1
  227. package/esm/Collapse/Collapse.js +2 -4
  228. package/esm/Dialog/Dialog.d.ts +2 -1
  229. package/esm/Dialog/Dialog.js +2 -6
  230. package/esm/DialogActions/DialogActions.d.ts +2 -1
  231. package/esm/DialogContent/DialogContent.d.ts +2 -1
  232. package/esm/DialogContentText/DialogContentText.js +1 -2
  233. package/esm/DialogTitle/DialogTitle.js +1 -2
  234. package/esm/Divider/Divider.d.ts +1 -1
  235. package/esm/Drawer/Drawer.d.ts +2 -1
  236. package/esm/Fab/Fab.d.ts +1 -1
  237. package/esm/FilledInput/FilledInput.d.ts +2 -1
  238. package/esm/FilledInput/FilledInput.js +2 -2
  239. package/esm/FormControlLabel/FormControlLabel.d.ts +2 -1
  240. package/esm/FormControlLabel/FormControlLabel.js +1 -2
  241. package/esm/FormGroup/FormGroup.d.ts +2 -1
  242. package/esm/FormLabel/FormLabel.js +1 -2
  243. package/esm/IconButton/IconButton.d.ts +1 -1
  244. package/esm/IconButton/IconButton.js +1 -2
  245. package/esm/ImageList/ImageList.d.ts +1 -1
  246. package/esm/ImageListItem/ImageListItem.d.ts +1 -1
  247. package/esm/ImageListItemBar/ImageListItemBar.d.ts +2 -1
  248. package/esm/ImageListItemBar/ImageListItemBar.js +2 -4
  249. package/esm/InitColorSchemeScript/InitColorSchemeScript.d.ts +59 -3
  250. package/esm/InitColorSchemeScript/InitColorSchemeScript.js +79 -4
  251. package/esm/Input/Input.d.ts +2 -1
  252. package/esm/Input/Input.js +2 -2
  253. package/esm/InputAdornment/InputAdornment.d.ts +1 -1
  254. package/esm/InputBase/InputBase.d.ts +3 -3
  255. package/esm/InputBase/InputBase.js +2 -2
  256. package/esm/LinearProgress/LinearProgress.d.ts +2 -1
  257. package/esm/List/List.d.ts +1 -1
  258. package/esm/ListItem/ListItem.js +1 -2
  259. package/esm/ListItemAvatar/ListItemAvatar.d.ts +2 -1
  260. package/esm/ListItemIcon/ListItemIcon.d.ts +2 -1
  261. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -1
  262. package/esm/ListItemText/ListItemText.d.ts +2 -1
  263. package/esm/ListSubheader/ListSubheader.d.ts +1 -1
  264. package/esm/Menu/Menu.d.ts +3 -3
  265. package/esm/Menu/Menu.js +3 -6
  266. package/esm/MobileStepper/MobileStepper.d.ts +2 -1
  267. package/esm/MobileStepper/MobileStepper.js +2 -4
  268. package/esm/Modal/Modal.d.ts +0 -3
  269. package/esm/Modal/Modal.js +1 -7
  270. package/esm/Modal/ModalManager.js +3 -1
  271. package/esm/Modal/useModal.d.ts +0 -10
  272. package/esm/Modal/useModal.js +4 -11
  273. package/esm/NativeSelect/NativeSelect.d.ts +3 -2
  274. package/esm/NativeSelect/NativeSelect.js +1 -1
  275. package/esm/NativeSelect/NativeSelectInput.d.ts +1 -1
  276. package/esm/NoSsr/NoSsr.js +2 -1
  277. package/esm/OutlinedInput/NotchedOutline.d.ts +1 -1
  278. package/esm/OutlinedInput/OutlinedInput.d.ts +18 -2
  279. package/esm/OutlinedInput/OutlinedInput.js +33 -14
  280. package/esm/Pagination/Pagination.d.ts +1 -1
  281. package/esm/Pagination/Pagination.js +1 -2
  282. package/esm/PaginationItem/PaginationItem.js +1 -2
  283. package/esm/Popover/Popover.d.ts +4 -3
  284. package/esm/Popover/Popover.js +2 -4
  285. package/esm/Popper/BasePopper.js +6 -1
  286. package/esm/Popper/Popper.js +1 -2
  287. package/esm/Portal/Portal.js +6 -1
  288. package/esm/Radio/Radio.d.ts +2 -1
  289. package/esm/Radio/Radio.js +1 -1
  290. package/esm/Rating/Rating.d.ts +1 -1
  291. package/esm/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
  292. package/esm/Select/Select.d.ts +3 -2
  293. package/esm/Select/Select.js +3 -4
  294. package/esm/Select/SelectInput.d.ts +11 -3
  295. package/esm/Select/SelectInput.js +1 -2
  296. package/esm/Skeleton/Skeleton.d.ts +1 -1
  297. package/esm/Slider/Slider.js +4 -8
  298. package/esm/Slider/SliderValueLabel.js +1 -1
  299. package/esm/Slider/useSlider.d.ts +0 -10
  300. package/esm/Slider/useSlider.js +8 -11
  301. package/esm/Snackbar/Snackbar.d.ts +1 -1
  302. package/esm/Snackbar/Snackbar.js +4 -0
  303. package/esm/Snackbar/useSnackbar.d.ts +0 -11
  304. package/esm/Snackbar/useSnackbar.js +2 -12
  305. package/esm/SnackbarContent/SnackbarContent.d.ts +1 -1
  306. package/esm/SnackbarContent/SnackbarContent.js +5 -11
  307. package/esm/SpeedDial/SpeedDial.d.ts +1 -1
  308. package/esm/SpeedDial/SpeedDial.js +1 -2
  309. package/esm/SpeedDialAction/SpeedDialAction.d.ts +1 -1
  310. package/esm/SpeedDialAction/SpeedDialAction.js +1 -2
  311. package/esm/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
  312. package/esm/Stack/Stack.js +1 -2
  313. package/esm/StepConnector/StepConnector.d.ts +1 -1
  314. package/esm/StepContent/StepContent.d.ts +2 -1
  315. package/esm/StepContent/StepContent.js +1 -2
  316. package/esm/StepIcon/StepIcon.d.ts +2 -1
  317. package/esm/StepIcon/StepIcon.js +2 -4
  318. package/esm/StepLabel/StepLabel.d.ts +2 -2
  319. package/esm/StepLabel/StepLabel.js +3 -6
  320. package/esm/Switch/Switch.d.ts +2 -1
  321. package/esm/Switch/Switch.js +3 -5
  322. package/esm/Tab/Tab.d.ts +1 -1
  323. package/esm/TabScrollButton/TabScrollButton.d.ts +2 -1
  324. package/esm/Table/Table.d.ts +1 -1
  325. package/esm/TableBody/TableBody.d.ts +1 -1
  326. package/esm/TableBody/TableBody.js +1 -2
  327. package/esm/TableCell/TableCell.d.ts +2 -1
  328. package/esm/TableContainer/TableContainer.d.ts +1 -1
  329. package/esm/TableContainer/TableContainer.js +1 -2
  330. package/esm/TableFooter/TableFooter.d.ts +1 -1
  331. package/esm/TableFooter/TableFooter.js +1 -2
  332. package/esm/TableHead/TableHead.d.ts +1 -1
  333. package/esm/TableHead/TableHead.js +1 -2
  334. package/esm/TablePagination/TablePagination.d.ts +1 -1
  335. package/esm/TablePagination/TablePagination.js +6 -11
  336. package/esm/{TablePagination → TablePaginationActions}/TablePaginationActions.d.ts +11 -0
  337. package/esm/{TablePagination → TablePaginationActions}/TablePaginationActions.js +60 -27
  338. package/esm/TablePaginationActions/index.d.ts +4 -0
  339. package/esm/TablePaginationActions/index.js +2 -0
  340. package/esm/TablePaginationActions/tablePaginationActionsClasses.d.ts +8 -0
  341. package/esm/TablePaginationActions/tablePaginationActionsClasses.js +7 -0
  342. package/esm/TableRow/TableRow.d.ts +1 -1
  343. package/esm/TableSortLabel/TableSortLabel.d.ts +1 -1
  344. package/esm/Tabs/Tabs.js +1 -2
  345. package/esm/TextField/TextField.d.ts +4 -4
  346. package/esm/TextField/TextField.js +3 -4
  347. package/esm/TextareaAutosize/TextareaAutosize.js +14 -1
  348. package/esm/ToggleButton/ToggleButton.d.ts +1 -1
  349. package/esm/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  350. package/esm/Toolbar/Toolbar.d.ts +1 -1
  351. package/esm/Tooltip/Tooltip.d.ts +2 -1
  352. package/esm/Tooltip/Tooltip.js +1 -2
  353. package/esm/Unstable_TrapFocus/FocusTrap.js +5 -1
  354. package/esm/className/index.d.ts +1 -1
  355. package/esm/className/index.js +1 -1
  356. package/esm/generateUtilityClass/index.d.ts +2 -2
  357. package/esm/generateUtilityClass/index.js +1 -1
  358. package/esm/generateUtilityClasses/index.d.ts +1 -1
  359. package/esm/generateUtilityClasses/index.js +1 -1
  360. package/esm/index.d.ts +6 -45
  361. package/esm/index.js +6 -3
  362. package/esm/internal/SwitchBase.d.ts +2 -2
  363. package/esm/internal/SwitchBase.js +1 -1
  364. package/esm/internal/index.d.ts +17 -0
  365. package/esm/internal/index.js +1 -0
  366. package/esm/styles/ThemeProvider.js +17 -17
  367. package/esm/styles/components.d.ts +5 -0
  368. package/esm/styles/createThemeNoVars.d.ts +1 -1
  369. package/esm/styles/index.d.ts +19 -0
  370. package/esm/styles/overrides.d.ts +2 -0
  371. package/esm/styles/props.d.ts +2 -0
  372. package/esm/useAutocomplete/useAutocomplete.d.ts +0 -10
  373. package/esm/useAutocomplete/useAutocomplete.js +5 -2
  374. package/esm/utils/index.d.ts +1 -1
  375. package/esm/utils/index.js +1 -1
  376. package/esm/utils/mergeSlotProps.d.ts +1 -1
  377. package/esm/utils/types.d.ts +2 -2
  378. package/esm/version/index.js +3 -3
  379. package/generateUtilityClass/index.d.ts +2 -2
  380. package/generateUtilityClass/index.js +3 -2
  381. package/generateUtilityClasses/index.d.ts +1 -1
  382. package/generateUtilityClasses/index.js +3 -2
  383. package/index.d.ts +6 -45
  384. package/index.js +32 -5
  385. package/internal/SwitchBase.d.ts +2 -2
  386. package/internal/SwitchBase.js +1 -1
  387. package/internal/index.d.ts +17 -0
  388. package/internal/index.js +5 -0
  389. package/package.json +8 -8
  390. package/styles/ThemeProvider.js +17 -17
  391. package/styles/components.d.ts +5 -0
  392. package/styles/createThemeNoVars.d.ts +1 -1
  393. package/styles/index.d.ts +19 -0
  394. package/styles/overrides.d.ts +2 -0
  395. package/styles/props.d.ts +2 -0
  396. package/useAutocomplete/useAutocomplete.d.ts +0 -10
  397. package/useAutocomplete/useAutocomplete.js +16 -12
  398. package/utils/index.d.ts +1 -1
  399. package/utils/index.js +2 -2
  400. package/utils/mergeSlotProps.d.ts +1 -1
  401. package/utils/types.d.ts +2 -2
  402. package/version/index.js +3 -3
  403. package/modern/Accordion/Accordion.d.ts +0 -122
  404. package/modern/Accordion/accordionClasses.d.ts +0 -20
  405. package/modern/Accordion/index.d.ts +0 -4
  406. package/modern/AccordionActions/AccordionActions.d.ts +0 -35
  407. package/modern/AccordionActions/accordionActionsClasses.d.ts +0 -10
  408. package/modern/AccordionActions/index.d.ts +0 -4
  409. package/modern/AccordionDetails/AccordionDetails.d.ts +0 -30
  410. package/modern/AccordionDetails/accordionDetailsClasses.d.ts +0 -8
  411. package/modern/AccordionDetails/index.d.ts +0 -4
  412. package/modern/AccordionSummary/AccordionSummary.d.ts +0 -80
  413. package/modern/AccordionSummary/accordionSummaryClasses.d.ts +0 -25
  414. package/modern/AccordionSummary/index.d.ts +0 -4
  415. package/modern/Alert/Alert.d.ts +0 -178
  416. package/modern/Alert/alertClasses.d.ts +0 -100
  417. package/modern/Alert/index.d.ts +0 -4
  418. package/modern/AlertTitle/AlertTitle.d.ts +0 -31
  419. package/modern/AlertTitle/alertTitleClasses.d.ts +0 -8
  420. package/modern/AlertTitle/index.d.ts +0 -4
  421. package/modern/AppBar/AppBar.d.ts +0 -59
  422. package/modern/AppBar/appBarClasses.d.ts +0 -36
  423. package/modern/AppBar/index.d.ts +0 -4
  424. package/modern/Autocomplete/Autocomplete.d.ts +0 -320
  425. package/modern/Autocomplete/autocompleteClasses.d.ts +0 -58
  426. package/modern/Autocomplete/index.d.ts +0 -4
  427. package/modern/Avatar/Avatar.d.ts +0 -85
  428. package/modern/Avatar/avatarClasses.d.ts +0 -20
  429. package/modern/Avatar/index.d.ts +0 -4
  430. package/modern/AvatarGroup/AvatarGroup.d.ts +0 -96
  431. package/modern/AvatarGroup/avatarGroupClasses.d.ts +0 -10
  432. package/modern/AvatarGroup/index.d.ts +0 -4
  433. package/modern/Backdrop/Backdrop.d.ts +0 -118
  434. package/modern/Backdrop/backdropClasses.d.ts +0 -10
  435. package/modern/Backdrop/index.d.ts +0 -4
  436. package/modern/Badge/Badge.d.ts +0 -158
  437. package/modern/Badge/badgeClasses.d.ts +0 -56
  438. package/modern/Badge/index.d.ts +0 -4
  439. package/modern/Badge/useBadge.d.ts +0 -13
  440. package/modern/Badge/useBadge.types.d.ts +0 -39
  441. package/modern/BottomNavigation/BottomNavigation.d.ts +0 -55
  442. package/modern/BottomNavigation/bottomNavigationClasses.d.ts +0 -8
  443. package/modern/BottomNavigation/index.d.ts +0 -4
  444. package/modern/BottomNavigationAction/BottomNavigationAction.d.ts +0 -62
  445. package/modern/BottomNavigationAction/bottomNavigationActionClasses.d.ts +0 -14
  446. package/modern/BottomNavigationAction/index.d.ts +0 -4
  447. package/modern/Box/Box.d.ts +0 -20
  448. package/modern/Box/boxClasses.d.ts +0 -7
  449. package/modern/Box/index.d.ts +0 -4
  450. package/modern/Breadcrumbs/Breadcrumbs.d.ts +0 -94
  451. package/modern/Breadcrumbs/breadcrumbsClasses.d.ts +0 -14
  452. package/modern/Breadcrumbs/index.d.ts +0 -4
  453. package/modern/Button/Button.d.ts +0 -130
  454. package/modern/Button/buttonClasses.d.ts +0 -194
  455. package/modern/Button/index.d.ts +0 -4
  456. package/modern/ButtonBase/ButtonBase.d.ts +0 -125
  457. package/modern/ButtonBase/TouchRipple.d.ts +0 -22
  458. package/modern/ButtonBase/buttonBaseClasses.d.ts +0 -12
  459. package/modern/ButtonBase/index.d.ts +0 -6
  460. package/modern/ButtonBase/touchRippleClasses.d.ts +0 -20
  461. package/modern/ButtonGroup/ButtonGroup.d.ts +0 -91
  462. package/modern/ButtonGroup/ButtonGroupButtonContext.d.ts +0 -6
  463. package/modern/ButtonGroup/ButtonGroupContext.d.ts +0 -18
  464. package/modern/ButtonGroup/buttonGroupClasses.d.ts +0 -104
  465. package/modern/ButtonGroup/index.d.ts +0 -6
  466. package/modern/Card/Card.d.ts +0 -47
  467. package/modern/Card/cardClasses.d.ts +0 -8
  468. package/modern/Card/index.d.ts +0 -4
  469. package/modern/CardActionArea/CardActionArea.d.ts +0 -38
  470. package/modern/CardActionArea/cardActionAreaClasses.d.ts +0 -12
  471. package/modern/CardActionArea/index.d.ts +0 -4
  472. package/modern/CardActions/CardActions.d.ts +0 -35
  473. package/modern/CardActions/cardActionsClasses.d.ts +0 -10
  474. package/modern/CardActions/index.d.ts +0 -4
  475. package/modern/CardContent/CardContent.d.ts +0 -38
  476. package/modern/CardContent/cardContentClasses.d.ts +0 -8
  477. package/modern/CardContent/index.d.ts +0 -4
  478. package/modern/CardHeader/CardHeader.d.ts +0 -157
  479. package/modern/CardHeader/cardHeaderClasses.d.ts +0 -18
  480. package/modern/CardHeader/index.d.ts +0 -4
  481. package/modern/CardMedia/CardMedia.d.ts +0 -51
  482. package/modern/CardMedia/cardMediaClasses.d.ts +0 -12
  483. package/modern/CardMedia/index.d.ts +0 -4
  484. package/modern/Checkbox/Checkbox.d.ts +0 -131
  485. package/modern/Checkbox/checkboxClasses.d.ts +0 -22
  486. package/modern/Checkbox/index.d.ts +0 -4
  487. package/modern/Chip/Chip.d.ts +0 -107
  488. package/modern/Chip/chipClasses.d.ts +0 -150
  489. package/modern/Chip/index.d.ts +0 -4
  490. package/modern/CircularProgress/CircularProgress.d.ts +0 -71
  491. package/modern/CircularProgress/circularProgressClasses.d.ts +0 -30
  492. package/modern/CircularProgress/index.d.ts +0 -4
  493. package/modern/ClickAwayListener/ClickAwayListener.d.ts +0 -47
  494. package/modern/ClickAwayListener/index.d.ts +0 -2
  495. package/modern/Collapse/Collapse.d.ts +0 -71
  496. package/modern/Collapse/collapseClasses.d.ts +0 -18
  497. package/modern/Collapse/index.d.ts +0 -4
  498. package/modern/Container/Container.d.ts +0 -55
  499. package/modern/Container/containerClasses.d.ts +0 -6
  500. package/modern/Container/index.d.ts +0 -4
  501. package/modern/CssBaseline/CssBaseline.d.ts +0 -28
  502. package/modern/CssBaseline/index.d.ts +0 -2
  503. package/modern/DefaultPropsProvider/DefaultPropsProvider.d.ts +0 -13
  504. package/modern/DefaultPropsProvider/index.d.ts +0 -1
  505. package/modern/Dialog/Dialog.d.ts +0 -184
  506. package/modern/Dialog/DialogContext.d.ts +0 -6
  507. package/modern/Dialog/dialogClasses.d.ts +0 -40
  508. package/modern/Dialog/index.d.ts +0 -4
  509. package/modern/DialogActions/DialogActions.d.ts +0 -35
  510. package/modern/DialogActions/dialogActionsClasses.d.ts +0 -10
  511. package/modern/DialogActions/index.d.ts +0 -4
  512. package/modern/DialogContent/DialogContent.d.ts +0 -35
  513. package/modern/DialogContent/dialogContentClasses.d.ts +0 -10
  514. package/modern/DialogContent/index.d.ts +0 -4
  515. package/modern/DialogContentText/DialogContentText.d.ts +0 -37
  516. package/modern/DialogContentText/dialogContentTextClasses.d.ts +0 -8
  517. package/modern/DialogContentText/index.d.ts +0 -4
  518. package/modern/DialogTitle/DialogTitle.d.ts +0 -43
  519. package/modern/DialogTitle/dialogTitleClasses.d.ts +0 -8
  520. package/modern/DialogTitle/index.d.ts +0 -4
  521. package/modern/Divider/Divider.d.ts +0 -74
  522. package/modern/Divider/dividerClasses.d.ts +0 -38
  523. package/modern/Divider/index.d.ts +0 -4
  524. package/modern/Drawer/Drawer.d.ts +0 -154
  525. package/modern/Drawer/drawerClasses.d.ts +0 -54
  526. package/modern/Drawer/index.d.ts +0 -4
  527. package/modern/Fab/Fab.d.ts +0 -82
  528. package/modern/Fab/fabClasses.d.ts +0 -26
  529. package/modern/Fab/index.d.ts +0 -4
  530. package/modern/Fade/Fade.d.ts +0 -48
  531. package/modern/Fade/index.d.ts +0 -2
  532. package/modern/FilledInput/FilledInput.d.ts +0 -42
  533. package/modern/FilledInput/filledInputClasses.d.ts +0 -30
  534. package/modern/FilledInput/index.d.ts +0 -4
  535. package/modern/FormControl/FormControl.d.ts +0 -120
  536. package/modern/FormControl/FormControlContext.d.ts +0 -17
  537. package/modern/FormControl/formControlClasses.d.ts +0 -14
  538. package/modern/FormControl/index.d.ts +0 -6
  539. package/modern/FormControl/useFormControl.d.ts +0 -2
  540. package/modern/FormControlLabel/FormControlLabel.d.ts +0 -101
  541. package/modern/FormControlLabel/formControlLabelClasses.d.ts +0 -24
  542. package/modern/FormControlLabel/index.d.ts +0 -4
  543. package/modern/FormGroup/FormGroup.d.ts +0 -39
  544. package/modern/FormGroup/formGroupClasses.d.ts +0 -12
  545. package/modern/FormGroup/index.d.ts +0 -4
  546. package/modern/FormHelperText/FormHelperText.d.ts +0 -71
  547. package/modern/FormHelperText/formHelperTextClasses.d.ts +0 -22
  548. package/modern/FormHelperText/index.d.ts +0 -4
  549. package/modern/FormLabel/FormLabel.d.ts +0 -78
  550. package/modern/FormLabel/formLabelClasses.d.ts +0 -22
  551. package/modern/FormLabel/index.d.ts +0 -4
  552. package/modern/GlobalStyles/GlobalStyles.d.ts +0 -20
  553. package/modern/GlobalStyles/index.d.ts +0 -2
  554. package/modern/Grid/Grid.d.ts +0 -111
  555. package/modern/Grid/gridClasses.d.ts +0 -10
  556. package/modern/Grid/index.d.ts +0 -4
  557. package/modern/GridLegacy/GridLegacy.d.ts +0 -160
  558. package/modern/GridLegacy/gridLegacyClasses.d.ts +0 -48
  559. package/modern/GridLegacy/index.d.ts +0 -4
  560. package/modern/Grow/Grow.d.ts +0 -49
  561. package/modern/Grow/index.d.ts +0 -2
  562. package/modern/Icon/Icon.d.ts +0 -62
  563. package/modern/Icon/iconClasses.d.ts +0 -24
  564. package/modern/Icon/index.d.ts +0 -4
  565. package/modern/IconButton/IconButton.d.ts +0 -90
  566. package/modern/IconButton/iconButtonClasses.d.ts +0 -40
  567. package/modern/IconButton/index.d.ts +0 -4
  568. package/modern/ImageList/ImageList.d.ts +0 -60
  569. package/modern/ImageList/imageListClasses.d.ts +0 -16
  570. package/modern/ImageList/index.d.ts +0 -4
  571. package/modern/ImageListItem/ImageListItem.d.ts +0 -48
  572. package/modern/ImageListItem/imageListItemClasses.d.ts +0 -18
  573. package/modern/ImageListItem/index.d.ts +0 -4
  574. package/modern/ImageListItemBar/ImageListItemBar.d.ts +0 -49
  575. package/modern/ImageListItemBar/imageListItemBarClasses.d.ts +0 -42
  576. package/modern/ImageListItemBar/index.d.ts +0 -4
  577. package/modern/InitColorSchemeScript/InitColorSchemeScript.d.ts +0 -10
  578. package/modern/InitColorSchemeScript/index.d.ts +0 -1
  579. package/modern/Input/Input.d.ts +0 -35
  580. package/modern/Input/index.d.ts +0 -4
  581. package/modern/Input/inputClasses.d.ts +0 -38
  582. package/modern/InputAdornment/InputAdornment.d.ts +0 -59
  583. package/modern/InputAdornment/index.d.ts +0 -4
  584. package/modern/InputAdornment/inputAdornmentClasses.d.ts +0 -24
  585. package/modern/InputBase/InputBase.d.ts +0 -247
  586. package/modern/InputBase/index.d.ts +0 -4
  587. package/modern/InputBase/inputBaseClasses.d.ts +0 -55
  588. package/modern/InputLabel/InputLabel.d.ts +0 -79
  589. package/modern/InputLabel/index.d.ts +0 -4
  590. package/modern/InputLabel/inputLabelClasses.d.ts +0 -32
  591. package/modern/LinearProgress/LinearProgress.d.ts +0 -57
  592. package/modern/LinearProgress/index.d.ts +0 -4
  593. package/modern/LinearProgress/linearProgressClasses.d.ts +0 -64
  594. package/modern/Link/Link.d.ts +0 -63
  595. package/modern/Link/getTextDecoration.d.ts +0 -11
  596. package/modern/Link/index.d.ts +0 -4
  597. package/modern/Link/linkClasses.d.ts +0 -18
  598. package/modern/List/List.d.ts +0 -65
  599. package/modern/List/ListContext.d.ts +0 -5
  600. package/modern/List/index.d.ts +0 -4
  601. package/modern/List/listClasses.d.ts +0 -14
  602. package/modern/ListItem/ListItem.d.ts +0 -127
  603. package/modern/ListItem/index.d.ts +0 -4
  604. package/modern/ListItem/listItemClasses.d.ts +0 -22
  605. package/modern/ListItemAvatar/ListItemAvatar.d.ts +0 -30
  606. package/modern/ListItemAvatar/index.d.ts +0 -4
  607. package/modern/ListItemAvatar/listItemAvatarClasses.d.ts +0 -10
  608. package/modern/ListItemButton/ListItemButton.d.ts +0 -85
  609. package/modern/ListItemButton/index.d.ts +0 -4
  610. package/modern/ListItemButton/listItemButtonClasses.d.ts +0 -22
  611. package/modern/ListItemIcon/ListItemIcon.d.ts +0 -32
  612. package/modern/ListItemIcon/index.d.ts +0 -4
  613. package/modern/ListItemIcon/listItemIconClasses.d.ts +0 -10
  614. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +0 -36
  615. package/modern/ListItemSecondaryAction/index.d.ts +0 -4
  616. package/modern/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +0 -10
  617. package/modern/ListItemText/ListItemText.d.ts +0 -105
  618. package/modern/ListItemText/index.d.ts +0 -4
  619. package/modern/ListItemText/listItemTextClasses.d.ts +0 -18
  620. package/modern/ListSubheader/ListSubheader.d.ts +0 -59
  621. package/modern/ListSubheader/index.d.ts +0 -4
  622. package/modern/ListSubheader/listSubheaderClasses.d.ts +0 -18
  623. package/modern/Menu/Menu.d.ts +0 -162
  624. package/modern/Menu/index.d.ts +0 -4
  625. package/modern/Menu/menuClasses.d.ts +0 -12
  626. package/modern/MenuItem/MenuItem.d.ts +0 -69
  627. package/modern/MenuItem/index.d.ts +0 -4
  628. package/modern/MenuItem/menuItemClasses.d.ts +0 -20
  629. package/modern/MenuList/MenuList.d.ts +0 -62
  630. package/modern/MenuList/index.d.ts +0 -2
  631. package/modern/MobileStepper/MobileStepper.d.ts +0 -112
  632. package/modern/MobileStepper/index.d.ts +0 -4
  633. package/modern/MobileStepper/mobileStepperClasses.d.ts +0 -22
  634. package/modern/Modal/Modal.d.ts +0 -221
  635. package/modern/Modal/ModalManager.d.ts +0 -25
  636. package/modern/Modal/index.d.ts +0 -5
  637. package/modern/Modal/modalClasses.d.ts +0 -12
  638. package/modern/Modal/useModal.d.ts +0 -13
  639. package/modern/Modal/useModal.types.d.ts +0 -118
  640. package/modern/NativeSelect/NativeSelect.d.ts +0 -68
  641. package/modern/NativeSelect/NativeSelectInput.d.ts +0 -13
  642. package/modern/NativeSelect/index.d.ts +0 -4
  643. package/modern/NativeSelect/nativeSelectClasses.d.ts +0 -34
  644. package/modern/NoSsr/NoSsr.d.ts +0 -25
  645. package/modern/NoSsr/NoSsr.types.d.ts +0 -18
  646. package/modern/NoSsr/index.d.ts +0 -3
  647. package/modern/OutlinedInput/NotchedOutline.d.ts +0 -12
  648. package/modern/OutlinedInput/OutlinedInput.d.ts +0 -40
  649. package/modern/OutlinedInput/index.d.ts +0 -4
  650. package/modern/OutlinedInput/outlinedInputClasses.d.ts +0 -38
  651. package/modern/OverridableComponent/index.d.ts +0 -41
  652. package/modern/Pagination/Pagination.d.ts +0 -79
  653. package/modern/Pagination/index.d.ts +0 -4
  654. package/modern/Pagination/paginationClasses.d.ts +0 -14
  655. package/modern/PaginationItem/PaginationItem.d.ts +0 -110
  656. package/modern/PaginationItem/index.d.ts +0 -4
  657. package/modern/PaginationItem/paginationItemClasses.d.ts +0 -54
  658. package/modern/Paper/Paper.d.ts +0 -62
  659. package/modern/Paper/index.d.ts +0 -4
  660. package/modern/Paper/paperClasses.d.ts +0 -64
  661. package/modern/PigmentContainer/PigmentContainer.d.ts +0 -55
  662. package/modern/PigmentContainer/index.d.ts +0 -3
  663. package/modern/PigmentGrid/PigmentGrid.d.ts +0 -83
  664. package/modern/PigmentGrid/index.d.ts +0 -3
  665. package/modern/PigmentStack/PigmentStack.d.ts +0 -49
  666. package/modern/PigmentStack/index.d.ts +0 -3
  667. package/modern/Popover/Popover.d.ts +0 -233
  668. package/modern/Popover/index.d.ts +0 -4
  669. package/modern/Popover/popoverClasses.d.ts +0 -10
  670. package/modern/Popper/BasePopper.d.ts +0 -7
  671. package/modern/Popper/BasePopper.types.d.ts +0 -129
  672. package/modern/Popper/Popper.d.ts +0 -46
  673. package/modern/Popper/index.d.ts +0 -4
  674. package/modern/Popper/popperClasses.d.ts +0 -8
  675. package/modern/Portal/Portal.d.ts +0 -16
  676. package/modern/Portal/Portal.types.d.ts +0 -23
  677. package/modern/Portal/index.d.ts +0 -3
  678. package/modern/Radio/Radio.d.ts +0 -86
  679. package/modern/Radio/index.d.ts +0 -4
  680. package/modern/Radio/radioClasses.d.ts +0 -18
  681. package/modern/RadioGroup/RadioGroup.d.ts +0 -38
  682. package/modern/RadioGroup/RadioGroupContext.d.ts +0 -11
  683. package/modern/RadioGroup/index.d.ts +0 -5
  684. package/modern/RadioGroup/radioGroupClasses.d.ts +0 -6
  685. package/modern/RadioGroup/useRadioGroup.d.ts +0 -3
  686. package/modern/Rating/Rating.d.ts +0 -183
  687. package/modern/Rating/index.d.ts +0 -4
  688. package/modern/Rating/ratingClasses.d.ts +0 -40
  689. package/modern/ScopedCssBaseline/ScopedCssBaseline.d.ts +0 -55
  690. package/modern/ScopedCssBaseline/index.d.ts +0 -4
  691. package/modern/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +0 -8
  692. package/modern/Select/Select.d.ts +0 -188
  693. package/modern/Select/SelectInput.d.ts +0 -47
  694. package/modern/Select/index.d.ts +0 -4
  695. package/modern/Select/selectClasses.d.ts +0 -42
  696. package/modern/Skeleton/Skeleton.d.ts +0 -62
  697. package/modern/Skeleton/index.d.ts +0 -4
  698. package/modern/Skeleton/skeletonClasses.d.ts +0 -26
  699. package/modern/Slide/Slide.d.ts +0 -63
  700. package/modern/Slide/index.d.ts +0 -2
  701. package/modern/Slider/Slider.d.ts +0 -298
  702. package/modern/Slider/SliderValueLabel.d.ts +0 -13
  703. package/modern/Slider/SliderValueLabel.types.d.ts +0 -25
  704. package/modern/Slider/index.d.ts +0 -4
  705. package/modern/Slider/sliderClasses.d.ts +0 -88
  706. package/modern/Slider/useSlider.d.ts +0 -14
  707. package/modern/Slider/useSlider.types.d.ts +0 -226
  708. package/modern/Snackbar/Snackbar.d.ts +0 -182
  709. package/modern/Snackbar/index.d.ts +0 -4
  710. package/modern/Snackbar/snackbarClasses.d.ts +0 -20
  711. package/modern/Snackbar/useSnackbar.d.ts +0 -14
  712. package/modern/Snackbar/useSnackbar.types.d.ts +0 -59
  713. package/modern/SnackbarContent/SnackbarContent.d.ts +0 -42
  714. package/modern/SnackbarContent/index.d.ts +0 -4
  715. package/modern/SnackbarContent/snackbarContentClasses.d.ts +0 -12
  716. package/modern/SpeedDial/SpeedDial.d.ts +0 -131
  717. package/modern/SpeedDial/index.d.ts +0 -4
  718. package/modern/SpeedDial/speedDialClasses.d.ts +0 -22
  719. package/modern/SpeedDialAction/SpeedDialAction.d.ts +0 -117
  720. package/modern/SpeedDialAction/index.d.ts +0 -4
  721. package/modern/SpeedDialAction/speedDialActionClasses.d.ts +0 -20
  722. package/modern/SpeedDialIcon/SpeedDialIcon.d.ts +0 -43
  723. package/modern/SpeedDialIcon/index.d.ts +0 -4
  724. package/modern/SpeedDialIcon/speedDialIconClasses.d.ts +0 -18
  725. package/modern/Stack/Stack.d.ts +0 -58
  726. package/modern/Stack/index.d.ts +0 -4
  727. package/modern/Stack/stackClasses.d.ts +0 -6
  728. package/modern/Step/Step.d.ts +0 -70
  729. package/modern/Step/StepContext.d.ts +0 -20
  730. package/modern/Step/index.d.ts +0 -6
  731. package/modern/Step/stepClasses.d.ts +0 -16
  732. package/modern/StepButton/StepButton.d.ts +0 -51
  733. package/modern/StepButton/index.d.ts +0 -4
  734. package/modern/StepButton/stepButtonClasses.d.ts +0 -14
  735. package/modern/StepConnector/StepConnector.d.ts +0 -29
  736. package/modern/StepConnector/index.d.ts +0 -4
  737. package/modern/StepConnector/stepConnectorClasses.d.ts +0 -30
  738. package/modern/StepContent/StepContent.d.ts +0 -75
  739. package/modern/StepContent/index.d.ts +0 -4
  740. package/modern/StepContent/stepContentClasses.d.ts +0 -12
  741. package/modern/StepIcon/StepIcon.d.ts +0 -50
  742. package/modern/StepIcon/index.d.ts +0 -4
  743. package/modern/StepIcon/stepIconClasses.d.ts +0 -16
  744. package/modern/StepLabel/StepLabel.d.ts +0 -106
  745. package/modern/StepLabel/index.d.ts +0 -4
  746. package/modern/StepLabel/stepLabelClasses.d.ts +0 -28
  747. package/modern/Stepper/Stepper.d.ts +0 -71
  748. package/modern/Stepper/StepperContext.d.ts +0 -18
  749. package/modern/Stepper/index.d.ts +0 -6
  750. package/modern/Stepper/stepperClasses.d.ts +0 -16
  751. package/modern/SvgIcon/SvgIcon.d.ts +0 -89
  752. package/modern/SvgIcon/index.d.ts +0 -4
  753. package/modern/SvgIcon/svgIconClasses.d.ts +0 -26
  754. package/modern/SwipeableDrawer/SwipeableDrawer.d.ts +0 -106
  755. package/modern/SwipeableDrawer/index.d.ts +0 -2
  756. package/modern/Switch/Switch.d.ts +0 -123
  757. package/modern/Switch/index.d.ts +0 -4
  758. package/modern/Switch/switchClasses.d.ts +0 -32
  759. package/modern/Tab/Tab.d.ts +0 -75
  760. package/modern/Tab/index.d.ts +0 -4
  761. package/modern/Tab/tabClasses.d.ts +0 -30
  762. package/modern/TabScrollButton/TabScrollButton.d.ts +0 -67
  763. package/modern/TabScrollButton/index.d.ts +0 -4
  764. package/modern/TabScrollButton/tabScrollButtonClasses.d.ts +0 -12
  765. package/modern/Table/Table.d.ts +0 -55
  766. package/modern/Table/TableContext.d.ts +0 -7
  767. package/modern/Table/Tablelvl2Context.d.ts +0 -6
  768. package/modern/Table/index.d.ts +0 -4
  769. package/modern/Table/tableClasses.d.ts +0 -10
  770. package/modern/TableBody/TableBody.d.ts +0 -38
  771. package/modern/TableBody/index.d.ts +0 -4
  772. package/modern/TableBody/tableBodyClasses.d.ts +0 -8
  773. package/modern/TableCell/TableCell.d.ts +0 -82
  774. package/modern/TableCell/index.d.ts +0 -4
  775. package/modern/TableCell/tableCellClasses.d.ts +0 -32
  776. package/modern/TableContainer/TableContainer.d.ts +0 -38
  777. package/modern/TableContainer/index.d.ts +0 -4
  778. package/modern/TableContainer/tableContainerClasses.d.ts +0 -8
  779. package/modern/TableFooter/TableFooter.d.ts +0 -38
  780. package/modern/TableFooter/index.d.ts +0 -4
  781. package/modern/TableFooter/tableFooterClasses.d.ts +0 -8
  782. package/modern/TableHead/TableHead.d.ts +0 -38
  783. package/modern/TableHead/index.d.ts +0 -4
  784. package/modern/TableHead/tableHeadClasses.d.ts +0 -8
  785. package/modern/TablePagination/TablePagination.d.ts +0 -263
  786. package/modern/TablePagination/TablePaginationActions.d.ts +0 -94
  787. package/modern/TablePagination/index.d.ts +0 -4
  788. package/modern/TablePagination/tablePaginationClasses.d.ts +0 -28
  789. package/modern/TableRow/TableRow.d.ts +0 -50
  790. package/modern/TableRow/index.d.ts +0 -4
  791. package/modern/TableRow/tableRowClasses.d.ts +0 -16
  792. package/modern/TableSortLabel/TableSortLabel.d.ts +0 -90
  793. package/modern/TableSortLabel/index.d.ts +0 -4
  794. package/modern/TableSortLabel/tableSortLabelClasses.d.ts +0 -24
  795. package/modern/Tabs/Tabs.d.ts +0 -272
  796. package/modern/Tabs/index.d.ts +0 -4
  797. package/modern/Tabs/tabsClasses.d.ts +0 -36
  798. package/modern/TextField/TextField.d.ts +0 -342
  799. package/modern/TextField/index.d.ts +0 -4
  800. package/modern/TextField/textFieldClasses.d.ts +0 -8
  801. package/modern/TextareaAutosize/TextareaAutosize.d.ts +0 -14
  802. package/modern/TextareaAutosize/TextareaAutosize.types.d.ts +0 -13
  803. package/modern/TextareaAutosize/index.d.ts +0 -3
  804. package/modern/ToggleButton/ToggleButton.d.ts +0 -95
  805. package/modern/ToggleButton/index.d.ts +0 -4
  806. package/modern/ToggleButton/toggleButtonClasses.d.ts +0 -26
  807. package/modern/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -82
  808. package/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +0 -6
  809. package/modern/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +0 -16
  810. package/modern/ToggleButtonGroup/index.d.ts +0 -4
  811. package/modern/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +0 -34
  812. package/modern/Toolbar/Toolbar.d.ts +0 -51
  813. package/modern/Toolbar/index.d.ts +0 -4
  814. package/modern/Toolbar/toolbarClasses.d.ts +0 -14
  815. package/modern/Tooltip/Tooltip.d.ts +0 -229
  816. package/modern/Tooltip/index.d.ts +0 -4
  817. package/modern/Tooltip/tooltipClasses.d.ts +0 -30
  818. package/modern/Typography/Typography.d.ts +0 -99
  819. package/modern/Typography/index.d.ts +0 -4
  820. package/modern/Typography/typographyClasses.d.ts +0 -53
  821. package/modern/Unstable_TrapFocus/FocusTrap.d.ts +0 -10
  822. package/modern/Unstable_TrapFocus/FocusTrap.types.d.ts +0 -54
  823. package/modern/Unstable_TrapFocus/index.d.ts +0 -2
  824. package/modern/Zoom/Zoom.d.ts +0 -49
  825. package/modern/Zoom/index.d.ts +0 -2
  826. package/modern/className/index.d.ts +0 -1
  827. package/modern/colors/amber.d.ts +0 -62
  828. package/modern/colors/blue.d.ts +0 -62
  829. package/modern/colors/blueGrey.d.ts +0 -62
  830. package/modern/colors/brown.d.ts +0 -62
  831. package/modern/colors/common.d.ts +0 -14
  832. package/modern/colors/cyan.d.ts +0 -62
  833. package/modern/colors/deepOrange.d.ts +0 -62
  834. package/modern/colors/deepPurple.d.ts +0 -62
  835. package/modern/colors/green.d.ts +0 -62
  836. package/modern/colors/grey.d.ts +0 -62
  837. package/modern/colors/index.d.ts +0 -20
  838. package/modern/colors/indigo.d.ts +0 -62
  839. package/modern/colors/lightBlue.d.ts +0 -62
  840. package/modern/colors/lightGreen.d.ts +0 -62
  841. package/modern/colors/lime.d.ts +0 -62
  842. package/modern/colors/orange.d.ts +0 -62
  843. package/modern/colors/pink.d.ts +0 -62
  844. package/modern/colors/purple.d.ts +0 -62
  845. package/modern/colors/red.d.ts +0 -62
  846. package/modern/colors/teal.d.ts +0 -62
  847. package/modern/colors/yellow.d.ts +0 -62
  848. package/modern/darkScrollbar/index.d.ts +0 -28
  849. package/modern/generateUtilityClass/index.d.ts +0 -2
  850. package/modern/generateUtilityClasses/index.d.ts +0 -1
  851. package/modern/index.d.ts +0 -323
  852. package/modern/internal/SwitchBase.d.ts +0 -108
  853. package/modern/internal/switchBaseClasses.d.ts +0 -12
  854. package/modern/locale/index.d.ts +0 -82
  855. package/modern/styles/ThemeProvider.d.ts +0 -76
  856. package/modern/styles/ThemeProviderNoVars.d.ts +0 -10
  857. package/modern/styles/ThemeProviderWithVars.d.ts +0 -51
  858. package/modern/styles/adaptV4Theme.d.ts +0 -36
  859. package/modern/styles/components.d.ts +0 -595
  860. package/modern/styles/createColorScheme.d.ts +0 -9
  861. package/modern/styles/createGetSelector.d.ts +0 -16
  862. package/modern/styles/createMixins.d.ts +0 -32
  863. package/modern/styles/createPalette.d.ts +0 -125
  864. package/modern/styles/createStyles.d.ts +0 -1
  865. package/modern/styles/createTheme.d.ts +0 -14
  866. package/modern/styles/createThemeNoVars.d.ts +0 -70
  867. package/modern/styles/createThemeWithVars.d.ts +0 -350
  868. package/modern/styles/createTransitions.d.ts +0 -51
  869. package/modern/styles/createTypography.d.ts +0 -28
  870. package/modern/styles/cssUtils.d.ts +0 -25
  871. package/modern/styles/excludeVariablesFromRoot.d.ts +0 -5
  872. package/modern/styles/getOverlayAlpha.d.ts +0 -1
  873. package/modern/styles/identifier.d.ts +0 -2
  874. package/modern/styles/index.d.ts +0 -49
  875. package/modern/styles/makeStyles.d.ts +0 -1
  876. package/modern/styles/overrides.d.ts +0 -244
  877. package/modern/styles/props.d.ts +0 -241
  878. package/modern/styles/responsiveFontSizes.d.ts +0 -11
  879. package/modern/styles/rootShouldForwardProp.d.ts +0 -2
  880. package/modern/styles/shadows.d.ts +0 -3
  881. package/modern/styles/shouldSkipGeneratingVar.d.ts +0 -1
  882. package/modern/styles/slotShouldForwardProp.d.ts +0 -2
  883. package/modern/styles/stringifyTheme.d.ts +0 -20
  884. package/modern/styles/styled.d.ts +0 -13
  885. package/modern/styles/useTheme.d.ts +0 -2
  886. package/modern/styles/useThemeProps.d.ts +0 -42
  887. package/modern/styles/variants.d.ts +0 -10
  888. package/modern/styles/withStyles.d.ts +0 -1
  889. package/modern/styles/withTheme.d.ts +0 -1
  890. package/modern/styles/zIndex.d.ts +0 -13
  891. package/modern/themeCssVarsAugmentation/index.d.ts +0 -10
  892. package/modern/transitions/index.d.ts +0 -1
  893. package/modern/transitions/transition.d.ts +0 -12
  894. package/modern/transitions/utils.d.ts +0 -23
  895. package/modern/types/OverridableComponentAugmentation.d.ts +0 -31
  896. package/modern/useAutocomplete/index.d.ts +0 -2
  897. package/modern/useAutocomplete/useAutocomplete.d.ts +0 -430
  898. package/modern/useLazyRipple/index.d.ts +0 -1
  899. package/modern/useLazyRipple/useLazyRipple.d.ts +0 -32
  900. package/modern/useMediaQuery/index.d.ts +0 -7
  901. package/modern/usePagination/index.d.ts +0 -2
  902. package/modern/usePagination/usePagination.d.ts +0 -74
  903. package/modern/useScrollTrigger/index.d.ts +0 -1
  904. package/modern/useScrollTrigger/useScrollTrigger.d.ts +0 -6
  905. package/modern/utils/PolymorphicComponent.d.ts +0 -17
  906. package/modern/utils/areArraysEqual.d.ts +0 -3
  907. package/modern/utils/capitalize.d.ts +0 -2
  908. package/modern/utils/createChainedFunction.d.ts +0 -2
  909. package/modern/utils/createSimplePaletteValueFilter.d.ts +0 -12
  910. package/modern/utils/createSvgIcon.d.ts +0 -2
  911. package/modern/utils/debounce.d.ts +0 -2
  912. package/modern/utils/deprecatedPropType.d.ts +0 -2
  913. package/modern/utils/getScrollbarSize.d.ts +0 -2
  914. package/modern/utils/index.d.ts +0 -20
  915. package/modern/utils/isHostComponent.d.ts +0 -6
  916. package/modern/utils/isMuiElement.d.ts +0 -2
  917. package/modern/utils/memoTheme.d.ts +0 -7
  918. package/modern/utils/mergeSlotProps.d.ts +0 -2
  919. package/modern/utils/omitEventHandlers.d.ts +0 -9
  920. package/modern/utils/ownerDocument.d.ts +0 -2
  921. package/modern/utils/ownerWindow.d.ts +0 -2
  922. package/modern/utils/requirePropFactory.d.ts +0 -2
  923. package/modern/utils/setRef.d.ts +0 -2
  924. package/modern/utils/types.d.ts +0 -26
  925. package/modern/utils/unsupportedProp.d.ts +0 -2
  926. package/modern/utils/useControlled.d.ts +0 -2
  927. package/modern/utils/useEnhancedEffect.d.ts +0 -2
  928. package/modern/utils/useEventCallback.d.ts +0 -2
  929. package/modern/utils/useForkRef.d.ts +0 -2
  930. package/modern/utils/useId.d.ts +0 -2
  931. package/modern/utils/useSlot.d.ts +0 -81
  932. package/modern/version/index.d.ts +0 -6
  933. package/modern/zero-styled/index.d.ts +0 -12
@@ -1,342 +0,0 @@
1
- import * as React from 'react';
2
- import { SxProps } from '@mui/system';
3
- import { OverridableStringUnion } from '@mui/types';
4
- import { InternalStandardProps as StandardProps } from "../index.js";
5
- import { FormControlProps } from "../FormControl/index.js";
6
- import { FormHelperTextProps } from "../FormHelperText/index.js";
7
- import { InputBaseProps } from "../InputBase/index.js";
8
- import { InputProps as StandardInputProps } from "../Input/index.js";
9
- import { FilledInputProps } from "../FilledInput/index.js";
10
- import { OutlinedInputProps } from "../OutlinedInput/index.js";
11
- import { InputLabelProps } from "../InputLabel/index.js";
12
- import { SelectProps } from "../Select/index.js";
13
- import { Theme } from "../styles/index.js";
14
- import { TextFieldClasses } from "./textFieldClasses.js";
15
- import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
16
- export interface TextFieldPropsColorOverrides {}
17
- export interface TextFieldPropsSizeOverrides {}
18
- export interface TextFieldSlots {
19
- /**
20
- * The component that renders the root.
21
- * @default FormControl
22
- */
23
- root: React.ElementType;
24
- /**
25
- * The component that renders the input.
26
- * @default OutlinedInput
27
- */
28
- input: React.ElementType;
29
- /**
30
- * The component that renders the input's label.
31
- * @default InputLabel
32
- */
33
- inputLabel: React.ElementType;
34
- /**
35
- * The html input element.
36
- * @default 'input'
37
- */
38
- htmlInput: React.ElementType;
39
- /**
40
- * The component that renders the helper text.
41
- * @default FormHelperText
42
- */
43
- formHelperText: React.ElementType;
44
- /**
45
- * The component that renders the select.
46
- * @default Select
47
- */
48
- select: React.ElementType;
49
- }
50
- export type TextFieldSlotsAndSlotProps<InputPropsType> = CreateSlotsAndSlotProps<TextFieldSlots, {
51
- /**
52
- * Props forwarded to the root slot.
53
- * By default, the avaible props are based on the [FormControl](https://mui.com/material-ui/api/form-control/#props) component.
54
- */
55
- root: SlotProps<React.ElementType<FormControlProps>, {}, TextFieldOwnerState>;
56
- /**
57
- * Props forwarded to the input slot.
58
- * By default, the avaible props are based on the [Input](https://mui.com/material-ui/api/input/#props) component.
59
- */
60
- input: SlotProps<React.ElementType<InputPropsType>, {}, TextFieldOwnerState>;
61
- /**
62
- * Props forwarded to the input label slot.
63
- * By default, the avaible props are based on the [InputLabel](https://mui.com/material-ui/api/input-label/#props) component.
64
- */
65
- inputLabel: SlotProps<React.ElementType<InputLabelProps>, {}, TextFieldOwnerState>;
66
- /**
67
- * Props forwarded to the html input slot.
68
- * By default, the avaible props are based on the html input element.
69
- */
70
- htmlInput: SlotProps<React.ElementType<InputBaseProps['inputProps']>, {}, TextFieldOwnerState>;
71
- /**
72
- * Props forwarded to the form helper text slot.
73
- * By default, the avaible props are based on the [FormHelperText](https://mui.com/material-ui/api/form-helper-text/#props) component.
74
- */
75
- formHelperText: SlotProps<React.ElementType<FormHelperTextProps>, {}, TextFieldOwnerState>;
76
- /**
77
- * Props forwarded to the select slot.
78
- * By default, the avaible props are based on the [Select](https://mui.com/material-ui/api/select/#props) component.
79
- */
80
- select: SlotProps<React.ElementType<SelectProps>, {}, TextFieldOwnerState>;
81
- }>;
82
- export interface BaseTextFieldProps extends StandardProps<FormControlProps,
83
- // event handlers are declared on derived interfaces
84
- 'onChange' | 'onBlur' | 'onFocus' | 'defaultValue'> {
85
- /**
86
- * This prop helps users to fill forms faster, especially on mobile devices.
87
- * The name can be confusing, as it's more like an autofill.
88
- * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
89
- */
90
- autoComplete?: string;
91
- /**
92
- * If `true`, the `input` element is focused during the first mount.
93
- * @default false
94
- */
95
- autoFocus?: boolean;
96
- /**
97
- * @ignore
98
- */
99
- children?: FormControlProps['children'];
100
- /**
101
- * Override or extend the styles applied to the component.
102
- */
103
- classes?: Partial<TextFieldClasses>;
104
- /**
105
- * The color of the component.
106
- * It supports both default and custom theme colors, which can be added as shown in the
107
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
108
- * @default 'primary'
109
- */
110
- color?: OverridableStringUnion<'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning', TextFieldPropsColorOverrides>;
111
- /**
112
- * The default value. Use when the component is not controlled.
113
- */
114
- defaultValue?: unknown;
115
- /**
116
- * If `true`, the component is disabled.
117
- * @default false
118
- */
119
- disabled?: boolean;
120
- /**
121
- * If `true`, the label is displayed in an error state.
122
- * @default false
123
- */
124
- error?: boolean;
125
- /**
126
- * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
127
- * @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.
128
- */
129
- FormHelperTextProps?: Partial<FormHelperTextProps>;
130
- /**
131
- * If `true`, the input will take up the full width of its container.
132
- * @default false
133
- */
134
- fullWidth?: boolean;
135
- /**
136
- * The helper text content.
137
- */
138
- helperText?: React.ReactNode;
139
- /**
140
- * The id of the `input` element.
141
- * Use this prop to make `label` and `helperText` accessible for screen readers.
142
- */
143
- id?: string;
144
- /**
145
- * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
146
- * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
147
- * @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.
148
- */
149
- InputLabelProps?: Partial<InputLabelProps>;
150
- /**
151
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
152
- * @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.
153
- */
154
- inputProps?: InputBaseProps['inputProps'];
155
- /**
156
- * Pass a ref to the `input` element.
157
- */
158
- inputRef?: React.Ref<any>;
159
- /**
160
- * The label content.
161
- */
162
- label?: React.ReactNode;
163
- /**
164
- * If `true`, a `textarea` element is rendered instead of an input.
165
- * @default false
166
- */
167
- multiline?: boolean;
168
- /**
169
- * Name attribute of the `input` element.
170
- */
171
- name?: string;
172
- onBlur?: InputBaseProps['onBlur'];
173
- onFocus?: StandardInputProps['onFocus'];
174
- /**
175
- * The short hint displayed in the `input` before the user enters a value.
176
- */
177
- placeholder?: string;
178
- /**
179
- * If `true`, the label is displayed as required and the `input` element is required.
180
- * @default false
181
- */
182
- required?: boolean;
183
- /**
184
- * Number of rows to display when multiline option is set to true.
185
- */
186
- rows?: string | number;
187
- /**
188
- * Maximum number of rows to display when multiline option is set to true.
189
- */
190
- maxRows?: string | number;
191
- /**
192
- * Minimum number of rows to display when multiline option is set to true.
193
- */
194
- minRows?: string | number;
195
- /**
196
- * Render a [`Select`](https://mui.com/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
197
- * If this option is set you must pass the options of the select as children.
198
- * @default false
199
- */
200
- select?: boolean;
201
- /**
202
- * Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
203
- * @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.
204
- */
205
- SelectProps?: Partial<SelectProps>;
206
- /**
207
- * The size of the component.
208
- * @default 'medium'
209
- */
210
- size?: OverridableStringUnion<'small' | 'medium', TextFieldPropsSizeOverrides>;
211
- /**
212
- * The system prop that allows defining system overrides as well as additional CSS styles.
213
- */
214
- sx?: SxProps<Theme>;
215
- /**
216
- * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
217
- */
218
- type?: React.InputHTMLAttributes<unknown>['type'];
219
- /**
220
- * The value of the `input` element, required for a controlled component.
221
- */
222
- value?: unknown;
223
- }
224
- export interface StandardTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<StandardInputProps> {
225
- /**
226
- * Callback fired when the value is changed.
227
- *
228
- * @param {object} event The event source of the callback.
229
- * You can pull out the new value by accessing `event.target.value` (string).
230
- */
231
- onChange?: StandardInputProps['onChange'];
232
- /**
233
- * The variant to use.
234
- * @default 'outlined'
235
- */
236
- variant?: 'standard';
237
- /**
238
- * Props applied to the Input element.
239
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
240
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
241
- * component depending on the `variant` prop value.
242
- * @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.
243
- */
244
- InputProps?: Partial<StandardInputProps>;
245
- }
246
- export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<FilledInputProps> {
247
- /**
248
- * Callback fired when the value is changed.
249
- *
250
- * @param {object} event The event source of the callback.
251
- * You can pull out the new value by accessing `event.target.value` (string).
252
- */
253
- onChange?: FilledInputProps['onChange'];
254
- /**
255
- * The variant to use.
256
- * @default 'outlined'
257
- */
258
- variant: 'filled';
259
- /**
260
- * Props applied to the Input element.
261
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
262
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
263
- * component depending on the `variant` prop value.
264
- * @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.
265
- */
266
- InputProps?: Partial<FilledInputProps>;
267
- }
268
- export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<OutlinedInputProps> {
269
- /**
270
- * Callback fired when the value is changed.
271
- *
272
- * @param {object} event The event source of the callback.
273
- * You can pull out the new value by accessing `event.target.value` (string).
274
- */
275
- onChange?: OutlinedInputProps['onChange'];
276
- /**
277
- * The variant to use.
278
- * @default 'outlined'
279
- */
280
- variant: 'outlined';
281
- /**
282
- * Props applied to the Input element.
283
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
284
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
285
- * component depending on the `variant` prop value.
286
- * @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.
287
- */
288
- InputProps?: Partial<OutlinedInputProps>;
289
- }
290
- export type TextFieldVariants = 'outlined' | 'standard' | 'filled';
291
- export type TextFieldProps<Variant extends TextFieldVariants = TextFieldVariants> = Variant extends 'filled' ? FilledTextFieldProps : Variant extends 'standard' ? StandardTextFieldProps : OutlinedTextFieldProps;
292
- export type TextFieldOwnerState = BaseTextFieldProps;
293
-
294
- /**
295
- * The `TextField` is a convenience wrapper for the most common cases (80%).
296
- * It cannot be all things to all people, otherwise the API would grow out of control.
297
- *
298
- * ## Advanced Configuration
299
- *
300
- * It's important to understand that the text field is a simple abstraction
301
- * on top of the following components:
302
- *
303
- * * [FormControl](https://mui.com/material-ui/api/form-control/)
304
- * * [InputLabel](https://mui.com/material-ui/api/input-label/)
305
- * * [FilledInput](https://mui.com/material-ui/api/filled-input/)
306
- * * [OutlinedInput](https://mui.com/material-ui/api/outlined-input/)
307
- * * [Input](https://mui.com/material-ui/api/input/)
308
- * * [FormHelperText](https://mui.com/material-ui/api/form-helper-text/)
309
- *
310
- * If you wish to alter the props applied to the `input` element, you can do so as follows:
311
- *
312
- * ```jsx
313
- * const inputProps = {
314
- * step: 300,
315
- * };
316
- *
317
- * return <TextField id="time" type="time" inputProps={inputProps} />;
318
- * ```
319
- *
320
- * For advanced cases, please look at the source of TextField by clicking on the
321
- * "Edit this page" button above. Consider either:
322
- *
323
- * * using the upper case props for passing values directly to the components
324
- * * using the underlying components directly as shown in the demos
325
- *
326
- * Demos:
327
- *
328
- * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
329
- * - [Text Field](https://mui.com/material-ui/react-text-field/)
330
- *
331
- * API:
332
- *
333
- * - [TextField API](https://mui.com/material-ui/api/text-field/)
334
- * - inherits [FormControl API](https://mui.com/material-ui/api/form-control/)
335
- */
336
- export default function TextField<Variant extends TextFieldVariants>(props: {
337
- /**
338
- * The variant to use.
339
- * @default 'outlined'
340
- */
341
- variant?: Variant;
342
- } & Omit<TextFieldProps, 'variant'>): React.JSX.Element;
@@ -1,4 +0,0 @@
1
- export { default } from "./TextField.js";
2
- export * from "./TextField.js";
3
- export { default as textFieldClasses } from "./textFieldClasses.js";
4
- export * from "./textFieldClasses.js";
@@ -1,8 +0,0 @@
1
- export interface TextFieldClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export type TextFieldClassKey = keyof TextFieldClasses;
6
- export declare function getTextFieldUtilityClass(slot: string): string;
7
- declare const textFieldClasses: TextFieldClasses;
8
- export default textFieldClasses;
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { TextareaAutosizeProps } from "./TextareaAutosize.types.js";
3
- /**
4
- *
5
- * Demos:
6
- *
7
- * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)
8
- *
9
- * API:
10
- *
11
- * - [TextareaAutosize API](https://mui.com/material-ui/api/textarea-autosize/)
12
- */
13
- declare const TextareaAutosize: React.ForwardRefExoticComponent<TextareaAutosizeProps & React.RefAttributes<Element>>;
14
- export default TextareaAutosize;
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- export interface TextareaAutosizeProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'> {
3
- ref?: React.Ref<HTMLTextAreaElement>;
4
- /**
5
- * Maximum number of rows to display.
6
- */
7
- maxRows?: string | number;
8
- /**
9
- * Minimum number of rows to display.
10
- * @default 1
11
- */
12
- minRows?: string | number;
13
- }
@@ -1,3 +0,0 @@
1
- export { default } from "./TextareaAutosize.js";
2
- export * from "./TextareaAutosize.js";
3
- export * from "./TextareaAutosize.types.js";
@@ -1,95 +0,0 @@
1
- import { SxProps } from '@mui/system';
2
- import { OverridableStringUnion } from '@mui/types';
3
- import * as React from 'react';
4
- import { Theme } from "../index.js";
5
- import { ExtendButtonBase, ExtendButtonBaseTypeMap } from "../ButtonBase/index.js";
6
- import { OverrideProps } from "../OverridableComponent/index.js";
7
- import { ToggleButtonClasses } from "./toggleButtonClasses.js";
8
- export interface ToggleButtonPropsSizeOverrides {}
9
- export interface ToggleButtonPropsColorOverrides {}
10
- export interface ToggleButtonOwnProps {
11
- /**
12
- * The content of the component.
13
- */
14
- children?: React.ReactNode;
15
- /**
16
- * Override or extend the styles applied to the component.
17
- */
18
- classes?: Partial<ToggleButtonClasses>;
19
- /**
20
- * The color of the button when it is in an active state.
21
- * It supports both default and custom theme colors, which can be added as shown in the
22
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
23
- * @default 'standard'
24
- */
25
- color?: OverridableStringUnion<'standard' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning', ToggleButtonPropsColorOverrides>;
26
- /**
27
- * If `true`, the component is disabled.
28
- * @default false
29
- */
30
- disabled?: boolean;
31
- /**
32
- * If `true`, the keyboard focus ripple is disabled.
33
- * @default false
34
- */
35
- disableFocusRipple?: boolean;
36
- /**
37
- * If `true`, the button will take up the full width of its container.
38
- * @default false
39
- */
40
- fullWidth?: boolean;
41
- /**
42
- * Callback fired when the state changes.
43
- *
44
- * @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
45
- * @param {any} value of the selected button.
46
- */
47
- onChange?: (event: React.MouseEvent<HTMLElement>, value: any) => void;
48
- /**
49
- * Callback fired when the button is clicked.
50
- *
51
- * @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
52
- * @param {any} value of the selected button.
53
- */
54
- onClick?: (event: React.MouseEvent<HTMLElement>, value: any) => void;
55
- /**
56
- * If `true`, the button is rendered in an active state.
57
- */
58
- selected?: boolean;
59
- /**
60
- * The size of the component.
61
- * The prop defaults to the value inherited from the parent ToggleButtonGroup component.
62
- * @default 'medium'
63
- */
64
- size?: OverridableStringUnion<'small' | 'medium' | 'large', ToggleButtonPropsSizeOverrides>;
65
- /**
66
- * The system prop that allows defining system overrides as well as additional CSS styles.
67
- */
68
- sx?: SxProps<Theme>;
69
- /**
70
- * The value to associate with the button when selected in a
71
- * ToggleButtonGroup.
72
- */
73
- value: NonNullable<unknown>;
74
- }
75
- export type ToggleButtonTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'button'> = ExtendButtonBaseTypeMap<{
76
- props: AdditionalProps & ToggleButtonOwnProps;
77
- defaultComponent: RootComponent;
78
- }>;
79
-
80
- /**
81
- *
82
- * Demos:
83
- *
84
- * - [Toggle Button](https://mui.com/material-ui/react-toggle-button/)
85
- *
86
- * API:
87
- *
88
- * - [ToggleButton API](https://mui.com/material-ui/api/toggle-button/)
89
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
90
- */
91
- declare const ToggleButton: ExtendButtonBase<ToggleButtonTypeMap>;
92
- export type ToggleButtonProps<RootComponent extends React.ElementType = ToggleButtonTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ToggleButtonTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
93
- component?: React.ElementType;
94
- };
95
- export default ToggleButton;
@@ -1,4 +0,0 @@
1
- export { default } from "./ToggleButton.js";
2
- export * from "./ToggleButton.js";
3
- export { default as toggleButtonClasses } from "./toggleButtonClasses.js";
4
- export * from "./toggleButtonClasses.js";
@@ -1,26 +0,0 @@
1
- export interface ToggleButtonClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `disabled={true}`. */
5
- disabled: string;
6
- /** State class applied to the root element if `selected={true}`. */
7
- selected: string;
8
- /** State class applied to the root element if `color="standard"`. */
9
- standard: string;
10
- /** State class applied to the root element if `color="primary"`. */
11
- primary: string;
12
- /** State class applied to the root element if `color="secondary"`. */
13
- secondary: string;
14
- /** Styles applied to the root element if `size="small"`. */
15
- sizeSmall: string;
16
- /** Styles applied to the root element if `size="medium"`. */
17
- sizeMedium: string;
18
- /** Styles applied to the root element if `size="large"`. */
19
- sizeLarge: string;
20
- /** Styles applied to the root element if `fullWidth={true}`. */
21
- fullWidth: string;
22
- }
23
- export type ToggleButtonClassKey = keyof ToggleButtonClasses;
24
- export declare function getToggleButtonUtilityClass(slot: string): string;
25
- declare const toggleButtonClasses: ToggleButtonClasses;
26
- export default toggleButtonClasses;
@@ -1,82 +0,0 @@
1
- import * as React from 'react';
2
- import { SxProps } from '@mui/system';
3
- import { OverridableStringUnion } from '@mui/types';
4
- import { InternalStandardProps as StandardProps } from "../index.js";
5
- import { Theme } from "../styles/index.js";
6
- import { ToggleButtonGroupClasses } from "./toggleButtonGroupClasses.js";
7
- export interface ToggleButtonGroupPropsSizeOverrides {}
8
- export interface ToggleButtonGroupPropsColorOverrides {}
9
- export interface ToggleButtonGroupProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {
10
- /**
11
- * The content of the component.
12
- */
13
- children?: React.ReactNode;
14
- /**
15
- * Override or extend the styles applied to the component.
16
- */
17
- classes?: Partial<ToggleButtonGroupClasses>;
18
- /**
19
- * The color of the button when it is selected.
20
- * It supports both default and custom theme colors, which can be added as shown in the
21
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
22
- * @default 'standard'
23
- */
24
- color?: OverridableStringUnion<'standard' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning', ToggleButtonGroupPropsColorOverrides>;
25
- /**
26
- * If `true`, only allow one of the child ToggleButton values to be selected.
27
- * @default false
28
- */
29
- exclusive?: boolean;
30
- /**
31
- * If `true`, the component is disabled. This implies that all ToggleButton children will be disabled.
32
- * @default false
33
- */
34
- disabled?: boolean;
35
- /**
36
- * If `true`, the button group will take up the full width of its container.
37
- * @default false
38
- */
39
- fullWidth?: boolean;
40
- /**
41
- * Callback fired when the value changes.
42
- *
43
- * @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
44
- * @param {any} value of the selected buttons. When `exclusive` is true
45
- * this is a single value; when false an array of selected values. If no value
46
- * is selected and `exclusive` is true the value is null; when false an empty array.
47
- */
48
- onChange?: (event: React.MouseEvent<HTMLElement>, value: any) => void;
49
- /**
50
- * The component orientation (layout flow direction).
51
- * @default 'horizontal'
52
- */
53
- orientation?: 'horizontal' | 'vertical';
54
- /**
55
- * The size of the component.
56
- * @default 'medium'
57
- */
58
- size?: OverridableStringUnion<'small' | 'medium' | 'large', ToggleButtonGroupPropsSizeOverrides>;
59
- /**
60
- * The system prop that allows defining system overrides as well as additional CSS styles.
61
- */
62
- sx?: SxProps<Theme>;
63
- /**
64
- * The currently selected value within the group or an array of selected
65
- * values when `exclusive` is false.
66
- *
67
- * The value must have reference equality with the option in order to be selected.
68
- */
69
- value?: any;
70
- }
71
-
72
- /**
73
- *
74
- * Demos:
75
- *
76
- * - [Toggle Button](https://mui.com/material-ui/react-toggle-button/)
77
- *
78
- * API:
79
- *
80
- * - [ToggleButtonGroup API](https://mui.com/material-ui/api/toggle-button-group/)
81
- */
82
- export default function ToggleButtonGroup(props: ToggleButtonGroupProps): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * @ignore - internal component.
4
- */
5
- declare const ToggleButtonGroupButtonContext: React.Context<string | undefined>;
6
- export default ToggleButtonGroupButtonContext;
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- import type { ToggleButtonGroupProps } from "./ToggleButtonGroup.js";
3
- interface ToggleButtonGroupContextType {
4
- className?: string;
5
- onChange?: ToggleButtonGroupProps['onChange'];
6
- value?: ToggleButtonGroupProps['value'];
7
- size?: ToggleButtonGroupProps['size'];
8
- fullWidth?: ToggleButtonGroupProps['fullWidth'];
9
- color?: ToggleButtonGroupProps['color'];
10
- disabled?: ToggleButtonGroupProps['disabled'];
11
- }
12
- /**
13
- * @ignore - internal component.
14
- */
15
- declare const ToggleButtonGroupContext: React.Context<ToggleButtonGroupContextType>;
16
- export default ToggleButtonGroupContext;
@@ -1,4 +0,0 @@
1
- export { default } from "./ToggleButtonGroup.js";
2
- export * from "./ToggleButtonGroup.js";
3
- export { default as toggleButtonGroupClasses } from "./toggleButtonGroupClasses.js";
4
- export * from "./toggleButtonGroupClasses.js";
@@ -1,34 +0,0 @@
1
- export interface ToggleButtonGroupClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `selected={true}`. */
5
- selected: string;
6
- /** Styles applied to the root element if `orientation="horizontal"`. */
7
- horizontal: string;
8
- /** Styles applied to the root element if `orientation="vertical"`. */
9
- vertical: string;
10
- /** State class applied to the root element if `disabled={true}`. */
11
- disabled: string;
12
- /** Styles applied to the children. */
13
- grouped: string;
14
- /** Styles applied to the children if `orientation="horizontal"`.
15
- * @deprecated Combine the [.MuiToggleButtonGroup-horizontal](/material-ui/api/toggle-button-group/#toggle-button-group-classes-horizontal) and [.MuiToggleButtonGroup-grouped](/material-ui/api/toggle-button-group/#toggle-button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
16
- */
17
- groupedHorizontal: string;
18
- /** Styles applied to the children if `orientation="vertical"`.
19
- * @deprecated Combine the [.MuiToggleButtonGroup-vertical](/material-ui/api/toggle-button-group/#toggle-button-group-classes-vertical) and [.MuiToggleButtonGroup-grouped](/material-ui/api/toggle-button-group/#toggle-button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
20
- */
21
- groupedVertical: string;
22
- /** Styles applied to the root element if `fullWidth={true}`. */
23
- fullWidth: string;
24
- /** Styles applied to the first button in the toggle button group. */
25
- firstButton: string;
26
- /** Styles applied to the last button in the toggle button group. */
27
- lastButton: string;
28
- /** Styles applied to buttons in the middle of the toggle button group. */
29
- middleButton: string;
30
- }
31
- export type ToggleButtonGroupClassKey = keyof ToggleButtonGroupClasses;
32
- export declare function getToggleButtonGroupUtilityClass(slot: string): string;
33
- declare const toggleButtonGroupClasses: ToggleButtonGroupClasses;
34
- export default toggleButtonGroupClasses;