@mui/material 5.0.0 → 5.0.4

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 (414) hide show
  1. package/Accordion/accordionClasses.d.ts +18 -18
  2. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  3. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  4. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  5. package/Alert/Alert.d.ts +2 -1
  6. package/Alert/Alert.js +1 -0
  7. package/Alert/alertClasses.d.ts +44 -44
  8. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  9. package/AppBar/appBarClasses.d.ts +28 -28
  10. package/Autocomplete/Autocomplete.d.ts +1 -1
  11. package/Autocomplete/Autocomplete.js +1 -1
  12. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  13. package/Avatar/Avatar.d.ts +1 -1
  14. package/Avatar/Avatar.js +1 -1
  15. package/Avatar/avatarClasses.d.ts +20 -20
  16. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  17. package/BottomNavigation/BottomNavigation.js +0 -0
  18. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  19. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  20. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  21. package/Button/buttonClasses.d.ts +76 -76
  22. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  23. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  24. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  25. package/CHANGELOG.md +278 -2
  26. package/Card/cardClasses.d.ts +8 -8
  27. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  28. package/CardActions/cardActionsClasses.d.ts +10 -10
  29. package/CardContent/cardContentClasses.d.ts +8 -8
  30. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  31. package/CardMedia/cardMediaClasses.d.ts +12 -12
  32. package/Checkbox/checkboxClasses.d.ts +18 -18
  33. package/Chip/Chip.js +5 -4
  34. package/Chip/chipClasses.d.ts +80 -80
  35. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  36. package/ClickAwayListener/ClickAwayListener.d.ts +47 -47
  37. package/ClickAwayListener/index.d.ts +2 -2
  38. package/Collapse/Collapse.js +16 -3
  39. package/Collapse/collapseClasses.d.ts +18 -18
  40. package/Container/containerClasses.d.ts +22 -22
  41. package/Dialog/Dialog.d.ts +1 -1
  42. package/Dialog/DialogContext.d.ts +6 -6
  43. package/Dialog/dialogClasses.d.ts +36 -36
  44. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  45. package/DialogContent/dialogContentClasses.d.ts +10 -10
  46. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  47. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  48. package/Divider/dividerClasses.d.ts +34 -34
  49. package/Drawer/drawerClasses.d.ts +30 -30
  50. package/Fab/fabClasses.d.ts +26 -26
  51. package/Fade/Fade.d.ts +1 -1
  52. package/Fade/Fade.js +19 -2
  53. package/FilledInput/filledInputClasses.d.ts +40 -40
  54. package/FormControl/formControlClasses.d.ts +14 -14
  55. package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
  56. package/FormGroup/formGroupClasses.d.ts +10 -10
  57. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  58. package/FormLabel/formLabelClasses.d.ts +22 -22
  59. package/Grid/gridClasses.d.ts +48 -48
  60. package/Grow/Grow.d.ts +1 -1
  61. package/Grow/Grow.js +17 -4
  62. package/Icon/iconClasses.d.ts +24 -24
  63. package/IconButton/iconButtonClasses.d.ts +26 -26
  64. package/ImageList/imageListClasses.d.ts +16 -16
  65. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  66. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  67. package/Input/inputClasses.d.ts +34 -34
  68. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  69. package/InputBase/inputBaseClasses.d.ts +44 -44
  70. package/InputLabel/InputLabel.js +1 -1
  71. package/InputLabel/inputLabelClasses.d.ts +32 -32
  72. package/LICENSE +21 -21
  73. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  74. package/Link/linkClasses.d.ts +18 -18
  75. package/List/listClasses.d.ts +14 -14
  76. package/ListItem/listItemClasses.d.ts +30 -30
  77. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  78. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  79. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  80. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  81. package/ListItemText/listItemTextClasses.d.ts +18 -18
  82. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  83. package/Menu/menuClasses.d.ts +12 -12
  84. package/MenuItem/menuItemClasses.d.ts +20 -20
  85. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  86. package/NativeSelect/NativeSelect.d.ts +1 -1
  87. package/NativeSelect/NativeSelect.js +1 -1
  88. package/NativeSelect/nativeSelectClasses.d.ts +30 -30
  89. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  90. package/Pagination/paginationClasses.d.ts +14 -14
  91. package/PaginationItem/PaginationItem.js +3 -4
  92. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  93. package/Paper/paperClasses.d.ts +39 -39
  94. package/Popover/Popover.d.ts +1 -1
  95. package/Popover/popoverClasses.d.ts +10 -10
  96. package/README.md +8 -3
  97. package/Radio/Radio.js +10 -1
  98. package/Radio/radioClasses.d.ts +16 -16
  99. package/Rating/ratingClasses.d.ts +40 -40
  100. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  101. package/Select/SelectInput.js +2 -1
  102. package/Select/selectClasses.d.ts +30 -30
  103. package/Skeleton/skeletonClasses.d.ts +24 -24
  104. package/Slide/Slide.d.ts +1 -1
  105. package/Slide/Slide.js +19 -2
  106. package/Snackbar/Snackbar.d.ts +1 -1
  107. package/Snackbar/snackbarClasses.d.ts +20 -20
  108. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  109. package/SpeedDial/speedDialClasses.d.ts +22 -22
  110. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  111. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  112. package/Step/stepClasses.d.ts +16 -16
  113. package/StepButton/stepButtonClasses.d.ts +14 -14
  114. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  115. package/StepContent/stepContentClasses.d.ts +12 -12
  116. package/StepIcon/stepIconClasses.d.ts +16 -16
  117. package/StepLabel/stepLabelClasses.d.ts +28 -28
  118. package/Stepper/stepperClasses.d.ts +14 -14
  119. package/SvgIcon/svgIconClasses.d.ts +24 -24
  120. package/Switch/Switch.js +3 -1
  121. package/Switch/switchClasses.d.ts +32 -32
  122. package/Tab/Tab.js +8 -4
  123. package/Tab/tabClasses.d.ts +26 -24
  124. package/Tab/tabClasses.js +1 -1
  125. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  126. package/Table/tableClasses.d.ts +10 -10
  127. package/TableBody/tableBodyClasses.d.ts +8 -8
  128. package/TableCell/tableCellClasses.d.ts +32 -32
  129. package/TableContainer/tableContainerClasses.d.ts +8 -8
  130. package/TableFooter/tableFooterClasses.d.ts +8 -8
  131. package/TableHead/tableHeadClasses.d.ts +8 -8
  132. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  133. package/TableRow/tableRowClasses.d.ts +16 -16
  134. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  135. package/Tabs/tabsClasses.d.ts +32 -32
  136. package/TextField/textFieldClasses.d.ts +8 -8
  137. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  138. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  139. package/Toolbar/toolbarClasses.d.ts +14 -14
  140. package/Tooltip/Tooltip.d.ts +29 -2
  141. package/Tooltip/Tooltip.js +56 -24
  142. package/Tooltip/tooltipClasses.d.ts +30 -30
  143. package/Typography/typographyClasses.d.ts +50 -50
  144. package/Zoom/Zoom.d.ts +1 -1
  145. package/Zoom/Zoom.js +19 -2
  146. package/colors/amber.d.ts +15 -15
  147. package/colors/blue.d.ts +15 -15
  148. package/colors/blueGrey.d.ts +15 -15
  149. package/colors/brown.d.ts +15 -15
  150. package/colors/common.d.ts +3 -3
  151. package/colors/cyan.d.ts +15 -15
  152. package/colors/deepOrange.d.ts +15 -15
  153. package/colors/deepPurple.d.ts +15 -15
  154. package/colors/green.d.ts +15 -15
  155. package/colors/grey.d.ts +15 -15
  156. package/colors/indigo.d.ts +15 -15
  157. package/colors/lightBlue.d.ts +15 -15
  158. package/colors/lightGreen.d.ts +15 -15
  159. package/colors/lime.d.ts +15 -15
  160. package/colors/orange.d.ts +15 -15
  161. package/colors/pink.d.ts +15 -15
  162. package/colors/purple.d.ts +15 -15
  163. package/colors/red.d.ts +15 -15
  164. package/colors/teal.d.ts +15 -15
  165. package/colors/yellow.d.ts +15 -15
  166. package/darkScrollbar/index.d.ts +28 -28
  167. package/index.js +1 -1
  168. package/internal/SwitchBase.js +3 -2
  169. package/internal/switchBaseClasses.d.ts +12 -12
  170. package/legacy/Alert/Alert.js +1 -0
  171. package/legacy/Autocomplete/Autocomplete.js +1 -1
  172. package/legacy/Avatar/Avatar.js +1 -1
  173. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  174. package/legacy/Chip/Chip.js +5 -4
  175. package/legacy/Collapse/Collapse.js +17 -4
  176. package/legacy/Fade/Fade.js +20 -3
  177. package/legacy/Grow/Grow.js +18 -5
  178. package/legacy/InputLabel/InputLabel.js +1 -1
  179. package/legacy/NativeSelect/NativeSelect.js +1 -1
  180. package/legacy/PaginationItem/PaginationItem.js +3 -4
  181. package/legacy/Radio/Radio.js +11 -1
  182. package/legacy/Select/SelectInput.js +2 -1
  183. package/legacy/Slide/Slide.js +20 -3
  184. package/legacy/Switch/Switch.js +22 -22
  185. package/legacy/Tab/Tab.js +8 -4
  186. package/legacy/Tab/tabClasses.js +1 -1
  187. package/legacy/Tooltip/Tooltip.js +55 -24
  188. package/legacy/Zoom/Zoom.js +20 -3
  189. package/legacy/index.js +1 -1
  190. package/legacy/internal/SwitchBase.js +2 -1
  191. package/legacy/useMediaQuery/useMediaQuery.js +23 -21
  192. package/locale/index.d.ts +65 -65
  193. package/modern/Alert/Alert.js +1 -0
  194. package/modern/Autocomplete/Autocomplete.js +1 -1
  195. package/modern/Avatar/Avatar.js +1 -1
  196. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  197. package/modern/Chip/Chip.js +5 -4
  198. package/modern/Collapse/Collapse.js +16 -3
  199. package/modern/Fade/Fade.js +19 -2
  200. package/modern/Grow/Grow.js +17 -4
  201. package/modern/InputLabel/InputLabel.js +1 -1
  202. package/modern/NativeSelect/NativeSelect.js +1 -1
  203. package/modern/PaginationItem/PaginationItem.js +3 -4
  204. package/modern/Radio/Radio.js +10 -1
  205. package/modern/Select/SelectInput.js +2 -1
  206. package/modern/Slide/Slide.js +19 -2
  207. package/modern/Switch/Switch.js +3 -1
  208. package/modern/Tab/Tab.js +8 -4
  209. package/modern/Tab/tabClasses.js +1 -1
  210. package/modern/Tooltip/Tooltip.js +47 -21
  211. package/modern/Zoom/Zoom.js +19 -2
  212. package/modern/index.js +1 -1
  213. package/modern/internal/SwitchBase.js +3 -2
  214. package/modern/useMediaQuery/useMediaQuery.js +18 -18
  215. package/node/Accordion/accordionClasses.js +1 -1
  216. package/node/Accordion/index.js +4 -4
  217. package/node/AccordionActions/accordionActionsClasses.js +1 -1
  218. package/node/AccordionActions/index.js +4 -4
  219. package/node/AccordionDetails/accordionDetailsClasses.js +1 -1
  220. package/node/AccordionDetails/index.js +4 -4
  221. package/node/AccordionSummary/accordionSummaryClasses.js +1 -1
  222. package/node/AccordionSummary/index.js +4 -4
  223. package/node/Alert/Alert.js +1 -0
  224. package/node/Alert/alertClasses.js +1 -1
  225. package/node/Alert/index.js +4 -4
  226. package/node/AlertTitle/alertTitleClasses.js +1 -1
  227. package/node/AlertTitle/index.js +4 -4
  228. package/node/AppBar/appBarClasses.js +1 -1
  229. package/node/AppBar/index.js +4 -4
  230. package/node/Autocomplete/Autocomplete.js +1 -1
  231. package/node/Autocomplete/autocompleteClasses.js +1 -1
  232. package/node/Autocomplete/index.js +4 -4
  233. package/node/Avatar/Avatar.js +1 -1
  234. package/node/Avatar/avatarClasses.js +1 -1
  235. package/node/Avatar/index.js +4 -4
  236. package/node/AvatarGroup/avatarGroupClasses.js +1 -1
  237. package/node/AvatarGroup/index.js +4 -4
  238. package/node/BottomNavigation/BottomNavigation.js +0 -0
  239. package/node/BottomNavigation/bottomNavigationClasses.js +1 -1
  240. package/node/BottomNavigation/index.js +4 -4
  241. package/node/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
  242. package/node/BottomNavigationAction/index.js +4 -4
  243. package/node/Breadcrumbs/breadcrumbsClasses.js +1 -1
  244. package/node/Breadcrumbs/index.js +4 -4
  245. package/node/Button/buttonClasses.js +1 -1
  246. package/node/Button/index.js +4 -4
  247. package/node/ButtonBase/TouchRipple.js +1 -1
  248. package/node/ButtonBase/buttonBaseClasses.js +1 -1
  249. package/node/ButtonBase/index.js +4 -4
  250. package/node/ButtonBase/touchRippleClasses.js +1 -1
  251. package/node/ButtonGroup/buttonGroupClasses.js +1 -1
  252. package/node/ButtonGroup/index.js +4 -4
  253. package/node/Card/cardClasses.js +1 -1
  254. package/node/Card/index.js +4 -4
  255. package/node/CardActionArea/cardActionAreaClasses.js +1 -1
  256. package/node/CardActionArea/index.js +4 -4
  257. package/node/CardActions/cardActionsClasses.js +1 -1
  258. package/node/CardActions/index.js +4 -4
  259. package/node/CardContent/cardContentClasses.js +1 -1
  260. package/node/CardContent/index.js +4 -4
  261. package/node/CardHeader/cardHeaderClasses.js +1 -1
  262. package/node/CardHeader/index.js +4 -4
  263. package/node/CardMedia/cardMediaClasses.js +1 -1
  264. package/node/CardMedia/index.js +4 -4
  265. package/node/Checkbox/checkboxClasses.js +1 -1
  266. package/node/Checkbox/index.js +4 -4
  267. package/node/Chip/Chip.js +5 -4
  268. package/node/Chip/chipClasses.js +1 -1
  269. package/node/Chip/index.js +4 -4
  270. package/node/CircularProgress/circularProgressClasses.js +1 -1
  271. package/node/CircularProgress/index.js +4 -4
  272. package/node/Collapse/Collapse.js +16 -3
  273. package/node/Collapse/collapseClasses.js +1 -1
  274. package/node/Collapse/index.js +4 -4
  275. package/node/Container/containerClasses.js +1 -1
  276. package/node/Container/index.js +4 -4
  277. package/node/CssBaseline/CssBaseline.js +1 -1
  278. package/node/Dialog/dialogClasses.js +1 -1
  279. package/node/DialogActions/dialogActionsClasses.js +1 -1
  280. package/node/DialogContent/dialogContentClasses.js +1 -1
  281. package/node/DialogContentText/dialogContentTextClasses.js +1 -1
  282. package/node/DialogTitle/dialogTitleClasses.js +1 -1
  283. package/node/Divider/dividerClasses.js +1 -1
  284. package/node/Drawer/Drawer.js +2 -2
  285. package/node/Drawer/drawerClasses.js +1 -1
  286. package/node/Fab/fabClasses.js +1 -1
  287. package/node/Fade/Fade.js +19 -2
  288. package/node/FilledInput/filledInputClasses.js +1 -1
  289. package/node/FormControl/formControlClasses.js +1 -1
  290. package/node/FormControl/index.js +4 -4
  291. package/node/FormControlLabel/formControlLabelClasses.js +1 -1
  292. package/node/FormGroup/formGroupClasses.js +1 -1
  293. package/node/FormHelperText/formHelperTextClasses.js +1 -1
  294. package/node/FormLabel/formLabelClasses.js +1 -1
  295. package/node/Grid/Grid.js +2 -2
  296. package/node/Grid/gridClasses.js +1 -1
  297. package/node/Grow/Grow.js +17 -4
  298. package/node/Hidden/hiddenCssClasses.js +1 -1
  299. package/node/Hidden/withWidth.js +1 -1
  300. package/node/Icon/iconClasses.js +1 -1
  301. package/node/IconButton/iconButtonClasses.js +1 -1
  302. package/node/ImageList/imageListClasses.js +1 -1
  303. package/node/ImageListItem/imageListItemClasses.js +1 -1
  304. package/node/ImageListItemBar/imageListItemBarClasses.js +1 -1
  305. package/node/Input/inputClasses.js +1 -1
  306. package/node/InputAdornment/inputAdornmentClasses.js +1 -1
  307. package/node/InputBase/InputBase.js +1 -1
  308. package/node/InputBase/inputBaseClasses.js +1 -1
  309. package/node/InputBase/utils.js +1 -1
  310. package/node/InputLabel/InputLabel.js +1 -1
  311. package/node/InputLabel/inputLabelClasses.js +1 -1
  312. package/node/LinearProgress/linearProgressClasses.js +1 -1
  313. package/node/Link/linkClasses.js +1 -1
  314. package/node/List/listClasses.js +1 -1
  315. package/node/ListItem/ListItem.js +1 -1
  316. package/node/ListItem/listItemClasses.js +1 -1
  317. package/node/ListItemAvatar/listItemAvatarClasses.js +1 -1
  318. package/node/ListItemButton/ListItemButton.js +1 -1
  319. package/node/ListItemButton/listItemButtonClasses.js +1 -1
  320. package/node/ListItemIcon/listItemIconClasses.js +1 -1
  321. package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
  322. package/node/ListItemText/listItemTextClasses.js +1 -1
  323. package/node/ListSubheader/listSubheaderClasses.js +1 -1
  324. package/node/Menu/menuClasses.js +1 -1
  325. package/node/MenuItem/MenuItem.js +1 -1
  326. package/node/MenuItem/menuItemClasses.js +1 -1
  327. package/node/MobileStepper/mobileStepperClasses.js +1 -1
  328. package/node/Modal/Modal.js +1 -1
  329. package/node/NativeSelect/NativeSelect.js +1 -1
  330. package/node/NativeSelect/NativeSelectInput.js +1 -1
  331. package/node/NativeSelect/nativeSelectClasses.js +1 -1
  332. package/node/OutlinedInput/outlinedInputClasses.js +1 -1
  333. package/node/Pagination/paginationClasses.js +1 -1
  334. package/node/PaginationItem/PaginationItem.js +3 -4
  335. package/node/PaginationItem/paginationItemClasses.js +1 -1
  336. package/node/Paper/paperClasses.js +1 -1
  337. package/node/Popover/Popover.js +2 -2
  338. package/node/Popover/popoverClasses.js +1 -1
  339. package/node/Radio/Radio.js +11 -1
  340. package/node/Radio/radioClasses.js +1 -1
  341. package/node/Rating/ratingClasses.js +1 -1
  342. package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
  343. package/node/Select/SelectInput.js +2 -1
  344. package/node/Select/selectClasses.js +1 -1
  345. package/node/Skeleton/skeletonClasses.js +1 -1
  346. package/node/Slide/Slide.js +20 -3
  347. package/node/Slider/Slider.js +1 -1
  348. package/node/Snackbar/snackbarClasses.js +1 -1
  349. package/node/SnackbarContent/snackbarContentClasses.js +1 -1
  350. package/node/SpeedDial/speedDialClasses.js +1 -1
  351. package/node/SpeedDialAction/speedDialActionClasses.js +1 -1
  352. package/node/SpeedDialIcon/speedDialIconClasses.js +1 -1
  353. package/node/Stack/Stack.js +1 -1
  354. package/node/Step/stepClasses.js +1 -1
  355. package/node/StepButton/stepButtonClasses.js +1 -1
  356. package/node/StepConnector/stepConnectorClasses.js +1 -1
  357. package/node/StepContent/stepContentClasses.js +1 -1
  358. package/node/StepIcon/stepIconClasses.js +1 -1
  359. package/node/StepLabel/stepLabelClasses.js +1 -1
  360. package/node/Stepper/stepperClasses.js +1 -1
  361. package/node/SvgIcon/svgIconClasses.js +1 -1
  362. package/node/SwipeableDrawer/SwipeableDrawer.js +1 -1
  363. package/node/Switch/Switch.js +3 -1
  364. package/node/Switch/switchClasses.js +1 -1
  365. package/node/Tab/Tab.js +8 -4
  366. package/node/Tab/tabClasses.js +2 -2
  367. package/node/TabScrollButton/tabScrollButtonClasses.js +1 -1
  368. package/node/Table/tableClasses.js +1 -1
  369. package/node/TableBody/tableBodyClasses.js +1 -1
  370. package/node/TableCell/tableCellClasses.js +1 -1
  371. package/node/TableContainer/tableContainerClasses.js +1 -1
  372. package/node/TableFooter/tableFooterClasses.js +1 -1
  373. package/node/TableHead/tableHeadClasses.js +1 -1
  374. package/node/TablePagination/tablePaginationClasses.js +1 -1
  375. package/node/TableRow/tableRowClasses.js +1 -1
  376. package/node/TableSortLabel/tableSortLabelClasses.js +1 -1
  377. package/node/Tabs/tabsClasses.js +1 -1
  378. package/node/TextField/textFieldClasses.js +1 -1
  379. package/node/ToggleButton/toggleButtonClasses.js +1 -1
  380. package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  381. package/node/Toolbar/toolbarClasses.js +1 -1
  382. package/node/Tooltip/Tooltip.js +56 -24
  383. package/node/Tooltip/tooltipClasses.js +1 -1
  384. package/node/Typography/typographyClasses.js +1 -1
  385. package/node/Zoom/Zoom.js +19 -2
  386. package/node/colors/index.js +40 -40
  387. package/node/index.js +32 -32
  388. package/node/internal/SwitchBase.js +3 -2
  389. package/node/internal/switchBaseClasses.js +1 -1
  390. package/node/locale/index.js +1 -1
  391. package/node/styles/createPalette.js +2 -1
  392. package/node/styles/createTransitions.js +1 -1
  393. package/node/styles/cssUtils.js +4 -4
  394. package/node/styles/index.js +56 -56
  395. package/node/styles/styled.js +1 -1
  396. package/node/useAutocomplete/index.js +4 -4
  397. package/node/useMediaQuery/useMediaQuery.js +14 -17
  398. package/package.json +7 -7
  399. package/styles/components.d.ts +4 -0
  400. package/styles/props.d.ts +2 -0
  401. package/styles/styled.d.ts +4 -0
  402. package/transitions/index.d.ts +1 -1
  403. package/transitions/transition.d.ts +14 -14
  404. package/transitions/utils.d.ts +23 -23
  405. package/umd/material-ui.development.js +848 -595
  406. package/umd/material-ui.production.min.js +21 -21
  407. package/useMediaQuery/useMediaQuery.d.ts +21 -16
  408. package/useMediaQuery/useMediaQuery.js +18 -18
  409. package/useTouchRipple/index.d.ts +1 -1
  410. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  411. package/utils/getScrollbarSize.d.ts +2 -2
  412. package/utils/ownerDocument.d.ts +2 -2
  413. package/utils/ownerWindow.d.ts +2 -2
  414. package/utils/setRef.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.0
1
+ /** @license MUI v5.0.4
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -7,7 +7,7 @@
7
7
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom')) :
8
8
  typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom'], factory) :
9
9
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.MaterialUI = {}, global.React, global.ReactDOM));
10
- }(this, (function (exports, React, ReactDOM) { 'use strict';
10
+ })(this, (function (exports, React, ReactDOM) { 'use strict';
11
11
 
12
12
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
13
 
@@ -20,14 +20,12 @@
20
20
  var d = Object.getOwnPropertyDescriptor(e, k);
21
21
  Object.defineProperty(n, k, d.get ? d : {
22
22
  enumerable: true,
23
- get: function () {
24
- return e[k];
25
- }
23
+ get: function () { return e[k]; }
26
24
  });
27
25
  }
28
26
  });
29
27
  }
30
- n['default'] = e;
28
+ n["default"] = e;
31
29
  return Object.freeze(n);
32
30
  }
33
31
 
@@ -842,8 +840,8 @@
842
840
  }
843
841
  };
844
842
 
845
- var isBrowser$5 = typeof document !== 'undefined';
846
- var getServerStylisCache = isBrowser$5 ? undefined : weakMemoize(function () {
843
+ var isBrowser$4 = typeof document !== 'undefined';
844
+ var getServerStylisCache = isBrowser$4 ? undefined : weakMemoize(function () {
847
845
  return memoize$1(function () {
848
846
  var cache = {};
849
847
  return function (name) {
@@ -860,7 +858,7 @@
860
858
  throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
861
859
  }
862
860
 
863
- if (isBrowser$5 && key === 'css') {
861
+ if (isBrowser$4 && key === 'css') {
864
862
  var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
865
863
  // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
866
864
  // note this very very intentionally targets all style elements regardless of the key to ensure
@@ -897,7 +895,7 @@
897
895
  var container;
898
896
  var nodesToHydrate = [];
899
897
 
900
- if (isBrowser$5) {
898
+ if (isBrowser$4) {
901
899
  container = options.container || document.head;
902
900
  Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
903
901
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -925,7 +923,7 @@
925
923
  }), incorrectImportAlarm);
926
924
  }
927
925
 
928
- if (isBrowser$5) {
926
+ if (isBrowser$4) {
929
927
  var currentSheet;
930
928
  var finalizingPlugins = [fe, function (element) {
931
929
  if (!element.root) {
@@ -1390,8 +1388,8 @@
1390
1388
 
1391
1389
  var hoistNonReactStatics_cjs = hoistNonReactStatics;
1392
1390
 
1393
- var isBrowser$4 = typeof document !== 'undefined';
1394
- function getRegisteredStyles$1(registered, registeredStyles, classNames) {
1391
+ var isBrowser$3 = typeof document !== 'undefined';
1392
+ function getRegisteredStyles(registered, registeredStyles, classNames) {
1395
1393
  var rawClassName = '';
1396
1394
  classNames.split(' ').forEach(function (className) {
1397
1395
  if (registered[className] !== undefined) {
@@ -1402,7 +1400,7 @@
1402
1400
  });
1403
1401
  return rawClassName;
1404
1402
  }
1405
- var insertStyles$1 = function insertStyles(cache, serialized, isStringTag) {
1403
+ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
1406
1404
  var className = cache.key + "-" + serialized.name;
1407
1405
 
1408
1406
  if ( // we only need to add the styles to the registered cache if the
@@ -1414,7 +1412,7 @@
1414
1412
  // in node since emotion-server relies on whether a style is in
1415
1413
  // the registered cache to know whether a style is global or not
1416
1414
  // also, note that this check will be dead code eliminated in the browser
1417
- isBrowser$4 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
1415
+ isBrowser$3 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
1418
1416
  cache.registered[className] = serialized.styles;
1419
1417
  }
1420
1418
 
@@ -1425,14 +1423,14 @@
1425
1423
  do {
1426
1424
  var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
1427
1425
 
1428
- if (!isBrowser$4 && maybeStyles !== undefined) {
1426
+ if (!isBrowser$3 && maybeStyles !== undefined) {
1429
1427
  stylesForSSR += maybeStyles;
1430
1428
  }
1431
1429
 
1432
1430
  current = current.next;
1433
1431
  } while (current !== undefined);
1434
1432
 
1435
- if (!isBrowser$4 && stylesForSSR.length !== 0) {
1433
+ if (!isBrowser$3 && stylesForSSR.length !== 0) {
1436
1434
  return stylesForSSR;
1437
1435
  }
1438
1436
  }
@@ -1541,34 +1539,34 @@
1541
1539
  strokeWidth: 1
1542
1540
  };
1543
1541
 
1544
- var ILLEGAL_ESCAPE_SEQUENCE_ERROR$2 = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
1545
- var UNDEFINED_AS_OBJECT_KEY_ERROR$1 = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
1546
- var hyphenateRegex$1 = /[A-Z]|^ms/g;
1547
- var animationRegex$1 = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1542
+ var ILLEGAL_ESCAPE_SEQUENCE_ERROR$1 = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
1543
+ var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
1544
+ var hyphenateRegex = /[A-Z]|^ms/g;
1545
+ var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1548
1546
 
1549
- var isCustomProperty$1 = function isCustomProperty(property) {
1547
+ var isCustomProperty = function isCustomProperty(property) {
1550
1548
  return property.charCodeAt(1) === 45;
1551
1549
  };
1552
1550
 
1553
- var isProcessableValue$1 = function isProcessableValue(value) {
1551
+ var isProcessableValue = function isProcessableValue(value) {
1554
1552
  return value != null && typeof value !== 'boolean';
1555
1553
  };
1556
1554
 
1557
- var processStyleName$1 = /* #__PURE__ */memoize$1(function (styleName) {
1558
- return isCustomProperty$1(styleName) ? styleName : styleName.replace(hyphenateRegex$1, '-$&').toLowerCase();
1555
+ var processStyleName = /* #__PURE__ */memoize$1(function (styleName) {
1556
+ return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
1559
1557
  });
1560
1558
 
1561
- var processStyleValue$1 = function processStyleValue(key, value) {
1559
+ var processStyleValue = function processStyleValue(key, value) {
1562
1560
  switch (key) {
1563
1561
  case 'animation':
1564
1562
  case 'animationName':
1565
1563
  {
1566
1564
  if (typeof value === 'string') {
1567
- return value.replace(animationRegex$1, function (match, p1, p2) {
1568
- cursor$1 = {
1565
+ return value.replace(animationRegex, function (match, p1, p2) {
1566
+ cursor = {
1569
1567
  name: p1,
1570
1568
  styles: p2,
1571
- next: cursor$1
1569
+ next: cursor
1572
1570
  };
1573
1571
  return p1;
1574
1572
  });
@@ -1576,7 +1574,7 @@
1576
1574
  }
1577
1575
  }
1578
1576
 
1579
- if (unitlessKeys[key] !== 1 && !isCustomProperty$1(key) && typeof value === 'number' && value !== 0) {
1577
+ if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
1580
1578
  return value + 'px';
1581
1579
  }
1582
1580
 
@@ -1584,25 +1582,25 @@
1584
1582
  };
1585
1583
 
1586
1584
  {
1587
- var contentValuePattern$1 = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
1588
- var contentValues$1 = ['normal', 'none', 'initial', 'inherit', 'unset'];
1589
- var oldProcessStyleValue$1 = processStyleValue$1;
1590
- var msPattern$1 = /^-ms-/;
1591
- var hyphenPattern$1 = /-(.)/g;
1592
- var hyphenatedCache$1 = {};
1593
-
1594
- processStyleValue$1 = function processStyleValue(key, value) {
1585
+ var contentValuePattern = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
1586
+ var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
1587
+ var oldProcessStyleValue = processStyleValue;
1588
+ var msPattern = /^-ms-/;
1589
+ var hyphenPattern = /-(.)/g;
1590
+ var hyphenatedCache = {};
1591
+
1592
+ processStyleValue = function processStyleValue(key, value) {
1595
1593
  if (key === 'content') {
1596
- if (typeof value !== 'string' || contentValues$1.indexOf(value) === -1 && !contentValuePattern$1.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
1594
+ if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
1597
1595
  throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
1598
1596
  }
1599
1597
  }
1600
1598
 
1601
- var processed = oldProcessStyleValue$1(key, value);
1599
+ var processed = oldProcessStyleValue(key, value);
1602
1600
 
1603
- if (processed !== '' && !isCustomProperty$1(key) && key.indexOf('-') !== -1 && hyphenatedCache$1[key] === undefined) {
1604
- hyphenatedCache$1[key] = true;
1605
- console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern$1, 'ms-').replace(hyphenPattern$1, function (str, _char) {
1601
+ if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
1602
+ hyphenatedCache[key] = true;
1603
+ console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
1606
1604
  return _char.toUpperCase();
1607
1605
  }) + "?");
1608
1606
  }
@@ -1611,7 +1609,7 @@
1611
1609
  };
1612
1610
  }
1613
1611
 
1614
- function handleInterpolation$1(mergedProps, registered, interpolation) {
1612
+ function handleInterpolation(mergedProps, registered, interpolation) {
1615
1613
  if (interpolation == null) {
1616
1614
  return '';
1617
1615
  }
@@ -1633,10 +1631,10 @@
1633
1631
  case 'object':
1634
1632
  {
1635
1633
  if (interpolation.anim === 1) {
1636
- cursor$1 = {
1634
+ cursor = {
1637
1635
  name: interpolation.name,
1638
1636
  styles: interpolation.styles,
1639
- next: cursor$1
1637
+ next: cursor
1640
1638
  };
1641
1639
  return interpolation.name;
1642
1640
  }
@@ -1648,10 +1646,10 @@
1648
1646
  // not the most efficient thing ever but this is a pretty rare case
1649
1647
  // and there will be very few iterations of this generally
1650
1648
  while (next !== undefined) {
1651
- cursor$1 = {
1649
+ cursor = {
1652
1650
  name: next.name,
1653
1651
  styles: next.styles,
1654
- next: cursor$1
1652
+ next: cursor
1655
1653
  };
1656
1654
  next = next.next;
1657
1655
  }
@@ -1666,16 +1664,16 @@
1666
1664
  return styles;
1667
1665
  }
1668
1666
 
1669
- return createStringFromObject$1(mergedProps, registered, interpolation);
1667
+ return createStringFromObject(mergedProps, registered, interpolation);
1670
1668
  }
1671
1669
 
1672
1670
  case 'function':
1673
1671
  {
1674
1672
  if (mergedProps !== undefined) {
1675
- var previousCursor = cursor$1;
1673
+ var previousCursor = cursor;
1676
1674
  var result = interpolation(mergedProps);
1677
- cursor$1 = previousCursor;
1678
- return handleInterpolation$1(mergedProps, registered, result);
1675
+ cursor = previousCursor;
1676
+ return handleInterpolation(mergedProps, registered, result);
1679
1677
  } else {
1680
1678
  console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
1681
1679
  }
@@ -1686,7 +1684,7 @@
1686
1684
  case 'string':
1687
1685
  {
1688
1686
  var matched = [];
1689
- var replaced = interpolation.replace(animationRegex$1, function (match, p1, p2) {
1687
+ var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
1690
1688
  var fakeVarName = "animation" + matched.length;
1691
1689
  matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
1692
1690
  return "${" + fakeVarName + "}";
@@ -1709,12 +1707,12 @@
1709
1707
  return cached !== undefined ? cached : interpolation;
1710
1708
  }
1711
1709
 
1712
- function createStringFromObject$1(mergedProps, registered, obj) {
1710
+ function createStringFromObject(mergedProps, registered, obj) {
1713
1711
  var string = '';
1714
1712
 
1715
1713
  if (Array.isArray(obj)) {
1716
1714
  for (var i = 0; i < obj.length; i++) {
1717
- string += handleInterpolation$1(mergedProps, registered, obj[i]) + ";";
1715
+ string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
1718
1716
  }
1719
1717
  } else {
1720
1718
  for (var _key in obj) {
@@ -1723,8 +1721,8 @@
1723
1721
  if (typeof value !== 'object') {
1724
1722
  if (registered != null && registered[value] !== undefined) {
1725
1723
  string += _key + "{" + registered[value] + "}";
1726
- } else if (isProcessableValue$1(value)) {
1727
- string += processStyleName$1(_key) + ":" + processStyleValue$1(_key, value) + ";";
1724
+ } else if (isProcessableValue(value)) {
1725
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
1728
1726
  }
1729
1727
  } else {
1730
1728
  if (_key === 'NO_COMPONENT_SELECTOR' && "development" !== 'production') {
@@ -1733,25 +1731,25 @@
1733
1731
 
1734
1732
  if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
1735
1733
  for (var _i = 0; _i < value.length; _i++) {
1736
- if (isProcessableValue$1(value[_i])) {
1737
- string += processStyleName$1(_key) + ":" + processStyleValue$1(_key, value[_i]) + ";";
1734
+ if (isProcessableValue(value[_i])) {
1735
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
1738
1736
  }
1739
1737
  }
1740
1738
  } else {
1741
- var interpolated = handleInterpolation$1(mergedProps, registered, value);
1739
+ var interpolated = handleInterpolation(mergedProps, registered, value);
1742
1740
 
1743
1741
  switch (_key) {
1744
1742
  case 'animation':
1745
1743
  case 'animationName':
1746
1744
  {
1747
- string += processStyleName$1(_key) + ":" + interpolated + ";";
1745
+ string += processStyleName(_key) + ":" + interpolated + ";";
1748
1746
  break;
1749
1747
  }
1750
1748
 
1751
1749
  default:
1752
1750
  {
1753
1751
  if (_key === 'undefined') {
1754
- console.error(UNDEFINED_AS_OBJECT_KEY_ERROR$1);
1752
+ console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
1755
1753
  }
1756
1754
 
1757
1755
  string += _key + "{" + interpolated + "}";
@@ -1765,32 +1763,32 @@
1765
1763
  return string;
1766
1764
  }
1767
1765
 
1768
- var labelPattern$1 = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
1769
- var sourceMapPattern$1;
1766
+ var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
1767
+ var sourceMapPattern;
1770
1768
 
1771
1769
  {
1772
- sourceMapPattern$1 = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
1770
+ sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
1773
1771
  } // this is the cursor for keyframes
1774
1772
  // keyframes are stored on the SerializedStyles object as a linked list
1775
1773
 
1776
1774
 
1777
- var cursor$1;
1778
- var serializeStyles$1 = function serializeStyles(args, registered, mergedProps) {
1775
+ var cursor;
1776
+ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
1779
1777
  if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
1780
1778
  return args[0];
1781
1779
  }
1782
1780
 
1783
1781
  var stringMode = true;
1784
1782
  var styles = '';
1785
- cursor$1 = undefined;
1783
+ cursor = undefined;
1786
1784
  var strings = args[0];
1787
1785
 
1788
1786
  if (strings == null || strings.raw === undefined) {
1789
1787
  stringMode = false;
1790
- styles += handleInterpolation$1(mergedProps, registered, strings);
1788
+ styles += handleInterpolation(mergedProps, registered, strings);
1791
1789
  } else {
1792
1790
  if (strings[0] === undefined) {
1793
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR$2);
1791
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR$1);
1794
1792
  }
1795
1793
 
1796
1794
  styles += strings[0];
@@ -1798,11 +1796,11 @@
1798
1796
 
1799
1797
 
1800
1798
  for (var i = 1; i < args.length; i++) {
1801
- styles += handleInterpolation$1(mergedProps, registered, args[i]);
1799
+ styles += handleInterpolation(mergedProps, registered, args[i]);
1802
1800
 
1803
1801
  if (stringMode) {
1804
1802
  if (strings[i] === undefined) {
1805
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR$2);
1803
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR$1);
1806
1804
  }
1807
1805
 
1808
1806
  styles += strings[i];
@@ -1812,18 +1810,18 @@
1812
1810
  var sourceMap;
1813
1811
 
1814
1812
  {
1815
- styles = styles.replace(sourceMapPattern$1, function (match) {
1813
+ styles = styles.replace(sourceMapPattern, function (match) {
1816
1814
  sourceMap = match;
1817
1815
  return '';
1818
1816
  });
1819
1817
  } // using a global regex with .exec is stateful so lastIndex has to be reset each time
1820
1818
 
1821
1819
 
1822
- labelPattern$1.lastIndex = 0;
1820
+ labelPattern.lastIndex = 0;
1823
1821
  var identifierName = '';
1824
1822
  var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
1825
1823
 
1826
- while ((match = labelPattern$1.exec(styles)) !== null) {
1824
+ while ((match = labelPattern.exec(styles)) !== null) {
1827
1825
  identifierName += '-' + // $FlowFixMe we know it's not null
1828
1826
  match[1];
1829
1827
  }
@@ -1836,7 +1834,7 @@
1836
1834
  name: name,
1837
1835
  styles: styles,
1838
1836
  map: sourceMap,
1839
- next: cursor$1,
1837
+ next: cursor,
1840
1838
  toString: function toString() {
1841
1839
  return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
1842
1840
  }
@@ -1844,7 +1842,7 @@
1844
1842
  }
1845
1843
  };
1846
1844
 
1847
- var isBrowser$3 = typeof document !== 'undefined';
1845
+ var isBrowser$2 = typeof document !== 'undefined';
1848
1846
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
1849
1847
 
1850
1848
  var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
@@ -1872,7 +1870,7 @@
1872
1870
  });
1873
1871
  };
1874
1872
 
1875
- if (!isBrowser$3) {
1873
+ if (!isBrowser$2) {
1876
1874
  withEmotionCache = function withEmotionCache(func) {
1877
1875
  return function (props) {
1878
1876
  var cache = React.useContext(EmotionCacheContext);
@@ -1918,22 +1916,22 @@
1918
1916
  var className = '';
1919
1917
 
1920
1918
  if (typeof props.className === 'string') {
1921
- className = getRegisteredStyles$1(cache.registered, registeredStyles, props.className);
1919
+ className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
1922
1920
  } else if (props.className != null) {
1923
1921
  className = props.className + " ";
1924
1922
  }
1925
1923
 
1926
- var serialized = serializeStyles$1(registeredStyles, undefined, React.useContext(ThemeContext$2));
1924
+ var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext$2));
1927
1925
 
1928
1926
  if (serialized.name.indexOf('-') === -1) {
1929
1927
  var labelFromStack = props[labelPropName];
1930
1928
 
1931
1929
  if (labelFromStack) {
1932
- serialized = serializeStyles$1([serialized, 'label:' + labelFromStack + ';']);
1930
+ serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);
1933
1931
  }
1934
1932
  }
1935
1933
 
1936
- var rules = insertStyles$1(cache, serialized, typeof type === 'string');
1934
+ var rules = insertStyles(cache, serialized, typeof type === 'string');
1937
1935
  className += cache.key + "-" + serialized.name;
1938
1936
  var newProps = {};
1939
1937
 
@@ -1947,7 +1945,7 @@
1947
1945
  newProps.className = className;
1948
1946
  var ele = /*#__PURE__*/React.createElement(type, newProps);
1949
1947
 
1950
- if (!isBrowser$3 && rules !== undefined) {
1948
+ if (!isBrowser$2 && rules !== undefined) {
1951
1949
  var _ref;
1952
1950
 
1953
1951
  var serializedNames = serialized.name;
@@ -2061,9 +2059,9 @@
2061
2059
  }
2062
2060
 
2063
2061
  var styles = props.styles;
2064
- var serialized = serializeStyles$1([styles], undefined, React.useContext(ThemeContext$2));
2062
+ var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext$2));
2065
2063
 
2066
- if (!isBrowser$3) {
2064
+ if (!isBrowser$2) {
2067
2065
  var _ref;
2068
2066
 
2069
2067
  var serializedNames = serialized.name;
@@ -2136,7 +2134,7 @@
2136
2134
 
2137
2135
  if (serialized.next !== undefined) {
2138
2136
  // insert keyframes
2139
- insertStyles$1(cache, serialized.next, true);
2137
+ insertStyles(cache, serialized.next, true);
2140
2138
  }
2141
2139
 
2142
2140
  if (sheet.tags.length) {
@@ -2160,7 +2158,7 @@
2160
2158
  args[_key] = arguments[_key];
2161
2159
  }
2162
2160
 
2163
- return serializeStyles$1(args);
2161
+ return serializeStyles(args);
2164
2162
  }
2165
2163
 
2166
2164
  var keyframes = function keyframes() {
@@ -2230,7 +2228,7 @@
2230
2228
 
2231
2229
  function merge$1(registered, css, className) {
2232
2230
  var registeredStyles = [];
2233
- var rawClassName = getRegisteredStyles$1(registered, registeredStyles, className);
2231
+ var rawClassName = getRegisteredStyles(registered, registeredStyles, className);
2234
2232
 
2235
2233
  if (registeredStyles.length < 2) {
2236
2234
  return className;
@@ -2253,19 +2251,19 @@
2253
2251
  args[_key] = arguments[_key];
2254
2252
  }
2255
2253
 
2256
- var serialized = serializeStyles$1(args, cache.registered);
2254
+ var serialized = serializeStyles(args, cache.registered);
2257
2255
 
2258
- if (isBrowser$3) {
2259
- insertStyles$1(cache, serialized, false);
2256
+ if (isBrowser$2) {
2257
+ insertStyles(cache, serialized, false);
2260
2258
  } else {
2261
- var res = insertStyles$1(cache, serialized, false);
2259
+ var res = insertStyles(cache, serialized, false);
2262
2260
 
2263
2261
  if (res !== undefined) {
2264
2262
  rules += res;
2265
2263
  }
2266
2264
  }
2267
2265
 
2268
- if (!isBrowser$3) {
2266
+ if (!isBrowser$2) {
2269
2267
  serializedHashes += " " + serialized.name;
2270
2268
  }
2271
2269
 
@@ -2292,7 +2290,7 @@
2292
2290
  var ele = props.children(content);
2293
2291
  hasRendered = true;
2294
2292
 
2295
- if (!isBrowser$3 && rules.length !== 0) {
2293
+ if (!isBrowser$2 && rules.length !== 0) {
2296
2294
  var _ref;
2297
2295
 
2298
2296
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedHashes.substring(1), _ref.dangerouslySetInnerHTML = {
@@ -2308,12 +2306,12 @@
2308
2306
  }
2309
2307
 
2310
2308
  {
2311
- var isBrowser$2 = typeof document !== 'undefined'; // #1727 for some reason Jest evaluates modules twice if some consuming module gets mocked with jest.mock
2309
+ var isBrowser$1 = typeof document !== 'undefined'; // #1727 for some reason Jest evaluates modules twice if some consuming module gets mocked with jest.mock
2312
2310
 
2313
2311
  var isJest = typeof jest !== 'undefined';
2314
2312
 
2315
- if (isBrowser$2 && !isJest) {
2316
- var globalContext = isBrowser$2 ? window : global$1;
2313
+ if (isBrowser$1 && !isJest) {
2314
+ var globalContext = isBrowser$1 ? window : global$1;
2317
2315
  var globalKey = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";
2318
2316
 
2319
2317
  if (globalContext[globalKey]) {
@@ -2324,357 +2322,6 @@
2324
2322
  }
2325
2323
  }
2326
2324
 
2327
- var isBrowser$1 = typeof document !== 'undefined';
2328
- function getRegisteredStyles(registered, registeredStyles, classNames) {
2329
- var rawClassName = '';
2330
- classNames.split(' ').forEach(function (className) {
2331
- if (registered[className] !== undefined) {
2332
- registeredStyles.push(registered[className] + ";");
2333
- } else {
2334
- rawClassName += className + " ";
2335
- }
2336
- });
2337
- return rawClassName;
2338
- }
2339
- var insertStyles = function insertStyles(cache, serialized, isStringTag) {
2340
- var className = cache.key + "-" + serialized.name;
2341
-
2342
- if ( // we only need to add the styles to the registered cache if the
2343
- // class name could be used further down
2344
- // the tree but if it's a string tag, we know it won't
2345
- // so we don't have to add it to registered cache.
2346
- // this improves memory usage since we can avoid storing the whole style string
2347
- (isStringTag === false || // we need to always store it if we're in compat mode and
2348
- // in node since emotion-server relies on whether a style is in
2349
- // the registered cache to know whether a style is global or not
2350
- // also, note that this check will be dead code eliminated in the browser
2351
- isBrowser$1 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
2352
- cache.registered[className] = serialized.styles;
2353
- }
2354
-
2355
- if (cache.inserted[serialized.name] === undefined) {
2356
- var stylesForSSR = '';
2357
- var current = serialized;
2358
-
2359
- do {
2360
- var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
2361
-
2362
- if (!isBrowser$1 && maybeStyles !== undefined) {
2363
- stylesForSSR += maybeStyles;
2364
- }
2365
-
2366
- current = current.next;
2367
- } while (current !== undefined);
2368
-
2369
- if (!isBrowser$1 && stylesForSSR.length !== 0) {
2370
- return stylesForSSR;
2371
- }
2372
- }
2373
- };
2374
-
2375
- var ILLEGAL_ESCAPE_SEQUENCE_ERROR$1 = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
2376
- var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
2377
- var hyphenateRegex = /[A-Z]|^ms/g;
2378
- var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
2379
-
2380
- var isCustomProperty = function isCustomProperty(property) {
2381
- return property.charCodeAt(1) === 45;
2382
- };
2383
-
2384
- var isProcessableValue = function isProcessableValue(value) {
2385
- return value != null && typeof value !== 'boolean';
2386
- };
2387
-
2388
- var processStyleName = /* #__PURE__ */memoize$1(function (styleName) {
2389
- return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
2390
- });
2391
-
2392
- var processStyleValue = function processStyleValue(key, value) {
2393
- switch (key) {
2394
- case 'animation':
2395
- case 'animationName':
2396
- {
2397
- if (typeof value === 'string') {
2398
- return value.replace(animationRegex, function (match, p1, p2) {
2399
- cursor = {
2400
- name: p1,
2401
- styles: p2,
2402
- next: cursor
2403
- };
2404
- return p1;
2405
- });
2406
- }
2407
- }
2408
- }
2409
-
2410
- if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
2411
- return value + 'px';
2412
- }
2413
-
2414
- return value;
2415
- };
2416
-
2417
- {
2418
- var contentValuePattern = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
2419
- var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
2420
- var oldProcessStyleValue = processStyleValue;
2421
- var msPattern = /^-ms-/;
2422
- var hyphenPattern = /-(.)/g;
2423
- var hyphenatedCache = {};
2424
-
2425
- processStyleValue = function processStyleValue(key, value) {
2426
- if (key === 'content') {
2427
- if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
2428
- throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
2429
- }
2430
- }
2431
-
2432
- var processed = oldProcessStyleValue(key, value);
2433
-
2434
- if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
2435
- hyphenatedCache[key] = true;
2436
- console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
2437
- return _char.toUpperCase();
2438
- }) + "?");
2439
- }
2440
-
2441
- return processed;
2442
- };
2443
- }
2444
-
2445
- function handleInterpolation(mergedProps, registered, interpolation) {
2446
- if (interpolation == null) {
2447
- return '';
2448
- }
2449
-
2450
- if (interpolation.__emotion_styles !== undefined) {
2451
- if (interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
2452
- throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
2453
- }
2454
-
2455
- return interpolation;
2456
- }
2457
-
2458
- switch (typeof interpolation) {
2459
- case 'boolean':
2460
- {
2461
- return '';
2462
- }
2463
-
2464
- case 'object':
2465
- {
2466
- if (interpolation.anim === 1) {
2467
- cursor = {
2468
- name: interpolation.name,
2469
- styles: interpolation.styles,
2470
- next: cursor
2471
- };
2472
- return interpolation.name;
2473
- }
2474
-
2475
- if (interpolation.styles !== undefined) {
2476
- var next = interpolation.next;
2477
-
2478
- if (next !== undefined) {
2479
- // not the most efficient thing ever but this is a pretty rare case
2480
- // and there will be very few iterations of this generally
2481
- while (next !== undefined) {
2482
- cursor = {
2483
- name: next.name,
2484
- styles: next.styles,
2485
- next: cursor
2486
- };
2487
- next = next.next;
2488
- }
2489
- }
2490
-
2491
- var styles = interpolation.styles + ";";
2492
-
2493
- if (interpolation.map !== undefined) {
2494
- styles += interpolation.map;
2495
- }
2496
-
2497
- return styles;
2498
- }
2499
-
2500
- return createStringFromObject(mergedProps, registered, interpolation);
2501
- }
2502
-
2503
- case 'function':
2504
- {
2505
- if (mergedProps !== undefined) {
2506
- var previousCursor = cursor;
2507
- var result = interpolation(mergedProps);
2508
- cursor = previousCursor;
2509
- return handleInterpolation(mergedProps, registered, result);
2510
- } else {
2511
- console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
2512
- }
2513
-
2514
- break;
2515
- }
2516
-
2517
- case 'string':
2518
- {
2519
- var matched = [];
2520
- var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
2521
- var fakeVarName = "animation" + matched.length;
2522
- matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
2523
- return "${" + fakeVarName + "}";
2524
- });
2525
-
2526
- if (matched.length) {
2527
- console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
2528
- }
2529
- }
2530
-
2531
- break;
2532
- } // finalize string values (regular strings and functions interpolated into css calls)
2533
-
2534
-
2535
- if (registered == null) {
2536
- return interpolation;
2537
- }
2538
-
2539
- var cached = registered[interpolation];
2540
- return cached !== undefined ? cached : interpolation;
2541
- }
2542
-
2543
- function createStringFromObject(mergedProps, registered, obj) {
2544
- var string = '';
2545
-
2546
- if (Array.isArray(obj)) {
2547
- for (var i = 0; i < obj.length; i++) {
2548
- string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
2549
- }
2550
- } else {
2551
- for (var _key in obj) {
2552
- var value = obj[_key];
2553
-
2554
- if (typeof value !== 'object') {
2555
- if (registered != null && registered[value] !== undefined) {
2556
- string += _key + "{" + registered[value] + "}";
2557
- } else if (isProcessableValue(value)) {
2558
- string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
2559
- }
2560
- } else {
2561
- if (_key === 'NO_COMPONENT_SELECTOR' && "development" !== 'production') {
2562
- throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
2563
- }
2564
-
2565
- if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
2566
- for (var _i = 0; _i < value.length; _i++) {
2567
- if (isProcessableValue(value[_i])) {
2568
- string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
2569
- }
2570
- }
2571
- } else {
2572
- var interpolated = handleInterpolation(mergedProps, registered, value);
2573
-
2574
- switch (_key) {
2575
- case 'animation':
2576
- case 'animationName':
2577
- {
2578
- string += processStyleName(_key) + ":" + interpolated + ";";
2579
- break;
2580
- }
2581
-
2582
- default:
2583
- {
2584
- if (_key === 'undefined') {
2585
- console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
2586
- }
2587
-
2588
- string += _key + "{" + interpolated + "}";
2589
- }
2590
- }
2591
- }
2592
- }
2593
- }
2594
- }
2595
-
2596
- return string;
2597
- }
2598
-
2599
- var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
2600
- var sourceMapPattern;
2601
-
2602
- {
2603
- sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
2604
- } // this is the cursor for keyframes
2605
- // keyframes are stored on the SerializedStyles object as a linked list
2606
-
2607
-
2608
- var cursor;
2609
- var serializeStyles = function serializeStyles(args, registered, mergedProps) {
2610
- if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
2611
- return args[0];
2612
- }
2613
-
2614
- var stringMode = true;
2615
- var styles = '';
2616
- cursor = undefined;
2617
- var strings = args[0];
2618
-
2619
- if (strings == null || strings.raw === undefined) {
2620
- stringMode = false;
2621
- styles += handleInterpolation(mergedProps, registered, strings);
2622
- } else {
2623
- if (strings[0] === undefined) {
2624
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR$1);
2625
- }
2626
-
2627
- styles += strings[0];
2628
- } // we start at 1 since we've already handled the first arg
2629
-
2630
-
2631
- for (var i = 1; i < args.length; i++) {
2632
- styles += handleInterpolation(mergedProps, registered, args[i]);
2633
-
2634
- if (stringMode) {
2635
- if (strings[i] === undefined) {
2636
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR$1);
2637
- }
2638
-
2639
- styles += strings[i];
2640
- }
2641
- }
2642
-
2643
- var sourceMap;
2644
-
2645
- {
2646
- styles = styles.replace(sourceMapPattern, function (match) {
2647
- sourceMap = match;
2648
- return '';
2649
- });
2650
- } // using a global regex with .exec is stateful so lastIndex has to be reset each time
2651
-
2652
-
2653
- labelPattern.lastIndex = 0;
2654
- var identifierName = '';
2655
- var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
2656
-
2657
- while ((match = labelPattern.exec(styles)) !== null) {
2658
- identifierName += '-' + // $FlowFixMe we know it's not null
2659
- match[1];
2660
- }
2661
-
2662
- var name = murmur2(styles) + identifierName;
2663
-
2664
- {
2665
- // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
2666
- return {
2667
- name: name,
2668
- styles: styles,
2669
- map: sourceMap,
2670
- next: cursor,
2671
- toString: function toString() {
2672
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
2673
- }
2674
- };
2675
- }
2676
- };
2677
-
2678
2325
  var testOmitPropsOnStringTag = isPropValid;
2679
2326
 
2680
2327
  var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
@@ -3654,7 +3301,7 @@
3654
3301
  propTypes.element;
3655
3302
 
3656
3303
  var reactJsxRuntime_production_min = createCommonjsModule(function (module, exports) {
3657
- var g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment");}var m=React__default['default'].__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};
3304
+ var g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment");}var m=React__default["default"].__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};
3658
3305
  function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q;exports.jsxs=q;
3659
3306
  });
3660
3307
  reactJsxRuntime_production_min.Fragment;
@@ -3666,7 +3313,7 @@
3666
3313
  {
3667
3314
  (function() {
3668
3315
 
3669
- var React = React__default['default'];
3316
+ var React = React__default["default"];
3670
3317
  var _assign = objectAssign;
3671
3318
 
3672
3319
  // ATTENTION
@@ -5980,8 +5627,8 @@
5980
5627
  const direction = directions[b] || '';
5981
5628
  return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];
5982
5629
  });
5983
- const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY'];
5984
- const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY'];
5630
+ const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];
5631
+ const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];
5985
5632
  const spacingKeys = [...marginKeys, ...paddingKeys];
5986
5633
  function createUnaryUnit(theme, themeKey, defaultValue, propName) {
5987
5634
  const themeSpacing = getPath(theme, themeKey) || defaultValue;
@@ -6554,7 +6201,7 @@
6554
6201
 
6555
6202
  styleFunctionSx.filterProps = ['sx'];
6556
6203
 
6557
- const _excluded$2n = ["sx"];
6204
+ const _excluded$2o = ["sx"];
6558
6205
 
6559
6206
  const splitProps = props => {
6560
6207
  const result = {
@@ -6575,7 +6222,7 @@
6575
6222
  const {
6576
6223
  sx: inSx
6577
6224
  } = props,
6578
- other = _objectWithoutPropertiesLoose(props, _excluded$2n);
6225
+ other = _objectWithoutPropertiesLoose(props, _excluded$2o);
6579
6226
 
6580
6227
  const {
6581
6228
  systemProps,
@@ -6627,7 +6274,7 @@
6627
6274
  return str;
6628
6275
  }
6629
6276
 
6630
- const _excluded$2m = ["values", "unit", "step"];
6277
+ const _excluded$2n = ["values", "unit", "step"];
6631
6278
 
6632
6279
  function createBreakpoints(breakpoints) {
6633
6280
  const {
@@ -6648,7 +6295,7 @@
6648
6295
  unit = 'px',
6649
6296
  step = 5
6650
6297
  } = breakpoints,
6651
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2m);
6298
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2n);
6652
6299
 
6653
6300
  const keys = Object.keys(values);
6654
6301
 
@@ -6723,7 +6370,7 @@
6723
6370
  return spacing;
6724
6371
  }
6725
6372
 
6726
- const _excluded$2l = ["breakpoints", "palette", "spacing", "shape"];
6373
+ const _excluded$2m = ["breakpoints", "palette", "spacing", "shape"];
6727
6374
 
6728
6375
  function createTheme$1(options = {}, ...args) {
6729
6376
  const {
@@ -6732,7 +6379,7 @@
6732
6379
  spacing: spacingInput,
6733
6380
  shape: shapeInput = {}
6734
6381
  } = options,
6735
- other = _objectWithoutPropertiesLoose(options, _excluded$2l);
6382
+ other = _objectWithoutPropertiesLoose(options, _excluded$2m);
6736
6383
 
6737
6384
  const breakpoints = createBreakpoints(breakpointsInput);
6738
6385
  const spacing = createSpacing(spacingInput);
@@ -6854,7 +6501,7 @@
6854
6501
  return useTheme$2(defaultTheme);
6855
6502
  }
6856
6503
 
6857
- const _excluded$2k = ["className", "component"];
6504
+ const _excluded$2l = ["className", "component"];
6858
6505
  function createBox(options = {}) {
6859
6506
  const {
6860
6507
  defaultTheme
@@ -6868,7 +6515,7 @@
6868
6515
  className,
6869
6516
  component = 'div'
6870
6517
  } = _extendSxProp,
6871
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2k);
6518
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2l);
6872
6519
 
6873
6520
  return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
6874
6521
  as: component,
@@ -6904,7 +6551,7 @@
6904
6551
  return Box;
6905
6552
  }
6906
6553
 
6907
- const _excluded$2j = ["variant"];
6554
+ const _excluded$2k = ["variant"];
6908
6555
 
6909
6556
  function isEmpty$2(string) {
6910
6557
  return string.length === 0;
@@ -6920,7 +6567,7 @@
6920
6567
  const {
6921
6568
  variant
6922
6569
  } = props,
6923
- other = _objectWithoutPropertiesLoose(props, _excluded$2j);
6570
+ other = _objectWithoutPropertiesLoose(props, _excluded$2k);
6924
6571
 
6925
6572
  let classKey = variant || '';
6926
6573
  Object.keys(other).sort().forEach(key => {
@@ -6933,7 +6580,7 @@
6933
6580
  return classKey;
6934
6581
  }
6935
6582
 
6936
- const _excluded$2i = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
6583
+ const _excluded$2j = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
6937
6584
  _excluded2$c = ["theme"],
6938
6585
  _excluded3$1 = ["theme"];
6939
6586
 
@@ -7014,7 +6661,7 @@
7014
6661
  skipSx: inputSkipSx,
7015
6662
  overridesResolver
7016
6663
  } = inputOptions,
7017
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2i); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
6664
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2j); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
7018
6665
 
7019
6666
 
7020
6667
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -7512,7 +7159,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7512
7159
  ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) ;
7513
7160
  }
7514
7161
 
7515
- const _excluded$2h = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
7162
+ const _excluded$2i = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
7516
7163
  _excluded2$b = ["type", "mode"];
7517
7164
  function adaptV4Theme(inputTheme) {
7518
7165
  {
@@ -7527,7 +7174,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7527
7174
  props = {},
7528
7175
  styleOverrides = {}
7529
7176
  } = inputTheme,
7530
- other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2h);
7177
+ other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2i);
7531
7178
 
7532
7179
  const theme = _extends({}, other, {
7533
7180
  components: {}
@@ -8667,7 +8314,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8667
8314
  const backdropUnstyledClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
8668
8315
  var backdropUnstyledClasses$1 = backdropUnstyledClasses;
8669
8316
 
8670
- const _excluded$2g = ["classes", "className", "invisible", "component", "components", "componentsProps", "theme"];
8317
+ const _excluded$2h = ["classes", "className", "invisible", "component", "components", "componentsProps", "theme"];
8671
8318
 
8672
8319
  const useUtilityClasses$1P = ownerState => {
8673
8320
  const {
@@ -8692,7 +8339,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8692
8339
  /* eslint-disable react/prop-types */
8693
8340
  theme
8694
8341
  } = props,
8695
- other = _objectWithoutPropertiesLoose(props, _excluded$2g);
8342
+ other = _objectWithoutPropertiesLoose(props, _excluded$2h);
8696
8343
 
8697
8344
  const ownerState = _extends({}, props, {
8698
8345
  classes: classesProp,
@@ -8773,7 +8420,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8773
8420
  const badgeUnstyledClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular', 'invisible']);
8774
8421
  var badgeUnstyledClasses$1 = badgeUnstyledClasses;
8775
8422
 
8776
- const _excluded$2f = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "overlap", "showZero", "variant", "theme"];
8423
+ const _excluded$2g = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "overlap", "showZero", "variant", "theme"];
8777
8424
 
8778
8425
  const useUtilityClasses$1O = ownerState => {
8779
8426
  const {
@@ -8812,7 +8459,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8812
8459
  /* eslint-disable react/prop-types */
8813
8460
  theme
8814
8461
  } = props,
8815
- other = _objectWithoutPropertiesLoose(props, _excluded$2f);
8462
+ other = _objectWithoutPropertiesLoose(props, _excluded$2g);
8816
8463
 
8817
8464
  const prevProps = usePreviousProps$1({
8818
8465
  anchorOrigin: anchorOriginProp,
@@ -8978,13 +8625,13 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8978
8625
  *
8979
8626
  * @param object An object to extract event handlers from.
8980
8627
  */
8981
- function extractEventHandlers(object) {
8628
+ function extractEventHandlers(object, excludeKeys = []) {
8982
8629
  if (object === undefined) {
8983
8630
  return {};
8984
8631
  }
8985
8632
 
8986
8633
  const result = {};
8987
- Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function').forEach(prop => {
8634
+ Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {
8988
8635
  result[prop] = object[prop];
8989
8636
  });
8990
8637
  return result;
@@ -9126,12 +8773,23 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9126
8773
  (_otherHandlers$onClic2 = otherHandlers.onClick) == null ? void 0 : _otherHandlers$onClic2.call(otherHandlers, event);
9127
8774
  }
9128
8775
  });
8776
+ const handleOwnRef = useForkRef(focusVisibleRef, buttonRef);
8777
+ const handleRef = useForkRef(ref, handleOwnRef);
8778
+ const [hostElementName, setHostElementName] = React__namespace.useState('');
8779
+
8780
+ const updateRef = instance => {
8781
+ var _instance$tagName;
8782
+
8783
+ setHostElementName((_instance$tagName = instance == null ? void 0 : instance.tagName) != null ? _instance$tagName : '');
8784
+ setRef(handleRef, instance);
8785
+ };
8786
+
9129
8787
  const buttonProps = {};
9130
8788
 
9131
- if (elementType === 'button') {
8789
+ if (hostElementName === 'BUTTON') {
9132
8790
  buttonProps.type = type != null ? type : 'button';
9133
8791
  buttonProps.disabled = disabled;
9134
- } else {
8792
+ } else if (hostElementName !== '') {
9135
8793
  if (!href && !to) {
9136
8794
  buttonProps.role = 'button';
9137
8795
  }
@@ -9141,9 +8799,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9141
8799
  }
9142
8800
  }
9143
8801
 
9144
- const handleOwnRef = useForkRef(focusVisibleRef, buttonRef);
9145
- const handleRef = useForkRef(ref, handleOwnRef);
9146
-
9147
8802
  const getRootProps = otherHandlers => {
9148
8803
  const propsEventHandlers = extractEventHandlers(props);
9149
8804
 
@@ -9167,7 +8822,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9167
8822
  return _extends({
9168
8823
  tabIndex: disabled ? -1 : tabIndex,
9169
8824
  type,
9170
- ref: handleRef
8825
+ ref: updateRef
9171
8826
  }, buttonProps, mergedEventHandlers);
9172
8827
  };
9173
8828
 
@@ -9198,7 +8853,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9198
8853
  });
9199
8854
  }
9200
8855
 
9201
- const _excluded$2e = ["className", "component", "components", "componentsProps", "children", "disabled", "action", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseLeave"];
8856
+ const _excluded$2f = ["className", "component", "components", "componentsProps", "children", "disabled", "action", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseLeave"];
9202
8857
 
9203
8858
  const useUtilityClasses$1N = ownerState => {
9204
8859
  const {
@@ -9235,7 +8890,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9235
8890
  children,
9236
8891
  action
9237
8892
  } = props,
9238
- other = _objectWithoutPropertiesLoose(props, _excluded$2e);
8893
+ other = _objectWithoutPropertiesLoose(props, _excluded$2f);
9239
8894
 
9240
8895
  const buttonRef = React__namespace.useRef();
9241
8896
  const handleRef = useForkRef(buttonRef, ref);
@@ -9349,9 +9004,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9349
9004
  return generateUtilityClass('MuiFormControl', slot);
9350
9005
  }
9351
9006
  const formControlUnstyledClasses = generateUtilityClasses('MuiFormControl', ['root', 'disabled']);
9352
- var classes$1 = formControlUnstyledClasses;
9007
+ var classes$2 = formControlUnstyledClasses;
9353
9008
 
9354
- const _excluded$2d = ["defaultValue", "children", "className", "component", "components", "componentsProps", "disabled", "error", "focused", "onChange", "required", "value"];
9009
+ const _excluded$2e = ["defaultValue", "children", "className", "component", "components", "componentsProps", "disabled", "error", "focused", "onChange", "required", "value"];
9355
9010
 
9356
9011
  function hasValue$1(value) {
9357
9012
  return value != null && !(Array.isArray(value) && value.length === 0) && value !== '';
@@ -9406,7 +9061,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9406
9061
  required = false,
9407
9062
  value: incomingValue
9408
9063
  } = props,
9409
- other = _objectWithoutPropertiesLoose(props, _excluded$2d);
9064
+ other = _objectWithoutPropertiesLoose(props, _excluded$2e);
9410
9065
 
9411
9066
  const [value, setValue] = useControlled({
9412
9067
  controlled: incomingValue,
@@ -9477,7 +9132,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9477
9132
  children: /*#__PURE__*/jsxRuntime_1(Root, _extends({
9478
9133
  ref: ref
9479
9134
  }, rootProps, {
9480
- className: clsx(classes$1.root, className, rootProps == null ? void 0 : rootProps.className, disabled && classes$1.disabled),
9135
+ className: clsx(classes$2.root, className, rootProps == null ? void 0 : rootProps.className, disabled && classes$2.disabled),
9481
9136
  children: children
9482
9137
  }))
9483
9138
  });
@@ -9565,6 +9220,485 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9565
9220
  return React__namespace.useContext(FormControlUnstyledContext$1);
9566
9221
  }
9567
9222
 
9223
+ function getInputUnstyledUtilityClass(slot) {
9224
+ return generateUtilityClass('MuiInput', slot);
9225
+ }
9226
+ const inputBaseClasses$2 = generateUtilityClasses('MuiInput', ['root', 'formControl', 'focused', 'disabled', 'error', 'multiline', 'input', 'inputMultiline', 'inputTypeSearch', 'adornedStart', 'adornedEnd']);
9227
+ var classes$1 = inputBaseClasses$2;
9228
+
9229
+ function useInput(props, inputRef) {
9230
+ const {
9231
+ defaultValue,
9232
+ disabled: disabledProp = false,
9233
+ error: errorProp = false,
9234
+ onBlur,
9235
+ onChange,
9236
+ onFocus,
9237
+ required: requiredProp = false,
9238
+ value: valueProp
9239
+ } = props;
9240
+ const formControlContext = useFormControlUnstyled();
9241
+ let value;
9242
+ let required;
9243
+ let disabled;
9244
+ let error;
9245
+
9246
+ if (formControlContext) {
9247
+ var _formControlContext$d, _formControlContext$r, _formControlContext$e;
9248
+
9249
+ value = formControlContext.value;
9250
+ disabled = (_formControlContext$d = formControlContext.disabled) != null ? _formControlContext$d : false;
9251
+ required = (_formControlContext$r = formControlContext.required) != null ? _formControlContext$r : false;
9252
+ error = (_formControlContext$e = formControlContext.error) != null ? _formControlContext$e : false;
9253
+ } else {
9254
+ value = valueProp;
9255
+ disabled = disabledProp;
9256
+ required = requiredProp;
9257
+ error = errorProp;
9258
+ }
9259
+
9260
+ const {
9261
+ current: isControlled
9262
+ } = React__namespace.useRef(value != null);
9263
+ const handleInputRefWarning = React__namespace.useCallback(instance => {
9264
+ {
9265
+ if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {
9266
+ console.error(['MUI: You have provided a `components.Input` to the input component', 'that does not correctly handle the `ref` prop.', 'Make sure the `ref` prop is called with a HTMLInputElement.'].join('\n'));
9267
+ }
9268
+ }
9269
+ }, []);
9270
+ const internalInputRef = React__namespace.useRef(null);
9271
+ const handleIncomingRef = useForkRef(inputRef, handleInputRefWarning);
9272
+ const handleInputRef = useForkRef(internalInputRef, handleIncomingRef);
9273
+ const [focused, setFocused] = React__namespace.useState(false); // The blur won't fire when the disabled state is set on a focused input.
9274
+ // We need to book keep the focused state manually.
9275
+
9276
+ React__namespace.useEffect(() => {
9277
+ if (!formControlContext && disabled && focused) {
9278
+ setFocused(false); // @ts-ignore
9279
+
9280
+ onBlur == null ? void 0 : onBlur();
9281
+ }
9282
+ }, [formControlContext, disabled, focused, onBlur]);
9283
+
9284
+ const handleFocus = otherHandlers => event => {
9285
+ var _otherHandlers$onFocu;
9286
+
9287
+ // Fix a bug with IE11 where the focus/blur events are triggered
9288
+ // while the component is disabled.
9289
+ if (formControlContext != null && formControlContext.disabled) {
9290
+ event.stopPropagation();
9291
+ return;
9292
+ }
9293
+
9294
+ (_otherHandlers$onFocu = otherHandlers.onFocus) == null ? void 0 : _otherHandlers$onFocu.call(otherHandlers, event);
9295
+
9296
+ if (formControlContext && formControlContext.onFocus) {
9297
+ var _formControlContext$o;
9298
+
9299
+ formControlContext == null ? void 0 : (_formControlContext$o = formControlContext.onFocus) == null ? void 0 : _formControlContext$o.call(formControlContext);
9300
+ } else {
9301
+ setFocused(true);
9302
+ }
9303
+ };
9304
+
9305
+ const handleBlur = otherHandlers => event => {
9306
+ var _otherHandlers$onBlur;
9307
+
9308
+ (_otherHandlers$onBlur = otherHandlers.onBlur) == null ? void 0 : _otherHandlers$onBlur.call(otherHandlers, event);
9309
+
9310
+ if (formControlContext && formControlContext.onBlur) {
9311
+ formControlContext.onBlur();
9312
+ } else {
9313
+ setFocused(false);
9314
+ }
9315
+ };
9316
+
9317
+ const handleChange = otherHandlers => (event, ...args) => {
9318
+ var _formControlContext$o2, _otherHandlers$onChan;
9319
+
9320
+ if (!isControlled) {
9321
+ const element = event.target || internalInputRef.current;
9322
+
9323
+ if (element == null) {
9324
+ throw new Error(`MUI: Expected valid input target. Did you use a custom \`components.Input\` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.` );
9325
+ }
9326
+ }
9327
+
9328
+ formControlContext == null ? void 0 : (_formControlContext$o2 = formControlContext.onChange) == null ? void 0 : _formControlContext$o2.call(formControlContext, event); // @ts-ignore
9329
+
9330
+ (_otherHandlers$onChan = otherHandlers.onChange) == null ? void 0 : _otherHandlers$onChan.call(otherHandlers, event, ...args);
9331
+ };
9332
+
9333
+ const handleClick = otherHandlers => event => {
9334
+ var _otherHandlers$onClic;
9335
+
9336
+ if (internalInputRef.current && event.currentTarget === event.target) {
9337
+ internalInputRef.current.focus();
9338
+ }
9339
+
9340
+ (_otherHandlers$onClic = otherHandlers.onClick) == null ? void 0 : _otherHandlers$onClic.call(otherHandlers, event);
9341
+ };
9342
+
9343
+ const getRootProps = externalProps => {
9344
+ // onBlur, onChange and onFocus are forwarded to the input slot.
9345
+ const propsEventHandlers = extractEventHandlers(props, ['onBlur', 'onChange', 'onFocus']);
9346
+
9347
+ const externalEventHandlers = _extends({}, propsEventHandlers, extractEventHandlers(externalProps));
9348
+
9349
+ return _extends({}, externalProps, externalEventHandlers, {
9350
+ onClick: handleClick(externalEventHandlers)
9351
+ });
9352
+ };
9353
+
9354
+ const getInputProps = externalProps => {
9355
+ const propsEventHandlers = {
9356
+ onBlur,
9357
+ onChange,
9358
+ onFocus
9359
+ };
9360
+
9361
+ const externalEventHandlers = _extends({}, propsEventHandlers, extractEventHandlers(externalProps));
9362
+
9363
+ const mergedEventHandlers = _extends({}, externalProps, externalEventHandlers, {
9364
+ onBlur: handleBlur(externalEventHandlers),
9365
+ onChange: handleChange(externalEventHandlers),
9366
+ onFocus: handleFocus(externalEventHandlers)
9367
+ });
9368
+
9369
+ return _extends({}, mergedEventHandlers, {
9370
+ 'aria-invalid': error || undefined,
9371
+ defaultValue: defaultValue,
9372
+ ref: handleInputRef,
9373
+ value: value,
9374
+ required,
9375
+ disabled
9376
+ });
9377
+ };
9378
+
9379
+ return {
9380
+ disabled,
9381
+ error,
9382
+ focused,
9383
+ formControlContext,
9384
+ getInputProps,
9385
+ getRootProps,
9386
+ required,
9387
+ value
9388
+ };
9389
+ }
9390
+
9391
+ const _excluded$2d = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"];
9392
+ const InputUnstyled = /*#__PURE__*/React__namespace.forwardRef(function InputUnstyled(props, ref) {
9393
+ var _componentsProps$inpu, _ref, _componentsProps$root, _components$Input, _componentsProps$inpu2;
9394
+
9395
+ const {
9396
+ 'aria-describedby': ariaDescribedby,
9397
+ 'aria-label': ariaLabel,
9398
+ 'aria-labelledby': ariaLabelledby,
9399
+ autoComplete,
9400
+ autoFocus,
9401
+ className,
9402
+ component,
9403
+ components = {},
9404
+ componentsProps = {},
9405
+ defaultValue,
9406
+ disabled,
9407
+ endAdornment,
9408
+ error,
9409
+ id,
9410
+ maxRows,
9411
+ minRows,
9412
+ multiline = false,
9413
+ name,
9414
+ onClick,
9415
+ onChange,
9416
+ onKeyDown,
9417
+ onKeyUp,
9418
+ onFocus,
9419
+ onBlur,
9420
+ placeholder,
9421
+ readOnly,
9422
+ required,
9423
+ rows,
9424
+ type = 'text',
9425
+ startAdornment,
9426
+ value
9427
+ } = props,
9428
+ other = _objectWithoutPropertiesLoose(props, _excluded$2d);
9429
+
9430
+ const {
9431
+ getRootProps,
9432
+ getInputProps,
9433
+ focused,
9434
+ formControlContext,
9435
+ error: errorState,
9436
+ disabled: disabledState
9437
+ } = useInput({
9438
+ disabled,
9439
+ defaultValue,
9440
+ error,
9441
+ onBlur,
9442
+ onClick,
9443
+ onChange,
9444
+ onFocus,
9445
+ required,
9446
+ value
9447
+ }, (_componentsProps$inpu = componentsProps.input) == null ? void 0 : _componentsProps$inpu.ref);
9448
+
9449
+ const ownerState = _extends({}, props, {
9450
+ disabled: disabledState,
9451
+ error: errorState,
9452
+ focused,
9453
+ formControlContext,
9454
+ multiline,
9455
+ type
9456
+ });
9457
+
9458
+ const rootStateClasses = clsx(disabledState && classes$1.disabled, errorState && classes$1.error, focused && classes$1.focused, Boolean(formControlContext) && classes$1.formControl, multiline && classes$1.multiline, Boolean(startAdornment) && classes$1.adornedStart, Boolean(endAdornment) && classes$1.adornedEnd);
9459
+ const inputStateClasses = clsx(disabledState && classes$1.disabled, multiline && classes$1.multiline);
9460
+ const propsToForward = {
9461
+ 'aria-describedby': ariaDescribedby,
9462
+ 'aria-label': ariaLabel,
9463
+ 'aria-labelledby': ariaLabelledby,
9464
+ autoComplete,
9465
+ autoFocus,
9466
+ id,
9467
+ onKeyDown,
9468
+ onKeyUp,
9469
+ name,
9470
+ placeholder,
9471
+ readOnly,
9472
+ type
9473
+ };
9474
+ const Root = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
9475
+ const rootProps = appendOwnerState(Root, _extends({}, getRootProps(_extends({}, other, componentsProps.root)), {
9476
+ className: clsx(classes$1.root, rootStateClasses, className, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className)
9477
+ }), ownerState);
9478
+ let Input = (_components$Input = components.Input) != null ? _components$Input : 'input';
9479
+ let inputProps = appendOwnerState(Input, _extends({}, getInputProps(_extends({}, componentsProps.input, propsToForward)), {
9480
+ className: clsx(classes$1.input, inputStateClasses, (_componentsProps$inpu2 = componentsProps.input) == null ? void 0 : _componentsProps$inpu2.className)
9481
+ }), ownerState);
9482
+
9483
+ if (multiline) {
9484
+ var _components$Textarea, _components$Textarea2;
9485
+
9486
+ const hasHostTexarea = isHostComponent((_components$Textarea = components.Textarea) != null ? _components$Textarea : 'textarea');
9487
+
9488
+ if (rows) {
9489
+ {
9490
+ if (minRows || maxRows) {
9491
+ console.warn('Material-UI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');
9492
+ }
9493
+ }
9494
+
9495
+ inputProps = _extends({
9496
+ type: undefined,
9497
+ minRows: hasHostTexarea ? undefined : rows,
9498
+ maxRows: hasHostTexarea ? undefined : rows
9499
+ }, inputProps);
9500
+ } else {
9501
+ inputProps = _extends({
9502
+ type: undefined,
9503
+ maxRows: hasHostTexarea ? undefined : maxRows,
9504
+ minRows: hasHostTexarea ? undefined : minRows
9505
+ }, inputProps);
9506
+ }
9507
+
9508
+ Input = (_components$Textarea2 = components.Textarea) != null ? _components$Textarea2 : 'textarea';
9509
+ }
9510
+
9511
+ return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
9512
+ ref: ref,
9513
+ children: [startAdornment, /*#__PURE__*/jsxRuntime_1(Input, _extends({}, inputProps)), endAdornment]
9514
+ }));
9515
+ });
9516
+ InputUnstyled.propTypes
9517
+ /* remove-proptypes */
9518
+ = {
9519
+ // ----------------------------- Warning --------------------------------
9520
+ // | These PropTypes are generated from the TypeScript type definitions |
9521
+ // | To update them edit TypeScript types and run "yarn proptypes" |
9522
+ // ----------------------------------------------------------------------
9523
+
9524
+ /**
9525
+ * @ignore
9526
+ */
9527
+ 'aria-describedby': propTypes.string,
9528
+
9529
+ /**
9530
+ * @ignore
9531
+ */
9532
+ 'aria-label': propTypes.string,
9533
+
9534
+ /**
9535
+ * @ignore
9536
+ */
9537
+ 'aria-labelledby': propTypes.string,
9538
+
9539
+ /**
9540
+ * This prop helps users to fill forms faster, especially on mobile devices.
9541
+ * The name can be confusing, as it's more like an autofill.
9542
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
9543
+ */
9544
+ autoComplete: propTypes.string,
9545
+
9546
+ /**
9547
+ * If `true`, the `input` element is focused during the first mount.
9548
+ */
9549
+ autoFocus: propTypes.bool,
9550
+
9551
+ /**
9552
+ * @ignore
9553
+ */
9554
+ children: propTypes.node,
9555
+
9556
+ /**
9557
+ * Class name applied to the root element.
9558
+ */
9559
+ className: propTypes.string,
9560
+
9561
+ /**
9562
+ * The component used for the root node.
9563
+ * Either a string to use a HTML element or a component.
9564
+ */
9565
+ component: propTypes.elementType,
9566
+
9567
+ /**
9568
+ * The components used for each slot inside the InputBase.
9569
+ * Either a string to use a HTML element or a component.
9570
+ * @default {}
9571
+ */
9572
+ components: propTypes.shape({
9573
+ Input: propTypes.elementType,
9574
+ Root: propTypes.elementType,
9575
+ Textarea: propTypes.elementType
9576
+ }),
9577
+
9578
+ /**
9579
+ * The props used for each slot inside the Input.
9580
+ * @default {}
9581
+ */
9582
+ componentsProps: propTypes.object,
9583
+
9584
+ /**
9585
+ * The default value. Use when the component is not controlled.
9586
+ */
9587
+ defaultValue: propTypes.any,
9588
+
9589
+ /**
9590
+ * If `true`, the component is disabled.
9591
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
9592
+ */
9593
+ disabled: propTypes.bool,
9594
+
9595
+ /**
9596
+ * Trailing adornment for this input.
9597
+ */
9598
+ endAdornment: propTypes.node,
9599
+
9600
+ /**
9601
+ * If `true`, the `input` will indicate an error.
9602
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
9603
+ */
9604
+ error: propTypes.bool,
9605
+
9606
+ /**
9607
+ * The id of the `input` element.
9608
+ */
9609
+ id: propTypes.string,
9610
+
9611
+ /**
9612
+ * Maximum number of rows to display when multiline option is set to true.
9613
+ */
9614
+ maxRows: propTypes.number,
9615
+
9616
+ /**
9617
+ * Minimum number of rows to display when multiline option is set to true.
9618
+ */
9619
+ minRows: propTypes.number,
9620
+
9621
+ /**
9622
+ * If `true`, a `textarea` element is rendered.
9623
+ * @default false
9624
+ */
9625
+ multiline: propTypes.bool,
9626
+
9627
+ /**
9628
+ * Name attribute of the `input` element.
9629
+ */
9630
+ name: propTypes.string,
9631
+
9632
+ /**
9633
+ * @ignore
9634
+ */
9635
+ onBlur: propTypes.func,
9636
+
9637
+ /**
9638
+ * @ignore
9639
+ */
9640
+ onChange: propTypes.func,
9641
+
9642
+ /**
9643
+ * @ignore
9644
+ */
9645
+ onClick: propTypes.func,
9646
+
9647
+ /**
9648
+ * @ignore
9649
+ */
9650
+ onFocus: propTypes.func,
9651
+
9652
+ /**
9653
+ * @ignore
9654
+ */
9655
+ onKeyDown: propTypes.func,
9656
+
9657
+ /**
9658
+ * @ignore
9659
+ */
9660
+ onKeyUp: propTypes.func,
9661
+
9662
+ /**
9663
+ * The short hint displayed in the `input` before the user enters a value.
9664
+ */
9665
+ placeholder: propTypes.string,
9666
+
9667
+ /**
9668
+ * It prevents the user from changing the value of the field
9669
+ * (not from interacting with the field).
9670
+ */
9671
+ readOnly: propTypes.bool,
9672
+
9673
+ /**
9674
+ * If `true`, the `input` element is required.
9675
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
9676
+ */
9677
+ required: propTypes.bool,
9678
+
9679
+ /**
9680
+ * Number of rows to display when multiline option is set to true.
9681
+ */
9682
+ rows: propTypes.number,
9683
+
9684
+ /**
9685
+ * Leading adornment for this input.
9686
+ */
9687
+ startAdornment: propTypes.node,
9688
+
9689
+ /**
9690
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
9691
+ * @default 'text'
9692
+ */
9693
+ type: propTypes.string,
9694
+
9695
+ /**
9696
+ * The value of the `input` element, required for a controlled component.
9697
+ */
9698
+ value: propTypes.any
9699
+ } ;
9700
+ var InputUnstyled$1 = InputUnstyled;
9701
+
9568
9702
  function getContainer$1(container) {
9569
9703
  return typeof container === 'function' ? container() : container;
9570
9704
  }
@@ -10840,18 +10974,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
10840
10974
 
10841
10975
  function setValueIndex({
10842
10976
  values,
10843
- source,
10844
10977
  newValue,
10845
10978
  index
10846
10979
  }) {
10847
- // Performance shortcut
10848
- if (source[index] === newValue) {
10849
- return source;
10850
- }
10851
-
10852
10980
  const output = values.slice();
10853
10981
  output[index] = newValue;
10854
- return output;
10982
+ return output.sort(asc);
10855
10983
  }
10856
10984
 
10857
10985
  function focusThumb({
@@ -11105,10 +11233,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11105
11233
  const previousValue = newValue;
11106
11234
  newValue = setValueIndex({
11107
11235
  values,
11108
- source: valueDerived,
11109
11236
  newValue,
11110
11237
  index
11111
- }).sort(asc);
11238
+ });
11112
11239
  let activeIndex = index; // Potentially swap the index if needed.
11113
11240
 
11114
11241
  if (!disableSwap) {
@@ -11142,8 +11269,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11142
11269
  const getFingerNewValue = ({
11143
11270
  finger,
11144
11271
  move = false,
11145
- values: values2,
11146
- source
11272
+ values: values2
11147
11273
  }) => {
11148
11274
  const {
11149
11275
  current: slider
@@ -11195,10 +11321,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11195
11321
  const previousValue = newValue;
11196
11322
  newValue = setValueIndex({
11197
11323
  values: values2,
11198
- source,
11199
11324
  newValue,
11200
11325
  index: activeIndex
11201
- }).sort(asc); // Potentially swap the index if needed.
11326
+ }); // Potentially swap the index if needed.
11202
11327
 
11203
11328
  if (!(disableSwap && move)) {
11204
11329
  activeIndex = newValue.indexOf(previousValue);
@@ -11233,8 +11358,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11233
11358
  } = getFingerNewValue({
11234
11359
  finger,
11235
11360
  move: true,
11236
- values,
11237
- source: valueDerived
11361
+ values
11238
11362
  });
11239
11363
  focusThumb({
11240
11364
  sliderRef,
@@ -11263,8 +11387,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11263
11387
  newValue
11264
11388
  } = getFingerNewValue({
11265
11389
  finger,
11266
- values,
11267
- source: valueDerived
11390
+ values
11268
11391
  });
11269
11392
  setActive(-1);
11270
11393
 
@@ -11299,8 +11422,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11299
11422
  activeIndex
11300
11423
  } = getFingerNewValue({
11301
11424
  finger,
11302
- values,
11303
- source: valueDerived
11425
+ values
11304
11426
  });
11305
11427
  focusThumb({
11306
11428
  sliderRef,
@@ -11362,8 +11484,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11362
11484
  activeIndex
11363
11485
  } = getFingerNewValue({
11364
11486
  finger,
11365
- values,
11366
- source: valueDerived
11487
+ values
11367
11488
  });
11368
11489
  focusThumb({
11369
11490
  sliderRef,
@@ -11451,9 +11572,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11451
11572
  children: [/*#__PURE__*/jsxRuntime_1(Mark, _extends({
11452
11573
  "data-index": index
11453
11574
  }, markProps, !isHostComponent(Mark) && {
11454
- ownerState: _extends({}, ownerState, markProps.ownerState)
11575
+ ownerState: _extends({}, ownerState, markProps.ownerState),
11576
+ markActive
11455
11577
  }, {
11456
- markActive: markActive,
11457
11578
  style: _extends({}, style, markProps.style),
11458
11579
  className: clsx(classes.mark, markProps.className, markActive && classes.markActive)
11459
11580
  })), mark.label != null ? /*#__PURE__*/jsxRuntime_1(MarkLabel, _extends({
@@ -13165,7 +13286,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
13165
13286
  exitActive: propTypes.string
13166
13287
  })]) ;
13167
13288
 
13168
- var TransitionGroupContext = React__default['default'].createContext(null);
13289
+ var TransitionGroupContext = React__default["default"].createContext(null);
13169
13290
 
13170
13291
  var UNMOUNTED = 'unmounted';
13171
13292
  var EXITED = 'exited';
@@ -13403,7 +13524,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
13403
13524
  var enter = this.props.enter;
13404
13525
  var appearing = this.context ? this.context.isMounting : mounting;
13405
13526
 
13406
- var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM__default['default'].findDOMNode(this), appearing],
13527
+ var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM__default["default"].findDOMNode(this), appearing],
13407
13528
  maybeNode = _ref2[0],
13408
13529
  maybeAppearing = _ref2[1];
13409
13530
 
@@ -13441,7 +13562,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
13441
13562
 
13442
13563
  var exit = this.props.exit;
13443
13564
  var timeouts = this.getTimeouts();
13444
- var maybeNode = this.props.nodeRef ? undefined : ReactDOM__default['default'].findDOMNode(this); // no exit animation skip right to EXITED
13565
+ var maybeNode = this.props.nodeRef ? undefined : ReactDOM__default["default"].findDOMNode(this); // no exit animation skip right to EXITED
13445
13566
 
13446
13567
  if (!exit || config.disabled) {
13447
13568
  this.safeSetState({
@@ -13505,7 +13626,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
13505
13626
 
13506
13627
  _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
13507
13628
  this.setNextCallback(handler);
13508
- var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM__default['default'].findDOMNode(this);
13629
+ var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM__default["default"].findDOMNode(this);
13509
13630
  var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
13510
13631
 
13511
13632
  if (!node || doesNotHaveTimeoutOrListener) {
@@ -13555,14 +13676,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
13555
13676
  return (
13556
13677
  /*#__PURE__*/
13557
13678
  // allows for nested Transitions
13558
- React__default['default'].createElement(TransitionGroupContext.Provider, {
13679
+ React__default["default"].createElement(TransitionGroupContext.Provider, {
13559
13680
  value: null
13560
- }, typeof children === 'function' ? children(status, childProps) : React__default['default'].cloneElement(React__default['default'].Children.only(children), childProps))
13681
+ }, typeof children === 'function' ? children(status, childProps) : React__default["default"].cloneElement(React__default["default"].Children.only(children), childProps))
13561
13682
  );
13562
13683
  };
13563
13684
 
13564
13685
  return Transition;
13565
- }(React__default['default'].Component);
13686
+ }(React__default["default"].Component);
13566
13687
 
13567
13688
  Transition.contextType = TransitionGroupContext;
13568
13689
  Transition.propTypes = {
@@ -14031,18 +14152,18 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
14031
14152
  delete props.exit;
14032
14153
 
14033
14154
  if (Component === null) {
14034
- return /*#__PURE__*/React__default['default'].createElement(TransitionGroupContext.Provider, {
14155
+ return /*#__PURE__*/React__default["default"].createElement(TransitionGroupContext.Provider, {
14035
14156
  value: contextValue
14036
14157
  }, children);
14037
14158
  }
14038
14159
 
14039
- return /*#__PURE__*/React__default['default'].createElement(TransitionGroupContext.Provider, {
14160
+ return /*#__PURE__*/React__default["default"].createElement(TransitionGroupContext.Provider, {
14040
14161
  value: contextValue
14041
- }, /*#__PURE__*/React__default['default'].createElement(Component, props, children));
14162
+ }, /*#__PURE__*/React__default["default"].createElement(Component, props, children));
14042
14163
  };
14043
14164
 
14044
14165
  return TransitionGroup;
14045
- }(React__default['default'].Component);
14166
+ }(React__default["default"].Component);
14046
14167
 
14047
14168
  TransitionGroup.propTypes = {
14048
14169
  /**
@@ -14127,7 +14248,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
14127
14248
  const collapseClasses = generateUtilityClasses('MuiCollapse', ['root', 'horizontal', 'vertical', 'entered', 'hidden', 'wrapper', 'wrapperInner']);
14128
14249
  var collapseClasses$1 = collapseClasses;
14129
14250
 
14130
- const _excluded$24 = ["children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
14251
+ const _excluded$24 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
14131
14252
 
14132
14253
  const useUtilityClasses$1J = ownerState => {
14133
14254
  const {
@@ -14211,6 +14332,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
14211
14332
  });
14212
14333
 
14213
14334
  const {
14335
+ addEndListener,
14214
14336
  children,
14215
14337
  className,
14216
14338
  collapsedSize: collapsedSizeProp = '0px',
@@ -14358,10 +14480,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
14358
14480
  }
14359
14481
  });
14360
14482
 
14361
- const addEndListener = next => {
14483
+ const handleAddEndListener = next => {
14362
14484
  if (timeout === 'auto') {
14363
14485
  timer.current = setTimeout(next, autoTransitionDuration.current || 0);
14364
14486
  }
14487
+
14488
+ if (addEndListener) {
14489
+ // Old call signature before `react-transition-group` implemented `nodeRef`
14490
+ addEndListener(nodeRef.current, next);
14491
+ }
14365
14492
  };
14366
14493
 
14367
14494
  return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
@@ -14372,7 +14499,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
14372
14499
  onExit: handleExit,
14373
14500
  onExited: handleExited,
14374
14501
  onExiting: handleExiting,
14375
- addEndListener: addEndListener,
14502
+ addEndListener: handleAddEndListener,
14376
14503
  nodeRef: nodeRef,
14377
14504
  timeout: timeout === 'auto' ? null : timeout
14378
14505
  }, other, {
@@ -14415,6 +14542,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
14415
14542
  // | To update them edit the d.ts file and run "yarn proptypes" |
14416
14543
  // ----------------------------------------------------------------------
14417
14544
 
14545
+ /**
14546
+ * Add a custom transition end trigger. Called with the transitioning DOM
14547
+ * node and a done callback. Allows for more fine grained transition end
14548
+ * logic. Note: Timeouts are still used as a fallback if provided.
14549
+ */
14550
+ addEndListener: propTypes.func,
14551
+
14418
14552
  /**
14419
14553
  * The content node to be collapsed.
14420
14554
  */
@@ -16745,6 +16879,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
16745
16879
  /**
16746
16880
  * Override the icon displayed before the children.
16747
16881
  * Unless provided, the icon is mapped to the value of the `severity` prop.
16882
+ * Set to `false` to remove the `icon`.
16748
16883
  */
16749
16884
  icon: propTypes.node,
16750
16885
 
@@ -19957,11 +20092,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19957
20092
  });
19958
20093
 
19959
20094
  const classes = useUtilityClasses$1w(ownerState);
19960
- const moreProps = component === ButtonBase$1 ? {
20095
+ const moreProps = component === ButtonBase$1 ? _extends({
19961
20096
  component: ComponentProp || 'div',
19962
- focusVisibleClassName: classes.focusVisible,
19963
- disableRipple: Boolean(onDelete)
19964
- } : {};
20097
+ focusVisibleClassName: classes.focusVisible
20098
+ }, onDelete && {
20099
+ disableRipple: true
20100
+ }) : {};
19965
20101
  let deleteIcon = null;
19966
20102
 
19967
20103
  if (onDelete) {
@@ -21110,7 +21246,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21110
21246
  /**
21111
21247
  * Render the group.
21112
21248
  *
21113
- * @param {any} option The group to render.
21249
+ * @param {AutocompleteRenderGroupParams} params The group to render.
21114
21250
  * @returns {ReactNode}
21115
21251
  */
21116
21252
  renderGroup: propTypes.func,
@@ -21410,7 +21546,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21410
21546
  component: propTypes.elementType,
21411
21547
 
21412
21548
  /**
21413
- * <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes">Attributes</a> applied to the `img` element if the component is used to display an image.
21549
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
21414
21550
  * It can be used to listen for the loading error event.
21415
21551
  */
21416
21552
  imgProps: propTypes.object,
@@ -21618,7 +21754,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21618
21754
  } ;
21619
21755
  var AvatarGroup$1 = AvatarGroup;
21620
21756
 
21621
- const _excluded$1N = ["appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
21757
+ const _excluded$1N = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
21622
21758
  const styles$5 = {
21623
21759
  entering: {
21624
21760
  opacity: 1
@@ -21638,6 +21774,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21638
21774
 
21639
21775
  const Fade = /*#__PURE__*/React__namespace.forwardRef(function Fade(props, ref) {
21640
21776
  const {
21777
+ addEndListener,
21641
21778
  appear = true,
21642
21779
  children,
21643
21780
  easing,
@@ -21708,6 +21845,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21708
21845
  }
21709
21846
  });
21710
21847
  const handleExited = normalizedTransitionCallback(onExited);
21848
+
21849
+ const handleAddEndListener = next => {
21850
+ if (addEndListener) {
21851
+ // Old call signature before `react-transition-group` implemented `nodeRef`
21852
+ addEndListener(nodeRef.current, next);
21853
+ }
21854
+ };
21855
+
21711
21856
  return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
21712
21857
  appear: appear,
21713
21858
  in: inProp,
@@ -21718,6 +21863,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21718
21863
  onExit: handleExit,
21719
21864
  onExited: handleExited,
21720
21865
  onExiting: handleExiting,
21866
+ addEndListener: handleAddEndListener,
21721
21867
  timeout: timeout
21722
21868
  }, other, {
21723
21869
  children: (state, childProps) => {
@@ -21739,6 +21885,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21739
21885
  // | To update them edit the d.ts file and run "yarn proptypes" |
21740
21886
  // ----------------------------------------------------------------------
21741
21887
 
21888
+ /**
21889
+ * Add a custom transition end trigger. Called with the transitioning DOM
21890
+ * node and a done callback. Allows for more fine grained transition end
21891
+ * logic. Note: Timeouts are still used as a fallback if provided.
21892
+ */
21893
+ addEndListener: propTypes.func,
21894
+
21742
21895
  /**
21743
21896
  * Perform the enter transition when it first mounts if `in` is also `true`.
21744
21897
  * Set this to `false` to disable this behavior.
@@ -21749,7 +21902,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21749
21902
  /**
21750
21903
  * A single child content element.
21751
21904
  */
21752
- children: elementAcceptingRef$1,
21905
+ children: elementAcceptingRef$1.isRequired,
21753
21906
 
21754
21907
  /**
21755
21908
  * The transition timing function.
@@ -24489,8 +24642,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24489
24642
  required: required,
24490
24643
  ownerState: ownerState,
24491
24644
  tabIndex: tabIndex,
24492
- type: type,
24493
- value: value
24645
+ type: type
24646
+ }, type === 'checkbox' && value === undefined ? {} : {
24647
+ value
24494
24648
  }, inputProps)), checked ? checkedIcon : icon]
24495
24649
  }));
24496
24650
  }); // NB: If changed, please update Checkbox, Switch and Radio
@@ -26915,7 +27069,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26915
27069
  } ;
26916
27070
  var Divider$1 = Divider;
26917
27071
 
26918
- const _excluded$1o = ["appear", "children", "container", "direction", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
27072
+ const _excluded$1o = ["addEndListener", "appear", "children", "container", "direction", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
26919
27073
 
26920
27074
  function getTranslateValue(direction, node, resolvedContainer) {
26921
27075
  const rect = node.getBoundingClientRect();
@@ -26999,6 +27153,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26999
27153
 
27000
27154
  const Slide = /*#__PURE__*/React__namespace.forwardRef(function Slide(props, ref) {
27001
27155
  const {
27156
+ addEndListener,
27002
27157
  appear = true,
27003
27158
  children,
27004
27159
  container: containerProp,
@@ -27086,6 +27241,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27086
27241
  onExited(node);
27087
27242
  }
27088
27243
  });
27244
+
27245
+ const handleAddEndListener = next => {
27246
+ if (addEndListener) {
27247
+ // Old call signature before `react-transition-group` implemented `nodeRef`
27248
+ addEndListener(childrenRef.current, next);
27249
+ }
27250
+ };
27251
+
27089
27252
  const updatePosition = React__namespace.useCallback(() => {
27090
27253
  if (childrenRef.current) {
27091
27254
  setTranslateValue(direction, childrenRef.current, containerProp);
@@ -27124,6 +27287,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27124
27287
  onExit: handleExit,
27125
27288
  onExited: handleExited,
27126
27289
  onExiting: handleExiting,
27290
+ addEndListener: handleAddEndListener,
27127
27291
  appear: appear,
27128
27292
  in: inProp,
27129
27293
  timeout: timeout
@@ -27146,6 +27310,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27146
27310
  // | To update them edit the d.ts file and run "yarn proptypes" |
27147
27311
  // ----------------------------------------------------------------------
27148
27312
 
27313
+ /**
27314
+ * Add a custom transition end trigger. Called with the transitioning DOM
27315
+ * node and a done callback. Allows for more fine grained transition end
27316
+ * logic. Note: Timeouts are still used as a fallback if provided.
27317
+ */
27318
+ addEndListener: propTypes.func,
27319
+
27149
27320
  /**
27150
27321
  * Perform the enter transition when it first mounts if `in` is also `true`.
27151
27322
  * Set this to `false` to disable this behavior.
@@ -27156,7 +27327,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27156
27327
  /**
27157
27328
  * A single child content element.
27158
27329
  */
27159
- children: elementAcceptingRef$1,
27330
+ children: elementAcceptingRef$1.isRequired,
27160
27331
 
27161
27332
  /**
27162
27333
  * An HTML element, or a function that returns one.
@@ -30654,7 +30825,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30654
30825
 
30655
30826
  var Grid$1 = Grid;
30656
30827
 
30657
- const _excluded$1c = ["appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
30828
+ const _excluded$1c = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
30658
30829
 
30659
30830
  function getScale(value) {
30660
30831
  return `scale(${value}, ${value ** 2})`;
@@ -30678,6 +30849,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30678
30849
 
30679
30850
  const Grow = /*#__PURE__*/React__namespace.forwardRef(function Grow(props, ref) {
30680
30851
  const {
30852
+ addEndListener,
30681
30853
  appear = true,
30682
30854
  children,
30683
30855
  easing,
@@ -30791,10 +30963,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30791
30963
  });
30792
30964
  const handleExited = normalizedTransitionCallback(onExited);
30793
30965
 
30794
- const addEndListener = next => {
30966
+ const handleAddEndListener = next => {
30795
30967
  if (timeout === 'auto') {
30796
30968
  timer.current = setTimeout(next, autoTimeout.current || 0);
30797
30969
  }
30970
+
30971
+ if (addEndListener) {
30972
+ // Old call signature before `react-transition-group` implemented `nodeRef`
30973
+ addEndListener(nodeRef.current, next);
30974
+ }
30798
30975
  };
30799
30976
 
30800
30977
  React__namespace.useEffect(() => {
@@ -30812,7 +30989,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30812
30989
  onExit: handleExit,
30813
30990
  onExited: handleExited,
30814
30991
  onExiting: handleExiting,
30815
- addEndListener: addEndListener,
30992
+ addEndListener: handleAddEndListener,
30816
30993
  timeout: timeout === 'auto' ? null : timeout
30817
30994
  }, other, {
30818
30995
  children: (state, childProps) => {
@@ -30835,6 +31012,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30835
31012
  // | To update them edit the d.ts file and run "yarn proptypes" |
30836
31013
  // ----------------------------------------------------------------------
30837
31014
 
31015
+ /**
31016
+ * Add a custom transition end trigger. Called with the transitioning DOM
31017
+ * node and a done callback. Allows for more fine grained transition end
31018
+ * logic. Note: Timeouts are still used as a fallback if provided.
31019
+ */
31020
+ addEndListener: propTypes.func,
31021
+
30838
31022
  /**
30839
31023
  * Perform the enter transition when it first mounts if `in` is also `true`.
30840
31024
  * Set this to `false` to disable this behavior.
@@ -30845,7 +31029,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30845
31029
  /**
30846
31030
  * A single child content element.
30847
31031
  */
30848
- children: elementAcceptingRef$1,
31032
+ children: elementAcceptingRef$1.isRequired,
30849
31033
 
30850
31034
  /**
30851
31035
  * The transition timing function.
@@ -30912,35 +31096,36 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30912
31096
  Grow.muiSupportAuto = true;
30913
31097
  var Grow$1 = Grow;
30914
31098
 
30915
- function useMediaQuery(queryInput, options = {}) {
30916
- const theme = useTheme$2();
30917
- const props = getThemeProps({
30918
- name: 'MuiUseMediaQuery',
30919
- props: {},
30920
- theme
30921
- });
30922
-
30923
- {
30924
- if (typeof queryInput === 'function' && theme === null) {
30925
- console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
30926
- }
30927
- }
31099
+ /**
31100
+ * @deprecated Not used internally. Use `MediaQueryListEvent` from lib.dom.d.ts instead.
31101
+ */
30928
31102
 
30929
- let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
30930
- query = query.replace(/^@media( ?)/m, ''); // Wait for jsdom to support the match media feature.
31103
+ function useMediaQuery(queryInput, options = {}) {
31104
+ const theme = useTheme$2(); // Wait for jsdom to support the match media feature.
30931
31105
  // All the browsers MUI support have this built-in.
30932
31106
  // This defensive check is here for simplicity.
30933
31107
  // Most of the time, the match media logic isn't central to people tests.
30934
31108
 
30935
31109
  const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';
30936
-
30937
31110
  const {
30938
31111
  defaultMatches = false,
30939
31112
  matchMedia = supportMatchMedia ? window.matchMedia : null,
30940
31113
  noSsr = false,
30941
31114
  ssrMatchMedia = null
30942
- } = _extends({}, props, options);
31115
+ } = getThemeProps({
31116
+ name: 'MuiUseMediaQuery',
31117
+ props: options,
31118
+ theme
31119
+ });
31120
+
31121
+ {
31122
+ if (typeof queryInput === 'function' && theme === null) {
31123
+ console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
31124
+ }
31125
+ }
30943
31126
 
31127
+ let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
31128
+ query = query.replace(/^@media( ?)/m, '');
30944
31129
  const [match, setMatch] = React__namespace.useState(() => {
30945
31130
  if (noSsr && supportMatchMedia) {
30946
31131
  return matchMedia(query).matches;
@@ -32899,7 +33084,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32899
33084
  } = props;
32900
33085
  return [{
32901
33086
  [`& .${formLabelClasses$1.asterisk}`]: styles.asterisk
32902
- }, styles.root, !ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, styles[ownerState.variant]];
33087
+ }, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, styles[ownerState.variant]];
32903
33088
  }
32904
33089
  })(({
32905
33090
  theme,
@@ -36809,7 +36994,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36809
36994
  input: propTypes.element,
36810
36995
 
36811
36996
  /**
36812
- * <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes">Attributes</a> applied to the `select` element.
36997
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attributes) applied to the `select` element.
36813
36998
  */
36814
36999
  inputProps: propTypes.object,
36815
37000
 
@@ -37658,13 +37843,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37658
37843
  last: LastPageIcon
37659
37844
  };
37660
37845
  const Icon = normalizedIcons[type];
37661
- return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, _extends({
37846
+ return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, {
37662
37847
  ref: ref,
37663
37848
  ownerState: ownerState,
37664
- className: clsx(classes.root, className)
37665
- }, other, {
37849
+ className: clsx(classes.root, className),
37666
37850
  children: "\u2026"
37667
- })) : /*#__PURE__*/jsxRuntime_2(PaginationItemPage, _extends({
37851
+ }) : /*#__PURE__*/jsxRuntime_2(PaginationItemPage, _extends({
37668
37852
  ref: ref,
37669
37853
  ownerState: ownerState,
37670
37854
  component: component,
@@ -38181,6 +38365,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38181
38365
  }
38182
38366
  }));
38183
38367
 
38368
+ function areEqualValues$1(a, b) {
38369
+ if (typeof b === 'object' && b !== null) {
38370
+ return a === b;
38371
+ } // The value could be a number, the DOM will stringify it anyway.
38372
+
38373
+
38374
+ return String(a) === String(b);
38375
+ }
38376
+
38184
38377
  const defaultCheckedIcon = /*#__PURE__*/jsxRuntime_1(RadioButtonIcon, {
38185
38378
  checked: true
38186
38379
  });
@@ -38219,7 +38412,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38219
38412
 
38220
38413
  if (radioGroup) {
38221
38414
  if (typeof checked === 'undefined') {
38222
- checked = radioGroup.value === props.value;
38415
+ checked = areEqualValues$1(radioGroup.value, props.value);
38223
38416
  }
38224
38417
 
38225
38418
  if (typeof name === 'undefined') {
@@ -39312,7 +39505,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39312
39505
  function areEqualValues(a, b) {
39313
39506
  if (typeof b === 'object' && b !== null) {
39314
39507
  return a === b;
39315
- }
39508
+ } // The value could be a number, the DOM will stringify it anyway.
39509
+
39316
39510
 
39317
39511
  return String(a) === String(b);
39318
39512
  }
@@ -41615,7 +41809,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41615
41809
  } ;
41616
41810
  var Snackbar$1 = Snackbar;
41617
41811
 
41618
- const _excluded$y = ["appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
41812
+ const _excluded$y = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
41619
41813
  const styles$1 = {
41620
41814
  entering: {
41621
41815
  transform: 'none'
@@ -41636,6 +41830,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41636
41830
 
41637
41831
  const Zoom = /*#__PURE__*/React__namespace.forwardRef(function Zoom(props, ref) {
41638
41832
  const {
41833
+ addEndListener,
41639
41834
  appear = true,
41640
41835
  children,
41641
41836
  easing,
@@ -41706,6 +41901,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41706
41901
  }
41707
41902
  });
41708
41903
  const handleExited = normalizedTransitionCallback(onExited);
41904
+
41905
+ const handleAddEndListener = next => {
41906
+ if (addEndListener) {
41907
+ // Old call signature before `react-transition-group` implemented `nodeRef`
41908
+ addEndListener(nodeRef.current, next);
41909
+ }
41910
+ };
41911
+
41709
41912
  return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
41710
41913
  appear: appear,
41711
41914
  in: inProp,
@@ -41716,6 +41919,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41716
41919
  onExit: handleExit,
41717
41920
  onExited: handleExited,
41718
41921
  onExiting: handleExiting,
41922
+ addEndListener: handleAddEndListener,
41719
41923
  timeout: timeout
41720
41924
  }, other, {
41721
41925
  children: (state, childProps) => {
@@ -41737,6 +41941,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41737
41941
  // | To update them edit the d.ts file and run "yarn proptypes" |
41738
41942
  // ----------------------------------------------------------------------
41739
41943
 
41944
+ /**
41945
+ * Add a custom transition end trigger. Called with the transitioning DOM
41946
+ * node and a done callback. Allows for more fine grained transition end
41947
+ * logic. Note: Timeouts are still used as a fallback if provided.
41948
+ */
41949
+ addEndListener: propTypes.func,
41950
+
41740
41951
  /**
41741
41952
  * Perform the enter transition when it first mounts if `in` is also `true`.
41742
41953
  * Set this to `false` to disable this behavior.
@@ -41747,7 +41958,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41747
41958
  /**
41748
41959
  * A single child content element.
41749
41960
  */
41750
- children: elementAcceptingRef$1,
41961
+ children: elementAcceptingRef$1.isRequired,
41751
41962
 
41752
41963
  /**
41753
41964
  * The transition timing function.
@@ -42369,7 +42580,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42369
42580
  const tooltipClasses = generateUtilityClasses('MuiTooltip', ['popper', 'popperInteractive', 'popperArrow', 'popperClose', 'tooltip', 'tooltipArrow', 'touch', 'tooltipPlacementLeft', 'tooltipPlacementRight', 'tooltipPlacementTop', 'tooltipPlacementBottom', 'arrow']);
42370
42581
  var tooltipClasses$1 = tooltipClasses;
42371
42582
 
42372
- const _excluded$w = ["arrow", "children", "classes", "describeChild", "disableFocusListener", "disableHoverListener", "disableInteractive", "disableTouchListener", "enterDelay", "enterNextDelay", "enterTouchDelay", "followCursor", "id", "leaveDelay", "leaveTouchDelay", "onClose", "onOpen", "open", "placement", "PopperComponent", "PopperProps", "title", "TransitionComponent", "TransitionProps"];
42583
+ const _excluded$w = ["arrow", "children", "classes", "components", "componentsProps", "describeChild", "disableFocusListener", "disableHoverListener", "disableInteractive", "disableTouchListener", "enterDelay", "enterNextDelay", "enterTouchDelay", "followCursor", "id", "leaveDelay", "leaveTouchDelay", "onClose", "onOpen", "open", "placement", "PopperComponent", "PopperProps", "title", "TransitionComponent", "TransitionProps"];
42373
42584
 
42374
42585
  function round(value) {
42375
42586
  return Math.round(value * 1e5) / 1e5;
@@ -42556,9 +42767,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42556
42767
 
42557
42768
  handler(event);
42558
42769
  };
42559
- }
42770
+ } // TODO (v6) Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
42771
+
42560
42772
 
42561
42773
  const Tooltip = /*#__PURE__*/React__namespace.forwardRef(function Tooltip(inProps, ref) {
42774
+ var _components$Popper, _ref, _components$Tooltip, _components$Arrow, _componentsProps$popp;
42775
+
42562
42776
  const props = useThemeProps({
42563
42777
  props: inProps,
42564
42778
  name: 'MuiTooltip'
@@ -42567,6 +42781,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42567
42781
  const {
42568
42782
  arrow = false,
42569
42783
  children,
42784
+ components = {},
42785
+ componentsProps = {},
42570
42786
  describeChild = false,
42571
42787
  disableFocusListener = false,
42572
42788
  disableHoverListener = false,
@@ -42583,10 +42799,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42583
42799
  onOpen,
42584
42800
  open: openProp,
42585
42801
  placement = 'bottom',
42586
- PopperComponent = Popper$1,
42802
+ PopperComponent: PopperComponentProp,
42587
42803
  PopperProps = {},
42588
42804
  title,
42589
- TransitionComponent = Grow$1,
42805
+ TransitionComponent: TransitionComponentProp = Grow$1,
42590
42806
  TransitionProps
42591
42807
  } = props,
42592
42808
  other = _objectWithoutPropertiesLoose(props, _excluded$w);
@@ -42920,15 +43136,22 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42920
43136
  arrow,
42921
43137
  disableInteractive,
42922
43138
  placement,
42923
- PopperComponent,
43139
+ PopperComponentProp,
42924
43140
  touch: ignoreNonTouchEvents.current
42925
43141
  });
42926
43142
 
42927
43143
  const classes = useUtilityClasses$q(ownerState);
43144
+ const PopperComponent = (_components$Popper = components.Popper) != null ? _components$Popper : TooltipPopper;
43145
+ const TransitionComponent = (_ref = TransitionComponentProp != null ? TransitionComponentProp : components.Transition) != null ? _ref : Grow$1;
43146
+ const TooltipComponent = (_components$Tooltip = components.Tooltip) != null ? _components$Tooltip : TooltipTooltip;
43147
+ const ArrowComponent = (_components$Arrow = components.Arrow) != null ? _components$Arrow : TooltipArrow;
43148
+ const popperProps = appendOwnerState(PopperComponent, _extends({}, PopperProps, componentsProps.popper), ownerState);
43149
+ const transitionProps = appendOwnerState(TransitionComponent, _extends({}, TransitionProps, componentsProps.transition), ownerState);
43150
+ const tooltipProps = appendOwnerState(TooltipComponent, _extends({}, componentsProps.tooltip), ownerState);
43151
+ const tooltipArrowProps = appendOwnerState(ArrowComponent, _extends({}, componentsProps.arrow), ownerState);
42928
43152
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
42929
- children: [/*#__PURE__*/React__namespace.cloneElement(children, childrenProps), /*#__PURE__*/jsxRuntime_1(TooltipPopper, _extends({
42930
- as: PopperComponent,
42931
- className: classes.popper,
43153
+ children: [/*#__PURE__*/React__namespace.cloneElement(children, childrenProps), /*#__PURE__*/jsxRuntime_1(PopperComponent, _extends({
43154
+ as: PopperComponentProp != null ? PopperComponentProp : Popper$1,
42932
43155
  placement: placement,
42933
43156
  anchorEl: followCursor ? {
42934
43157
  getBoundingClientRect: () => ({
@@ -42944,24 +43167,26 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42944
43167
  open: childNode ? open : false,
42945
43168
  id: id,
42946
43169
  transition: true
42947
- }, interactiveWrapperListeners, PopperProps, {
43170
+ }, interactiveWrapperListeners, popperProps, {
43171
+ className: clsx(classes.popper, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
42948
43172
  popperOptions: popperOptions,
42949
- ownerState: ownerState,
42950
43173
  children: ({
42951
43174
  TransitionProps: TransitionPropsInner
42952
- }) => /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
42953
- timeout: theme.transitions.duration.shorter
42954
- }, TransitionPropsInner, TransitionProps, {
42955
- children: /*#__PURE__*/jsxRuntime_2(TooltipTooltip, {
42956
- className: classes.tooltip,
42957
- ownerState: ownerState,
42958
- children: [title, arrow ? /*#__PURE__*/jsxRuntime_1(TooltipArrow, {
42959
- className: classes.arrow,
42960
- ref: setArrowRef,
42961
- ownerState: ownerState
42962
- }) : null]
42963
- })
42964
- }))
43175
+ }) => {
43176
+ var _componentsProps$tool, _componentsProps$arro;
43177
+
43178
+ return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
43179
+ timeout: theme.transitions.duration.shorter
43180
+ }, TransitionPropsInner, transitionProps, {
43181
+ children: /*#__PURE__*/jsxRuntime_2(TooltipComponent, _extends({}, tooltipProps, {
43182
+ className: clsx(classes.tooltip, (_componentsProps$tool = componentsProps.tooltip) == null ? void 0 : _componentsProps$tool.className),
43183
+ children: [title, arrow ? /*#__PURE__*/jsxRuntime_1(ArrowComponent, _extends({}, tooltipArrowProps, {
43184
+ className: clsx(classes.arrow, (_componentsProps$arro = componentsProps.arrow) == null ? void 0 : _componentsProps$arro.className),
43185
+ ref: setArrowRef
43186
+ })) : null]
43187
+ }))
43188
+ }));
43189
+ }
42965
43190
  }))]
42966
43191
  });
42967
43192
  });
@@ -42994,6 +43219,24 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42994
43219
  */
42995
43220
  className: propTypes.string,
42996
43221
 
43222
+ /**
43223
+ * The components used for each slot inside the Tooltip.
43224
+ * Either a string to use a HTML element or a component.
43225
+ * @default {}
43226
+ */
43227
+ components: propTypes.shape({
43228
+ Arrow: propTypes.elementType,
43229
+ Popper: propTypes.elementType,
43230
+ Tooltip: propTypes.elementType,
43231
+ Transition: propTypes.elementType
43232
+ }),
43233
+
43234
+ /**
43235
+ * The props used for each slot inside the Tooltip.
43236
+ * @default {}
43237
+ */
43238
+ componentsProps: propTypes.object,
43239
+
42997
43240
  /**
42998
43241
  * Set to `true` if the `title` acts as an accessible description.
42999
43242
  * By default the `title` acts as an accessible label for the child.
@@ -45654,7 +45897,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45654
45897
  const {
45655
45898
  ownerState
45656
45899
  } = props;
45657
- return [styles.switchBase, styles.input, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];
45900
+ return [styles.switchBase, {
45901
+ [`& .${switchClasses$1.input}`]: styles.input
45902
+ }, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];
45658
45903
  }
45659
45904
  })(({
45660
45905
  theme
@@ -45909,7 +46154,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45909
46154
  function getTabUtilityClass(slot) {
45910
46155
  return generateUtilityClass('MuiTab', slot);
45911
46156
  }
45912
- const tabClasses = generateUtilityClasses('MuiTab', ['root', 'labelIcon', 'textColorInherit', 'textColorPrimary', 'textColorSecondary', 'selected', 'disabled', 'fullWidth', 'wrapped']);
46157
+ const tabClasses = generateUtilityClasses('MuiTab', ['root', 'labelIcon', 'textColorInherit', 'textColorPrimary', 'textColorSecondary', 'selected', 'disabled', 'fullWidth', 'wrapped', 'iconWrapper']);
45913
46158
  var tabClasses$1 = tabClasses;
45914
46159
 
45915
46160
  const _excluded$i = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"];
@@ -45926,7 +46171,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45926
46171
  disabled
45927
46172
  } = ownerState;
45928
46173
  const slots = {
45929
- root: ['root', icon && label && 'labelIcon', `textColor${capitalize(textColor)}`, fullWidth && 'fullWidth', wrapped && 'wrapped', selected && 'selected', disabled && 'disabled']
46174
+ root: ['root', icon && label && 'labelIcon', `textColor${capitalize(textColor)}`, fullWidth && 'fullWidth', wrapped && 'wrapped', selected && 'selected', disabled && 'disabled'],
46175
+ iconWrapper: ['iconWrapper']
45930
46176
  };
45931
46177
  return composeClasses(slots, getTabUtilityClass, classes);
45932
46178
  };
@@ -45959,7 +46205,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45959
46205
  minHeight: 72,
45960
46206
  paddingTop: 9,
45961
46207
  paddingBottom: 9,
45962
- [`& > *:first-child`]: {
46208
+ [`& > .${tabClasses$1.iconWrapper}`]: {
45963
46209
  marginBottom: 6
45964
46210
  }
45965
46211
  }, ownerState.textColor === 'inherit' && {
@@ -46008,7 +46254,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46008
46254
  disableFocusRipple = false,
46009
46255
  // eslint-disable-next-line react/prop-types
46010
46256
  fullWidth,
46011
- icon,
46257
+ icon: iconProp,
46012
46258
  // eslint-disable-next-line react/prop-types
46013
46259
  indicator,
46014
46260
  label,
@@ -46030,7 +46276,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46030
46276
  disabled,
46031
46277
  disableFocusRipple,
46032
46278
  selected,
46033
- icon: !!icon,
46279
+ icon: !!iconProp,
46034
46280
  label: !!label,
46035
46281
  fullWidth,
46036
46282
  textColor,
@@ -46038,6 +46284,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46038
46284
  });
46039
46285
 
46040
46286
  const classes = useUtilityClasses$f(ownerState);
46287
+ const icon = iconProp && label && /*#__PURE__*/React__namespace.isValidElement(iconProp) ? /*#__PURE__*/React__namespace.cloneElement(iconProp, {
46288
+ className: clsx(classes.iconWrapper, iconProp.props.className)
46289
+ }) : iconProp;
46041
46290
 
46042
46291
  const handleClick = event => {
46043
46292
  if (!selected && onChange) {
@@ -50012,6 +50261,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50012
50261
  exports.InputAdornment = InputAdornment$1;
50013
50262
  exports.InputBase = InputBase$1;
50014
50263
  exports.InputLabel = InputLabel$1;
50264
+ exports.InputUnstyled = InputUnstyled$1;
50015
50265
  exports.LinearProgress = LinearProgress$1;
50016
50266
  exports.Link = Link$1;
50017
50267
  exports.List = List$1;
@@ -50159,7 +50409,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50159
50409
  exports.filledInputClasses = filledInputClasses$1;
50160
50410
  exports.formControlClasses = formControlClasses$1;
50161
50411
  exports.formControlLabelClasses = formControlLabelClasses$1;
50162
- exports.formControlUnstyledClasses = classes$1;
50412
+ exports.formControlUnstyledClasses = classes$2;
50163
50413
  exports.formGroupClasses = formGroupClasses$1;
50164
50414
  exports.formHelperTextClasses = formHelperTextClasses$1;
50165
50415
  exports.formLabelClasses = formLabelClasses$1;
@@ -50220,6 +50470,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50220
50470
  exports.getInputAdornmentUtilityClass = getInputAdornmentUtilityClass;
50221
50471
  exports.getInputBaseUtilityClass = getInputBaseUtilityClass;
50222
50472
  exports.getInputLabelUtilityClasses = getInputLabelUtilityClasses;
50473
+ exports.getInputUnstyledUtilityClass = getInputUnstyledUtilityClass;
50223
50474
  exports.getInputUtilityClass = getInputUtilityClass;
50224
50475
  exports.getLinearProgressUtilityClass = getLinearProgressUtilityClass;
50225
50476
  exports.getLinkUtilityClass = getLinkUtilityClass;
@@ -50294,6 +50545,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50294
50545
  exports.inputBaseClasses = inputBaseClasses$1;
50295
50546
  exports.inputClasses = inputClasses$1;
50296
50547
  exports.inputLabelClasses = inputLabelClasses$1;
50548
+ exports.inputUnstyledClasses = classes$1;
50297
50549
  exports.isHostComponent = isHostComponent;
50298
50550
  exports.isMuiElement = isMuiElement;
50299
50551
  exports.lighten = lighten;
@@ -50382,6 +50634,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50382
50634
  exports.useForkRef = useForkRef;
50383
50635
  exports.useFormControl = useFormControl;
50384
50636
  exports.useFormControlUnstyled = useFormControlUnstyled;
50637
+ exports.useInput = useInput;
50385
50638
  exports.useIsFocusVisible = useIsFocusVisible;
50386
50639
  exports.useMediaQuery = useMediaQuery;
50387
50640
  exports.usePagination = usePagination;
@@ -50395,4 +50648,4 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50395
50648
 
50396
50649
  Object.defineProperty(exports, '__esModule', { value: true });
50397
50650
 
50398
- })));
50651
+ }));