@mui/material 5.14.13 → 5.14.15

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 (349) hide show
  1. package/AppBar/AppBar.d.ts +4 -1
  2. package/AppBar/AppBar.js +1 -1
  3. package/AppBar/appBarClasses.d.ts +8 -0
  4. package/AppBar/appBarClasses.js +1 -1
  5. package/AvatarGroup/AvatarGroup.d.ts +6 -0
  6. package/AvatarGroup/AvatarGroup.js +12 -3
  7. package/CHANGELOG.md +146 -0
  8. package/Checkbox/Checkbox.js +1 -1
  9. package/InputLabel/InputLabel.js +4 -3
  10. package/Pagination/Pagination.d.ts +3 -6
  11. package/Pagination/Pagination.js +1 -1
  12. package/Radio/Radio.js +1 -1
  13. package/Tabs/Tabs.js +30 -5
  14. package/ToggleButton/toggleButtonClasses.d.ts +2 -0
  15. package/ToggleButton/toggleButtonClasses.js +1 -1
  16. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +2 -0
  17. package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  18. package/index.js +1 -1
  19. package/legacy/AppBar/AppBar.js +1 -1
  20. package/legacy/AppBar/appBarClasses.js +1 -1
  21. package/legacy/AvatarGroup/AvatarGroup.js +12 -3
  22. package/legacy/Checkbox/Checkbox.js +1 -1
  23. package/legacy/InputLabel/InputLabel.js +4 -3
  24. package/legacy/Pagination/Pagination.js +1 -1
  25. package/legacy/Radio/Radio.js +1 -1
  26. package/legacy/Tabs/Tabs.js +30 -5
  27. package/legacy/ToggleButton/toggleButtonClasses.js +1 -1
  28. package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  29. package/legacy/index.js +1 -1
  30. package/legacy/locale/index.js +244 -166
  31. package/locale/index.d.ts +1 -0
  32. package/locale/index.js +120 -46
  33. package/modern/AppBar/AppBar.js +1 -1
  34. package/modern/AppBar/appBarClasses.js +1 -1
  35. package/modern/AvatarGroup/AvatarGroup.js +12 -3
  36. package/modern/Checkbox/Checkbox.js +1 -1
  37. package/modern/InputLabel/InputLabel.js +4 -3
  38. package/modern/Pagination/Pagination.js +1 -1
  39. package/modern/Radio/Radio.js +1 -1
  40. package/modern/Tabs/Tabs.js +27 -5
  41. package/modern/ToggleButton/toggleButtonClasses.js +1 -1
  42. package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  43. package/modern/index.js +1 -1
  44. package/modern/locale/index.js +120 -46
  45. package/node/Accordion/Accordion.js +2 -2
  46. package/node/Accordion/AccordionContext.js +2 -2
  47. package/node/Accordion/index.js +2 -2
  48. package/node/AccordionActions/AccordionActions.js +2 -2
  49. package/node/AccordionActions/index.js +2 -2
  50. package/node/AccordionDetails/AccordionDetails.js +2 -2
  51. package/node/AccordionDetails/index.js +2 -2
  52. package/node/AccordionSummary/AccordionSummary.js +2 -2
  53. package/node/AccordionSummary/index.js +2 -2
  54. package/node/Alert/Alert.js +2 -2
  55. package/node/Alert/index.js +2 -2
  56. package/node/AlertTitle/AlertTitle.js +2 -2
  57. package/node/AlertTitle/index.js +2 -2
  58. package/node/AppBar/AppBar.js +3 -3
  59. package/node/AppBar/appBarClasses.js +1 -1
  60. package/node/AppBar/index.js +2 -2
  61. package/node/Autocomplete/Autocomplete.js +2 -2
  62. package/node/Autocomplete/index.js +2 -2
  63. package/node/Avatar/Avatar.js +2 -2
  64. package/node/Avatar/index.js +2 -2
  65. package/node/AvatarGroup/AvatarGroup.js +13 -5
  66. package/node/AvatarGroup/index.js +2 -2
  67. package/node/Backdrop/Backdrop.js +2 -2
  68. package/node/Backdrop/index.js +2 -2
  69. package/node/Badge/Badge.js +2 -2
  70. package/node/Badge/index.js +2 -2
  71. package/node/BottomNavigation/BottomNavigation.js +2 -2
  72. package/node/BottomNavigation/index.js +2 -2
  73. package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
  74. package/node/BottomNavigationAction/index.js +2 -2
  75. package/node/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
  76. package/node/Breadcrumbs/Breadcrumbs.js +2 -2
  77. package/node/Breadcrumbs/index.js +2 -2
  78. package/node/Button/Button.js +2 -2
  79. package/node/Button/index.js +2 -2
  80. package/node/ButtonBase/ButtonBase.js +2 -2
  81. package/node/ButtonBase/Ripple.js +2 -2
  82. package/node/ButtonBase/TouchRipple.js +2 -2
  83. package/node/ButtonBase/index.js +2 -2
  84. package/node/ButtonGroup/ButtonGroup.js +2 -2
  85. package/node/ButtonGroup/ButtonGroupButtonContext.js +2 -2
  86. package/node/ButtonGroup/ButtonGroupContext.js +2 -2
  87. package/node/ButtonGroup/index.js +2 -2
  88. package/node/Card/Card.js +2 -2
  89. package/node/Card/index.js +2 -2
  90. package/node/CardActionArea/CardActionArea.js +2 -2
  91. package/node/CardActionArea/index.js +2 -2
  92. package/node/CardActions/CardActions.js +2 -2
  93. package/node/CardActions/index.js +2 -2
  94. package/node/CardContent/CardContent.js +2 -2
  95. package/node/CardContent/index.js +2 -2
  96. package/node/CardHeader/CardHeader.js +2 -2
  97. package/node/CardHeader/index.js +2 -2
  98. package/node/CardMedia/CardMedia.js +2 -2
  99. package/node/CardMedia/index.js +2 -2
  100. package/node/Checkbox/Checkbox.js +3 -3
  101. package/node/Checkbox/index.js +2 -2
  102. package/node/Chip/Chip.js +2 -2
  103. package/node/Chip/index.js +2 -2
  104. package/node/CircularProgress/CircularProgress.js +2 -2
  105. package/node/CircularProgress/index.js +2 -2
  106. package/node/Collapse/Collapse.js +2 -2
  107. package/node/Collapse/index.js +2 -2
  108. package/node/Container/index.js +2 -2
  109. package/node/CssBaseline/CssBaseline.js +2 -2
  110. package/node/Dialog/Dialog.js +2 -2
  111. package/node/Dialog/DialogContext.js +2 -2
  112. package/node/Dialog/index.js +2 -2
  113. package/node/DialogActions/DialogActions.js +2 -2
  114. package/node/DialogActions/index.js +2 -2
  115. package/node/DialogContent/DialogContent.js +2 -2
  116. package/node/DialogContent/index.js +2 -2
  117. package/node/DialogContentText/DialogContentText.js +2 -2
  118. package/node/DialogContentText/index.js +2 -2
  119. package/node/DialogTitle/DialogTitle.js +2 -2
  120. package/node/DialogTitle/index.js +2 -2
  121. package/node/Divider/Divider.js +2 -2
  122. package/node/Divider/index.js +2 -2
  123. package/node/Drawer/Drawer.js +2 -2
  124. package/node/Drawer/index.js +2 -2
  125. package/node/Fab/Fab.js +2 -2
  126. package/node/Fab/index.js +2 -2
  127. package/node/Fade/Fade.js +2 -2
  128. package/node/FilledInput/FilledInput.js +2 -2
  129. package/node/FilledInput/index.js +2 -2
  130. package/node/FormControl/FormControl.js +2 -2
  131. package/node/FormControl/FormControlContext.js +2 -2
  132. package/node/FormControl/index.js +2 -2
  133. package/node/FormControl/useFormControl.js +2 -2
  134. package/node/FormControlLabel/FormControlLabel.js +2 -2
  135. package/node/FormControlLabel/index.js +2 -2
  136. package/node/FormGroup/FormGroup.js +2 -2
  137. package/node/FormGroup/index.js +2 -2
  138. package/node/FormHelperText/FormHelperText.js +2 -2
  139. package/node/FormHelperText/index.js +2 -2
  140. package/node/FormLabel/FormLabel.js +2 -2
  141. package/node/FormLabel/index.js +2 -2
  142. package/node/GlobalStyles/GlobalStyles.js +2 -2
  143. package/node/Grid/Grid.js +2 -2
  144. package/node/Grid/GridContext.js +2 -2
  145. package/node/Grid/index.js +2 -2
  146. package/node/Grow/Grow.js +2 -2
  147. package/node/Hidden/Hidden.js +2 -2
  148. package/node/Hidden/HiddenCss.js +2 -2
  149. package/node/Hidden/HiddenJs.js +2 -2
  150. package/node/Hidden/withWidth.js +2 -2
  151. package/node/Icon/Icon.js +2 -2
  152. package/node/Icon/index.js +2 -2
  153. package/node/IconButton/IconButton.js +2 -2
  154. package/node/IconButton/index.js +2 -2
  155. package/node/ImageList/ImageList.js +2 -2
  156. package/node/ImageList/ImageListContext.js +2 -2
  157. package/node/ImageList/index.js +2 -2
  158. package/node/ImageListItem/ImageListItem.js +2 -2
  159. package/node/ImageListItem/index.js +2 -2
  160. package/node/ImageListItemBar/ImageListItemBar.js +2 -2
  161. package/node/ImageListItemBar/index.js +2 -2
  162. package/node/Input/Input.js +2 -2
  163. package/node/Input/index.js +2 -2
  164. package/node/InputAdornment/InputAdornment.js +2 -2
  165. package/node/InputAdornment/index.js +2 -2
  166. package/node/InputBase/InputBase.js +2 -2
  167. package/node/InputBase/index.js +2 -2
  168. package/node/InputLabel/InputLabel.js +6 -5
  169. package/node/InputLabel/index.js +2 -2
  170. package/node/LinearProgress/LinearProgress.js +2 -2
  171. package/node/LinearProgress/index.js +2 -2
  172. package/node/Link/Link.js +2 -2
  173. package/node/Link/index.js +2 -2
  174. package/node/List/List.js +2 -2
  175. package/node/List/ListContext.js +2 -2
  176. package/node/List/index.js +2 -2
  177. package/node/ListItem/ListItem.js +2 -2
  178. package/node/ListItem/index.js +2 -2
  179. package/node/ListItemAvatar/ListItemAvatar.js +2 -2
  180. package/node/ListItemAvatar/index.js +2 -2
  181. package/node/ListItemButton/ListItemButton.js +2 -2
  182. package/node/ListItemButton/index.js +2 -2
  183. package/node/ListItemIcon/ListItemIcon.js +2 -2
  184. package/node/ListItemIcon/index.js +2 -2
  185. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
  186. package/node/ListItemSecondaryAction/index.js +2 -2
  187. package/node/ListItemText/ListItemText.js +2 -2
  188. package/node/ListItemText/index.js +2 -2
  189. package/node/ListSubheader/ListSubheader.js +2 -2
  190. package/node/ListSubheader/index.js +2 -2
  191. package/node/Menu/Menu.js +2 -2
  192. package/node/Menu/index.js +2 -2
  193. package/node/MenuItem/MenuItem.js +2 -2
  194. package/node/MenuItem/index.js +2 -2
  195. package/node/MenuList/MenuList.js +2 -2
  196. package/node/MobileStepper/MobileStepper.js +2 -2
  197. package/node/MobileStepper/index.js +2 -2
  198. package/node/Modal/Modal.js +2 -2
  199. package/node/Modal/index.js +2 -2
  200. package/node/NativeSelect/NativeSelect.js +2 -2
  201. package/node/NativeSelect/NativeSelectInput.js +2 -2
  202. package/node/NativeSelect/index.js +2 -2
  203. package/node/OutlinedInput/NotchedOutline.js +2 -2
  204. package/node/OutlinedInput/OutlinedInput.js +2 -2
  205. package/node/OutlinedInput/index.js +2 -2
  206. package/node/Pagination/Pagination.js +3 -3
  207. package/node/Pagination/index.js +2 -2
  208. package/node/PaginationItem/PaginationItem.js +2 -2
  209. package/node/PaginationItem/index.js +2 -2
  210. package/node/Paper/Paper.js +2 -2
  211. package/node/Paper/index.js +2 -2
  212. package/node/Popover/Popover.js +2 -2
  213. package/node/Popover/index.js +2 -2
  214. package/node/Popper/Popper.js +2 -2
  215. package/node/Radio/Radio.js +3 -3
  216. package/node/Radio/RadioButtonIcon.js +2 -2
  217. package/node/Radio/index.js +2 -2
  218. package/node/RadioGroup/RadioGroup.js +2 -2
  219. package/node/RadioGroup/RadioGroupContext.js +2 -2
  220. package/node/RadioGroup/useRadioGroup.js +2 -2
  221. package/node/Rating/Rating.js +2 -2
  222. package/node/Rating/index.js +2 -2
  223. package/node/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
  224. package/node/ScopedCssBaseline/index.js +2 -2
  225. package/node/Select/Select.js +2 -2
  226. package/node/Select/SelectInput.js +2 -2
  227. package/node/Select/index.js +2 -2
  228. package/node/Skeleton/Skeleton.js +2 -2
  229. package/node/Skeleton/index.js +2 -2
  230. package/node/Slide/Slide.js +2 -2
  231. package/node/Slider/Slider.js +2 -2
  232. package/node/Slider/SliderValueLabel.js +2 -2
  233. package/node/Slider/index.js +2 -2
  234. package/node/Snackbar/Snackbar.js +2 -2
  235. package/node/Snackbar/index.js +2 -2
  236. package/node/SnackbarContent/SnackbarContent.js +2 -2
  237. package/node/SnackbarContent/index.js +2 -2
  238. package/node/SpeedDial/SpeedDial.js +2 -2
  239. package/node/SpeedDial/index.js +2 -2
  240. package/node/SpeedDialAction/SpeedDialAction.js +2 -2
  241. package/node/SpeedDialAction/index.js +2 -2
  242. package/node/SpeedDialIcon/SpeedDialIcon.js +2 -2
  243. package/node/SpeedDialIcon/index.js +2 -2
  244. package/node/Step/Step.js +2 -2
  245. package/node/Step/StepContext.js +2 -2
  246. package/node/Step/index.js +2 -2
  247. package/node/StepButton/StepButton.js +2 -2
  248. package/node/StepButton/index.js +2 -2
  249. package/node/StepConnector/StepConnector.js +2 -2
  250. package/node/StepConnector/index.js +2 -2
  251. package/node/StepContent/StepContent.js +2 -2
  252. package/node/StepContent/index.js +2 -2
  253. package/node/StepIcon/StepIcon.js +2 -2
  254. package/node/StepIcon/index.js +2 -2
  255. package/node/StepLabel/StepLabel.js +2 -2
  256. package/node/StepLabel/index.js +2 -2
  257. package/node/Stepper/Stepper.js +2 -2
  258. package/node/Stepper/StepperContext.js +2 -2
  259. package/node/Stepper/index.js +2 -2
  260. package/node/SvgIcon/SvgIcon.js +2 -2
  261. package/node/SvgIcon/index.js +2 -2
  262. package/node/SwipeableDrawer/SwipeArea.js +2 -2
  263. package/node/SwipeableDrawer/SwipeableDrawer.js +2 -2
  264. package/node/Switch/Switch.js +2 -2
  265. package/node/Switch/index.js +2 -2
  266. package/node/Tab/Tab.js +2 -2
  267. package/node/Tab/index.js +2 -2
  268. package/node/TabScrollButton/TabScrollButton.js +2 -2
  269. package/node/TabScrollButton/index.js +2 -2
  270. package/node/Table/Table.js +2 -2
  271. package/node/Table/TableContext.js +2 -2
  272. package/node/Table/Tablelvl2Context.js +2 -2
  273. package/node/Table/index.js +2 -2
  274. package/node/TableBody/TableBody.js +2 -2
  275. package/node/TableBody/index.js +2 -2
  276. package/node/TableCell/TableCell.js +2 -2
  277. package/node/TableCell/index.js +2 -2
  278. package/node/TableContainer/TableContainer.js +2 -2
  279. package/node/TableContainer/index.js +2 -2
  280. package/node/TableFooter/TableFooter.js +2 -2
  281. package/node/TableFooter/index.js +2 -2
  282. package/node/TableHead/TableHead.js +2 -2
  283. package/node/TableHead/index.js +2 -2
  284. package/node/TablePagination/TablePagination.js +2 -2
  285. package/node/TablePagination/TablePaginationActions.js +2 -2
  286. package/node/TablePagination/index.js +2 -2
  287. package/node/TableRow/TableRow.js +2 -2
  288. package/node/TableRow/index.js +2 -2
  289. package/node/TableSortLabel/TableSortLabel.js +2 -2
  290. package/node/TableSortLabel/index.js +2 -2
  291. package/node/Tabs/ScrollbarSize.js +2 -2
  292. package/node/Tabs/Tabs.js +32 -7
  293. package/node/Tabs/index.js +2 -2
  294. package/node/TextField/TextField.js +2 -2
  295. package/node/TextField/index.js +2 -2
  296. package/node/ToggleButton/ToggleButton.js +2 -2
  297. package/node/ToggleButton/index.js +2 -2
  298. package/node/ToggleButton/toggleButtonClasses.js +1 -1
  299. package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
  300. package/node/ToggleButtonGroup/index.js +2 -2
  301. package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  302. package/node/Toolbar/Toolbar.js +2 -2
  303. package/node/Toolbar/index.js +2 -2
  304. package/node/Tooltip/Tooltip.js +2 -2
  305. package/node/Tooltip/index.js +2 -2
  306. package/node/Typography/Typography.js +2 -2
  307. package/node/Typography/index.js +2 -2
  308. package/node/Unstable_Grid2/index.js +2 -2
  309. package/node/Zoom/Zoom.js +2 -2
  310. package/node/index.js +3 -3
  311. package/node/internal/SwitchBase.js +2 -2
  312. package/node/internal/svg-icons/Add.js +2 -2
  313. package/node/internal/svg-icons/ArrowDownward.js +2 -2
  314. package/node/internal/svg-icons/ArrowDropDown.js +2 -2
  315. package/node/internal/svg-icons/Cancel.js +2 -2
  316. package/node/internal/svg-icons/CheckBox.js +2 -2
  317. package/node/internal/svg-icons/CheckBoxOutlineBlank.js +2 -2
  318. package/node/internal/svg-icons/CheckCircle.js +2 -2
  319. package/node/internal/svg-icons/Close.js +2 -2
  320. package/node/internal/svg-icons/ErrorOutline.js +2 -2
  321. package/node/internal/svg-icons/FirstPage.js +2 -2
  322. package/node/internal/svg-icons/IndeterminateCheckBox.js +2 -2
  323. package/node/internal/svg-icons/InfoOutlined.js +2 -2
  324. package/node/internal/svg-icons/KeyboardArrowLeft.js +2 -2
  325. package/node/internal/svg-icons/KeyboardArrowRight.js +2 -2
  326. package/node/internal/svg-icons/LastPage.js +2 -2
  327. package/node/internal/svg-icons/MoreHoriz.js +2 -2
  328. package/node/internal/svg-icons/NavigateBefore.js +2 -2
  329. package/node/internal/svg-icons/NavigateNext.js +2 -2
  330. package/node/internal/svg-icons/Person.js +2 -2
  331. package/node/internal/svg-icons/RadioButtonChecked.js +2 -2
  332. package/node/internal/svg-icons/RadioButtonUnchecked.js +2 -2
  333. package/node/internal/svg-icons/ReportProblemOutlined.js +2 -2
  334. package/node/internal/svg-icons/Star.js +2 -2
  335. package/node/internal/svg-icons/StarBorder.js +2 -2
  336. package/node/internal/svg-icons/SuccessOutlined.js +2 -2
  337. package/node/internal/svg-icons/Warning.js +2 -2
  338. package/node/locale/index.js +121 -47
  339. package/node/styles/ThemeProvider.js +2 -2
  340. package/node/styles/index.js +2 -2
  341. package/node/styles/useTheme.js +2 -2
  342. package/node/useAutocomplete/index.js +2 -2
  343. package/node/useMediaQuery/useMediaQuery.js +2 -2
  344. package/node/useScrollTrigger/useScrollTrigger.js +2 -2
  345. package/node/useTouchRipple/useTouchRipple.js +2 -2
  346. package/node/utils/createSvgIcon.js +2 -2
  347. package/package.json +7 -7
  348. package/umd/material-ui.development.js +72 -35
  349. package/umd/material-ui.production.min.js +6 -6
package/locale/index.js CHANGED
@@ -138,7 +138,7 @@ export const arEG = {
138
138
  return 'انتقل إلى الصفحة التالية';
139
139
  }
140
140
  // if (type === 'previous') {
141
- return 'انتقل إلى الصفحة السابقة';
141
+ return 'انتقل إلى الصفحة السابقة';
142
142
  }
143
143
  }
144
144
  }
@@ -1849,35 +1849,37 @@ export const idID = {
1849
1849
 
1850
1850
  export const isIS = {
1851
1851
  components: {
1852
- // MuiBreadcrumbs: {
1853
- // defaultProps: {
1854
- // expandText: 'Show path',
1855
- // },
1856
- // },
1852
+ MuiBreadcrumbs: {
1853
+ defaultProps: {
1854
+ expandText: 'Sýna slóð'
1855
+ }
1856
+ },
1857
1857
  MuiTablePagination: {
1858
1858
  defaultProps: {
1859
- // getItemAriaLabel: (type) => {
1860
- // if (type === 'first') {
1861
- // return 'Go to first page';
1862
- // }
1863
- // if (type === 'last') {
1864
- // return 'Go to last page';
1865
- // }
1866
- // if (type === 'next') {
1867
- // return 'Go to next page';
1868
- // }
1869
- // // if (type === 'previous') {
1870
- // return 'Go to previous page';
1871
- // },
1872
- labelRowsPerPage: 'Raðir á síðu:'
1873
- // labelDisplayedRows: ({ from, to, count }) =>
1874
- // `${from}–${to} af ${count !== -1 ? count : `more than ${to}`}`,
1859
+ getItemAriaLabel: type => {
1860
+ if (type === 'first') {
1861
+ return 'Fara á fyrstu síðu';
1862
+ }
1863
+ if (type === 'last') {
1864
+ return 'Fara á síðustu síðu';
1865
+ }
1866
+ if (type === 'next') {
1867
+ return 'Fara á næstu síðu';
1868
+ }
1869
+ // if (type === 'previous') {
1870
+ return 'Fara á fyrri síðu';
1871
+ },
1872
+ labelRowsPerPage: 'Raðir á síðu:',
1873
+ labelDisplayedRows: ({
1874
+ from,
1875
+ to,
1876
+ count
1877
+ }) => `${from}–${to} af ${count !== -1 ? count : `fleiri enn ${to}`}`
1875
1878
  }
1876
1879
  },
1877
-
1878
1880
  MuiRating: {
1879
1881
  defaultProps: {
1880
- getLabelText: value => `${value} ${value === 1 ? 'Stjarna' : 'Stjörnur'}`,
1882
+ getLabelText: value => `${value} ${value === 1 ? 'stjarna' : 'stjörnur'}`,
1881
1883
  emptyLabelText: 'Tómt'
1882
1884
  }
1883
1885
  },
@@ -1894,31 +1896,30 @@ export const isIS = {
1894
1896
  defaultProps: {
1895
1897
  closeText: 'Loka'
1896
1898
  }
1899
+ },
1900
+ MuiPagination: {
1901
+ defaultProps: {
1902
+ 'aria-label': 'Síðuflakk',
1903
+ getItemAriaLabel: (type, page, selected) => {
1904
+ if (type === 'page') {
1905
+ return `${selected ? 'Síða' : 'Fara á síðu'} ${page}`;
1906
+ }
1907
+ if (type === 'first') {
1908
+ return 'Fara á fyrstu síðu';
1909
+ }
1910
+ if (type === 'last') {
1911
+ return 'Fara á síðustu síðu';
1912
+ }
1913
+ if (type === 'next') {
1914
+ return 'Fara á næstu síðu';
1915
+ }
1916
+ // if (type === 'previous') {
1917
+ return 'Fara á fyrri síðu';
1918
+ }
1919
+ }
1897
1920
  }
1898
- // MuiPagination: {
1899
- // defaultProps: {
1900
- // 'aria-label': 'Pagination navigation',
1901
- // getItemAriaLabel: (type, page, selected) => {
1902
- // if (type === 'page') {
1903
- // return `${selected ? '' : 'Go to '}page ${page}`;
1904
- // }
1905
- // if (type === 'first') {
1906
- // return 'Go to first page';
1907
- // }
1908
- // if (type === 'last') {
1909
- // return 'Go to last page';
1910
- // }
1911
- // if (type === 'next') {
1912
- // return 'Go to next page';
1913
- // }
1914
- // // if (type === 'previous') {
1915
- // return 'Go to previous page';
1916
- // },
1917
- // },
1918
- // },
1919
1921
  }
1920
1922
  };
1921
-
1922
1923
  export const itIT = {
1923
1924
  components: {
1924
1925
  MuiBreadcrumbs: {
@@ -2818,6 +2819,79 @@ export const nbNO = {
2818
2819
  }
2819
2820
  }
2820
2821
  };
2822
+ export const nnNO = {
2823
+ components: {
2824
+ MuiBreadcrumbs: {
2825
+ defaultProps: {
2826
+ expandText: 'Vis sti'
2827
+ }
2828
+ },
2829
+ MuiTablePagination: {
2830
+ defaultProps: {
2831
+ getItemAriaLabel: type => {
2832
+ if (type === 'first') {
2833
+ return 'Gå til første side';
2834
+ }
2835
+ if (type === 'last') {
2836
+ return 'Gå til siste side';
2837
+ }
2838
+ if (type === 'next') {
2839
+ return 'Gå til neste side';
2840
+ }
2841
+ // if (type === 'previous') {
2842
+ return 'Gå til førre side';
2843
+ },
2844
+ labelRowsPerPage: 'Rader per side:',
2845
+ labelDisplayedRows: ({
2846
+ from,
2847
+ to,
2848
+ count
2849
+ }) => `${from}–${to} av ${count !== -1 ? count : `fleire enn ${to}`}`
2850
+ }
2851
+ },
2852
+ MuiRating: {
2853
+ defaultProps: {
2854
+ getLabelText: value => `${value} stjerne${value !== 1 ? 'r' : ''}`,
2855
+ emptyLabelText: 'Tom'
2856
+ }
2857
+ },
2858
+ MuiAutocomplete: {
2859
+ defaultProps: {
2860
+ clearText: 'Tøm',
2861
+ closeText: 'Lukk',
2862
+ loadingText: 'Lastar inn…',
2863
+ noOptionsText: 'Ingen alternativ',
2864
+ openText: 'Opna'
2865
+ }
2866
+ },
2867
+ MuiAlert: {
2868
+ defaultProps: {
2869
+ closeText: 'Lukk'
2870
+ }
2871
+ },
2872
+ MuiPagination: {
2873
+ defaultProps: {
2874
+ 'aria-label': 'Navigasjon for paginering',
2875
+ getItemAriaLabel: (type, page, selected) => {
2876
+ if (type === 'page') {
2877
+ return `${selected ? '' : 'Gå til '}side ${page}`;
2878
+ }
2879
+ if (type === 'first') {
2880
+ return 'Gå til første side';
2881
+ }
2882
+ if (type === 'last') {
2883
+ return 'Gå til siste side';
2884
+ }
2885
+ if (type === 'next') {
2886
+ return 'Gå til neste side';
2887
+ }
2888
+ // if (type === 'previous') {
2889
+ return 'Gå til førre side';
2890
+ }
2891
+ }
2892
+ }
2893
+ }
2894
+ };
2821
2895
  export const nlNL = {
2822
2896
  components: {
2823
2897
  MuiBreadcrumbs: {
@@ -157,7 +157,7 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */
157
157
  * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
158
158
  * @default 'primary'
159
159
  */
160
- color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),
160
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent', 'error', 'info', 'success', 'warning']), PropTypes.string]),
161
161
  /**
162
162
  * If true, the `color` prop is applied in dark mode.
163
163
  * @default false
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getAppBarUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiAppBar', slot);
5
5
  }
6
- const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
6
+ const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning']);
7
7
  export default appBarClasses;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
4
  import _extends from "@babel/runtime/helpers/esm/extends";
5
- const _excluded = ["children", "className", "component", "componentsProps", "max", "slotProps", "spacing", "total", "variant"];
5
+ const _excluded = ["children", "className", "component", "componentsProps", "max", "renderSurplus", "slotProps", "spacing", "total", "variant"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import { isFragment } from 'react-is';
@@ -13,6 +13,7 @@ import styled from '../styles/styled';
13
13
  import useThemeProps from '../styles/useThemeProps';
14
14
  import Avatar, { avatarClasses } from '../Avatar';
15
15
  import avatarGroupClasses, { getAvatarGroupUtilityClass } from './avatarGroupClasses';
16
+ import { jsx as _jsx } from "react/jsx-runtime";
16
17
  import { jsxs as _jsxs } from "react/jsx-runtime";
17
18
  const SPACINGS = {
18
19
  small: -16,
@@ -73,6 +74,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
73
74
  component = 'div',
74
75
  componentsProps = {},
75
76
  max = 5,
77
+ renderSurplus,
76
78
  slotProps = {},
77
79
  spacing = 'medium',
78
80
  total,
@@ -102,6 +104,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
102
104
  clampedMax = Math.min(totalAvatars + 1, clampedMax);
103
105
  const maxAvatars = Math.min(children.length, clampedMax - 1);
104
106
  const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
107
+ const extraAvatarsElement = renderSurplus ? renderSurplus(extraAvatars) : `+${extraAvatars}`;
105
108
  const marginLeft = spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing;
106
109
  const additionalAvatarSlotProps = slotProps.additionalAvatar ?? componentsProps.additionalAvatar;
107
110
  return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({
@@ -110,7 +113,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
110
113
  className: clsx(classes.root, className),
111
114
  ref: ref
112
115
  }, other, {
113
- children: [extraAvatars ? /*#__PURE__*/_jsxs(AvatarGroupAvatar, _extends({
116
+ children: [extraAvatars ? /*#__PURE__*/_jsx(AvatarGroupAvatar, _extends({
114
117
  ownerState: ownerState,
115
118
  variant: variant
116
119
  }, additionalAvatarSlotProps, {
@@ -118,7 +121,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
118
121
  style: _extends({
119
122
  marginLeft
120
123
  }, additionalAvatarSlotProps?.style),
121
- children: ["+", extraAvatars]
124
+ children: extraAvatarsElement
122
125
  })) : null, children.slice(0, maxAvatars).reverse().map((child, index) => {
123
126
  return /*#__PURE__*/React.cloneElement(child, {
124
127
  className: clsx(child.props.className, classes.avatar),
@@ -176,6 +179,12 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes /* remove-proptype
176
179
  }
177
180
  return null;
178
181
  }),
182
+ /**
183
+ * custom renderer of extraAvatars
184
+ * @param {number} surplus number of extra avatars
185
+ * @returns {React.ReactNode} custom element to display
186
+ */
187
+ renderSurplus: PropTypes.func,
179
188
  /**
180
189
  * The extra props for the slot components.
181
190
  * You can override the existing props or add new ones.
@@ -39,7 +39,7 @@ const CheckboxRoot = styled(SwitchBase, {
39
39
  const {
40
40
  ownerState
41
41
  } = props;
42
- return [styles.root, ownerState.indeterminate && styles.indeterminate, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];
42
+ return [styles.root, ownerState.indeterminate && styles.indeterminate, styles[`size${capitalize(ownerState.size)}`], ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];
43
43
  }
44
44
  })(({
45
45
  theme,
@@ -42,7 +42,7 @@ const InputLabelRoot = styled(FormLabel, {
42
42
  } = props;
43
43
  return [{
44
44
  [`& .${formLabelClasses.asterisk}`]: styles.asterisk
45
- }, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, styles[ownerState.variant]];
45
+ }, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, ownerState.focused && styles.focused, styles[ownerState.variant]];
46
46
  }
47
47
  })(({
48
48
  theme,
@@ -125,7 +125,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
125
125
  const fcs = formControlState({
126
126
  props,
127
127
  muiFormControl,
128
- states: ['size', 'variant', 'required']
128
+ states: ['size', 'variant', 'required', 'focused']
129
129
  });
130
130
  const ownerState = _extends({}, props, {
131
131
  disableAnimation,
@@ -133,7 +133,8 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
133
133
  shrink,
134
134
  size: fcs.size,
135
135
  variant: fcs.variant,
136
- required: fcs.required
136
+ required: fcs.required,
137
+ focused: fcs.focused
137
138
  });
138
139
  const classes = useUtilityClasses(ownerState);
139
140
  return /*#__PURE__*/_jsx(InputLabelRoot, _extends({
@@ -169,7 +169,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes /* remove-proptypes
169
169
  * This is important for screen reader users.
170
170
  *
171
171
  * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).
172
- * @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous'). Defaults to 'page'.
172
+ * @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous' | 'start-ellipsis' | 'end-ellipsis'). Defaults to 'page'.
173
173
  * @param {number} page The page number to format.
174
174
  * @param {bool} selected If true, the current page is selected.
175
175
  * @returns {string}
@@ -37,7 +37,7 @@ const RadioRoot = styled(SwitchBase, {
37
37
  const {
38
38
  ownerState
39
39
  } = props;
40
- return [styles.root, styles[`color${capitalize(ownerState.color)}`]];
40
+ return [styles.root, ownerState.size !== 'medium' && styles[`size${capitalize(ownerState.size)}`], styles[`color${capitalize(ownerState.color)}`]];
41
41
  }
42
42
  })(({
43
43
  theme,
@@ -501,23 +501,45 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
501
501
  updateIndicatorState();
502
502
  }
503
503
  });
504
+ let resizeObserver;
505
+
506
+ /**
507
+ * @type {MutationCallback}
508
+ */
509
+ const handleMutation = records => {
510
+ records.forEach(record => {
511
+ record.removedNodes.forEach(item => {
512
+ resizeObserver?.unobserve(item);
513
+ });
514
+ record.addedNodes.forEach(item => {
515
+ resizeObserver?.observe(item);
516
+ });
517
+ });
518
+ handleResize();
519
+ updateScrollButtonState();
520
+ };
504
521
  const win = ownerWindow(tabsRef.current);
505
522
  win.addEventListener('resize', handleResize);
506
- let resizeObserver;
523
+ let mutationObserver;
507
524
  if (typeof ResizeObserver !== 'undefined') {
508
525
  resizeObserver = new ResizeObserver(handleResize);
509
526
  Array.from(tabListRef.current.children).forEach(child => {
510
527
  resizeObserver.observe(child);
511
528
  });
512
529
  }
530
+ if (typeof MutationObserver !== 'undefined') {
531
+ mutationObserver = new MutationObserver(handleMutation);
532
+ mutationObserver.observe(tabListRef.current, {
533
+ childList: true
534
+ });
535
+ }
513
536
  return () => {
514
537
  handleResize.clear();
515
538
  win.removeEventListener('resize', handleResize);
516
- if (resizeObserver) {
517
- resizeObserver.disconnect();
518
- }
539
+ mutationObserver?.disconnect();
540
+ resizeObserver?.disconnect();
519
541
  };
520
- }, [updateIndicatorState]);
542
+ }, [updateIndicatorState, updateScrollButtonState]);
521
543
 
522
544
  /**
523
545
  * Toggle visibility of start and end scroll buttons
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getToggleButtonUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiToggleButton', slot);
5
5
  }
6
- const toggleButtonClasses = generateUtilityClasses('MuiToggleButton', ['root', 'disabled', 'selected', 'standard', 'primary', 'secondary', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
6
+ const toggleButtonClasses = generateUtilityClasses('MuiToggleButton', ['root', 'disabled', 'selected', 'standard', 'primary', 'secondary', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'fullWidth']);
7
7
  export default toggleButtonClasses;
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getToggleButtonGroupUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiToggleButtonGroup', slot);
5
5
  }
6
- const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical']);
6
+ const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth']);
7
7
  export default toggleButtonGroupClasses;
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.13
2
+ * @mui/material v5.14.15
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -138,7 +138,7 @@ export const arEG = {
138
138
  return 'انتقل إلى الصفحة التالية';
139
139
  }
140
140
  // if (type === 'previous') {
141
- return 'انتقل إلى الصفحة السابقة';
141
+ return 'انتقل إلى الصفحة السابقة';
142
142
  }
143
143
  }
144
144
  }
@@ -1849,35 +1849,37 @@ export const idID = {
1849
1849
 
1850
1850
  export const isIS = {
1851
1851
  components: {
1852
- // MuiBreadcrumbs: {
1853
- // defaultProps: {
1854
- // expandText: 'Show path',
1855
- // },
1856
- // },
1852
+ MuiBreadcrumbs: {
1853
+ defaultProps: {
1854
+ expandText: 'Sýna slóð'
1855
+ }
1856
+ },
1857
1857
  MuiTablePagination: {
1858
1858
  defaultProps: {
1859
- // getItemAriaLabel: (type) => {
1860
- // if (type === 'first') {
1861
- // return 'Go to first page';
1862
- // }
1863
- // if (type === 'last') {
1864
- // return 'Go to last page';
1865
- // }
1866
- // if (type === 'next') {
1867
- // return 'Go to next page';
1868
- // }
1869
- // // if (type === 'previous') {
1870
- // return 'Go to previous page';
1871
- // },
1872
- labelRowsPerPage: 'Raðir á síðu:'
1873
- // labelDisplayedRows: ({ from, to, count }) =>
1874
- // `${from}–${to} af ${count !== -1 ? count : `more than ${to}`}`,
1859
+ getItemAriaLabel: type => {
1860
+ if (type === 'first') {
1861
+ return 'Fara á fyrstu síðu';
1862
+ }
1863
+ if (type === 'last') {
1864
+ return 'Fara á síðustu síðu';
1865
+ }
1866
+ if (type === 'next') {
1867
+ return 'Fara á næstu síðu';
1868
+ }
1869
+ // if (type === 'previous') {
1870
+ return 'Fara á fyrri síðu';
1871
+ },
1872
+ labelRowsPerPage: 'Raðir á síðu:',
1873
+ labelDisplayedRows: ({
1874
+ from,
1875
+ to,
1876
+ count
1877
+ }) => `${from}–${to} af ${count !== -1 ? count : `fleiri enn ${to}`}`
1875
1878
  }
1876
1879
  },
1877
-
1878
1880
  MuiRating: {
1879
1881
  defaultProps: {
1880
- getLabelText: value => `${value} ${value === 1 ? 'Stjarna' : 'Stjörnur'}`,
1882
+ getLabelText: value => `${value} ${value === 1 ? 'stjarna' : 'stjörnur'}`,
1881
1883
  emptyLabelText: 'Tómt'
1882
1884
  }
1883
1885
  },
@@ -1894,31 +1896,30 @@ export const isIS = {
1894
1896
  defaultProps: {
1895
1897
  closeText: 'Loka'
1896
1898
  }
1899
+ },
1900
+ MuiPagination: {
1901
+ defaultProps: {
1902
+ 'aria-label': 'Síðuflakk',
1903
+ getItemAriaLabel: (type, page, selected) => {
1904
+ if (type === 'page') {
1905
+ return `${selected ? 'Síða' : 'Fara á síðu'} ${page}`;
1906
+ }
1907
+ if (type === 'first') {
1908
+ return 'Fara á fyrstu síðu';
1909
+ }
1910
+ if (type === 'last') {
1911
+ return 'Fara á síðustu síðu';
1912
+ }
1913
+ if (type === 'next') {
1914
+ return 'Fara á næstu síðu';
1915
+ }
1916
+ // if (type === 'previous') {
1917
+ return 'Fara á fyrri síðu';
1918
+ }
1919
+ }
1897
1920
  }
1898
- // MuiPagination: {
1899
- // defaultProps: {
1900
- // 'aria-label': 'Pagination navigation',
1901
- // getItemAriaLabel: (type, page, selected) => {
1902
- // if (type === 'page') {
1903
- // return `${selected ? '' : 'Go to '}page ${page}`;
1904
- // }
1905
- // if (type === 'first') {
1906
- // return 'Go to first page';
1907
- // }
1908
- // if (type === 'last') {
1909
- // return 'Go to last page';
1910
- // }
1911
- // if (type === 'next') {
1912
- // return 'Go to next page';
1913
- // }
1914
- // // if (type === 'previous') {
1915
- // return 'Go to previous page';
1916
- // },
1917
- // },
1918
- // },
1919
1921
  }
1920
1922
  };
1921
-
1922
1923
  export const itIT = {
1923
1924
  components: {
1924
1925
  MuiBreadcrumbs: {
@@ -2818,6 +2819,79 @@ export const nbNO = {
2818
2819
  }
2819
2820
  }
2820
2821
  };
2822
+ export const nnNO = {
2823
+ components: {
2824
+ MuiBreadcrumbs: {
2825
+ defaultProps: {
2826
+ expandText: 'Vis sti'
2827
+ }
2828
+ },
2829
+ MuiTablePagination: {
2830
+ defaultProps: {
2831
+ getItemAriaLabel: type => {
2832
+ if (type === 'first') {
2833
+ return 'Gå til første side';
2834
+ }
2835
+ if (type === 'last') {
2836
+ return 'Gå til siste side';
2837
+ }
2838
+ if (type === 'next') {
2839
+ return 'Gå til neste side';
2840
+ }
2841
+ // if (type === 'previous') {
2842
+ return 'Gå til førre side';
2843
+ },
2844
+ labelRowsPerPage: 'Rader per side:',
2845
+ labelDisplayedRows: ({
2846
+ from,
2847
+ to,
2848
+ count
2849
+ }) => `${from}–${to} av ${count !== -1 ? count : `fleire enn ${to}`}`
2850
+ }
2851
+ },
2852
+ MuiRating: {
2853
+ defaultProps: {
2854
+ getLabelText: value => `${value} stjerne${value !== 1 ? 'r' : ''}`,
2855
+ emptyLabelText: 'Tom'
2856
+ }
2857
+ },
2858
+ MuiAutocomplete: {
2859
+ defaultProps: {
2860
+ clearText: 'Tøm',
2861
+ closeText: 'Lukk',
2862
+ loadingText: 'Lastar inn…',
2863
+ noOptionsText: 'Ingen alternativ',
2864
+ openText: 'Opna'
2865
+ }
2866
+ },
2867
+ MuiAlert: {
2868
+ defaultProps: {
2869
+ closeText: 'Lukk'
2870
+ }
2871
+ },
2872
+ MuiPagination: {
2873
+ defaultProps: {
2874
+ 'aria-label': 'Navigasjon for paginering',
2875
+ getItemAriaLabel: (type, page, selected) => {
2876
+ if (type === 'page') {
2877
+ return `${selected ? '' : 'Gå til '}side ${page}`;
2878
+ }
2879
+ if (type === 'first') {
2880
+ return 'Gå til første side';
2881
+ }
2882
+ if (type === 'last') {
2883
+ return 'Gå til siste side';
2884
+ }
2885
+ if (type === 'next') {
2886
+ return 'Gå til neste side';
2887
+ }
2888
+ // if (type === 'previous') {
2889
+ return 'Gå til førre side';
2890
+ }
2891
+ }
2892
+ }
2893
+ }
2894
+ };
2821
2895
  export const nlNL = {
2822
2896
  components: {
2823
2897
  MuiBreadcrumbs: {
@@ -23,8 +23,8 @@ var _useControlled = _interopRequireDefault(require("../utils/useControlled"));
23
23
  var _accordionClasses = _interopRequireWildcard(require("./accordionClasses"));
24
24
  var _jsxRuntime = require("react/jsx-runtime");
25
25
  const _excluded = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
26
- 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); }
27
- 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; }
26
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
27
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
28
28
  const useUtilityClasses = ownerState => {
29
29
  const {
30
30
  classes,
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var React = _interopRequireWildcard(require("react"));
9
- 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); }
10
- 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; }
9
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
10
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
11
  /**
12
12
  * @ignore - internal component.
13
13
  * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}