@mui/material 5.4.1 → 5.4.4

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 (246) 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/BottomNavigation/BottomNavigation.js +0 -0
  12. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  13. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  14. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  15. package/Button/buttonClasses.d.ts +76 -76
  16. package/ButtonBase/ButtonBase.d.ts +1 -1
  17. package/ButtonBase/ButtonBase.js +1 -1
  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 +177 -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/Chip.js +1 -0
  31. package/Chip/chipClasses.d.ts +80 -80
  32. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  33. package/ClickAwayListener/index.d.ts +2 -2
  34. package/Collapse/collapseClasses.d.ts +18 -18
  35. package/Container/containerClasses.d.ts +22 -22
  36. package/Dialog/Dialog.d.ts +4 -1
  37. package/Dialog/Dialog.js +10 -6
  38. package/Dialog/DialogContext.d.ts +6 -6
  39. package/Dialog/dialogClasses.d.ts +36 -36
  40. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  41. package/DialogContent/dialogContentClasses.d.ts +10 -10
  42. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  43. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  44. package/Divider/dividerClasses.d.ts +34 -34
  45. package/Drawer/Drawer.d.ts +4 -1
  46. package/Drawer/Drawer.js +11 -9
  47. package/Drawer/drawerClasses.d.ts +30 -30
  48. package/Fab/fabClasses.d.ts +26 -26
  49. package/Fade/Fade.d.ts +2 -2
  50. package/Fade/Fade.js +8 -8
  51. package/FilledInput/filledInputClasses.d.ts +40 -40
  52. package/FilledInput/filledInputClasses.js +5 -1
  53. package/FormControl/formControlClasses.d.ts +14 -14
  54. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  55. package/FormGroup/formGroupClasses.d.ts +12 -12
  56. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  57. package/FormLabel/formLabelClasses.d.ts +22 -22
  58. package/Grid/gridClasses.d.ts +48 -48
  59. package/Icon/iconClasses.d.ts +24 -24
  60. package/IconButton/iconButtonClasses.d.ts +26 -26
  61. package/ImageList/imageListClasses.d.ts +16 -16
  62. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  63. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  64. package/Input/inputClasses.d.ts +34 -34
  65. package/Input/inputClasses.js +5 -1
  66. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  67. package/InputBase/inputBaseClasses.d.ts +44 -44
  68. package/InputLabel/inputLabelClasses.d.ts +32 -32
  69. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  70. package/Link/linkClasses.d.ts +18 -18
  71. package/List/listClasses.d.ts +14 -14
  72. package/ListItem/listItemClasses.d.ts +30 -30
  73. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  74. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  75. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  76. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  77. package/ListItemText/listItemTextClasses.d.ts +18 -18
  78. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  79. package/Menu/menuClasses.d.ts +12 -12
  80. package/MenuItem/menuItemClasses.d.ts +20 -20
  81. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  82. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  83. package/OutlinedInput/NotchedOutline.js +3 -1
  84. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  85. package/OutlinedInput/outlinedInputClasses.js +5 -1
  86. package/Pagination/paginationClasses.d.ts +14 -14
  87. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  88. package/Paper/paperClasses.d.ts +39 -39
  89. package/Popover/popoverClasses.d.ts +10 -10
  90. package/Popper/Popper.d.ts +17 -17
  91. package/Popper/Popper.js +1 -1
  92. package/README.md +1 -1
  93. package/Radio/radioClasses.d.ts +16 -16
  94. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  95. package/RadioGroup/useRadioGroup.d.ts +4 -4
  96. package/Rating/ratingClasses.d.ts +40 -40
  97. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  98. package/Select/Select.js +19 -7
  99. package/Select/selectClasses.d.ts +30 -30
  100. package/Skeleton/skeletonClasses.d.ts +24 -24
  101. package/Slide/Slide.d.ts +4 -4
  102. package/Slide/Slide.js +14 -14
  103. package/Snackbar/Snackbar.d.ts +2 -2
  104. package/Snackbar/Snackbar.js +8 -8
  105. package/Snackbar/snackbarClasses.d.ts +20 -20
  106. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  107. package/SpeedDial/SpeedDial.d.ts +2 -2
  108. package/SpeedDial/SpeedDial.js +9 -7
  109. package/SpeedDial/speedDialClasses.d.ts +22 -22
  110. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  111. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  112. package/Step/StepContext.d.ts +20 -0
  113. package/Step/StepContext.js +10 -2
  114. package/Step/index.d.ts +3 -0
  115. package/Step/index.js +3 -1
  116. package/Step/stepClasses.d.ts +16 -16
  117. package/StepButton/stepButtonClasses.d.ts +14 -14
  118. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  119. package/StepContent/stepContentClasses.d.ts +12 -12
  120. package/StepIcon/stepIconClasses.d.ts +16 -16
  121. package/StepLabel/stepLabelClasses.d.ts +28 -28
  122. package/Stepper/stepperClasses.d.ts +14 -14
  123. package/SvgIcon/svgIconClasses.d.ts +24 -24
  124. package/SwipeableDrawer/SwipeableDrawer.js +8 -6
  125. package/Switch/switchClasses.d.ts +32 -32
  126. package/Tab/tabClasses.d.ts +26 -26
  127. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  128. package/Table/tableClasses.d.ts +10 -10
  129. package/TableBody/tableBodyClasses.d.ts +8 -8
  130. package/TableCell/tableCellClasses.d.ts +32 -32
  131. package/TableContainer/tableContainerClasses.d.ts +8 -8
  132. package/TableFooter/tableFooterClasses.d.ts +8 -8
  133. package/TableHead/tableHeadClasses.d.ts +8 -8
  134. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  135. package/TableRow/tableRowClasses.d.ts +16 -16
  136. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  137. package/Tabs/tabsClasses.d.ts +32 -32
  138. package/TextField/textFieldClasses.d.ts +8 -8
  139. package/ToggleButton/ToggleButton.d.ts +15 -0
  140. package/ToggleButton/ToggleButton.js +8 -2
  141. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  142. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  143. package/Toolbar/toolbarClasses.d.ts +14 -14
  144. package/Tooltip/tooltipClasses.d.ts +30 -30
  145. package/Typography/typographyClasses.d.ts +50 -50
  146. package/Zoom/Zoom.d.ts +2 -2
  147. package/Zoom/Zoom.js +8 -8
  148. package/darkScrollbar/index.d.ts +28 -28
  149. package/index.d.ts +3 -0
  150. package/index.js +3 -1
  151. package/internal/switchBaseClasses.d.ts +12 -12
  152. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  153. package/legacy/ButtonBase/ButtonBase.js +1 -1
  154. package/legacy/Chip/Chip.js +1 -0
  155. package/legacy/Dialog/Dialog.js +10 -6
  156. package/legacy/Drawer/Drawer.js +11 -9
  157. package/legacy/Fade/Fade.js +8 -8
  158. package/legacy/FilledInput/filledInputClasses.js +5 -1
  159. package/legacy/Input/inputClasses.js +5 -1
  160. package/legacy/OutlinedInput/NotchedOutline.js +3 -1
  161. package/legacy/OutlinedInput/outlinedInputClasses.js +5 -1
  162. package/legacy/Popper/Popper.js +1 -1
  163. package/legacy/Select/Select.js +23 -7
  164. package/legacy/Slide/Slide.js +14 -14
  165. package/legacy/Snackbar/Snackbar.js +8 -8
  166. package/legacy/SpeedDial/SpeedDial.js +9 -7
  167. package/legacy/Step/StepContext.js +10 -2
  168. package/legacy/Step/index.js +3 -1
  169. package/legacy/SwipeableDrawer/SwipeableDrawer.js +8 -6
  170. package/legacy/ToggleButton/ToggleButton.js +8 -2
  171. package/legacy/Zoom/Zoom.js +8 -8
  172. package/legacy/index.js +3 -1
  173. package/legacy/locale/index.js +86 -78
  174. package/legacy/styles/makeStyles.js +1 -1
  175. package/legacy/styles/withStyles.js +1 -1
  176. package/legacy/styles/withTheme.js +1 -1
  177. package/locale/index.d.ts +68 -68
  178. package/locale/index.js +12 -6
  179. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  180. package/modern/ButtonBase/ButtonBase.js +1 -1
  181. package/modern/Chip/Chip.js +1 -0
  182. package/modern/Dialog/Dialog.js +10 -6
  183. package/modern/Drawer/Drawer.js +11 -9
  184. package/modern/Fade/Fade.js +8 -8
  185. package/modern/FilledInput/filledInputClasses.js +5 -1
  186. package/modern/Input/inputClasses.js +5 -1
  187. package/modern/OutlinedInput/NotchedOutline.js +3 -1
  188. package/modern/OutlinedInput/outlinedInputClasses.js +5 -1
  189. package/modern/Popper/Popper.js +1 -1
  190. package/modern/Select/Select.js +19 -7
  191. package/modern/Slide/Slide.js +14 -14
  192. package/modern/Snackbar/Snackbar.js +8 -8
  193. package/modern/SpeedDial/SpeedDial.js +9 -7
  194. package/modern/Step/StepContext.js +10 -2
  195. package/modern/Step/index.js +3 -1
  196. package/modern/SwipeableDrawer/SwipeableDrawer.js +8 -6
  197. package/modern/ToggleButton/ToggleButton.js +8 -2
  198. package/modern/Zoom/Zoom.js +8 -8
  199. package/modern/index.js +3 -1
  200. package/modern/locale/index.js +12 -6
  201. package/modern/styles/makeStyles.js +1 -1
  202. package/modern/styles/withStyles.js +1 -1
  203. package/modern/styles/withTheme.js +1 -1
  204. package/node/BottomNavigation/BottomNavigation.js +0 -0
  205. package/node/ButtonBase/ButtonBase.js +1 -1
  206. package/node/Chip/Chip.js +1 -0
  207. package/node/Dialog/Dialog.js +11 -7
  208. package/node/Drawer/Drawer.js +11 -10
  209. package/node/Fade/Fade.js +7 -9
  210. package/node/FilledInput/filledInputClasses.js +7 -1
  211. package/node/Input/inputClasses.js +7 -1
  212. package/node/OutlinedInput/NotchedOutline.js +3 -1
  213. package/node/OutlinedInput/outlinedInputClasses.js +7 -1
  214. package/node/Popper/Popper.js +1 -1
  215. package/node/Select/Select.js +22 -9
  216. package/node/Slide/Slide.js +14 -16
  217. package/node/Snackbar/Snackbar.js +8 -9
  218. package/node/SpeedDial/SpeedDial.js +9 -7
  219. package/node/Step/StepContext.js +11 -1
  220. package/node/Step/index.js +22 -1
  221. package/node/SwipeableDrawer/SwipeableDrawer.js +8 -7
  222. package/node/ToggleButton/ToggleButton.js +8 -2
  223. package/node/Zoom/Zoom.js +7 -9
  224. package/node/index.js +22 -1
  225. package/node/locale/index.js +12 -6
  226. package/node/styles/makeStyles.js +1 -1
  227. package/node/styles/withStyles.js +1 -1
  228. package/node/styles/withTheme.js +1 -1
  229. package/package.json +6 -6
  230. package/styles/components.d.ts +0 -339
  231. package/styles/index.d.ts +3 -0
  232. package/styles/makeStyles.js +1 -1
  233. package/styles/withStyles.js +1 -1
  234. package/styles/withTheme.js +1 -1
  235. package/transitions/index.d.ts +1 -1
  236. package/transitions/transition.d.ts +13 -13
  237. package/transitions/utils.d.ts +23 -23
  238. package/umd/material-ui.development.js +2441 -2295
  239. package/umd/material-ui.production.min.js +21 -21
  240. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  241. package/useTouchRipple/index.d.ts +1 -1
  242. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  243. package/utils/getScrollbarSize.d.ts +2 -2
  244. package/utils/ownerDocument.d.ts +2 -2
  245. package/utils/ownerWindow.d.ts +2 -2
  246. package/utils/setRef.d.ts +2 -2
@@ -10,7 +10,6 @@ import ownerDocument from '../utils/ownerDocument';
10
10
  import ownerWindow from '../utils/ownerWindow';
11
11
  import useEventCallback from '../utils/useEventCallback';
12
12
  import useEnhancedEffect from '../utils/useEnhancedEffect';
13
- import { duration } from '../styles/createTransitions';
14
13
  import useTheme from '../styles/useTheme';
15
14
  import { getTransitionProps } from '../transitions/utils';
16
15
  import SwipeArea from './SwipeArea'; // This value is closed to what browsers are using internally to
@@ -122,16 +121,16 @@ function computeHasNativeHandler(_ref) {
122
121
  }
123
122
 
124
123
  var iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
125
- var transitionDurationDefault = {
126
- enter: duration.enteringScreen,
127
- exit: duration.leavingScreen
128
- };
129
124
  var SwipeableDrawer = /*#__PURE__*/React.forwardRef(function SwipeableDrawer(inProps, ref) {
130
125
  var props = useThemeProps({
131
126
  name: 'MuiSwipeableDrawer',
132
127
  props: inProps
133
128
  });
134
129
  var theme = useTheme();
130
+ var transitionDurationDefault = {
131
+ enter: theme.transitions.duration.enteringScreen,
132
+ exit: theme.transitions.duration.leavingScreen
133
+ };
135
134
  var _props$anchor = props.anchor,
136
135
  anchor = _props$anchor === void 0 ? 'left' : _props$anchor,
137
136
  _props$disableBackdro = props.disableBackdropTransition,
@@ -623,7 +622,10 @@ process.env.NODE_ENV !== "production" ? SwipeableDrawer.propTypes
623
622
  /**
624
623
  * The duration for the transition, in milliseconds.
625
624
  * You may specify a single timeout for all transitions, or individually with an object.
626
- * @default { enter: duration.enteringScreen, exit: duration.leavingScreen }
625
+ * @default {
626
+ * enter: theme.transitions.duration.enteringScreen,
627
+ * exit: theme.transitions.duration.leavingScreen,
628
+ * }
627
629
  */
628
630
  transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
629
631
  appear: PropTypes.number,
@@ -196,12 +196,18 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes
196
196
  fullWidth: PropTypes.bool,
197
197
 
198
198
  /**
199
- * @ignore
199
+ * Callback fired when the state changes.
200
+ *
201
+ * @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
202
+ * @param {any} value of the selected button.
200
203
  */
201
204
  onChange: PropTypes.func,
202
205
 
203
206
  /**
204
- * @ignore
207
+ * Callback fired when the button is clicked.
208
+ *
209
+ * @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
210
+ * @param {any} value of the selected button.
205
211
  */
206
212
  onClick: PropTypes.func,
207
213
 
@@ -4,7 +4,6 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { Transition } from 'react-transition-group';
6
6
  import { elementAcceptingRef } from '@mui/utils';
7
- import { duration } from '../styles/createTransitions';
8
7
  import useTheme from '../styles/useTheme';
9
8
  import { reflow, getTransitionProps } from '../transitions/utils';
10
9
  import useForkRef from '../utils/useForkRef';
@@ -17,10 +16,6 @@ var styles = {
17
16
  transform: 'none'
18
17
  }
19
18
  };
20
- var defaultTimeout = {
21
- enter: duration.enteringScreen,
22
- exit: duration.leavingScreen
23
- };
24
19
  /**
25
20
  * The Zoom transition can be used for the floating variant of the
26
21
  * [Button](/components/buttons/#floating-action-buttons) component.
@@ -28,6 +23,12 @@ var defaultTimeout = {
28
23
  */
29
24
 
30
25
  var Zoom = /*#__PURE__*/React.forwardRef(function Zoom(props, ref) {
26
+ var theme = useTheme();
27
+ var defaultTimeout = {
28
+ enter: theme.transitions.duration.enteringScreen,
29
+ exit: theme.transitions.duration.leavingScreen
30
+ };
31
+
31
32
  var addEndListener = props.addEndListener,
32
33
  _props$appear = props.appear,
33
34
  appear = _props$appear === void 0 ? true : _props$appear,
@@ -47,7 +48,6 @@ var Zoom = /*#__PURE__*/React.forwardRef(function Zoom(props, ref) {
47
48
  TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,
48
49
  other = _objectWithoutProperties(props, ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
49
50
 
50
- var theme = useTheme();
51
51
  var nodeRef = React.useRef(null);
52
52
  var foreignRef = useForkRef(_children.ref, ref);
53
53
  var handleRef = useForkRef(nodeRef, foreignRef);
@@ -214,8 +214,8 @@ process.env.NODE_ENV !== "production" ? Zoom.propTypes
214
214
  * The duration for the transition, in milliseconds.
215
215
  * You may specify a single timeout for all transitions, or individually with an object.
216
216
  * @default {
217
- * enter: duration.enteringScreen,
218
- * exit: duration.leavingScreen,
217
+ * enter: theme.transitions.duration.enteringScreen,
218
+ * exit: theme.transitions.duration.leavingScreen,
219
219
  * }
220
220
  */
221
221
  timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.4.1
1
+ /** @license MUI v5.4.4
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.
@@ -174,6 +174,8 @@ export { default as Popover } from './Popover';
174
174
  export * from './Popover';
175
175
  export { default as Popper } from './Popper';
176
176
  export * from './Popper';
177
+ export { default as Portal } from './Portal';
178
+ export * from './Portal';
177
179
  export { default as Radio } from './Radio';
178
180
  export * from './Radio';
179
181
  export { default as RadioGroup } from './RadioGroup';
@@ -1866,9 +1866,13 @@ export var itIT = {
1866
1866
 
1867
1867
  return 'Vai alla pagina precedente';
1868
1868
  },
1869
- labelRowsPerPage: 'Righe per pagina:' // labelDisplayedRows: ({ from, to, count }) =>
1870
- // `${from}–${to} di ${count !== -1 ? count : `more than ${to}`}`,
1871
-
1869
+ labelRowsPerPage: 'Righe per pagina:',
1870
+ labelDisplayedRows: function labelDisplayedRows(_ref14) {
1871
+ var from = _ref14.from,
1872
+ to = _ref14.to,
1873
+ count = _ref14.count;
1874
+ return "".concat(from, "\u2013").concat(to, " di ").concat(count !== -1 ? count : "pi\xF9 di ".concat(to));
1875
+ }
1872
1876
  }
1873
1877
  },
1874
1878
  MuiRating: {
@@ -1946,10 +1950,10 @@ export var jaJP = {
1946
1950
  return '前のページへ';
1947
1951
  },
1948
1952
  labelRowsPerPage: 'ページあたりの行数:',
1949
- labelDisplayedRows: function labelDisplayedRows(_ref14) {
1950
- var from = _ref14.from,
1951
- to = _ref14.to,
1952
- count = _ref14.count;
1953
+ labelDisplayedRows: function labelDisplayedRows(_ref15) {
1954
+ var from = _ref15.from,
1955
+ to = _ref15.to,
1956
+ count = _ref15.count;
1953
1957
  return "".concat(from, "\uFF5E").concat(to, " / ").concat(count !== -1 ? count : "".concat(to, "\u4EE5\u4E0A"));
1954
1958
  }
1955
1959
  }
@@ -2029,10 +2033,10 @@ export var khKH = {
2029
2033
  return 'ទៅទំព័រមុន';
2030
2034
  },
2031
2035
  labelRowsPerPage: 'ចំនួនជួរដេកក្នុងមួយទំព័រ:',
2032
- labelDisplayedRows: function labelDisplayedRows(_ref15) {
2033
- var from = _ref15.from,
2034
- to = _ref15.to,
2035
- count = _ref15.count;
2036
+ labelDisplayedRows: function labelDisplayedRows(_ref16) {
2037
+ var from = _ref16.from,
2038
+ to = _ref16.to,
2039
+ count = _ref16.count;
2036
2040
  return "".concat(from, " - ").concat(to, " \u1793\u17C3 ").concat(count !== -1 ? count : "\u1785\u17D2\u179A\u17BE\u1793\u1787\u17B6\u1784 ".concat(to));
2037
2041
  }
2038
2042
  }
@@ -2112,10 +2116,10 @@ export var koKR = {
2112
2116
  return '이전 페이지로 이동';
2113
2117
  },
2114
2118
  labelRowsPerPage: '페이지 당 행:',
2115
- labelDisplayedRows: function labelDisplayedRows(_ref16) {
2116
- var from = _ref16.from,
2117
- to = _ref16.to,
2118
- count = _ref16.count;
2119
+ labelDisplayedRows: function labelDisplayedRows(_ref17) {
2120
+ var from = _ref17.from,
2121
+ to = _ref17.to,
2122
+ count = _ref17.count;
2119
2123
  return "".concat(from, "\u2013").concat(to, " / ").concat(count !== -1 ? count : "".concat(to, "\uAC1C \uC774\uC0C1"));
2120
2124
  }
2121
2125
  }
@@ -2195,10 +2199,10 @@ export var kzKZ = {
2195
2199
  return 'Алдыңғы бетке өту';
2196
2200
  },
2197
2201
  labelRowsPerPage: 'Беттегі қатарлар:',
2198
- labelDisplayedRows: function labelDisplayedRows(_ref17) {
2199
- var from = _ref17.from,
2200
- to = _ref17.to,
2201
- count = _ref17.count;
2202
+ labelDisplayedRows: function labelDisplayedRows(_ref18) {
2203
+ var from = _ref18.from,
2204
+ to = _ref18.to,
2205
+ count = _ref18.count;
2202
2206
  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);
2203
2207
  }
2204
2208
  }
@@ -2282,10 +2286,10 @@ export var nbNO = {
2282
2286
  return 'Gå til forrige side';
2283
2287
  },
2284
2288
  labelRowsPerPage: 'Rader per side:',
2285
- labelDisplayedRows: function labelDisplayedRows(_ref18) {
2286
- var from = _ref18.from,
2287
- to = _ref18.to,
2288
- count = _ref18.count;
2289
+ labelDisplayedRows: function labelDisplayedRows(_ref19) {
2290
+ var from = _ref19.from,
2291
+ to = _ref19.to,
2292
+ count = _ref19.count;
2289
2293
  return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "mer enn ".concat(to));
2290
2294
  }
2291
2295
  }
@@ -2365,10 +2369,10 @@ export var nlNL = {
2365
2369
  return 'Ga naar vorige pagina';
2366
2370
  },
2367
2371
  labelRowsPerPage: 'Regels per pagina:',
2368
- labelDisplayedRows: function labelDisplayedRows(_ref19) {
2369
- var from = _ref19.from,
2370
- to = _ref19.to,
2371
- count = _ref19.count;
2372
+ labelDisplayedRows: function labelDisplayedRows(_ref20) {
2373
+ var from = _ref20.from,
2374
+ to = _ref20.to,
2375
+ count = _ref20.count;
2372
2376
  return "".concat(from, "\u2013").concat(to, " van ").concat(count !== -1 ? count : "meer dan ".concat(to));
2373
2377
  }
2374
2378
  }
@@ -2447,9 +2451,13 @@ export var plPL = {
2447
2451
 
2448
2452
  return 'Przejdź do poprzedniej strony';
2449
2453
  },
2450
- labelRowsPerPage: 'Wierszy na stronę:' // labelDisplayedRows: ({ from, to, count }) =>
2451
- // `${from}–${to} z ${count !== -1 ? count : `more than ${to}`}`,
2452
-
2454
+ labelRowsPerPage: 'Wierszy na stronę:',
2455
+ labelDisplayedRows: function labelDisplayedRows(_ref21) {
2456
+ var from = _ref21.from,
2457
+ to = _ref21.to,
2458
+ count = _ref21.count;
2459
+ return "".concat(from, "\u2013").concat(to, " z ").concat(count !== -1 ? count : "ponad ".concat(to));
2460
+ }
2453
2461
  }
2454
2462
  },
2455
2463
  MuiRating: {
@@ -2536,10 +2544,10 @@ export var ptBR = {
2536
2544
  return 'Ir para a página anterior';
2537
2545
  },
2538
2546
  labelRowsPerPage: 'Linhas por página:',
2539
- labelDisplayedRows: function labelDisplayedRows(_ref20) {
2540
- var from = _ref20.from,
2541
- to = _ref20.to,
2542
- count = _ref20.count;
2547
+ labelDisplayedRows: function labelDisplayedRows(_ref22) {
2548
+ var from = _ref22.from,
2549
+ to = _ref22.to,
2550
+ count = _ref22.count;
2543
2551
  return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
2544
2552
  }
2545
2553
  }
@@ -2619,10 +2627,10 @@ export var ptPT = {
2619
2627
  return 'Página anterior';
2620
2628
  },
2621
2629
  labelRowsPerPage: 'Linhas por página:',
2622
- labelDisplayedRows: function labelDisplayedRows(_ref21) {
2623
- var from = _ref21.from,
2624
- to = _ref21.to,
2625
- count = _ref21.count;
2630
+ labelDisplayedRows: function labelDisplayedRows(_ref23) {
2631
+ var from = _ref23.from,
2632
+ to = _ref23.to,
2633
+ count = _ref23.count;
2626
2634
  return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
2627
2635
  }
2628
2636
  }
@@ -2781,10 +2789,10 @@ export var ruRU = {
2781
2789
  return 'Перейти на предыдущую страницу';
2782
2790
  },
2783
2791
  labelRowsPerPage: 'Строк на странице:',
2784
- labelDisplayedRows: function labelDisplayedRows(_ref22) {
2785
- var from = _ref22.from,
2786
- to = _ref22.to,
2787
- count = _ref22.count;
2792
+ labelDisplayedRows: function labelDisplayedRows(_ref24) {
2793
+ var from = _ref24.from,
2794
+ to = _ref24.to,
2795
+ count = _ref24.count;
2788
2796
  return "".concat(from, "\u2013").concat(to, " \u0438\u0437 ").concat(count !== -1 ? count : "\u0431\u043E\u043B\u0435\u0435 \u0447\u0435\u043C ".concat(to));
2789
2797
  }
2790
2798
  }
@@ -2877,10 +2885,10 @@ export var siLK = {
2877
2885
  return 'පෙර පිටුවට යන්න';
2878
2886
  },
2879
2887
  labelRowsPerPage: 'පිටුවක පේළි:',
2880
- labelDisplayedRows: function labelDisplayedRows(_ref23) {
2881
- var from = _ref23.from,
2882
- to = _ref23.to,
2883
- count = _ref23.count;
2888
+ labelDisplayedRows: function labelDisplayedRows(_ref25) {
2889
+ var from = _ref25.from,
2890
+ to = _ref25.to,
2891
+ count = _ref25.count;
2884
2892
  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"));
2885
2893
  }
2886
2894
  }
@@ -2960,10 +2968,10 @@ export var skSK = {
2960
2968
  return 'Ísť na predchádzajúcu stránku';
2961
2969
  },
2962
2970
  labelRowsPerPage: 'Riadkov na stránke:',
2963
- labelDisplayedRows: function labelDisplayedRows(_ref24) {
2964
- var from = _ref24.from,
2965
- to = _ref24.to,
2966
- count = _ref24.count;
2971
+ labelDisplayedRows: function labelDisplayedRows(_ref26) {
2972
+ var from = _ref26.from,
2973
+ to = _ref26.to,
2974
+ count = _ref26.count;
2967
2975
  return "".concat(from, "\u2013").concat(to, " z ").concat(count !== -1 ? count : "viac ako ".concat(to));
2968
2976
  }
2969
2977
  }
@@ -3051,10 +3059,10 @@ export var svSE = {
3051
3059
  return 'Gå till föregående sida';
3052
3060
  },
3053
3061
  labelRowsPerPage: 'Rader per sida:',
3054
- labelDisplayedRows: function labelDisplayedRows(_ref25) {
3055
- var from = _ref25.from,
3056
- to = _ref25.to,
3057
- count = _ref25.count;
3062
+ labelDisplayedRows: function labelDisplayedRows(_ref27) {
3063
+ var from = _ref27.from,
3064
+ to = _ref27.to,
3065
+ count = _ref27.count;
3058
3066
  return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "fler \xE4n ".concat(to));
3059
3067
  }
3060
3068
  }
@@ -3134,10 +3142,10 @@ export var thTH = {
3134
3142
  return 'ไปที่หน้าก่อน';
3135
3143
  },
3136
3144
  labelRowsPerPage: 'จำนวนแถวต่อหน้า:',
3137
- labelDisplayedRows: function labelDisplayedRows(_ref26) {
3138
- var from = _ref26.from,
3139
- to = _ref26.to,
3140
- count = _ref26.count;
3145
+ labelDisplayedRows: function labelDisplayedRows(_ref28) {
3146
+ var from = _ref28.from,
3147
+ to = _ref28.to,
3148
+ count = _ref28.count;
3141
3149
  return "".concat(from, "\u2013").concat(to, " \u0E08\u0E32\u0E01 ").concat(count !== -1 ? count : "\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ".concat(to));
3142
3150
  }
3143
3151
  }
@@ -3296,10 +3304,10 @@ export var ukUA = {
3296
3304
  return 'Перейти на попередню сторінку';
3297
3305
  },
3298
3306
  labelRowsPerPage: 'Рядків на сторінці:',
3299
- labelDisplayedRows: function labelDisplayedRows(_ref27) {
3300
- var from = _ref27.from,
3301
- to = _ref27.to,
3302
- count = _ref27.count;
3307
+ labelDisplayedRows: function labelDisplayedRows(_ref29) {
3308
+ var from = _ref29.from,
3309
+ to = _ref29.to,
3310
+ count = _ref29.count;
3303
3311
  return "".concat(from, "\u2013").concat(to, " \u0437 ").concat(count !== -1 ? count : "\u043F\u043E\u043D\u0430\u0434 ".concat(to));
3304
3312
  }
3305
3313
  }
@@ -3388,10 +3396,10 @@ export var viVN = {
3388
3396
  return 'Về trang trước đó';
3389
3397
  },
3390
3398
  labelRowsPerPage: 'Số hàng mỗi trang:',
3391
- labelDisplayedRows: function labelDisplayedRows(_ref28) {
3392
- var from = _ref28.from,
3393
- to = _ref28.to,
3394
- count = _ref28.count;
3399
+ labelDisplayedRows: function labelDisplayedRows(_ref30) {
3400
+ var from = _ref30.from,
3401
+ to = _ref30.to,
3402
+ count = _ref30.count;
3395
3403
  return "".concat(from, "\u2013").concat(to, " trong ").concat(count !== -1 ? count : "nhi\u1EC1u h\u01A1n ".concat(to));
3396
3404
  }
3397
3405
  }
@@ -3470,10 +3478,10 @@ export var zhCN = {
3470
3478
  return '上一页';
3471
3479
  },
3472
3480
  labelRowsPerPage: '每页行数:',
3473
- labelDisplayedRows: function labelDisplayedRows(_ref29) {
3474
- var from = _ref29.from,
3475
- to = _ref29.to,
3476
- count = _ref29.count;
3481
+ labelDisplayedRows: function labelDisplayedRows(_ref31) {
3482
+ var from = _ref31.from,
3483
+ to = _ref31.to,
3484
+ count = _ref31.count;
3477
3485
  return "\u7B2C ".concat(from, " \u6761\u5230\u7B2C ").concat(to, " \u6761\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u6761") : "\u81F3\u5C11 ".concat(to, " \u6761"));
3478
3486
  }
3479
3487
  }
@@ -3527,10 +3535,10 @@ export var zhHK = {
3527
3535
  return '上一頁';
3528
3536
  },
3529
3537
  labelRowsPerPage: '每頁行數:',
3530
- labelDisplayedRows: function labelDisplayedRows(_ref30) {
3531
- var from = _ref30.from,
3532
- to = _ref30.to,
3533
- count = _ref30.count;
3538
+ labelDisplayedRows: function labelDisplayedRows(_ref32) {
3539
+ var from = _ref32.from,
3540
+ to = _ref32.to,
3541
+ count = _ref32.count;
3534
3542
  return "\u7B2C ".concat(from, " \u9805\u81F3\u7B2C ").concat(to, " \u9805\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u9805") : "\u8D85\u904E ".concat(to, " \u9805"));
3535
3543
  }
3536
3544
  }
@@ -3584,10 +3592,10 @@ export var zhTW = {
3584
3592
  return '上一頁';
3585
3593
  },
3586
3594
  labelRowsPerPage: '每行行數:',
3587
- labelDisplayedRows: function labelDisplayedRows(_ref31) {
3588
- var from = _ref31.from,
3589
- to = _ref31.to,
3590
- count = _ref31.count;
3595
+ labelDisplayedRows: function labelDisplayedRows(_ref33) {
3596
+ var from = _ref33.from,
3597
+ to = _ref33.to,
3598
+ count = _ref33.count;
3591
3599
  return "\u7B2C ".concat(from, " \u689D\u5230\u7B2C ").concat(to, " \u689D\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u689D") : "\u81F3\u5C11 ".concat(to, " \u689D"));
3592
3600
  }
3593
3601
  }
@@ -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 not 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));
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 not 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));
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 not 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));
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/locale/index.d.ts CHANGED
@@ -1,68 +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 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;
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;
package/locale/index.js CHANGED
@@ -1813,9 +1813,12 @@ export const itIT = {
1813
1813
 
1814
1814
  return 'Vai alla pagina precedente';
1815
1815
  },
1816
- labelRowsPerPage: 'Righe per pagina:' // labelDisplayedRows: ({ from, to, count }) =>
1817
- // `${from}–${to} di ${count !== -1 ? count : `more than ${to}`}`,
1818
-
1816
+ labelRowsPerPage: 'Righe per pagina:',
1817
+ labelDisplayedRows: ({
1818
+ from,
1819
+ to,
1820
+ count
1821
+ }) => `${from}–${to} di ${count !== -1 ? count : `più di ${to}`}`
1819
1822
  }
1820
1823
  },
1821
1824
  MuiRating: {
@@ -2374,9 +2377,12 @@ export const plPL = {
2374
2377
 
2375
2378
  return 'Przejdź do poprzedniej strony';
2376
2379
  },
2377
- labelRowsPerPage: 'Wierszy na stronę:' // labelDisplayedRows: ({ from, to, count }) =>
2378
- // `${from}–${to} z ${count !== -1 ? count : `more than ${to}`}`,
2379
-
2380
+ labelRowsPerPage: 'Wierszy na stronę:',
2381
+ labelDisplayedRows: ({
2382
+ from,
2383
+ to,
2384
+ count
2385
+ }) => `${from}–${to} z ${count !== -1 ? count : `ponad ${to}`}`
2380
2386
  }
2381
2387
  },
2382
2388
  MuiRating: {
File without changes
@@ -529,7 +529,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
529
529
  TouchRippleProps: PropTypes.object,
530
530
 
531
531
  /**
532
- * A ref that points to the `TouchRippple` element.
532
+ * A ref that points to the `TouchRipple` element.
533
533
  */
534
534
  touchRippleRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
535
535
  current: PropTypes.shape({
@@ -79,6 +79,7 @@ const ChipRoot = styled('div', {
79
79
  }) => {
80
80
  const deleteIconColor = alpha(theme.palette.text.primary, 0.26);
81
81
  return _extends({
82
+ maxWidth: '100%',
82
83
  fontFamily: theme.typography.fontFamily,
83
84
  fontSize: theme.typography.pxToRem(13),
84
85
  display: 'inline-flex',