@mui/material 5.15.14 → 5.15.15

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.
@@ -601,7 +601,7 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
601
601
  }))
602
602
  }));
603
603
  let autocompletePopper = null;
604
- if (!loading && groupedOptions.length > 0) {
604
+ if (groupedOptions.length > 0) {
605
605
  autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/_jsx(AutocompleteListbox, _extends({
606
606
  as: ListboxComponent,
607
607
  className: classes.listbox,
package/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v5.15.15
4
+
5
+ <!-- generated comparing v5.15.14..master -->
6
+
7
+ _Apr 4, 2024_
8
+
9
+ A big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
10
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
11
+
12
+ ### `@mui/material@5.15.15`
13
+
14
+ - [Autocomplete] Display options provided to the `options` prop even if loading is true (#41677) @ZeeshanTamboli
15
+ - [RadioGroup] Apply classnames (#41681) @ZeeshanTamboli
16
+
17
+ ### `@mui/system@5.15.15`
18
+
19
+ - Fix typo to avoid infinite recursion in function call (#41678) @ZeeshanTamboli
20
+
21
+ ### Docs
22
+
23
+ - [material-ui][Slider] Remove `valueLabelFormat` from restricted values demo so that the tooltip thumb label displays the same as the value text (#41679) @ZeeshanTamboli
24
+ - [material-ui] Remove deleted page from the sidenav (#41594) @danilo-leal
25
+ - [material-ui] Fix typo in CSS theme variables customization (#41680) @ZeeshanTamboli
26
+ - Continue migration of Base UI to sperate repository @oliviertassinari
27
+ - Add notification for MUI X v7 blog post (#41587) (#41605) @cherniavskii
28
+ - Update the versions dropdown to show v6 (#41557) @mnajdova
29
+
30
+ ### Core
31
+
32
+ - [blog] Link to Romain's blog post in MUI X v7 announcement post (#41641) @cherniavskii
33
+ - [blog] Blog post with MUI X v7.0.0 annoucement (#41563) (#41604) @cherniavskii
34
+ - [blog] Add post about remote (#41565) @danilo-leal
35
+ - [core] Continue rename of Toolpad @oliviertassinari
36
+ - [docs-infra] Add Toolpad product/category IDs to types (#41551) @bharatkashyap
37
+ - [website] Add Aarón to About Us (#41747) @aarongarciah
38
+ - [website] Add stray design adjustments throughout the site (#41642) @mnajdova
39
+ - [website] Update pricing table (#41606) @cherniavskii
40
+
41
+ All contributors of this release in alphabetical order: @aarongarciah, @bharatkashyap, @cherniavskii, @danilo-leal, @mnajdova, @oliviertassinari, @ZeeshanTamboli
42
+
3
43
  ## v5.15.14
4
44
 
5
45
  <!-- generated comparing v5.15.13..master -->
@@ -25,8 +25,6 @@ export interface RadioGroupProps extends Omit<FormGroupProps, 'onChange'> {
25
25
  value?: any;
26
26
  }
27
27
 
28
- export type RadioGroupClassKey = keyof NonNullable<RadioGroupProps['classes']>;
29
-
30
28
  /**
31
29
  *
32
30
  * Demos:
@@ -2,21 +2,36 @@
2
2
 
3
3
  import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
- const _excluded = ["actions", "children", "defaultValue", "name", "onChange", "value"];
5
+ const _excluded = ["actions", "children", "className", "defaultValue", "name", "onChange", "value"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
+ import clsx from 'clsx';
9
+ import composeClasses from '@mui/utils/composeClasses';
8
10
  import FormGroup from '../FormGroup';
11
+ import { getRadioGroupUtilityClass } from './radioGroupClasses';
9
12
  import useForkRef from '../utils/useForkRef';
10
13
  import useControlled from '../utils/useControlled';
11
14
  import RadioGroupContext from './RadioGroupContext';
12
15
  import useId from '../utils/useId';
13
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
+ const useUtilityClasses = props => {
18
+ const {
19
+ classes,
20
+ row,
21
+ error
22
+ } = props;
23
+ const slots = {
24
+ root: ['root', row && 'row', error && 'error']
25
+ };
26
+ return composeClasses(slots, getRadioGroupUtilityClass, classes);
27
+ };
14
28
  const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref) {
15
29
  const {
16
30
  // private
17
31
  // eslint-disable-next-line react/prop-types
18
32
  actions,
19
33
  children,
34
+ className,
20
35
  defaultValue,
21
36
  name: nameProp,
22
37
  onChange,
@@ -24,6 +39,7 @@ const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref)
24
39
  } = props,
25
40
  other = _objectWithoutPropertiesLoose(props, _excluded);
26
41
  const rootRef = React.useRef(null);
42
+ const classes = useUtilityClasses(props);
27
43
  const [value, setValueState] = useControlled({
28
44
  controlled: valueProp,
29
45
  default: defaultValue,
@@ -56,7 +72,8 @@ const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref)
56
72
  value: contextValue,
57
73
  children: /*#__PURE__*/_jsx(FormGroup, _extends({
58
74
  role: "radiogroup",
59
- ref: handleRef
75
+ ref: handleRef,
76
+ className: clsx(classes.root, className)
60
77
  }, other, {
61
78
  children: children
62
79
  }))
@@ -71,6 +88,10 @@ process.env.NODE_ENV !== "production" ? RadioGroup.propTypes /* remove-proptypes
71
88
  * The content of the component.
72
89
  */
73
90
  children: PropTypes.node,
91
+ /**
92
+ * @ignore
93
+ */
94
+ className: PropTypes.string,
74
95
  /**
75
96
  * The default value. Use when the component is not controlled.
76
97
  */
@@ -2,3 +2,6 @@ export { default } from './RadioGroup';
2
2
  export * from './RadioGroup';
3
3
 
4
4
  export { default as useRadioGroup, RadioGroupState } from './useRadioGroup';
5
+
6
+ export { default as radioGroupClasses } from './radioGroupClasses';
7
+ export * from './radioGroupClasses';
@@ -1,4 +1,6 @@
1
1
  'use client';
2
2
 
3
3
  export { default } from './RadioGroup';
4
- export { default as useRadioGroup } from './useRadioGroup';
4
+ export { default as useRadioGroup } from './useRadioGroup';
5
+ export { default as radioGroupClasses } from './radioGroupClasses';
6
+ export * from './radioGroupClasses';
@@ -0,0 +1,6 @@
1
+ import { FormGroupClasses } from '../FormGroup';
2
+ export type RadioGroupClassKey = keyof FormGroupClasses;
3
+ export type RadioGroupClasses = FormGroupClasses;
4
+ export declare function getRadioGroupUtilityClass(slot: string): string;
5
+ declare const radioGroupClasses: RadioGroupClasses;
6
+ export default radioGroupClasses;
@@ -0,0 +1,7 @@
1
+ import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
2
+ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
+ export function getRadioGroupUtilityClass(slot) {
4
+ return generateUtilityClass('MuiRadioGroup', slot);
5
+ }
6
+ const radioGroupClasses = generateUtilityClasses('MuiRadioGroup', ['root', 'row', 'error']);
7
+ export default radioGroupClasses;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.14
2
+ * @mui/material v5.15.15
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -608,7 +608,7 @@ var Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps,
608
608
  }));
609
609
  };
610
610
  var autocompletePopper = null;
611
- if (!loading && groupedOptions.length > 0) {
611
+ if (groupedOptions.length > 0) {
612
612
  autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/_jsx(AutocompleteListbox, _extends({
613
613
  as: ListboxComponent,
614
614
  className: classes.listbox,
@@ -5,21 +5,35 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
5
5
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
+ import clsx from 'clsx';
9
+ import composeClasses from '@mui/utils/composeClasses';
8
10
  import FormGroup from '../FormGroup';
11
+ import { getRadioGroupUtilityClass } from './radioGroupClasses';
9
12
  import useForkRef from '../utils/useForkRef';
10
13
  import useControlled from '../utils/useControlled';
11
14
  import RadioGroupContext from './RadioGroupContext';
12
15
  import useId from '../utils/useId';
13
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
+ var useUtilityClasses = function useUtilityClasses(props) {
18
+ var classes = props.classes,
19
+ row = props.row,
20
+ error = props.error;
21
+ var slots = {
22
+ root: ['root', row && 'row', error && 'error']
23
+ };
24
+ return composeClasses(slots, getRadioGroupUtilityClass, classes);
25
+ };
14
26
  var RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref) {
15
27
  var actions = props.actions,
16
28
  children = props.children,
29
+ className = props.className,
17
30
  defaultValue = props.defaultValue,
18
31
  nameProp = props.name,
19
32
  _onChange = props.onChange,
20
33
  valueProp = props.value,
21
- other = _objectWithoutProperties(props, ["actions", "children", "defaultValue", "name", "onChange", "value"]);
34
+ other = _objectWithoutProperties(props, ["actions", "children", "className", "defaultValue", "name", "onChange", "value"]);
22
35
  var rootRef = React.useRef(null);
36
+ var classes = useUtilityClasses(props);
23
37
  var _useControlled = useControlled({
24
38
  controlled: valueProp,
25
39
  default: defaultValue,
@@ -59,7 +73,8 @@ var RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref) {
59
73
  value: contextValue,
60
74
  children: /*#__PURE__*/_jsx(FormGroup, _extends({
61
75
  role: "radiogroup",
62
- ref: handleRef
76
+ ref: handleRef,
77
+ className: clsx(classes.root, className)
63
78
  }, other, {
64
79
  children: children
65
80
  }))
@@ -74,6 +89,10 @@ process.env.NODE_ENV !== "production" ? RadioGroup.propTypes /* remove-proptypes
74
89
  * The content of the component.
75
90
  */
76
91
  children: PropTypes.node,
92
+ /**
93
+ * @ignore
94
+ */
95
+ className: PropTypes.string,
77
96
  /**
78
97
  * The default value. Use when the component is not controlled.
79
98
  */
@@ -1,4 +1,6 @@
1
1
  'use client';
2
2
 
3
3
  export { default } from './RadioGroup';
4
- export { default as useRadioGroup } from './useRadioGroup';
4
+ export { default as useRadioGroup } from './useRadioGroup';
5
+ export { default as radioGroupClasses } from './radioGroupClasses';
6
+ export * from './radioGroupClasses';
@@ -0,0 +1,7 @@
1
+ import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
2
+ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
+ export function getRadioGroupUtilityClass(slot) {
4
+ return generateUtilityClass('MuiRadioGroup', slot);
5
+ }
6
+ var radioGroupClasses = generateUtilityClasses('MuiRadioGroup', ['root', 'row', 'error']);
7
+ export default radioGroupClasses;
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.14
2
+ * @mui/material v5.15.15
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -597,7 +597,7 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
597
597
  }))
598
598
  }));
599
599
  let autocompletePopper = null;
600
- if (!loading && groupedOptions.length > 0) {
600
+ if (groupedOptions.length > 0) {
601
601
  autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/_jsx(AutocompleteListbox, _extends({
602
602
  as: ListboxComponent,
603
603
  className: classes.listbox,
@@ -2,21 +2,36 @@
2
2
 
3
3
  import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
- const _excluded = ["actions", "children", "defaultValue", "name", "onChange", "value"];
5
+ const _excluded = ["actions", "children", "className", "defaultValue", "name", "onChange", "value"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
+ import clsx from 'clsx';
9
+ import composeClasses from '@mui/utils/composeClasses';
8
10
  import FormGroup from '../FormGroup';
11
+ import { getRadioGroupUtilityClass } from './radioGroupClasses';
9
12
  import useForkRef from '../utils/useForkRef';
10
13
  import useControlled from '../utils/useControlled';
11
14
  import RadioGroupContext from './RadioGroupContext';
12
15
  import useId from '../utils/useId';
13
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
+ const useUtilityClasses = props => {
18
+ const {
19
+ classes,
20
+ row,
21
+ error
22
+ } = props;
23
+ const slots = {
24
+ root: ['root', row && 'row', error && 'error']
25
+ };
26
+ return composeClasses(slots, getRadioGroupUtilityClass, classes);
27
+ };
14
28
  const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref) {
15
29
  const {
16
30
  // private
17
31
  // eslint-disable-next-line react/prop-types
18
32
  actions,
19
33
  children,
34
+ className,
20
35
  defaultValue,
21
36
  name: nameProp,
22
37
  onChange,
@@ -24,6 +39,7 @@ const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref)
24
39
  } = props,
25
40
  other = _objectWithoutPropertiesLoose(props, _excluded);
26
41
  const rootRef = React.useRef(null);
42
+ const classes = useUtilityClasses(props);
27
43
  const [value, setValueState] = useControlled({
28
44
  controlled: valueProp,
29
45
  default: defaultValue,
@@ -56,7 +72,8 @@ const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref)
56
72
  value: contextValue,
57
73
  children: /*#__PURE__*/_jsx(FormGroup, _extends({
58
74
  role: "radiogroup",
59
- ref: handleRef
75
+ ref: handleRef,
76
+ className: clsx(classes.root, className)
60
77
  }, other, {
61
78
  children: children
62
79
  }))
@@ -71,6 +88,10 @@ process.env.NODE_ENV !== "production" ? RadioGroup.propTypes /* remove-proptypes
71
88
  * The content of the component.
72
89
  */
73
90
  children: PropTypes.node,
91
+ /**
92
+ * @ignore
93
+ */
94
+ className: PropTypes.string,
74
95
  /**
75
96
  * The default value. Use when the component is not controlled.
76
97
  */
@@ -1,4 +1,6 @@
1
1
  'use client';
2
2
 
3
3
  export { default } from './RadioGroup';
4
- export { default as useRadioGroup } from './useRadioGroup';
4
+ export { default as useRadioGroup } from './useRadioGroup';
5
+ export { default as radioGroupClasses } from './radioGroupClasses';
6
+ export * from './radioGroupClasses';
@@ -0,0 +1,7 @@
1
+ import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
2
+ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
+ export function getRadioGroupUtilityClass(slot) {
4
+ return generateUtilityClass('MuiRadioGroup', slot);
5
+ }
6
+ const radioGroupClasses = generateUtilityClasses('MuiRadioGroup', ['root', 'row', 'error']);
7
+ export default radioGroupClasses;
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.14
2
+ * @mui/material v5.15.15
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -613,7 +613,7 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
613
613
  }))
614
614
  }));
615
615
  let autocompletePopper = null;
616
- if (!loading && groupedOptions.length > 0) {
616
+ if (groupedOptions.length > 0) {
617
617
  autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/(0, _jsxRuntime.jsx)(AutocompleteListbox, (0, _extends2.default)({
618
618
  as: ListboxComponent,
619
619
  className: classes.listbox,
@@ -10,21 +10,36 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
10
10
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
+ var _clsx = _interopRequireDefault(require("clsx"));
14
+ var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
13
15
  var _FormGroup = _interopRequireDefault(require("../FormGroup"));
16
+ var _radioGroupClasses = require("./radioGroupClasses");
14
17
  var _useForkRef = _interopRequireDefault(require("../utils/useForkRef"));
15
18
  var _useControlled = _interopRequireDefault(require("../utils/useControlled"));
16
19
  var _RadioGroupContext = _interopRequireDefault(require("./RadioGroupContext"));
17
20
  var _useId = _interopRequireDefault(require("../utils/useId"));
18
21
  var _jsxRuntime = require("react/jsx-runtime");
19
- const _excluded = ["actions", "children", "defaultValue", "name", "onChange", "value"];
22
+ const _excluded = ["actions", "children", "className", "defaultValue", "name", "onChange", "value"];
20
23
  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); }
21
24
  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; }
25
+ const useUtilityClasses = props => {
26
+ const {
27
+ classes,
28
+ row,
29
+ error
30
+ } = props;
31
+ const slots = {
32
+ root: ['root', row && 'row', error && 'error']
33
+ };
34
+ return (0, _composeClasses.default)(slots, _radioGroupClasses.getRadioGroupUtilityClass, classes);
35
+ };
22
36
  const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref) {
23
37
  const {
24
38
  // private
25
39
  // eslint-disable-next-line react/prop-types
26
40
  actions,
27
41
  children,
42
+ className,
28
43
  defaultValue,
29
44
  name: nameProp,
30
45
  onChange,
@@ -32,6 +47,7 @@ const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref)
32
47
  } = props,
33
48
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
34
49
  const rootRef = React.useRef(null);
50
+ const classes = useUtilityClasses(props);
35
51
  const [value, setValueState] = (0, _useControlled.default)({
36
52
  controlled: valueProp,
37
53
  default: defaultValue,
@@ -64,7 +80,8 @@ const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref)
64
80
  value: contextValue,
65
81
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_FormGroup.default, (0, _extends2.default)({
66
82
  role: "radiogroup",
67
- ref: handleRef
83
+ ref: handleRef,
84
+ className: (0, _clsx.default)(classes.root, className)
68
85
  }, other, {
69
86
  children: children
70
87
  }))
@@ -79,6 +96,10 @@ process.env.NODE_ENV !== "production" ? RadioGroup.propTypes /* remove-proptypes
79
96
  * The content of the component.
80
97
  */
81
98
  children: _propTypes.default.node,
99
+ /**
100
+ * @ignore
101
+ */
102
+ className: _propTypes.default.string,
82
103
  /**
83
104
  * The default value. Use when the component is not controlled.
84
105
  */
@@ -5,12 +5,22 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
+ var _exportNames = {
9
+ useRadioGroup: true,
10
+ radioGroupClasses: true
11
+ };
8
12
  Object.defineProperty(exports, "default", {
9
13
  enumerable: true,
10
14
  get: function () {
11
15
  return _RadioGroup.default;
12
16
  }
13
17
  });
18
+ Object.defineProperty(exports, "radioGroupClasses", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _radioGroupClasses.default;
22
+ }
23
+ });
14
24
  Object.defineProperty(exports, "useRadioGroup", {
15
25
  enumerable: true,
16
26
  get: function () {
@@ -18,4 +28,18 @@ Object.defineProperty(exports, "useRadioGroup", {
18
28
  }
19
29
  });
20
30
  var _RadioGroup = _interopRequireDefault(require("./RadioGroup"));
21
- var _useRadioGroup = _interopRequireDefault(require("./useRadioGroup"));
31
+ var _useRadioGroup = _interopRequireDefault(require("./useRadioGroup"));
32
+ var _radioGroupClasses = _interopRequireWildcard(require("./radioGroupClasses"));
33
+ Object.keys(_radioGroupClasses).forEach(function (key) {
34
+ if (key === "default" || key === "__esModule") return;
35
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
36
+ if (key in exports && exports[key] === _radioGroupClasses[key]) return;
37
+ Object.defineProperty(exports, key, {
38
+ enumerable: true,
39
+ get: function () {
40
+ return _radioGroupClasses[key];
41
+ }
42
+ });
43
+ });
44
+ 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); }
45
+ 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; }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ exports.getRadioGroupUtilityClass = getRadioGroupUtilityClass;
9
+ var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
10
+ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
11
+ function getRadioGroupUtilityClass(slot) {
12
+ return (0, _generateUtilityClass.default)('MuiRadioGroup', slot);
13
+ }
14
+ const radioGroupClasses = (0, _generateUtilityClasses.default)('MuiRadioGroup', ['root', 'row', 'error']);
15
+ var _default = exports.default = radioGroupClasses;
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.15.14
2
+ * @mui/material v5.15.15
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.14",
3
+ "version": "5.15.15",
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.",
@@ -35,10 +35,10 @@
35
35
  "react-is": "^18.2.0",
36
36
  "react-transition-group": "^4.4.5",
37
37
  "@mui/base": "5.0.0-beta.40",
38
- "@mui/system": "^5.15.14",
39
38
  "@mui/utils": "^5.15.14",
40
- "@mui/types": "^7.2.14",
41
- "@mui/core-downloads-tracker": "^5.15.14"
39
+ "@mui/core-downloads-tracker": "^5.15.15",
40
+ "@mui/system": "^5.15.15",
41
+ "@mui/types": "^7.2.14"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@emotion/react": "^11.5.0",
@@ -392,6 +392,11 @@ export interface Components<Theme = unknown> {
392
392
  styleOverrides?: ComponentsOverrides<Theme>['MuiRadio'];
393
393
  variants?: ComponentsVariants<Theme>['MuiRadio'];
394
394
  };
395
+ MuiRadioGroup?: {
396
+ defaultProps?: ComponentsProps['MuiRadioGroup'];
397
+ styleOverrides?: ComponentsOverrides<Theme>['MuiRadioGroup'];
398
+ variants?: ComponentsVariants<Theme>['MuiRadioGroup'];
399
+ };
395
400
  MuiRating?: {
396
401
  defaultProps?: ComponentsProps['MuiRating'];
397
402
  styleOverrides?: ComponentsOverrides<Theme>['MuiRating'];
@@ -77,6 +77,7 @@ import { PaginationItemClassKey } from '../PaginationItem';
77
77
  import { PaperClassKey } from '../Paper';
78
78
  import { PopoverClassKey } from '../Popover';
79
79
  import { RadioClassKey } from '../Radio';
80
+ import { RadioGroupClassKey } from '../RadioGroup';
80
81
  import { RatingClassKey } from '../Rating';
81
82
  import { ScopedCssBaselineClassKey } from '../ScopedCssBaseline';
82
83
  import { SelectClassKey } from '../Select';
@@ -222,6 +223,7 @@ export interface ComponentNameToClassKey {
222
223
  MuiPopover: PopoverClassKey;
223
224
  MuiPopper: PopperClassKey;
224
225
  MuiRadio: RadioClassKey;
226
+ MuiRadioGroup: RadioGroupClassKey;
225
227
  MuiRating: RatingClassKey;
226
228
  MuiScopedCssBaseline: ScopedCssBaselineClassKey;
227
229
  MuiSelect: SelectClassKey;