@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,233 +0,0 @@
1
- import * as React from 'react';
2
- import { SxProps } from '@mui/system';
3
- import { SlotComponentProps } from '@mui/utils';
4
- import { BackdropProps, InternalStandardProps as StandardProps } from "../index.js";
5
- import Paper, { PaperProps } from "../Paper/index.js";
6
- import Modal, { ModalProps } from "../Modal/index.js";
7
- import { Theme } from "../styles/index.js";
8
- import { TransitionProps } from "../transitions/transition.js";
9
- import { PopoverClasses } from "./popoverClasses.js";
10
- import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
11
- export interface PopoverSlots {
12
- /**
13
- * The component used for the root slot.
14
- * @default Modal
15
- */
16
- root: React.ElementType;
17
- /**
18
- * The component used for the paper slot.
19
- * @default Paper
20
- */
21
- paper: React.ElementType;
22
- /**
23
- * The component used for the transition slot.
24
- * @default Grow
25
- */
26
- transition: React.ElementType;
27
- /**
28
- * The component used for the backdrop slot.
29
- * @default Backdrop
30
- */
31
- backdrop: React.ElementType;
32
- }
33
- export interface PopoverRootSlotPropsOverrides {}
34
- export interface PopoverPaperSlotPropsOverrides {}
35
- export interface PopoverTransitionSlotPropsOverrides {}
36
- export interface PopoverBackdropSlotPropsOverrides {}
37
- export type PopoverSlotsAndSlotProps = CreateSlotsAndSlotProps<PopoverSlots, {
38
- /**
39
- * Props forwarded to the root slot.
40
- * By default, the avaible props are based on the [Modal](https://mui.com/material-ui/api/modal/#props) component.
41
- */
42
- root: SlotProps<typeof Modal, PopoverRootSlotPropsOverrides, PopoverOwnerState>;
43
- /**
44
- * Props forwarded to the paper slot.
45
- * By default, the avaible props are based on the [Paper](https://mui.com/material-ui/api/paper/#props) component.
46
- */
47
- paper: SlotProps<typeof Paper, PopoverPaperSlotPropsOverrides, PopoverOwnerState>;
48
- /**
49
- * Props forwarded to the transition slot.
50
- * By default, the avaible props are based on the [Grow](https://mui.com/material-ui/api/grow/#props) component.
51
- */
52
- transition: SlotComponentProps<
53
- // use SlotComponentProps because transition slot does not support `component` and `sx` prop
54
- React.ElementType, TransitionProps & PopoverTransitionSlotPropsOverrides, PopoverOwnerState>;
55
- /**
56
- * Props forwarded to the backdrop slot.
57
- * By default, the avaible props are based on the [Backdrop](https://mui.com/material-ui/api/backdrop/#props) component.
58
- */
59
- backdrop: SlotProps<React.ElementType<BackdropProps>, PopoverBackdropSlotPropsOverrides, PopoverOwnerState>;
60
- }>;
61
- export interface PopoverOrigin {
62
- vertical: 'top' | 'center' | 'bottom' | number;
63
- horizontal: 'left' | 'center' | 'right' | number;
64
- }
65
- export interface PopoverPosition {
66
- top: number;
67
- left: number;
68
- }
69
- export type PopoverReference = 'anchorEl' | 'anchorPosition' | 'none';
70
- interface PopoverVirtualElement {
71
- getBoundingClientRect: () => DOMRect;
72
- nodeType: Node['ELEMENT_NODE'];
73
- }
74
- export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | 'slotProps' | 'BackdropProps' | 'BackdropComponent'>, 'children'>, PopoverSlotsAndSlotProps {
75
- /**
76
- * A ref for imperative actions.
77
- * It currently only supports updatePosition() action.
78
- */
79
- action?: React.Ref<PopoverActions>;
80
- /**
81
- * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
82
- * or a function that returns either.
83
- * It's used to set the position of the popover.
84
- */
85
- anchorEl?: null | Element | PopoverVirtualElement | (() => Element | PopoverVirtualElement | null);
86
- /**
87
- * This is the point on the anchor where the popover's
88
- * `anchorEl` will attach to. This is not used when the
89
- * anchorReference is 'anchorPosition'.
90
- *
91
- * Options:
92
- * vertical: [top, center, bottom];
93
- * horizontal: [left, center, right].
94
- * @default {
95
- * vertical: 'top',
96
- * horizontal: 'left',
97
- * }
98
- */
99
- anchorOrigin?: PopoverOrigin;
100
- /**
101
- * This is the position that may be used to set the position of the popover.
102
- * The coordinates are relative to the application's client area.
103
- */
104
- anchorPosition?: PopoverPosition;
105
- /**
106
- * This determines which anchor prop to refer to when setting
107
- * the position of the popover.
108
- * @default 'anchorEl'
109
- */
110
- anchorReference?: PopoverReference;
111
- /**
112
- * A backdrop component. This prop enables custom backdrop rendering.
113
- * @deprecated Use `slots.backdrop` 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.
114
- * @default styled(Backdrop, {
115
- * name: 'MuiModal',
116
- * slot: 'Backdrop',
117
- * overridesResolver: (props, styles) => {
118
- * return styles.backdrop;
119
- * },
120
- * })({
121
- * zIndex: -1,
122
- * })
123
- */
124
- BackdropComponent?: React.ElementType<BackdropProps>;
125
- /**
126
- * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
127
- * @deprecated Use `slotProps.backdrop` 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
- BackdropProps?: Partial<BackdropProps>;
130
- /**
131
- * The content of the component.
132
- */
133
- children?: React.ReactNode;
134
- /**
135
- * Override or extend the styles applied to the component.
136
- */
137
- classes?: Partial<PopoverClasses>;
138
- /**
139
- * An HTML element, component instance, or function that returns either.
140
- * The `container` will passed to the Modal component.
141
- *
142
- * By default, it uses the body of the anchorEl's top-level document object,
143
- * so it's simply `document.body` most of the time.
144
- */
145
- container?: ModalProps['container'];
146
- /**
147
- * The elevation of the popover.
148
- * @default 8
149
- */
150
- elevation?: number;
151
- /**
152
- * Specifies how close to the edge of the window the popover can appear.
153
- * If null, the popover will not be constrained by the window.
154
- * @default 16
155
- */
156
- marginThreshold?: number | null;
157
- onClose?: ModalProps['onClose'];
158
- /**
159
- * If `true`, the component is shown.
160
- */
161
- open: boolean;
162
- /**
163
- * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
164
- *
165
- * This prop is an alias for `slotProps.paper` and will be overriden by it if both are used.
166
- * @deprecated Use `slotProps.paper` instead.
167
- *
168
- * @default {}
169
- */
170
- PaperProps?: Partial<PaperProps<React.ElementType>>;
171
- /**
172
- * The system prop that allows defining system overrides as well as additional CSS styles.
173
- */
174
- sx?: SxProps<Theme>;
175
- /**
176
- * This is the point on the popover which
177
- * will attach to the anchor's origin.
178
- *
179
- * Options:
180
- * vertical: [top, center, bottom, x(px)];
181
- * horizontal: [left, center, right, x(px)].
182
- * @default {
183
- * vertical: 'top',
184
- * horizontal: 'left',
185
- * }
186
- */
187
- transformOrigin?: PopoverOrigin;
188
- /**
189
- * The component used for the transition.
190
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
191
- * @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
192
- * @default Grow
193
- */
194
- TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
195
- children: React.ReactElement<unknown, any>;
196
- }>;
197
- /**
198
- * Set to 'auto' to automatically calculate transition time based on height.
199
- * @default 'auto'
200
- */
201
- transitionDuration?: TransitionProps['timeout'] | 'auto';
202
- /**
203
- * Props applied to the transition element.
204
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
205
- * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
206
- * @default {}
207
- */
208
- TransitionProps?: TransitionProps;
209
- }
210
- export interface PopoverOwnerState extends Omit<PopoverProps, 'slots' | 'slotProps'> {}
211
- export interface PopoverActions {
212
- updatePosition(): void;
213
- }
214
- export function getOffsetTop(rect: DOMRect, vertical: number | 'center' | 'bottom' | 'top'): number;
215
- export function getOffsetLeft(rect: DOMRect, horizontal: number | 'center' | 'right' | 'left'): number;
216
- type PopoverRootProps = NonNullable<PopoverProps['slotProps']>['root'];
217
- type PopoverPaperProps = NonNullable<PopoverProps['slotProps']>['paper'];
218
- export declare const PopoverRoot: React.FC<PopoverRootProps>;
219
- export declare const PopoverPaper: React.FC<PopoverPaperProps>;
220
-
221
- /**
222
- *
223
- * Demos:
224
- *
225
- * - [Menu](https://mui.com/material-ui/react-menu/)
226
- * - [Popover](https://mui.com/material-ui/react-popover/)
227
- *
228
- * API:
229
- *
230
- * - [Popover API](https://mui.com/material-ui/api/popover/)
231
- * - inherits [Modal API](https://mui.com/material-ui/api/modal/)
232
- */
233
- export default function Popover(props: PopoverProps): React.JSX.Element;
@@ -1,4 +0,0 @@
1
- export { default } from "./Popover.js";
2
- export * from "./Popover.js";
3
- export { default as popoverClasses } from "./popoverClasses.js";
4
- export * from "./popoverClasses.js";
@@ -1,10 +0,0 @@
1
- export interface PopoverClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the Paper component. */
5
- paper: string;
6
- }
7
- export type PopoverClassKey = keyof PopoverClasses;
8
- export declare function getPopoverUtilityClass(slot: string): string;
9
- declare const popoverClasses: PopoverClasses;
10
- export default popoverClasses;
@@ -1,7 +0,0 @@
1
- import { PolymorphicComponent } from "../utils/PolymorphicComponent.js";
2
- import { PopperTypeMap } from "./BasePopper.types.js";
3
- /**
4
- * @ignore - internal component.
5
- */
6
- declare const Popper: PolymorphicComponent<PopperTypeMap>;
7
- export default Popper;
@@ -1,129 +0,0 @@
1
- import * as React from 'react';
2
- import { Instance, Options, OptionsGeneric, VirtualElement } from '@popperjs/core';
3
- import { PortalProps } from "../Portal/index.js";
4
- import { SlotComponentProps } from "../utils/types.js";
5
- import { PolymorphicProps } from "../utils/PolymorphicComponent.js";
6
- export type PopperPlacementType = Options['placement'];
7
- export interface PopperRootSlotPropsOverrides {}
8
- export interface PopperTransitionProps {
9
- in: boolean;
10
- onEnter: () => void;
11
- onExited: () => void;
12
- }
13
- export interface PopperChildrenProps {
14
- placement: PopperPlacementType;
15
- TransitionProps?: PopperTransitionProps;
16
- }
17
- export interface PopperOwnProps {
18
- /**
19
- * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
20
- * or a function that returns either.
21
- * It's used to set the position of the popper.
22
- * The return value will passed as the reference object of the Popper instance.
23
- */
24
- anchorEl?: null | VirtualElement | HTMLElement | (() => HTMLElement) | (() => VirtualElement);
25
- /**
26
- * Popper render function or node.
27
- */
28
- children?: React.ReactNode | ((props: PopperChildrenProps) => React.ReactNode);
29
- /**
30
- * An HTML element or function that returns one.
31
- * The `container` will have the portal children appended to it.
32
- *
33
- * You can also provide a callback, which is called in a React layout effect.
34
- * This lets you set the container from a ref, and also makes server-side rendering possible.
35
- *
36
- * By default, it uses the body of the top-level document object,
37
- * so it's simply `document.body` most of the time.
38
- */
39
- container?: PortalProps['container'];
40
- /**
41
- * Direction of the text.
42
- * @default 'ltr'
43
- */
44
- direction?: 'ltr' | 'rtl';
45
- /**
46
- * The `children` will be under the DOM hierarchy of the parent component.
47
- * @default false
48
- */
49
- disablePortal?: PortalProps['disablePortal'];
50
- /**
51
- * Always keep the children in the DOM.
52
- * This prop can be useful in SEO situation or
53
- * when you want to maximize the responsiveness of the Popper.
54
- * @default false
55
- */
56
- keepMounted?: boolean;
57
- /**
58
- * Popper.js is based on a "plugin-like" architecture,
59
- * most of its features are fully encapsulated "modifiers".
60
- *
61
- * A modifier is a function that is called each time Popper.js needs to
62
- * compute the position of the popper.
63
- * For this reason, modifiers should be very performant to avoid bottlenecks.
64
- * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
65
- */
66
- modifiers?: Options['modifiers'];
67
- /**
68
- * If `true`, the component is shown.
69
- */
70
- open: boolean;
71
- /**
72
- * Popper placement.
73
- * @default 'bottom'
74
- */
75
- placement?: PopperPlacementType;
76
- /**
77
- * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
78
- * @default {}
79
- */
80
- popperOptions?: Partial<OptionsGeneric<any>>;
81
- /**
82
- * A ref that points to the used popper instance.
83
- */
84
- popperRef?: React.Ref<Instance>;
85
- /**
86
- * The props used for each slot inside the Popper.
87
- * @default {}
88
- */
89
- slotProps?: {
90
- root?: SlotComponentProps<'div', PopperRootSlotPropsOverrides, PopperOwnerState>;
91
- };
92
- /**
93
- * The components used for each slot inside the Popper.
94
- * Either a string to use a HTML element or a component.
95
- * @default {}
96
- */
97
- slots?: PopperSlots;
98
- /**
99
- * Help supporting a react-transition-group/Transition component.
100
- * @default false
101
- */
102
- transition?: boolean;
103
- }
104
- export interface PopperSlots {
105
- /**
106
- * The component that renders the root.
107
- * @default 'div'
108
- */
109
- root?: React.ElementType;
110
- }
111
- export type PopperOwnerState = PopperOwnProps;
112
- export interface PopperTypeMap<AdditionalProps = {}, RootComponentType extends React.ElementType = 'div'> {
113
- props: PopperOwnProps & AdditionalProps;
114
- defaultComponent: RootComponentType;
115
- }
116
- export type PopperProps<RootComponentType extends React.ElementType = PopperTypeMap['defaultComponent']> = PolymorphicProps<PopperTypeMap<{}, RootComponentType>, RootComponentType>;
117
- export type PopperTooltipOwnProps = Omit<PopperOwnProps, 'container' | 'keepMounted' | 'transition'> & {
118
- TransitionProps?: PopperTransitionProps;
119
- };
120
- export interface PopperTooltipTypeMap<AdditionalProps = {}, RootComponentType extends React.ElementType = 'div'> {
121
- props: PopperTooltipOwnProps & AdditionalProps;
122
- defaultComponent: RootComponentType;
123
- }
124
- export type PopperTooltipProps<RootComponentType extends React.ElementType = PopperTooltipTypeMap['defaultComponent']> = PolymorphicProps<PopperTooltipTypeMap<{}, RootComponentType>, RootComponentType>;
125
- export interface PopperRootSlotProps {
126
- className?: string;
127
- ref: React.Ref<any>;
128
- ownerState: PopperOwnerState;
129
- }
@@ -1,46 +0,0 @@
1
- import { SxProps } from '@mui/system';
2
- import * as React from 'react';
3
- import { PopperProps as BasePopperProps } from "./BasePopper.types.js";
4
- import { Theme } from "../styles/index.js";
5
- export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
6
- /**
7
- * The component used for the root node.
8
- * Either a string to use a HTML element or a component.
9
- */
10
- component?: React.ElementType;
11
- /**
12
- * The components used for each slot inside the Popper.
13
- * Either a string to use a HTML element or a component.
14
- *
15
- * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
16
- * @default {}
17
- */
18
- components?: {
19
- Root?: React.ElementType;
20
- };
21
- /**
22
- * The props used for each slot inside the Popper.
23
- *
24
- * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
25
- * @default {}
26
- */
27
- componentsProps?: BasePopperProps['slotProps'];
28
- /**
29
- * The system prop that allows defining system overrides as well as additional CSS styles.
30
- */
31
- sx?: SxProps<Theme>;
32
- }
33
- /**
34
- *
35
- * Demos:
36
- *
37
- * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
38
- * - [Menu](https://mui.com/material-ui/react-menu/)
39
- * - [Popper](https://mui.com/material-ui/react-popper/)
40
- *
41
- * API:
42
- *
43
- * - [Popper API](https://mui.com/material-ui/api/popper/)
44
- */
45
- declare const Popper: React.ForwardRefExoticComponent<PopperProps & React.RefAttributes<HTMLDivElement>>;
46
- export default Popper;
@@ -1,4 +0,0 @@
1
- export { default } from "./Popper.js";
2
- export * from "./Popper.js";
3
- export * from "./popperClasses.js";
4
- export { PopperPlacementType } from "./BasePopper.types.js";
@@ -1,8 +0,0 @@
1
- export interface PopperClasses {
2
- /** Class name applied to the root element. */
3
- root: string;
4
- }
5
- export type PopperClassKey = keyof PopperClasses;
6
- export declare function getPopperUtilityClass(slot: string): string;
7
- declare const popperClasses: PopperClasses;
8
- export default popperClasses;
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- import { PortalProps } from "./Portal.types.js";
3
- /**
4
- * Portals provide a first-class way to render children into a DOM node
5
- * that exists outside the DOM hierarchy of the parent component.
6
- *
7
- * Demos:
8
- *
9
- * - [Portal](https://mui.com/material-ui/react-portal/)
10
- *
11
- * API:
12
- *
13
- * - [Portal API](https://mui.com/material-ui/api/portal/)
14
- */
15
- declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<Element>>;
16
- export default Portal;
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
- export interface PortalProps {
3
- /**
4
- * The children to render into the `container`.
5
- */
6
- children?: React.ReactNode;
7
- /**
8
- * An HTML element or function that returns one.
9
- * The `container` will have the portal children appended to it.
10
- *
11
- * You can also provide a callback, which is called in a React layout effect.
12
- * This lets you set the container from a ref, and also makes server-side rendering possible.
13
- *
14
- * By default, it uses the body of the top-level document object,
15
- * so it's simply `document.body` most of the time.
16
- */
17
- container?: Element | (() => Element | null) | null;
18
- /**
19
- * The `children` will be under the DOM hierarchy of the parent component.
20
- * @default false
21
- */
22
- disablePortal?: boolean;
23
- }
@@ -1,3 +0,0 @@
1
- export { default } from "./Portal.js";
2
- export * from "./Portal.js";
3
- export * from "./Portal.types.js";
@@ -1,86 +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, Theme } from "../index.js";
5
- import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
6
- import { SwitchBaseProps } from "../internal/SwitchBase.js";
7
- import { RadioClasses } from "./radioClasses.js";
8
- export interface RadioPropsSizeOverrides {}
9
- export interface RadioPropsColorOverrides {}
10
- export interface RadioRootSlotPropsOverrides {}
11
- export interface RadioInputSlotPropsOverrides {}
12
- export interface RadioSlots {
13
- /**
14
- * The component that renders the root slot.
15
- * @default SwitchBase
16
- */
17
- root: React.ElementType;
18
- /**
19
- * The component that renders the input slot.
20
- * @default SwitchBase's input
21
- */
22
- input: React.ElementType;
23
- }
24
- export type RadioSlotsAndSlotProps = CreateSlotsAndSlotProps<RadioSlots, {
25
- /**
26
- * Props forwarded to the root slot.
27
- * By default, the avaible props are based on the span element.
28
- */
29
- root: SlotProps<React.ElementType<SwitchBaseProps>, RadioRootSlotPropsOverrides, RadioOwnerState>;
30
- /**
31
- * Props forwarded to the input slot.
32
- * By default, the avaible props are based on the input element.
33
- */
34
- input: SlotProps<'input', RadioInputSlotPropsOverrides, RadioOwnerState>;
35
- }>;
36
- export interface RadioProps extends StandardProps<SwitchBaseProps, 'checkedIcon' | 'color' | 'icon' | 'type' | 'slots' | 'slotProps'>, RadioSlotsAndSlotProps {
37
- /**
38
- * The icon to display when the component is checked.
39
- * @default <RadioButtonIcon checked />
40
- */
41
- checkedIcon?: React.ReactNode;
42
- /**
43
- * Override or extend the styles applied to the component.
44
- */
45
- classes?: Partial<RadioClasses>;
46
- /**
47
- * The color of the component.
48
- * It supports both default and custom theme colors, which can be added as shown in the
49
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
50
- * @default 'primary'
51
- */
52
- color?: OverridableStringUnion<'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | 'default', RadioPropsColorOverrides>;
53
- /**
54
- * If `true`, the component is disabled.
55
- */
56
- disabled?: boolean;
57
- /**
58
- * The icon to display when the component is unchecked.
59
- * @default <RadioButtonIcon />
60
- */
61
- icon?: React.ReactNode;
62
- /**
63
- * The size of the component.
64
- * `small` is equivalent to the dense radio styling.
65
- * @default 'medium'
66
- */
67
- size?: OverridableStringUnion<'small' | 'medium', RadioPropsSizeOverrides>;
68
- /**
69
- * The system prop that allows defining system overrides as well as additional CSS styles.
70
- */
71
- sx?: SxProps<Theme>;
72
- }
73
- export interface RadioOwnerState extends Omit<RadioProps, 'slots' | 'slotProps'> {}
74
-
75
- /**
76
- *
77
- * Demos:
78
- *
79
- * - [Radio Group](https://mui.com/material-ui/react-radio-button/)
80
- *
81
- * API:
82
- *
83
- * - [Radio API](https://mui.com/material-ui/api/radio/)
84
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
85
- */
86
- export default function Radio(props: RadioProps): React.JSX.Element;
@@ -1,4 +0,0 @@
1
- export { default } from "./Radio.js";
2
- export * from "./Radio.js";
3
- export { default as radioClasses } from "./radioClasses.js";
4
- export * from "./radioClasses.js";
@@ -1,18 +0,0 @@
1
- export interface RadioClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `checked={true}`. */
5
- checked: string;
6
- /** State class applied to the root element if `disabled={true}`. */
7
- disabled: string;
8
- /** Styles applied to the root element if `color="primary"`. */
9
- colorPrimary: string;
10
- /** Styles applied to the root element if `color="secondary"`. */
11
- colorSecondary: string;
12
- /** Styles applied to the root element if `size="small"`. */
13
- sizeSmall: string;
14
- }
15
- export type RadioClassKey = keyof RadioClasses;
16
- export declare function getRadioUtilityClass(slot: string): string;
17
- declare const radioClasses: RadioClasses;
18
- export default radioClasses;
@@ -1,38 +0,0 @@
1
- import * as React from 'react';
2
- import { FormGroupProps } from "../FormGroup/index.js";
3
- export interface RadioGroupProps extends Omit<FormGroupProps, 'onChange'> {
4
- /**
5
- * The default value. Use when the component is not controlled.
6
- */
7
- defaultValue?: any;
8
- /**
9
- * The name used to reference the value of the control.
10
- * If you don't provide this prop, it falls back to a randomly generated name.
11
- */
12
- name?: string;
13
- /**
14
- * Callback fired when a radio button is selected.
15
- *
16
- * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
17
- * @param {string} value The value of the selected radio button.
18
- * You can pull out the new value by accessing `event.target.value` (string).
19
- */
20
- onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
21
- /**
22
- * Value of the selected radio button. The DOM API casts this to a string.
23
- */
24
- value?: any;
25
- }
26
-
27
- /**
28
- *
29
- * Demos:
30
- *
31
- * - [Radio Group](https://mui.com/material-ui/react-radio-button/)
32
- *
33
- * API:
34
- *
35
- * - [RadioGroup API](https://mui.com/material-ui/api/radio-group/)
36
- * - inherits [FormGroup API](https://mui.com/material-ui/api/form-group/)
37
- */
38
- export default function RadioGroup(props: RadioGroupProps): React.JSX.Element;
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- export interface RadioGroupContextValue {
3
- name: string | undefined;
4
- onChange: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
5
- value: any;
6
- }
7
- /**
8
- * @ignore - internal component.
9
- */
10
- declare const RadioGroupContext: React.Context<RadioGroupContextValue | undefined>;
11
- export default RadioGroupContext;
@@ -1,5 +0,0 @@
1
- export { default } from "./RadioGroup.js";
2
- export * from "./RadioGroup.js";
3
- export { default as useRadioGroup, RadioGroupState } from "./useRadioGroup.js";
4
- export { default as radioGroupClasses } from "./radioGroupClasses.js";
5
- export * from "./radioGroupClasses.js";
@@ -1,6 +0,0 @@
1
- import { FormGroupClasses } from "../FormGroup/index.js";
2
- export type RadioGroupClassKey = keyof FormGroupClasses;
3
- export type RadioGroupClasses = FormGroupClasses;
4
- export declare function getRadioGroupUtilityClass(slot: string): string;
5
- declare const radioGroupClasses: RadioGroupClasses;
6
- export default radioGroupClasses;