@mui/material 5.10.3 → 5.10.4
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/autocompleteClasses.d.ts +54 -54
- package/Avatar/Avatar.d.ts +1 -1
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/AvatarGroup.d.ts +6 -1
- package/AvatarGroup/AvatarGroup.js +10 -1
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +2 -2
- 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/Button.d.ts +2 -2
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +51 -0
- package/Card/Card.d.ts +1 -1
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/CardActionArea.d.ts +1 -1
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/CardActions.d.ts +1 -1
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/CardContent.d.ts +1 -1
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/CardHeader.d.ts +1 -1
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/CardMedia.d.ts +1 -1
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/Checkbox.d.ts +1 -1
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/Chip.d.ts +1 -1
- package/Chip/chipClasses.d.ts +88 -88
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/Collapse.d.ts +1 -1
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/CssBaseline/CssBaseline.d.ts +1 -1
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/DialogActions.d.ts +1 -1
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/DialogContent.d.ts +1 -1
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/DialogContentText.d.ts +1 -1
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/DialogTitle.d.ts +1 -1
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/Divider.d.ts +1 -1
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/Drawer.d.ts +1 -1
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/Fab.d.ts +1 -1
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.d.ts +1 -1
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/FormControl.d.ts +4 -4
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.d.ts +3 -3
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/FormGroup.d.ts +2 -2
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/FormHelperText.d.ts +1 -1
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/FormLabel.d.ts +3 -3
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Hidden/HiddenJs.d.ts +1 -1
- package/Hidden/HiddenJs.js +20 -28
- package/Icon/Icon.d.ts +1 -1
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/IconButton.d.ts +1 -1
- 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.d.ts +1 -1
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/InputAdornment.d.ts +1 -1
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +1 -1
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/InputLabel.d.ts +1 -1
- 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/Menu.d.ts +1 -1
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/MenuItem.d.ts +1 -1
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MenuList/MenuList.d.ts +1 -1
- package/MobileStepper/MobileStepper.d.ts +1 -1
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/NativeSelect.d.ts +1 -1
- package/NativeSelect/NativeSelect.js +17 -15
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/OutlinedInput.d.ts +1 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OverridableComponentAugmentation.d.ts +31 -31
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/Paper.d.ts +1 -1
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/Popover.d.ts +1 -1
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +24 -24
- package/Popper/Popper.js +1 -1
- package/README.md +1 -2
- package/Radio/Radio.d.ts +1 -1
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroup.d.ts +1 -1
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.d.ts +1 -1
- package/Select/Select.js +38 -36
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slide/Slide.d.ts +1 -1
- package/Snackbar/Snackbar.d.ts +1 -1
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/SnackbarContent.d.ts +1 -1
- 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/Step.d.ts +55 -44
- package/Step/Step.js +11 -2
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/StepButton.d.ts +1 -1
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/StepConnector.d.ts +1 -1
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/StepContent.d.ts +1 -1
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/StepIcon.d.ts +1 -1
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/StepLabel.d.ts +1 -1
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/Stepper.d.ts +54 -43
- package/Stepper/Stepper.js +11 -2
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.d.ts +1 -1
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/Switch/Switch.d.ts +1 -1
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/Table.d.ts +1 -1
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/TableBody.d.ts +1 -1
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/TableCell.d.ts +1 -1
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/TableContainer.d.ts +1 -1
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/TableFooter.d.ts +1 -1
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/TableHead.d.ts +1 -1
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/TablePagination.d.ts +1 -1
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/TableRow.d.ts +1 -1
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/TableSortLabel.d.ts +1 -1
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/TextField.d.ts +1 -1
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/ToggleButton.js +3 -1
- 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 +1 -1
- 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/AvatarGroup/AvatarGroup.js +10 -1
- package/esm/BottomNavigation/BottomNavigation.js +0 -0
- package/esm/Hidden/HiddenJs.js +19 -28
- package/esm/NativeSelect/NativeSelect.js +17 -15
- package/esm/Popper/Popper.js +1 -1
- package/esm/Select/Select.js +38 -36
- package/esm/Step/Step.js +11 -2
- package/esm/Stepper/Stepper.js +11 -2
- package/esm/ToggleButton/ToggleButton.js +3 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/AvatarGroup/AvatarGroup.js +11 -1
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Hidden/HiddenJs.js +19 -28
- package/legacy/NativeSelect/NativeSelect.js +17 -15
- package/legacy/Popper/Popper.js +1 -1
- package/legacy/Select/Select.js +38 -36
- package/legacy/Step/Step.js +12 -2
- package/legacy/Stepper/Stepper.js +12 -2
- package/legacy/ToggleButton/ToggleButton.js +3 -1
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +71 -71
- package/modern/AvatarGroup/AvatarGroup.js +10 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Hidden/HiddenJs.js +19 -28
- package/modern/NativeSelect/NativeSelect.js +17 -15
- package/modern/Popper/Popper.js +1 -1
- package/modern/Select/Select.js +38 -36
- package/modern/Step/Step.js +11 -2
- package/modern/Stepper/Stepper.js +11 -2
- package/modern/ToggleButton/ToggleButton.js +3 -1
- package/modern/index.js +1 -1
- package/package.json +4 -4
- package/styles/CssVarsProvider.d.ts +14 -14
- 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 +112 -93
- package/umd/material-ui.production.min.js +20 -20
- 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,40 +1,40 @@
|
|
|
1
|
-
export interface RatingClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
5
|
-
sizeSmall: string;
|
|
6
|
-
/** Styles applied to the root element if `size="medium"`. */
|
|
7
|
-
sizeMedium: string;
|
|
8
|
-
/** Styles applied to the root element if `size="large"`. */
|
|
9
|
-
sizeLarge: string;
|
|
10
|
-
/** Styles applied to the root element if `readOnly={true}`. */
|
|
11
|
-
readOnly: string;
|
|
12
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
13
|
-
disabled: string;
|
|
14
|
-
/** State class applied to the root element if keyboard focused. */
|
|
15
|
-
focusVisible: string;
|
|
16
|
-
/** Visually hide an element. */
|
|
17
|
-
visuallyHidden: string;
|
|
18
|
-
/** Styles applied to the label elements. */
|
|
19
|
-
label: string;
|
|
20
|
-
/** Styles applied to the label of the "no value" input when it is active. */
|
|
21
|
-
labelEmptyValueActive: string;
|
|
22
|
-
/** Styles applied to the icon wrapping elements. */
|
|
23
|
-
icon: string;
|
|
24
|
-
/** Styles applied to the icon wrapping elements when empty. */
|
|
25
|
-
iconEmpty: string;
|
|
26
|
-
/** Styles applied to the icon wrapping elements when filled. */
|
|
27
|
-
iconFilled: string;
|
|
28
|
-
/** Styles applied to the icon wrapping elements when hover. */
|
|
29
|
-
iconHover: string;
|
|
30
|
-
/** Styles applied to the icon wrapping elements when focus. */
|
|
31
|
-
iconFocus: string;
|
|
32
|
-
/** Styles applied to the icon wrapping elements when active. */
|
|
33
|
-
iconActive: string;
|
|
34
|
-
/** Styles applied to the icon wrapping elements when decimals are necessary. */
|
|
35
|
-
decimal: string;
|
|
36
|
-
}
|
|
37
|
-
export declare type RatingClassKey = keyof RatingClasses;
|
|
38
|
-
export declare function getRatingUtilityClass(slot: string): string;
|
|
39
|
-
declare const ratingClasses: RatingClasses;
|
|
40
|
-
export default ratingClasses;
|
|
1
|
+
export interface RatingClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `size="small"`. */
|
|
5
|
+
sizeSmall: string;
|
|
6
|
+
/** Styles applied to the root element if `size="medium"`. */
|
|
7
|
+
sizeMedium: string;
|
|
8
|
+
/** Styles applied to the root element if `size="large"`. */
|
|
9
|
+
sizeLarge: string;
|
|
10
|
+
/** Styles applied to the root element if `readOnly={true}`. */
|
|
11
|
+
readOnly: string;
|
|
12
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
13
|
+
disabled: string;
|
|
14
|
+
/** State class applied to the root element if keyboard focused. */
|
|
15
|
+
focusVisible: string;
|
|
16
|
+
/** Visually hide an element. */
|
|
17
|
+
visuallyHidden: string;
|
|
18
|
+
/** Styles applied to the label elements. */
|
|
19
|
+
label: string;
|
|
20
|
+
/** Styles applied to the label of the "no value" input when it is active. */
|
|
21
|
+
labelEmptyValueActive: string;
|
|
22
|
+
/** Styles applied to the icon wrapping elements. */
|
|
23
|
+
icon: string;
|
|
24
|
+
/** Styles applied to the icon wrapping elements when empty. */
|
|
25
|
+
iconEmpty: string;
|
|
26
|
+
/** Styles applied to the icon wrapping elements when filled. */
|
|
27
|
+
iconFilled: string;
|
|
28
|
+
/** Styles applied to the icon wrapping elements when hover. */
|
|
29
|
+
iconHover: string;
|
|
30
|
+
/** Styles applied to the icon wrapping elements when focus. */
|
|
31
|
+
iconFocus: string;
|
|
32
|
+
/** Styles applied to the icon wrapping elements when active. */
|
|
33
|
+
iconActive: string;
|
|
34
|
+
/** Styles applied to the icon wrapping elements when decimals are necessary. */
|
|
35
|
+
decimal: string;
|
|
36
|
+
}
|
|
37
|
+
export declare type RatingClassKey = keyof RatingClasses;
|
|
38
|
+
export declare function getRatingUtilityClass(slot: string): string;
|
|
39
|
+
declare const ratingClasses: RatingClasses;
|
|
40
|
+
export default ratingClasses;
|
|
@@ -31,7 +31,7 @@ export interface ScopedCssBaselineTypeMap<P = {}, D extends React.ElementType =
|
|
|
31
31
|
*
|
|
32
32
|
* Demos:
|
|
33
33
|
*
|
|
34
|
-
* - [
|
|
34
|
+
* - [CSS Baseline](https://mui.com/material-ui/react-css-baseline/)
|
|
35
35
|
*
|
|
36
36
|
* API:
|
|
37
37
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface ScopedCssBaselineClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type ScopedCssBaselineClassKey = keyof ScopedCssBaselineClasses;
|
|
6
|
-
export declare function getScopedCssBaselineUtilityClass(slot: string): string;
|
|
7
|
-
declare const scopedCssBaselineClasses: Record<"root", string>;
|
|
8
|
-
export default scopedCssBaselineClasses;
|
|
1
|
+
export interface ScopedCssBaselineClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type ScopedCssBaselineClassKey = keyof ScopedCssBaselineClasses;
|
|
6
|
+
export declare function getScopedCssBaselineUtilityClass(slot: string): string;
|
|
7
|
+
declare const scopedCssBaselineClasses: Record<"root", string>;
|
|
8
|
+
export default scopedCssBaselineClasses;
|
package/Select/Select.d.ts
CHANGED
package/Select/Select.js
CHANGED
|
@@ -117,43 +117,45 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
117
117
|
});
|
|
118
118
|
const classes = useUtilityClasses(ownerState);
|
|
119
119
|
const inputComponentRef = (0, _useForkRef.default)(ref, InputComponent.ref);
|
|
120
|
-
return /*#__PURE__*/
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
} : {
|
|
134
|
-
autoWidth,
|
|
135
|
-
defaultOpen,
|
|
136
|
-
displayEmpty,
|
|
137
|
-
labelId,
|
|
138
|
-
MenuProps,
|
|
139
|
-
onClose,
|
|
140
|
-
onOpen,
|
|
141
|
-
open,
|
|
142
|
-
renderValue,
|
|
143
|
-
SelectDisplayProps: (0, _extends2.default)({
|
|
120
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(React.Fragment, {
|
|
121
|
+
children: /*#__PURE__*/React.cloneElement(InputComponent, (0, _extends2.default)({
|
|
122
|
+
// Most of the logic is implemented in `SelectInput`.
|
|
123
|
+
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
124
|
+
inputComponent,
|
|
125
|
+
inputProps: (0, _extends2.default)({
|
|
126
|
+
children,
|
|
127
|
+
IconComponent,
|
|
128
|
+
variant,
|
|
129
|
+
type: undefined,
|
|
130
|
+
// We render a select. We can ignore the type provided by the `Input`.
|
|
131
|
+
multiple
|
|
132
|
+
}, native ? {
|
|
144
133
|
id
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
134
|
+
} : {
|
|
135
|
+
autoWidth,
|
|
136
|
+
defaultOpen,
|
|
137
|
+
displayEmpty,
|
|
138
|
+
labelId,
|
|
139
|
+
MenuProps,
|
|
140
|
+
onClose,
|
|
141
|
+
onOpen,
|
|
142
|
+
open,
|
|
143
|
+
renderValue,
|
|
144
|
+
SelectDisplayProps: (0, _extends2.default)({
|
|
145
|
+
id
|
|
146
|
+
}, SelectDisplayProps)
|
|
147
|
+
}, inputProps, {
|
|
148
|
+
classes: inputProps ? (0, _utils.deepmerge)(classes, inputProps.classes) : classes
|
|
149
|
+
}, input ? input.props.inputProps : {})
|
|
150
|
+
}, multiple && native && variant === 'outlined' ? {
|
|
151
|
+
notched: true
|
|
152
|
+
} : {}, {
|
|
153
|
+
ref: inputComponentRef,
|
|
154
|
+
className: (0, _clsx.default)(InputComponent.props.className, className)
|
|
155
|
+
}, !input && {
|
|
156
|
+
variant
|
|
157
|
+
}, other))
|
|
158
|
+
});
|
|
157
159
|
});
|
|
158
160
|
process.env.NODE_ENV !== "production" ? Select.propTypes
|
|
159
161
|
/* remove-proptypes */
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface SelectClasses {
|
|
2
|
-
/** Styles applied to the select component `select` class. */
|
|
3
|
-
select: string;
|
|
4
|
-
/** Styles applied to the select component if `multiple={true}`. */
|
|
5
|
-
multiple: string;
|
|
6
|
-
/** Styles applied to the select component if `variant="filled"`. */
|
|
7
|
-
filled: string;
|
|
8
|
-
/** Styles applied to the select component if `variant="outlined"`. */
|
|
9
|
-
outlined: string;
|
|
10
|
-
/** Styles applied to the select component if `variant="standard"`. */
|
|
11
|
-
standard: string;
|
|
12
|
-
/** State class applied to the select component `disabled` class. */
|
|
13
|
-
disabled: string;
|
|
14
|
-
/** Styles applied to the icon component. */
|
|
15
|
-
icon: string;
|
|
16
|
-
/** Styles applied to the icon component if the popup is open. */
|
|
17
|
-
iconOpen: string;
|
|
18
|
-
/** Styles applied to the icon component if `variant="filled"`. */
|
|
19
|
-
iconFilled: string;
|
|
20
|
-
/** Styles applied to the icon component if `variant="outlined"`. */
|
|
21
|
-
iconOutlined: string;
|
|
22
|
-
/** Styles applied to the icon component if `variant="standard"`. */
|
|
23
|
-
iconStandard: string;
|
|
24
|
-
/** Styles applied to the underlying native input component. */
|
|
25
|
-
nativeInput: string;
|
|
26
|
-
}
|
|
27
|
-
export declare type SelectClassKey = keyof SelectClasses;
|
|
28
|
-
export declare function getSelectUtilityClasses(slot: string): string;
|
|
29
|
-
declare const selectClasses: SelectClasses;
|
|
30
|
-
export default selectClasses;
|
|
1
|
+
export interface SelectClasses {
|
|
2
|
+
/** Styles applied to the select component `select` class. */
|
|
3
|
+
select: string;
|
|
4
|
+
/** Styles applied to the select component if `multiple={true}`. */
|
|
5
|
+
multiple: string;
|
|
6
|
+
/** Styles applied to the select component if `variant="filled"`. */
|
|
7
|
+
filled: string;
|
|
8
|
+
/** Styles applied to the select component if `variant="outlined"`. */
|
|
9
|
+
outlined: string;
|
|
10
|
+
/** Styles applied to the select component if `variant="standard"`. */
|
|
11
|
+
standard: string;
|
|
12
|
+
/** State class applied to the select component `disabled` class. */
|
|
13
|
+
disabled: string;
|
|
14
|
+
/** Styles applied to the icon component. */
|
|
15
|
+
icon: string;
|
|
16
|
+
/** Styles applied to the icon component if the popup is open. */
|
|
17
|
+
iconOpen: string;
|
|
18
|
+
/** Styles applied to the icon component if `variant="filled"`. */
|
|
19
|
+
iconFilled: string;
|
|
20
|
+
/** Styles applied to the icon component if `variant="outlined"`. */
|
|
21
|
+
iconOutlined: string;
|
|
22
|
+
/** Styles applied to the icon component if `variant="standard"`. */
|
|
23
|
+
iconStandard: string;
|
|
24
|
+
/** Styles applied to the underlying native input component. */
|
|
25
|
+
nativeInput: string;
|
|
26
|
+
}
|
|
27
|
+
export declare type SelectClassKey = keyof SelectClasses;
|
|
28
|
+
export declare function getSelectUtilityClasses(slot: string): string;
|
|
29
|
+
declare const selectClasses: SelectClasses;
|
|
30
|
+
export default selectClasses;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface SkeletonClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="text"`. */
|
|
5
|
-
text: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="rectangular"`. */
|
|
7
|
-
rectangular: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="rounded"`. */
|
|
9
|
-
rounded: string;
|
|
10
|
-
/** Styles applied to the root element if `variant="circular"`. */
|
|
11
|
-
circular: string;
|
|
12
|
-
/** Styles applied to the root element if `animation="pulse"`. */
|
|
13
|
-
pulse: string;
|
|
14
|
-
/** Styles applied to the root element if `animation="wave"`. */
|
|
15
|
-
wave: string;
|
|
16
|
-
/** Styles applied when the component is passed children. */
|
|
17
|
-
withChildren: string;
|
|
18
|
-
/** Styles applied when the component is passed children and no width. */
|
|
19
|
-
fitContent: string;
|
|
20
|
-
/** Styles applied when the component is passed children and no height. */
|
|
21
|
-
heightAuto: string;
|
|
22
|
-
}
|
|
23
|
-
export declare type SkeletonClassKey = keyof SkeletonClasses;
|
|
24
|
-
export declare function getSkeletonUtilityClass(slot: string): string;
|
|
25
|
-
declare const skeletonClasses: SkeletonClasses;
|
|
26
|
-
export default skeletonClasses;
|
|
1
|
+
export interface SkeletonClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="text"`. */
|
|
5
|
+
text: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="rectangular"`. */
|
|
7
|
+
rectangular: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="rounded"`. */
|
|
9
|
+
rounded: string;
|
|
10
|
+
/** Styles applied to the root element if `variant="circular"`. */
|
|
11
|
+
circular: string;
|
|
12
|
+
/** Styles applied to the root element if `animation="pulse"`. */
|
|
13
|
+
pulse: string;
|
|
14
|
+
/** Styles applied to the root element if `animation="wave"`. */
|
|
15
|
+
wave: string;
|
|
16
|
+
/** Styles applied when the component is passed children. */
|
|
17
|
+
withChildren: string;
|
|
18
|
+
/** Styles applied when the component is passed children and no width. */
|
|
19
|
+
fitContent: string;
|
|
20
|
+
/** Styles applied when the component is passed children and no height. */
|
|
21
|
+
heightAuto: string;
|
|
22
|
+
}
|
|
23
|
+
export declare type SkeletonClassKey = keyof SkeletonClasses;
|
|
24
|
+
export declare function getSkeletonUtilityClass(slot: string): string;
|
|
25
|
+
declare const skeletonClasses: SkeletonClasses;
|
|
26
|
+
export default skeletonClasses;
|
package/Slide/Slide.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export interface SlideProps extends TransitionProps {
|
|
|
53
53
|
*
|
|
54
54
|
* Demos:
|
|
55
55
|
*
|
|
56
|
-
* - [
|
|
56
|
+
* - [Dialog](https://mui.com/material-ui/react-dialog/)
|
|
57
57
|
* - [Transitions](https://mui.com/material-ui/transitions/)
|
|
58
58
|
*
|
|
59
59
|
* API:
|
package/Snackbar/Snackbar.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ export interface SnackbarProps extends StandardProps<React.HTMLAttributes<HTMLDi
|
|
|
121
121
|
*
|
|
122
122
|
* Demos:
|
|
123
123
|
*
|
|
124
|
-
* - [
|
|
124
|
+
* - [Snackbar](https://mui.com/material-ui/react-snackbar/)
|
|
125
125
|
*
|
|
126
126
|
* API:
|
|
127
127
|
*
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface SnackbarClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */
|
|
5
|
-
anchorOriginTopCenter: string;
|
|
6
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */
|
|
7
|
-
anchorOriginBottomCenter: string;
|
|
8
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */
|
|
9
|
-
anchorOriginTopRight: string;
|
|
10
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */
|
|
11
|
-
anchorOriginBottomRight: string;
|
|
12
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */
|
|
13
|
-
anchorOriginTopLeft: string;
|
|
14
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */
|
|
15
|
-
anchorOriginBottomLeft: string;
|
|
16
|
-
}
|
|
17
|
-
export declare type SnackbarClassKey = keyof SnackbarClasses;
|
|
18
|
-
export declare function getSnackbarUtilityClass(slot: string): string;
|
|
19
|
-
declare const snackbarClasses: SnackbarClasses;
|
|
20
|
-
export default snackbarClasses;
|
|
1
|
+
export interface SnackbarClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */
|
|
5
|
+
anchorOriginTopCenter: string;
|
|
6
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */
|
|
7
|
+
anchorOriginBottomCenter: string;
|
|
8
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */
|
|
9
|
+
anchorOriginTopRight: string;
|
|
10
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */
|
|
11
|
+
anchorOriginBottomRight: string;
|
|
12
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */
|
|
13
|
+
anchorOriginTopLeft: string;
|
|
14
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */
|
|
15
|
+
anchorOriginBottomLeft: string;
|
|
16
|
+
}
|
|
17
|
+
export declare type SnackbarClassKey = keyof SnackbarClasses;
|
|
18
|
+
export declare function getSnackbarUtilityClass(slot: string): string;
|
|
19
|
+
declare const snackbarClasses: SnackbarClasses;
|
|
20
|
+
export default snackbarClasses;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface SnackbarContentClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the message wrapper element. */
|
|
5
|
-
message: string;
|
|
6
|
-
/** Styles applied to the action wrapper element if `action` is provided. */
|
|
7
|
-
action: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type SnackbarContentClassKey = keyof SnackbarContentClasses;
|
|
10
|
-
export declare function getSnackbarContentUtilityClass(slot: string): string;
|
|
11
|
-
declare const snackbarContentClasses: SnackbarContentClasses;
|
|
12
|
-
export default snackbarContentClasses;
|
|
1
|
+
export interface SnackbarContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the message wrapper element. */
|
|
5
|
+
message: string;
|
|
6
|
+
/** Styles applied to the action wrapper element if `action` is provided. */
|
|
7
|
+
action: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type SnackbarContentClassKey = keyof SnackbarContentClasses;
|
|
10
|
+
export declare function getSnackbarContentUtilityClass(slot: string): string;
|
|
11
|
+
declare const snackbarContentClasses: SnackbarContentClasses;
|
|
12
|
+
export default snackbarContentClasses;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface SpeedDialClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the Fab component. */
|
|
5
|
-
fab: string;
|
|
6
|
-
/** Styles applied to the root element if direction="up" */
|
|
7
|
-
directionUp: string;
|
|
8
|
-
/** Styles applied to the root element if direction="down" */
|
|
9
|
-
directionDown: string;
|
|
10
|
-
/** Styles applied to the root element if direction="left" */
|
|
11
|
-
directionLeft: string;
|
|
12
|
-
/** Styles applied to the root element if direction="right" */
|
|
13
|
-
directionRight: string;
|
|
14
|
-
/** Styles applied to the actions (`children` wrapper) element. */
|
|
15
|
-
actions: string;
|
|
16
|
-
/** Styles applied to the actions (`children` wrapper) element if `open={false}`. */
|
|
17
|
-
actionsClosed: string;
|
|
18
|
-
}
|
|
19
|
-
export declare type SpeedDialClassKey = keyof SpeedDialClasses;
|
|
20
|
-
export declare function getSpeedDialUtilityClass(slot: string): string;
|
|
21
|
-
declare const speedDialClasses: SpeedDialClasses;
|
|
22
|
-
export default speedDialClasses;
|
|
1
|
+
export interface SpeedDialClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the Fab component. */
|
|
5
|
+
fab: string;
|
|
6
|
+
/** Styles applied to the root element if direction="up" */
|
|
7
|
+
directionUp: string;
|
|
8
|
+
/** Styles applied to the root element if direction="down" */
|
|
9
|
+
directionDown: string;
|
|
10
|
+
/** Styles applied to the root element if direction="left" */
|
|
11
|
+
directionLeft: string;
|
|
12
|
+
/** Styles applied to the root element if direction="right" */
|
|
13
|
+
directionRight: string;
|
|
14
|
+
/** Styles applied to the actions (`children` wrapper) element. */
|
|
15
|
+
actions: string;
|
|
16
|
+
/** Styles applied to the actions (`children` wrapper) element if `open={false}`. */
|
|
17
|
+
actionsClosed: string;
|
|
18
|
+
}
|
|
19
|
+
export declare type SpeedDialClassKey = keyof SpeedDialClasses;
|
|
20
|
+
export declare function getSpeedDialUtilityClass(slot: string): string;
|
|
21
|
+
declare const speedDialClasses: SpeedDialClasses;
|
|
22
|
+
export default speedDialClasses;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface SpeedDialActionClasses {
|
|
2
|
-
/** Styles applied to the Fab component. */
|
|
3
|
-
fab: string;
|
|
4
|
-
/** Styles applied to the Fab component if `open={false}`. */
|
|
5
|
-
fabClosed: string;
|
|
6
|
-
/** Styles applied to the root element if `tooltipOpen={true}`. */
|
|
7
|
-
staticTooltip: string;
|
|
8
|
-
/** Styles applied to the root element if `tooltipOpen={true}` and `open={false}`. */
|
|
9
|
-
staticTooltipClosed: string;
|
|
10
|
-
/** Styles applied to the static tooltip label if `tooltipOpen={true}`. */
|
|
11
|
-
staticTooltipLabel: string;
|
|
12
|
-
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="left"`` */
|
|
13
|
-
tooltipPlacementLeft: string;
|
|
14
|
-
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="right"`` */
|
|
15
|
-
tooltipPlacementRight: string;
|
|
16
|
-
}
|
|
17
|
-
export declare type SpeedDialActionClassKey = keyof SpeedDialActionClasses;
|
|
18
|
-
export declare function getSpeedDialActionUtilityClass(slot: string): string;
|
|
19
|
-
declare const speedDialActionClasses: SpeedDialActionClasses;
|
|
20
|
-
export default speedDialActionClasses;
|
|
1
|
+
export interface SpeedDialActionClasses {
|
|
2
|
+
/** Styles applied to the Fab component. */
|
|
3
|
+
fab: string;
|
|
4
|
+
/** Styles applied to the Fab component if `open={false}`. */
|
|
5
|
+
fabClosed: string;
|
|
6
|
+
/** Styles applied to the root element if `tooltipOpen={true}`. */
|
|
7
|
+
staticTooltip: string;
|
|
8
|
+
/** Styles applied to the root element if `tooltipOpen={true}` and `open={false}`. */
|
|
9
|
+
staticTooltipClosed: string;
|
|
10
|
+
/** Styles applied to the static tooltip label if `tooltipOpen={true}`. */
|
|
11
|
+
staticTooltipLabel: string;
|
|
12
|
+
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="left"`` */
|
|
13
|
+
tooltipPlacementLeft: string;
|
|
14
|
+
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="right"`` */
|
|
15
|
+
tooltipPlacementRight: string;
|
|
16
|
+
}
|
|
17
|
+
export declare type SpeedDialActionClassKey = keyof SpeedDialActionClasses;
|
|
18
|
+
export declare function getSpeedDialActionUtilityClass(slot: string): string;
|
|
19
|
+
declare const speedDialActionClasses: SpeedDialActionClasses;
|
|
20
|
+
export default speedDialActionClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface SpeedDialIconClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the icon component. */
|
|
5
|
-
icon: string;
|
|
6
|
-
/** Styles applied to the icon component if `open={true}`. */
|
|
7
|
-
iconOpen: string;
|
|
8
|
-
/** Styles applied to the icon when an `openIcon` is provided and if `open={true}`. */
|
|
9
|
-
iconWithOpenIconOpen: string;
|
|
10
|
-
/** Styles applied to the `openIcon` if provided. */
|
|
11
|
-
openIcon: string;
|
|
12
|
-
/** Styles applied to the `openIcon` if provided and if `open={true}`. */
|
|
13
|
-
openIconOpen: string;
|
|
14
|
-
}
|
|
15
|
-
export declare type SpeedDialIconClassKey = keyof SpeedDialIconClasses;
|
|
16
|
-
export declare function getSpeedDialIconUtilityClass(slot: string): string;
|
|
17
|
-
declare const speedDialIconClasses: SpeedDialIconClasses;
|
|
18
|
-
export default speedDialIconClasses;
|
|
1
|
+
export interface SpeedDialIconClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the icon component. */
|
|
5
|
+
icon: string;
|
|
6
|
+
/** Styles applied to the icon component if `open={true}`. */
|
|
7
|
+
iconOpen: string;
|
|
8
|
+
/** Styles applied to the icon when an `openIcon` is provided and if `open={true}`. */
|
|
9
|
+
iconWithOpenIconOpen: string;
|
|
10
|
+
/** Styles applied to the `openIcon` if provided. */
|
|
11
|
+
openIcon: string;
|
|
12
|
+
/** Styles applied to the `openIcon` if provided and if `open={true}`. */
|
|
13
|
+
openIconOpen: string;
|
|
14
|
+
}
|
|
15
|
+
export declare type SpeedDialIconClassKey = keyof SpeedDialIconClasses;
|
|
16
|
+
export declare function getSpeedDialIconUtilityClass(slot: string): string;
|
|
17
|
+
declare const speedDialIconClasses: SpeedDialIconClasses;
|
|
18
|
+
export default speedDialIconClasses;
|