@mui/material 5.11.16 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/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.js +2 -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/Box/Box.js +2 -0
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/Button.js +4 -2
- 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 +147 -22
- 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 -40
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/FormControlLabel.d.ts +4 -0
- package/FormControlLabel/FormControlLabel.js +34 -14
- package/FormControlLabel/formControlLabelClasses.d.ts +24 -20
- package/FormControlLabel/formControlLabelClasses.js +1 -1
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/GlobalStyles/GlobalStyles.js +4 -4
- package/Grid/gridClasses.d.ts +48 -48
- 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 +34 -34
- 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/Menu.js +1 -1
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +34 -34
- package/OutlinedInput/outlinedInputClasses.d.ts +38 -36
- package/OverridableComponent.d.ts +1 -1
- 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 +55 -55
- package/Popper/Popper.js +0 -4
- package/README.md +5 -5
- 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 +1 -1
- package/Select/Select.js +1 -1
- 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/Stack.d.ts +1 -1
- package/Stack/Stack.js +1 -1
- 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/ScrollbarSize.js +2 -2
- package/Tabs/Tabs.js +1 -1
- 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/Toolbar.d.ts +1 -1
- package/Toolbar/Toolbar.js +1 -1
- 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/darkScrollbar/index.js +1 -1
- 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 +2 -2
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Box/Box.js +2 -0
- package/legacy/Button/Button.js +4 -2
- package/legacy/FormControlLabel/FormControlLabel.js +35 -14
- package/legacy/FormControlLabel/formControlLabelClasses.js +1 -1
- package/legacy/GlobalStyles/GlobalStyles.js +4 -4
- package/legacy/Menu/Menu.js +1 -1
- package/legacy/Popper/Popper.js +0 -4
- package/legacy/Select/Select.js +1 -1
- package/legacy/Stack/Stack.js +1 -1
- package/legacy/Tabs/ScrollbarSize.js +2 -2
- package/legacy/Tabs/Tabs.js +1 -1
- package/legacy/Toolbar/Toolbar.js +1 -1
- package/legacy/darkScrollbar/index.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/styles/CssVarsProvider.js +2 -0
- package/legacy/styles/ThemeProvider.js +26 -1
- package/legacy/styles/experimental_extendTheme.js +5 -1
- package/legacy/styles/identifier.js +1 -0
- package/legacy/styles/index.js +1 -0
- package/legacy/styles/styled.js +2 -0
- package/legacy/styles/useTheme.js +2 -1
- package/legacy/styles/useThemeProps.js +3 -1
- package/locale/index.d.ts +76 -76
- package/modern/Autocomplete/Autocomplete.js +2 -2
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Box/Box.js +2 -0
- package/modern/Button/Button.js +100 -96
- package/modern/FormControlLabel/FormControlLabel.js +33 -13
- package/modern/FormControlLabel/formControlLabelClasses.js +1 -1
- package/modern/GlobalStyles/GlobalStyles.js +4 -4
- package/modern/Menu/Menu.js +1 -1
- package/modern/Popper/Popper.js +0 -4
- package/modern/Select/Select.js +1 -1
- package/modern/Stack/Stack.js +1 -1
- package/modern/Tabs/ScrollbarSize.js +2 -2
- package/modern/Tabs/Tabs.js +1 -1
- package/modern/Toolbar/Toolbar.js +1 -1
- package/modern/darkScrollbar/index.js +1 -1
- package/modern/index.js +1 -1
- package/modern/styles/CssVarsProvider.js +2 -0
- package/modern/styles/ThemeProvider.js +29 -1
- package/modern/styles/experimental_extendTheme.js +5 -1
- package/modern/styles/identifier.js +1 -0
- package/modern/styles/index.js +1 -0
- package/modern/styles/styled.js +2 -0
- package/modern/styles/useTheme.js +2 -1
- package/modern/styles/useThemeProps.js +3 -1
- package/node/Autocomplete/Autocomplete.js +2 -2
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Box/Box.js +2 -0
- package/node/Button/Button.js +4 -2
- package/node/FormControlLabel/FormControlLabel.js +35 -15
- package/node/FormControlLabel/formControlLabelClasses.js +1 -1
- package/node/GlobalStyles/GlobalStyles.js +4 -4
- package/node/Menu/Menu.js +1 -1
- package/node/Popper/Popper.js +0 -4
- package/node/Select/Select.js +1 -1
- package/node/Stack/Stack.js +1 -1
- package/node/Tabs/ScrollbarSize.js +1 -1
- package/node/Tabs/Tabs.js +1 -1
- package/node/Toolbar/Toolbar.js +1 -1
- package/node/darkScrollbar/index.js +1 -1
- package/node/index.js +1 -1
- package/node/styles/CssVarsProvider.js +2 -0
- package/node/styles/ThemeProvider.js +33 -7
- package/node/styles/experimental_extendTheme.js +5 -1
- package/node/styles/identifier.js +8 -0
- package/node/styles/index.js +8 -0
- package/node/styles/styled.js +2 -0
- package/node/styles/useTheme.js +2 -1
- package/node/styles/useThemeProps.js +3 -1
- package/package.json +6 -6
- package/styles/CssVarsProvider.d.ts +20 -15
- package/styles/CssVarsProvider.js +2 -0
- package/styles/ThemeProvider.js +29 -1
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/experimental_extendTheme.d.ts +8 -1
- package/styles/experimental_extendTheme.js +5 -1
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/identifier.d.ts +2 -0
- package/styles/identifier.js +1 -0
- package/styles/index.d.ts +1 -0
- package/styles/index.js +1 -0
- package/styles/shouldSkipGeneratingVar.d.ts +1 -1
- package/styles/styled.js +2 -0
- package/styles/useTheme.js +2 -1
- package/styles/useThemeProps.js +3 -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 +672 -535
- package/umd/material-ui.production.min.js +21 -21
- 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,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
|
|
27
|
-
firstLast: string;
|
|
28
|
-
/** Styles
|
|
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,55 +1,55 @@
|
|
|
1
|
-
import { PopperUnstyledProps } from '@mui/base/PopperUnstyled';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { Theme } from '../styles';
|
|
5
|
-
export type PopperProps = Omit<PopperUnstyledProps, 'direction'> & {
|
|
6
|
-
/**
|
|
7
|
-
* The components used for each slot inside the Popper.
|
|
8
|
-
* Either a string to use a HTML element or a component.
|
|
9
|
-
* @default {}
|
|
10
|
-
*/
|
|
11
|
-
components?: {
|
|
12
|
-
Root?: React.ElementType;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* The props used for each slot inside the Popper.
|
|
16
|
-
* @default {}
|
|
17
|
-
*/
|
|
18
|
-
componentsProps?: PopperUnstyledProps['slotProps'];
|
|
19
|
-
/**
|
|
20
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
21
|
-
*/
|
|
22
|
-
sx?: SxProps<Theme>;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* Demos:
|
|
27
|
-
*
|
|
28
|
-
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
29
|
-
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
30
|
-
* - [Popper](https://mui.com/material-ui/react-popper/)
|
|
31
|
-
*
|
|
32
|
-
* API:
|
|
33
|
-
*
|
|
34
|
-
* - [Popper API](https://mui.com/material-ui/api/popper/)
|
|
35
|
-
*/
|
|
36
|
-
declare const Popper: React.ForwardRefExoticComponent<Omit<PopperUnstyledProps<"div", {}>, "direction"> & {
|
|
37
|
-
/**
|
|
38
|
-
* The components used for each slot inside the Popper.
|
|
39
|
-
* Either a string to use a HTML element or a component.
|
|
40
|
-
* @default {}
|
|
41
|
-
*/
|
|
42
|
-
components?: {
|
|
43
|
-
Root?: React.ElementType<any> | undefined;
|
|
44
|
-
} | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* The props used for each slot inside the Popper.
|
|
47
|
-
* @default {}
|
|
48
|
-
*/
|
|
49
|
-
componentsProps?: PopperUnstyledProps['slotProps'];
|
|
50
|
-
/**
|
|
51
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
52
|
-
*/
|
|
53
|
-
sx?: SxProps<Theme> | undefined;
|
|
54
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
-
export default Popper;
|
|
1
|
+
import { PopperUnstyledProps } from '@mui/base/PopperUnstyled';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { Theme } from '../styles';
|
|
5
|
+
export type PopperProps = Omit<PopperUnstyledProps, 'direction'> & {
|
|
6
|
+
/**
|
|
7
|
+
* The components used for each slot inside the Popper.
|
|
8
|
+
* Either a string to use a HTML element or a component.
|
|
9
|
+
* @default {}
|
|
10
|
+
*/
|
|
11
|
+
components?: {
|
|
12
|
+
Root?: React.ElementType;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* The props used for each slot inside the Popper.
|
|
16
|
+
* @default {}
|
|
17
|
+
*/
|
|
18
|
+
componentsProps?: PopperUnstyledProps['slotProps'];
|
|
19
|
+
/**
|
|
20
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
21
|
+
*/
|
|
22
|
+
sx?: SxProps<Theme>;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* Demos:
|
|
27
|
+
*
|
|
28
|
+
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
29
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
30
|
+
* - [Popper](https://mui.com/material-ui/react-popper/)
|
|
31
|
+
*
|
|
32
|
+
* API:
|
|
33
|
+
*
|
|
34
|
+
* - [Popper API](https://mui.com/material-ui/api/popper/)
|
|
35
|
+
*/
|
|
36
|
+
declare const Popper: React.ForwardRefExoticComponent<Omit<PopperUnstyledProps<"div", {}>, "direction"> & {
|
|
37
|
+
/**
|
|
38
|
+
* The components used for each slot inside the Popper.
|
|
39
|
+
* Either a string to use a HTML element or a component.
|
|
40
|
+
* @default {}
|
|
41
|
+
*/
|
|
42
|
+
components?: {
|
|
43
|
+
Root?: React.ElementType<any> | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The props used for each slot inside the Popper.
|
|
47
|
+
* @default {}
|
|
48
|
+
*/
|
|
49
|
+
componentsProps?: PopperUnstyledProps['slotProps'];
|
|
50
|
+
/**
|
|
51
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
52
|
+
*/
|
|
53
|
+
sx?: SxProps<Theme> | undefined;
|
|
54
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
export default Popper;
|
package/Popper/Popper.js
CHANGED
|
@@ -130,10 +130,6 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
|
|
|
130
130
|
* If `true`, the component is shown.
|
|
131
131
|
*/
|
|
132
132
|
open: PropTypes.bool.isRequired,
|
|
133
|
-
/**
|
|
134
|
-
* @ignore
|
|
135
|
-
*/
|
|
136
|
-
ownerState: PropTypes.any,
|
|
137
133
|
/**
|
|
138
134
|
* Popper placement.
|
|
139
135
|
* @default 'bottom'
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
- [_Joy UI_](https://mui.com/joy-ui/getting-started/overview/) is a beautifully designed library of React UI components.
|
|
13
13
|
|
|
14
|
-
- [
|
|
14
|
+
- [_Base UI_](https://mui.com/base/getting-started/overview/) is our library of "unstyled" components and low-level hooks. With Base, you gain complete control over your app's CSS and accessibility features.
|
|
15
15
|
|
|
16
16
|
- [_MUI System_](https://mui.com/system/getting-started/overview/) is a collection of CSS utilities to help you rapidly lay out custom designs.
|
|
17
17
|
|
|
@@ -63,9 +63,9 @@ yarn add @mui/material @emotion/react @emotion/styled
|
|
|
63
63
|
**Note:** `@next` only points to pre-releases.
|
|
64
64
|
Use `@latest` for the latest stable release.
|
|
65
65
|
|
|
66
|
-
###
|
|
66
|
+
### Base UI
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
Base UI is available as an [npm package](https://www.npmjs.com/package/@mui/base).
|
|
69
69
|
|
|
70
70
|
**npm:**
|
|
71
71
|
|
|
@@ -79,7 +79,7 @@ npm install @mui/base
|
|
|
79
79
|
yarn add @mui/base
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
**Note**:
|
|
82
|
+
**Note**: Base UI is still in alpha.
|
|
83
83
|
We are adding new components regularly and you're welcome to contribute!
|
|
84
84
|
|
|
85
85
|
### MUI System
|
|
@@ -180,7 +180,7 @@ Our documentation features [a collection of example projects using Material UI](
|
|
|
180
180
|
|
|
181
181
|
- [Material UI](https://mui.com/material-ui/getting-started/overview/)
|
|
182
182
|
- [Joy UI](https://mui.com/joy-ui/getting-started/overview/)
|
|
183
|
-
- [
|
|
183
|
+
- [Base UI](https://mui.com/base/getting-started/overview/)
|
|
184
184
|
- [MUI System](https://mui.com/system/getting-started/overview/)
|
|
185
185
|
|
|
186
186
|
## Premium themes
|
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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RadioGroupContextValue } from './RadioGroupContext';
|
|
2
|
-
export interface RadioGroupState extends RadioGroupContextValue {
|
|
3
|
-
}
|
|
4
|
-
export default function useRadioGroup(): RadioGroupState | undefined;
|
|
1
|
+
import { RadioGroupContextValue } from './RadioGroupContext';
|
|
2
|
+
export interface RadioGroupState extends RadioGroupContextValue {
|
|
3
|
+
}
|
|
4
|
+
export default function useRadioGroup(): RadioGroupState | undefined;
|
|
@@ -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 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 type RatingClassKey = keyof RatingClasses;
|
|
38
|
+
export declare function getRatingUtilityClass(slot: string): string;
|
|
39
|
+
declare const ratingClasses: RatingClasses;
|
|
40
|
+
export default ratingClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface ScopedCssBaselineClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export 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 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
|
@@ -104,7 +104,7 @@ export interface SelectProps<T = unknown>
|
|
|
104
104
|
onChange?: SelectInputProps<T>['onChange'];
|
|
105
105
|
/**
|
|
106
106
|
* Callback fired when the component requests to be closed.
|
|
107
|
-
* Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select
|
|
107
|
+
* Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select collapses).
|
|
108
108
|
*
|
|
109
109
|
* @param {object} event The event source of the callback.
|
|
110
110
|
*/
|
package/Select/Select.js
CHANGED
|
@@ -228,7 +228,7 @@ process.env.NODE_ENV !== "production" ? Select.propTypes /* remove-proptypes */
|
|
|
228
228
|
onChange: PropTypes.func,
|
|
229
229
|
/**
|
|
230
230
|
* Callback fired when the component requests to be closed.
|
|
231
|
-
* Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select
|
|
231
|
+
* Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select collapses).
|
|
232
232
|
*
|
|
233
233
|
* @param {object} event The event source of the callback.
|
|
234
234
|
*/
|
|
@@ -1,32 +1,32 @@
|
|
|
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
|
-
/** State class applied to the root element if `error={true}`. */
|
|
27
|
-
error: string;
|
|
28
|
-
}
|
|
29
|
-
export type SelectClassKey = keyof SelectClasses;
|
|
30
|
-
export declare function getSelectUtilityClasses(slot: string): string;
|
|
31
|
-
declare const selectClasses: SelectClasses;
|
|
32
|
-
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
|
+
/** State class applied to the root element if `error={true}`. */
|
|
27
|
+
error: string;
|
|
28
|
+
}
|
|
29
|
+
export type SelectClassKey = keyof SelectClasses;
|
|
30
|
+
export declare function getSelectUtilityClasses(slot: string): string;
|
|
31
|
+
declare const selectClasses: SelectClasses;
|
|
32
|
+
export default selectClasses;
|