@mui/material 5.6.4 → 5.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) 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.js +1 -0
  6. package/Alert/alertClasses.d.ts +44 -44
  7. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  8. package/AppBar/appBarClasses.d.ts +28 -28
  9. package/Autocomplete/Autocomplete.d.ts +23 -1
  10. package/Autocomplete/Autocomplete.js +18 -16
  11. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  12. package/Avatar/avatarClasses.d.ts +20 -20
  13. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  14. package/Backdrop/backdropClasses.d.ts +10 -10
  15. package/Badge/Badge.d.ts +1 -34
  16. package/Badge/badgeClasses.d.ts +56 -24
  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/Box/Box.js +1 -1
  21. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  22. package/Button/buttonClasses.d.ts +76 -76
  23. package/ButtonBase/TouchRipple.js +5 -5
  24. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  25. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  26. package/ButtonGroup/ButtonGroup.js +10 -10
  27. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  28. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  29. package/CHANGELOG.md +241 -0
  30. package/Card/cardClasses.d.ts +8 -8
  31. package/CardActionArea/CardActionArea.js +2 -2
  32. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  33. package/CardActions/cardActionsClasses.d.ts +10 -10
  34. package/CardContent/cardContentClasses.d.ts +8 -8
  35. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  36. package/CardMedia/cardMediaClasses.d.ts +12 -12
  37. package/Checkbox/checkboxClasses.d.ts +18 -18
  38. package/Chip/chipClasses.d.ts +80 -80
  39. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  40. package/ClickAwayListener/index.d.ts +2 -2
  41. package/Collapse/collapseClasses.d.ts +18 -18
  42. package/Container/Container.js +17 -106
  43. package/Container/containerClasses.d.ts +6 -22
  44. package/CssBaseline/CssBaseline.js +4 -4
  45. package/Dialog/DialogContext.d.ts +6 -6
  46. package/Dialog/dialogClasses.d.ts +36 -36
  47. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  48. package/DialogContent/DialogContent.js +2 -2
  49. package/DialogContent/dialogContentClasses.d.ts +10 -10
  50. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  51. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  52. package/Divider/Divider.js +4 -4
  53. package/Divider/dividerClasses.d.ts +34 -34
  54. package/Drawer/Drawer.js +6 -6
  55. package/Drawer/drawerClasses.d.ts +30 -30
  56. package/Fab/Fab.js +72 -66
  57. package/Fab/fabClasses.d.ts +26 -26
  58. package/FilledInput/filledInputClasses.d.ts +40 -40
  59. package/FormControl/formControlClasses.d.ts +14 -14
  60. package/FormControlLabel/FormControlLabel.js +1 -1
  61. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  62. package/FormGroup/formGroupClasses.d.ts +12 -12
  63. package/FormHelperText/FormHelperText.js +3 -3
  64. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  65. package/FormLabel/FormLabel.js +5 -5
  66. package/FormLabel/formLabelClasses.d.ts +22 -22
  67. package/Grid/gridClasses.d.ts +48 -48
  68. package/Icon/Icon.js +8 -8
  69. package/Icon/iconClasses.d.ts +24 -24
  70. package/IconButton/IconButton.js +5 -5
  71. package/IconButton/iconButtonClasses.d.ts +26 -26
  72. package/ImageList/imageListClasses.d.ts +16 -16
  73. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  74. package/ImageListItemBar/ImageListItemBar.js +1 -1
  75. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  76. package/Input/Input.js +9 -4
  77. package/Input/inputClasses.d.ts +34 -34
  78. package/InputAdornment/InputAdornment.js +1 -1
  79. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  80. package/InputBase/InputBase.js +16 -8
  81. package/InputBase/inputBaseClasses.d.ts +44 -44
  82. package/InputLabel/inputLabelClasses.d.ts +32 -32
  83. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  84. package/Link/Link.js +3 -8
  85. package/Link/linkClasses.d.ts +18 -18
  86. package/List/listClasses.d.ts +14 -14
  87. package/ListItem/ListItem.js +8 -8
  88. package/ListItem/listItemClasses.d.ts +30 -30
  89. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  90. package/ListItemButton/ListItemButton.js +15 -9
  91. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  92. package/ListItemIcon/ListItemIcon.js +1 -1
  93. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  94. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  95. package/ListItemText/listItemTextClasses.d.ts +18 -18
  96. package/ListSubheader/ListSubheader.js +3 -3
  97. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  98. package/Menu/menuClasses.d.ts +12 -12
  99. package/MenuItem/MenuItem.js +8 -8
  100. package/MenuItem/menuItemClasses.d.ts +20 -20
  101. package/MenuList/MenuList.d.ts +1 -1
  102. package/MenuList/MenuList.js +1 -1
  103. package/MobileStepper/MobileStepper.js +5 -5
  104. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  105. package/Modal/Modal.js +1 -1
  106. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  107. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  108. package/Pagination/paginationClasses.d.ts +14 -14
  109. package/PaginationItem/PaginationItem.js +27 -27
  110. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  111. package/Paper/Paper.js +20 -15
  112. package/Paper/index.d.ts +1 -1
  113. package/Paper/paperClasses.d.ts +39 -39
  114. package/Popover/popoverClasses.d.ts +10 -10
  115. package/Popper/Popper.d.ts +29 -29
  116. package/README.md +2 -1
  117. package/Radio/Radio.js +4 -4
  118. package/Radio/radioClasses.d.ts +16 -16
  119. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  120. package/RadioGroup/useRadioGroup.d.ts +4 -4
  121. package/Rating/Rating.js +2 -2
  122. package/Rating/ratingClasses.d.ts +40 -40
  123. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  124. package/Select/SelectInput.js +2 -2
  125. package/Select/selectClasses.d.ts +30 -30
  126. package/Skeleton/skeletonClasses.d.ts +24 -24
  127. package/Slider/Slider.js +1 -5
  128. package/Snackbar/Snackbar.js +1 -1
  129. package/Snackbar/snackbarClasses.d.ts +20 -20
  130. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  131. package/SpeedDial/SpeedDial.js +1 -1
  132. package/SpeedDial/speedDialClasses.d.ts +22 -22
  133. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  134. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  135. package/Step/StepContext.d.ts +20 -20
  136. package/Step/stepClasses.d.ts +16 -16
  137. package/StepButton/stepButtonClasses.d.ts +14 -14
  138. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  139. package/StepContent/stepContentClasses.d.ts +12 -12
  140. package/StepIcon/StepIcon.js +5 -5
  141. package/StepIcon/stepIconClasses.d.ts +16 -16
  142. package/StepLabel/StepLabel.js +4 -4
  143. package/StepLabel/stepLabelClasses.d.ts +28 -28
  144. package/Stepper/StepperContext.d.ts +18 -0
  145. package/Stepper/StepperContext.js +10 -2
  146. package/Stepper/index.d.ts +3 -0
  147. package/Stepper/index.js +3 -1
  148. package/Stepper/stepperClasses.d.ts +14 -14
  149. package/SvgIcon/SvgIcon.js +4 -4
  150. package/SvgIcon/svgIconClasses.d.ts +24 -24
  151. package/Switch/switchClasses.d.ts +32 -32
  152. package/Tab/Tab.js +7 -7
  153. package/Tab/tabClasses.d.ts +26 -26
  154. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  155. package/Table/Table.js +1 -1
  156. package/Table/tableClasses.d.ts +10 -10
  157. package/TableBody/tableBodyClasses.d.ts +8 -8
  158. package/TableCell/tableCellClasses.d.ts +32 -32
  159. package/TableContainer/tableContainerClasses.d.ts +8 -8
  160. package/TableFooter/tableFooterClasses.d.ts +8 -8
  161. package/TableHead/tableHeadClasses.d.ts +8 -8
  162. package/TablePagination/TablePagination.js +1 -1
  163. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  164. package/TableRow/TableRow.js +3 -3
  165. package/TableRow/tableRowClasses.d.ts +16 -16
  166. package/TableSortLabel/TableSortLabel.js +4 -4
  167. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  168. package/Tabs/Tabs.js +4 -4
  169. package/Tabs/tabsClasses.d.ts +32 -32
  170. package/TextField/textFieldClasses.d.ts +8 -8
  171. package/ToggleButton/ToggleButton.js +17 -10
  172. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  173. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  174. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  175. package/Toolbar/toolbarClasses.d.ts +14 -14
  176. package/Tooltip/Tooltip.js +5 -5
  177. package/Tooltip/tooltipClasses.d.ts +30 -30
  178. package/Typography/typographyClasses.d.ts +50 -50
  179. package/className/index.d.ts +1 -8
  180. package/className/index.js +1 -8
  181. package/darkScrollbar/index.d.ts +28 -28
  182. package/index.js +1 -1
  183. package/internal/switchBaseClasses.d.ts +12 -12
  184. package/legacy/Alert/Alert.js +1 -0
  185. package/legacy/Autocomplete/Autocomplete.js +18 -16
  186. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  187. package/legacy/Box/Box.js +1 -1
  188. package/legacy/ButtonBase/TouchRipple.js +5 -5
  189. package/legacy/ButtonGroup/ButtonGroup.js +10 -10
  190. package/legacy/CardActionArea/CardActionArea.js +2 -2
  191. package/legacy/Container/Container.js +18 -103
  192. package/legacy/CssBaseline/CssBaseline.js +4 -4
  193. package/legacy/DialogContent/DialogContent.js +2 -2
  194. package/legacy/Divider/Divider.js +4 -4
  195. package/legacy/Drawer/Drawer.js +6 -6
  196. package/legacy/Fab/Fab.js +20 -18
  197. package/legacy/FormControlLabel/FormControlLabel.js +1 -1
  198. package/legacy/FormHelperText/FormHelperText.js +3 -3
  199. package/legacy/FormLabel/FormLabel.js +5 -5
  200. package/legacy/Icon/Icon.js +8 -8
  201. package/legacy/IconButton/IconButton.js +5 -5
  202. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
  203. package/legacy/Input/Input.js +8 -3
  204. package/legacy/InputAdornment/InputAdornment.js +1 -1
  205. package/legacy/InputBase/InputBase.js +16 -8
  206. package/legacy/Link/Link.js +3 -9
  207. package/legacy/ListItem/ListItem.js +8 -8
  208. package/legacy/ListItemButton/ListItemButton.js +15 -9
  209. package/legacy/ListItemIcon/ListItemIcon.js +1 -1
  210. package/legacy/ListSubheader/ListSubheader.js +3 -3
  211. package/legacy/MenuItem/MenuItem.js +8 -8
  212. package/legacy/MenuList/MenuList.js +1 -1
  213. package/legacy/MobileStepper/MobileStepper.js +5 -5
  214. package/legacy/Modal/Modal.js +1 -1
  215. package/legacy/PaginationItem/PaginationItem.js +27 -27
  216. package/legacy/Paper/Paper.js +10 -7
  217. package/legacy/Radio/Radio.js +4 -4
  218. package/legacy/Rating/Rating.js +2 -2
  219. package/legacy/Select/SelectInput.js +2 -2
  220. package/legacy/Slider/Slider.js +1 -10
  221. package/legacy/Snackbar/Snackbar.js +1 -1
  222. package/legacy/SpeedDial/SpeedDial.js +1 -1
  223. package/legacy/StepIcon/StepIcon.js +5 -5
  224. package/legacy/StepLabel/StepLabel.js +4 -4
  225. package/legacy/Stepper/StepperContext.js +10 -2
  226. package/legacy/Stepper/index.js +3 -1
  227. package/legacy/SvgIcon/SvgIcon.js +4 -4
  228. package/legacy/Tab/Tab.js +7 -7
  229. package/legacy/Table/Table.js +1 -1
  230. package/legacy/TablePagination/TablePagination.js +1 -1
  231. package/legacy/TableRow/TableRow.js +3 -3
  232. package/legacy/TableSortLabel/TableSortLabel.js +4 -4
  233. package/legacy/Tabs/Tabs.js +4 -4
  234. package/legacy/ToggleButton/ToggleButton.js +16 -9
  235. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  236. package/legacy/Tooltip/Tooltip.js +5 -5
  237. package/legacy/className/index.js +1 -8
  238. package/legacy/index.js +1 -1
  239. package/legacy/locale/index.js +22 -22
  240. package/legacy/styles/createMixins.js +5 -3
  241. package/legacy/styles/createPalette.js +2 -1
  242. package/legacy/styles/createTheme.js +1 -1
  243. package/legacy/styles/experimental_extendTheme.js +70 -42
  244. package/locale/index.d.ts +71 -71
  245. package/locale/index.js +22 -22
  246. package/modern/Alert/Alert.js +1 -0
  247. package/modern/Autocomplete/Autocomplete.js +18 -16
  248. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  249. package/modern/Box/Box.js +1 -1
  250. package/modern/ButtonBase/TouchRipple.js +5 -5
  251. package/modern/ButtonGroup/ButtonGroup.js +10 -10
  252. package/modern/CardActionArea/CardActionArea.js +2 -2
  253. package/modern/Container/Container.js +17 -106
  254. package/modern/CssBaseline/CssBaseline.js +4 -4
  255. package/modern/DialogContent/DialogContent.js +2 -2
  256. package/modern/Divider/Divider.js +4 -4
  257. package/modern/Drawer/Drawer.js +6 -6
  258. package/modern/Fab/Fab.js +19 -17
  259. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  260. package/modern/FormHelperText/FormHelperText.js +3 -3
  261. package/modern/FormLabel/FormLabel.js +5 -5
  262. package/modern/Icon/Icon.js +8 -8
  263. package/modern/IconButton/IconButton.js +5 -5
  264. package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
  265. package/modern/Input/Input.js +9 -4
  266. package/modern/InputAdornment/InputAdornment.js +1 -1
  267. package/modern/InputBase/InputBase.js +16 -8
  268. package/modern/Link/Link.js +3 -8
  269. package/modern/ListItem/ListItem.js +8 -8
  270. package/modern/ListItemButton/ListItemButton.js +15 -9
  271. package/modern/ListItemIcon/ListItemIcon.js +1 -1
  272. package/modern/ListSubheader/ListSubheader.js +3 -3
  273. package/modern/MenuItem/MenuItem.js +8 -8
  274. package/modern/MenuList/MenuList.js +1 -1
  275. package/modern/MobileStepper/MobileStepper.js +5 -5
  276. package/modern/Modal/Modal.js +1 -1
  277. package/modern/PaginationItem/PaginationItem.js +27 -27
  278. package/modern/Paper/Paper.js +8 -7
  279. package/modern/Radio/Radio.js +4 -4
  280. package/modern/Rating/Rating.js +2 -2
  281. package/modern/Select/SelectInput.js +2 -2
  282. package/modern/Slider/Slider.js +1 -5
  283. package/modern/Snackbar/Snackbar.js +1 -1
  284. package/modern/SpeedDial/SpeedDial.js +1 -1
  285. package/modern/StepIcon/StepIcon.js +5 -5
  286. package/modern/StepLabel/StepLabel.js +4 -4
  287. package/modern/Stepper/StepperContext.js +10 -2
  288. package/modern/Stepper/index.js +3 -1
  289. package/modern/SvgIcon/SvgIcon.js +3 -3
  290. package/modern/Tab/Tab.js +7 -7
  291. package/modern/Table/Table.js +1 -1
  292. package/modern/TablePagination/TablePagination.js +1 -1
  293. package/modern/TableRow/TableRow.js +3 -3
  294. package/modern/TableSortLabel/TableSortLabel.js +4 -4
  295. package/modern/Tabs/Tabs.js +4 -4
  296. package/modern/ToggleButton/ToggleButton.js +17 -10
  297. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  298. package/modern/Tooltip/Tooltip.js +5 -5
  299. package/modern/className/index.js +1 -8
  300. package/modern/index.js +1 -1
  301. package/modern/locale/index.js +22 -22
  302. package/modern/styles/createMixins.js +5 -3
  303. package/modern/styles/createPalette.js +2 -1
  304. package/modern/styles/createTheme.js +1 -1
  305. package/modern/styles/experimental_extendTheme.js +71 -44
  306. package/node/Alert/Alert.js +1 -0
  307. package/node/Autocomplete/Autocomplete.js +19 -16
  308. package/node/BottomNavigation/BottomNavigation.js +0 -0
  309. package/node/Box/Box.js +2 -2
  310. package/node/ButtonBase/TouchRipple.js +5 -5
  311. package/node/ButtonGroup/ButtonGroup.js +10 -10
  312. package/node/CardActionArea/CardActionArea.js +2 -2
  313. package/node/Container/Container.js +17 -113
  314. package/node/CssBaseline/CssBaseline.js +4 -4
  315. package/node/DialogContent/DialogContent.js +2 -2
  316. package/node/Divider/Divider.js +4 -4
  317. package/node/Drawer/Drawer.js +6 -6
  318. package/node/Fab/Fab.js +72 -66
  319. package/node/FormControlLabel/FormControlLabel.js +1 -1
  320. package/node/FormHelperText/FormHelperText.js +3 -3
  321. package/node/FormLabel/FormLabel.js +5 -5
  322. package/node/Icon/Icon.js +8 -8
  323. package/node/IconButton/IconButton.js +5 -5
  324. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  325. package/node/Input/Input.js +9 -4
  326. package/node/InputAdornment/InputAdornment.js +1 -1
  327. package/node/InputBase/InputBase.js +14 -8
  328. package/node/Link/Link.js +3 -9
  329. package/node/ListItem/ListItem.js +8 -8
  330. package/node/ListItemButton/ListItemButton.js +15 -9
  331. package/node/ListItemIcon/ListItemIcon.js +1 -1
  332. package/node/ListSubheader/ListSubheader.js +3 -3
  333. package/node/MenuItem/MenuItem.js +8 -8
  334. package/node/MenuList/MenuList.js +1 -1
  335. package/node/MobileStepper/MobileStepper.js +5 -5
  336. package/node/Modal/Modal.js +1 -1
  337. package/node/PaginationItem/PaginationItem.js +27 -27
  338. package/node/Paper/Paper.js +22 -14
  339. package/node/Radio/Radio.js +4 -4
  340. package/node/Rating/Rating.js +2 -2
  341. package/node/Select/SelectInput.js +2 -2
  342. package/node/Slider/Slider.js +1 -5
  343. package/node/Snackbar/Snackbar.js +1 -1
  344. package/node/SpeedDial/SpeedDial.js +1 -1
  345. package/node/StepIcon/StepIcon.js +5 -5
  346. package/node/StepLabel/StepLabel.js +4 -4
  347. package/node/Stepper/StepperContext.js +11 -1
  348. package/node/Stepper/index.js +22 -1
  349. package/node/SvgIcon/SvgIcon.js +4 -4
  350. package/node/Tab/Tab.js +7 -7
  351. package/node/Table/Table.js +1 -1
  352. package/node/TablePagination/TablePagination.js +1 -1
  353. package/node/TableRow/TableRow.js +3 -3
  354. package/node/TableSortLabel/TableSortLabel.js +4 -4
  355. package/node/Tabs/Tabs.js +4 -4
  356. package/node/ToggleButton/ToggleButton.js +17 -10
  357. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  358. package/node/Tooltip/Tooltip.js +5 -5
  359. package/node/className/index.js +2 -2
  360. package/node/index.js +1 -1
  361. package/node/locale/index.js +22 -22
  362. package/node/styles/createMixins.js +5 -3
  363. package/node/styles/createPalette.js +2 -1
  364. package/node/styles/createTheme.js +1 -1
  365. package/node/styles/experimental_extendTheme.js +72 -45
  366. package/package.json +5 -5
  367. package/styles/ThemeProvider.d.ts +1 -1
  368. package/styles/createMixins.d.ts +2 -6
  369. package/styles/createMixins.js +5 -3
  370. package/styles/createPalette.d.ts +10 -3
  371. package/styles/createPalette.js +2 -1
  372. package/styles/createTheme.js +1 -1
  373. package/styles/experimental_extendTheme.d.ts +43 -16
  374. package/styles/experimental_extendTheme.js +72 -45
  375. package/styles/index.d.ts +1 -0
  376. package/transitions/index.d.ts +1 -1
  377. package/transitions/transition.d.ts +13 -13
  378. package/transitions/utils.d.ts +23 -23
  379. package/umd/material-ui.development.js +1079 -894
  380. package/umd/material-ui.production.min.js +21 -21
  381. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  382. package/useTouchRipple/index.d.ts +1 -1
  383. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  384. package/utils/getScrollbarSize.d.ts +2 -2
  385. package/utils/ownerDocument.d.ts +2 -2
  386. package/utils/ownerWindow.d.ts +2 -2
  387. package/utils/setRef.d.ts +2 -2
@@ -66,15 +66,15 @@ const StepIconRoot = (0, _styled.default)(_SvgIcon.default, {
66
66
  transition: theme.transitions.create('color', {
67
67
  duration: theme.transitions.duration.shortest
68
68
  }),
69
- color: theme.palette.text.disabled,
69
+ color: (theme.vars || theme).palette.text.disabled,
70
70
  [`&.${_stepIconClasses.default.completed}`]: {
71
- color: theme.palette.primary.main
71
+ color: (theme.vars || theme).palette.primary.main
72
72
  },
73
73
  [`&.${_stepIconClasses.default.active}`]: {
74
- color: theme.palette.primary.main
74
+ color: (theme.vars || theme).palette.primary.main
75
75
  },
76
76
  [`&.${_stepIconClasses.default.error}`]: {
77
- color: theme.palette.error.main
77
+ color: (theme.vars || theme).palette.error.main
78
78
  }
79
79
  }));
80
80
  const StepIconText = (0, _styled.default)('text', {
@@ -84,7 +84,7 @@ const StepIconText = (0, _styled.default)('text', {
84
84
  })(({
85
85
  theme
86
86
  }) => ({
87
- fill: theme.palette.primary.contrastText,
87
+ fill: (theme.vars || theme).palette.primary.contrastText,
88
88
  fontSize: theme.typography.caption.fontSize,
89
89
  fontFamily: theme.typography.fontFamily
90
90
  }));
@@ -94,11 +94,11 @@ const StepLabelLabel = (0, _styled.default)('span', {
94
94
  duration: theme.transitions.duration.shortest
95
95
  }),
96
96
  [`&.${_stepLabelClasses.default.active}`]: {
97
- color: theme.palette.text.primary,
97
+ color: (theme.vars || theme).palette.text.primary,
98
98
  fontWeight: 500
99
99
  },
100
100
  [`&.${_stepLabelClasses.default.completed}`]: {
101
- color: theme.palette.text.primary,
101
+ color: (theme.vars || theme).palette.text.primary,
102
102
  fontWeight: 500
103
103
  },
104
104
  [`&.${_stepLabelClasses.default.alternativeLabel}`]: {
@@ -106,7 +106,7 @@ const StepLabelLabel = (0, _styled.default)('span', {
106
106
  marginTop: 16
107
107
  },
108
108
  [`&.${_stepLabelClasses.default.error}`]: {
109
- color: theme.palette.error.main
109
+ color: (theme.vars || theme).palette.error.main
110
110
  }
111
111
  }));
112
112
  const StepLabelIconContainer = (0, _styled.default)('span', {
@@ -130,7 +130,7 @@ const StepLabelLabelContainer = (0, _styled.default)('span', {
130
130
  theme
131
131
  }) => ({
132
132
  width: '100%',
133
- color: theme.palette.text.secondary
133
+ color: (theme.vars || theme).palette.text.secondary
134
134
  }));
135
135
  const StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(inProps, ref) {
136
136
  const props = (0, _useThemeProps.default)({
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
+ exports.useStepperContext = useStepperContext;
7
8
 
8
9
  var React = _interopRequireWildcard(require("react"));
9
10
 
@@ -12,13 +13,22 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
12
13
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
14
 
14
15
  /**
15
- * @ignore - internal component.
16
+ * Provides information about the current step in Stepper.
16
17
  */
17
18
  const StepperContext = /*#__PURE__*/React.createContext({});
18
19
 
19
20
  if (process.env.NODE_ENV !== 'production') {
20
21
  StepperContext.displayName = 'StepperContext';
21
22
  }
23
+ /**
24
+ * Returns the current StepperContext or an empty object if no StepperContext
25
+ * has been defined in the component tree.
26
+ */
27
+
28
+
29
+ function useStepperContext() {
30
+ return React.useContext(StepperContext);
31
+ }
22
32
 
23
33
  var _default = StepperContext;
24
34
  exports.default = _default;
@@ -6,8 +6,15 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  var _exportNames = {
9
- stepperClasses: true
9
+ stepperClasses: true,
10
+ StepperContext: true
10
11
  };
12
+ Object.defineProperty(exports, "StepperContext", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _StepperContext.default;
16
+ }
17
+ });
11
18
  Object.defineProperty(exports, "default", {
12
19
  enumerable: true,
13
20
  get: function () {
@@ -37,6 +44,20 @@ Object.keys(_stepperClasses).forEach(function (key) {
37
44
  });
38
45
  });
39
46
 
47
+ var _StepperContext = _interopRequireWildcard(require("./StepperContext"));
48
+
49
+ Object.keys(_StepperContext).forEach(function (key) {
50
+ if (key === "default" || key === "__esModule") return;
51
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
52
+ if (key in exports && exports[key] === _StepperContext[key]) return;
53
+ Object.defineProperty(exports, key, {
54
+ enumerable: true,
55
+ get: function () {
56
+ return _StepperContext[key];
57
+ }
58
+ });
59
+ });
60
+
40
61
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
41
62
 
42
63
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -60,7 +60,7 @@ const SvgIconRoot = (0, _styled.default)('svg', {
60
60
  theme,
61
61
  ownerState
62
62
  }) => {
63
- var _theme$transitions, _theme$transitions$cr, _theme$transitions2, _theme$transitions2$d, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px, _theme$palette$ownerS, _theme$palette, _theme$palette$ownerS2, _theme$palette2, _theme$palette2$actio, _theme$palette3, _theme$palette3$actio;
63
+ var _theme$transitions, _theme$transitions$cr, _theme$transitions2, _theme$transitions2$d, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px, _palette$ownerState$c, _palette, _palette$ownerState$c2, _palette2, _palette2$action, _palette3, _palette3$action;
64
64
 
65
65
  return {
66
66
  userSelect: 'none',
@@ -79,9 +79,9 @@ const SvgIconRoot = (0, _styled.default)('svg', {
79
79
  large: ((_theme$typography3 = theme.typography) == null ? void 0 : (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.1875'
80
80
  }[ownerState.fontSize],
81
81
  // TODO v5 deprecate, v6 remove for sx
82
- color: (_theme$palette$ownerS = (_theme$palette = theme.palette) == null ? void 0 : (_theme$palette$ownerS2 = _theme$palette[ownerState.color]) == null ? void 0 : _theme$palette$ownerS2.main) != null ? _theme$palette$ownerS : {
83
- action: (_theme$palette2 = theme.palette) == null ? void 0 : (_theme$palette2$actio = _theme$palette2.action) == null ? void 0 : _theme$palette2$actio.active,
84
- disabled: (_theme$palette3 = theme.palette) == null ? void 0 : (_theme$palette3$actio = _theme$palette3.action) == null ? void 0 : _theme$palette3$actio.disabled,
82
+ color: (_palette$ownerState$c = (_palette = (theme.vars || theme).palette) == null ? void 0 : (_palette$ownerState$c2 = _palette[ownerState.color]) == null ? void 0 : _palette$ownerState$c2.main) != null ? _palette$ownerState$c : {
83
+ action: (_palette2 = (theme.vars || theme).palette) == null ? void 0 : (_palette2$action = _palette2.action) == null ? void 0 : _palette2$action.active,
84
+ disabled: (_palette3 = (theme.vars || theme).palette) == null ? void 0 : (_palette3$action = _palette3.action) == null ? void 0 : _palette3$action.disabled,
85
85
  inherit: undefined
86
86
  }[ownerState.color]
87
87
  };
package/node/Tab/Tab.js CHANGED
@@ -104,23 +104,23 @@ const TabRoot = (0, _styled.default)(_ButtonBase.default, {
104
104
  opacity: 1
105
105
  },
106
106
  [`&.${_tabClasses.default.disabled}`]: {
107
- opacity: theme.palette.action.disabledOpacity
107
+ opacity: (theme.vars || theme).palette.action.disabledOpacity
108
108
  }
109
109
  }, ownerState.textColor === 'primary' && {
110
- color: theme.palette.text.secondary,
110
+ color: (theme.vars || theme).palette.text.secondary,
111
111
  [`&.${_tabClasses.default.selected}`]: {
112
- color: theme.palette.primary.main
112
+ color: (theme.vars || theme).palette.primary.main
113
113
  },
114
114
  [`&.${_tabClasses.default.disabled}`]: {
115
- color: theme.palette.text.disabled
115
+ color: (theme.vars || theme).palette.text.disabled
116
116
  }
117
117
  }, ownerState.textColor === 'secondary' && {
118
- color: theme.palette.text.secondary,
118
+ color: (theme.vars || theme).palette.text.secondary,
119
119
  [`&.${_tabClasses.default.selected}`]: {
120
- color: theme.palette.secondary.main
120
+ color: (theme.vars || theme).palette.secondary.main
121
121
  },
122
122
  [`&.${_tabClasses.default.disabled}`]: {
123
- color: theme.palette.text.disabled
123
+ color: (theme.vars || theme).palette.text.disabled
124
124
  }
125
125
  }, ownerState.fullWidth && {
126
126
  flexShrink: 1,
@@ -65,7 +65,7 @@ const TableRoot = (0, _styled.default)('table', {
65
65
  borderSpacing: 0,
66
66
  '& caption': (0, _extends2.default)({}, theme.typography.body2, {
67
67
  padding: theme.spacing(2),
68
- color: theme.palette.text.secondary,
68
+ color: (theme.vars || theme).palette.text.secondary,
69
69
  textAlign: 'left',
70
70
  captionSide: 'bottom'
71
71
  })
@@ -59,7 +59,7 @@ const TablePaginationRoot = (0, _styled.default)(_TableCell.default, {
59
59
  theme
60
60
  }) => ({
61
61
  overflow: 'auto',
62
- color: theme.palette.text.primary,
62
+ color: (theme.vars || theme).palette.text.primary,
63
63
  fontSize: theme.typography.pxToRem(14),
64
64
  // Increase the specificity to override TableCell.
65
65
  '&:last-child': {
@@ -69,12 +69,12 @@ const TableRowRoot = (0, _styled.default)('tr', {
69
69
  // We disable the focus ring for mouse, touch and keyboard users.
70
70
  outline: 0,
71
71
  [`&.${_tableRowClasses.default.hover}:hover`]: {
72
- backgroundColor: theme.palette.action.hover
72
+ backgroundColor: (theme.vars || theme).palette.action.hover
73
73
  },
74
74
  [`&.${_tableRowClasses.default.selected}`]: {
75
- backgroundColor: (0, _system.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity),
75
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : (0, _system.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity),
76
76
  '&:hover': {
77
- backgroundColor: (0, _system.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
77
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : (0, _system.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
78
78
  }
79
79
  }
80
80
  }));
@@ -70,19 +70,19 @@ const TableSortLabelRoot = (0, _styled.default)(_ButtonBase.default, {
70
70
  flexDirection: 'inherit',
71
71
  alignItems: 'center',
72
72
  '&:focus': {
73
- color: theme.palette.text.secondary
73
+ color: (theme.vars || theme).palette.text.secondary
74
74
  },
75
75
  '&:hover': {
76
- color: theme.palette.text.secondary,
76
+ color: (theme.vars || theme).palette.text.secondary,
77
77
  [`& .${_tableSortLabelClasses.default.icon}`]: {
78
78
  opacity: 0.5
79
79
  }
80
80
  },
81
81
  [`&.${_tableSortLabelClasses.default.active}`]: {
82
- color: theme.palette.text.primary,
82
+ color: (theme.vars || theme).palette.text.primary,
83
83
  [`& .${_tableSortLabelClasses.default.icon}`]: {
84
84
  opacity: 1,
85
- color: theme.palette.text.secondary
85
+ color: (theme.vars || theme).palette.text.secondary
86
86
  }
87
87
  }
88
88
  }));
package/node/Tabs/Tabs.js CHANGED
@@ -180,7 +180,7 @@ const TabsScroller = (0, _styled.default)('div', {
180
180
  overflowX: 'hidden',
181
181
  width: '100%'
182
182
  }, ownerState.hideScrollbar && {
183
- // Hide dimensionless scrollbar on MacOS
183
+ // Hide dimensionless scrollbar on macOS
184
184
  scrollbarWidth: 'none',
185
185
  // Firefox
186
186
  '&::-webkit-scrollbar': {
@@ -226,9 +226,9 @@ const TabsIndicator = (0, _styled.default)('span', {
226
226
  width: '100%',
227
227
  transition: theme.transitions.create()
228
228
  }, ownerState.indicatorColor === 'primary' && {
229
- backgroundColor: theme.palette.primary.main
229
+ backgroundColor: (theme.vars || theme).palette.primary.main
230
230
  }, ownerState.indicatorColor === 'secondary' && {
231
- backgroundColor: theme.palette.secondary.main
231
+ backgroundColor: (theme.vars || theme).palette.secondary.main
232
232
  }, ownerState.vertical && {
233
233
  height: '100%',
234
234
  width: 2,
@@ -240,7 +240,7 @@ const TabsScrollbarSize = (0, _styled.default)(_ScrollbarSize.default, {
240
240
  })({
241
241
  overflowX: 'auto',
242
242
  overflowY: 'hidden',
243
- // Hide dimensionless scrollbar on MacOS
243
+ // Hide dimensionless scrollbar on macOS
244
244
  scrollbarWidth: 'none',
245
245
  // Firefox
246
246
  '&::-webkit-scrollbar': {
@@ -67,35 +67,42 @@ const ToggleButtonRoot = (0, _styled.default)(_ButtonBase.default, {
67
67
  theme,
68
68
  ownerState
69
69
  }) => {
70
- const selectedColor = ownerState.color === 'standard' ? theme.palette.text.primary : theme.palette[ownerState.color].main;
70
+ let selectedColor = ownerState.color === 'standard' ? theme.palette.text.primary : theme.palette[ownerState.color].main;
71
+ let selectedColorChannel;
72
+
73
+ if (theme.vars) {
74
+ selectedColor = ownerState.color === 'standard' ? theme.vars.palette.text.primary : theme.vars.palette[ownerState.color].main;
75
+ selectedColorChannel = ownerState.color === 'standard' ? theme.vars.palette.text.primaryChannel : theme.vars.palette[ownerState.color].mainChannel;
76
+ }
77
+
71
78
  return (0, _extends2.default)({}, theme.typography.button, {
72
- borderRadius: theme.shape.borderRadius,
79
+ borderRadius: (theme.vars || theme).shape.borderRadius,
73
80
  padding: 11,
74
- border: `1px solid ${theme.palette.divider}`,
75
- color: theme.palette.action.active
81
+ border: `1px solid ${(theme.vars || theme).palette.divider}`,
82
+ color: (theme.vars || theme).palette.action.active
76
83
  }, ownerState.fullWidth && {
77
84
  width: '100%'
78
85
  }, {
79
86
  [`&.${_toggleButtonClasses.default.disabled}`]: {
80
- color: theme.palette.action.disabled,
81
- border: `1px solid ${theme.palette.action.disabledBackground}`
87
+ color: (theme.vars || theme).palette.action.disabled,
88
+ border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
82
89
  },
83
90
  '&:hover': {
84
91
  textDecoration: 'none',
85
92
  // Reset on mouse devices
86
- backgroundColor: (0, _styles.alpha)(theme.palette.text.primary, theme.palette.action.hoverOpacity),
93
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : (0, _styles.alpha)(theme.palette.text.primary, theme.palette.action.hoverOpacity),
87
94
  '@media (hover: none)': {
88
95
  backgroundColor: 'transparent'
89
96
  }
90
97
  },
91
98
  [`&.${_toggleButtonClasses.default.selected}`]: {
92
99
  color: selectedColor,
93
- backgroundColor: (0, _styles.alpha)(selectedColor, theme.palette.action.selectedOpacity),
100
+ backgroundColor: theme.vars ? `rgba(${selectedColorChannel} / ${theme.vars.palette.action.selectedOpacity})` : (0, _styles.alpha)(selectedColor, theme.palette.action.selectedOpacity),
94
101
  '&:hover': {
95
- backgroundColor: (0, _styles.alpha)(selectedColor, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
102
+ backgroundColor: theme.vars ? `rgba(${selectedColorChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : (0, _styles.alpha)(selectedColor, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
96
103
  // Reset on touch devices, it doesn't add specificity
97
104
  '@media (hover: none)': {
98
- backgroundColor: (0, _styles.alpha)(selectedColor, theme.palette.action.selectedOpacity)
105
+ backgroundColor: theme.vars ? `rgba(${selectedColorChannel} / ${theme.vars.palette.action.selectedOpacity})` : (0, _styles.alpha)(selectedColor, theme.palette.action.selectedOpacity)
99
106
  }
100
107
  }
101
108
  }
@@ -71,7 +71,7 @@ const ToggleButtonGroupRoot = (0, _styled.default)('div', {
71
71
  theme
72
72
  }) => (0, _extends2.default)({
73
73
  display: 'inline-flex',
74
- borderRadius: theme.shape.borderRadius
74
+ borderRadius: (theme.vars || theme).shape.borderRadius
75
75
  }, ownerState.orientation === 'vertical' && {
76
76
  flexDirection: 'column'
77
77
  }, ownerState.fullWidth && {
@@ -90,7 +90,7 @@ const TooltipPopper = (0, _styled.default)(_Popper.default, {
90
90
  ownerState,
91
91
  open
92
92
  }) => (0, _extends2.default)({
93
- zIndex: theme.zIndex.tooltip,
93
+ zIndex: (theme.vars || theme).zIndex.tooltip,
94
94
  pointerEvents: 'none'
95
95
  }, !ownerState.disableInteractive && {
96
96
  pointerEvents: 'auto'
@@ -151,9 +151,9 @@ const TooltipTooltip = (0, _styled.default)('div', {
151
151
  theme,
152
152
  ownerState
153
153
  }) => (0, _extends2.default)({
154
- backgroundColor: (0, _system.alpha)(theme.palette.grey[700], 0.92),
155
- borderRadius: theme.shape.borderRadius,
156
- color: theme.palette.common.white,
154
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.grey.darkChannel} / 0.92)` : (0, _system.alpha)(theme.palette.grey[700], 0.92),
155
+ borderRadius: (theme.vars || theme).shape.borderRadius,
156
+ color: (theme.vars || theme).palette.common.white,
157
157
  fontFamily: theme.typography.fontFamily,
158
158
  padding: '4px 8px',
159
159
  fontSize: theme.typography.pxToRem(11),
@@ -219,7 +219,7 @@ const TooltipArrow = (0, _styled.default)('span', {
219
219
  /* = width / sqrt(2) = (length of the hypotenuse) */
220
220
  ,
221
221
  boxSizing: 'border-box',
222
- color: (0, _system.alpha)(theme.palette.grey[700], 0.9),
222
+ color: theme.vars ? `rgba(${theme.vars.palette.grey.darkChannel} / 0.9)` : (0, _system.alpha)(theme.palette.grey[700], 0.9),
223
223
  '&::before': {
224
224
  content: '""',
225
225
  margin: 'auto',
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "unstable_ClassNameGenerator", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _className.unstable_ClassNameGenerator;
9
+ return _utils.unstable_ClassNameGenerator;
10
10
  }
11
11
  });
12
12
 
13
- var _className = require("@mui/base/className");
13
+ var _utils = require("@mui/utils");
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.6.4
1
+ /** @license MUI v5.8.1
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.
@@ -89,26 +89,26 @@ const arEG = {
89
89
  components: {
90
90
  MuiBreadcrumbs: {
91
91
  defaultProps: {
92
- expandText: 'ظهر العنوان'
92
+ expandText: 'إظهار المسار'
93
93
  }
94
94
  },
95
95
  MuiTablePagination: {
96
96
  defaultProps: {
97
97
  getItemAriaLabel: type => {
98
98
  if (type === 'first') {
99
- return 'امش للصفحة الأولى';
99
+ return 'انتقل إلى الصفحة الأولى';
100
100
  }
101
101
 
102
102
  if (type === 'last') {
103
- return 'امش للصفحة الأخيرة';
103
+ return 'انتقل إلى الصفحة الأخيرة';
104
104
  }
105
105
 
106
106
  if (type === 'next') {
107
- return 'امش للصفحة التالية';
107
+ return 'انتقل إلى الصفحة التالية';
108
108
  } // if (type === 'previous') {
109
109
 
110
110
 
111
- return 'امش للصفحة السابقة';
111
+ return 'انتقل إلى الصفحة السابقة';
112
112
  },
113
113
  labelRowsPerPage: 'عدد الصفوف في الصفحة:',
114
114
  labelDisplayedRows: ({
@@ -128,7 +128,7 @@ const arEG = {
128
128
  defaultProps: {
129
129
  clearText: 'مسح',
130
130
  closeText: 'إغلاق',
131
- loadingText: 'يتم التحميل…',
131
+ loadingText: 'جار التحميل...',
132
132
  noOptionsText: 'لا يوجد خيارات',
133
133
  openText: 'فتح'
134
134
  }
@@ -143,23 +143,23 @@ const arEG = {
143
143
  'aria-label': 'التنقل عبر الصفحات',
144
144
  getItemAriaLabel: (type, page, selected) => {
145
145
  if (type === 'page') {
146
- return `${selected ? '' : 'امش إلى '} صفحة ${page}`;
146
+ return `${selected ? '' : 'انتقل إلى '} صفحة ${page}`;
147
147
  }
148
148
 
149
149
  if (type === 'first') {
150
- return 'امش للصفحة الأولى';
150
+ return 'انتقل إلى الصفحة الأولى';
151
151
  }
152
152
 
153
153
  if (type === 'last') {
154
- return 'امش للصفحة الأخيرة';
154
+ return 'انتقل إلى الصفحة الأخيرة';
155
155
  }
156
156
 
157
157
  if (type === 'next') {
158
- return 'امش للصفحة التالية';
158
+ return 'انتقل إلى الصفحة التالية';
159
159
  } // if (type === 'previous') {
160
160
 
161
161
 
162
- return 'امش للصفحة السابقة';
162
+ return 'انتقل إلى الصفحة السابقة';
163
163
  }
164
164
  }
165
165
  }
@@ -170,26 +170,26 @@ const arSD = {
170
170
  components: {
171
171
  MuiBreadcrumbs: {
172
172
  defaultProps: {
173
- expandText: 'إظهر العنوان'
173
+ expandText: 'إظهار المسار'
174
174
  }
175
175
  },
176
176
  MuiTablePagination: {
177
177
  defaultProps: {
178
178
  getItemAriaLabel: type => {
179
179
  if (type === 'first') {
180
- return 'إذهب الى الصفحة الأولى';
180
+ return 'انتقل إلى الصفحة الأولى';
181
181
  }
182
182
 
183
183
  if (type === 'last') {
184
- return 'إذهب الي الصفحة الأخيرة';
184
+ return 'انتقل إلى الصفحة الأخيرة';
185
185
  }
186
186
 
187
187
  if (type === 'next') {
188
- return 'إذهب الى الصفحة التالية';
188
+ return 'انتقل إلى الصفحة التالية';
189
189
  } // if (type === 'previous') {
190
190
 
191
191
 
192
- return 'إذهب الى الصفحة السابقة';
192
+ return 'انتقل إلى الصفحة السابقة';
193
193
  },
194
194
  labelRowsPerPage: 'عدد الصفوف في الصفحة:',
195
195
  labelDisplayedRows: ({
@@ -209,7 +209,7 @@ const arSD = {
209
209
  defaultProps: {
210
210
  clearText: 'مسح',
211
211
  closeText: 'إغلاق',
212
- loadingText: 'يتم التحميل…',
212
+ loadingText: 'جار التحميل...',
213
213
  noOptionsText: 'لا يوجد خيارات',
214
214
  openText: 'فتح'
215
215
  }
@@ -224,23 +224,23 @@ const arSD = {
224
224
  'aria-label': 'التنقل عبر الصفحات',
225
225
  getItemAriaLabel: (type, page, selected) => {
226
226
  if (type === 'page') {
227
- return `${selected ? '' : 'إذهب إلى '} صفحة ${page}`;
227
+ return `${selected ? '' : 'انتقل إلى '} صفحة ${page}`;
228
228
  }
229
229
 
230
230
  if (type === 'first') {
231
- return 'إذهب الى الصفحة الأولى';
231
+ return 'انتقل إلى الصفحة الأولى';
232
232
  }
233
233
 
234
234
  if (type === 'last') {
235
- return 'إذهب الي الصفحة الأخيرة';
235
+ return 'انتقل الي الصفحة الأخيرة';
236
236
  }
237
237
 
238
238
  if (type === 'next') {
239
- return 'إذهب الى الصفحة التالية';
239
+ return 'انتقل إلى الصفحة التالية';
240
240
  } // if (type === 'previous') {
241
241
 
242
242
 
243
- return 'إذهب الى الصفحة السابقة';
243
+ return 'انتقل إلى الصفحة السابقة';
244
244
  }
245
245
  }
246
246
  }
@@ -9,12 +9,14 @@ exports.default = createMixins;
9
9
 
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
 
12
- function createMixins(breakpoints, spacing, mixins) {
12
+ function createMixins(breakpoints, mixins) {
13
13
  return (0, _extends2.default)({
14
14
  toolbar: {
15
15
  minHeight: 56,
16
- [`${breakpoints.up('xs')} and (orientation: landscape)`]: {
17
- minHeight: 48
16
+ [breakpoints.up('xs')]: {
17
+ '@media (orientation: landscape)': {
18
+ minHeight: 48
19
+ }
18
20
  },
19
21
  [breakpoints.up('sm')]: {
20
22
  minHeight: 64
@@ -301,7 +301,8 @@ const theme2 = createTheme({ palette: {
301
301
 
302
302
  const paletteOutput = (0, _utils.deepmerge)((0, _extends2.default)({
303
303
  // A collection of common colors.
304
- common: _common.default,
304
+ common: (0, _extends2.default)({}, _common.default),
305
+ // prevent mutable object.
305
306
  // The palette mode, can be light or dark.
306
307
  mode,
307
308
  // The colors used to represent primary interface elements for a user.
@@ -43,7 +43,7 @@ function createTheme(options = {}, ...args) {
43
43
  const palette = (0, _createPalette.default)(paletteInput);
44
44
  const systemTheme = (0, _system.createTheme)(options);
45
45
  let muiTheme = (0, _utils.deepmerge)(systemTheme, {
46
- mixins: (0, _createMixins.default)(systemTheme.breakpoints, systemTheme.spacing, mixinsInput),
46
+ mixins: (0, _createMixins.default)(systemTheme.breakpoints, mixinsInput),
47
47
  palette,
48
48
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
49
49
  shadows: _shadows.default.slice(),