@mui/material 5.11.14 → 5.11.16

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 (209) 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/Autocomplete.js +12 -1
  9. package/Autocomplete/autocompleteClasses.d.ts +56 -56
  10. package/Avatar/avatarClasses.d.ts +20 -20
  11. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  12. package/Backdrop/backdropClasses.d.ts +10 -10
  13. package/Badge/badgeClasses.d.ts +56 -56
  14. package/BottomNavigation/BottomNavigation.js +0 -0
  15. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  16. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  17. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  18. package/Button/buttonClasses.d.ts +100 -100
  19. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  20. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  21. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  22. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  23. package/CHANGELOG.md +118 -4
  24. package/Card/cardClasses.d.ts +8 -8
  25. package/CardActionArea/CardActionArea.js +2 -0
  26. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  27. package/CardActions/cardActionsClasses.d.ts +10 -10
  28. package/CardContent/cardContentClasses.d.ts +8 -8
  29. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  30. package/CardMedia/cardMediaClasses.d.ts +12 -12
  31. package/Checkbox/checkboxClasses.d.ts +18 -18
  32. package/Chip/Chip.js +2 -3
  33. package/Chip/chipClasses.d.ts +96 -96
  34. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  35. package/ClickAwayListener/index.d.ts +2 -2
  36. package/Collapse/collapseClasses.d.ts +18 -18
  37. package/Container/containerClasses.d.ts +6 -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/drawerClasses.d.ts +30 -30
  46. package/Fab/fabClasses.d.ts +26 -26
  47. package/FilledInput/filledInputClasses.d.ts +40 -40
  48. package/FormControl/FormControlContext.d.ts +17 -17
  49. package/FormControl/formControlClasses.d.ts +14 -14
  50. package/FormControl/useFormControl.d.ts +2 -2
  51. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  52. package/FormGroup/formGroupClasses.d.ts +12 -12
  53. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  54. package/FormLabel/formLabelClasses.d.ts +22 -22
  55. package/Grid/gridClasses.d.ts +48 -48
  56. package/Icon/iconClasses.d.ts +24 -24
  57. package/IconButton/iconButtonClasses.d.ts +34 -34
  58. package/ImageList/imageListClasses.d.ts +16 -16
  59. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  60. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  61. package/Input/inputClasses.d.ts +34 -34
  62. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  63. package/InputBase/inputBaseClasses.d.ts +46 -46
  64. package/InputLabel/inputLabelClasses.d.ts +32 -32
  65. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  66. package/Link/getTextDecoration.d.ts +15 -15
  67. package/Link/linkClasses.d.ts +18 -18
  68. package/List/listClasses.d.ts +14 -14
  69. package/ListItem/listItemClasses.d.ts +30 -30
  70. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  71. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  72. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  73. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  74. package/ListItemText/listItemTextClasses.d.ts +18 -18
  75. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  76. package/Menu/menuClasses.d.ts +12 -12
  77. package/MenuItem/menuItemClasses.d.ts +20 -20
  78. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  79. package/NativeSelect/NativeSelectInput.d.ts +1 -0
  80. package/NativeSelect/NativeSelectInput.js +12 -5
  81. package/NativeSelect/nativeSelectClasses.d.ts +34 -32
  82. package/NativeSelect/nativeSelectClasses.js +1 -1
  83. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  84. package/Pagination/paginationClasses.d.ts +14 -14
  85. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  86. package/Paper/paperClasses.d.ts +39 -39
  87. package/Popover/popoverClasses.d.ts +10 -10
  88. package/Popper/Popper.d.ts +55 -55
  89. package/Radio/radioClasses.d.ts +16 -16
  90. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  91. package/RadioGroup/useRadioGroup.d.ts +4 -4
  92. package/Rating/ratingClasses.d.ts +40 -40
  93. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  94. package/Select/Select.js +14 -9
  95. package/Select/SelectInput.d.ts +1 -0
  96. package/Select/SelectInput.js +14 -4
  97. package/Select/selectClasses.d.ts +32 -30
  98. package/Select/selectClasses.js +1 -1
  99. package/Skeleton/skeletonClasses.d.ts +26 -26
  100. package/Slider/Slider.js +6 -6
  101. package/Slider/SliderValueLabel.d.ts +15 -15
  102. package/Slider/SliderValueLabel.types.d.ts +24 -24
  103. package/Slider/sliderClasses.d.ts +58 -58
  104. package/Snackbar/snackbarClasses.d.ts +20 -20
  105. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  106. package/SpeedDial/speedDialClasses.d.ts +22 -22
  107. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  108. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  109. package/Stack/Stack.d.ts +10 -0
  110. package/Stack/Stack.js +11 -1
  111. package/Stack/stackClasses.d.ts +6 -6
  112. package/Step/StepContext.d.ts +20 -20
  113. package/Step/stepClasses.d.ts +16 -16
  114. package/StepButton/stepButtonClasses.d.ts +14 -14
  115. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  116. package/StepContent/stepContentClasses.d.ts +12 -12
  117. package/StepIcon/stepIconClasses.d.ts +16 -16
  118. package/StepLabel/stepLabelClasses.d.ts +28 -28
  119. package/Stepper/StepperContext.d.ts +18 -18
  120. package/Stepper/stepperClasses.d.ts +14 -14
  121. package/SvgIcon/svgIconClasses.d.ts +26 -26
  122. package/Switch/switchClasses.d.ts +32 -32
  123. package/Tab/tabClasses.d.ts +26 -26
  124. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  125. package/Table/tableClasses.d.ts +10 -10
  126. package/TableBody/tableBodyClasses.d.ts +8 -8
  127. package/TableCell/tableCellClasses.d.ts +32 -32
  128. package/TableContainer/tableContainerClasses.d.ts +8 -8
  129. package/TableFooter/tableFooterClasses.d.ts +8 -8
  130. package/TableHead/tableHeadClasses.d.ts +8 -8
  131. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  132. package/TableRow/tableRowClasses.d.ts +16 -16
  133. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  134. package/Tabs/tabsClasses.d.ts +32 -32
  135. package/TextField/textFieldClasses.d.ts +8 -8
  136. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  137. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  138. package/Toolbar/toolbarClasses.d.ts +14 -14
  139. package/Tooltip/tooltipClasses.d.ts +30 -30
  140. package/Typography/typographyClasses.d.ts +50 -50
  141. package/Unstable_Grid2/Grid2.d.ts +4 -4
  142. package/Unstable_Grid2/Grid2.js +1 -0
  143. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  144. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  145. package/Unstable_Grid2/index.d.ts +4 -4
  146. package/className/index.d.ts +1 -1
  147. package/darkScrollbar/index.d.ts +28 -28
  148. package/generateUtilityClass/index.d.ts +2 -2
  149. package/generateUtilityClasses/index.d.ts +1 -1
  150. package/index.js +1 -1
  151. package/internal/switchBaseClasses.d.ts +12 -12
  152. package/legacy/Autocomplete/Autocomplete.js +11 -3
  153. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  154. package/legacy/CardActionArea/CardActionArea.js +2 -0
  155. package/legacy/Chip/Chip.js +2 -3
  156. package/legacy/NativeSelect/NativeSelectInput.js +12 -5
  157. package/legacy/NativeSelect/nativeSelectClasses.js +1 -1
  158. package/legacy/Select/Select.js +14 -9
  159. package/legacy/Select/SelectInput.js +14 -5
  160. package/legacy/Select/selectClasses.js +1 -1
  161. package/legacy/Slider/Slider.js +6 -6
  162. package/legacy/Stack/Stack.js +11 -1
  163. package/legacy/Unstable_Grid2/Grid2.js +1 -0
  164. package/legacy/index.js +1 -1
  165. package/locale/index.d.ts +76 -76
  166. package/modern/Autocomplete/Autocomplete.js +12 -1
  167. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  168. package/modern/CardActionArea/CardActionArea.js +2 -0
  169. package/modern/Chip/Chip.js +2 -3
  170. package/modern/NativeSelect/NativeSelectInput.js +12 -5
  171. package/modern/NativeSelect/nativeSelectClasses.js +1 -1
  172. package/modern/Select/Select.js +14 -9
  173. package/modern/Select/SelectInput.js +14 -4
  174. package/modern/Select/selectClasses.js +1 -1
  175. package/modern/Slider/Slider.js +6 -6
  176. package/modern/Stack/Stack.js +11 -1
  177. package/modern/Unstable_Grid2/Grid2.js +1 -0
  178. package/modern/index.js +1 -1
  179. package/node/Autocomplete/Autocomplete.js +12 -1
  180. package/node/BottomNavigation/BottomNavigation.js +0 -0
  181. package/node/CardActionArea/CardActionArea.js +2 -0
  182. package/node/Chip/Chip.js +2 -3
  183. package/node/NativeSelect/NativeSelectInput.js +12 -5
  184. package/node/NativeSelect/nativeSelectClasses.js +1 -1
  185. package/node/Select/Select.js +14 -9
  186. package/node/Select/SelectInput.js +14 -4
  187. package/node/Select/selectClasses.js +1 -1
  188. package/node/Slider/Slider.js +6 -6
  189. package/node/Stack/Stack.js +11 -1
  190. package/node/Unstable_Grid2/Grid2.js +1 -0
  191. package/node/index.js +1 -1
  192. package/package.json +5 -5
  193. package/styles/CssVarsProvider.d.ts +15 -15
  194. package/styles/excludeVariablesFromRoot.d.ts +5 -5
  195. package/styles/getOverlayAlpha.d.ts +2 -2
  196. package/styles/shouldSkipGeneratingVar.d.ts +1 -1
  197. package/transitions/index.d.ts +1 -1
  198. package/transitions/transition.d.ts +13 -13
  199. package/transitions/utils.d.ts +23 -23
  200. package/types/OverridableComponentAugmentation.d.ts +31 -31
  201. package/umd/material-ui.development.js +142 -102
  202. package/umd/material-ui.production.min.js +20 -20
  203. package/useMediaQuery/useMediaQuery.d.ts +46 -46
  204. package/useTouchRipple/index.d.ts +1 -1
  205. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  206. package/utils/getScrollbarSize.d.ts +2 -2
  207. package/utils/ownerDocument.d.ts +2 -2
  208. package/utils/ownerWindow.d.ts +2 -2
  209. package/utils/setRef.d.ts +2 -2
@@ -28,7 +28,7 @@ var SelectSelect = styled('div', {
28
28
  overridesResolver: function overridesResolver(props, styles) {
29
29
  var ownerState = props.ownerState;
30
30
  return [// Win specificity over the input base
31
- _defineProperty({}, "&.".concat(selectClasses.select), styles.select), _defineProperty({}, "&.".concat(selectClasses.select), styles[ownerState.variant]), _defineProperty({}, "&.".concat(selectClasses.multiple), styles.multiple)];
31
+ _defineProperty({}, "&.".concat(selectClasses.select), styles.select), _defineProperty({}, "&.".concat(selectClasses.select), styles[ownerState.variant]), _defineProperty({}, "&.".concat(selectClasses.error), styles.error), _defineProperty({}, "&.".concat(selectClasses.multiple), styles.multiple)];
32
32
  }
33
33
  })(nativeSelectSelectStyles, _defineProperty({}, "&.".concat(selectClasses.select), {
34
34
  height: 'auto',
@@ -81,9 +81,10 @@ var useUtilityClasses = function useUtilityClasses(ownerState) {
81
81
  variant = ownerState.variant,
82
82
  disabled = ownerState.disabled,
83
83
  multiple = ownerState.multiple,
84
- open = ownerState.open;
84
+ open = ownerState.open,
85
+ error = ownerState.error;
85
86
  var slots = {
86
- select: ['select', variant, disabled && 'disabled', multiple && 'multiple'],
87
+ select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],
87
88
  icon: ['icon', "icon".concat(capitalize(variant)), open && 'iconOpen', disabled && 'disabled'],
88
89
  nativeInput: ['nativeInput']
89
90
  };
@@ -104,6 +105,8 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref)
104
105
  defaultValue = props.defaultValue,
105
106
  disabled = props.disabled,
106
107
  displayEmpty = props.displayEmpty,
108
+ _props$error = props.error,
109
+ error = _props$error === void 0 ? false : _props$error,
107
110
  IconComponent = props.IconComponent,
108
111
  inputRefProp = props.inputRef,
109
112
  labelId = props.labelId,
@@ -126,7 +129,7 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref)
126
129
  valueProp = props.value,
127
130
  _props$variant = props.variant,
128
131
  variant = _props$variant === void 0 ? 'standard' : _props$variant,
129
- other = _objectWithoutProperties(props, ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"]);
132
+ other = _objectWithoutProperties(props, ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"]);
130
133
  var _useControlled = useControlled({
131
134
  controlled: valueProp,
132
135
  default: defaultValue,
@@ -435,7 +438,8 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref)
435
438
  var ownerState = _extends({}, props, {
436
439
  variant: variant,
437
440
  value: value,
438
- open: open
441
+ open: open,
442
+ error: error
439
443
  });
440
444
  var classes = useUtilityClasses(ownerState);
441
445
  return /*#__PURE__*/_jsxs(React.Fragment, {
@@ -465,6 +469,7 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref)
465
469
  children: "\u200B"
466
470
  })) : display
467
471
  })), /*#__PURE__*/_jsx(SelectNativeInput, _extends({
472
+ "aria-invalid": error,
468
473
  value: Array.isArray(value) ? value.join(',') : value,
469
474
  name: name,
470
475
  ref: inputRef,
@@ -556,6 +561,10 @@ process.env.NODE_ENV !== "production" ? SelectInput.propTypes = {
556
561
  * If `true`, the selected item is displayed even if its value is empty.
557
562
  */
558
563
  displayEmpty: PropTypes.bool,
564
+ /**
565
+ * If `true`, the `select input` will indicate an error.
566
+ */
567
+ error: PropTypes.bool,
559
568
  /**
560
569
  * The icon that displays the arrow.
561
570
  */
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getSelectUtilityClasses(slot) {
4
4
  return generateUtilityClass('MuiSelect', slot);
5
5
  }
6
- var selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
6
+ var selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
7
7
  export default selectClasses;
@@ -268,13 +268,13 @@ var StyledSliderValueLabel = styled(SliderValueLabel, {
268
268
  var theme = _ref5.theme,
269
269
  ownerState = _ref5.ownerState;
270
270
  return _extends((_extends4 = {}, _defineProperty(_extends4, "&.".concat(sliderClasses.valueLabelOpen), {
271
- transform: 'translateY(-100%) scale(1)'
271
+ transform: "".concat(ownerState.orientation === 'vertical' ? 'translateY(-50%)' : 'translateY(-100%)', " scale(1)")
272
272
  }), _defineProperty(_extends4, "zIndex", 1), _defineProperty(_extends4, "whiteSpace", 'nowrap'), _extends4), theme.typography.body2, {
273
273
  fontWeight: 500,
274
274
  transition: theme.transitions.create(['transform'], {
275
275
  duration: theme.transitions.duration.shortest
276
276
  }),
277
- transform: 'translateY(-100%) scale(0)',
277
+ transform: "".concat(ownerState.orientation === 'vertical' ? 'translateY(-50%)' : 'translateY(-100%)', " scale(0)"),
278
278
  position: 'absolute',
279
279
  backgroundColor: (theme.vars || theme).palette.grey[600],
280
280
  borderRadius: 2,
@@ -297,18 +297,18 @@ var StyledSliderValueLabel = styled(SliderValueLabel, {
297
297
  left: '50%'
298
298
  }
299
299
  }, ownerState.orientation === 'vertical' && {
300
- right: '30px',
301
- top: '24px',
300
+ right: ownerState.size === 'small' ? '20px' : '30px',
301
+ top: '50%',
302
302
  transformOrigin: 'right center',
303
303
  '&:before': {
304
304
  position: 'absolute',
305
305
  content: '""',
306
306
  width: 8,
307
307
  height: 8,
308
- transform: 'translate(-50%, 50%) rotate(45deg)',
308
+ transform: 'translate(-50%, -50%) rotate(45deg)',
309
309
  backgroundColor: 'inherit',
310
310
  right: '-20%',
311
- top: '25%'
311
+ top: '50%'
312
312
  }
313
313
  }, ownerState.size === 'small' && {
314
314
  fontSize: theme.typography.pxToRem(12),
@@ -49,6 +49,16 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ =
49
49
  /**
50
50
  * The system prop, which allows defining system overrides as well as additional CSS styles.
51
51
  */
52
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
52
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
53
+ /**
54
+ * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
55
+ *
56
+ * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack#limitations),
57
+ * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
58
+ *
59
+ * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
60
+ * @default false
61
+ */
62
+ useFlexGap: PropTypes.bool
53
63
  } : void 0;
54
64
  export default Stack;
@@ -4,6 +4,7 @@ import { styled, useThemeProps as _useThemeProps } from '../styles';
4
4
  var Grid2 = createGrid2({
5
5
  createStyledComponent: styled('div', {
6
6
  name: 'MuiGrid2',
7
+ slot: 'Root',
7
8
  overridesResolver: function overridesResolver(props, styles) {
8
9
  return styles.root;
9
10
  }
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.11.14
2
+ * @mui/material v5.11.16
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/locale/index.d.ts CHANGED
@@ -1,76 +1,76 @@
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 arSA: Localization;
27
- export declare const arSD: Localization;
28
- export declare const azAZ: Localization;
29
- export declare const bnBD: Localization;
30
- export declare const beBY: Localization;
31
- export declare const bgBG: Localization;
32
- export declare const caES: Localization;
33
- export declare const csCZ: Localization;
34
- export declare const daDK: Localization;
35
- export declare const deDE: Localization;
36
- export declare const elGR: Localization;
37
- export declare const enUS: Localization;
38
- export declare const esES: Localization;
39
- export declare const etEE: Localization;
40
- export declare const faIR: Localization;
41
- export declare const fiFI: Localization;
42
- export declare const frFR: Localization;
43
- export declare const heIL: Localization;
44
- export declare const hiIN: Localization;
45
- export declare const hrHR: Localization;
46
- export declare const huHU: Localization;
47
- export declare const hyAM: Localization;
48
- export declare const idID: Localization;
49
- export declare const isIS: Localization;
50
- export declare const itIT: Localization;
51
- export declare const jaJP: Localization;
52
- export declare const khKH: Localization;
53
- export declare const koKR: Localization;
54
- export declare const kuCKB: Localization;
55
- export declare const kuLatn: Localization;
56
- export declare const kkKZ: Localization;
57
- export declare const mkMK: Localization;
58
- export declare const nbNO: Localization;
59
- export declare const nlNL: Localization;
60
- export declare const plPL: Localization;
61
- export declare const ptBR: Localization;
62
- export declare const ptPT: Localization;
63
- export declare const roRO: Localization;
64
- export declare const srRS: Localization;
65
- export declare const ruRU: Localization;
66
- export declare const siLK: Localization;
67
- export declare const skSK: Localization;
68
- export declare const svSE: Localization;
69
- export declare const thTH: Localization;
70
- export declare const trTR: Localization;
71
- export declare const ukUA: Localization;
72
- export declare const urPK: Localization;
73
- export declare const viVN: Localization;
74
- export declare const zhCN: Localization;
75
- export declare const zhHK: Localization;
76
- 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 arSA: Localization;
27
+ export declare const arSD: Localization;
28
+ export declare const azAZ: Localization;
29
+ export declare const bnBD: Localization;
30
+ export declare const beBY: Localization;
31
+ export declare const bgBG: Localization;
32
+ export declare const caES: Localization;
33
+ export declare const csCZ: Localization;
34
+ export declare const daDK: Localization;
35
+ export declare const deDE: Localization;
36
+ export declare const elGR: Localization;
37
+ export declare const enUS: Localization;
38
+ export declare const esES: Localization;
39
+ export declare const etEE: Localization;
40
+ export declare const faIR: Localization;
41
+ export declare const fiFI: Localization;
42
+ export declare const frFR: Localization;
43
+ export declare const heIL: Localization;
44
+ export declare const hiIN: Localization;
45
+ export declare const hrHR: Localization;
46
+ export declare const huHU: Localization;
47
+ export declare const hyAM: Localization;
48
+ export declare const idID: Localization;
49
+ export declare const isIS: Localization;
50
+ export declare const itIT: Localization;
51
+ export declare const jaJP: Localization;
52
+ export declare const khKH: Localization;
53
+ export declare const koKR: Localization;
54
+ export declare const kuCKB: Localization;
55
+ export declare const kuLatn: Localization;
56
+ export declare const kkKZ: Localization;
57
+ export declare const mkMK: Localization;
58
+ export declare const nbNO: Localization;
59
+ export declare const nlNL: Localization;
60
+ export declare const plPL: Localization;
61
+ export declare const ptBR: Localization;
62
+ export declare const ptPT: Localization;
63
+ export declare const roRO: Localization;
64
+ export declare const srRS: Localization;
65
+ export declare const ruRU: Localization;
66
+ export declare const siLK: Localization;
67
+ export declare const skSK: Localization;
68
+ export declare const svSE: Localization;
69
+ export declare const thTH: Localization;
70
+ export declare const trTR: Localization;
71
+ export declare const ukUA: Localization;
72
+ export declare const urPK: Localization;
73
+ export declare const viVN: Localization;
74
+ export declare const zhCN: Localization;
75
+ export declare const zhHK: Localization;
76
+ export declare const zhTW: Localization;
@@ -449,6 +449,9 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
449
449
  }));
450
450
  const hasClearIcon = !disableClearable && !disabled && dirty && !readOnly;
451
451
  const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;
452
+ const {
453
+ onMouseDown: handleInputMouseDown
454
+ } = getInputProps();
452
455
 
453
456
  // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.
454
457
  const ownerState = _extends({}, props, {
@@ -539,7 +542,12 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
539
542
  InputProps: _extends({
540
543
  ref: setAnchorEl,
541
544
  className: classes.inputRoot,
542
- startAdornment
545
+ startAdornment,
546
+ onClick: event => {
547
+ if (event.target === event.currentTarget) {
548
+ handleInputMouseDown(event);
549
+ }
550
+ }
543
551
  }, (hasClearIcon || hasPopupIcon) && {
544
552
  endAdornment: /*#__PURE__*/_jsxs(AutocompleteEndAdornment, {
545
553
  className: classes.endAdornment,
@@ -639,6 +647,9 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
639
647
  * If `true`, the selected option becomes the value of the input
640
648
  * when the Autocomplete loses focus unless the user chooses
641
649
  * a different option or changes the character string in the input.
650
+ *
651
+ * When using `freeSolo` mode, the typed value will be the input value
652
+ * if the Autocomplete loses focus without highlighting an option.
642
653
  * @default false
643
654
  */
644
655
  autoSelect: PropTypes.bool,
File without changes
@@ -30,6 +30,8 @@ const CardActionAreaRoot = styled(ButtonBase, {
30
30
  }) => ({
31
31
  display: 'block',
32
32
  textAlign: 'inherit',
33
+ borderRadius: 'inherit',
34
+ // for Safari to work https://github.com/mui/material-ui/issues/36285.
33
35
  width: '100%',
34
36
  [`&:hover .${cardActionAreaClasses.focusHighlight}`]: {
35
37
  opacity: (theme.vars || theme).palette.action.hoverOpacity,
@@ -77,7 +77,6 @@ const ChipRoot = styled('div', {
77
77
  theme,
78
78
  ownerState
79
79
  }) => {
80
- const deleteIconColor = alpha(theme.palette.text.primary, 0.26);
81
80
  const textColor = theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300];
82
81
  return _extends({
83
82
  maxWidth: '100%',
@@ -144,12 +143,12 @@ const ChipRoot = styled('div', {
144
143
  })),
145
144
  [`& .${chipClasses.deleteIcon}`]: _extends({
146
145
  WebkitTapHighlightColor: 'transparent',
147
- color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : deleteIconColor,
146
+ color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : alpha(theme.palette.text.primary, 0.26),
148
147
  fontSize: 22,
149
148
  cursor: 'pointer',
150
149
  margin: '0 5px 0 -6px',
151
150
  '&:hover': {
152
- color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(deleteIconColor, 0.4)
151
+ color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(theme.palette.text.primary, 0.4)
153
152
  }
154
153
  }, ownerState.size === 'small' && {
155
154
  fontSize: 16,
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
- const _excluded = ["className", "disabled", "IconComponent", "inputRef", "variant"];
3
+ const _excluded = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"];
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import clsx from 'clsx';
@@ -17,10 +17,11 @@ const useUtilityClasses = ownerState => {
17
17
  variant,
18
18
  disabled,
19
19
  multiple,
20
- open
20
+ open,
21
+ error
21
22
  } = ownerState;
22
23
  const slots = {
23
- select: ['select', variant, disabled && 'disabled', multiple && 'multiple'],
24
+ select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],
24
25
  icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled']
25
26
  };
26
27
  return composeClasses(slots, getNativeSelectUtilityClasses, classes);
@@ -87,7 +88,7 @@ const NativeSelectSelect = styled('select', {
87
88
  const {
88
89
  ownerState
89
90
  } = props;
90
- return [styles.select, styles[ownerState.variant], {
91
+ return [styles.select, styles[ownerState.variant], ownerState.error && styles.error, {
91
92
  [`&.${nativeSelectClasses.multiple}`]: styles.multiple
92
93
  }];
93
94
  }
@@ -133,6 +134,7 @@ const NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInp
133
134
  const {
134
135
  className,
135
136
  disabled,
137
+ error,
136
138
  IconComponent,
137
139
  inputRef,
138
140
  variant = 'standard'
@@ -140,7 +142,8 @@ const NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInp
140
142
  other = _objectWithoutPropertiesLoose(props, _excluded);
141
143
  const ownerState = _extends({}, props, {
142
144
  disabled,
143
- variant
145
+ variant,
146
+ error
144
147
  });
145
148
  const classes = useUtilityClasses(ownerState);
146
149
  return /*#__PURE__*/_jsxs(React.Fragment, {
@@ -175,6 +178,10 @@ process.env.NODE_ENV !== "production" ? NativeSelectInput.propTypes = {
175
178
  * If `true`, the select is disabled.
176
179
  */
177
180
  disabled: PropTypes.bool,
181
+ /**
182
+ * If `true`, the `select input` will indicate an error.
183
+ */
184
+ error: PropTypes.bool,
178
185
  /**
179
186
  * The icon that displays the arrow.
180
187
  */
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getNativeSelectUtilityClasses(slot) {
4
4
  return generateUtilityClass('MuiNativeSelect', slot);
5
5
  }
6
- const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
6
+ const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
7
7
  export default nativeSelectClasses;
@@ -1,6 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
- var _StyledInput, _StyledFilledInput;
4
3
  const _excluded = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
5
4
  import * as React from 'react';
6
5
  import PropTypes from 'prop-types';
@@ -67,21 +66,26 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
67
66
  const fcs = formControlState({
68
67
  props,
69
68
  muiFormControl,
70
- states: ['variant']
69
+ states: ['variant', 'error']
71
70
  });
72
71
  const variant = fcs.variant || variantProp;
73
- const InputComponent = input || {
74
- standard: _StyledInput || (_StyledInput = /*#__PURE__*/_jsx(StyledInput, {})),
75
- outlined: /*#__PURE__*/_jsx(StyledOutlinedInput, {
76
- label: label
77
- }),
78
- filled: _StyledFilledInput || (_StyledFilledInput = /*#__PURE__*/_jsx(StyledFilledInput, {}))
79
- }[variant];
80
72
  const ownerState = _extends({}, props, {
81
73
  variant,
82
74
  classes: classesProp
83
75
  });
84
76
  const classes = useUtilityClasses(ownerState);
77
+ const InputComponent = input || {
78
+ standard: /*#__PURE__*/_jsx(StyledInput, {
79
+ ownerState: ownerState
80
+ }),
81
+ outlined: /*#__PURE__*/_jsx(StyledOutlinedInput, {
82
+ label: label,
83
+ ownerState: ownerState
84
+ }),
85
+ filled: /*#__PURE__*/_jsx(StyledFilledInput, {
86
+ ownerState: ownerState
87
+ })
88
+ }[variant];
85
89
  const inputComponentRef = useForkRef(ref, InputComponent.ref);
86
90
  return /*#__PURE__*/_jsx(React.Fragment, {
87
91
  children: /*#__PURE__*/React.cloneElement(InputComponent, _extends({
@@ -90,6 +94,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
90
94
  inputComponent,
91
95
  inputProps: _extends({
92
96
  children,
97
+ error: fcs.error,
93
98
  IconComponent,
94
99
  variant,
95
100
  type: undefined,
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
3
  import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils";
4
4
  var _span;
5
- const _excluded = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
5
+ const _excluded = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
6
6
  import * as React from 'react';
7
7
  import { isFragment } from 'react-is';
8
8
  import PropTypes from 'prop-types';
@@ -33,6 +33,8 @@ const SelectSelect = styled('div', {
33
33
  [`&.${selectClasses.select}`]: styles.select
34
34
  }, {
35
35
  [`&.${selectClasses.select}`]: styles[ownerState.variant]
36
+ }, {
37
+ [`&.${selectClasses.error}`]: styles.error
36
38
  }, {
37
39
  [`&.${selectClasses.multiple}`]: styles.multiple
38
40
  }];
@@ -90,10 +92,11 @@ const useUtilityClasses = ownerState => {
90
92
  variant,
91
93
  disabled,
92
94
  multiple,
93
- open
95
+ open,
96
+ error
94
97
  } = ownerState;
95
98
  const slots = {
96
- select: ['select', variant, disabled && 'disabled', multiple && 'multiple'],
99
+ select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],
97
100
  icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled'],
98
101
  nativeInput: ['nativeInput']
99
102
  };
@@ -115,6 +118,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
115
118
  defaultValue,
116
119
  disabled,
117
120
  displayEmpty,
121
+ error = false,
118
122
  IconComponent,
119
123
  inputRef: inputRefProp,
120
124
  labelId,
@@ -420,7 +424,8 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
420
424
  const ownerState = _extends({}, props, {
421
425
  variant,
422
426
  value,
423
- open
427
+ open,
428
+ error
424
429
  });
425
430
  const classes = useUtilityClasses(ownerState);
426
431
  return /*#__PURE__*/_jsxs(React.Fragment, {
@@ -450,6 +455,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
450
455
  children: "\u200B"
451
456
  })) : display
452
457
  })), /*#__PURE__*/_jsx(SelectNativeInput, _extends({
458
+ "aria-invalid": error,
453
459
  value: Array.isArray(value) ? value.join(',') : value,
454
460
  name: name,
455
461
  ref: inputRef,
@@ -541,6 +547,10 @@ process.env.NODE_ENV !== "production" ? SelectInput.propTypes = {
541
547
  * If `true`, the selected item is displayed even if its value is empty.
542
548
  */
543
549
  displayEmpty: PropTypes.bool,
550
+ /**
551
+ * If `true`, the `select input` will indicate an error.
552
+ */
553
+ error: PropTypes.bool,
544
554
  /**
545
555
  * The icon that displays the arrow.
546
556
  */
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getSelectUtilityClasses(slot) {
4
4
  return generateUtilityClass('MuiSelect', slot);
5
5
  }
6
- const selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
6
+ const selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
7
7
  export default selectClasses;
@@ -269,7 +269,7 @@ const StyledSliderValueLabel = styled(SliderValueLabel, {
269
269
  ownerState
270
270
  }) => _extends({
271
271
  [`&.${sliderClasses.valueLabelOpen}`]: {
272
- transform: 'translateY(-100%) scale(1)'
272
+ transform: `${ownerState.orientation === 'vertical' ? 'translateY(-50%)' : 'translateY(-100%)'} scale(1)`
273
273
  },
274
274
  zIndex: 1,
275
275
  whiteSpace: 'nowrap'
@@ -278,7 +278,7 @@ const StyledSliderValueLabel = styled(SliderValueLabel, {
278
278
  transition: theme.transitions.create(['transform'], {
279
279
  duration: theme.transitions.duration.shortest
280
280
  }),
281
- transform: 'translateY(-100%) scale(0)',
281
+ transform: `${ownerState.orientation === 'vertical' ? 'translateY(-50%)' : 'translateY(-100%)'} scale(0)`,
282
282
  position: 'absolute',
283
283
  backgroundColor: (theme.vars || theme).palette.grey[600],
284
284
  borderRadius: 2,
@@ -301,18 +301,18 @@ const StyledSliderValueLabel = styled(SliderValueLabel, {
301
301
  left: '50%'
302
302
  }
303
303
  }, ownerState.orientation === 'vertical' && {
304
- right: '30px',
305
- top: '24px',
304
+ right: ownerState.size === 'small' ? '20px' : '30px',
305
+ top: '50%',
306
306
  transformOrigin: 'right center',
307
307
  '&:before': {
308
308
  position: 'absolute',
309
309
  content: '""',
310
310
  width: 8,
311
311
  height: 8,
312
- transform: 'translate(-50%, 50%) rotate(45deg)',
312
+ transform: 'translate(-50%, -50%) rotate(45deg)',
313
313
  backgroundColor: 'inherit',
314
314
  right: '-20%',
315
- top: '25%'
315
+ top: '50%'
316
316
  }
317
317
  }, ownerState.size === 'small' && {
318
318
  fontSize: theme.typography.pxToRem(12),
@@ -45,6 +45,16 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ =
45
45
  /**
46
46
  * The system prop, which allows defining system overrides as well as additional CSS styles.
47
47
  */
48
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
48
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
49
+ /**
50
+ * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
51
+ *
52
+ * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack#limitations),
53
+ * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
54
+ *
55
+ * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
56
+ * @default false
57
+ */
58
+ useFlexGap: PropTypes.bool
49
59
  } : void 0;
50
60
  export default Stack;
@@ -4,6 +4,7 @@ import { styled, useThemeProps } from '../styles';
4
4
  const Grid2 = createGrid2({
5
5
  createStyledComponent: styled('div', {
6
6
  name: 'MuiGrid2',
7
+ slot: 'Root',
7
8
  overridesResolver: (props, styles) => styles.root
8
9
  }),
9
10
  componentName: 'MuiGrid2',
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.11.14
2
+ * @mui/material v5.11.16
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the