@mui/material 5.2.2 → 5.2.6

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 (492) hide show
  1. package/Accordion/Accordion.d.ts +1 -1
  2. package/Accordion/Accordion.js +2 -2
  3. package/AccordionActions/AccordionActions.js +1 -1
  4. package/AccordionDetails/AccordionDetails.js +1 -1
  5. package/AccordionSummary/AccordionSummary.js +2 -2
  6. package/Alert/Alert.js +1 -3
  7. package/AlertTitle/AlertTitle.js +1 -1
  8. package/AppBar/AppBar.js +1 -1
  9. package/Autocomplete/Autocomplete.js +1 -1
  10. package/Avatar/Avatar.d.ts +1 -1
  11. package/Avatar/Avatar.js +1 -1
  12. package/AvatarGroup/AvatarGroup.d.ts +5 -0
  13. package/AvatarGroup/AvatarGroup.js +20 -5
  14. package/Backdrop/Backdrop.js +1 -1
  15. package/Badge/Badge.d.ts +25 -0
  16. package/Badge/Badge.js +41 -11
  17. package/BottomNavigation/BottomNavigation.js +1 -1
  18. package/BottomNavigationAction/BottomNavigationAction.js +1 -1
  19. package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  20. package/Breadcrumbs/Breadcrumbs.js +1 -1
  21. package/Button/Button.js +16 -35
  22. package/ButtonBase/ButtonBase.d.ts +1 -1
  23. package/ButtonBase/ButtonBase.js +2 -2
  24. package/ButtonGroup/ButtonGroup.js +1 -1
  25. package/ButtonGroup/ButtonGroupContext.d.ts +1 -1
  26. package/CHANGELOG.md +271 -0
  27. package/Card/Card.js +1 -1
  28. package/CardActionArea/CardActionArea.js +1 -1
  29. package/CardActions/CardActions.js +1 -1
  30. package/CardContent/CardContent.js +1 -1
  31. package/CardHeader/CardHeader.js +1 -1
  32. package/CardMedia/CardMedia.js +1 -1
  33. package/Checkbox/Checkbox.js +1 -1
  34. package/Chip/Chip.js +1 -1
  35. package/CircularProgress/CircularProgress.js +1 -1
  36. package/Collapse/Collapse.d.ts +1 -1
  37. package/Collapse/Collapse.js +1 -1
  38. package/Container/Container.js +1 -1
  39. package/CssBaseline/CssBaseline.d.ts +1 -1
  40. package/Dialog/Dialog.d.ts +1 -1
  41. package/Dialog/Dialog.js +2 -2
  42. package/DialogActions/DialogActions.js +1 -1
  43. package/DialogContent/DialogContent.js +1 -1
  44. package/DialogContentText/DialogContentText.js +1 -1
  45. package/DialogTitle/DialogTitle.js +1 -1
  46. package/Divider/Divider.js +1 -1
  47. package/Drawer/Drawer.js +1 -1
  48. package/Fab/Fab.js +1 -1
  49. package/Fade/Fade.d.ts +1 -1
  50. package/FilledInput/FilledInput.js +1 -1
  51. package/FormControl/FormControl.js +1 -1
  52. package/FormControlLabel/FormControlLabel.js +1 -1
  53. package/FormGroup/FormGroup.js +1 -1
  54. package/FormHelperText/FormHelperText.js +1 -1
  55. package/FormLabel/FormLabel.js +1 -1
  56. package/GlobalStyles/GlobalStyles.d.ts +2 -1
  57. package/Grid/Grid.js +98 -69
  58. package/Grow/Grow.d.ts +1 -1
  59. package/Icon/Icon.js +1 -1
  60. package/IconButton/IconButton.js +1 -1
  61. package/ImageList/ImageList.js +1 -1
  62. package/ImageListItem/ImageListItem.js +1 -1
  63. package/ImageListItemBar/ImageListItemBar.js +1 -1
  64. package/Input/Input.js +1 -1
  65. package/InputAdornment/InputAdornment.js +1 -1
  66. package/InputBase/InputBase.d.ts +6 -0
  67. package/InputBase/InputBase.js +11 -3
  68. package/InputLabel/InputLabel.js +1 -1
  69. package/LinearProgress/LinearProgress.js +1 -1
  70. package/Link/Link.js +1 -1
  71. package/List/List.js +1 -1
  72. package/ListItem/ListItem.d.ts +1 -1
  73. package/ListItem/ListItem.js +1 -1
  74. package/ListItemAvatar/ListItemAvatar.js +1 -1
  75. package/ListItemButton/ListItemButton.d.ts +1 -1
  76. package/ListItemButton/ListItemButton.js +2 -2
  77. package/ListItemIcon/ListItemIcon.js +1 -1
  78. package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  79. package/ListItemText/ListItemText.js +1 -1
  80. package/ListSubheader/ListSubheader.js +1 -1
  81. package/Menu/Menu.d.ts +1 -1
  82. package/Menu/Menu.js +2 -2
  83. package/MenuItem/MenuItem.d.ts +1 -1
  84. package/MenuItem/MenuItem.js +2 -2
  85. package/MobileStepper/MobileStepper.js +1 -1
  86. package/Modal/Modal.js +1 -1
  87. package/NativeSelect/NativeSelect.js +1 -1
  88. package/OutlinedInput/OutlinedInput.js +15 -2
  89. package/Pagination/Pagination.js +1 -1
  90. package/PaginationItem/PaginationItem.js +1 -1
  91. package/Paper/Paper.js +1 -1
  92. package/Popover/Popover.d.ts +1 -1
  93. package/Popover/Popover.js +2 -2
  94. package/README.md +19 -31
  95. package/Radio/Radio.js +1 -1
  96. package/Rating/Rating.js +1 -1
  97. package/Select/Select.js +1 -1
  98. package/Select/SelectInput.js +13 -1
  99. package/Skeleton/Skeleton.js +1 -1
  100. package/Slide/Slide.d.ts +1 -1
  101. package/Slider/Slider.js +1 -1
  102. package/Snackbar/Snackbar.d.ts +1 -1
  103. package/Snackbar/Snackbar.js +2 -2
  104. package/SnackbarContent/SnackbarContent.js +1 -1
  105. package/SpeedDial/SpeedDial.d.ts +1 -1
  106. package/SpeedDial/SpeedDial.js +2 -2
  107. package/SpeedDialAction/SpeedDialAction.js +1 -1
  108. package/SpeedDialIcon/SpeedDialIcon.js +1 -1
  109. package/Stack/Stack.js +1 -1
  110. package/Step/Step.js +1 -1
  111. package/StepButton/StepButton.js +1 -1
  112. package/StepConnector/StepConnector.js +1 -1
  113. package/StepContent/StepContent.d.ts +1 -1
  114. package/StepContent/StepContent.js +2 -2
  115. package/StepIcon/StepIcon.js +1 -1
  116. package/StepLabel/StepLabel.js +1 -1
  117. package/Stepper/Stepper.js +1 -1
  118. package/SvgIcon/SvgIcon.js +1 -1
  119. package/Switch/Switch.js +1 -1
  120. package/Tab/Tab.js +1 -1
  121. package/TabScrollButton/TabScrollButton.js +1 -1
  122. package/Table/Table.js +1 -1
  123. package/TableBody/TableBody.js +1 -1
  124. package/TableCell/TableCell.js +1 -1
  125. package/TableContainer/TableContainer.js +1 -1
  126. package/TableFooter/TableFooter.js +1 -1
  127. package/TableHead/TableHead.js +1 -1
  128. package/TablePagination/TablePagination.js +1 -1
  129. package/TableRow/TableRow.js +1 -1
  130. package/TableSortLabel/TableSortLabel.js +1 -1
  131. package/Tabs/Tabs.d.ts +1 -1
  132. package/Tabs/Tabs.js +1 -1
  133. package/TextField/TextField.js +3 -10
  134. package/ToggleButton/ToggleButton.js +1 -1
  135. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  136. package/Toolbar/Toolbar.js +1 -1
  137. package/Tooltip/Tooltip.d.ts +1 -1
  138. package/Tooltip/Tooltip.js +2 -2
  139. package/Typography/Typography.js +1 -1
  140. package/Zoom/Zoom.d.ts +1 -1
  141. package/index.js +1 -1
  142. package/legacy/Accordion/Accordion.js +2 -2
  143. package/legacy/AccordionActions/AccordionActions.js +1 -1
  144. package/legacy/AccordionDetails/AccordionDetails.js +1 -1
  145. package/legacy/AccordionSummary/AccordionSummary.js +2 -2
  146. package/legacy/Alert/Alert.js +1 -3
  147. package/legacy/AlertTitle/AlertTitle.js +1 -1
  148. package/legacy/AppBar/AppBar.js +1 -1
  149. package/legacy/Autocomplete/Autocomplete.js +1 -1
  150. package/legacy/Avatar/Avatar.js +1 -1
  151. package/legacy/AvatarGroup/AvatarGroup.js +19 -4
  152. package/legacy/Backdrop/Backdrop.js +1 -1
  153. package/legacy/Badge/Badge.js +47 -12
  154. package/legacy/BottomNavigation/BottomNavigation.js +1 -1
  155. package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
  156. package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
  157. package/legacy/Button/Button.js +23 -35
  158. package/legacy/ButtonBase/ButtonBase.js +2 -2
  159. package/legacy/ButtonGroup/ButtonGroup.js +1 -1
  160. package/legacy/Card/Card.js +1 -1
  161. package/legacy/CardActionArea/CardActionArea.js +1 -1
  162. package/legacy/CardActions/CardActions.js +1 -1
  163. package/legacy/CardContent/CardContent.js +1 -1
  164. package/legacy/CardHeader/CardHeader.js +1 -1
  165. package/legacy/CardMedia/CardMedia.js +1 -1
  166. package/legacy/Checkbox/Checkbox.js +1 -1
  167. package/legacy/Chip/Chip.js +1 -1
  168. package/legacy/CircularProgress/CircularProgress.js +1 -1
  169. package/legacy/Collapse/Collapse.js +1 -1
  170. package/legacy/Container/Container.js +1 -1
  171. package/legacy/Dialog/Dialog.js +2 -2
  172. package/legacy/DialogActions/DialogActions.js +1 -1
  173. package/legacy/DialogContent/DialogContent.js +1 -1
  174. package/legacy/DialogContentText/DialogContentText.js +1 -1
  175. package/legacy/DialogTitle/DialogTitle.js +1 -1
  176. package/legacy/Divider/Divider.js +1 -1
  177. package/legacy/Drawer/Drawer.js +1 -1
  178. package/legacy/Fab/Fab.js +1 -1
  179. package/legacy/FilledInput/FilledInput.js +1 -1
  180. package/legacy/FormControl/FormControl.js +1 -1
  181. package/legacy/FormControlLabel/FormControlLabel.js +1 -1
  182. package/legacy/FormGroup/FormGroup.js +1 -1
  183. package/legacy/FormHelperText/FormHelperText.js +1 -1
  184. package/legacy/FormLabel/FormLabel.js +1 -1
  185. package/legacy/Grid/Grid.js +109 -81
  186. package/legacy/Icon/Icon.js +1 -1
  187. package/legacy/IconButton/IconButton.js +1 -1
  188. package/legacy/ImageList/ImageList.js +1 -1
  189. package/legacy/ImageListItem/ImageListItem.js +1 -1
  190. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
  191. package/legacy/Input/Input.js +1 -1
  192. package/legacy/InputAdornment/InputAdornment.js +1 -1
  193. package/legacy/InputBase/InputBase.js +11 -3
  194. package/legacy/InputLabel/InputLabel.js +1 -1
  195. package/legacy/LinearProgress/LinearProgress.js +1 -1
  196. package/legacy/Link/Link.js +1 -1
  197. package/legacy/List/List.js +1 -1
  198. package/legacy/ListItem/ListItem.js +1 -1
  199. package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
  200. package/legacy/ListItemButton/ListItemButton.js +2 -2
  201. package/legacy/ListItemIcon/ListItemIcon.js +1 -1
  202. package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  203. package/legacy/ListItemText/ListItemText.js +1 -1
  204. package/legacy/ListSubheader/ListSubheader.js +1 -1
  205. package/legacy/Menu/Menu.js +2 -2
  206. package/legacy/MenuItem/MenuItem.js +2 -2
  207. package/legacy/MobileStepper/MobileStepper.js +1 -1
  208. package/legacy/Modal/Modal.js +1 -1
  209. package/legacy/NativeSelect/NativeSelect.js +1 -1
  210. package/legacy/OutlinedInput/OutlinedInput.js +15 -2
  211. package/legacy/Pagination/Pagination.js +1 -1
  212. package/legacy/PaginationItem/PaginationItem.js +1 -1
  213. package/legacy/Paper/Paper.js +1 -1
  214. package/legacy/Popover/Popover.js +2 -2
  215. package/legacy/Radio/Radio.js +1 -1
  216. package/legacy/Rating/Rating.js +1 -1
  217. package/legacy/Select/Select.js +1 -1
  218. package/legacy/Select/SelectInput.js +13 -3
  219. package/legacy/Skeleton/Skeleton.js +1 -1
  220. package/legacy/Slider/Slider.js +1 -1
  221. package/legacy/Snackbar/Snackbar.js +2 -2
  222. package/legacy/SnackbarContent/SnackbarContent.js +1 -1
  223. package/legacy/SpeedDial/SpeedDial.js +2 -2
  224. package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
  225. package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
  226. package/legacy/Stack/Stack.js +1 -1
  227. package/legacy/Step/Step.js +1 -1
  228. package/legacy/StepButton/StepButton.js +1 -1
  229. package/legacy/StepConnector/StepConnector.js +1 -1
  230. package/legacy/StepContent/StepContent.js +2 -2
  231. package/legacy/StepIcon/StepIcon.js +1 -1
  232. package/legacy/StepLabel/StepLabel.js +1 -1
  233. package/legacy/Stepper/Stepper.js +1 -1
  234. package/legacy/SvgIcon/SvgIcon.js +1 -1
  235. package/legacy/Switch/Switch.js +1 -1
  236. package/legacy/Tab/Tab.js +1 -1
  237. package/legacy/TabScrollButton/TabScrollButton.js +1 -1
  238. package/legacy/Table/Table.js +1 -1
  239. package/legacy/TableBody/TableBody.js +1 -1
  240. package/legacy/TableCell/TableCell.js +1 -1
  241. package/legacy/TableContainer/TableContainer.js +1 -1
  242. package/legacy/TableFooter/TableFooter.js +1 -1
  243. package/legacy/TableHead/TableHead.js +1 -1
  244. package/legacy/TablePagination/TablePagination.js +1 -1
  245. package/legacy/TableRow/TableRow.js +1 -1
  246. package/legacy/TableSortLabel/TableSortLabel.js +1 -1
  247. package/legacy/Tabs/Tabs.js +1 -1
  248. package/legacy/TextField/TextField.js +3 -10
  249. package/legacy/ToggleButton/ToggleButton.js +1 -1
  250. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  251. package/legacy/Toolbar/Toolbar.js +1 -1
  252. package/legacy/Tooltip/Tooltip.js +2 -2
  253. package/legacy/Typography/Typography.js +1 -1
  254. package/legacy/index.js +1 -1
  255. package/legacy/locale/index.js +264 -98
  256. package/locale/index.d.ts +2 -0
  257. package/locale/index.js +166 -6
  258. package/modern/Accordion/Accordion.js +2 -2
  259. package/modern/AccordionActions/AccordionActions.js +1 -1
  260. package/modern/AccordionDetails/AccordionDetails.js +1 -1
  261. package/modern/AccordionSummary/AccordionSummary.js +2 -2
  262. package/modern/Alert/Alert.js +1 -3
  263. package/modern/AlertTitle/AlertTitle.js +1 -1
  264. package/modern/AppBar/AppBar.js +1 -1
  265. package/modern/Autocomplete/Autocomplete.js +1 -1
  266. package/modern/Avatar/Avatar.js +1 -1
  267. package/modern/AvatarGroup/AvatarGroup.js +20 -5
  268. package/modern/Backdrop/Backdrop.js +1 -1
  269. package/modern/Badge/Badge.js +41 -11
  270. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  271. package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
  272. package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
  273. package/modern/Button/Button.js +16 -35
  274. package/modern/ButtonBase/ButtonBase.js +2 -2
  275. package/modern/ButtonGroup/ButtonGroup.js +1 -1
  276. package/modern/Card/Card.js +1 -1
  277. package/modern/CardActionArea/CardActionArea.js +1 -1
  278. package/modern/CardActions/CardActions.js +1 -1
  279. package/modern/CardContent/CardContent.js +1 -1
  280. package/modern/CardHeader/CardHeader.js +1 -1
  281. package/modern/CardMedia/CardMedia.js +1 -1
  282. package/modern/Checkbox/Checkbox.js +1 -1
  283. package/modern/Chip/Chip.js +1 -1
  284. package/modern/CircularProgress/CircularProgress.js +1 -1
  285. package/modern/Collapse/Collapse.js +1 -1
  286. package/modern/Container/Container.js +1 -1
  287. package/modern/Dialog/Dialog.js +2 -2
  288. package/modern/DialogActions/DialogActions.js +1 -1
  289. package/modern/DialogContent/DialogContent.js +1 -1
  290. package/modern/DialogContentText/DialogContentText.js +1 -1
  291. package/modern/DialogTitle/DialogTitle.js +1 -1
  292. package/modern/Divider/Divider.js +1 -1
  293. package/modern/Drawer/Drawer.js +1 -1
  294. package/modern/Fab/Fab.js +1 -1
  295. package/modern/FilledInput/FilledInput.js +1 -1
  296. package/modern/FormControl/FormControl.js +1 -1
  297. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  298. package/modern/FormGroup/FormGroup.js +1 -1
  299. package/modern/FormHelperText/FormHelperText.js +1 -1
  300. package/modern/FormLabel/FormLabel.js +1 -1
  301. package/modern/Grid/Grid.js +98 -69
  302. package/modern/Icon/Icon.js +1 -1
  303. package/modern/IconButton/IconButton.js +1 -1
  304. package/modern/ImageList/ImageList.js +1 -1
  305. package/modern/ImageListItem/ImageListItem.js +1 -1
  306. package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
  307. package/modern/Input/Input.js +1 -1
  308. package/modern/InputAdornment/InputAdornment.js +1 -1
  309. package/modern/InputBase/InputBase.js +11 -3
  310. package/modern/InputLabel/InputLabel.js +1 -1
  311. package/modern/LinearProgress/LinearProgress.js +1 -1
  312. package/modern/Link/Link.js +1 -1
  313. package/modern/List/List.js +1 -1
  314. package/modern/ListItem/ListItem.js +1 -1
  315. package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
  316. package/modern/ListItemButton/ListItemButton.js +2 -2
  317. package/modern/ListItemIcon/ListItemIcon.js +1 -1
  318. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  319. package/modern/ListItemText/ListItemText.js +1 -1
  320. package/modern/ListSubheader/ListSubheader.js +1 -1
  321. package/modern/Menu/Menu.js +2 -2
  322. package/modern/MenuItem/MenuItem.js +2 -2
  323. package/modern/MobileStepper/MobileStepper.js +1 -1
  324. package/modern/Modal/Modal.js +1 -1
  325. package/modern/NativeSelect/NativeSelect.js +1 -1
  326. package/modern/OutlinedInput/OutlinedInput.js +15 -2
  327. package/modern/Pagination/Pagination.js +1 -1
  328. package/modern/PaginationItem/PaginationItem.js +1 -1
  329. package/modern/Paper/Paper.js +1 -1
  330. package/modern/Popover/Popover.js +2 -2
  331. package/modern/Radio/Radio.js +1 -1
  332. package/modern/Rating/Rating.js +1 -1
  333. package/modern/Select/Select.js +1 -1
  334. package/modern/Select/SelectInput.js +13 -1
  335. package/modern/Skeleton/Skeleton.js +1 -1
  336. package/modern/Slider/Slider.js +1 -1
  337. package/modern/Snackbar/Snackbar.js +2 -2
  338. package/modern/SnackbarContent/SnackbarContent.js +1 -1
  339. package/modern/SpeedDial/SpeedDial.js +2 -2
  340. package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
  341. package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
  342. package/modern/Stack/Stack.js +1 -1
  343. package/modern/Step/Step.js +1 -1
  344. package/modern/StepButton/StepButton.js +1 -1
  345. package/modern/StepConnector/StepConnector.js +1 -1
  346. package/modern/StepContent/StepContent.js +2 -2
  347. package/modern/StepIcon/StepIcon.js +1 -1
  348. package/modern/StepLabel/StepLabel.js +1 -1
  349. package/modern/Stepper/Stepper.js +1 -1
  350. package/modern/SvgIcon/SvgIcon.js +1 -1
  351. package/modern/Switch/Switch.js +1 -1
  352. package/modern/Tab/Tab.js +1 -1
  353. package/modern/TabScrollButton/TabScrollButton.js +1 -1
  354. package/modern/Table/Table.js +1 -1
  355. package/modern/TableBody/TableBody.js +1 -1
  356. package/modern/TableCell/TableCell.js +1 -1
  357. package/modern/TableContainer/TableContainer.js +1 -1
  358. package/modern/TableFooter/TableFooter.js +1 -1
  359. package/modern/TableHead/TableHead.js +1 -1
  360. package/modern/TablePagination/TablePagination.js +1 -1
  361. package/modern/TableRow/TableRow.js +1 -1
  362. package/modern/TableSortLabel/TableSortLabel.js +1 -1
  363. package/modern/Tabs/Tabs.js +1 -1
  364. package/modern/TextField/TextField.js +3 -8
  365. package/modern/ToggleButton/ToggleButton.js +1 -1
  366. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  367. package/modern/Toolbar/Toolbar.js +1 -1
  368. package/modern/Tooltip/Tooltip.js +2 -2
  369. package/modern/Typography/Typography.js +1 -1
  370. package/modern/index.js +1 -1
  371. package/modern/locale/index.js +166 -6
  372. package/node/Accordion/Accordion.js +2 -2
  373. package/node/AccordionActions/AccordionActions.js +1 -1
  374. package/node/AccordionDetails/AccordionDetails.js +1 -1
  375. package/node/AccordionSummary/AccordionSummary.js +2 -2
  376. package/node/Alert/Alert.js +1 -3
  377. package/node/AlertTitle/AlertTitle.js +1 -1
  378. package/node/AppBar/AppBar.js +1 -1
  379. package/node/Autocomplete/Autocomplete.js +1 -1
  380. package/node/Avatar/Avatar.js +1 -1
  381. package/node/AvatarGroup/AvatarGroup.js +20 -5
  382. package/node/Backdrop/Backdrop.js +1 -1
  383. package/node/Badge/Badge.js +41 -11
  384. package/node/BottomNavigation/BottomNavigation.js +1 -1
  385. package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
  386. package/node/Breadcrumbs/Breadcrumbs.js +1 -1
  387. package/node/Button/Button.js +17 -34
  388. package/node/ButtonBase/ButtonBase.js +2 -2
  389. package/node/ButtonGroup/ButtonGroup.js +1 -1
  390. package/node/Card/Card.js +1 -1
  391. package/node/CardActionArea/CardActionArea.js +1 -1
  392. package/node/CardActions/CardActions.js +1 -1
  393. package/node/CardContent/CardContent.js +1 -1
  394. package/node/CardHeader/CardHeader.js +1 -1
  395. package/node/CardMedia/CardMedia.js +1 -1
  396. package/node/Checkbox/Checkbox.js +1 -1
  397. package/node/Chip/Chip.js +1 -1
  398. package/node/CircularProgress/CircularProgress.js +1 -1
  399. package/node/Collapse/Collapse.js +1 -1
  400. package/node/Container/Container.js +1 -1
  401. package/node/Dialog/Dialog.js +2 -2
  402. package/node/DialogActions/DialogActions.js +1 -1
  403. package/node/DialogContent/DialogContent.js +1 -1
  404. package/node/DialogContentText/DialogContentText.js +1 -1
  405. package/node/DialogTitle/DialogTitle.js +1 -1
  406. package/node/Divider/Divider.js +1 -1
  407. package/node/Drawer/Drawer.js +1 -1
  408. package/node/Fab/Fab.js +1 -1
  409. package/node/FilledInput/FilledInput.js +1 -1
  410. package/node/FormControl/FormControl.js +1 -1
  411. package/node/FormControlLabel/FormControlLabel.js +1 -1
  412. package/node/FormGroup/FormGroup.js +1 -1
  413. package/node/FormHelperText/FormHelperText.js +1 -1
  414. package/node/FormLabel/FormLabel.js +1 -1
  415. package/node/Grid/Grid.js +101 -68
  416. package/node/Icon/Icon.js +1 -1
  417. package/node/IconButton/IconButton.js +1 -1
  418. package/node/ImageList/ImageList.js +1 -1
  419. package/node/ImageListItem/ImageListItem.js +1 -1
  420. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  421. package/node/Input/Input.js +1 -1
  422. package/node/InputAdornment/InputAdornment.js +1 -1
  423. package/node/InputBase/InputBase.js +11 -3
  424. package/node/InputLabel/InputLabel.js +1 -1
  425. package/node/LinearProgress/LinearProgress.js +1 -1
  426. package/node/Link/Link.js +1 -1
  427. package/node/List/List.js +1 -1
  428. package/node/ListItem/ListItem.js +1 -1
  429. package/node/ListItemAvatar/ListItemAvatar.js +1 -1
  430. package/node/ListItemButton/ListItemButton.js +2 -2
  431. package/node/ListItemIcon/ListItemIcon.js +1 -1
  432. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  433. package/node/ListItemText/ListItemText.js +1 -1
  434. package/node/ListSubheader/ListSubheader.js +1 -1
  435. package/node/Menu/Menu.js +2 -2
  436. package/node/MenuItem/MenuItem.js +2 -2
  437. package/node/MobileStepper/MobileStepper.js +1 -1
  438. package/node/Modal/Modal.js +1 -1
  439. package/node/NativeSelect/NativeSelect.js +1 -1
  440. package/node/OutlinedInput/OutlinedInput.js +16 -2
  441. package/node/Pagination/Pagination.js +1 -1
  442. package/node/PaginationItem/PaginationItem.js +1 -1
  443. package/node/Paper/Paper.js +1 -1
  444. package/node/Popover/Popover.js +2 -2
  445. package/node/Radio/Radio.js +1 -1
  446. package/node/Rating/Rating.js +1 -1
  447. package/node/Select/Select.js +1 -1
  448. package/node/Select/SelectInput.js +13 -1
  449. package/node/Skeleton/Skeleton.js +1 -1
  450. package/node/Slider/Slider.js +1 -1
  451. package/node/Snackbar/Snackbar.js +2 -2
  452. package/node/SnackbarContent/SnackbarContent.js +1 -1
  453. package/node/SpeedDial/SpeedDial.js +2 -2
  454. package/node/SpeedDialAction/SpeedDialAction.js +1 -1
  455. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
  456. package/node/Stack/Stack.js +1 -1
  457. package/node/Step/Step.js +1 -1
  458. package/node/StepButton/StepButton.js +1 -1
  459. package/node/StepConnector/StepConnector.js +1 -1
  460. package/node/StepContent/StepContent.js +2 -2
  461. package/node/StepIcon/StepIcon.js +1 -1
  462. package/node/StepLabel/StepLabel.js +1 -1
  463. package/node/Stepper/Stepper.js +1 -1
  464. package/node/SvgIcon/SvgIcon.js +1 -1
  465. package/node/Switch/Switch.js +1 -1
  466. package/node/Tab/Tab.js +1 -1
  467. package/node/TabScrollButton/TabScrollButton.js +1 -1
  468. package/node/Table/Table.js +1 -1
  469. package/node/TableBody/TableBody.js +1 -1
  470. package/node/TableCell/TableCell.js +1 -1
  471. package/node/TableContainer/TableContainer.js +1 -1
  472. package/node/TableFooter/TableFooter.js +1 -1
  473. package/node/TableHead/TableHead.js +1 -1
  474. package/node/TablePagination/TablePagination.js +1 -1
  475. package/node/TableRow/TableRow.js +1 -1
  476. package/node/TableSortLabel/TableSortLabel.js +1 -1
  477. package/node/Tabs/Tabs.js +1 -1
  478. package/node/TextField/TextField.js +2 -9
  479. package/node/ToggleButton/ToggleButton.js +1 -1
  480. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  481. package/node/Toolbar/Toolbar.js +1 -1
  482. package/node/Tooltip/Tooltip.js +2 -2
  483. package/node/Typography/Typography.js +1 -1
  484. package/node/index.js +1 -1
  485. package/node/locale/index.js +169 -7
  486. package/package.json +5 -5
  487. package/styles/createTheme.d.ts +1 -1
  488. package/styles/cssUtils.d.ts +32 -0
  489. package/styles/index.d.ts +1 -0
  490. package/transitions/transition.d.ts +1 -2
  491. package/umd/material-ui.development.js +1086 -978
  492. package/umd/material-ui.production.min.js +21 -21
package/modern/Tab/Tab.js CHANGED
@@ -270,7 +270,7 @@ process.env.NODE_ENV !== "production" ? Tab.propTypes
270
270
  /**
271
271
  * The system prop that allows defining system overrides as well as additional CSS styles.
272
272
  */
273
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
273
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
274
274
 
275
275
  /**
276
276
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -132,6 +132,6 @@ process.env.NODE_ENV !== "production" ? TabScrollButton.propTypes
132
132
  /**
133
133
  * The system prop that allows defining system overrides as well as additional CSS styles.
134
134
  */
135
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
135
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
136
136
  } : void 0;
137
137
  export default TabScrollButton;
@@ -142,6 +142,6 @@ process.env.NODE_ENV !== "production" ? Table.propTypes
142
142
  /**
143
143
  * The system prop that allows defining system overrides as well as additional CSS styles.
144
144
  */
145
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
145
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
146
146
  } : void 0;
147
147
  export default Table;
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? TableBody.propTypes
92
92
  /**
93
93
  * The system prop that allows defining system overrides as well as additional CSS styles.
94
94
  */
95
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
95
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
96
96
  } : void 0;
97
97
  export default TableBody;
@@ -222,7 +222,7 @@ process.env.NODE_ENV !== "production" ? TableCell.propTypes
222
222
  /**
223
223
  * The system prop that allows defining system overrides as well as additional CSS styles.
224
224
  */
225
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
225
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
226
226
 
227
227
  /**
228
228
  * Specify the cell type.
@@ -84,6 +84,6 @@ process.env.NODE_ENV !== "production" ? TableContainer.propTypes
84
84
  /**
85
85
  * The system prop that allows defining system overrides as well as additional CSS styles.
86
86
  */
87
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
87
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
88
88
  } : void 0;
89
89
  export default TableContainer;
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? TableFooter.propTypes
92
92
  /**
93
93
  * The system prop that allows defining system overrides as well as additional CSS styles.
94
94
  */
95
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
95
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
96
96
  } : void 0;
97
97
  export default TableFooter;
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? TableHead.propTypes
92
92
  /**
93
93
  * The system prop that allows defining system overrides as well as additional CSS styles.
94
94
  */
95
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
95
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
96
96
  } : void 0;
97
97
  export default TableHead;
@@ -417,6 +417,6 @@ process.env.NODE_ENV !== "production" ? TablePagination.propTypes
417
417
  /**
418
418
  * The system prop that allows defining system overrides as well as additional CSS styles.
419
419
  */
420
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
420
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
421
421
  } : void 0;
422
422
  export default TablePagination;
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? TableRow.propTypes
136
136
  /**
137
137
  * The system prop that allows defining system overrides as well as additional CSS styles.
138
138
  */
139
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
139
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
140
140
  } : void 0;
141
141
  export default TableRow;
@@ -179,6 +179,6 @@ process.env.NODE_ENV !== "production" ? TableSortLabel.propTypes
179
179
  /**
180
180
  * The system prop that allows defining system overrides as well as additional CSS styles.
181
181
  */
182
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
182
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
183
183
  } : void 0;
184
184
  export default TableSortLabel;
@@ -807,7 +807,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes
807
807
  /**
808
808
  * The system prop that allows defining system overrides as well as additional CSS styles.
809
809
  */
810
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
810
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
811
811
 
812
812
  /**
813
813
  * Props applied to the tab indicator element.
@@ -16,8 +16,8 @@ import FormControl from '../FormControl';
16
16
  import FormHelperText from '../FormHelperText';
17
17
  import Select from '../Select';
18
18
  import { getTextFieldUtilityClass } from './textFieldClasses';
19
- import { jsxs as _jsxs } from "react/jsx-runtime";
20
19
  import { jsx as _jsx } from "react/jsx-runtime";
20
+ import { jsxs as _jsxs } from "react/jsx-runtime";
21
21
  const variantComponent = {
22
22
  standard: Input,
23
23
  filled: FilledInput,
@@ -141,12 +141,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
141
141
  InputMore.notched = InputLabelProps.shrink;
142
142
  }
143
143
 
144
- if (label) {
145
- const displayRequired = InputLabelProps?.required ?? required;
146
- InputMore.label = /*#__PURE__*/_jsxs(React.Fragment, {
147
- children: [label, displayRequired && '\u00a0*']
148
- });
149
- }
144
+ InputMore.label = label;
150
145
  }
151
146
 
152
147
  if (select) {
@@ -410,7 +405,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes
410
405
  /**
411
406
  * The system prop that allows defining system overrides as well as additional CSS styles.
412
407
  */
413
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
408
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
414
409
 
415
410
  /**
416
411
  * 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).
@@ -226,7 +226,7 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes
226
226
  /**
227
227
  * The system prop that allows defining system overrides as well as additional CSS styles.
228
228
  */
229
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
229
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
230
230
 
231
231
  /**
232
232
  * The value to associate with the button when selected in a
@@ -243,7 +243,7 @@ process.env.NODE_ENV !== "production" ? ToggleButtonGroup.propTypes
243
243
  /**
244
244
  * The system prop that allows defining system overrides as well as additional CSS styles.
245
245
  */
246
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
246
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
247
247
 
248
248
  /**
249
249
  * The currently selected value within the group or an array of selected
@@ -118,7 +118,7 @@ process.env.NODE_ENV !== "production" ? Toolbar.propTypes
118
118
  /**
119
119
  * The system prop that allows defining system overrides as well as additional CSS styles.
120
120
  */
121
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
121
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
122
122
 
123
123
  /**
124
124
  * The variant to use.
@@ -791,7 +791,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes
791
791
  /**
792
792
  * The system prop that allows defining system overrides as well as additional CSS styles.
793
793
  */
794
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
794
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
795
795
 
796
796
  /**
797
797
  * Tooltip title. Zero-length titles string are never displayed.
@@ -809,7 +809,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes
809
809
 
810
810
  /**
811
811
  * Props applied to the transition element.
812
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
812
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
813
813
  */
814
814
  TransitionProps: PropTypes.object
815
815
  } : void 0;
@@ -180,7 +180,7 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes
180
180
  /**
181
181
  * The system prop that allows defining system overrides as well as additional CSS styles.
182
182
  */
183
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
183
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
184
184
 
185
185
  /**
186
186
  * Applies the theme typography styles.
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.2.2
1
+ /** @license MUI v5.2.6
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.
@@ -641,6 +641,86 @@ export const csCZ = {
641
641
  }
642
642
  }
643
643
  };
644
+ export const daDK = {
645
+ components: {
646
+ MuiBreadcrumbs: {
647
+ defaultProps: {
648
+ expandText: 'Vis sti'
649
+ }
650
+ },
651
+ MuiTablePagination: {
652
+ defaultProps: {
653
+ getItemAriaLabel: type => {
654
+ if (type === 'first') {
655
+ return 'Gå til den første side';
656
+ }
657
+
658
+ if (type === 'last') {
659
+ return 'Gå til den sidste side';
660
+ }
661
+
662
+ if (type === 'next') {
663
+ return 'Gå til den næste side';
664
+ } // if (type === 'previous') {
665
+
666
+
667
+ return 'Gå til den forrige side';
668
+ },
669
+ labelRowsPerPage: 'Rækker pr side:',
670
+ labelDisplayedRows: ({
671
+ from,
672
+ to,
673
+ count
674
+ }) => `${from}-${to} af ${count !== -1 ? count : `mere end ${to}`}`
675
+ }
676
+ },
677
+ MuiRating: {
678
+ defaultProps: {
679
+ getLabelText: value => `${value} Stjern${value !== 1 ? 'er' : ''}`,
680
+ emptyLabelText: 'Tom'
681
+ }
682
+ },
683
+ MuiAutocomplete: {
684
+ defaultProps: {
685
+ clearText: 'Slet',
686
+ closeText: 'Luk',
687
+ loadingText: 'Indlæser…',
688
+ noOptionsText: 'Ingen muligheder',
689
+ openText: 'Åben'
690
+ }
691
+ },
692
+ MuiAlert: {
693
+ defaultProps: {
694
+ closeText: 'Luk'
695
+ }
696
+ },
697
+ MuiPagination: {
698
+ defaultProps: {
699
+ 'aria-label': 'Sideinddelings navigation',
700
+ getItemAriaLabel: (type, page, selected) => {
701
+ if (type === 'page') {
702
+ return `${selected ? '' : 'Go to '}page ${page}`;
703
+ }
704
+
705
+ if (type === 'first') {
706
+ return 'Gå til den første side';
707
+ }
708
+
709
+ if (type === 'last') {
710
+ return 'Gå til den sidste side';
711
+ }
712
+
713
+ if (type === 'next') {
714
+ return 'Gå til den næste side';
715
+ } // if (type === 'previous') {
716
+
717
+
718
+ return 'Gå til den forrige side';
719
+ }
720
+ }
721
+ }
722
+ }
723
+ };
644
724
  export const deDE = {
645
725
  components: {
646
726
  MuiBreadcrumbs: {
@@ -808,7 +888,7 @@ export const enUS = {
808
888
  MuiBreadcrumbs: { defaultProps: {
809
889
  expandText: 'Show path',
810
890
  }},
811
- MuiTablePagination: { defaultProps: {
891
+ MuiTablePagination: { defaultProps: {
812
892
  getItemAriaLabel: (type) => {
813
893
  if (type === 'first') {
814
894
  return 'Go to first page';
@@ -826,21 +906,21 @@ export const enUS = {
826
906
  labelDisplayedRows: ({ from, to, count }) =>
827
907
  `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`,
828
908
  }},
829
- MuiRating: { defaultProps: {
909
+ MuiRating: { defaultProps: {
830
910
  getLabelText: value => `${value} Star${value !== 1 ? 's' : ''}`,
831
911
  emptyLabelText: 'Empty',
832
912
  }},
833
- MuiAutocomplete: { defaultProps: {
913
+ MuiAutocomplete: { defaultProps: {
834
914
  clearText: 'Clear',
835
915
  closeText: 'Close',
836
916
  loadingText: 'Loading…',
837
917
  noOptionsText: 'No options',
838
918
  openText: 'Open',
839
919
  }},
840
- MuiAlert: { defaultProps: {
920
+ MuiAlert: { defaultProps: {
841
921
  closeText: 'Close',
842
922
  }},
843
- MuiPagination: { defaultProps: {
923
+ MuiPagination: { defaultProps: {
844
924
  'aria-label': 'Pagination navigation',
845
925
  getItemAriaLabel: (type, page, selected) => {
846
926
  if (type === 'page') {
@@ -858,7 +938,7 @@ export const enUS = {
858
938
  // if (type === 'previous') {
859
939
  return 'Go to previous page';
860
940
  },
861
- },
941
+ }},
862
942
  },
863
943
  */
864
944
  };
@@ -2106,6 +2186,86 @@ export const kzKZ = {
2106
2186
  }
2107
2187
  }
2108
2188
  };
2189
+ export const nbNO = {
2190
+ components: {
2191
+ MuiBreadcrumbs: {
2192
+ defaultProps: {
2193
+ expandText: 'Vis sti'
2194
+ }
2195
+ },
2196
+ MuiTablePagination: {
2197
+ defaultProps: {
2198
+ getItemAriaLabel: type => {
2199
+ if (type === 'first') {
2200
+ return 'Gå til første side';
2201
+ }
2202
+
2203
+ if (type === 'last') {
2204
+ return 'Gå til siste side';
2205
+ }
2206
+
2207
+ if (type === 'next') {
2208
+ return 'Gå til neste side';
2209
+ } // if (type === 'previous') {
2210
+
2211
+
2212
+ return 'Gå til forrige side';
2213
+ },
2214
+ labelRowsPerPage: 'Rader per side:',
2215
+ labelDisplayedRows: ({
2216
+ from,
2217
+ to,
2218
+ count
2219
+ }) => `${from}–${to} av ${count !== -1 ? count : `mer enn ${to}`}`
2220
+ }
2221
+ },
2222
+ MuiRating: {
2223
+ defaultProps: {
2224
+ getLabelText: value => `${value} Stjerne${value !== 1 ? 'r' : ''}`,
2225
+ emptyLabelText: 'Tom'
2226
+ }
2227
+ },
2228
+ MuiAutocomplete: {
2229
+ defaultProps: {
2230
+ clearText: 'Tøm',
2231
+ closeText: 'Lukk',
2232
+ loadingText: 'Laster inn…',
2233
+ noOptionsText: 'Ingen alternativer',
2234
+ openText: 'Åpne'
2235
+ }
2236
+ },
2237
+ MuiAlert: {
2238
+ defaultProps: {
2239
+ closeText: 'Lukk'
2240
+ }
2241
+ },
2242
+ MuiPagination: {
2243
+ defaultProps: {
2244
+ 'aria-label': 'Paginering navigasjon',
2245
+ getItemAriaLabel: (type, page, selected) => {
2246
+ if (type === 'page') {
2247
+ return `${selected ? '' : 'Gå til '}side ${page}`;
2248
+ }
2249
+
2250
+ if (type === 'first') {
2251
+ return 'Gå til første side';
2252
+ }
2253
+
2254
+ if (type === 'last') {
2255
+ return 'Gå til siste side';
2256
+ }
2257
+
2258
+ if (type === 'next') {
2259
+ return 'Gå til neste side';
2260
+ } // if (type === 'previous') {
2261
+
2262
+
2263
+ return 'Gå til forrige side';
2264
+ }
2265
+ }
2266
+ }
2267
+ }
2268
+ };
2109
2269
  export const nlNL = {
2110
2270
  components: {
2111
2271
  MuiBreadcrumbs: {
@@ -285,7 +285,7 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes
285
285
  /**
286
286
  * The system prop that allows defining system overrides as well as additional CSS styles.
287
287
  */
288
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
288
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
289
289
 
290
290
  /**
291
291
  * The component used for the transition.
@@ -296,7 +296,7 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes
296
296
 
297
297
  /**
298
298
  * Props applied to the transition element.
299
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
299
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
300
300
  */
301
301
  TransitionProps: _propTypes.default.object
302
302
  } : void 0;
@@ -117,7 +117,7 @@ process.env.NODE_ENV !== "production" ? AccordionActions.propTypes
117
117
  /**
118
118
  * The system prop that allows defining system overrides as well as additional CSS styles.
119
119
  */
120
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
120
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
121
121
  } : void 0;
122
122
  var _default = AccordionActions;
123
123
  exports.default = _default;
@@ -95,7 +95,7 @@ process.env.NODE_ENV !== "production" ? AccordionDetails.propTypes
95
95
  /**
96
96
  * The system prop that allows defining system overrides as well as additional CSS styles.
97
97
  */
98
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
98
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
99
99
  } : void 0;
100
100
  var _default = AccordionDetails;
101
101
  exports.default = _default;
@@ -211,7 +211,7 @@ process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes
211
211
  * This prop can help identify which element has keyboard focus.
212
212
  * The class name will be applied when the element gains the focus through keyboard interaction.
213
213
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
214
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
214
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
215
215
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
216
216
  * if needed.
217
217
  */
@@ -225,7 +225,7 @@ process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes
225
225
  /**
226
226
  * The system prop that allows defining system overrides as well as additional CSS styles.
227
227
  */
228
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
228
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
229
229
  } : void 0;
230
230
  var _default = AccordionSummary;
231
231
  exports.default = _default;
@@ -86,7 +86,6 @@ const AlertRoot = (0, _styled.default)(_Paper.default, {
86
86
  const getBackgroundColor = theme.palette.mode === 'light' ? _system.lighten : _system.darken;
87
87
  const color = ownerState.color || ownerState.severity;
88
88
  return (0, _extends2.default)({}, theme.typography.body2, {
89
- borderRadius: theme.shape.borderRadius,
90
89
  backgroundColor: 'transparent',
91
90
  display: 'flex',
92
91
  padding: '6px 16px'
@@ -178,7 +177,6 @@ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
178
177
  const classes = useUtilityClasses(ownerState);
179
178
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(AlertRoot, (0, _extends2.default)({
180
179
  role: role,
181
- square: true,
182
180
  elevation: 0,
183
181
  ownerState: ownerState,
184
182
  className: (0, _clsx.default)(classes.root, className),
@@ -296,7 +294,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes
296
294
  /**
297
295
  * The system prop that allows defining system overrides as well as additional CSS styles.
298
296
  */
299
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
297
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
300
298
 
301
299
  /**
302
300
  * The variant to use.
@@ -102,7 +102,7 @@ process.env.NODE_ENV !== "production" ? AlertTitle.propTypes
102
102
  /**
103
103
  * The system prop that allows defining system overrides as well as additional CSS styles.
104
104
  */
105
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
105
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
106
106
  } : void 0;
107
107
  var _default = AlertTitle;
108
108
  exports.default = _default;
@@ -190,7 +190,7 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes
190
190
  /**
191
191
  * The system prop that allows defining system overrides as well as additional CSS styles.
192
192
  */
193
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
193
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
194
194
  } : void 0;
195
195
  var _default = AppBar;
196
196
  exports.default = _default;
@@ -1083,7 +1083,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes
1083
1083
  /**
1084
1084
  * The system prop that allows defining system overrides as well as additional CSS styles.
1085
1085
  */
1086
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
1086
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
1087
1087
 
1088
1088
  /**
1089
1089
  * The value of the autocomplete.
@@ -275,7 +275,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes
275
275
  /**
276
276
  * The system prop that allows defining system overrides as well as additional CSS styles.
277
277
  */
278
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
278
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
279
279
 
280
280
  /**
281
281
  * The shape of the avatar.
@@ -33,7 +33,7 @@ var _avatarGroupClasses = _interopRequireWildcard(require("./avatarGroupClasses"
33
33
 
34
34
  var _jsxRuntime = require("react/jsx-runtime");
35
35
 
36
- const _excluded = ["children", "className", "max", "spacing", "variant"];
36
+ const _excluded = ["children", "className", "max", "spacing", "total", "variant"];
37
37
 
38
38
  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); }
39
39
 
@@ -99,10 +99,11 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
99
99
  className,
100
100
  max = 5,
101
101
  spacing = 'medium',
102
+ total,
102
103
  variant = 'circular'
103
104
  } = props,
104
105
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
105
- const clampedMax = max < 2 ? 2 : max;
106
+ let clampedMax = max < 2 ? 2 : max;
106
107
  const ownerState = (0, _extends2.default)({}, props, {
107
108
  max,
108
109
  spacing,
@@ -118,7 +119,15 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
118
119
 
119
120
  return /*#__PURE__*/React.isValidElement(child);
120
121
  });
121
- const extraAvatars = children.length > clampedMax ? children.length - clampedMax + 1 : 0;
122
+ const totalAvatars = total || children.length;
123
+
124
+ if (totalAvatars === clampedMax) {
125
+ clampedMax += 1;
126
+ }
127
+
128
+ clampedMax = Math.min(totalAvatars + 1, clampedMax);
129
+ const maxAvatars = Math.min(children.length, clampedMax - 1);
130
+ const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
122
131
  const marginLeft = spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing;
123
132
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(AvatarGroupRoot, (0, _extends2.default)({
124
133
  ownerState: ownerState,
@@ -133,7 +142,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
133
142
  },
134
143
  variant: variant,
135
144
  children: ["+", extraAvatars]
136
- }) : null, children.slice(0, children.length - extraAvatars).reverse().map(child => {
145
+ }) : null, children.slice(0, maxAvatars).reverse().map(child => {
137
146
  return /*#__PURE__*/React.cloneElement(child, {
138
147
  className: (0, _clsx.default)(child.props.className, classes.avatar),
139
148
  style: (0, _extends2.default)({
@@ -188,7 +197,13 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
188
197
  /**
189
198
  * The system prop that allows defining system overrides as well as additional CSS styles.
190
199
  */
191
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
200
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
201
+
202
+ /**
203
+ * The total number of avatars. Used for calculating the number of extra avatars.
204
+ * @default children.length
205
+ */
206
+ total: _propTypes.default.number,
192
207
 
193
208
  /**
194
209
  * The variant to use.
@@ -165,7 +165,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes
165
165
  /**
166
166
  * The system prop that allows defining system overrides as well as additional CSS styles.
167
167
  */
168
- sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
168
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
169
169
 
170
170
  /**
171
171
  * The duration for the transition, in milliseconds.