@mui/material 5.2.5 → 5.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/Accordion/accordionClasses.d.ts +18 -18
  2. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  3. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  4. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  5. package/Alert/alertClasses.d.ts +44 -44
  6. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  7. package/AppBar/appBarClasses.d.ts +28 -28
  8. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  9. package/Avatar/avatarClasses.d.ts +20 -20
  10. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  11. package/Badge/Badge.d.ts +25 -0
  12. package/Badge/Badge.js +25 -8
  13. package/BottomNavigation/BottomNavigation.js +0 -0
  14. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  15. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  16. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  17. package/Button/buttonClasses.d.ts +76 -76
  18. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  19. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  20. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  21. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  22. package/CHANGELOG.md +57 -0
  23. package/Card/cardClasses.d.ts +8 -8
  24. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  25. package/CardActions/cardActionsClasses.d.ts +10 -10
  26. package/CardContent/cardContentClasses.d.ts +8 -8
  27. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  28. package/CardMedia/cardMediaClasses.d.ts +12 -12
  29. package/Checkbox/checkboxClasses.d.ts +18 -18
  30. package/Chip/chipClasses.d.ts +80 -80
  31. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  32. package/ClickAwayListener/index.d.ts +2 -2
  33. package/Collapse/collapseClasses.d.ts +18 -18
  34. package/Container/containerClasses.d.ts +22 -22
  35. package/Dialog/DialogContext.d.ts +6 -6
  36. package/Dialog/dialogClasses.d.ts +36 -36
  37. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  38. package/DialogContent/dialogContentClasses.d.ts +10 -10
  39. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  40. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  41. package/Divider/dividerClasses.d.ts +34 -34
  42. package/Drawer/drawerClasses.d.ts +30 -30
  43. package/Fab/fabClasses.d.ts +26 -26
  44. package/FilledInput/filledInputClasses.d.ts +40 -40
  45. package/FormControl/formControlClasses.d.ts +14 -14
  46. package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
  47. package/FormGroup/formGroupClasses.d.ts +10 -10
  48. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  49. package/FormLabel/formLabelClasses.d.ts +22 -22
  50. package/Grid/gridClasses.d.ts +48 -48
  51. package/Icon/iconClasses.d.ts +24 -24
  52. package/IconButton/iconButtonClasses.d.ts +26 -26
  53. package/ImageList/imageListClasses.d.ts +16 -16
  54. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  55. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  56. package/Input/inputClasses.d.ts +34 -34
  57. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  58. package/InputBase/inputBaseClasses.d.ts +44 -44
  59. package/InputLabel/inputLabelClasses.d.ts +32 -32
  60. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  61. package/Link/linkClasses.d.ts +18 -18
  62. package/List/listClasses.d.ts +14 -14
  63. package/ListItem/listItemClasses.d.ts +30 -30
  64. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  65. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  66. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  67. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  68. package/ListItemText/listItemTextClasses.d.ts +18 -18
  69. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  70. package/Menu/menuClasses.d.ts +12 -12
  71. package/MenuItem/menuItemClasses.d.ts +20 -20
  72. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  73. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  74. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  75. package/Pagination/paginationClasses.d.ts +14 -14
  76. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  77. package/Paper/paperClasses.d.ts +39 -39
  78. package/Popover/popoverClasses.d.ts +10 -10
  79. package/Popper/Popper.d.ts +17 -17
  80. package/README.md +15 -21
  81. package/Radio/radioClasses.d.ts +16 -16
  82. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  83. package/RadioGroup/useRadioGroup.d.ts +4 -4
  84. package/Rating/ratingClasses.d.ts +40 -40
  85. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  86. package/Select/selectClasses.d.ts +30 -30
  87. package/Skeleton/skeletonClasses.d.ts +24 -24
  88. package/Snackbar/snackbarClasses.d.ts +20 -20
  89. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  90. package/SpeedDial/speedDialClasses.d.ts +22 -22
  91. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  92. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  93. package/Step/stepClasses.d.ts +16 -16
  94. package/StepButton/stepButtonClasses.d.ts +14 -14
  95. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  96. package/StepContent/stepContentClasses.d.ts +12 -12
  97. package/StepIcon/stepIconClasses.d.ts +16 -16
  98. package/StepLabel/stepLabelClasses.d.ts +28 -28
  99. package/Stepper/stepperClasses.d.ts +14 -14
  100. package/SvgIcon/svgIconClasses.d.ts +24 -24
  101. package/Switch/switchClasses.d.ts +32 -32
  102. package/Tab/tabClasses.d.ts +26 -26
  103. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  104. package/Table/tableClasses.d.ts +10 -10
  105. package/TableBody/tableBodyClasses.d.ts +8 -8
  106. package/TableCell/tableCellClasses.d.ts +32 -32
  107. package/TableContainer/tableContainerClasses.d.ts +8 -8
  108. package/TableFooter/tableFooterClasses.d.ts +8 -8
  109. package/TableHead/tableHeadClasses.d.ts +8 -8
  110. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  111. package/TableRow/tableRowClasses.d.ts +16 -16
  112. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  113. package/Tabs/tabsClasses.d.ts +32 -32
  114. package/TextField/textFieldClasses.d.ts +8 -8
  115. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  116. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  117. package/Toolbar/toolbarClasses.d.ts +14 -14
  118. package/Tooltip/tooltipClasses.d.ts +30 -30
  119. package/Typography/typographyClasses.d.ts +50 -50
  120. package/darkScrollbar/index.d.ts +28 -28
  121. package/index.js +1 -1
  122. package/internal/switchBaseClasses.d.ts +12 -12
  123. package/legacy/Badge/Badge.js +30 -9
  124. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  125. package/legacy/index.js +1 -1
  126. package/legacy/locale/index.js +141 -58
  127. package/locale/index.d.ts +68 -67
  128. package/locale/index.js +86 -6
  129. package/modern/Badge/Badge.js +25 -8
  130. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  131. package/modern/index.js +1 -1
  132. package/modern/locale/index.js +86 -6
  133. package/node/Badge/Badge.js +25 -8
  134. package/node/BottomNavigation/BottomNavigation.js +0 -0
  135. package/node/index.js +1 -1
  136. package/node/locale/index.js +88 -7
  137. package/package.json +3 -3
  138. package/transitions/index.d.ts +1 -1
  139. package/transitions/transition.d.ts +13 -13
  140. package/transitions/utils.d.ts +23 -23
  141. package/umd/material-ui.development.js +96 -55
  142. package/umd/material-ui.production.min.js +21 -21
  143. package/useMediaQuery/useMediaQuery.d.ts +27 -27
  144. package/useTouchRipple/index.d.ts +1 -1
  145. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  146. package/utils/getScrollbarSize.d.ts +2 -2
  147. package/utils/ownerDocument.d.ts +2 -2
  148. package/utils/ownerWindow.d.ts +2 -2
  149. package/utils/setRef.d.ts +2 -2
@@ -11,16 +11,19 @@ import styled from '../styles/styled';
11
11
  import useThemeProps from '../styles/useThemeProps';
12
12
  import capitalize from '../utils/capitalize';
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
14
- export var badgeClasses = _extends({}, badgeUnstyledClasses, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning']));
14
+ export var badgeClasses = _extends({}, badgeUnstyledClasses, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'overlapRectangular', 'overlapCircular', // TODO: v6 remove the overlap value from these class keys
15
+ 'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']));
15
16
  var RADIUS_STANDARD = 10;
16
17
  var RADIUS_DOT = 4;
17
18
 
18
19
  var extendUtilityClasses = function extendUtilityClasses(ownerState) {
19
20
  var color = ownerState.color,
21
+ anchorOrigin = ownerState.anchorOrigin,
22
+ overlap = ownerState.overlap,
20
23
  _ownerState$classes = ownerState.classes,
21
24
  classes = _ownerState$classes === void 0 ? {} : _ownerState$classes;
22
25
  return _extends({}, classes, {
23
- badge: clsx(classes.badge, color !== 'default' && [getBadgeUtilityClass("color".concat(capitalize(color))), classes["color".concat(capitalize(color))]])
26
+ badge: clsx(classes.badge, getBadgeUtilityClass("anchorOrigin".concat(capitalize(anchorOrigin.vertical)).concat(capitalize(anchorOrigin.horizontal)).concat(capitalize(overlap))), getBadgeUtilityClass("overlap".concat(capitalize(overlap))), color !== 'default' && [getBadgeUtilityClass("color".concat(capitalize(color))), classes["color".concat(capitalize(color))]])
24
27
  });
25
28
  };
26
29
 
@@ -154,12 +157,19 @@ var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
154
157
  name: 'MuiBadge'
155
158
  });
156
159
 
157
- var _props$component = props.component,
160
+ var _props$anchorOrigin = props.anchorOrigin,
161
+ anchorOriginProp = _props$anchorOrigin === void 0 ? {
162
+ vertical: 'top',
163
+ horizontal: 'right'
164
+ } : _props$anchorOrigin,
165
+ _props$component = props.component,
158
166
  component = _props$component === void 0 ? 'span' : _props$component,
159
167
  _props$components = props.components,
160
168
  components = _props$components === void 0 ? {} : _props$components,
161
169
  _props$componentsProp = props.componentsProps,
162
170
  componentsProps = _props$componentsProp === void 0 ? {} : _props$componentsProp,
171
+ _props$overlap = props.overlap,
172
+ overlapProp = _props$overlap === void 0 ? 'rectangular' : _props$overlap,
163
173
  _props$color = props.color,
164
174
  colorProp = _props$color === void 0 ? 'default' : _props$color,
165
175
  invisibleProp = props.invisible,
@@ -168,10 +178,12 @@ var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
168
178
  showZero = _props$showZero === void 0 ? false : _props$showZero,
169
179
  _props$variant = props.variant,
170
180
  variantProp = _props$variant === void 0 ? 'standard' : _props$variant,
171
- other = _objectWithoutProperties(props, ["component", "components", "componentsProps", "color", "invisible", "badgeContent", "showZero", "variant"]);
181
+ other = _objectWithoutProperties(props, ["anchorOrigin", "component", "components", "componentsProps", "overlap", "color", "invisible", "badgeContent", "showZero", "variant"]);
172
182
 
173
183
  var prevProps = usePreviousProps({
174
- color: colorProp
184
+ anchorOrigin: anchorOriginProp,
185
+ color: colorProp,
186
+ overlap: overlapProp
175
187
  });
176
188
  var invisible = invisibleProp;
177
189
 
@@ -181,15 +193,22 @@ var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
181
193
 
182
194
  var _ref10 = invisible ? prevProps : props,
183
195
  _ref10$color = _ref10.color,
184
- color = _ref10$color === void 0 ? colorProp : _ref10$color;
196
+ color = _ref10$color === void 0 ? colorProp : _ref10$color,
197
+ _ref10$overlap = _ref10.overlap,
198
+ overlap = _ref10$overlap === void 0 ? overlapProp : _ref10$overlap,
199
+ _ref10$anchorOrigin = _ref10.anchorOrigin,
200
+ anchorOrigin = _ref10$anchorOrigin === void 0 ? anchorOriginProp : _ref10$anchorOrigin;
185
201
 
186
202
  var ownerState = _extends({}, props, {
203
+ anchorOrigin: anchorOrigin,
187
204
  invisible: invisible,
188
- color: color
205
+ color: color,
206
+ overlap: overlap
189
207
  });
190
208
 
191
209
  var classes = extendUtilityClasses(ownerState);
192
210
  return /*#__PURE__*/_jsx(BadgeUnstyled, _extends({
211
+ anchorOrigin: anchorOrigin,
193
212
  invisible: invisibleProp,
194
213
  badgeContent: badgeContentProp,
195
214
  showZero: showZero,
@@ -203,12 +222,14 @@ var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
203
222
  root: _extends({}, componentsProps.root, shouldSpreadAdditionalProps(components.Root) && {
204
223
  as: component,
205
224
  ownerState: _extends({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState, {
206
- color: color
225
+ color: color,
226
+ overlap: overlap
207
227
  })
208
228
  }),
209
229
  badge: _extends({}, componentsProps.badge, shouldSpreadAdditionalProps(components.Badge) && {
210
230
  ownerState: _extends({}, (_componentsProps$badg = componentsProps.badge) == null ? void 0 : _componentsProps$badg.ownerState, {
211
- color: color
231
+ color: color,
232
+ overlap: overlap
212
233
  })
213
234
  })
214
235
  },
File without changes
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.2.5
1
+ /** @license MUI v5.2.6
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -914,7 +914,7 @@ export var enUS = {
914
914
  MuiBreadcrumbs: { defaultProps: {
915
915
  expandText: 'Show path',
916
916
  }},
917
- MuiTablePagination: { defaultProps: {
917
+ MuiTablePagination: { defaultProps: {
918
918
  getItemAriaLabel: (type) => {
919
919
  if (type === 'first') {
920
920
  return 'Go to first page';
@@ -932,21 +932,21 @@ export var enUS = {
932
932
  labelDisplayedRows: ({ from, to, count }) =>
933
933
  `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`,
934
934
  }},
935
- MuiRating: { defaultProps: {
935
+ MuiRating: { defaultProps: {
936
936
  getLabelText: value => `${value} Star${value !== 1 ? 's' : ''}`,
937
937
  emptyLabelText: 'Empty',
938
938
  }},
939
- MuiAutocomplete: { defaultProps: {
939
+ MuiAutocomplete: { defaultProps: {
940
940
  clearText: 'Clear',
941
941
  closeText: 'Close',
942
942
  loadingText: 'Loading…',
943
943
  noOptionsText: 'No options',
944
944
  openText: 'Open',
945
945
  }},
946
- MuiAlert: { defaultProps: {
946
+ MuiAlert: { defaultProps: {
947
947
  closeText: 'Close',
948
948
  }},
949
- MuiPagination: { defaultProps: {
949
+ MuiPagination: { defaultProps: {
950
950
  'aria-label': 'Pagination navigation',
951
951
  getItemAriaLabel: (type, page, selected) => {
952
952
  if (type === 'page') {
@@ -964,7 +964,7 @@ export var enUS = {
964
964
  // if (type === 'previous') {
965
965
  return 'Go to previous page';
966
966
  },
967
- },
967
+ }},
968
968
  },
969
969
  */
970
970
  };
@@ -2252,6 +2252,89 @@ export var kzKZ = {
2252
2252
  }
2253
2253
  }
2254
2254
  };
2255
+ export var nbNO = {
2256
+ components: {
2257
+ MuiBreadcrumbs: {
2258
+ defaultProps: {
2259
+ expandText: 'Vis sti'
2260
+ }
2261
+ },
2262
+ MuiTablePagination: {
2263
+ defaultProps: {
2264
+ getItemAriaLabel: function getItemAriaLabel(type) {
2265
+ if (type === 'first') {
2266
+ return 'Gå til første side';
2267
+ }
2268
+
2269
+ if (type === 'last') {
2270
+ return 'Gå til siste side';
2271
+ }
2272
+
2273
+ if (type === 'next') {
2274
+ return 'Gå til neste side';
2275
+ } // if (type === 'previous') {
2276
+
2277
+
2278
+ return 'Gå til forrige side';
2279
+ },
2280
+ labelRowsPerPage: 'Rader per side:',
2281
+ labelDisplayedRows: function labelDisplayedRows(_ref17) {
2282
+ var from = _ref17.from,
2283
+ to = _ref17.to,
2284
+ count = _ref17.count;
2285
+ return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "mer enn ".concat(to));
2286
+ }
2287
+ }
2288
+ },
2289
+ MuiRating: {
2290
+ defaultProps: {
2291
+ getLabelText: function getLabelText(value) {
2292
+ return "".concat(value, " Stjerne").concat(value !== 1 ? 'r' : '');
2293
+ },
2294
+ emptyLabelText: 'Tom'
2295
+ }
2296
+ },
2297
+ MuiAutocomplete: {
2298
+ defaultProps: {
2299
+ clearText: 'Tøm',
2300
+ closeText: 'Lukk',
2301
+ loadingText: 'Laster inn…',
2302
+ noOptionsText: 'Ingen alternativer',
2303
+ openText: 'Åpne'
2304
+ }
2305
+ },
2306
+ MuiAlert: {
2307
+ defaultProps: {
2308
+ closeText: 'Lukk'
2309
+ }
2310
+ },
2311
+ MuiPagination: {
2312
+ defaultProps: {
2313
+ 'aria-label': 'Paginering navigasjon',
2314
+ getItemAriaLabel: function getItemAriaLabel(type, page, selected) {
2315
+ if (type === 'page') {
2316
+ return "".concat(selected ? '' : 'Gå til ', "side ").concat(page);
2317
+ }
2318
+
2319
+ if (type === 'first') {
2320
+ return 'Gå til første side';
2321
+ }
2322
+
2323
+ if (type === 'last') {
2324
+ return 'Gå til siste side';
2325
+ }
2326
+
2327
+ if (type === 'next') {
2328
+ return 'Gå til neste side';
2329
+ } // if (type === 'previous') {
2330
+
2331
+
2332
+ return 'Gå til forrige side';
2333
+ }
2334
+ }
2335
+ }
2336
+ }
2337
+ };
2255
2338
  export var nlNL = {
2256
2339
  components: {
2257
2340
  MuiBreadcrumbs: {
@@ -2278,10 +2361,10 @@ export var nlNL = {
2278
2361
  return 'Ga naar vorige pagina';
2279
2362
  },
2280
2363
  labelRowsPerPage: 'Regels per pagina:',
2281
- labelDisplayedRows: function labelDisplayedRows(_ref17) {
2282
- var from = _ref17.from,
2283
- to = _ref17.to,
2284
- count = _ref17.count;
2364
+ labelDisplayedRows: function labelDisplayedRows(_ref18) {
2365
+ var from = _ref18.from,
2366
+ to = _ref18.to,
2367
+ count = _ref18.count;
2285
2368
  return "".concat(from, "\u2013").concat(to, " van ").concat(count !== -1 ? count : "meer dan ".concat(to));
2286
2369
  }
2287
2370
  }
@@ -2449,10 +2532,10 @@ export var ptBR = {
2449
2532
  return 'Ir para a página anterior';
2450
2533
  },
2451
2534
  labelRowsPerPage: 'Linhas por página:',
2452
- labelDisplayedRows: function labelDisplayedRows(_ref18) {
2453
- var from = _ref18.from,
2454
- to = _ref18.to,
2455
- count = _ref18.count;
2535
+ labelDisplayedRows: function labelDisplayedRows(_ref19) {
2536
+ var from = _ref19.from,
2537
+ to = _ref19.to,
2538
+ count = _ref19.count;
2456
2539
  return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
2457
2540
  }
2458
2541
  }
@@ -2532,10 +2615,10 @@ export var ptPT = {
2532
2615
  return 'Página anterior';
2533
2616
  },
2534
2617
  labelRowsPerPage: 'Linhas por página:',
2535
- labelDisplayedRows: function labelDisplayedRows(_ref19) {
2536
- var from = _ref19.from,
2537
- to = _ref19.to,
2538
- count = _ref19.count;
2618
+ labelDisplayedRows: function labelDisplayedRows(_ref20) {
2619
+ var from = _ref20.from,
2620
+ to = _ref20.to,
2621
+ count = _ref20.count;
2539
2622
  return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
2540
2623
  }
2541
2624
  }
@@ -2694,10 +2777,10 @@ export var ruRU = {
2694
2777
  return 'Перейти на предыдущую страницу';
2695
2778
  },
2696
2779
  labelRowsPerPage: 'Строк на странице:',
2697
- labelDisplayedRows: function labelDisplayedRows(_ref20) {
2698
- var from = _ref20.from,
2699
- to = _ref20.to,
2700
- count = _ref20.count;
2780
+ labelDisplayedRows: function labelDisplayedRows(_ref21) {
2781
+ var from = _ref21.from,
2782
+ to = _ref21.to,
2783
+ count = _ref21.count;
2701
2784
  return "".concat(from, "\u2013").concat(to, " \u0438\u0437 ").concat(count !== -1 ? count : "\u0431\u043E\u043B\u0435\u0435 \u0447\u0435\u043C ".concat(to));
2702
2785
  }
2703
2786
  }
@@ -2790,10 +2873,10 @@ export var siLK = {
2790
2873
  return 'පෙර පිටුවට යන්න';
2791
2874
  },
2792
2875
  labelRowsPerPage: 'පිටුවක පේළි:',
2793
- labelDisplayedRows: function labelDisplayedRows(_ref21) {
2794
- var from = _ref21.from,
2795
- to = _ref21.to,
2796
- count = _ref21.count;
2876
+ labelDisplayedRows: function labelDisplayedRows(_ref22) {
2877
+ var from = _ref22.from,
2878
+ to = _ref22.to,
2879
+ count = _ref22.count;
2797
2880
  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"));
2798
2881
  }
2799
2882
  }
@@ -2873,10 +2956,10 @@ export var skSK = {
2873
2956
  return 'Ísť na predchádzajúcu stránku';
2874
2957
  },
2875
2958
  labelRowsPerPage: 'Riadkov na stránke:',
2876
- labelDisplayedRows: function labelDisplayedRows(_ref22) {
2877
- var from = _ref22.from,
2878
- to = _ref22.to,
2879
- count = _ref22.count;
2959
+ labelDisplayedRows: function labelDisplayedRows(_ref23) {
2960
+ var from = _ref23.from,
2961
+ to = _ref23.to,
2962
+ count = _ref23.count;
2880
2963
  return "".concat(from, "\u2013").concat(to, " z ").concat(count !== -1 ? count : "viac ako ".concat(to));
2881
2964
  }
2882
2965
  }
@@ -2964,10 +3047,10 @@ export var svSE = {
2964
3047
  return 'Gå till föregående sida';
2965
3048
  },
2966
3049
  labelRowsPerPage: 'Rader per sida:',
2967
- labelDisplayedRows: function labelDisplayedRows(_ref23) {
2968
- var from = _ref23.from,
2969
- to = _ref23.to,
2970
- count = _ref23.count;
3050
+ labelDisplayedRows: function labelDisplayedRows(_ref24) {
3051
+ var from = _ref24.from,
3052
+ to = _ref24.to,
3053
+ count = _ref24.count;
2971
3054
  return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "fler \xE4n ".concat(to));
2972
3055
  }
2973
3056
  }
@@ -3047,10 +3130,10 @@ export var thTH = {
3047
3130
  return 'ไปที่หน้าก่อน';
3048
3131
  },
3049
3132
  labelRowsPerPage: 'จำนวนแถวต่อหน้า:',
3050
- labelDisplayedRows: function labelDisplayedRows(_ref24) {
3051
- var from = _ref24.from,
3052
- to = _ref24.to,
3053
- count = _ref24.count;
3133
+ labelDisplayedRows: function labelDisplayedRows(_ref25) {
3134
+ var from = _ref25.from,
3135
+ to = _ref25.to,
3136
+ count = _ref25.count;
3054
3137
  return "".concat(from, "\u2013").concat(to, " \u0E08\u0E32\u0E01 ").concat(count !== -1 ? count : "\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ".concat(to));
3055
3138
  }
3056
3139
  }
@@ -3209,10 +3292,10 @@ export var ukUA = {
3209
3292
  return 'Перейти на попередню сторінку';
3210
3293
  },
3211
3294
  labelRowsPerPage: 'Рядків на сторінці:',
3212
- labelDisplayedRows: function labelDisplayedRows(_ref25) {
3213
- var from = _ref25.from,
3214
- to = _ref25.to,
3215
- count = _ref25.count;
3295
+ labelDisplayedRows: function labelDisplayedRows(_ref26) {
3296
+ var from = _ref26.from,
3297
+ to = _ref26.to,
3298
+ count = _ref26.count;
3216
3299
  return "".concat(from, "\u2013").concat(to, " \u0437 ").concat(count !== -1 ? count : "\u043F\u043E\u043D\u0430\u0434 ".concat(to));
3217
3300
  }
3218
3301
  }
@@ -3298,10 +3381,10 @@ export var viVN = {
3298
3381
  // return 'Go to previous page';
3299
3382
  // },
3300
3383
  labelRowsPerPage: 'Số hàng mỗi trang:',
3301
- labelDisplayedRows: function labelDisplayedRows(_ref26) {
3302
- var from = _ref26.from,
3303
- to = _ref26.to,
3304
- count = _ref26.count;
3384
+ labelDisplayedRows: function labelDisplayedRows(_ref27) {
3385
+ var from = _ref27.from,
3386
+ to = _ref27.to,
3387
+ count = _ref27.count;
3305
3388
  return "".concat(from, "\u2013").concat(to, " trong ").concat(count !== -1 ? count : "nhi\u1EC1u h\u01A1n ".concat(to));
3306
3389
  }
3307
3390
  }
@@ -3376,10 +3459,10 @@ export var zhCN = {
3376
3459
  return '上一页';
3377
3460
  },
3378
3461
  labelRowsPerPage: '每页行数:',
3379
- labelDisplayedRows: function labelDisplayedRows(_ref27) {
3380
- var from = _ref27.from,
3381
- to = _ref27.to,
3382
- count = _ref27.count;
3462
+ labelDisplayedRows: function labelDisplayedRows(_ref28) {
3463
+ var from = _ref28.from,
3464
+ to = _ref28.to,
3465
+ count = _ref28.count;
3383
3466
  return "\u7B2C ".concat(from, " \u6761\u5230\u7B2C ").concat(to, " \u6761\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u6761") : "\u81F3\u5C11 ".concat(to, " \u6761"));
3384
3467
  }
3385
3468
  }
@@ -3433,10 +3516,10 @@ export var zhHK = {
3433
3516
  return '上一頁';
3434
3517
  },
3435
3518
  labelRowsPerPage: '每頁行數:',
3436
- labelDisplayedRows: function labelDisplayedRows(_ref28) {
3437
- var from = _ref28.from,
3438
- to = _ref28.to,
3439
- count = _ref28.count;
3519
+ labelDisplayedRows: function labelDisplayedRows(_ref29) {
3520
+ var from = _ref29.from,
3521
+ to = _ref29.to,
3522
+ count = _ref29.count;
3440
3523
  return "\u7B2C ".concat(from, " \u9805\u81F3\u7B2C ").concat(to, " \u9805\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u9805") : "\u8D85\u904E ".concat(to, " \u9805"));
3441
3524
  }
3442
3525
  }
@@ -3490,10 +3573,10 @@ export var zhTW = {
3490
3573
  return '上一頁';
3491
3574
  },
3492
3575
  labelRowsPerPage: '每行行數:',
3493
- labelDisplayedRows: function labelDisplayedRows(_ref29) {
3494
- var from = _ref29.from,
3495
- to = _ref29.to,
3496
- count = _ref29.count;
3576
+ labelDisplayedRows: function labelDisplayedRows(_ref30) {
3577
+ var from = _ref30.from,
3578
+ to = _ref30.to,
3579
+ count = _ref30.count;
3497
3580
  return "\u7B2C ".concat(from, " \u689D\u5230\u7B2C ").concat(to, " \u689D\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u689D") : "\u81F3\u5C11 ".concat(to, " \u689D"));
3498
3581
  }
3499
3582
  }
package/locale/index.d.ts CHANGED
@@ -1,67 +1,68 @@
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 huHU: Localization;
44
- export declare const hyAM: Localization;
45
- export declare const idID: Localization;
46
- export declare const isIS: Localization;
47
- export declare const itIT: Localization;
48
- export declare const jaJP: Localization;
49
- export declare const khKH: Localization;
50
- export declare const koKR: Localization;
51
- export declare const kzKZ: Localization;
52
- export declare const nlNL: Localization;
53
- export declare const plPL: Localization;
54
- export declare const ptBR: Localization;
55
- export declare const ptPT: Localization;
56
- export declare const roRO: Localization;
57
- export declare const ruRU: Localization;
58
- export declare const siLK: Localization;
59
- export declare const skSK: Localization;
60
- export declare const svSE: Localization;
61
- export declare const thTH: Localization;
62
- export declare const trTR: Localization;
63
- export declare const ukUA: Localization;
64
- export declare const viVN: Localization;
65
- export declare const zhCN: Localization;
66
- export declare const zhHK: Localization;
67
- export declare const zhTW: Localization;
1
+ import { ComponentsPropsList } from '../styles/props';
2
+ export interface Localization {
3
+ components?: {
4
+ MuiAlert?: {
5
+ defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
6
+ };
7
+ MuiBreadcrumbs?: {
8
+ defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'>;
9
+ };
10
+ MuiTablePagination?: {
11
+ defaultProps: Pick<ComponentsPropsList['MuiTablePagination'], 'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'>;
12
+ };
13
+ MuiRating?: {
14
+ defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
15
+ };
16
+ MuiAutocomplete?: {
17
+ defaultProps: Pick<ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'>;
18
+ };
19
+ MuiPagination?: {
20
+ defaultProps: Pick<ComponentsPropsList['MuiPagination'], 'aria-label' | 'getItemAriaLabel'>;
21
+ };
22
+ };
23
+ }
24
+ export declare const amET: Localization;
25
+ export declare const arEG: Localization;
26
+ export declare const arSD: Localization;
27
+ export declare const azAZ: Localization;
28
+ export declare const bnBD: Localization;
29
+ export declare const bgBG: Localization;
30
+ export declare const caES: Localization;
31
+ export declare const csCZ: Localization;
32
+ export declare const daDK: Localization;
33
+ export declare const deDE: Localization;
34
+ export declare const elGR: Localization;
35
+ export declare const enUS: Localization;
36
+ export declare const esES: Localization;
37
+ export declare const etEE: Localization;
38
+ export declare const faIR: Localization;
39
+ export declare const fiFI: Localization;
40
+ export declare const frFR: Localization;
41
+ export declare const heIL: Localization;
42
+ export declare const hiIN: Localization;
43
+ export declare const huHU: Localization;
44
+ export declare const hyAM: Localization;
45
+ export declare const idID: Localization;
46
+ export declare const isIS: Localization;
47
+ export declare const itIT: Localization;
48
+ export declare const jaJP: Localization;
49
+ export declare const khKH: Localization;
50
+ export declare const koKR: Localization;
51
+ export declare const kzKZ: Localization;
52
+ export declare const nbNO: Localization;
53
+ export declare const nlNL: Localization;
54
+ export declare const plPL: Localization;
55
+ export declare const ptBR: Localization;
56
+ export declare const ptPT: Localization;
57
+ export declare const roRO: Localization;
58
+ export declare const ruRU: Localization;
59
+ export declare const siLK: Localization;
60
+ export declare const skSK: Localization;
61
+ export declare const svSE: Localization;
62
+ export declare const thTH: Localization;
63
+ export declare const trTR: Localization;
64
+ export declare const ukUA: Localization;
65
+ export declare const viVN: Localization;
66
+ export declare const zhCN: Localization;
67
+ export declare const zhHK: Localization;
68
+ export declare const zhTW: Localization;