@mui/material 5.14.19 → 5.15.0

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 (88) hide show
  1. package/Autocomplete/Autocomplete.js +0 -1
  2. package/ButtonBase/ButtonBase.js +1 -2
  3. package/ButtonGroup/index.d.ts +2 -0
  4. package/ButtonGroup/index.js +3 -1
  5. package/CHANGELOG.md +97 -2
  6. package/CircularProgress/CircularProgress.js +0 -1
  7. package/FilledInput/FilledInput.js +0 -2
  8. package/Input/Input.js +0 -2
  9. package/InputBase/InputBase.js +0 -2
  10. package/InputLabel/InputLabel.js +1 -5
  11. package/Link/Link.js +0 -1
  12. package/NativeSelect/NativeSelectInput.js +0 -2
  13. package/Select/SelectInput.js +1 -3
  14. package/TablePagination/TablePagination.js +0 -2
  15. package/Tabs/Tabs.js +0 -1
  16. package/colors/amber.d.ts +0 -1
  17. package/colors/blue.d.ts +0 -1
  18. package/colors/blueGrey.d.ts +0 -1
  19. package/colors/brown.d.ts +0 -1
  20. package/colors/common.d.ts +0 -1
  21. package/colors/cyan.d.ts +0 -1
  22. package/colors/deepOrange.d.ts +0 -1
  23. package/colors/deepPurple.d.ts +0 -1
  24. package/colors/green.d.ts +0 -1
  25. package/colors/grey.d.ts +0 -1
  26. package/colors/indigo.d.ts +0 -1
  27. package/colors/lightBlue.d.ts +0 -1
  28. package/colors/lightGreen.d.ts +0 -1
  29. package/colors/lime.d.ts +0 -1
  30. package/colors/orange.d.ts +0 -1
  31. package/colors/pink.d.ts +0 -1
  32. package/colors/purple.d.ts +0 -1
  33. package/colors/red.d.ts +0 -1
  34. package/colors/teal.d.ts +0 -1
  35. package/colors/yellow.d.ts +0 -1
  36. package/index.js +1 -1
  37. package/legacy/Autocomplete/Autocomplete.js +0 -1
  38. package/legacy/ButtonBase/ButtonBase.js +1 -1
  39. package/legacy/ButtonGroup/index.js +3 -1
  40. package/legacy/CircularProgress/CircularProgress.js +0 -1
  41. package/legacy/InputLabel/InputLabel.js +1 -5
  42. package/legacy/NativeSelect/NativeSelectInput.js +0 -2
  43. package/legacy/Select/SelectInput.js +1 -3
  44. package/legacy/TablePagination/TablePagination.js +0 -2
  45. package/legacy/Tabs/Tabs.js +0 -1
  46. package/legacy/index.js +1 -1
  47. package/legacy/locale/index.js +0 -11
  48. package/legacy/useTouchRipple/useTouchRipple.js +1 -1
  49. package/locale/index.js +0 -11
  50. package/modern/Autocomplete/Autocomplete.js +0 -1
  51. package/modern/ButtonBase/ButtonBase.js +1 -2
  52. package/modern/ButtonGroup/index.js +3 -1
  53. package/modern/CircularProgress/CircularProgress.js +0 -1
  54. package/modern/FilledInput/FilledInput.js +0 -2
  55. package/modern/Input/Input.js +0 -2
  56. package/modern/InputBase/InputBase.js +0 -2
  57. package/modern/InputLabel/InputLabel.js +1 -5
  58. package/modern/Link/Link.js +0 -1
  59. package/modern/NativeSelect/NativeSelectInput.js +0 -2
  60. package/modern/Select/SelectInput.js +1 -3
  61. package/modern/TablePagination/TablePagination.js +0 -2
  62. package/modern/Tabs/Tabs.js +0 -1
  63. package/modern/index.js +1 -1
  64. package/modern/locale/index.js +0 -11
  65. package/modern/useTouchRipple/useTouchRipple.js +1 -1
  66. package/node/Autocomplete/Autocomplete.js +0 -1
  67. package/node/ButtonBase/ButtonBase.js +1 -2
  68. package/node/ButtonGroup/index.js +17 -1
  69. package/node/CircularProgress/CircularProgress.js +0 -1
  70. package/node/FilledInput/FilledInput.js +0 -2
  71. package/node/Input/Input.js +0 -2
  72. package/node/InputBase/InputBase.js +0 -2
  73. package/node/InputLabel/InputLabel.js +1 -5
  74. package/node/Link/Link.js +0 -1
  75. package/node/NativeSelect/NativeSelectInput.js +0 -2
  76. package/node/Select/SelectInput.js +1 -3
  77. package/node/TablePagination/TablePagination.js +0 -2
  78. package/node/Tabs/Tabs.js +0 -1
  79. package/node/index.js +1 -1
  80. package/node/locale/index.js +0 -11
  81. package/node/styles/index.js +1 -0
  82. package/node/useTouchRipple/useTouchRipple.js +1 -1
  83. package/package.json +7 -7
  84. package/styles/components.d.ts +115 -115
  85. package/styles/variants.d.ts +1 -2
  86. package/umd/material-ui.development.js +9 -35
  87. package/umd/material-ui.production.min.js +4 -4
  88. package/useTouchRipple/useTouchRipple.js +1 -1
@@ -329,7 +329,6 @@ export var azAZ = {
329
329
  // `${from}–${to} dən ${count !== -1 ? count : `more than ${to}`}`,
330
330
  }
331
331
  },
332
-
333
332
  MuiRating: {
334
333
  defaultProps: {
335
334
  getLabelText: function getLabelText(value) {
@@ -569,7 +568,6 @@ export var bgBG = {
569
568
  // `${from}–${to} от ${count !== -1 ? count : `more than ${to}`}`,
570
569
  }
571
570
  },
572
-
573
571
  MuiRating: {
574
572
  defaultProps: {
575
573
  getLabelText: function getLabelText(value) {
@@ -642,7 +640,6 @@ export var caES = {
642
640
  // `${from}–${to} de ${count !== -1 ? count : `more than ${to}`}`,
643
641
  }
644
642
  },
645
-
646
643
  MuiRating: {
647
644
  defaultProps: {
648
645
  getLabelText: function getLabelText(value) {
@@ -688,7 +685,6 @@ export var caES = {
688
685
  // },
689
686
  }
690
687
  };
691
-
692
688
  export var csCZ = {
693
689
  components: {
694
690
  MuiBreadcrumbs: {
@@ -1710,7 +1706,6 @@ export var huHU = {
1710
1706
  // `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
1711
1707
  }
1712
1708
  },
1713
-
1714
1709
  MuiRating: {
1715
1710
  defaultProps: {
1716
1711
  getLabelText: function getLabelText(value) {
@@ -1783,7 +1778,6 @@ export var hyAM = {
1783
1778
  // `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
1784
1779
  }
1785
1780
  },
1786
-
1787
1781
  MuiRating: {
1788
1782
  defaultProps: {
1789
1783
  getLabelText: function getLabelText(value) {
@@ -1829,7 +1823,6 @@ export var hyAM = {
1829
1823
  // },
1830
1824
  }
1831
1825
  };
1832
-
1833
1826
  export var idID = {
1834
1827
  components: {
1835
1828
  // MuiBreadcrumbs: {
@@ -1857,7 +1850,6 @@ export var idID = {
1857
1850
  // `${from}–${to} dari ${count !== -1 ? count : `more than ${to}`}`,
1858
1851
  }
1859
1852
  },
1860
-
1861
1853
  MuiRating: {
1862
1854
  defaultProps: {
1863
1855
  getLabelText: function getLabelText(value) {
@@ -1866,7 +1858,6 @@ export var idID = {
1866
1858
  // emptyLabelText: 'Empty',
1867
1859
  }
1868
1860
  },
1869
-
1870
1861
  MuiAutocomplete: {
1871
1862
  defaultProps: {
1872
1863
  clearText: 'Hapus',
@@ -1904,7 +1895,6 @@ export var idID = {
1904
1895
  // },
1905
1896
  }
1906
1897
  };
1907
-
1908
1898
  export var isIS = {
1909
1899
  components: {
1910
1900
  MuiBreadcrumbs: {
@@ -3322,7 +3312,6 @@ export var roRO = {
3322
3312
  // `${from}–${to} din ${count !== -1 ? count : `more than ${to}`}`,
3323
3313
  }
3324
3314
  },
3325
-
3326
3315
  MuiRating: {
3327
3316
  defaultProps: {
3328
3317
  getLabelText: function getLabelText(value) {
@@ -36,7 +36,7 @@ var useTouchRipple = function useTouchRipple(props) {
36
36
  });
37
37
  var handleKeyUp = useEventCallback(function (event) {
38
38
  // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
39
- // https://codesandbox.io/s/button-keyup-preventdefault-dn7f0
39
+ // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0
40
40
  if (!disableFocusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {
41
41
  keydownRef.current = false;
42
42
  rippleRef.current.stop(event, function () {
package/locale/index.js CHANGED
@@ -317,7 +317,6 @@ export const azAZ = {
317
317
  // `${from}–${to} dən ${count !== -1 ? count : `more than ${to}`}`,
318
318
  }
319
319
  },
320
-
321
320
  MuiRating: {
322
321
  defaultProps: {
323
322
  getLabelText: value => {
@@ -553,7 +552,6 @@ export const bgBG = {
553
552
  // `${from}–${to} от ${count !== -1 ? count : `more than ${to}`}`,
554
553
  }
555
554
  },
556
-
557
555
  MuiRating: {
558
556
  defaultProps: {
559
557
  getLabelText: value => `${value} Звезд${value !== 1 ? 'и' : 'а'}`,
@@ -624,7 +622,6 @@ export const caES = {
624
622
  // `${from}–${to} de ${count !== -1 ? count : `more than ${to}`}`,
625
623
  }
626
624
  },
627
-
628
625
  MuiRating: {
629
626
  defaultProps: {
630
627
  getLabelText: value => `${value} ${value !== 1 ? 'Estrelles' : 'Estrella'}`,
@@ -668,7 +665,6 @@ export const caES = {
668
665
  // },
669
666
  }
670
667
  };
671
-
672
668
  export const csCZ = {
673
669
  components: {
674
670
  MuiBreadcrumbs: {
@@ -1658,7 +1654,6 @@ export const huHU = {
1658
1654
  // `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
1659
1655
  }
1660
1656
  },
1661
-
1662
1657
  MuiRating: {
1663
1658
  defaultProps: {
1664
1659
  getLabelText: value => `${value} Csillag`,
@@ -1729,7 +1724,6 @@ export const hyAM = {
1729
1724
  // `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
1730
1725
  }
1731
1726
  },
1732
-
1733
1727
  MuiRating: {
1734
1728
  defaultProps: {
1735
1729
  getLabelText: value => `${value} Աստղ`,
@@ -1773,7 +1767,6 @@ export const hyAM = {
1773
1767
  // },
1774
1768
  }
1775
1769
  };
1776
-
1777
1770
  export const idID = {
1778
1771
  components: {
1779
1772
  // MuiBreadcrumbs: {
@@ -1801,14 +1794,12 @@ export const idID = {
1801
1794
  // `${from}–${to} dari ${count !== -1 ? count : `more than ${to}`}`,
1802
1795
  }
1803
1796
  },
1804
-
1805
1797
  MuiRating: {
1806
1798
  defaultProps: {
1807
1799
  getLabelText: value => `${value} Bintang`
1808
1800
  // emptyLabelText: 'Empty',
1809
1801
  }
1810
1802
  },
1811
-
1812
1803
  MuiAutocomplete: {
1813
1804
  defaultProps: {
1814
1805
  clearText: 'Hapus',
@@ -1846,7 +1837,6 @@ export const idID = {
1846
1837
  // },
1847
1838
  }
1848
1839
  };
1849
-
1850
1840
  export const isIS = {
1851
1841
  components: {
1852
1842
  MuiBreadcrumbs: {
@@ -3220,7 +3210,6 @@ export const roRO = {
3220
3210
  // `${from}–${to} din ${count !== -1 ? count : `more than ${to}`}`,
3221
3211
  }
3222
3212
  },
3223
-
3224
3213
  MuiRating: {
3225
3214
  defaultProps: {
3226
3215
  getLabelText: value => `${value} St${value !== 1 ? 'ele' : 'ea'}`,
@@ -216,7 +216,6 @@ const AutocompleteEndAdornment = styled('div', {
216
216
  right: 0,
217
217
  top: 'calc(50% - 14px)' // Center vertically
218
218
  });
219
-
220
219
  const AutocompleteClearIndicator = styled(IconButton, {
221
220
  name: 'MuiAutocomplete',
222
221
  slot: 'ClearIndicator',
@@ -67,7 +67,6 @@ export const ButtonBaseRoot = styled('button', {
67
67
  '&::-moz-focus-inner': {
68
68
  borderStyle: 'none' // Remove Firefox dotted outline.
69
69
  },
70
-
71
70
  [`&.${buttonBaseClasses.disabled}`]: {
72
71
  pointerEvents: 'none',
73
72
  // Disable link interactions
@@ -234,7 +233,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
234
233
  });
235
234
  const handleKeyUp = useEventCallback(event => {
236
235
  // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
237
- // https://codesandbox.io/s/button-keyup-preventdefault-dn7f0
236
+ // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0
238
237
  if (focusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {
239
238
  keydownRef.current = false;
240
239
  rippleRef.current.stop(event, () => {
@@ -2,4 +2,6 @@
2
2
 
3
3
  export { default } from './ButtonGroup';
4
4
  export { default as buttonGroupClasses } from './buttonGroupClasses';
5
- export * from './buttonGroupClasses';
5
+ export * from './buttonGroupClasses';
6
+ export { default as ButtonGroupContext } from './ButtonGroupContext';
7
+ export { default as ButtonGroupButtonContext } from './ButtonGroupButtonContext';
@@ -84,7 +84,6 @@ const CircularProgressSVG = styled('svg', {
84
84
  })({
85
85
  display: 'block' // Keeps the progress centered
86
86
  });
87
-
88
87
  const CircularProgressCircle = styled('circle', {
89
88
  name: 'MuiCircularProgress',
90
89
  slot: 'Circle',
@@ -82,7 +82,6 @@ const FilledInputRoot = styled(InputBaseRoot, {
82
82
  }),
83
83
  pointerEvents: 'none' // Transparent to the hover style.
84
84
  },
85
-
86
85
  [`&.${filledInputClasses.focused}:after`]: {
87
86
  // translateX(0) is a workaround for Safari transform scale bug
88
87
  // See https://github.com/mui/material-ui/issues/31766
@@ -106,7 +105,6 @@ const FilledInputRoot = styled(InputBaseRoot, {
106
105
  }),
107
106
  pointerEvents: 'none' // Transparent to the hover style.
108
107
  },
109
-
110
108
  [`&:hover:not(.${filledInputClasses.disabled}, .${filledInputClasses.error}):before`]: {
111
109
  borderBottom: `1px solid ${(theme.vars || theme).palette.text.primary}`
112
110
  },
@@ -66,7 +66,6 @@ const InputRoot = styled(InputBaseRoot, {
66
66
  }),
67
67
  pointerEvents: 'none' // Transparent to the hover style.
68
68
  },
69
-
70
69
  [`&.${inputClasses.focused}:after`]: {
71
70
  // translateX(0) is a workaround for Safari transform scale bug
72
71
  // See https://github.com/mui/material-ui/issues/31766
@@ -90,7 +89,6 @@ const InputRoot = styled(InputBaseRoot, {
90
89
  }),
91
90
  pointerEvents: 'none' // Transparent to the hover style.
92
91
  },
93
-
94
92
  [`&:hover:not(.${inputClasses.disabled}, .${inputClasses.error}):before`]: {
95
93
  borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,
96
94
  // Reset on touch devices, it doesn't add specificity
@@ -167,13 +167,11 @@ export const InputBaseComponent = styled('input', {
167
167
  // IE11
168
168
  '&:focus::-ms-input-placeholder': placeholderVisible // Edge
169
169
  },
170
-
171
170
  [`&.${inputBaseClasses.disabled}`]: {
172
171
  opacity: 1,
173
172
  // Reset iOS opacity
174
173
  WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug
175
174
  },
176
-
177
175
  '&:-webkit-autofill': {
178
176
  animationDuration: '5000s',
179
177
  animationName: 'mui-auto-fill'
@@ -105,11 +105,7 @@ const InputLabelRoot = styled(FormLabel, {
105
105
  // but it feels a better when it bleeds a bit on the left, so 32px.
106
106
  maxWidth: 'calc(133% - 32px)',
107
107
  transform: 'translate(14px, -9px) scale(0.75)'
108
- }), ownerState.variant === 'standard' && {
109
- '&:not(label) + div': {
110
- marginTop: 16
111
- }
112
- }));
108
+ })));
113
109
  const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, ref) {
114
110
  const props = useThemeProps({
115
111
  name: 'MuiInputLabel',
@@ -83,7 +83,6 @@ const LinkRoot = styled(Typography, {
83
83
  '&::-moz-focus-inner': {
84
84
  borderStyle: 'none' // Remove Firefox dotted outline.
85
85
  },
86
-
87
86
  [`&.${linkClasses.focusVisible}`]: {
88
87
  outline: 'auto'
89
88
  }
@@ -49,7 +49,6 @@ export const nativeSelectSelectStyles = ({
49
49
  }, {
50
50
  borderRadius: 0 // Reset Chrome style
51
51
  }),
52
-
53
52
  // Remove IE11 arrow
54
53
  '&::-ms-expand': {
55
54
  display: 'none'
@@ -77,7 +76,6 @@ export const nativeSelectSelectStyles = ({
77
76
  '&:focus': {
78
77
  borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style
79
78
  },
80
-
81
79
  '&&&': {
82
80
  paddingRight: 32
83
81
  }
@@ -385,7 +385,6 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
385
385
  'data-value': child.props.value // Instead, we provide it as a data attribute.
386
386
  });
387
387
  });
388
-
389
388
  if (process.env.NODE_ENV !== 'production') {
390
389
  // eslint-disable-next-line react-hooks/rules-of-hooks
391
390
  React.useEffect(() => {
@@ -434,7 +433,6 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
434
433
  const classes = useUtilityClasses(ownerState);
435
434
  const paperProps = _extends({}, MenuProps.PaperProps, MenuProps.slotProps?.paper);
436
435
  const listboxId = useId();
437
- const hiddenInputId = useId();
438
436
  return /*#__PURE__*/_jsxs(React.Fragment, {
439
437
  children: [/*#__PURE__*/_jsx(SelectSelect, _extends({
440
438
  ref: handleDisplayRef,
@@ -465,7 +463,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
465
463
  })), /*#__PURE__*/_jsx(SelectNativeInput, _extends({
466
464
  "aria-invalid": error,
467
465
  value: Array.isArray(value) ? value.join(',') : value,
468
- name: name ?? hiddenInputId,
466
+ name: name,
469
467
  ref: inputRef,
470
468
  "aria-hidden": true,
471
469
  onChange: handleChange,
@@ -96,7 +96,6 @@ const TablePaginationSelect = styled(Select, {
96
96
  textAlignLast: 'right' // Align <select> on Chrome.
97
97
  }
98
98
  });
99
-
100
99
  const TablePaginationMenuItem = styled(MenuItem, {
101
100
  name: 'MuiTablePagination',
102
101
  slot: 'MenuItem',
@@ -179,7 +178,6 @@ const TablePagination = /*#__PURE__*/React.forwardRef(function TablePagination(i
179
178
  if (component === TableCell || component === 'td') {
180
179
  colSpan = colSpanProp || 1000; // col-span over everything
181
180
  }
182
-
183
181
  const selectId = useId(selectProps.id);
184
182
  const labelId = useId(selectProps.labelId);
185
183
  const getLabelDisplayedRowsTo = () => {
@@ -200,7 +200,6 @@ const TabsScrollbarSize = styled(ScrollbarSize)({
200
200
  display: 'none' // Safari + Chrome
201
201
  }
202
202
  });
203
-
204
203
  const defaultIndicatorStyle = {};
205
204
  let warnedOnceTabPresent = false;
206
205
  const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.19
2
+ * @mui/material v5.15.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -317,7 +317,6 @@ export const azAZ = {
317
317
  // `${from}–${to} dən ${count !== -1 ? count : `more than ${to}`}`,
318
318
  }
319
319
  },
320
-
321
320
  MuiRating: {
322
321
  defaultProps: {
323
322
  getLabelText: value => {
@@ -553,7 +552,6 @@ export const bgBG = {
553
552
  // `${from}–${to} от ${count !== -1 ? count : `more than ${to}`}`,
554
553
  }
555
554
  },
556
-
557
555
  MuiRating: {
558
556
  defaultProps: {
559
557
  getLabelText: value => `${value} Звезд${value !== 1 ? 'и' : 'а'}`,
@@ -624,7 +622,6 @@ export const caES = {
624
622
  // `${from}–${to} de ${count !== -1 ? count : `more than ${to}`}`,
625
623
  }
626
624
  },
627
-
628
625
  MuiRating: {
629
626
  defaultProps: {
630
627
  getLabelText: value => `${value} ${value !== 1 ? 'Estrelles' : 'Estrella'}`,
@@ -668,7 +665,6 @@ export const caES = {
668
665
  // },
669
666
  }
670
667
  };
671
-
672
668
  export const csCZ = {
673
669
  components: {
674
670
  MuiBreadcrumbs: {
@@ -1658,7 +1654,6 @@ export const huHU = {
1658
1654
  // `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
1659
1655
  }
1660
1656
  },
1661
-
1662
1657
  MuiRating: {
1663
1658
  defaultProps: {
1664
1659
  getLabelText: value => `${value} Csillag`,
@@ -1729,7 +1724,6 @@ export const hyAM = {
1729
1724
  // `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
1730
1725
  }
1731
1726
  },
1732
-
1733
1727
  MuiRating: {
1734
1728
  defaultProps: {
1735
1729
  getLabelText: value => `${value} Աստղ`,
@@ -1773,7 +1767,6 @@ export const hyAM = {
1773
1767
  // },
1774
1768
  }
1775
1769
  };
1776
-
1777
1770
  export const idID = {
1778
1771
  components: {
1779
1772
  // MuiBreadcrumbs: {
@@ -1801,14 +1794,12 @@ export const idID = {
1801
1794
  // `${from}–${to} dari ${count !== -1 ? count : `more than ${to}`}`,
1802
1795
  }
1803
1796
  },
1804
-
1805
1797
  MuiRating: {
1806
1798
  defaultProps: {
1807
1799
  getLabelText: value => `${value} Bintang`
1808
1800
  // emptyLabelText: 'Empty',
1809
1801
  }
1810
1802
  },
1811
-
1812
1803
  MuiAutocomplete: {
1813
1804
  defaultProps: {
1814
1805
  clearText: 'Hapus',
@@ -1846,7 +1837,6 @@ export const idID = {
1846
1837
  // },
1847
1838
  }
1848
1839
  };
1849
-
1850
1840
  export const isIS = {
1851
1841
  components: {
1852
1842
  MuiBreadcrumbs: {
@@ -3220,7 +3210,6 @@ export const roRO = {
3220
3210
  // `${from}–${to} din ${count !== -1 ? count : `more than ${to}`}`,
3221
3211
  }
3222
3212
  },
3223
-
3224
3213
  MuiRating: {
3225
3214
  defaultProps: {
3226
3215
  getLabelText: value => `${value} St${value !== 1 ? 'ele' : 'ea'}`,
@@ -35,7 +35,7 @@ const useTouchRipple = props => {
35
35
  });
36
36
  const handleKeyUp = useEventCallback(event => {
37
37
  // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
38
- // https://codesandbox.io/s/button-keyup-preventdefault-dn7f0
38
+ // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0
39
39
  if (!disableFocusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {
40
40
  keydownRef.current = false;
41
41
  rippleRef.current.stop(event, () => {
@@ -229,7 +229,6 @@ const AutocompleteEndAdornment = (0, _styled.default)('div', {
229
229
  right: 0,
230
230
  top: 'calc(50% - 14px)' // Center vertically
231
231
  });
232
-
233
232
  const AutocompleteClearIndicator = (0, _styled.default)(_IconButton.default, {
234
233
  name: 'MuiAutocomplete',
235
234
  slot: 'ClearIndicator',
@@ -74,7 +74,6 @@ const ButtonBaseRoot = exports.ButtonBaseRoot = (0, _styled.default)('button', {
74
74
  '&::-moz-focus-inner': {
75
75
  borderStyle: 'none' // Remove Firefox dotted outline.
76
76
  },
77
-
78
77
  [`&.${_buttonBaseClasses.default.disabled}`]: {
79
78
  pointerEvents: 'none',
80
79
  // Disable link interactions
@@ -241,7 +240,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
241
240
  });
242
241
  const handleKeyUp = (0, _useEventCallback.default)(event => {
243
242
  // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
244
- // https://codesandbox.io/s/button-keyup-preventdefault-dn7f0
243
+ // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0
245
244
  if (focusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {
246
245
  keydownRef.current = false;
247
246
  rippleRef.current.stop(event, () => {
@@ -6,8 +6,22 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  var _exportNames = {
9
- buttonGroupClasses: true
9
+ buttonGroupClasses: true,
10
+ ButtonGroupContext: true,
11
+ ButtonGroupButtonContext: true
10
12
  };
13
+ Object.defineProperty(exports, "ButtonGroupButtonContext", {
14
+ enumerable: true,
15
+ get: function () {
16
+ return _ButtonGroupButtonContext.default;
17
+ }
18
+ });
19
+ Object.defineProperty(exports, "ButtonGroupContext", {
20
+ enumerable: true,
21
+ get: function () {
22
+ return _ButtonGroupContext.default;
23
+ }
24
+ });
11
25
  Object.defineProperty(exports, "buttonGroupClasses", {
12
26
  enumerable: true,
13
27
  get: function () {
@@ -33,5 +47,7 @@ Object.keys(_buttonGroupClasses).forEach(function (key) {
33
47
  }
34
48
  });
35
49
  });
50
+ var _ButtonGroupContext = _interopRequireDefault(require("./ButtonGroupContext"));
51
+ var _ButtonGroupButtonContext = _interopRequireDefault(require("./ButtonGroupButtonContext"));
36
52
  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
53
  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; }
@@ -92,7 +92,6 @@ const CircularProgressSVG = (0, _styled.default)('svg', {
92
92
  })({
93
93
  display: 'block' // Keeps the progress centered
94
94
  });
95
-
96
95
  const CircularProgressCircle = (0, _styled.default)('circle', {
97
96
  name: 'MuiCircularProgress',
98
97
  slot: 'Circle',
@@ -91,7 +91,6 @@ const FilledInputRoot = (0, _styled.default)(_InputBase2.InputBaseRoot, {
91
91
  }),
92
92
  pointerEvents: 'none' // Transparent to the hover style.
93
93
  },
94
-
95
94
  [`&.${_filledInputClasses.default.focused}:after`]: {
96
95
  // translateX(0) is a workaround for Safari transform scale bug
97
96
  // See https://github.com/mui/material-ui/issues/31766
@@ -115,7 +114,6 @@ const FilledInputRoot = (0, _styled.default)(_InputBase2.InputBaseRoot, {
115
114
  }),
116
115
  pointerEvents: 'none' // Transparent to the hover style.
117
116
  },
118
-
119
117
  [`&:hover:not(.${_filledInputClasses.default.disabled}, .${_filledInputClasses.default.error}):before`]: {
120
118
  borderBottom: `1px solid ${(theme.vars || theme).palette.text.primary}`
121
119
  },
@@ -74,7 +74,6 @@ const InputRoot = (0, _styled.default)(_InputBase2.InputBaseRoot, {
74
74
  }),
75
75
  pointerEvents: 'none' // Transparent to the hover style.
76
76
  },
77
-
78
77
  [`&.${_inputClasses.default.focused}:after`]: {
79
78
  // translateX(0) is a workaround for Safari transform scale bug
80
79
  // See https://github.com/mui/material-ui/issues/31766
@@ -98,7 +97,6 @@ const InputRoot = (0, _styled.default)(_InputBase2.InputBaseRoot, {
98
97
  }),
99
98
  pointerEvents: 'none' // Transparent to the hover style.
100
99
  },
101
-
102
100
  [`&:hover:not(.${_inputClasses.default.disabled}, .${_inputClasses.default.error}):before`]: {
103
101
  borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,
104
102
  // Reset on touch devices, it doesn't add specificity
@@ -175,13 +175,11 @@ const InputBaseComponent = exports.InputBaseComponent = (0, _styled.default)('in
175
175
  // IE11
176
176
  '&:focus::-ms-input-placeholder': placeholderVisible // Edge
177
177
  },
178
-
179
178
  [`&.${_inputBaseClasses.default.disabled}`]: {
180
179
  opacity: 1,
181
180
  // Reset iOS opacity
182
181
  WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug
183
182
  },
184
-
185
183
  '&:-webkit-autofill': {
186
184
  animationDuration: '5000s',
187
185
  animationName: 'mui-auto-fill'
@@ -113,11 +113,7 @@ 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
- }), ownerState.variant === 'standard' && {
117
- '&:not(label) + div': {
118
- marginTop: 16
119
- }
120
- }));
116
+ })));
121
117
  const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, ref) {
122
118
  const props = (0, _useThemeProps.default)({
123
119
  name: 'MuiInputLabel',
package/node/Link/Link.js CHANGED
@@ -91,7 +91,6 @@ const LinkRoot = (0, _styled.default)(_Typography.default, {
91
91
  '&::-moz-focus-inner': {
92
92
  borderStyle: 'none' // Remove Firefox dotted outline.
93
93
  },
94
-
95
94
  [`&.${_linkClasses.default.focusVisible}`]: {
96
95
  outline: 'auto'
97
96
  }
@@ -56,7 +56,6 @@ const nativeSelectSelectStyles = ({
56
56
  }, {
57
57
  borderRadius: 0 // Reset Chrome style
58
58
  }),
59
-
60
59
  // Remove IE11 arrow
61
60
  '&::-ms-expand': {
62
61
  display: 'none'
@@ -84,7 +83,6 @@ const nativeSelectSelectStyles = ({
84
83
  '&:focus': {
85
84
  borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style
86
85
  },
87
-
88
86
  '&&&': {
89
87
  paddingRight: 32
90
88
  }
@@ -392,7 +392,6 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
392
392
  'data-value': child.props.value // Instead, we provide it as a data attribute.
393
393
  });
394
394
  });
395
-
396
395
  if (process.env.NODE_ENV !== 'production') {
397
396
  // eslint-disable-next-line react-hooks/rules-of-hooks
398
397
  React.useEffect(() => {
@@ -441,7 +440,6 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
441
440
  const classes = useUtilityClasses(ownerState);
442
441
  const paperProps = (0, _extends2.default)({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
443
442
  const listboxId = (0, _utils.unstable_useId)();
444
- const hiddenInputId = (0, _utils.unstable_useId)();
445
443
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
446
444
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(SelectSelect, (0, _extends2.default)({
447
445
  ref: handleDisplayRef,
@@ -472,7 +470,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
472
470
  })), /*#__PURE__*/(0, _jsxRuntime.jsx)(SelectNativeInput, (0, _extends2.default)({
473
471
  "aria-invalid": error,
474
472
  value: Array.isArray(value) ? value.join(',') : value,
475
- name: name != null ? name : hiddenInputId,
473
+ name: name,
476
474
  ref: inputRef,
477
475
  "aria-hidden": true,
478
476
  onChange: handleChange,
@@ -103,7 +103,6 @@ const TablePaginationSelect = (0, _styled.default)(_Select.default, {
103
103
  textAlignLast: 'right' // Align <select> on Chrome.
104
104
  }
105
105
  });
106
-
107
106
  const TablePaginationMenuItem = (0, _styled.default)(_MenuItem.default, {
108
107
  name: 'MuiTablePagination',
109
108
  slot: 'MenuItem',
@@ -187,7 +186,6 @@ const TablePagination = /*#__PURE__*/React.forwardRef(function TablePagination(i
187
186
  if (component === _TableCell.default || component === 'td') {
188
187
  colSpan = colSpanProp || 1000; // col-span over everything
189
188
  }
190
-
191
189
  const selectId = (0, _useId.default)(selectProps.id);
192
190
  const labelId = (0, _useId.default)(selectProps.labelId);
193
191
  const getLabelDisplayedRowsTo = () => {