@mui/material 7.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.d.ts +2 -2
- package/Accordion/Accordion.js +2 -2
- package/Alert/Alert.d.ts +2 -2
- package/Alert/Alert.js +2 -2
- package/Autocomplete/Autocomplete.d.ts +9 -9
- package/Autocomplete/Autocomplete.js +6 -6
- package/Avatar/Avatar.d.ts +1 -1
- package/Avatar/Avatar.js +1 -1
- package/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/AvatarGroup/AvatarGroup.js +1 -1
- package/Backdrop/Backdrop.d.ts +3 -3
- package/Backdrop/Backdrop.js +3 -3
- package/Badge/Badge.d.ts +2 -2
- package/Badge/Badge.js +2 -2
- package/Button/Button.js +1 -1
- package/CHANGELOG.md +40 -0
- package/CardHeader/CardHeader.d.ts +2 -2
- package/CardHeader/CardHeader.js +2 -2
- package/Checkbox/Checkbox.js +1 -1
- package/Dialog/Dialog.d.ts +3 -3
- package/Dialog/Dialog.js +3 -3
- package/Drawer/Drawer.d.ts +2 -2
- package/Drawer/Drawer.js +2 -2
- package/Fab/Fab.js +1 -1
- package/FilledInput/FilledInput.js +2 -2
- package/FormControlLabel/FormControlLabel.d.ts +1 -1
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/IconButton/IconButton.js +1 -1
- package/Input/Input.js +2 -2
- package/InputBase/InputBase.d.ts +2 -2
- package/InputBase/InputBase.js +2 -2
- package/ListItem/ListItem.d.ts +4 -4
- package/ListItem/ListItem.js +6 -6
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/ListItemText/ListItemText.d.ts +2 -2
- package/ListItemText/ListItemText.js +2 -2
- package/Menu/Menu.d.ts +2 -2
- package/Menu/Menu.js +2 -2
- package/MobileStepper/MobileStepper.d.ts +1 -1
- package/MobileStepper/MobileStepper.js +1 -1
- package/Modal/Modal.d.ts +2 -2
- package/Modal/Modal.js +2 -2
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/PaginationItem/PaginationItem.d.ts +1 -1
- package/PaginationItem/PaginationItem.js +1 -1
- package/Popover/Popover.d.ts +5 -5
- package/Popover/Popover.js +5 -5
- package/Popper/Popper.d.ts +2 -2
- package/Popper/Popper.js +2 -2
- package/Radio/Radio.js +2 -2
- package/Rating/Rating.d.ts +1 -1
- package/Rating/Rating.js +1 -1
- package/Slider/Slider.d.ts +2 -2
- package/Slider/Slider.js +2 -2
- package/Snackbar/Snackbar.d.ts +4 -4
- package/Snackbar/Snackbar.js +4 -4
- package/SpeedDial/SpeedDial.d.ts +2 -2
- package/SpeedDial/SpeedDial.js +2 -2
- package/SpeedDialAction/SpeedDialAction.d.ts +5 -5
- package/SpeedDialAction/SpeedDialAction.js +5 -5
- package/StepContent/StepContent.d.ts +2 -2
- package/StepContent/StepContent.js +2 -2
- package/StepLabel/StepLabel.d.ts +3 -3
- package/StepLabel/StepLabel.js +3 -3
- package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/Switch/Switch.js +2 -2
- package/Tabs/Tabs.d.ts +3 -3
- package/Tabs/Tabs.js +3 -3
- package/TextField/TextField.d.ts +7 -7
- package/TextField/TextField.js +5 -5
- package/Tooltip/Tooltip.d.ts +7 -7
- package/Tooltip/Tooltip.js +6 -6
- package/Typography/Typography.d.ts +1 -1
- package/Typography/Typography.js +1 -1
- package/esm/Accordion/Accordion.d.ts +2 -2
- package/esm/Accordion/Accordion.js +2 -2
- package/esm/Alert/Alert.d.ts +2 -2
- package/esm/Alert/Alert.js +2 -2
- package/esm/Autocomplete/Autocomplete.d.ts +9 -9
- package/esm/Autocomplete/Autocomplete.js +6 -6
- package/esm/Avatar/Avatar.d.ts +1 -1
- package/esm/Avatar/Avatar.js +1 -1
- package/esm/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/esm/AvatarGroup/AvatarGroup.js +1 -1
- package/esm/Backdrop/Backdrop.d.ts +3 -3
- package/esm/Backdrop/Backdrop.js +3 -3
- package/esm/Badge/Badge.d.ts +2 -2
- package/esm/Badge/Badge.js +2 -2
- package/esm/Button/Button.js +1 -1
- package/esm/CardHeader/CardHeader.d.ts +2 -2
- package/esm/CardHeader/CardHeader.js +2 -2
- package/esm/Checkbox/Checkbox.js +1 -1
- package/esm/Dialog/Dialog.d.ts +3 -3
- package/esm/Dialog/Dialog.js +3 -3
- package/esm/Drawer/Drawer.d.ts +2 -2
- package/esm/Drawer/Drawer.js +2 -2
- package/esm/Fab/Fab.js +1 -1
- package/esm/FilledInput/FilledInput.js +2 -2
- package/esm/FormControlLabel/FormControlLabel.d.ts +1 -1
- package/esm/FormControlLabel/FormControlLabel.js +1 -1
- package/esm/IconButton/IconButton.js +1 -1
- package/esm/Input/Input.js +2 -2
- package/esm/InputBase/InputBase.d.ts +2 -2
- package/esm/InputBase/InputBase.js +2 -2
- package/esm/ListItem/ListItem.d.ts +4 -4
- package/esm/ListItem/ListItem.js +6 -6
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/esm/ListItemText/ListItemText.d.ts +2 -2
- package/esm/ListItemText/ListItemText.js +2 -2
- package/esm/Menu/Menu.d.ts +2 -2
- package/esm/Menu/Menu.js +2 -2
- package/esm/MobileStepper/MobileStepper.d.ts +1 -1
- package/esm/MobileStepper/MobileStepper.js +1 -1
- package/esm/Modal/Modal.d.ts +2 -2
- package/esm/Modal/Modal.js +2 -2
- package/esm/OutlinedInput/OutlinedInput.js +1 -1
- package/esm/PaginationItem/PaginationItem.d.ts +1 -1
- package/esm/PaginationItem/PaginationItem.js +1 -1
- package/esm/Popover/Popover.d.ts +5 -5
- package/esm/Popover/Popover.js +5 -5
- package/esm/Popper/Popper.d.ts +2 -2
- package/esm/Popper/Popper.js +2 -2
- package/esm/Radio/Radio.js +2 -2
- package/esm/Rating/Rating.d.ts +1 -1
- package/esm/Rating/Rating.js +1 -1
- package/esm/Slider/Slider.d.ts +2 -2
- package/esm/Slider/Slider.js +2 -2
- package/esm/Snackbar/Snackbar.d.ts +4 -4
- package/esm/Snackbar/Snackbar.js +4 -4
- package/esm/SpeedDial/SpeedDial.d.ts +2 -2
- package/esm/SpeedDial/SpeedDial.js +2 -2
- package/esm/SpeedDialAction/SpeedDialAction.d.ts +5 -5
- package/esm/SpeedDialAction/SpeedDialAction.js +5 -5
- package/esm/StepContent/StepContent.d.ts +2 -2
- package/esm/StepContent/StepContent.js +2 -2
- package/esm/StepLabel/StepLabel.d.ts +3 -3
- package/esm/StepLabel/StepLabel.js +3 -3
- package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/esm/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/esm/Switch/Switch.js +2 -2
- package/esm/Tabs/Tabs.d.ts +3 -3
- package/esm/Tabs/Tabs.js +3 -3
- package/esm/TextField/TextField.d.ts +7 -7
- package/esm/TextField/TextField.js +5 -5
- package/esm/Tooltip/Tooltip.d.ts +7 -7
- package/esm/Tooltip/Tooltip.js +6 -6
- package/esm/Typography/Typography.d.ts +1 -1
- package/esm/Typography/Typography.js +1 -1
- package/esm/index.js +1 -1
- package/esm/internal/SwitchBase.d.ts +2 -2
- package/esm/styles/createTypography.d.ts +1 -23
- package/esm/styles/cssUtils.d.ts +1 -1
- package/esm/styles/index.d.ts +2 -2
- package/esm/version/index.js +2 -2
- package/index.js +1 -1
- package/internal/SwitchBase.d.ts +2 -2
- package/modern/Accordion/Accordion.d.ts +2 -2
- package/modern/Accordion/Accordion.js +2 -2
- package/modern/Alert/Alert.d.ts +2 -2
- package/modern/Alert/Alert.js +2 -2
- package/modern/Autocomplete/Autocomplete.d.ts +9 -9
- package/modern/Autocomplete/Autocomplete.js +6 -6
- package/modern/Avatar/Avatar.d.ts +1 -1
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/modern/AvatarGroup/AvatarGroup.js +1 -1
- package/modern/Backdrop/Backdrop.d.ts +3 -3
- package/modern/Backdrop/Backdrop.js +3 -3
- package/modern/Badge/Badge.d.ts +2 -2
- package/modern/Badge/Badge.js +2 -2
- package/modern/Button/Button.js +1 -1
- package/modern/CardHeader/CardHeader.d.ts +2 -2
- package/modern/CardHeader/CardHeader.js +2 -2
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Dialog/Dialog.d.ts +3 -3
- package/modern/Dialog/Dialog.js +3 -3
- package/modern/Drawer/Drawer.d.ts +2 -2
- package/modern/Drawer/Drawer.js +2 -2
- package/modern/Fab/Fab.js +1 -1
- package/modern/FilledInput/FilledInput.js +2 -2
- package/modern/FormControlLabel/FormControlLabel.d.ts +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/Input/Input.js +2 -2
- package/modern/InputBase/InputBase.d.ts +2 -2
- package/modern/InputBase/InputBase.js +2 -2
- package/modern/ListItem/ListItem.d.ts +4 -4
- package/modern/ListItem/ListItem.js +6 -6
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/modern/ListItemText/ListItemText.d.ts +2 -2
- package/modern/ListItemText/ListItemText.js +2 -2
- package/modern/Menu/Menu.d.ts +2 -2
- package/modern/Menu/Menu.js +2 -2
- package/modern/MobileStepper/MobileStepper.d.ts +1 -1
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/Modal/Modal.d.ts +2 -2
- package/modern/Modal/Modal.js +2 -2
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/PaginationItem/PaginationItem.d.ts +1 -1
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/Popover/Popover.d.ts +5 -5
- package/modern/Popover/Popover.js +5 -5
- package/modern/Popper/Popper.d.ts +2 -2
- package/modern/Popper/Popper.js +2 -2
- package/modern/Radio/Radio.js +2 -2
- package/modern/Rating/Rating.d.ts +1 -1
- package/modern/Rating/Rating.js +1 -1
- package/modern/Slider/Slider.d.ts +2 -2
- package/modern/Slider/Slider.js +2 -2
- package/modern/Snackbar/Snackbar.d.ts +4 -4
- package/modern/Snackbar/Snackbar.js +4 -4
- package/modern/SpeedDial/SpeedDial.d.ts +2 -2
- package/modern/SpeedDial/SpeedDial.js +2 -2
- package/modern/SpeedDialAction/SpeedDialAction.d.ts +5 -5
- package/modern/SpeedDialAction/SpeedDialAction.js +5 -5
- package/modern/StepContent/StepContent.d.ts +2 -2
- package/modern/StepContent/StepContent.js +2 -2
- package/modern/StepLabel/StepLabel.d.ts +3 -3
- package/modern/StepLabel/StepLabel.js +3 -3
- package/modern/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/modern/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/modern/Switch/Switch.js +2 -2
- package/modern/Tabs/Tabs.d.ts +3 -3
- package/modern/Tabs/Tabs.js +3 -3
- package/modern/TextField/TextField.d.ts +7 -7
- package/modern/TextField/TextField.js +5 -5
- package/modern/Tooltip/Tooltip.d.ts +7 -7
- package/modern/Tooltip/Tooltip.js +6 -6
- package/modern/Typography/Typography.d.ts +1 -1
- package/modern/Typography/Typography.js +1 -1
- package/modern/index.js +1 -1
- package/modern/internal/SwitchBase.d.ts +2 -2
- package/modern/styles/createTypography.d.ts +1 -23
- package/modern/styles/cssUtils.d.ts +1 -1
- package/modern/styles/index.d.ts +2 -2
- package/modern/version/index.js +2 -2
- package/package.json +5 -5
- package/styles/createTypography.d.ts +1 -23
- package/styles/cssUtils.d.ts +1 -1
- package/styles/index.d.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/version/index.js +2 -2
|
@@ -26,13 +26,13 @@ export interface ListItemBaseProps {
|
|
|
26
26
|
/**
|
|
27
27
|
* The container component used when a `ListItemSecondaryAction` is the last child.
|
|
28
28
|
* @default 'li'
|
|
29
|
-
* @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in
|
|
29
|
+
* @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
30
30
|
*/
|
|
31
31
|
ContainerComponent?: React.ElementType<React.HTMLAttributes<HTMLDivElement>>;
|
|
32
32
|
/**
|
|
33
33
|
* Props applied to the container component if used.
|
|
34
34
|
* @default {}
|
|
35
|
-
* @deprecated Use the `slotProps.root` prop instead. This prop will be removed in
|
|
35
|
+
* @deprecated Use the `slotProps.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
36
36
|
*/
|
|
37
37
|
ContainerProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
38
38
|
/**
|
|
@@ -69,7 +69,7 @@ export interface ListItemOwnProps extends ListItemBaseProps {
|
|
|
69
69
|
/**
|
|
70
70
|
* The components used for each slot inside.
|
|
71
71
|
*
|
|
72
|
-
* @deprecated Use the `slots` prop instead. This prop will be removed in
|
|
72
|
+
* @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
73
73
|
* @default {}
|
|
74
74
|
*/
|
|
75
75
|
components?: {
|
|
@@ -79,7 +79,7 @@ export interface ListItemOwnProps extends ListItemBaseProps {
|
|
|
79
79
|
* The extra props for the slot components.
|
|
80
80
|
* You can override the existing props or add new ones.
|
|
81
81
|
*
|
|
82
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in
|
|
82
|
+
* @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
83
83
|
* @default {}
|
|
84
84
|
*/
|
|
85
85
|
componentsProps?: {
|
package/esm/ListItem/ListItem.js
CHANGED
|
@@ -185,7 +185,7 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
|
|
|
185
185
|
const listItemRef = React.useRef(null);
|
|
186
186
|
const children = React.Children.toArray(childrenProp);
|
|
187
187
|
|
|
188
|
-
// v4 implementation, deprecated in v6, will be removed in
|
|
188
|
+
// v4 implementation, deprecated in v6, will be removed in a future major release
|
|
189
189
|
const hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);
|
|
190
190
|
const ownerState = {
|
|
191
191
|
...props,
|
|
@@ -206,7 +206,7 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
|
|
|
206
206
|
};
|
|
207
207
|
let Component = componentProp || 'li';
|
|
208
208
|
|
|
209
|
-
// v4 implementation, deprecated in v6, will be removed in
|
|
209
|
+
// v4 implementation, deprecated in v6, will be removed in a future major release
|
|
210
210
|
if (hasSecondaryAction) {
|
|
211
211
|
// Use div by default.
|
|
212
212
|
Component = !componentProps.component && !componentProp ? 'div' : Component;
|
|
@@ -310,7 +310,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
|
|
|
310
310
|
/**
|
|
311
311
|
* The components used for each slot inside.
|
|
312
312
|
*
|
|
313
|
-
* @deprecated Use the `slots` prop instead. This prop will be removed in
|
|
313
|
+
* @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
314
314
|
* @default {}
|
|
315
315
|
*/
|
|
316
316
|
components: PropTypes.shape({
|
|
@@ -320,7 +320,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
|
|
|
320
320
|
* The extra props for the slot components.
|
|
321
321
|
* You can override the existing props or add new ones.
|
|
322
322
|
*
|
|
323
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in
|
|
323
|
+
* @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
324
324
|
* @default {}
|
|
325
325
|
*/
|
|
326
326
|
componentsProps: PropTypes.shape({
|
|
@@ -329,13 +329,13 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
|
|
|
329
329
|
/**
|
|
330
330
|
* The container component used when a `ListItemSecondaryAction` is the last child.
|
|
331
331
|
* @default 'li'
|
|
332
|
-
* @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in
|
|
332
|
+
* @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
333
333
|
*/
|
|
334
334
|
ContainerComponent: elementTypeAcceptingRef,
|
|
335
335
|
/**
|
|
336
336
|
* Props applied to the container component if used.
|
|
337
337
|
* @default {}
|
|
338
|
-
* @deprecated Use the `slotProps.root` prop instead. This prop will be removed in
|
|
338
|
+
* @deprecated Use the `slotProps.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
339
339
|
*/
|
|
340
340
|
ContainerProps: PropTypes.object,
|
|
341
341
|
/**
|
|
@@ -28,7 +28,7 @@ export interface ListItemSecondaryActionProps extends StandardProps<React.HTMLAt
|
|
|
28
28
|
*
|
|
29
29
|
* - [ListItemSecondaryAction API](https://mui.com/material-ui/api/list-item-secondary-action/)
|
|
30
30
|
*
|
|
31
|
-
* @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in
|
|
31
|
+
* @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
32
32
|
*/
|
|
33
33
|
declare const ListItemSecondaryAction: ((props: ListItemSecondaryActionProps) => React.JSX.Element) & {
|
|
34
34
|
muiName: string;
|
|
@@ -46,7 +46,7 @@ const ListItemSecondaryActionRoot = styled('div', {
|
|
|
46
46
|
/**
|
|
47
47
|
* Must be used as the last child of ListItem to function properly.
|
|
48
48
|
*
|
|
49
|
-
* @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in
|
|
49
|
+
* @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
50
50
|
*/
|
|
51
51
|
const ListItemSecondaryAction = /*#__PURE__*/React.forwardRef(function ListItemSecondaryAction(inProps, ref) {
|
|
52
52
|
const props = useDefaultProps({
|
|
@@ -69,7 +69,7 @@ export interface ListItemTextProps<PrimaryTypographyComponent extends React.Elem
|
|
|
69
69
|
/**
|
|
70
70
|
* These props will be forwarded to the primary typography component
|
|
71
71
|
* (as long as disableTypography is not `true`).
|
|
72
|
-
* @deprecated Use `slotProps.primary` instead. This prop will be removed in
|
|
72
|
+
* @deprecated Use `slotProps.primary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
73
73
|
*/
|
|
74
74
|
primaryTypographyProps?: TypographyProps<PrimaryTypographyComponent, {
|
|
75
75
|
component?: PrimaryTypographyComponent;
|
|
@@ -81,7 +81,7 @@ export interface ListItemTextProps<PrimaryTypographyComponent extends React.Elem
|
|
|
81
81
|
/**
|
|
82
82
|
* These props will be forwarded to the secondary typography component
|
|
83
83
|
* (as long as disableTypography is not `true`).
|
|
84
|
-
* @deprecated Use `slotProps.secondary` instead. This prop will be removed in
|
|
84
|
+
* @deprecated Use `slotProps.secondary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
85
85
|
*/
|
|
86
86
|
secondaryTypographyProps?: TypographyProps<SecondaryTypographyComponent, {
|
|
87
87
|
component?: SecondaryTypographyComponent;
|
|
@@ -188,7 +188,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
|
|
|
188
188
|
/**
|
|
189
189
|
* These props will be forwarded to the primary typography component
|
|
190
190
|
* (as long as disableTypography is not `true`).
|
|
191
|
-
* @deprecated Use `slotProps.primary` instead. This prop will be removed in
|
|
191
|
+
* @deprecated Use `slotProps.primary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
192
192
|
*/
|
|
193
193
|
primaryTypographyProps: PropTypes.object,
|
|
194
194
|
/**
|
|
@@ -198,7 +198,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
|
|
|
198
198
|
/**
|
|
199
199
|
* These props will be forwarded to the secondary typography component
|
|
200
200
|
* (as long as disableTypography is not `true`).
|
|
201
|
-
* @deprecated Use `slotProps.secondary` instead. This prop will be removed in
|
|
201
|
+
* @deprecated Use `slotProps.secondary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
202
202
|
*/
|
|
203
203
|
secondaryTypographyProps: PropTypes.object,
|
|
204
204
|
/**
|
package/esm/Menu/Menu.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export interface MenuProps extends StandardProps<Omit<PopoverProps, 'slots' | 's
|
|
|
103
103
|
disableAutoFocusItem?: boolean;
|
|
104
104
|
/**
|
|
105
105
|
* Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
|
|
106
|
-
* @deprecated use the `slotProps.list` prop instead. This prop will be removed in
|
|
106
|
+
* @deprecated use the `slotProps.list` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
107
107
|
* @default {}
|
|
108
108
|
*/
|
|
109
109
|
MenuListProps?: Partial<MenuListProps>;
|
|
@@ -134,7 +134,7 @@ export interface MenuProps extends StandardProps<Omit<PopoverProps, 'slots' | 's
|
|
|
134
134
|
/**
|
|
135
135
|
* Props applied to the transition element.
|
|
136
136
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
137
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
137
|
+
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
138
138
|
* @default {}
|
|
139
139
|
*/
|
|
140
140
|
TransitionProps?: TransitionProps;
|
package/esm/Menu/Menu.js
CHANGED
|
@@ -267,7 +267,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes /* remove-proptypes */ =
|
|
|
267
267
|
disableAutoFocusItem: PropTypes.bool,
|
|
268
268
|
/**
|
|
269
269
|
* Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
|
|
270
|
-
* @deprecated use the `slotProps.list` prop instead. This prop will be removed in
|
|
270
|
+
* @deprecated use the `slotProps.list` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
271
271
|
* @default {}
|
|
272
272
|
*/
|
|
273
273
|
MenuListProps: PropTypes.object,
|
|
@@ -328,7 +328,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes /* remove-proptypes */ =
|
|
|
328
328
|
/**
|
|
329
329
|
* Props applied to the transition element.
|
|
330
330
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
331
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
331
|
+
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
332
332
|
* @default {}
|
|
333
333
|
*/
|
|
334
334
|
TransitionProps: PropTypes.object,
|
|
@@ -70,7 +70,7 @@ export interface MobileStepperProps extends StandardProps<PaperProps, 'children'
|
|
|
70
70
|
classes?: Partial<MobileStepperClasses>;
|
|
71
71
|
/**
|
|
72
72
|
* Props applied to the `LinearProgress` element.
|
|
73
|
-
* @deprecated Use `slotProps.progress` instead. This prop will be removed in
|
|
73
|
+
* @deprecated Use `slotProps.progress` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
74
74
|
*/
|
|
75
75
|
LinearProgressProps?: Partial<LinearProgressProps>;
|
|
76
76
|
/**
|
|
@@ -257,7 +257,7 @@ process.env.NODE_ENV !== "production" ? MobileStepper.propTypes /* remove-propty
|
|
|
257
257
|
className: PropTypes.string,
|
|
258
258
|
/**
|
|
259
259
|
* Props applied to the `LinearProgress` element.
|
|
260
|
-
* @deprecated Use `slotProps.progress` instead. This prop will be removed in
|
|
260
|
+
* @deprecated Use `slotProps.progress` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
261
261
|
*/
|
|
262
262
|
LinearProgressProps: PropTypes.object,
|
|
263
263
|
/**
|
package/esm/Modal/Modal.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export interface ModalOwnProps {
|
|
|
63
63
|
/**
|
|
64
64
|
* The components used for each slot inside.
|
|
65
65
|
*
|
|
66
|
-
* @deprecated Use the `slots` prop instead. This prop will be removed in
|
|
66
|
+
* @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
67
67
|
*
|
|
68
68
|
* @default {}
|
|
69
69
|
*/
|
|
@@ -75,7 +75,7 @@ export interface ModalOwnProps {
|
|
|
75
75
|
* The extra props for the slot components.
|
|
76
76
|
* You can override the existing props or add new ones.
|
|
77
77
|
*
|
|
78
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in
|
|
78
|
+
* @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
79
79
|
*
|
|
80
80
|
* @default {}
|
|
81
81
|
*/
|
package/esm/Modal/Modal.js
CHANGED
|
@@ -269,7 +269,7 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
|
|
|
269
269
|
/**
|
|
270
270
|
* The components used for each slot inside.
|
|
271
271
|
*
|
|
272
|
-
* @deprecated Use the `slots` prop instead. This prop will be removed in
|
|
272
|
+
* @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
273
273
|
*
|
|
274
274
|
* @default {}
|
|
275
275
|
*/
|
|
@@ -281,7 +281,7 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
|
|
|
281
281
|
* The extra props for the slot components.
|
|
282
282
|
* You can override the existing props or add new ones.
|
|
283
283
|
*
|
|
284
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in
|
|
284
|
+
* @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
285
285
|
*
|
|
286
286
|
* @default {}
|
|
287
287
|
*/
|
|
@@ -270,7 +270,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
|
|
|
270
270
|
/**
|
|
271
271
|
* The components used for each slot inside.
|
|
272
272
|
*
|
|
273
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
273
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
274
274
|
*
|
|
275
275
|
* @default {}
|
|
276
276
|
*/
|
|
@@ -41,7 +41,7 @@ export interface PaginationItemOwnProps extends PaginationItemSlotsAndSlotProps
|
|
|
41
41
|
* It's recommended to use the `slots` prop instead.
|
|
42
42
|
*
|
|
43
43
|
* @default {}
|
|
44
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
44
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
45
45
|
*/
|
|
46
46
|
components?: {
|
|
47
47
|
first?: React.ElementType;
|
|
@@ -402,7 +402,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-propt
|
|
|
402
402
|
* It's recommended to use the `slots` prop instead.
|
|
403
403
|
*
|
|
404
404
|
* @default {}
|
|
405
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
405
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
406
406
|
*/
|
|
407
407
|
components: PropTypes.shape({
|
|
408
408
|
first: PropTypes.elementType,
|
package/esm/Popover/Popover.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
82
82
|
* or a function that returns either.
|
|
83
83
|
* It's used to set the position of the popover.
|
|
84
84
|
*/
|
|
85
|
-
anchorEl?: null | Element | (() => Element
|
|
85
|
+
anchorEl?: null | Element | PopoverVirtualElement | (() => Element | PopoverVirtualElement | null);
|
|
86
86
|
/**
|
|
87
87
|
* This is the point on the anchor where the popover's
|
|
88
88
|
* `anchorEl` will attach to. This is not used when the
|
|
@@ -110,7 +110,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
110
110
|
anchorReference?: PopoverReference;
|
|
111
111
|
/**
|
|
112
112
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
113
|
-
* @deprecated Use `slots.backdrop` instead. This prop will be removed in
|
|
113
|
+
* @deprecated Use `slots.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
114
114
|
* @default styled(Backdrop, {
|
|
115
115
|
* name: 'MuiModal',
|
|
116
116
|
* slot: 'Backdrop',
|
|
@@ -124,7 +124,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
124
124
|
BackdropComponent?: React.ElementType<BackdropProps>;
|
|
125
125
|
/**
|
|
126
126
|
* Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
|
|
127
|
-
* @deprecated Use `slotProps.backdrop` instead. This prop will be removed in
|
|
127
|
+
* @deprecated Use `slotProps.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
128
128
|
*/
|
|
129
129
|
BackdropProps?: Partial<BackdropProps>;
|
|
130
130
|
/**
|
|
@@ -188,7 +188,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
188
188
|
/**
|
|
189
189
|
* The component used for the transition.
|
|
190
190
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
191
|
-
* @deprecated use the `slots.transition` prop instead. This prop will be removed in
|
|
191
|
+
* @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
192
192
|
* @default Grow
|
|
193
193
|
*/
|
|
194
194
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
@@ -202,7 +202,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
202
202
|
/**
|
|
203
203
|
* Props applied to the transition element.
|
|
204
204
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
205
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
205
|
+
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
206
206
|
* @default {}
|
|
207
207
|
*/
|
|
208
208
|
TransitionProps?: TransitionProps;
|
package/esm/Popover/Popover.js
CHANGED
|
@@ -276,7 +276,7 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
276
276
|
const handleResize = debounce(() => {
|
|
277
277
|
setPositioningStyles();
|
|
278
278
|
});
|
|
279
|
-
const containerWindow = ownerWindow(anchorEl);
|
|
279
|
+
const containerWindow = ownerWindow(resolveAnchorEl(anchorEl));
|
|
280
280
|
containerWindow.addEventListener('resize', handleResize);
|
|
281
281
|
return () => {
|
|
282
282
|
handleResize.clear();
|
|
@@ -443,7 +443,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
443
443
|
anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),
|
|
444
444
|
/**
|
|
445
445
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
446
|
-
* @deprecated Use `slots.backdrop` instead. This prop will be removed in
|
|
446
|
+
* @deprecated Use `slots.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
447
447
|
* @default styled(Backdrop, {
|
|
448
448
|
* name: 'MuiModal',
|
|
449
449
|
* slot: 'Backdrop',
|
|
@@ -457,7 +457,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
457
457
|
BackdropComponent: PropTypes.elementType,
|
|
458
458
|
/**
|
|
459
459
|
* Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
|
|
460
|
-
* @deprecated Use `slotProps.backdrop` instead. This prop will be removed in
|
|
460
|
+
* @deprecated Use `slotProps.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
461
461
|
*/
|
|
462
462
|
BackdropProps: PropTypes.object,
|
|
463
463
|
/**
|
|
@@ -559,7 +559,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
559
559
|
/**
|
|
560
560
|
* The component used for the transition.
|
|
561
561
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
562
|
-
* @deprecated use the `slots.transition` prop instead. This prop will be removed in
|
|
562
|
+
* @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
563
563
|
* @default Grow
|
|
564
564
|
*/
|
|
565
565
|
TransitionComponent: PropTypes.elementType,
|
|
@@ -575,7 +575,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
575
575
|
/**
|
|
576
576
|
* Props applied to the transition element.
|
|
577
577
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
578
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
578
|
+
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
579
579
|
* @default {}
|
|
580
580
|
*/
|
|
581
581
|
TransitionProps: PropTypes.object
|
package/esm/Popper/Popper.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
|
|
|
12
12
|
* The components used for each slot inside the Popper.
|
|
13
13
|
* Either a string to use a HTML element or a component.
|
|
14
14
|
*
|
|
15
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
15
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
16
16
|
* @default {}
|
|
17
17
|
*/
|
|
18
18
|
components?: {
|
|
@@ -21,7 +21,7 @@ export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
|
|
|
21
21
|
/**
|
|
22
22
|
* The props used for each slot inside the Popper.
|
|
23
23
|
*
|
|
24
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
24
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
25
25
|
* @default {}
|
|
26
26
|
*/
|
|
27
27
|
componentsProps?: BasePopperProps['slotProps'];
|
package/esm/Popper/Popper.js
CHANGED
|
@@ -101,7 +101,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
|
|
|
101
101
|
* The components used for each slot inside the Popper.
|
|
102
102
|
* Either a string to use a HTML element or a component.
|
|
103
103
|
*
|
|
104
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
104
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
105
105
|
* @default {}
|
|
106
106
|
*/
|
|
107
107
|
components: PropTypes.shape({
|
|
@@ -110,7 +110,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
|
|
|
110
110
|
/**
|
|
111
111
|
* The props used for each slot inside the Popper.
|
|
112
112
|
*
|
|
113
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
113
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
114
114
|
* @default {}
|
|
115
115
|
*/
|
|
116
116
|
componentsProps: PropTypes.shape({
|
package/esm/Radio/Radio.js
CHANGED
|
@@ -250,12 +250,12 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes /* remove-proptypes */ =
|
|
|
250
250
|
id: PropTypes.string,
|
|
251
251
|
/**
|
|
252
252
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
253
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
253
|
+
* @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
254
254
|
*/
|
|
255
255
|
inputProps: PropTypes.object,
|
|
256
256
|
/**
|
|
257
257
|
* Pass a ref to the `input` element.
|
|
258
|
-
* @deprecated Use `slotProps.input.ref` instead. This prop will be removed in
|
|
258
|
+
* @deprecated Use `slotProps.input.ref` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
259
259
|
*/
|
|
260
260
|
inputRef: refType,
|
|
261
261
|
/**
|
package/esm/Rating/Rating.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export interface RatingOwnProps extends RatingSlotsAndSlotProps {
|
|
|
106
106
|
icon?: React.ReactNode;
|
|
107
107
|
/**
|
|
108
108
|
* The component containing the icon.
|
|
109
|
-
* @deprecated Use `slotProps.icon.component` instead. This prop will be removed in
|
|
109
|
+
* @deprecated Use `slotProps.icon.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
110
110
|
* @default function IconContainer(props) {
|
|
111
111
|
* const { value, ...other } = props;
|
|
112
112
|
* return <span {...other} />;
|
package/esm/Rating/Rating.js
CHANGED
|
@@ -687,7 +687,7 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes /* remove-proptypes */
|
|
|
687
687
|
icon: PropTypes.node,
|
|
688
688
|
/**
|
|
689
689
|
* The component containing the icon.
|
|
690
|
-
* @deprecated Use `slotProps.icon.component` instead. This prop will be removed in
|
|
690
|
+
* @deprecated Use `slotProps.icon.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
691
691
|
* @default function IconContainer(props) {
|
|
692
692
|
* const { value, ...other } = props;
|
|
693
693
|
* return <span {...other} />;
|
package/esm/Slider/Slider.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface SliderOwnProps<Value extends number | number[]> {
|
|
|
38
38
|
/**
|
|
39
39
|
* The components used for each slot inside.
|
|
40
40
|
*
|
|
41
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
41
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
42
42
|
*
|
|
43
43
|
* @default {}
|
|
44
44
|
*/
|
|
@@ -56,7 +56,7 @@ export interface SliderOwnProps<Value extends number | number[]> {
|
|
|
56
56
|
* The extra props for the slot components.
|
|
57
57
|
* You can override the existing props or add new ones.
|
|
58
58
|
*
|
|
59
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
59
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
60
60
|
*
|
|
61
61
|
* @default {}
|
|
62
62
|
*/
|
package/esm/Slider/Slider.js
CHANGED
|
@@ -866,7 +866,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
866
866
|
/**
|
|
867
867
|
* The components used for each slot inside.
|
|
868
868
|
*
|
|
869
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
869
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
870
870
|
*
|
|
871
871
|
* @default {}
|
|
872
872
|
*/
|
|
@@ -884,7 +884,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
884
884
|
* The extra props for the slot components.
|
|
885
885
|
* You can override the existing props or add new ones.
|
|
886
886
|
*
|
|
887
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
887
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
888
888
|
*
|
|
889
889
|
* @default {}
|
|
890
890
|
*/
|
|
@@ -91,12 +91,12 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
|
|
|
91
91
|
classes?: Partial<SnackbarClasses>;
|
|
92
92
|
/**
|
|
93
93
|
* Props applied to the `ClickAwayListener` element.
|
|
94
|
-
* @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in
|
|
94
|
+
* @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
95
95
|
*/
|
|
96
96
|
ClickAwayListenerProps?: Partial<ClickAwayListenerProps>;
|
|
97
97
|
/**
|
|
98
98
|
* Props applied to the [`SnackbarContent`](https://mui.com/material-ui/api/snackbar-content/) element.
|
|
99
|
-
* @deprecated Use `slotProps.content` instead. This prop will be removed in
|
|
99
|
+
* @deprecated Use `slotProps.content` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
100
100
|
*/
|
|
101
101
|
ContentProps?: Partial<SnackbarContentProps>;
|
|
102
102
|
/**
|
|
@@ -144,7 +144,7 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
|
|
|
144
144
|
/**
|
|
145
145
|
* The component used for the transition.
|
|
146
146
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
147
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
147
|
+
* @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
148
148
|
* @default Grow
|
|
149
149
|
*/
|
|
150
150
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
@@ -162,7 +162,7 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
|
|
|
162
162
|
/**
|
|
163
163
|
* Props applied to the transition element.
|
|
164
164
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
165
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
165
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
166
166
|
* @default {}
|
|
167
167
|
*/
|
|
168
168
|
TransitionProps?: TransitionProps;
|
package/esm/Snackbar/Snackbar.js
CHANGED
|
@@ -303,12 +303,12 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
303
303
|
className: PropTypes.string,
|
|
304
304
|
/**
|
|
305
305
|
* Props applied to the `ClickAwayListener` element.
|
|
306
|
-
* @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in
|
|
306
|
+
* @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
307
307
|
*/
|
|
308
308
|
ClickAwayListenerProps: PropTypes.object,
|
|
309
309
|
/**
|
|
310
310
|
* Props applied to the [`SnackbarContent`](https://mui.com/material-ui/api/snackbar-content/) element.
|
|
311
|
-
* @deprecated Use `slotProps.content` instead. This prop will be removed in
|
|
311
|
+
* @deprecated Use `slotProps.content` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
312
312
|
*/
|
|
313
313
|
ContentProps: PropTypes.object,
|
|
314
314
|
/**
|
|
@@ -398,7 +398,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
398
398
|
/**
|
|
399
399
|
* The component used for the transition.
|
|
400
400
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
401
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
401
|
+
* @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
402
402
|
* @default Grow
|
|
403
403
|
*/
|
|
404
404
|
TransitionComponent: PropTypes.elementType,
|
|
@@ -418,7 +418,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
418
418
|
/**
|
|
419
419
|
* Props applied to the transition element.
|
|
420
420
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
421
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
421
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
422
422
|
* @default {}
|
|
423
423
|
*/
|
|
424
424
|
TransitionProps: PropTypes.object
|
|
@@ -97,7 +97,7 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
|
|
|
97
97
|
* The component used for the transition.
|
|
98
98
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
99
99
|
* @default Zoom
|
|
100
|
-
* * @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
100
|
+
* * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
101
101
|
*/
|
|
102
102
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps>;
|
|
103
103
|
/**
|
|
@@ -112,7 +112,7 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
|
|
|
112
112
|
/**
|
|
113
113
|
* Props applied to the transition element.
|
|
114
114
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
115
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
115
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
116
116
|
*/
|
|
117
117
|
TransitionProps?: TransitionProps;
|
|
118
118
|
}
|
|
@@ -553,7 +553,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
553
553
|
* The component used for the transition.
|
|
554
554
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
555
555
|
* @default Zoom
|
|
556
|
-
* * @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
556
|
+
* * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
557
557
|
*/
|
|
558
558
|
TransitionComponent: PropTypes.elementType,
|
|
559
559
|
/**
|
|
@@ -572,7 +572,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
572
572
|
/**
|
|
573
573
|
* Props applied to the transition element.
|
|
574
574
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
575
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
575
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
576
576
|
*/
|
|
577
577
|
TransitionProps: PropTypes.object
|
|
578
578
|
} : void 0;
|