@mui/material 6.0.0-alpha.1 → 6.0.0-alpha.3

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 (597) hide show
  1. package/AppBar/AppBar.js +0 -1
  2. package/Avatar/Avatar.js +1 -1
  3. package/CHANGELOG.md +114 -2
  4. package/CardMedia/CardMedia.js +0 -1
  5. package/CircularProgress/CircularProgress.js +66 -30
  6. package/Dialog/Dialog.js +10 -1
  7. package/Fab/Fab.js +83 -43
  8. package/LinearProgress/LinearProgress.js +180 -75
  9. package/PaginationItem/PaginationItem.js +137 -76
  10. package/Select/Select.d.ts +9 -6
  11. package/StepConnector/stepConnectorClasses.d.ts +6 -2
  12. package/StepLabel/StepLabel.d.ts +7 -0
  13. package/StepLabel/StepLabel.js +17 -6
  14. package/ToggleButton/ToggleButton.js +74 -45
  15. package/ToggleButtonGroup/ToggleButtonGroup.js +63 -51
  16. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +8 -2
  17. package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  18. package/Tooltip/Tooltip.js +1 -2
  19. package/Typography/Typography.js +3 -1
  20. package/index.js +1 -1
  21. package/locale/index.js +1 -1
  22. package/modern/AppBar/AppBar.js +0 -1
  23. package/modern/Avatar/Avatar.js +1 -1
  24. package/modern/CardMedia/CardMedia.js +0 -1
  25. package/modern/CircularProgress/CircularProgress.js +66 -30
  26. package/modern/Dialog/Dialog.js +10 -1
  27. package/modern/Fab/Fab.js +83 -43
  28. package/modern/LinearProgress/LinearProgress.js +180 -75
  29. package/modern/PaginationItem/PaginationItem.js +137 -76
  30. package/modern/StepLabel/StepLabel.js +17 -6
  31. package/modern/ToggleButton/ToggleButton.js +74 -45
  32. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +63 -51
  33. package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  34. package/modern/Tooltip/Tooltip.js +1 -2
  35. package/modern/Typography/Typography.js +3 -1
  36. package/modern/index.js +1 -1
  37. package/modern/locale/index.js +1 -1
  38. package/modern/styles/createTransitions.js +1 -3
  39. package/modern/zero-styled/index.js +1 -1
  40. package/node/AppBar/AppBar.js +0 -1
  41. package/node/Avatar/Avatar.js +1 -1
  42. package/node/CardMedia/CardMedia.js +0 -1
  43. package/node/CircularProgress/CircularProgress.js +72 -36
  44. package/node/Dialog/Dialog.js +10 -1
  45. package/node/Fab/Fab.js +85 -45
  46. package/node/LinearProgress/LinearProgress.js +188 -83
  47. package/node/PaginationItem/PaginationItem.js +141 -80
  48. package/node/StepLabel/StepLabel.js +17 -6
  49. package/node/ToggleButton/ToggleButton.js +76 -47
  50. package/node/ToggleButtonGroup/ToggleButtonGroup.js +65 -53
  51. package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  52. package/node/Tooltip/Tooltip.js +1 -2
  53. package/node/Typography/Typography.js +3 -1
  54. package/node/index.js +1 -1
  55. package/node/locale/index.js +1 -1
  56. package/node/styles/createTransitions.js +1 -3
  57. package/node/zero-styled/index.js +6 -0
  58. package/package.json +5 -5
  59. package/styles/createTransitions.js +1 -3
  60. package/umd/material-ui.development.js +973 -509
  61. package/umd/material-ui.production.min.js +4 -4
  62. package/zero-styled/index.d.ts +1 -1
  63. package/zero-styled/index.js +1 -1
  64. package/legacy/Accordion/Accordion.js +0 -306
  65. package/legacy/Accordion/AccordionContext.js +0 -13
  66. package/legacy/Accordion/accordionClasses.js +0 -7
  67. package/legacy/Accordion/index.js +0 -3
  68. package/legacy/AccordionActions/AccordionActions.js +0 -90
  69. package/legacy/AccordionActions/accordionActionsClasses.js +0 -7
  70. package/legacy/AccordionActions/index.js +0 -3
  71. package/legacy/AccordionDetails/AccordionDetails.js +0 -69
  72. package/legacy/AccordionDetails/accordionDetailsClasses.js +0 -7
  73. package/legacy/AccordionDetails/index.js +0 -3
  74. package/legacy/AccordionSummary/AccordionSummary.js +0 -198
  75. package/legacy/AccordionSummary/accordionSummaryClasses.js +0 -7
  76. package/legacy/AccordionSummary/index.js +0 -3
  77. package/legacy/Alert/Alert.js +0 -385
  78. package/legacy/Alert/alertClasses.js +0 -7
  79. package/legacy/Alert/index.js +0 -5
  80. package/legacy/AlertTitle/AlertTitle.js +0 -73
  81. package/legacy/AlertTitle/alertTitleClasses.js +0 -7
  82. package/legacy/AlertTitle/index.js +0 -5
  83. package/legacy/AppBar/AppBar.js +0 -235
  84. package/legacy/AppBar/appBarClasses.js +0 -7
  85. package/legacy/AppBar/index.js +0 -5
  86. package/legacy/Autocomplete/Autocomplete.js +0 -1127
  87. package/legacy/Autocomplete/autocompleteClasses.js +0 -7
  88. package/legacy/Autocomplete/index.js +0 -5
  89. package/legacy/Avatar/Avatar.js +0 -296
  90. package/legacy/Avatar/avatarClasses.js +0 -7
  91. package/legacy/Avatar/index.js +0 -5
  92. package/legacy/AvatarGroup/AvatarGroup.js +0 -205
  93. package/legacy/AvatarGroup/avatarGroupClasses.js +0 -7
  94. package/legacy/AvatarGroup/index.js +0 -5
  95. package/legacy/Backdrop/Backdrop.js +0 -211
  96. package/legacy/Backdrop/backdropClasses.js +0 -7
  97. package/legacy/Backdrop/index.js +0 -5
  98. package/legacy/Badge/Badge.js +0 -439
  99. package/legacy/Badge/badgeClasses.js +0 -9
  100. package/legacy/Badge/index.js +0 -5
  101. package/legacy/BottomNavigation/BottomNavigation.js +0 -124
  102. package/legacy/BottomNavigation/bottomNavigationClasses.js +0 -7
  103. package/legacy/BottomNavigation/index.js +0 -5
  104. package/legacy/BottomNavigationAction/BottomNavigationAction.js +0 -185
  105. package/legacy/BottomNavigationAction/bottomNavigationActionClasses.js +0 -7
  106. package/legacy/BottomNavigationAction/index.js +0 -5
  107. package/legacy/Box/Box.js +0 -35
  108. package/legacy/Box/boxClasses.js +0 -3
  109. package/legacy/Box/index.js +0 -5
  110. package/legacy/Breadcrumbs/BreadcrumbCollapsed.js +0 -88
  111. package/legacy/Breadcrumbs/Breadcrumbs.js +0 -253
  112. package/legacy/Breadcrumbs/breadcrumbsClasses.js +0 -7
  113. package/legacy/Breadcrumbs/index.js +0 -5
  114. package/legacy/Button/Button.js +0 -472
  115. package/legacy/Button/buttonClasses.js +0 -7
  116. package/legacy/Button/index.js +0 -5
  117. package/legacy/ButtonBase/ButtonBase.js +0 -487
  118. package/legacy/ButtonBase/Ripple.js +0 -89
  119. package/legacy/ButtonBase/TouchRipple.js +0 -267
  120. package/legacy/ButtonBase/buttonBaseClasses.js +0 -7
  121. package/legacy/ButtonBase/index.js +0 -7
  122. package/legacy/ButtonBase/touchRippleClasses.js +0 -7
  123. package/legacy/ButtonGroup/ButtonGroup.js +0 -371
  124. package/legacy/ButtonGroup/ButtonGroupButtonContext.js +0 -9
  125. package/legacy/ButtonGroup/ButtonGroupContext.js +0 -9
  126. package/legacy/ButtonGroup/buttonGroupClasses.js +0 -7
  127. package/legacy/ButtonGroup/index.js +0 -7
  128. package/legacy/Card/Card.js +0 -83
  129. package/legacy/Card/cardClasses.js +0 -7
  130. package/legacy/Card/index.js +0 -5
  131. package/legacy/CardActionArea/CardActionArea.js +0 -119
  132. package/legacy/CardActionArea/cardActionAreaClasses.js +0 -7
  133. package/legacy/CardActionArea/index.js +0 -5
  134. package/legacy/CardActions/CardActions.js +0 -89
  135. package/legacy/CardActions/cardActionsClasses.js +0 -7
  136. package/legacy/CardActions/index.js +0 -5
  137. package/legacy/CardContent/CardContent.js +0 -79
  138. package/legacy/CardContent/cardContentClasses.js +0 -7
  139. package/legacy/CardContent/index.js +0 -5
  140. package/legacy/CardHeader/CardHeader.js +0 -198
  141. package/legacy/CardHeader/cardHeaderClasses.js +0 -7
  142. package/legacy/CardHeader/index.js +0 -5
  143. package/legacy/CardMedia/CardMedia.js +0 -139
  144. package/legacy/CardMedia/cardMediaClasses.js +0 -7
  145. package/legacy/CardMedia/index.js +0 -5
  146. package/legacy/Checkbox/Checkbox.js +0 -212
  147. package/legacy/Checkbox/checkboxClasses.js +0 -7
  148. package/legacy/Checkbox/index.js +0 -5
  149. package/legacy/Chip/Chip.js +0 -547
  150. package/legacy/Chip/chipClasses.js +0 -7
  151. package/legacy/Chip/index.js +0 -5
  152. package/legacy/CircularProgress/CircularProgress.js +0 -224
  153. package/legacy/CircularProgress/circularProgressClasses.js +0 -7
  154. package/legacy/CircularProgress/index.js +0 -5
  155. package/legacy/ClickAwayListener/index.js +0 -1
  156. package/legacy/Collapse/Collapse.js +0 -383
  157. package/legacy/Collapse/collapseClasses.js +0 -7
  158. package/legacy/Collapse/index.js +0 -5
  159. package/legacy/Container/Container.js +0 -67
  160. package/legacy/Container/containerClasses.js +0 -7
  161. package/legacy/Container/index.js +0 -5
  162. package/legacy/CssBaseline/CssBaseline.js +0 -113
  163. package/legacy/CssBaseline/index.js +0 -3
  164. package/legacy/Dialog/Dialog.js +0 -392
  165. package/legacy/Dialog/DialogContext.js +0 -6
  166. package/legacy/Dialog/dialogClasses.js +0 -7
  167. package/legacy/Dialog/index.js +0 -5
  168. package/legacy/DialogActions/DialogActions.js +0 -88
  169. package/legacy/DialogActions/dialogActionsClasses.js +0 -7
  170. package/legacy/DialogActions/index.js +0 -5
  171. package/legacy/DialogContent/DialogContent.js +0 -93
  172. package/legacy/DialogContent/dialogContentClasses.js +0 -7
  173. package/legacy/DialogContent/index.js +0 -5
  174. package/legacy/DialogContentText/DialogContentText.js +0 -74
  175. package/legacy/DialogContentText/dialogContentTextClasses.js +0 -7
  176. package/legacy/DialogContentText/index.js +0 -5
  177. package/legacy/DialogTitle/DialogTitle.js +0 -80
  178. package/legacy/DialogTitle/dialogTitleClasses.js +0 -7
  179. package/legacy/DialogTitle/index.js +0 -5
  180. package/legacy/Divider/Divider.js +0 -316
  181. package/legacy/Divider/dividerClasses.js +0 -7
  182. package/legacy/Divider/index.js +0 -5
  183. package/legacy/Drawer/Drawer.js +0 -316
  184. package/legacy/Drawer/drawerClasses.js +0 -7
  185. package/legacy/Drawer/index.js +0 -5
  186. package/legacy/Fab/Fab.js +0 -229
  187. package/legacy/Fab/fabClasses.js +0 -7
  188. package/legacy/Fab/index.js +0 -5
  189. package/legacy/Fade/Fade.js +0 -206
  190. package/legacy/Fade/index.js +0 -3
  191. package/legacy/FilledInput/FilledInput.js +0 -425
  192. package/legacy/FilledInput/filledInputClasses.js +0 -9
  193. package/legacy/FilledInput/index.js +0 -5
  194. package/legacy/FormControl/FormControl.js +0 -315
  195. package/legacy/FormControl/FormControlContext.js +0 -9
  196. package/legacy/FormControl/formControlClasses.js +0 -7
  197. package/legacy/FormControl/formControlState.js +0 -14
  198. package/legacy/FormControl/index.js +0 -6
  199. package/legacy/FormControl/useFormControl.js +0 -7
  200. package/legacy/FormControlLabel/FormControlLabel.js +0 -258
  201. package/legacy/FormControlLabel/formControlLabelClasses.js +0 -7
  202. package/legacy/FormControlLabel/index.js +0 -5
  203. package/legacy/FormGroup/FormGroup.js +0 -103
  204. package/legacy/FormGroup/formGroupClasses.js +0 -7
  205. package/legacy/FormGroup/index.js +0 -5
  206. package/legacy/FormHelperText/FormHelperText.js +0 -167
  207. package/legacy/FormHelperText/formHelperTextClasses.js +0 -7
  208. package/legacy/FormHelperText/index.js +0 -5
  209. package/legacy/FormLabel/FormLabel.js +0 -166
  210. package/legacy/FormLabel/formLabelClasses.js +0 -7
  211. package/legacy/FormLabel/index.js +0 -6
  212. package/legacy/GlobalStyles/GlobalStyles.js +0 -26
  213. package/legacy/GlobalStyles/index.js +0 -1
  214. package/legacy/Grid/Grid.js +0 -561
  215. package/legacy/Grid/GridContext.js +0 -12
  216. package/legacy/Grid/gridClasses.js +0 -28
  217. package/legacy/Grid/index.js +0 -5
  218. package/legacy/Grow/Grow.js +0 -253
  219. package/legacy/Grow/index.js +0 -3
  220. package/legacy/Hidden/Hidden.js +0 -147
  221. package/legacy/Hidden/HiddenCss.js +0 -168
  222. package/legacy/Hidden/HiddenJs.js +0 -123
  223. package/legacy/Hidden/hiddenCssClasses.js +0 -7
  224. package/legacy/Hidden/index.js +0 -3
  225. package/legacy/Hidden/withWidth.js +0 -110
  226. package/legacy/Icon/Icon.js +0 -144
  227. package/legacy/Icon/iconClasses.js +0 -7
  228. package/legacy/Icon/index.js +0 -5
  229. package/legacy/IconButton/IconButton.js +0 -204
  230. package/legacy/IconButton/iconButtonClasses.js +0 -7
  231. package/legacy/IconButton/index.js +0 -5
  232. package/legacy/ImageList/ImageList.js +0 -155
  233. package/legacy/ImageList/ImageListContext.js +0 -13
  234. package/legacy/ImageList/imageListClasses.js +0 -7
  235. package/legacy/ImageList/index.js +0 -5
  236. package/legacy/ImageListItem/ImageListItem.js +0 -168
  237. package/legacy/ImageListItem/imageListItemClasses.js +0 -7
  238. package/legacy/ImageListItem/index.js +0 -5
  239. package/legacy/ImageListItemBar/ImageListItemBar.js +0 -211
  240. package/legacy/ImageListItemBar/imageListItemBarClasses.js +0 -7
  241. package/legacy/ImageListItemBar/index.js +0 -5
  242. package/legacy/Input/Input.js +0 -339
  243. package/legacy/Input/index.js +0 -5
  244. package/legacy/Input/inputClasses.js +0 -9
  245. package/legacy/InputAdornment/InputAdornment.js +0 -167
  246. package/legacy/InputAdornment/index.js +0 -5
  247. package/legacy/InputAdornment/inputAdornmentClasses.js +0 -7
  248. package/legacy/InputBase/InputBase.js +0 -713
  249. package/legacy/InputBase/index.js +0 -5
  250. package/legacy/InputBase/inputBaseClasses.js +0 -7
  251. package/legacy/InputBase/utils.js +0 -31
  252. package/legacy/InputLabel/InputLabel.js +0 -214
  253. package/legacy/InputLabel/index.js +0 -5
  254. package/legacy/InputLabel/inputLabelClasses.js +0 -7
  255. package/legacy/LinearProgress/LinearProgress.js +0 -285
  256. package/legacy/LinearProgress/index.js +0 -5
  257. package/legacy/LinearProgress/linearProgressClasses.js +0 -7
  258. package/legacy/Link/Link.js +0 -209
  259. package/legacy/Link/getTextDecoration.js +0 -24
  260. package/legacy/Link/index.js +0 -5
  261. package/legacy/Link/linkClasses.js +0 -7
  262. package/legacy/List/List.js +0 -126
  263. package/legacy/List/ListContext.js +0 -12
  264. package/legacy/List/index.js +0 -5
  265. package/legacy/List/listClasses.js +0 -7
  266. package/legacy/ListItem/ListItem.js +0 -425
  267. package/legacy/ListItem/index.js +0 -5
  268. package/legacy/ListItem/listItemClasses.js +0 -7
  269. package/legacy/ListItemAvatar/ListItemAvatar.js +0 -82
  270. package/legacy/ListItemAvatar/index.js +0 -5
  271. package/legacy/ListItemAvatar/listItemAvatarClasses.js +0 -7
  272. package/legacy/ListItemButton/ListItemButton.js +0 -242
  273. package/legacy/ListItemButton/index.js +0 -5
  274. package/legacy/ListItemButton/listItemButtonClasses.js +0 -7
  275. package/legacy/ListItemIcon/ListItemIcon.js +0 -86
  276. package/legacy/ListItemIcon/index.js +0 -5
  277. package/legacy/ListItemIcon/listItemIconClasses.js +0 -7
  278. package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +0 -85
  279. package/legacy/ListItemSecondaryAction/index.js +0 -5
  280. package/legacy/ListItemSecondaryAction/listItemSecondaryActionClasses.js +0 -7
  281. package/legacy/ListItemText/ListItemText.js +0 -160
  282. package/legacy/ListItemText/index.js +0 -5
  283. package/legacy/ListItemText/listItemTextClasses.js +0 -7
  284. package/legacy/ListSubheader/ListSubheader.js +0 -139
  285. package/legacy/ListSubheader/index.js +0 -5
  286. package/legacy/ListSubheader/listSubheaderClasses.js +0 -7
  287. package/legacy/Menu/Menu.js +0 -317
  288. package/legacy/Menu/index.js +0 -5
  289. package/legacy/Menu/menuClasses.js +0 -7
  290. package/legacy/MenuItem/MenuItem.js +0 -251
  291. package/legacy/MenuItem/index.js +0 -5
  292. package/legacy/MenuItem/menuItemClasses.js +0 -7
  293. package/legacy/MenuList/MenuList.js +0 -285
  294. package/legacy/MenuList/index.js +0 -3
  295. package/legacy/MobileStepper/MobileStepper.js +0 -254
  296. package/legacy/MobileStepper/index.js +0 -5
  297. package/legacy/MobileStepper/mobileStepperClasses.js +0 -7
  298. package/legacy/Modal/Modal.js +0 -398
  299. package/legacy/Modal/index.js +0 -6
  300. package/legacy/Modal/modalClasses.js +0 -7
  301. package/legacy/NativeSelect/NativeSelect.js +0 -128
  302. package/legacy/NativeSelect/NativeSelectInput.js +0 -203
  303. package/legacy/NativeSelect/index.js +0 -5
  304. package/legacy/NativeSelect/nativeSelectClasses.js +0 -7
  305. package/legacy/NoSsr/index.js +0 -1
  306. package/legacy/OutlinedInput/NotchedOutline.js +0 -135
  307. package/legacy/OutlinedInput/OutlinedInput.js +0 -347
  308. package/legacy/OutlinedInput/index.js +0 -5
  309. package/legacy/OutlinedInput/outlinedInputClasses.js +0 -9
  310. package/legacy/Pagination/Pagination.js +0 -256
  311. package/legacy/Pagination/index.js +0 -5
  312. package/legacy/Pagination/paginationClasses.js +0 -7
  313. package/legacy/PaginationItem/PaginationItem.js +0 -356
  314. package/legacy/PaginationItem/index.js +0 -5
  315. package/legacy/PaginationItem/paginationItemClasses.js +0 -7
  316. package/legacy/Paper/Paper.js +0 -141
  317. package/legacy/Paper/index.js +0 -5
  318. package/legacy/Paper/paperClasses.js +0 -7
  319. package/legacy/Popover/Popover.js +0 -548
  320. package/legacy/Popover/index.js +0 -6
  321. package/legacy/Popover/popoverClasses.js +0 -7
  322. package/legacy/Popper/Popper.js +0 -207
  323. package/legacy/Popper/index.js +0 -3
  324. package/legacy/Portal/index.js +0 -1
  325. package/legacy/Radio/Radio.js +0 -212
  326. package/legacy/Radio/RadioButtonIcon.js +0 -81
  327. package/legacy/Radio/index.js +0 -5
  328. package/legacy/Radio/radioClasses.js +0 -7
  329. package/legacy/RadioGroup/RadioGroup.js +0 -118
  330. package/legacy/RadioGroup/RadioGroupContext.js +0 -9
  331. package/legacy/RadioGroup/index.js +0 -6
  332. package/legacy/RadioGroup/radioGroupClasses.js +0 -7
  333. package/legacy/RadioGroup/useRadioGroup.js +0 -7
  334. package/legacy/Rating/Rating.js +0 -657
  335. package/legacy/Rating/index.js +0 -3
  336. package/legacy/Rating/ratingClasses.js +0 -7
  337. package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +0 -106
  338. package/legacy/ScopedCssBaseline/index.js +0 -5
  339. package/legacy/ScopedCssBaseline/scopedCssBaselineClasses.js +0 -7
  340. package/legacy/Select/Select.js +0 -290
  341. package/legacy/Select/SelectInput.js +0 -667
  342. package/legacy/Select/index.js +0 -5
  343. package/legacy/Select/selectClasses.js +0 -7
  344. package/legacy/Skeleton/Skeleton.js +0 -166
  345. package/legacy/Skeleton/index.js +0 -5
  346. package/legacy/Skeleton/skeletonClasses.js +0 -7
  347. package/legacy/Slide/Slide.js +0 -333
  348. package/legacy/Slide/index.js +0 -3
  349. package/legacy/Slider/Slider.js +0 -1063
  350. package/legacy/Slider/SliderValueLabel.js +0 -49
  351. package/legacy/Slider/SliderValueLabel.types.js +0 -1
  352. package/legacy/Slider/index.js +0 -6
  353. package/legacy/Slider/sliderClasses.js +0 -7
  354. package/legacy/Snackbar/Snackbar.js +0 -312
  355. package/legacy/Snackbar/index.js +0 -5
  356. package/legacy/Snackbar/snackbarClasses.js +0 -7
  357. package/legacy/SnackbarContent/SnackbarContent.js +0 -134
  358. package/legacy/SnackbarContent/index.js +0 -5
  359. package/legacy/SnackbarContent/snackbarContentClasses.js +0 -7
  360. package/legacy/SpeedDial/SpeedDial.js +0 -491
  361. package/legacy/SpeedDial/index.js +0 -5
  362. package/legacy/SpeedDial/speedDialClasses.js +0 -7
  363. package/legacy/SpeedDialAction/SpeedDialAction.js +0 -247
  364. package/legacy/SpeedDialAction/index.js +0 -5
  365. package/legacy/SpeedDialAction/speedDialActionClasses.js +0 -7
  366. package/legacy/SpeedDialIcon/SpeedDialIcon.js +0 -120
  367. package/legacy/SpeedDialIcon/index.js +0 -5
  368. package/legacy/SpeedDialIcon/speedDialIconClasses.js +0 -7
  369. package/legacy/Stack/Stack.js +0 -66
  370. package/legacy/Stack/index.js +0 -4
  371. package/legacy/Stack/stackClasses.js +0 -7
  372. package/legacy/Step/Step.js +0 -179
  373. package/legacy/Step/StepContext.js +0 -17
  374. package/legacy/Step/index.js +0 -7
  375. package/legacy/Step/stepClasses.js +0 -7
  376. package/legacy/StepButton/StepButton.js +0 -122
  377. package/legacy/StepButton/index.js +0 -5
  378. package/legacy/StepButton/stepButtonClasses.js +0 -7
  379. package/legacy/StepConnector/StepConnector.js +0 -142
  380. package/legacy/StepConnector/index.js +0 -5
  381. package/legacy/StepConnector/stepConnectorClasses.js +0 -7
  382. package/legacy/StepContent/StepContent.js +0 -152
  383. package/legacy/StepContent/index.js +0 -5
  384. package/legacy/StepContent/stepContentClasses.js +0 -7
  385. package/legacy/StepIcon/StepIcon.js +0 -162
  386. package/legacy/StepIcon/index.js +0 -5
  387. package/legacy/StepIcon/stepIconClasses.js +0 -7
  388. package/legacy/StepLabel/StepLabel.js +0 -258
  389. package/legacy/StepLabel/index.js +0 -5
  390. package/legacy/StepLabel/stepLabelClasses.js +0 -7
  391. package/legacy/Stepper/Stepper.js +0 -167
  392. package/legacy/Stepper/StepperContext.js +0 -17
  393. package/legacy/Stepper/index.js +0 -7
  394. package/legacy/Stepper/stepperClasses.js +0 -7
  395. package/legacy/StyledEngineProvider/index.js +0 -1
  396. package/legacy/SvgIcon/SvgIcon.js +0 -183
  397. package/legacy/SvgIcon/index.js +0 -5
  398. package/legacy/SvgIcon/svgIconClasses.js +0 -7
  399. package/legacy/SwipeableDrawer/SwipeArea.js +0 -81
  400. package/legacy/SwipeableDrawer/SwipeableDrawer.js +0 -621
  401. package/legacy/SwipeableDrawer/index.js +0 -3
  402. package/legacy/Switch/Switch.js +0 -337
  403. package/legacy/Switch/index.js +0 -5
  404. package/legacy/Switch/switchClasses.js +0 -7
  405. package/legacy/Tab/Tab.js +0 -249
  406. package/legacy/Tab/index.js +0 -5
  407. package/legacy/Tab/tabClasses.js +0 -7
  408. package/legacy/TabScrollButton/TabScrollButton.js +0 -153
  409. package/legacy/TabScrollButton/index.js +0 -5
  410. package/legacy/TabScrollButton/tabScrollButtonClasses.js +0 -7
  411. package/legacy/Table/Table.js +0 -130
  412. package/legacy/Table/TableContext.js +0 -12
  413. package/legacy/Table/Tablelvl2Context.js +0 -10
  414. package/legacy/Table/index.js +0 -5
  415. package/legacy/Table/tableClasses.js +0 -7
  416. package/legacy/TableBody/TableBody.js +0 -85
  417. package/legacy/TableBody/index.js +0 -5
  418. package/legacy/TableBody/tableBodyClasses.js +0 -7
  419. package/legacy/TableCell/TableCell.js +0 -208
  420. package/legacy/TableCell/index.js +0 -5
  421. package/legacy/TableCell/tableCellClasses.js +0 -7
  422. package/legacy/TableContainer/TableContainer.js +0 -77
  423. package/legacy/TableContainer/index.js +0 -5
  424. package/legacy/TableContainer/tableContainerClasses.js +0 -7
  425. package/legacy/TableFooter/TableFooter.js +0 -85
  426. package/legacy/TableFooter/index.js +0 -5
  427. package/legacy/TableFooter/tableFooterClasses.js +0 -7
  428. package/legacy/TableHead/TableHead.js +0 -85
  429. package/legacy/TableHead/index.js +0 -5
  430. package/legacy/TableHead/tableHeadClasses.js +0 -7
  431. package/legacy/TablePagination/TablePagination.js +0 -461
  432. package/legacy/TablePagination/TablePaginationActions.js +0 -182
  433. package/legacy/TablePagination/index.js +0 -5
  434. package/legacy/TablePagination/tablePaginationClasses.js +0 -7
  435. package/legacy/TableRow/TableRow.js +0 -123
  436. package/legacy/TableRow/index.js +0 -5
  437. package/legacy/TableRow/tableRowClasses.js +0 -7
  438. package/legacy/TableSortLabel/TableSortLabel.js +0 -165
  439. package/legacy/TableSortLabel/index.js +0 -5
  440. package/legacy/TableSortLabel/tableSortLabelClasses.js +0 -7
  441. package/legacy/Tabs/ScrollbarSize.js +0 -57
  442. package/legacy/Tabs/Tabs.js +0 -849
  443. package/legacy/Tabs/index.js +0 -5
  444. package/legacy/Tabs/tabsClasses.js +0 -7
  445. package/legacy/TextField/TextField.js +0 -381
  446. package/legacy/TextField/index.js +0 -5
  447. package/legacy/TextField/textFieldClasses.js +0 -7
  448. package/legacy/TextareaAutosize/index.js +0 -1
  449. package/legacy/ToggleButton/ToggleButton.js +0 -230
  450. package/legacy/ToggleButton/index.js +0 -5
  451. package/legacy/ToggleButton/toggleButtonClasses.js +0 -7
  452. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +0 -247
  453. package/legacy/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -9
  454. package/legacy/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -9
  455. package/legacy/ToggleButtonGroup/index.js +0 -5
  456. package/legacy/ToggleButtonGroup/isValueSelected.js +0 -11
  457. package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +0 -7
  458. package/legacy/Toolbar/Toolbar.js +0 -115
  459. package/legacy/Toolbar/index.js +0 -3
  460. package/legacy/Toolbar/toolbarClasses.js +0 -7
  461. package/legacy/Tooltip/Tooltip.js +0 -788
  462. package/legacy/Tooltip/index.js +0 -5
  463. package/legacy/Tooltip/tooltipClasses.js +0 -7
  464. package/legacy/Typography/Typography.js +0 -198
  465. package/legacy/Typography/index.js +0 -5
  466. package/legacy/Typography/typographyClasses.js +0 -7
  467. package/legacy/Unstable_Grid2/Grid2.js +0 -36
  468. package/legacy/Unstable_Grid2/Grid2Props.js +0 -1
  469. package/legacy/Unstable_Grid2/grid2Classes.js +0 -28
  470. package/legacy/Unstable_Grid2/index.js +0 -6
  471. package/legacy/Unstable_TrapFocus/index.js +0 -1
  472. package/legacy/Zoom/Zoom.js +0 -206
  473. package/legacy/Zoom/index.js +0 -3
  474. package/legacy/className/index.js +0 -2
  475. package/legacy/colors/amber.js +0 -17
  476. package/legacy/colors/blue.js +0 -17
  477. package/legacy/colors/blueGrey.js +0 -17
  478. package/legacy/colors/brown.js +0 -17
  479. package/legacy/colors/common.js +0 -5
  480. package/legacy/colors/cyan.js +0 -17
  481. package/legacy/colors/deepOrange.js +0 -17
  482. package/legacy/colors/deepPurple.js +0 -17
  483. package/legacy/colors/green.js +0 -17
  484. package/legacy/colors/grey.js +0 -17
  485. package/legacy/colors/index.js +0 -20
  486. package/legacy/colors/indigo.js +0 -17
  487. package/legacy/colors/lightBlue.js +0 -17
  488. package/legacy/colors/lightGreen.js +0 -17
  489. package/legacy/colors/lime.js +0 -17
  490. package/legacy/colors/orange.js +0 -17
  491. package/legacy/colors/pink.js +0 -17
  492. package/legacy/colors/purple.js +0 -17
  493. package/legacy/colors/red.js +0 -17
  494. package/legacy/colors/teal.js +0 -17
  495. package/legacy/colors/yellow.js +0 -17
  496. package/legacy/darkScrollbar/index.js +0 -33
  497. package/legacy/generateUtilityClass/index.js +0 -1
  498. package/legacy/generateUtilityClasses/index.js +0 -1
  499. package/legacy/index.js +0 -288
  500. package/legacy/internal/SwitchBase.js +0 -275
  501. package/legacy/internal/animate.js +0 -41
  502. package/legacy/internal/svg-icons/Add.js +0 -12
  503. package/legacy/internal/svg-icons/ArrowDownward.js +0 -12
  504. package/legacy/internal/svg-icons/ArrowDropDown.js +0 -12
  505. package/legacy/internal/svg-icons/Cancel.js +0 -12
  506. package/legacy/internal/svg-icons/CheckBox.js +0 -12
  507. package/legacy/internal/svg-icons/CheckBoxOutlineBlank.js +0 -12
  508. package/legacy/internal/svg-icons/CheckCircle.js +0 -12
  509. package/legacy/internal/svg-icons/Close.js +0 -14
  510. package/legacy/internal/svg-icons/ErrorOutline.js +0 -12
  511. package/legacy/internal/svg-icons/FirstPage.js +0 -12
  512. package/legacy/internal/svg-icons/IndeterminateCheckBox.js +0 -12
  513. package/legacy/internal/svg-icons/InfoOutlined.js +0 -12
  514. package/legacy/internal/svg-icons/KeyboardArrowLeft.js +0 -12
  515. package/legacy/internal/svg-icons/KeyboardArrowRight.js +0 -12
  516. package/legacy/internal/svg-icons/LastPage.js +0 -12
  517. package/legacy/internal/svg-icons/MoreHoriz.js +0 -12
  518. package/legacy/internal/svg-icons/NavigateBefore.js +0 -12
  519. package/legacy/internal/svg-icons/NavigateNext.js +0 -12
  520. package/legacy/internal/svg-icons/Person.js +0 -12
  521. package/legacy/internal/svg-icons/RadioButtonChecked.js +0 -12
  522. package/legacy/internal/svg-icons/RadioButtonUnchecked.js +0 -12
  523. package/legacy/internal/svg-icons/ReportProblemOutlined.js +0 -12
  524. package/legacy/internal/svg-icons/Star.js +0 -12
  525. package/legacy/internal/svg-icons/StarBorder.js +0 -12
  526. package/legacy/internal/svg-icons/SuccessOutlined.js +0 -12
  527. package/legacy/internal/svg-icons/Warning.js +0 -12
  528. package/legacy/internal/switchBaseClasses.js +0 -7
  529. package/legacy/locale/index.js +0 -4389
  530. package/legacy/styles/CssVarsProvider.js +0 -39
  531. package/legacy/styles/ThemeProvider.js +0 -28
  532. package/legacy/styles/adaptV4Theme.js +0 -81
  533. package/legacy/styles/createGetSelector.js +0 -21
  534. package/legacy/styles/createMixins.js +0 -15
  535. package/legacy/styles/createMuiStrictModeTheme.js +0 -10
  536. package/legacy/styles/createPalette.js +0 -299
  537. package/legacy/styles/createStyles.js +0 -10
  538. package/legacy/styles/createTheme.js +0 -97
  539. package/legacy/styles/createTransitions.js +0 -97
  540. package/legacy/styles/createTypography.js +0 -93
  541. package/legacy/styles/cssUtils.js +0 -122
  542. package/legacy/styles/defaultTheme.js +0 -5
  543. package/legacy/styles/excludeVariablesFromRoot.js +0 -10
  544. package/legacy/styles/experimental_extendTheme.js +0 -377
  545. package/legacy/styles/getOverlayAlpha.js +0 -11
  546. package/legacy/styles/identifier.js +0 -1
  547. package/legacy/styles/index.js +0 -37
  548. package/legacy/styles/makeStyles.js +0 -4
  549. package/legacy/styles/responsiveFontSizes.js +0 -63
  550. package/legacy/styles/rootShouldForwardProp.js +0 -5
  551. package/legacy/styles/shadows.js +0 -10
  552. package/legacy/styles/shouldSkipGeneratingVar.js +0 -6
  553. package/legacy/styles/slotShouldForwardProp.js +0 -5
  554. package/legacy/styles/styled.js +0 -14
  555. package/legacy/styles/useTheme.js +0 -14
  556. package/legacy/styles/useThemeProps.js +0 -15
  557. package/legacy/styles/withStyles.js +0 -4
  558. package/legacy/styles/withTheme.js +0 -4
  559. package/legacy/styles/zIndex.js +0 -13
  560. package/legacy/transitions/index.js +0 -1
  561. package/legacy/transitions/transition.js +0 -1
  562. package/legacy/transitions/utils.js +0 -16
  563. package/legacy/types/OverridableComponentAugmentation.js +0 -1
  564. package/legacy/useAutocomplete/index.js +0 -3
  565. package/legacy/useAutocomplete/useAutocomplete.js +0 -4
  566. package/legacy/useMediaQuery/index.js +0 -1
  567. package/legacy/useMediaQuery/useMediaQueryTheme.js +0 -8
  568. package/legacy/usePagination/index.js +0 -3
  569. package/legacy/usePagination/usePagination.js +0 -122
  570. package/legacy/useScrollTrigger/index.js +0 -3
  571. package/legacy/useScrollTrigger/useScrollTrigger.js +0 -57
  572. package/legacy/useTouchRipple/index.js +0 -3
  573. package/legacy/useTouchRipple/useTouchRipple.js +0 -102
  574. package/legacy/utils/capitalize.js +0 -2
  575. package/legacy/utils/createChainedFunction.js +0 -2
  576. package/legacy/utils/createSvgIcon.js +0 -27
  577. package/legacy/utils/debounce.js +0 -2
  578. package/legacy/utils/deprecatedPropType.js +0 -2
  579. package/legacy/utils/getScrollbarSize.js +0 -2
  580. package/legacy/utils/index.js +0 -30
  581. package/legacy/utils/isMuiElement.js +0 -2
  582. package/legacy/utils/ownerDocument.js +0 -2
  583. package/legacy/utils/ownerWindow.js +0 -2
  584. package/legacy/utils/requirePropFactory.js +0 -2
  585. package/legacy/utils/scrollLeft.js +0 -1
  586. package/legacy/utils/setRef.js +0 -2
  587. package/legacy/utils/shouldSpreadAdditionalProps.js +0 -5
  588. package/legacy/utils/types.js +0 -1
  589. package/legacy/utils/unsupportedProp.js +0 -2
  590. package/legacy/utils/useControlled.js +0 -4
  591. package/legacy/utils/useEnhancedEffect.js +0 -4
  592. package/legacy/utils/useEventCallback.js +0 -4
  593. package/legacy/utils/useForkRef.js +0 -4
  594. package/legacy/utils/useId.js +0 -4
  595. package/legacy/utils/useIsFocusVisible.js +0 -4
  596. package/legacy/utils/useSlot.js +0 -71
  597. package/legacy/zero-styled/index.js +0 -8
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v6.0.0-alpha.1
2
+ * @mui/material v6.0.0-alpha.3
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -5160,11 +5160,6 @@
5160
5160
  }, other);
5161
5161
  }
5162
5162
 
5163
- var shape = {
5164
- borderRadius: 4
5165
- };
5166
- var shape$1 = shape;
5167
-
5168
5163
  function _arrayWithHoles(arr) {
5169
5164
  if (Array.isArray(arr)) return arr;
5170
5165
  }
@@ -5220,6 +5215,98 @@
5220
5215
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
5221
5216
  }
5222
5217
 
5218
+ /**
5219
+ * For using in `sx` prop to sort the breakpoint from low to high.
5220
+ * Note: this function does not work and will not support multiple units.
5221
+ * e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }
5222
+ * output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 eventhough 40rem > 300px
5223
+ */
5224
+ function sortContainerQueries(theme, css) {
5225
+ if (!theme.containerQueries) {
5226
+ return css;
5227
+ }
5228
+ var sorted = Object.keys(css).filter(function (key) {
5229
+ return key.startsWith('@container');
5230
+ }).sort(function (a, b) {
5231
+ var _a$match, _b$match;
5232
+ var regex = /min-width:\s*([0-9.]+)/;
5233
+ return +(((_a$match = a.match(regex)) == null ? void 0 : _a$match[1]) || 0) - +(((_b$match = b.match(regex)) == null ? void 0 : _b$match[1]) || 0);
5234
+ });
5235
+ if (!sorted.length) {
5236
+ return css;
5237
+ }
5238
+ return sorted.reduce(function (acc, key) {
5239
+ var value = css[key];
5240
+ delete acc[key];
5241
+ acc[key] = value;
5242
+ return acc;
5243
+ }, _extends({}, css));
5244
+ }
5245
+ function isCqShorthand(breakpointKeys, value) {
5246
+ return value.startsWith('@') && (breakpointKeys.some(function (key) {
5247
+ return value.startsWith("@".concat(key));
5248
+ }) || !!value.match(/^@\d/));
5249
+ }
5250
+ function getContainerQuery(theme, shorthand) {
5251
+ var matches = shorthand.match(/^@([^/]+)\/?(.+)?$/);
5252
+ if (!matches) {
5253
+ {
5254
+ throw new Error("MUI: The provided shorthand ".concat("(".concat(shorthand, ")"), " is invalid. The format should be `@<breakpoint | number>` or `@<breakpoint | number>/<container>`.\nFor example, `@sm` or `@600` or `@40rem/sidebar`.") );
5255
+ }
5256
+ }
5257
+ var _matches = _slicedToArray(matches, 3),
5258
+ containerQuery = _matches[1],
5259
+ containerName = _matches[2];
5260
+ var value = Number.isNaN(+containerQuery) ? containerQuery : +containerQuery;
5261
+ return theme.containerQueries(containerName).up(value);
5262
+ }
5263
+ function cssContainerQueries(themeInput) {
5264
+ var toContainerQuery = function toContainerQuery(mediaQuery, name) {
5265
+ return mediaQuery.replace('@media', name ? "@container ".concat(name) : '@container');
5266
+ };
5267
+ function attachCq(node, name) {
5268
+ node.up = function () {
5269
+ var _themeInput$breakpoin;
5270
+ return toContainerQuery((_themeInput$breakpoin = themeInput.breakpoints).up.apply(_themeInput$breakpoin, arguments), name);
5271
+ };
5272
+ node.down = function () {
5273
+ var _themeInput$breakpoin2;
5274
+ return toContainerQuery((_themeInput$breakpoin2 = themeInput.breakpoints).down.apply(_themeInput$breakpoin2, arguments), name);
5275
+ };
5276
+ node.between = function () {
5277
+ var _themeInput$breakpoin3;
5278
+ return toContainerQuery((_themeInput$breakpoin3 = themeInput.breakpoints).between.apply(_themeInput$breakpoin3, arguments), name);
5279
+ };
5280
+ node.only = function () {
5281
+ var _themeInput$breakpoin4;
5282
+ return toContainerQuery((_themeInput$breakpoin4 = themeInput.breakpoints).only.apply(_themeInput$breakpoin4, arguments), name);
5283
+ };
5284
+ node.not = function () {
5285
+ var _themeInput$breakpoin5;
5286
+ var result = toContainerQuery((_themeInput$breakpoin5 = themeInput.breakpoints).not.apply(_themeInput$breakpoin5, arguments), name);
5287
+ if (result.includes('not all and')) {
5288
+ // `@container` does not work with `not all and`, so need to invert the logic
5289
+ return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>');
5290
+ }
5291
+ return result;
5292
+ };
5293
+ }
5294
+ var node = {};
5295
+ var containerQueries = function containerQueries(name) {
5296
+ attachCq(node, name);
5297
+ return node;
5298
+ };
5299
+ attachCq(containerQueries);
5300
+ return _extends({}, themeInput, {
5301
+ containerQueries: containerQueries
5302
+ });
5303
+ }
5304
+
5305
+ var shape = {
5306
+ borderRadius: 4
5307
+ };
5308
+ var shape$1 = shape;
5309
+
5223
5310
  var responsivePropType = PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) ;
5224
5311
  var responsivePropType$1 = responsivePropType;
5225
5312
 
@@ -5269,6 +5356,19 @@
5269
5356
  return "@media (min-width:".concat(values$1[key], "px)");
5270
5357
  }
5271
5358
  };
5359
+ var defaultContainerQueries = {
5360
+ containerQueries: function containerQueries(containerName) {
5361
+ return {
5362
+ up: function up(key) {
5363
+ var result = typeof key === 'number' ? key : values$1[key] || key;
5364
+ if (typeof result === 'number') {
5365
+ result = "".concat(result, "px");
5366
+ }
5367
+ return containerName ? "@container ".concat(containerName, " (min-width:").concat(result, ")") : "@container (min-width:".concat(result, ")");
5368
+ }
5369
+ };
5370
+ }
5371
+ };
5272
5372
  function handleBreakpoints(props, propValue, styleFromPropValue) {
5273
5373
  var theme = props.theme || {};
5274
5374
  if (Array.isArray(propValue)) {
@@ -5281,8 +5381,14 @@
5281
5381
  if (_typeof(propValue) === 'object') {
5282
5382
  var _themeBreakpoints = theme.breakpoints || defaultBreakpoints;
5283
5383
  return Object.keys(propValue).reduce(function (acc, breakpoint) {
5384
+ if (isCqShorthand(_themeBreakpoints.keys, breakpoint)) {
5385
+ var containerKey = getContainerQuery(theme.containerQueries ? theme : defaultContainerQueries, breakpoint);
5386
+ if (containerKey) {
5387
+ acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
5388
+ }
5389
+ }
5284
5390
  // key is breakpoint
5285
- if (Object.keys(_themeBreakpoints.values || values$1).indexOf(breakpoint) !== -1) {
5391
+ else if (Object.keys(_themeBreakpoints.values || values$1).indexOf(breakpoint) !== -1) {
5286
5392
  var mediaKey = _themeBreakpoints.up(breakpoint);
5287
5393
  acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
5288
5394
  } else {
@@ -6293,7 +6399,7 @@
6293
6399
  }
6294
6400
  }
6295
6401
  });
6296
- return removeUnusedBreakpoints(breakpointsKeys, css);
6402
+ return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css));
6297
6403
  }
6298
6404
  return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
6299
6405
  }
@@ -6399,6 +6505,7 @@
6399
6505
  spacing: spacing,
6400
6506
  shape: _extends({}, shape$1, shapeInput)
6401
6507
  }, other);
6508
+ muiTheme = cssContainerQueries(muiTheme);
6402
6509
  muiTheme.applyStyles = applyStyles$2;
6403
6510
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
6404
6511
  args[_key - 1] = arguments[_key];
@@ -6835,17 +6942,9 @@
6835
6942
  var reactIs_5 = reactIs.Memo;
6836
6943
  reactIs.isValidElementType;
6837
6944
 
6838
- // Simplified polyfill for IE11 support
6839
- // https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3
6840
- var fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
6841
- function getFunctionName(fn) {
6842
- var match = "".concat(fn).match(fnNameMatchRegex);
6843
- var name = match && match[1];
6844
- return name || '';
6845
- }
6846
6945
  function getFunctionComponentName(Component) {
6847
6946
  var fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
6848
- return Component.displayName || Component.name || getFunctionName(Component) || fallback;
6947
+ return Component.displayName || Component.name || fallback;
6849
6948
  }
6850
6949
  function getWrappedName(outerType, innerType, wrapperName) {
6851
6950
  var functionName = getFunctionComponentName(innerType);
@@ -7168,7 +7267,7 @@
7168
7267
  return resolveProps(theme.components[name].defaultProps, props);
7169
7268
  }
7170
7269
 
7171
- function useThemeProps$H(_ref) {
7270
+ function useThemeProps$N(_ref) {
7172
7271
  var props = _ref.props,
7173
7272
  name = _ref.name,
7174
7273
  defaultTheme = _ref.defaultTheme,
@@ -8411,16 +8510,9 @@
8411
8510
  return valueType;
8412
8511
  }
8413
8512
  }
8414
-
8415
- // IE 11 support
8416
- function ponyfillIsInteger(x) {
8417
- // eslint-disable-next-line no-restricted-globals
8418
- return typeof x === 'number' && isFinite(x) && Math.floor(x) === x;
8419
- }
8420
- var isInteger = Number.isInteger || ponyfillIsInteger;
8421
8513
  function requiredInteger(props, propName, componentName, location) {
8422
8514
  var propValue = props[propName];
8423
- if (propValue == null || !isInteger(propValue)) {
8515
+ if (propValue == null || !Number.isInteger(propValue)) {
8424
8516
  var propType = getTypeByValue(propValue);
8425
8517
  return new RangeError("Invalid ".concat(location, " `").concat(propName, "` of type `").concat(propType, "` supplied to `").concat(componentName, "`, expected `integer`."));
8426
8518
  }
@@ -9477,7 +9569,7 @@
9477
9569
  }
9478
9570
  });
9479
9571
  var useThemePropsDefault$2 = function useThemePropsDefault(inProps) {
9480
- return useThemeProps$H({
9572
+ return useThemeProps$N({
9481
9573
  props: inProps,
9482
9574
  name: 'MuiContainer',
9483
9575
  defaultTheme: defaultTheme$6
@@ -9865,7 +9957,7 @@
9865
9957
  }
9866
9958
  });
9867
9959
  function useThemePropsDefault$1(props) {
9868
- return useThemeProps$H({
9960
+ return useThemeProps$N({
9869
9961
  props: props,
9870
9962
  name: 'MuiGrid',
9871
9963
  defaultTheme: defaultTheme$5
@@ -10032,7 +10124,7 @@
10032
10124
  }
10033
10125
  });
10034
10126
  function useThemePropsDefault(props) {
10035
- return useThemeProps$H({
10127
+ return useThemeProps$N({
10036
10128
  props: props,
10037
10129
  name: 'MuiStack',
10038
10130
  defaultTheme: defaultTheme$4
@@ -10725,10 +10817,8 @@
10725
10817
  var isString = function isString(value) {
10726
10818
  return typeof value === 'string';
10727
10819
  };
10728
- // IE11 support, replace with Number.isNaN
10729
- // eslint-disable-next-line no-restricted-globals
10730
10820
  var isNumber = function isNumber(value) {
10731
- return !isNaN(parseFloat(value));
10821
+ return !Number.isNaN(parseFloat(value));
10732
10822
  };
10733
10823
  if (!isString(props) && !Array.isArray(props)) {
10734
10824
  console.error('MUI: Argument "props" must be a string or Array.');
@@ -11074,10 +11164,10 @@
11074
11164
  return theme[THEME_ID] || theme;
11075
11165
  }
11076
11166
 
11077
- function useThemeProps$G(_ref) {
11167
+ function useThemeProps$M(_ref) {
11078
11168
  var props = _ref.props,
11079
11169
  name = _ref.name;
11080
- return useThemeProps$H({
11170
+ return useThemeProps$N({
11081
11171
  props: props,
11082
11172
  name: name,
11083
11173
  defaultTheme: defaultTheme$3,
@@ -11633,7 +11723,7 @@
11633
11723
  };
11634
11724
  });
11635
11725
  var SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProps, ref) {
11636
- var props = useThemeProps$G({
11726
+ var props = useThemeProps$M({
11637
11727
  props: inProps,
11638
11728
  name: 'MuiSvgIcon'
11639
11729
  });
@@ -11792,7 +11882,7 @@
11792
11882
 
11793
11883
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11794
11884
  function createUseThemeProps(name) {
11795
- return useThemeProps$G;
11885
+ return useThemeProps$M;
11796
11886
  }
11797
11887
 
11798
11888
  function _setPrototypeOf(o, p) {
@@ -12882,7 +12972,7 @@
12882
12972
  * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
12883
12973
  */
12884
12974
  var Collapse = /*#__PURE__*/React__namespace.forwardRef(function Collapse(inProps, ref) {
12885
- var props = useThemeProps$G({
12975
+ var props = useThemeProps$M({
12886
12976
  props: inProps,
12887
12977
  name: 'MuiCollapse'
12888
12978
  });
@@ -13212,7 +13302,7 @@
13212
13302
  }));
13213
13303
  });
13214
13304
  var Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, ref) {
13215
- var props = useThemeProps$G({
13305
+ var props = useThemeProps$M({
13216
13306
  props: inProps,
13217
13307
  name: 'MuiPaper'
13218
13308
  });
@@ -13589,7 +13679,7 @@
13589
13679
  var accordionClasses = generateUtilityClasses$1('MuiAccordion', ['root', 'rounded', 'expanded', 'disabled', 'gutters', 'region']);
13590
13680
  var accordionClasses$1 = accordionClasses;
13591
13681
 
13592
- var useThemeProps$F = createUseThemeProps();
13682
+ var useThemeProps$L = createUseThemeProps();
13593
13683
  var useUtilityClasses$1M = function useUtilityClasses(ownerState) {
13594
13684
  var classes = ownerState.classes,
13595
13685
  square = ownerState.square,
@@ -13687,7 +13777,7 @@
13687
13777
  };
13688
13778
  });
13689
13779
  var Accordion = /*#__PURE__*/React__namespace.forwardRef(function Accordion(inProps, ref) {
13690
- var props = useThemeProps$F({
13780
+ var props = useThemeProps$L({
13691
13781
  props: inProps,
13692
13782
  name: 'MuiAccordion'
13693
13783
  });
@@ -13881,7 +13971,7 @@
13881
13971
  var accordionActionsClasses = generateUtilityClasses$1('MuiAccordionActions', ['root', 'spacing']);
13882
13972
  var accordionActionsClasses$1 = accordionActionsClasses;
13883
13973
 
13884
- var useThemeProps$E = createUseThemeProps();
13974
+ var useThemeProps$K = createUseThemeProps();
13885
13975
  var useUtilityClasses$1L = function useUtilityClasses(ownerState) {
13886
13976
  var classes = ownerState.classes,
13887
13977
  disableSpacing = ownerState.disableSpacing;
@@ -13914,7 +14004,7 @@
13914
14004
  }]
13915
14005
  });
13916
14006
  var AccordionActions = /*#__PURE__*/React__namespace.forwardRef(function AccordionActions(inProps, ref) {
13917
- var props = useThemeProps$E({
14007
+ var props = useThemeProps$K({
13918
14008
  props: inProps,
13919
14009
  name: 'MuiAccordionActions'
13920
14010
  });
@@ -13967,7 +14057,7 @@
13967
14057
  var accordionDetailsClasses = generateUtilityClasses$1('MuiAccordionDetails', ['root']);
13968
14058
  var accordionDetailsClasses$1 = accordionDetailsClasses;
13969
14059
 
13970
- var useThemeProps$D = createUseThemeProps();
14060
+ var useThemeProps$J = createUseThemeProps();
13971
14061
  var useUtilityClasses$1K = function useUtilityClasses(ownerState) {
13972
14062
  var classes = ownerState.classes;
13973
14063
  var slots = {
@@ -13988,7 +14078,7 @@
13988
14078
  };
13989
14079
  });
13990
14080
  var AccordionDetails = /*#__PURE__*/React__namespace.forwardRef(function AccordionDetails(inProps, ref) {
13991
- var props = useThemeProps$D({
14081
+ var props = useThemeProps$J({
13992
14082
  props: inProps,
13993
14083
  name: 'MuiAccordionDetails'
13994
14084
  });
@@ -14123,7 +14213,7 @@
14123
14213
  var touchRippleClasses$1 = touchRippleClasses;
14124
14214
 
14125
14215
  var _templateObject$3, _templateObject2$3, _templateObject3$3, _templateObject4$3;
14126
- var useThemeProps$C = createUseThemeProps();
14216
+ var useThemeProps$I = createUseThemeProps();
14127
14217
  var DURATION = 550;
14128
14218
  var DELAY_RIPPLE = 80;
14129
14219
  var enterKeyframe = keyframes(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])));
@@ -14169,7 +14259,7 @@
14169
14259
  * TODO v5: Make private
14170
14260
  */
14171
14261
  var TouchRipple = /*#__PURE__*/React__namespace.forwardRef(function TouchRipple(inProps, ref) {
14172
- var props = useThemeProps$C({
14262
+ var props = useThemeProps$I({
14173
14263
  props: inProps,
14174
14264
  name: 'MuiTouchRipple'
14175
14265
  });
@@ -14381,7 +14471,7 @@
14381
14471
  var buttonBaseClasses = generateUtilityClasses$1('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
14382
14472
  var buttonBaseClasses$1 = buttonBaseClasses;
14383
14473
 
14384
- var useThemeProps$B = createUseThemeProps();
14474
+ var useThemeProps$H = createUseThemeProps();
14385
14475
  var useUtilityClasses$1J = function useUtilityClasses(ownerState) {
14386
14476
  var disabled = ownerState.disabled,
14387
14477
  focusVisible = ownerState.focusVisible,
@@ -14446,7 +14536,7 @@
14446
14536
  * It contains a load of style reset and some focus/ripple logic.
14447
14537
  */
14448
14538
  var ButtonBase = /*#__PURE__*/React__namespace.forwardRef(function ButtonBase(inProps, ref) {
14449
- var props = useThemeProps$B({
14539
+ var props = useThemeProps$H({
14450
14540
  props: inProps,
14451
14541
  name: 'MuiButtonBase'
14452
14542
  });
@@ -14857,7 +14947,7 @@
14857
14947
  var accordionSummaryClasses = generateUtilityClasses$1('MuiAccordionSummary', ['root', 'expanded', 'focusVisible', 'disabled', 'gutters', 'contentGutters', 'content', 'expandIconWrapper']);
14858
14948
  var accordionSummaryClasses$1 = accordionSummaryClasses;
14859
14949
 
14860
- var useThemeProps$A = createUseThemeProps();
14950
+ var useThemeProps$G = createUseThemeProps();
14861
14951
  var useUtilityClasses$1I = function useUtilityClasses(ownerState) {
14862
14952
  var classes = ownerState.classes,
14863
14953
  expanded = ownerState.expanded,
@@ -14948,7 +15038,7 @@
14948
15038
  });
14949
15039
  });
14950
15040
  var AccordionSummary = /*#__PURE__*/React__namespace.forwardRef(function AccordionSummary(inProps, ref) {
14951
- var props = useThemeProps$A({
15041
+ var props = useThemeProps$G({
14952
15042
  props: inProps,
14953
15043
  name: 'MuiAccordionSummary'
14954
15044
  });
@@ -15135,7 +15225,7 @@
15135
15225
  * regarding the available icon options.
15136
15226
  */
15137
15227
  var IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(inProps, ref) {
15138
- var props = useThemeProps$G({
15228
+ var props = useThemeProps$M({
15139
15229
  props: inProps,
15140
15230
  name: 'MuiIconButton'
15141
15231
  });
@@ -15262,7 +15352,7 @@
15262
15352
  d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
15263
15353
  }), 'Close');
15264
15354
 
15265
- var useThemeProps$z = createUseThemeProps();
15355
+ var useThemeProps$F = createUseThemeProps();
15266
15356
  var useUtilityClasses$1G = function useUtilityClasses(ownerState) {
15267
15357
  var variant = ownerState.variant,
15268
15358
  color = ownerState.color,
@@ -15410,7 +15500,7 @@
15410
15500
  })
15411
15501
  };
15412
15502
  var Alert = /*#__PURE__*/React__namespace.forwardRef(function Alert(inProps, ref) {
15413
- var props = useThemeProps$z({
15503
+ var props = useThemeProps$F({
15414
15504
  props: inProps,
15415
15505
  name: 'MuiAlert'
15416
15506
  });
@@ -15656,7 +15746,9 @@
15656
15746
  margin: 0
15657
15747
  }, ownerState.variant === 'inherit' && {
15658
15748
  // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
15659
- font: 'inherit'
15749
+ font: 'inherit',
15750
+ lineHeight: 'inherit',
15751
+ letterSpacing: 'inherit'
15660
15752
  }, ownerState.variant !== 'inherit' && theme.typography[ownerState.variant], ownerState.align !== 'inherit' && {
15661
15753
  textAlign: ownerState.align
15662
15754
  }, ownerState.noWrap && {
@@ -15695,7 +15787,7 @@
15695
15787
  return colorTransformations$1[color] || color;
15696
15788
  };
15697
15789
  var Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(inProps, ref) {
15698
- var themeProps = useThemeProps$G({
15790
+ var themeProps = useThemeProps$M({
15699
15791
  props: inProps,
15700
15792
  name: 'MuiTypography'
15701
15793
  });
@@ -15821,7 +15913,7 @@
15821
15913
  var alertTitleClasses = generateUtilityClasses$1('MuiAlertTitle', ['root']);
15822
15914
  var alertTitleClasses$1 = alertTitleClasses;
15823
15915
 
15824
- var useThemeProps$y = createUseThemeProps();
15916
+ var useThemeProps$E = createUseThemeProps();
15825
15917
  var useUtilityClasses$1E = function useUtilityClasses(ownerState) {
15826
15918
  var classes = ownerState.classes;
15827
15919
  var slots = {
@@ -15843,7 +15935,7 @@
15843
15935
  };
15844
15936
  });
15845
15937
  var AlertTitle = /*#__PURE__*/React__namespace.forwardRef(function AlertTitle(inProps, ref) {
15846
- var props = useThemeProps$y({
15938
+ var props = useThemeProps$E({
15847
15939
  props: inProps,
15848
15940
  name: 'MuiAlertTitle'
15849
15941
  });
@@ -15889,7 +15981,7 @@
15889
15981
  var appBarClasses = generateUtilityClasses$1('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning']);
15890
15982
  var appBarClasses$1 = appBarClasses;
15891
15983
 
15892
- var useThemeProps$x = createUseThemeProps();
15984
+ var useThemeProps$D = createUseThemeProps();
15893
15985
  var useUtilityClasses$1D = function useUtilityClasses(ownerState) {
15894
15986
  var color = ownerState.color,
15895
15987
  position = ownerState.position,
@@ -15953,7 +16045,6 @@
15953
16045
  position: 'sticky'
15954
16046
  },
15955
16047
  style: {
15956
- // ⚠️ sticky is not supported by IE11.
15957
16048
  position: 'sticky',
15958
16049
  zIndex: (theme.vars || theme).zIndex.appBar,
15959
16050
  top: 0,
@@ -16041,7 +16132,7 @@
16041
16132
  };
16042
16133
  });
16043
16134
  var AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps, ref) {
16044
- var props = useThemeProps$x({
16135
+ var props = useThemeProps$D({
16045
16136
  props: inProps,
16046
16137
  name: 'MuiAppBar'
16047
16138
  });
@@ -20159,8 +20250,7 @@
20159
20250
  */
20160
20251
  function handleKeyDown(nativeEvent) {
20161
20252
  if (!nativeEvent.defaultPrevented) {
20162
- // IE11, Edge (prior to using Blink?) use 'Esc'
20163
- if (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc') {
20253
+ if (nativeEvent.key === 'Escape') {
20164
20254
  // not calling `preventDefault` since we don't know if people may ignore this event e.g. a permanently open snackbar
20165
20255
  onClose == null || onClose(nativeEvent, 'escapeKeyDown');
20166
20256
  }
@@ -20465,9 +20555,8 @@
20465
20555
  } ;
20466
20556
 
20467
20557
  // https://stackoverflow.com/questions/990904/remove-accents-diacritics-in-a-string-in-javascript
20468
- // Give up on IE11 support for this feature
20469
20558
  function stripDiacritics(string) {
20470
- return typeof string.normalize !== 'undefined' ? string.normalize('NFD').replace(/[\u0300-\u036f]/g, '') : string;
20559
+ return string.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
20471
20560
  }
20472
20561
  function createFilterOptions() {
20473
20562
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -20504,16 +20593,6 @@
20504
20593
  return typeof limit === 'number' ? filteredOptions.slice(0, limit) : filteredOptions;
20505
20594
  };
20506
20595
  }
20507
-
20508
- // To replace with .findIndex() once we stop IE11 support.
20509
- function findIndex(array, comp) {
20510
- for (var i = 0; i < array.length; i += 1) {
20511
- if (comp(array[i])) {
20512
- return i;
20513
- }
20514
- }
20515
- return -1;
20516
- }
20517
20596
  var defaultFilterOptions = createFilterOptions();
20518
20597
 
20519
20598
  // Number of options to jump in list box when `Page Up` and `Page Down` keys are used.
@@ -20903,7 +20982,7 @@
20903
20982
  }) : isSameValue(previousProps.value, value))) {
20904
20983
  var previousHighlightedOption = previousProps.filteredOptions[highlightedIndexRef.current];
20905
20984
  if (previousHighlightedOption) {
20906
- return findIndex(filteredOptions, function (option) {
20985
+ return filteredOptions.findIndex(function (option) {
20907
20986
  return getOptionLabel(option) === getOptionLabel(previousHighlightedOption);
20908
20987
  });
20909
20988
  }
@@ -20940,12 +21019,12 @@
20940
21019
  var currentOption = filteredOptions[highlightedIndexRef.current];
20941
21020
 
20942
21021
  // Keep the current highlighted index if possible
20943
- if (multiple && currentOption && findIndex(value, function (val) {
21022
+ if (multiple && currentOption && value.findIndex(function (val) {
20944
21023
  return isOptionEqualToValue(currentOption, val);
20945
21024
  }) !== -1) {
20946
21025
  return;
20947
21026
  }
20948
- var itemIndex = findIndex(filteredOptions, function (optionItem) {
21027
+ var itemIndex = filteredOptions.findIndex(function (optionItem) {
20949
21028
  return isOptionEqualToValue(optionItem, valueItem);
20950
21029
  });
20951
21030
  if (itemIndex === -1) {
@@ -21052,7 +21131,7 @@
21052
21131
  console.error(["MUI: The `isOptionEqualToValue` method of ".concat(componentName, " does not handle the arguments correctly."), "The component expects a single value to match a given option but found ".concat(matches.length, " matches.")].join('\n'));
21053
21132
  }
21054
21133
  }
21055
- var itemIndex = findIndex(newValue, function (valueItem) {
21134
+ var itemIndex = newValue.findIndex(function (valueItem) {
21056
21135
  return isOptionEqualToValue(option, valueItem);
21057
21136
  });
21058
21137
  if (itemIndex === -1) {
@@ -21557,7 +21636,7 @@
21557
21636
  var Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps, ref) {
21558
21637
  var _slots$root;
21559
21638
  var theme = useTheme$3();
21560
- var props = useThemeProps$G({
21639
+ var props = useThemeProps$M({
21561
21640
  props: inProps,
21562
21641
  name: 'MuiPopper'
21563
21642
  });
@@ -21782,7 +21861,7 @@
21782
21861
  });
21783
21862
  });
21784
21863
  var ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubheader(inProps, ref) {
21785
- var props = useThemeProps$G({
21864
+ var props = useThemeProps$M({
21786
21865
  props: inProps,
21787
21866
  name: 'MuiListSubheader'
21788
21867
  });
@@ -21873,7 +21952,7 @@
21873
21952
  var chipClasses = generateUtilityClasses$1('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);
21874
21953
  var chipClasses$1 = chipClasses;
21875
21954
 
21876
- var useThemeProps$w = createUseThemeProps();
21955
+ var useThemeProps$C = createUseThemeProps();
21877
21956
  var useUtilityClasses$1A = function useUtilityClasses(ownerState) {
21878
21957
  var classes = ownerState.classes,
21879
21958
  disabled = ownerState.disabled,
@@ -22173,7 +22252,7 @@
22173
22252
  * Chips represent complex entities in small blocks, such as a contact.
22174
22253
  */
22175
22254
  var Chip = /*#__PURE__*/React__namespace.forwardRef(function Chip(inProps, ref) {
22176
- var props = useThemeProps$w({
22255
+ var props = useThemeProps$C({
22177
22256
  props: inProps,
22178
22257
  name: 'MuiChip'
22179
22258
  });
@@ -22661,7 +22740,7 @@
22661
22740
  */
22662
22741
  var InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(inProps, ref) {
22663
22742
  var _slotProps$input;
22664
- var props = useThemeProps$G({
22743
+ var props = useThemeProps$M({
22665
22744
  props: inProps,
22666
22745
  name: 'MuiInputBase'
22667
22746
  });
@@ -23201,7 +23280,7 @@
23201
23280
  var autocompleteClasses$1 = autocompleteClasses;
23202
23281
 
23203
23282
  var _styled, _ClearIcon, _ArrowDropDownIcon;
23204
- var useThemeProps$v = createUseThemeProps();
23283
+ var useThemeProps$B = createUseThemeProps();
23205
23284
  var useUtilityClasses$1y = function useUtilityClasses(ownerState) {
23206
23285
  var classes = ownerState.classes,
23207
23286
  disablePortal = ownerState.disablePortal,
@@ -23520,7 +23599,7 @@
23520
23599
  }));
23521
23600
  var Autocomplete = /*#__PURE__*/React__namespace.forwardRef(function Autocomplete(inProps, ref) {
23522
23601
  var _slotProps$clearIndic, _slotProps$paper, _slotProps$popper, _slotProps$popupIndic;
23523
- var props = useThemeProps$v({
23602
+ var props = useThemeProps$B({
23524
23603
  props: inProps,
23525
23604
  name: 'MuiAutocomplete'
23526
23605
  });
@@ -24296,7 +24375,7 @@
24296
24375
  var avatarClasses = generateUtilityClasses$1('MuiAvatar', ['root', 'colorDefault', 'circular', 'rounded', 'square', 'img', 'fallback']);
24297
24376
  var avatarClasses$1 = avatarClasses;
24298
24377
 
24299
- var useThemeProps$u = createUseThemeProps();
24378
+ var useThemeProps$A = createUseThemeProps();
24300
24379
  var useUtilityClasses$1x = function useUtilityClasses(ownerState) {
24301
24380
  var classes = ownerState.classes,
24302
24381
  variant = ownerState.variant,
@@ -24371,7 +24450,7 @@
24371
24450
  width: '100%',
24372
24451
  height: '100%',
24373
24452
  textAlign: 'center',
24374
- // Handle non-square image. The property isn't supported by IE11.
24453
+ // Handle non-square image.
24375
24454
  objectFit: 'cover',
24376
24455
  // Hide alt text.
24377
24456
  color: 'transparent',
@@ -24428,7 +24507,7 @@
24428
24507
  return loaded;
24429
24508
  }
24430
24509
  var Avatar = /*#__PURE__*/React__namespace.forwardRef(function Avatar(inProps, ref) {
24431
- var props = useThemeProps$u({
24510
+ var props = useThemeProps$A({
24432
24511
  props: inProps,
24433
24512
  name: 'MuiAvatar'
24434
24513
  });
@@ -24589,7 +24668,7 @@
24589
24668
  small: -16,
24590
24669
  medium: -8
24591
24670
  };
24592
- var useThemeProps$t = createUseThemeProps();
24671
+ var useThemeProps$z = createUseThemeProps();
24593
24672
  var useUtilityClasses$1w = function useUtilityClasses(ownerState) {
24594
24673
  var classes = ownerState.classes;
24595
24674
  var slots = {
@@ -24620,7 +24699,7 @@
24620
24699
  });
24621
24700
  var AvatarGroup = /*#__PURE__*/React__namespace.forwardRef(function AvatarGroup(inProps, ref) {
24622
24701
  var _slotProps$additional;
24623
- var props = useThemeProps$t({
24702
+ var props = useThemeProps$z({
24624
24703
  props: inProps,
24625
24704
  name: 'MuiAvatarGroup'
24626
24705
  });
@@ -24976,7 +25055,7 @@
24976
25055
  var backdropClasses = generateUtilityClasses$1('MuiBackdrop', ['root', 'invisible']);
24977
25056
  var backdropClasses$1 = backdropClasses;
24978
25057
 
24979
- var useThemeProps$s = createUseThemeProps();
25058
+ var useThemeProps$y = createUseThemeProps();
24980
25059
  var useUtilityClasses$1v = function useUtilityClasses(ownerState) {
24981
25060
  var classes = ownerState.classes,
24982
25061
  invisible = ownerState.invisible;
@@ -25013,7 +25092,7 @@
25013
25092
  }]
25014
25093
  });
25015
25094
  var Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inProps, ref) {
25016
- var props = useThemeProps$s({
25095
+ var props = useThemeProps$y({
25017
25096
  props: inProps,
25018
25097
  name: 'MuiBackdrop'
25019
25098
  });
@@ -25184,7 +25263,7 @@
25184
25263
 
25185
25264
  var RADIUS_STANDARD = 10;
25186
25265
  var RADIUS_DOT = 4;
25187
- var useThemeProps$r = createUseThemeProps();
25266
+ var useThemeProps$x = createUseThemeProps();
25188
25267
  var useUtilityClasses$1u = function useUtilityClasses(ownerState) {
25189
25268
  var color = ownerState.color,
25190
25269
  anchorOrigin = ownerState.anchorOrigin,
@@ -25387,7 +25466,7 @@
25387
25466
  });
25388
25467
  var Badge = /*#__PURE__*/React__namespace.forwardRef(function Badge(inProps, ref) {
25389
25468
  var _ref11, _slots$root, _ref12, _slots$badge, _slotProps$root, _slotProps$badge;
25390
- var props = useThemeProps$r({
25469
+ var props = useThemeProps$x({
25391
25470
  props: inProps,
25392
25471
  name: 'MuiBadge'
25393
25472
  });
@@ -25611,7 +25690,7 @@
25611
25690
  var bottomNavigationClasses = generateUtilityClasses$1('MuiBottomNavigation', ['root']);
25612
25691
  var bottomNavigationClasses$1 = bottomNavigationClasses;
25613
25692
 
25614
- var useThemeProps$q = createUseThemeProps();
25693
+ var useThemeProps$w = createUseThemeProps();
25615
25694
  var useUtilityClasses$1t = function useUtilityClasses(ownerState) {
25616
25695
  var classes = ownerState.classes;
25617
25696
  var slots = {
@@ -25635,7 +25714,7 @@
25635
25714
  };
25636
25715
  });
25637
25716
  var BottomNavigation = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigation(inProps, ref) {
25638
- var props = useThemeProps$q({
25717
+ var props = useThemeProps$w({
25639
25718
  props: inProps,
25640
25719
  name: 'MuiBottomNavigation'
25641
25720
  });
@@ -25730,7 +25809,7 @@
25730
25809
  var bottomNavigationActionClasses = generateUtilityClasses$1('MuiBottomNavigationAction', ['root', 'iconOnly', 'selected', 'label']);
25731
25810
  var bottomNavigationActionClasses$1 = bottomNavigationActionClasses;
25732
25811
 
25733
- var useThemeProps$p = createUseThemeProps();
25812
+ var useThemeProps$v = createUseThemeProps();
25734
25813
  var useUtilityClasses$1s = function useUtilityClasses(ownerState) {
25735
25814
  var classes = ownerState.classes,
25736
25815
  showLabel = ownerState.showLabel,
@@ -25812,7 +25891,7 @@
25812
25891
  }]);
25813
25892
  });
25814
25893
  var BottomNavigationAction = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigationAction(inProps, ref) {
25815
- var props = useThemeProps$p({
25894
+ var props = useThemeProps$v({
25816
25895
  props: inProps,
25817
25896
  name: 'MuiBottomNavigationAction'
25818
25897
  });
@@ -26020,7 +26099,7 @@
26020
26099
  var breadcrumbsClasses = generateUtilityClasses$1('MuiBreadcrumbs', ['root', 'ol', 'li', 'separator']);
26021
26100
  var breadcrumbsClasses$1 = breadcrumbsClasses;
26022
26101
 
26023
- var useThemeProps$o = createUseThemeProps();
26102
+ var useThemeProps$u = createUseThemeProps();
26024
26103
  var useUtilityClasses$1r = function useUtilityClasses(ownerState) {
26025
26104
  var classes = ownerState.classes;
26026
26105
  var slots = {
@@ -26080,7 +26159,7 @@
26080
26159
  }, []);
26081
26160
  }
26082
26161
  var Breadcrumbs = /*#__PURE__*/React__namespace.forwardRef(function Breadcrumbs(inProps, ref) {
26083
- var props = useThemeProps$o({
26162
+ var props = useThemeProps$u({
26084
26163
  props: inProps,
26085
26164
  name: 'MuiBreadcrumbs'
26086
26165
  });
@@ -26280,7 +26359,7 @@
26280
26359
  }
26281
26360
  var ButtonGroupButtonContext$1 = ButtonGroupButtonContext;
26282
26361
 
26283
- var useThemeProps$n = createUseThemeProps();
26362
+ var useThemeProps$t = createUseThemeProps();
26284
26363
  var useUtilityClasses$1q = function useUtilityClasses(ownerState) {
26285
26364
  var color = ownerState.color,
26286
26365
  disableElevation = ownerState.disableElevation,
@@ -26572,7 +26651,7 @@
26572
26651
  var contextProps = React__namespace.useContext(ButtonGroupContext$1);
26573
26652
  var buttonGroupButtonContextPositionClassName = React__namespace.useContext(ButtonGroupButtonContext$1);
26574
26653
  var resolvedProps = resolveProps(contextProps, inProps);
26575
- var props = useThemeProps$n({
26654
+ var props = useThemeProps$t({
26576
26655
  props: resolvedProps,
26577
26656
  name: 'MuiButton'
26578
26657
  });
@@ -26738,7 +26817,7 @@
26738
26817
  var buttonGroupClasses = generateUtilityClasses$1('MuiButtonGroup', ['root', 'contained', 'outlined', 'text', 'disableElevation', 'disabled', 'firstButton', 'fullWidth', 'horizontal', 'vertical', 'colorPrimary', 'colorSecondary', 'grouped', 'groupedHorizontal', 'groupedVertical', 'groupedText', 'groupedTextHorizontal', 'groupedTextVertical', 'groupedTextPrimary', 'groupedTextSecondary', 'groupedOutlined', 'groupedOutlinedHorizontal', 'groupedOutlinedVertical', 'groupedOutlinedPrimary', 'groupedOutlinedSecondary', 'groupedContained', 'groupedContainedHorizontal', 'groupedContainedVertical', 'groupedContainedPrimary', 'groupedContainedSecondary', 'lastButton', 'middleButton']);
26739
26818
  var buttonGroupClasses$1 = buttonGroupClasses;
26740
26819
 
26741
- var useThemeProps$m = createUseThemeProps();
26820
+ var useThemeProps$s = createUseThemeProps();
26742
26821
  var overridesResolver$6 = function overridesResolver(props, styles) {
26743
26822
  var ownerState = props.ownerState;
26744
26823
  return [_defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles.grouped), _defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.orientation))]), _defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.variant))]), _defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.variant)).concat(capitalize(ownerState.orientation))]), _defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.variant)).concat(capitalize(ownerState.color))]), _defineProperty({}, "& .".concat(buttonGroupClasses$1.firstButton), styles.firstButton), _defineProperty({}, "& .".concat(buttonGroupClasses$1.lastButton), styles.lastButton), _defineProperty({}, "& .".concat(buttonGroupClasses$1.middleButton), styles.middleButton), styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
@@ -26927,7 +27006,7 @@
26927
27006
  });
26928
27007
  });
26929
27008
  var ButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ButtonGroup(inProps, ref) {
26930
- var props = useThemeProps$m({
27009
+ var props = useThemeProps$s({
26931
27010
  props: inProps,
26932
27011
  name: 'MuiButtonGroup'
26933
27012
  });
@@ -27097,7 +27176,7 @@
27097
27176
  var cardClasses = generateUtilityClasses$1('MuiCard', ['root']);
27098
27177
  var cardClasses$1 = cardClasses;
27099
27178
 
27100
- var useThemeProps$l = createUseThemeProps();
27179
+ var useThemeProps$r = createUseThemeProps();
27101
27180
  var useUtilityClasses$1o = function useUtilityClasses(ownerState) {
27102
27181
  var classes = ownerState.classes;
27103
27182
  var slots = {
@@ -27115,7 +27194,7 @@
27115
27194
  overflow: 'hidden'
27116
27195
  });
27117
27196
  var Card = /*#__PURE__*/React__namespace.forwardRef(function Card(inProps, ref) {
27118
- var props = useThemeProps$l({
27197
+ var props = useThemeProps$r({
27119
27198
  props: inProps,
27120
27199
  name: 'MuiCard'
27121
27200
  });
@@ -27174,7 +27253,7 @@
27174
27253
  var cardActionAreaClasses = generateUtilityClasses$1('MuiCardActionArea', ['root', 'focusVisible', 'focusHighlight']);
27175
27254
  var cardActionAreaClasses$1 = cardActionAreaClasses;
27176
27255
 
27177
- var useThemeProps$k = createUseThemeProps();
27256
+ var useThemeProps$q = createUseThemeProps();
27178
27257
  var useUtilityClasses$1n = function useUtilityClasses(ownerState) {
27179
27258
  var classes = ownerState.classes;
27180
27259
  var slots = {
@@ -27231,7 +27310,7 @@
27231
27310
  };
27232
27311
  });
27233
27312
  var CardActionArea = /*#__PURE__*/React__namespace.forwardRef(function CardActionArea(inProps, ref) {
27234
- var props = useThemeProps$k({
27313
+ var props = useThemeProps$q({
27235
27314
  props: inProps,
27236
27315
  name: 'MuiCardActionArea'
27237
27316
  });
@@ -27287,7 +27366,7 @@
27287
27366
  var cardActionsClasses = generateUtilityClasses$1('MuiCardActions', ['root', 'spacing']);
27288
27367
  var cardActionsClasses$1 = cardActionsClasses;
27289
27368
 
27290
- var useThemeProps$j = createUseThemeProps();
27369
+ var useThemeProps$p = createUseThemeProps();
27291
27370
  var useUtilityClasses$1m = function useUtilityClasses(ownerState) {
27292
27371
  var classes = ownerState.classes,
27293
27372
  disableSpacing = ownerState.disableSpacing;
@@ -27319,7 +27398,7 @@
27319
27398
  }]
27320
27399
  });
27321
27400
  var CardActions = /*#__PURE__*/React__namespace.forwardRef(function CardActions(inProps, ref) {
27322
- var props = useThemeProps$j({
27401
+ var props = useThemeProps$p({
27323
27402
  props: inProps,
27324
27403
  name: 'MuiCardActions'
27325
27404
  });
@@ -27372,7 +27451,7 @@
27372
27451
  var cardContentClasses = generateUtilityClasses$1('MuiCardContent', ['root']);
27373
27452
  var cardContentClasses$1 = cardContentClasses;
27374
27453
 
27375
- var useThemeProps$i = createUseThemeProps();
27454
+ var useThemeProps$o = createUseThemeProps();
27376
27455
  var useUtilityClasses$1l = function useUtilityClasses(ownerState) {
27377
27456
  var classes = ownerState.classes;
27378
27457
  var slots = {
@@ -27393,7 +27472,7 @@
27393
27472
  }
27394
27473
  });
27395
27474
  var CardContent = /*#__PURE__*/React__namespace.forwardRef(function CardContent(inProps, ref) {
27396
- var props = useThemeProps$i({
27475
+ var props = useThemeProps$o({
27397
27476
  props: inProps,
27398
27477
  name: 'MuiCardContent'
27399
27478
  });
@@ -27447,7 +27526,7 @@
27447
27526
  var cardHeaderClasses = generateUtilityClasses$1('MuiCardHeader', ['root', 'avatar', 'action', 'content', 'title', 'subheader']);
27448
27527
  var cardHeaderClasses$1 = cardHeaderClasses;
27449
27528
 
27450
- var useThemeProps$h = createUseThemeProps();
27529
+ var useThemeProps$n = createUseThemeProps();
27451
27530
  var useUtilityClasses$1k = function useUtilityClasses(ownerState) {
27452
27531
  var classes = ownerState.classes;
27453
27532
  var slots = {
@@ -27505,7 +27584,7 @@
27505
27584
  flex: '1 1 auto'
27506
27585
  });
27507
27586
  var CardHeader = /*#__PURE__*/React__namespace.forwardRef(function CardHeader(inProps, ref) {
27508
- var props = useThemeProps$h({
27587
+ var props = useThemeProps$n({
27509
27588
  props: inProps,
27510
27589
  name: 'MuiCardHeader'
27511
27590
  });
@@ -27639,7 +27718,7 @@
27639
27718
  var cardMediaClasses = generateUtilityClasses$1('MuiCardMedia', ['root', 'media', 'img']);
27640
27719
  var cardMediaClasses$1 = cardMediaClasses;
27641
27720
 
27642
- var useThemeProps$g = createUseThemeProps();
27721
+ var useThemeProps$m = createUseThemeProps();
27643
27722
  var useUtilityClasses$1j = function useUtilityClasses(ownerState) {
27644
27723
  var classes = ownerState.classes,
27645
27724
  isMediaComponent = ownerState.isMediaComponent,
@@ -27675,7 +27754,6 @@
27675
27754
  isImageComponent: true
27676
27755
  },
27677
27756
  style: {
27678
- // ⚠️ object-fit is not supported by IE11.
27679
27757
  objectFit: 'cover'
27680
27758
  }
27681
27759
  }]
@@ -27683,7 +27761,7 @@
27683
27761
  var MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];
27684
27762
  var IMAGE_COMPONENTS = ['picture', 'img'];
27685
27763
  var CardMedia = /*#__PURE__*/React__namespace.forwardRef(function CardMedia(inProps, ref) {
27686
- var props = useThemeProps$g({
27764
+ var props = useThemeProps$m({
27687
27765
  props: inProps,
27688
27766
  name: 'MuiCardMedia'
27689
27767
  });
@@ -28094,7 +28172,7 @@
28094
28172
  var defaultIndeterminateIcon = /*#__PURE__*/jsxRuntime_1(IndeterminateCheckBoxIcon, {});
28095
28173
  var Checkbox = /*#__PURE__*/React__namespace.forwardRef(function Checkbox(inProps, ref) {
28096
28174
  var _icon$props$fontSize, _indeterminateIcon$pr;
28097
- var props = useThemeProps$G({
28175
+ var props = useThemeProps$M({
28098
28176
  props: inProps,
28099
28177
  name: 'MuiCheckbox'
28100
28178
  });
@@ -28249,9 +28327,16 @@
28249
28327
  var circularProgressClasses$1 = circularProgressClasses;
28250
28328
 
28251
28329
  var _templateObject$2, _templateObject2$2, _templateObject3$2, _templateObject4$2;
28330
+ var useThemeProps$l = createUseThemeProps();
28252
28331
  var SIZE = 44;
28253
28332
  var circularRotateKeyframe = keyframes(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"])));
28254
28333
  var circularDashKeyframe = keyframes(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"])));
28334
+
28335
+ // This implementation is for supporting both Styled-components v4+ and Pigment CSS.
28336
+ // A global animation has to be created here for Styled-components v4+ (https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#12).
28337
+ // which can be done by checking typeof indeterminate1Keyframe !== 'string' (at runtime, Pigment CSS transform keyframes`` to a string).
28338
+ var rotateAnimation = typeof circularRotateKeyframe !== 'string' ? css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n animation: ", " 1.4s linear infinite;\n "])), circularRotateKeyframe) : null;
28339
+ var dashAnimation = typeof circularDashKeyframe !== 'string' ? css(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n animation: ", " 1.4s ease-in-out infinite;\n "])), circularDashKeyframe) : null;
28255
28340
  var useUtilityClasses$1g = function useUtilityClasses(ownerState) {
28256
28341
  var classes = ownerState.classes,
28257
28342
  variant = ownerState.variant,
@@ -28272,18 +28357,40 @@
28272
28357
  return [styles.root, styles[ownerState.variant], styles["color".concat(capitalize(ownerState.color))]];
28273
28358
  }
28274
28359
  })(function (_ref) {
28275
- var ownerState = _ref.ownerState,
28276
- theme = _ref.theme;
28277
- return _extends({
28278
- display: 'inline-block'
28279
- }, ownerState.variant === 'determinate' && {
28280
- transition: theme.transitions.create('transform')
28281
- }, ownerState.color !== 'inherit' && {
28282
- color: (theme.vars || theme).palette[ownerState.color].main
28283
- });
28284
- }, function (_ref2) {
28285
- var ownerState = _ref2.ownerState;
28286
- return ownerState.variant === 'indeterminate' && css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n animation: ", " 1.4s linear infinite;\n "])), circularRotateKeyframe);
28360
+ var theme = _ref.theme;
28361
+ return {
28362
+ display: 'inline-block',
28363
+ variants: [{
28364
+ props: {
28365
+ variant: 'determinate'
28366
+ },
28367
+ style: {
28368
+ transition: theme.transitions.create('transform')
28369
+ }
28370
+ }, {
28371
+ props: {
28372
+ variant: 'indeterminate'
28373
+ },
28374
+ style: rotateAnimation || {
28375
+ animation: "".concat(circularRotateKeyframe, " 1.4s linear infinite")
28376
+ }
28377
+ }].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref2) {
28378
+ var _ref3 = _slicedToArray(_ref2, 2),
28379
+ palette = _ref3[1];
28380
+ return palette.main;
28381
+ }).map(function (_ref4) {
28382
+ var _ref5 = _slicedToArray(_ref4, 1),
28383
+ color = _ref5[0];
28384
+ return {
28385
+ props: {
28386
+ color: color
28387
+ },
28388
+ style: {
28389
+ color: (theme.vars || theme).palette[color].main
28390
+ }
28391
+ };
28392
+ })))
28393
+ };
28287
28394
  });
28288
28395
  var CircularProgressSVG = styled$1('svg', {
28289
28396
  name: 'MuiCircularProgress',
@@ -28301,21 +28408,37 @@
28301
28408
  var ownerState = props.ownerState;
28302
28409
  return [styles.circle, styles["circle".concat(capitalize(ownerState.variant))], ownerState.disableShrink && styles.circleDisableShrink];
28303
28410
  }
28304
- })(function (_ref3) {
28305
- var ownerState = _ref3.ownerState,
28306
- theme = _ref3.theme;
28307
- return _extends({
28308
- stroke: 'currentColor'
28309
- }, ownerState.variant === 'determinate' && {
28310
- transition: theme.transitions.create('stroke-dashoffset')
28311
- }, ownerState.variant === 'indeterminate' && {
28312
- // Some default value that looks fine waiting for the animation to kicks in.
28313
- strokeDasharray: '80px, 200px',
28314
- strokeDashoffset: 0 // Add the unit to fix a Edge 16 and below bug.
28315
- });
28316
- }, function (_ref4) {
28317
- var ownerState = _ref4.ownerState;
28318
- return ownerState.variant === 'indeterminate' && !ownerState.disableShrink && css(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n animation: ", " 1.4s ease-in-out infinite;\n "])), circularDashKeyframe);
28411
+ })(function (_ref6) {
28412
+ var theme = _ref6.theme;
28413
+ return {
28414
+ stroke: 'currentColor',
28415
+ variants: [{
28416
+ props: {
28417
+ variant: 'determinate'
28418
+ },
28419
+ style: {
28420
+ transition: theme.transitions.create('stroke-dashoffset')
28421
+ }
28422
+ }, {
28423
+ props: {
28424
+ variant: 'indeterminate'
28425
+ },
28426
+ style: {
28427
+ // Some default value that looks fine waiting for the animation to kicks in.
28428
+ strokeDasharray: '80px, 200px',
28429
+ strokeDashoffset: 0 // Add the unit to fix a Edge 16 and below bug.
28430
+ }
28431
+ }, {
28432
+ props: function props(_ref7) {
28433
+ var ownerState = _ref7.ownerState;
28434
+ return ownerState.variant === 'indeterminate' && !ownerState.disableShrink;
28435
+ },
28436
+ style: dashAnimation || {
28437
+ // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
28438
+ animation: "".concat(circularDashKeyframe, " 1.4s ease-in-out infinite")
28439
+ }
28440
+ }]
28441
+ };
28319
28442
  });
28320
28443
 
28321
28444
  /**
@@ -28326,7 +28449,7 @@
28326
28449
  * attribute to `true` on that region until it has finished loading.
28327
28450
  */
28328
28451
  var CircularProgress = /*#__PURE__*/React__namespace.forwardRef(function CircularProgress(inProps, ref) {
28329
- var props = useThemeProps$G({
28452
+ var props = useThemeProps$l({
28330
28453
  props: inProps,
28331
28454
  name: 'MuiCircularProgress'
28332
28455
  });
@@ -28467,7 +28590,7 @@
28467
28590
  }
28468
28591
  }),
28469
28592
  useThemeProps: function useThemeProps(inProps) {
28470
- return useThemeProps$G({
28593
+ return useThemeProps$M({
28471
28594
  props: inProps,
28472
28595
  name: 'MuiContainer'
28473
28596
  });
@@ -28590,7 +28713,7 @@
28590
28713
  return defaultStyles;
28591
28714
  };
28592
28715
  function CssBaseline(inProps) {
28593
- var props = useThemeProps$G({
28716
+ var props = useThemeProps$M({
28594
28717
  props: inProps,
28595
28718
  name: 'MuiCssBaseline'
28596
28719
  });
@@ -28663,7 +28786,7 @@
28663
28786
  var modalClasses = generateUtilityClasses$1('MuiModal', ['root', 'hidden', 'backdrop']);
28664
28787
  var modalClasses$1 = modalClasses;
28665
28788
 
28666
- var useThemeProps$f = createUseThemeProps();
28789
+ var useThemeProps$k = createUseThemeProps();
28667
28790
  var useUtilityClasses$1f = function useUtilityClasses(ownerState) {
28668
28791
  var open = ownerState.open,
28669
28792
  exited = ownerState.exited,
@@ -28726,7 +28849,7 @@
28726
28849
  */
28727
28850
  var Modal = /*#__PURE__*/React__namespace.forwardRef(function Modal(inProps, ref) {
28728
28851
  var _ref3, _slots$root, _ref4, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
28729
- var props = useThemeProps$f({
28852
+ var props = useThemeProps$k({
28730
28853
  name: 'MuiModal',
28731
28854
  props: inProps
28732
28855
  });
@@ -29180,7 +29303,7 @@
29180
29303
  * Dialogs are overlaid modal paper based components with a backdrop.
29181
29304
  */
29182
29305
  var Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps, ref) {
29183
- var props = useThemeProps$G({
29306
+ var props = useThemeProps$M({
29184
29307
  props: inProps,
29185
29308
  name: 'MuiDialog'
29186
29309
  });
@@ -29204,6 +29327,7 @@
29204
29327
  _props$maxWidth = props.maxWidth,
29205
29328
  maxWidth = _props$maxWidth === void 0 ? 'sm' : _props$maxWidth,
29206
29329
  onBackdropClick = props.onBackdropClick,
29330
+ onClick = props.onClick,
29207
29331
  onClose = props.onClose,
29208
29332
  open = props.open,
29209
29333
  _props$PaperComponent = props.PaperComponent,
@@ -29217,7 +29341,7 @@
29217
29341
  _props$transitionDura = props.transitionDuration,
29218
29342
  transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,
29219
29343
  TransitionProps = props.TransitionProps,
29220
- other = _objectWithoutProperties(props, ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"]);
29344
+ other = _objectWithoutProperties(props, ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"]);
29221
29345
  var ownerState = _extends({}, props, {
29222
29346
  disableEscapeKeyDown: disableEscapeKeyDown,
29223
29347
  fullScreen: fullScreen,
@@ -29233,6 +29357,10 @@
29233
29357
  backdropClick.current = event.target === event.currentTarget;
29234
29358
  };
29235
29359
  var handleBackdropClick = function handleBackdropClick(event) {
29360
+ if (onClick) {
29361
+ onClick(event);
29362
+ }
29363
+
29236
29364
  // Ignore the events not coming from the "backdrop".
29237
29365
  if (!backdropClick.current) {
29238
29366
  return;
@@ -29371,6 +29499,10 @@
29371
29499
  * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
29372
29500
  */
29373
29501
  onBackdropClick: PropTypes.func,
29502
+ /**
29503
+ * @ignore
29504
+ */
29505
+ onClick: PropTypes.func,
29374
29506
  /**
29375
29507
  * Callback fired when the component requests to be closed.
29376
29508
  *
@@ -29464,7 +29596,7 @@
29464
29596
  });
29465
29597
  });
29466
29598
  var DialogActions = /*#__PURE__*/React__namespace.forwardRef(function DialogActions(inProps, ref) {
29467
- var props = useThemeProps$G({
29599
+ var props = useThemeProps$M({
29468
29600
  props: inProps,
29469
29601
  name: 'MuiDialogActions'
29470
29602
  });
@@ -29556,7 +29688,7 @@
29556
29688
  }));
29557
29689
  });
29558
29690
  var DialogContent = /*#__PURE__*/React__namespace.forwardRef(function DialogContent(inProps, ref) {
29559
- var props = useThemeProps$G({
29691
+ var props = useThemeProps$M({
29560
29692
  props: inProps,
29561
29693
  name: 'MuiDialogContent'
29562
29694
  });
@@ -29628,7 +29760,7 @@
29628
29760
  }
29629
29761
  })({});
29630
29762
  var DialogContentText = /*#__PURE__*/React__namespace.forwardRef(function DialogContentText(inProps, ref) {
29631
- var props = useThemeProps$G({
29763
+ var props = useThemeProps$M({
29632
29764
  props: inProps,
29633
29765
  name: 'MuiDialogContentText'
29634
29766
  });
@@ -29689,7 +29821,7 @@
29689
29821
  flex: '0 0 auto'
29690
29822
  });
29691
29823
  var DialogTitle = /*#__PURE__*/React__namespace.forwardRef(function DialogTitle(inProps, ref) {
29692
- var props = useThemeProps$G({
29824
+ var props = useThemeProps$M({
29693
29825
  props: inProps,
29694
29826
  name: 'MuiDialogTitle'
29695
29827
  });
@@ -29744,7 +29876,7 @@
29744
29876
  var dividerClasses = generateUtilityClasses$1('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
29745
29877
  var dividerClasses$1 = dividerClasses;
29746
29878
 
29747
- var useThemeProps$e = createUseThemeProps();
29879
+ var useThemeProps$j = createUseThemeProps();
29748
29880
  var useUtilityClasses$19 = function useUtilityClasses(ownerState) {
29749
29881
  var absolute = ownerState.absolute,
29750
29882
  children = ownerState.children,
@@ -29928,7 +30060,7 @@
29928
30060
  };
29929
30061
  });
29930
30062
  var Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProps, ref) {
29931
- var props = useThemeProps$e({
30063
+ var props = useThemeProps$j({
29932
30064
  props: inProps,
29933
30065
  name: 'MuiDivider'
29934
30066
  });
@@ -30477,7 +30609,7 @@
30477
30609
  * when `variant="temporary"` is set.
30478
30610
  */
30479
30611
  var Drawer = /*#__PURE__*/React__namespace.forwardRef(function Drawer(inProps, ref) {
30480
- var props = useThemeProps$G({
30612
+ var props = useThemeProps$M({
30481
30613
  props: inProps,
30482
30614
  name: 'MuiDrawer'
30483
30615
  });
@@ -30674,6 +30806,7 @@
30674
30806
  var fabClasses = generateUtilityClasses$1('MuiFab', ['root', 'primary', 'secondary', 'extended', 'circular', 'focusVisible', 'disabled', 'colorInherit', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'info', 'error', 'warning', 'success']);
30675
30807
  var fabClasses$1 = fabClasses;
30676
30808
 
30809
+ var useThemeProps$i = createUseThemeProps();
30677
30810
  var useUtilityClasses$17 = function useUtilityClasses(ownerState) {
30678
30811
  var color = ownerState.color,
30679
30812
  variant = ownerState.variant,
@@ -30697,9 +30830,8 @@
30697
30830
  }
30698
30831
  })(function (_ref) {
30699
30832
  var _theme$palette$getCon, _theme$palette;
30700
- var theme = _ref.theme,
30701
- ownerState = _ref.ownerState;
30702
- return _extends({}, theme.typography.button, _defineProperty({
30833
+ var theme = _ref.theme;
30834
+ return _extends({}, theme.typography.button, _defineProperty(_defineProperty({
30703
30835
  minHeight: 36,
30704
30836
  transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color'], {
30705
30837
  duration: theme.transitions.duration["short"]
@@ -30726,50 +30858,97 @@
30726
30858
  }
30727
30859
  }, "&.".concat(fabClasses$1.focusVisible), {
30728
30860
  boxShadow: (theme.vars || theme).shadows[6]
30729
- }), ownerState.size === 'small' && {
30730
- width: 40,
30731
- height: 40
30732
- }, ownerState.size === 'medium' && {
30733
- width: 48,
30734
- height: 48
30735
- }, ownerState.variant === 'extended' && {
30736
- borderRadius: 48 / 2,
30737
- padding: '0 16px',
30738
- width: 'auto',
30739
- minHeight: 'auto',
30740
- minWidth: 48,
30741
- height: 48
30742
- }, ownerState.variant === 'extended' && ownerState.size === 'small' && {
30743
- width: 'auto',
30744
- padding: '0 8px',
30745
- borderRadius: 34 / 2,
30746
- minWidth: 34,
30747
- height: 34
30748
- }, ownerState.variant === 'extended' && ownerState.size === 'medium' && {
30749
- width: 'auto',
30750
- padding: '0 16px',
30751
- borderRadius: 40 / 2,
30752
- minWidth: 40,
30753
- height: 40
30754
- }, ownerState.color === 'inherit' && {
30755
- color: 'inherit'
30756
- });
30757
- }, function (_ref2) {
30758
- var theme = _ref2.theme,
30759
- ownerState = _ref2.ownerState;
30760
- return _extends({}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && (theme.vars || theme).palette[ownerState.color] != null && {
30761
- color: (theme.vars || theme).palette[ownerState.color].contrastText,
30762
- backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
30763
- '&:hover': {
30764
- backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
30765
- // Reset on touch devices, it doesn't add specificity
30766
- '@media (hover: none)': {
30767
- backgroundColor: (theme.vars || theme).palette[ownerState.color].main
30768
- }
30861
+ }), "variants", [{
30862
+ props: {
30863
+ size: 'small'
30864
+ },
30865
+ style: {
30866
+ width: 40,
30867
+ height: 40
30769
30868
  }
30770
- });
30771
- }, function (_ref3) {
30772
- var theme = _ref3.theme;
30869
+ }, {
30870
+ props: {
30871
+ size: 'medium'
30872
+ },
30873
+ style: {
30874
+ width: 48,
30875
+ height: 48
30876
+ }
30877
+ }, {
30878
+ props: {
30879
+ variant: 'extended'
30880
+ },
30881
+ style: {
30882
+ borderRadius: 48 / 2,
30883
+ padding: '0 16px',
30884
+ width: 'auto',
30885
+ minHeight: 'auto',
30886
+ minWidth: 48,
30887
+ height: 48
30888
+ }
30889
+ }, {
30890
+ props: {
30891
+ variant: 'extended',
30892
+ size: 'small'
30893
+ },
30894
+ style: {
30895
+ width: 'auto',
30896
+ padding: '0 8px',
30897
+ borderRadius: 34 / 2,
30898
+ minWidth: 34,
30899
+ height: 34
30900
+ }
30901
+ }, {
30902
+ props: {
30903
+ variant: 'extended',
30904
+ size: 'medium'
30905
+ },
30906
+ style: {
30907
+ width: 'auto',
30908
+ padding: '0 16px',
30909
+ borderRadius: 40 / 2,
30910
+ minWidth: 40,
30911
+ height: 40
30912
+ }
30913
+ }, {
30914
+ props: {
30915
+ color: 'inherit'
30916
+ },
30917
+ style: {
30918
+ color: 'inherit'
30919
+ }
30920
+ }]));
30921
+ }, function (_ref2) {
30922
+ var theme = _ref2.theme;
30923
+ return {
30924
+ variants: _toConsumableArray(Object.entries(theme.palette).filter(function (_ref3) {
30925
+ var _ref4 = _slicedToArray(_ref3, 2),
30926
+ value = _ref4[1];
30927
+ return value.main && value.dark && value.contrastText;
30928
+ }) // check all the used fields in the style below
30929
+ .map(function (_ref5) {
30930
+ var _ref6 = _slicedToArray(_ref5, 1),
30931
+ color = _ref6[0];
30932
+ return {
30933
+ props: {
30934
+ color: color
30935
+ },
30936
+ style: {
30937
+ color: (theme.vars || theme).palette[color].contrastText,
30938
+ backgroundColor: (theme.vars || theme).palette[color].main,
30939
+ '&:hover': {
30940
+ backgroundColor: (theme.vars || theme).palette[color].dark,
30941
+ // Reset on touch devices, it doesn't add specificity
30942
+ '@media (hover: none)': {
30943
+ backgroundColor: (theme.vars || theme).palette[color].main
30944
+ }
30945
+ }
30946
+ }
30947
+ };
30948
+ }))
30949
+ };
30950
+ }, function (_ref7) {
30951
+ var theme = _ref7.theme;
30773
30952
  return _defineProperty({}, "&.".concat(fabClasses$1.disabled), {
30774
30953
  color: (theme.vars || theme).palette.action.disabled,
30775
30954
  boxShadow: (theme.vars || theme).shadows[0],
@@ -30777,7 +30956,7 @@
30777
30956
  });
30778
30957
  });
30779
30958
  var Fab = /*#__PURE__*/React__namespace.forwardRef(function Fab(inProps, ref) {
30780
- var props = useThemeProps$G({
30959
+ var props = useThemeProps$i({
30781
30960
  props: inProps,
30782
30961
  name: 'MuiFab'
30783
30962
  });
@@ -31048,7 +31227,7 @@
31048
31227
  });
31049
31228
  var FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
31050
31229
  var _ref5, _slots$root, _ref6, _slots$input;
31051
- var props = useThemeProps$G({
31230
+ var props = useThemeProps$M({
31052
31231
  props: inProps,
31053
31232
  name: 'MuiFilledInput'
31054
31233
  });
@@ -31304,7 +31483,7 @@
31304
31483
  var formControlClasses = generateUtilityClasses$1('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
31305
31484
  var formControlClasses$1 = formControlClasses;
31306
31485
 
31307
- var useThemeProps$d = createUseThemeProps();
31486
+ var useThemeProps$h = createUseThemeProps();
31308
31487
  var useUtilityClasses$15 = function useUtilityClasses(ownerState) {
31309
31488
  var classes = ownerState.classes,
31310
31489
  margin = ownerState.margin,
@@ -31383,7 +31562,7 @@
31383
31562
  * For instance, only one input can be focused at the same time, the state shouldn't be shared.
31384
31563
  */
31385
31564
  var FormControl = /*#__PURE__*/React__namespace.forwardRef(function FormControl(inProps, ref) {
31386
- var props = useThemeProps$d({
31565
+ var props = useThemeProps$h({
31387
31566
  props: inProps,
31388
31567
  name: 'MuiFormControl'
31389
31568
  });
@@ -31614,7 +31793,7 @@
31614
31793
  }
31615
31794
  }),
31616
31795
  useThemeProps: function useThemeProps(inProps) {
31617
- return useThemeProps$G({
31796
+ return useThemeProps$M({
31618
31797
  props: inProps,
31619
31798
  name: 'MuiStack'
31620
31799
  });
@@ -31675,7 +31854,7 @@
31675
31854
  var formControlLabelClasses = generateUtilityClasses$1('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error', 'required', 'asterisk']);
31676
31855
  var formControlLabelClasses$1 = formControlLabelClasses;
31677
31856
 
31678
- var useThemeProps$c = createUseThemeProps();
31857
+ var useThemeProps$g = createUseThemeProps();
31679
31858
  var useUtilityClasses$14 = function useUtilityClasses(ownerState) {
31680
31859
  var classes = ownerState.classes,
31681
31860
  disabled = ownerState.disabled,
@@ -31762,7 +31941,7 @@
31762
31941
  */
31763
31942
  var FormControlLabel = /*#__PURE__*/React__namespace.forwardRef(function FormControlLabel(inProps, ref) {
31764
31943
  var _ref7, _slotProps$typography;
31765
- var props = useThemeProps$c({
31944
+ var props = useThemeProps$g({
31766
31945
  props: inProps,
31767
31946
  name: 'MuiFormControlLabel'
31768
31947
  });
@@ -31922,7 +32101,7 @@
31922
32101
  var formGroupClasses = generateUtilityClasses$1('MuiFormGroup', ['root', 'row', 'error']);
31923
32102
  var formGroupClasses$1 = formGroupClasses;
31924
32103
 
31925
- var useThemeProps$b = createUseThemeProps();
32104
+ var useThemeProps$f = createUseThemeProps();
31926
32105
  var useUtilityClasses$13 = function useUtilityClasses(ownerState) {
31927
32106
  var classes = ownerState.classes,
31928
32107
  row = ownerState.row,
@@ -31959,7 +32138,7 @@
31959
32138
  * For the `Radio`, you should be using the `RadioGroup` component instead of this one.
31960
32139
  */
31961
32140
  var FormGroup = /*#__PURE__*/React__namespace.forwardRef(function FormGroup(inProps, ref) {
31962
- var props = useThemeProps$b({
32141
+ var props = useThemeProps$f({
31963
32142
  props: inProps,
31964
32143
  name: 'MuiFormGroup'
31965
32144
  });
@@ -32064,7 +32243,7 @@
32064
32243
  });
32065
32244
  });
32066
32245
  var FormHelperText = /*#__PURE__*/React__namespace.forwardRef(function FormHelperText(inProps, ref) {
32067
- var props = useThemeProps$G({
32246
+ var props = useThemeProps$M({
32068
32247
  props: inProps,
32069
32248
  name: 'MuiFormHelperText'
32070
32249
  });
@@ -32228,7 +32407,7 @@
32228
32407
  });
32229
32408
  });
32230
32409
  var FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(inProps, ref) {
32231
- var props = useThemeProps$G({
32410
+ var props = useThemeProps$M({
32232
32411
  props: inProps,
32233
32412
  name: 'MuiFormLabel'
32234
32413
  });
@@ -32687,7 +32866,7 @@
32687
32866
  return composeClasses(slots, getGridUtilityClass, classes);
32688
32867
  };
32689
32868
  var Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref) {
32690
- var themeProps = useThemeProps$G({
32869
+ var themeProps = useThemeProps$M({
32691
32870
  props: inProps,
32692
32871
  name: 'MuiGrid'
32693
32872
  });
@@ -32905,7 +33084,7 @@
32905
33084
  }),
32906
33085
  componentName: 'MuiGrid2',
32907
33086
  useThemeProps: function useThemeProps(inProps) {
32908
- return useThemeProps$G({
33087
+ return useThemeProps$M({
32909
33088
  props: inProps,
32910
33089
  name: 'MuiGrid2'
32911
33090
  });
@@ -33757,7 +33936,7 @@
33757
33936
  };
33758
33937
  });
33759
33938
  var Icon = /*#__PURE__*/React__namespace.forwardRef(function Icon(inProps, ref) {
33760
- var props = useThemeProps$G({
33939
+ var props = useThemeProps$M({
33761
33940
  props: inProps,
33762
33941
  name: 'MuiIcon'
33763
33942
  });
@@ -33882,7 +34061,7 @@
33882
34061
  });
33883
34062
  });
33884
34063
  var ImageList = /*#__PURE__*/React__namespace.forwardRef(function ImageList(inProps, ref) {
33885
- var props = useThemeProps$G({
34064
+ var props = useThemeProps$M({
33886
34065
  props: inProps,
33887
34066
  name: 'MuiImageList'
33888
34067
  });
@@ -34043,7 +34222,7 @@
34043
34222
  })));
34044
34223
  });
34045
34224
  var ImageListItem = /*#__PURE__*/React__namespace.forwardRef(function ImageListItem(inProps, ref) {
34046
- var props = useThemeProps$G({
34225
+ var props = useThemeProps$M({
34047
34226
  props: inProps,
34048
34227
  name: 'MuiImageListItem'
34049
34228
  });
@@ -34271,7 +34450,7 @@
34271
34450
  });
34272
34451
  });
34273
34452
  var ImageListItemBar = /*#__PURE__*/React__namespace.forwardRef(function ImageListItemBar(inProps, ref) {
34274
- var props = useThemeProps$G({
34453
+ var props = useThemeProps$M({
34275
34454
  props: inProps,
34276
34455
  name: 'MuiImageListItemBar'
34277
34456
  });
@@ -34445,7 +34624,7 @@
34445
34624
  })({});
34446
34625
  var Input = /*#__PURE__*/React__namespace.forwardRef(function Input(inProps, ref) {
34447
34626
  var _ref3, _slots$root, _ref4, _slots$input;
34448
- var props = useThemeProps$G({
34627
+ var props = useThemeProps$M({
34449
34628
  props: inProps,
34450
34629
  name: 'MuiInput'
34451
34630
  });
@@ -34733,7 +34912,7 @@
34733
34912
  });
34734
34913
  });
34735
34914
  var InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAdornment(inProps, ref) {
34736
- var props = useThemeProps$G({
34915
+ var props = useThemeProps$M({
34737
34916
  props: inProps,
34738
34917
  name: 'MuiInputAdornment'
34739
34918
  });
@@ -34933,7 +35112,7 @@
34933
35112
  }));
34934
35113
  });
34935
35114
  var InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(inProps, ref) {
34936
- var props = useThemeProps$G({
35115
+ var props = useThemeProps$M({
34937
35116
  name: 'MuiInputLabel',
34938
35117
  props: inProps
34939
35118
  });
@@ -35049,10 +35228,18 @@
35049
35228
  var linearProgressClasses$1 = linearProgressClasses;
35050
35229
 
35051
35230
  var _templateObject$1, _templateObject2$1, _templateObject3$1, _templateObject4$1, _templateObject5, _templateObject6;
35231
+ var useThemeProps$e = createUseThemeProps();
35052
35232
  var TRANSITION_DURATION = 4; // seconds
35053
35233
  var indeterminate1Keyframe = keyframes(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n"])));
35054
- var indeterminate2Keyframe = keyframes(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"])));
35055
- var bufferKeyframe = keyframes(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n background-position: 0 -23px;\n }\n\n 60% {\n opacity: 0;\n background-position: 0 -23px;\n }\n\n 100% {\n opacity: 1;\n background-position: -200px -23px;\n }\n"])));
35234
+
35235
+ // This implementation is for supporting both Styled-components v4+ and Pigment CSS.
35236
+ // A global animation has to be created here for Styled-components v4+ (https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#12).
35237
+ // which can be done by checking typeof indeterminate1Keyframe !== 'string' (at runtime, Pigment CSS transform keyframes`` to a string).
35238
+ var indeterminate1Animation = typeof indeterminate1Keyframe !== 'string' ? css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n animation: ", " 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n "])), indeterminate1Keyframe) : null;
35239
+ var indeterminate2Keyframe = keyframes(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"])));
35240
+ var indeterminate2Animation = typeof indeterminate2Keyframe !== 'string' ? css(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n animation: ", " 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n "])), indeterminate2Keyframe) : null;
35241
+ var bufferKeyframe = keyframes(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n background-position: 0 -23px;\n }\n\n 60% {\n opacity: 0;\n background-position: 0 -23px;\n }\n\n 100% {\n opacity: 1;\n background-position: -200px -23px;\n }\n"])));
35242
+ var bufferAnimation = typeof bufferKeyframe !== 'string' ? css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n animation: ", " 3s infinite linear;\n "])), bufferKeyframe) : null;
35056
35243
  var useUtilityClasses$T = function useUtilityClasses(ownerState) {
35057
35244
  var classes = ownerState.classes,
35058
35245
  variant = ownerState.variant,
@@ -35066,9 +35253,6 @@
35066
35253
  return composeClasses(slots, getLinearProgressUtilityClass, classes);
35067
35254
  };
35068
35255
  var getColorShade = function getColorShade(theme, color) {
35069
- if (color === 'inherit') {
35070
- return 'currentColor';
35071
- }
35072
35256
  if (theme.vars) {
35073
35257
  return theme.vars.palette.LinearProgress["".concat(color, "Bg")];
35074
35258
  }
@@ -35082,36 +35266,65 @@
35082
35266
  return [styles.root, styles["color".concat(capitalize(ownerState.color))], styles[ownerState.variant]];
35083
35267
  }
35084
35268
  })(function (_ref) {
35085
- var ownerState = _ref.ownerState,
35086
- theme = _ref.theme;
35087
- return _extends({
35269
+ var theme = _ref.theme;
35270
+ return {
35088
35271
  position: 'relative',
35089
35272
  overflow: 'hidden',
35090
35273
  display: 'block',
35091
35274
  height: 4,
35092
- zIndex: 0,
35093
35275
  // Fix Safari's bug during composition of different paint.
35276
+ zIndex: 0,
35094
35277
  '@media print': {
35095
35278
  colorAdjust: 'exact'
35096
35279
  },
35097
- backgroundColor: getColorShade(theme, ownerState.color)
35098
- }, ownerState.color === 'inherit' && ownerState.variant !== 'buffer' && {
35099
- backgroundColor: 'none',
35100
- '&::before': {
35101
- content: '""',
35102
- position: 'absolute',
35103
- left: 0,
35104
- top: 0,
35105
- right: 0,
35106
- bottom: 0,
35107
- backgroundColor: 'currentColor',
35108
- opacity: 0.3
35109
- }
35110
- }, ownerState.variant === 'buffer' && {
35111
- backgroundColor: 'transparent'
35112
- }, ownerState.variant === 'query' && {
35113
- transform: 'rotate(180deg)'
35114
- });
35280
+ variants: [].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref2) {
35281
+ var _ref3 = _slicedToArray(_ref2, 2),
35282
+ value = _ref3[1];
35283
+ return value.main;
35284
+ }).map(function (_ref4) {
35285
+ var _ref5 = _slicedToArray(_ref4, 1),
35286
+ color = _ref5[0];
35287
+ return {
35288
+ props: {
35289
+ color: color
35290
+ },
35291
+ style: {
35292
+ backgroundColor: getColorShade(theme, color)
35293
+ }
35294
+ };
35295
+ })), [{
35296
+ props: function props(_ref6) {
35297
+ var ownerState = _ref6.ownerState;
35298
+ return ownerState.color === 'inherit' && ownerState.variant !== 'buffer';
35299
+ },
35300
+ style: {
35301
+ '&::before': {
35302
+ content: '""',
35303
+ position: 'absolute',
35304
+ left: 0,
35305
+ top: 0,
35306
+ right: 0,
35307
+ bottom: 0,
35308
+ backgroundColor: 'currentColor',
35309
+ opacity: 0.3
35310
+ }
35311
+ }
35312
+ }, {
35313
+ props: {
35314
+ variant: 'buffer'
35315
+ },
35316
+ style: {
35317
+ backgroundColor: 'transparent'
35318
+ }
35319
+ }, {
35320
+ props: {
35321
+ variant: 'query'
35322
+ },
35323
+ style: {
35324
+ transform: 'rotate(180deg)'
35325
+ }
35326
+ }])
35327
+ };
35115
35328
  });
35116
35329
  var LinearProgressDashed = styled$1('span', {
35117
35330
  name: 'MuiLinearProgress',
@@ -35120,23 +35333,45 @@
35120
35333
  var ownerState = props.ownerState;
35121
35334
  return [styles.dashed, styles["dashedColor".concat(capitalize(ownerState.color))]];
35122
35335
  }
35123
- })(function (_ref2) {
35124
- var ownerState = _ref2.ownerState,
35125
- theme = _ref2.theme;
35126
- var backgroundColor = getColorShade(theme, ownerState.color);
35127
- return _extends({
35336
+ })(function (_ref7) {
35337
+ var theme = _ref7.theme;
35338
+ return {
35128
35339
  position: 'absolute',
35129
35340
  marginTop: 0,
35130
35341
  height: '100%',
35131
- width: '100%'
35132
- }, ownerState.color === 'inherit' && {
35133
- opacity: 0.3
35134
- }, {
35135
- backgroundImage: "radial-gradient(".concat(backgroundColor, " 0%, ").concat(backgroundColor, " 16%, transparent 42%)"),
35342
+ width: '100%',
35136
35343
  backgroundSize: '10px 10px',
35137
- backgroundPosition: '0 -23px'
35138
- });
35139
- }, css(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n animation: ", " 3s infinite linear;\n "])), bufferKeyframe));
35344
+ backgroundPosition: '0 -23px',
35345
+ variants: [{
35346
+ props: {
35347
+ color: 'inherit'
35348
+ },
35349
+ style: {
35350
+ opacity: 0.3,
35351
+ backgroundImage: "radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"
35352
+ }
35353
+ }].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref8) {
35354
+ var _ref9 = _slicedToArray(_ref8, 2),
35355
+ value = _ref9[1];
35356
+ return value.main;
35357
+ }).map(function (_ref10) {
35358
+ var _ref11 = _slicedToArray(_ref10, 1),
35359
+ color = _ref11[0];
35360
+ var backgroundColor = getColorShade(theme, color);
35361
+ return {
35362
+ props: {
35363
+ color: color
35364
+ },
35365
+ style: {
35366
+ backgroundImage: "radial-gradient(".concat(backgroundColor, " 0%, ").concat(backgroundColor, " 16%, transparent 42%)")
35367
+ }
35368
+ };
35369
+ })))
35370
+ };
35371
+ }, bufferAnimation || {
35372
+ // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
35373
+ animation: "".concat(bufferKeyframe, " 3s infinite linear")
35374
+ });
35140
35375
  var LinearProgressBar1 = styled$1('span', {
35141
35376
  name: 'MuiLinearProgress',
35142
35377
  slot: 'Bar1',
@@ -35144,10 +35379,9 @@
35144
35379
  var ownerState = props.ownerState;
35145
35380
  return [styles.bar, styles["barColor".concat(capitalize(ownerState.color))], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar1Indeterminate, ownerState.variant === 'determinate' && styles.bar1Determinate, ownerState.variant === 'buffer' && styles.bar1Buffer];
35146
35381
  }
35147
- })(function (_ref3) {
35148
- var ownerState = _ref3.ownerState,
35149
- theme = _ref3.theme;
35150
- return _extends({
35382
+ })(function (_ref12) {
35383
+ var theme = _ref12.theme;
35384
+ return {
35151
35385
  width: '100%',
35152
35386
  position: 'absolute',
35153
35387
  left: 0,
@@ -35155,16 +35389,61 @@
35155
35389
  top: 0,
35156
35390
  transition: 'transform 0.2s linear',
35157
35391
  transformOrigin: 'left',
35158
- backgroundColor: ownerState.color === 'inherit' ? 'currentColor' : (theme.vars || theme).palette[ownerState.color].main
35159
- }, ownerState.variant === 'determinate' && {
35160
- transition: "transform .".concat(TRANSITION_DURATION, "s linear")
35161
- }, ownerState.variant === 'buffer' && {
35162
- zIndex: 1,
35163
- transition: "transform .".concat(TRANSITION_DURATION, "s linear")
35164
- });
35165
- }, function (_ref4) {
35166
- var ownerState = _ref4.ownerState;
35167
- return (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n width: auto;\n animation: ", " 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n "])), indeterminate1Keyframe);
35392
+ variants: [{
35393
+ props: {
35394
+ color: 'inherit'
35395
+ },
35396
+ style: {
35397
+ backgroundColor: 'currentColor'
35398
+ }
35399
+ }].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref13) {
35400
+ var _ref14 = _slicedToArray(_ref13, 2),
35401
+ value = _ref14[1];
35402
+ return value.main;
35403
+ }).map(function (_ref15) {
35404
+ var _ref16 = _slicedToArray(_ref15, 1),
35405
+ color = _ref16[0];
35406
+ return {
35407
+ props: {
35408
+ color: color
35409
+ },
35410
+ style: {
35411
+ backgroundColor: (theme.vars || theme).palette[color].main
35412
+ }
35413
+ };
35414
+ })), [{
35415
+ props: {
35416
+ variant: 'determinate'
35417
+ },
35418
+ style: {
35419
+ transition: "transform .".concat(TRANSITION_DURATION, "s linear")
35420
+ }
35421
+ }, {
35422
+ props: {
35423
+ variant: 'buffer'
35424
+ },
35425
+ style: {
35426
+ zIndex: 1,
35427
+ transition: "transform .".concat(TRANSITION_DURATION, "s linear")
35428
+ }
35429
+ }, {
35430
+ props: function props(_ref17) {
35431
+ var ownerState = _ref17.ownerState;
35432
+ return ownerState.variant === 'indeterminate' || ownerState.variant === 'query';
35433
+ },
35434
+ style: {
35435
+ width: 'auto'
35436
+ }
35437
+ }, {
35438
+ props: function props(_ref18) {
35439
+ var ownerState = _ref18.ownerState;
35440
+ return ownerState.variant === 'indeterminate' || ownerState.variant === 'query';
35441
+ },
35442
+ style: indeterminate1Animation || {
35443
+ animation: "".concat(indeterminate1Keyframe, " 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite")
35444
+ }
35445
+ }])
35446
+ };
35168
35447
  });
35169
35448
  var LinearProgressBar2 = styled$1('span', {
35170
35449
  name: 'MuiLinearProgress',
@@ -35173,28 +35452,81 @@
35173
35452
  var ownerState = props.ownerState;
35174
35453
  return [styles.bar, styles["barColor".concat(capitalize(ownerState.color))], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar2Indeterminate, ownerState.variant === 'buffer' && styles.bar2Buffer];
35175
35454
  }
35176
- })(function (_ref5) {
35177
- var ownerState = _ref5.ownerState,
35178
- theme = _ref5.theme;
35179
- return _extends({
35455
+ })(function (_ref19) {
35456
+ var theme = _ref19.theme;
35457
+ return {
35180
35458
  width: '100%',
35181
35459
  position: 'absolute',
35182
35460
  left: 0,
35183
35461
  bottom: 0,
35184
35462
  top: 0,
35185
35463
  transition: 'transform 0.2s linear',
35186
- transformOrigin: 'left'
35187
- }, ownerState.variant !== 'buffer' && {
35188
- backgroundColor: ownerState.color === 'inherit' ? 'currentColor' : (theme.vars || theme).palette[ownerState.color].main
35189
- }, ownerState.color === 'inherit' && {
35190
- opacity: 0.3
35191
- }, ownerState.variant === 'buffer' && {
35192
- backgroundColor: getColorShade(theme, ownerState.color),
35193
- transition: "transform .".concat(TRANSITION_DURATION, "s linear")
35194
- });
35195
- }, function (_ref6) {
35196
- var ownerState = _ref6.ownerState;
35197
- return (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n width: auto;\n animation: ", " 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n "])), indeterminate2Keyframe);
35464
+ transformOrigin: 'left',
35465
+ variants: [].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref20) {
35466
+ var _ref21 = _slicedToArray(_ref20, 2),
35467
+ value = _ref21[1];
35468
+ return value.main;
35469
+ }).map(function (_ref22) {
35470
+ var _ref23 = _slicedToArray(_ref22, 1),
35471
+ color = _ref23[0];
35472
+ return {
35473
+ props: {
35474
+ color: color
35475
+ },
35476
+ style: {
35477
+ '--LinearProgressBar2-barColor': (theme.vars || theme).palette[color].main
35478
+ }
35479
+ };
35480
+ })), [{
35481
+ props: function props(_ref24) {
35482
+ var ownerState = _ref24.ownerState;
35483
+ return ownerState.variant !== 'buffer' && ownerState.color !== 'inherit';
35484
+ },
35485
+ style: {
35486
+ backgroundColor: 'var(--LinearProgressBar2-barColor, currentColor)'
35487
+ }
35488
+ }, {
35489
+ props: {
35490
+ color: 'inherit'
35491
+ },
35492
+ style: {
35493
+ opacity: 0.3
35494
+ }
35495
+ }], _toConsumableArray(Object.entries(theme.palette).filter(function (_ref25) {
35496
+ var _ref26 = _slicedToArray(_ref25, 2),
35497
+ value = _ref26[1];
35498
+ return value.main;
35499
+ }).map(function (_ref27) {
35500
+ var _ref28 = _slicedToArray(_ref27, 1),
35501
+ color = _ref28[0];
35502
+ return {
35503
+ props: {
35504
+ color: color,
35505
+ variant: 'buffer'
35506
+ },
35507
+ style: {
35508
+ backgroundColor: getColorShade(theme, color),
35509
+ transition: "transform .".concat(TRANSITION_DURATION, "s linear")
35510
+ }
35511
+ };
35512
+ })), [{
35513
+ props: function props(_ref29) {
35514
+ var ownerState = _ref29.ownerState;
35515
+ return ownerState.variant === 'indeterminate' || ownerState.variant === 'query';
35516
+ },
35517
+ style: {
35518
+ width: 'auto'
35519
+ }
35520
+ }, {
35521
+ props: function props(_ref30) {
35522
+ var ownerState = _ref30.ownerState;
35523
+ return ownerState.variant === 'indeterminate' || ownerState.variant === 'query';
35524
+ },
35525
+ style: indeterminate2Animation || {
35526
+ animation: "".concat(indeterminate2Keyframe, " 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite")
35527
+ }
35528
+ }])
35529
+ };
35198
35530
  });
35199
35531
 
35200
35532
  /**
@@ -35205,7 +35537,7 @@
35205
35537
  * attribute to `true` on that region until it has finished loading.
35206
35538
  */
35207
35539
  var LinearProgress = /*#__PURE__*/React__namespace.forwardRef(function LinearProgress(inProps, ref) {
35208
- var props = useThemeProps$G({
35540
+ var props = useThemeProps$e({
35209
35541
  props: inProps,
35210
35542
  name: 'MuiLinearProgress'
35211
35543
  });
@@ -35412,7 +35744,7 @@
35412
35744
  }));
35413
35745
  });
35414
35746
  var Link = /*#__PURE__*/React__namespace.forwardRef(function Link(inProps, ref) {
35415
- var props = useThemeProps$G({
35747
+ var props = useThemeProps$M({
35416
35748
  props: inProps,
35417
35749
  name: 'MuiLink'
35418
35750
  });
@@ -35583,7 +35915,7 @@
35583
35915
  });
35584
35916
  });
35585
35917
  var List = /*#__PURE__*/React__namespace.forwardRef(function List(inProps, ref) {
35586
- var props = useThemeProps$G({
35918
+ var props = useThemeProps$M({
35587
35919
  props: inProps,
35588
35920
  name: 'MuiList'
35589
35921
  });
@@ -35756,7 +36088,7 @@
35756
36088
  });
35757
36089
  });
35758
36090
  var ListItemButton = /*#__PURE__*/React__namespace.forwardRef(function ListItemButton(inProps, ref) {
35759
- var props = useThemeProps$G({
36091
+ var props = useThemeProps$M({
35760
36092
  props: inProps,
35761
36093
  name: 'MuiListItemButton'
35762
36094
  });
@@ -35939,7 +36271,7 @@
35939
36271
  * Must be used as the last child of ListItem to function properly.
35940
36272
  */
35941
36273
  var ListItemSecondaryAction = /*#__PURE__*/React__namespace.forwardRef(function ListItemSecondaryAction(inProps, ref) {
35942
- var props = useThemeProps$G({
36274
+ var props = useThemeProps$M({
35943
36275
  props: inProps,
35944
36276
  name: 'MuiListItemSecondaryAction'
35945
36277
  });
@@ -36084,7 +36416,7 @@
36084
36416
  * Uses an additional container component if `ListItemSecondaryAction` is the last child.
36085
36417
  */
36086
36418
  var ListItem = /*#__PURE__*/React__namespace.forwardRef(function ListItem(inProps, ref) {
36087
- var props = useThemeProps$G({
36419
+ var props = useThemeProps$M({
36088
36420
  props: inProps,
36089
36421
  name: 'MuiListItem'
36090
36422
  });
@@ -36418,7 +36750,7 @@
36418
36750
  * A simple wrapper to apply `List` styles to an `Avatar`.
36419
36751
  */
36420
36752
  var ListItemAvatar = /*#__PURE__*/React__namespace.forwardRef(function ListItemAvatar(inProps, ref) {
36421
- var props = useThemeProps$G({
36753
+ var props = useThemeProps$M({
36422
36754
  props: inProps,
36423
36755
  name: 'MuiListItemAvatar'
36424
36756
  });
@@ -36497,7 +36829,7 @@
36497
36829
  * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
36498
36830
  */
36499
36831
  var ListItemIcon = /*#__PURE__*/React__namespace.forwardRef(function ListItemIcon(inProps, ref) {
36500
- var props = useThemeProps$G({
36832
+ var props = useThemeProps$M({
36501
36833
  props: inProps,
36502
36834
  name: 'MuiListItemIcon'
36503
36835
  });
@@ -36580,7 +36912,7 @@
36580
36912
  });
36581
36913
  });
36582
36914
  var ListItemText = /*#__PURE__*/React__namespace.forwardRef(function ListItemText(inProps, ref) {
36583
- var props = useThemeProps$G({
36915
+ var props = useThemeProps$M({
36584
36916
  props: inProps,
36585
36917
  name: 'MuiListItemText'
36586
36918
  });
@@ -36970,7 +37302,7 @@
36970
37302
  var popoverClasses = generateUtilityClasses$1('MuiPopover', ['root', 'paper']);
36971
37303
  var popoverClasses$1 = popoverClasses;
36972
37304
 
36973
- var useThemeProps$a = createUseThemeProps();
37305
+ var useThemeProps$d = createUseThemeProps();
36974
37306
  function getOffsetTop(rect, vertical) {
36975
37307
  var offset = 0;
36976
37308
  if (typeof vertical === 'number') {
@@ -37037,7 +37369,7 @@
37037
37369
  });
37038
37370
  var Popover = /*#__PURE__*/React__namespace.forwardRef(function Popover(inProps, ref) {
37039
37371
  var _slotProps$paper, _slots$root, _slots$paper;
37040
- var props = useThemeProps$a({
37372
+ var props = useThemeProps$d({
37041
37373
  props: inProps,
37042
37374
  name: 'MuiPopover'
37043
37375
  });
@@ -37554,7 +37886,7 @@
37554
37886
  });
37555
37887
  var Menu = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, ref) {
37556
37888
  var _slots$paper, _slotProps$paper;
37557
- var props = useThemeProps$G({
37889
+ var props = useThemeProps$M({
37558
37890
  props: inProps,
37559
37891
  name: 'MuiMenu'
37560
37892
  });
@@ -37898,7 +38230,7 @@
37898
38230
  })));
37899
38231
  });
37900
38232
  var MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(inProps, ref) {
37901
- var props = useThemeProps$G({
38233
+ var props = useThemeProps$M({
37902
38234
  props: inProps,
37903
38235
  name: 'MuiMenuItem'
37904
38236
  });
@@ -38044,7 +38376,7 @@
38044
38376
  var mobileStepperClasses = generateUtilityClasses$1('MuiMobileStepper', ['root', 'positionBottom', 'positionTop', 'positionStatic', 'dots', 'dot', 'dotActive', 'progress']);
38045
38377
  var mobileStepperClasses$1 = mobileStepperClasses;
38046
38378
 
38047
- var useThemeProps$9 = createUseThemeProps();
38379
+ var useThemeProps$c = createUseThemeProps();
38048
38380
  var useUtilityClasses$H = function useUtilityClasses(ownerState) {
38049
38381
  var classes = ownerState.classes,
38050
38382
  position = ownerState.position;
@@ -38173,7 +38505,7 @@
38173
38505
  }]
38174
38506
  });
38175
38507
  var MobileStepper = /*#__PURE__*/React__namespace.forwardRef(function MobileStepper(inProps, ref) {
38176
- var props = useThemeProps$9({
38508
+ var props = useThemeProps$c({
38177
38509
  props: inProps,
38178
38510
  name: 'MuiMobileStepper'
38179
38511
  });
@@ -38490,7 +38822,7 @@
38490
38822
  * An alternative to `<Select native />` with a much smaller bundle size footprint.
38491
38823
  */
38492
38824
  var NativeSelect = /*#__PURE__*/React__namespace.forwardRef(function NativeSelect(inProps, ref) {
38493
- var props = useThemeProps$G({
38825
+ var props = useThemeProps$M({
38494
38826
  name: 'MuiNativeSelect',
38495
38827
  props: inProps
38496
38828
  });
@@ -38815,7 +39147,7 @@
38815
39147
  });
38816
39148
  var OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
38817
39149
  var _ref5, _slots$root, _ref6, _slots$input, _React$Fragment;
38818
- var props = useThemeProps$G({
39150
+ var props = useThemeProps$M({
38819
39151
  props: inProps,
38820
39152
  name: 'MuiOutlinedInput'
38821
39153
  });
@@ -39194,6 +39526,7 @@
39194
39526
  d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
39195
39527
  }), 'NavigateNext');
39196
39528
 
39529
+ var useThemeProps$b = createUseThemeProps();
39197
39530
  var overridesResolver = function overridesResolver(props, styles) {
39198
39531
  var ownerState = props.ownerState;
39199
39532
  return [styles.root, styles[ownerState.variant], styles["size".concat(capitalize(ownerState.size))], ownerState.variant === 'text' && styles["text".concat(capitalize(ownerState.color))], ownerState.variant === 'outlined' && styles["outlined".concat(capitalize(ownerState.color))], ownerState.shape === 'rounded' && styles.rounded, ownerState.type === 'page' && styles.page, (ownerState.type === 'start-ellipsis' || ownerState.type === 'end-ellipsis') && styles.ellipsis, (ownerState.type === 'previous' || ownerState.type === 'next') && styles.previousNext, (ownerState.type === 'first' || ownerState.type === 'last') && styles.firstLast];
@@ -39226,9 +39559,8 @@
39226
39559
  slot: 'Root',
39227
39560
  overridesResolver: overridesResolver
39228
39561
  })(function (_ref) {
39229
- var theme = _ref.theme,
39230
- ownerState = _ref.ownerState;
39231
- return _extends({}, theme.typography.body2, _defineProperty({
39562
+ var theme = _ref.theme;
39563
+ return _extends({}, theme.typography.body2, _defineProperty(_defineProperty({
39232
39564
  borderRadius: 32 / 2,
39233
39565
  textAlign: 'center',
39234
39566
  boxSizing: 'border-box',
@@ -39239,26 +39571,35 @@
39239
39571
  height: 'auto'
39240
39572
  }, "&.".concat(paginationItemClasses$1.disabled), {
39241
39573
  opacity: (theme.vars || theme).palette.action.disabledOpacity
39242
- }), ownerState.size === 'small' && {
39243
- minWidth: 26,
39244
- borderRadius: 26 / 2,
39245
- margin: '0 1px',
39246
- padding: '0 4px'
39247
- }, ownerState.size === 'large' && {
39248
- minWidth: 40,
39249
- borderRadius: 40 / 2,
39250
- padding: '0 10px',
39251
- fontSize: theme.typography.pxToRem(15)
39252
- });
39574
+ }), "variants", [{
39575
+ props: {
39576
+ size: 'small'
39577
+ },
39578
+ style: {
39579
+ minWidth: 26,
39580
+ borderRadius: 26 / 2,
39581
+ margin: '0 1px',
39582
+ padding: '0 4px'
39583
+ }
39584
+ }, {
39585
+ props: {
39586
+ size: 'large'
39587
+ },
39588
+ style: {
39589
+ minWidth: 40,
39590
+ borderRadius: 40 / 2,
39591
+ padding: '0 10px',
39592
+ fontSize: theme.typography.pxToRem(15)
39593
+ }
39594
+ }]));
39253
39595
  });
39254
39596
  var PaginationItemPage = styled$1(ButtonBase$1, {
39255
39597
  name: 'MuiPaginationItem',
39256
39598
  slot: 'Root',
39257
39599
  overridesResolver: overridesResolver
39258
39600
  })(function (_ref2) {
39259
- var theme = _ref2.theme,
39260
- ownerState = _ref2.ownerState;
39261
- return _extends({}, theme.typography.body2, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
39601
+ var theme = _ref2.theme;
39602
+ return _extends({}, theme.typography.body2, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
39262
39603
  borderRadius: 32 / 2,
39263
39604
  textAlign: 'center',
39264
39605
  boxSizing: 'border-box',
@@ -39294,57 +39635,108 @@
39294
39635
  opacity: 1,
39295
39636
  color: (theme.vars || theme).palette.action.disabled,
39296
39637
  backgroundColor: (theme.vars || theme).palette.action.selected
39297
- })), ownerState.size === 'small' && {
39298
- minWidth: 26,
39299
- height: 26,
39300
- borderRadius: 26 / 2,
39301
- margin: '0 1px',
39302
- padding: '0 4px'
39303
- }, ownerState.size === 'large' && {
39304
- minWidth: 40,
39305
- height: 40,
39306
- borderRadius: 40 / 2,
39307
- padding: '0 10px',
39308
- fontSize: theme.typography.pxToRem(15)
39309
- }, ownerState.shape === 'rounded' && {
39310
- borderRadius: (theme.vars || theme).shape.borderRadius
39311
- });
39312
- }, function (_ref3) {
39313
- var theme = _ref3.theme,
39314
- ownerState = _ref3.ownerState;
39315
- return _extends({}, ownerState.variant === 'text' && _defineProperty({}, "&.".concat(paginationItemClasses$1.selected), _extends({}, ownerState.color !== 'standard' && _defineProperty({
39316
- color: (theme.vars || theme).palette[ownerState.color].contrastText,
39317
- backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
39318
- '&:hover': {
39319
- backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
39320
- // Reset on touch devices, it doesn't add specificity
39321
- '@media (hover: none)': {
39322
- backgroundColor: (theme.vars || theme).palette[ownerState.color].main
39323
- }
39638
+ })), "variants", [{
39639
+ props: {
39640
+ size: 'small'
39641
+ },
39642
+ style: {
39643
+ minWidth: 26,
39644
+ height: 26,
39645
+ borderRadius: 26 / 2,
39646
+ margin: '0 1px',
39647
+ padding: '0 4px'
39324
39648
  }
39325
- }, "&.".concat(paginationItemClasses$1.focusVisible), {
39326
- backgroundColor: (theme.vars || theme).palette[ownerState.color].dark
39327
- }), _defineProperty({}, "&.".concat(paginationItemClasses$1.disabled), {
39328
- color: (theme.vars || theme).palette.action.disabled
39329
- }))), ownerState.variant === 'outlined' && _defineProperty({
39330
- border: theme.vars ? "1px solid rgba(".concat(theme.vars.palette.common.onBackgroundChannel, " / 0.23)") : "1px solid ".concat(theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)')
39331
- }, "&.".concat(paginationItemClasses$1.selected), _extends({}, ownerState.color !== 'standard' && _defineProperty({
39332
- color: (theme.vars || theme).palette[ownerState.color].main,
39333
- border: "1px solid ".concat(theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / 0.5)") : alpha(theme.palette[ownerState.color].main, 0.5)),
39334
- backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / ").concat(theme.vars.palette.action.activatedOpacity, ")") : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity),
39335
- '&:hover': {
39336
- backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / calc(").concat(theme.vars.palette.action.activatedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity),
39337
- // Reset on touch devices, it doesn't add specificity
39338
- '@media (hover: none)': {
39339
- backgroundColor: 'transparent'
39340
- }
39649
+ }, {
39650
+ props: {
39651
+ size: 'large'
39652
+ },
39653
+ style: {
39654
+ minWidth: 40,
39655
+ height: 40,
39656
+ borderRadius: 40 / 2,
39657
+ padding: '0 10px',
39658
+ fontSize: theme.typography.pxToRem(15)
39341
39659
  }
39342
- }, "&.".concat(paginationItemClasses$1.focusVisible), {
39343
- backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / calc(").concat(theme.vars.palette.action.activatedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity)
39344
- }), _defineProperty({}, "&.".concat(paginationItemClasses$1.disabled), {
39345
- borderColor: (theme.vars || theme).palette.action.disabledBackground,
39346
- color: (theme.vars || theme).palette.action.disabled
39347
- }))));
39660
+ }, {
39661
+ props: {
39662
+ shape: 'rounded'
39663
+ },
39664
+ style: {
39665
+ borderRadius: (theme.vars || theme).shape.borderRadius
39666
+ }
39667
+ }, {
39668
+ props: {
39669
+ variant: 'outlined'
39670
+ },
39671
+ style: _defineProperty({
39672
+ border: theme.vars ? "1px solid rgba(".concat(theme.vars.palette.common.onBackgroundChannel, " / 0.23)") : "1px solid ".concat(theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)')
39673
+ }, "&.".concat(paginationItemClasses$1.selected), _defineProperty({}, "&.".concat(paginationItemClasses$1.disabled), {
39674
+ borderColor: (theme.vars || theme).palette.action.disabledBackground,
39675
+ color: (theme.vars || theme).palette.action.disabled
39676
+ }))
39677
+ }, {
39678
+ props: {
39679
+ variant: 'text'
39680
+ },
39681
+ style: _defineProperty({}, "&.".concat(paginationItemClasses$1.selected), _defineProperty({}, "&.".concat(paginationItemClasses$1.disabled), {
39682
+ color: (theme.vars || theme).palette.action.disabled
39683
+ }))
39684
+ }].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref3) {
39685
+ var _ref4 = _slicedToArray(_ref3, 2),
39686
+ value = _ref4[1];
39687
+ return value.main && value.dark && value.contrastText;
39688
+ }).map(function (_ref5) {
39689
+ var _ref6 = _slicedToArray(_ref5, 1),
39690
+ color = _ref6[0];
39691
+ return {
39692
+ props: {
39693
+ variant: 'text',
39694
+ color: color
39695
+ },
39696
+ style: _defineProperty({}, "&.".concat(paginationItemClasses$1.selected), _defineProperty(_defineProperty({
39697
+ color: (theme.vars || theme).palette[color].contrastText,
39698
+ backgroundColor: (theme.vars || theme).palette[color].main,
39699
+ '&:hover': {
39700
+ backgroundColor: (theme.vars || theme).palette[color].dark,
39701
+ // Reset on touch devices, it doesn't add specificity
39702
+ '@media (hover: none)': {
39703
+ backgroundColor: (theme.vars || theme).palette[color].main
39704
+ }
39705
+ }
39706
+ }, "&.".concat(paginationItemClasses$1.focusVisible), {
39707
+ backgroundColor: (theme.vars || theme).palette[color].dark
39708
+ }), "&.".concat(paginationItemClasses$1.disabled), {
39709
+ color: (theme.vars || theme).palette.action.disabled
39710
+ }))
39711
+ };
39712
+ })), _toConsumableArray(Object.entries(theme.palette).filter(function (_ref7) {
39713
+ var _ref8 = _slicedToArray(_ref7, 2),
39714
+ value = _ref8[1];
39715
+ return value.main && value.light;
39716
+ }).map(function (_ref9) {
39717
+ var _ref10 = _slicedToArray(_ref9, 1),
39718
+ color = _ref10[0];
39719
+ return {
39720
+ props: {
39721
+ variant: 'outlined',
39722
+ color: color
39723
+ },
39724
+ style: _defineProperty({}, "&.".concat(paginationItemClasses$1.selected), _defineProperty({
39725
+ color: (theme.vars || theme).palette[color].main,
39726
+ border: "1px solid ".concat(theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.5)") : alpha(theme.palette[color].main, 0.5)),
39727
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / ").concat(theme.vars.palette.action.activatedOpacity, ")") : alpha(theme.palette[color].main, theme.palette.action.activatedOpacity),
39728
+ '&:hover': {
39729
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / calc(").concat(theme.vars.palette.action.activatedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette[color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity),
39730
+ // Reset on touch devices, it doesn't add specificity
39731
+ '@media (hover: none)': {
39732
+ backgroundColor: 'transparent'
39733
+ }
39734
+ }
39735
+ }, "&.".concat(paginationItemClasses$1.focusVisible), {
39736
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / calc(").concat(theme.vars.palette.action.activatedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette[color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity)
39737
+ }))
39738
+ };
39739
+ })))));
39348
39740
  });
39349
39741
  var PaginationItemPageIcon = styled$1('div', {
39350
39742
  name: 'MuiPaginationItem',
@@ -39352,20 +39744,30 @@
39352
39744
  overridesResolver: function overridesResolver(props, styles) {
39353
39745
  return styles.icon;
39354
39746
  }
39355
- })(function (_ref8) {
39356
- var theme = _ref8.theme,
39357
- ownerState = _ref8.ownerState;
39358
- return _extends({
39747
+ })(function (_ref11) {
39748
+ var theme = _ref11.theme;
39749
+ return {
39359
39750
  fontSize: theme.typography.pxToRem(20),
39360
- margin: '0 -8px'
39361
- }, ownerState.size === 'small' && {
39362
- fontSize: theme.typography.pxToRem(18)
39363
- }, ownerState.size === 'large' && {
39364
- fontSize: theme.typography.pxToRem(22)
39365
- });
39751
+ margin: '0 -8px',
39752
+ variants: [{
39753
+ props: {
39754
+ size: 'small'
39755
+ },
39756
+ style: {
39757
+ fontSize: theme.typography.pxToRem(18)
39758
+ }
39759
+ }, {
39760
+ props: {
39761
+ size: 'large'
39762
+ },
39763
+ style: {
39764
+ fontSize: theme.typography.pxToRem(22)
39765
+ }
39766
+ }]
39767
+ };
39366
39768
  });
39367
39769
  var PaginationItem = /*#__PURE__*/React__namespace.forwardRef(function PaginationItem(inProps, ref) {
39368
- var props = useThemeProps$G({
39770
+ var props = useThemeProps$b({
39369
39771
  props: inProps,
39370
39772
  name: 'MuiPaginationItem'
39371
39773
  });
@@ -39568,7 +39970,7 @@
39568
39970
  return "Go to ".concat(type, " page");
39569
39971
  }
39570
39972
  var Pagination = /*#__PURE__*/React__namespace.forwardRef(function Pagination(inProps, ref) {
39571
- var props = useThemeProps$G({
39973
+ var props = useThemeProps$M({
39572
39974
  props: inProps,
39573
39975
  name: 'MuiPagination'
39574
39976
  });
@@ -39923,7 +40325,7 @@
39923
40325
  var defaultIcon$1 = /*#__PURE__*/jsxRuntime_1(RadioButtonIcon, {});
39924
40326
  var Radio = /*#__PURE__*/React__namespace.forwardRef(function Radio(inProps, ref) {
39925
40327
  var _defaultIcon$props$fo, _defaultCheckedIcon$p;
39926
- var props = useThemeProps$G({
40328
+ var props = useThemeProps$M({
39927
40329
  props: inProps,
39928
40330
  name: 'MuiRadio'
39929
40331
  });
@@ -40426,7 +40828,7 @@
40426
40828
  return "".concat(value, " Star").concat(value !== 1 ? 's' : '');
40427
40829
  }
40428
40830
  var Rating = /*#__PURE__*/React__namespace.forwardRef(function Rating(inProps, ref) {
40429
- var props = useThemeProps$G({
40831
+ var props = useThemeProps$M({
40430
40832
  name: 'MuiRating',
40431
40833
  props: inProps
40432
40834
  });
@@ -40867,7 +41269,7 @@
40867
41269
  }, colorSchemeStyles);
40868
41270
  });
40869
41271
  var ScopedCssBaseline = /*#__PURE__*/React__namespace.forwardRef(function ScopedCssBaseline(inProps, ref) {
40870
- var props = useThemeProps$G({
41272
+ var props = useThemeProps$M({
40871
41273
  props: inProps,
40872
41274
  name: 'MuiScopedCssBaseline'
40873
41275
  });
@@ -41589,7 +41991,7 @@
41589
41991
  var StyledOutlinedInput = styled$1(OutlinedInput$1, styledRootConfig)('');
41590
41992
  var StyledFilledInput = styled$1(FilledInput$1, styledRootConfig)('');
41591
41993
  var Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps, ref) {
41592
- var props = useThemeProps$G({
41994
+ var props = useThemeProps$M({
41593
41995
  name: 'MuiSelect',
41594
41996
  props: inProps
41595
41997
  });
@@ -41912,7 +42314,7 @@
41912
42314
  return ownerState.animation === 'wave' && css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: ", " 2s linear 0.5s infinite;\n background: linear-gradient(\n 90deg,\n transparent,\n ", ",\n transparent\n );\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "])), waveKeyframe, (theme.vars || theme).palette.action.hover);
41913
42315
  });
41914
42316
  var Skeleton = /*#__PURE__*/React__namespace.forwardRef(function Skeleton(inProps, ref) {
41915
- var props = useThemeProps$G({
42317
+ var props = useThemeProps$M({
41916
42318
  props: inProps,
41917
42319
  name: 'MuiSkeleton'
41918
42320
  });
@@ -42054,7 +42456,7 @@
42054
42456
  value: PropTypes.node
42055
42457
  } ;
42056
42458
 
42057
- var useThemeProps$8 = createUseThemeProps();
42459
+ var useThemeProps$a = createUseThemeProps();
42058
42460
  function Identity(x) {
42059
42461
  return x;
42060
42462
  }
@@ -42581,7 +42983,7 @@
42581
42983
  };
42582
42984
  var Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(inputProps, ref) {
42583
42985
  var _ref10, _slots$root, _ref11, _slots$rail, _ref12, _slots$track, _ref13, _slots$thumb, _ref14, _slots$valueLabel, _ref15, _slots$mark, _ref16, _slots$markLabel, _ref17, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
42584
- var props = useThemeProps$8({
42986
+ var props = useThemeProps$a({
42585
42987
  props: inputProps,
42586
42988
  name: 'MuiSlider'
42587
42989
  });
@@ -43158,7 +43560,7 @@
43158
43560
  marginRight: -8
43159
43561
  });
43160
43562
  var SnackbarContent = /*#__PURE__*/React__namespace.forwardRef(function SnackbarContent(inProps, ref) {
43161
- var props = useThemeProps$G({
43563
+ var props = useThemeProps$M({
43162
43564
  props: inProps,
43163
43565
  name: 'MuiSnackbarContent'
43164
43566
  });
@@ -43280,7 +43682,7 @@
43280
43682
  })));
43281
43683
  });
43282
43684
  var Snackbar = /*#__PURE__*/React__namespace.forwardRef(function Snackbar(inProps, ref) {
43283
- var props = useThemeProps$G({
43685
+ var props = useThemeProps$M({
43284
43686
  props: inProps,
43285
43687
  name: 'MuiSnackbar'
43286
43688
  });
@@ -43815,7 +44217,7 @@
43815
44217
  });
43816
44218
  });
43817
44219
  var SpeedDial = /*#__PURE__*/React__namespace.forwardRef(function SpeedDial(inProps, ref) {
43818
- var props = useThemeProps$G({
44220
+ var props = useThemeProps$M({
43819
44221
  props: inProps,
43820
44222
  name: 'MuiSpeedDial'
43821
44223
  });
@@ -44377,7 +44779,7 @@
44377
44779
  // TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
44378
44780
  var Tooltip = /*#__PURE__*/React__namespace.forwardRef(function Tooltip(inProps, ref) {
44379
44781
  var _ref5, _slots$popper, _ref6, _ref7, _slots$transition, _ref8, _slots$tooltip, _ref9, _slots$arrow, _slotProps$popper, _ref10, _slotProps$popper2, _slotProps$transition, _slotProps$tooltip, _ref11, _slotProps$tooltip2, _slotProps$arrow, _ref12, _slotProps$arrow2;
44380
- var props = useThemeProps$G({
44782
+ var props = useThemeProps$M({
44381
44783
  props: inProps,
44382
44784
  name: 'MuiTooltip'
44383
44785
  });
@@ -44599,8 +45001,7 @@
44599
45001
  * @param {KeyboardEvent} nativeEvent
44600
45002
  */
44601
45003
  function handleKeyDown(nativeEvent) {
44602
- // IE11, Edge (prior to using Bink?) use 'Esc'
44603
- if (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc') {
45004
+ if (nativeEvent.key === 'Escape') {
44604
45005
  handleClose(nativeEvent);
44605
45006
  }
44606
45007
  }
@@ -45050,7 +45451,7 @@
45050
45451
  });
45051
45452
  });
45052
45453
  var SpeedDialAction = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialAction(inProps, ref) {
45053
- var props = useThemeProps$G({
45454
+ var props = useThemeProps$M({
45054
45455
  props: inProps,
45055
45456
  name: 'MuiSpeedDialAction'
45056
45457
  });
@@ -45244,7 +45645,7 @@
45244
45645
  }));
45245
45646
  });
45246
45647
  var SpeedDialIcon = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialIcon(inProps, ref) {
45247
- var props = useThemeProps$G({
45648
+ var props = useThemeProps$M({
45248
45649
  props: inProps,
45249
45650
  name: 'MuiSpeedDialIcon'
45250
45651
  });
@@ -45347,7 +45748,7 @@
45347
45748
  var stepClasses = generateUtilityClasses$1('MuiStep', ['root', 'horizontal', 'vertical', 'alternativeLabel', 'completed']);
45348
45749
  var stepClasses$1 = stepClasses;
45349
45750
 
45350
- var useThemeProps$7 = createUseThemeProps();
45751
+ var useThemeProps$9 = createUseThemeProps();
45351
45752
  var useUtilityClasses$n = function useUtilityClasses(ownerState) {
45352
45753
  var classes = ownerState.classes,
45353
45754
  orientation = ownerState.orientation,
@@ -45385,7 +45786,7 @@
45385
45786
  }]
45386
45787
  });
45387
45788
  var Step = /*#__PURE__*/React__namespace.forwardRef(function Step(inProps, ref) {
45388
- var props = useThemeProps$7({
45789
+ var props = useThemeProps$9({
45389
45790
  props: inProps,
45390
45791
  name: 'MuiStep'
45391
45792
  });
@@ -45528,7 +45929,7 @@
45528
45929
  var stepIconClasses$1 = stepIconClasses;
45529
45930
 
45530
45931
  var _circle;
45531
- var useThemeProps$6 = createUseThemeProps();
45932
+ var useThemeProps$8 = createUseThemeProps();
45532
45933
  var useUtilityClasses$m = function useUtilityClasses(ownerState) {
45533
45934
  var classes = ownerState.classes,
45534
45935
  active = ownerState.active,
@@ -45577,7 +45978,7 @@
45577
45978
  };
45578
45979
  });
45579
45980
  var StepIcon = /*#__PURE__*/React__namespace.forwardRef(function StepIcon(inProps, ref) {
45580
- var props = useThemeProps$6({
45981
+ var props = useThemeProps$8({
45581
45982
  props: inProps,
45582
45983
  name: 'MuiStepIcon'
45583
45984
  });
@@ -45681,7 +46082,7 @@
45681
46082
  var stepLabelClasses = generateUtilityClasses$1('MuiStepLabel', ['root', 'horizontal', 'vertical', 'label', 'active', 'completed', 'error', 'disabled', 'iconContainer', 'alternativeLabel', 'labelContainer']);
45682
46083
  var stepLabelClasses$1 = stepLabelClasses;
45683
46084
 
45684
- var useThemeProps$5 = createUseThemeProps();
46085
+ var useThemeProps$7 = createUseThemeProps();
45685
46086
  var useUtilityClasses$l = function useUtilityClasses(ownerState) {
45686
46087
  var classes = ownerState.classes,
45687
46088
  orientation = ownerState.orientation,
@@ -45776,7 +46177,7 @@
45776
46177
  });
45777
46178
  });
45778
46179
  var StepLabel = /*#__PURE__*/React__namespace.forwardRef(function StepLabel(inProps, ref) {
45779
- var props = useThemeProps$5({
46180
+ var props = useThemeProps$7({
45780
46181
  props: inProps,
45781
46182
  name: 'MuiStepLabel'
45782
46183
  });
@@ -45819,7 +46220,9 @@
45819
46220
  var classes = useUtilityClasses$l(ownerState);
45820
46221
  var externalForwardedProps = {
45821
46222
  slots: slots,
45822
- slotProps: _extends({}, componentsProps, slotProps)
46223
+ slotProps: _extends({
46224
+ stepIcon: StepIconProps
46225
+ }, componentsProps, slotProps)
45823
46226
  };
45824
46227
  var _useSlot = useSlot('label', {
45825
46228
  elementType: StepLabelLabel,
@@ -45829,20 +46232,28 @@
45829
46232
  _useSlot2 = _slicedToArray(_useSlot, 2),
45830
46233
  LabelSlot = _useSlot2[0],
45831
46234
  labelProps = _useSlot2[1];
46235
+ var _useSlot3 = useSlot('stepIcon', {
46236
+ elementType: StepIconComponent,
46237
+ externalForwardedProps: externalForwardedProps,
46238
+ ownerState: ownerState
46239
+ }),
46240
+ _useSlot4 = _slicedToArray(_useSlot3, 2),
46241
+ StepIconSlot = _useSlot4[0],
46242
+ stepIconProps = _useSlot4[1];
45832
46243
  return /*#__PURE__*/jsxRuntime_2(StepLabelRoot, _extends({
45833
46244
  className: clsx(classes.root, className),
45834
46245
  ref: ref,
45835
46246
  ownerState: ownerState
45836
46247
  }, other, {
45837
- children: [icon || StepIconComponent ? /*#__PURE__*/jsxRuntime_1(StepLabelIconContainer, {
46248
+ children: [icon || StepIconSlot ? /*#__PURE__*/jsxRuntime_1(StepLabelIconContainer, {
45838
46249
  className: classes.iconContainer,
45839
46250
  ownerState: ownerState,
45840
- children: /*#__PURE__*/jsxRuntime_1(StepIconComponent, _extends({
46251
+ children: /*#__PURE__*/jsxRuntime_1(StepIconSlot, _extends({
45841
46252
  completed: completed,
45842
46253
  active: active,
45843
46254
  error: error,
45844
46255
  icon: icon
45845
- }, StepIconProps))
46256
+ }, stepIconProps))
45846
46257
  }) : null, /*#__PURE__*/jsxRuntime_2(StepLabelLabelContainer, {
45847
46258
  className: classes.labelContainer,
45848
46259
  ownerState: ownerState,
@@ -45896,21 +46307,25 @@
45896
46307
  * @default {}
45897
46308
  */
45898
46309
  slotProps: PropTypes.shape({
45899
- label: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
46310
+ label: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
46311
+ stepIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
45900
46312
  }),
45901
46313
  /**
45902
46314
  * The components used for each slot inside.
45903
46315
  * @default {}
45904
46316
  */
45905
46317
  slots: PropTypes.shape({
45906
- label: PropTypes.elementType
46318
+ label: PropTypes.elementType,
46319
+ stepIcon: PropTypes.elementType
45907
46320
  }),
45908
46321
  /**
45909
46322
  * The component to render in place of the [`StepIcon`](/material-ui/api/step-icon/).
46323
+ * @deprecated Use `slots.stepIcon` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
45910
46324
  */
45911
46325
  StepIconComponent: PropTypes.elementType,
45912
46326
  /**
45913
46327
  * Props applied to the [`StepIcon`](/material-ui/api/step-icon/) element.
46328
+ * @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
45914
46329
  */
45915
46330
  StepIconProps: PropTypes.object,
45916
46331
  /**
@@ -45929,7 +46344,7 @@
45929
46344
  var stepButtonClasses = generateUtilityClasses$1('MuiStepButton', ['root', 'horizontal', 'vertical', 'touchRipple']);
45930
46345
  var stepButtonClasses$1 = stepButtonClasses;
45931
46346
 
45932
- var useThemeProps$4 = createUseThemeProps();
46347
+ var useThemeProps$6 = createUseThemeProps();
45933
46348
  var useUtilityClasses$k = function useUtilityClasses(ownerState) {
45934
46349
  var classes = ownerState.classes,
45935
46350
  orientation = ownerState.orientation;
@@ -45964,7 +46379,7 @@
45964
46379
  }
45965
46380
  }]));
45966
46381
  var StepButton = /*#__PURE__*/React__namespace.forwardRef(function StepButton(inProps, ref) {
45967
- var props = useThemeProps$4({
46382
+ var props = useThemeProps$6({
45968
46383
  props: inProps,
45969
46384
  name: 'MuiStepButton'
45970
46385
  });
@@ -46041,7 +46456,7 @@
46041
46456
  var stepConnectorClasses = generateUtilityClasses$1('MuiStepConnector', ['root', 'horizontal', 'vertical', 'alternativeLabel', 'active', 'completed', 'disabled', 'line', 'lineHorizontal', 'lineVertical']);
46042
46457
  var stepConnectorClasses$1 = stepConnectorClasses;
46043
46458
 
46044
- var useThemeProps$3 = createUseThemeProps();
46459
+ var useThemeProps$5 = createUseThemeProps();
46045
46460
  var useUtilityClasses$j = function useUtilityClasses(ownerState) {
46046
46461
  var classes = ownerState.classes,
46047
46462
  orientation = ownerState.orientation,
@@ -46117,7 +46532,7 @@
46117
46532
  };
46118
46533
  });
46119
46534
  var StepConnector = /*#__PURE__*/React__namespace.forwardRef(function StepConnector(inProps, ref) {
46120
- var props = useThemeProps$3({
46535
+ var props = useThemeProps$5({
46121
46536
  props: inProps,
46122
46537
  name: 'MuiStepConnector'
46123
46538
  });
@@ -46176,7 +46591,7 @@
46176
46591
  var stepContentClasses = generateUtilityClasses$1('MuiStepContent', ['root', 'last', 'transition']);
46177
46592
  var stepContentClasses$1 = stepContentClasses;
46178
46593
 
46179
- var useThemeProps$2 = createUseThemeProps();
46594
+ var useThemeProps$4 = createUseThemeProps();
46180
46595
  var useUtilityClasses$i = function useUtilityClasses(ownerState) {
46181
46596
  var classes = ownerState.classes,
46182
46597
  last = ownerState.last;
@@ -46220,7 +46635,7 @@
46220
46635
  }
46221
46636
  })({});
46222
46637
  var StepContent = /*#__PURE__*/React__namespace.forwardRef(function StepContent(inProps, ref) {
46223
- var props = useThemeProps$2({
46638
+ var props = useThemeProps$4({
46224
46639
  props: inProps,
46225
46640
  name: 'MuiStepContent'
46226
46641
  });
@@ -46321,7 +46736,7 @@
46321
46736
  var stepperClasses = generateUtilityClasses$1('MuiStepper', ['root', 'horizontal', 'vertical', 'alternativeLabel']);
46322
46737
  var stepperClasses$1 = stepperClasses;
46323
46738
 
46324
- var useThemeProps$1 = createUseThemeProps();
46739
+ var useThemeProps$3 = createUseThemeProps();
46325
46740
  var useUtilityClasses$h = function useUtilityClasses(ownerState) {
46326
46741
  var orientation = ownerState.orientation,
46327
46742
  alternativeLabel = ownerState.alternativeLabel,
@@ -46366,7 +46781,7 @@
46366
46781
  });
46367
46782
  var defaultConnector = /*#__PURE__*/jsxRuntime_1(StepConnector$1, {});
46368
46783
  var Stepper = /*#__PURE__*/React__namespace.forwardRef(function Stepper(inProps, ref) {
46369
- var props = useThemeProps$1({
46784
+ var props = useThemeProps$3({
46370
46785
  props: inProps,
46371
46786
  name: 'MuiStepper'
46372
46787
  });
@@ -46632,7 +47047,7 @@
46632
47047
  }
46633
47048
  var iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
46634
47049
  var SwipeableDrawer = /*#__PURE__*/React__namespace.forwardRef(function SwipeableDrawer(inProps, ref) {
46635
- var props = useThemeProps$H({
47050
+ var props = useThemeProps$N({
46636
47051
  name: 'MuiSwipeableDrawer',
46637
47052
  props: inProps
46638
47053
  });
@@ -47143,7 +47558,7 @@
47143
47558
  var switchClasses = generateUtilityClasses$1('MuiSwitch', ['root', 'edgeStart', 'edgeEnd', 'switchBase', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium', 'checked', 'disabled', 'input', 'thumb', 'track']);
47144
47559
  var switchClasses$1 = switchClasses;
47145
47560
 
47146
- var useThemeProps = createUseThemeProps();
47561
+ var useThemeProps$2 = createUseThemeProps();
47147
47562
  var useUtilityClasses$g = function useUtilityClasses(ownerState) {
47148
47563
  var classes = ownerState.classes,
47149
47564
  edge = ownerState.edge,
@@ -47323,7 +47738,7 @@
47323
47738
  };
47324
47739
  });
47325
47740
  var Switch = /*#__PURE__*/React__namespace.forwardRef(function Switch(inProps, ref) {
47326
- var props = useThemeProps({
47741
+ var props = useThemeProps$2({
47327
47742
  props: inProps,
47328
47743
  name: 'MuiSwitch'
47329
47744
  });
@@ -47548,7 +47963,7 @@
47548
47963
  });
47549
47964
  });
47550
47965
  var Tab = /*#__PURE__*/React__namespace.forwardRef(function Tab(inProps, ref) {
47551
- var props = useThemeProps$G({
47966
+ var props = useThemeProps$M({
47552
47967
  props: inProps,
47553
47968
  name: 'MuiTab'
47554
47969
  });
@@ -47752,7 +48167,7 @@
47752
48167
  });
47753
48168
  var defaultComponent$4 = 'table';
47754
48169
  var Table = /*#__PURE__*/React__namespace.forwardRef(function Table(inProps, ref) {
47755
- var props = useThemeProps$G({
48170
+ var props = useThemeProps$M({
47756
48171
  props: inProps,
47757
48172
  name: 'MuiTable'
47758
48173
  });
@@ -47871,7 +48286,7 @@
47871
48286
  };
47872
48287
  var defaultComponent$3 = 'tbody';
47873
48288
  var TableBody = /*#__PURE__*/React__namespace.forwardRef(function TableBody(inProps, ref) {
47874
- var props = useThemeProps$G({
48289
+ var props = useThemeProps$M({
47875
48290
  props: inProps,
47876
48291
  name: 'MuiTableBody'
47877
48292
  });
@@ -48006,7 +48421,7 @@
48006
48421
  * or otherwise a `<td>` element.
48007
48422
  */
48008
48423
  var TableCell = /*#__PURE__*/React__namespace.forwardRef(function TableCell(inProps, ref) {
48009
- var props = useThemeProps$G({
48424
+ var props = useThemeProps$M({
48010
48425
  props: inProps,
48011
48426
  name: 'MuiTableCell'
48012
48427
  });
@@ -48145,7 +48560,7 @@
48145
48560
  overflowX: 'auto'
48146
48561
  });
48147
48562
  var TableContainer = /*#__PURE__*/React__namespace.forwardRef(function TableContainer(inProps, ref) {
48148
- var props = useThemeProps$G({
48563
+ var props = useThemeProps$M({
48149
48564
  props: inProps,
48150
48565
  name: 'MuiTableContainer'
48151
48566
  });
@@ -48220,7 +48635,7 @@
48220
48635
  };
48221
48636
  var defaultComponent$2 = 'tfoot';
48222
48637
  var TableFooter = /*#__PURE__*/React__namespace.forwardRef(function TableFooter(inProps, ref) {
48223
- var props = useThemeProps$G({
48638
+ var props = useThemeProps$M({
48224
48639
  props: inProps,
48225
48640
  name: 'MuiTableFooter'
48226
48641
  });
@@ -48299,7 +48714,7 @@
48299
48714
  };
48300
48715
  var defaultComponent$1 = 'thead';
48301
48716
  var TableHead = /*#__PURE__*/React__namespace.forwardRef(function TableHead(inProps, ref) {
48302
- var props = useThemeProps$G({
48717
+ var props = useThemeProps$M({
48303
48718
  props: inProps,
48304
48719
  name: 'MuiTableHead'
48305
48720
  });
@@ -48395,7 +48810,7 @@
48395
48810
  return ownerState.variant === 'regular' && theme.mixins.toolbar;
48396
48811
  });
48397
48812
  var Toolbar = /*#__PURE__*/React__namespace.forwardRef(function Toolbar(inProps, ref) {
48398
- var props = useThemeProps$G({
48813
+ var props = useThemeProps$M({
48399
48814
  props: inProps,
48400
48815
  name: 'MuiToolbar'
48401
48816
  });
@@ -48769,7 +49184,7 @@
48769
49184
  */
48770
49185
  var TablePagination = /*#__PURE__*/React__namespace.forwardRef(function TablePagination(inProps, ref) {
48771
49186
  var _slotProps$select;
48772
- var props = useThemeProps$G({
49187
+ var props = useThemeProps$M({
48773
49188
  props: inProps,
48774
49189
  name: 'MuiTablePagination'
48775
49190
  });
@@ -49125,7 +49540,7 @@
49125
49540
  * based on the material table element parent (head, body, etc).
49126
49541
  */
49127
49542
  var TableRow = /*#__PURE__*/React__namespace.forwardRef(function TableRow(inProps, ref) {
49128
- var props = useThemeProps$G({
49543
+ var props = useThemeProps$M({
49129
49544
  props: inProps,
49130
49545
  name: 'MuiTableRow'
49131
49546
  });
@@ -49273,7 +49688,7 @@
49273
49688
  * A button based label for placing inside `TableCell` for column sorting.
49274
49689
  */
49275
49690
  var TableSortLabel = /*#__PURE__*/React__namespace.forwardRef(function TableSortLabel(inProps, ref) {
49276
- var props = useThemeProps$G({
49691
+ var props = useThemeProps$M({
49277
49692
  props: inProps,
49278
49693
  name: 'MuiTableSortLabel'
49279
49694
  });
@@ -49484,7 +49899,7 @@
49484
49899
  });
49485
49900
  var TabScrollButton = /*#__PURE__*/React__namespace.forwardRef(function TabScrollButton(inProps, ref) {
49486
49901
  var _slots$StartScrollBut, _slots$EndScrollButto;
49487
- var props = useThemeProps$G({
49902
+ var props = useThemeProps$M({
49488
49903
  props: inProps,
49489
49904
  name: 'MuiTabScrollButton'
49490
49905
  });
@@ -49761,7 +50176,7 @@
49761
50176
  var defaultIndicatorStyle = {};
49762
50177
  var warnedOnceTabPresent = false;
49763
50178
  var Tabs = /*#__PURE__*/React__namespace.forwardRef(function Tabs(inProps, ref) {
49764
- var props = useThemeProps$G({
50179
+ var props = useThemeProps$M({
49765
50180
  props: inProps,
49766
50181
  name: 'MuiTabs'
49767
50182
  });
@@ -50472,7 +50887,7 @@
50472
50887
  * - using the underlying components directly as shown in the demos
50473
50888
  */
50474
50889
  var TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(inProps, ref) {
50475
- var props = useThemeProps$G({
50890
+ var props = useThemeProps$M({
50476
50891
  props: inProps,
50477
50892
  name: 'MuiTextField'
50478
50893
  });
@@ -50816,6 +51231,7 @@
50816
51231
  return value === candidate;
50817
51232
  }
50818
51233
 
51234
+ var useThemeProps$1 = createUseThemeProps();
50819
51235
  var useUtilityClasses$1 = function useUtilityClasses(ownerState) {
50820
51236
  var classes = ownerState.classes,
50821
51237
  fullWidth = ownerState.fullWidth,
@@ -50836,22 +51252,13 @@
50836
51252
  return [styles.root, styles["size".concat(capitalize(ownerState.size))]];
50837
51253
  }
50838
51254
  })(function (_ref) {
50839
- var theme = _ref.theme,
50840
- ownerState = _ref.ownerState;
50841
- var selectedColor = ownerState.color === 'standard' ? theme.palette.text.primary : theme.palette[ownerState.color].main;
50842
- var selectedColorChannel;
50843
- if (theme.vars) {
50844
- selectedColor = ownerState.color === 'standard' ? theme.vars.palette.text.primary : theme.vars.palette[ownerState.color].main;
50845
- selectedColorChannel = ownerState.color === 'standard' ? theme.vars.palette.text.primaryChannel : theme.vars.palette[ownerState.color].mainChannel;
50846
- }
50847
- return _extends({}, theme.typography.button, {
51255
+ var theme = _ref.theme;
51256
+ return _extends({}, theme.typography.button, _defineProperty(_defineProperty(_defineProperty({
50848
51257
  borderRadius: (theme.vars || theme).shape.borderRadius,
50849
51258
  padding: 11,
50850
51259
  border: "1px solid ".concat((theme.vars || theme).palette.divider),
50851
51260
  color: (theme.vars || theme).palette.action.active
50852
- }, ownerState.fullWidth && {
50853
- width: '100%'
50854
- }, _defineProperty(_defineProperty(_defineProperty({}, "&.".concat(toggleButtonClasses$1.disabled), {
51261
+ }, "&.".concat(toggleButtonClasses$1.disabled), {
50855
51262
  color: (theme.vars || theme).palette.action.disabled,
50856
51263
  border: "1px solid ".concat((theme.vars || theme).palette.action.disabledBackground)
50857
51264
  }), '&:hover', {
@@ -50861,23 +51268,64 @@
50861
51268
  '@media (hover: none)': {
50862
51269
  backgroundColor: 'transparent'
50863
51270
  }
50864
- }), "&.".concat(toggleButtonClasses$1.selected), {
50865
- color: selectedColor,
50866
- backgroundColor: theme.vars ? "rgba(".concat(selectedColorChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(selectedColor, theme.palette.action.selectedOpacity),
50867
- '&:hover': {
50868
- backgroundColor: theme.vars ? "rgba(".concat(selectedColorChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(selectedColor, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
50869
- // Reset on touch devices, it doesn't add specificity
50870
- '@media (hover: none)': {
50871
- backgroundColor: theme.vars ? "rgba(".concat(selectedColorChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(selectedColor, theme.palette.action.selectedOpacity)
51271
+ }), "variants", [{
51272
+ props: {
51273
+ color: 'standard'
51274
+ },
51275
+ style: _defineProperty({}, "&.".concat(toggleButtonClasses$1.selected), {
51276
+ color: (theme.vars || theme).palette.text.primary,
51277
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.text.primaryChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette.text.primary, theme.palette.action.selectedOpacity),
51278
+ '&:hover': {
51279
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.text.primaryChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette.text.primary, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
51280
+ // Reset on touch devices, it doesn't add specificity
51281
+ '@media (hover: none)': {
51282
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.text.primaryChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette.text.primary, theme.palette.action.selectedOpacity)
51283
+ }
50872
51284
  }
51285
+ })
51286
+ }].concat(_toConsumableArray(Object.keys((theme.vars || theme).palette).filter(function (key) {
51287
+ return theme.vars ? theme.vars.palette[key].main && theme.vars.palette[key].mainChannel : theme.palette[key].main;
51288
+ }).map(function (color) {
51289
+ return {
51290
+ props: {
51291
+ color: color
51292
+ },
51293
+ style: _defineProperty({}, "&.".concat(toggleButtonClasses$1.selected), {
51294
+ color: (theme.vars || theme).palette[color].main,
51295
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette[color].main, theme.palette.action.selectedOpacity),
51296
+ '&:hover': {
51297
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette[color].main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
51298
+ // Reset on touch devices, it doesn't add specificity
51299
+ '@media (hover: none)': {
51300
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette[color].main, theme.palette.action.selectedOpacity)
51301
+ }
51302
+ }
51303
+ })
51304
+ };
51305
+ })), [{
51306
+ props: {
51307
+ fullWidth: true
51308
+ },
51309
+ style: {
51310
+ width: '100%'
50873
51311
  }
50874
- }), ownerState.size === 'small' && {
50875
- padding: 7,
50876
- fontSize: theme.typography.pxToRem(13)
50877
- }, ownerState.size === 'large' && {
50878
- padding: 15,
50879
- fontSize: theme.typography.pxToRem(15)
50880
- });
51312
+ }, {
51313
+ props: {
51314
+ size: 'small'
51315
+ },
51316
+ style: {
51317
+ padding: 7,
51318
+ fontSize: theme.typography.pxToRem(13)
51319
+ }
51320
+ }, {
51321
+ props: {
51322
+ size: 'large'
51323
+ },
51324
+ style: {
51325
+ padding: 15,
51326
+ fontSize: theme.typography.pxToRem(15)
51327
+ }
51328
+ }])));
50881
51329
  });
50882
51330
  var ToggleButton = /*#__PURE__*/React__namespace.forwardRef(function ToggleButton(inProps, ref) {
50883
51331
  // props priority: `inProps` > `contextProps` > `themeDefaultProps`
@@ -50888,7 +51336,7 @@
50888
51336
  var resolvedProps = resolveProps(_extends({}, contextProps, {
50889
51337
  selected: isValueSelected(inProps.value, contextValue)
50890
51338
  }), inProps);
50891
- var props = useThemeProps$G({
51339
+ var props = useThemeProps$1({
50892
51340
  props: resolvedProps,
50893
51341
  name: 'MuiToggleButton'
50894
51342
  });
@@ -51029,16 +51477,17 @@
51029
51477
  function getToggleButtonGroupUtilityClass(slot) {
51030
51478
  return generateUtilityClass$1('MuiToggleButtonGroup', slot);
51031
51479
  }
51032
- var toggleButtonGroupClasses = generateUtilityClasses$1('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
51480
+ var toggleButtonGroupClasses = generateUtilityClasses$1('MuiToggleButtonGroup', ['root', 'selected', 'horizontal', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
51033
51481
  var toggleButtonGroupClasses$1 = toggleButtonGroupClasses;
51034
51482
 
51483
+ var useThemeProps = createUseThemeProps();
51035
51484
  var useUtilityClasses = function useUtilityClasses(ownerState) {
51036
51485
  var classes = ownerState.classes,
51037
51486
  orientation = ownerState.orientation,
51038
51487
  fullWidth = ownerState.fullWidth,
51039
51488
  disabled = ownerState.disabled;
51040
51489
  var slots = {
51041
- root: ['root', orientation === 'vertical' && 'vertical', fullWidth && 'fullWidth'],
51490
+ root: ['root', orientation, fullWidth && 'fullWidth'],
51042
51491
  grouped: ['grouped', "grouped".concat(capitalize(orientation)), disabled && 'disabled'],
51043
51492
  firstButton: ['firstButton'],
51044
51493
  lastButton: ['lastButton'],
@@ -51054,45 +51503,60 @@
51054
51503
  return [_defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.grouped), styles.grouped), _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.orientation))]), _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.firstButton), styles.firstButton), _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.lastButton), styles.lastButton), _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.middleButton), styles.middleButton), styles.root, ownerState.orientation === 'vertical' && styles.vertical, ownerState.fullWidth && styles.fullWidth];
51055
51504
  }
51056
51505
  })(function (_ref6) {
51057
- var ownerState = _ref6.ownerState,
51058
- theme = _ref6.theme;
51059
- return _extends({
51506
+ var theme = _ref6.theme;
51507
+ return {
51060
51508
  display: 'inline-flex',
51061
- borderRadius: (theme.vars || theme).shape.borderRadius
51062
- }, ownerState.orientation === 'vertical' && {
51063
- flexDirection: 'column'
51064
- }, ownerState.fullWidth && {
51065
- width: '100%'
51066
- }, _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.grouped), _extends({}, ownerState.orientation === 'horizontal' ? _defineProperty({}, "&.".concat(toggleButtonGroupClasses$1.selected, " + .").concat(toggleButtonGroupClasses$1.grouped, ".").concat(toggleButtonGroupClasses$1.selected), {
51067
- borderLeft: 0,
51068
- marginLeft: 0
51069
- }) : _defineProperty({}, "&.".concat(toggleButtonGroupClasses$1.selected, " + .").concat(toggleButtonGroupClasses$1.grouped, ".").concat(toggleButtonGroupClasses$1.selected), {
51070
- borderTop: 0,
51071
- marginTop: 0
51072
- }))), ownerState.orientation === 'horizontal' ? _defineProperty(_defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.firstButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
51073
- borderTopRightRadius: 0,
51074
- borderBottomRightRadius: 0
51075
- }), "& .".concat(toggleButtonGroupClasses$1.lastButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
51076
- marginLeft: -1,
51077
- borderLeft: '1px solid transparent',
51078
- borderTopLeftRadius: 0,
51079
- borderBottomLeftRadius: 0
51080
- }) : _defineProperty(_defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.firstButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
51081
- borderBottomLeftRadius: 0,
51082
- borderBottomRightRadius: 0
51083
- }), "& .".concat(toggleButtonGroupClasses$1.lastButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
51084
- marginTop: -1,
51085
- borderTop: '1px solid transparent',
51086
- borderTopLeftRadius: 0,
51087
- borderTopRightRadius: 0
51088
- }), ownerState.orientation === 'horizontal' ? _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.lastButton, ".").concat(toggleButtonClasses$1.disabled, ",& .").concat(toggleButtonGroupClasses$1.middleButton, ".").concat(toggleButtonClasses$1.disabled), {
51089
- borderLeft: '1px solid transparent'
51090
- }) : _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.lastButton, ".").concat(toggleButtonClasses$1.disabled, ",& .").concat(toggleButtonGroupClasses$1.middleButton, ".").concat(toggleButtonClasses$1.disabled), {
51091
- borderTop: '1px solid transparent'
51092
- }));
51509
+ borderRadius: (theme.vars || theme).shape.borderRadius,
51510
+ variants: [{
51511
+ props: {
51512
+ orientation: 'vertical'
51513
+ },
51514
+ style: _defineProperty(_defineProperty(_defineProperty(_defineProperty({
51515
+ flexDirection: 'column'
51516
+ }, "& .".concat(toggleButtonGroupClasses$1.grouped), _defineProperty({}, "&.".concat(toggleButtonGroupClasses$1.selected, " + .").concat(toggleButtonGroupClasses$1.grouped, ".").concat(toggleButtonGroupClasses$1.selected), {
51517
+ borderTop: 0,
51518
+ marginTop: 0
51519
+ })), "& .".concat(toggleButtonGroupClasses$1.firstButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
51520
+ borderBottomLeftRadius: 0,
51521
+ borderBottomRightRadius: 0
51522
+ }), "& .".concat(toggleButtonGroupClasses$1.lastButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
51523
+ marginTop: -1,
51524
+ borderTop: '1px solid transparent',
51525
+ borderTopLeftRadius: 0,
51526
+ borderTopRightRadius: 0
51527
+ }), "& .".concat(toggleButtonGroupClasses$1.lastButton, ".").concat(toggleButtonClasses$1.disabled, ",& .").concat(toggleButtonGroupClasses$1.middleButton, ".").concat(toggleButtonClasses$1.disabled), {
51528
+ borderTop: '1px solid transparent'
51529
+ })
51530
+ }, {
51531
+ props: {
51532
+ fullWidth: true
51533
+ },
51534
+ style: {
51535
+ width: '100%'
51536
+ }
51537
+ }, {
51538
+ props: {
51539
+ orientation: 'horizontal'
51540
+ },
51541
+ style: _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.grouped), _defineProperty({}, "&.".concat(toggleButtonGroupClasses$1.selected, " + .").concat(toggleButtonGroupClasses$1.grouped, ".").concat(toggleButtonGroupClasses$1.selected), {
51542
+ borderLeft: 0,
51543
+ marginLeft: 0
51544
+ })), "& .".concat(toggleButtonGroupClasses$1.firstButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
51545
+ borderTopRightRadius: 0,
51546
+ borderBottomRightRadius: 0
51547
+ }), "& .".concat(toggleButtonGroupClasses$1.lastButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
51548
+ marginLeft: -1,
51549
+ borderLeft: '1px solid transparent',
51550
+ borderTopLeftRadius: 0,
51551
+ borderBottomLeftRadius: 0
51552
+ }), "& .".concat(toggleButtonGroupClasses$1.lastButton, ".").concat(toggleButtonClasses$1.disabled, ",& .").concat(toggleButtonGroupClasses$1.middleButton, ".").concat(toggleButtonClasses$1.disabled), {
51553
+ borderLeft: '1px solid transparent'
51554
+ })
51555
+ }]
51556
+ };
51093
51557
  });
51094
51558
  var ToggleButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ToggleButtonGroup(inProps, ref) {
51095
- var props = useThemeProps$G({
51559
+ var props = useThemeProps({
51096
51560
  props: inProps,
51097
51561
  name: 'MuiToggleButtonGroup'
51098
51562
  });
@@ -51763,7 +52227,7 @@
51763
52227
  exports.useStepContext = useStepContext;
51764
52228
  exports.useStepperContext = useStepperContext;
51765
52229
  exports.useTheme = useTheme;
51766
- exports.useThemeProps = useThemeProps$G;
52230
+ exports.useThemeProps = useThemeProps$M;
51767
52231
  exports.withStyles = withStyles;
51768
52232
  exports.withTheme = withTheme;
51769
52233