@mui/material 6.0.2 → 6.1.1-dev.20240919-130050-82a6448768

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 (272) hide show
  1. package/Accordion/Accordion.d.ts +2 -2
  2. package/Alert/Alert.d.ts +2 -2
  3. package/Alert/Alert.js +4 -3
  4. package/AppBar/AppBar.js +2 -1
  5. package/Autocomplete/Autocomplete.d.ts +8 -6
  6. package/Autocomplete/Autocomplete.js +4 -4
  7. package/Avatar/Avatar.d.ts +1 -1
  8. package/AvatarGroup/AvatarGroup.d.ts +1 -1
  9. package/Backdrop/Backdrop.d.ts +2 -2
  10. package/Backdrop/Backdrop.js +9 -2
  11. package/Badge/Badge.js +2 -1
  12. package/Button/Button.js +2 -1
  13. package/ButtonGroup/ButtonGroup.js +3 -2
  14. package/CHANGELOG.md +141 -15130
  15. package/Checkbox/Checkbox.js +3 -2
  16. package/Chip/Chip.js +6 -5
  17. package/CircularProgress/CircularProgress.js +2 -1
  18. package/ClickAwayListener/ClickAwayListener.js +1 -1
  19. package/Dialog/Dialog.js +1 -0
  20. package/Fab/Fab.js +2 -1
  21. package/FilledInput/FilledInput.js +2 -1
  22. package/FormControl/FormControl.d.ts +4 -4
  23. package/FormControl/FormControl.js +1 -2
  24. package/FormControlLabel/FormControlLabel.d.ts +1 -1
  25. package/FormLabel/FormLabel.js +2 -1
  26. package/Grid/Grid.d.ts +6 -1
  27. package/Grid/Grid.js +0 -1
  28. package/Hidden/withWidth.js +1 -0
  29. package/Icon/Icon.js +3 -2
  30. package/IconButton/IconButton.js +3 -2
  31. package/Input/Input.js +2 -1
  32. package/InputAdornment/InputAdornment.js +1 -1
  33. package/InputBase/InputBase.js +3 -1
  34. package/LinearProgress/LinearProgress.js +6 -5
  35. package/Link/Link.js +2 -1
  36. package/Modal/Modal.d.ts +4 -4
  37. package/Modal/Modal.js +1 -1
  38. package/Modal/ModalManager.js +4 -4
  39. package/NoSsr/NoSsr.d.ts +4 -4
  40. package/NoSsr/NoSsr.js +4 -4
  41. package/OutlinedInput/OutlinedInput.js +2 -1
  42. package/PaginationItem/PaginationItem.d.ts +4 -4
  43. package/PaginationItem/PaginationItem.js +3 -2
  44. package/Popover/Popover.d.ts +2 -2
  45. package/Popover/Popover.js +1 -1
  46. package/Portal/Portal.js +1 -1
  47. package/Radio/Radio.js +19 -3
  48. package/Select/SelectInput.js +2 -0
  49. package/Skeleton/Skeleton.js +5 -3
  50. package/Slider/Slider.js +4 -3
  51. package/Slider/useSlider.js +2 -2
  52. package/SpeedDial/SpeedDial.d.ts +1 -1
  53. package/SpeedDialIcon/SpeedDialIcon.js +1 -1
  54. package/StepButton/StepButton.js +1 -1
  55. package/StepLabel/StepLabel.d.ts +2 -2
  56. package/SwipeableDrawer/SwipeableDrawer.js +1 -0
  57. package/Switch/Switch.js +2 -1
  58. package/TextField/TextField.d.ts +13 -13
  59. package/ToggleButton/ToggleButton.js +2 -1
  60. package/ToggleButtonGroup/isValueSelected.js +1 -1
  61. package/Tooltip/Tooltip.js +6 -3
  62. package/Typography/Typography.js +2 -1
  63. package/Unstable_TrapFocus/FocusTrap.js +1 -1
  64. package/index.d.ts +1 -0
  65. package/index.js +1 -1
  66. package/internal/svg-icons/Add.js +1 -1
  67. package/internal/svg-icons/ArrowDownward.js +1 -1
  68. package/internal/svg-icons/ArrowDropDown.js +1 -1
  69. package/internal/svg-icons/Cancel.js +1 -1
  70. package/internal/svg-icons/CheckBox.js +1 -1
  71. package/internal/svg-icons/CheckBoxOutlineBlank.js +1 -1
  72. package/internal/svg-icons/CheckCircle.js +1 -1
  73. package/internal/svg-icons/Close.js +1 -1
  74. package/internal/svg-icons/ErrorOutline.js +1 -1
  75. package/internal/svg-icons/FirstPage.js +1 -1
  76. package/internal/svg-icons/IndeterminateCheckBox.js +1 -1
  77. package/internal/svg-icons/InfoOutlined.js +1 -1
  78. package/internal/svg-icons/KeyboardArrowLeft.js +1 -1
  79. package/internal/svg-icons/KeyboardArrowRight.js +1 -1
  80. package/internal/svg-icons/LastPage.js +1 -1
  81. package/internal/svg-icons/MoreHoriz.js +1 -1
  82. package/internal/svg-icons/NavigateBefore.js +1 -1
  83. package/internal/svg-icons/NavigateNext.js +1 -1
  84. package/internal/svg-icons/Person.js +1 -1
  85. package/internal/svg-icons/RadioButtonChecked.js +1 -1
  86. package/internal/svg-icons/RadioButtonUnchecked.js +1 -1
  87. package/internal/svg-icons/ReportProblemOutlined.js +1 -1
  88. package/internal/svg-icons/Star.js +1 -1
  89. package/internal/svg-icons/StarBorder.js +1 -1
  90. package/internal/svg-icons/SuccessOutlined.js +1 -1
  91. package/internal/svg-icons/Warning.js +1 -1
  92. package/modern/Alert/Alert.js +4 -3
  93. package/modern/AppBar/AppBar.js +2 -1
  94. package/modern/Autocomplete/Autocomplete.js +4 -4
  95. package/modern/Backdrop/Backdrop.js +9 -2
  96. package/modern/Badge/Badge.js +2 -1
  97. package/modern/Button/Button.js +2 -1
  98. package/modern/ButtonGroup/ButtonGroup.js +3 -2
  99. package/modern/Checkbox/Checkbox.js +3 -2
  100. package/modern/Chip/Chip.js +6 -5
  101. package/modern/CircularProgress/CircularProgress.js +2 -1
  102. package/modern/ClickAwayListener/ClickAwayListener.js +1 -1
  103. package/modern/Dialog/Dialog.js +1 -0
  104. package/modern/Fab/Fab.js +2 -1
  105. package/modern/FilledInput/FilledInput.js +2 -1
  106. package/modern/FormControl/FormControl.js +1 -2
  107. package/modern/FormLabel/FormLabel.js +2 -1
  108. package/modern/Grid/Grid.js +0 -1
  109. package/modern/Hidden/withWidth.js +1 -0
  110. package/modern/Icon/Icon.js +3 -2
  111. package/modern/IconButton/IconButton.js +3 -2
  112. package/modern/Input/Input.js +2 -1
  113. package/modern/InputAdornment/InputAdornment.js +1 -1
  114. package/modern/InputBase/InputBase.js +3 -1
  115. package/modern/LinearProgress/LinearProgress.js +6 -5
  116. package/modern/Link/Link.js +2 -1
  117. package/modern/Modal/Modal.js +1 -1
  118. package/modern/Modal/ModalManager.js +4 -4
  119. package/modern/NoSsr/NoSsr.js +4 -4
  120. package/modern/OutlinedInput/OutlinedInput.js +2 -1
  121. package/modern/PaginationItem/PaginationItem.js +3 -2
  122. package/modern/Popover/Popover.js +1 -1
  123. package/modern/Portal/Portal.js +1 -1
  124. package/modern/Radio/Radio.js +19 -3
  125. package/modern/Select/SelectInput.js +2 -0
  126. package/modern/Skeleton/Skeleton.js +5 -3
  127. package/modern/Slider/Slider.js +4 -3
  128. package/modern/Slider/useSlider.js +2 -2
  129. package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
  130. package/modern/StepButton/StepButton.js +1 -1
  131. package/modern/SwipeableDrawer/SwipeableDrawer.js +1 -0
  132. package/modern/Switch/Switch.js +2 -1
  133. package/modern/ToggleButton/ToggleButton.js +2 -1
  134. package/modern/ToggleButtonGroup/isValueSelected.js +1 -1
  135. package/modern/Tooltip/Tooltip.js +6 -3
  136. package/modern/Typography/Typography.js +2 -1
  137. package/modern/Unstable_TrapFocus/FocusTrap.js +1 -1
  138. package/modern/index.js +1 -1
  139. package/modern/internal/svg-icons/Add.js +1 -1
  140. package/modern/internal/svg-icons/ArrowDownward.js +1 -1
  141. package/modern/internal/svg-icons/ArrowDropDown.js +1 -1
  142. package/modern/internal/svg-icons/Cancel.js +1 -1
  143. package/modern/internal/svg-icons/CheckBox.js +1 -1
  144. package/modern/internal/svg-icons/CheckBoxOutlineBlank.js +1 -1
  145. package/modern/internal/svg-icons/CheckCircle.js +1 -1
  146. package/modern/internal/svg-icons/Close.js +1 -1
  147. package/modern/internal/svg-icons/ErrorOutline.js +1 -1
  148. package/modern/internal/svg-icons/FirstPage.js +1 -1
  149. package/modern/internal/svg-icons/IndeterminateCheckBox.js +1 -1
  150. package/modern/internal/svg-icons/InfoOutlined.js +1 -1
  151. package/modern/internal/svg-icons/KeyboardArrowLeft.js +1 -1
  152. package/modern/internal/svg-icons/KeyboardArrowRight.js +1 -1
  153. package/modern/internal/svg-icons/LastPage.js +1 -1
  154. package/modern/internal/svg-icons/MoreHoriz.js +1 -1
  155. package/modern/internal/svg-icons/NavigateBefore.js +1 -1
  156. package/modern/internal/svg-icons/NavigateNext.js +1 -1
  157. package/modern/internal/svg-icons/Person.js +1 -1
  158. package/modern/internal/svg-icons/RadioButtonChecked.js +1 -1
  159. package/modern/internal/svg-icons/RadioButtonUnchecked.js +1 -1
  160. package/modern/internal/svg-icons/ReportProblemOutlined.js +1 -1
  161. package/modern/internal/svg-icons/Star.js +1 -1
  162. package/modern/internal/svg-icons/StarBorder.js +1 -1
  163. package/modern/internal/svg-icons/SuccessOutlined.js +1 -1
  164. package/modern/internal/svg-icons/Warning.js +1 -1
  165. package/modern/styles/ThemeProviderWithVars.js +5 -3
  166. package/modern/styles/createColorScheme.js +1 -1
  167. package/modern/styles/createGetSelector.js +2 -2
  168. package/modern/styles/excludeVariablesFromRoot.js +1 -1
  169. package/modern/styles/useTheme.js +1 -0
  170. package/modern/useAutocomplete/useAutocomplete.js +2 -2
  171. package/modern/useScrollTrigger/useScrollTrigger.js +1 -0
  172. package/modern/utils/createSimplePaletteValueFilter.js +41 -0
  173. package/modern/utils/createSvgIcon.js +1 -1
  174. package/modern/version/index.js +4 -5
  175. package/node/Alert/Alert.js +4 -3
  176. package/node/AppBar/AppBar.js +2 -1
  177. package/node/Autocomplete/Autocomplete.js +4 -4
  178. package/node/Backdrop/Backdrop.js +9 -2
  179. package/node/Badge/Badge.js +2 -1
  180. package/node/Button/Button.js +2 -1
  181. package/node/ButtonGroup/ButtonGroup.js +3 -2
  182. package/node/Checkbox/Checkbox.js +3 -2
  183. package/node/Chip/Chip.js +6 -5
  184. package/node/CircularProgress/CircularProgress.js +2 -1
  185. package/node/ClickAwayListener/ClickAwayListener.js +1 -1
  186. package/node/Dialog/Dialog.js +1 -0
  187. package/node/Fab/Fab.js +2 -1
  188. package/node/FilledInput/FilledInput.js +2 -1
  189. package/node/FormControl/FormControl.js +1 -2
  190. package/node/FormLabel/FormLabel.js +2 -1
  191. package/node/Grid/Grid.js +0 -1
  192. package/node/Hidden/withWidth.js +1 -0
  193. package/node/Icon/Icon.js +3 -2
  194. package/node/IconButton/IconButton.js +3 -2
  195. package/node/Input/Input.js +2 -1
  196. package/node/InputAdornment/InputAdornment.js +1 -1
  197. package/node/InputBase/InputBase.js +3 -1
  198. package/node/LinearProgress/LinearProgress.js +6 -5
  199. package/node/Link/Link.js +2 -1
  200. package/node/Modal/Modal.js +1 -1
  201. package/node/Modal/ModalManager.js +4 -4
  202. package/node/NoSsr/NoSsr.js +4 -4
  203. package/node/OutlinedInput/OutlinedInput.js +2 -1
  204. package/node/PaginationItem/PaginationItem.js +3 -2
  205. package/node/Popover/Popover.js +1 -1
  206. package/node/Portal/Portal.js +1 -1
  207. package/node/Radio/Radio.js +19 -3
  208. package/node/Select/SelectInput.js +2 -0
  209. package/node/Skeleton/Skeleton.js +5 -3
  210. package/node/Slider/Slider.js +4 -3
  211. package/node/Slider/useSlider.js +2 -2
  212. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
  213. package/node/StepButton/StepButton.js +1 -1
  214. package/node/SwipeableDrawer/SwipeableDrawer.js +1 -0
  215. package/node/Switch/Switch.js +2 -1
  216. package/node/ToggleButton/ToggleButton.js +2 -1
  217. package/node/ToggleButtonGroup/isValueSelected.js +1 -1
  218. package/node/Tooltip/Tooltip.js +6 -3
  219. package/node/Typography/Typography.js +2 -1
  220. package/node/Unstable_TrapFocus/FocusTrap.js +1 -1
  221. package/node/index.js +1 -1
  222. package/node/internal/svg-icons/Add.js +1 -1
  223. package/node/internal/svg-icons/ArrowDownward.js +1 -1
  224. package/node/internal/svg-icons/ArrowDropDown.js +1 -1
  225. package/node/internal/svg-icons/Cancel.js +1 -1
  226. package/node/internal/svg-icons/CheckBox.js +1 -1
  227. package/node/internal/svg-icons/CheckBoxOutlineBlank.js +1 -1
  228. package/node/internal/svg-icons/CheckCircle.js +1 -1
  229. package/node/internal/svg-icons/Close.js +1 -1
  230. package/node/internal/svg-icons/ErrorOutline.js +1 -1
  231. package/node/internal/svg-icons/FirstPage.js +1 -1
  232. package/node/internal/svg-icons/IndeterminateCheckBox.js +1 -1
  233. package/node/internal/svg-icons/InfoOutlined.js +1 -1
  234. package/node/internal/svg-icons/KeyboardArrowLeft.js +1 -1
  235. package/node/internal/svg-icons/KeyboardArrowRight.js +1 -1
  236. package/node/internal/svg-icons/LastPage.js +1 -1
  237. package/node/internal/svg-icons/MoreHoriz.js +1 -1
  238. package/node/internal/svg-icons/NavigateBefore.js +1 -1
  239. package/node/internal/svg-icons/NavigateNext.js +1 -1
  240. package/node/internal/svg-icons/Person.js +1 -1
  241. package/node/internal/svg-icons/RadioButtonChecked.js +1 -1
  242. package/node/internal/svg-icons/RadioButtonUnchecked.js +1 -1
  243. package/node/internal/svg-icons/ReportProblemOutlined.js +1 -1
  244. package/node/internal/svg-icons/Star.js +1 -1
  245. package/node/internal/svg-icons/StarBorder.js +1 -1
  246. package/node/internal/svg-icons/SuccessOutlined.js +1 -1
  247. package/node/internal/svg-icons/Warning.js +1 -1
  248. package/node/styles/ThemeProviderWithVars.js +5 -3
  249. package/node/styles/createColorScheme.js +1 -1
  250. package/node/styles/excludeVariablesFromRoot.js +1 -1
  251. package/node/styles/useTheme.js +1 -0
  252. package/node/useAutocomplete/useAutocomplete.js +2 -2
  253. package/node/useScrollTrigger/useScrollTrigger.js +1 -0
  254. package/node/utils/createSimplePaletteValueFilter.js +47 -0
  255. package/node/utils/createSvgIcon.js +1 -1
  256. package/node/version/index.js +5 -6
  257. package/package.json +8 -8
  258. package/styles/ThemeProviderWithVars.js +5 -3
  259. package/styles/createColorScheme.d.ts +1 -1
  260. package/styles/createColorScheme.js +1 -1
  261. package/styles/createGetSelector.js +2 -2
  262. package/styles/excludeVariablesFromRoot.js +1 -1
  263. package/styles/useTheme.js +1 -0
  264. package/useAutocomplete/useAutocomplete.js +2 -2
  265. package/useScrollTrigger/useScrollTrigger.js +1 -0
  266. package/utils/createSimplePaletteValueFilter.d.ts +12 -0
  267. package/utils/createSimplePaletteValueFilter.js +41 -0
  268. package/utils/createSvgIcon.js +1 -1
  269. package/utils/memoTheme.d.ts +1 -1
  270. package/utils/types.d.ts +1 -1
  271. package/version/index.d.ts +1 -2
  272. package/version/index.js +4 -5
package/Radio/Radio.js CHANGED
@@ -10,11 +10,13 @@ import SwitchBase from "../internal/SwitchBase.js";
10
10
  import RadioButtonIcon from "./RadioButtonIcon.js";
11
11
  import capitalize from "../utils/capitalize.js";
12
12
  import createChainedFunction from "../utils/createChainedFunction.js";
13
+ import useFormControl from "../FormControl/useFormControl.js";
13
14
  import useRadioGroup from "../RadioGroup/useRadioGroup.js";
14
15
  import radioClasses, { getRadioUtilityClass } from "./radioClasses.js";
15
16
  import rootShouldForwardProp from "../styles/rootShouldForwardProp.js";
16
17
  import { styled } from "../zero-styled/index.js";
17
18
  import memoTheme from "../utils/memoTheme.js";
19
+ import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.js";
18
20
  import { useDefaultProps } from "../DefaultPropsProvider/index.js";
19
21
  import { jsx as _jsx } from "react/jsx-runtime";
20
22
  const useUtilityClasses = ownerState => {
@@ -51,6 +53,7 @@ const RadioRoot = styled(SwitchBase, {
51
53
  variants: [{
52
54
  props: {
53
55
  color: 'default',
56
+ disabled: false,
54
57
  disableRipple: false
55
58
  },
56
59
  style: {
@@ -58,9 +61,10 @@ const RadioRoot = styled(SwitchBase, {
58
61
  backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)
59
62
  }
60
63
  }
61
- }, ...Object.entries(theme.palette).filter(([, palette]) => palette && palette.main).map(([color]) => ({
64
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
62
65
  props: {
63
66
  color,
67
+ disabled: false,
64
68
  disableRipple: false
65
69
  },
66
70
  style: {
@@ -68,9 +72,10 @@ const RadioRoot = styled(SwitchBase, {
68
72
  backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)
69
73
  }
70
74
  }
71
- })), ...Object.entries(theme.palette).filter(([, palette]) => palette && palette.main).map(([color]) => ({
75
+ })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
72
76
  props: {
73
- color
77
+ color,
78
+ disabled: false
74
79
  },
75
80
  style: {
76
81
  [`&.${radioClasses.checked}`]: {
@@ -118,11 +123,21 @@ const Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {
118
123
  onChange: onChangeProp,
119
124
  size = 'medium',
120
125
  className,
126
+ disabled: disabledProp,
121
127
  disableRipple = false,
122
128
  ...other
123
129
  } = props;
130
+ const muiFormControl = useFormControl();
131
+ let disabled = disabledProp;
132
+ if (muiFormControl) {
133
+ if (typeof disabled === 'undefined') {
134
+ disabled = muiFormControl.disabled;
135
+ }
136
+ }
137
+ disabled ??= false;
124
138
  const ownerState = {
125
139
  ...props,
140
+ disabled,
126
141
  disableRipple,
127
142
  color,
128
143
  size
@@ -148,6 +163,7 @@ const Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {
148
163
  checkedIcon: /*#__PURE__*/React.cloneElement(checkedIcon, {
149
164
  fontSize: defaultCheckedIcon.props.fontSize ?? size
150
165
  }),
166
+ disabled: disabled,
151
167
  ownerState: ownerState,
152
168
  classes: classes,
153
169
  name: name,
@@ -180,6 +180,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
180
180
  setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);
181
181
  displayRef.current.focus();
182
182
  }
183
+ // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
183
184
  // eslint-disable-next-line react-hooks/exhaustive-deps
184
185
  }, [displayNode, autoWidth]);
185
186
  // `isOpenControlled` is ignored because the component should never switch between controlled and uncontrolled modes.
@@ -383,6 +384,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
383
384
  });
384
385
  });
385
386
  if (process.env.NODE_ENV !== 'production') {
387
+ // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
386
388
  // eslint-disable-next-line react-hooks/rules-of-hooks
387
389
  React.useEffect(() => {
388
390
  if (!foundMatch && !multiple && value !== '') {
@@ -59,7 +59,9 @@ const pulseAnimation = typeof pulseKeyframe !== 'string' ? css`
59
59
  animation: ${pulseKeyframe} 2s ease-in-out 0.5s infinite;
60
60
  ` : null;
61
61
  const waveAnimation = typeof waveKeyframe !== 'string' ? css`
62
- animation: ${waveKeyframe} 2s linear 0.5s infinite;
62
+ &::after {
63
+ animation: ${waveKeyframe} 2s linear 0.5s infinite;
64
+ }
63
65
  ` : null;
64
66
  const SkeletonRoot = styled('span', {
65
67
  name: 'MuiSkeleton',
@@ -168,8 +170,8 @@ const SkeletonRoot = styled('span', {
168
170
  props: {
169
171
  animation: 'wave'
170
172
  },
171
- style: {
172
- '&::after': waveAnimation || {
173
+ style: waveAnimation || {
174
+ '&::after': {
173
175
  animation: `${waveKeyframe} 2s linear 0.5s infinite`
174
176
  }
175
177
  }
package/Slider/Slider.js CHANGED
@@ -16,6 +16,7 @@ import { useDefaultProps } from "../DefaultPropsProvider/index.js";
16
16
  import slotShouldForwardProp from "../styles/slotShouldForwardProp.js";
17
17
  import shouldSpreadAdditionalProps from "../utils/shouldSpreadAdditionalProps.js";
18
18
  import capitalize from "../utils/capitalize.js";
19
+ import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.js";
19
20
  import BaseSliderValueLabel from "./SliderValueLabel.js";
20
21
  import sliderClasses, { getSliderUtilityClass } from "./sliderClasses.js";
21
22
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
@@ -54,7 +55,7 @@ export const SliderRoot = styled('span', {
54
55
  transition: 'none'
55
56
  }
56
57
  },
57
- variants: [...Object.entries(theme.palette).filter(([, palette]) => palette && palette.main).map(([color]) => ({
58
+ variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
58
59
  props: {
59
60
  color
60
61
  },
@@ -210,7 +211,7 @@ export const SliderTrack = styled('span', {
210
211
  style: {
211
212
  display: 'none'
212
213
  }
213
- }, ...Object.entries(theme.palette).filter(([, palette]) => palette && palette.main).map(([color]) => ({
214
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
214
215
  props: {
215
216
  color,
216
217
  track: 'inverted'
@@ -309,7 +310,7 @@ export const SliderThumb = styled('span', {
309
310
  left: '50%',
310
311
  transform: 'translate(-50%, 50%)'
311
312
  }
312
- }, ...Object.entries(theme.palette).filter(([, palette]) => palette && palette.main).map(([color]) => ({
313
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
313
314
  props: {
314
315
  color
315
316
  },
@@ -337,12 +337,12 @@ export function useSlider(parameters) {
337
337
  left
338
338
  } = slider.getBoundingClientRect();
339
339
  let percent;
340
- if (axis.indexOf('vertical') === 0) {
340
+ if (axis.startsWith('vertical')) {
341
341
  percent = (bottom - finger.y) / height;
342
342
  } else {
343
343
  percent = (finger.x - left) / width;
344
344
  }
345
- if (axis.indexOf('-reverse') !== -1) {
345
+ if (axis.includes('-reverse')) {
346
346
  percent = 1 - percent;
347
347
  }
348
348
  let newValue;
@@ -16,7 +16,7 @@ export interface SpeedDialSlots {
16
16
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
17
17
  * @default {}
18
18
  */
19
- transition?: React.JSXElementConstructor<
19
+ transition: React.JSXElementConstructor<
20
20
  TransitionProps & { children: React.ReactElement<unknown, any> }
21
21
  >;
22
22
  }
@@ -104,7 +104,7 @@ const SpeedDialIcon = /*#__PURE__*/React.forwardRef(function SpeedDialIcon(inPro
104
104
  const ownerState = props;
105
105
  const classes = useUtilityClasses(ownerState);
106
106
  function formatIcon(icon, newClassName) {
107
- if ( /*#__PURE__*/React.isValidElement(icon)) {
107
+ if (/*#__PURE__*/React.isValidElement(icon)) {
108
108
  return /*#__PURE__*/React.cloneElement(icon, {
109
109
  className: newClassName
110
110
  });
@@ -82,7 +82,7 @@ const StepButton = /*#__PURE__*/React.forwardRef(function StepButton(inProps, re
82
82
  icon,
83
83
  optional
84
84
  };
85
- const child = isMuiElement(children, ['StepLabel']) ? ( /*#__PURE__*/React.cloneElement(children, childProps)) : /*#__PURE__*/_jsx(StepLabel, {
85
+ const child = isMuiElement(children, ['StepLabel']) ? (/*#__PURE__*/React.cloneElement(children, childProps)) : /*#__PURE__*/_jsx(StepLabel, {
86
86
  ...childProps,
87
87
  children: children
88
88
  });
@@ -11,11 +11,11 @@ export interface StepLabelSlots {
11
11
  * The component that renders the label.
12
12
  * @default span
13
13
  */
14
- label?: React.ElementType;
14
+ label: React.ElementType;
15
15
  /**
16
16
  * The component to render in place of the [`StepIcon`](https://mui.com/material-ui/api/step-icon/).
17
17
  */
18
- stepIcon?: React.ElementType<StepIconProps>;
18
+ stepIcon: React.ElementType<StepIconProps>;
19
19
  }
20
20
 
21
21
  export type StepLabelSlotsAndSlotProps = CreateSlotsAndSlotProps<
@@ -203,6 +203,7 @@ const SwipeableDrawer = /*#__PURE__*/React.forwardRef(function SwipeableDrawer(i
203
203
  if (!touchDetected.current) {
204
204
  return;
205
205
  }
206
+ // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- claimedSwipeInstance is a singleton
206
207
  claimedSwipeInstance = null;
207
208
  touchDetected.current = false;
208
209
  ReactDOM.flushSync(() => {
package/Switch/Switch.js CHANGED
@@ -8,6 +8,7 @@ import refType from '@mui/utils/refType';
8
8
  import composeClasses from '@mui/utils/composeClasses';
9
9
  import { alpha, darken, lighten } from '@mui/system/colorManipulator';
10
10
  import capitalize from "../utils/capitalize.js";
11
+ import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.js";
11
12
  import SwitchBase from "../internal/SwitchBase.js";
12
13
  import { styled } from "../zero-styled/index.js";
13
14
  import memoTheme from "../utils/memoTheme.js";
@@ -146,7 +147,7 @@ const SwitchSwitchBase = styled(SwitchBase, {
146
147
  backgroundColor: 'transparent'
147
148
  }
148
149
  },
149
- variants: [...Object.entries(theme.palette).filter(([, value]) => value && value.main && value.light) // check all the used fields in the style below
150
+ variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['light'])) // check all the used fields in the style below
150
151
  .map(([color]) => ({
151
152
  props: {
152
153
  color
@@ -22,27 +22,27 @@ export interface TextFieldSlots {
22
22
  * The component that renders the input.
23
23
  * @default OutlinedInput
24
24
  */
25
- input?: React.ElementType;
25
+ input: React.ElementType;
26
26
  /**
27
27
  * The component that renders the input's label.
28
28
  * @default InputLabel
29
29
  */
30
- inputLabel?: React.ElementType;
30
+ inputLabel: React.ElementType;
31
31
  /**
32
32
  * The html input element.
33
33
  * @default 'input'
34
34
  */
35
- htmlInput?: React.ElementType;
35
+ htmlInput: React.ElementType;
36
36
  /**
37
37
  * The component that renders the helper text.
38
38
  * @default FormHelperText
39
39
  */
40
- formHelperText?: React.ElementType;
40
+ formHelperText: React.ElementType;
41
41
  /**
42
42
  * The component that renders the select.
43
43
  * @default Select
44
44
  */
45
- select?: React.ElementType;
45
+ select: React.ElementType;
46
46
  }
47
47
 
48
48
  export type TextFieldSlotsAndSlotProps<InputPropsType> = CreateSlotsAndSlotProps<
@@ -299,12 +299,12 @@ export type TextFieldOwnerState = BaseTextFieldProps;
299
299
  * It's important to understand that the text field is a simple abstraction
300
300
  * on top of the following components:
301
301
  *
302
- * * [FormControl](https://mui.com/material-ui/api/form-control/)
303
- * * [InputLabel](https://mui.com/material-ui/api/input-label/)
304
- * * [FilledInput](https://mui.com/material-ui/api/filled-input/)
305
- * * [OutlinedInput](https://mui.com/material-ui/api/outlined-input/)
306
- * * [Input](https://mui.com/material-ui/api/input/)
307
- * * [FormHelperText](https://mui.com/material-ui/api/form-helper-text/)
302
+ * * [FormControl](https://mui.com/material-ui/api/form-control/)
303
+ * * [InputLabel](https://mui.com/material-ui/api/input-label/)
304
+ * * [FilledInput](https://mui.com/material-ui/api/filled-input/)
305
+ * * [OutlinedInput](https://mui.com/material-ui/api/outlined-input/)
306
+ * * [Input](https://mui.com/material-ui/api/input/)
307
+ * * [FormHelperText](https://mui.com/material-ui/api/form-helper-text/)
308
308
  *
309
309
  * If you wish to alter the props applied to the `input` element, you can do so as follows:
310
310
  *
@@ -319,8 +319,8 @@ export type TextFieldOwnerState = BaseTextFieldProps;
319
319
  * For advanced cases, please look at the source of TextField by clicking on the
320
320
  * "Edit this page" button above. Consider either:
321
321
  *
322
- * * using the upper case props for passing values directly to the components
323
- * * using the underlying components directly as shown in the demos
322
+ * * using the upper case props for passing values directly to the components
323
+ * * using the underlying components directly as shown in the demos
324
324
  *
325
325
  * Demos:
326
326
  *
@@ -11,6 +11,7 @@ import ButtonBase from "../ButtonBase/index.js";
11
11
  import capitalize from "../utils/capitalize.js";
12
12
  import { styled } from "../zero-styled/index.js";
13
13
  import memoTheme from "../utils/memoTheme.js";
14
+ import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.js";
14
15
  import { useDefaultProps } from "../DefaultPropsProvider/index.js";
15
16
  import toggleButtonClasses, { getToggleButtonUtilityClass } from "./toggleButtonClasses.js";
16
17
  import ToggleButtonGroupContext from "../ToggleButtonGroup/ToggleButtonGroupContext.js";
@@ -77,7 +78,7 @@ const ToggleButtonRoot = styled(ButtonBase, {
77
78
  }
78
79
  }
79
80
  }
80
- }, ...Object.entries(theme.palette).filter(([, palette]) => palette && palette.main).map(([color]) => ({
81
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
81
82
  props: {
82
83
  color
83
84
  },
@@ -5,7 +5,7 @@ export default function isValueSelected(value, candidate) {
5
5
  return false;
6
6
  }
7
7
  if (Array.isArray(candidate)) {
8
- return candidate.indexOf(value) >= 0;
8
+ return candidate.includes(value);
9
9
  }
10
10
  return value === candidate;
11
11
  }
@@ -369,12 +369,14 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
369
369
  });
370
370
  let open = openState;
371
371
  if (process.env.NODE_ENV !== 'production') {
372
- // eslint-disable-next-line react-hooks/rules-of-hooks
372
+ // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
373
+ // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes
373
374
  const {
374
375
  current: isControlled
375
376
  } = React.useRef(openProp !== undefined);
376
377
 
377
- // eslint-disable-next-line react-hooks/rules-of-hooks
378
+ // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
379
+ // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes
378
380
  React.useEffect(() => {
379
381
  if (childNode && childNode.disabled && !isControlled && title !== '' && childNode.tagName.toLowerCase() === 'button') {
380
382
  console.error(['MUI: You are providing a disabled `button` child to the Tooltip component.', 'A disabled element does not fire events.', "Tooltip needs to listen to the child element's events to display the title.", '', 'Add a simple wrapper element, such as a `span`.'].join('\n'));
@@ -556,7 +558,8 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
556
558
  if (process.env.NODE_ENV !== 'production') {
557
559
  childrenProps['data-mui-internal-clone-element'] = true;
558
560
 
559
- // eslint-disable-next-line react-hooks/rules-of-hooks
561
+ // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
562
+ // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes
560
563
  React.useEffect(() => {
561
564
  if (childNode && !childNode.getAttribute('data-mui-internal-clone-element')) {
562
565
  console.error(['MUI: The `children` component of the Tooltip is not forwarding its props correctly.', 'Please make sure that props are spread on the same element that the ref is applied to.'].join('\n'));
@@ -8,6 +8,7 @@ import { styled, internal_createExtendSxProp } from "../zero-styled/index.js";
8
8
  import memoTheme from "../utils/memoTheme.js";
9
9
  import { useDefaultProps } from "../DefaultPropsProvider/index.js";
10
10
  import capitalize from "../utils/capitalize.js";
11
+ import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.js";
11
12
  import { getTypographyUtilityClass } from "./typographyClasses.js";
12
13
  import { jsx as _jsx } from "react/jsx-runtime";
13
14
  const v6Colors = {
@@ -64,7 +65,7 @@ export const TypographyRoot = styled('span', {
64
65
  variant
65
66
  },
66
67
  style: value
67
- })), ...Object.entries(theme.palette).filter(([, value]) => value && value.main).map(([color]) => ({
68
+ })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
68
69
  props: {
69
70
  color
70
71
  },
@@ -14,7 +14,7 @@ function getTabIndex(node) {
14
14
  }
15
15
 
16
16
  // Browsers do not return `tabIndex` correctly for contentEditable nodes;
17
- // https://bugs.chromium.org/p/chromium/issues/detail?id=661108&q=contenteditable%20tabindex&can=2
17
+ // https://issues.chromium.org/issues/41283952
18
18
  // so if they don't have a tabindex attribute specifically set, assume it's 0.
19
19
  // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
20
20
  // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
package/index.d.ts CHANGED
@@ -204,6 +204,7 @@ export { default as FormLabel } from './FormLabel';
204
204
  export * from './FormLabel';
205
205
 
206
206
  export { default as Grid } from './Grid';
207
+ export { GridProps, GridTypeMap } from './Grid';
207
208
 
208
209
  export { default as Grid2 } from './Grid2';
209
210
  export * from './Grid2';
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v6.0.2
2
+ * @mui/material v6.1.1-dev.20240919-130050-82a6448768
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -7,6 +7,6 @@ import { createSvgIcon } from "../../utils/index.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
12
12
  }), 'Add');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
12
12
  }), 'ArrowDownward');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M7 10l5 5 5-5z"
12
12
  }), 'ArrowDropDown');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
12
12
  }), 'Cancel');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
12
12
  }), 'CheckBox');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
12
12
  }), 'CheckBoxOutlineBlank');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"
12
12
  }), 'CheckCircle');
@@ -9,6 +9,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
9
9
  * Alias to `Clear`.
10
10
  */
11
11
  import { jsx as _jsx } from "react/jsx-runtime";
12
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
12
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
13
13
  d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
14
14
  }), 'Close');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
12
12
  }), 'ErrorOutline');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
12
12
  }), 'FirstPage');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
12
12
  }), 'IndeterminateCheckBox');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"
12
12
  }), 'InfoOutlined');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
12
12
  }), 'KeyboardArrowLeft');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
12
12
  }), 'KeyboardArrowRight');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
12
12
  }), 'LastPage');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
12
12
  }), 'MoreHoriz');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
12
12
  }), 'NavigateBefore');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
12
12
  }), 'NavigateNext');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
12
12
  }), 'Person');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
12
12
  }), 'RadioButtonChecked');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
12
12
  }), 'RadioButtonUnchecked');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
12
12
  }), 'ReportProblemOutlined');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"
12
12
  }), 'Star');
@@ -7,6 +7,6 @@ import createSvgIcon from "../../utils/createSvgIcon.js";
7
7
  * @ignore - internal component.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export default createSvgIcon( /*#__PURE__*/_jsx("path", {
10
+ export default createSvgIcon(/*#__PURE__*/_jsx("path", {
11
11
  d: "M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"
12
12
  }), 'StarBorder');