@mui/material 5.15.19 → 5.15.21

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.
@@ -249,7 +249,7 @@ export interface AutocompleteProps<
249
249
  * @returns {ReactNode}
250
250
  */
251
251
  renderOption?: (
252
- props: React.HTMLAttributes<HTMLLIElement>,
252
+ props: React.HTMLAttributes<HTMLLIElement> & { key: any },
253
253
  option: Value,
254
254
  state: AutocompleteRenderOptionState,
255
255
  ownerState: AutocompleteOwnerState<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>,
@@ -92,6 +92,15 @@ const AutocompleteRoot = styled('div', {
92
92
  }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
93
93
  }
94
94
  })({
95
+ [`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {
96
+ visibility: 'visible'
97
+ },
98
+ /* Avoid double tap issue on iOS */
99
+ '@media (pointer: fine)': {
100
+ [`&:hover .${autocompleteClasses.clearIndicator}`]: {
101
+ visibility: 'visible'
102
+ }
103
+ },
95
104
  [`& .${autocompleteClasses.tag}`]: {
96
105
  margin: 3,
97
106
  maxWidth: 'calc(100% - 6px)'
@@ -108,23 +117,6 @@ const AutocompleteRoot = styled('div', {
108
117
  minWidth: 30
109
118
  }
110
119
  },
111
- [`&.${autocompleteClasses.focused}`]: {
112
- [`& .${autocompleteClasses.clearIndicator}`]: {
113
- visibility: 'visible'
114
- },
115
- [`& .${autocompleteClasses.input}`]: {
116
- minWidth: 0
117
- }
118
- },
119
- /* Avoid double tap issue on iOS */
120
- '@media (pointer: fine)': {
121
- [`&:hover .${autocompleteClasses.clearIndicator}`]: {
122
- visibility: 'visible'
123
- },
124
- [`&:hover .${autocompleteClasses.input}`]: {
125
- minWidth: 0
126
- }
127
- },
128
120
  [`& .${inputClasses.root}`]: {
129
121
  paddingBottom: 1,
130
122
  '& .MuiInput-input': {
package/CHANGELOG.md CHANGED
@@ -1,5 +1,76 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v5.15.21
4
+
5
+ <!-- generated comparing v5.15.20..master -->
6
+
7
+ _Jun 28, 2024_
8
+
9
+ A big thanks to the 7 contributors who made this release possible.
10
+
11
+ ### `@mui/material@5.15.21`
12
+
13
+ - [Autocomplete] Fix renderOption props type (@DiegoAndai) (#42709) @DiegoAndai
14
+ - [Stepper] Generate class for `nonLinear` prop (@alexismo) (#42677) @alexismo
15
+
16
+ ### Docs
17
+
18
+ - Use new email for sponsoring @oliviertassinari
19
+ - Fix 301 links (@alexfauquette) (#42700) @alexfauquette
20
+ - [material-ui][Select] Fix the `SelectAutoWidth` demo menu item value (@Danielkhakbaz) (#42696) @Danielkhakbaz
21
+ - [material-ui][Autocomplete] Fix more React 18.3 key spread warnings in demos (#42766) @wbt
22
+ - [material-ui] Fix sign in side image (#42708) @zanivan
23
+ - [website] Add Ale to team (#42769) @alelthomas
24
+
25
+ ### Core
26
+
27
+ - [core] Cherry pick pnpm updates (#42763) @DiegoAndai
28
+ - [website] Add Armin to the team members (@arminmeh) (#42681) @arminmeh
29
+ - [website] Open Staff Engineer role for Pigment CSS (@mnajdova) (#42669) @mnajdova
30
+
31
+ All contributors of this release in alphabetical order: @alexfauquette, @alexismo, @arminmeh, @Danielkhakbaz, @DiegoAndai, @mnajdova, @oliviertassinari
32
+
33
+ ## v5.15.20
34
+
35
+ <!-- generated comparing v5.15.19..master -->
36
+
37
+ _Jun 12, 2024_
38
+
39
+ A big thanks to the 9 contributors who made this release possible.
40
+
41
+ ### `@mui/material@5.15.20`
42
+
43
+ - &#8203;<!-- 17 -->[Autocomplete] Shouldn't resize when hovering (@ZeeshanTamboli) (#42535) @ZeeshanTamboli
44
+ - &#8203;<!-- 07 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (@sai6855) (#42570) @sai6855
45
+
46
+ ### `@mui/utils@5.15.15`
47
+
48
+ - &#8203;<!-- 06 -->Allow passing `NaN` as `defaultValue` to `useControlled` (@iammminzzy) (#42571) @iammminzzy
49
+ - &#8203;<!-- 17 -->Fix GitHub-reported prototype pollution vulnerability in `deepmerge` (#41652) (#42608) @DiegoAndai
50
+
51
+ ### Docs
52
+
53
+ - &#8203;<!-- 16 -->[docs] Add Pigment CSS and Base UI logos SVGs (#42513) @danilo-leal
54
+ - &#8203;<!-- 15 -->[docs] Update twitter.com to x.com @oliviertassinari
55
+ - &#8203;<!-- 14 -->[docs] Simplify Example projects page @oliviertassinari
56
+ - &#8203;<!-- 13 -->[material-ui] Add docs for complementary stepper components (@anle9650) (#42613) @anle9650
57
+ - &#8203;<!-- 12 -->[docs] Add changelog section to the design kits page (@danilo-leal) (#42463) @danilo-leal
58
+ - &#8203;<!-- 11 -->[material-ui] Fix sentence in the All components page (@danilo-leal) (#42462) @danilo-leal
59
+ - &#8203;<!-- 10 -->[material-ui] Update Figma design kit doc redirect link (@danilo-leal) (#42456) @danilo-leal
60
+ - &#8203;<!-- 09 -->[system] Add "dynamic values" section to sx prop page (@aarongarciah) (#42453) @aarongarciah
61
+
62
+ ### Core
63
+
64
+ - &#8203;<!-- 18 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
65
+ - &#8203;<!-- 08 -->[examples] Remove Pigment CSS examples (#42538) @sai6855
66
+ - &#8203;<!-- 05 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
67
+ - &#8203;<!-- 04 -->[website] Update DoiT description and link in Sponsors section (@erezstmn-doit) (#42511) @erezstmn-doit
68
+ - &#8203;<!-- 03 -->[website] Clean up the docs-infra job ad (@danilo-leal) (#42509) @danilo-leal
69
+ - &#8203;<!-- 02 -->[website] Open the Docs-infra engineer role (@danilo-leal) (#42496) @danilo-leal
70
+ - &#8203;<!-- 01 -->[website] Fix locationCountry in about page @oliviertassinari
71
+
72
+ All contributors of this release in alphabetical order: @aarongarciah, @anle9650, @DanailH, @danilo-leal, @erezstmn-doit, @iammminzzy, @oliviertassinari, @sai6855, @ZeeshanTamboli
73
+
3
74
  ## v5.15.19
4
75
 
5
76
  <!-- generated comparing v5.15.18..master -->
@@ -8376,7 +8447,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
8376
8447
 
8377
8448
  - &#8203;<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
8378
8449
 
8379
- Based on the results of the [poll](https://twitter.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
8450
+ Based on the results of the [poll](https://x.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
8380
8451
 
8381
8452
  The new name better reflects the purpose of the package: it contains unstyled components, hooks, and utilities that serve as a **base** to build on.
8382
8453
 
@@ -12793,7 +12864,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
12793
12864
  ```
12794
12865
 
12795
12866
  - [Autocomplete] Remove `debug` in favor of `open` and dev tools (#23377) @eps1lon
12796
- There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://twitter.com/sulco/status/1305841873945272321), or React devtools props.
12867
+ There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://x.com/sulco/status/1305841873945272321), or React devtools props.
12797
12868
 
12798
12869
  #### Changes
12799
12870
 
@@ -17,11 +17,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
17
17
  const useUtilityClasses = ownerState => {
18
18
  const {
19
19
  orientation,
20
+ nonLinear,
20
21
  alternativeLabel,
21
22
  classes
22
23
  } = ownerState;
23
24
  const slots = {
24
- root: ['root', orientation, alternativeLabel && 'alternativeLabel']
25
+ root: ['root', orientation, nonLinear && 'nonLinear', alternativeLabel && 'alternativeLabel']
25
26
  };
26
27
  return composeClasses(slots, getStepperUtilityClass, classes);
27
28
  };
@@ -32,7 +33,7 @@ const StepperRoot = styled('div', {
32
33
  const {
33
34
  ownerState
34
35
  } = props;
35
- return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel];
36
+ return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel, ownerState.nonLinear && styles.nonLinear];
36
37
  }
37
38
  })(({
38
39
  ownerState
@@ -64,6 +65,7 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
64
65
  } = props,
65
66
  other = _objectWithoutPropertiesLoose(props, _excluded);
66
67
  const ownerState = _extends({}, props, {
68
+ nonLinear,
67
69
  alternativeLabel,
68
70
  orientation,
69
71
  component
@@ -5,6 +5,8 @@ export interface StepperClasses {
5
5
  horizontal: string;
6
6
  /** Styles applied to the root element if `orientation="vertical"`. */
7
7
  vertical: string;
8
+ /** Styles applied to the root element if `nonLinear={true}`. */
9
+ nonLinear: string;
8
10
  /** Styles applied to the root element if `alternativeLabel={true}`. */
9
11
  alternativeLabel: string;
10
12
  }
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getStepperUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiStepper', slot);
5
5
  }
6
- const stepperClasses = generateUtilityClasses('MuiStepper', ['root', 'horizontal', 'vertical', 'alternativeLabel']);
6
+ const stepperClasses = generateUtilityClasses('MuiStepper', ['root', 'horizontal', 'vertical', 'nonLinear', 'alternativeLabel']);
7
7
  export default stepperClasses;
package/Tab/Tab.js CHANGED
@@ -38,7 +38,9 @@ const TabRoot = styled(ButtonBase, {
38
38
  const {
39
39
  ownerState
40
40
  } = props;
41
- return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped];
41
+ return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {
42
+ [`& .${tabClasses.iconWrapper}`]: styles.iconWrapper
43
+ }];
42
44
  }
43
45
  })(({
44
46
  theme,
@@ -17,7 +17,7 @@ export interface TabClasses {
17
17
  fullWidth: string;
18
18
  /** Styles applied to the root element if `wrapped={true}`. */
19
19
  wrapped: string;
20
- /** Styles applied to the wrapper element of `icon` if `icon` is provided. */
20
+ /** Styles applied to the `icon` HTML element if both `icon` and `label` are provided. */
21
21
  iconWrapper: string;
22
22
  }
23
23
  export type TabClassKey = keyof TabClasses;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.19
2
+ * @mui/material v5.15.21
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -72,7 +72,11 @@ var AutocompleteRoot = styled('div', {
72
72
  size = ownerState.size;
73
73
  return [_defineProperty({}, "& .".concat(autocompleteClasses.tag), styles.tag), _defineProperty({}, "& .".concat(autocompleteClasses.tag), styles["tagSize".concat(capitalize(size))]), _defineProperty({}, "& .".concat(autocompleteClasses.inputRoot), styles.inputRoot), _defineProperty({}, "& .".concat(autocompleteClasses.input), styles.input), _defineProperty({}, "& .".concat(autocompleteClasses.input), inputFocused && styles.inputFocused), styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
74
74
  }
75
- })((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "& .".concat(autocompleteClasses.tag), {
75
+ })((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "&.".concat(autocompleteClasses.focused, " .").concat(autocompleteClasses.clearIndicator), {
76
+ visibility: 'visible'
77
+ }), '@media (pointer: fine)', _defineProperty({}, "&:hover .".concat(autocompleteClasses.clearIndicator), {
78
+ visibility: 'visible'
79
+ })), "& .".concat(autocompleteClasses.tag), {
76
80
  margin: 3,
77
81
  maxWidth: 'calc(100% - 6px)'
78
82
  }), "& .".concat(autocompleteClasses.inputRoot), _defineProperty(_defineProperty(_defineProperty({}, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
@@ -82,14 +86,6 @@ var AutocompleteRoot = styled('div', {
82
86
  }), "& .".concat(autocompleteClasses.input), {
83
87
  width: 0,
84
88
  minWidth: 30
85
- })), "&.".concat(autocompleteClasses.focused), _defineProperty(_defineProperty({}, "& .".concat(autocompleteClasses.clearIndicator), {
86
- visibility: 'visible'
87
- }), "& .".concat(autocompleteClasses.input), {
88
- minWidth: 0
89
- })), '@media (pointer: fine)', _defineProperty(_defineProperty({}, "&:hover .".concat(autocompleteClasses.clearIndicator), {
90
- visibility: 'visible'
91
- }), "&:hover .".concat(autocompleteClasses.input), {
92
- minWidth: 0
93
89
  })), "& .".concat(inputClasses.root), {
94
90
  paddingBottom: 1,
95
91
  '& .MuiInput-input': {
@@ -15,10 +15,11 @@ import StepperContext from './StepperContext';
15
15
  import { jsx as _jsx } from "react/jsx-runtime";
16
16
  var useUtilityClasses = function useUtilityClasses(ownerState) {
17
17
  var orientation = ownerState.orientation,
18
+ nonLinear = ownerState.nonLinear,
18
19
  alternativeLabel = ownerState.alternativeLabel,
19
20
  classes = ownerState.classes;
20
21
  var slots = {
21
- root: ['root', orientation, alternativeLabel && 'alternativeLabel']
22
+ root: ['root', orientation, nonLinear && 'nonLinear', alternativeLabel && 'alternativeLabel']
22
23
  };
23
24
  return composeClasses(slots, getStepperUtilityClass, classes);
24
25
  };
@@ -27,7 +28,7 @@ var StepperRoot = styled('div', {
27
28
  slot: 'Root',
28
29
  overridesResolver: function overridesResolver(props, styles) {
29
30
  var ownerState = props.ownerState;
30
- return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel];
31
+ return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel, ownerState.nonLinear && styles.nonLinear];
31
32
  }
32
33
  })(function (_ref) {
33
34
  var ownerState = _ref.ownerState;
@@ -64,6 +65,7 @@ var Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
64
65
  orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,
65
66
  other = _objectWithoutProperties(props, ["activeStep", "alternativeLabel", "children", "className", "component", "connector", "nonLinear", "orientation"]);
66
67
  var ownerState = _extends({}, props, {
68
+ nonLinear: nonLinear,
67
69
  alternativeLabel: alternativeLabel,
68
70
  orientation: orientation,
69
71
  component: component
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getStepperUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiStepper', slot);
5
5
  }
6
- var stepperClasses = generateUtilityClasses('MuiStepper', ['root', 'horizontal', 'vertical', 'alternativeLabel']);
6
+ var stepperClasses = generateUtilityClasses('MuiStepper', ['root', 'horizontal', 'vertical', 'nonLinear', 'alternativeLabel']);
7
7
  export default stepperClasses;
package/legacy/Tab/Tab.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
- import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
5
4
  import _extends from "@babel/runtime/helpers/esm/extends";
5
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import clsx from 'clsx';
@@ -34,11 +34,11 @@ var TabRoot = styled(ButtonBase, {
34
34
  slot: 'Root',
35
35
  overridesResolver: function overridesResolver(props, styles) {
36
36
  var ownerState = props.ownerState;
37
- return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles["textColor".concat(capitalize(ownerState.textColor))], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped];
37
+ return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles["textColor".concat(capitalize(ownerState.textColor))], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, _defineProperty({}, "& .".concat(tabClasses.iconWrapper), styles.iconWrapper)];
38
38
  }
39
- })(function (_ref) {
40
- var theme = _ref.theme,
41
- ownerState = _ref.ownerState;
39
+ })(function (_ref2) {
40
+ var theme = _ref2.theme,
41
+ ownerState = _ref2.ownerState;
42
42
  return _extends({}, theme.typography.button, {
43
43
  maxWidth: 360,
44
44
  minWidth: 90,
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.19
2
+ * @mui/material v5.15.21
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -92,6 +92,15 @@ const AutocompleteRoot = styled('div', {
92
92
  }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
93
93
  }
94
94
  })({
95
+ [`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {
96
+ visibility: 'visible'
97
+ },
98
+ /* Avoid double tap issue on iOS */
99
+ '@media (pointer: fine)': {
100
+ [`&:hover .${autocompleteClasses.clearIndicator}`]: {
101
+ visibility: 'visible'
102
+ }
103
+ },
95
104
  [`& .${autocompleteClasses.tag}`]: {
96
105
  margin: 3,
97
106
  maxWidth: 'calc(100% - 6px)'
@@ -108,23 +117,6 @@ const AutocompleteRoot = styled('div', {
108
117
  minWidth: 30
109
118
  }
110
119
  },
111
- [`&.${autocompleteClasses.focused}`]: {
112
- [`& .${autocompleteClasses.clearIndicator}`]: {
113
- visibility: 'visible'
114
- },
115
- [`& .${autocompleteClasses.input}`]: {
116
- minWidth: 0
117
- }
118
- },
119
- /* Avoid double tap issue on iOS */
120
- '@media (pointer: fine)': {
121
- [`&:hover .${autocompleteClasses.clearIndicator}`]: {
122
- visibility: 'visible'
123
- },
124
- [`&:hover .${autocompleteClasses.input}`]: {
125
- minWidth: 0
126
- }
127
- },
128
120
  [`& .${inputClasses.root}`]: {
129
121
  paddingBottom: 1,
130
122
  '& .MuiInput-input': {
@@ -17,11 +17,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
17
17
  const useUtilityClasses = ownerState => {
18
18
  const {
19
19
  orientation,
20
+ nonLinear,
20
21
  alternativeLabel,
21
22
  classes
22
23
  } = ownerState;
23
24
  const slots = {
24
- root: ['root', orientation, alternativeLabel && 'alternativeLabel']
25
+ root: ['root', orientation, nonLinear && 'nonLinear', alternativeLabel && 'alternativeLabel']
25
26
  };
26
27
  return composeClasses(slots, getStepperUtilityClass, classes);
27
28
  };
@@ -32,7 +33,7 @@ const StepperRoot = styled('div', {
32
33
  const {
33
34
  ownerState
34
35
  } = props;
35
- return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel];
36
+ return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel, ownerState.nonLinear && styles.nonLinear];
36
37
  }
37
38
  })(({
38
39
  ownerState
@@ -64,6 +65,7 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
64
65
  } = props,
65
66
  other = _objectWithoutPropertiesLoose(props, _excluded);
66
67
  const ownerState = _extends({}, props, {
68
+ nonLinear,
67
69
  alternativeLabel,
68
70
  orientation,
69
71
  component
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getStepperUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiStepper', slot);
5
5
  }
6
- const stepperClasses = generateUtilityClasses('MuiStepper', ['root', 'horizontal', 'vertical', 'alternativeLabel']);
6
+ const stepperClasses = generateUtilityClasses('MuiStepper', ['root', 'horizontal', 'vertical', 'nonLinear', 'alternativeLabel']);
7
7
  export default stepperClasses;
package/modern/Tab/Tab.js CHANGED
@@ -38,7 +38,9 @@ const TabRoot = styled(ButtonBase, {
38
38
  const {
39
39
  ownerState
40
40
  } = props;
41
- return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped];
41
+ return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {
42
+ [`& .${tabClasses.iconWrapper}`]: styles.iconWrapper
43
+ }];
42
44
  }
43
45
  })(({
44
46
  theme,
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.19
2
+ * @mui/material v5.15.21
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -105,6 +105,15 @@ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
105
105
  }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
106
106
  }
107
107
  })({
108
+ [`&.${_autocompleteClasses.default.focused} .${_autocompleteClasses.default.clearIndicator}`]: {
109
+ visibility: 'visible'
110
+ },
111
+ /* Avoid double tap issue on iOS */
112
+ '@media (pointer: fine)': {
113
+ [`&:hover .${_autocompleteClasses.default.clearIndicator}`]: {
114
+ visibility: 'visible'
115
+ }
116
+ },
108
117
  [`& .${_autocompleteClasses.default.tag}`]: {
109
118
  margin: 3,
110
119
  maxWidth: 'calc(100% - 6px)'
@@ -121,23 +130,6 @@ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
121
130
  minWidth: 30
122
131
  }
123
132
  },
124
- [`&.${_autocompleteClasses.default.focused}`]: {
125
- [`& .${_autocompleteClasses.default.clearIndicator}`]: {
126
- visibility: 'visible'
127
- },
128
- [`& .${_autocompleteClasses.default.input}`]: {
129
- minWidth: 0
130
- }
131
- },
132
- /* Avoid double tap issue on iOS */
133
- '@media (pointer: fine)': {
134
- [`&:hover .${_autocompleteClasses.default.clearIndicator}`]: {
135
- visibility: 'visible'
136
- },
137
- [`&:hover .${_autocompleteClasses.default.input}`]: {
138
- minWidth: 0
139
- }
140
- },
141
133
  [`& .${_inputClasses.default.root}`]: {
142
134
  paddingBottom: 1,
143
135
  '& .MuiInput-input': {
@@ -25,11 +25,12 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
25
25
  const useUtilityClasses = ownerState => {
26
26
  const {
27
27
  orientation,
28
+ nonLinear,
28
29
  alternativeLabel,
29
30
  classes
30
31
  } = ownerState;
31
32
  const slots = {
32
- root: ['root', orientation, alternativeLabel && 'alternativeLabel']
33
+ root: ['root', orientation, nonLinear && 'nonLinear', alternativeLabel && 'alternativeLabel']
33
34
  };
34
35
  return (0, _composeClasses.default)(slots, _stepperClasses.getStepperUtilityClass, classes);
35
36
  };
@@ -40,7 +41,7 @@ const StepperRoot = (0, _styled.default)('div', {
40
41
  const {
41
42
  ownerState
42
43
  } = props;
43
- return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel];
44
+ return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel, ownerState.nonLinear && styles.nonLinear];
44
45
  }
45
46
  })(({
46
47
  ownerState
@@ -72,6 +73,7 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
72
73
  } = props,
73
74
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
74
75
  const ownerState = (0, _extends2.default)({}, props, {
76
+ nonLinear,
75
77
  alternativeLabel,
76
78
  orientation,
77
79
  component
@@ -11,5 +11,5 @@ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateU
11
11
  function getStepperUtilityClass(slot) {
12
12
  return (0, _generateUtilityClass.default)('MuiStepper', slot);
13
13
  }
14
- const stepperClasses = (0, _generateUtilityClasses.default)('MuiStepper', ['root', 'horizontal', 'vertical', 'alternativeLabel']);
14
+ const stepperClasses = (0, _generateUtilityClasses.default)('MuiStepper', ['root', 'horizontal', 'vertical', 'nonLinear', 'alternativeLabel']);
15
15
  var _default = exports.default = stepperClasses;
package/node/Tab/Tab.js CHANGED
@@ -46,7 +46,9 @@ const TabRoot = (0, _styled.default)(_ButtonBase.default, {
46
46
  const {
47
47
  ownerState
48
48
  } = props;
49
- return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${(0, _capitalize.default)(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped];
49
+ return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${(0, _capitalize.default)(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {
50
+ [`& .${_tabClasses.default.iconWrapper}`]: styles.iconWrapper
51
+ }];
50
52
  }
51
53
  })(({
52
54
  theme,
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.19
2
+ * @mui/material v5.15.21
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.15.19",
3
+ "version": "5.15.21",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.",
@@ -34,11 +34,11 @@
34
34
  "prop-types": "^15.8.1",
35
35
  "react-is": "^18.2.0",
36
36
  "react-transition-group": "^4.4.5",
37
+ "@mui/core-downloads-tracker": "^5.15.21",
38
+ "@mui/types": "^7.2.14",
39
+ "@mui/system": "^5.15.20",
37
40
  "@mui/base": "5.0.0-beta.40",
38
- "@mui/system": "^5.15.15",
39
- "@mui/core-downloads-tracker": "^5.15.19",
40
- "@mui/utils": "^5.15.14",
41
- "@mui/types": "^7.2.14"
41
+ "@mui/utils": "^5.15.20"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@emotion/react": "^11.5.0",