@mui/material 5.4.4 → 5.5.0
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 +84 -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/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/fabClasses.d.ts +26 -26
- 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/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/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- 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/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/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/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/SvgIcon/SvgIcon.js +1 -0
- package/legacy/className/index.js +9 -0
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +262 -80
- package/legacy/utils/index.js +10 -2
- package/locale/index.d.ts +70 -68
- package/locale/index.js +180 -0
- package/modern/AvatarGroup/AvatarGroup.js +4 -2
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Box/Box.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 +180 -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/SvgIcon/SvgIcon.js +1 -0
- package/node/className/index.js +13 -0
- package/node/index.js +1 -1
- package/node/locale/index.js +185 -3
- package/node/utils/index.js +13 -7
- package/package.json +4 -4
- 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 +2806 -2686
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- 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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Caution! this module must not include unstyled components import from `@mui/base`, otherwise, it will break the ClassNameGenerator.
|
|
3
|
+
* ❌ import { ... } from '@mui/base';
|
|
4
|
+
* ✅ import { ... } from '@mui/base/utils'; // must be specific base module
|
|
5
|
+
*
|
|
6
|
+
* Issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401
|
|
7
|
+
*/
|
|
8
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
9
|
+
export { unstable_ClassNameGenerator } from '@mui/base/className';
|
package/legacy/index.js
CHANGED
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
|
}
|
|
@@ -2286,10 +2377,10 @@ export var nbNO = {
|
|
|
2286
2377
|
return 'Gå til forrige side';
|
|
2287
2378
|
},
|
|
2288
2379
|
labelRowsPerPage: 'Rader per side:',
|
|
2289
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2290
|
-
var from =
|
|
2291
|
-
to =
|
|
2292
|
-
count =
|
|
2380
|
+
labelDisplayedRows: function labelDisplayedRows(_ref20) {
|
|
2381
|
+
var from = _ref20.from,
|
|
2382
|
+
to = _ref20.to,
|
|
2383
|
+
count = _ref20.count;
|
|
2293
2384
|
return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "mer enn ".concat(to));
|
|
2294
2385
|
}
|
|
2295
2386
|
}
|
|
@@ -2369,10 +2460,10 @@ export var nlNL = {
|
|
|
2369
2460
|
return 'Ga naar vorige pagina';
|
|
2370
2461
|
},
|
|
2371
2462
|
labelRowsPerPage: 'Regels per pagina:',
|
|
2372
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2373
|
-
var from =
|
|
2374
|
-
to =
|
|
2375
|
-
count =
|
|
2463
|
+
labelDisplayedRows: function labelDisplayedRows(_ref21) {
|
|
2464
|
+
var from = _ref21.from,
|
|
2465
|
+
to = _ref21.to,
|
|
2466
|
+
count = _ref21.count;
|
|
2376
2467
|
return "".concat(from, "\u2013").concat(to, " van ").concat(count !== -1 ? count : "meer dan ".concat(to));
|
|
2377
2468
|
}
|
|
2378
2469
|
}
|
|
@@ -2452,10 +2543,10 @@ export var plPL = {
|
|
|
2452
2543
|
return 'Przejdź do poprzedniej strony';
|
|
2453
2544
|
},
|
|
2454
2545
|
labelRowsPerPage: 'Wierszy na stronę:',
|
|
2455
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2456
|
-
var from =
|
|
2457
|
-
to =
|
|
2458
|
-
count =
|
|
2546
|
+
labelDisplayedRows: function labelDisplayedRows(_ref22) {
|
|
2547
|
+
var from = _ref22.from,
|
|
2548
|
+
to = _ref22.to,
|
|
2549
|
+
count = _ref22.count;
|
|
2459
2550
|
return "".concat(from, "\u2013").concat(to, " z ").concat(count !== -1 ? count : "ponad ".concat(to));
|
|
2460
2551
|
}
|
|
2461
2552
|
}
|
|
@@ -2544,10 +2635,10 @@ export var ptBR = {
|
|
|
2544
2635
|
return 'Ir para a página anterior';
|
|
2545
2636
|
},
|
|
2546
2637
|
labelRowsPerPage: 'Linhas por página:',
|
|
2547
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2548
|
-
var from =
|
|
2549
|
-
to =
|
|
2550
|
-
count =
|
|
2638
|
+
labelDisplayedRows: function labelDisplayedRows(_ref23) {
|
|
2639
|
+
var from = _ref23.from,
|
|
2640
|
+
to = _ref23.to,
|
|
2641
|
+
count = _ref23.count;
|
|
2551
2642
|
return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
|
|
2552
2643
|
}
|
|
2553
2644
|
}
|
|
@@ -2627,10 +2718,10 @@ export var ptPT = {
|
|
|
2627
2718
|
return 'Página anterior';
|
|
2628
2719
|
},
|
|
2629
2720
|
labelRowsPerPage: 'Linhas por página:',
|
|
2630
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2631
|
-
var from =
|
|
2632
|
-
to =
|
|
2633
|
-
count =
|
|
2721
|
+
labelDisplayedRows: function labelDisplayedRows(_ref24) {
|
|
2722
|
+
var from = _ref24.from,
|
|
2723
|
+
to = _ref24.to,
|
|
2724
|
+
count = _ref24.count;
|
|
2634
2725
|
return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
|
|
2635
2726
|
}
|
|
2636
2727
|
}
|
|
@@ -2762,6 +2853,97 @@ export var roRO = {
|
|
|
2762
2853
|
}
|
|
2763
2854
|
}
|
|
2764
2855
|
}
|
|
2856
|
+
}; // Serbian - Srpski
|
|
2857
|
+
|
|
2858
|
+
export var srRS = {
|
|
2859
|
+
components: {
|
|
2860
|
+
MuiBreadcrumbs: {
|
|
2861
|
+
defaultProps: {
|
|
2862
|
+
expandText: 'Pokaži putanju'
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
MuiTablePagination: {
|
|
2866
|
+
defaultProps: {
|
|
2867
|
+
getItemAriaLabel: function 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: function labelDisplayedRows(_ref25) {
|
|
2885
|
+
var from = _ref25.from,
|
|
2886
|
+
to = _ref25.to,
|
|
2887
|
+
count = _ref25.count;
|
|
2888
|
+
return "".concat(from, "\u2013").concat(to, " od ").concat(count !== -1 ? count : "vi\u0161e nego ".concat(to));
|
|
2889
|
+
}
|
|
2890
|
+
}
|
|
2891
|
+
},
|
|
2892
|
+
MuiRating: {
|
|
2893
|
+
defaultProps: {
|
|
2894
|
+
getLabelText: function getLabelText(value) {
|
|
2895
|
+
var lastDigit = value % 10;
|
|
2896
|
+
var lastTwoDigits = value % 100;
|
|
2897
|
+
|
|
2898
|
+
if ([2, 3, 4].includes(lastDigit) && ![12, 13, 14].includes(lastTwoDigits)) {
|
|
2899
|
+
return 'Zvezde';
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
return 'Zvezda';
|
|
2903
|
+
},
|
|
2904
|
+
emptyLabelText: 'Prazno'
|
|
2905
|
+
}
|
|
2906
|
+
},
|
|
2907
|
+
MuiAutocomplete: {
|
|
2908
|
+
defaultProps: {
|
|
2909
|
+
clearText: 'Briši',
|
|
2910
|
+
closeText: 'Zatvori',
|
|
2911
|
+
loadingText: 'Učitavanje…',
|
|
2912
|
+
noOptionsText: 'Nema opcija',
|
|
2913
|
+
openText: 'Otvori'
|
|
2914
|
+
}
|
|
2915
|
+
},
|
|
2916
|
+
MuiAlert: {
|
|
2917
|
+
defaultProps: {
|
|
2918
|
+
closeText: 'Zatvori'
|
|
2919
|
+
}
|
|
2920
|
+
},
|
|
2921
|
+
MuiPagination: {
|
|
2922
|
+
defaultProps: {
|
|
2923
|
+
'aria-label': 'Navigacija po stranicama',
|
|
2924
|
+
getItemAriaLabel: function getItemAriaLabel(type, page, selected) {
|
|
2925
|
+
if (type === 'page') {
|
|
2926
|
+
return "".concat(selected ? '' : 'Idi na ', "stranicu ").concat(page);
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
if (type === 'first') {
|
|
2930
|
+
return 'Idi na prvu stranicu';
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
if (type === 'last') {
|
|
2934
|
+
return 'Idi na zadnju stranicu';
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
|
+
if (type === 'next') {
|
|
2938
|
+
return 'Idi na sledeću stranicu';
|
|
2939
|
+
} // if (type === 'previous') {
|
|
2940
|
+
|
|
2941
|
+
|
|
2942
|
+
return 'Idi na prethodnu stranicu';
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2765
2947
|
};
|
|
2766
2948
|
export var ruRU = {
|
|
2767
2949
|
components: {
|
|
@@ -2789,10 +2971,10 @@ export var ruRU = {
|
|
|
2789
2971
|
return 'Перейти на предыдущую страницу';
|
|
2790
2972
|
},
|
|
2791
2973
|
labelRowsPerPage: 'Строк на странице:',
|
|
2792
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2793
|
-
var from =
|
|
2794
|
-
to =
|
|
2795
|
-
count =
|
|
2974
|
+
labelDisplayedRows: function labelDisplayedRows(_ref26) {
|
|
2975
|
+
var from = _ref26.from,
|
|
2976
|
+
to = _ref26.to,
|
|
2977
|
+
count = _ref26.count;
|
|
2796
2978
|
return "".concat(from, "\u2013").concat(to, " \u0438\u0437 ").concat(count !== -1 ? count : "\u0431\u043E\u043B\u0435\u0435 \u0447\u0435\u043C ".concat(to));
|
|
2797
2979
|
}
|
|
2798
2980
|
}
|
|
@@ -2885,10 +3067,10 @@ export var siLK = {
|
|
|
2885
3067
|
return 'පෙර පිටුවට යන්න';
|
|
2886
3068
|
},
|
|
2887
3069
|
labelRowsPerPage: 'පිටුවක පේළි:',
|
|
2888
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2889
|
-
var from =
|
|
2890
|
-
to =
|
|
2891
|
-
count =
|
|
3070
|
+
labelDisplayedRows: function labelDisplayedRows(_ref27) {
|
|
3071
|
+
var from = _ref27.from,
|
|
3072
|
+
to = _ref27.to,
|
|
3073
|
+
count = _ref27.count;
|
|
2892
3074
|
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
3075
|
}
|
|
2894
3076
|
}
|
|
@@ -2968,10 +3150,10 @@ export var skSK = {
|
|
|
2968
3150
|
return 'Ísť na predchádzajúcu stránku';
|
|
2969
3151
|
},
|
|
2970
3152
|
labelRowsPerPage: 'Riadkov na stránke:',
|
|
2971
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2972
|
-
var from =
|
|
2973
|
-
to =
|
|
2974
|
-
count =
|
|
3153
|
+
labelDisplayedRows: function labelDisplayedRows(_ref28) {
|
|
3154
|
+
var from = _ref28.from,
|
|
3155
|
+
to = _ref28.to,
|
|
3156
|
+
count = _ref28.count;
|
|
2975
3157
|
return "".concat(from, "\u2013").concat(to, " z ").concat(count !== -1 ? count : "viac ako ".concat(to));
|
|
2976
3158
|
}
|
|
2977
3159
|
}
|
|
@@ -3059,10 +3241,10 @@ export var svSE = {
|
|
|
3059
3241
|
return 'Gå till föregående sida';
|
|
3060
3242
|
},
|
|
3061
3243
|
labelRowsPerPage: 'Rader per sida:',
|
|
3062
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3063
|
-
var from =
|
|
3064
|
-
to =
|
|
3065
|
-
count =
|
|
3244
|
+
labelDisplayedRows: function labelDisplayedRows(_ref29) {
|
|
3245
|
+
var from = _ref29.from,
|
|
3246
|
+
to = _ref29.to,
|
|
3247
|
+
count = _ref29.count;
|
|
3066
3248
|
return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "fler \xE4n ".concat(to));
|
|
3067
3249
|
}
|
|
3068
3250
|
}
|
|
@@ -3142,10 +3324,10 @@ export var thTH = {
|
|
|
3142
3324
|
return 'ไปที่หน้าก่อน';
|
|
3143
3325
|
},
|
|
3144
3326
|
labelRowsPerPage: 'จำนวนแถวต่อหน้า:',
|
|
3145
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3146
|
-
var from =
|
|
3147
|
-
to =
|
|
3148
|
-
count =
|
|
3327
|
+
labelDisplayedRows: function labelDisplayedRows(_ref30) {
|
|
3328
|
+
var from = _ref30.from,
|
|
3329
|
+
to = _ref30.to,
|
|
3330
|
+
count = _ref30.count;
|
|
3149
3331
|
return "".concat(from, "\u2013").concat(to, " \u0E08\u0E32\u0E01 ").concat(count !== -1 ? count : "\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ".concat(to));
|
|
3150
3332
|
}
|
|
3151
3333
|
}
|
|
@@ -3304,10 +3486,10 @@ export var ukUA = {
|
|
|
3304
3486
|
return 'Перейти на попередню сторінку';
|
|
3305
3487
|
},
|
|
3306
3488
|
labelRowsPerPage: 'Рядків на сторінці:',
|
|
3307
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3308
|
-
var from =
|
|
3309
|
-
to =
|
|
3310
|
-
count =
|
|
3489
|
+
labelDisplayedRows: function labelDisplayedRows(_ref31) {
|
|
3490
|
+
var from = _ref31.from,
|
|
3491
|
+
to = _ref31.to,
|
|
3492
|
+
count = _ref31.count;
|
|
3311
3493
|
return "".concat(from, "\u2013").concat(to, " \u0437 ").concat(count !== -1 ? count : "\u043F\u043E\u043D\u0430\u0434 ".concat(to));
|
|
3312
3494
|
}
|
|
3313
3495
|
}
|
|
@@ -3396,10 +3578,10 @@ export var viVN = {
|
|
|
3396
3578
|
return 'Về trang trước đó';
|
|
3397
3579
|
},
|
|
3398
3580
|
labelRowsPerPage: 'Số hàng mỗi trang:',
|
|
3399
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3400
|
-
var from =
|
|
3401
|
-
to =
|
|
3402
|
-
count =
|
|
3581
|
+
labelDisplayedRows: function labelDisplayedRows(_ref32) {
|
|
3582
|
+
var from = _ref32.from,
|
|
3583
|
+
to = _ref32.to,
|
|
3584
|
+
count = _ref32.count;
|
|
3403
3585
|
return "".concat(from, "\u2013").concat(to, " trong ").concat(count !== -1 ? count : "nhi\u1EC1u h\u01A1n ".concat(to));
|
|
3404
3586
|
}
|
|
3405
3587
|
}
|
|
@@ -3478,10 +3660,10 @@ export var zhCN = {
|
|
|
3478
3660
|
return '上一页';
|
|
3479
3661
|
},
|
|
3480
3662
|
labelRowsPerPage: '每页行数:',
|
|
3481
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3482
|
-
var from =
|
|
3483
|
-
to =
|
|
3484
|
-
count =
|
|
3663
|
+
labelDisplayedRows: function labelDisplayedRows(_ref33) {
|
|
3664
|
+
var from = _ref33.from,
|
|
3665
|
+
to = _ref33.to,
|
|
3666
|
+
count = _ref33.count;
|
|
3485
3667
|
return "\u7B2C ".concat(from, " \u6761\u5230\u7B2C ").concat(to, " \u6761\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u6761") : "\u81F3\u5C11 ".concat(to, " \u6761"));
|
|
3486
3668
|
}
|
|
3487
3669
|
}
|
|
@@ -3535,10 +3717,10 @@ export var zhHK = {
|
|
|
3535
3717
|
return '上一頁';
|
|
3536
3718
|
},
|
|
3537
3719
|
labelRowsPerPage: '每頁行數:',
|
|
3538
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3539
|
-
var from =
|
|
3540
|
-
to =
|
|
3541
|
-
count =
|
|
3720
|
+
labelDisplayedRows: function labelDisplayedRows(_ref34) {
|
|
3721
|
+
var from = _ref34.from,
|
|
3722
|
+
to = _ref34.to,
|
|
3723
|
+
count = _ref34.count;
|
|
3542
3724
|
return "\u7B2C ".concat(from, " \u9805\u81F3\u7B2C ").concat(to, " \u9805\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u9805") : "\u8D85\u904E ".concat(to, " \u9805"));
|
|
3543
3725
|
}
|
|
3544
3726
|
}
|
|
@@ -3592,10 +3774,10 @@ export var zhTW = {
|
|
|
3592
3774
|
return '上一頁';
|
|
3593
3775
|
},
|
|
3594
3776
|
labelRowsPerPage: '每行行數:',
|
|
3595
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3596
|
-
var from =
|
|
3597
|
-
to =
|
|
3598
|
-
count =
|
|
3777
|
+
labelDisplayedRows: function labelDisplayedRows(_ref35) {
|
|
3778
|
+
var from = _ref35.from,
|
|
3779
|
+
to = _ref35.to,
|
|
3780
|
+
count = _ref35.count;
|
|
3599
3781
|
return "\u7B2C ".concat(from, " \u689D\u5230\u7B2C ").concat(to, " \u689D\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u689D") : "\u81F3\u5C11 ".concat(to, " \u689D"));
|
|
3600
3782
|
}
|
|
3601
3783
|
}
|
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
|
+
};
|