@mui/material 6.0.0-alpha.4 → 6.0.0-alpha.5

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v6.0.0-alpha.4
2
+ * @mui/material v6.0.0-alpha.5
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -7270,7 +7270,7 @@
7270
7270
  return resolveProps(theme.components[name].defaultProps, props);
7271
7271
  }
7272
7272
 
7273
- function useThemeProps$Q(_ref) {
7273
+ function useThemeProps$R(_ref) {
7274
7274
  var props = _ref.props,
7275
7275
  name = _ref.name,
7276
7276
  defaultTheme = _ref.defaultTheme,
@@ -9572,7 +9572,7 @@
9572
9572
  }
9573
9573
  });
9574
9574
  var useThemePropsDefault$2 = function useThemePropsDefault(inProps) {
9575
- return useThemeProps$Q({
9575
+ return useThemeProps$R({
9576
9576
  props: inProps,
9577
9577
  name: 'MuiContainer',
9578
9578
  defaultTheme: defaultTheme$6
@@ -9960,7 +9960,7 @@
9960
9960
  }
9961
9961
  });
9962
9962
  function useThemePropsDefault$1(props) {
9963
- return useThemeProps$Q({
9963
+ return useThemeProps$R({
9964
9964
  props: props,
9965
9965
  name: 'MuiGrid',
9966
9966
  defaultTheme: defaultTheme$5
@@ -10127,7 +10127,7 @@
10127
10127
  }
10128
10128
  });
10129
10129
  function useThemePropsDefault(props) {
10130
- return useThemeProps$Q({
10130
+ return useThemeProps$R({
10131
10131
  props: props,
10132
10132
  name: 'MuiStack',
10133
10133
  defaultTheme: defaultTheme$4
@@ -11167,10 +11167,10 @@
11167
11167
  return theme[THEME_ID] || theme;
11168
11168
  }
11169
11169
 
11170
- function useThemeProps$P(_ref) {
11170
+ function useThemeProps$Q(_ref) {
11171
11171
  var props = _ref.props,
11172
11172
  name = _ref.name;
11173
- return useThemeProps$Q({
11173
+ return useThemeProps$R({
11174
11174
  props: props,
11175
11175
  name: name,
11176
11176
  defaultTheme: defaultTheme$3,
@@ -11687,12 +11687,18 @@
11687
11687
  throw new Error("MUI: The `experimental_sx` has been moved to `theme.unstable_sx`.For more details, see https://github.com/mui/material-ui/pull/35150." );
11688
11688
  }
11689
11689
 
11690
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
11691
+ function createUseThemeProps(name) {
11692
+ return useThemeProps$Q;
11693
+ }
11694
+
11690
11695
  function getSvgIconUtilityClass(slot) {
11691
11696
  return generateUtilityClass$1('MuiSvgIcon', slot);
11692
11697
  }
11693
11698
  var svgIconClasses = generateUtilityClasses$1('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
11694
11699
  var svgIconClasses$1 = svgIconClasses;
11695
11700
 
11701
+ var useThemeProps$P = createUseThemeProps();
11696
11702
  var useUtilityClasses$1P = function useUtilityClasses(ownerState) {
11697
11703
  var color = ownerState.color,
11698
11704
  fontSize = ownerState.fontSize,
@@ -11710,33 +11716,92 @@
11710
11716
  return [styles.root, ownerState.color !== 'inherit' && styles["color".concat(capitalize(ownerState.color))], styles["fontSize".concat(capitalize(ownerState.fontSize))]];
11711
11717
  }
11712
11718
  })(function (_ref) {
11713
- var _theme$transitions, _theme$transitions$cr, _theme$transitions2, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px, _palette$ownerState$c, _palette, _palette2, _palette3;
11714
- var theme = _ref.theme,
11715
- ownerState = _ref.ownerState;
11719
+ var _theme$transitions, _theme$transitions$cr, _transitions, _theme$vars, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px, _theme$vars2, _palette2, _theme$vars4, _palette3, _theme$vars5;
11720
+ var theme = _ref.theme;
11716
11721
  return {
11717
11722
  userSelect: 'none',
11718
11723
  width: '1em',
11719
11724
  height: '1em',
11720
11725
  display: 'inline-block',
11721
- // the <svg> will define the property that has `currentColor`
11722
- // for example heroicons uses fill="none" and stroke="currentColor"
11723
- fill: ownerState.hasSvgAsChild ? undefined : 'currentColor',
11724
11726
  flexShrink: 0,
11725
11727
  transition: (_theme$transitions = theme.transitions) == null || (_theme$transitions$cr = _theme$transitions.create) == null ? void 0 : _theme$transitions$cr.call(_theme$transitions, 'fill', {
11726
- duration: (_theme$transitions2 = theme.transitions) == null || (_theme$transitions2 = _theme$transitions2.duration) == null ? void 0 : _theme$transitions2.shorter
11728
+ duration: (_transitions = ((_theme$vars = theme.vars) != null ? _theme$vars : theme).transitions) == null || (_transitions = _transitions.duration) == null ? void 0 : _transitions.shorter
11727
11729
  }),
11728
- fontSize: {
11729
- inherit: 'inherit',
11730
- small: ((_theme$typography = theme.typography) == null || (_theme$typography$pxT = _theme$typography.pxToRem) == null ? void 0 : _theme$typography$pxT.call(_theme$typography, 20)) || '1.25rem',
11731
- medium: ((_theme$typography2 = theme.typography) == null || (_theme$typography2$px = _theme$typography2.pxToRem) == null ? void 0 : _theme$typography2$px.call(_theme$typography2, 24)) || '1.5rem',
11732
- large: ((_theme$typography3 = theme.typography) == null || (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.1875rem'
11733
- }[ownerState.fontSize],
11734
- // TODO v5 deprecate, v6 remove for sx
11735
- color: (_palette$ownerState$c = (_palette = (theme.vars || theme).palette) == null || (_palette = _palette[ownerState.color]) == null ? void 0 : _palette.main) != null ? _palette$ownerState$c : {
11736
- action: (_palette2 = (theme.vars || theme).palette) == null || (_palette2 = _palette2.action) == null ? void 0 : _palette2.active,
11737
- disabled: (_palette3 = (theme.vars || theme).palette) == null || (_palette3 = _palette3.action) == null ? void 0 : _palette3.disabled,
11738
- inherit: undefined
11739
- }[ownerState.color]
11730
+ variants: [{
11731
+ props: function props(_props) {
11732
+ return !_props.hasSvgAsChild;
11733
+ },
11734
+ style: {
11735
+ // the <svg> will define the property that has `currentColor`
11736
+ // for example heroicons uses fill="none" and stroke="currentColor"
11737
+ fill: 'currentColor'
11738
+ }
11739
+ }, {
11740
+ props: {
11741
+ fontSize: 'inherit'
11742
+ },
11743
+ style: {
11744
+ fontSize: 'inherit'
11745
+ }
11746
+ }, {
11747
+ props: {
11748
+ fontSize: 'small'
11749
+ },
11750
+ style: {
11751
+ fontSize: ((_theme$typography = theme.typography) == null || (_theme$typography$pxT = _theme$typography.pxToRem) == null ? void 0 : _theme$typography$pxT.call(_theme$typography, 20)) || '1.25rem'
11752
+ }
11753
+ }, {
11754
+ props: {
11755
+ fontSize: 'medium'
11756
+ },
11757
+ style: {
11758
+ fontSize: ((_theme$typography2 = theme.typography) == null || (_theme$typography2$px = _theme$typography2.pxToRem) == null ? void 0 : _theme$typography2$px.call(_theme$typography2, 24)) || '1.5rem'
11759
+ }
11760
+ }, {
11761
+ props: {
11762
+ fontSize: 'large'
11763
+ },
11764
+ style: {
11765
+ fontSize: ((_theme$typography3 = theme.typography) == null || (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.1875rem'
11766
+ }
11767
+ }].concat(_toConsumableArray(Object.entries(((_theme$vars2 = theme.vars) != null ? _theme$vars2 : theme).palette).filter(function (_ref2) {
11768
+ var _ref3 = _slicedToArray(_ref2, 2),
11769
+ value = _ref3[1];
11770
+ return value.main;
11771
+ }).map(function (_ref4) {
11772
+ var _palette, _theme$vars3;
11773
+ var _ref5 = _slicedToArray(_ref4, 1),
11774
+ color = _ref5[0];
11775
+ return {
11776
+ props: {
11777
+ color: color
11778
+ },
11779
+ style: {
11780
+ color: (_palette = ((_theme$vars3 = theme.vars) != null ? _theme$vars3 : theme).palette) == null || (_palette = _palette[color]) == null ? void 0 : _palette.main
11781
+ }
11782
+ };
11783
+ })), [{
11784
+ props: {
11785
+ color: 'action'
11786
+ },
11787
+ style: {
11788
+ color: (_palette2 = ((_theme$vars4 = theme.vars) != null ? _theme$vars4 : theme).palette) == null || (_palette2 = _palette2.action) == null ? void 0 : _palette2.active
11789
+ }
11790
+ }, {
11791
+ props: {
11792
+ color: 'disabled'
11793
+ },
11794
+ style: {
11795
+ color: (_palette3 = ((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette) == null || (_palette3 = _palette3.action) == null ? void 0 : _palette3.disabled
11796
+ }
11797
+ }, {
11798
+ props: {
11799
+ color: 'inherit'
11800
+ },
11801
+ style: {
11802
+ color: undefined
11803
+ }
11804
+ }])
11740
11805
  };
11741
11806
  });
11742
11807
  var SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProps, ref) {
@@ -11861,7 +11926,9 @@
11861
11926
  */
11862
11927
  viewBox: PropTypes.string
11863
11928
  } ;
11864
- SvgIcon.muiName = 'SvgIcon';
11929
+ if (SvgIcon) {
11930
+ SvgIcon.muiName = 'SvgIcon';
11931
+ }
11865
11932
  var SvgIcon$1 = SvgIcon;
11866
11933
 
11867
11934
  function createSvgIcon(path, displayName) {
@@ -11897,11 +11964,6 @@
11897
11964
  return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
11898
11965
  }
11899
11966
 
11900
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
11901
- function createUseThemeProps(name) {
11902
- return useThemeProps$P;
11903
- }
11904
-
11905
11967
  function _setPrototypeOf(o, p) {
11906
11968
  _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
11907
11969
  o.__proto__ = p;
@@ -12989,7 +13051,7 @@
12989
13051
  * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
12990
13052
  */
12991
13053
  var Collapse = /*#__PURE__*/React__namespace.forwardRef(function Collapse(inProps, ref) {
12992
- var props = useThemeProps$P({
13054
+ var props = useThemeProps$Q({
12993
13055
  props: inProps,
12994
13056
  name: 'MuiCollapse'
12995
13057
  });
@@ -13319,7 +13381,7 @@
13319
13381
  }));
13320
13382
  });
13321
13383
  var Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, ref) {
13322
- var props = useThemeProps$P({
13384
+ var props = useThemeProps$Q({
13323
13385
  props: inProps,
13324
13386
  name: 'MuiPaper'
13325
13387
  });
@@ -15878,7 +15940,7 @@
15878
15940
  return colorTransformations$1[color] || color;
15879
15941
  };
15880
15942
  var Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(inProps, ref) {
15881
- var themeProps = useThemeProps$P({
15943
+ var themeProps = useThemeProps$Q({
15882
15944
  props: inProps,
15883
15945
  name: 'MuiTypography'
15884
15946
  });
@@ -20490,6 +20552,7 @@
20490
20552
  isControlled = _React$useRef.current;
20491
20553
  var inputRef = React__namespace.useRef(null);
20492
20554
  var handleRef = useForkRef(forwardedRef, inputRef);
20555
+ var heightRef = React__namespace.useRef(null);
20493
20556
  var shadowRef = React__namespace.useRef(null);
20494
20557
  var calculateTextareaStyles = React__namespace.useCallback(function () {
20495
20558
  var input = inputRef.current;
@@ -20546,8 +20609,12 @@
20546
20609
  if (isEmpty$1(textareaStyles)) {
20547
20610
  return;
20548
20611
  }
20612
+ var outerHeightStyle = textareaStyles.outerHeightStyle;
20549
20613
  var input = inputRef.current;
20550
- input.style.height = "".concat(textareaStyles.outerHeightStyle, "px");
20614
+ if (heightRef.current !== outerHeightStyle) {
20615
+ heightRef.current = outerHeightStyle;
20616
+ input.style.height = "".concat(outerHeightStyle, "px");
20617
+ }
20551
20618
  input.style.overflow = textareaStyles.overflowing ? 'hidden' : '';
20552
20619
  }, [calculateTextareaStyles]);
20553
20620
  useEnhancedEffect$1(function () {
@@ -21728,7 +21795,7 @@
21728
21795
  var Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps, ref) {
21729
21796
  var _slots$root;
21730
21797
  var theme = useTheme$3();
21731
- var props = useThemeProps$P({
21798
+ var props = useThemeProps$Q({
21732
21799
  props: inProps,
21733
21800
  name: 'MuiPopper'
21734
21801
  });
@@ -21981,7 +22048,7 @@
21981
22048
  };
21982
22049
  });
21983
22050
  var ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubheader(inProps, ref) {
21984
- var props = useThemeProps$P({
22051
+ var props = useThemeProps$Q({
21985
22052
  props: inProps,
21986
22053
  name: 'MuiListSubheader'
21987
22054
  });
@@ -22860,7 +22927,7 @@
22860
22927
  */
22861
22928
  var InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(inProps, ref) {
22862
22929
  var _slotProps$input;
22863
- var props = useThemeProps$P({
22930
+ var props = useThemeProps$Q({
22864
22931
  props: inProps,
22865
22932
  name: 'MuiInputBase'
22866
22933
  });
@@ -28757,7 +28824,7 @@
28757
28824
  }
28758
28825
  }),
28759
28826
  useThemeProps: function useThemeProps(inProps) {
28760
- return useThemeProps$P({
28827
+ return useThemeProps$Q({
28761
28828
  props: inProps,
28762
28829
  name: 'MuiContainer'
28763
28830
  });
@@ -28880,7 +28947,7 @@
28880
28947
  return defaultStyles;
28881
28948
  };
28882
28949
  function CssBaseline(inProps) {
28883
- var props = useThemeProps$P({
28950
+ var props = useThemeProps$Q({
28884
28951
  props: inProps,
28885
28952
  name: 'MuiCssBaseline'
28886
28953
  });
@@ -29470,7 +29537,7 @@
29470
29537
  * Dialogs are overlaid modal paper based components with a backdrop.
29471
29538
  */
29472
29539
  var Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps, ref) {
29473
- var props = useThemeProps$P({
29540
+ var props = useThemeProps$Q({
29474
29541
  props: inProps,
29475
29542
  name: 'MuiDialog'
29476
29543
  });
@@ -29763,7 +29830,7 @@
29763
29830
  });
29764
29831
  });
29765
29832
  var DialogActions = /*#__PURE__*/React__namespace.forwardRef(function DialogActions(inProps, ref) {
29766
- var props = useThemeProps$P({
29833
+ var props = useThemeProps$Q({
29767
29834
  props: inProps,
29768
29835
  name: 'MuiDialogActions'
29769
29836
  });
@@ -29855,7 +29922,7 @@
29855
29922
  }));
29856
29923
  });
29857
29924
  var DialogContent = /*#__PURE__*/React__namespace.forwardRef(function DialogContent(inProps, ref) {
29858
- var props = useThemeProps$P({
29925
+ var props = useThemeProps$Q({
29859
29926
  props: inProps,
29860
29927
  name: 'MuiDialogContent'
29861
29928
  });
@@ -29927,7 +29994,7 @@
29927
29994
  }
29928
29995
  })({});
29929
29996
  var DialogContentText = /*#__PURE__*/React__namespace.forwardRef(function DialogContentText(inProps, ref) {
29930
- var props = useThemeProps$P({
29997
+ var props = useThemeProps$Q({
29931
29998
  props: inProps,
29932
29999
  name: 'MuiDialogContentText'
29933
30000
  });
@@ -29988,7 +30055,7 @@
29988
30055
  flex: '0 0 auto'
29989
30056
  });
29990
30057
  var DialogTitle = /*#__PURE__*/React__namespace.forwardRef(function DialogTitle(inProps, ref) {
29991
- var props = useThemeProps$P({
30058
+ var props = useThemeProps$Q({
29992
30059
  props: inProps,
29993
30060
  name: 'MuiDialogTitle'
29994
30061
  });
@@ -30776,7 +30843,7 @@
30776
30843
  * when `variant="temporary"` is set.
30777
30844
  */
30778
30845
  var Drawer = /*#__PURE__*/React__namespace.forwardRef(function Drawer(inProps, ref) {
30779
- var props = useThemeProps$P({
30846
+ var props = useThemeProps$Q({
30780
30847
  props: inProps,
30781
30848
  name: 'MuiDrawer'
30782
30849
  });
@@ -31394,7 +31461,7 @@
31394
31461
  });
31395
31462
  var FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
31396
31463
  var _ref5, _slots$root, _ref6, _slots$input;
31397
- var props = useThemeProps$P({
31464
+ var props = useThemeProps$Q({
31398
31465
  props: inProps,
31399
31466
  name: 'MuiFilledInput'
31400
31467
  });
@@ -31960,7 +32027,7 @@
31960
32027
  }
31961
32028
  }),
31962
32029
  useThemeProps: function useThemeProps(inProps) {
31963
- return useThemeProps$P({
32030
+ return useThemeProps$Q({
31964
32031
  props: inProps,
31965
32032
  name: 'MuiStack'
31966
32033
  });
@@ -32107,7 +32174,7 @@
32107
32174
  * Use this component if you want to display an extra label.
32108
32175
  */
32109
32176
  var FormControlLabel = /*#__PURE__*/React__namespace.forwardRef(function FormControlLabel(inProps, ref) {
32110
- var _ref7, _slotProps$typography;
32177
+ var _ref7;
32111
32178
  var props = useThemeProps$h({
32112
32179
  props: inProps,
32113
32180
  name: 'MuiFormControlLabel'
@@ -32126,10 +32193,12 @@
32126
32193
  props.name;
32127
32194
  props.onChange;
32128
32195
  var requiredProp = props.required,
32196
+ _props$slots = props.slots,
32197
+ slots = _props$slots === void 0 ? {} : _props$slots,
32129
32198
  _props$slotProps = props.slotProps,
32130
32199
  slotProps = _props$slotProps === void 0 ? {} : _props$slotProps;
32131
32200
  props.value;
32132
- var other = _objectWithoutProperties(props, ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slotProps", "value"]);
32201
+ var other = _objectWithoutProperties(props, ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slots", "slotProps", "value"]);
32133
32202
  var muiFormControl = useFormControl();
32134
32203
  var disabled = (_ref7 = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref7 : muiFormControl == null ? void 0 : muiFormControl.disabled;
32135
32204
  var required = requiredProp != null ? requiredProp : control.props.required;
@@ -32154,10 +32223,21 @@
32154
32223
  error: fcs.error
32155
32224
  });
32156
32225
  var classes = useUtilityClasses$14(ownerState);
32157
- var typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
32226
+ var externalForwardedProps = {
32227
+ slots: slots,
32228
+ slotProps: _extends({}, componentsProps, slotProps)
32229
+ };
32230
+ var _useSlot = useSlot('typography', {
32231
+ elementType: Typography$1,
32232
+ externalForwardedProps: externalForwardedProps,
32233
+ ownerState: ownerState
32234
+ }),
32235
+ _useSlot2 = _slicedToArray(_useSlot, 2),
32236
+ TypographySlot = _useSlot2[0],
32237
+ typographySlotProps = _useSlot2[1];
32158
32238
  var label = labelProp;
32159
32239
  if (label != null && label.type !== Typography$1 && !disableTypography) {
32160
- label = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
32240
+ label = /*#__PURE__*/jsxRuntime_1(TypographySlot, _extends({
32161
32241
  component: "span"
32162
32242
  }, typographySlotProps, {
32163
32243
  className: clsx(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
@@ -32200,6 +32280,7 @@
32200
32280
  /**
32201
32281
  * The props used for each slot inside.
32202
32282
  * @default {}
32283
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
32203
32284
  */
32204
32285
  componentsProps: PropTypes.shape({
32205
32286
  typography: PropTypes.object
@@ -32249,7 +32330,14 @@
32249
32330
  * @default {}
32250
32331
  */
32251
32332
  slotProps: PropTypes.shape({
32252
- typography: PropTypes.object
32333
+ typography: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
32334
+ }),
32335
+ /**
32336
+ * The components used for each slot inside.
32337
+ * @default {}
32338
+ */
32339
+ slots: PropTypes.shape({
32340
+ typography: PropTypes.elementType
32253
32341
  }),
32254
32342
  /**
32255
32343
  * The system prop that allows defining system overrides as well as additional CSS styles.
@@ -32420,7 +32508,7 @@
32420
32508
  }]));
32421
32509
  });
32422
32510
  var FormHelperText = /*#__PURE__*/React__namespace.forwardRef(function FormHelperText(inProps, ref) {
32423
- var props = useThemeProps$P({
32511
+ var props = useThemeProps$Q({
32424
32512
  props: inProps,
32425
32513
  name: 'MuiFormHelperText'
32426
32514
  });
@@ -32584,7 +32672,7 @@
32584
32672
  });
32585
32673
  });
32586
32674
  var FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(inProps, ref) {
32587
- var props = useThemeProps$P({
32675
+ var props = useThemeProps$Q({
32588
32676
  props: inProps,
32589
32677
  name: 'MuiFormLabel'
32590
32678
  });
@@ -33043,7 +33131,7 @@
33043
33131
  return composeClasses(slots, getGridUtilityClass, classes);
33044
33132
  };
33045
33133
  var Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref) {
33046
- var themeProps = useThemeProps$P({
33134
+ var themeProps = useThemeProps$Q({
33047
33135
  props: inProps,
33048
33136
  name: 'MuiGrid'
33049
33137
  });
@@ -33261,7 +33349,7 @@
33261
33349
  }),
33262
33350
  componentName: 'MuiGrid2',
33263
33351
  useThemeProps: function useThemeProps(inProps) {
33264
- return useThemeProps$P({
33352
+ return useThemeProps$Q({
33265
33353
  props: inProps,
33266
33354
  name: 'MuiGrid2'
33267
33355
  });
@@ -34113,7 +34201,7 @@
34113
34201
  };
34114
34202
  });
34115
34203
  var Icon = /*#__PURE__*/React__namespace.forwardRef(function Icon(inProps, ref) {
34116
- var props = useThemeProps$P({
34204
+ var props = useThemeProps$Q({
34117
34205
  props: inProps,
34118
34206
  name: 'MuiIcon'
34119
34207
  });
@@ -34241,7 +34329,7 @@
34241
34329
  }]
34242
34330
  });
34243
34331
  var ImageList = /*#__PURE__*/React__namespace.forwardRef(function ImageList(inProps, ref) {
34244
- var props = useThemeProps$P({
34332
+ var props = useThemeProps$Q({
34245
34333
  props: inProps,
34246
34334
  name: 'MuiImageList'
34247
34335
  });
@@ -34414,7 +34502,7 @@
34414
34502
  })
34415
34503
  }]));
34416
34504
  var ImageListItem = /*#__PURE__*/React__namespace.forwardRef(function ImageListItem(inProps, ref) {
34417
- var props = useThemeProps$P({
34505
+ var props = useThemeProps$Q({
34418
34506
  props: inProps,
34419
34507
  name: 'MuiImageListItem'
34420
34508
  });
@@ -34678,7 +34766,7 @@
34678
34766
  }]
34679
34767
  });
34680
34768
  var ImageListItemBar = /*#__PURE__*/React__namespace.forwardRef(function ImageListItemBar(inProps, ref) {
34681
- var props = useThemeProps$P({
34769
+ var props = useThemeProps$Q({
34682
34770
  props: inProps,
34683
34771
  name: 'MuiImageListItemBar'
34684
34772
  });
@@ -34852,7 +34940,7 @@
34852
34940
  })({});
34853
34941
  var Input = /*#__PURE__*/React__namespace.forwardRef(function Input(inProps, ref) {
34854
34942
  var _ref3, _slots$root, _ref4, _slots$input;
34855
- var props = useThemeProps$P({
34943
+ var props = useThemeProps$Q({
34856
34944
  props: inProps,
34857
34945
  name: 'MuiInput'
34858
34946
  });
@@ -35140,7 +35228,7 @@
35140
35228
  });
35141
35229
  });
35142
35230
  var InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAdornment(inProps, ref) {
35143
- var props = useThemeProps$P({
35231
+ var props = useThemeProps$Q({
35144
35232
  props: inProps,
35145
35233
  name: 'MuiInputAdornment'
35146
35234
  });
@@ -35340,7 +35428,7 @@
35340
35428
  }));
35341
35429
  });
35342
35430
  var InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(inProps, ref) {
35343
- var props = useThemeProps$P({
35431
+ var props = useThemeProps$Q({
35344
35432
  name: 'MuiInputLabel',
35345
35433
  props: inProps
35346
35434
  });
@@ -35972,7 +36060,7 @@
35972
36060
  }));
35973
36061
  });
35974
36062
  var Link = /*#__PURE__*/React__namespace.forwardRef(function Link(inProps, ref) {
35975
- var props = useThemeProps$P({
36063
+ var props = useThemeProps$Q({
35976
36064
  props: inProps,
35977
36065
  name: 'MuiLink'
35978
36066
  });
@@ -36143,7 +36231,7 @@
36143
36231
  });
36144
36232
  });
36145
36233
  var List = /*#__PURE__*/React__namespace.forwardRef(function List(inProps, ref) {
36146
- var props = useThemeProps$P({
36234
+ var props = useThemeProps$Q({
36147
36235
  props: inProps,
36148
36236
  name: 'MuiList'
36149
36237
  });
@@ -36338,7 +36426,7 @@
36338
36426
  }]);
36339
36427
  });
36340
36428
  var ListItemButton = /*#__PURE__*/React__namespace.forwardRef(function ListItemButton(inProps, ref) {
36341
- var props = useThemeProps$P({
36429
+ var props = useThemeProps$Q({
36342
36430
  props: inProps,
36343
36431
  name: 'MuiListItemButton'
36344
36432
  });
@@ -36525,7 +36613,7 @@
36525
36613
  * Must be used as the last child of ListItem to function properly.
36526
36614
  */
36527
36615
  var ListItemSecondaryAction = /*#__PURE__*/React__namespace.forwardRef(function ListItemSecondaryAction(inProps, ref) {
36528
- var props = useThemeProps$P({
36616
+ var props = useThemeProps$Q({
36529
36617
  props: inProps,
36530
36618
  name: 'MuiListItemSecondaryAction'
36531
36619
  });
@@ -36722,7 +36810,7 @@
36722
36810
  * Uses an additional container component if `ListItemSecondaryAction` is the last child.
36723
36811
  */
36724
36812
  var ListItem = /*#__PURE__*/React__namespace.forwardRef(function ListItem(inProps, ref) {
36725
- var props = useThemeProps$P({
36813
+ var props = useThemeProps$Q({
36726
36814
  props: inProps,
36727
36815
  name: 'MuiListItem'
36728
36816
  });
@@ -37059,7 +37147,7 @@
37059
37147
  * A simple wrapper to apply `List` styles to an `Avatar`.
37060
37148
  */
37061
37149
  var ListItemAvatar = /*#__PURE__*/React__namespace.forwardRef(function ListItemAvatar(inProps, ref) {
37062
- var props = useThemeProps$P({
37150
+ var props = useThemeProps$Q({
37063
37151
  props: inProps,
37064
37152
  name: 'MuiListItemAvatar'
37065
37153
  });
@@ -37138,7 +37226,7 @@
37138
37226
  * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
37139
37227
  */
37140
37228
  var ListItemIcon = /*#__PURE__*/React__namespace.forwardRef(function ListItemIcon(inProps, ref) {
37141
- var props = useThemeProps$P({
37229
+ var props = useThemeProps$Q({
37142
37230
  props: inProps,
37143
37231
  name: 'MuiListItemIcon'
37144
37232
  });
@@ -37231,7 +37319,7 @@
37231
37319
  }]
37232
37320
  });
37233
37321
  var ListItemText = /*#__PURE__*/React__namespace.forwardRef(function ListItemText(inProps, ref) {
37234
- var props = useThemeProps$P({
37322
+ var props = useThemeProps$Q({
37235
37323
  props: inProps,
37236
37324
  name: 'MuiListItemText'
37237
37325
  });
@@ -38205,7 +38293,7 @@
38205
38293
  });
38206
38294
  var Menu = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, ref) {
38207
38295
  var _slots$paper, _slotProps$paper;
38208
- var props = useThemeProps$P({
38296
+ var props = useThemeProps$Q({
38209
38297
  props: inProps,
38210
38298
  name: 'MuiMenu'
38211
38299
  });
@@ -38549,7 +38637,7 @@
38549
38637
  })));
38550
38638
  });
38551
38639
  var MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(inProps, ref) {
38552
- var props = useThemeProps$P({
38640
+ var props = useThemeProps$Q({
38553
38641
  props: inProps,
38554
38642
  name: 'MuiMenuItem'
38555
38643
  });
@@ -39141,7 +39229,7 @@
39141
39229
  * An alternative to `<Select native />` with a much smaller bundle size footprint.
39142
39230
  */
39143
39231
  var NativeSelect = /*#__PURE__*/React__namespace.forwardRef(function NativeSelect(inProps, ref) {
39144
- var props = useThemeProps$P({
39232
+ var props = useThemeProps$Q({
39145
39233
  name: 'MuiNativeSelect',
39146
39234
  props: inProps
39147
39235
  });
@@ -39466,7 +39554,7 @@
39466
39554
  });
39467
39555
  var OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
39468
39556
  var _ref5, _slots$root, _ref6, _slots$input, _React$Fragment;
39469
- var props = useThemeProps$P({
39557
+ var props = useThemeProps$Q({
39470
39558
  props: inProps,
39471
39559
  name: 'MuiOutlinedInput'
39472
39560
  });
@@ -40086,6 +40174,7 @@
40086
40174
  };
40087
40175
  });
40088
40176
  var PaginationItem = /*#__PURE__*/React__namespace.forwardRef(function PaginationItem(inProps, ref) {
40177
+ var _slots$previous, _slots$next, _slots$first, _slots$last;
40089
40178
  var props = useThemeProps$c({
40090
40179
  props: inProps,
40091
40180
  name: 'MuiPaginationItem'
@@ -40107,11 +40196,13 @@
40107
40196
  size = _props$size === void 0 ? 'medium' : _props$size,
40108
40197
  _props$slots = props.slots,
40109
40198
  slots = _props$slots === void 0 ? {} : _props$slots,
40199
+ _props$slotProps = props.slotProps,
40200
+ slotProps = _props$slotProps === void 0 ? {} : _props$slotProps,
40110
40201
  _props$type = props.type,
40111
40202
  type = _props$type === void 0 ? 'page' : _props$type,
40112
40203
  _props$variant = props.variant,
40113
40204
  variant = _props$variant === void 0 ? 'text' : _props$variant,
40114
- other = _objectWithoutProperties(props, ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "slots", "type", "variant"]);
40205
+ other = _objectWithoutProperties(props, ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "slots", "slotProps", "type", "variant"]);
40115
40206
  var ownerState = _extends({}, props, {
40116
40207
  color: color,
40117
40208
  disabled: disabled,
@@ -40123,18 +40214,65 @@
40123
40214
  });
40124
40215
  var isRtl = useRtl();
40125
40216
  var classes = useUtilityClasses$D(ownerState);
40126
- var normalizedIcons = isRtl ? {
40127
- previous: slots.next || components.next || NavigateNextIcon,
40128
- next: slots.previous || components.previous || NavigateBeforeIcon,
40129
- last: slots.first || components.first || FirstPageIconDefault,
40130
- first: slots.last || components.last || LastPageIconDefault
40131
- } : {
40132
- previous: slots.previous || components.previous || NavigateBeforeIcon,
40133
- next: slots.next || components.next || NavigateNextIcon,
40134
- first: slots.first || components.first || FirstPageIconDefault,
40135
- last: slots.last || components.last || LastPageIconDefault
40217
+ var externalForwardedProps = {
40218
+ slots: {
40219
+ previous: (_slots$previous = slots.previous) != null ? _slots$previous : components.previous,
40220
+ next: (_slots$next = slots.next) != null ? _slots$next : components.next,
40221
+ first: (_slots$first = slots.first) != null ? _slots$first : components.first,
40222
+ last: (_slots$last = slots.last) != null ? _slots$last : components.last
40223
+ },
40224
+ slotProps: slotProps
40136
40225
  };
40137
- var Icon = normalizedIcons[type];
40226
+ var _useSlot = useSlot('previous', {
40227
+ elementType: NavigateBeforeIcon,
40228
+ externalForwardedProps: externalForwardedProps,
40229
+ ownerState: ownerState
40230
+ }),
40231
+ _useSlot2 = _slicedToArray(_useSlot, 2),
40232
+ PreviousSlot = _useSlot2[0],
40233
+ previousSlotProps = _useSlot2[1];
40234
+ var _useSlot3 = useSlot('next', {
40235
+ elementType: NavigateNextIcon,
40236
+ externalForwardedProps: externalForwardedProps,
40237
+ ownerState: ownerState
40238
+ }),
40239
+ _useSlot4 = _slicedToArray(_useSlot3, 2),
40240
+ NextSlot = _useSlot4[0],
40241
+ nextSlotProps = _useSlot4[1];
40242
+ var _useSlot5 = useSlot('first', {
40243
+ elementType: FirstPageIconDefault,
40244
+ externalForwardedProps: externalForwardedProps,
40245
+ ownerState: ownerState
40246
+ }),
40247
+ _useSlot6 = _slicedToArray(_useSlot5, 2),
40248
+ FirstSlot = _useSlot6[0],
40249
+ firstSlotProps = _useSlot6[1];
40250
+ var _useSlot7 = useSlot('last', {
40251
+ elementType: LastPageIconDefault,
40252
+ externalForwardedProps: externalForwardedProps,
40253
+ ownerState: ownerState
40254
+ }),
40255
+ _useSlot8 = _slicedToArray(_useSlot7, 2),
40256
+ LastSlot = _useSlot8[0],
40257
+ lastSlotProps = _useSlot8[1];
40258
+ var rtlAwareType = isRtl ? {
40259
+ previous: 'next',
40260
+ next: 'previous',
40261
+ first: 'last',
40262
+ last: 'first'
40263
+ }[type] : type;
40264
+ var IconSlot = {
40265
+ previous: PreviousSlot,
40266
+ next: NextSlot,
40267
+ first: FirstSlot,
40268
+ last: LastSlot
40269
+ }[rtlAwareType];
40270
+ var iconSlotProps = {
40271
+ previous: previousSlotProps,
40272
+ next: nextSlotProps,
40273
+ first: firstSlotProps,
40274
+ last: lastSlotProps
40275
+ }[rtlAwareType];
40138
40276
  return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, {
40139
40277
  ref: ref,
40140
40278
  ownerState: ownerState,
@@ -40147,11 +40285,10 @@
40147
40285
  disabled: disabled,
40148
40286
  className: clsx(classes.root, className)
40149
40287
  }, other, {
40150
- children: [type === 'page' && page, Icon ? /*#__PURE__*/jsxRuntime_1(PaginationItemPageIcon, {
40151
- as: Icon,
40152
- ownerState: ownerState,
40153
- className: classes.icon
40154
- }) : null]
40288
+ children: [type === 'page' && page, IconSlot ? /*#__PURE__*/jsxRuntime_1(PaginationItemPageIcon, _extends({}, iconSlotProps, {
40289
+ className: classes.icon,
40290
+ as: IconSlot
40291
+ })) : null]
40155
40292
  }));
40156
40293
  });
40157
40294
  PaginationItem.propTypes /* remove-proptypes */ = {
@@ -40190,6 +40327,7 @@
40190
40327
  * It's recommended to use the `slots` prop instead.
40191
40328
  *
40192
40329
  * @default {}
40330
+ * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
40193
40331
  */
40194
40332
  components: PropTypes.shape({
40195
40333
  first: PropTypes.elementType,
@@ -40221,11 +40359,18 @@
40221
40359
  * @default 'medium'
40222
40360
  */
40223
40361
  size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),
40362
+ /**
40363
+ * The props used for each slot inside.
40364
+ * @default {}
40365
+ */
40366
+ slotProps: PropTypes.shape({
40367
+ first: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
40368
+ last: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
40369
+ next: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
40370
+ previous: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
40371
+ }),
40224
40372
  /**
40225
40373
  * The components used for each slot inside.
40226
- *
40227
- * This prop is an alias for the `components` prop, which will be deprecated in the future.
40228
- *
40229
40374
  * @default {}
40230
40375
  */
40231
40376
  slots: PropTypes.shape({
@@ -40289,7 +40434,7 @@
40289
40434
  return "Go to ".concat(type, " page");
40290
40435
  }
40291
40436
  var Pagination = /*#__PURE__*/React__namespace.forwardRef(function Pagination(inProps, ref) {
40292
- var props = useThemeProps$P({
40437
+ var props = useThemeProps$Q({
40293
40438
  props: inProps,
40294
40439
  name: 'MuiPagination'
40295
40440
  });
@@ -41234,7 +41379,7 @@
41234
41379
  return "".concat(value, " Star").concat(value !== 1 ? 's' : '');
41235
41380
  }
41236
41381
  var Rating = /*#__PURE__*/React__namespace.forwardRef(function Rating(inProps, ref) {
41237
- var props = useThemeProps$P({
41382
+ var props = useThemeProps$Q({
41238
41383
  name: 'MuiRating',
41239
41384
  props: inProps
41240
41385
  });
@@ -41675,7 +41820,7 @@
41675
41820
  }, colorSchemeStyles);
41676
41821
  });
41677
41822
  var ScopedCssBaseline = /*#__PURE__*/React__namespace.forwardRef(function ScopedCssBaseline(inProps, ref) {
41678
- var props = useThemeProps$P({
41823
+ var props = useThemeProps$Q({
41679
41824
  props: inProps,
41680
41825
  name: 'MuiScopedCssBaseline'
41681
41826
  });
@@ -42397,7 +42542,7 @@
42397
42542
  var StyledOutlinedInput = styled$1(OutlinedInput$1, styledRootConfig)('');
42398
42543
  var StyledFilledInput = styled$1(FilledInput$1, styledRootConfig)('');
42399
42544
  var Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps, ref) {
42400
- var props = useThemeProps$P({
42545
+ var props = useThemeProps$Q({
42401
42546
  name: 'MuiSelect',
42402
42547
  props: inProps
42403
42548
  });
@@ -42720,7 +42865,7 @@
42720
42865
  return ownerState.animation === 'wave' && css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: ", " 2s linear 0.5s infinite;\n background: linear-gradient(\n 90deg,\n transparent,\n ", ",\n transparent\n );\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "])), waveKeyframe, (theme.vars || theme).palette.action.hover);
42721
42866
  });
42722
42867
  var Skeleton = /*#__PURE__*/React__namespace.forwardRef(function Skeleton(inProps, ref) {
42723
- var props = useThemeProps$P({
42868
+ var props = useThemeProps$Q({
42724
42869
  props: inProps,
42725
42870
  name: 'MuiSkeleton'
42726
42871
  });
@@ -43966,7 +44111,7 @@
43966
44111
  marginRight: -8
43967
44112
  });
43968
44113
  var SnackbarContent = /*#__PURE__*/React__namespace.forwardRef(function SnackbarContent(inProps, ref) {
43969
- var props = useThemeProps$P({
44114
+ var props = useThemeProps$Q({
43970
44115
  props: inProps,
43971
44116
  name: 'MuiSnackbarContent'
43972
44117
  });
@@ -44088,7 +44233,7 @@
44088
44233
  })));
44089
44234
  });
44090
44235
  var Snackbar = /*#__PURE__*/React__namespace.forwardRef(function Snackbar(inProps, ref) {
44091
- var props = useThemeProps$P({
44236
+ var props = useThemeProps$Q({
44092
44237
  props: inProps,
44093
44238
  name: 'MuiSnackbar'
44094
44239
  });
@@ -44623,7 +44768,7 @@
44623
44768
  });
44624
44769
  });
44625
44770
  var SpeedDial = /*#__PURE__*/React__namespace.forwardRef(function SpeedDial(inProps, ref) {
44626
- var props = useThemeProps$P({
44771
+ var props = useThemeProps$Q({
44627
44772
  props: inProps,
44628
44773
  name: 'MuiSpeedDial'
44629
44774
  });
@@ -45185,7 +45330,7 @@
45185
45330
  // TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
45186
45331
  var Tooltip = /*#__PURE__*/React__namespace.forwardRef(function Tooltip(inProps, ref) {
45187
45332
  var _ref5, _slots$popper, _ref6, _ref7, _slots$transition, _ref8, _slots$tooltip, _ref9, _slots$arrow, _slotProps$popper, _ref10, _slotProps$popper2, _slotProps$transition, _slotProps$tooltip, _ref11, _slotProps$tooltip2, _slotProps$arrow, _ref12, _slotProps$arrow2;
45188
- var props = useThemeProps$P({
45333
+ var props = useThemeProps$Q({
45189
45334
  props: inProps,
45190
45335
  name: 'MuiTooltip'
45191
45336
  });
@@ -45857,7 +46002,7 @@
45857
46002
  });
45858
46003
  });
45859
46004
  var SpeedDialAction = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialAction(inProps, ref) {
45860
- var props = useThemeProps$P({
46005
+ var props = useThemeProps$Q({
45861
46006
  props: inProps,
45862
46007
  name: 'MuiSpeedDialAction'
45863
46008
  });
@@ -46051,7 +46196,7 @@
46051
46196
  }));
46052
46197
  });
46053
46198
  var SpeedDialIcon = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialIcon(inProps, ref) {
46054
- var props = useThemeProps$P({
46199
+ var props = useThemeProps$Q({
46055
46200
  props: inProps,
46056
46201
  name: 'MuiSpeedDialIcon'
46057
46202
  });
@@ -47453,7 +47598,7 @@
47453
47598
  }
47454
47599
  var iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
47455
47600
  var SwipeableDrawer = /*#__PURE__*/React__namespace.forwardRef(function SwipeableDrawer(inProps, ref) {
47456
- var props = useThemeProps$Q({
47601
+ var props = useThemeProps$R({
47457
47602
  name: 'MuiSwipeableDrawer',
47458
47603
  props: inProps
47459
47604
  });
@@ -48369,7 +48514,7 @@
48369
48514
  });
48370
48515
  });
48371
48516
  var Tab = /*#__PURE__*/React__namespace.forwardRef(function Tab(inProps, ref) {
48372
- var props = useThemeProps$P({
48517
+ var props = useThemeProps$Q({
48373
48518
  props: inProps,
48374
48519
  name: 'MuiTab'
48375
48520
  });
@@ -48579,7 +48724,7 @@
48579
48724
  });
48580
48725
  var defaultComponent$4 = 'table';
48581
48726
  var Table = /*#__PURE__*/React__namespace.forwardRef(function Table(inProps, ref) {
48582
- var props = useThemeProps$P({
48727
+ var props = useThemeProps$Q({
48583
48728
  props: inProps,
48584
48729
  name: 'MuiTable'
48585
48730
  });
@@ -48698,7 +48843,7 @@
48698
48843
  };
48699
48844
  var defaultComponent$3 = 'tbody';
48700
48845
  var TableBody = /*#__PURE__*/React__namespace.forwardRef(function TableBody(inProps, ref) {
48701
- var props = useThemeProps$P({
48846
+ var props = useThemeProps$Q({
48702
48847
  props: inProps,
48703
48848
  name: 'MuiTableBody'
48704
48849
  });
@@ -48889,7 +49034,7 @@
48889
49034
  * or otherwise a `<td>` element.
48890
49035
  */
48891
49036
  var TableCell = /*#__PURE__*/React__namespace.forwardRef(function TableCell(inProps, ref) {
48892
- var props = useThemeProps$P({
49037
+ var props = useThemeProps$Q({
48893
49038
  props: inProps,
48894
49039
  name: 'MuiTableCell'
48895
49040
  });
@@ -49028,7 +49173,7 @@
49028
49173
  overflowX: 'auto'
49029
49174
  });
49030
49175
  var TableContainer = /*#__PURE__*/React__namespace.forwardRef(function TableContainer(inProps, ref) {
49031
- var props = useThemeProps$P({
49176
+ var props = useThemeProps$Q({
49032
49177
  props: inProps,
49033
49178
  name: 'MuiTableContainer'
49034
49179
  });
@@ -49103,7 +49248,7 @@
49103
49248
  };
49104
49249
  var defaultComponent$2 = 'tfoot';
49105
49250
  var TableFooter = /*#__PURE__*/React__namespace.forwardRef(function TableFooter(inProps, ref) {
49106
- var props = useThemeProps$P({
49251
+ var props = useThemeProps$Q({
49107
49252
  props: inProps,
49108
49253
  name: 'MuiTableFooter'
49109
49254
  });
@@ -49182,7 +49327,7 @@
49182
49327
  };
49183
49328
  var defaultComponent$1 = 'thead';
49184
49329
  var TableHead = /*#__PURE__*/React__namespace.forwardRef(function TableHead(inProps, ref) {
49185
- var props = useThemeProps$P({
49330
+ var props = useThemeProps$Q({
49186
49331
  props: inProps,
49187
49332
  name: 'MuiTableHead'
49188
49333
  });
@@ -49295,7 +49440,7 @@
49295
49440
  };
49296
49441
  });
49297
49442
  var Toolbar = /*#__PURE__*/React__namespace.forwardRef(function Toolbar(inProps, ref) {
49298
- var props = useThemeProps$P({
49443
+ var props = useThemeProps$Q({
49299
49444
  props: inProps,
49300
49445
  name: 'MuiToolbar'
49301
49446
  });
@@ -49669,7 +49814,7 @@
49669
49814
  */
49670
49815
  var TablePagination = /*#__PURE__*/React__namespace.forwardRef(function TablePagination(inProps, ref) {
49671
49816
  var _slotProps$select;
49672
- var props = useThemeProps$P({
49817
+ var props = useThemeProps$Q({
49673
49818
  props: inProps,
49674
49819
  name: 'MuiTablePagination'
49675
49820
  });
@@ -50025,7 +50170,7 @@
50025
50170
  * based on the material table element parent (head, body, etc).
50026
50171
  */
50027
50172
  var TableRow = /*#__PURE__*/React__namespace.forwardRef(function TableRow(inProps, ref) {
50028
- var props = useThemeProps$P({
50173
+ var props = useThemeProps$Q({
50029
50174
  props: inProps,
50030
50175
  name: 'MuiTableRow'
50031
50176
  });
@@ -50183,7 +50328,7 @@
50183
50328
  * A button based label for placing inside `TableCell` for column sorting.
50184
50329
  */
50185
50330
  var TableSortLabel = /*#__PURE__*/React__namespace.forwardRef(function TableSortLabel(inProps, ref) {
50186
- var props = useThemeProps$P({
50331
+ var props = useThemeProps$Q({
50187
50332
  props: inProps,
50188
50333
  name: 'MuiTableSortLabel'
50189
50334
  });
@@ -50394,7 +50539,7 @@
50394
50539
  });
50395
50540
  var TabScrollButton = /*#__PURE__*/React__namespace.forwardRef(function TabScrollButton(inProps, ref) {
50396
50541
  var _slots$StartScrollBut, _slots$EndScrollButto;
50397
- var props = useThemeProps$P({
50542
+ var props = useThemeProps$Q({
50398
50543
  props: inProps,
50399
50544
  name: 'MuiTabScrollButton'
50400
50545
  });
@@ -50671,7 +50816,7 @@
50671
50816
  var defaultIndicatorStyle = {};
50672
50817
  var warnedOnceTabPresent = false;
50673
50818
  var Tabs = /*#__PURE__*/React__namespace.forwardRef(function Tabs(inProps, ref) {
50674
- var props = useThemeProps$P({
50819
+ var props = useThemeProps$Q({
50675
50820
  props: inProps,
50676
50821
  name: 'MuiTabs'
50677
50822
  });
@@ -51382,7 +51527,7 @@
51382
51527
  * - using the underlying components directly as shown in the demos
51383
51528
  */
51384
51529
  var TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(inProps, ref) {
51385
- var props = useThemeProps$P({
51530
+ var props = useThemeProps$Q({
51386
51531
  props: inProps,
51387
51532
  name: 'MuiTextField'
51388
51533
  });
@@ -52722,7 +52867,7 @@
52722
52867
  exports.useStepContext = useStepContext;
52723
52868
  exports.useStepperContext = useStepperContext;
52724
52869
  exports.useTheme = useTheme;
52725
- exports.useThemeProps = useThemeProps$P;
52870
+ exports.useThemeProps = useThemeProps$Q;
52726
52871
  exports.withStyles = withStyles;
52727
52872
  exports.withTheme = withTheme;
52728
52873