@mui/material 5.15.15 → 6.0.0-alpha.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 (565) hide show
  1. package/Accordion/Accordion.js +1 -2
  2. package/AccordionSummary/AccordionSummary.js +1 -2
  3. package/Alert/Alert.js +1 -2
  4. package/AppBar/AppBar.js +119 -69
  5. package/Autocomplete/Autocomplete.js +11 -16
  6. package/AvatarGroup/AvatarGroup.js +27 -25
  7. package/Backdrop/Backdrop.d.ts +40 -22
  8. package/Backdrop/Backdrop.js +50 -33
  9. package/Badge/Badge.d.ts +2 -4
  10. package/Badge/Badge.js +158 -168
  11. package/BottomNavigation/BottomNavigation.js +2 -2
  12. package/BottomNavigationAction/BottomNavigationAction.js +40 -24
  13. package/Breadcrumbs/Breadcrumbs.js +2 -2
  14. package/Button/Button.js +221 -134
  15. package/ButtonBase/ButtonBase.js +3 -4
  16. package/ButtonBase/Ripple.js +1 -1
  17. package/ButtonBase/TouchRipple.js +37 -43
  18. package/ButtonGroup/ButtonGroup.js +168 -71
  19. package/ButtonGroup/buttonGroupClasses.d.ts +57 -17
  20. package/ButtonGroup/buttonGroupClasses.js +1 -1
  21. package/CHANGELOG.md +169 -3
  22. package/Card/Card.js +4 -6
  23. package/CardActionArea/CardActionArea.js +3 -4
  24. package/CardActions/CardActions.js +16 -12
  25. package/CardContent/CardContent.js +7 -9
  26. package/CardHeader/CardHeader.js +3 -4
  27. package/CardMedia/CardMedia.js +22 -13
  28. package/Checkbox/Checkbox.js +2 -3
  29. package/Chip/Chip.js +191 -122
  30. package/CircularProgress/CircularProgress.js +10 -15
  31. package/CssBaseline/CssBaseline.js +3 -6
  32. package/DialogTitle/DialogTitle.js +1 -1
  33. package/Divider/Divider.js +140 -81
  34. package/Fab/Fab.js +55 -58
  35. package/FilledInput/FilledInput.js +4 -6
  36. package/FormControl/FormControl.js +30 -15
  37. package/FormControlLabel/FormControlLabel.js +42 -27
  38. package/FormGroup/FormGroup.js +14 -10
  39. package/Grid/Grid.js +5 -4
  40. package/IconButton/IconButton.js +2 -3
  41. package/ImageListItemBar/ImageListItemBar.js +1 -2
  42. package/Input/Input.js +3 -4
  43. package/InputAdornment/InputAdornment.js +1 -2
  44. package/InputBase/InputBase.js +2 -4
  45. package/LinearProgress/LinearProgress.js +16 -24
  46. package/List/List.js +1 -2
  47. package/ListItem/ListItem.js +1 -2
  48. package/ListItemText/ListItemText.js +2 -3
  49. package/Menu/Menu.js +2 -3
  50. package/MobileStepper/MobileStepper.js +80 -47
  51. package/Modal/Modal.js +22 -19
  52. package/NativeSelect/NativeSelectInput.js +1 -2
  53. package/OutlinedInput/OutlinedInput.js +4 -5
  54. package/PaginationItem/PaginationItem.js +1 -2
  55. package/Paper/Paper.js +15 -18
  56. package/Popover/Popover.js +7 -8
  57. package/Popper/Popper.js +3 -4
  58. package/README.md +3 -1
  59. package/Radio/Radio.js +2 -3
  60. package/Radio/RadioButtonIcon.js +1 -2
  61. package/Rating/Rating.js +1 -2
  62. package/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
  63. package/Select/SelectInput.js +3 -5
  64. package/Skeleton/Skeleton.js +11 -16
  65. package/Slider/Slider.js +185 -203
  66. package/Slider/SliderValueLabel.js +1 -2
  67. package/SnackbarContent/SnackbarContent.js +1 -2
  68. package/SpeedDial/SpeedDial.js +1 -2
  69. package/SpeedDialAction/SpeedDialAction.js +1 -2
  70. package/SpeedDialIcon/SpeedDialIcon.js +1 -2
  71. package/Step/Step.js +23 -14
  72. package/StepButton/StepButton.js +17 -14
  73. package/StepConnector/StepConnector.js +45 -26
  74. package/StepContent/StepContent.js +13 -8
  75. package/StepIcon/StepIcon.js +3 -4
  76. package/StepLabel/StepLabel.d.ts +25 -13
  77. package/StepLabel/StepLabel.js +47 -27
  78. package/Stepper/Stepper.js +29 -15
  79. package/SvgIcon/SvgIcon.js +26 -30
  80. package/SwipeableDrawer/SwipeableDrawer.js +2 -4
  81. package/Switch/Switch.js +1 -2
  82. package/TabScrollButton/TabScrollButton.js +2 -3
  83. package/Table/Table.d.ts +0 -2
  84. package/Table/Table.js +0 -2
  85. package/TablePagination/TablePagination.js +2 -4
  86. package/TablePagination/TablePaginationActions.js +11 -13
  87. package/TableSortLabel/TableSortLabel.js +1 -2
  88. package/Tabs/Tabs.js +6 -10
  89. package/TextField/TextField.js +1 -2
  90. package/Tooltip/Tooltip.js +14 -17
  91. package/index.js +1 -1
  92. package/internal/SwitchBase.js +1 -2
  93. package/legacy/Accordion/Accordion.js +1 -2
  94. package/legacy/AccordionSummary/AccordionSummary.js +1 -2
  95. package/legacy/Alert/Alert.js +1 -2
  96. package/legacy/AppBar/AppBar.js +124 -64
  97. package/legacy/Autocomplete/Autocomplete.js +1 -2
  98. package/legacy/AvatarGroup/AvatarGroup.js +19 -11
  99. package/legacy/Backdrop/Backdrop.js +66 -44
  100. package/legacy/Badge/Badge.js +3 -6
  101. package/legacy/BottomNavigation/BottomNavigation.js +2 -2
  102. package/legacy/BottomNavigationAction/BottomNavigationAction.js +42 -23
  103. package/legacy/Breadcrumbs/Breadcrumbs.js +2 -2
  104. package/legacy/Button/Button.js +219 -125
  105. package/legacy/ButtonBase/ButtonBase.js +3 -4
  106. package/legacy/ButtonBase/Ripple.js +1 -1
  107. package/legacy/ButtonBase/TouchRipple.js +3 -4
  108. package/legacy/ButtonGroup/ButtonGroup.js +164 -69
  109. package/legacy/ButtonGroup/buttonGroupClasses.js +1 -1
  110. package/legacy/Card/Card.js +4 -6
  111. package/legacy/CardActionArea/CardActionArea.js +3 -4
  112. package/legacy/CardActions/CardActions.js +16 -13
  113. package/legacy/CardContent/CardContent.js +7 -9
  114. package/legacy/CardHeader/CardHeader.js +3 -4
  115. package/legacy/CardMedia/CardMedia.js +24 -16
  116. package/legacy/Chip/Chip.js +199 -107
  117. package/legacy/CssBaseline/CssBaseline.js +1 -2
  118. package/legacy/Divider/Divider.js +148 -88
  119. package/legacy/FormControl/FormControl.js +37 -23
  120. package/legacy/FormControlLabel/FormControlLabel.js +42 -25
  121. package/legacy/FormGroup/FormGroup.js +15 -12
  122. package/legacy/Grid/Grid.js +3 -0
  123. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -2
  124. package/legacy/InputAdornment/InputAdornment.js +1 -2
  125. package/legacy/InputBase/InputBase.js +1 -2
  126. package/legacy/LinearProgress/LinearProgress.js +1 -2
  127. package/legacy/List/List.js +1 -2
  128. package/legacy/ListItem/ListItem.js +1 -2
  129. package/legacy/ListItemText/ListItemText.js +1 -2
  130. package/legacy/MobileStepper/MobileStepper.js +80 -48
  131. package/legacy/Modal/Modal.js +20 -15
  132. package/legacy/NativeSelect/NativeSelectInput.js +1 -2
  133. package/legacy/OutlinedInput/OutlinedInput.js +1 -2
  134. package/legacy/PaginationItem/PaginationItem.js +1 -2
  135. package/legacy/Popover/Popover.js +2 -2
  136. package/legacy/Radio/RadioButtonIcon.js +1 -2
  137. package/legacy/Rating/Rating.js +1 -2
  138. package/legacy/Select/SelectInput.js +1 -2
  139. package/legacy/Slider/Slider.js +25 -26
  140. package/legacy/Slider/SliderValueLabel.js +1 -2
  141. package/legacy/SnackbarContent/SnackbarContent.js +1 -2
  142. package/legacy/SpeedDial/SpeedDial.js +1 -2
  143. package/legacy/SpeedDialAction/SpeedDialAction.js +1 -2
  144. package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -2
  145. package/legacy/Step/Step.js +22 -14
  146. package/legacy/StepButton/StepButton.js +17 -15
  147. package/legacy/StepConnector/StepConnector.js +46 -28
  148. package/legacy/StepContent/StepContent.js +15 -10
  149. package/legacy/StepIcon/StepIcon.js +3 -4
  150. package/legacy/StepLabel/StepLabel.js +65 -44
  151. package/legacy/Stepper/Stepper.js +28 -15
  152. package/legacy/SvgIcon/SvgIcon.js +1 -2
  153. package/legacy/SwipeableDrawer/SwipeableDrawer.js +1 -2
  154. package/legacy/Switch/Switch.js +1 -2
  155. package/legacy/Table/Table.js +0 -2
  156. package/legacy/TablePagination/TablePagination.js +1 -2
  157. package/legacy/TablePagination/TablePaginationActions.js +1 -2
  158. package/legacy/TableSortLabel/TableSortLabel.js +1 -2
  159. package/legacy/Tabs/Tabs.js +1 -2
  160. package/legacy/TextField/TextField.js +1 -2
  161. package/legacy/Tooltip/Tooltip.js +1 -2
  162. package/legacy/index.js +1 -1
  163. package/legacy/internal/SwitchBase.js +1 -2
  164. package/legacy/styles/CssVarsProvider.js +1 -3
  165. package/legacy/styles/createGetSelector.js +21 -0
  166. package/legacy/styles/experimental_extendTheme.js +50 -9
  167. package/legacy/zero-styled/index.js +1 -0
  168. package/modern/Accordion/Accordion.js +1 -2
  169. package/modern/AccordionSummary/AccordionSummary.js +1 -2
  170. package/modern/Alert/Alert.js +1 -2
  171. package/modern/AppBar/AppBar.js +118 -68
  172. package/modern/Autocomplete/Autocomplete.js +1 -2
  173. package/modern/AvatarGroup/AvatarGroup.js +25 -22
  174. package/modern/Backdrop/Backdrop.js +50 -32
  175. package/modern/Badge/Badge.js +3 -6
  176. package/modern/BottomNavigation/BottomNavigation.js +2 -2
  177. package/modern/BottomNavigationAction/BottomNavigationAction.js +40 -24
  178. package/modern/Breadcrumbs/Breadcrumbs.js +2 -2
  179. package/modern/Button/Button.js +221 -133
  180. package/modern/ButtonBase/ButtonBase.js +3 -4
  181. package/modern/ButtonBase/Ripple.js +1 -1
  182. package/modern/ButtonBase/TouchRipple.js +3 -4
  183. package/modern/ButtonGroup/ButtonGroup.js +168 -71
  184. package/modern/ButtonGroup/buttonGroupClasses.js +1 -1
  185. package/modern/Card/Card.js +4 -6
  186. package/modern/CardActionArea/CardActionArea.js +3 -4
  187. package/modern/CardActions/CardActions.js +16 -12
  188. package/modern/CardContent/CardContent.js +7 -9
  189. package/modern/CardHeader/CardHeader.js +3 -4
  190. package/modern/CardMedia/CardMedia.js +22 -13
  191. package/modern/Chip/Chip.js +191 -122
  192. package/modern/CssBaseline/CssBaseline.js +1 -2
  193. package/modern/Divider/Divider.js +140 -81
  194. package/modern/FormControl/FormControl.js +30 -15
  195. package/modern/FormControlLabel/FormControlLabel.js +38 -22
  196. package/modern/FormGroup/FormGroup.js +14 -10
  197. package/modern/Grid/Grid.js +3 -0
  198. package/modern/ImageListItemBar/ImageListItemBar.js +1 -2
  199. package/modern/InputAdornment/InputAdornment.js +1 -2
  200. package/modern/InputBase/InputBase.js +1 -2
  201. package/modern/LinearProgress/LinearProgress.js +1 -2
  202. package/modern/List/List.js +1 -2
  203. package/modern/ListItem/ListItem.js +1 -2
  204. package/modern/ListItemText/ListItemText.js +1 -2
  205. package/modern/MobileStepper/MobileStepper.js +80 -47
  206. package/modern/Modal/Modal.js +15 -11
  207. package/modern/NativeSelect/NativeSelectInput.js +1 -2
  208. package/modern/OutlinedInput/OutlinedInput.js +1 -2
  209. package/modern/PaginationItem/PaginationItem.js +1 -2
  210. package/modern/Popover/Popover.js +2 -2
  211. package/modern/Radio/RadioButtonIcon.js +1 -2
  212. package/modern/Rating/Rating.js +1 -2
  213. package/modern/Select/SelectInput.js +1 -2
  214. package/modern/Slider/Slider.js +23 -24
  215. package/modern/Slider/SliderValueLabel.js +1 -2
  216. package/modern/SnackbarContent/SnackbarContent.js +1 -2
  217. package/modern/SpeedDial/SpeedDial.js +1 -2
  218. package/modern/SpeedDialAction/SpeedDialAction.js +1 -2
  219. package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -2
  220. package/modern/Step/Step.js +23 -14
  221. package/modern/StepButton/StepButton.js +17 -14
  222. package/modern/StepConnector/StepConnector.js +45 -26
  223. package/modern/StepContent/StepContent.js +13 -8
  224. package/modern/StepIcon/StepIcon.js +3 -4
  225. package/modern/StepLabel/StepLabel.js +47 -26
  226. package/modern/Stepper/Stepper.js +29 -15
  227. package/modern/SvgIcon/SvgIcon.js +1 -2
  228. package/modern/SwipeableDrawer/SwipeableDrawer.js +1 -2
  229. package/modern/Switch/Switch.js +1 -2
  230. package/modern/Table/Table.js +0 -2
  231. package/modern/TablePagination/TablePagination.js +1 -2
  232. package/modern/TablePagination/TablePaginationActions.js +1 -2
  233. package/modern/TableSortLabel/TableSortLabel.js +1 -2
  234. package/modern/Tabs/Tabs.js +1 -2
  235. package/modern/TextField/TextField.js +1 -2
  236. package/modern/Tooltip/Tooltip.js +1 -2
  237. package/modern/index.js +1 -1
  238. package/modern/internal/SwitchBase.js +1 -2
  239. package/modern/styles/CssVarsProvider.js +1 -3
  240. package/modern/styles/createGetSelector.js +21 -0
  241. package/modern/styles/experimental_extendTheme.js +45 -10
  242. package/modern/zero-styled/index.js +1 -0
  243. package/node/Accordion/Accordion.js +1 -1
  244. package/node/Accordion/AccordionContext.js +1 -1
  245. package/node/Accordion/index.js +1 -1
  246. package/node/AccordionActions/AccordionActions.js +1 -1
  247. package/node/AccordionActions/index.js +1 -1
  248. package/node/AccordionDetails/AccordionDetails.js +1 -1
  249. package/node/AccordionDetails/index.js +1 -1
  250. package/node/AccordionSummary/AccordionSummary.js +1 -1
  251. package/node/AccordionSummary/index.js +1 -1
  252. package/node/Alert/Alert.js +1 -1
  253. package/node/Alert/index.js +1 -1
  254. package/node/AlertTitle/AlertTitle.js +1 -1
  255. package/node/AlertTitle/index.js +1 -1
  256. package/node/AppBar/AppBar.js +126 -67
  257. package/node/AppBar/index.js +1 -1
  258. package/node/Autocomplete/Autocomplete.js +1 -1
  259. package/node/Autocomplete/index.js +1 -1
  260. package/node/Avatar/Avatar.js +1 -1
  261. package/node/Avatar/index.js +1 -1
  262. package/node/AvatarGroup/AvatarGroup.js +27 -23
  263. package/node/AvatarGroup/index.js +1 -1
  264. package/node/Backdrop/Backdrop.js +53 -36
  265. package/node/Backdrop/index.js +1 -1
  266. package/node/Badge/Badge.js +3 -5
  267. package/node/Badge/index.js +1 -1
  268. package/node/BottomNavigation/BottomNavigation.js +5 -5
  269. package/node/BottomNavigation/index.js +1 -1
  270. package/node/BottomNavigationAction/BottomNavigationAction.js +43 -26
  271. package/node/BottomNavigationAction/index.js +1 -1
  272. package/node/Box/index.js +1 -1
  273. package/node/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
  274. package/node/Breadcrumbs/Breadcrumbs.js +7 -7
  275. package/node/Breadcrumbs/index.js +1 -1
  276. package/node/Button/Button.js +225 -136
  277. package/node/Button/index.js +1 -1
  278. package/node/ButtonBase/ButtonBase.js +5 -5
  279. package/node/ButtonBase/Ripple.js +2 -2
  280. package/node/ButtonBase/TouchRipple.js +10 -11
  281. package/node/ButtonBase/index.js +1 -1
  282. package/node/ButtonGroup/ButtonGroup.js +171 -74
  283. package/node/ButtonGroup/ButtonGroupButtonContext.js +1 -1
  284. package/node/ButtonGroup/ButtonGroupContext.js +1 -1
  285. package/node/ButtonGroup/buttonGroupClasses.js +1 -1
  286. package/node/ButtonGroup/index.js +1 -1
  287. package/node/Card/Card.js +7 -9
  288. package/node/Card/index.js +1 -1
  289. package/node/CardActionArea/CardActionArea.js +6 -6
  290. package/node/CardActionArea/index.js +1 -1
  291. package/node/CardActions/CardActions.js +19 -15
  292. package/node/CardActions/index.js +1 -1
  293. package/node/CardContent/CardContent.js +10 -12
  294. package/node/CardContent/index.js +1 -1
  295. package/node/CardHeader/CardHeader.js +8 -8
  296. package/node/CardHeader/index.js +1 -1
  297. package/node/CardMedia/CardMedia.js +25 -16
  298. package/node/CardMedia/index.js +1 -1
  299. package/node/Checkbox/Checkbox.js +1 -1
  300. package/node/Checkbox/index.js +1 -1
  301. package/node/Chip/Chip.js +194 -124
  302. package/node/Chip/index.js +1 -1
  303. package/node/CircularProgress/CircularProgress.js +1 -1
  304. package/node/CircularProgress/index.js +1 -1
  305. package/node/Collapse/Collapse.js +1 -1
  306. package/node/Collapse/index.js +1 -1
  307. package/node/Container/index.js +1 -1
  308. package/node/CssBaseline/CssBaseline.js +1 -1
  309. package/node/Dialog/Dialog.js +1 -1
  310. package/node/Dialog/DialogContext.js +1 -1
  311. package/node/Dialog/index.js +1 -1
  312. package/node/DialogActions/DialogActions.js +1 -1
  313. package/node/DialogActions/index.js +1 -1
  314. package/node/DialogContent/DialogContent.js +1 -1
  315. package/node/DialogContent/index.js +1 -1
  316. package/node/DialogContentText/DialogContentText.js +1 -1
  317. package/node/DialogContentText/index.js +1 -1
  318. package/node/DialogTitle/DialogTitle.js +1 -1
  319. package/node/DialogTitle/index.js +1 -1
  320. package/node/Divider/Divider.js +144 -85
  321. package/node/Divider/index.js +1 -1
  322. package/node/Drawer/Drawer.js +1 -1
  323. package/node/Drawer/index.js +1 -1
  324. package/node/Fab/Fab.js +1 -1
  325. package/node/Fab/index.js +1 -1
  326. package/node/Fade/Fade.js +1 -1
  327. package/node/FilledInput/FilledInput.js +1 -1
  328. package/node/FilledInput/index.js +1 -1
  329. package/node/FormControl/FormControl.js +33 -18
  330. package/node/FormControl/FormControlContext.js +1 -1
  331. package/node/FormControl/index.js +1 -1
  332. package/node/FormControl/useFormControl.js +1 -1
  333. package/node/FormControlLabel/FormControlLabel.js +41 -24
  334. package/node/FormControlLabel/index.js +1 -1
  335. package/node/FormGroup/FormGroup.js +17 -13
  336. package/node/FormGroup/index.js +1 -1
  337. package/node/FormHelperText/FormHelperText.js +1 -1
  338. package/node/FormHelperText/index.js +1 -1
  339. package/node/FormLabel/FormLabel.js +1 -1
  340. package/node/FormLabel/index.js +1 -1
  341. package/node/GlobalStyles/GlobalStyles.js +1 -1
  342. package/node/Grid/Grid.js +4 -1
  343. package/node/Grid/GridContext.js +1 -1
  344. package/node/Grid/index.js +1 -1
  345. package/node/Grow/Grow.js +1 -1
  346. package/node/Hidden/Hidden.js +1 -1
  347. package/node/Hidden/HiddenCss.js +1 -1
  348. package/node/Hidden/HiddenJs.js +1 -1
  349. package/node/Hidden/withWidth.js +1 -1
  350. package/node/Icon/Icon.js +1 -1
  351. package/node/Icon/index.js +1 -1
  352. package/node/IconButton/IconButton.js +1 -1
  353. package/node/IconButton/index.js +1 -1
  354. package/node/ImageList/ImageList.js +1 -1
  355. package/node/ImageList/ImageListContext.js +1 -1
  356. package/node/ImageList/index.js +1 -1
  357. package/node/ImageListItem/ImageListItem.js +1 -1
  358. package/node/ImageListItem/index.js +1 -1
  359. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  360. package/node/ImageListItemBar/index.js +1 -1
  361. package/node/Input/Input.js +1 -1
  362. package/node/Input/index.js +1 -1
  363. package/node/InputAdornment/InputAdornment.js +1 -1
  364. package/node/InputAdornment/index.js +1 -1
  365. package/node/InputBase/InputBase.js +1 -1
  366. package/node/InputBase/index.js +1 -1
  367. package/node/InputLabel/InputLabel.js +1 -1
  368. package/node/InputLabel/index.js +1 -1
  369. package/node/LinearProgress/LinearProgress.js +1 -1
  370. package/node/LinearProgress/index.js +1 -1
  371. package/node/Link/Link.js +1 -1
  372. package/node/Link/index.js +1 -1
  373. package/node/List/List.js +1 -1
  374. package/node/List/ListContext.js +1 -1
  375. package/node/List/index.js +1 -1
  376. package/node/ListItem/ListItem.js +1 -1
  377. package/node/ListItem/index.js +1 -1
  378. package/node/ListItemAvatar/ListItemAvatar.js +1 -1
  379. package/node/ListItemAvatar/index.js +1 -1
  380. package/node/ListItemButton/ListItemButton.js +1 -1
  381. package/node/ListItemButton/index.js +1 -1
  382. package/node/ListItemIcon/ListItemIcon.js +1 -1
  383. package/node/ListItemIcon/index.js +1 -1
  384. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  385. package/node/ListItemSecondaryAction/index.js +1 -1
  386. package/node/ListItemText/ListItemText.js +1 -1
  387. package/node/ListItemText/index.js +1 -1
  388. package/node/ListSubheader/ListSubheader.js +1 -1
  389. package/node/ListSubheader/index.js +1 -1
  390. package/node/Menu/Menu.js +1 -1
  391. package/node/Menu/index.js +1 -1
  392. package/node/MenuItem/MenuItem.js +1 -1
  393. package/node/MenuItem/index.js +1 -1
  394. package/node/MenuList/MenuList.js +1 -1
  395. package/node/MobileStepper/MobileStepper.js +86 -52
  396. package/node/MobileStepper/index.js +1 -1
  397. package/node/Modal/Modal.js +18 -13
  398. package/node/Modal/index.js +1 -1
  399. package/node/NativeSelect/NativeSelect.js +1 -1
  400. package/node/NativeSelect/NativeSelectInput.js +1 -1
  401. package/node/NativeSelect/index.js +1 -1
  402. package/node/OutlinedInput/NotchedOutline.js +1 -1
  403. package/node/OutlinedInput/OutlinedInput.js +1 -1
  404. package/node/OutlinedInput/index.js +1 -1
  405. package/node/Pagination/Pagination.js +1 -1
  406. package/node/Pagination/index.js +1 -1
  407. package/node/PaginationItem/PaginationItem.js +1 -1
  408. package/node/PaginationItem/index.js +1 -1
  409. package/node/Paper/Paper.js +1 -1
  410. package/node/Paper/index.js +1 -1
  411. package/node/Popover/Popover.js +6 -6
  412. package/node/Popover/index.js +1 -1
  413. package/node/Popper/Popper.js +1 -1
  414. package/node/Radio/Radio.js +1 -1
  415. package/node/Radio/RadioButtonIcon.js +1 -1
  416. package/node/Radio/index.js +1 -1
  417. package/node/RadioGroup/RadioGroup.js +1 -1
  418. package/node/RadioGroup/RadioGroupContext.js +1 -1
  419. package/node/RadioGroup/index.js +1 -1
  420. package/node/RadioGroup/useRadioGroup.js +1 -1
  421. package/node/Rating/Rating.js +1 -1
  422. package/node/Rating/index.js +1 -1
  423. package/node/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  424. package/node/ScopedCssBaseline/index.js +1 -1
  425. package/node/Select/Select.js +1 -1
  426. package/node/Select/SelectInput.js +1 -1
  427. package/node/Select/index.js +1 -1
  428. package/node/Skeleton/Skeleton.js +1 -1
  429. package/node/Skeleton/index.js +1 -1
  430. package/node/Slide/Slide.js +1 -1
  431. package/node/Slider/Slider.js +26 -26
  432. package/node/Slider/SliderValueLabel.js +1 -1
  433. package/node/Slider/index.js +1 -1
  434. package/node/Snackbar/Snackbar.js +1 -1
  435. package/node/Snackbar/index.js +1 -1
  436. package/node/SnackbarContent/SnackbarContent.js +1 -1
  437. package/node/SnackbarContent/index.js +1 -1
  438. package/node/SpeedDial/SpeedDial.js +1 -1
  439. package/node/SpeedDial/index.js +1 -1
  440. package/node/SpeedDialAction/SpeedDialAction.js +1 -1
  441. package/node/SpeedDialAction/index.js +1 -1
  442. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
  443. package/node/SpeedDialIcon/index.js +1 -1
  444. package/node/Step/Step.js +25 -15
  445. package/node/Step/StepContext.js +1 -1
  446. package/node/Step/index.js +1 -1
  447. package/node/StepButton/StepButton.js +20 -17
  448. package/node/StepButton/index.js +1 -1
  449. package/node/StepConnector/StepConnector.js +49 -30
  450. package/node/StepConnector/index.js +1 -1
  451. package/node/StepContent/StepContent.js +17 -12
  452. package/node/StepContent/index.js +1 -1
  453. package/node/StepIcon/StepIcon.js +6 -6
  454. package/node/StepIcon/index.js +1 -1
  455. package/node/StepLabel/StepLabel.js +52 -31
  456. package/node/StepLabel/index.js +1 -1
  457. package/node/Stepper/Stepper.js +32 -18
  458. package/node/Stepper/StepperContext.js +1 -1
  459. package/node/Stepper/index.js +1 -1
  460. package/node/SvgIcon/SvgIcon.js +1 -1
  461. package/node/SvgIcon/index.js +1 -1
  462. package/node/SwipeableDrawer/SwipeArea.js +1 -1
  463. package/node/SwipeableDrawer/SwipeableDrawer.js +1 -1
  464. package/node/Switch/Switch.js +1 -1
  465. package/node/Switch/index.js +1 -1
  466. package/node/Tab/Tab.js +1 -1
  467. package/node/Tab/index.js +1 -1
  468. package/node/TabScrollButton/TabScrollButton.js +1 -1
  469. package/node/TabScrollButton/index.js +1 -1
  470. package/node/Table/Table.js +1 -3
  471. package/node/Table/TableContext.js +1 -1
  472. package/node/Table/Tablelvl2Context.js +1 -1
  473. package/node/Table/index.js +1 -1
  474. package/node/TableBody/TableBody.js +1 -1
  475. package/node/TableBody/index.js +1 -1
  476. package/node/TableCell/TableCell.js +1 -1
  477. package/node/TableCell/index.js +1 -1
  478. package/node/TableContainer/TableContainer.js +1 -1
  479. package/node/TableContainer/index.js +1 -1
  480. package/node/TableFooter/TableFooter.js +1 -1
  481. package/node/TableFooter/index.js +1 -1
  482. package/node/TableHead/TableHead.js +1 -1
  483. package/node/TableHead/index.js +1 -1
  484. package/node/TablePagination/TablePagination.js +1 -1
  485. package/node/TablePagination/TablePaginationActions.js +1 -1
  486. package/node/TablePagination/index.js +1 -1
  487. package/node/TableRow/TableRow.js +1 -1
  488. package/node/TableRow/index.js +1 -1
  489. package/node/TableSortLabel/TableSortLabel.js +1 -1
  490. package/node/TableSortLabel/index.js +1 -1
  491. package/node/Tabs/ScrollbarSize.js +1 -1
  492. package/node/Tabs/Tabs.js +1 -1
  493. package/node/Tabs/index.js +1 -1
  494. package/node/TextField/TextField.js +1 -1
  495. package/node/TextField/index.js +1 -1
  496. package/node/ToggleButton/ToggleButton.js +1 -1
  497. package/node/ToggleButton/index.js +1 -1
  498. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  499. package/node/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +1 -1
  500. package/node/ToggleButtonGroup/ToggleButtonGroupContext.js +1 -1
  501. package/node/ToggleButtonGroup/index.js +1 -1
  502. package/node/Toolbar/Toolbar.js +1 -1
  503. package/node/Toolbar/index.js +1 -1
  504. package/node/Tooltip/Tooltip.js +1 -1
  505. package/node/Tooltip/index.js +1 -1
  506. package/node/Typography/Typography.js +1 -1
  507. package/node/Typography/index.js +1 -1
  508. package/node/Unstable_Grid2/index.js +1 -1
  509. package/node/Zoom/Zoom.js +1 -1
  510. package/node/index.js +2 -2
  511. package/node/internal/SwitchBase.js +1 -1
  512. package/node/internal/svg-icons/Add.js +1 -1
  513. package/node/internal/svg-icons/ArrowDownward.js +1 -1
  514. package/node/internal/svg-icons/ArrowDropDown.js +1 -1
  515. package/node/internal/svg-icons/Cancel.js +1 -1
  516. package/node/internal/svg-icons/CheckBox.js +1 -1
  517. package/node/internal/svg-icons/CheckBoxOutlineBlank.js +1 -1
  518. package/node/internal/svg-icons/CheckCircle.js +1 -1
  519. package/node/internal/svg-icons/Close.js +1 -1
  520. package/node/internal/svg-icons/ErrorOutline.js +1 -1
  521. package/node/internal/svg-icons/FirstPage.js +1 -1
  522. package/node/internal/svg-icons/IndeterminateCheckBox.js +1 -1
  523. package/node/internal/svg-icons/InfoOutlined.js +1 -1
  524. package/node/internal/svg-icons/KeyboardArrowLeft.js +1 -1
  525. package/node/internal/svg-icons/KeyboardArrowRight.js +1 -1
  526. package/node/internal/svg-icons/LastPage.js +1 -1
  527. package/node/internal/svg-icons/MoreHoriz.js +1 -1
  528. package/node/internal/svg-icons/NavigateBefore.js +1 -1
  529. package/node/internal/svg-icons/NavigateNext.js +1 -1
  530. package/node/internal/svg-icons/Person.js +1 -1
  531. package/node/internal/svg-icons/RadioButtonChecked.js +1 -1
  532. package/node/internal/svg-icons/RadioButtonUnchecked.js +1 -1
  533. package/node/internal/svg-icons/ReportProblemOutlined.js +1 -1
  534. package/node/internal/svg-icons/Star.js +1 -1
  535. package/node/internal/svg-icons/StarBorder.js +1 -1
  536. package/node/internal/svg-icons/SuccessOutlined.js +1 -1
  537. package/node/internal/svg-icons/Warning.js +1 -1
  538. package/node/styles/CssVarsProvider.js +1 -3
  539. package/node/styles/ThemeProvider.js +1 -1
  540. package/node/styles/createGetSelector.js +29 -0
  541. package/node/styles/createTheme.js +1 -1
  542. package/node/styles/experimental_extendTheme.js +46 -11
  543. package/node/styles/index.js +1 -1
  544. package/node/styles/useTheme.js +1 -1
  545. package/node/useAutocomplete/index.js +1 -1
  546. package/node/useScrollTrigger/useScrollTrigger.js +1 -1
  547. package/node/useTouchRipple/useTouchRipple.js +1 -1
  548. package/node/utils/createSvgIcon.js +1 -1
  549. package/node/zero-styled/index.js +7 -0
  550. package/package.json +6 -6
  551. package/styles/CssVarsProvider.js +1 -3
  552. package/styles/createGetSelector.d.ts +10 -0
  553. package/styles/createGetSelector.js +21 -0
  554. package/styles/createTheme.js +1 -1
  555. package/styles/excludeVariablesFromRoot.d.ts +1 -1
  556. package/styles/experimental_extendTheme.d.ts +25 -5
  557. package/styles/experimental_extendTheme.js +52 -18
  558. package/styles/shouldSkipGeneratingVar.js +1 -2
  559. package/transitions/utils.js +2 -3
  560. package/umd/material-ui.development.js +1718 -1047
  561. package/umd/material-ui.production.min.js +4 -4
  562. package/useTouchRipple/useTouchRipple.js +4 -8
  563. package/utils/useSlot.js +1 -1
  564. package/zero-styled/index.d.ts +1 -0
  565. package/zero-styled/index.js +1 -0
@@ -14,8 +14,7 @@ import capitalize from '../utils/capitalize';
14
14
  import SwitchBase from '../internal/SwitchBase';
15
15
  import { styled, createUseThemeProps } from '../zero-styled';
16
16
  import switchClasses, { getSwitchUtilityClass } from './switchClasses';
17
- import { jsx as _jsx } from "react/jsx-runtime";
18
- import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
18
  const useThemeProps = createUseThemeProps('MuiSwitch');
20
19
  const useUtilityClasses = ownerState => {
21
20
  const {
@@ -119,8 +119,6 @@ process.env.NODE_ENV !== "production" ? Table.propTypes /* remove-proptypes */ =
119
119
  size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),
120
120
  /**
121
121
  * Set the header sticky.
122
- *
123
- * ⚠️ It doesn't work with IE11.
124
122
  * @default false
125
123
  */
126
124
  stickyHeader: PropTypes.bool,
@@ -21,9 +21,8 @@ import Toolbar from '../Toolbar';
21
21
  import TablePaginationActions from './TablePaginationActions';
22
22
  import useId from '../utils/useId';
23
23
  import tablePaginationClasses, { getTablePaginationUtilityClass } from './tablePaginationClasses';
24
- import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  import { createElement as _createElement } from "react";
26
- import { jsxs as _jsxs } from "react/jsx-runtime";
27
26
  const TablePaginationRoot = styled(TableCell, {
28
27
  name: 'MuiTablePagination',
29
28
  slot: 'Root',
@@ -15,8 +15,7 @@ import FirstPageIconDefault from '../internal/svg-icons/FirstPage';
15
15
  /**
16
16
  * @ignore - internal component.
17
17
  */
18
- import { jsx as _jsx } from "react/jsx-runtime";
19
- import { jsxs as _jsxs } from "react/jsx-runtime";
18
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
19
  const TablePaginationActions = /*#__PURE__*/React.forwardRef(function TablePaginationActions(props, ref) {
21
20
  const {
22
21
  backIconButtonProps,
@@ -13,8 +13,7 @@ import styled from '../styles/styled';
13
13
  import useThemeProps from '../styles/useThemeProps';
14
14
  import capitalize from '../utils/capitalize';
15
15
  import tableSortLabelClasses, { getTableSortLabelUtilityClass } from './tableSortLabelClasses';
16
- import { jsx as _jsx } from "react/jsx-runtime";
17
- import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
18
17
  const useUtilityClasses = ownerState => {
19
18
  const {
20
19
  classes,
@@ -23,8 +23,7 @@ import useEventCallback from '../utils/useEventCallback';
23
23
  import tabsClasses, { getTabsUtilityClass } from './tabsClasses';
24
24
  import ownerDocument from '../utils/ownerDocument';
25
25
  import ownerWindow from '../utils/ownerWindow';
26
- import { jsx as _jsx } from "react/jsx-runtime";
27
- import { jsxs as _jsxs } from "react/jsx-runtime";
26
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
28
27
  const nextItem = (list, item) => {
29
28
  if (list === item) {
30
29
  return list.firstChild;
@@ -19,8 +19,7 @@ import FormControl from '../FormControl';
19
19
  import FormHelperText from '../FormHelperText';
20
20
  import Select from '../Select';
21
21
  import { getTextFieldUtilityClass } from './textFieldClasses';
22
- import { jsx as _jsx } from "react/jsx-runtime";
23
- import { jsxs as _jsxs } from "react/jsx-runtime";
22
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  const variantComponent = {
25
24
  standard: Input,
26
25
  filled: FilledInput,
@@ -24,8 +24,7 @@ import useId from '../utils/useId';
24
24
  import useIsFocusVisible from '../utils/useIsFocusVisible';
25
25
  import useControlled from '../utils/useControlled';
26
26
  import tooltipClasses, { getTooltipUtilityClass } from './tooltipClasses';
27
- import { jsx as _jsx } from "react/jsx-runtime";
28
- import { jsxs as _jsxs } from "react/jsx-runtime";
27
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
29
28
  function round(value) {
30
29
  return Math.round(value * 1e5) / 1e5;
31
30
  }
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.15
2
+ * @mui/material v6.0.0-alpha.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -14,8 +14,7 @@ import useControlled from '../utils/useControlled';
14
14
  import useFormControl from '../FormControl/useFormControl';
15
15
  import ButtonBase from '../ButtonBase';
16
16
  import { getSwitchBaseUtilityClass } from './switchBaseClasses';
17
- import { jsx as _jsx } from "react/jsx-runtime";
18
- import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
18
  const useUtilityClasses = ownerState => {
20
19
  const {
21
20
  classes,
@@ -8,7 +8,6 @@ import { unstable_createCssVarsProvider as createCssVarsProvider } from '@mui/sy
8
8
  import styleFunctionSx from '@mui/system/styleFunctionSx';
9
9
  import experimental_extendTheme from './experimental_extendTheme';
10
10
  import createTypography from './createTypography';
11
- import excludeVariablesFromRoot from './excludeVariablesFromRoot';
12
11
  import THEME_ID from './identifier';
13
12
  const defaultTheme = experimental_extendTheme();
14
13
  const {
@@ -36,7 +35,6 @@ const {
36
35
  });
37
36
  };
38
37
  return newTheme;
39
- },
40
- excludeVariablesFromRoot
38
+ }
41
39
  });
42
40
  export { useColorScheme, getInitColorSchemeScript, CssVarsProvider as Experimental_CssVarsProvider };
@@ -0,0 +1,21 @@
1
+ import excludeVariablesFromRoot from './excludeVariablesFromRoot';
2
+ export default (theme => (colorScheme, css) => {
3
+ if (theme.defaultColorScheme === colorScheme) {
4
+ if (colorScheme === 'dark') {
5
+ const excludedVariables = {};
6
+ excludeVariablesFromRoot(theme.cssVarPrefix).forEach(cssVar => {
7
+ excludedVariables[cssVar] = css[cssVar];
8
+ delete css[cssVar];
9
+ });
10
+ return {
11
+ [`[${theme.attribute}="${String(colorScheme)}"]`]: excludedVariables,
12
+ [theme.colorSchemeSelector]: css
13
+ };
14
+ }
15
+ return `${theme.colorSchemeSelector}, [${theme.attribute}="${String(colorScheme)}"]`;
16
+ }
17
+ if (colorScheme) {
18
+ return `[${theme.attribute}="${String(colorScheme)}"]`;
19
+ }
20
+ return theme.colorSchemeSelector;
21
+ });
@@ -1,14 +1,17 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
- const _excluded = ["colorSchemes", "cssVarPrefix", "shouldSkipGeneratingVar"],
3
+ const _excluded = ["colorSchemes", "cssVarPrefix", "shouldSkipGeneratingVar", "getSelector"],
4
4
  _excluded2 = ["palette"];
5
5
  import deepmerge from '@mui/utils/deepmerge';
6
- import { unstable_createGetCssVar as systemCreateGetCssVar, unstable_prepareCssVars as prepareCssVars } from '@mui/system';
6
+ import { unstable_createGetCssVar as systemCreateGetCssVar, createSpacing } from '@mui/system';
7
+ import { createUnarySpacing } from '@mui/system/spacing';
8
+ import { prepareCssVars } from '@mui/system/cssVars';
7
9
  import styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';
8
10
  import { private_safeColorChannel as safeColorChannel, private_safeAlpha as safeAlpha, private_safeDarken as safeDarken, private_safeLighten as safeLighten, private_safeEmphasize as safeEmphasize, hslToRgb } from '@mui/system/colorManipulator';
9
11
  import defaultShouldSkipGeneratingVar from './shouldSkipGeneratingVar';
10
12
  import createThemeWithoutVars from './createTheme';
11
13
  import getOverlayAlpha from './getOverlayAlpha';
14
+ import defaultGetSelector from './createGetSelector';
12
15
  const defaultDarkOverlays = [...Array(25)].map((_, index) => {
13
16
  if (index === 0) {
14
17
  return undefined;
@@ -41,6 +44,21 @@ function setColorChannel(obj, key) {
41
44
  obj[`${key}Channel`] = safeColorChannel(toRgb(obj[key]), `MUI: Can't create \`palette.${key}Channel\` because \`palette.${key}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\n' + `To suppress this warning, you need to explicitly provide the \`palette.${key}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`);
42
45
  }
43
46
  }
47
+ function getSpacingVal(spacingInput) {
48
+ if (typeof spacingInput === 'number') {
49
+ return `${spacingInput}px`;
50
+ }
51
+ if (typeof spacingInput === 'string') {
52
+ return spacingInput;
53
+ }
54
+ if (typeof spacingInput === 'function') {
55
+ return getSpacingVal(spacingInput(1));
56
+ }
57
+ if (Array.isArray(spacingInput)) {
58
+ return spacingInput;
59
+ }
60
+ return '8px';
61
+ }
44
62
  const silent = fn => {
45
63
  try {
46
64
  return fn();
@@ -54,7 +72,8 @@ export default function extendTheme(options = {}, ...args) {
54
72
  const {
55
73
  colorSchemes: colorSchemesInput = {},
56
74
  cssVarPrefix = 'mui',
57
- shouldSkipGeneratingVar = defaultShouldSkipGeneratingVar
75
+ shouldSkipGeneratingVar = defaultShouldSkipGeneratingVar,
76
+ getSelector
58
77
  } = options,
59
78
  input = _objectWithoutPropertiesLoose(options, _excluded);
60
79
  const getCssVar = createGetCssVar(cssVarPrefix);
@@ -72,7 +91,9 @@ export default function extendTheme(options = {}, ...args) {
72
91
  mode: 'dark'
73
92
  }, colorSchemesInput.dark?.palette)
74
93
  });
75
- let theme = _extends({}, muiTheme, {
94
+ let theme = _extends({
95
+ defaultColorScheme: 'light'
96
+ }, muiTheme, {
76
97
  cssVarPrefix,
77
98
  getCssVar,
78
99
  colorSchemes: _extends({}, colorSchemesInput, {
@@ -96,7 +117,8 @@ export default function extendTheme(options = {}, ...args) {
96
117
  }, colorSchemesInput.dark?.opacity),
97
118
  overlays: colorSchemesInput.dark?.overlays || defaultDarkOverlays
98
119
  })
99
- })
120
+ }),
121
+ spacing: getSpacingVal(input.spacing)
100
122
  });
101
123
  Object.keys(theme.colorSchemes).forEach(key => {
102
124
  const palette = theme.colorSchemes[key].palette;
@@ -289,14 +311,27 @@ export default function extendTheme(options = {}, ...args) {
289
311
  theme = args.reduce((acc, argument) => deepmerge(acc, argument), theme);
290
312
  const parserConfig = {
291
313
  prefix: cssVarPrefix,
292
- shouldSkipGeneratingVar
314
+ shouldSkipGeneratingVar,
315
+ getSelector: getSelector || defaultGetSelector(theme)
293
316
  };
294
317
  const {
295
- vars: themeVars,
296
- generateCssVars
318
+ vars,
319
+ generateThemeVars,
320
+ generateStyleSheets
297
321
  } = prepareCssVars(theme, parserConfig);
298
- theme.vars = themeVars;
299
- theme.generateCssVars = generateCssVars;
322
+ theme.attribute = 'data-mui-color-scheme';
323
+ theme.colorSchemeSelector = ':root';
324
+ theme.vars = vars;
325
+ Object.entries(theme.colorSchemes[theme.defaultColorScheme]).forEach(([key, value]) => {
326
+ theme[key] = value;
327
+ });
328
+ theme.generateThemeVars = generateThemeVars;
329
+ theme.generateStyleSheets = generateStyleSheets;
330
+ theme.generateSpacing = function generateSpacing() {
331
+ return createSpacing(input.spacing, createUnarySpacing(this));
332
+ };
333
+ theme.getColorSchemeSelector = colorScheme => `[${theme.attribute}="${colorScheme}"] &`;
334
+ theme.spacing = theme.generateSpacing();
300
335
  theme.shouldSkipGeneratingVar = shouldSkipGeneratingVar;
301
336
  theme.unstable_sxConfig = _extends({}, defaultSxConfig, input?.unstable_sxConfig);
302
337
  theme.unstable_sx = function sx(props) {
@@ -1,4 +1,5 @@
1
1
  import useThemeProps from '../styles/useThemeProps';
2
+ export { keyframes } from '@mui/system';
2
3
  export { default as styled } from '../styles/styled';
3
4
 
4
5
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -24,7 +24,7 @@ var _accordionClasses = _interopRequireWildcard(require("./accordionClasses"));
24
24
  var _jsxRuntime = require("react/jsx-runtime");
25
25
  const _excluded = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "slots", "slotProps", "TransitionComponent", "TransitionProps"];
26
26
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
27
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
27
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
28
28
  const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiAccordion');
29
29
  const useUtilityClasses = ownerState => {
30
30
  const {
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var React = _interopRequireWildcard(require("react"));
9
9
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
10
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
10
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
11
  /**
12
12
  * @ignore - internal component.
13
13
  * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
@@ -33,4 +33,4 @@ Object.keys(_accordionClasses).forEach(function (key) {
33
33
  });
34
34
  });
35
35
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
36
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
36
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -17,7 +17,7 @@ var _accordionActionsClasses = require("./accordionActionsClasses");
17
17
  var _jsxRuntime = require("react/jsx-runtime");
18
18
  const _excluded = ["className", "disableSpacing"];
19
19
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
20
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
21
  const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiAccordionActions');
22
22
  const useUtilityClasses = ownerState => {
23
23
  const {
@@ -33,4 +33,4 @@ Object.keys(_accordionActionsClasses).forEach(function (key) {
33
33
  });
34
34
  });
35
35
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
36
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
36
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -17,7 +17,7 @@ var _accordionDetailsClasses = require("./accordionDetailsClasses");
17
17
  var _jsxRuntime = require("react/jsx-runtime");
18
18
  const _excluded = ["className"];
19
19
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
20
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
21
  const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiAccordionDetails');
22
22
  const useUtilityClasses = ownerState => {
23
23
  const {
@@ -33,4 +33,4 @@ Object.keys(_accordionDetailsClasses).forEach(function (key) {
33
33
  });
34
34
  });
35
35
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
36
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
36
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -19,7 +19,7 @@ var _accordionSummaryClasses = _interopRequireWildcard(require("./accordionSumma
19
19
  var _jsxRuntime = require("react/jsx-runtime");
20
20
  const _excluded = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
21
21
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
22
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
22
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
23
  const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiAccordionSummary');
24
24
  const useUtilityClasses = ownerState => {
25
25
  const {
@@ -33,4 +33,4 @@ Object.keys(_accordionSummaryClasses).forEach(function (key) {
33
33
  });
34
34
  });
35
35
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
36
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
36
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -27,7 +27,7 @@ var _Close = _interopRequireDefault(require("../internal/svg-icons/Close"));
27
27
  var _jsxRuntime = require("react/jsx-runtime");
28
28
  const _excluded = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"];
29
29
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
30
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
30
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
31
31
  const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiAlert');
32
32
  const useUtilityClasses = ownerState => {
33
33
  const {
@@ -34,4 +34,4 @@ Object.keys(_alertClasses).forEach(function (key) {
34
34
  });
35
35
  });
36
36
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
37
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
37
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -18,7 +18,7 @@ var _alertTitleClasses = require("./alertTitleClasses");
18
18
  var _jsxRuntime = require("react/jsx-runtime");
19
19
  const _excluded = ["className"];
20
20
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
21
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
22
22
  const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiAlertTitle');
23
23
  const useUtilityClasses = ownerState => {
24
24
  const {
@@ -34,4 +34,4 @@ Object.keys(_alertTitleClasses).forEach(function (key) {
34
34
  });
35
35
  });
36
36
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
37
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
37
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }