@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/legacy/locale/index.js
CHANGED
|
@@ -1545,6 +1545,97 @@ export var hiIN = {
|
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
|
+
}; // Croatian - Hrvatski
|
|
1549
|
+
|
|
1550
|
+
export var hrHR = {
|
|
1551
|
+
components: {
|
|
1552
|
+
MuiBreadcrumbs: {
|
|
1553
|
+
defaultProps: {
|
|
1554
|
+
expandText: 'Pokaži putanju'
|
|
1555
|
+
}
|
|
1556
|
+
},
|
|
1557
|
+
MuiTablePagination: {
|
|
1558
|
+
defaultProps: {
|
|
1559
|
+
getItemAriaLabel: function getItemAriaLabel(type) {
|
|
1560
|
+
if (type === 'first') {
|
|
1561
|
+
return 'Idi na prvu stranicu';
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
if (type === 'last') {
|
|
1565
|
+
return 'Idi na posljednju stranicu';
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
if (type === 'next') {
|
|
1569
|
+
return 'Idi na sljedeću stranicu';
|
|
1570
|
+
} // if (type === 'previous') {
|
|
1571
|
+
|
|
1572
|
+
|
|
1573
|
+
return 'Idi na prethodnu stranicu';
|
|
1574
|
+
},
|
|
1575
|
+
labelRowsPerPage: 'Redova po stranici:',
|
|
1576
|
+
labelDisplayedRows: function labelDisplayedRows(_ref14) {
|
|
1577
|
+
var from = _ref14.from,
|
|
1578
|
+
to = _ref14.to,
|
|
1579
|
+
count = _ref14.count;
|
|
1580
|
+
return "".concat(from, "\u2013").concat(to, " od ").concat(count !== -1 ? count : "vi\u0161e nego ".concat(to));
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
MuiRating: {
|
|
1585
|
+
defaultProps: {
|
|
1586
|
+
getLabelText: function getLabelText(value) {
|
|
1587
|
+
var lastDigit = value % 10;
|
|
1588
|
+
var lastTwoDigits = value % 100;
|
|
1589
|
+
|
|
1590
|
+
if ([2, 3, 4].includes(lastDigit) && ![12, 13, 14].includes(lastTwoDigits)) {
|
|
1591
|
+
return 'Zvijezde';
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
return 'Zvijezda';
|
|
1595
|
+
},
|
|
1596
|
+
emptyLabelText: 'Prazno'
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
MuiAutocomplete: {
|
|
1600
|
+
defaultProps: {
|
|
1601
|
+
clearText: 'Briši',
|
|
1602
|
+
closeText: 'Zatvori',
|
|
1603
|
+
loadingText: 'Učitavanje…',
|
|
1604
|
+
noOptionsText: 'Nema opcija',
|
|
1605
|
+
openText: 'Otvori'
|
|
1606
|
+
}
|
|
1607
|
+
},
|
|
1608
|
+
MuiAlert: {
|
|
1609
|
+
defaultProps: {
|
|
1610
|
+
closeText: 'Zatvori'
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
MuiPagination: {
|
|
1614
|
+
defaultProps: {
|
|
1615
|
+
'aria-label': 'Navigacija po stranicama',
|
|
1616
|
+
getItemAriaLabel: function getItemAriaLabel(type, page, selected) {
|
|
1617
|
+
if (type === 'page') {
|
|
1618
|
+
return "".concat(selected ? '' : 'Idi na ', "stranicu ").concat(page);
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
if (type === 'first') {
|
|
1622
|
+
return 'Idi na prvu stranicu';
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
if (type === 'last') {
|
|
1626
|
+
return 'Idi na zadnju stranicu';
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
if (type === 'next') {
|
|
1630
|
+
return 'Idi na sljedeću stranicu';
|
|
1631
|
+
} // if (type === 'previous') {
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
return 'Idi na prethodnu stranicu';
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1548
1639
|
};
|
|
1549
1640
|
export var huHU = {
|
|
1550
1641
|
components: {
|
|
@@ -1867,10 +1958,10 @@ export var itIT = {
|
|
|
1867
1958
|
return 'Vai alla pagina precedente';
|
|
1868
1959
|
},
|
|
1869
1960
|
labelRowsPerPage: 'Righe per pagina:',
|
|
1870
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
1871
|
-
var from =
|
|
1872
|
-
to =
|
|
1873
|
-
count =
|
|
1961
|
+
labelDisplayedRows: function labelDisplayedRows(_ref15) {
|
|
1962
|
+
var from = _ref15.from,
|
|
1963
|
+
to = _ref15.to,
|
|
1964
|
+
count = _ref15.count;
|
|
1874
1965
|
return "".concat(from, "\u2013").concat(to, " di ").concat(count !== -1 ? count : "pi\xF9 di ".concat(to));
|
|
1875
1966
|
}
|
|
1876
1967
|
}
|
|
@@ -1950,10 +2041,10 @@ export var jaJP = {
|
|
|
1950
2041
|
return '前のページへ';
|
|
1951
2042
|
},
|
|
1952
2043
|
labelRowsPerPage: 'ページあたりの行数:',
|
|
1953
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
1954
|
-
var from =
|
|
1955
|
-
to =
|
|
1956
|
-
count =
|
|
2044
|
+
labelDisplayedRows: function labelDisplayedRows(_ref16) {
|
|
2045
|
+
var from = _ref16.from,
|
|
2046
|
+
to = _ref16.to,
|
|
2047
|
+
count = _ref16.count;
|
|
1957
2048
|
return "".concat(from, "\uFF5E").concat(to, " / ").concat(count !== -1 ? count : "".concat(to, "\u4EE5\u4E0A"));
|
|
1958
2049
|
}
|
|
1959
2050
|
}
|
|
@@ -2033,10 +2124,10 @@ export var khKH = {
|
|
|
2033
2124
|
return 'ទៅទំព័រមុន';
|
|
2034
2125
|
},
|
|
2035
2126
|
labelRowsPerPage: 'ចំនួនជួរដេកក្នុងមួយទំព័រ:',
|
|
2036
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2037
|
-
var from =
|
|
2038
|
-
to =
|
|
2039
|
-
count =
|
|
2127
|
+
labelDisplayedRows: function labelDisplayedRows(_ref17) {
|
|
2128
|
+
var from = _ref17.from,
|
|
2129
|
+
to = _ref17.to,
|
|
2130
|
+
count = _ref17.count;
|
|
2040
2131
|
return "".concat(from, " - ").concat(to, " \u1793\u17C3 ").concat(count !== -1 ? count : "\u1785\u17D2\u179A\u17BE\u1793\u1787\u17B6\u1784 ".concat(to));
|
|
2041
2132
|
}
|
|
2042
2133
|
}
|
|
@@ -2116,10 +2207,10 @@ export var koKR = {
|
|
|
2116
2207
|
return '이전 페이지로 이동';
|
|
2117
2208
|
},
|
|
2118
2209
|
labelRowsPerPage: '페이지 당 행:',
|
|
2119
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2120
|
-
var from =
|
|
2121
|
-
to =
|
|
2122
|
-
count =
|
|
2210
|
+
labelDisplayedRows: function labelDisplayedRows(_ref18) {
|
|
2211
|
+
var from = _ref18.from,
|
|
2212
|
+
to = _ref18.to,
|
|
2213
|
+
count = _ref18.count;
|
|
2123
2214
|
return "".concat(from, "\u2013").concat(to, " / ").concat(count !== -1 ? count : "".concat(to, "\uAC1C \uC774\uC0C1"));
|
|
2124
2215
|
}
|
|
2125
2216
|
}
|
|
@@ -2199,10 +2290,10 @@ export var kzKZ = {
|
|
|
2199
2290
|
return 'Алдыңғы бетке өту';
|
|
2200
2291
|
},
|
|
2201
2292
|
labelRowsPerPage: 'Беттегі қатарлар:',
|
|
2202
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2203
|
-
var from =
|
|
2204
|
-
to =
|
|
2205
|
-
count =
|
|
2293
|
+
labelDisplayedRows: function labelDisplayedRows(_ref19) {
|
|
2294
|
+
var from = _ref19.from,
|
|
2295
|
+
to = _ref19.to,
|
|
2296
|
+
count = _ref19.count;
|
|
2206
2297
|
return "".concat(count !== -1 ? count : "+".concat(to), " \u049B\u0430\u0442\u0430\u0440\u0434\u044B\u04A3 \u0456\u0448\u0456\u043D\u0435\u043D ").concat(from, "\u2013").concat(to);
|
|
2207
2298
|
}
|
|
2208
2299
|
}
|
|
@@ -2259,6 +2350,91 @@ export var kzKZ = {
|
|
|
2259
2350
|
}
|
|
2260
2351
|
}
|
|
2261
2352
|
}
|
|
2353
|
+
}; // Macedonian - Македонски
|
|
2354
|
+
|
|
2355
|
+
export var mkMK = {
|
|
2356
|
+
components: {
|
|
2357
|
+
MuiBreadcrumbs: {
|
|
2358
|
+
defaultProps: {
|
|
2359
|
+
expandText: 'Прикажи патека'
|
|
2360
|
+
}
|
|
2361
|
+
},
|
|
2362
|
+
MuiTablePagination: {
|
|
2363
|
+
defaultProps: {
|
|
2364
|
+
getItemAriaLabel: function getItemAriaLabel(type) {
|
|
2365
|
+
if (type === 'first') {
|
|
2366
|
+
return 'Оди на прва страница';
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
if (type === 'last') {
|
|
2370
|
+
return 'Оди на последна страница';
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
if (type === 'next') {
|
|
2374
|
+
return 'Оди на следна страница';
|
|
2375
|
+
} // if (type === 'previous') {
|
|
2376
|
+
|
|
2377
|
+
|
|
2378
|
+
return 'Оди на предходна страница';
|
|
2379
|
+
},
|
|
2380
|
+
labelRowsPerPage: 'Редови по страница:',
|
|
2381
|
+
labelDisplayedRows: function labelDisplayedRows(_ref20) {
|
|
2382
|
+
var from = _ref20.from,
|
|
2383
|
+
to = _ref20.to,
|
|
2384
|
+
count = _ref20.count;
|
|
2385
|
+
return "".concat(from, "\u2013").concat(to, " \u043E\u0434 ").concat(count !== -1 ? count : "\u043F\u043E\u0432\u0435\u045C\u0435 \u043E\u0434 ".concat(to));
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
MuiRating: {
|
|
2390
|
+
defaultProps: {
|
|
2391
|
+
getLabelText: function getLabelText(value) {
|
|
2392
|
+
var lastDigit = value % 10;
|
|
2393
|
+
return "".concat(value, " \u0405\u0432\u0435\u0437\u0434").concat(lastDigit === 1 ? 'а' : 'и');
|
|
2394
|
+
},
|
|
2395
|
+
emptyLabelText: 'Празно'
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2398
|
+
MuiAutocomplete: {
|
|
2399
|
+
defaultProps: {
|
|
2400
|
+
clearText: 'Избриши',
|
|
2401
|
+
closeText: 'Затвори',
|
|
2402
|
+
loadingText: 'Се презема',
|
|
2403
|
+
noOptionsText: 'Нема опција',
|
|
2404
|
+
openText: 'Отвори'
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
MuiAlert: {
|
|
2408
|
+
defaultProps: {
|
|
2409
|
+
closeText: 'Затвори'
|
|
2410
|
+
}
|
|
2411
|
+
},
|
|
2412
|
+
MuiPagination: {
|
|
2413
|
+
defaultProps: {
|
|
2414
|
+
'aria-label': 'Навигација низ страници',
|
|
2415
|
+
getItemAriaLabel: function getItemAriaLabel(type, page, selected) {
|
|
2416
|
+
if (type === 'page') {
|
|
2417
|
+
return "".concat(selected ? '' : 'Оди на ', "\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 ").concat(page);
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
if (type === 'first') {
|
|
2421
|
+
return 'Оди на прва страница';
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2424
|
+
if (type === 'last') {
|
|
2425
|
+
return 'Оди на последна страница';
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
if (type === 'next') {
|
|
2429
|
+
return 'Оди на следна страница';
|
|
2430
|
+
} // if (type === 'previous') {
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
return 'Оди на предходна страница';
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2262
2438
|
};
|
|
2263
2439
|
export var nbNO = {
|
|
2264
2440
|
components: {
|
|
@@ -2286,10 +2462,10 @@ export var nbNO = {
|
|
|
2286
2462
|
return 'Gå til forrige side';
|
|
2287
2463
|
},
|
|
2288
2464
|
labelRowsPerPage: 'Rader per side:',
|
|
2289
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2290
|
-
var from =
|
|
2291
|
-
to =
|
|
2292
|
-
count =
|
|
2465
|
+
labelDisplayedRows: function labelDisplayedRows(_ref21) {
|
|
2466
|
+
var from = _ref21.from,
|
|
2467
|
+
to = _ref21.to,
|
|
2468
|
+
count = _ref21.count;
|
|
2293
2469
|
return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "mer enn ".concat(to));
|
|
2294
2470
|
}
|
|
2295
2471
|
}
|
|
@@ -2369,10 +2545,10 @@ export var nlNL = {
|
|
|
2369
2545
|
return 'Ga naar vorige pagina';
|
|
2370
2546
|
},
|
|
2371
2547
|
labelRowsPerPage: 'Regels per pagina:',
|
|
2372
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2373
|
-
var from =
|
|
2374
|
-
to =
|
|
2375
|
-
count =
|
|
2548
|
+
labelDisplayedRows: function labelDisplayedRows(_ref22) {
|
|
2549
|
+
var from = _ref22.from,
|
|
2550
|
+
to = _ref22.to,
|
|
2551
|
+
count = _ref22.count;
|
|
2376
2552
|
return "".concat(from, "\u2013").concat(to, " van ").concat(count !== -1 ? count : "meer dan ".concat(to));
|
|
2377
2553
|
}
|
|
2378
2554
|
}
|
|
@@ -2452,10 +2628,10 @@ export var plPL = {
|
|
|
2452
2628
|
return 'Przejdź do poprzedniej strony';
|
|
2453
2629
|
},
|
|
2454
2630
|
labelRowsPerPage: 'Wierszy na stronę:',
|
|
2455
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2456
|
-
var from =
|
|
2457
|
-
to =
|
|
2458
|
-
count =
|
|
2631
|
+
labelDisplayedRows: function labelDisplayedRows(_ref23) {
|
|
2632
|
+
var from = _ref23.from,
|
|
2633
|
+
to = _ref23.to,
|
|
2634
|
+
count = _ref23.count;
|
|
2459
2635
|
return "".concat(from, "\u2013").concat(to, " z ").concat(count !== -1 ? count : "ponad ".concat(to));
|
|
2460
2636
|
}
|
|
2461
2637
|
}
|
|
@@ -2544,10 +2720,10 @@ export var ptBR = {
|
|
|
2544
2720
|
return 'Ir para a página anterior';
|
|
2545
2721
|
},
|
|
2546
2722
|
labelRowsPerPage: 'Linhas por página:',
|
|
2547
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2548
|
-
var from =
|
|
2549
|
-
to =
|
|
2550
|
-
count =
|
|
2723
|
+
labelDisplayedRows: function labelDisplayedRows(_ref24) {
|
|
2724
|
+
var from = _ref24.from,
|
|
2725
|
+
to = _ref24.to,
|
|
2726
|
+
count = _ref24.count;
|
|
2551
2727
|
return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
|
|
2552
2728
|
}
|
|
2553
2729
|
}
|
|
@@ -2627,10 +2803,10 @@ export var ptPT = {
|
|
|
2627
2803
|
return 'Página anterior';
|
|
2628
2804
|
},
|
|
2629
2805
|
labelRowsPerPage: 'Linhas por página:',
|
|
2630
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2631
|
-
var from =
|
|
2632
|
-
to =
|
|
2633
|
-
count =
|
|
2806
|
+
labelDisplayedRows: function labelDisplayedRows(_ref25) {
|
|
2807
|
+
var from = _ref25.from,
|
|
2808
|
+
to = _ref25.to,
|
|
2809
|
+
count = _ref25.count;
|
|
2634
2810
|
return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
|
|
2635
2811
|
}
|
|
2636
2812
|
}
|
|
@@ -2762,6 +2938,97 @@ export var roRO = {
|
|
|
2762
2938
|
}
|
|
2763
2939
|
}
|
|
2764
2940
|
}
|
|
2941
|
+
}; // Serbian - Srpski
|
|
2942
|
+
|
|
2943
|
+
export var srRS = {
|
|
2944
|
+
components: {
|
|
2945
|
+
MuiBreadcrumbs: {
|
|
2946
|
+
defaultProps: {
|
|
2947
|
+
expandText: 'Pokaži putanju'
|
|
2948
|
+
}
|
|
2949
|
+
},
|
|
2950
|
+
MuiTablePagination: {
|
|
2951
|
+
defaultProps: {
|
|
2952
|
+
getItemAriaLabel: function getItemAriaLabel(type) {
|
|
2953
|
+
if (type === 'first') {
|
|
2954
|
+
return 'Idi na prvu stranicu';
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
if (type === 'last') {
|
|
2958
|
+
return 'Idi na poslednju stranicu';
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2961
|
+
if (type === 'next') {
|
|
2962
|
+
return 'Idi na sledeću stranicu';
|
|
2963
|
+
} // if (type === 'previous') {
|
|
2964
|
+
|
|
2965
|
+
|
|
2966
|
+
return 'Idi na prethodnu stranicu';
|
|
2967
|
+
},
|
|
2968
|
+
labelRowsPerPage: 'Redova po stranici:',
|
|
2969
|
+
labelDisplayedRows: function labelDisplayedRows(_ref26) {
|
|
2970
|
+
var from = _ref26.from,
|
|
2971
|
+
to = _ref26.to,
|
|
2972
|
+
count = _ref26.count;
|
|
2973
|
+
return "".concat(from, "\u2013").concat(to, " od ").concat(count !== -1 ? count : "vi\u0161e nego ".concat(to));
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2976
|
+
},
|
|
2977
|
+
MuiRating: {
|
|
2978
|
+
defaultProps: {
|
|
2979
|
+
getLabelText: function getLabelText(value) {
|
|
2980
|
+
var lastDigit = value % 10;
|
|
2981
|
+
var lastTwoDigits = value % 100;
|
|
2982
|
+
|
|
2983
|
+
if ([2, 3, 4].includes(lastDigit) && ![12, 13, 14].includes(lastTwoDigits)) {
|
|
2984
|
+
return 'Zvezde';
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
return 'Zvezda';
|
|
2988
|
+
},
|
|
2989
|
+
emptyLabelText: 'Prazno'
|
|
2990
|
+
}
|
|
2991
|
+
},
|
|
2992
|
+
MuiAutocomplete: {
|
|
2993
|
+
defaultProps: {
|
|
2994
|
+
clearText: 'Briši',
|
|
2995
|
+
closeText: 'Zatvori',
|
|
2996
|
+
loadingText: 'Učitavanje…',
|
|
2997
|
+
noOptionsText: 'Nema opcija',
|
|
2998
|
+
openText: 'Otvori'
|
|
2999
|
+
}
|
|
3000
|
+
},
|
|
3001
|
+
MuiAlert: {
|
|
3002
|
+
defaultProps: {
|
|
3003
|
+
closeText: 'Zatvori'
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
MuiPagination: {
|
|
3007
|
+
defaultProps: {
|
|
3008
|
+
'aria-label': 'Navigacija po stranicama',
|
|
3009
|
+
getItemAriaLabel: function getItemAriaLabel(type, page, selected) {
|
|
3010
|
+
if (type === 'page') {
|
|
3011
|
+
return "".concat(selected ? '' : 'Idi na ', "stranicu ").concat(page);
|
|
3012
|
+
}
|
|
3013
|
+
|
|
3014
|
+
if (type === 'first') {
|
|
3015
|
+
return 'Idi na prvu stranicu';
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
if (type === 'last') {
|
|
3019
|
+
return 'Idi na zadnju stranicu';
|
|
3020
|
+
}
|
|
3021
|
+
|
|
3022
|
+
if (type === 'next') {
|
|
3023
|
+
return 'Idi na sledeću stranicu';
|
|
3024
|
+
} // if (type === 'previous') {
|
|
3025
|
+
|
|
3026
|
+
|
|
3027
|
+
return 'Idi na prethodnu stranicu';
|
|
3028
|
+
}
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
2765
3032
|
};
|
|
2766
3033
|
export var ruRU = {
|
|
2767
3034
|
components: {
|
|
@@ -2789,10 +3056,10 @@ export var ruRU = {
|
|
|
2789
3056
|
return 'Перейти на предыдущую страницу';
|
|
2790
3057
|
},
|
|
2791
3058
|
labelRowsPerPage: 'Строк на странице:',
|
|
2792
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2793
|
-
var from =
|
|
2794
|
-
to =
|
|
2795
|
-
count =
|
|
3059
|
+
labelDisplayedRows: function labelDisplayedRows(_ref27) {
|
|
3060
|
+
var from = _ref27.from,
|
|
3061
|
+
to = _ref27.to,
|
|
3062
|
+
count = _ref27.count;
|
|
2796
3063
|
return "".concat(from, "\u2013").concat(to, " \u0438\u0437 ").concat(count !== -1 ? count : "\u0431\u043E\u043B\u0435\u0435 \u0447\u0435\u043C ".concat(to));
|
|
2797
3064
|
}
|
|
2798
3065
|
}
|
|
@@ -2885,10 +3152,10 @@ export var siLK = {
|
|
|
2885
3152
|
return 'පෙර පිටුවට යන්න';
|
|
2886
3153
|
},
|
|
2887
3154
|
labelRowsPerPage: 'පිටුවක පේළි:',
|
|
2888
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2889
|
-
var from =
|
|
2890
|
-
to =
|
|
2891
|
-
count =
|
|
3155
|
+
labelDisplayedRows: function labelDisplayedRows(_ref28) {
|
|
3156
|
+
var from = _ref28.from,
|
|
3157
|
+
to = _ref28.to,
|
|
3158
|
+
count = _ref28.count;
|
|
2892
3159
|
return "".concat(from, "\u2013").concat(to, " \u0DAF\u0D9A\u0DCA\u0DC0\u0DCF ").concat(count !== -1 ? count : "".concat(to, " \u0DA7 \u0DC0\u0DD0\u0DA9\u0DD2 \u0DB4\u0DCA\u200D\u0DBB\u0DB8\u0DCF\u0DAB\u0DBA\u0D9A\u0DD2\u0DB1\u0DCA"));
|
|
2893
3160
|
}
|
|
2894
3161
|
}
|
|
@@ -2968,10 +3235,10 @@ export var skSK = {
|
|
|
2968
3235
|
return 'Ísť na predchádzajúcu stránku';
|
|
2969
3236
|
},
|
|
2970
3237
|
labelRowsPerPage: 'Riadkov na stránke:',
|
|
2971
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2972
|
-
var from =
|
|
2973
|
-
to =
|
|
2974
|
-
count =
|
|
3238
|
+
labelDisplayedRows: function labelDisplayedRows(_ref29) {
|
|
3239
|
+
var from = _ref29.from,
|
|
3240
|
+
to = _ref29.to,
|
|
3241
|
+
count = _ref29.count;
|
|
2975
3242
|
return "".concat(from, "\u2013").concat(to, " z ").concat(count !== -1 ? count : "viac ako ".concat(to));
|
|
2976
3243
|
}
|
|
2977
3244
|
}
|
|
@@ -3059,10 +3326,10 @@ export var svSE = {
|
|
|
3059
3326
|
return 'Gå till föregående sida';
|
|
3060
3327
|
},
|
|
3061
3328
|
labelRowsPerPage: 'Rader per sida:',
|
|
3062
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3063
|
-
var from =
|
|
3064
|
-
to =
|
|
3065
|
-
count =
|
|
3329
|
+
labelDisplayedRows: function labelDisplayedRows(_ref30) {
|
|
3330
|
+
var from = _ref30.from,
|
|
3331
|
+
to = _ref30.to,
|
|
3332
|
+
count = _ref30.count;
|
|
3066
3333
|
return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "fler \xE4n ".concat(to));
|
|
3067
3334
|
}
|
|
3068
3335
|
}
|
|
@@ -3142,10 +3409,10 @@ export var thTH = {
|
|
|
3142
3409
|
return 'ไปที่หน้าก่อน';
|
|
3143
3410
|
},
|
|
3144
3411
|
labelRowsPerPage: 'จำนวนแถวต่อหน้า:',
|
|
3145
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3146
|
-
var from =
|
|
3147
|
-
to =
|
|
3148
|
-
count =
|
|
3412
|
+
labelDisplayedRows: function labelDisplayedRows(_ref31) {
|
|
3413
|
+
var from = _ref31.from,
|
|
3414
|
+
to = _ref31.to,
|
|
3415
|
+
count = _ref31.count;
|
|
3149
3416
|
return "".concat(from, "\u2013").concat(to, " \u0E08\u0E32\u0E01 ").concat(count !== -1 ? count : "\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ".concat(to));
|
|
3150
3417
|
}
|
|
3151
3418
|
}
|
|
@@ -3304,10 +3571,10 @@ export var ukUA = {
|
|
|
3304
3571
|
return 'Перейти на попередню сторінку';
|
|
3305
3572
|
},
|
|
3306
3573
|
labelRowsPerPage: 'Рядків на сторінці:',
|
|
3307
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3308
|
-
var from =
|
|
3309
|
-
to =
|
|
3310
|
-
count =
|
|
3574
|
+
labelDisplayedRows: function labelDisplayedRows(_ref32) {
|
|
3575
|
+
var from = _ref32.from,
|
|
3576
|
+
to = _ref32.to,
|
|
3577
|
+
count = _ref32.count;
|
|
3311
3578
|
return "".concat(from, "\u2013").concat(to, " \u0437 ").concat(count !== -1 ? count : "\u043F\u043E\u043D\u0430\u0434 ".concat(to));
|
|
3312
3579
|
}
|
|
3313
3580
|
}
|
|
@@ -3396,10 +3663,10 @@ export var viVN = {
|
|
|
3396
3663
|
return 'Về trang trước đó';
|
|
3397
3664
|
},
|
|
3398
3665
|
labelRowsPerPage: 'Số hàng mỗi trang:',
|
|
3399
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3400
|
-
var from =
|
|
3401
|
-
to =
|
|
3402
|
-
count =
|
|
3666
|
+
labelDisplayedRows: function labelDisplayedRows(_ref33) {
|
|
3667
|
+
var from = _ref33.from,
|
|
3668
|
+
to = _ref33.to,
|
|
3669
|
+
count = _ref33.count;
|
|
3403
3670
|
return "".concat(from, "\u2013").concat(to, " trong ").concat(count !== -1 ? count : "nhi\u1EC1u h\u01A1n ".concat(to));
|
|
3404
3671
|
}
|
|
3405
3672
|
}
|
|
@@ -3478,10 +3745,10 @@ export var zhCN = {
|
|
|
3478
3745
|
return '上一页';
|
|
3479
3746
|
},
|
|
3480
3747
|
labelRowsPerPage: '每页行数:',
|
|
3481
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3482
|
-
var from =
|
|
3483
|
-
to =
|
|
3484
|
-
count =
|
|
3748
|
+
labelDisplayedRows: function labelDisplayedRows(_ref34) {
|
|
3749
|
+
var from = _ref34.from,
|
|
3750
|
+
to = _ref34.to,
|
|
3751
|
+
count = _ref34.count;
|
|
3485
3752
|
return "\u7B2C ".concat(from, " \u6761\u5230\u7B2C ").concat(to, " \u6761\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u6761") : "\u81F3\u5C11 ".concat(to, " \u6761"));
|
|
3486
3753
|
}
|
|
3487
3754
|
}
|
|
@@ -3535,10 +3802,10 @@ export var zhHK = {
|
|
|
3535
3802
|
return '上一頁';
|
|
3536
3803
|
},
|
|
3537
3804
|
labelRowsPerPage: '每頁行數:',
|
|
3538
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3539
|
-
var from =
|
|
3540
|
-
to =
|
|
3541
|
-
count =
|
|
3805
|
+
labelDisplayedRows: function labelDisplayedRows(_ref35) {
|
|
3806
|
+
var from = _ref35.from,
|
|
3807
|
+
to = _ref35.to,
|
|
3808
|
+
count = _ref35.count;
|
|
3542
3809
|
return "\u7B2C ".concat(from, " \u9805\u81F3\u7B2C ").concat(to, " \u9805\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u9805") : "\u8D85\u904E ".concat(to, " \u9805"));
|
|
3543
3810
|
}
|
|
3544
3811
|
}
|
|
@@ -3592,10 +3859,10 @@ export var zhTW = {
|
|
|
3592
3859
|
return '上一頁';
|
|
3593
3860
|
},
|
|
3594
3861
|
labelRowsPerPage: '每行行數:',
|
|
3595
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3596
|
-
var from =
|
|
3597
|
-
to =
|
|
3598
|
-
count =
|
|
3862
|
+
labelDisplayedRows: function labelDisplayedRows(_ref36) {
|
|
3863
|
+
var from = _ref36.from,
|
|
3864
|
+
to = _ref36.to,
|
|
3865
|
+
count = _ref36.count;
|
|
3599
3866
|
return "\u7B2C ".concat(from, " \u689D\u5230\u7B2C ").concat(to, " \u689D\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u689D") : "\u81F3\u5C11 ".concat(to, " \u689D"));
|
|
3600
3867
|
}
|
|
3601
3868
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils";
|
|
2
2
|
export default function makeStyles() {
|
|
3
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: makeStyles is
|
|
3
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: makeStyles is no longer exported from @mui/material/styles.\nYou have to import it from @mui/styles.\nSee https://mui.com/r/migration-v4/#mui-material-styles for more details." : _formatMuiErrorMessage(14));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils";
|
|
2
2
|
export default function withStyles() {
|
|
3
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: withStyles is
|
|
3
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: withStyles is no longer exported from @mui/material/styles.\nYou have to import it from @mui/styles.\nSee https://mui.com/r/migration-v4/#mui-material-styles for more details." : _formatMuiErrorMessage(15));
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils";
|
|
2
2
|
export default function withTheme() {
|
|
3
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: withTheme is
|
|
3
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: withTheme is no longer exported from @mui/material/styles.\nYou have to import it from @mui/styles.\nSee https://mui.com/r/migration-v4/#mui-material-styles for more details." : _formatMuiErrorMessage(16));
|
|
4
4
|
}
|
package/legacy/styles/zIndex.js
CHANGED
package/legacy/utils/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/base/className';
|
|
1
2
|
export { default as capitalize } from './capitalize';
|
|
2
3
|
export { default as createChainedFunction } from './createChainedFunction';
|
|
3
4
|
export { default as createSvgIcon } from './createSvgIcon';
|
|
@@ -14,5 +15,12 @@ export { default as unsupportedProp } from './unsupportedProp';
|
|
|
14
15
|
export { default as useControlled } from './useControlled';
|
|
15
16
|
export { default as useEventCallback } from './useEventCallback';
|
|
16
17
|
export { default as useForkRef } from './useForkRef';
|
|
17
|
-
export { default as useIsFocusVisible } from './useIsFocusVisible';
|
|
18
|
-
|
|
18
|
+
export { default as useIsFocusVisible } from './useIsFocusVisible'; // TODO: remove this export once ClassNameGenerator is stable
|
|
19
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
20
|
+
|
|
21
|
+
export var unstable_ClassNameGenerator = {
|
|
22
|
+
configure: function configure(generator) {
|
|
23
|
+
console.warn(['MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.', '', "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", '', 'The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401', '', 'The updated documentation: https://mui.com/guides/classname-generator/'].join('\n'));
|
|
24
|
+
ClassNameGenerator.configure(generator);
|
|
25
|
+
}
|
|
26
|
+
};
|