@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
|
@@ -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
|
}
|
|
@@ -285,7 +285,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes /* remove-prop
|
|
|
285
285
|
/**
|
|
286
286
|
* Props applied to the [`Fab`](https://mui.com/material-ui/api/fab/) component.
|
|
287
287
|
* @default {}
|
|
288
|
-
* @deprecated Use `slotProps.fab` instead. This prop will be removed in
|
|
288
|
+
* @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.
|
|
289
289
|
*/
|
|
290
290
|
FabProps: PropTypes.object,
|
|
291
291
|
/**
|
|
@@ -327,24 +327,24 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes /* remove-prop
|
|
|
327
327
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
328
328
|
/**
|
|
329
329
|
* `classes` prop applied to the [`Tooltip`](https://mui.com/material-ui/api/tooltip/) element.
|
|
330
|
-
* @deprecated Use `slotProps.tooltip.classes` instead. This prop will be removed in
|
|
330
|
+
* @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.
|
|
331
331
|
*/
|
|
332
332
|
TooltipClasses: PropTypes.object,
|
|
333
333
|
/**
|
|
334
334
|
* Make the tooltip always visible when the SpeedDial is open.
|
|
335
335
|
* @default false
|
|
336
|
-
* @deprecated Use `slotProps.tooltip.open` instead. This prop will be removed in
|
|
336
|
+
* @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.
|
|
337
337
|
*/
|
|
338
338
|
tooltipOpen: PropTypes.bool,
|
|
339
339
|
/**
|
|
340
340
|
* Placement of the tooltip.
|
|
341
341
|
* @default 'left'
|
|
342
|
-
* @deprecated Use `slotProps.tooltip.placement` instead. This prop will be removed in
|
|
342
|
+
* @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.
|
|
343
343
|
*/
|
|
344
344
|
tooltipPlacement: PropTypes.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']),
|
|
345
345
|
/**
|
|
346
346
|
* Label to display in the tooltip.
|
|
347
|
-
* @deprecated Use `slotProps.tooltip.title` instead. This prop will be removed in
|
|
347
|
+
* @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.
|
|
348
348
|
*/
|
|
349
349
|
tooltipTitle: PropTypes.node
|
|
350
350
|
} : 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
|
}
|
|
@@ -162,7 +162,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes /* remove-proptype
|
|
|
162
162
|
* The component used for the transition.
|
|
163
163
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
164
164
|
* @default Collapse
|
|
165
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
165
|
+
* @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/).
|
|
166
166
|
*/
|
|
167
167
|
TransitionComponent: PropTypes.elementType,
|
|
168
168
|
/**
|
|
@@ -180,7 +180,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes /* remove-proptype
|
|
|
180
180
|
/**
|
|
181
181
|
* Props applied to the transition element.
|
|
182
182
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
183
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
183
|
+
* @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.
|
|
184
184
|
*/
|
|
185
185
|
TransitionProps: PropTypes.object
|
|
186
186
|
} : void 0;
|
|
@@ -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
|
/**
|
|
@@ -225,7 +225,7 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes /* remove-proptypes
|
|
|
225
225
|
/**
|
|
226
226
|
* The props used for each slot inside.
|
|
227
227
|
* @default {}
|
|
228
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
228
|
+
* @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.
|
|
229
229
|
*/
|
|
230
230
|
componentsProps: PropTypes.shape({
|
|
231
231
|
label: PropTypes.object
|
|
@@ -263,12 +263,12 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes /* remove-proptypes
|
|
|
263
263
|
}),
|
|
264
264
|
/**
|
|
265
265
|
* The component to render in place of the [`StepIcon`](https://mui.com/material-ui/api/step-icon/).
|
|
266
|
-
* @deprecated Use `slots.stepIcon` instead. This prop will be removed in
|
|
266
|
+
* @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.
|
|
267
267
|
*/
|
|
268
268
|
StepIconComponent: PropTypes.elementType,
|
|
269
269
|
/**
|
|
270
270
|
* Props applied to the [`StepIcon`](https://mui.com/material-ui/api/step-icon/) element.
|
|
271
|
-
* @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in
|
|
271
|
+
* @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.
|
|
272
272
|
*/
|
|
273
273
|
StepIconProps: PropTypes.object,
|
|
274
274
|
/**
|
|
@@ -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
|
/**
|
|
@@ -631,7 +631,7 @@ process.env.NODE_ENV !== "production" ? SwipeableDrawer.propTypes /* remove-prop
|
|
|
631
631
|
}),
|
|
632
632
|
/**
|
|
633
633
|
* The element is used to intercept the touch events on the edge.
|
|
634
|
-
* @deprecated use the `slotProps.swipeArea` prop instead. This prop will be removed in
|
|
634
|
+
* @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.
|
|
635
635
|
*/
|
|
636
636
|
SwipeAreaProps: PropTypes.object,
|
|
637
637
|
/**
|
package/esm/Switch/Switch.js
CHANGED
|
@@ -345,12 +345,12 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
|
|
|
345
345
|
id: PropTypes.string,
|
|
346
346
|
/**
|
|
347
347
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
348
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
348
|
+
* @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.
|
|
349
349
|
*/
|
|
350
350
|
inputProps: PropTypes.object,
|
|
351
351
|
/**
|
|
352
352
|
* Pass a ref to the `input` element.
|
|
353
|
-
* @deprecated Use `slotProps.input.ref` instead. This prop will be removed in
|
|
353
|
+
* @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.
|
|
354
354
|
*/
|
|
355
355
|
inputRef: refType,
|
|
356
356
|
/**
|
package/esm/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/esm/Tabs/Tabs.js
CHANGED
|
@@ -858,7 +858,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
858
858
|
orientation: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
859
859
|
/**
|
|
860
860
|
* The component used to render the scroll buttons.
|
|
861
|
-
* @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in
|
|
861
|
+
* @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.
|
|
862
862
|
* @default TabScrollButton
|
|
863
863
|
*/
|
|
864
864
|
ScrollButtonComponent: PropTypes.elementType,
|
|
@@ -915,13 +915,13 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
915
915
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
916
916
|
/**
|
|
917
917
|
* Props applied to the tab indicator element.
|
|
918
|
-
* @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in
|
|
918
|
+
* @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.
|
|
919
919
|
* @default {}
|
|
920
920
|
*/
|
|
921
921
|
TabIndicatorProps: PropTypes.object,
|
|
922
922
|
/**
|
|
923
923
|
* Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
|
|
924
|
-
* @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in
|
|
924
|
+
* @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.
|
|
925
925
|
* @default {}
|
|
926
926
|
*/
|
|
927
927
|
TabScrollButtonProps: PropTypes.object,
|
|
@@ -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
|
}
|
|
@@ -303,7 +303,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
303
303
|
error: PropTypes.bool,
|
|
304
304
|
/**
|
|
305
305
|
* Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
|
|
306
|
-
* @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in
|
|
306
|
+
* @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.
|
|
307
307
|
*/
|
|
308
308
|
FormHelperTextProps: PropTypes.object,
|
|
309
309
|
/**
|
|
@@ -323,12 +323,12 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
323
323
|
/**
|
|
324
324
|
* Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
|
|
325
325
|
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
326
|
-
* @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in
|
|
326
|
+
* @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.
|
|
327
327
|
*/
|
|
328
328
|
InputLabelProps: PropTypes.object,
|
|
329
329
|
/**
|
|
330
330
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
331
|
-
* @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in
|
|
331
|
+
* @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.
|
|
332
332
|
*/
|
|
333
333
|
inputProps: PropTypes.object,
|
|
334
334
|
/**
|
|
@@ -336,7 +336,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
336
336
|
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
337
337
|
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
338
338
|
* component depending on the `variant` prop value.
|
|
339
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
339
|
+
* @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.
|
|
340
340
|
*/
|
|
341
341
|
InputProps: PropTypes.object,
|
|
342
342
|
/**
|
|
@@ -405,7 +405,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
405
405
|
select: PropTypes.bool,
|
|
406
406
|
/**
|
|
407
407
|
* Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
408
|
-
* @deprecated Use `slotProps.select` instead. This prop will be removed in
|
|
408
|
+
* @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.
|
|
409
409
|
*/
|
|
410
410
|
SelectProps: PropTypes.object,
|
|
411
411
|
/**
|
package/esm/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/esm/Tooltip/Tooltip.js
CHANGED
|
@@ -733,7 +733,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
|
|
|
733
733
|
/**
|
|
734
734
|
* The components used for each slot inside.
|
|
735
735
|
*
|
|
736
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
736
|
+
* @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.
|
|
737
737
|
*
|
|
738
738
|
* @default {}
|
|
739
739
|
*/
|
|
@@ -747,7 +747,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
|
|
|
747
747
|
* The extra props for the slot components.
|
|
748
748
|
* You can override the existing props or add new ones.
|
|
749
749
|
*
|
|
750
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
750
|
+
* @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.
|
|
751
751
|
*
|
|
752
752
|
* @default {}
|
|
753
753
|
*/
|
|
@@ -844,12 +844,12 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
|
|
|
844
844
|
placement: PropTypes.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']),
|
|
845
845
|
/**
|
|
846
846
|
* The component used for the popper.
|
|
847
|
-
* @deprecated use the `slots.popper` prop instead. This prop will be removed in
|
|
847
|
+
* @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.
|
|
848
848
|
*/
|
|
849
849
|
PopperComponent: PropTypes.elementType,
|
|
850
850
|
/**
|
|
851
851
|
* Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
|
|
852
|
-
* @deprecated use the `slotProps.popper` prop instead. This prop will be removed in
|
|
852
|
+
* @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.
|
|
853
853
|
* @default {}
|
|
854
854
|
*/
|
|
855
855
|
PopperProps: PropTypes.object,
|
|
@@ -884,13 +884,13 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
|
|
|
884
884
|
/**
|
|
885
885
|
* The component used for the transition.
|
|
886
886
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
887
|
-
* @deprecated use the `slots.transition` prop instead. This prop will be removed in
|
|
887
|
+
* @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.
|
|
888
888
|
*/
|
|
889
889
|
TransitionComponent: PropTypes.elementType,
|
|
890
890
|
/**
|
|
891
891
|
* Props applied to the transition element.
|
|
892
892
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
893
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
893
|
+
* @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.
|
|
894
894
|
* @default {}
|
|
895
895
|
*/
|
|
896
896
|
TransitionProps: PropTypes.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
|
/**
|
|
@@ -228,7 +228,7 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes
|
|
|
228
228
|
/**
|
|
229
229
|
* If `true`, the element will be a paragraph element.
|
|
230
230
|
* @default false
|
|
231
|
-
* @deprecated Use the `component` prop instead. This prop will be removed in
|
|
231
|
+
* @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.
|
|
232
232
|
*/
|
|
233
233
|
paragraph: PropTypes.bool,
|
|
234
234
|
/**
|
package/esm/index.js
CHANGED
|
@@ -70,12 +70,12 @@ export interface SwitchBaseProps extends StandardProps<ButtonBaseProps, 'childre
|
|
|
70
70
|
id?: string;
|
|
71
71
|
/**
|
|
72
72
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
73
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
73
|
+
* @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.
|
|
74
74
|
*/
|
|
75
75
|
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
76
76
|
/**
|
|
77
77
|
* Pass a ref to the `input` element.
|
|
78
|
-
* @deprecated Use `slotProps.input.ref` instead. This prop will be removed in
|
|
78
|
+
* @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.
|
|
79
79
|
*/
|
|
80
80
|
inputRef?: React.Ref<any>;
|
|
81
81
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { CSSProperties } from "./createMixins.js";
|
|
3
3
|
import { Palette } from "./createPalette.js";
|
|
4
4
|
export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'button' | 'overline';
|
|
5
5
|
export interface FontStyle {
|
|
@@ -11,28 +11,6 @@ export interface FontStyle {
|
|
|
11
11
|
fontWeightBold: React.CSSProperties['fontWeight'];
|
|
12
12
|
htmlFontSize: number;
|
|
13
13
|
}
|
|
14
|
-
export type NormalCssProperties = CSS.Properties<number | string>;
|
|
15
|
-
export type Fontface = CSS.AtRule.FontFace & {
|
|
16
|
-
fallbacks?: CSS.AtRule.FontFace[];
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Allows the user to augment the properties available
|
|
21
|
-
*/
|
|
22
|
-
export interface BaseCSSProperties extends NormalCssProperties {
|
|
23
|
-
'@font-face'?: Fontface | Fontface[];
|
|
24
|
-
}
|
|
25
|
-
export interface CSSProperties extends BaseCSSProperties {
|
|
26
|
-
// Allow pseudo selectors and media queries
|
|
27
|
-
// `unknown` is used since TS does not allow assigning an interface without
|
|
28
|
-
// an index signature to one with an index signature. This is to allow type safe
|
|
29
|
-
// module augmentation.
|
|
30
|
-
// Technically we want any key not typed in `BaseCSSProperties` to be of type
|
|
31
|
-
// `CSSProperties` but this doesn't work. The index signature needs to cover
|
|
32
|
-
// BaseCSSProperties as well. Usually you would use `BaseCSSProperties[keyof BaseCSSProperties]`
|
|
33
|
-
// but this would not allow assigning React.CSSProperties to CSSProperties
|
|
34
|
-
[k: string]: unknown | CSSProperties;
|
|
35
|
-
}
|
|
36
14
|
export interface FontStyleOptions extends Partial<FontStyle> {
|
|
37
15
|
allVariants?: React.CSSProperties;
|
|
38
16
|
}
|
package/esm/styles/cssUtils.d.ts
CHANGED
package/esm/styles/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { default as createStyles } from "./createStyles.js";
|
|
|
9
9
|
export { TypographyVariants, TypographyVariantsOptions, TypographyStyle, TypographyVariant } from "./createTypography.js";
|
|
10
10
|
export { default as responsiveFontSizes } from "./responsiveFontSizes.js";
|
|
11
11
|
export { Duration, Easing, Transitions, TransitionsOptions, duration, easing } from "./createTransitions.js";
|
|
12
|
-
export { Mixins } from "./createMixins.js";
|
|
12
|
+
export { Mixins, CSSProperties, MixinsOptions } from "./createMixins.js";
|
|
13
13
|
export { Direction, Breakpoint, BreakpointOverrides, Breakpoints, BreakpointsOptions, CreateMUIStyled, Interpolation, CSSInterpolation, CSSObject, css, keyframes,
|
|
14
14
|
// color manipulators
|
|
15
15
|
hexToRgb, rgbToHex, hslToRgb, decomposeColor, recomposeColor, getContrastRatio, getLuminance, emphasize, alpha, darken, lighten, ColorFormat, ColorObject, StyledEngineProvider, SxProps } from '@mui/system';
|
|
@@ -21,7 +21,7 @@ export { default as useTheme } from "./useTheme.js";
|
|
|
21
21
|
export { default as useThemeProps } from "./useThemeProps.js";
|
|
22
22
|
export * from "./useThemeProps.js";
|
|
23
23
|
export { default as styled } from "./styled.js";
|
|
24
|
-
export { default as ThemeProvider } from "./ThemeProvider.js";
|
|
24
|
+
export { default as ThemeProvider, ThemeProviderProps } from "./ThemeProvider.js";
|
|
25
25
|
export { ComponentsProps, ComponentsPropsList } from "./props.js";
|
|
26
26
|
export { ComponentsVariants } from "./variants.js";
|
|
27
27
|
export { ComponentsOverrides, ComponentNameToClassKey } from "./overrides.js";
|
package/esm/version/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const version = "7.0.
|
|
1
|
+
export const version = "7.0.1";
|
|
2
2
|
export const major = Number("7");
|
|
3
3
|
export const minor = Number("0");
|
|
4
|
-
export const patch = Number("
|
|
4
|
+
export const patch = Number("1");
|
|
5
5
|
export const prerelease = undefined;
|
|
6
6
|
export default version;
|
package/index.js
CHANGED