@mui/material 6.0.0-alpha.5 → 6.0.0-alpha.6

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 (269) hide show
  1. package/Accordion/Accordion.d.ts +2 -2
  2. package/Accordion/Accordion.js +2 -2
  3. package/AccordionSummary/accordionSummaryClasses.d.ts +1 -1
  4. package/Alert/Alert.d.ts +2 -2
  5. package/Alert/Alert.js +2 -2
  6. package/Alert/alertClasses.d.ts +12 -12
  7. package/Avatar/Avatar.d.ts +1 -1
  8. package/Avatar/Avatar.js +1 -1
  9. package/Backdrop/Backdrop.d.ts +1 -1
  10. package/Backdrop/Backdrop.js +1 -1
  11. package/Badge/Badge.d.ts +2 -2
  12. package/Badge/Badge.js +2 -2
  13. package/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
  14. package/Button/Button.js +1 -1
  15. package/Button/buttonClasses.d.ts +33 -33
  16. package/ButtonGroup/buttonGroupClasses.d.ts +17 -17
  17. package/CHANGELOG.md +48 -0
  18. package/Checkbox/Checkbox.js +3 -1
  19. package/Chip/chipClasses.d.ts +28 -26
  20. package/Chip/chipClasses.js +1 -1
  21. package/Collapse/Collapse.js +66 -35
  22. package/Dialog/Dialog.js +105 -61
  23. package/DialogActions/DialogActions.js +16 -12
  24. package/DialogContent/DialogContent.js +25 -15
  25. package/DialogContentText/DialogContentText.js +3 -2
  26. package/DialogTitle/DialogTitle.js +2 -2
  27. package/Divider/Divider.d.ts +1 -1
  28. package/Divider/Divider.js +1 -1
  29. package/Drawer/Drawer.js +73 -32
  30. package/Fab/Fab.js +1 -1
  31. package/FilledInput/FilledInput.d.ts +1 -0
  32. package/FilledInput/FilledInput.js +170 -87
  33. package/FormControlLabel/FormControlLabel.d.ts +1 -1
  34. package/FormControlLabel/FormControlLabel.js +1 -1
  35. package/FormHelperText/FormHelperText.js +2 -2
  36. package/FormLabel/FormLabel.js +23 -13
  37. package/Grow/Grow.js +3 -1
  38. package/Icon/Icon.js +63 -23
  39. package/ImageList/ImageList.js +2 -2
  40. package/ImageListItem/ImageListItem.js +2 -2
  41. package/ImageListItemBar/ImageListItemBar.js +2 -2
  42. package/Input/Input.d.ts +1 -0
  43. package/Input/Input.js +84 -61
  44. package/InputAdornment/InputAdornment.js +37 -21
  45. package/InputBase/InputBase.js +58 -28
  46. package/InputLabel/InputLabel.js +120 -58
  47. package/Link/Link.js +99 -54
  48. package/Link/getTextDecoration.d.ts +2 -8
  49. package/Link/getTextDecoration.js +16 -8
  50. package/List/List.js +22 -13
  51. package/ListItem/ListItem.js +2 -2
  52. package/ListItemAvatar/ListItemAvatar.js +2 -2
  53. package/ListItemButton/ListItemButton.js +3 -2
  54. package/ListItemIcon/ListItemIcon.js +14 -9
  55. package/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
  56. package/ListItemText/ListItemText.js +2 -2
  57. package/ListSubheader/ListSubheader.js +5 -3
  58. package/Menu/Menu.js +3 -2
  59. package/MenuItem/MenuItem.js +47 -27
  60. package/NativeSelect/NativeSelectInput.js +78 -49
  61. package/OutlinedInput/NotchedOutline.js +60 -43
  62. package/OutlinedInput/OutlinedInput.js +97 -39
  63. package/Pagination/Pagination.js +2 -2
  64. package/PaginationItem/PaginationItem.d.ts +1 -1
  65. package/PaginationItem/PaginationItem.js +1 -1
  66. package/PaginationItem/paginationItemClasses.d.ts +4 -4
  67. package/Paper/Paper.js +44 -21
  68. package/Radio/Radio.js +5 -3
  69. package/Radio/RadioButtonIcon.js +1 -1
  70. package/Rating/Rating.js +3 -2
  71. package/Select/Select.js +2 -1
  72. package/Select/SelectInput.js +8 -6
  73. package/Skeleton/Skeleton.js +109 -61
  74. package/Slider/Slider.d.ts +2 -2
  75. package/Slider/Slider.js +2 -2
  76. package/Snackbar/Snackbar.js +66 -40
  77. package/SnackbarContent/SnackbarContent.js +2 -2
  78. package/SpeedDial/SpeedDial.d.ts +28 -1
  79. package/SpeedDial/SpeedDial.js +107 -49
  80. package/SpeedDialAction/SpeedDialAction.js +50 -24
  81. package/SpeedDialIcon/SpeedDialIcon.js +37 -16
  82. package/StepConnector/stepConnectorClasses.d.ts +2 -2
  83. package/StepLabel/StepLabel.d.ts +3 -3
  84. package/StepLabel/StepLabel.js +3 -3
  85. package/SwipeableDrawer/SwipeArea.js +39 -18
  86. package/Tab/Tab.js +127 -55
  87. package/TabScrollButton/TabScrollButton.js +27 -15
  88. package/Table/Table.js +2 -2
  89. package/TableBody/TableBody.js +2 -2
  90. package/TableCell/TableCell.js +2 -2
  91. package/TableContainer/TableContainer.js +2 -2
  92. package/TableFooter/TableFooter.js +2 -2
  93. package/TableHead/TableHead.js +2 -2
  94. package/TablePagination/TablePagination.js +2 -2
  95. package/TableRow/TableRow.js +2 -2
  96. package/TableSortLabel/TableSortLabel.js +2 -2
  97. package/Tabs/Tabs.js +107 -54
  98. package/TextField/TextField.js +2 -2
  99. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +2 -2
  100. package/Toolbar/Toolbar.js +3 -7
  101. package/Tooltip/Tooltip.js +185 -88
  102. package/Typography/Typography.js +89 -39
  103. package/index.js +1 -1
  104. package/internal/SwitchBase.js +39 -11
  105. package/modern/Accordion/Accordion.js +2 -2
  106. package/modern/Alert/Alert.js +2 -2
  107. package/modern/Avatar/Avatar.js +1 -1
  108. package/modern/Backdrop/Backdrop.js +1 -1
  109. package/modern/Badge/Badge.js +2 -2
  110. package/modern/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
  111. package/modern/Button/Button.js +1 -1
  112. package/modern/Checkbox/Checkbox.js +3 -1
  113. package/modern/Chip/chipClasses.js +1 -1
  114. package/modern/Collapse/Collapse.js +66 -35
  115. package/modern/Dialog/Dialog.js +105 -61
  116. package/modern/DialogActions/DialogActions.js +16 -12
  117. package/modern/DialogContent/DialogContent.js +25 -15
  118. package/modern/DialogContentText/DialogContentText.js +3 -2
  119. package/modern/DialogTitle/DialogTitle.js +2 -2
  120. package/modern/Divider/Divider.js +1 -1
  121. package/modern/Drawer/Drawer.js +73 -32
  122. package/modern/Fab/Fab.js +1 -1
  123. package/modern/FilledInput/FilledInput.js +170 -87
  124. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  125. package/modern/FormHelperText/FormHelperText.js +2 -2
  126. package/modern/FormLabel/FormLabel.js +23 -13
  127. package/modern/Grow/Grow.js +3 -1
  128. package/modern/Icon/Icon.js +63 -23
  129. package/modern/ImageList/ImageList.js +2 -2
  130. package/modern/ImageListItem/ImageListItem.js +2 -2
  131. package/modern/ImageListItemBar/ImageListItemBar.js +2 -2
  132. package/modern/Input/Input.js +84 -61
  133. package/modern/InputAdornment/InputAdornment.js +37 -21
  134. package/modern/InputBase/InputBase.js +58 -28
  135. package/modern/InputLabel/InputLabel.js +120 -58
  136. package/modern/Link/Link.js +99 -54
  137. package/modern/Link/getTextDecoration.js +16 -8
  138. package/modern/List/List.js +22 -13
  139. package/modern/ListItem/ListItem.js +2 -2
  140. package/modern/ListItemAvatar/ListItemAvatar.js +2 -2
  141. package/modern/ListItemButton/ListItemButton.js +3 -2
  142. package/modern/ListItemIcon/ListItemIcon.js +14 -9
  143. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
  144. package/modern/ListItemText/ListItemText.js +2 -2
  145. package/modern/ListSubheader/ListSubheader.js +5 -3
  146. package/modern/Menu/Menu.js +3 -2
  147. package/modern/MenuItem/MenuItem.js +47 -27
  148. package/modern/NativeSelect/NativeSelectInput.js +78 -49
  149. package/modern/OutlinedInput/NotchedOutline.js +60 -43
  150. package/modern/OutlinedInput/OutlinedInput.js +97 -39
  151. package/modern/Pagination/Pagination.js +2 -2
  152. package/modern/PaginationItem/PaginationItem.js +1 -1
  153. package/modern/Paper/Paper.js +44 -21
  154. package/modern/Radio/Radio.js +5 -3
  155. package/modern/Radio/RadioButtonIcon.js +1 -1
  156. package/modern/Rating/Rating.js +3 -2
  157. package/modern/Select/Select.js +2 -1
  158. package/modern/Select/SelectInput.js +8 -6
  159. package/modern/Skeleton/Skeleton.js +109 -61
  160. package/modern/Slider/Slider.js +2 -2
  161. package/modern/Snackbar/Snackbar.js +66 -40
  162. package/modern/SnackbarContent/SnackbarContent.js +2 -2
  163. package/modern/SpeedDial/SpeedDial.js +107 -49
  164. package/modern/SpeedDialAction/SpeedDialAction.js +50 -24
  165. package/modern/SpeedDialIcon/SpeedDialIcon.js +37 -16
  166. package/modern/StepLabel/StepLabel.js +3 -3
  167. package/modern/SwipeableDrawer/SwipeArea.js +39 -18
  168. package/modern/Tab/Tab.js +127 -55
  169. package/modern/TabScrollButton/TabScrollButton.js +27 -15
  170. package/modern/Table/Table.js +2 -2
  171. package/modern/TableBody/TableBody.js +2 -2
  172. package/modern/TableCell/TableCell.js +2 -2
  173. package/modern/TableContainer/TableContainer.js +2 -2
  174. package/modern/TableFooter/TableFooter.js +2 -2
  175. package/modern/TableHead/TableHead.js +2 -2
  176. package/modern/TablePagination/TablePagination.js +2 -2
  177. package/modern/TableRow/TableRow.js +2 -2
  178. package/modern/TableSortLabel/TableSortLabel.js +2 -2
  179. package/modern/Tabs/Tabs.js +107 -54
  180. package/modern/TextField/TextField.js +2 -2
  181. package/modern/Toolbar/Toolbar.js +3 -7
  182. package/modern/Tooltip/Tooltip.js +185 -88
  183. package/modern/Typography/Typography.js +89 -39
  184. package/modern/index.js +1 -1
  185. package/modern/internal/SwitchBase.js +39 -11
  186. package/node/Accordion/Accordion.js +2 -2
  187. package/node/Alert/Alert.js +2 -2
  188. package/node/Avatar/Avatar.js +1 -1
  189. package/node/Backdrop/Backdrop.js +1 -1
  190. package/node/Badge/Badge.js +2 -2
  191. package/node/Breadcrumbs/BreadcrumbCollapsed.js +3 -3
  192. package/node/Button/Button.js +2 -2
  193. package/node/Checkbox/Checkbox.js +3 -1
  194. package/node/Chip/chipClasses.js +1 -1
  195. package/node/Collapse/Collapse.js +70 -39
  196. package/node/Dialog/Dialog.js +110 -66
  197. package/node/DialogActions/DialogActions.js +18 -14
  198. package/node/DialogContent/DialogContent.js +27 -17
  199. package/node/DialogContentText/DialogContentText.js +6 -5
  200. package/node/DialogTitle/DialogTitle.js +4 -4
  201. package/node/Divider/Divider.js +1 -1
  202. package/node/Drawer/Drawer.js +78 -37
  203. package/node/Fab/Fab.js +2 -2
  204. package/node/FilledInput/FilledInput.js +176 -91
  205. package/node/FormControlLabel/FormControlLabel.js +1 -1
  206. package/node/FormHelperText/FormHelperText.js +4 -4
  207. package/node/FormLabel/FormLabel.js +26 -16
  208. package/node/Grow/Grow.js +3 -1
  209. package/node/Icon/Icon.js +65 -25
  210. package/node/ImageList/ImageList.js +4 -4
  211. package/node/ImageListItem/ImageListItem.js +4 -4
  212. package/node/ImageListItemBar/ImageListItemBar.js +8 -8
  213. package/node/Input/Input.js +87 -64
  214. package/node/InputAdornment/InputAdornment.js +39 -23
  215. package/node/InputBase/InputBase.js +61 -31
  216. package/node/InputLabel/InputLabel.js +123 -61
  217. package/node/Link/Link.js +101 -56
  218. package/node/Link/getTextDecoration.js +18 -10
  219. package/node/List/List.js +24 -15
  220. package/node/ListItem/ListItem.js +5 -5
  221. package/node/ListItemAvatar/ListItemAvatar.js +4 -4
  222. package/node/ListItemButton/ListItemButton.js +6 -5
  223. package/node/ListItemIcon/ListItemIcon.js +16 -11
  224. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
  225. package/node/ListItemText/ListItemText.js +4 -4
  226. package/node/ListSubheader/ListSubheader.js +7 -5
  227. package/node/Menu/Menu.js +8 -7
  228. package/node/MenuItem/MenuItem.js +50 -30
  229. package/node/NativeSelect/NativeSelectInput.js +80 -53
  230. package/node/OutlinedInput/NotchedOutline.js +64 -47
  231. package/node/OutlinedInput/OutlinedInput.js +101 -43
  232. package/node/Pagination/Pagination.js +5 -5
  233. package/node/PaginationItem/PaginationItem.js +1 -1
  234. package/node/Paper/Paper.js +49 -28
  235. package/node/Radio/Radio.js +6 -4
  236. package/node/Radio/RadioButtonIcon.js +2 -2
  237. package/node/Rating/Rating.js +9 -8
  238. package/node/Select/Select.js +6 -5
  239. package/node/Select/SelectInput.js +9 -7
  240. package/node/Skeleton/Skeleton.js +113 -65
  241. package/node/Slider/Slider.js +2 -2
  242. package/node/Snackbar/Snackbar.js +68 -42
  243. package/node/SnackbarContent/SnackbarContent.js +6 -6
  244. package/node/SpeedDial/SpeedDial.js +111 -53
  245. package/node/SpeedDialAction/SpeedDialAction.js +54 -28
  246. package/node/SpeedDialIcon/SpeedDialIcon.js +39 -18
  247. package/node/StepLabel/StepLabel.js +3 -3
  248. package/node/SwipeableDrawer/SwipeArea.js +41 -20
  249. package/node/Tab/Tab.js +129 -57
  250. package/node/TabScrollButton/TabScrollButton.js +29 -17
  251. package/node/Table/Table.js +4 -4
  252. package/node/TableBody/TableBody.js +4 -4
  253. package/node/TableCell/TableCell.js +4 -4
  254. package/node/TableContainer/TableContainer.js +4 -4
  255. package/node/TableFooter/TableFooter.js +4 -4
  256. package/node/TableHead/TableHead.js +4 -4
  257. package/node/TablePagination/TablePagination.js +10 -10
  258. package/node/TableRow/TableRow.js +4 -4
  259. package/node/TableSortLabel/TableSortLabel.js +5 -5
  260. package/node/Tabs/Tabs.js +113 -60
  261. package/node/TextField/TextField.js +4 -4
  262. package/node/Toolbar/Toolbar.js +5 -9
  263. package/node/Tooltip/Tooltip.js +189 -92
  264. package/node/Typography/Typography.js +90 -40
  265. package/node/index.js +1 -1
  266. package/node/internal/SwitchBase.js +41 -13
  267. package/package.json +4 -4
  268. package/umd/material-ui.development.js +2585 -1287
  269. package/umd/material-ui.production.min.js +4 -4
@@ -6,18 +6,19 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = NotchedOutline;
9
- var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
10
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
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 _styled = _interopRequireWildcard(require("../styles/styled"));
13
+ var _rootShouldForwardProp = _interopRequireDefault(require("../styles/rootShouldForwardProp"));
14
+ var _zeroStyled = require("../zero-styled");
14
15
  var _jsxRuntime = require("react/jsx-runtime");
15
16
  var _span;
16
17
  const _excluded = ["children", "classes", "className", "label", "notched"];
17
18
  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); }
18
19
  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 && {}.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; }
19
- const NotchedOutlineRoot = (0, _styled.default)('fieldset', {
20
- shouldForwardProp: _styled.rootShouldForwardProp
20
+ const NotchedOutlineRoot = (0, _zeroStyled.styled)('fieldset', {
21
+ shouldForwardProp: _rootShouldForwardProp.default
21
22
  })({
22
23
  textAlign: 'left',
23
24
  position: 'absolute',
@@ -34,54 +35,70 @@ const NotchedOutlineRoot = (0, _styled.default)('fieldset', {
34
35
  overflow: 'hidden',
35
36
  minWidth: '0%'
36
37
  });
37
- const NotchedOutlineLegend = (0, _styled.default)('legend', {
38
- shouldForwardProp: _styled.rootShouldForwardProp
38
+ const NotchedOutlineLegend = (0, _zeroStyled.styled)('legend', {
39
+ shouldForwardProp: _rootShouldForwardProp.default
39
40
  })(({
40
- ownerState,
41
41
  theme
42
- }) => (0, _extends2.default)({
42
+ }) => ({
43
43
  float: 'unset',
44
44
  // Fix conflict with bootstrap
45
45
  width: 'auto',
46
46
  // Fix conflict with bootstrap
47
- overflow: 'hidden'
48
- }, !ownerState.withLabel && {
49
- padding: 0,
50
- lineHeight: '11px',
51
- // sync with `height` in `legend` styles
52
- transition: theme.transitions.create('width', {
53
- duration: 150,
54
- easing: theme.transitions.easing.easeOut
55
- })
56
- }, ownerState.withLabel && (0, _extends2.default)({
57
- display: 'block',
58
- // Fix conflict with normalize.css and sanitize.css
59
- padding: 0,
60
- height: 11,
61
- // sync with `lineHeight` in `legend` styles
62
- fontSize: '0.75em',
63
- visibility: 'hidden',
64
- maxWidth: 0.01,
65
- transition: theme.transitions.create('max-width', {
66
- duration: 50,
67
- easing: theme.transitions.easing.easeOut
68
- }),
69
- whiteSpace: 'nowrap',
70
- '& > span': {
71
- paddingLeft: 5,
72
- paddingRight: 5,
73
- display: 'inline-block',
74
- opacity: 0,
75
- visibility: 'visible'
76
- }
77
- }, ownerState.notched && {
78
- maxWidth: '100%',
79
- transition: theme.transitions.create('max-width', {
80
- duration: 100,
81
- easing: theme.transitions.easing.easeOut,
82
- delay: 50
83
- })
84
- })));
47
+ overflow: 'hidden',
48
+ // Fix Horizontal scroll when label too long
49
+ variants: [{
50
+ props: ({
51
+ ownerState
52
+ }) => !ownerState.withLabel,
53
+ style: {
54
+ padding: 0,
55
+ lineHeight: '11px',
56
+ // sync with `height` in `legend` styles
57
+ transition: theme.transitions.create('width', {
58
+ duration: 150,
59
+ easing: theme.transitions.easing.easeOut
60
+ })
61
+ }
62
+ }, {
63
+ props: ({
64
+ ownerState
65
+ }) => ownerState.withLabel,
66
+ style: {
67
+ display: 'block',
68
+ // Fix conflict with normalize.css and sanitize.css
69
+ padding: 0,
70
+ height: 11,
71
+ // sync with `lineHeight` in `legend` styles
72
+ fontSize: '0.75em',
73
+ visibility: 'hidden',
74
+ maxWidth: 0.01,
75
+ transition: theme.transitions.create('max-width', {
76
+ duration: 50,
77
+ easing: theme.transitions.easing.easeOut
78
+ }),
79
+ whiteSpace: 'nowrap',
80
+ '& > span': {
81
+ paddingLeft: 5,
82
+ paddingRight: 5,
83
+ display: 'inline-block',
84
+ opacity: 0,
85
+ visibility: 'visible'
86
+ }
87
+ }
88
+ }, {
89
+ props: ({
90
+ ownerState
91
+ }) => ownerState.withLabel && ownerState.notched,
92
+ style: {
93
+ maxWidth: '100%',
94
+ transition: theme.transitions.create('max-width', {
95
+ duration: 100,
96
+ easing: theme.transitions.easing.easeOut,
97
+ delay: 50
98
+ })
99
+ }
100
+ }]
101
+ }));
85
102
 
86
103
  /**
87
104
  * @ignore - internal component.
@@ -115,7 +132,7 @@ function NotchedOutline(props) {
115
132
  })
116
133
  }));
117
134
  }
118
- process.env.NODE_ENV !== "production" ? NotchedOutline.propTypes = {
135
+ process.env.NODE_ENV !== "production" ? NotchedOutline.propTypes /* remove-proptypes */ = {
119
136
  /**
120
137
  * The content of the component.
121
138
  */
@@ -15,14 +15,15 @@ var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"
15
15
  var _NotchedOutline = _interopRequireDefault(require("./NotchedOutline"));
16
16
  var _useFormControl = _interopRequireDefault(require("../FormControl/useFormControl"));
17
17
  var _formControlState = _interopRequireDefault(require("../FormControl/formControlState"));
18
- var _styled = _interopRequireWildcard(require("../styles/styled"));
18
+ var _rootShouldForwardProp = _interopRequireDefault(require("../styles/rootShouldForwardProp"));
19
+ var _zeroStyled = require("../zero-styled");
19
20
  var _outlinedInputClasses = _interopRequireWildcard(require("./outlinedInputClasses"));
20
21
  var _InputBase = _interopRequireWildcard(require("../InputBase/InputBase"));
21
- var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
22
22
  var _jsxRuntime = require("react/jsx-runtime");
23
23
  const _excluded = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
24
24
  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); }
25
25
  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 && {}.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; }
26
+ const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiOutlinedInput');
26
27
  const useUtilityClasses = ownerState => {
27
28
  const {
28
29
  classes
@@ -35,49 +36,83 @@ const useUtilityClasses = ownerState => {
35
36
  const composedClasses = (0, _composeClasses.default)(slots, _outlinedInputClasses.getOutlinedInputUtilityClass, classes);
36
37
  return (0, _extends2.default)({}, classes, composedClasses);
37
38
  };
38
- const OutlinedInputRoot = (0, _styled.default)(_InputBase.InputBaseRoot, {
39
- shouldForwardProp: prop => (0, _styled.rootShouldForwardProp)(prop) || prop === 'classes',
39
+ const OutlinedInputRoot = (0, _zeroStyled.styled)(_InputBase.InputBaseRoot, {
40
+ shouldForwardProp: prop => (0, _rootShouldForwardProp.default)(prop) || prop === 'classes',
40
41
  name: 'MuiOutlinedInput',
41
42
  slot: 'Root',
42
43
  overridesResolver: _InputBase.rootOverridesResolver
43
44
  })(({
44
- theme,
45
- ownerState
45
+ theme
46
46
  }) => {
47
47
  const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
48
- return (0, _extends2.default)({
48
+ return {
49
49
  position: 'relative',
50
50
  borderRadius: (theme.vars || theme).shape.borderRadius,
51
51
  [`&:hover .${_outlinedInputClasses.default.notchedOutline}`]: {
52
52
  borderColor: (theme.vars || theme).palette.text.primary
53
53
  },
54
- // Reset on touch devices, it doesn't add specificity
55
- '@media (hover: none)': {
56
- [`&:hover .${_outlinedInputClasses.default.notchedOutline}`]: {
57
- borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor
58
- }
59
- },
60
54
  [`&.${_outlinedInputClasses.default.focused} .${_outlinedInputClasses.default.notchedOutline}`]: {
61
- borderColor: (theme.vars || theme).palette[ownerState.color].main,
62
55
  borderWidth: 2
63
56
  },
64
- [`&.${_outlinedInputClasses.default.error} .${_outlinedInputClasses.default.notchedOutline}`]: {
65
- borderColor: (theme.vars || theme).palette.error.main
66
- },
67
- [`&.${_outlinedInputClasses.default.disabled} .${_outlinedInputClasses.default.notchedOutline}`]: {
68
- borderColor: (theme.vars || theme).palette.action.disabled
69
- }
70
- }, ownerState.startAdornment && {
71
- paddingLeft: 14
72
- }, ownerState.endAdornment && {
73
- paddingRight: 14
74
- }, ownerState.multiline && (0, _extends2.default)({
75
- padding: '16.5px 14px'
76
- }, ownerState.size === 'small' && {
77
- padding: '8.5px 14px'
78
- }));
57
+ variants: [...Object.entries(theme.palette).filter(([, value]) => value.main).map(([color]) => ({
58
+ props: {
59
+ color
60
+ },
61
+ style: {
62
+ [`&.${_outlinedInputClasses.default.focused} .${_outlinedInputClasses.default.notchedOutline}`]: {
63
+ borderColor: (theme.vars || theme).palette[color].main
64
+ }
65
+ }
66
+ })), {
67
+ props: {},
68
+ // to overide the above style
69
+ style: {
70
+ // Reset on touch devices, it doesn't add specificity
71
+ '@media (hover: none)': {
72
+ [`&:hover .${_outlinedInputClasses.default.notchedOutline}`]: {
73
+ borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor
74
+ }
75
+ },
76
+ [`&.${_outlinedInputClasses.default.error} .${_outlinedInputClasses.default.notchedOutline}`]: {
77
+ borderColor: (theme.vars || theme).palette.error.main
78
+ },
79
+ [`&.${_outlinedInputClasses.default.disabled} .${_outlinedInputClasses.default.notchedOutline}`]: {
80
+ borderColor: (theme.vars || theme).palette.action.disabled
81
+ }
82
+ }
83
+ }, {
84
+ props: ({
85
+ ownerState
86
+ }) => ownerState.startAdornment,
87
+ style: {
88
+ paddingLeft: 14
89
+ }
90
+ }, {
91
+ props: ({
92
+ ownerState
93
+ }) => ownerState.endAdornment,
94
+ style: {
95
+ paddingRight: 14
96
+ }
97
+ }, {
98
+ props: ({
99
+ ownerState
100
+ }) => ownerState.multiline,
101
+ style: {
102
+ padding: '16.5px 14px'
103
+ }
104
+ }, {
105
+ props: ({
106
+ ownerState,
107
+ size
108
+ }) => ownerState.multiline && size === 'small',
109
+ style: {
110
+ padding: '8.5px 14px'
111
+ }
112
+ }]
113
+ };
79
114
  });
80
- const NotchedOutlineRoot = (0, _styled.default)(_NotchedOutline.default, {
115
+ const NotchedOutlineRoot = (0, _zeroStyled.styled)(_NotchedOutline.default, {
81
116
  name: 'MuiOutlinedInput',
82
117
  slot: 'NotchedOutline',
83
118
  overridesResolver: (props, styles) => styles.notchedOutline
@@ -89,13 +124,12 @@ const NotchedOutlineRoot = (0, _styled.default)(_NotchedOutline.default, {
89
124
  borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor
90
125
  };
91
126
  });
92
- const OutlinedInputInput = (0, _styled.default)(_InputBase.InputBaseComponent, {
127
+ const OutlinedInputInput = (0, _zeroStyled.styled)(_InputBase.InputBaseInput, {
93
128
  name: 'MuiOutlinedInput',
94
129
  slot: 'Input',
95
130
  overridesResolver: _InputBase.inputOverridesResolver
96
131
  })(({
97
- theme,
98
- ownerState
132
+ theme
99
133
  }) => (0, _extends2.default)({
100
134
  padding: '16.5px 14px'
101
135
  }, !theme.vars && {
@@ -116,18 +150,40 @@ const OutlinedInputInput = (0, _styled.default)(_InputBase.InputBaseComponent, {
116
150
  caretColor: '#fff'
117
151
  }
118
152
  }
119
- }, ownerState.size === 'small' && {
120
- padding: '8.5px 14px'
121
- }, ownerState.multiline && {
122
- padding: 0
123
- }, ownerState.startAdornment && {
124
- paddingLeft: 0
125
- }, ownerState.endAdornment && {
126
- paddingRight: 0
153
+ }, {
154
+ variants: [{
155
+ props: {
156
+ size: 'small'
157
+ },
158
+ style: {
159
+ padding: '8.5px 14px'
160
+ }
161
+ }, {
162
+ props: ({
163
+ ownerState
164
+ }) => ownerState.multiline,
165
+ style: {
166
+ padding: 0
167
+ }
168
+ }, {
169
+ props: ({
170
+ ownerState
171
+ }) => ownerState.startAdornment,
172
+ style: {
173
+ paddingLeft: 0
174
+ }
175
+ }, {
176
+ props: ({
177
+ ownerState
178
+ }) => ownerState.endAdornment,
179
+ style: {
180
+ paddingRight: 0
181
+ }
182
+ }]
127
183
  }));
128
184
  const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {
129
185
  var _ref, _slots$root, _ref2, _slots$input, _React$Fragment;
130
- const props = (0, _useThemeProps.default)({
186
+ const props = useThemeProps({
131
187
  props: inProps,
132
188
  name: 'MuiOutlinedInput'
133
189
  });
@@ -353,5 +409,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
353
409
  */
354
410
  value: _propTypes.default.any
355
411
  } : void 0;
356
- OutlinedInput.muiName = 'Input';
412
+ if (OutlinedInput) {
413
+ OutlinedInput.muiName = 'Input';
414
+ }
357
415
  var _default = exports.default = OutlinedInput;
@@ -13,15 +13,15 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
13
13
  var _clsx = _interopRequireDefault(require("clsx"));
14
14
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
15
15
  var _integerPropType = _interopRequireDefault(require("@mui/utils/integerPropType"));
16
- var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
17
16
  var _paginationClasses = require("./paginationClasses");
18
17
  var _usePagination = _interopRequireDefault(require("../usePagination"));
19
18
  var _PaginationItem = _interopRequireDefault(require("../PaginationItem"));
20
- var _styled = _interopRequireDefault(require("../styles/styled"));
19
+ var _zeroStyled = require("../zero-styled");
21
20
  var _jsxRuntime = require("react/jsx-runtime");
22
21
  const _excluded = ["boundaryCount", "className", "color", "count", "defaultPage", "disabled", "getItemAriaLabel", "hideNextButton", "hidePrevButton", "onChange", "page", "renderItem", "shape", "showFirstButton", "showLastButton", "siblingCount", "size", "variant"];
23
22
  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); }
24
23
  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 && {}.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; }
24
+ const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiPagination');
25
25
  const useUtilityClasses = ownerState => {
26
26
  const {
27
27
  classes,
@@ -33,7 +33,7 @@ const useUtilityClasses = ownerState => {
33
33
  };
34
34
  return (0, _composeClasses.default)(slots, _paginationClasses.getPaginationUtilityClass, classes);
35
35
  };
36
- const PaginationRoot = (0, _styled.default)('nav', {
36
+ const PaginationRoot = (0, _zeroStyled.styled)('nav', {
37
37
  name: 'MuiPagination',
38
38
  slot: 'Root',
39
39
  overridesResolver: (props, styles) => {
@@ -43,7 +43,7 @@ const PaginationRoot = (0, _styled.default)('nav', {
43
43
  return [styles.root, styles[ownerState.variant]];
44
44
  }
45
45
  })({});
46
- const PaginationUl = (0, _styled.default)('ul', {
46
+ const PaginationUl = (0, _zeroStyled.styled)('ul', {
47
47
  name: 'MuiPagination',
48
48
  slot: 'Ul',
49
49
  overridesResolver: (props, styles) => styles.ul
@@ -62,7 +62,7 @@ function defaultGetAriaLabel(type, page, selected) {
62
62
  return `Go to ${type} page`;
63
63
  }
64
64
  const Pagination = /*#__PURE__*/React.forwardRef(function Pagination(inProps, ref) {
65
- const props = (0, _useThemeProps.default)({
65
+ const props = useThemeProps({
66
66
  props: inProps,
67
67
  name: 'MuiPagination'
68
68
  });
@@ -408,7 +408,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-propt
408
408
  * It's recommended to use the `slots` prop instead.
409
409
  *
410
410
  * @default {}
411
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
411
+ * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
412
412
  */
413
413
  components: _propTypes.default.shape({
414
414
  first: _propTypes.default.elementType,
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
- var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
10
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
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
13
  var _clsx = _interopRequireDefault(require("clsx"));
@@ -15,15 +15,15 @@ var _integerPropType = _interopRequireDefault(require("@mui/utils/integerPropTyp
15
15
  var _chainPropTypes = _interopRequireDefault(require("@mui/utils/chainPropTypes"));
16
16
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
17
17
  var _colorManipulator = require("@mui/system/colorManipulator");
18
- var _styled = _interopRequireDefault(require("../styles/styled"));
18
+ var _zeroStyled = require("../zero-styled");
19
19
  var _getOverlayAlpha = _interopRequireDefault(require("../styles/getOverlayAlpha"));
20
- var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
21
20
  var _useTheme = _interopRequireDefault(require("../styles/useTheme"));
22
21
  var _paperClasses = require("./paperClasses");
23
22
  var _jsxRuntime = require("react/jsx-runtime");
24
23
  const _excluded = ["className", "component", "elevation", "square", "variant"];
25
24
  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); }
26
25
  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 && {}.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; }
26
+ const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiPaper');
27
27
  const useUtilityClasses = ownerState => {
28
28
  const {
29
29
  square,
@@ -36,7 +36,7 @@ const useUtilityClasses = ownerState => {
36
36
  };
37
37
  return (0, _composeClasses.default)(slots, _paperClasses.getPaperUtilityClass, classes);
38
38
  };
39
- const PaperRoot = (0, _styled.default)('div', {
39
+ const PaperRoot = (0, _zeroStyled.styled)('div', {
40
40
  name: 'MuiPaper',
41
41
  slot: 'Root',
42
42
  overridesResolver: (props, styles) => {
@@ -46,31 +46,42 @@ const PaperRoot = (0, _styled.default)('div', {
46
46
  return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];
47
47
  }
48
48
  })(({
49
- theme,
50
- ownerState
51
- }) => {
52
- var _theme$vars$overlays;
53
- return (0, _extends2.default)({
54
- backgroundColor: (theme.vars || theme).palette.background.paper,
55
- color: (theme.vars || theme).palette.text.primary,
56
- transition: theme.transitions.create('box-shadow')
57
- }, !ownerState.square && {
58
- borderRadius: theme.shape.borderRadius
59
- }, ownerState.variant === 'outlined' && {
60
- border: `1px solid ${(theme.vars || theme).palette.divider}`
61
- }, ownerState.variant === 'elevation' && (0, _extends2.default)({
62
- boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
63
- }, !theme.vars && theme.palette.mode === 'dark' && {
64
- backgroundImage: `linear-gradient(${(0, _colorManipulator.alpha)('#fff', (0, _getOverlayAlpha.default)(ownerState.elevation))}, ${(0, _colorManipulator.alpha)('#fff', (0, _getOverlayAlpha.default)(ownerState.elevation))})`
65
- }, theme.vars && {
66
- backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays[ownerState.elevation]
67
- }));
68
- });
49
+ theme
50
+ }) => ({
51
+ backgroundColor: (theme.vars || theme).palette.background.paper,
52
+ color: (theme.vars || theme).palette.text.primary,
53
+ transition: theme.transitions.create('box-shadow'),
54
+ variants: [{
55
+ props: ({
56
+ ownerState
57
+ }) => !ownerState.square,
58
+ style: {
59
+ borderRadius: theme.shape.borderRadius
60
+ }
61
+ }, {
62
+ props: {
63
+ variant: 'outlined'
64
+ },
65
+ style: {
66
+ border: `1px solid ${(theme.vars || theme).palette.divider}`
67
+ }
68
+ }, {
69
+ props: {
70
+ variant: 'elevation'
71
+ },
72
+ style: {
73
+ boxShadow: 'var(--Paper-shadow)',
74
+ backgroundImage: 'var(--Paper-overlay)'
75
+ }
76
+ }]
77
+ }));
69
78
  const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
70
- const props = (0, _useThemeProps.default)({
79
+ var _theme$overlays;
80
+ const props = useThemeProps({
71
81
  props: inProps,
72
82
  name: 'MuiPaper'
73
83
  });
84
+ const theme = (0, _useTheme.default)();
74
85
  const {
75
86
  className,
76
87
  component = 'div',
@@ -87,8 +98,6 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
87
98
  });
88
99
  const classes = useUtilityClasses(ownerState);
89
100
  if (process.env.NODE_ENV !== 'production') {
90
- // eslint-disable-next-line react-hooks/rules-of-hooks
91
- const theme = (0, _useTheme.default)();
92
101
  if (theme.shadows[elevation] === undefined) {
93
102
  console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join('\n'));
94
103
  }
@@ -98,7 +107,15 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
98
107
  ownerState: ownerState,
99
108
  className: (0, _clsx.default)(classes.root, className),
100
109
  ref: ref
101
- }, other));
110
+ }, other, {
111
+ style: (0, _extends2.default)({}, variant === 'elevation' && (0, _extends2.default)({
112
+ '--Paper-shadow': (theme.vars || theme).shadows[elevation]
113
+ }, theme.vars && {
114
+ '--Paper-overlay': (_theme$overlays = theme.overlays) == null ? void 0 : _theme$overlays[elevation]
115
+ }, !theme.vars && theme.palette.mode === 'dark' && {
116
+ '--Paper-overlay': `linear-gradient(${(0, _colorManipulator.alpha)('#fff', (0, _getOverlayAlpha.default)(elevation))}, ${(0, _colorManipulator.alpha)('#fff', (0, _getOverlayAlpha.default)(elevation))})`
117
+ }), other.style)
118
+ }));
102
119
  });
103
120
  process.env.NODE_ENV !== "production" ? Paper.propTypes /* remove-proptypes */ = {
104
121
  // ┌────────────────────────────── Warning ──────────────────────────────┐
@@ -142,6 +159,10 @@ process.env.NODE_ENV !== "production" ? Paper.propTypes /* remove-proptypes */ =
142
159
  * @default false
143
160
  */
144
161
  square: _propTypes.default.bool,
162
+ /**
163
+ * @ignore
164
+ */
165
+ style: _propTypes.default.object,
145
166
  /**
146
167
  * The system prop that allows defining system overrides as well as additional CSS styles.
147
168
  */
@@ -20,10 +20,10 @@ var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
20
20
  var _createChainedFunction = _interopRequireDefault(require("../utils/createChainedFunction"));
21
21
  var _useRadioGroup = _interopRequireDefault(require("../RadioGroup/useRadioGroup"));
22
22
  var _radioClasses = _interopRequireWildcard(require("./radioClasses"));
23
- var _styled = require("../styles/styled");
23
+ var _rootShouldForwardProp = _interopRequireDefault(require("../styles/rootShouldForwardProp"));
24
24
  var _zeroStyled = require("../zero-styled");
25
25
  var _jsxRuntime = require("react/jsx-runtime");
26
- const _excluded = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size", "className"];
26
+ const _excluded = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size", "className", "disableRipple"];
27
27
  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); }
28
28
  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 && {}.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; }
29
29
  const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiRadio');
@@ -39,7 +39,7 @@ const useUtilityClasses = ownerState => {
39
39
  return (0, _extends2.default)({}, classes, (0, _composeClasses.default)(slots, _radioClasses.getRadioUtilityClass, classes));
40
40
  };
41
41
  const RadioRoot = (0, _zeroStyled.styled)(_SwitchBase.default, {
42
- shouldForwardProp: prop => (0, _styled.rootShouldForwardProp)(prop) || prop === 'classes',
42
+ shouldForwardProp: prop => (0, _rootShouldForwardProp.default)(prop) || prop === 'classes',
43
43
  name: 'MuiRadio',
44
44
  slot: 'Root',
45
45
  overridesResolver: (props, styles) => {
@@ -125,10 +125,12 @@ const Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {
125
125
  name: nameProp,
126
126
  onChange: onChangeProp,
127
127
  size = 'medium',
128
- className
128
+ className,
129
+ disableRipple = false
129
130
  } = props,
130
131
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
131
132
  const ownerState = (0, _extends2.default)({}, props, {
133
+ disableRipple,
132
134
  color,
133
135
  size
134
136
  });
@@ -11,13 +11,13 @@ var React = _interopRequireWildcard(require("react"));
11
11
  var _propTypes = _interopRequireDefault(require("prop-types"));
12
12
  var _RadioButtonUnchecked = _interopRequireDefault(require("../internal/svg-icons/RadioButtonUnchecked"));
13
13
  var _RadioButtonChecked = _interopRequireDefault(require("../internal/svg-icons/RadioButtonChecked"));
14
- var _styled = require("../styles/styled");
14
+ var _rootShouldForwardProp = _interopRequireDefault(require("../styles/rootShouldForwardProp"));
15
15
  var _zeroStyled = require("../zero-styled");
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
17
  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); }
18
18
  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 && {}.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; }
19
19
  const RadioButtonIconRoot = (0, _zeroStyled.styled)('span', {
20
- shouldForwardProp: _styled.rootShouldForwardProp
20
+ shouldForwardProp: _rootShouldForwardProp.default
21
21
  })({
22
22
  position: 'relative',
23
23
  display: 'flex'