@mui/material 5.13.2 → 5.13.3
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/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.d.ts +1 -0
- package/Autocomplete/Autocomplete.js +14 -2
- package/Autocomplete/autocompleteClasses.d.ts +56 -56
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- 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 +52 -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/filledInputClasses.d.ts +42 -42
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/formControlLabelClasses.d.ts +24 -24
- 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/Hidden/Hidden.js +10 -10
- package/Hidden/withWidth.js +1 -1
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +34 -34
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +38 -38
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- 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/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.js +1 -1
- package/NativeSelect/nativeSelectClasses.d.ts +34 -34
- package/OutlinedInput/outlinedInputClasses.d.ts +38 -38
- package/Pagination/paginationClasses.d.ts +14 -14
- 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 +65 -65
- 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/selectClasses.d.ts +32 -32
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/SliderValueLabel.d.ts +15 -15
- package/Slider/SliderValueLabel.types.d.ts +24 -24
- package/Slider/sliderClasses.d.ts +58 -58
- 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/Stack/stackClasses.d.ts +6 -6
- 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/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/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/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/Autocomplete/Autocomplete.js +12 -2
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Hidden/Hidden.js +10 -10
- package/legacy/Hidden/withWidth.js +1 -1
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +80 -80
- package/modern/Autocomplete/Autocomplete.js +14 -2
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Hidden/Hidden.js +10 -10
- package/modern/Hidden/withWidth.js +1 -1
- package/modern/Modal/Modal.js +1 -1
- package/modern/index.js +1 -1
- package/node/Autocomplete/Autocomplete.js +14 -2
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Hidden/Hidden.js +10 -10
- package/node/Hidden/withWidth.js +1 -1
- package/node/Modal/Modal.js +1 -1
- package/node/index.js +1 -1
- package/package.json +3 -3
- package/styles/CssVarsProvider.d.ts +20 -20
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/identifier.d.ts +2 -2
- package/styles/shouldSkipGeneratingVar.d.ts +1 -1
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/types/OverridableComponentAugmentation.d.ts +31 -31
- package/umd/material-ui.development.js +34 -23
- package/umd/material-ui.production.min.js +16 -16
- package/useMediaQuery/useMediaQuery.d.ts +46 -46
- 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,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 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 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 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 type MobileStepperClassKey = keyof MobileStepperClasses;
|
|
20
|
+
export declare function getMobileStepperUtilityClass(slot: string): string;
|
|
21
|
+
declare const mobileStepperClasses: MobileStepperClasses;
|
|
22
|
+
export default mobileStepperClasses;
|
package/Modal/Modal.js
CHANGED
|
@@ -127,7 +127,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
|
127
127
|
className: clsx(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
|
|
128
128
|
}),
|
|
129
129
|
backdrop: () => _extends({}, BackdropProps, resolveComponentProps(backdropSlotProps, ownerState), {
|
|
130
|
-
className: clsx(backdropSlotProps == null ? void 0 : backdropSlotProps.className, classes == null ? void 0 : classes.backdrop)
|
|
130
|
+
className: clsx(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop)
|
|
131
131
|
})
|
|
132
132
|
},
|
|
133
133
|
onTransitionEnter: () => setExited(false),
|
|
@@ -1,34 +1,34 @@
|
|
|
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
|
-
/** State class applied to the select component `error` class. */
|
|
29
|
-
error: string;
|
|
30
|
-
}
|
|
31
|
-
export type NativeSelectClassKey = keyof NativeSelectClasses;
|
|
32
|
-
export declare function getNativeSelectUtilityClasses(slot: string): string;
|
|
33
|
-
declare const nativeSelectClasses: NativeSelectClasses;
|
|
34
|
-
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
|
+
/** State class applied to the select component `error` class. */
|
|
29
|
+
error: string;
|
|
30
|
+
}
|
|
31
|
+
export type NativeSelectClassKey = keyof NativeSelectClasses;
|
|
32
|
+
export declare function getNativeSelectUtilityClasses(slot: string): string;
|
|
33
|
+
declare const nativeSelectClasses: NativeSelectClasses;
|
|
34
|
+
export default nativeSelectClasses;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export interface OutlinedInputClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if the color is secondary. */
|
|
5
|
-
colorSecondary: string;
|
|
6
|
-
/** Styles applied to the root element if the component is focused. */
|
|
7
|
-
focused: string;
|
|
8
|
-
/** Styles applied to the root element if `disabled={true}`. */
|
|
9
|
-
disabled: string;
|
|
10
|
-
/** Styles applied to the root element if `startAdornment` is provided. */
|
|
11
|
-
adornedStart: string;
|
|
12
|
-
/** Styles applied to the root element if `endAdornment` is provided. */
|
|
13
|
-
adornedEnd: string;
|
|
14
|
-
/** State class applied to the root element if `error={true}`. */
|
|
15
|
-
error: string;
|
|
16
|
-
/** Styles applied to the input element if `size="small"`. */
|
|
17
|
-
sizeSmall: string;
|
|
18
|
-
/** Styles applied to the root element if `multiline={true}`. */
|
|
19
|
-
multiline: string;
|
|
20
|
-
/** Styles applied to the NotchedOutline element. */
|
|
21
|
-
notchedOutline: string;
|
|
22
|
-
/** Styles applied to the input element. */
|
|
23
|
-
input: string;
|
|
24
|
-
/** Styles applied to the input element if `size="small"`. */
|
|
25
|
-
inputSizeSmall: string;
|
|
26
|
-
/** Styles applied to the input element if `multiline={true}`. */
|
|
27
|
-
inputMultiline: string;
|
|
28
|
-
/** Styles applied to the input element if `startAdornment` is provided. */
|
|
29
|
-
inputAdornedStart: string;
|
|
30
|
-
/** Styles applied to the input element if `endAdornment` is provided. */
|
|
31
|
-
inputAdornedEnd: string;
|
|
32
|
-
/** Styles applied to the input element if `type="search"`. */
|
|
33
|
-
inputTypeSearch: string;
|
|
34
|
-
}
|
|
35
|
-
export type OutlinedInputClassKey = keyof OutlinedInputClasses;
|
|
36
|
-
export declare function getOutlinedInputUtilityClass(slot: string): string;
|
|
37
|
-
declare const outlinedInputClasses: OutlinedInputClasses;
|
|
38
|
-
export default outlinedInputClasses;
|
|
1
|
+
export interface OutlinedInputClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if the color is secondary. */
|
|
5
|
+
colorSecondary: string;
|
|
6
|
+
/** Styles applied to the root element if the component is focused. */
|
|
7
|
+
focused: string;
|
|
8
|
+
/** Styles applied to the root element if `disabled={true}`. */
|
|
9
|
+
disabled: string;
|
|
10
|
+
/** Styles applied to the root element if `startAdornment` is provided. */
|
|
11
|
+
adornedStart: string;
|
|
12
|
+
/** Styles applied to the root element if `endAdornment` is provided. */
|
|
13
|
+
adornedEnd: string;
|
|
14
|
+
/** State class applied to the root element if `error={true}`. */
|
|
15
|
+
error: string;
|
|
16
|
+
/** Styles applied to the input element if `size="small"`. */
|
|
17
|
+
sizeSmall: string;
|
|
18
|
+
/** Styles applied to the root element if `multiline={true}`. */
|
|
19
|
+
multiline: string;
|
|
20
|
+
/** Styles applied to the NotchedOutline element. */
|
|
21
|
+
notchedOutline: string;
|
|
22
|
+
/** Styles applied to the input element. */
|
|
23
|
+
input: string;
|
|
24
|
+
/** Styles applied to the input element if `size="small"`. */
|
|
25
|
+
inputSizeSmall: string;
|
|
26
|
+
/** Styles applied to the input element if `multiline={true}`. */
|
|
27
|
+
inputMultiline: string;
|
|
28
|
+
/** Styles applied to the input element if `startAdornment` is provided. */
|
|
29
|
+
inputAdornedStart: string;
|
|
30
|
+
/** Styles applied to the input element if `endAdornment` is provided. */
|
|
31
|
+
inputAdornedEnd: string;
|
|
32
|
+
/** Styles applied to the input element if `type="search"`. */
|
|
33
|
+
inputTypeSearch: string;
|
|
34
|
+
}
|
|
35
|
+
export type OutlinedInputClassKey = keyof OutlinedInputClasses;
|
|
36
|
+
export declare function getOutlinedInputUtilityClass(slot: string): string;
|
|
37
|
+
declare const outlinedInputClasses: OutlinedInputClasses;
|
|
38
|
+
export default outlinedInputClasses;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface PaginationClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the ul element. */
|
|
5
|
-
ul: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
-
outlined: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="text"`. */
|
|
9
|
-
text: string;
|
|
10
|
-
}
|
|
11
|
-
export type PaginationClassKey = keyof PaginationClasses;
|
|
12
|
-
export declare function getPaginationUtilityClass(slot: string): string;
|
|
13
|
-
declare const paginationClasses: PaginationClasses;
|
|
14
|
-
export default paginationClasses;
|
|
1
|
+
export interface PaginationClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the ul element. */
|
|
5
|
+
ul: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
+
outlined: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="text"`. */
|
|
9
|
+
text: string;
|
|
10
|
+
}
|
|
11
|
+
export type PaginationClassKey = keyof PaginationClasses;
|
|
12
|
+
export declare function getPaginationUtilityClass(slot: string): string;
|
|
13
|
+
declare const paginationClasses: PaginationClasses;
|
|
14
|
+
export default paginationClasses;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
export interface PaginationItemClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `type="page"`. */
|
|
5
|
-
page: string;
|
|
6
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
7
|
-
sizeSmall: string;
|
|
8
|
-
/** Styles applied to the root element if `size="large"`. */
|
|
9
|
-
sizeLarge: string;
|
|
10
|
-
/** Styles applied to the root element if `variant="text"`. */
|
|
11
|
-
text: string;
|
|
12
|
-
/** Styles applied to the root element if `variant="text"` and `color="primary"`. */
|
|
13
|
-
textPrimary: string;
|
|
14
|
-
/** Styles applied to the root element if `variant="text"` and `color="secondary"`. */
|
|
15
|
-
textSecondary: string;
|
|
16
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
17
|
-
outlined: string;
|
|
18
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
|
|
19
|
-
outlinedPrimary: string;
|
|
20
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
|
|
21
|
-
outlinedSecondary: string;
|
|
22
|
-
/** Styles applied to the root element if `rounded="true"`. */
|
|
23
|
-
rounded: string;
|
|
24
|
-
/** Styles applied to the root element if `type="start-ellipsis"` or `type="end-ellipsis"`. */
|
|
25
|
-
ellipsis: string;
|
|
26
|
-
/** Styles applied to the root element if `type="first"` or type="last". */
|
|
27
|
-
firstLast: string;
|
|
28
|
-
/** Styles applied to the root element if `type="previous"` or type="next". */
|
|
29
|
-
previousNext: string;
|
|
30
|
-
/** State class applied to the root element if keyboard focused. */
|
|
31
|
-
focusVisible: string;
|
|
32
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
33
|
-
disabled: string;
|
|
34
|
-
/** State class applied to the root element if `selected={true}`. */
|
|
35
|
-
selected: string;
|
|
36
|
-
/** Styles applied to the icon to display. */
|
|
37
|
-
icon: string;
|
|
38
|
-
}
|
|
39
|
-
export type PaginationItemClassKey = keyof PaginationItemClasses;
|
|
40
|
-
export declare function getPaginationItemUtilityClass(slot: string): string;
|
|
41
|
-
declare const paginationItemClasses: PaginationItemClasses;
|
|
42
|
-
export default paginationItemClasses;
|
|
1
|
+
export interface PaginationItemClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `type="page"`. */
|
|
5
|
+
page: string;
|
|
6
|
+
/** Styles applied to the root element if `size="small"`. */
|
|
7
|
+
sizeSmall: string;
|
|
8
|
+
/** Styles applied to the root element if `size="large"`. */
|
|
9
|
+
sizeLarge: string;
|
|
10
|
+
/** Styles applied to the root element if `variant="text"`. */
|
|
11
|
+
text: string;
|
|
12
|
+
/** Styles applied to the root element if `variant="text"` and `color="primary"`. */
|
|
13
|
+
textPrimary: string;
|
|
14
|
+
/** Styles applied to the root element if `variant="text"` and `color="secondary"`. */
|
|
15
|
+
textSecondary: string;
|
|
16
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
17
|
+
outlined: string;
|
|
18
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
|
|
19
|
+
outlinedPrimary: string;
|
|
20
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
|
|
21
|
+
outlinedSecondary: string;
|
|
22
|
+
/** Styles applied to the root element if `rounded="true"`. */
|
|
23
|
+
rounded: string;
|
|
24
|
+
/** Styles applied to the root element if `type="start-ellipsis"` or `type="end-ellipsis"`. */
|
|
25
|
+
ellipsis: string;
|
|
26
|
+
/** Styles applied to the root element if `type="first"` or type="last". */
|
|
27
|
+
firstLast: string;
|
|
28
|
+
/** Styles applied to the root element if `type="previous"` or type="next". */
|
|
29
|
+
previousNext: string;
|
|
30
|
+
/** State class applied to the root element if keyboard focused. */
|
|
31
|
+
focusVisible: string;
|
|
32
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
33
|
+
disabled: string;
|
|
34
|
+
/** State class applied to the root element if `selected={true}`. */
|
|
35
|
+
selected: string;
|
|
36
|
+
/** Styles applied to the icon to display. */
|
|
37
|
+
icon: string;
|
|
38
|
+
}
|
|
39
|
+
export type PaginationItemClassKey = keyof PaginationItemClasses;
|
|
40
|
+
export declare function getPaginationItemUtilityClass(slot: string): string;
|
|
41
|
+
declare const paginationItemClasses: PaginationItemClasses;
|
|
42
|
+
export default paginationItemClasses;
|
package/Paper/paperClasses.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export interface PaperClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element unless `square={true}`. */
|
|
5
|
-
rounded: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
-
outlined: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="elevation"`. */
|
|
9
|
-
elevation: string;
|
|
10
|
-
elevation0: string;
|
|
11
|
-
elevation1: string;
|
|
12
|
-
elevation2: string;
|
|
13
|
-
elevation3: string;
|
|
14
|
-
elevation4: string;
|
|
15
|
-
elevation5: string;
|
|
16
|
-
elevation6: string;
|
|
17
|
-
elevation7: string;
|
|
18
|
-
elevation8: string;
|
|
19
|
-
elevation9: string;
|
|
20
|
-
elevation10: string;
|
|
21
|
-
elevation11: string;
|
|
22
|
-
elevation12: string;
|
|
23
|
-
elevation13: string;
|
|
24
|
-
elevation14: string;
|
|
25
|
-
elevation15: string;
|
|
26
|
-
elevation16: string;
|
|
27
|
-
elevation17: string;
|
|
28
|
-
elevation18: string;
|
|
29
|
-
elevation19: string;
|
|
30
|
-
elevation20: string;
|
|
31
|
-
elevation21: string;
|
|
32
|
-
elevation22: string;
|
|
33
|
-
elevation23: string;
|
|
34
|
-
elevation24: string;
|
|
35
|
-
}
|
|
36
|
-
export type PaperClassKey = keyof PaperClasses;
|
|
37
|
-
export declare function getPaperUtilityClass(slot: string): string;
|
|
38
|
-
declare const paperClasses: PaperClasses;
|
|
39
|
-
export default paperClasses;
|
|
1
|
+
export interface PaperClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element unless `square={true}`. */
|
|
5
|
+
rounded: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
+
outlined: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="elevation"`. */
|
|
9
|
+
elevation: string;
|
|
10
|
+
elevation0: string;
|
|
11
|
+
elevation1: string;
|
|
12
|
+
elevation2: string;
|
|
13
|
+
elevation3: string;
|
|
14
|
+
elevation4: string;
|
|
15
|
+
elevation5: string;
|
|
16
|
+
elevation6: string;
|
|
17
|
+
elevation7: string;
|
|
18
|
+
elevation8: string;
|
|
19
|
+
elevation9: string;
|
|
20
|
+
elevation10: string;
|
|
21
|
+
elevation11: string;
|
|
22
|
+
elevation12: string;
|
|
23
|
+
elevation13: string;
|
|
24
|
+
elevation14: string;
|
|
25
|
+
elevation15: string;
|
|
26
|
+
elevation16: string;
|
|
27
|
+
elevation17: string;
|
|
28
|
+
elevation18: string;
|
|
29
|
+
elevation19: string;
|
|
30
|
+
elevation20: string;
|
|
31
|
+
elevation21: string;
|
|
32
|
+
elevation22: string;
|
|
33
|
+
elevation23: string;
|
|
34
|
+
elevation24: string;
|
|
35
|
+
}
|
|
36
|
+
export type PaperClassKey = keyof PaperClasses;
|
|
37
|
+
export declare function getPaperUtilityClass(slot: string): string;
|
|
38
|
+
declare const paperClasses: PaperClasses;
|
|
39
|
+
export default paperClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface PopoverClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the Paper component. */
|
|
5
|
-
paper: string;
|
|
6
|
-
}
|
|
7
|
-
export type PopoverClassKey = keyof PopoverClasses;
|
|
8
|
-
export declare function getPopoverUtilityClass(slot: string): string;
|
|
9
|
-
declare const popoverClasses: PopoverClasses;
|
|
10
|
-
export default popoverClasses;
|
|
1
|
+
export interface PopoverClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the Paper component. */
|
|
5
|
+
paper: string;
|
|
6
|
+
}
|
|
7
|
+
export type PopoverClassKey = keyof PopoverClasses;
|
|
8
|
+
export declare function getPopoverUtilityClass(slot: string): string;
|
|
9
|
+
declare const popoverClasses: PopoverClasses;
|
|
10
|
+
export default popoverClasses;
|
package/Popper/Popper.d.ts
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { PopperProps as BasePopperProps } from '@mui/base/Popper';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { Theme } from '../styles';
|
|
5
|
-
export type PopperProps = Omit<BasePopperProps, 'direction'> & {
|
|
6
|
-
/**
|
|
7
|
-
* The component used for the root node.
|
|
8
|
-
* Either a string to use a HTML element or a component.
|
|
9
|
-
*/
|
|
10
|
-
component?: React.ElementType;
|
|
11
|
-
/**
|
|
12
|
-
* The components used for each slot inside the Popper.
|
|
13
|
-
* Either a string to use a HTML element or a component.
|
|
14
|
-
* @default {}
|
|
15
|
-
*/
|
|
16
|
-
components?: {
|
|
17
|
-
Root?: React.ElementType;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* The props used for each slot inside the Popper.
|
|
21
|
-
* @default {}
|
|
22
|
-
*/
|
|
23
|
-
componentsProps?: BasePopperProps['slotProps'];
|
|
24
|
-
/**
|
|
25
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26
|
-
*/
|
|
27
|
-
sx?: SxProps<Theme>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* Demos:
|
|
32
|
-
*
|
|
33
|
-
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
34
|
-
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
35
|
-
* - [Popper](https://mui.com/material-ui/react-popper/)
|
|
36
|
-
*
|
|
37
|
-
* API:
|
|
38
|
-
*
|
|
39
|
-
* - [Popper API](https://mui.com/material-ui/api/popper/)
|
|
40
|
-
*/
|
|
41
|
-
declare const Popper: React.ForwardRefExoticComponent<Omit<BasePopperProps<"div">, "direction"> & {
|
|
42
|
-
/**
|
|
43
|
-
* The component used for the root node.
|
|
44
|
-
* Either a string to use a HTML element or a component.
|
|
45
|
-
*/
|
|
46
|
-
component?: React.ElementType<any> | undefined;
|
|
47
|
-
/**
|
|
48
|
-
* The components used for each slot inside the Popper.
|
|
49
|
-
* Either a string to use a HTML element or a component.
|
|
50
|
-
* @default {}
|
|
51
|
-
*/
|
|
52
|
-
components?: {
|
|
53
|
-
Root?: React.ElementType<any> | undefined;
|
|
54
|
-
} | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* The props used for each slot inside the Popper.
|
|
57
|
-
* @default {}
|
|
58
|
-
*/
|
|
59
|
-
componentsProps?: BasePopperProps['slotProps'];
|
|
60
|
-
/**
|
|
61
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
62
|
-
*/
|
|
63
|
-
sx?: SxProps<Theme> | undefined;
|
|
64
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
65
|
-
export default Popper;
|
|
1
|
+
import { PopperProps as BasePopperProps } from '@mui/base/Popper';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { Theme } from '../styles';
|
|
5
|
+
export type PopperProps = Omit<BasePopperProps, 'direction'> & {
|
|
6
|
+
/**
|
|
7
|
+
* The component used for the root node.
|
|
8
|
+
* Either a string to use a HTML element or a component.
|
|
9
|
+
*/
|
|
10
|
+
component?: React.ElementType;
|
|
11
|
+
/**
|
|
12
|
+
* The components used for each slot inside the Popper.
|
|
13
|
+
* Either a string to use a HTML element or a component.
|
|
14
|
+
* @default {}
|
|
15
|
+
*/
|
|
16
|
+
components?: {
|
|
17
|
+
Root?: React.ElementType;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The props used for each slot inside the Popper.
|
|
21
|
+
* @default {}
|
|
22
|
+
*/
|
|
23
|
+
componentsProps?: BasePopperProps['slotProps'];
|
|
24
|
+
/**
|
|
25
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26
|
+
*/
|
|
27
|
+
sx?: SxProps<Theme>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* Demos:
|
|
32
|
+
*
|
|
33
|
+
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
34
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
35
|
+
* - [Popper](https://mui.com/material-ui/react-popper/)
|
|
36
|
+
*
|
|
37
|
+
* API:
|
|
38
|
+
*
|
|
39
|
+
* - [Popper API](https://mui.com/material-ui/api/popper/)
|
|
40
|
+
*/
|
|
41
|
+
declare const Popper: React.ForwardRefExoticComponent<Omit<BasePopperProps<"div">, "direction"> & {
|
|
42
|
+
/**
|
|
43
|
+
* The component used for the root node.
|
|
44
|
+
* Either a string to use a HTML element or a component.
|
|
45
|
+
*/
|
|
46
|
+
component?: React.ElementType<any> | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* The components used for each slot inside the Popper.
|
|
49
|
+
* Either a string to use a HTML element or a component.
|
|
50
|
+
* @default {}
|
|
51
|
+
*/
|
|
52
|
+
components?: {
|
|
53
|
+
Root?: React.ElementType<any> | undefined;
|
|
54
|
+
} | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* The props used for each slot inside the Popper.
|
|
57
|
+
* @default {}
|
|
58
|
+
*/
|
|
59
|
+
componentsProps?: BasePopperProps['slotProps'];
|
|
60
|
+
/**
|
|
61
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
62
|
+
*/
|
|
63
|
+
sx?: SxProps<Theme> | undefined;
|
|
64
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
export default Popper;
|
package/Radio/radioClasses.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface RadioClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the root element if `checked={true}`. */
|
|
5
|
-
checked: string;
|
|
6
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
-
disabled: string;
|
|
8
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
9
|
-
colorPrimary: string;
|
|
10
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
11
|
-
colorSecondary: string;
|
|
12
|
-
}
|
|
13
|
-
export type RadioClassKey = keyof RadioClasses;
|
|
14
|
-
export declare function getRadioUtilityClass(slot: string): string;
|
|
15
|
-
declare const radioClasses: RadioClasses;
|
|
16
|
-
export default radioClasses;
|
|
1
|
+
export interface RadioClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the root element if `checked={true}`. */
|
|
5
|
+
checked: string;
|
|
6
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
+
disabled: string;
|
|
8
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
9
|
+
colorPrimary: string;
|
|
10
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
11
|
+
colorSecondary: string;
|
|
12
|
+
}
|
|
13
|
+
export type RadioClassKey = keyof RadioClasses;
|
|
14
|
+
export declare function getRadioUtilityClass(slot: string): string;
|
|
15
|
+
declare const radioClasses: RadioClasses;
|
|
16
|
+
export default radioClasses;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface RadioGroupContextValue {
|
|
3
|
-
name: string | undefined;
|
|
4
|
-
onChange: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
5
|
-
value: any;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @ignore - internal component.
|
|
9
|
-
*/
|
|
10
|
-
declare const RadioGroupContext: React.Context<RadioGroupContextValue | undefined>;
|
|
11
|
-
export default RadioGroupContext;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface RadioGroupContextValue {
|
|
3
|
+
name: string | undefined;
|
|
4
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
5
|
+
value: any;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @ignore - internal component.
|
|
9
|
+
*/
|
|
10
|
+
declare const RadioGroupContext: React.Context<RadioGroupContextValue | undefined>;
|
|
11
|
+
export default RadioGroupContext;
|