@mui/material 5.5.0 → 5.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/Accordion/accordionClasses.d.ts +18 -18
  2. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  3. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  4. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  5. package/Alert/alertClasses.d.ts +44 -44
  6. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  7. package/AppBar/appBarClasses.d.ts +28 -28
  8. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  9. package/Avatar/avatarClasses.d.ts +20 -20
  10. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  11. package/BottomNavigation/BottomNavigation.js +0 -0
  12. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  13. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  14. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  15. package/Button/buttonClasses.d.ts +76 -76
  16. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  17. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  18. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  19. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  20. package/CHANGELOG.md +65 -0
  21. package/Card/cardClasses.d.ts +8 -8
  22. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  23. package/CardActions/cardActionsClasses.d.ts +10 -10
  24. package/CardContent/cardContentClasses.d.ts +8 -8
  25. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  26. package/CardMedia/cardMediaClasses.d.ts +12 -12
  27. package/Checkbox/checkboxClasses.d.ts +18 -18
  28. package/Chip/chipClasses.d.ts +80 -80
  29. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  30. package/ClickAwayListener/index.d.ts +2 -2
  31. package/Collapse/collapseClasses.d.ts +18 -18
  32. package/Container/containerClasses.d.ts +22 -22
  33. package/Dialog/DialogContext.d.ts +6 -6
  34. package/Dialog/dialogClasses.d.ts +36 -36
  35. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  36. package/DialogContent/dialogContentClasses.d.ts +10 -10
  37. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  38. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  39. package/Divider/dividerClasses.d.ts +34 -34
  40. package/Drawer/drawerClasses.d.ts +30 -30
  41. package/Fab/Fab.js +1 -0
  42. package/Fab/fabClasses.d.ts +26 -26
  43. package/FilledInput/FilledInput.js +1 -1
  44. package/FilledInput/filledInputClasses.d.ts +40 -40
  45. package/FormControl/formControlClasses.d.ts +14 -14
  46. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  47. package/FormGroup/formGroupClasses.d.ts +12 -12
  48. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  49. package/FormLabel/formLabelClasses.d.ts +22 -22
  50. package/Grid/Grid.js +10 -14
  51. package/Grid/gridClasses.d.ts +48 -48
  52. package/Icon/iconClasses.d.ts +24 -24
  53. package/IconButton/iconButtonClasses.d.ts +26 -26
  54. package/ImageList/imageListClasses.d.ts +16 -16
  55. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  56. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  57. package/Input/Input.js +1 -1
  58. package/Input/inputClasses.d.ts +34 -34
  59. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  60. package/InputBase/InputBase.d.ts +1 -1
  61. package/InputBase/InputBase.js +1 -1
  62. package/InputBase/inputBaseClasses.d.ts +44 -44
  63. package/InputLabel/inputLabelClasses.d.ts +32 -32
  64. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  65. package/Link/linkClasses.d.ts +18 -18
  66. package/List/listClasses.d.ts +14 -14
  67. package/ListItem/listItemClasses.d.ts +30 -30
  68. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  69. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  70. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  71. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  72. package/ListItemText/listItemTextClasses.d.ts +18 -18
  73. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  74. package/Menu/menuClasses.d.ts +12 -12
  75. package/MenuItem/menuItemClasses.d.ts +20 -20
  76. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  77. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  78. package/OutlinedInput/NotchedOutline.js +3 -1
  79. package/OutlinedInput/OutlinedInput.js +1 -1
  80. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  81. package/Pagination/paginationClasses.d.ts +14 -14
  82. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  83. package/Paper/paperClasses.d.ts +39 -39
  84. package/Popover/popoverClasses.d.ts +10 -10
  85. package/Popper/Popper.d.ts +17 -17
  86. package/Popper/Popper.js +6 -1
  87. package/README.md +1 -0
  88. package/Radio/radioClasses.d.ts +16 -16
  89. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  90. package/RadioGroup/useRadioGroup.d.ts +4 -4
  91. package/Rating/ratingClasses.d.ts +40 -40
  92. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  93. package/Select/selectClasses.d.ts +30 -30
  94. package/Skeleton/skeletonClasses.d.ts +24 -24
  95. package/Snackbar/Snackbar.js +1 -1
  96. package/Snackbar/snackbarClasses.d.ts +20 -20
  97. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  98. package/SpeedDial/speedDialClasses.d.ts +22 -22
  99. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  100. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  101. package/Step/StepContext.d.ts +20 -20
  102. package/Step/stepClasses.d.ts +16 -16
  103. package/StepButton/stepButtonClasses.d.ts +14 -14
  104. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  105. package/StepContent/stepContentClasses.d.ts +12 -12
  106. package/StepIcon/stepIconClasses.d.ts +16 -16
  107. package/StepLabel/stepLabelClasses.d.ts +28 -28
  108. package/Stepper/stepperClasses.d.ts +14 -14
  109. package/SvgIcon/svgIconClasses.d.ts +24 -24
  110. package/Switch/switchClasses.d.ts +32 -32
  111. package/Tab/tabClasses.d.ts +26 -26
  112. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  113. package/Table/tableClasses.d.ts +10 -10
  114. package/TableBody/tableBodyClasses.d.ts +8 -8
  115. package/TableCell/tableCellClasses.d.ts +32 -32
  116. package/TableContainer/tableContainerClasses.d.ts +8 -8
  117. package/TableFooter/tableFooterClasses.d.ts +8 -8
  118. package/TableHead/tableHeadClasses.d.ts +8 -8
  119. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  120. package/TableRow/tableRowClasses.d.ts +16 -16
  121. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  122. package/Tabs/tabsClasses.d.ts +32 -32
  123. package/TextField/textFieldClasses.d.ts +8 -8
  124. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  125. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  126. package/Toolbar/toolbarClasses.d.ts +14 -14
  127. package/Tooltip/tooltipClasses.d.ts +30 -30
  128. package/Typography/typographyClasses.d.ts +50 -50
  129. package/className/index.d.ts +8 -8
  130. package/darkScrollbar/index.d.ts +28 -28
  131. package/index.js +1 -1
  132. package/internal/switchBaseClasses.d.ts +12 -12
  133. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  134. package/legacy/Fab/Fab.js +1 -0
  135. package/legacy/FilledInput/FilledInput.js +1 -1
  136. package/legacy/Grid/Grid.js +11 -17
  137. package/legacy/Input/Input.js +1 -1
  138. package/legacy/InputBase/InputBase.js +1 -1
  139. package/legacy/OutlinedInput/NotchedOutline.js +3 -1
  140. package/legacy/OutlinedInput/OutlinedInput.js +1 -1
  141. package/legacy/Popper/Popper.js +6 -1
  142. package/legacy/Snackbar/Snackbar.js +1 -1
  143. package/legacy/index.js +1 -1
  144. package/legacy/locale/index.js +149 -64
  145. package/legacy/styles/zIndex.js +1 -0
  146. package/locale/index.d.ts +71 -70
  147. package/locale/index.js +84 -0
  148. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  149. package/modern/Fab/Fab.js +1 -0
  150. package/modern/FilledInput/FilledInput.js +1 -1
  151. package/modern/Grid/Grid.js +10 -14
  152. package/modern/Input/Input.js +1 -1
  153. package/modern/InputBase/InputBase.js +1 -1
  154. package/modern/OutlinedInput/NotchedOutline.js +3 -1
  155. package/modern/OutlinedInput/OutlinedInput.js +1 -1
  156. package/modern/Popper/Popper.js +6 -1
  157. package/modern/Snackbar/Snackbar.js +1 -1
  158. package/modern/index.js +1 -1
  159. package/modern/locale/index.js +84 -0
  160. package/modern/styles/zIndex.js +1 -0
  161. package/node/BottomNavigation/BottomNavigation.js +0 -0
  162. package/node/Fab/Fab.js +1 -0
  163. package/node/FilledInput/FilledInput.js +1 -1
  164. package/node/Grid/Grid.js +10 -14
  165. package/node/Input/Input.js +1 -1
  166. package/node/InputBase/InputBase.js +1 -1
  167. package/node/OutlinedInput/NotchedOutline.js +3 -1
  168. package/node/OutlinedInput/OutlinedInput.js +1 -1
  169. package/node/Popper/Popper.js +7 -1
  170. package/node/Snackbar/Snackbar.js +1 -1
  171. package/node/index.js +1 -1
  172. package/node/locale/index.js +87 -2
  173. package/node/styles/zIndex.js +1 -0
  174. package/package.json +4 -4
  175. package/styles/components.d.ts +3 -0
  176. package/styles/props.d.ts +2 -0
  177. package/styles/zIndex.d.ts +1 -0
  178. package/styles/zIndex.js +1 -0
  179. package/transitions/index.d.ts +1 -1
  180. package/transitions/transition.d.ts +13 -13
  181. package/transitions/utils.d.ts +23 -23
  182. package/umd/material-ui.development.js +39 -30
  183. package/umd/material-ui.production.min.js +6 -6
  184. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  185. package/usePagination/usePagination.d.ts +1 -1
  186. package/useTouchRipple/index.d.ts +1 -1
  187. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  188. package/utils/getScrollbarSize.d.ts +2 -2
  189. package/utils/ownerDocument.d.ts +2 -2
  190. package/utils/ownerWindow.d.ts +2 -2
  191. package/utils/setRef.d.ts +2 -2
package/locale/index.d.ts CHANGED
@@ -1,70 +1,71 @@
1
- import { ComponentsPropsList } from '../styles/props';
2
- export interface Localization {
3
- components?: {
4
- MuiAlert?: {
5
- defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
6
- };
7
- MuiBreadcrumbs?: {
8
- defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'>;
9
- };
10
- MuiTablePagination?: {
11
- defaultProps: Pick<ComponentsPropsList['MuiTablePagination'], 'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'>;
12
- };
13
- MuiRating?: {
14
- defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
15
- };
16
- MuiAutocomplete?: {
17
- defaultProps: Pick<ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'>;
18
- };
19
- MuiPagination?: {
20
- defaultProps: Pick<ComponentsPropsList['MuiPagination'], 'aria-label' | 'getItemAriaLabel'>;
21
- };
22
- };
23
- }
24
- export declare const amET: Localization;
25
- export declare const arEG: Localization;
26
- export declare const arSD: Localization;
27
- export declare const azAZ: Localization;
28
- export declare const bnBD: Localization;
29
- export declare const bgBG: Localization;
30
- export declare const caES: Localization;
31
- export declare const csCZ: Localization;
32
- export declare const daDK: Localization;
33
- export declare const deDE: Localization;
34
- export declare const elGR: Localization;
35
- export declare const enUS: Localization;
36
- export declare const esES: Localization;
37
- export declare const etEE: Localization;
38
- export declare const faIR: Localization;
39
- export declare const fiFI: Localization;
40
- export declare const frFR: Localization;
41
- export declare const heIL: Localization;
42
- export declare const hiIN: Localization;
43
- export declare const hrHR: Localization;
44
- export declare const huHU: Localization;
45
- export declare const hyAM: Localization;
46
- export declare const idID: Localization;
47
- export declare const isIS: Localization;
48
- export declare const itIT: Localization;
49
- export declare const jaJP: Localization;
50
- export declare const khKH: Localization;
51
- export declare const koKR: Localization;
52
- export declare const kzKZ: Localization;
53
- export declare const nbNO: Localization;
54
- export declare const nlNL: Localization;
55
- export declare const plPL: Localization;
56
- export declare const ptBR: Localization;
57
- export declare const ptPT: Localization;
58
- export declare const roRO: Localization;
59
- export declare const srRS: Localization;
60
- export declare const ruRU: Localization;
61
- export declare const siLK: Localization;
62
- export declare const skSK: Localization;
63
- export declare const svSE: Localization;
64
- export declare const thTH: Localization;
65
- export declare const trTR: Localization;
66
- export declare const ukUA: Localization;
67
- export declare const viVN: Localization;
68
- export declare const zhCN: Localization;
69
- export declare const zhHK: Localization;
70
- export declare const zhTW: Localization;
1
+ import { ComponentsPropsList } from '../styles/props';
2
+ export interface Localization {
3
+ components?: {
4
+ MuiAlert?: {
5
+ defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
6
+ };
7
+ MuiBreadcrumbs?: {
8
+ defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'>;
9
+ };
10
+ MuiTablePagination?: {
11
+ defaultProps: Pick<ComponentsPropsList['MuiTablePagination'], 'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'>;
12
+ };
13
+ MuiRating?: {
14
+ defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
15
+ };
16
+ MuiAutocomplete?: {
17
+ defaultProps: Pick<ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'>;
18
+ };
19
+ MuiPagination?: {
20
+ defaultProps: Pick<ComponentsPropsList['MuiPagination'], 'aria-label' | 'getItemAriaLabel'>;
21
+ };
22
+ };
23
+ }
24
+ export declare const amET: Localization;
25
+ export declare const arEG: Localization;
26
+ export declare const arSD: Localization;
27
+ export declare const azAZ: Localization;
28
+ export declare const bnBD: Localization;
29
+ export declare const bgBG: Localization;
30
+ export declare const caES: Localization;
31
+ export declare const csCZ: Localization;
32
+ export declare const daDK: Localization;
33
+ export declare const deDE: Localization;
34
+ export declare const elGR: Localization;
35
+ export declare const enUS: Localization;
36
+ export declare const esES: Localization;
37
+ export declare const etEE: Localization;
38
+ export declare const faIR: Localization;
39
+ export declare const fiFI: Localization;
40
+ export declare const frFR: Localization;
41
+ export declare const heIL: Localization;
42
+ export declare const hiIN: Localization;
43
+ export declare const hrHR: Localization;
44
+ export declare const huHU: Localization;
45
+ export declare const hyAM: Localization;
46
+ export declare const idID: Localization;
47
+ export declare const isIS: Localization;
48
+ export declare const itIT: Localization;
49
+ export declare const jaJP: Localization;
50
+ export declare const khKH: Localization;
51
+ export declare const koKR: Localization;
52
+ export declare const kzKZ: Localization;
53
+ export declare const mkMK: Localization;
54
+ export declare const nbNO: Localization;
55
+ export declare const nlNL: Localization;
56
+ export declare const plPL: Localization;
57
+ export declare const ptBR: Localization;
58
+ export declare const ptPT: Localization;
59
+ export declare const roRO: Localization;
60
+ export declare const srRS: Localization;
61
+ export declare const ruRU: Localization;
62
+ export declare const siLK: Localization;
63
+ export declare const skSK: Localization;
64
+ export declare const svSE: Localization;
65
+ export declare const thTH: Localization;
66
+ export declare const trTR: Localization;
67
+ export declare const ukUA: Localization;
68
+ export declare const viVN: Localization;
69
+ export declare const zhCN: Localization;
70
+ export declare const zhHK: Localization;
71
+ export declare const zhTW: Localization;
package/locale/index.js CHANGED
@@ -2281,6 +2281,90 @@ export const kzKZ = {
2281
2281
  }
2282
2282
  }
2283
2283
  }
2284
+ }; // Macedonian - Македонски
2285
+
2286
+ export const mkMK = {
2287
+ components: {
2288
+ MuiBreadcrumbs: {
2289
+ defaultProps: {
2290
+ expandText: 'Прикажи патека'
2291
+ }
2292
+ },
2293
+ MuiTablePagination: {
2294
+ defaultProps: {
2295
+ getItemAriaLabel: type => {
2296
+ if (type === 'first') {
2297
+ return 'Оди на прва страница';
2298
+ }
2299
+
2300
+ if (type === 'last') {
2301
+ return 'Оди на последна страница';
2302
+ }
2303
+
2304
+ if (type === 'next') {
2305
+ return 'Оди на следна страница';
2306
+ } // if (type === 'previous') {
2307
+
2308
+
2309
+ return 'Оди на предходна страница';
2310
+ },
2311
+ labelRowsPerPage: 'Редови по страница:',
2312
+ labelDisplayedRows: ({
2313
+ from,
2314
+ to,
2315
+ count
2316
+ }) => `${from}–${to} од ${count !== -1 ? count : `повеќе од ${to}`}`
2317
+ }
2318
+ },
2319
+ MuiRating: {
2320
+ defaultProps: {
2321
+ getLabelText: value => {
2322
+ const lastDigit = value % 10;
2323
+ return `${value} Ѕвезд${lastDigit === 1 ? 'а' : 'и'}`;
2324
+ },
2325
+ emptyLabelText: 'Празно'
2326
+ }
2327
+ },
2328
+ MuiAutocomplete: {
2329
+ defaultProps: {
2330
+ clearText: 'Избриши',
2331
+ closeText: 'Затвори',
2332
+ loadingText: 'Се презема',
2333
+ noOptionsText: 'Нема опција',
2334
+ openText: 'Отвори'
2335
+ }
2336
+ },
2337
+ MuiAlert: {
2338
+ defaultProps: {
2339
+ closeText: 'Затвори'
2340
+ }
2341
+ },
2342
+ MuiPagination: {
2343
+ defaultProps: {
2344
+ 'aria-label': 'Навигација низ страници',
2345
+ getItemAriaLabel: (type, page, selected) => {
2346
+ if (type === 'page') {
2347
+ return `${selected ? '' : 'Оди на '}страница ${page}`;
2348
+ }
2349
+
2350
+ if (type === 'first') {
2351
+ return 'Оди на прва страница';
2352
+ }
2353
+
2354
+ if (type === 'last') {
2355
+ return 'Оди на последна страница';
2356
+ }
2357
+
2358
+ if (type === 'next') {
2359
+ return 'Оди на следна страница';
2360
+ } // if (type === 'previous') {
2361
+
2362
+
2363
+ return 'Оди на предходна страница';
2364
+ }
2365
+ }
2366
+ }
2367
+ }
2284
2368
  };
2285
2369
  export const nbNO = {
2286
2370
  components: {
File without changes
package/modern/Fab/Fab.js CHANGED
@@ -47,6 +47,7 @@ const FabRoot = styled(ButtonBase, {
47
47
  minWidth: 0,
48
48
  width: 56,
49
49
  height: 56,
50
+ zIndex: theme.zIndex.fab,
50
51
  boxShadow: theme.shadows[6],
51
52
  '&:active': {
52
53
  boxShadow: theme.shadows[12]
@@ -344,7 +344,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
344
344
  minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
345
345
 
346
346
  /**
347
- * If `true`, a `textarea` element is rendered.
347
+ * If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
348
348
  * @default false
349
349
  */
350
350
  multiline: PropTypes.bool,
@@ -314,10 +314,9 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
314
314
 
315
315
  const rowSpacing = rowSpacingProp || spacing;
316
316
  const columnSpacing = columnSpacingProp || spacing;
317
- const columnsContext = React.useContext(GridContext); // setting prop before context to accomodate nesting
318
- // colums set with default breakpoint unit of 12
317
+ const columnsContext = React.useContext(GridContext); // columns set with default breakpoint unit of 12
319
318
 
320
- const columns = columnsProp || columnsContext || 12;
319
+ const columns = container ? columnsProp || 12 : columnsContext;
321
320
 
322
321
  const ownerState = _extends({}, props, {
323
322
  columns,
@@ -336,18 +335,15 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
336
335
  });
337
336
 
338
337
  const classes = useUtilityClasses(ownerState);
339
-
340
- const wrapChild = element => columns !== 12 ? /*#__PURE__*/_jsx(GridContext.Provider, {
338
+ return /*#__PURE__*/_jsx(GridContext.Provider, {
341
339
  value: columns,
342
- children: element
343
- }) : element;
344
-
345
- return wrapChild( /*#__PURE__*/_jsx(GridRoot, _extends({
346
- ownerState: ownerState,
347
- className: clsx(classes.root, className),
348
- as: component,
349
- ref: ref
350
- }, other)));
340
+ children: /*#__PURE__*/_jsx(GridRoot, _extends({
341
+ ownerState: ownerState,
342
+ className: clsx(classes.root, className),
343
+ as: component,
344
+ ref: ref
345
+ }, other))
346
+ });
351
347
  });
352
348
  process.env.NODE_ENV !== "production" ? Grid.propTypes
353
349
  /* remove-proptypes */
@@ -271,7 +271,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
271
271
  minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
272
272
 
273
273
  /**
274
- * If `true`, a `textarea` element is rendered.
274
+ * If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
275
275
  * @default false
276
276
  */
277
277
  multiline: PropTypes.bool,
@@ -633,7 +633,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
633
633
  minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
634
634
 
635
635
  /**
636
- * If `true`, a `textarea` element is rendered.
636
+ * If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
637
637
  * @default false
638
638
  */
639
639
  multiline: PropTypes.bool,
@@ -58,7 +58,9 @@ const NotchedOutlineLegend = styled('legend')(({
58
58
  '& > span': {
59
59
  paddingLeft: 5,
60
60
  paddingRight: 5,
61
- display: 'inline-block'
61
+ display: 'inline-block',
62
+ opacity: 0,
63
+ visibility: 'visible'
62
64
  }
63
65
  }, ownerState.notched && {
64
66
  maxWidth: '100%',
@@ -270,7 +270,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
270
270
  minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
271
271
 
272
272
  /**
273
- * If `true`, a `textarea` element is rendered.
273
+ * If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
274
274
  * @default false
275
275
  */
276
276
  multiline: PropTypes.bool,
@@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
4
4
  import PopperUnstyled from '@mui/base/PopperUnstyled';
5
5
  import { HTMLElementType, refType } from '@mui/utils';
6
6
  import { useThemeWithoutDefault as useTheme } from '@mui/system';
7
+ import useThemeProps from '../styles/useThemeProps';
7
8
  import { jsx as _jsx } from "react/jsx-runtime";
8
9
 
9
10
  /**
@@ -18,8 +19,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
19
  *
19
20
  * - [Popper API](https://mui.com/api/popper/)
20
21
  */
21
- const Popper = /*#__PURE__*/React.forwardRef(function Popper(props, ref) {
22
+ const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
22
23
  const theme = useTheme();
24
+ const props = useThemeProps({
25
+ props: inProps,
26
+ name: 'MuiPopper'
27
+ });
23
28
  return /*#__PURE__*/_jsx(PopperUnstyled, _extends({
24
29
  direction: theme?.direction
25
30
  }, props, {
@@ -291,7 +291,7 @@ const Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
291
291
  onMouseLeave: handleMouseLeave,
292
292
  ownerState: ownerState,
293
293
  ref: ref // ClickAwayListener adds an `onClick` prop which results in the alert not being announced.
294
- // See https://github.com/mui-org/material-ui/issues/29080
294
+ // See https://github.com/mui/material-ui/issues/29080
295
295
  ,
296
296
  role: "presentation"
297
297
  }, other, {
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.5.0
1
+ /** @license MUI v5.5.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -2281,6 +2281,90 @@ export const kzKZ = {
2281
2281
  }
2282
2282
  }
2283
2283
  }
2284
+ }; // Macedonian - Македонски
2285
+
2286
+ export const mkMK = {
2287
+ components: {
2288
+ MuiBreadcrumbs: {
2289
+ defaultProps: {
2290
+ expandText: 'Прикажи патека'
2291
+ }
2292
+ },
2293
+ MuiTablePagination: {
2294
+ defaultProps: {
2295
+ getItemAriaLabel: type => {
2296
+ if (type === 'first') {
2297
+ return 'Оди на прва страница';
2298
+ }
2299
+
2300
+ if (type === 'last') {
2301
+ return 'Оди на последна страница';
2302
+ }
2303
+
2304
+ if (type === 'next') {
2305
+ return 'Оди на следна страница';
2306
+ } // if (type === 'previous') {
2307
+
2308
+
2309
+ return 'Оди на предходна страница';
2310
+ },
2311
+ labelRowsPerPage: 'Редови по страница:',
2312
+ labelDisplayedRows: ({
2313
+ from,
2314
+ to,
2315
+ count
2316
+ }) => `${from}–${to} од ${count !== -1 ? count : `повеќе од ${to}`}`
2317
+ }
2318
+ },
2319
+ MuiRating: {
2320
+ defaultProps: {
2321
+ getLabelText: value => {
2322
+ const lastDigit = value % 10;
2323
+ return `${value} Ѕвезд${lastDigit === 1 ? 'а' : 'и'}`;
2324
+ },
2325
+ emptyLabelText: 'Празно'
2326
+ }
2327
+ },
2328
+ MuiAutocomplete: {
2329
+ defaultProps: {
2330
+ clearText: 'Избриши',
2331
+ closeText: 'Затвори',
2332
+ loadingText: 'Се презема',
2333
+ noOptionsText: 'Нема опција',
2334
+ openText: 'Отвори'
2335
+ }
2336
+ },
2337
+ MuiAlert: {
2338
+ defaultProps: {
2339
+ closeText: 'Затвори'
2340
+ }
2341
+ },
2342
+ MuiPagination: {
2343
+ defaultProps: {
2344
+ 'aria-label': 'Навигација низ страници',
2345
+ getItemAriaLabel: (type, page, selected) => {
2346
+ if (type === 'page') {
2347
+ return `${selected ? '' : 'Оди на '}страница ${page}`;
2348
+ }
2349
+
2350
+ if (type === 'first') {
2351
+ return 'Оди на прва страница';
2352
+ }
2353
+
2354
+ if (type === 'last') {
2355
+ return 'Оди на последна страница';
2356
+ }
2357
+
2358
+ if (type === 'next') {
2359
+ return 'Оди на следна страница';
2360
+ } // if (type === 'previous') {
2361
+
2362
+
2363
+ return 'Оди на предходна страница';
2364
+ }
2365
+ }
2366
+ }
2367
+ }
2284
2368
  };
2285
2369
  export const nbNO = {
2286
2370
  components: {
@@ -2,6 +2,7 @@
2
2
  // like global values in the browser.
3
3
  const zIndex = {
4
4
  mobileStepper: 1000,
5
+ fab: 1050,
5
6
  speedDial: 1050,
6
7
  appBar: 1100,
7
8
  drawer: 1200,
File without changes
package/node/Fab/Fab.js CHANGED
@@ -72,6 +72,7 @@ const FabRoot = (0, _styled.default)(_ButtonBase.default, {
72
72
  minWidth: 0,
73
73
  width: 56,
74
74
  height: 56,
75
+ zIndex: theme.zIndex.fab,
75
76
  boxShadow: theme.shadows[6],
76
77
  '&:active': {
77
78
  boxShadow: theme.shadows[12]
@@ -366,7 +366,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
366
366
  minRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
367
367
 
368
368
  /**
369
- * If `true`, a `textarea` element is rendered.
369
+ * If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
370
370
  * @default false
371
371
  */
372
372
  multiline: _propTypes.default.bool,
package/node/Grid/Grid.js CHANGED
@@ -338,10 +338,9 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
338
338
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
339
339
  const rowSpacing = rowSpacingProp || spacing;
340
340
  const columnSpacing = columnSpacingProp || spacing;
341
- const columnsContext = React.useContext(_GridContext.default); // setting prop before context to accomodate nesting
342
- // colums set with default breakpoint unit of 12
341
+ const columnsContext = React.useContext(_GridContext.default); // columns set with default breakpoint unit of 12
343
342
 
344
- const columns = columnsProp || columnsContext || 12;
343
+ const columns = container ? columnsProp || 12 : columnsContext;
345
344
  const ownerState = (0, _extends2.default)({}, props, {
346
345
  columns,
347
346
  container,
@@ -358,18 +357,15 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
358
357
  zeroMinWidth
359
358
  });
360
359
  const classes = useUtilityClasses(ownerState);
361
-
362
- const wrapChild = element => columns !== 12 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridContext.default.Provider, {
360
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridContext.default.Provider, {
363
361
  value: columns,
364
- children: element
365
- }) : element;
366
-
367
- return wrapChild( /*#__PURE__*/(0, _jsxRuntime.jsx)(GridRoot, (0, _extends2.default)({
368
- ownerState: ownerState,
369
- className: (0, _clsx.default)(classes.root, className),
370
- as: component,
371
- ref: ref
372
- }, other)));
362
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(GridRoot, (0, _extends2.default)({
363
+ ownerState: ownerState,
364
+ className: (0, _clsx.default)(classes.root, className),
365
+ as: component,
366
+ ref: ref
367
+ }, other))
368
+ });
373
369
  });
374
370
  process.env.NODE_ENV !== "production" ? Grid.propTypes
375
371
  /* remove-proptypes */
@@ -294,7 +294,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
294
294
  minRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
295
295
 
296
296
  /**
297
- * If `true`, a `textarea` element is rendered.
297
+ * If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
298
298
  * @default false
299
299
  */
300
300
  multiline: _propTypes.default.bool,
@@ -665,7 +665,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
665
665
  minRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
666
666
 
667
667
  /**
668
- * If `true`, a `textarea` element is rendered.
668
+ * If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
669
669
  * @default false
670
670
  */
671
671
  multiline: _propTypes.default.bool,
@@ -77,7 +77,9 @@ const NotchedOutlineLegend = (0, _styled.default)('legend')(({
77
77
  '& > span': {
78
78
  paddingLeft: 5,
79
79
  paddingRight: 5,
80
- display: 'inline-block'
80
+ display: 'inline-block',
81
+ opacity: 0,
82
+ visibility: 'visible'
81
83
  }
82
84
  }, ownerState.notched && {
83
85
  maxWidth: '100%',
@@ -294,7 +294,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
294
294
  minRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
295
295
 
296
296
  /**
297
- * If `true`, a `textarea` element is rendered.
297
+ * If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
298
298
  * @default false
299
299
  */
300
300
  multiline: _propTypes.default.bool,
@@ -19,6 +19,8 @@ var _utils = require("@mui/utils");
19
19
 
20
20
  var _system = require("@mui/system");
21
21
 
22
+ var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
23
+
22
24
  var _jsxRuntime = require("react/jsx-runtime");
23
25
 
24
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); }
@@ -37,8 +39,12 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
37
39
  *
38
40
  * - [Popper API](https://mui.com/api/popper/)
39
41
  */
40
- const Popper = /*#__PURE__*/React.forwardRef(function Popper(props, ref) {
42
+ const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
41
43
  const theme = (0, _system.useThemeWithoutDefault)();
44
+ const props = (0, _useThemeProps.default)({
45
+ props: inProps,
46
+ name: 'MuiPopper'
47
+ });
42
48
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PopperUnstyled.default, (0, _extends2.default)({
43
49
  direction: theme == null ? void 0 : theme.direction
44
50
  }, props, {
@@ -315,7 +315,7 @@ const Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
315
315
  onMouseLeave: handleMouseLeave,
316
316
  ownerState: ownerState,
317
317
  ref: ref // ClickAwayListener adds an `onClick` prop which results in the alert not being announced.
318
- // See https://github.com/mui-org/material-ui/issues/29080
318
+ // See https://github.com/mui/material-ui/issues/29080
319
319
  ,
320
320
  role: "presentation"
321
321
  }, other, {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.5.0
1
+ /** @license MUI v5.5.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.