@mui/material 5.15.16 → 5.15.17

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v5.15.17
4
+
5
+ <!-- generated comparing v5.15.16..master -->
6
+
7
+ _May 8, 2024_
8
+
9
+ A big thanks to the 4 contributors who made this release possible.
10
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
11
+
12
+ ### `@mui/material@5.15.17`
13
+
14
+ - [Slider] Move palette styles to the bottom (#41676) @siriwatknp
15
+
16
+ ### Docs
17
+
18
+ - Fix SEO redirection issues @oliviertassinari
19
+ - [material-ui] Fix broken link (@aarongarciah) (#42143) @github-actions[bot]
20
+ - [material-ui] Fix link on the Sync page (@danilo-leal) (#42089) @github-actions[bot]
21
+
22
+ ### Core
23
+
24
+ - [blog] Shorten title to fit @oliviertassinari
25
+ - [blog] Update Sync post OG image (@danilo-leal) (#42117) @github-actions[bot]
26
+ - [blog] A few tweaks in introducing-sync-plugin (@oliviertassinari) (#42094) @github-actions[bot]
27
+ - [docs-infra] Fix code block layout shift (#41917) @oliviertassinari
28
+ - [website] Fix home page slider's track position (@aarongarciah) (#42144) @github-actions[bot]
29
+ - [website] Closing the survey @oliviertassinari
30
+ - [website] Remove Survey banner from website and Core docs (#42104) @joserodolfofreitas
31
+
32
+ All contributors of this release in alphabetical order: @github-actions[bot], @joserodolfofreitas, @oliviertassinari, @siriwatknp
33
+
3
34
  ## v5.15.16
4
35
 
5
36
  <!-- 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, {
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.16
2
+ * @mui/material v5.15.17
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -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',
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.16
2
+ * @mui/material v5.15.17
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -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',
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.16
2
+ * @mui/material v5.15.17
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -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, {
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.16
2
+ * @mui/material v5.15.17
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.17",
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",
39
- "@mui/types": "^7.2.14",
37
+ "@mui/core-downloads-tracker": "^5.15.17",
40
38
  "@mui/base": "5.0.0-beta.40",
39
+ "@mui/types": "^7.2.14",
40
+ "@mui/utils": "^5.15.14",
41
41
  "@mui/system": "^5.15.15"
42
42
  },
43
43
  "peerDependencies": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.16
2
+ * @mui/material v5.15.17
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -41736,29 +41736,7 @@
41736
41736
  '&:hover': {
41737
41737
  boxShadow: 'none'
41738
41738
  }
41739
- }), "variants", [].concat(_toConsumableArray(Object.keys(((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette).filter(function (key) {
41740
- var _theme$vars6;
41741
- return ((_theme$vars6 = theme.vars) != null ? _theme$vars6 : theme).palette[key].main;
41742
- }).map(function (color) {
41743
- return {
41744
- props: {
41745
- color: color
41746
- },
41747
- style: _defineProperty(_defineProperty({}, "&:hover, &.".concat(sliderClasses$1.focusVisible), _extends({}, theme.vars ? {
41748
- boxShadow: "0px 0px 0px 8px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)")
41749
- } : {
41750
- boxShadow: "0px 0px 0px 8px ".concat(alpha(theme.palette[color].main, 0.16))
41751
- }, {
41752
- '@media (hover: none)': {
41753
- boxShadow: 'none'
41754
- }
41755
- })), "&.".concat(sliderClasses$1.active), _extends({}, theme.vars ? {
41756
- boxShadow: "0px 0px 0px 14px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)}")
41757
- } : {
41758
- boxShadow: "0px 0px 0px 14px ".concat(alpha(theme.palette[color].main, 0.16))
41759
- }))
41760
- };
41761
- })), [{
41739
+ }), "variants", [{
41762
41740
  props: {
41763
41741
  size: 'small'
41764
41742
  },
@@ -41785,7 +41763,29 @@
41785
41763
  left: '50%',
41786
41764
  transform: 'translate(-50%, 50%)'
41787
41765
  }
41788
- }]));
41766
+ }].concat(_toConsumableArray(Object.keys(((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette).filter(function (key) {
41767
+ var _theme$vars6;
41768
+ return ((_theme$vars6 = theme.vars) != null ? _theme$vars6 : theme).palette[key].main;
41769
+ }).map(function (color) {
41770
+ return {
41771
+ props: {
41772
+ color: color
41773
+ },
41774
+ style: _defineProperty(_defineProperty({}, "&:hover, &.".concat(sliderClasses$1.focusVisible), _extends({}, theme.vars ? {
41775
+ boxShadow: "0px 0px 0px 8px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)")
41776
+ } : {
41777
+ boxShadow: "0px 0px 0px 8px ".concat(alpha(theme.palette[color].main, 0.16))
41778
+ }, {
41779
+ '@media (hover: none)': {
41780
+ boxShadow: 'none'
41781
+ }
41782
+ })), "&.".concat(sliderClasses$1.active), _extends({}, theme.vars ? {
41783
+ boxShadow: "0px 0px 0px 14px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)}")
41784
+ } : {
41785
+ boxShadow: "0px 0px 0px 14px ".concat(alpha(theme.palette[color].main, 0.16))
41786
+ }))
41787
+ };
41788
+ }))));
41789
41789
  });
41790
41790
  var SliderValueLabel = styled$1(SliderValueLabel$1, {
41791
41791
  name: 'MuiSlider',