@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
package/Snackbar/Snackbar.js
CHANGED
|
@@ -310,12 +310,12 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
310
310
|
className: _propTypes.default.string,
|
|
311
311
|
/**
|
|
312
312
|
* Props applied to the `ClickAwayListener` element.
|
|
313
|
-
* @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in
|
|
313
|
+
* @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.
|
|
314
314
|
*/
|
|
315
315
|
ClickAwayListenerProps: _propTypes.default.object,
|
|
316
316
|
/**
|
|
317
317
|
* Props applied to the [`SnackbarContent`](https://mui.com/material-ui/api/snackbar-content/) element.
|
|
318
|
-
* @deprecated Use `slotProps.content` instead. This prop will be removed in
|
|
318
|
+
* @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.
|
|
319
319
|
*/
|
|
320
320
|
ContentProps: _propTypes.default.object,
|
|
321
321
|
/**
|
|
@@ -405,7 +405,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
405
405
|
/**
|
|
406
406
|
* The component used for the transition.
|
|
407
407
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
408
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
408
|
+
* @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.
|
|
409
409
|
* @default Grow
|
|
410
410
|
*/
|
|
411
411
|
TransitionComponent: _propTypes.default.elementType,
|
|
@@ -425,7 +425,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
425
425
|
/**
|
|
426
426
|
* Props applied to the transition element.
|
|
427
427
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
428
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
428
|
+
* @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.
|
|
429
429
|
* @default {}
|
|
430
430
|
*/
|
|
431
431
|
TransitionProps: _propTypes.default.object
|
package/SpeedDial/SpeedDial.d.ts
CHANGED
|
@@ -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
|
}
|
package/SpeedDial/SpeedDial.js
CHANGED
|
@@ -560,7 +560,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
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
562
|
* @default Zoom
|
|
563
|
-
* * @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
563
|
+
* * @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/)
|
|
564
564
|
*/
|
|
565
565
|
TransitionComponent: _propTypes.default.elementType,
|
|
566
566
|
/**
|
|
@@ -579,7 +579,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
579
579
|
/**
|
|
580
580
|
* Props applied to the transition element.
|
|
581
581
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
582
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
582
|
+
* @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/)
|
|
583
583
|
*/
|
|
584
584
|
TransitionProps: _propTypes.default.object
|
|
585
585
|
} : void 0;
|
|
@@ -62,7 +62,7 @@ export interface SpeedDialActionProps extends Omit<StandardProps<Partial<Tooltip
|
|
|
62
62
|
/**
|
|
63
63
|
* Props applied to the [`Fab`](https://mui.com/material-ui/api/fab/) component.
|
|
64
64
|
* @default {}
|
|
65
|
-
* @deprecated Use `slotProps.fab` instead. This prop will be removed in
|
|
65
|
+
* @deprecated Use `slotProps.fab` 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.
|
|
66
66
|
*/
|
|
67
67
|
FabProps?: Partial<FabProps>;
|
|
68
68
|
/**
|
|
@@ -80,24 +80,24 @@ export interface SpeedDialActionProps extends Omit<StandardProps<Partial<Tooltip
|
|
|
80
80
|
sx?: SxProps<Theme>;
|
|
81
81
|
/**
|
|
82
82
|
* `classes` prop applied to the [`Tooltip`](https://mui.com/material-ui/api/tooltip/) element.
|
|
83
|
-
* @deprecated Use `slotProps.tooltip.classes` instead. This prop will be removed in
|
|
83
|
+
* @deprecated Use `slotProps.tooltip.classes` 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.
|
|
84
84
|
*/
|
|
85
85
|
TooltipClasses?: TooltipProps['classes'];
|
|
86
86
|
/**
|
|
87
87
|
* Placement of the tooltip.
|
|
88
88
|
* @default 'left'
|
|
89
|
-
* @deprecated Use `slotProps.tooltip.placement` instead. This prop will be removed in
|
|
89
|
+
* @deprecated Use `slotProps.tooltip.placement` 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.
|
|
90
90
|
*/
|
|
91
91
|
tooltipPlacement?: TooltipProps['placement'];
|
|
92
92
|
/**
|
|
93
93
|
* Label to display in the tooltip.
|
|
94
|
-
* @deprecated Use `slotProps.tooltip.title` instead. This prop will be removed in
|
|
94
|
+
* @deprecated Use `slotProps.tooltip.title` 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
|
tooltipTitle?: React.ReactNode;
|
|
97
97
|
/**
|
|
98
98
|
* Make the tooltip always visible when the SpeedDial is open.
|
|
99
99
|
* @default false
|
|
100
|
-
* @deprecated Use `slotProps.tooltip.open` instead. This prop will be removed in
|
|
100
|
+
* @deprecated Use `slotProps.tooltip.open` 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.
|
|
101
101
|
*/
|
|
102
102
|
tooltipOpen?: boolean;
|
|
103
103
|
}
|
|
@@ -292,7 +292,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes /* remove-prop
|
|
|
292
292
|
/**
|
|
293
293
|
* Props applied to the [`Fab`](https://mui.com/material-ui/api/fab/) component.
|
|
294
294
|
* @default {}
|
|
295
|
-
* @deprecated Use `slotProps.fab` instead. This prop will be removed in
|
|
295
|
+
* @deprecated Use `slotProps.fab` 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.
|
|
296
296
|
*/
|
|
297
297
|
FabProps: _propTypes.default.object,
|
|
298
298
|
/**
|
|
@@ -334,24 +334,24 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes /* remove-prop
|
|
|
334
334
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
335
335
|
/**
|
|
336
336
|
* `classes` prop applied to the [`Tooltip`](https://mui.com/material-ui/api/tooltip/) element.
|
|
337
|
-
* @deprecated Use `slotProps.tooltip.classes` instead. This prop will be removed in
|
|
337
|
+
* @deprecated Use `slotProps.tooltip.classes` 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.
|
|
338
338
|
*/
|
|
339
339
|
TooltipClasses: _propTypes.default.object,
|
|
340
340
|
/**
|
|
341
341
|
* Make the tooltip always visible when the SpeedDial is open.
|
|
342
342
|
* @default false
|
|
343
|
-
* @deprecated Use `slotProps.tooltip.open` instead. This prop will be removed in
|
|
343
|
+
* @deprecated Use `slotProps.tooltip.open` 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.
|
|
344
344
|
*/
|
|
345
345
|
tooltipOpen: _propTypes.default.bool,
|
|
346
346
|
/**
|
|
347
347
|
* Placement of the tooltip.
|
|
348
348
|
* @default 'left'
|
|
349
|
-
* @deprecated Use `slotProps.tooltip.placement` instead. This prop will be removed in
|
|
349
|
+
* @deprecated Use `slotProps.tooltip.placement` 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.
|
|
350
350
|
*/
|
|
351
351
|
tooltipPlacement: _propTypes.default.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
|
|
352
352
|
/**
|
|
353
353
|
* Label to display in the tooltip.
|
|
354
|
-
* @deprecated Use `slotProps.tooltip.title` instead. This prop will be removed in
|
|
354
|
+
* @deprecated Use `slotProps.tooltip.title` 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.
|
|
355
355
|
*/
|
|
356
356
|
tooltipTitle: _propTypes.default.node
|
|
357
357
|
} : void 0;
|
|
@@ -40,7 +40,7 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
40
40
|
* The component used for the transition.
|
|
41
41
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
42
42
|
* @default Collapse
|
|
43
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
43
|
+
* @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/).
|
|
44
44
|
*/
|
|
45
45
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
46
46
|
children: React.ReactElement<unknown, any>;
|
|
@@ -56,7 +56,7 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
56
56
|
/**
|
|
57
57
|
* Props applied to the transition element.
|
|
58
58
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
59
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
59
|
+
* @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.
|
|
60
60
|
*/
|
|
61
61
|
TransitionProps?: TransitionProps;
|
|
62
62
|
}
|
|
@@ -169,7 +169,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes /* remove-proptype
|
|
|
169
169
|
* The component used for the transition.
|
|
170
170
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
171
171
|
* @default Collapse
|
|
172
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
172
|
+
* @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/).
|
|
173
173
|
*/
|
|
174
174
|
TransitionComponent: _propTypes.default.elementType,
|
|
175
175
|
/**
|
|
@@ -187,7 +187,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes /* remove-proptype
|
|
|
187
187
|
/**
|
|
188
188
|
* Props applied to the transition element.
|
|
189
189
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
190
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
190
|
+
* @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.
|
|
191
191
|
*/
|
|
192
192
|
TransitionProps: _propTypes.default.object
|
|
193
193
|
} : void 0;
|
package/StepLabel/StepLabel.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export interface StepLabelProps extends StandardProps<React.HTMLAttributes<HTMLD
|
|
|
51
51
|
/**
|
|
52
52
|
* The props used for each slot inside.
|
|
53
53
|
* @default {}
|
|
54
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
54
|
+
* @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.
|
|
55
55
|
*/
|
|
56
56
|
componentsProps?: {
|
|
57
57
|
/**
|
|
@@ -75,12 +75,12 @@ export interface StepLabelProps extends StandardProps<React.HTMLAttributes<HTMLD
|
|
|
75
75
|
optional?: React.ReactNode;
|
|
76
76
|
/**
|
|
77
77
|
* The component to render in place of the [`StepIcon`](https://mui.com/material-ui/api/step-icon/).
|
|
78
|
-
* @deprecated Use `slots.stepIcon` instead. This prop will be removed in
|
|
78
|
+
* @deprecated Use `slots.stepIcon` 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.
|
|
79
79
|
*/
|
|
80
80
|
StepIconComponent?: React.ElementType<StepIconProps>;
|
|
81
81
|
/**
|
|
82
82
|
* Props applied to the [`StepIcon`](https://mui.com/material-ui/api/step-icon/) element.
|
|
83
|
-
* @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in
|
|
83
|
+
* @deprecated Use `slotProps.stepIcon` 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.
|
|
84
84
|
*/
|
|
85
85
|
StepIconProps?: Partial<StepIconProps>;
|
|
86
86
|
/**
|
package/StepLabel/StepLabel.js
CHANGED
|
@@ -232,7 +232,7 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes /* remove-proptypes
|
|
|
232
232
|
/**
|
|
233
233
|
* The props used for each slot inside.
|
|
234
234
|
* @default {}
|
|
235
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
235
|
+
* @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.
|
|
236
236
|
*/
|
|
237
237
|
componentsProps: _propTypes.default.shape({
|
|
238
238
|
label: _propTypes.default.object
|
|
@@ -270,12 +270,12 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes /* remove-proptypes
|
|
|
270
270
|
}),
|
|
271
271
|
/**
|
|
272
272
|
* The component to render in place of the [`StepIcon`](https://mui.com/material-ui/api/step-icon/).
|
|
273
|
-
* @deprecated Use `slots.stepIcon` instead. This prop will be removed in
|
|
273
|
+
* @deprecated Use `slots.stepIcon` 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.
|
|
274
274
|
*/
|
|
275
275
|
StepIconComponent: _propTypes.default.elementType,
|
|
276
276
|
/**
|
|
277
277
|
* Props applied to the [`StepIcon`](https://mui.com/material-ui/api/step-icon/) element.
|
|
278
|
-
* @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in
|
|
278
|
+
* @deprecated Use `slotProps.stepIcon` 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.
|
|
279
279
|
*/
|
|
280
280
|
StepIconProps: _propTypes.default.object,
|
|
281
281
|
/**
|
|
@@ -80,7 +80,7 @@ export interface SwipeableDrawerProps extends Omit<DrawerProps, 'onClose' | 'ope
|
|
|
80
80
|
open?: boolean;
|
|
81
81
|
/**
|
|
82
82
|
* The element is used to intercept the touch events on the edge.
|
|
83
|
-
* @deprecated use the `slotProps.swipeArea` prop instead. This prop will be removed in
|
|
83
|
+
* @deprecated use the `slotProps.swipeArea` 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.
|
|
84
84
|
*/
|
|
85
85
|
SwipeAreaProps?: object;
|
|
86
86
|
/**
|
|
@@ -638,7 +638,7 @@ process.env.NODE_ENV !== "production" ? SwipeableDrawer.propTypes /* remove-prop
|
|
|
638
638
|
}),
|
|
639
639
|
/**
|
|
640
640
|
* The element is used to intercept the touch events on the edge.
|
|
641
|
-
* @deprecated use the `slotProps.swipeArea` prop instead. This prop will be removed in
|
|
641
|
+
* @deprecated use the `slotProps.swipeArea` 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.
|
|
642
642
|
*/
|
|
643
643
|
SwipeAreaProps: _propTypes.default.object,
|
|
644
644
|
/**
|
package/Switch/Switch.js
CHANGED
|
@@ -352,12 +352,12 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
|
|
|
352
352
|
id: _propTypes.default.string,
|
|
353
353
|
/**
|
|
354
354
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
355
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
355
|
+
* @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.
|
|
356
356
|
*/
|
|
357
357
|
inputProps: _propTypes.default.object,
|
|
358
358
|
/**
|
|
359
359
|
* Pass a ref to the `input` element.
|
|
360
|
-
* @deprecated Use `slotProps.input.ref` instead. This prop will be removed in
|
|
360
|
+
* @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.
|
|
361
361
|
*/
|
|
362
362
|
inputRef: _refType.default,
|
|
363
363
|
/**
|
package/Tabs/Tabs.d.ts
CHANGED
|
@@ -179,7 +179,7 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
|
|
|
179
179
|
orientation?: 'horizontal' | 'vertical';
|
|
180
180
|
/**
|
|
181
181
|
* The component used to render the scroll buttons.
|
|
182
|
-
* @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in
|
|
182
|
+
* @deprecated use the `slots.scrollButtons` 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.
|
|
183
183
|
* @default TabScrollButton
|
|
184
184
|
*/
|
|
185
185
|
ScrollButtonComponent?: React.ElementType;
|
|
@@ -202,7 +202,7 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
|
|
|
202
202
|
selectionFollowsFocus?: boolean;
|
|
203
203
|
/**
|
|
204
204
|
* Props applied to the tab indicator element.
|
|
205
|
-
* @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in
|
|
205
|
+
* @deprecated use the `slotProps.indicator` 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
|
TabIndicatorProps?: React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -210,7 +210,7 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
|
|
|
210
210
|
};
|
|
211
211
|
/**
|
|
212
212
|
* Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
|
|
213
|
-
* @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in
|
|
213
|
+
* @deprecated use the `slotProps.scrollButtons` 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.
|
|
214
214
|
* @default {}
|
|
215
215
|
*/
|
|
216
216
|
TabScrollButtonProps?: Partial<TabScrollButtonProps>;
|
package/Tabs/Tabs.js
CHANGED
|
@@ -865,7 +865,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
865
865
|
orientation: _propTypes.default.oneOf(['horizontal', 'vertical']),
|
|
866
866
|
/**
|
|
867
867
|
* The component used to render the scroll buttons.
|
|
868
|
-
* @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in
|
|
868
|
+
* @deprecated use the `slots.scrollButtons` 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.
|
|
869
869
|
* @default TabScrollButton
|
|
870
870
|
*/
|
|
871
871
|
ScrollButtonComponent: _propTypes.default.elementType,
|
|
@@ -922,13 +922,13 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
922
922
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
923
923
|
/**
|
|
924
924
|
* Props applied to the tab indicator element.
|
|
925
|
-
* @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in
|
|
925
|
+
* @deprecated use the `slotProps.indicator` 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.
|
|
926
926
|
* @default {}
|
|
927
927
|
*/
|
|
928
928
|
TabIndicatorProps: _propTypes.default.object,
|
|
929
929
|
/**
|
|
930
930
|
* Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
|
|
931
|
-
* @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in
|
|
931
|
+
* @deprecated use the `slotProps.scrollButtons` 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.
|
|
932
932
|
* @default {}
|
|
933
933
|
*/
|
|
934
934
|
TabScrollButtonProps: _propTypes.default.object,
|
package/TextField/TextField.d.ts
CHANGED
|
@@ -124,7 +124,7 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
124
124
|
error?: boolean;
|
|
125
125
|
/**
|
|
126
126
|
* Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
|
|
127
|
-
* @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in
|
|
127
|
+
* @deprecated Use `slotProps.formHelperText` 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
|
FormHelperTextProps?: Partial<FormHelperTextProps>;
|
|
130
130
|
/**
|
|
@@ -144,12 +144,12 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
144
144
|
/**
|
|
145
145
|
* Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
|
|
146
146
|
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
147
|
-
* @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in
|
|
147
|
+
* @deprecated Use `slotProps.inputLabel` 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.
|
|
148
148
|
*/
|
|
149
149
|
InputLabelProps?: Partial<InputLabelProps>;
|
|
150
150
|
/**
|
|
151
151
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
152
|
-
* @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in
|
|
152
|
+
* @deprecated Use `slotProps.htmlInput` 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.
|
|
153
153
|
*/
|
|
154
154
|
inputProps?: InputBaseProps['inputProps'];
|
|
155
155
|
/**
|
|
@@ -200,7 +200,7 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
200
200
|
select?: boolean;
|
|
201
201
|
/**
|
|
202
202
|
* Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
203
|
-
* @deprecated Use `slotProps.select` instead. This prop will be removed in
|
|
203
|
+
* @deprecated Use `slotProps.select` 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.
|
|
204
204
|
*/
|
|
205
205
|
SelectProps?: Partial<SelectProps>;
|
|
206
206
|
/**
|
|
@@ -239,7 +239,7 @@ export interface StandardTextFieldProps extends BaseTextFieldProps, TextFieldSlo
|
|
|
239
239
|
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
240
240
|
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
241
241
|
* component depending on the `variant` prop value.
|
|
242
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
242
|
+
* @deprecated Use `slotProps.input` 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.
|
|
243
243
|
*/
|
|
244
244
|
InputProps?: Partial<StandardInputProps>;
|
|
245
245
|
}
|
|
@@ -261,7 +261,7 @@ export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlots
|
|
|
261
261
|
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
262
262
|
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
263
263
|
* component depending on the `variant` prop value.
|
|
264
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
264
|
+
* @deprecated Use `slotProps.input` 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.
|
|
265
265
|
*/
|
|
266
266
|
InputProps?: Partial<FilledInputProps>;
|
|
267
267
|
}
|
|
@@ -283,7 +283,7 @@ export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlo
|
|
|
283
283
|
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
284
284
|
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
285
285
|
* component depending on the `variant` prop value.
|
|
286
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
286
|
+
* @deprecated Use `slotProps.input` 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.
|
|
287
287
|
*/
|
|
288
288
|
InputProps?: Partial<OutlinedInputProps>;
|
|
289
289
|
}
|
package/TextField/TextField.js
CHANGED
|
@@ -310,7 +310,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
310
310
|
error: _propTypes.default.bool,
|
|
311
311
|
/**
|
|
312
312
|
* Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
|
|
313
|
-
* @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in
|
|
313
|
+
* @deprecated Use `slotProps.formHelperText` 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
|
*/
|
|
315
315
|
FormHelperTextProps: _propTypes.default.object,
|
|
316
316
|
/**
|
|
@@ -330,12 +330,12 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
330
330
|
/**
|
|
331
331
|
* Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
|
|
332
332
|
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
333
|
-
* @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in
|
|
333
|
+
* @deprecated Use `slotProps.inputLabel` 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.
|
|
334
334
|
*/
|
|
335
335
|
InputLabelProps: _propTypes.default.object,
|
|
336
336
|
/**
|
|
337
337
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
338
|
-
* @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in
|
|
338
|
+
* @deprecated Use `slotProps.htmlInput` 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
|
inputProps: _propTypes.default.object,
|
|
341
341
|
/**
|
|
@@ -343,7 +343,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
343
343
|
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
344
344
|
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
345
345
|
* component depending on the `variant` prop value.
|
|
346
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
346
|
+
* @deprecated Use `slotProps.input` 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.
|
|
347
347
|
*/
|
|
348
348
|
InputProps: _propTypes.default.object,
|
|
349
349
|
/**
|
|
@@ -412,7 +412,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
412
412
|
select: _propTypes.default.bool,
|
|
413
413
|
/**
|
|
414
414
|
* Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
415
|
-
* @deprecated Use `slotProps.select` instead. This prop will be removed in
|
|
415
|
+
* @deprecated Use `slotProps.select` 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.
|
|
416
416
|
*/
|
|
417
417
|
SelectProps: _propTypes.default.object,
|
|
418
418
|
/**
|
package/Tooltip/Tooltip.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { MUIStyledCommonProps, SxProps } from '@mui/system';
|
|
3
|
-
import { PopperProps } from
|
|
3
|
+
import { PopperProps } from "../Popper/index.js";
|
|
4
4
|
import { InternalStandardProps as StandardProps, Theme } from "../index.js";
|
|
5
5
|
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
6
6
|
import { TransitionProps } from "../transitions/transition.js";
|
|
@@ -70,7 +70,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
70
70
|
/**
|
|
71
71
|
* The components used for each slot inside.
|
|
72
72
|
*
|
|
73
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
73
|
+
* @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.
|
|
74
74
|
*
|
|
75
75
|
* @default {}
|
|
76
76
|
*/
|
|
@@ -84,7 +84,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
84
84
|
* The extra props for the slot components.
|
|
85
85
|
* You can override the existing props or add new ones.
|
|
86
86
|
*
|
|
87
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
87
|
+
* @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.
|
|
88
88
|
*
|
|
89
89
|
* @default {}
|
|
90
90
|
*/
|
|
@@ -181,12 +181,12 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
181
181
|
placement?: PopperProps['placement'];
|
|
182
182
|
/**
|
|
183
183
|
* The component used for the popper.
|
|
184
|
-
* @deprecated use the `slots.popper` prop instead. This prop will be removed in
|
|
184
|
+
* @deprecated use the `slots.popper` 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.
|
|
185
185
|
*/
|
|
186
186
|
PopperComponent?: React.JSXElementConstructor<PopperProps>;
|
|
187
187
|
/**
|
|
188
188
|
* Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
|
|
189
|
-
* @deprecated use the `slotProps.popper` prop instead. This prop will be removed in
|
|
189
|
+
* @deprecated use the `slotProps.popper` 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.
|
|
190
190
|
* @default {}
|
|
191
191
|
*/
|
|
192
192
|
PopperProps?: Partial<PopperProps>;
|
|
@@ -201,7 +201,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
201
201
|
/**
|
|
202
202
|
* The component used for the transition.
|
|
203
203
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
204
|
-
* @deprecated use the `slots.transition` prop instead. This prop will be removed in
|
|
204
|
+
* @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.
|
|
205
205
|
*/
|
|
206
206
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
207
207
|
children: React.ReactElement<unknown, any>;
|
|
@@ -209,7 +209,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
209
209
|
/**
|
|
210
210
|
* Props applied to the transition element.
|
|
211
211
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
212
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
212
|
+
* @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.
|
|
213
213
|
* @default {}
|
|
214
214
|
*/
|
|
215
215
|
TransitionProps?: TransitionProps;
|
package/Tooltip/Tooltip.js
CHANGED
|
@@ -741,7 +741,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
|
|
|
741
741
|
/**
|
|
742
742
|
* The components used for each slot inside.
|
|
743
743
|
*
|
|
744
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
744
|
+
* @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.
|
|
745
745
|
*
|
|
746
746
|
* @default {}
|
|
747
747
|
*/
|
|
@@ -755,7 +755,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
|
|
|
755
755
|
* The extra props for the slot components.
|
|
756
756
|
* You can override the existing props or add new ones.
|
|
757
757
|
*
|
|
758
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
758
|
+
* @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.
|
|
759
759
|
*
|
|
760
760
|
* @default {}
|
|
761
761
|
*/
|
|
@@ -852,12 +852,12 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
|
|
|
852
852
|
placement: _propTypes.default.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
|
|
853
853
|
/**
|
|
854
854
|
* The component used for the popper.
|
|
855
|
-
* @deprecated use the `slots.popper` prop instead. This prop will be removed in
|
|
855
|
+
* @deprecated use the `slots.popper` 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.
|
|
856
856
|
*/
|
|
857
857
|
PopperComponent: _propTypes.default.elementType,
|
|
858
858
|
/**
|
|
859
859
|
* Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
|
|
860
|
-
* @deprecated use the `slotProps.popper` prop instead. This prop will be removed in
|
|
860
|
+
* @deprecated use the `slotProps.popper` 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.
|
|
861
861
|
* @default {}
|
|
862
862
|
*/
|
|
863
863
|
PopperProps: _propTypes.default.object,
|
|
@@ -892,13 +892,13 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
|
|
|
892
892
|
/**
|
|
893
893
|
* The component used for the transition.
|
|
894
894
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
895
|
-
* @deprecated use the `slots.transition` prop instead. This prop will be removed in
|
|
895
|
+
* @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.
|
|
896
896
|
*/
|
|
897
897
|
TransitionComponent: _propTypes.default.elementType,
|
|
898
898
|
/**
|
|
899
899
|
* Props applied to the transition element.
|
|
900
900
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
901
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
901
|
+
* @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.
|
|
902
902
|
* @default {}
|
|
903
903
|
*/
|
|
904
904
|
TransitionProps: _propTypes.default.object
|
|
@@ -43,7 +43,7 @@ export interface TypographyOwnProps extends Omit<SystemProps<Theme>, 'color'> {
|
|
|
43
43
|
/**
|
|
44
44
|
* If `true`, the element will be a paragraph element.
|
|
45
45
|
* @default false
|
|
46
|
-
* @deprecated Use the `component` prop instead. This prop will be removed in
|
|
46
|
+
* @deprecated Use the `component` 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.
|
|
47
47
|
*/
|
|
48
48
|
paragraph?: boolean;
|
|
49
49
|
/**
|
package/Typography/Typography.js
CHANGED
|
@@ -235,7 +235,7 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes
|
|
|
235
235
|
/**
|
|
236
236
|
* If `true`, the element will be a paragraph element.
|
|
237
237
|
* @default false
|
|
238
|
-
* @deprecated Use the `component` prop instead. This prop will be removed in
|
|
238
|
+
* @deprecated Use the `component` 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.
|
|
239
239
|
*/
|
|
240
240
|
paragraph: _propTypes.default.bool,
|
|
241
241
|
/**
|
|
@@ -88,7 +88,7 @@ export type AccordionTypeMap<AdditionalProps = {}, RootComponent extends React.E
|
|
|
88
88
|
/**
|
|
89
89
|
* The component used for the transition.
|
|
90
90
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
91
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
91
|
+
* @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.
|
|
92
92
|
*/
|
|
93
93
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
94
94
|
children?: React.ReactElement<unknown, any>;
|
|
@@ -96,7 +96,7 @@ export type AccordionTypeMap<AdditionalProps = {}, RootComponent extends React.E
|
|
|
96
96
|
/**
|
|
97
97
|
* Props applied to the transition element.
|
|
98
98
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
99
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
99
|
+
* @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.
|
|
100
100
|
*/
|
|
101
101
|
TransitionProps?: TransitionProps;
|
|
102
102
|
} & AccordionSlotsAndSlotProps;
|