@mui/material 5.10.12 → 5.10.13
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/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/Alert.d.ts +34 -3
- package/Alert/Alert.js +46 -9
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.d.ts +10 -0
- package/Autocomplete/Autocomplete.js +27 -11
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/AvatarGroup.d.ts +18 -1
- package/AvatarGroup/AvatarGroup.js +25 -6
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/Backdrop.d.ts +33 -3
- package/Backdrop/Backdrop.js +46 -11
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +11 -3
- package/Badge/Badge.js +11 -3
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +58 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +48 -9
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.d.ts +12 -0
- package/FormControlLabel/FormControlLabel.js +17 -5
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +49 -10
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +34 -3
- package/InputBase/InputBase.js +45 -8
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/ListItem.d.ts +32 -3
- package/ListItem/ListItem.js +41 -9
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.d.ts +11 -3
- package/Modal/Modal.js +11 -3
- package/NativeSelect/NativeSelectInput.js +11 -9
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/OutlinedInput.js +26 -8
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OverridableComponentAugmentation.d.ts +31 -31
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.d.ts +19 -7
- package/PaginationItem/PaginationItem.js +31 -22
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +37 -37
- package/README.md +1 -0
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.d.ts +3 -3
- package/Select/Select.js +3 -3
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/Slider.d.ts +14 -2
- package/Slider/Slider.js +12 -3
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/StepLabel.d.ts +11 -0
- package/StepLabel/StepLabel.js +15 -3
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/Tooltip.d.ts +43 -6
- package/Tooltip/Tooltip.js +68 -31
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/esm/Alert/Alert.js +46 -9
- package/esm/Autocomplete/Autocomplete.js +27 -11
- package/esm/AvatarGroup/AvatarGroup.js +25 -6
- package/esm/Backdrop/Backdrop.js +46 -11
- package/esm/Badge/Badge.js +11 -3
- package/esm/BottomNavigation/BottomNavigation.js +0 -0
- package/esm/FilledInput/FilledInput.js +48 -9
- package/esm/FormControlLabel/FormControlLabel.js +17 -5
- package/esm/Input/Input.js +49 -10
- package/esm/InputBase/InputBase.js +45 -8
- package/esm/ListItem/ListItem.js +41 -9
- package/esm/Modal/Modal.js +11 -3
- package/esm/NativeSelect/NativeSelectInput.js +11 -9
- package/esm/OutlinedInput/OutlinedInput.js +26 -8
- package/esm/PaginationItem/PaginationItem.js +31 -22
- package/esm/Select/Select.js +3 -3
- package/esm/Slider/Slider.js +12 -3
- package/esm/StepLabel/StepLabel.js +15 -3
- package/esm/Tooltip/Tooltip.js +68 -31
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Alert/Alert.js +48 -9
- package/legacy/Autocomplete/Autocomplete.js +27 -10
- package/legacy/AvatarGroup/AvatarGroup.js +26 -6
- package/legacy/Backdrop/Backdrop.js +48 -11
- package/legacy/Badge/Badge.js +11 -3
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/FilledInput/FilledInput.js +49 -9
- package/legacy/FormControlLabel/FormControlLabel.js +17 -4
- package/legacy/Input/Input.js +50 -10
- package/legacy/InputBase/InputBase.js +47 -8
- package/legacy/ListItem/ListItem.js +42 -8
- package/legacy/Modal/Modal.js +11 -3
- package/legacy/NativeSelect/NativeSelectInput.js +11 -9
- package/legacy/OutlinedInput/OutlinedInput.js +27 -8
- package/legacy/PaginationItem/PaginationItem.js +32 -22
- package/legacy/Select/Select.js +3 -3
- package/legacy/Slider/Slider.js +12 -3
- package/legacy/StepLabel/StepLabel.js +16 -3
- package/legacy/Tooltip/Tooltip.js +63 -22
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +72 -72
- package/modern/Alert/Alert.js +45 -8
- package/modern/Autocomplete/Autocomplete.js +26 -10
- package/modern/AvatarGroup/AvatarGroup.js +24 -5
- package/modern/Backdrop/Backdrop.js +45 -10
- package/modern/Badge/Badge.js +11 -3
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/FilledInput/FilledInput.js +46 -9
- package/modern/FormControlLabel/FormControlLabel.js +15 -5
- package/modern/Input/Input.js +47 -10
- package/modern/InputBase/InputBase.js +43 -8
- package/modern/ListItem/ListItem.js +41 -9
- package/modern/Modal/Modal.js +11 -3
- package/modern/NativeSelect/NativeSelectInput.js +11 -9
- package/modern/OutlinedInput/OutlinedInput.js +25 -7
- package/modern/PaginationItem/PaginationItem.js +31 -22
- package/modern/Select/Select.js +3 -3
- package/modern/Slider/Slider.js +12 -3
- package/modern/StepLabel/StepLabel.js +13 -3
- package/modern/Tooltip/Tooltip.js +58 -17
- package/modern/index.js +1 -1
- package/package.json +4 -4
- package/styles/CssVarsProvider.d.ts +14 -14
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +534 -165
- package/umd/material-ui.production.min.js +14 -14
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface ListItemClasses {
|
|
2
|
-
/** Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the container element if `children` includes `ListItemSecondaryAction`. */
|
|
5
|
-
container: string;
|
|
6
|
-
/** State class applied to the `component`'s `focusVisibleClassName` prop if `button={true}`. */
|
|
7
|
-
focusVisible: string;
|
|
8
|
-
/** Styles applied to the component element if dense. */
|
|
9
|
-
dense: string;
|
|
10
|
-
/** Styles applied to the component element if `alignItems="flex-start"`. */
|
|
11
|
-
alignItemsFlexStart: string;
|
|
12
|
-
/** State class applied to the inner `component` element if `disabled={true}`. */
|
|
13
|
-
disabled: string;
|
|
14
|
-
/** Styles applied to the inner `component` element if `divider={true}`. */
|
|
15
|
-
divider: string;
|
|
16
|
-
/** Styles applied to the inner `component` element unless `disableGutters={true}`. */
|
|
17
|
-
gutters: string;
|
|
18
|
-
/** Styles applied to the root element unless `disablePadding={true}`. */
|
|
19
|
-
padding: string;
|
|
20
|
-
/** Styles applied to the inner `component` element if `button={true}`. */
|
|
21
|
-
button: string;
|
|
22
|
-
/** Styles applied to the component element if `children` includes `ListItemSecondaryAction`. */
|
|
23
|
-
secondaryAction: string;
|
|
24
|
-
/** State class applied to the root element if `selected={true}`. */
|
|
25
|
-
selected: string;
|
|
26
|
-
}
|
|
27
|
-
export declare type ListItemClassKey = keyof ListItemClasses;
|
|
28
|
-
export declare function getListItemUtilityClass(slot: string): string;
|
|
29
|
-
declare const listItemClasses: ListItemClasses;
|
|
30
|
-
export default listItemClasses;
|
|
1
|
+
export interface ListItemClasses {
|
|
2
|
+
/** Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the container element if `children` includes `ListItemSecondaryAction`. */
|
|
5
|
+
container: string;
|
|
6
|
+
/** State class applied to the `component`'s `focusVisibleClassName` prop if `button={true}`. */
|
|
7
|
+
focusVisible: string;
|
|
8
|
+
/** Styles applied to the component element if dense. */
|
|
9
|
+
dense: string;
|
|
10
|
+
/** Styles applied to the component element if `alignItems="flex-start"`. */
|
|
11
|
+
alignItemsFlexStart: string;
|
|
12
|
+
/** State class applied to the inner `component` element if `disabled={true}`. */
|
|
13
|
+
disabled: string;
|
|
14
|
+
/** Styles applied to the inner `component` element if `divider={true}`. */
|
|
15
|
+
divider: string;
|
|
16
|
+
/** Styles applied to the inner `component` element unless `disableGutters={true}`. */
|
|
17
|
+
gutters: string;
|
|
18
|
+
/** Styles applied to the root element unless `disablePadding={true}`. */
|
|
19
|
+
padding: string;
|
|
20
|
+
/** Styles applied to the inner `component` element if `button={true}`. */
|
|
21
|
+
button: string;
|
|
22
|
+
/** Styles applied to the component element if `children` includes `ListItemSecondaryAction`. */
|
|
23
|
+
secondaryAction: string;
|
|
24
|
+
/** State class applied to the root element if `selected={true}`. */
|
|
25
|
+
selected: string;
|
|
26
|
+
}
|
|
27
|
+
export declare type ListItemClassKey = keyof ListItemClasses;
|
|
28
|
+
export declare function getListItemUtilityClass(slot: string): string;
|
|
29
|
+
declare const listItemClasses: ListItemClasses;
|
|
30
|
+
export default listItemClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface ListItemAvatarClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element when the parent `ListItem` uses `alignItems="flex-start"`. */
|
|
5
|
-
alignItemsFlexStart: string;
|
|
6
|
-
}
|
|
7
|
-
export declare type ListItemAvatarClassKey = keyof ListItemAvatarClasses;
|
|
8
|
-
export declare function getListItemAvatarUtilityClass(slot: string): string;
|
|
9
|
-
declare const listItemAvatarClasses: ListItemAvatarClasses;
|
|
10
|
-
export default listItemAvatarClasses;
|
|
1
|
+
export interface ListItemAvatarClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element when the parent `ListItem` uses `alignItems="flex-start"`. */
|
|
5
|
+
alignItemsFlexStart: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type ListItemAvatarClassKey = keyof ListItemAvatarClasses;
|
|
8
|
+
export declare function getListItemAvatarUtilityClass(slot: string): string;
|
|
9
|
+
declare const listItemAvatarClasses: ListItemAvatarClasses;
|
|
10
|
+
export default listItemAvatarClasses;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface ListItemButtonClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the `component`'s `focusVisibleClassName` prop. */
|
|
5
|
-
focusVisible: string;
|
|
6
|
-
/** Styles applied to the component element if dense. */
|
|
7
|
-
dense: string;
|
|
8
|
-
/** Styles applied to the component element if `alignItems="flex-start"`. */
|
|
9
|
-
alignItemsFlexStart: string;
|
|
10
|
-
/** State class applied to the inner `component` element if `disabled={true}`. */
|
|
11
|
-
disabled: string;
|
|
12
|
-
/** Styles applied to the inner `component` element if `divider={true}`. */
|
|
13
|
-
divider: string;
|
|
14
|
-
/** Styles applied to the inner `component` element unless `disableGutters={true}`. */
|
|
15
|
-
gutters: string;
|
|
16
|
-
/** State class applied to the root element if `selected={true}`. */
|
|
17
|
-
selected: string;
|
|
18
|
-
}
|
|
19
|
-
export declare type ListItemButtonClassKey = keyof ListItemButtonClasses;
|
|
20
|
-
export declare function getListItemButtonUtilityClass(slot: string): string;
|
|
21
|
-
declare const listItemButtonClasses: ListItemButtonClasses;
|
|
22
|
-
export default listItemButtonClasses;
|
|
1
|
+
export interface ListItemButtonClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the `component`'s `focusVisibleClassName` prop. */
|
|
5
|
+
focusVisible: string;
|
|
6
|
+
/** Styles applied to the component element if dense. */
|
|
7
|
+
dense: string;
|
|
8
|
+
/** Styles applied to the component element if `alignItems="flex-start"`. */
|
|
9
|
+
alignItemsFlexStart: string;
|
|
10
|
+
/** State class applied to the inner `component` element if `disabled={true}`. */
|
|
11
|
+
disabled: string;
|
|
12
|
+
/** Styles applied to the inner `component` element if `divider={true}`. */
|
|
13
|
+
divider: string;
|
|
14
|
+
/** Styles applied to the inner `component` element unless `disableGutters={true}`. */
|
|
15
|
+
gutters: string;
|
|
16
|
+
/** State class applied to the root element if `selected={true}`. */
|
|
17
|
+
selected: string;
|
|
18
|
+
}
|
|
19
|
+
export declare type ListItemButtonClassKey = keyof ListItemButtonClasses;
|
|
20
|
+
export declare function getListItemButtonUtilityClass(slot: string): string;
|
|
21
|
+
declare const listItemButtonClasses: ListItemButtonClasses;
|
|
22
|
+
export default listItemButtonClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface ListItemIconClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element when the parent `ListItem` uses `alignItems="flex-start"`. */
|
|
5
|
-
alignItemsFlexStart: string;
|
|
6
|
-
}
|
|
7
|
-
export declare type ListItemIconClassKey = keyof ListItemIconClasses;
|
|
8
|
-
export declare function getListItemIconUtilityClass(slot: string): string;
|
|
9
|
-
declare const listItemIconClasses: ListItemIconClasses;
|
|
10
|
-
export default listItemIconClasses;
|
|
1
|
+
export interface ListItemIconClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element when the parent `ListItem` uses `alignItems="flex-start"`. */
|
|
5
|
+
alignItemsFlexStart: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type ListItemIconClassKey = keyof ListItemIconClasses;
|
|
8
|
+
export declare function getListItemIconUtilityClass(slot: string): string;
|
|
9
|
+
declare const listItemIconClasses: ListItemIconClasses;
|
|
10
|
+
export default listItemIconClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface ListItemSecondaryActionClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element when the parent `ListItem` has `disableGutters={true}`. */
|
|
5
|
-
disableGutters: string;
|
|
6
|
-
}
|
|
7
|
-
export declare type ListItemSecondaryActionClassKey = keyof ListItemSecondaryActionClasses;
|
|
8
|
-
export declare function getListItemSecondaryActionClassesUtilityClass(slot: string): string;
|
|
9
|
-
declare const listItemSecondaryActionClasses: ListItemSecondaryActionClasses;
|
|
10
|
-
export default listItemSecondaryActionClasses;
|
|
1
|
+
export interface ListItemSecondaryActionClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element when the parent `ListItem` has `disableGutters={true}`. */
|
|
5
|
+
disableGutters: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type ListItemSecondaryActionClassKey = keyof ListItemSecondaryActionClasses;
|
|
8
|
+
export declare function getListItemSecondaryActionClassesUtilityClass(slot: string): string;
|
|
9
|
+
declare const listItemSecondaryActionClasses: ListItemSecondaryActionClasses;
|
|
10
|
+
export default listItemSecondaryActionClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface ListItemTextClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the Typography component if primary and secondary are set. */
|
|
5
|
-
multiline: string;
|
|
6
|
-
/** Styles applied to the Typography component if dense. */
|
|
7
|
-
dense: string;
|
|
8
|
-
/** Styles applied to the root element if `inset={true}`. */
|
|
9
|
-
inset: string;
|
|
10
|
-
/** Styles applied to the primary `Typography` component. */
|
|
11
|
-
primary: string;
|
|
12
|
-
/** Styles applied to the secondary `Typography` component. */
|
|
13
|
-
secondary: string;
|
|
14
|
-
}
|
|
15
|
-
export declare type ListItemTextClassKey = keyof ListItemTextClasses;
|
|
16
|
-
export declare function getListItemTextUtilityClass(slot: string): string;
|
|
17
|
-
declare const listItemTextClasses: ListItemTextClasses;
|
|
18
|
-
export default listItemTextClasses;
|
|
1
|
+
export interface ListItemTextClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the Typography component if primary and secondary are set. */
|
|
5
|
+
multiline: string;
|
|
6
|
+
/** Styles applied to the Typography component if dense. */
|
|
7
|
+
dense: string;
|
|
8
|
+
/** Styles applied to the root element if `inset={true}`. */
|
|
9
|
+
inset: string;
|
|
10
|
+
/** Styles applied to the primary `Typography` component. */
|
|
11
|
+
primary: string;
|
|
12
|
+
/** Styles applied to the secondary `Typography` component. */
|
|
13
|
+
secondary: string;
|
|
14
|
+
}
|
|
15
|
+
export declare type ListItemTextClassKey = keyof ListItemTextClasses;
|
|
16
|
+
export declare function getListItemTextUtilityClass(slot: string): string;
|
|
17
|
+
declare const listItemTextClasses: ListItemTextClasses;
|
|
18
|
+
export default listItemTextClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface ListSubheaderClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
-
colorPrimary: string;
|
|
6
|
-
/** Styles applied to the root element if `color="inherit"`. */
|
|
7
|
-
colorInherit: string;
|
|
8
|
-
/** Styles applied to the inner `component` element unless `disableGutters={true}`. */
|
|
9
|
-
gutters: string;
|
|
10
|
-
/** Styles applied to the root element if `inset={true}`. */
|
|
11
|
-
inset: string;
|
|
12
|
-
/** Styles applied to the root element unless `disableSticky={true}`. */
|
|
13
|
-
sticky: string;
|
|
14
|
-
}
|
|
15
|
-
export declare type ListSubheaderClassKey = keyof ListSubheaderClasses;
|
|
16
|
-
export declare function getListSubheaderUtilityClass(slot: string): string;
|
|
17
|
-
declare const listSubheaderClasses: ListSubheaderClasses;
|
|
18
|
-
export default listSubheaderClasses;
|
|
1
|
+
export interface ListSubheaderClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
+
colorPrimary: string;
|
|
6
|
+
/** Styles applied to the root element if `color="inherit"`. */
|
|
7
|
+
colorInherit: string;
|
|
8
|
+
/** Styles applied to the inner `component` element unless `disableGutters={true}`. */
|
|
9
|
+
gutters: string;
|
|
10
|
+
/** Styles applied to the root element if `inset={true}`. */
|
|
11
|
+
inset: string;
|
|
12
|
+
/** Styles applied to the root element unless `disableSticky={true}`. */
|
|
13
|
+
sticky: string;
|
|
14
|
+
}
|
|
15
|
+
export declare type ListSubheaderClassKey = keyof ListSubheaderClasses;
|
|
16
|
+
export declare function getListSubheaderUtilityClass(slot: string): string;
|
|
17
|
+
declare const listSubheaderClasses: ListSubheaderClasses;
|
|
18
|
+
export default listSubheaderClasses;
|
package/Menu/menuClasses.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface MenuClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the Paper component. */
|
|
5
|
-
paper: string;
|
|
6
|
-
/** Styles applied to the List component via `MenuList`. */
|
|
7
|
-
list: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type MenuClassKey = keyof MenuClasses;
|
|
10
|
-
export declare function getMenuUtilityClass(slot: string): string;
|
|
11
|
-
declare const menuClasses: MenuClasses;
|
|
12
|
-
export default menuClasses;
|
|
1
|
+
export interface MenuClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the Paper component. */
|
|
5
|
+
paper: string;
|
|
6
|
+
/** Styles applied to the List component via `MenuList`. */
|
|
7
|
+
list: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type MenuClassKey = keyof MenuClasses;
|
|
10
|
+
export declare function getMenuUtilityClass(slot: string): string;
|
|
11
|
+
declare const menuClasses: MenuClasses;
|
|
12
|
+
export default menuClasses;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface MenuItemClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the root element if keyboard focused. */
|
|
5
|
-
focusVisible: string;
|
|
6
|
-
/** Styles applied to the root element if dense. */
|
|
7
|
-
dense: string;
|
|
8
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
9
|
-
disabled: string;
|
|
10
|
-
/** Styles applied to the root element if `divider={true}`. */
|
|
11
|
-
divider: string;
|
|
12
|
-
/** Styles applied to the inner `component` element unless `disableGutters={true}`. */
|
|
13
|
-
gutters: string;
|
|
14
|
-
/** State class applied to the root element if `selected={true}`. */
|
|
15
|
-
selected: string;
|
|
16
|
-
}
|
|
17
|
-
export declare type MenuItemClassKey = keyof MenuItemClasses;
|
|
18
|
-
export declare function getMenuItemUtilityClass(slot: string): string;
|
|
19
|
-
declare const menuItemClasses: MenuItemClasses;
|
|
20
|
-
export default menuItemClasses;
|
|
1
|
+
export interface MenuItemClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the root element if keyboard focused. */
|
|
5
|
+
focusVisible: string;
|
|
6
|
+
/** Styles applied to the root element if dense. */
|
|
7
|
+
dense: string;
|
|
8
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
9
|
+
disabled: string;
|
|
10
|
+
/** Styles applied to the root element if `divider={true}`. */
|
|
11
|
+
divider: string;
|
|
12
|
+
/** Styles applied to the inner `component` element unless `disableGutters={true}`. */
|
|
13
|
+
gutters: string;
|
|
14
|
+
/** State class applied to the root element if `selected={true}`. */
|
|
15
|
+
selected: string;
|
|
16
|
+
}
|
|
17
|
+
export declare type MenuItemClassKey = keyof MenuItemClasses;
|
|
18
|
+
export declare function getMenuItemUtilityClass(slot: string): string;
|
|
19
|
+
declare const menuItemClasses: MenuItemClasses;
|
|
20
|
+
export default menuItemClasses;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface MobileStepperClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `position="bottom"`. */
|
|
5
|
-
positionBottom: string;
|
|
6
|
-
/** Styles applied to the root element if `position="top"`. */
|
|
7
|
-
positionTop: string;
|
|
8
|
-
/** Styles applied to the root element if `position="static"`. */
|
|
9
|
-
positionStatic: string;
|
|
10
|
-
/** Styles applied to the dots container if `variant="dots"`. */
|
|
11
|
-
dots: string;
|
|
12
|
-
/** Styles applied to each dot if `variant="dots"`. */
|
|
13
|
-
dot: string;
|
|
14
|
-
/** Styles applied to a dot if `variant="dots"` and this is the active step. */
|
|
15
|
-
dotActive: string;
|
|
16
|
-
/** Styles applied to the Linear Progress component if `variant="progress"`. */
|
|
17
|
-
progress: string;
|
|
18
|
-
}
|
|
19
|
-
export declare type MobileStepperClassKey = keyof MobileStepperClasses;
|
|
20
|
-
export declare function getMobileStepperUtilityClass(slot: string): string;
|
|
21
|
-
declare const mobileStepperClasses: MobileStepperClasses;
|
|
22
|
-
export default mobileStepperClasses;
|
|
1
|
+
export interface MobileStepperClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `position="bottom"`. */
|
|
5
|
+
positionBottom: string;
|
|
6
|
+
/** Styles applied to the root element if `position="top"`. */
|
|
7
|
+
positionTop: string;
|
|
8
|
+
/** Styles applied to the root element if `position="static"`. */
|
|
9
|
+
positionStatic: string;
|
|
10
|
+
/** Styles applied to the dots container if `variant="dots"`. */
|
|
11
|
+
dots: string;
|
|
12
|
+
/** Styles applied to each dot if `variant="dots"`. */
|
|
13
|
+
dot: string;
|
|
14
|
+
/** Styles applied to a dot if `variant="dots"` and this is the active step. */
|
|
15
|
+
dotActive: string;
|
|
16
|
+
/** Styles applied to the Linear Progress component if `variant="progress"`. */
|
|
17
|
+
progress: string;
|
|
18
|
+
}
|
|
19
|
+
export declare type MobileStepperClassKey = keyof MobileStepperClasses;
|
|
20
|
+
export declare function getMobileStepperUtilityClass(slot: string): string;
|
|
21
|
+
declare const mobileStepperClasses: MobileStepperClasses;
|
|
22
|
+
export default mobileStepperClasses;
|
package/Modal/Modal.d.ts
CHANGED
|
@@ -32,8 +32,11 @@ export type ModalTypeMap<D extends React.ElementType = 'div', P = {}> = ExtendMo
|
|
|
32
32
|
*/
|
|
33
33
|
BackdropProps?: Partial<BackdropProps>;
|
|
34
34
|
/**
|
|
35
|
-
* The components used for each slot inside
|
|
36
|
-
*
|
|
35
|
+
* The components used for each slot inside.
|
|
36
|
+
*
|
|
37
|
+
* This prop is an alias for the `slots` prop.
|
|
38
|
+
* It's recommended to use the `slots` prop instead.
|
|
39
|
+
*
|
|
37
40
|
* @default {}
|
|
38
41
|
*/
|
|
39
42
|
components?: {
|
|
@@ -41,7 +44,12 @@ export type ModalTypeMap<D extends React.ElementType = 'div', P = {}> = ExtendMo
|
|
|
41
44
|
Backdrop?: React.ElementType;
|
|
42
45
|
};
|
|
43
46
|
/**
|
|
44
|
-
* The props
|
|
47
|
+
* The extra props for the slot components.
|
|
48
|
+
* You can override the existing props or add new ones.
|
|
49
|
+
*
|
|
50
|
+
* This prop is an alias for the `slotProps` prop.
|
|
51
|
+
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
52
|
+
*
|
|
45
53
|
* @default {}
|
|
46
54
|
*/
|
|
47
55
|
componentsProps?: ModalUnstyledTypeMap['props']['slotProps'];
|
package/Modal/Modal.js
CHANGED
|
@@ -210,8 +210,11 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
|
|
|
210
210
|
component: _propTypes.default.elementType,
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
|
-
* The components used for each slot inside
|
|
214
|
-
*
|
|
213
|
+
* The components used for each slot inside.
|
|
214
|
+
*
|
|
215
|
+
* This prop is an alias for the `slots` prop.
|
|
216
|
+
* It's recommended to use the `slots` prop instead.
|
|
217
|
+
*
|
|
215
218
|
* @default {}
|
|
216
219
|
*/
|
|
217
220
|
components: _propTypes.default.shape({
|
|
@@ -220,7 +223,12 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
|
|
|
220
223
|
}),
|
|
221
224
|
|
|
222
225
|
/**
|
|
223
|
-
* The props
|
|
226
|
+
* The extra props for the slot components.
|
|
227
|
+
* You can override the existing props or add new ones.
|
|
228
|
+
*
|
|
229
|
+
* This prop is an alias for the `slotProps` prop.
|
|
230
|
+
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
231
|
+
*
|
|
224
232
|
* @default {}
|
|
225
233
|
*/
|
|
226
234
|
componentsProps: _propTypes.default.shape({
|
|
@@ -64,12 +64,14 @@ const nativeSelectSelectStyles = ({
|
|
|
64
64
|
borderRadius: 0,
|
|
65
65
|
// Reset
|
|
66
66
|
cursor: 'pointer',
|
|
67
|
-
'&:focus': {
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
'&:focus': (0, _extends2.default)({}, theme.vars ? {
|
|
68
|
+
backgroundColor: `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.05)`
|
|
69
|
+
} : {
|
|
70
|
+
backgroundColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)'
|
|
71
|
+
}, {
|
|
70
72
|
borderRadius: 0 // Reset Chrome style
|
|
71
73
|
|
|
72
|
-
},
|
|
74
|
+
}),
|
|
73
75
|
// Remove IE11 arrow
|
|
74
76
|
'&::-ms-expand': {
|
|
75
77
|
display: 'none'
|
|
@@ -81,7 +83,7 @@ const nativeSelectSelectStyles = ({
|
|
|
81
83
|
height: 'auto'
|
|
82
84
|
},
|
|
83
85
|
'&:not([multiple]) option, &:not([multiple]) optgroup': {
|
|
84
|
-
backgroundColor: theme.palette.background.paper
|
|
86
|
+
backgroundColor: (theme.vars || theme).palette.background.paper
|
|
85
87
|
},
|
|
86
88
|
// Bump specificity to allow extending custom inputs
|
|
87
89
|
'&&&': {
|
|
@@ -94,9 +96,9 @@ const nativeSelectSelectStyles = ({
|
|
|
94
96
|
paddingRight: 32
|
|
95
97
|
}
|
|
96
98
|
}, ownerState.variant === 'outlined' && {
|
|
97
|
-
borderRadius: theme.shape.borderRadius,
|
|
99
|
+
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
98
100
|
'&:focus': {
|
|
99
|
-
borderRadius: theme.shape.borderRadius // Reset the reset for Chrome style
|
|
101
|
+
borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style
|
|
100
102
|
|
|
101
103
|
},
|
|
102
104
|
'&&&': {
|
|
@@ -131,9 +133,9 @@ const nativeSelectIconStyles = ({
|
|
|
131
133
|
// Center vertically, height is 1em
|
|
132
134
|
pointerEvents: 'none',
|
|
133
135
|
// Don't block pointer events on the select under the icon.
|
|
134
|
-
color: theme.palette.action.active,
|
|
136
|
+
color: (theme.vars || theme).palette.action.active,
|
|
135
137
|
[`&.${_nativeSelectClasses.default.disabled}`]: {
|
|
136
|
-
color: theme.palette.action.disabled
|
|
138
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
137
139
|
}
|
|
138
140
|
}, ownerState.open && {
|
|
139
141
|
transform: 'rotate(180deg)'
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export interface NativeSelectClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the select component `select` class. */
|
|
5
|
-
select: string;
|
|
6
|
-
/** Styles applied to the select component if `multiple={true}`. */
|
|
7
|
-
multiple: string;
|
|
8
|
-
/** Styles applied to the select component if `variant="filled"`. */
|
|
9
|
-
filled: string;
|
|
10
|
-
/** Styles applied to the select component if `variant="outlined"`. */
|
|
11
|
-
outlined: string;
|
|
12
|
-
/** Styles applied to the select component if `variant="standard"`. */
|
|
13
|
-
standard: string;
|
|
14
|
-
/** State class applied to the select component `disabled` class. */
|
|
15
|
-
disabled: string;
|
|
16
|
-
/** Styles applied to the icon component. */
|
|
17
|
-
icon: string;
|
|
18
|
-
/** Styles applied to the icon component if the popup is open. */
|
|
19
|
-
iconOpen: string;
|
|
20
|
-
/** Styles applied to the icon component if `variant="filled"`. */
|
|
21
|
-
iconFilled: string;
|
|
22
|
-
/** Styles applied to the icon component if `variant="outlined"`. */
|
|
23
|
-
iconOutlined: string;
|
|
24
|
-
/** Styles applied to the icon component if `variant="standard"`. */
|
|
25
|
-
iconStandard: string;
|
|
26
|
-
/** Styles applied to the underlying native input component. */
|
|
27
|
-
nativeInput: string;
|
|
28
|
-
}
|
|
29
|
-
export declare type NativeSelectClassKey = keyof NativeSelectClasses;
|
|
30
|
-
export declare function getNativeSelectUtilityClasses(slot: string): string;
|
|
31
|
-
declare const nativeSelectClasses: NativeSelectClasses;
|
|
32
|
-
export default nativeSelectClasses;
|
|
1
|
+
export interface NativeSelectClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the select component `select` class. */
|
|
5
|
+
select: string;
|
|
6
|
+
/** Styles applied to the select component if `multiple={true}`. */
|
|
7
|
+
multiple: string;
|
|
8
|
+
/** Styles applied to the select component if `variant="filled"`. */
|
|
9
|
+
filled: string;
|
|
10
|
+
/** Styles applied to the select component if `variant="outlined"`. */
|
|
11
|
+
outlined: string;
|
|
12
|
+
/** Styles applied to the select component if `variant="standard"`. */
|
|
13
|
+
standard: string;
|
|
14
|
+
/** State class applied to the select component `disabled` class. */
|
|
15
|
+
disabled: string;
|
|
16
|
+
/** Styles applied to the icon component. */
|
|
17
|
+
icon: string;
|
|
18
|
+
/** Styles applied to the icon component if the popup is open. */
|
|
19
|
+
iconOpen: string;
|
|
20
|
+
/** Styles applied to the icon component if `variant="filled"`. */
|
|
21
|
+
iconFilled: string;
|
|
22
|
+
/** Styles applied to the icon component if `variant="outlined"`. */
|
|
23
|
+
iconOutlined: string;
|
|
24
|
+
/** Styles applied to the icon component if `variant="standard"`. */
|
|
25
|
+
iconStandard: string;
|
|
26
|
+
/** Styles applied to the underlying native input component. */
|
|
27
|
+
nativeInput: string;
|
|
28
|
+
}
|
|
29
|
+
export declare type NativeSelectClassKey = keyof NativeSelectClasses;
|
|
30
|
+
export declare function getNativeSelectUtilityClasses(slot: string): string;
|
|
31
|
+
declare const nativeSelectClasses: NativeSelectClasses;
|
|
32
|
+
export default nativeSelectClasses;
|
|
@@ -35,7 +35,7 @@ var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
|
|
|
35
35
|
|
|
36
36
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
37
37
|
|
|
38
|
-
const _excluded = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "type"];
|
|
38
|
+
const _excluded = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
|
|
39
39
|
|
|
40
40
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
41
41
|
|
|
@@ -145,7 +145,7 @@ const OutlinedInputInput = (0, _styled.default)(_InputBase.InputBaseComponent, {
|
|
|
145
145
|
paddingRight: 0
|
|
146
146
|
}));
|
|
147
147
|
const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {
|
|
148
|
-
var _React$Fragment;
|
|
148
|
+
var _ref, _slots$root, _ref2, _slots$input, _React$Fragment;
|
|
149
149
|
|
|
150
150
|
const props = (0, _useThemeProps.default)({
|
|
151
151
|
props: inProps,
|
|
@@ -158,6 +158,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
158
158
|
label,
|
|
159
159
|
multiline = false,
|
|
160
160
|
notched,
|
|
161
|
+
slots = {},
|
|
161
162
|
type = 'text'
|
|
162
163
|
} = props,
|
|
163
164
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
@@ -180,11 +181,13 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
180
181
|
size: fcs.size,
|
|
181
182
|
type
|
|
182
183
|
});
|
|
184
|
+
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : OutlinedInputRoot;
|
|
185
|
+
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : OutlinedInputInput;
|
|
183
186
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputBase.default, (0, _extends2.default)({
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
},
|
|
187
|
+
slots: {
|
|
188
|
+
root: RootSlot,
|
|
189
|
+
input: InputSlot
|
|
190
|
+
},
|
|
188
191
|
renderSuffix: state => /*#__PURE__*/(0, _jsxRuntime.jsx)(NotchedOutlineRoot, {
|
|
189
192
|
ownerState: ownerState,
|
|
190
193
|
className: classes.notchedOutline,
|
|
@@ -240,8 +243,11 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
240
243
|
.oneOfType([_propTypes.default.oneOf(['primary', 'secondary']), _propTypes.default.string]),
|
|
241
244
|
|
|
242
245
|
/**
|
|
243
|
-
* The components used for each slot inside
|
|
244
|
-
*
|
|
246
|
+
* The components used for each slot inside.
|
|
247
|
+
*
|
|
248
|
+
* This prop is an alias for the `slots` prop.
|
|
249
|
+
* It's recommended to use the `slots` prop instead.
|
|
250
|
+
*
|
|
245
251
|
* @default {}
|
|
246
252
|
*/
|
|
247
253
|
components: _propTypes.default.shape({
|
|
@@ -369,6 +375,18 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
369
375
|
*/
|
|
370
376
|
rows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
371
377
|
|
|
378
|
+
/**
|
|
379
|
+
* The components used for each slot inside.
|
|
380
|
+
*
|
|
381
|
+
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
382
|
+
*
|
|
383
|
+
* @default {}
|
|
384
|
+
*/
|
|
385
|
+
slots: _propTypes.default.shape({
|
|
386
|
+
input: _propTypes.default.elementType,
|
|
387
|
+
root: _propTypes.default.elementType
|
|
388
|
+
}),
|
|
389
|
+
|
|
372
390
|
/**
|
|
373
391
|
* Start `InputAdornment` for this component.
|
|
374
392
|
*/
|