@mui/material 5.14.18 → 5.14.20

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 (92) hide show
  1. package/Autocomplete/Autocomplete.js +9 -1
  2. package/Box/Box.js +2 -1
  3. package/Box/boxClasses.d.ts +7 -0
  4. package/Box/boxClasses.js +3 -0
  5. package/Box/index.d.ts +3 -0
  6. package/Box/index.js +3 -1
  7. package/CHANGELOG.md +126 -1
  8. package/Chip/Chip.js +2 -2
  9. package/FilledInput/FilledInput.js +1 -1
  10. package/InputAdornment/InputAdornment.js +2 -2
  11. package/InputLabel/InputLabel.js +5 -1
  12. package/Modal/Modal.d.ts +3 -0
  13. package/Modal/Modal.js +3 -0
  14. package/Popper/Popper.js +3 -0
  15. package/Select/Select.d.ts +1 -2
  16. package/Select/SelectInput.js +2 -1
  17. package/StepButton/StepButton.js +1 -1
  18. package/index.js +1 -1
  19. package/legacy/Accordion/Accordion.js +4 -5
  20. package/legacy/AccordionSummary/AccordionSummary.js +5 -6
  21. package/legacy/Autocomplete/Autocomplete.js +47 -39
  22. package/legacy/AvatarGroup/AvatarGroup.js +2 -3
  23. package/legacy/Box/Box.js +2 -1
  24. package/legacy/Box/boxClasses.js +3 -0
  25. package/legacy/Box/index.js +3 -1
  26. package/legacy/Button/Button.js +10 -11
  27. package/legacy/ButtonBase/ButtonBase.js +4 -5
  28. package/legacy/ButtonGroup/ButtonGroup.js +4 -5
  29. package/legacy/CardActionArea/CardActionArea.js +4 -5
  30. package/legacy/CardHeader/CardHeader.js +1 -2
  31. package/legacy/Checkbox/Checkbox.js +3 -4
  32. package/legacy/Chip/Chip.js +29 -32
  33. package/legacy/FilledInput/FilledInput.js +12 -12
  34. package/legacy/FormHelperText/FormHelperText.js +4 -5
  35. package/legacy/FormLabel/FormLabel.js +5 -6
  36. package/legacy/Input/Input.js +7 -8
  37. package/legacy/InputAdornment/InputAdornment.js +2 -2
  38. package/legacy/InputBase/InputBase.js +5 -6
  39. package/legacy/InputLabel/InputLabel.js +5 -1
  40. package/legacy/ListItem/ListItem.js +4 -5
  41. package/legacy/ListItemButton/ListItemButton.js +6 -7
  42. package/legacy/MenuItem/MenuItem.js +11 -12
  43. package/legacy/Modal/Modal.js +3 -0
  44. package/legacy/NativeSelect/NativeSelectInput.js +6 -7
  45. package/legacy/OutlinedInput/OutlinedInput.js +7 -8
  46. package/legacy/PaginationItem/PaginationItem.js +9 -10
  47. package/legacy/Popper/Popper.js +3 -0
  48. package/legacy/Rating/Rating.js +4 -5
  49. package/legacy/Select/SelectInput.js +2 -1
  50. package/legacy/Slider/Slider.js +11 -14
  51. package/legacy/SpeedDialIcon/SpeedDialIcon.js +4 -5
  52. package/legacy/StepButton/StepButton.js +1 -1
  53. package/legacy/StepIcon/StepIcon.js +5 -6
  54. package/legacy/StepLabel/StepLabel.js +10 -12
  55. package/legacy/Switch/Switch.js +14 -17
  56. package/legacy/Tab/Tab.js +10 -11
  57. package/legacy/TablePagination/TablePagination.js +6 -8
  58. package/legacy/TableRow/TableRow.js +4 -5
  59. package/legacy/Tabs/Tabs.js +1 -2
  60. package/legacy/ToggleButton/ToggleButton.js +4 -5
  61. package/legacy/Tooltip/Tooltip.js +10 -12
  62. package/legacy/index.js +1 -1
  63. package/legacy/styles/createMixins.js +4 -5
  64. package/modern/Autocomplete/Autocomplete.js +9 -1
  65. package/modern/Box/Box.js +2 -1
  66. package/modern/Box/boxClasses.js +3 -0
  67. package/modern/Box/index.js +3 -1
  68. package/modern/Chip/Chip.js +2 -2
  69. package/modern/FilledInput/FilledInput.js +1 -1
  70. package/modern/InputAdornment/InputAdornment.js +2 -2
  71. package/modern/InputLabel/InputLabel.js +5 -1
  72. package/modern/Modal/Modal.js +3 -0
  73. package/modern/Popper/Popper.js +3 -0
  74. package/modern/Select/SelectInput.js +2 -1
  75. package/modern/StepButton/StepButton.js +1 -1
  76. package/modern/index.js +1 -1
  77. package/node/Autocomplete/Autocomplete.js +9 -1
  78. package/node/Box/Box.js +2 -1
  79. package/node/Box/boxClasses.js +9 -0
  80. package/node/Box/index.js +24 -1
  81. package/node/Chip/Chip.js +2 -2
  82. package/node/FilledInput/FilledInput.js +1 -1
  83. package/node/InputAdornment/InputAdornment.js +2 -2
  84. package/node/InputLabel/InputLabel.js +5 -1
  85. package/node/Modal/Modal.js +3 -0
  86. package/node/Popper/Popper.js +3 -0
  87. package/node/Select/SelectInput.js +2 -1
  88. package/node/StepButton/StepButton.js +1 -1
  89. package/node/index.js +1 -1
  90. package/package.json +9 -9
  91. package/umd/material-ui.development.js +70 -58
  92. package/umd/material-ui.production.min.js +20 -20
package/node/Box/index.js CHANGED
@@ -5,10 +5,33 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
+ var _exportNames = {
9
+ boxClasses: true
10
+ };
11
+ Object.defineProperty(exports, "boxClasses", {
12
+ enumerable: true,
13
+ get: function () {
14
+ return _boxClasses.default;
15
+ }
16
+ });
8
17
  Object.defineProperty(exports, "default", {
9
18
  enumerable: true,
10
19
  get: function () {
11
20
  return _Box.default;
12
21
  }
13
22
  });
14
- var _Box = _interopRequireDefault(require("./Box"));
23
+ var _Box = _interopRequireDefault(require("./Box"));
24
+ var _boxClasses = _interopRequireWildcard(require("./boxClasses"));
25
+ Object.keys(_boxClasses).forEach(function (key) {
26
+ if (key === "default" || key === "__esModule") return;
27
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
28
+ if (key in exports && exports[key] === _boxClasses[key]) return;
29
+ Object.defineProperty(exports, key, {
30
+ enumerable: true,
31
+ get: function () {
32
+ return _boxClasses[key];
33
+ }
34
+ });
35
+ });
36
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
37
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
package/node/Chip/Chip.js CHANGED
@@ -365,10 +365,10 @@ const Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
365
365
  }) : {};
366
366
  let deleteIcon = null;
367
367
  if (onDelete) {
368
- deleteIcon = deleteIconProp && /*#__PURE__*/React.isValidElement(deleteIconProp) ? /*#__PURE__*/React.cloneElement(deleteIconProp, {
368
+ deleteIcon = deleteIconProp && /*#__PURE__*/React.isValidElement(deleteIconProp) ? ( /*#__PURE__*/React.cloneElement(deleteIconProp, {
369
369
  className: (0, _clsx.default)(deleteIconProp.props.className, classes.deleteIcon),
370
370
  onClick: handleDeleteIconClick
371
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Cancel.default, {
371
+ })) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Cancel.default, {
372
372
  className: (0, _clsx.default)(classes.deleteIcon),
373
373
  onClick: handleDeleteIconClick
374
374
  });
@@ -223,7 +223,7 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
223
223
  ownerState
224
224
  }
225
225
  };
226
- const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? (0, _utils.deepmerge)(slotProps != null ? slotProps : componentsPropsProp, filledInputComponentsProps) : filledInputComponentsProps;
226
+ const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? (0, _utils.deepmerge)(filledInputComponentsProps, slotProps != null ? slotProps : componentsPropsProp) : filledInputComponentsProps;
227
227
  const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : FilledInputRoot;
228
228
  const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : FilledInputInput;
229
229
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputBase.default, (0, _extends2.default)({
@@ -121,10 +121,10 @@ const InputAdornment = /*#__PURE__*/React.forwardRef(function InputAdornment(inP
121
121
  color: "text.secondary",
122
122
  children: children
123
123
  }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
124
- children: [position === 'start' ? /* notranslate needed while Google Translate will not fix zero-width space issue */_span || (_span = /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
124
+ children: [position === 'start' ? ( /* notranslate needed while Google Translate will not fix zero-width space issue */_span || (_span = /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
125
125
  className: "notranslate",
126
126
  children: "\u200B"
127
- })) : null, children]
127
+ }))) : null, children]
128
128
  })
129
129
  }))
130
130
  });
@@ -113,7 +113,11 @@ const InputLabelRoot = (0, _styled.default)(_FormLabel.default, {
113
113
  // but it feels a better when it bleeds a bit on the left, so 32px.
114
114
  maxWidth: 'calc(133% - 32px)',
115
115
  transform: 'translate(14px, -9px) scale(0.75)'
116
- })));
116
+ }), ownerState.variant === 'standard' && {
117
+ '&:not(label) + div': {
118
+ marginTop: 16
119
+ }
120
+ }));
117
121
  const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, ref) {
118
122
  const props = (0, _useThemeProps.default)({
119
123
  name: 'MuiInputLabel',
@@ -283,6 +283,9 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
283
283
  * An HTML element or function that returns one.
284
284
  * The `container` will have the portal children appended to it.
285
285
  *
286
+ * You can also provide a callback, which is called in a React layout effect.
287
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
288
+ *
286
289
  * By default, it uses the body of the top-level document object,
287
290
  * so it's simply `document.body` most of the time.
288
291
  */
@@ -125,6 +125,9 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
125
125
  * An HTML element or function that returns one.
126
126
  * The `container` will have the portal children appended to it.
127
127
  *
128
+ * You can also provide a callback, which is called in a React layout effect.
129
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
130
+ *
128
131
  * By default, it uses the body of the top-level document object,
129
132
  * so it's simply `document.body` most of the time.
130
133
  */
@@ -441,6 +441,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
441
441
  const classes = useUtilityClasses(ownerState);
442
442
  const paperProps = (0, _extends2.default)({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
443
443
  const listboxId = (0, _utils.unstable_useId)();
444
+ const hiddenInputId = (0, _utils.unstable_useId)();
444
445
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
445
446
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(SelectSelect, (0, _extends2.default)({
446
447
  ref: handleDisplayRef,
@@ -471,7 +472,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
471
472
  })), /*#__PURE__*/(0, _jsxRuntime.jsx)(SelectNativeInput, (0, _extends2.default)({
472
473
  "aria-invalid": error,
473
474
  value: Array.isArray(value) ? value.join(',') : value,
474
- name: name,
475
+ name: name != null ? name : hiddenInputId,
475
476
  ref: inputRef,
476
477
  "aria-hidden": true,
477
478
  onChange: handleChange,
@@ -89,7 +89,7 @@ const StepButton = /*#__PURE__*/React.forwardRef(function StepButton(inProps, re
89
89
  icon,
90
90
  optional
91
91
  };
92
- const child = (0, _isMuiElement.default)(children, ['StepLabel']) ? /*#__PURE__*/React.cloneElement(children, childProps) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_StepLabel.default, (0, _extends2.default)({}, childProps, {
92
+ const child = (0, _isMuiElement.default)(children, ['StepLabel']) ? ( /*#__PURE__*/React.cloneElement(children, childProps)) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_StepLabel.default, (0, _extends2.default)({}, childProps, {
93
93
  children: children
94
94
  }));
95
95
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(StepButtonRoot, (0, _extends2.default)({
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.18
2
+ * @mui/material v5.14.20
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/material",
3
- "version": "5.14.18",
3
+ "version": "5.14.20",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "React components that implement Google's Material Design.",
@@ -24,16 +24,16 @@
24
24
  "homepage": "https://mui.com/material-ui/",
25
25
  "funding": {
26
26
  "type": "opencollective",
27
- "url": "https://opencollective.com/mui"
27
+ "url": "https://opencollective.com/mui-org"
28
28
  },
29
29
  "dependencies": {
30
- "@babel/runtime": "^7.23.2",
31
- "@mui/base": "5.0.0-beta.24",
32
- "@mui/core-downloads-tracker": "^5.14.18",
33
- "@mui/system": "^5.14.18",
34
- "@mui/types": "^7.2.9",
35
- "@mui/utils": "^5.14.18",
36
- "@types/react-transition-group": "^4.4.8",
30
+ "@babel/runtime": "^7.23.4",
31
+ "@mui/base": "5.0.0-beta.26",
32
+ "@mui/core-downloads-tracker": "^5.14.20",
33
+ "@mui/system": "^5.14.20",
34
+ "@mui/types": "^7.2.10",
35
+ "@mui/utils": "^5.14.20",
36
+ "@types/react-transition-group": "^4.4.9",
37
37
  "clsx": "^2.0.0",
38
38
  "csstype": "^3.1.2",
39
39
  "prop-types": "^15.8.1",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.18
2
+ * @mui/material v5.14.20
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -6795,51 +6795,25 @@
6795
6795
  }
6796
6796
  return `${value}px solid`;
6797
6797
  }
6798
- const border = style$2({
6799
- prop: 'border',
6800
- themeKey: 'borders',
6801
- transform: borderTransform
6802
- });
6803
- const borderTop = style$2({
6804
- prop: 'borderTop',
6805
- themeKey: 'borders',
6806
- transform: borderTransform
6807
- });
6808
- const borderRight = style$2({
6809
- prop: 'borderRight',
6810
- themeKey: 'borders',
6811
- transform: borderTransform
6812
- });
6813
- const borderBottom = style$2({
6814
- prop: 'borderBottom',
6815
- themeKey: 'borders',
6816
- transform: borderTransform
6817
- });
6818
- const borderLeft = style$2({
6819
- prop: 'borderLeft',
6820
- themeKey: 'borders',
6821
- transform: borderTransform
6822
- });
6823
- const borderColor = style$2({
6824
- prop: 'borderColor',
6825
- themeKey: 'palette'
6826
- });
6827
- const borderTopColor = style$2({
6828
- prop: 'borderTopColor',
6829
- themeKey: 'palette'
6830
- });
6831
- const borderRightColor = style$2({
6832
- prop: 'borderRightColor',
6833
- themeKey: 'palette'
6834
- });
6835
- const borderBottomColor = style$2({
6836
- prop: 'borderBottomColor',
6837
- themeKey: 'palette'
6838
- });
6839
- const borderLeftColor = style$2({
6840
- prop: 'borderLeftColor',
6841
- themeKey: 'palette'
6842
- });
6798
+ function createBorderStyle(prop, transform) {
6799
+ return style$2({
6800
+ prop,
6801
+ themeKey: 'borders',
6802
+ transform
6803
+ });
6804
+ }
6805
+ const border = createBorderStyle('border', borderTransform);
6806
+ const borderTop = createBorderStyle('borderTop', borderTransform);
6807
+ const borderRight = createBorderStyle('borderRight', borderTransform);
6808
+ const borderBottom = createBorderStyle('borderBottom', borderTransform);
6809
+ const borderLeft = createBorderStyle('borderLeft', borderTransform);
6810
+ const borderColor = createBorderStyle('borderColor');
6811
+ const borderTopColor = createBorderStyle('borderTopColor');
6812
+ const borderRightColor = createBorderStyle('borderRightColor');
6813
+ const borderBottomColor = createBorderStyle('borderBottomColor');
6814
+ const borderLeftColor = createBorderStyle('borderLeftColor');
6815
+ const outline = createBorderStyle('outline', borderTransform);
6816
+ const outlineColor = createBorderStyle('outlineColor');
6843
6817
 
6844
6818
  // false positive
6845
6819
  // eslint-disable-next-line react/function-component-definition
@@ -6857,7 +6831,7 @@
6857
6831
  borderRadius: responsivePropType$1
6858
6832
  } ;
6859
6833
  borderRadius.filterProps = ['borderRadius'];
6860
- compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius);
6834
+ compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
6861
6835
 
6862
6836
  // false positive
6863
6837
  // eslint-disable-next-line react/function-component-definition
@@ -7061,6 +7035,13 @@
7061
7035
  borderLeftColor: {
7062
7036
  themeKey: 'palette'
7063
7037
  },
7038
+ outline: {
7039
+ themeKey: 'borders',
7040
+ transform: borderTransform
7041
+ },
7042
+ outlineColor: {
7043
+ themeKey: 'palette'
7044
+ },
7064
7045
  borderRadius: {
7065
7046
  themeKey: 'shape.borderRadius',
7066
7047
  style: borderRadius
@@ -17955,6 +17936,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17955
17936
  * An HTML element or function that returns one.
17956
17937
  * The `container` will have the portal children appended to it.
17957
17938
  *
17939
+ * You can also provide a callback, which is called in a React layout effect.
17940
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
17941
+ *
17958
17942
  * By default, it uses the body of the top-level document object,
17959
17943
  * so it's simply `document.body` most of the time.
17960
17944
  */
@@ -18250,6 +18234,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18250
18234
  * An HTML element or function that returns one.
18251
18235
  * The `container` will have the portal children appended to it.
18252
18236
  *
18237
+ * You can also provide a callback, which is called in a React layout effect.
18238
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
18239
+ *
18253
18240
  * By default, it uses the body of the top-level document object,
18254
18241
  * so it's simply `document.body` most of the time.
18255
18242
  */
@@ -19892,6 +19879,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19892
19879
  filterSelectedOptions = false,
19893
19880
  freeSolo = false,
19894
19881
  getOptionDisabled,
19882
+ getOptionKey,
19895
19883
  getOptionLabel: getOptionLabelProp = option => {
19896
19884
  var _option$label;
19897
19885
  return (_option$label = option.label) != null ? _option$label : option;
@@ -20769,10 +20757,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20769
20757
  index,
20770
20758
  option
20771
20759
  }) => {
20760
+ var _getOptionKey;
20772
20761
  const selected = (multiple ? value : [value]).some(value2 => value2 != null && isOptionEqualToValue(option, value2));
20773
20762
  const disabled = getOptionDisabled ? getOptionDisabled(option) : false;
20774
20763
  return {
20775
- key: getOptionLabel(option),
20764
+ key: (_getOptionKey = getOptionKey == null ? void 0 : getOptionKey(option)) != null ? _getOptionKey : getOptionLabel(option),
20776
20765
  tabIndex: -1,
20777
20766
  role: 'option',
20778
20767
  id: `${id}-option-${index}`,
@@ -20906,6 +20895,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20906
20895
  * An HTML element or function that returns one.
20907
20896
  * The `container` will have the portal children appended to it.
20908
20897
  *
20898
+ * You can also provide a callback, which is called in a React layout effect.
20899
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
20900
+ *
20909
20901
  * By default, it uses the body of the top-level document object,
20910
20902
  * so it's simply `document.body` most of the time.
20911
20903
  */
@@ -21477,10 +21469,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21477
21469
  }) : {};
21478
21470
  let deleteIcon = null;
21479
21471
  if (onDelete) {
21480
- deleteIcon = deleteIconProp && /*#__PURE__*/React__namespace.isValidElement(deleteIconProp) ? /*#__PURE__*/React__namespace.cloneElement(deleteIconProp, {
21472
+ deleteIcon = deleteIconProp && /*#__PURE__*/React__namespace.isValidElement(deleteIconProp) ? ( /*#__PURE__*/React__namespace.cloneElement(deleteIconProp, {
21481
21473
  className: clsx(deleteIconProp.props.className, classes.deleteIcon),
21482
21474
  onClick: handleDeleteIconClick
21483
- }) : /*#__PURE__*/jsxRuntime_1(CancelIcon, {
21475
+ })) : /*#__PURE__*/jsxRuntime_1(CancelIcon, {
21484
21476
  className: clsx(classes.deleteIcon),
21485
21477
  onClick: handleDeleteIconClick
21486
21478
  });
@@ -22423,7 +22415,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22423
22415
  var autocompleteClasses$1 = autocompleteClasses;
22424
22416
 
22425
22417
  var _ClearIcon, _ArrowDropDownIcon;
22426
- const _excluded$1N = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "slotProps", "value"],
22418
+ const _excluded$1N = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionKey", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "slotProps", "value"],
22427
22419
  _excluded2$a = ["ref"],
22428
22420
  _excluded3$2 = ["key"];
22429
22421
  const useUtilityClasses$1x = ownerState => {
@@ -23225,6 +23217,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23225
23217
  * @returns {boolean}
23226
23218
  */
23227
23219
  getOptionDisabled: PropTypes.func,
23220
+ /**
23221
+ * Used to determine the key for a given option.
23222
+ * This can be useful when the labels of options are not unique (since labels are used as keys by default).
23223
+ *
23224
+ * @param {Value} option The option to get the key for.
23225
+ * @returns {string | number}
23226
+ */
23227
+ getOptionKey: PropTypes.func,
23228
23228
  /**
23229
23229
  * Used to determine the string value for a given option.
23230
23230
  * It's used to fill the input (and the list box options if `renderOption` is not provided).
@@ -24942,11 +24942,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24942
24942
  } ;
24943
24943
  var BottomNavigationAction$1 = BottomNavigationAction;
24944
24944
 
24945
+ const boxClasses = generateUtilityClasses('MuiBox', ['root']);
24946
+ var boxClasses$1 = boxClasses;
24947
+
24945
24948
  const defaultTheme = createTheme();
24946
24949
  const Box = createBox({
24947
24950
  themeId: THEME_ID,
24948
24951
  defaultTheme,
24949
- defaultClassName: 'MuiBox-root',
24952
+ defaultClassName: boxClasses$1.root,
24950
24953
  generateClassName: ClassNameGenerator$1.generate
24951
24954
  });
24952
24955
  Box.propTypes /* remove-proptypes */ = {
@@ -27807,6 +27810,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27807
27810
  * An HTML element or function that returns one.
27808
27811
  * The `container` will have the portal children appended to it.
27809
27812
  *
27813
+ * You can also provide a callback, which is called in a React layout effect.
27814
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
27815
+ *
27810
27816
  * By default, it uses the body of the top-level document object,
27811
27817
  * so it's simply `document.body` most of the time.
27812
27818
  */
@@ -29905,7 +29911,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29905
29911
  ownerState
29906
29912
  }
29907
29913
  };
29908
- const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp, filledInputComponentsProps) : filledInputComponentsProps;
29914
+ const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(filledInputComponentsProps, slotProps != null ? slotProps : componentsPropsProp) : filledInputComponentsProps;
29909
29915
  const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : FilledInputRoot;
29910
29916
  const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : FilledInputInput;
29911
29917
  return /*#__PURE__*/jsxRuntime_1(InputBase$1, _extends({
@@ -33713,10 +33719,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33713
33719
  color: "text.secondary",
33714
33720
  children: children
33715
33721
  }) : /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
33716
- children: [position === 'start' ? /* notranslate needed while Google Translate will not fix zero-width space issue */_span$2 || (_span$2 = /*#__PURE__*/jsxRuntime_1("span", {
33722
+ children: [position === 'start' ? ( /* notranslate needed while Google Translate will not fix zero-width space issue */_span$2 || (_span$2 = /*#__PURE__*/jsxRuntime_1("span", {
33717
33723
  className: "notranslate",
33718
33724
  children: "\u200B"
33719
- })) : null, children]
33725
+ }))) : null, children]
33720
33726
  })
33721
33727
  }))
33722
33728
  });
@@ -33868,7 +33874,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33868
33874
  // but it feels a better when it bleeds a bit on the left, so 32px.
33869
33875
  maxWidth: 'calc(133% - 32px)',
33870
33876
  transform: 'translate(14px, -9px) scale(0.75)'
33871
- })));
33877
+ }), ownerState.variant === 'standard' && {
33878
+ '&:not(label) + div': {
33879
+ marginTop: 16
33880
+ }
33881
+ }));
33872
33882
  const InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(inProps, ref) {
33873
33883
  const props = useThemeProps({
33874
33884
  name: 'MuiInputLabel',
@@ -40301,6 +40311,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40301
40311
  const classes = useUtilityClasses$x(ownerState);
40302
40312
  const paperProps = _extends({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
40303
40313
  const listboxId = useId();
40314
+ const hiddenInputId = useId();
40304
40315
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
40305
40316
  children: [/*#__PURE__*/jsxRuntime_1(SelectSelect, _extends({
40306
40317
  ref: handleDisplayRef,
@@ -40331,7 +40342,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40331
40342
  })), /*#__PURE__*/jsxRuntime_1(SelectNativeInput, _extends({
40332
40343
  "aria-invalid": error,
40333
40344
  value: Array.isArray(value) ? value.join(',') : value,
40334
- name: name,
40345
+ name: name != null ? name : hiddenInputId,
40335
40346
  ref: inputRef,
40336
40347
  "aria-hidden": true,
40337
40348
  onChange: handleChange,
@@ -44792,7 +44803,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44792
44803
  icon,
44793
44804
  optional
44794
44805
  };
44795
- const child = isMuiElement(children, ['StepLabel']) ? /*#__PURE__*/React__namespace.cloneElement(children, childProps) : /*#__PURE__*/jsxRuntime_1(StepLabel$1, _extends({}, childProps, {
44806
+ const child = isMuiElement(children, ['StepLabel']) ? ( /*#__PURE__*/React__namespace.cloneElement(children, childProps)) : /*#__PURE__*/jsxRuntime_1(StepLabel$1, _extends({}, childProps, {
44796
44807
  children: children
44797
44808
  }));
44798
44809
  return /*#__PURE__*/jsxRuntime_1(StepButtonRoot, _extends({
@@ -50155,6 +50166,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
50155
50166
  exports.badgeClasses = badgeClasses$1;
50156
50167
  exports.bottomNavigationActionClasses = bottomNavigationActionClasses$1;
50157
50168
  exports.bottomNavigationClasses = bottomNavigationClasses$1;
50169
+ exports.boxClasses = boxClasses$1;
50158
50170
  exports.breadcrumbsClasses = breadcrumbsClasses$1;
50159
50171
  exports.buttonBaseClasses = buttonBaseClasses$1;
50160
50172
  exports.buttonClasses = buttonClasses$1;