@mui/material 5.15.16 → 5.15.18

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.
@@ -91,21 +91,11 @@ const AutocompleteRoot = styled('div', {
91
91
  }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
92
92
  }
93
93
  })({
94
- [`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {
95
- visibility: 'visible'
96
- },
97
- /* Avoid double tap issue on iOS */
98
- '@media (pointer: fine)': {
99
- [`&:hover .${autocompleteClasses.clearIndicator}`]: {
100
- visibility: 'visible'
101
- }
102
- },
103
94
  [`& .${autocompleteClasses.tag}`]: {
104
95
  margin: 3,
105
96
  maxWidth: 'calc(100% - 6px)'
106
97
  },
107
98
  [`& .${autocompleteClasses.inputRoot}`]: {
108
- flexWrap: 'wrap',
109
99
  [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {
110
100
  paddingRight: 26 + 4
111
101
  },
@@ -117,6 +107,23 @@ const AutocompleteRoot = styled('div', {
117
107
  minWidth: 30
118
108
  }
119
109
  },
110
+ [`&.${autocompleteClasses.focused}`]: {
111
+ [`& .${autocompleteClasses.clearIndicator}`]: {
112
+ visibility: 'visible'
113
+ },
114
+ [`& .${autocompleteClasses.input}`]: {
115
+ minWidth: 0
116
+ }
117
+ },
118
+ /* Avoid double tap issue on iOS */
119
+ '@media (pointer: fine)': {
120
+ [`&:hover .${autocompleteClasses.clearIndicator}`]: {
121
+ visibility: 'visible'
122
+ },
123
+ [`&:hover .${autocompleteClasses.input}`]: {
124
+ minWidth: 0
125
+ }
126
+ },
120
127
  [`& .${inputClasses.root}`]: {
121
128
  paddingBottom: 1,
122
129
  '& .MuiInput-input': {
@@ -223,6 +230,15 @@ const AutocompleteRoot = styled('div', {
223
230
  opacity: 1
224
231
  }
225
232
  }
233
+ }, {
234
+ props: {
235
+ multiple: true
236
+ },
237
+ style: {
238
+ [`& .${autocompleteClasses.inputRoot}`]: {
239
+ flexWrap: 'wrap'
240
+ }
241
+ }
226
242
  }]
227
243
  });
228
244
  const AutocompleteEndAdornment = styled('div', {
package/CHANGELOG.md CHANGED
@@ -1,5 +1,61 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v5.15.18
4
+
5
+ <!-- generated comparing v5.15.17..master -->
6
+
7
+ _May 14, 2024_
8
+
9
+ A big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ ### `@mui/material@5.15.18`
12
+
13
+ - &#8203;<!-- 6 -->[Autocomplete] Improve design when there's a start adornment for small autocomplete (@TahaRhidouani) (#42176) @github-actions[bot]
14
+ - &#8203;<!-- 3 -->[ToggleButtonGroup] Add missing `selected` class in ToggleButtonGroupClasses type (@tarunrajput) (#42250) @github-actions[bot]
15
+
16
+ ### Docs
17
+
18
+ - &#8203;<!-- 4 -->[docs] Fix 301 to Figma @oliviertassinari
19
+
20
+ ### Core
21
+
22
+ - &#8203;<!-- 5 -->[blog] Introducing Pigment CSS blog post (#42198) (#42255) @samuelsycamore
23
+ - &#8203;<!-- 2 -->[website] Add redirection for talk @oliviertassinari
24
+ - &#8203;<!-- 1 -->[website] Adds Arthur Balduini team info (@arthurbalduini) (#42226) @github-actions[bot]
25
+
26
+ All contributors of this release in alphabetical order: @arthurbalduini, @oliviertassinari, @samuelsycamore, @TahaRhidouani, @tarunrajput
27
+
28
+ ## v5.15.17
29
+
30
+ <!-- generated comparing v5.15.16..master -->
31
+
32
+ _May 8, 2024_
33
+
34
+ A big thanks to the 4 contributors who made this release possible.
35
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
36
+
37
+ ### `@mui/material@5.15.17`
38
+
39
+ - [Slider] Move palette styles to the bottom (#41676) @siriwatknp
40
+
41
+ ### Docs
42
+
43
+ - Fix SEO redirection issues @oliviertassinari
44
+ - [material-ui] Fix broken link (@aarongarciah) (#42143) @github-actions[bot]
45
+ - [material-ui] Fix link on the Sync page (@danilo-leal) (#42089) @github-actions[bot]
46
+
47
+ ### Core
48
+
49
+ - [blog] Shorten title to fit @oliviertassinari
50
+ - [blog] Update Sync post OG image (@danilo-leal) (#42117) @github-actions[bot]
51
+ - [blog] A few tweaks in introducing-sync-plugin (@oliviertassinari) (#42094) @github-actions[bot]
52
+ - [docs-infra] Fix code block layout shift (#41917) @oliviertassinari
53
+ - [website] Fix home page slider's track position (@aarongarciah) (#42144) @github-actions[bot]
54
+ - [website] Closing the survey @oliviertassinari
55
+ - [website] Remove Survey banner from website and Core docs (#42104) @joserodolfofreitas
56
+
57
+ All contributors of this release in alphabetical order: @github-actions[bot], @joserodolfofreitas, @oliviertassinari, @siriwatknp
58
+
3
59
  ## v5.15.16
4
60
 
5
61
  <!-- generated comparing v5.15.15..master -->
package/Slider/Slider.js CHANGED
@@ -292,30 +292,7 @@ export const SliderThumb = styled('span', {
292
292
  boxShadow: 'none'
293
293
  }
294
294
  },
295
- variants: [...Object.keys(((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette).filter(key => {
296
- var _theme$vars6;
297
- return ((_theme$vars6 = theme.vars) != null ? _theme$vars6 : theme).palette[key].main;
298
- }).map(color => ({
299
- props: {
300
- color
301
- },
302
- style: {
303
- [`&:hover, &.${sliderClasses.focusVisible}`]: _extends({}, theme.vars ? {
304
- boxShadow: `0px 0px 0px 8px rgba(${theme.vars.palette[color].mainChannel} / 0.16)`
305
- } : {
306
- boxShadow: `0px 0px 0px 8px ${alpha(theme.palette[color].main, 0.16)}`
307
- }, {
308
- '@media (hover: none)': {
309
- boxShadow: 'none'
310
- }
311
- }),
312
- [`&.${sliderClasses.active}`]: _extends({}, theme.vars ? {
313
- boxShadow: `0px 0px 0px 14px rgba(${theme.vars.palette[color].mainChannel} / 0.16)}`
314
- } : {
315
- boxShadow: `0px 0px 0px 14px ${alpha(theme.palette[color].main, 0.16)}`
316
- })
317
- }
318
- })), {
295
+ variants: [{
319
296
  props: {
320
297
  size: 'small'
321
298
  },
@@ -342,7 +319,30 @@ export const SliderThumb = styled('span', {
342
319
  left: '50%',
343
320
  transform: 'translate(-50%, 50%)'
344
321
  }
345
- }]
322
+ }, ...Object.keys(((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette).filter(key => {
323
+ var _theme$vars6;
324
+ return ((_theme$vars6 = theme.vars) != null ? _theme$vars6 : theme).palette[key].main;
325
+ }).map(color => ({
326
+ props: {
327
+ color
328
+ },
329
+ style: {
330
+ [`&:hover, &.${sliderClasses.focusVisible}`]: _extends({}, theme.vars ? {
331
+ boxShadow: `0px 0px 0px 8px rgba(${theme.vars.palette[color].mainChannel} / 0.16)`
332
+ } : {
333
+ boxShadow: `0px 0px 0px 8px ${alpha(theme.palette[color].main, 0.16)}`
334
+ }, {
335
+ '@media (hover: none)': {
336
+ boxShadow: 'none'
337
+ }
338
+ }),
339
+ [`&.${sliderClasses.active}`]: _extends({}, theme.vars ? {
340
+ boxShadow: `0px 0px 0px 14px rgba(${theme.vars.palette[color].mainChannel} / 0.16)}`
341
+ } : {
342
+ boxShadow: `0px 0px 0px 14px ${alpha(theme.palette[color].main, 0.16)}`
343
+ })
344
+ }
345
+ }))]
346
346
  };
347
347
  });
348
348
  export const SliderValueLabel = styled(BaseSliderValueLabel, {
@@ -1,6 +1,10 @@
1
1
  export interface ToggleButtonGroupClasses {
2
2
  /** Styles applied to the root element. */
3
3
  root: string;
4
+ /** State class applied to the root element if `selected={true}`. */
5
+ selected: string;
6
+ /** Styles applied to the root element if `orientation="horizontal"`. */
7
+ horizontal: string;
4
8
  /** Styles applied to the root element if `orientation="vertical"`. */
5
9
  vertical: string;
6
10
  /** State class applied to the root element if `disabled={true}`. */
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getToggleButtonGroupUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiToggleButtonGroup', slot);
5
5
  }
6
- const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
6
+ const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'horizontal', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
7
7
  export default toggleButtonGroupClasses;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.16
2
+ * @mui/material v5.15.18
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -73,22 +73,24 @@ var AutocompleteRoot = styled('div', {
73
73
  size = ownerState.size;
74
74
  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];
75
75
  }
76
- })((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "&.".concat(autocompleteClasses.focused, " .").concat(autocompleteClasses.clearIndicator), {
77
- visibility: 'visible'
78
- }), '@media (pointer: fine)', _defineProperty({}, "&:hover .".concat(autocompleteClasses.clearIndicator), {
79
- visibility: 'visible'
80
- })), "& .".concat(autocompleteClasses.tag), {
76
+ })((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "& .".concat(autocompleteClasses.tag), {
81
77
  margin: 3,
82
78
  maxWidth: 'calc(100% - 6px)'
83
- }), "& .".concat(autocompleteClasses.inputRoot), _defineProperty(_defineProperty(_defineProperty({
84
- flexWrap: 'wrap'
85
- }, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
79
+ }), "& .".concat(autocompleteClasses.inputRoot), _defineProperty(_defineProperty(_defineProperty({}, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
86
80
  paddingRight: 26 + 4
87
81
  }), ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
88
82
  paddingRight: 52 + 4
89
83
  }), "& .".concat(autocompleteClasses.input), {
90
84
  width: 0,
91
85
  minWidth: 30
86
+ })), "&.".concat(autocompleteClasses.focused), _defineProperty(_defineProperty({}, "& .".concat(autocompleteClasses.clearIndicator), {
87
+ visibility: 'visible'
88
+ }), "& .".concat(autocompleteClasses.input), {
89
+ minWidth: 0
90
+ })), '@media (pointer: fine)', _defineProperty(_defineProperty({}, "&:hover .".concat(autocompleteClasses.clearIndicator), {
91
+ visibility: 'visible'
92
+ }), "&:hover .".concat(autocompleteClasses.input), {
93
+ minWidth: 0
92
94
  })), "& .".concat(inputClasses.root), {
93
95
  paddingBottom: 1,
94
96
  '& .MuiInput-input': {
@@ -166,6 +168,13 @@ var AutocompleteRoot = styled('div', {
166
168
  style: _defineProperty({}, "& .".concat(autocompleteClasses.input), {
167
169
  opacity: 1
168
170
  })
171
+ }, {
172
+ props: {
173
+ multiple: true
174
+ },
175
+ style: _defineProperty({}, "& .".concat(autocompleteClasses.inputRoot), {
176
+ flexWrap: 'wrap'
177
+ })
169
178
  }])));
170
179
  var AutocompleteEndAdornment = styled('div', {
171
180
  name: 'MuiAutocomplete',
@@ -288,29 +288,7 @@ export var SliderThumb = styled('span', {
288
288
  '&:hover': {
289
289
  boxShadow: 'none'
290
290
  }
291
- }), "variants", [].concat(_toConsumableArray(Object.keys(((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette).filter(function (key) {
292
- var _theme$vars6;
293
- return ((_theme$vars6 = theme.vars) != null ? _theme$vars6 : theme).palette[key].main;
294
- }).map(function (color) {
295
- return {
296
- props: {
297
- color: color
298
- },
299
- style: _defineProperty(_defineProperty({}, "&:hover, &.".concat(sliderClasses.focusVisible), _extends({}, theme.vars ? {
300
- boxShadow: "0px 0px 0px 8px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)")
301
- } : {
302
- boxShadow: "0px 0px 0px 8px ".concat(alpha(theme.palette[color].main, 0.16))
303
- }, {
304
- '@media (hover: none)': {
305
- boxShadow: 'none'
306
- }
307
- })), "&.".concat(sliderClasses.active), _extends({}, theme.vars ? {
308
- boxShadow: "0px 0px 0px 14px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)}")
309
- } : {
310
- boxShadow: "0px 0px 0px 14px ".concat(alpha(theme.palette[color].main, 0.16))
311
- }))
312
- };
313
- })), [{
291
+ }), "variants", [{
314
292
  props: {
315
293
  size: 'small'
316
294
  },
@@ -337,7 +315,29 @@ export var SliderThumb = styled('span', {
337
315
  left: '50%',
338
316
  transform: 'translate(-50%, 50%)'
339
317
  }
340
- }]));
318
+ }].concat(_toConsumableArray(Object.keys(((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette).filter(function (key) {
319
+ var _theme$vars6;
320
+ return ((_theme$vars6 = theme.vars) != null ? _theme$vars6 : theme).palette[key].main;
321
+ }).map(function (color) {
322
+ return {
323
+ props: {
324
+ color: color
325
+ },
326
+ style: _defineProperty(_defineProperty({}, "&:hover, &.".concat(sliderClasses.focusVisible), _extends({}, theme.vars ? {
327
+ boxShadow: "0px 0px 0px 8px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)")
328
+ } : {
329
+ boxShadow: "0px 0px 0px 8px ".concat(alpha(theme.palette[color].main, 0.16))
330
+ }, {
331
+ '@media (hover: none)': {
332
+ boxShadow: 'none'
333
+ }
334
+ })), "&.".concat(sliderClasses.active), _extends({}, theme.vars ? {
335
+ boxShadow: "0px 0px 0px 14px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)}")
336
+ } : {
337
+ boxShadow: "0px 0px 0px 14px ".concat(alpha(theme.palette[color].main, 0.16))
338
+ }))
339
+ };
340
+ }))));
341
341
  });
342
342
  export var SliderValueLabel = styled(BaseSliderValueLabel, {
343
343
  name: 'MuiSlider',
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getToggleButtonGroupUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiToggleButtonGroup', slot);
5
5
  }
6
- var toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
6
+ var toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'horizontal', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
7
7
  export default toggleButtonGroupClasses;
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.16
2
+ * @mui/material v5.15.18
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -91,21 +91,11 @@ const AutocompleteRoot = styled('div', {
91
91
  }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
92
92
  }
93
93
  })({
94
- [`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {
95
- visibility: 'visible'
96
- },
97
- /* Avoid double tap issue on iOS */
98
- '@media (pointer: fine)': {
99
- [`&:hover .${autocompleteClasses.clearIndicator}`]: {
100
- visibility: 'visible'
101
- }
102
- },
103
94
  [`& .${autocompleteClasses.tag}`]: {
104
95
  margin: 3,
105
96
  maxWidth: 'calc(100% - 6px)'
106
97
  },
107
98
  [`& .${autocompleteClasses.inputRoot}`]: {
108
- flexWrap: 'wrap',
109
99
  [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {
110
100
  paddingRight: 26 + 4
111
101
  },
@@ -117,6 +107,23 @@ const AutocompleteRoot = styled('div', {
117
107
  minWidth: 30
118
108
  }
119
109
  },
110
+ [`&.${autocompleteClasses.focused}`]: {
111
+ [`& .${autocompleteClasses.clearIndicator}`]: {
112
+ visibility: 'visible'
113
+ },
114
+ [`& .${autocompleteClasses.input}`]: {
115
+ minWidth: 0
116
+ }
117
+ },
118
+ /* Avoid double tap issue on iOS */
119
+ '@media (pointer: fine)': {
120
+ [`&:hover .${autocompleteClasses.clearIndicator}`]: {
121
+ visibility: 'visible'
122
+ },
123
+ [`&:hover .${autocompleteClasses.input}`]: {
124
+ minWidth: 0
125
+ }
126
+ },
120
127
  [`& .${inputClasses.root}`]: {
121
128
  paddingBottom: 1,
122
129
  '& .MuiInput-input': {
@@ -223,6 +230,15 @@ const AutocompleteRoot = styled('div', {
223
230
  opacity: 1
224
231
  }
225
232
  }
233
+ }, {
234
+ props: {
235
+ multiple: true
236
+ },
237
+ style: {
238
+ [`& .${autocompleteClasses.inputRoot}`]: {
239
+ flexWrap: 'wrap'
240
+ }
241
+ }
226
242
  }]
227
243
  });
228
244
  const AutocompleteEndAdornment = styled('div', {
@@ -280,27 +280,7 @@ export const SliderThumb = styled('span', {
280
280
  boxShadow: 'none'
281
281
  }
282
282
  },
283
- variants: [...Object.keys((theme.vars ?? theme).palette).filter(key => (theme.vars ?? theme).palette[key].main).map(color => ({
284
- props: {
285
- color
286
- },
287
- style: {
288
- [`&:hover, &.${sliderClasses.focusVisible}`]: _extends({}, theme.vars ? {
289
- boxShadow: `0px 0px 0px 8px rgba(${theme.vars.palette[color].mainChannel} / 0.16)`
290
- } : {
291
- boxShadow: `0px 0px 0px 8px ${alpha(theme.palette[color].main, 0.16)}`
292
- }, {
293
- '@media (hover: none)': {
294
- boxShadow: 'none'
295
- }
296
- }),
297
- [`&.${sliderClasses.active}`]: _extends({}, theme.vars ? {
298
- boxShadow: `0px 0px 0px 14px rgba(${theme.vars.palette[color].mainChannel} / 0.16)}`
299
- } : {
300
- boxShadow: `0px 0px 0px 14px ${alpha(theme.palette[color].main, 0.16)}`
301
- })
302
- }
303
- })), {
283
+ variants: [{
304
284
  props: {
305
285
  size: 'small'
306
286
  },
@@ -327,7 +307,27 @@ export const SliderThumb = styled('span', {
327
307
  left: '50%',
328
308
  transform: 'translate(-50%, 50%)'
329
309
  }
330
- }]
310
+ }, ...Object.keys((theme.vars ?? theme).palette).filter(key => (theme.vars ?? theme).palette[key].main).map(color => ({
311
+ props: {
312
+ color
313
+ },
314
+ style: {
315
+ [`&:hover, &.${sliderClasses.focusVisible}`]: _extends({}, theme.vars ? {
316
+ boxShadow: `0px 0px 0px 8px rgba(${theme.vars.palette[color].mainChannel} / 0.16)`
317
+ } : {
318
+ boxShadow: `0px 0px 0px 8px ${alpha(theme.palette[color].main, 0.16)}`
319
+ }, {
320
+ '@media (hover: none)': {
321
+ boxShadow: 'none'
322
+ }
323
+ }),
324
+ [`&.${sliderClasses.active}`]: _extends({}, theme.vars ? {
325
+ boxShadow: `0px 0px 0px 14px rgba(${theme.vars.palette[color].mainChannel} / 0.16)}`
326
+ } : {
327
+ boxShadow: `0px 0px 0px 14px ${alpha(theme.palette[color].main, 0.16)}`
328
+ })
329
+ }
330
+ }))]
331
331
  }));
332
332
  export const SliderValueLabel = styled(BaseSliderValueLabel, {
333
333
  name: 'MuiSlider',
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getToggleButtonGroupUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiToggleButtonGroup', slot);
5
5
  }
6
- const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
6
+ const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'horizontal', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
7
7
  export default toggleButtonGroupClasses;
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.16
2
+ * @mui/material v5.15.18
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -104,21 +104,11 @@ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
104
104
  }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
105
105
  }
106
106
  })({
107
- [`&.${_autocompleteClasses.default.focused} .${_autocompleteClasses.default.clearIndicator}`]: {
108
- visibility: 'visible'
109
- },
110
- /* Avoid double tap issue on iOS */
111
- '@media (pointer: fine)': {
112
- [`&:hover .${_autocompleteClasses.default.clearIndicator}`]: {
113
- visibility: 'visible'
114
- }
115
- },
116
107
  [`& .${_autocompleteClasses.default.tag}`]: {
117
108
  margin: 3,
118
109
  maxWidth: 'calc(100% - 6px)'
119
110
  },
120
111
  [`& .${_autocompleteClasses.default.inputRoot}`]: {
121
- flexWrap: 'wrap',
122
112
  [`.${_autocompleteClasses.default.hasPopupIcon}&, .${_autocompleteClasses.default.hasClearIcon}&`]: {
123
113
  paddingRight: 26 + 4
124
114
  },
@@ -130,6 +120,23 @@ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
130
120
  minWidth: 30
131
121
  }
132
122
  },
123
+ [`&.${_autocompleteClasses.default.focused}`]: {
124
+ [`& .${_autocompleteClasses.default.clearIndicator}`]: {
125
+ visibility: 'visible'
126
+ },
127
+ [`& .${_autocompleteClasses.default.input}`]: {
128
+ minWidth: 0
129
+ }
130
+ },
131
+ /* Avoid double tap issue on iOS */
132
+ '@media (pointer: fine)': {
133
+ [`&:hover .${_autocompleteClasses.default.clearIndicator}`]: {
134
+ visibility: 'visible'
135
+ },
136
+ [`&:hover .${_autocompleteClasses.default.input}`]: {
137
+ minWidth: 0
138
+ }
139
+ },
133
140
  [`& .${_inputClasses.default.root}`]: {
134
141
  paddingBottom: 1,
135
142
  '& .MuiInput-input': {
@@ -236,6 +243,15 @@ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
236
243
  opacity: 1
237
244
  }
238
245
  }
246
+ }, {
247
+ props: {
248
+ multiple: true
249
+ },
250
+ style: {
251
+ [`& .${_autocompleteClasses.default.inputRoot}`]: {
252
+ flexWrap: 'wrap'
253
+ }
254
+ }
239
255
  }]
240
256
  });
241
257
  const AutocompleteEndAdornment = (0, _zeroStyled.styled)('div', {
@@ -299,30 +299,7 @@ const SliderThumb = exports.SliderThumb = (0, _zeroStyled.styled)('span', {
299
299
  boxShadow: 'none'
300
300
  }
301
301
  },
302
- variants: [...Object.keys(((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette).filter(key => {
303
- var _theme$vars6;
304
- return ((_theme$vars6 = theme.vars) != null ? _theme$vars6 : theme).palette[key].main;
305
- }).map(color => ({
306
- props: {
307
- color
308
- },
309
- style: {
310
- [`&:hover, &.${_sliderClasses.default.focusVisible}`]: (0, _extends2.default)({}, theme.vars ? {
311
- boxShadow: `0px 0px 0px 8px rgba(${theme.vars.palette[color].mainChannel} / 0.16)`
312
- } : {
313
- boxShadow: `0px 0px 0px 8px ${(0, _colorManipulator.alpha)(theme.palette[color].main, 0.16)}`
314
- }, {
315
- '@media (hover: none)': {
316
- boxShadow: 'none'
317
- }
318
- }),
319
- [`&.${_sliderClasses.default.active}`]: (0, _extends2.default)({}, theme.vars ? {
320
- boxShadow: `0px 0px 0px 14px rgba(${theme.vars.palette[color].mainChannel} / 0.16)}`
321
- } : {
322
- boxShadow: `0px 0px 0px 14px ${(0, _colorManipulator.alpha)(theme.palette[color].main, 0.16)}`
323
- })
324
- }
325
- })), {
302
+ variants: [{
326
303
  props: {
327
304
  size: 'small'
328
305
  },
@@ -349,7 +326,30 @@ const SliderThumb = exports.SliderThumb = (0, _zeroStyled.styled)('span', {
349
326
  left: '50%',
350
327
  transform: 'translate(-50%, 50%)'
351
328
  }
352
- }]
329
+ }, ...Object.keys(((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette).filter(key => {
330
+ var _theme$vars6;
331
+ return ((_theme$vars6 = theme.vars) != null ? _theme$vars6 : theme).palette[key].main;
332
+ }).map(color => ({
333
+ props: {
334
+ color
335
+ },
336
+ style: {
337
+ [`&:hover, &.${_sliderClasses.default.focusVisible}`]: (0, _extends2.default)({}, theme.vars ? {
338
+ boxShadow: `0px 0px 0px 8px rgba(${theme.vars.palette[color].mainChannel} / 0.16)`
339
+ } : {
340
+ boxShadow: `0px 0px 0px 8px ${(0, _colorManipulator.alpha)(theme.palette[color].main, 0.16)}`
341
+ }, {
342
+ '@media (hover: none)': {
343
+ boxShadow: 'none'
344
+ }
345
+ }),
346
+ [`&.${_sliderClasses.default.active}`]: (0, _extends2.default)({}, theme.vars ? {
347
+ boxShadow: `0px 0px 0px 14px rgba(${theme.vars.palette[color].mainChannel} / 0.16)}`
348
+ } : {
349
+ boxShadow: `0px 0px 0px 14px ${(0, _colorManipulator.alpha)(theme.palette[color].main, 0.16)}`
350
+ })
351
+ }
352
+ }))]
353
353
  };
354
354
  });
355
355
  const SliderValueLabel = exports.SliderValueLabel = (0, _zeroStyled.styled)(_SliderValueLabel.default, {
@@ -11,5 +11,5 @@ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateU
11
11
  function getToggleButtonGroupUtilityClass(slot) {
12
12
  return (0, _generateUtilityClass.default)('MuiToggleButtonGroup', slot);
13
13
  }
14
- const toggleButtonGroupClasses = (0, _generateUtilityClasses.default)('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
14
+ const toggleButtonGroupClasses = (0, _generateUtilityClasses.default)('MuiToggleButtonGroup', ['root', 'selected', 'horizontal', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
15
15
  var _default = exports.default = toggleButtonGroupClasses;
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.16
2
+ * @mui/material v5.15.18
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.16",
3
+ "version": "5.15.18",
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,10 +34,10 @@
34
34
  "prop-types": "^15.8.1",
35
35
  "react-is": "^18.2.0",
36
36
  "react-transition-group": "^4.4.5",
37
- "@mui/utils": "^5.15.14",
38
- "@mui/core-downloads-tracker": "^5.15.16",
37
+ "@mui/core-downloads-tracker": "^5.15.18",
39
38
  "@mui/types": "^7.2.14",
40
39
  "@mui/base": "5.0.0-beta.40",
40
+ "@mui/utils": "^5.15.14",
41
41
  "@mui/system": "^5.15.15"
42
42
  },
43
43
  "peerDependencies": {