@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
|
@@ -315,13 +315,13 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes /* remove-proptypes
|
|
|
315
315
|
/**
|
|
316
316
|
* The component used for the transition.
|
|
317
317
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
318
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
318
|
+
* @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.
|
|
319
319
|
*/
|
|
320
320
|
TransitionComponent: PropTypes.elementType,
|
|
321
321
|
/**
|
|
322
322
|
* Props applied to the transition element.
|
|
323
323
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
324
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
324
|
+
* @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.
|
|
325
325
|
*/
|
|
326
326
|
TransitionProps: PropTypes.object
|
|
327
327
|
} : void 0;
|
package/esm/Alert/Alert.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export interface AlertProps extends StandardProps<PaperProps, 'variant'>, AlertS
|
|
|
103
103
|
/**
|
|
104
104
|
* The components used for each slot inside.
|
|
105
105
|
*
|
|
106
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
106
|
+
* @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.
|
|
107
107
|
*
|
|
108
108
|
* @default {}
|
|
109
109
|
*/
|
|
@@ -115,7 +115,7 @@ export interface AlertProps extends StandardProps<PaperProps, 'variant'>, AlertS
|
|
|
115
115
|
* The extra props for the slot components.
|
|
116
116
|
* You can override the existing props or add new ones.
|
|
117
117
|
*
|
|
118
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
118
|
+
* @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.
|
|
119
119
|
*
|
|
120
120
|
* @default {}
|
|
121
121
|
*/
|
package/esm/Alert/Alert.js
CHANGED
|
@@ -295,7 +295,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
|
|
|
295
295
|
/**
|
|
296
296
|
* The components used for each slot inside.
|
|
297
297
|
*
|
|
298
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
298
|
+
* @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.
|
|
299
299
|
*
|
|
300
300
|
* @default {}
|
|
301
301
|
*/
|
|
@@ -307,7 +307,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
|
|
|
307
307
|
* The extra props for the slot components.
|
|
308
308
|
* You can override the existing props or add new ones.
|
|
309
309
|
*
|
|
310
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
310
|
+
* @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.
|
|
311
311
|
*
|
|
312
312
|
* @default {}
|
|
313
313
|
*/
|
|
@@ -2,9 +2,9 @@ import * as React from 'react';
|
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { OverridableStringUnion } from '@mui/types';
|
|
4
4
|
import { IconButtonProps, InternalStandardProps as StandardProps, Theme } from '@mui/material';
|
|
5
|
-
import { ChipProps, ChipTypeMap } from
|
|
6
|
-
import { PaperProps } from
|
|
7
|
-
import { PopperProps } from
|
|
5
|
+
import { ChipProps, ChipTypeMap } from "../Chip/index.js";
|
|
6
|
+
import { PaperProps } from "../Paper/index.js";
|
|
7
|
+
import { PopperProps } from "../Popper/index.js";
|
|
8
8
|
import useAutocomplete, { AutocompleteChangeDetails, AutocompleteChangeReason, AutocompleteCloseReason, AutocompleteInputChangeReason, AutocompleteValue, createFilterOptions, UseAutocompleteProps, AutocompleteFreeSoloValueMapping } from "../useAutocomplete/index.js";
|
|
9
9
|
import { AutocompleteClasses } from "./autocompleteClasses.js";
|
|
10
10
|
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
@@ -95,7 +95,7 @@ export type AutocompleteSlotsAndSlotProps<Value, Multiple extends boolean | unde
|
|
|
95
95
|
export interface AutocompleteProps<Value, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']> extends UseAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo>, StandardProps<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange' | 'children'>, AutocompleteSlotsAndSlotProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent> {
|
|
96
96
|
/**
|
|
97
97
|
* Props applied to the [`Chip`](https://mui.com/material-ui/api/chip/) element.
|
|
98
|
-
* @deprecated Use `slotProps.chip` instead. This prop will be removed in
|
|
98
|
+
* @deprecated Use `slotProps.chip` 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.
|
|
99
99
|
*/
|
|
100
100
|
ChipProps?: ChipProps<ChipComponent>;
|
|
101
101
|
/**
|
|
@@ -123,7 +123,7 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
|
|
|
123
123
|
closeText?: string;
|
|
124
124
|
/**
|
|
125
125
|
* The props used for each slot inside.
|
|
126
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in
|
|
126
|
+
* @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.
|
|
127
127
|
*/
|
|
128
128
|
componentsProps?: {
|
|
129
129
|
clearIndicator?: Partial<IconButtonProps>;
|
|
@@ -162,12 +162,12 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
|
|
|
162
162
|
/**
|
|
163
163
|
* The component used to render the listbox.
|
|
164
164
|
* @default 'ul'
|
|
165
|
-
* @deprecated Use `slotProps.listbox.component` instead. This prop will be removed in
|
|
165
|
+
* @deprecated Use `slotProps.listbox.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
166
166
|
*/
|
|
167
167
|
ListboxComponent?: React.JSXElementConstructor<React.HTMLAttributes<HTMLElement>>;
|
|
168
168
|
/**
|
|
169
169
|
* Props applied to the Listbox element.
|
|
170
|
-
* @deprecated Use `slotProps.listbox` instead. This prop will be removed in
|
|
170
|
+
* @deprecated Use `slotProps.listbox` 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.
|
|
171
171
|
*/
|
|
172
172
|
ListboxProps?: ReturnType<ReturnType<typeof useAutocomplete>['getListboxProps']> & {
|
|
173
173
|
sx?: SxProps<Theme>;
|
|
@@ -212,13 +212,13 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
|
|
|
212
212
|
/**
|
|
213
213
|
* The component used to render the body of the popup.
|
|
214
214
|
* @default Paper
|
|
215
|
-
* @deprecated Use `slots.paper` instead. This prop will be removed in
|
|
215
|
+
* @deprecated Use `slots.paper` 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.
|
|
216
216
|
*/
|
|
217
217
|
PaperComponent?: React.JSXElementConstructor<React.HTMLAttributes<HTMLElement>>;
|
|
218
218
|
/**
|
|
219
219
|
* The component used to position the popup.
|
|
220
220
|
* @default Popper
|
|
221
|
-
* @deprecated Use `slots.popper` instead. This prop will be removed in
|
|
221
|
+
* @deprecated Use `slots.popper` 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.
|
|
222
222
|
*/
|
|
223
223
|
PopperComponent?: React.JSXElementConstructor<PopperProps>;
|
|
224
224
|
/**
|
|
@@ -779,7 +779,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
779
779
|
blurOnSelect: PropTypes.oneOfType([PropTypes.oneOf(['mouse', 'touch']), PropTypes.bool]),
|
|
780
780
|
/**
|
|
781
781
|
* Props applied to the [`Chip`](https://mui.com/material-ui/api/chip/) element.
|
|
782
|
-
* @deprecated Use `slotProps.chip` instead. This prop will be removed in
|
|
782
|
+
* @deprecated Use `slotProps.chip` 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.
|
|
783
783
|
*/
|
|
784
784
|
ChipProps: PropTypes.object,
|
|
785
785
|
/**
|
|
@@ -824,7 +824,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
824
824
|
closeText: PropTypes.string,
|
|
825
825
|
/**
|
|
826
826
|
* The props used for each slot inside.
|
|
827
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in
|
|
827
|
+
* @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.
|
|
828
828
|
*/
|
|
829
829
|
componentsProps: PropTypes.shape({
|
|
830
830
|
clearIndicator: PropTypes.object,
|
|
@@ -982,12 +982,12 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
982
982
|
/**
|
|
983
983
|
* The component used to render the listbox.
|
|
984
984
|
* @default 'ul'
|
|
985
|
-
* @deprecated Use `slotProps.listbox.component` instead. This prop will be removed in
|
|
985
|
+
* @deprecated Use `slotProps.listbox.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
986
986
|
*/
|
|
987
987
|
ListboxComponent: PropTypes.elementType,
|
|
988
988
|
/**
|
|
989
989
|
* Props applied to the Listbox element.
|
|
990
|
-
* @deprecated Use `slotProps.listbox` instead. This prop will be removed in
|
|
990
|
+
* @deprecated Use `slotProps.listbox` 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.
|
|
991
991
|
*/
|
|
992
992
|
ListboxProps: PropTypes.object,
|
|
993
993
|
/**
|
|
@@ -1082,13 +1082,13 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
1082
1082
|
/**
|
|
1083
1083
|
* The component used to render the body of the popup.
|
|
1084
1084
|
* @default Paper
|
|
1085
|
-
* @deprecated Use `slots.paper` instead. This prop will be removed in
|
|
1085
|
+
* @deprecated Use `slots.paper` 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.
|
|
1086
1086
|
*/
|
|
1087
1087
|
PaperComponent: PropTypes.elementType,
|
|
1088
1088
|
/**
|
|
1089
1089
|
* The component used to position the popup.
|
|
1090
1090
|
* @default Popper
|
|
1091
|
-
* @deprecated Use `slots.popper` instead. This prop will be removed in
|
|
1091
|
+
* @deprecated Use `slots.popper` 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.
|
|
1092
1092
|
*/
|
|
1093
1093
|
PopperComponent: PropTypes.elementType,
|
|
1094
1094
|
/**
|
package/esm/Avatar/Avatar.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export interface AvatarOwnProps {
|
|
|
35
35
|
/**
|
|
36
36
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
|
|
37
37
|
* It can be used to listen for the loading error event.
|
|
38
|
-
* @deprecated Use `slotProps.img` instead. This prop will be removed in
|
|
38
|
+
* @deprecated Use `slotProps.img` 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.
|
|
39
39
|
*/
|
|
40
40
|
imgProps?: React.ImgHTMLAttributes<HTMLImageElement> & {
|
|
41
41
|
sx?: SxProps<Theme>;
|
package/esm/Avatar/Avatar.js
CHANGED
|
@@ -256,7 +256,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes /* remove-proptypes */
|
|
|
256
256
|
/**
|
|
257
257
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
|
|
258
258
|
* It can be used to listen for the loading error event.
|
|
259
|
-
* @deprecated Use `slotProps.img` instead. This prop will be removed in
|
|
259
|
+
* @deprecated Use `slotProps.img` 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.
|
|
260
260
|
*/
|
|
261
261
|
imgProps: PropTypes.object,
|
|
262
262
|
/**
|
|
@@ -12,7 +12,7 @@ export interface AvatarGroupSlots {
|
|
|
12
12
|
}
|
|
13
13
|
export type AvatarGroupSlotsAndSlotProps = CreateSlotsAndSlotProps<AvatarGroupSlots, {
|
|
14
14
|
/**
|
|
15
|
-
* @deprecated use `slotProps.surplus` instead. This prop will be removed in
|
|
15
|
+
* @deprecated use `slotProps.surplus` 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.
|
|
16
16
|
* */
|
|
17
17
|
additionalAvatar: React.ComponentPropsWithRef<typeof Avatar> & AvatarGroupComponentsPropsOverrides;
|
|
18
18
|
surplus: SlotProps<React.ElementType<React.ComponentPropsWithRef<typeof Avatar>>, AvatarGroupComponentsPropsOverrides, AvatarGroupOwnerState>;
|
|
@@ -37,7 +37,7 @@ export interface AvatarGroupOwnProps extends AvatarGroupSlotsAndSlotProps {
|
|
|
37
37
|
*
|
|
38
38
|
* This prop is an alias for the `slotProps` prop.
|
|
39
39
|
*
|
|
40
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
40
|
+
* @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.
|
|
41
41
|
*/
|
|
42
42
|
componentsProps?: {
|
|
43
43
|
additionalAvatar?: React.ComponentPropsWithRef<typeof Avatar> & AvatarGroupComponentsPropsOverrides;
|
|
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes /* remove-proptype
|
|
|
160
160
|
*
|
|
161
161
|
* This prop is an alias for the `slotProps` prop.
|
|
162
162
|
*
|
|
163
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
163
|
+
* @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.
|
|
164
164
|
*/
|
|
165
165
|
componentsProps: PropTypes.shape({
|
|
166
166
|
additionalAvatar: PropTypes.object
|
|
@@ -41,7 +41,7 @@ export interface BackdropOwnProps extends Partial<Omit<FadeProps, 'children'>>,
|
|
|
41
41
|
/**
|
|
42
42
|
* The components used for each slot inside.
|
|
43
43
|
*
|
|
44
|
-
* @deprecated Use the `slots` prop instead. This prop will be removed in
|
|
44
|
+
* @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
45
45
|
*
|
|
46
46
|
* @default {}
|
|
47
47
|
*/
|
|
@@ -52,7 +52,7 @@ export interface BackdropOwnProps extends Partial<Omit<FadeProps, 'children'>>,
|
|
|
52
52
|
* The extra props for the slot components.
|
|
53
53
|
* You can override the existing props or add new ones.
|
|
54
54
|
*
|
|
55
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in
|
|
55
|
+
* @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.
|
|
56
56
|
*
|
|
57
57
|
* @default {}
|
|
58
58
|
*/
|
|
@@ -86,7 +86,7 @@ export interface BackdropOwnProps extends Partial<Omit<FadeProps, 'children'>>,
|
|
|
86
86
|
* The component used for the transition.
|
|
87
87
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
88
88
|
* @default Fade
|
|
89
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
89
|
+
* @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.
|
|
90
90
|
*/
|
|
91
91
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
92
92
|
children: React.ReactElement<unknown, any>;
|
package/esm/Backdrop/Backdrop.js
CHANGED
|
@@ -137,7 +137,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
|
|
|
137
137
|
/**
|
|
138
138
|
* The components used for each slot inside.
|
|
139
139
|
*
|
|
140
|
-
* @deprecated Use the `slots` prop instead. This prop will be removed in
|
|
140
|
+
* @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.
|
|
141
141
|
*
|
|
142
142
|
* @default {}
|
|
143
143
|
*/
|
|
@@ -148,7 +148,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
|
|
|
148
148
|
* The extra props for the slot components.
|
|
149
149
|
* You can override the existing props or add new ones.
|
|
150
150
|
*
|
|
151
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in
|
|
151
|
+
* @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.
|
|
152
152
|
*
|
|
153
153
|
* @default {}
|
|
154
154
|
*/
|
|
@@ -189,7 +189,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
|
|
|
189
189
|
* The component used for the transition.
|
|
190
190
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
191
191
|
* @default Fade
|
|
192
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
192
|
+
* @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.
|
|
193
193
|
*/
|
|
194
194
|
TransitionComponent: PropTypes.elementType,
|
|
195
195
|
/**
|
package/esm/Badge/Badge.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ export interface BadgeOwnProps {
|
|
|
60
60
|
* The extra props for the slot components.
|
|
61
61
|
* You can override the existing props or add new ones.
|
|
62
62
|
*
|
|
63
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
63
|
+
* @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.
|
|
64
64
|
*
|
|
65
65
|
* @default {}
|
|
66
66
|
*/
|
|
@@ -68,7 +68,7 @@ export interface BadgeOwnProps {
|
|
|
68
68
|
/**
|
|
69
69
|
* The components used for each slot inside.
|
|
70
70
|
*
|
|
71
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
71
|
+
* @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.
|
|
72
72
|
*
|
|
73
73
|
* @default {}
|
|
74
74
|
*/
|
package/esm/Badge/Badge.js
CHANGED
|
@@ -358,7 +358,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
|
|
|
358
358
|
/**
|
|
359
359
|
* The components used for each slot inside.
|
|
360
360
|
*
|
|
361
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
361
|
+
* @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.
|
|
362
362
|
*
|
|
363
363
|
* @default {}
|
|
364
364
|
*/
|
|
@@ -370,7 +370,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
|
|
|
370
370
|
* The extra props for the slot components.
|
|
371
371
|
* You can override the existing props or add new ones.
|
|
372
372
|
*
|
|
373
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
373
|
+
* @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.
|
|
374
374
|
*
|
|
375
375
|
* @default {}
|
|
376
376
|
*/
|
package/esm/Button/Button.js
CHANGED
|
@@ -6,7 +6,7 @@ import clsx from 'clsx';
|
|
|
6
6
|
import resolveProps from '@mui/utils/resolveProps';
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import { alpha } from '@mui/system/colorManipulator';
|
|
9
|
-
import { unstable_useId as useId } from
|
|
9
|
+
import { unstable_useId as useId } from "../utils/index.js";
|
|
10
10
|
import rootShouldForwardProp from "../styles/rootShouldForwardProp.js";
|
|
11
11
|
import { styled } from "../zero-styled/index.js";
|
|
12
12
|
import memoTheme from "../utils/memoTheme.js";
|
|
@@ -105,7 +105,7 @@ export interface CardHeaderOwnProps<TitleTypographyComponent extends React.Eleme
|
|
|
105
105
|
/**
|
|
106
106
|
* These props will be forwarded to the subheader
|
|
107
107
|
* (as long as disableTypography is not `true`).
|
|
108
|
-
* @deprecated Use `slotProps.subheader` instead. This prop will be removed in
|
|
108
|
+
* @deprecated Use `slotProps.subheader` 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.
|
|
109
109
|
*/
|
|
110
110
|
subheaderTypographyProps?: TypographyProps<SubheaderTypographyComponent, {
|
|
111
111
|
component?: SubheaderTypographyComponent;
|
|
@@ -121,7 +121,7 @@ export interface CardHeaderOwnProps<TitleTypographyComponent extends React.Eleme
|
|
|
121
121
|
/**
|
|
122
122
|
* These props will be forwarded to the title
|
|
123
123
|
* (as long as disableTypography is not `true`).
|
|
124
|
-
* @deprecated Use `slotProps.title` instead. This prop will be removed in
|
|
124
|
+
* @deprecated Use `slotProps.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.
|
|
125
125
|
*/
|
|
126
126
|
titleTypographyProps?: TypographyProps<TitleTypographyComponent, {
|
|
127
127
|
component?: TitleTypographyComponent;
|
|
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes /* remove-proptypes
|
|
|
246
246
|
/**
|
|
247
247
|
* These props will be forwarded to the subheader
|
|
248
248
|
* (as long as disableTypography is not `true`).
|
|
249
|
-
* @deprecated Use `slotProps.subheader` instead. This prop will be removed in
|
|
249
|
+
* @deprecated Use `slotProps.subheader` 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.
|
|
250
250
|
*/
|
|
251
251
|
subheaderTypographyProps: PropTypes.object,
|
|
252
252
|
/**
|
|
@@ -260,7 +260,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes /* remove-proptypes
|
|
|
260
260
|
/**
|
|
261
261
|
* These props will be forwarded to the title
|
|
262
262
|
* (as long as disableTypography is not `true`).
|
|
263
|
-
* @deprecated Use `slotProps.title` instead. This prop will be removed in
|
|
263
|
+
* @deprecated Use `slotProps.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.
|
|
264
264
|
*/
|
|
265
265
|
titleTypographyProps: PropTypes.object
|
|
266
266
|
} : void 0;
|
package/esm/Checkbox/Checkbox.js
CHANGED
|
@@ -230,7 +230,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes *
|
|
|
230
230
|
indeterminateIcon: PropTypes.node,
|
|
231
231
|
/**
|
|
232
232
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
233
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
233
|
+
* @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.
|
|
234
234
|
*/
|
|
235
235
|
inputProps: PropTypes.object,
|
|
236
236
|
/**
|
package/esm/Dialog/Dialog.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ export interface DialogProps extends Omit<StandardProps<ModalProps, 'children'>,
|
|
|
130
130
|
/**
|
|
131
131
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
132
132
|
* @default {}
|
|
133
|
-
* @deprecated Use `slotProps.paper` instead. This prop will be removed in
|
|
133
|
+
* @deprecated Use `slotProps.paper` 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.
|
|
134
134
|
*/
|
|
135
135
|
PaperProps?: Partial<PaperProps<React.ElementType>>;
|
|
136
136
|
/**
|
|
@@ -146,7 +146,7 @@ export interface DialogProps extends Omit<StandardProps<ModalProps, 'children'>,
|
|
|
146
146
|
* The component used for the transition.
|
|
147
147
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
148
148
|
* @default Fade
|
|
149
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
149
|
+
* @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.
|
|
150
150
|
*/
|
|
151
151
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
152
152
|
children: React.ReactElement<unknown, any>;
|
|
@@ -163,7 +163,7 @@ export interface DialogProps extends Omit<StandardProps<ModalProps, 'children'>,
|
|
|
163
163
|
/**
|
|
164
164
|
* Props applied to the transition element.
|
|
165
165
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
166
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
166
|
+
* @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.
|
|
167
167
|
*/
|
|
168
168
|
TransitionProps?: TransitionProps;
|
|
169
169
|
}
|
package/esm/Dialog/Dialog.js
CHANGED
|
@@ -449,7 +449,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
|
|
|
449
449
|
/**
|
|
450
450
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
451
451
|
* @default {}
|
|
452
|
-
* @deprecated Use `slotProps.paper` instead. This prop will be removed in
|
|
452
|
+
* @deprecated Use `slotProps.paper` 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.
|
|
453
453
|
*/
|
|
454
454
|
PaperProps: PropTypes.object,
|
|
455
455
|
/**
|
|
@@ -487,7 +487,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
|
|
|
487
487
|
* The component used for the transition.
|
|
488
488
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
489
489
|
* @default Fade
|
|
490
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
490
|
+
* @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.
|
|
491
491
|
*/
|
|
492
492
|
TransitionComponent: PropTypes.elementType,
|
|
493
493
|
/**
|
|
@@ -506,7 +506,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
|
|
|
506
506
|
/**
|
|
507
507
|
* Props applied to the transition element.
|
|
508
508
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
509
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
509
|
+
* @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.
|
|
510
510
|
*/
|
|
511
511
|
TransitionProps: PropTypes.object
|
|
512
512
|
} : void 0;
|
package/esm/Drawer/Drawer.d.ts
CHANGED
|
@@ -107,13 +107,13 @@ export interface DrawerProps extends StandardProps<ModalProps, 'open' | 'childre
|
|
|
107
107
|
open?: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
110
|
-
* @deprecated use the `slotProps.paper` prop instead. This prop will be removed in
|
|
110
|
+
* @deprecated use the `slotProps.paper` 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.
|
|
111
111
|
* @default {}
|
|
112
112
|
*/
|
|
113
113
|
PaperProps?: Partial<PaperProps<React.ElementType>>;
|
|
114
114
|
/**
|
|
115
115
|
* Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
|
|
116
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
116
|
+
* @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.
|
|
117
117
|
*/
|
|
118
118
|
SlideProps?: Partial<SlideProps>;
|
|
119
119
|
/**
|
package/esm/Drawer/Drawer.js
CHANGED
|
@@ -377,13 +377,13 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes /* remove-proptypes */
|
|
|
377
377
|
open: PropTypes.bool,
|
|
378
378
|
/**
|
|
379
379
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
380
|
-
* @deprecated use the `slotProps.paper` prop instead. This prop will be removed in
|
|
380
|
+
* @deprecated use the `slotProps.paper` 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.
|
|
381
381
|
* @default {}
|
|
382
382
|
*/
|
|
383
383
|
PaperProps: PropTypes.object,
|
|
384
384
|
/**
|
|
385
385
|
* Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
|
|
386
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
386
|
+
* @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.
|
|
387
387
|
*/
|
|
388
388
|
SlideProps: PropTypes.object,
|
|
389
389
|
/**
|
package/esm/Fab/Fab.js
CHANGED
|
@@ -58,7 +58,7 @@ const FabRoot = styled(ButtonBase, {
|
|
|
58
58
|
'&:active': {
|
|
59
59
|
boxShadow: (theme.vars || theme).shadows[12]
|
|
60
60
|
},
|
|
61
|
-
color: theme.vars ? theme.vars.palette.
|
|
61
|
+
color: theme.vars ? theme.vars.palette.grey[900] : theme.palette.getContrastText?.(theme.palette.grey[300]),
|
|
62
62
|
backgroundColor: (theme.vars || theme).palette.grey[300],
|
|
63
63
|
'&:hover': {
|
|
64
64
|
backgroundColor: (theme.vars || theme).palette.grey.A100,
|
|
@@ -349,7 +349,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
|
|
|
349
349
|
/**
|
|
350
350
|
* The components used for each slot inside.
|
|
351
351
|
*
|
|
352
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
352
|
+
* @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.
|
|
353
353
|
*
|
|
354
354
|
* @default {}
|
|
355
355
|
*/
|
|
@@ -361,7 +361,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
|
|
|
361
361
|
* The extra props for the slot components.
|
|
362
362
|
* You can override the existing props or add new ones.
|
|
363
363
|
*
|
|
364
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
364
|
+
* @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.
|
|
365
365
|
*
|
|
366
366
|
* @default {}
|
|
367
367
|
*/
|
|
@@ -27,7 +27,7 @@ export interface FormControlLabelProps extends StandardProps<React.LabelHTMLAttr
|
|
|
27
27
|
/**
|
|
28
28
|
* The props used for each slot inside.
|
|
29
29
|
* @default {}
|
|
30
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
30
|
+
* @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.
|
|
31
31
|
*/
|
|
32
32
|
componentsProps?: {
|
|
33
33
|
/**
|
|
@@ -212,7 +212,7 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes /* remove-pro
|
|
|
212
212
|
/**
|
|
213
213
|
* The props used for each slot inside.
|
|
214
214
|
* @default {}
|
|
215
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
215
|
+
* @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.
|
|
216
216
|
*/
|
|
217
217
|
componentsProps: PropTypes.shape({
|
|
218
218
|
typography: PropTypes.object
|
|
@@ -5,8 +5,8 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
|
-
import { unstable_useId as useId } from '@mui/material/utils';
|
|
9
8
|
import { alpha } from '@mui/system/colorManipulator';
|
|
9
|
+
import { unstable_useId as useId } from "../utils/index.js";
|
|
10
10
|
import { styled } from "../zero-styled/index.js";
|
|
11
11
|
import memoTheme from "../utils/memoTheme.js";
|
|
12
12
|
import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.js";
|
package/esm/Input/Input.js
CHANGED
|
@@ -201,7 +201,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
|
|
|
201
201
|
/**
|
|
202
202
|
* The components used for each slot inside.
|
|
203
203
|
*
|
|
204
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
204
|
+
* @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.
|
|
205
205
|
*
|
|
206
206
|
* @default {}
|
|
207
207
|
*/
|
|
@@ -213,7 +213,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
|
|
|
213
213
|
* The extra props for the slot components.
|
|
214
214
|
* You can override the existing props or add new ones.
|
|
215
215
|
*
|
|
216
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
216
|
+
* @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.
|
|
217
217
|
*
|
|
218
218
|
* @default {}
|
|
219
219
|
*/
|
|
@@ -39,7 +39,7 @@ export interface InputBaseProps extends StandardProps<React.HTMLAttributes<HTMLD
|
|
|
39
39
|
/**
|
|
40
40
|
* The components used for each slot inside.
|
|
41
41
|
*
|
|
42
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
42
|
+
* @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.
|
|
43
43
|
*
|
|
44
44
|
* @default {}
|
|
45
45
|
*/
|
|
@@ -51,7 +51,7 @@ export interface InputBaseProps extends StandardProps<React.HTMLAttributes<HTMLD
|
|
|
51
51
|
* The extra props for the slot components.
|
|
52
52
|
* You can override the existing props or add new ones.
|
|
53
53
|
*
|
|
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
|
* @default {}
|
|
57
57
|
*/
|
|
@@ -555,7 +555,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes
|
|
|
555
555
|
/**
|
|
556
556
|
* The components used for each slot inside.
|
|
557
557
|
*
|
|
558
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
558
|
+
* @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.
|
|
559
559
|
*
|
|
560
560
|
* @default {}
|
|
561
561
|
*/
|
|
@@ -567,7 +567,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes
|
|
|
567
567
|
* The extra props for the slot components.
|
|
568
568
|
* You can override the existing props or add new ones.
|
|
569
569
|
*
|
|
570
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
570
|
+
* @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.
|
|
571
571
|
*
|
|
572
572
|
* @default {}
|
|
573
573
|
*/
|