@mui/material 5.4.3 → 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/AvatarGroup.js +4 -2
- 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/Box/Box.js +1 -1
- 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 +214 -2
- 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/Chip.js +1 -0
- 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/FilledInput/filledInputClasses.js +5 -1
- 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/Input/inputClasses.js +5 -1
- 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 +6 -2
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OutlinedInput/outlinedInputClasses.js +5 -1
- 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 +7 -2
- package/README.md +2 -1
- 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/Select.d.ts +2 -0
- 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/SvgIcon.js +1 -0
- 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 -0
- package/className/index.js +9 -0
- package/className/package.json +6 -0
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/AvatarGroup/AvatarGroup.js +4 -2
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Box/Box.js +1 -1
- package/legacy/Chip/Chip.js +1 -0
- package/legacy/Fab/Fab.js +1 -0
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/FilledInput/filledInputClasses.js +5 -1
- package/legacy/Grid/Grid.js +11 -17
- package/legacy/Input/Input.js +1 -1
- package/legacy/Input/inputClasses.js +5 -1
- package/legacy/InputBase/InputBase.js +1 -1
- package/legacy/OutlinedInput/NotchedOutline.js +6 -2
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/OutlinedInput/outlinedInputClasses.js +5 -1
- package/legacy/Popper/Popper.js +7 -2
- package/legacy/Snackbar/Snackbar.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +1 -0
- package/legacy/className/index.js +9 -0
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +347 -80
- package/legacy/styles/makeStyles.js +1 -1
- package/legacy/styles/withStyles.js +1 -1
- package/legacy/styles/withTheme.js +1 -1
- package/legacy/styles/zIndex.js +1 -0
- package/legacy/utils/index.js +10 -2
- package/locale/index.d.ts +71 -68
- package/locale/index.js +264 -0
- package/modern/AvatarGroup/AvatarGroup.js +4 -2
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Box/Box.js +1 -1
- package/modern/Chip/Chip.js +1 -0
- package/modern/Fab/Fab.js +1 -0
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/FilledInput/filledInputClasses.js +5 -1
- package/modern/Grid/Grid.js +10 -14
- package/modern/Input/Input.js +1 -1
- package/modern/Input/inputClasses.js +5 -1
- package/modern/InputBase/InputBase.js +1 -1
- package/modern/OutlinedInput/NotchedOutline.js +6 -2
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/OutlinedInput/outlinedInputClasses.js +5 -1
- package/modern/Popper/Popper.js +7 -2
- package/modern/Snackbar/Snackbar.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +1 -0
- package/modern/className/index.js +9 -0
- package/modern/index.js +1 -1
- package/modern/locale/index.js +264 -0
- package/modern/styles/makeStyles.js +1 -1
- package/modern/styles/withStyles.js +1 -1
- package/modern/styles/withTheme.js +1 -1
- package/modern/styles/zIndex.js +1 -0
- package/modern/utils/index.js +10 -2
- package/node/AvatarGroup/AvatarGroup.js +4 -2
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Box/Box.js +2 -2
- package/node/Chip/Chip.js +1 -0
- package/node/Fab/Fab.js +1 -0
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/FilledInput/filledInputClasses.js +7 -1
- package/node/Grid/Grid.js +10 -14
- package/node/Input/Input.js +1 -1
- package/node/Input/inputClasses.js +7 -1
- package/node/InputBase/InputBase.js +1 -1
- package/node/OutlinedInput/NotchedOutline.js +6 -2
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/OutlinedInput/outlinedInputClasses.js +7 -1
- package/node/Popper/Popper.js +8 -2
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/SvgIcon/SvgIcon.js +1 -0
- package/node/className/index.js +13 -0
- package/node/index.js +1 -1
- package/node/locale/index.js +271 -4
- package/node/styles/makeStyles.js +1 -1
- package/node/styles/withStyles.js +1 -1
- package/node/styles/withTheme.js +1 -1
- package/node/styles/zIndex.js +1 -0
- package/node/utils/index.js +13 -7
- package/package.json +7 -7
- package/styles/components.d.ts +3 -339
- package/styles/makeStyles.js +1 -1
- package/styles/props.d.ts +2 -0
- package/styles/withStyles.js +1 -1
- package/styles/withTheme.js +1 -1
- 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 +5032 -4835
- package/umd/material-ui.production.min.js +21 -21
- 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/index.d.ts +1 -1
- package/utils/index.js +10 -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,68 +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
|
|
44
|
-
export declare const
|
|
45
|
-
export declare const
|
|
46
|
-
export declare const
|
|
47
|
-
export declare const
|
|
48
|
-
export declare const
|
|
49
|
-
export declare const
|
|
50
|
-
export declare const
|
|
51
|
-
export declare const
|
|
52
|
-
export declare const
|
|
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
|
|
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
|
@@ -1500,6 +1500,96 @@ export const hiIN = {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
+
}; // Croatian - Hrvatski
|
|
1504
|
+
|
|
1505
|
+
export const hrHR = {
|
|
1506
|
+
components: {
|
|
1507
|
+
MuiBreadcrumbs: {
|
|
1508
|
+
defaultProps: {
|
|
1509
|
+
expandText: 'Pokaži putanju'
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
MuiTablePagination: {
|
|
1513
|
+
defaultProps: {
|
|
1514
|
+
getItemAriaLabel: type => {
|
|
1515
|
+
if (type === 'first') {
|
|
1516
|
+
return 'Idi na prvu stranicu';
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
if (type === 'last') {
|
|
1520
|
+
return 'Idi na posljednju stranicu';
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
if (type === 'next') {
|
|
1524
|
+
return 'Idi na sljedeću stranicu';
|
|
1525
|
+
} // if (type === 'previous') {
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
return 'Idi na prethodnu stranicu';
|
|
1529
|
+
},
|
|
1530
|
+
labelRowsPerPage: 'Redova po stranici:',
|
|
1531
|
+
labelDisplayedRows: ({
|
|
1532
|
+
from,
|
|
1533
|
+
to,
|
|
1534
|
+
count
|
|
1535
|
+
}) => `${from}–${to} od ${count !== -1 ? count : `više nego ${to}`}`
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
MuiRating: {
|
|
1539
|
+
defaultProps: {
|
|
1540
|
+
getLabelText: value => {
|
|
1541
|
+
const lastDigit = value % 10;
|
|
1542
|
+
const lastTwoDigits = value % 100;
|
|
1543
|
+
|
|
1544
|
+
if ([2, 3, 4].includes(lastDigit) && ![12, 13, 14].includes(lastTwoDigits)) {
|
|
1545
|
+
return 'Zvijezde';
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
return 'Zvijezda';
|
|
1549
|
+
},
|
|
1550
|
+
emptyLabelText: 'Prazno'
|
|
1551
|
+
}
|
|
1552
|
+
},
|
|
1553
|
+
MuiAutocomplete: {
|
|
1554
|
+
defaultProps: {
|
|
1555
|
+
clearText: 'Briši',
|
|
1556
|
+
closeText: 'Zatvori',
|
|
1557
|
+
loadingText: 'Učitavanje…',
|
|
1558
|
+
noOptionsText: 'Nema opcija',
|
|
1559
|
+
openText: 'Otvori'
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
MuiAlert: {
|
|
1563
|
+
defaultProps: {
|
|
1564
|
+
closeText: 'Zatvori'
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
MuiPagination: {
|
|
1568
|
+
defaultProps: {
|
|
1569
|
+
'aria-label': 'Navigacija po stranicama',
|
|
1570
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
1571
|
+
if (type === 'page') {
|
|
1572
|
+
return `${selected ? '' : 'Idi na '}stranicu ${page}`;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
if (type === 'first') {
|
|
1576
|
+
return 'Idi na prvu stranicu';
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
if (type === 'last') {
|
|
1580
|
+
return 'Idi na zadnju stranicu';
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
if (type === 'next') {
|
|
1584
|
+
return 'Idi na sljedeću stranicu';
|
|
1585
|
+
} // if (type === 'previous') {
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
return 'Idi na prethodnu stranicu';
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1503
1593
|
};
|
|
1504
1594
|
export const huHU = {
|
|
1505
1595
|
components: {
|
|
@@ -2191,6 +2281,90 @@ export const kzKZ = {
|
|
|
2191
2281
|
}
|
|
2192
2282
|
}
|
|
2193
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
|
+
}
|
|
2194
2368
|
};
|
|
2195
2369
|
export const nbNO = {
|
|
2196
2370
|
components: {
|
|
@@ -2679,6 +2853,96 @@ export const roRO = {
|
|
|
2679
2853
|
}
|
|
2680
2854
|
}
|
|
2681
2855
|
}
|
|
2856
|
+
}; // Serbian - Srpski
|
|
2857
|
+
|
|
2858
|
+
export const srRS = {
|
|
2859
|
+
components: {
|
|
2860
|
+
MuiBreadcrumbs: {
|
|
2861
|
+
defaultProps: {
|
|
2862
|
+
expandText: 'Pokaži putanju'
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
MuiTablePagination: {
|
|
2866
|
+
defaultProps: {
|
|
2867
|
+
getItemAriaLabel: type => {
|
|
2868
|
+
if (type === 'first') {
|
|
2869
|
+
return 'Idi na prvu stranicu';
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2872
|
+
if (type === 'last') {
|
|
2873
|
+
return 'Idi na poslednju stranicu';
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
if (type === 'next') {
|
|
2877
|
+
return 'Idi na sledeću stranicu';
|
|
2878
|
+
} // if (type === 'previous') {
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
return 'Idi na prethodnu stranicu';
|
|
2882
|
+
},
|
|
2883
|
+
labelRowsPerPage: 'Redova po stranici:',
|
|
2884
|
+
labelDisplayedRows: ({
|
|
2885
|
+
from,
|
|
2886
|
+
to,
|
|
2887
|
+
count
|
|
2888
|
+
}) => `${from}–${to} od ${count !== -1 ? count : `više nego ${to}`}`
|
|
2889
|
+
}
|
|
2890
|
+
},
|
|
2891
|
+
MuiRating: {
|
|
2892
|
+
defaultProps: {
|
|
2893
|
+
getLabelText: value => {
|
|
2894
|
+
const lastDigit = value % 10;
|
|
2895
|
+
const lastTwoDigits = value % 100;
|
|
2896
|
+
|
|
2897
|
+
if ([2, 3, 4].includes(lastDigit) && ![12, 13, 14].includes(lastTwoDigits)) {
|
|
2898
|
+
return 'Zvezde';
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
return 'Zvezda';
|
|
2902
|
+
},
|
|
2903
|
+
emptyLabelText: 'Prazno'
|
|
2904
|
+
}
|
|
2905
|
+
},
|
|
2906
|
+
MuiAutocomplete: {
|
|
2907
|
+
defaultProps: {
|
|
2908
|
+
clearText: 'Briši',
|
|
2909
|
+
closeText: 'Zatvori',
|
|
2910
|
+
loadingText: 'Učitavanje…',
|
|
2911
|
+
noOptionsText: 'Nema opcija',
|
|
2912
|
+
openText: 'Otvori'
|
|
2913
|
+
}
|
|
2914
|
+
},
|
|
2915
|
+
MuiAlert: {
|
|
2916
|
+
defaultProps: {
|
|
2917
|
+
closeText: 'Zatvori'
|
|
2918
|
+
}
|
|
2919
|
+
},
|
|
2920
|
+
MuiPagination: {
|
|
2921
|
+
defaultProps: {
|
|
2922
|
+
'aria-label': 'Navigacija po stranicama',
|
|
2923
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
2924
|
+
if (type === 'page') {
|
|
2925
|
+
return `${selected ? '' : 'Idi na '}stranicu ${page}`;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
if (type === 'first') {
|
|
2929
|
+
return 'Idi na prvu stranicu';
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
if (type === 'last') {
|
|
2933
|
+
return 'Idi na zadnju stranicu';
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
if (type === 'next') {
|
|
2937
|
+
return 'Idi na sledeću stranicu';
|
|
2938
|
+
} // if (type === 'previous') {
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
return 'Idi na prethodnu stranicu';
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2682
2946
|
};
|
|
2683
2947
|
export const ruRU = {
|
|
2684
2948
|
components: {
|
|
@@ -121,11 +121,13 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
121
121
|
marginLeft
|
|
122
122
|
}, componentsProps.additionalAvatar?.style),
|
|
123
123
|
children: ["+", extraAvatars]
|
|
124
|
-
})) : null, children.slice(0, maxAvatars).reverse().map(child => {
|
|
124
|
+
})) : null, children.slice(0, maxAvatars).reverse().map((child, index) => {
|
|
125
125
|
return /*#__PURE__*/React.cloneElement(child, {
|
|
126
126
|
className: clsx(child.props.className, classes.avatar),
|
|
127
127
|
style: _extends({
|
|
128
|
-
|
|
128
|
+
// Consistent with "&:last-child" styling for the default spacing,
|
|
129
|
+
// we do not apply custom marginLeft spacing on the last child
|
|
130
|
+
marginLeft: index === maxAvatars - 1 ? undefined : marginLeft
|
|
129
131
|
}, child.props.style),
|
|
130
132
|
variant: child.props.variant || variant
|
|
131
133
|
});
|
|
File without changes
|
package/modern/Box/Box.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createBox } from '@mui/system';
|
|
2
|
-
import { unstable_ClassNameGenerator as ClassNameGenerator } from '../
|
|
2
|
+
import { unstable_ClassNameGenerator as ClassNameGenerator } from '../className';
|
|
3
3
|
import { createTheme } from '../styles';
|
|
4
4
|
const defaultTheme = createTheme();
|
|
5
5
|
/**
|
package/modern/Chip/Chip.js
CHANGED
|
@@ -79,6 +79,7 @@ const ChipRoot = styled('div', {
|
|
|
79
79
|
}) => {
|
|
80
80
|
const deleteIconColor = alpha(theme.palette.text.primary, 0.26);
|
|
81
81
|
return _extends({
|
|
82
|
+
maxWidth: '100%',
|
|
82
83
|
fontFamily: theme.typography.fontFamily,
|
|
83
84
|
fontSize: theme.typography.pxToRem(13),
|
|
84
85
|
display: 'inline-flex',
|
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,
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import { generateUtilityClasses, generateUtilityClass } from '@mui/base';
|
|
3
|
+
import { inputBaseClasses } from '../InputBase';
|
|
2
4
|
export function getFilledInputUtilityClass(slot) {
|
|
3
5
|
return generateUtilityClass('MuiFilledInput', slot);
|
|
4
6
|
}
|
|
5
|
-
|
|
7
|
+
|
|
8
|
+
const filledInputClasses = _extends({}, inputBaseClasses, generateUtilityClasses('MuiFilledInput', ['root', 'underline', 'input']));
|
|
9
|
+
|
|
6
10
|
export default filledInputClasses;
|
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,
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import { generateUtilityClasses, generateUtilityClass } from '@mui/base';
|
|
3
|
+
import { inputBaseClasses } from '../InputBase';
|
|
2
4
|
export function getInputUtilityClass(slot) {
|
|
3
5
|
return generateUtilityClass('MuiInput', slot);
|
|
4
6
|
}
|
|
5
|
-
|
|
7
|
+
|
|
8
|
+
const inputClasses = _extends({}, inputBaseClasses, generateUtilityClasses('MuiInput', ['root', 'underline', 'input']));
|
|
9
|
+
|
|
6
10
|
export default inputClasses;
|
|
@@ -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,
|
|
@@ -28,7 +28,9 @@ const NotchedOutlineLegend = styled('legend')(({
|
|
|
28
28
|
ownerState,
|
|
29
29
|
theme
|
|
30
30
|
}) => _extends({
|
|
31
|
-
float: 'unset'
|
|
31
|
+
float: 'unset',
|
|
32
|
+
// Fix conflict with bootstrap
|
|
33
|
+
overflow: 'hidden'
|
|
32
34
|
}, !ownerState.withLabel && {
|
|
33
35
|
padding: 0,
|
|
34
36
|
lineHeight: '11px',
|
|
@@ -56,7 +58,9 @@ const NotchedOutlineLegend = styled('legend')(({
|
|
|
56
58
|
'& > span': {
|
|
57
59
|
paddingLeft: 5,
|
|
58
60
|
paddingRight: 5,
|
|
59
|
-
display: 'inline-block'
|
|
61
|
+
display: 'inline-block',
|
|
62
|
+
opacity: 0,
|
|
63
|
+
visibility: 'visible'
|
|
60
64
|
}
|
|
61
65
|
}, ownerState.notched && {
|
|
62
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
|
|
273
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
274
274
|
* @default false
|
|
275
275
|
*/
|
|
276
276
|
multiline: PropTypes.bool,
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import { generateUtilityClasses, generateUtilityClass } from '@mui/base';
|
|
3
|
+
import { inputBaseClasses } from '../InputBase';
|
|
2
4
|
export function getOutlinedInputUtilityClass(slot) {
|
|
3
5
|
return generateUtilityClass('MuiOutlinedInput', slot);
|
|
4
6
|
}
|
|
5
|
-
|
|
7
|
+
|
|
8
|
+
const outlinedInputClasses = _extends({}, inputBaseClasses, generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
|
|
9
|
+
|
|
6
10
|
export default outlinedInputClasses;
|
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, {
|
|
@@ -90,7 +95,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes
|
|
|
90
95
|
effect: PropTypes.func,
|
|
91
96
|
enabled: PropTypes.bool,
|
|
92
97
|
fn: PropTypes.func,
|
|
93
|
-
name: PropTypes.any
|
|
98
|
+
name: PropTypes.any,
|
|
94
99
|
options: PropTypes.object,
|
|
95
100
|
phase: PropTypes.oneOf(['afterMain', 'afterRead', 'afterWrite', 'beforeMain', 'beforeRead', 'beforeWrite', 'main', 'read', 'write']),
|
|
96
101
|
requires: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -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, {
|