@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.
- package/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +76 -76
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +65 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +22 -22
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/Fab.js +1 -0
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +1 -1
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/Grid.js +10 -14
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +1 -1
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +1 -1
- package/InputBase/InputBase.js +1 -1
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/NotchedOutline.js +3 -1
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +17 -17
- package/Popper/Popper.js +6 -1
- package/README.md +1 -0
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Snackbar/Snackbar.js +1 -1
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/className/index.d.ts +8 -8
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Fab/Fab.js +1 -0
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/Grid/Grid.js +11 -17
- package/legacy/Input/Input.js +1 -1
- package/legacy/InputBase/InputBase.js +1 -1
- package/legacy/OutlinedInput/NotchedOutline.js +3 -1
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/Popper/Popper.js +6 -1
- package/legacy/Snackbar/Snackbar.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +149 -64
- package/legacy/styles/zIndex.js +1 -0
- package/locale/index.d.ts +71 -70
- package/locale/index.js +84 -0
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Fab/Fab.js +1 -0
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/Grid/Grid.js +10 -14
- package/modern/Input/Input.js +1 -1
- package/modern/InputBase/InputBase.js +1 -1
- package/modern/OutlinedInput/NotchedOutline.js +3 -1
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Popper/Popper.js +6 -1
- package/modern/Snackbar/Snackbar.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +84 -0
- package/modern/styles/zIndex.js +1 -0
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Fab/Fab.js +1 -0
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/Grid/Grid.js +10 -14
- package/node/Input/Input.js +1 -1
- package/node/InputBase/InputBase.js +1 -1
- package/node/OutlinedInput/NotchedOutline.js +3 -1
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/Popper/Popper.js +7 -1
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +87 -2
- package/node/styles/zIndex.js +1 -0
- package/package.json +4 -4
- package/styles/components.d.ts +3 -0
- package/styles/props.d.ts +2 -0
- package/styles/zIndex.d.ts +1 -0
- package/styles/zIndex.js +1 -0
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +39 -30
- package/umd/material-ui.production.min.js +6 -6
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/usePagination/usePagination.d.ts +1 -1
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- 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
|
|
54
|
-
export declare const
|
|
55
|
-
export declare const
|
|
56
|
-
export declare const
|
|
57
|
-
export declare const
|
|
58
|
-
export declare const
|
|
59
|
-
export declare const
|
|
60
|
-
export declare const
|
|
61
|
-
export declare const
|
|
62
|
-
export declare const
|
|
63
|
-
export declare const
|
|
64
|
-
export declare const
|
|
65
|
-
export declare const
|
|
66
|
-
export declare const
|
|
67
|
-
export declare const
|
|
68
|
-
export declare const
|
|
69
|
-
export declare const
|
|
70
|
-
export declare const
|
|
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
|
@@ -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
|
|
347
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
348
348
|
* @default false
|
|
349
349
|
*/
|
|
350
350
|
multiline: PropTypes.bool,
|
package/modern/Grid/Grid.js
CHANGED
|
@@ -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); //
|
|
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 ||
|
|
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:
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
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 */
|
package/modern/Input/Input.js
CHANGED
|
@@ -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
|
|
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
|
|
636
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
637
637
|
* @default false
|
|
638
638
|
*/
|
|
639
639
|
multiline: PropTypes.bool,
|
|
@@ -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
|
|
273
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
274
274
|
* @default false
|
|
275
275
|
*/
|
|
276
276
|
multiline: PropTypes.bool,
|
package/modern/Popper/Popper.js
CHANGED
|
@@ -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(
|
|
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
|
|
294
|
+
// See https://github.com/mui/material-ui/issues/29080
|
|
295
295
|
,
|
|
296
296
|
role: "presentation"
|
|
297
297
|
}, other, {
|
package/modern/index.js
CHANGED
package/modern/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: {
|
package/modern/styles/zIndex.js
CHANGED
|
File without changes
|
package/node/Fab/Fab.js
CHANGED
|
@@ -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
|
|
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); //
|
|
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 ||
|
|
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:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
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 */
|
package/node/Input/Input.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
297
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
298
298
|
* @default false
|
|
299
299
|
*/
|
|
300
300
|
multiline: _propTypes.default.bool,
|
package/node/Popper/Popper.js
CHANGED
|
@@ -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(
|
|
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
|
|
318
|
+
// See https://github.com/mui/material-ui/issues/29080
|
|
319
319
|
,
|
|
320
320
|
role: "presentation"
|
|
321
321
|
}, other, {
|
package/node/index.js
CHANGED