@mui/material 7.0.2 → 7.1.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 (759) hide show
  1. package/Accordion/Accordion.js +1 -2
  2. package/AccordionDetails/AccordionDetails.js +1 -2
  3. package/AccordionSummary/AccordionSummary.js +3 -6
  4. package/Alert/Alert.js +3 -6
  5. package/AlertTitle/AlertTitle.js +1 -2
  6. package/Autocomplete/Autocomplete.js +8 -16
  7. package/Avatar/Avatar.d.ts +33 -6
  8. package/Avatar/Avatar.js +35 -16
  9. package/Badge/Badge.d.ts +27 -28
  10. package/Badge/Badge.js +28 -22
  11. package/Badge/useBadge.d.ts +0 -10
  12. package/Badge/useBadge.js +3 -12
  13. package/BottomNavigation/BottomNavigation.js +1 -2
  14. package/BottomNavigationAction/BottomNavigationAction.d.ts +28 -3
  15. package/BottomNavigationAction/BottomNavigationAction.js +54 -11
  16. package/Breadcrumbs/Breadcrumbs.js +2 -4
  17. package/Button/Button.js +2 -4
  18. package/ButtonBase/ButtonBase.js +1 -2
  19. package/CHANGELOG.md +97 -0
  20. package/Card/Card.js +1 -2
  21. package/CardActionArea/CardActionArea.d.ts +28 -3
  22. package/CardActionArea/CardActionArea.js +49 -12
  23. package/CardContent/CardContent.js +1 -2
  24. package/CardHeader/CardHeader.js +3 -6
  25. package/Checkbox/Checkbox.js +1 -1
  26. package/Chip/Chip.js +2 -2
  27. package/CircularProgress/CircularProgress.js +1 -2
  28. package/ClickAwayListener/ClickAwayListener.js +12 -8
  29. package/Collapse/Collapse.js +2 -4
  30. package/Dialog/Dialog.js +2 -6
  31. package/DialogContentText/DialogContentText.js +1 -2
  32. package/DialogTitle/DialogTitle.js +1 -2
  33. package/FilledInput/FilledInput.js +2 -2
  34. package/FormControlLabel/FormControlLabel.js +1 -2
  35. package/FormLabel/FormLabel.js +1 -2
  36. package/IconButton/IconButton.js +1 -2
  37. package/ImageListItemBar/ImageListItemBar.js +2 -4
  38. package/InitColorSchemeScript/InitColorSchemeScript.d.ts +59 -3
  39. package/InitColorSchemeScript/InitColorSchemeScript.js +79 -4
  40. package/Input/Input.js +2 -2
  41. package/InputBase/InputBase.d.ts +2 -2
  42. package/InputBase/InputBase.js +2 -2
  43. package/ListItem/ListItem.js +1 -2
  44. package/Menu/Menu.d.ts +1 -1
  45. package/Menu/Menu.js +3 -6
  46. package/MobileStepper/MobileStepper.js +2 -4
  47. package/Modal/Modal.d.ts +0 -3
  48. package/Modal/Modal.js +1 -7
  49. package/Modal/ModalManager.js +11 -8
  50. package/Modal/useModal.d.ts +0 -10
  51. package/Modal/useModal.js +10 -17
  52. package/NativeSelect/NativeSelect.d.ts +1 -1
  53. package/NativeSelect/NativeSelect.js +1 -1
  54. package/NoSsr/NoSsr.js +4 -3
  55. package/OutlinedInput/OutlinedInput.d.ts +16 -2
  56. package/OutlinedInput/OutlinedInput.js +33 -14
  57. package/Pagination/Pagination.js +1 -2
  58. package/PaginationItem/PaginationItem.js +1 -2
  59. package/Popover/Popover.d.ts +1 -1
  60. package/Popover/Popover.js +2 -4
  61. package/Popper/BasePopper.js +14 -9
  62. package/Popper/Popper.js +1 -2
  63. package/Portal/Portal.js +13 -8
  64. package/Radio/Radio.js +1 -1
  65. package/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
  66. package/Select/Select.d.ts +1 -1
  67. package/Select/Select.js +3 -4
  68. package/Select/SelectInput.d.ts +10 -2
  69. package/Select/SelectInput.js +1 -2
  70. package/Slider/Slider.js +4 -8
  71. package/Slider/SliderValueLabel.js +1 -1
  72. package/Slider/useSlider.d.ts +0 -10
  73. package/Slider/useSlider.js +26 -29
  74. package/Snackbar/Snackbar.js +4 -0
  75. package/Snackbar/useSnackbar.d.ts +0 -11
  76. package/Snackbar/useSnackbar.js +5 -15
  77. package/SnackbarContent/SnackbarContent.js +3 -6
  78. package/SpeedDial/SpeedDial.js +1 -2
  79. package/SpeedDialAction/SpeedDialAction.js +1 -2
  80. package/Stack/Stack.js +1 -2
  81. package/StepContent/StepContent.js +1 -2
  82. package/StepIcon/StepIcon.js +2 -4
  83. package/StepLabel/StepLabel.js +3 -6
  84. package/Switch/Switch.js +3 -5
  85. package/TableBody/TableBody.js +1 -2
  86. package/TableContainer/TableContainer.js +1 -2
  87. package/TableFooter/TableFooter.js +1 -2
  88. package/TableHead/TableHead.js +1 -2
  89. package/TablePagination/TablePagination.js +5 -10
  90. package/Tabs/Tabs.js +1 -2
  91. package/TextField/TextField.d.ts +2 -2
  92. package/TextField/TextField.js +3 -4
  93. package/TextareaAutosize/TextareaAutosize.js +21 -8
  94. package/Tooltip/Tooltip.js +1 -2
  95. package/Unstable_TrapFocus/FocusTrap.js +10 -6
  96. package/className/index.d.ts +1 -1
  97. package/className/index.js +3 -2
  98. package/esm/Accordion/Accordion.js +1 -2
  99. package/esm/AccordionDetails/AccordionDetails.js +1 -2
  100. package/esm/AccordionSummary/AccordionSummary.js +3 -6
  101. package/esm/Alert/Alert.js +3 -6
  102. package/esm/AlertTitle/AlertTitle.js +1 -2
  103. package/esm/Autocomplete/Autocomplete.js +8 -16
  104. package/esm/Avatar/Avatar.d.ts +33 -6
  105. package/esm/Avatar/Avatar.js +35 -16
  106. package/esm/Badge/Badge.d.ts +27 -28
  107. package/esm/Badge/Badge.js +28 -22
  108. package/esm/Badge/useBadge.d.ts +0 -10
  109. package/esm/Badge/useBadge.js +1 -11
  110. package/esm/BottomNavigation/BottomNavigation.js +1 -2
  111. package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +28 -3
  112. package/esm/BottomNavigationAction/BottomNavigationAction.js +54 -11
  113. package/esm/Breadcrumbs/Breadcrumbs.js +2 -4
  114. package/esm/Button/Button.js +2 -4
  115. package/esm/ButtonBase/ButtonBase.js +1 -2
  116. package/esm/Card/Card.js +1 -2
  117. package/esm/CardActionArea/CardActionArea.d.ts +28 -3
  118. package/esm/CardActionArea/CardActionArea.js +49 -12
  119. package/esm/CardContent/CardContent.js +1 -2
  120. package/esm/CardHeader/CardHeader.js +3 -6
  121. package/esm/Checkbox/Checkbox.js +1 -1
  122. package/esm/Chip/Chip.js +2 -2
  123. package/esm/CircularProgress/CircularProgress.js +1 -2
  124. package/esm/ClickAwayListener/ClickAwayListener.js +5 -1
  125. package/esm/Collapse/Collapse.js +2 -4
  126. package/esm/Dialog/Dialog.js +2 -6
  127. package/esm/DialogContentText/DialogContentText.js +1 -2
  128. package/esm/DialogTitle/DialogTitle.js +1 -2
  129. package/esm/FilledInput/FilledInput.js +2 -2
  130. package/esm/FormControlLabel/FormControlLabel.js +1 -2
  131. package/esm/FormLabel/FormLabel.js +1 -2
  132. package/esm/IconButton/IconButton.js +1 -2
  133. package/esm/ImageListItemBar/ImageListItemBar.js +2 -4
  134. package/esm/InitColorSchemeScript/InitColorSchemeScript.d.ts +59 -3
  135. package/esm/InitColorSchemeScript/InitColorSchemeScript.js +79 -4
  136. package/esm/Input/Input.js +2 -2
  137. package/esm/InputBase/InputBase.d.ts +2 -2
  138. package/esm/InputBase/InputBase.js +2 -2
  139. package/esm/ListItem/ListItem.js +1 -2
  140. package/esm/Menu/Menu.d.ts +1 -1
  141. package/esm/Menu/Menu.js +3 -6
  142. package/esm/MobileStepper/MobileStepper.js +2 -4
  143. package/esm/Modal/Modal.d.ts +0 -3
  144. package/esm/Modal/Modal.js +1 -7
  145. package/esm/Modal/ModalManager.js +3 -1
  146. package/esm/Modal/useModal.d.ts +0 -10
  147. package/esm/Modal/useModal.js +4 -11
  148. package/esm/NativeSelect/NativeSelect.d.ts +1 -1
  149. package/esm/NativeSelect/NativeSelect.js +1 -1
  150. package/esm/NoSsr/NoSsr.js +2 -1
  151. package/esm/OutlinedInput/OutlinedInput.d.ts +16 -2
  152. package/esm/OutlinedInput/OutlinedInput.js +33 -14
  153. package/esm/Pagination/Pagination.js +1 -2
  154. package/esm/PaginationItem/PaginationItem.js +1 -2
  155. package/esm/Popover/Popover.d.ts +1 -1
  156. package/esm/Popover/Popover.js +2 -4
  157. package/esm/Popper/BasePopper.js +6 -1
  158. package/esm/Popper/Popper.js +1 -2
  159. package/esm/Portal/Portal.js +6 -1
  160. package/esm/Radio/Radio.js +1 -1
  161. package/esm/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
  162. package/esm/Select/Select.d.ts +1 -1
  163. package/esm/Select/Select.js +3 -4
  164. package/esm/Select/SelectInput.d.ts +10 -2
  165. package/esm/Select/SelectInput.js +1 -2
  166. package/esm/Slider/Slider.js +4 -8
  167. package/esm/Slider/SliderValueLabel.js +1 -1
  168. package/esm/Slider/useSlider.d.ts +0 -10
  169. package/esm/Slider/useSlider.js +8 -11
  170. package/esm/Snackbar/Snackbar.js +4 -0
  171. package/esm/Snackbar/useSnackbar.d.ts +0 -11
  172. package/esm/Snackbar/useSnackbar.js +2 -12
  173. package/esm/SnackbarContent/SnackbarContent.js +3 -6
  174. package/esm/SpeedDial/SpeedDial.js +1 -2
  175. package/esm/SpeedDialAction/SpeedDialAction.js +1 -2
  176. package/esm/Stack/Stack.js +1 -2
  177. package/esm/StepContent/StepContent.js +1 -2
  178. package/esm/StepIcon/StepIcon.js +2 -4
  179. package/esm/StepLabel/StepLabel.js +3 -6
  180. package/esm/Switch/Switch.js +3 -5
  181. package/esm/TableBody/TableBody.js +1 -2
  182. package/esm/TableContainer/TableContainer.js +1 -2
  183. package/esm/TableFooter/TableFooter.js +1 -2
  184. package/esm/TableHead/TableHead.js +1 -2
  185. package/esm/TablePagination/TablePagination.js +5 -10
  186. package/esm/Tabs/Tabs.js +1 -2
  187. package/esm/TextField/TextField.d.ts +2 -2
  188. package/esm/TextField/TextField.js +3 -4
  189. package/esm/TextareaAutosize/TextareaAutosize.js +14 -1
  190. package/esm/Tooltip/Tooltip.js +1 -2
  191. package/esm/Unstable_TrapFocus/FocusTrap.js +5 -1
  192. package/esm/className/index.d.ts +1 -1
  193. package/esm/className/index.js +1 -1
  194. package/esm/generateUtilityClass/index.d.ts +2 -2
  195. package/esm/generateUtilityClass/index.js +1 -1
  196. package/esm/generateUtilityClasses/index.d.ts +1 -1
  197. package/esm/generateUtilityClasses/index.js +1 -1
  198. package/esm/index.d.ts +3 -2
  199. package/esm/index.js +4 -3
  200. package/esm/internal/SwitchBase.d.ts +1 -1
  201. package/esm/internal/SwitchBase.js +1 -1
  202. package/esm/styles/ThemeProvider.js +17 -17
  203. package/esm/styles/createThemeNoVars.d.ts +1 -1
  204. package/esm/useAutocomplete/useAutocomplete.d.ts +0 -10
  205. package/esm/useAutocomplete/useAutocomplete.js +5 -1
  206. package/esm/utils/index.d.ts +1 -1
  207. package/esm/utils/index.js +1 -1
  208. package/esm/utils/mergeSlotProps.d.ts +1 -1
  209. package/esm/utils/types.d.ts +2 -2
  210. package/esm/version/index.js +3 -3
  211. package/generateUtilityClass/index.d.ts +2 -2
  212. package/generateUtilityClass/index.js +3 -2
  213. package/generateUtilityClasses/index.d.ts +1 -1
  214. package/generateUtilityClasses/index.js +3 -2
  215. package/index.d.ts +3 -2
  216. package/index.js +13 -5
  217. package/internal/SwitchBase.d.ts +1 -1
  218. package/internal/SwitchBase.js +1 -1
  219. package/package.json +8 -8
  220. package/styles/ThemeProvider.js +17 -17
  221. package/styles/createThemeNoVars.d.ts +1 -1
  222. package/useAutocomplete/useAutocomplete.d.ts +0 -10
  223. package/useAutocomplete/useAutocomplete.js +16 -11
  224. package/utils/index.d.ts +1 -1
  225. package/utils/index.js +2 -2
  226. package/utils/mergeSlotProps.d.ts +1 -1
  227. package/utils/types.d.ts +2 -2
  228. package/version/index.js +3 -3
  229. package/modern/Accordion/Accordion.d.ts +0 -122
  230. package/modern/Accordion/accordionClasses.d.ts +0 -20
  231. package/modern/Accordion/index.d.ts +0 -4
  232. package/modern/AccordionActions/AccordionActions.d.ts +0 -35
  233. package/modern/AccordionActions/accordionActionsClasses.d.ts +0 -10
  234. package/modern/AccordionActions/index.d.ts +0 -4
  235. package/modern/AccordionDetails/AccordionDetails.d.ts +0 -30
  236. package/modern/AccordionDetails/accordionDetailsClasses.d.ts +0 -8
  237. package/modern/AccordionDetails/index.d.ts +0 -4
  238. package/modern/AccordionSummary/AccordionSummary.d.ts +0 -80
  239. package/modern/AccordionSummary/accordionSummaryClasses.d.ts +0 -25
  240. package/modern/AccordionSummary/index.d.ts +0 -4
  241. package/modern/Alert/Alert.d.ts +0 -178
  242. package/modern/Alert/alertClasses.d.ts +0 -100
  243. package/modern/Alert/index.d.ts +0 -4
  244. package/modern/AlertTitle/AlertTitle.d.ts +0 -31
  245. package/modern/AlertTitle/alertTitleClasses.d.ts +0 -8
  246. package/modern/AlertTitle/index.d.ts +0 -4
  247. package/modern/AppBar/AppBar.d.ts +0 -59
  248. package/modern/AppBar/appBarClasses.d.ts +0 -36
  249. package/modern/AppBar/index.d.ts +0 -4
  250. package/modern/Autocomplete/Autocomplete.d.ts +0 -320
  251. package/modern/Autocomplete/autocompleteClasses.d.ts +0 -58
  252. package/modern/Autocomplete/index.d.ts +0 -4
  253. package/modern/Avatar/Avatar.d.ts +0 -85
  254. package/modern/Avatar/avatarClasses.d.ts +0 -20
  255. package/modern/Avatar/index.d.ts +0 -4
  256. package/modern/AvatarGroup/AvatarGroup.d.ts +0 -96
  257. package/modern/AvatarGroup/avatarGroupClasses.d.ts +0 -10
  258. package/modern/AvatarGroup/index.d.ts +0 -4
  259. package/modern/Backdrop/Backdrop.d.ts +0 -118
  260. package/modern/Backdrop/backdropClasses.d.ts +0 -10
  261. package/modern/Backdrop/index.d.ts +0 -4
  262. package/modern/Badge/Badge.d.ts +0 -158
  263. package/modern/Badge/badgeClasses.d.ts +0 -56
  264. package/modern/Badge/index.d.ts +0 -4
  265. package/modern/Badge/useBadge.d.ts +0 -13
  266. package/modern/Badge/useBadge.types.d.ts +0 -39
  267. package/modern/BottomNavigation/BottomNavigation.d.ts +0 -55
  268. package/modern/BottomNavigation/bottomNavigationClasses.d.ts +0 -8
  269. package/modern/BottomNavigation/index.d.ts +0 -4
  270. package/modern/BottomNavigationAction/BottomNavigationAction.d.ts +0 -62
  271. package/modern/BottomNavigationAction/bottomNavigationActionClasses.d.ts +0 -14
  272. package/modern/BottomNavigationAction/index.d.ts +0 -4
  273. package/modern/Box/Box.d.ts +0 -20
  274. package/modern/Box/boxClasses.d.ts +0 -7
  275. package/modern/Box/index.d.ts +0 -4
  276. package/modern/Breadcrumbs/Breadcrumbs.d.ts +0 -94
  277. package/modern/Breadcrumbs/breadcrumbsClasses.d.ts +0 -14
  278. package/modern/Breadcrumbs/index.d.ts +0 -4
  279. package/modern/Button/Button.d.ts +0 -130
  280. package/modern/Button/buttonClasses.d.ts +0 -194
  281. package/modern/Button/index.d.ts +0 -4
  282. package/modern/ButtonBase/ButtonBase.d.ts +0 -125
  283. package/modern/ButtonBase/TouchRipple.d.ts +0 -22
  284. package/modern/ButtonBase/buttonBaseClasses.d.ts +0 -12
  285. package/modern/ButtonBase/index.d.ts +0 -6
  286. package/modern/ButtonBase/touchRippleClasses.d.ts +0 -20
  287. package/modern/ButtonGroup/ButtonGroup.d.ts +0 -91
  288. package/modern/ButtonGroup/ButtonGroupButtonContext.d.ts +0 -6
  289. package/modern/ButtonGroup/ButtonGroupContext.d.ts +0 -18
  290. package/modern/ButtonGroup/buttonGroupClasses.d.ts +0 -104
  291. package/modern/ButtonGroup/index.d.ts +0 -6
  292. package/modern/Card/Card.d.ts +0 -47
  293. package/modern/Card/cardClasses.d.ts +0 -8
  294. package/modern/Card/index.d.ts +0 -4
  295. package/modern/CardActionArea/CardActionArea.d.ts +0 -38
  296. package/modern/CardActionArea/cardActionAreaClasses.d.ts +0 -12
  297. package/modern/CardActionArea/index.d.ts +0 -4
  298. package/modern/CardActions/CardActions.d.ts +0 -35
  299. package/modern/CardActions/cardActionsClasses.d.ts +0 -10
  300. package/modern/CardActions/index.d.ts +0 -4
  301. package/modern/CardContent/CardContent.d.ts +0 -38
  302. package/modern/CardContent/cardContentClasses.d.ts +0 -8
  303. package/modern/CardContent/index.d.ts +0 -4
  304. package/modern/CardHeader/CardHeader.d.ts +0 -157
  305. package/modern/CardHeader/cardHeaderClasses.d.ts +0 -18
  306. package/modern/CardHeader/index.d.ts +0 -4
  307. package/modern/CardMedia/CardMedia.d.ts +0 -51
  308. package/modern/CardMedia/cardMediaClasses.d.ts +0 -12
  309. package/modern/CardMedia/index.d.ts +0 -4
  310. package/modern/Checkbox/Checkbox.d.ts +0 -131
  311. package/modern/Checkbox/checkboxClasses.d.ts +0 -22
  312. package/modern/Checkbox/index.d.ts +0 -4
  313. package/modern/Chip/Chip.d.ts +0 -107
  314. package/modern/Chip/chipClasses.d.ts +0 -150
  315. package/modern/Chip/index.d.ts +0 -4
  316. package/modern/CircularProgress/CircularProgress.d.ts +0 -71
  317. package/modern/CircularProgress/circularProgressClasses.d.ts +0 -30
  318. package/modern/CircularProgress/index.d.ts +0 -4
  319. package/modern/ClickAwayListener/ClickAwayListener.d.ts +0 -47
  320. package/modern/ClickAwayListener/index.d.ts +0 -2
  321. package/modern/Collapse/Collapse.d.ts +0 -71
  322. package/modern/Collapse/collapseClasses.d.ts +0 -18
  323. package/modern/Collapse/index.d.ts +0 -4
  324. package/modern/Container/Container.d.ts +0 -55
  325. package/modern/Container/containerClasses.d.ts +0 -6
  326. package/modern/Container/index.d.ts +0 -4
  327. package/modern/CssBaseline/CssBaseline.d.ts +0 -28
  328. package/modern/CssBaseline/index.d.ts +0 -2
  329. package/modern/DefaultPropsProvider/DefaultPropsProvider.d.ts +0 -13
  330. package/modern/DefaultPropsProvider/index.d.ts +0 -1
  331. package/modern/Dialog/Dialog.d.ts +0 -184
  332. package/modern/Dialog/DialogContext.d.ts +0 -6
  333. package/modern/Dialog/dialogClasses.d.ts +0 -40
  334. package/modern/Dialog/index.d.ts +0 -4
  335. package/modern/DialogActions/DialogActions.d.ts +0 -35
  336. package/modern/DialogActions/dialogActionsClasses.d.ts +0 -10
  337. package/modern/DialogActions/index.d.ts +0 -4
  338. package/modern/DialogContent/DialogContent.d.ts +0 -35
  339. package/modern/DialogContent/dialogContentClasses.d.ts +0 -10
  340. package/modern/DialogContent/index.d.ts +0 -4
  341. package/modern/DialogContentText/DialogContentText.d.ts +0 -37
  342. package/modern/DialogContentText/dialogContentTextClasses.d.ts +0 -8
  343. package/modern/DialogContentText/index.d.ts +0 -4
  344. package/modern/DialogTitle/DialogTitle.d.ts +0 -43
  345. package/modern/DialogTitle/dialogTitleClasses.d.ts +0 -8
  346. package/modern/DialogTitle/index.d.ts +0 -4
  347. package/modern/Divider/Divider.d.ts +0 -74
  348. package/modern/Divider/dividerClasses.d.ts +0 -38
  349. package/modern/Divider/index.d.ts +0 -4
  350. package/modern/Drawer/Drawer.d.ts +0 -154
  351. package/modern/Drawer/drawerClasses.d.ts +0 -54
  352. package/modern/Drawer/index.d.ts +0 -4
  353. package/modern/Fab/Fab.d.ts +0 -82
  354. package/modern/Fab/fabClasses.d.ts +0 -26
  355. package/modern/Fab/index.d.ts +0 -4
  356. package/modern/Fade/Fade.d.ts +0 -48
  357. package/modern/Fade/index.d.ts +0 -2
  358. package/modern/FilledInput/FilledInput.d.ts +0 -42
  359. package/modern/FilledInput/filledInputClasses.d.ts +0 -30
  360. package/modern/FilledInput/index.d.ts +0 -4
  361. package/modern/FormControl/FormControl.d.ts +0 -120
  362. package/modern/FormControl/FormControlContext.d.ts +0 -17
  363. package/modern/FormControl/formControlClasses.d.ts +0 -14
  364. package/modern/FormControl/index.d.ts +0 -6
  365. package/modern/FormControl/useFormControl.d.ts +0 -2
  366. package/modern/FormControlLabel/FormControlLabel.d.ts +0 -101
  367. package/modern/FormControlLabel/formControlLabelClasses.d.ts +0 -24
  368. package/modern/FormControlLabel/index.d.ts +0 -4
  369. package/modern/FormGroup/FormGroup.d.ts +0 -39
  370. package/modern/FormGroup/formGroupClasses.d.ts +0 -12
  371. package/modern/FormGroup/index.d.ts +0 -4
  372. package/modern/FormHelperText/FormHelperText.d.ts +0 -71
  373. package/modern/FormHelperText/formHelperTextClasses.d.ts +0 -22
  374. package/modern/FormHelperText/index.d.ts +0 -4
  375. package/modern/FormLabel/FormLabel.d.ts +0 -78
  376. package/modern/FormLabel/formLabelClasses.d.ts +0 -22
  377. package/modern/FormLabel/index.d.ts +0 -4
  378. package/modern/GlobalStyles/GlobalStyles.d.ts +0 -20
  379. package/modern/GlobalStyles/index.d.ts +0 -2
  380. package/modern/Grid/Grid.d.ts +0 -111
  381. package/modern/Grid/gridClasses.d.ts +0 -10
  382. package/modern/Grid/index.d.ts +0 -4
  383. package/modern/GridLegacy/GridLegacy.d.ts +0 -160
  384. package/modern/GridLegacy/gridLegacyClasses.d.ts +0 -48
  385. package/modern/GridLegacy/index.d.ts +0 -4
  386. package/modern/Grow/Grow.d.ts +0 -49
  387. package/modern/Grow/index.d.ts +0 -2
  388. package/modern/Icon/Icon.d.ts +0 -62
  389. package/modern/Icon/iconClasses.d.ts +0 -24
  390. package/modern/Icon/index.d.ts +0 -4
  391. package/modern/IconButton/IconButton.d.ts +0 -90
  392. package/modern/IconButton/iconButtonClasses.d.ts +0 -40
  393. package/modern/IconButton/index.d.ts +0 -4
  394. package/modern/ImageList/ImageList.d.ts +0 -60
  395. package/modern/ImageList/imageListClasses.d.ts +0 -16
  396. package/modern/ImageList/index.d.ts +0 -4
  397. package/modern/ImageListItem/ImageListItem.d.ts +0 -48
  398. package/modern/ImageListItem/imageListItemClasses.d.ts +0 -18
  399. package/modern/ImageListItem/index.d.ts +0 -4
  400. package/modern/ImageListItemBar/ImageListItemBar.d.ts +0 -49
  401. package/modern/ImageListItemBar/imageListItemBarClasses.d.ts +0 -42
  402. package/modern/ImageListItemBar/index.d.ts +0 -4
  403. package/modern/InitColorSchemeScript/InitColorSchemeScript.d.ts +0 -10
  404. package/modern/InitColorSchemeScript/index.d.ts +0 -1
  405. package/modern/Input/Input.d.ts +0 -35
  406. package/modern/Input/index.d.ts +0 -4
  407. package/modern/Input/inputClasses.d.ts +0 -38
  408. package/modern/InputAdornment/InputAdornment.d.ts +0 -59
  409. package/modern/InputAdornment/index.d.ts +0 -4
  410. package/modern/InputAdornment/inputAdornmentClasses.d.ts +0 -24
  411. package/modern/InputBase/InputBase.d.ts +0 -247
  412. package/modern/InputBase/index.d.ts +0 -4
  413. package/modern/InputBase/inputBaseClasses.d.ts +0 -55
  414. package/modern/InputLabel/InputLabel.d.ts +0 -79
  415. package/modern/InputLabel/index.d.ts +0 -4
  416. package/modern/InputLabel/inputLabelClasses.d.ts +0 -32
  417. package/modern/LinearProgress/LinearProgress.d.ts +0 -57
  418. package/modern/LinearProgress/index.d.ts +0 -4
  419. package/modern/LinearProgress/linearProgressClasses.d.ts +0 -64
  420. package/modern/Link/Link.d.ts +0 -63
  421. package/modern/Link/getTextDecoration.d.ts +0 -11
  422. package/modern/Link/index.d.ts +0 -4
  423. package/modern/Link/linkClasses.d.ts +0 -18
  424. package/modern/List/List.d.ts +0 -65
  425. package/modern/List/ListContext.d.ts +0 -5
  426. package/modern/List/index.d.ts +0 -4
  427. package/modern/List/listClasses.d.ts +0 -14
  428. package/modern/ListItem/ListItem.d.ts +0 -127
  429. package/modern/ListItem/index.d.ts +0 -4
  430. package/modern/ListItem/listItemClasses.d.ts +0 -22
  431. package/modern/ListItemAvatar/ListItemAvatar.d.ts +0 -30
  432. package/modern/ListItemAvatar/index.d.ts +0 -4
  433. package/modern/ListItemAvatar/listItemAvatarClasses.d.ts +0 -10
  434. package/modern/ListItemButton/ListItemButton.d.ts +0 -85
  435. package/modern/ListItemButton/index.d.ts +0 -4
  436. package/modern/ListItemButton/listItemButtonClasses.d.ts +0 -22
  437. package/modern/ListItemIcon/ListItemIcon.d.ts +0 -32
  438. package/modern/ListItemIcon/index.d.ts +0 -4
  439. package/modern/ListItemIcon/listItemIconClasses.d.ts +0 -10
  440. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +0 -36
  441. package/modern/ListItemSecondaryAction/index.d.ts +0 -4
  442. package/modern/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +0 -10
  443. package/modern/ListItemText/ListItemText.d.ts +0 -105
  444. package/modern/ListItemText/index.d.ts +0 -4
  445. package/modern/ListItemText/listItemTextClasses.d.ts +0 -18
  446. package/modern/ListSubheader/ListSubheader.d.ts +0 -59
  447. package/modern/ListSubheader/index.d.ts +0 -4
  448. package/modern/ListSubheader/listSubheaderClasses.d.ts +0 -18
  449. package/modern/Menu/Menu.d.ts +0 -162
  450. package/modern/Menu/index.d.ts +0 -4
  451. package/modern/Menu/menuClasses.d.ts +0 -12
  452. package/modern/MenuItem/MenuItem.d.ts +0 -69
  453. package/modern/MenuItem/index.d.ts +0 -4
  454. package/modern/MenuItem/menuItemClasses.d.ts +0 -20
  455. package/modern/MenuList/MenuList.d.ts +0 -62
  456. package/modern/MenuList/index.d.ts +0 -2
  457. package/modern/MobileStepper/MobileStepper.d.ts +0 -112
  458. package/modern/MobileStepper/index.d.ts +0 -4
  459. package/modern/MobileStepper/mobileStepperClasses.d.ts +0 -22
  460. package/modern/Modal/Modal.d.ts +0 -221
  461. package/modern/Modal/ModalManager.d.ts +0 -25
  462. package/modern/Modal/index.d.ts +0 -5
  463. package/modern/Modal/modalClasses.d.ts +0 -12
  464. package/modern/Modal/useModal.d.ts +0 -13
  465. package/modern/Modal/useModal.types.d.ts +0 -118
  466. package/modern/NativeSelect/NativeSelect.d.ts +0 -68
  467. package/modern/NativeSelect/NativeSelectInput.d.ts +0 -13
  468. package/modern/NativeSelect/index.d.ts +0 -4
  469. package/modern/NativeSelect/nativeSelectClasses.d.ts +0 -34
  470. package/modern/NoSsr/NoSsr.d.ts +0 -25
  471. package/modern/NoSsr/NoSsr.types.d.ts +0 -18
  472. package/modern/NoSsr/index.d.ts +0 -3
  473. package/modern/OutlinedInput/NotchedOutline.d.ts +0 -12
  474. package/modern/OutlinedInput/OutlinedInput.d.ts +0 -40
  475. package/modern/OutlinedInput/index.d.ts +0 -4
  476. package/modern/OutlinedInput/outlinedInputClasses.d.ts +0 -38
  477. package/modern/OverridableComponent/index.d.ts +0 -41
  478. package/modern/Pagination/Pagination.d.ts +0 -79
  479. package/modern/Pagination/index.d.ts +0 -4
  480. package/modern/Pagination/paginationClasses.d.ts +0 -14
  481. package/modern/PaginationItem/PaginationItem.d.ts +0 -110
  482. package/modern/PaginationItem/index.d.ts +0 -4
  483. package/modern/PaginationItem/paginationItemClasses.d.ts +0 -54
  484. package/modern/Paper/Paper.d.ts +0 -62
  485. package/modern/Paper/index.d.ts +0 -4
  486. package/modern/Paper/paperClasses.d.ts +0 -64
  487. package/modern/PigmentContainer/PigmentContainer.d.ts +0 -55
  488. package/modern/PigmentContainer/index.d.ts +0 -3
  489. package/modern/PigmentGrid/PigmentGrid.d.ts +0 -83
  490. package/modern/PigmentGrid/index.d.ts +0 -3
  491. package/modern/PigmentStack/PigmentStack.d.ts +0 -49
  492. package/modern/PigmentStack/index.d.ts +0 -3
  493. package/modern/Popover/Popover.d.ts +0 -233
  494. package/modern/Popover/index.d.ts +0 -4
  495. package/modern/Popover/popoverClasses.d.ts +0 -10
  496. package/modern/Popper/BasePopper.d.ts +0 -7
  497. package/modern/Popper/BasePopper.types.d.ts +0 -129
  498. package/modern/Popper/Popper.d.ts +0 -46
  499. package/modern/Popper/index.d.ts +0 -4
  500. package/modern/Popper/popperClasses.d.ts +0 -8
  501. package/modern/Portal/Portal.d.ts +0 -16
  502. package/modern/Portal/Portal.types.d.ts +0 -23
  503. package/modern/Portal/index.d.ts +0 -3
  504. package/modern/Radio/Radio.d.ts +0 -86
  505. package/modern/Radio/index.d.ts +0 -4
  506. package/modern/Radio/radioClasses.d.ts +0 -18
  507. package/modern/RadioGroup/RadioGroup.d.ts +0 -38
  508. package/modern/RadioGroup/RadioGroupContext.d.ts +0 -11
  509. package/modern/RadioGroup/index.d.ts +0 -5
  510. package/modern/RadioGroup/radioGroupClasses.d.ts +0 -6
  511. package/modern/RadioGroup/useRadioGroup.d.ts +0 -3
  512. package/modern/Rating/Rating.d.ts +0 -183
  513. package/modern/Rating/index.d.ts +0 -4
  514. package/modern/Rating/ratingClasses.d.ts +0 -40
  515. package/modern/ScopedCssBaseline/ScopedCssBaseline.d.ts +0 -55
  516. package/modern/ScopedCssBaseline/index.d.ts +0 -4
  517. package/modern/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +0 -8
  518. package/modern/Select/Select.d.ts +0 -188
  519. package/modern/Select/SelectInput.d.ts +0 -47
  520. package/modern/Select/index.d.ts +0 -4
  521. package/modern/Select/selectClasses.d.ts +0 -42
  522. package/modern/Skeleton/Skeleton.d.ts +0 -62
  523. package/modern/Skeleton/index.d.ts +0 -4
  524. package/modern/Skeleton/skeletonClasses.d.ts +0 -26
  525. package/modern/Slide/Slide.d.ts +0 -63
  526. package/modern/Slide/index.d.ts +0 -2
  527. package/modern/Slider/Slider.d.ts +0 -298
  528. package/modern/Slider/SliderValueLabel.d.ts +0 -13
  529. package/modern/Slider/SliderValueLabel.types.d.ts +0 -25
  530. package/modern/Slider/index.d.ts +0 -4
  531. package/modern/Slider/sliderClasses.d.ts +0 -88
  532. package/modern/Slider/useSlider.d.ts +0 -14
  533. package/modern/Slider/useSlider.types.d.ts +0 -226
  534. package/modern/Snackbar/Snackbar.d.ts +0 -182
  535. package/modern/Snackbar/index.d.ts +0 -4
  536. package/modern/Snackbar/snackbarClasses.d.ts +0 -20
  537. package/modern/Snackbar/useSnackbar.d.ts +0 -14
  538. package/modern/Snackbar/useSnackbar.types.d.ts +0 -59
  539. package/modern/SnackbarContent/SnackbarContent.d.ts +0 -42
  540. package/modern/SnackbarContent/index.d.ts +0 -4
  541. package/modern/SnackbarContent/snackbarContentClasses.d.ts +0 -12
  542. package/modern/SpeedDial/SpeedDial.d.ts +0 -131
  543. package/modern/SpeedDial/index.d.ts +0 -4
  544. package/modern/SpeedDial/speedDialClasses.d.ts +0 -22
  545. package/modern/SpeedDialAction/SpeedDialAction.d.ts +0 -117
  546. package/modern/SpeedDialAction/index.d.ts +0 -4
  547. package/modern/SpeedDialAction/speedDialActionClasses.d.ts +0 -20
  548. package/modern/SpeedDialIcon/SpeedDialIcon.d.ts +0 -43
  549. package/modern/SpeedDialIcon/index.d.ts +0 -4
  550. package/modern/SpeedDialIcon/speedDialIconClasses.d.ts +0 -18
  551. package/modern/Stack/Stack.d.ts +0 -58
  552. package/modern/Stack/index.d.ts +0 -4
  553. package/modern/Stack/stackClasses.d.ts +0 -6
  554. package/modern/Step/Step.d.ts +0 -70
  555. package/modern/Step/StepContext.d.ts +0 -20
  556. package/modern/Step/index.d.ts +0 -6
  557. package/modern/Step/stepClasses.d.ts +0 -16
  558. package/modern/StepButton/StepButton.d.ts +0 -51
  559. package/modern/StepButton/index.d.ts +0 -4
  560. package/modern/StepButton/stepButtonClasses.d.ts +0 -14
  561. package/modern/StepConnector/StepConnector.d.ts +0 -29
  562. package/modern/StepConnector/index.d.ts +0 -4
  563. package/modern/StepConnector/stepConnectorClasses.d.ts +0 -30
  564. package/modern/StepContent/StepContent.d.ts +0 -75
  565. package/modern/StepContent/index.d.ts +0 -4
  566. package/modern/StepContent/stepContentClasses.d.ts +0 -12
  567. package/modern/StepIcon/StepIcon.d.ts +0 -50
  568. package/modern/StepIcon/index.d.ts +0 -4
  569. package/modern/StepIcon/stepIconClasses.d.ts +0 -16
  570. package/modern/StepLabel/StepLabel.d.ts +0 -106
  571. package/modern/StepLabel/index.d.ts +0 -4
  572. package/modern/StepLabel/stepLabelClasses.d.ts +0 -28
  573. package/modern/Stepper/Stepper.d.ts +0 -71
  574. package/modern/Stepper/StepperContext.d.ts +0 -18
  575. package/modern/Stepper/index.d.ts +0 -6
  576. package/modern/Stepper/stepperClasses.d.ts +0 -16
  577. package/modern/SvgIcon/SvgIcon.d.ts +0 -89
  578. package/modern/SvgIcon/index.d.ts +0 -4
  579. package/modern/SvgIcon/svgIconClasses.d.ts +0 -26
  580. package/modern/SwipeableDrawer/SwipeableDrawer.d.ts +0 -106
  581. package/modern/SwipeableDrawer/index.d.ts +0 -2
  582. package/modern/Switch/Switch.d.ts +0 -123
  583. package/modern/Switch/index.d.ts +0 -4
  584. package/modern/Switch/switchClasses.d.ts +0 -32
  585. package/modern/Tab/Tab.d.ts +0 -75
  586. package/modern/Tab/index.d.ts +0 -4
  587. package/modern/Tab/tabClasses.d.ts +0 -30
  588. package/modern/TabScrollButton/TabScrollButton.d.ts +0 -67
  589. package/modern/TabScrollButton/index.d.ts +0 -4
  590. package/modern/TabScrollButton/tabScrollButtonClasses.d.ts +0 -12
  591. package/modern/Table/Table.d.ts +0 -55
  592. package/modern/Table/TableContext.d.ts +0 -7
  593. package/modern/Table/Tablelvl2Context.d.ts +0 -6
  594. package/modern/Table/index.d.ts +0 -4
  595. package/modern/Table/tableClasses.d.ts +0 -10
  596. package/modern/TableBody/TableBody.d.ts +0 -38
  597. package/modern/TableBody/index.d.ts +0 -4
  598. package/modern/TableBody/tableBodyClasses.d.ts +0 -8
  599. package/modern/TableCell/TableCell.d.ts +0 -82
  600. package/modern/TableCell/index.d.ts +0 -4
  601. package/modern/TableCell/tableCellClasses.d.ts +0 -32
  602. package/modern/TableContainer/TableContainer.d.ts +0 -38
  603. package/modern/TableContainer/index.d.ts +0 -4
  604. package/modern/TableContainer/tableContainerClasses.d.ts +0 -8
  605. package/modern/TableFooter/TableFooter.d.ts +0 -38
  606. package/modern/TableFooter/index.d.ts +0 -4
  607. package/modern/TableFooter/tableFooterClasses.d.ts +0 -8
  608. package/modern/TableHead/TableHead.d.ts +0 -38
  609. package/modern/TableHead/index.d.ts +0 -4
  610. package/modern/TableHead/tableHeadClasses.d.ts +0 -8
  611. package/modern/TablePagination/TablePagination.d.ts +0 -263
  612. package/modern/TablePagination/TablePaginationActions.d.ts +0 -94
  613. package/modern/TablePagination/index.d.ts +0 -4
  614. package/modern/TablePagination/tablePaginationClasses.d.ts +0 -28
  615. package/modern/TableRow/TableRow.d.ts +0 -50
  616. package/modern/TableRow/index.d.ts +0 -4
  617. package/modern/TableRow/tableRowClasses.d.ts +0 -16
  618. package/modern/TableSortLabel/TableSortLabel.d.ts +0 -90
  619. package/modern/TableSortLabel/index.d.ts +0 -4
  620. package/modern/TableSortLabel/tableSortLabelClasses.d.ts +0 -24
  621. package/modern/Tabs/Tabs.d.ts +0 -272
  622. package/modern/Tabs/index.d.ts +0 -4
  623. package/modern/Tabs/tabsClasses.d.ts +0 -36
  624. package/modern/TextField/TextField.d.ts +0 -342
  625. package/modern/TextField/index.d.ts +0 -4
  626. package/modern/TextField/textFieldClasses.d.ts +0 -8
  627. package/modern/TextareaAutosize/TextareaAutosize.d.ts +0 -14
  628. package/modern/TextareaAutosize/TextareaAutosize.types.d.ts +0 -13
  629. package/modern/TextareaAutosize/index.d.ts +0 -3
  630. package/modern/ToggleButton/ToggleButton.d.ts +0 -95
  631. package/modern/ToggleButton/index.d.ts +0 -4
  632. package/modern/ToggleButton/toggleButtonClasses.d.ts +0 -26
  633. package/modern/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -82
  634. package/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +0 -6
  635. package/modern/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +0 -16
  636. package/modern/ToggleButtonGroup/index.d.ts +0 -4
  637. package/modern/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +0 -34
  638. package/modern/Toolbar/Toolbar.d.ts +0 -51
  639. package/modern/Toolbar/index.d.ts +0 -4
  640. package/modern/Toolbar/toolbarClasses.d.ts +0 -14
  641. package/modern/Tooltip/Tooltip.d.ts +0 -229
  642. package/modern/Tooltip/index.d.ts +0 -4
  643. package/modern/Tooltip/tooltipClasses.d.ts +0 -30
  644. package/modern/Typography/Typography.d.ts +0 -99
  645. package/modern/Typography/index.d.ts +0 -4
  646. package/modern/Typography/typographyClasses.d.ts +0 -53
  647. package/modern/Unstable_TrapFocus/FocusTrap.d.ts +0 -10
  648. package/modern/Unstable_TrapFocus/FocusTrap.types.d.ts +0 -54
  649. package/modern/Unstable_TrapFocus/index.d.ts +0 -2
  650. package/modern/Zoom/Zoom.d.ts +0 -49
  651. package/modern/Zoom/index.d.ts +0 -2
  652. package/modern/className/index.d.ts +0 -1
  653. package/modern/colors/amber.d.ts +0 -62
  654. package/modern/colors/blue.d.ts +0 -62
  655. package/modern/colors/blueGrey.d.ts +0 -62
  656. package/modern/colors/brown.d.ts +0 -62
  657. package/modern/colors/common.d.ts +0 -14
  658. package/modern/colors/cyan.d.ts +0 -62
  659. package/modern/colors/deepOrange.d.ts +0 -62
  660. package/modern/colors/deepPurple.d.ts +0 -62
  661. package/modern/colors/green.d.ts +0 -62
  662. package/modern/colors/grey.d.ts +0 -62
  663. package/modern/colors/index.d.ts +0 -20
  664. package/modern/colors/indigo.d.ts +0 -62
  665. package/modern/colors/lightBlue.d.ts +0 -62
  666. package/modern/colors/lightGreen.d.ts +0 -62
  667. package/modern/colors/lime.d.ts +0 -62
  668. package/modern/colors/orange.d.ts +0 -62
  669. package/modern/colors/pink.d.ts +0 -62
  670. package/modern/colors/purple.d.ts +0 -62
  671. package/modern/colors/red.d.ts +0 -62
  672. package/modern/colors/teal.d.ts +0 -62
  673. package/modern/colors/yellow.d.ts +0 -62
  674. package/modern/darkScrollbar/index.d.ts +0 -28
  675. package/modern/generateUtilityClass/index.d.ts +0 -2
  676. package/modern/generateUtilityClasses/index.d.ts +0 -1
  677. package/modern/index.d.ts +0 -323
  678. package/modern/internal/SwitchBase.d.ts +0 -108
  679. package/modern/internal/switchBaseClasses.d.ts +0 -12
  680. package/modern/locale/index.d.ts +0 -82
  681. package/modern/styles/ThemeProvider.d.ts +0 -76
  682. package/modern/styles/ThemeProviderNoVars.d.ts +0 -10
  683. package/modern/styles/ThemeProviderWithVars.d.ts +0 -51
  684. package/modern/styles/adaptV4Theme.d.ts +0 -36
  685. package/modern/styles/components.d.ts +0 -595
  686. package/modern/styles/createColorScheme.d.ts +0 -9
  687. package/modern/styles/createGetSelector.d.ts +0 -16
  688. package/modern/styles/createMixins.d.ts +0 -32
  689. package/modern/styles/createPalette.d.ts +0 -125
  690. package/modern/styles/createStyles.d.ts +0 -1
  691. package/modern/styles/createTheme.d.ts +0 -14
  692. package/modern/styles/createThemeNoVars.d.ts +0 -70
  693. package/modern/styles/createThemeWithVars.d.ts +0 -350
  694. package/modern/styles/createTransitions.d.ts +0 -51
  695. package/modern/styles/createTypography.d.ts +0 -28
  696. package/modern/styles/cssUtils.d.ts +0 -25
  697. package/modern/styles/excludeVariablesFromRoot.d.ts +0 -5
  698. package/modern/styles/getOverlayAlpha.d.ts +0 -1
  699. package/modern/styles/identifier.d.ts +0 -2
  700. package/modern/styles/index.d.ts +0 -49
  701. package/modern/styles/makeStyles.d.ts +0 -1
  702. package/modern/styles/overrides.d.ts +0 -244
  703. package/modern/styles/props.d.ts +0 -241
  704. package/modern/styles/responsiveFontSizes.d.ts +0 -11
  705. package/modern/styles/rootShouldForwardProp.d.ts +0 -2
  706. package/modern/styles/shadows.d.ts +0 -3
  707. package/modern/styles/shouldSkipGeneratingVar.d.ts +0 -1
  708. package/modern/styles/slotShouldForwardProp.d.ts +0 -2
  709. package/modern/styles/stringifyTheme.d.ts +0 -20
  710. package/modern/styles/styled.d.ts +0 -13
  711. package/modern/styles/useTheme.d.ts +0 -2
  712. package/modern/styles/useThemeProps.d.ts +0 -42
  713. package/modern/styles/variants.d.ts +0 -10
  714. package/modern/styles/withStyles.d.ts +0 -1
  715. package/modern/styles/withTheme.d.ts +0 -1
  716. package/modern/styles/zIndex.d.ts +0 -13
  717. package/modern/themeCssVarsAugmentation/index.d.ts +0 -10
  718. package/modern/transitions/index.d.ts +0 -1
  719. package/modern/transitions/transition.d.ts +0 -12
  720. package/modern/transitions/utils.d.ts +0 -23
  721. package/modern/types/OverridableComponentAugmentation.d.ts +0 -31
  722. package/modern/useAutocomplete/index.d.ts +0 -2
  723. package/modern/useAutocomplete/useAutocomplete.d.ts +0 -430
  724. package/modern/useLazyRipple/index.d.ts +0 -1
  725. package/modern/useLazyRipple/useLazyRipple.d.ts +0 -32
  726. package/modern/useMediaQuery/index.d.ts +0 -7
  727. package/modern/usePagination/index.d.ts +0 -2
  728. package/modern/usePagination/usePagination.d.ts +0 -74
  729. package/modern/useScrollTrigger/index.d.ts +0 -1
  730. package/modern/useScrollTrigger/useScrollTrigger.d.ts +0 -6
  731. package/modern/utils/PolymorphicComponent.d.ts +0 -17
  732. package/modern/utils/areArraysEqual.d.ts +0 -3
  733. package/modern/utils/capitalize.d.ts +0 -2
  734. package/modern/utils/createChainedFunction.d.ts +0 -2
  735. package/modern/utils/createSimplePaletteValueFilter.d.ts +0 -12
  736. package/modern/utils/createSvgIcon.d.ts +0 -2
  737. package/modern/utils/debounce.d.ts +0 -2
  738. package/modern/utils/deprecatedPropType.d.ts +0 -2
  739. package/modern/utils/getScrollbarSize.d.ts +0 -2
  740. package/modern/utils/index.d.ts +0 -20
  741. package/modern/utils/isHostComponent.d.ts +0 -6
  742. package/modern/utils/isMuiElement.d.ts +0 -2
  743. package/modern/utils/memoTheme.d.ts +0 -7
  744. package/modern/utils/mergeSlotProps.d.ts +0 -2
  745. package/modern/utils/omitEventHandlers.d.ts +0 -9
  746. package/modern/utils/ownerDocument.d.ts +0 -2
  747. package/modern/utils/ownerWindow.d.ts +0 -2
  748. package/modern/utils/requirePropFactory.d.ts +0 -2
  749. package/modern/utils/setRef.d.ts +0 -2
  750. package/modern/utils/types.d.ts +0 -26
  751. package/modern/utils/unsupportedProp.d.ts +0 -2
  752. package/modern/utils/useControlled.d.ts +0 -2
  753. package/modern/utils/useEnhancedEffect.d.ts +0 -2
  754. package/modern/utils/useEventCallback.d.ts +0 -2
  755. package/modern/utils/useForkRef.d.ts +0 -2
  756. package/modern/utils/useId.d.ts +0 -2
  757. package/modern/utils/useSlot.d.ts +0 -81
  758. package/modern/version/index.d.ts +0 -6
  759. 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;