@mui/material 5.10.12 → 5.10.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/Alert.d.ts +34 -3
- package/Alert/Alert.js +46 -9
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.d.ts +10 -0
- package/Autocomplete/Autocomplete.js +27 -11
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/AvatarGroup.d.ts +18 -1
- package/AvatarGroup/AvatarGroup.js +25 -6
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/Backdrop.d.ts +33 -3
- package/Backdrop/Backdrop.js +46 -11
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +11 -3
- package/Badge/Badge.js +11 -3
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +58 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +48 -9
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.d.ts +12 -0
- package/FormControlLabel/FormControlLabel.js +17 -5
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +49 -10
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +34 -3
- package/InputBase/InputBase.js +45 -8
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/ListItem.d.ts +32 -3
- package/ListItem/ListItem.js +41 -9
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.d.ts +11 -3
- package/Modal/Modal.js +11 -3
- package/NativeSelect/NativeSelectInput.js +11 -9
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/OutlinedInput.js +26 -8
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OverridableComponentAugmentation.d.ts +31 -31
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.d.ts +19 -7
- package/PaginationItem/PaginationItem.js +31 -22
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +37 -37
- package/README.md +1 -0
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.d.ts +3 -3
- package/Select/Select.js +3 -3
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/Slider.d.ts +14 -2
- package/Slider/Slider.js +12 -3
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/StepLabel.d.ts +11 -0
- package/StepLabel/StepLabel.js +15 -3
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/Tooltip.d.ts +43 -6
- package/Tooltip/Tooltip.js +68 -31
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/esm/Alert/Alert.js +46 -9
- package/esm/Autocomplete/Autocomplete.js +27 -11
- package/esm/AvatarGroup/AvatarGroup.js +25 -6
- package/esm/Backdrop/Backdrop.js +46 -11
- package/esm/Badge/Badge.js +11 -3
- package/esm/BottomNavigation/BottomNavigation.js +0 -0
- package/esm/FilledInput/FilledInput.js +48 -9
- package/esm/FormControlLabel/FormControlLabel.js +17 -5
- package/esm/Input/Input.js +49 -10
- package/esm/InputBase/InputBase.js +45 -8
- package/esm/ListItem/ListItem.js +41 -9
- package/esm/Modal/Modal.js +11 -3
- package/esm/NativeSelect/NativeSelectInput.js +11 -9
- package/esm/OutlinedInput/OutlinedInput.js +26 -8
- package/esm/PaginationItem/PaginationItem.js +31 -22
- package/esm/Select/Select.js +3 -3
- package/esm/Slider/Slider.js +12 -3
- package/esm/StepLabel/StepLabel.js +15 -3
- package/esm/Tooltip/Tooltip.js +68 -31
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Alert/Alert.js +48 -9
- package/legacy/Autocomplete/Autocomplete.js +27 -10
- package/legacy/AvatarGroup/AvatarGroup.js +26 -6
- package/legacy/Backdrop/Backdrop.js +48 -11
- package/legacy/Badge/Badge.js +11 -3
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/FilledInput/FilledInput.js +49 -9
- package/legacy/FormControlLabel/FormControlLabel.js +17 -4
- package/legacy/Input/Input.js +50 -10
- package/legacy/InputBase/InputBase.js +47 -8
- package/legacy/ListItem/ListItem.js +42 -8
- package/legacy/Modal/Modal.js +11 -3
- package/legacy/NativeSelect/NativeSelectInput.js +11 -9
- package/legacy/OutlinedInput/OutlinedInput.js +27 -8
- package/legacy/PaginationItem/PaginationItem.js +32 -22
- package/legacy/Select/Select.js +3 -3
- package/legacy/Slider/Slider.js +12 -3
- package/legacy/StepLabel/StepLabel.js +16 -3
- package/legacy/Tooltip/Tooltip.js +63 -22
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +72 -72
- package/modern/Alert/Alert.js +45 -8
- package/modern/Autocomplete/Autocomplete.js +26 -10
- package/modern/AvatarGroup/AvatarGroup.js +24 -5
- package/modern/Backdrop/Backdrop.js +45 -10
- package/modern/Badge/Badge.js +11 -3
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/FilledInput/FilledInput.js +46 -9
- package/modern/FormControlLabel/FormControlLabel.js +15 -5
- package/modern/Input/Input.js +47 -10
- package/modern/InputBase/InputBase.js +43 -8
- package/modern/ListItem/ListItem.js +41 -9
- package/modern/Modal/Modal.js +11 -3
- package/modern/NativeSelect/NativeSelectInput.js +11 -9
- package/modern/OutlinedInput/OutlinedInput.js +25 -7
- package/modern/PaginationItem/PaginationItem.js +31 -22
- package/modern/Select/Select.js +3 -3
- package/modern/Slider/Slider.js +12 -3
- package/modern/StepLabel/StepLabel.js +13 -3
- package/modern/Tooltip/Tooltip.js +58 -17
- package/modern/index.js +1 -1
- package/package.json +4 -4
- package/styles/CssVarsProvider.d.ts +14 -14
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +534 -165
- package/umd/material-ui.production.min.js +14 -14
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export interface DividerClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `absolute={true}`. */
|
|
5
|
-
absolute: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="inset"`. */
|
|
7
|
-
inset: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="fullWidth"`. */
|
|
9
|
-
fullWidth: string;
|
|
10
|
-
/** Styles applied to the root element if `light={true}`. */
|
|
11
|
-
light: string;
|
|
12
|
-
/** Styles applied to the root element if `variant="middle"`. */
|
|
13
|
-
middle: string;
|
|
14
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
15
|
-
vertical: string;
|
|
16
|
-
/** Styles applied to the root element if `flexItem={true}`. */
|
|
17
|
-
flexItem: string;
|
|
18
|
-
/** Styles applied to the root element if divider have text. */
|
|
19
|
-
withChildren: string;
|
|
20
|
-
/** Styles applied to the root element if divider have text and `orientation="vertical"`. */
|
|
21
|
-
withChildrenVertical: string;
|
|
22
|
-
/** Styles applied to the root element if `textAlign="right" orientation="horizontal"`. */
|
|
23
|
-
textAlignRight: string;
|
|
24
|
-
/** Styles applied to the root element if `textAlign="left" orientation="horizontal"`. */
|
|
25
|
-
textAlignLeft: string;
|
|
26
|
-
/** Styles applied to the span children element if `orientation="horizontal"`. */
|
|
27
|
-
wrapper: string;
|
|
28
|
-
/** Styles applied to the span children element if `orientation="vertical"`. */
|
|
29
|
-
wrapperVertical: string;
|
|
30
|
-
}
|
|
31
|
-
export declare type DividerClassKey = keyof DividerClasses;
|
|
32
|
-
export declare function getDividerUtilityClass(slot: string): string;
|
|
33
|
-
declare const dividerClasses: DividerClasses;
|
|
34
|
-
export default dividerClasses;
|
|
1
|
+
export interface DividerClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `absolute={true}`. */
|
|
5
|
+
absolute: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="inset"`. */
|
|
7
|
+
inset: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="fullWidth"`. */
|
|
9
|
+
fullWidth: string;
|
|
10
|
+
/** Styles applied to the root element if `light={true}`. */
|
|
11
|
+
light: string;
|
|
12
|
+
/** Styles applied to the root element if `variant="middle"`. */
|
|
13
|
+
middle: string;
|
|
14
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
15
|
+
vertical: string;
|
|
16
|
+
/** Styles applied to the root element if `flexItem={true}`. */
|
|
17
|
+
flexItem: string;
|
|
18
|
+
/** Styles applied to the root element if divider have text. */
|
|
19
|
+
withChildren: string;
|
|
20
|
+
/** Styles applied to the root element if divider have text and `orientation="vertical"`. */
|
|
21
|
+
withChildrenVertical: string;
|
|
22
|
+
/** Styles applied to the root element if `textAlign="right" orientation="horizontal"`. */
|
|
23
|
+
textAlignRight: string;
|
|
24
|
+
/** Styles applied to the root element if `textAlign="left" orientation="horizontal"`. */
|
|
25
|
+
textAlignLeft: string;
|
|
26
|
+
/** Styles applied to the span children element if `orientation="horizontal"`. */
|
|
27
|
+
wrapper: string;
|
|
28
|
+
/** Styles applied to the span children element if `orientation="vertical"`. */
|
|
29
|
+
wrapperVertical: string;
|
|
30
|
+
}
|
|
31
|
+
export declare type DividerClassKey = keyof DividerClasses;
|
|
32
|
+
export declare function getDividerUtilityClass(slot: string): string;
|
|
33
|
+
declare const dividerClasses: DividerClasses;
|
|
34
|
+
export default dividerClasses;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface DrawerClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="permanent or persistent"`. */
|
|
5
|
-
docked: string;
|
|
6
|
-
/** Styles applied to the Paper component. */
|
|
7
|
-
paper: string;
|
|
8
|
-
/** Styles applied to the Paper component if `anchor="left"`. */
|
|
9
|
-
paperAnchorLeft: string;
|
|
10
|
-
/** Styles applied to the Paper component if `anchor="right"`. */
|
|
11
|
-
paperAnchorRight: string;
|
|
12
|
-
/** Styles applied to the Paper component if `anchor="top"`. */
|
|
13
|
-
paperAnchorTop: string;
|
|
14
|
-
/** Styles applied to the Paper component if `anchor="bottom"`. */
|
|
15
|
-
paperAnchorBottom: string;
|
|
16
|
-
/** Styles applied to the Paper component if `anchor="left"` and `variant` is not "temporary". */
|
|
17
|
-
paperAnchorDockedLeft: string;
|
|
18
|
-
/** Styles applied to the Paper component if `anchor="top"` and `variant` is not "temporary". */
|
|
19
|
-
paperAnchorDockedTop: string;
|
|
20
|
-
/** Styles applied to the Paper component if `anchor="right"` and `variant` is not "temporary". */
|
|
21
|
-
paperAnchorDockedRight: string;
|
|
22
|
-
/** Styles applied to the Paper component if `anchor="bottom"` and `variant` is not "temporary". */
|
|
23
|
-
paperAnchorDockedBottom: string;
|
|
24
|
-
/** Styles applied to the Modal component. */
|
|
25
|
-
modal: string;
|
|
26
|
-
}
|
|
27
|
-
export declare type DrawerClassKey = keyof DrawerClasses;
|
|
28
|
-
export declare function getDrawerUtilityClass(slot: string): string;
|
|
29
|
-
declare const drawerClasses: DrawerClasses;
|
|
30
|
-
export default drawerClasses;
|
|
1
|
+
export interface DrawerClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="permanent or persistent"`. */
|
|
5
|
+
docked: string;
|
|
6
|
+
/** Styles applied to the Paper component. */
|
|
7
|
+
paper: string;
|
|
8
|
+
/** Styles applied to the Paper component if `anchor="left"`. */
|
|
9
|
+
paperAnchorLeft: string;
|
|
10
|
+
/** Styles applied to the Paper component if `anchor="right"`. */
|
|
11
|
+
paperAnchorRight: string;
|
|
12
|
+
/** Styles applied to the Paper component if `anchor="top"`. */
|
|
13
|
+
paperAnchorTop: string;
|
|
14
|
+
/** Styles applied to the Paper component if `anchor="bottom"`. */
|
|
15
|
+
paperAnchorBottom: string;
|
|
16
|
+
/** Styles applied to the Paper component if `anchor="left"` and `variant` is not "temporary". */
|
|
17
|
+
paperAnchorDockedLeft: string;
|
|
18
|
+
/** Styles applied to the Paper component if `anchor="top"` and `variant` is not "temporary". */
|
|
19
|
+
paperAnchorDockedTop: string;
|
|
20
|
+
/** Styles applied to the Paper component if `anchor="right"` and `variant` is not "temporary". */
|
|
21
|
+
paperAnchorDockedRight: string;
|
|
22
|
+
/** Styles applied to the Paper component if `anchor="bottom"` and `variant` is not "temporary". */
|
|
23
|
+
paperAnchorDockedBottom: string;
|
|
24
|
+
/** Styles applied to the Modal component. */
|
|
25
|
+
modal: string;
|
|
26
|
+
}
|
|
27
|
+
export declare type DrawerClassKey = keyof DrawerClasses;
|
|
28
|
+
export declare function getDrawerUtilityClass(slot: string): string;
|
|
29
|
+
declare const drawerClasses: DrawerClasses;
|
|
30
|
+
export default drawerClasses;
|
package/Fab/fabClasses.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface FabClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
-
primary: string;
|
|
6
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
7
|
-
secondary: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="extended"`. */
|
|
9
|
-
extended: string;
|
|
10
|
-
/** Styles applied to the root element if `variant="circular"`. */
|
|
11
|
-
circular: string;
|
|
12
|
-
/** State class applied to the ButtonBase root element if the button is keyboard focused. */
|
|
13
|
-
focusVisible: string;
|
|
14
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
15
|
-
disabled: string;
|
|
16
|
-
/** Styles applied to the root element if `color="inherit"`. */
|
|
17
|
-
colorInherit: string;
|
|
18
|
-
/** Styles applied to the root element if `size="small"``. */
|
|
19
|
-
sizeSmall: string;
|
|
20
|
-
/** Styles applied to the root element if `size="medium"``. */
|
|
21
|
-
sizeMedium: string;
|
|
22
|
-
}
|
|
23
|
-
export declare type FabClassKey = keyof FabClasses;
|
|
24
|
-
export declare function getFabUtilityClass(slot: string): string;
|
|
25
|
-
declare const fabClasses: FabClasses;
|
|
26
|
-
export default fabClasses;
|
|
1
|
+
export interface FabClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
+
primary: string;
|
|
6
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
7
|
+
secondary: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="extended"`. */
|
|
9
|
+
extended: string;
|
|
10
|
+
/** Styles applied to the root element if `variant="circular"`. */
|
|
11
|
+
circular: string;
|
|
12
|
+
/** State class applied to the ButtonBase root element if the button is keyboard focused. */
|
|
13
|
+
focusVisible: string;
|
|
14
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
15
|
+
disabled: string;
|
|
16
|
+
/** Styles applied to the root element if `color="inherit"`. */
|
|
17
|
+
colorInherit: string;
|
|
18
|
+
/** Styles applied to the root element if `size="small"``. */
|
|
19
|
+
sizeSmall: string;
|
|
20
|
+
/** Styles applied to the root element if `size="medium"``. */
|
|
21
|
+
sizeMedium: string;
|
|
22
|
+
}
|
|
23
|
+
export declare type FabClassKey = keyof FabClasses;
|
|
24
|
+
export declare function getFabUtilityClass(slot: string): string;
|
|
25
|
+
declare const fabClasses: FabClasses;
|
|
26
|
+
export default fabClasses;
|
|
@@ -31,7 +31,7 @@ var _InputBase2 = require("../InputBase/InputBase");
|
|
|
31
31
|
|
|
32
32
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
33
33
|
|
|
34
|
-
const _excluded = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "type"];
|
|
34
|
+
const _excluded = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
35
35
|
|
|
36
36
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
37
37
|
|
|
@@ -206,6 +206,8 @@ const FilledInputInput = (0, _styled.default)(_InputBase2.InputBaseComponent, {
|
|
|
206
206
|
paddingBottom: 9
|
|
207
207
|
}));
|
|
208
208
|
const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps, ref) {
|
|
209
|
+
var _ref, _slots$root, _ref2, _slots$input;
|
|
210
|
+
|
|
209
211
|
const props = (0, _useThemeProps.default)({
|
|
210
212
|
props: inProps,
|
|
211
213
|
name: 'MuiFilledInput'
|
|
@@ -217,6 +219,8 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
|
|
|
217
219
|
// declare here to prevent spreading to DOM
|
|
218
220
|
inputComponent = 'input',
|
|
219
221
|
multiline = false,
|
|
222
|
+
slotProps,
|
|
223
|
+
slots = {},
|
|
220
224
|
type = 'text'
|
|
221
225
|
} = props,
|
|
222
226
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
@@ -235,12 +239,14 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
|
|
|
235
239
|
ownerState
|
|
236
240
|
}
|
|
237
241
|
};
|
|
238
|
-
const componentsProps = componentsPropsProp ? (0, _utils.deepmerge)(componentsPropsProp, filledInputComponentsProps) : filledInputComponentsProps;
|
|
242
|
+
const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? (0, _utils.deepmerge)(slotProps != null ? slotProps : componentsPropsProp, filledInputComponentsProps) : filledInputComponentsProps;
|
|
243
|
+
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : FilledInputRoot;
|
|
244
|
+
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : FilledInputInput;
|
|
239
245
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputBase.default, (0, _extends2.default)({
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
},
|
|
246
|
+
slots: {
|
|
247
|
+
root: RootSlot,
|
|
248
|
+
input: InputSlot
|
|
249
|
+
},
|
|
244
250
|
componentsProps: componentsProps,
|
|
245
251
|
fullWidth: fullWidth,
|
|
246
252
|
inputComponent: inputComponent,
|
|
@@ -287,8 +293,11 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
287
293
|
.oneOfType([_propTypes.default.oneOf(['primary', 'secondary']), _propTypes.default.string]),
|
|
288
294
|
|
|
289
295
|
/**
|
|
290
|
-
* The components used for each slot inside
|
|
291
|
-
*
|
|
296
|
+
* The components used for each slot inside.
|
|
297
|
+
*
|
|
298
|
+
* This prop is an alias for the `slots` prop.
|
|
299
|
+
* It's recommended to use the `slots` prop instead.
|
|
300
|
+
*
|
|
292
301
|
* @default {}
|
|
293
302
|
*/
|
|
294
303
|
components: _propTypes.default.shape({
|
|
@@ -297,7 +306,12 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
297
306
|
}),
|
|
298
307
|
|
|
299
308
|
/**
|
|
300
|
-
* The props
|
|
309
|
+
* The extra props for the slot components.
|
|
310
|
+
* You can override the existing props or add new ones.
|
|
311
|
+
*
|
|
312
|
+
* This prop is an alias for the `slotProps` prop.
|
|
313
|
+
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
314
|
+
*
|
|
301
315
|
* @default {}
|
|
302
316
|
*/
|
|
303
317
|
componentsProps: _propTypes.default.shape({
|
|
@@ -427,6 +441,31 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
427
441
|
*/
|
|
428
442
|
rows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
429
443
|
|
|
444
|
+
/**
|
|
445
|
+
* The extra props for the slot components.
|
|
446
|
+
* You can override the existing props or add new ones.
|
|
447
|
+
*
|
|
448
|
+
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
449
|
+
*
|
|
450
|
+
* @default {}
|
|
451
|
+
*/
|
|
452
|
+
slotProps: _propTypes.default.shape({
|
|
453
|
+
input: _propTypes.default.object,
|
|
454
|
+
root: _propTypes.default.object
|
|
455
|
+
}),
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* The components used for each slot inside.
|
|
459
|
+
*
|
|
460
|
+
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
461
|
+
*
|
|
462
|
+
* @default {}
|
|
463
|
+
*/
|
|
464
|
+
slots: _propTypes.default.shape({
|
|
465
|
+
input: _propTypes.default.elementType,
|
|
466
|
+
root: _propTypes.default.elementType
|
|
467
|
+
}),
|
|
468
|
+
|
|
430
469
|
/**
|
|
431
470
|
* Start `InputAdornment` for this component.
|
|
432
471
|
*/
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export interface FilledInputClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if color secondary. */
|
|
5
|
-
colorSecondary: string;
|
|
6
|
-
/** Styles applied to the root element unless `disableUnderline={true}`. */
|
|
7
|
-
underline: string;
|
|
8
|
-
/** State class applied to the root element if the component is focused. */
|
|
9
|
-
focused: string;
|
|
10
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
11
|
-
disabled: string;
|
|
12
|
-
/** Styles applied to the root element if `startAdornment` is provided. */
|
|
13
|
-
adornedStart: string;
|
|
14
|
-
/** Styles applied to the root element if `endAdornment` is provided. */
|
|
15
|
-
adornedEnd: string;
|
|
16
|
-
/** State class applied to the root element if `error={true}`. */
|
|
17
|
-
error: string;
|
|
18
|
-
/** Styles applied to the input element if `size="small"`. */
|
|
19
|
-
sizeSmall: string;
|
|
20
|
-
/** Styles applied to the root element if `multiline={true}`. */
|
|
21
|
-
multiline: string;
|
|
22
|
-
/** Styles applied to the root element if `hiddenLabel={true}`. */
|
|
23
|
-
hiddenLabel: string;
|
|
24
|
-
/** Styles applied to the input element. */
|
|
25
|
-
input: string;
|
|
26
|
-
/** Styles applied to the input element if `size="small"`. */
|
|
27
|
-
inputSizeSmall: string;
|
|
28
|
-
/** Styles applied to the `input` if in `<FormControl hiddenLabel />`. */
|
|
29
|
-
inputHiddenLabel: string;
|
|
30
|
-
/** Styles applied to the input element if `multiline={true}`. */
|
|
31
|
-
inputMultiline: string;
|
|
32
|
-
/** Styles applied to the input element if `startAdornment` is provided. */
|
|
33
|
-
inputAdornedStart: string;
|
|
34
|
-
/** Styles applied to the input element if `endAdornment` is provided. */
|
|
35
|
-
inputAdornedEnd: string;
|
|
36
|
-
}
|
|
37
|
-
export declare type FilledInputClassKey = keyof FilledInputClasses;
|
|
38
|
-
export declare function getFilledInputUtilityClass(slot: string): string;
|
|
39
|
-
declare const filledInputClasses: FilledInputClasses;
|
|
40
|
-
export default filledInputClasses;
|
|
1
|
+
export interface FilledInputClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if color secondary. */
|
|
5
|
+
colorSecondary: string;
|
|
6
|
+
/** Styles applied to the root element unless `disableUnderline={true}`. */
|
|
7
|
+
underline: string;
|
|
8
|
+
/** State class applied to the root element if the component is focused. */
|
|
9
|
+
focused: string;
|
|
10
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
11
|
+
disabled: string;
|
|
12
|
+
/** Styles applied to the root element if `startAdornment` is provided. */
|
|
13
|
+
adornedStart: string;
|
|
14
|
+
/** Styles applied to the root element if `endAdornment` is provided. */
|
|
15
|
+
adornedEnd: string;
|
|
16
|
+
/** State class applied to the root element if `error={true}`. */
|
|
17
|
+
error: string;
|
|
18
|
+
/** Styles applied to the input element if `size="small"`. */
|
|
19
|
+
sizeSmall: string;
|
|
20
|
+
/** Styles applied to the root element if `multiline={true}`. */
|
|
21
|
+
multiline: string;
|
|
22
|
+
/** Styles applied to the root element if `hiddenLabel={true}`. */
|
|
23
|
+
hiddenLabel: string;
|
|
24
|
+
/** Styles applied to the input element. */
|
|
25
|
+
input: string;
|
|
26
|
+
/** Styles applied to the input element if `size="small"`. */
|
|
27
|
+
inputSizeSmall: string;
|
|
28
|
+
/** Styles applied to the `input` if in `<FormControl hiddenLabel />`. */
|
|
29
|
+
inputHiddenLabel: string;
|
|
30
|
+
/** Styles applied to the input element if `multiline={true}`. */
|
|
31
|
+
inputMultiline: string;
|
|
32
|
+
/** Styles applied to the input element if `startAdornment` is provided. */
|
|
33
|
+
inputAdornedStart: string;
|
|
34
|
+
/** Styles applied to the input element if `endAdornment` is provided. */
|
|
35
|
+
inputAdornedEnd: string;
|
|
36
|
+
}
|
|
37
|
+
export declare type FilledInputClassKey = keyof FilledInputClasses;
|
|
38
|
+
export declare function getFilledInputUtilityClass(slot: string): string;
|
|
39
|
+
declare const filledInputClasses: FilledInputClasses;
|
|
40
|
+
export default filledInputClasses;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface FormControlClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `margin="normal"`. */
|
|
5
|
-
marginNormal: string;
|
|
6
|
-
/** Styles applied to the root element if `margin="dense"`. */
|
|
7
|
-
marginDense: string;
|
|
8
|
-
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
9
|
-
fullWidth: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type FormControlClassKey = keyof FormControlClasses;
|
|
12
|
-
export declare function getFormControlUtilityClasses(slot: string): string;
|
|
13
|
-
declare const formControlClasses: FormControlClasses;
|
|
14
|
-
export default formControlClasses;
|
|
1
|
+
export interface FormControlClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `margin="normal"`. */
|
|
5
|
+
marginNormal: string;
|
|
6
|
+
/** Styles applied to the root element if `margin="dense"`. */
|
|
7
|
+
marginDense: string;
|
|
8
|
+
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
9
|
+
fullWidth: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type FormControlClassKey = keyof FormControlClasses;
|
|
12
|
+
export declare function getFormControlUtilityClasses(slot: string): string;
|
|
13
|
+
declare const formControlClasses: FormControlClasses;
|
|
14
|
+
export default formControlClasses;
|
|
@@ -59,6 +59,18 @@ export interface FormControlLabelProps
|
|
|
59
59
|
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
60
60
|
*/
|
|
61
61
|
onChange?: (event: React.SyntheticEvent, checked: boolean) => void;
|
|
62
|
+
/**
|
|
63
|
+
* The props used for each slot inside.
|
|
64
|
+
* @default {}
|
|
65
|
+
*/
|
|
66
|
+
slotProps?: {
|
|
67
|
+
/**
|
|
68
|
+
* Props applied to the Typography wrapper of the passed label.
|
|
69
|
+
* This is unused if disableTypography is true.
|
|
70
|
+
* @default {}
|
|
71
|
+
*/
|
|
72
|
+
typography?: TypographyProps;
|
|
73
|
+
};
|
|
62
74
|
/**
|
|
63
75
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
64
76
|
*/
|
|
@@ -37,7 +37,7 @@ var _formControlState = _interopRequireDefault(require("../FormControl/formContr
|
|
|
37
37
|
|
|
38
38
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
39
39
|
|
|
40
|
-
const _excluded = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "value"];
|
|
40
|
+
const _excluded = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"];
|
|
41
41
|
|
|
42
42
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
43
43
|
|
|
@@ -109,6 +109,8 @@ const FormControlLabelRoot = (0, _styled.default)('label', {
|
|
|
109
109
|
|
|
110
110
|
exports.FormControlLabelRoot = FormControlLabelRoot;
|
|
111
111
|
const FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel(inProps, ref) {
|
|
112
|
+
var _slotProps$typography;
|
|
113
|
+
|
|
112
114
|
const props = (0, _useThemeProps.default)({
|
|
113
115
|
props: inProps,
|
|
114
116
|
name: 'MuiFormControlLabel'
|
|
@@ -120,7 +122,8 @@ const FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel
|
|
|
120
122
|
disabled: disabledProp,
|
|
121
123
|
disableTypography,
|
|
122
124
|
label: labelProp,
|
|
123
|
-
labelPlacement = 'end'
|
|
125
|
+
labelPlacement = 'end',
|
|
126
|
+
slotProps = {}
|
|
124
127
|
} = props,
|
|
125
128
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
126
129
|
const muiFormControl = (0, _FormControl.useFormControl)();
|
|
@@ -153,13 +156,14 @@ const FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel
|
|
|
153
156
|
error: fcs.error
|
|
154
157
|
});
|
|
155
158
|
const classes = useUtilityClasses(ownerState);
|
|
159
|
+
const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
|
|
156
160
|
let label = labelProp;
|
|
157
161
|
|
|
158
162
|
if (label != null && label.type !== _Typography.default && !disableTypography) {
|
|
159
163
|
label = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, (0, _extends2.default)({
|
|
160
|
-
component: "span"
|
|
161
|
-
|
|
162
|
-
|
|
164
|
+
component: "span"
|
|
165
|
+
}, typographySlotProps, {
|
|
166
|
+
className: (0, _clsx.default)(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
|
|
163
167
|
children: label
|
|
164
168
|
}));
|
|
165
169
|
}
|
|
@@ -247,6 +251,14 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes
|
|
|
247
251
|
*/
|
|
248
252
|
onChange: _propTypes.default.func,
|
|
249
253
|
|
|
254
|
+
/**
|
|
255
|
+
* The props used for each slot inside.
|
|
256
|
+
* @default {}
|
|
257
|
+
*/
|
|
258
|
+
slotProps: _propTypes.default.shape({
|
|
259
|
+
typography: _propTypes.default.object
|
|
260
|
+
}),
|
|
261
|
+
|
|
250
262
|
/**
|
|
251
263
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
252
264
|
*/
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface FormControlLabelClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `labelPlacement="start"`. */
|
|
5
|
-
labelPlacementStart: string;
|
|
6
|
-
/** Styles applied to the root element if `labelPlacement="top"`. */
|
|
7
|
-
labelPlacementTop: string;
|
|
8
|
-
/** Styles applied to the root element if `labelPlacement="bottom"`. */
|
|
9
|
-
labelPlacementBottom: string;
|
|
10
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
11
|
-
disabled: string;
|
|
12
|
-
/** Styles applied to the label's Typography component. */
|
|
13
|
-
label: string;
|
|
14
|
-
/** State class applied to the root element if `error={true}`. */
|
|
15
|
-
error: string;
|
|
16
|
-
}
|
|
17
|
-
export declare type FormControlLabelClassKey = keyof FormControlLabelClasses;
|
|
18
|
-
export declare function getFormControlLabelUtilityClasses(slot: string): string;
|
|
19
|
-
declare const formControlLabelClasses: FormControlLabelClasses;
|
|
20
|
-
export default formControlLabelClasses;
|
|
1
|
+
export interface FormControlLabelClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `labelPlacement="start"`. */
|
|
5
|
+
labelPlacementStart: string;
|
|
6
|
+
/** Styles applied to the root element if `labelPlacement="top"`. */
|
|
7
|
+
labelPlacementTop: string;
|
|
8
|
+
/** Styles applied to the root element if `labelPlacement="bottom"`. */
|
|
9
|
+
labelPlacementBottom: string;
|
|
10
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
11
|
+
disabled: string;
|
|
12
|
+
/** Styles applied to the label's Typography component. */
|
|
13
|
+
label: string;
|
|
14
|
+
/** State class applied to the root element if `error={true}`. */
|
|
15
|
+
error: string;
|
|
16
|
+
}
|
|
17
|
+
export declare type FormControlLabelClassKey = keyof FormControlLabelClasses;
|
|
18
|
+
export declare function getFormControlLabelUtilityClasses(slot: string): string;
|
|
19
|
+
declare const formControlLabelClasses: FormControlLabelClasses;
|
|
20
|
+
export default formControlLabelClasses;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface FormGroupClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `row={true}`. */
|
|
5
|
-
row: string;
|
|
6
|
-
/** State class applied to the root element if `error={true}`. */
|
|
7
|
-
error: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type FormGroupClassKey = keyof FormGroupClasses;
|
|
10
|
-
export declare function getFormGroupUtilityClass(slot: string): string;
|
|
11
|
-
declare const formGroupClasses: FormGroupClasses;
|
|
12
|
-
export default formGroupClasses;
|
|
1
|
+
export interface FormGroupClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `row={true}`. */
|
|
5
|
+
row: string;
|
|
6
|
+
/** State class applied to the root element if `error={true}`. */
|
|
7
|
+
error: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type FormGroupClassKey = keyof FormGroupClasses;
|
|
10
|
+
export declare function getFormGroupUtilityClass(slot: string): string;
|
|
11
|
+
declare const formGroupClasses: FormGroupClasses;
|
|
12
|
+
export default formGroupClasses;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface FormHelperTextClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the root element if `error={true}`. */
|
|
5
|
-
error: string;
|
|
6
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
-
disabled: string;
|
|
8
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
9
|
-
sizeSmall: string;
|
|
10
|
-
/** Styles applied to the root element if `variant="filled"` or `variant="outlined"`. */
|
|
11
|
-
contained: string;
|
|
12
|
-
/** State class applied to the root element if `focused={true}`. */
|
|
13
|
-
focused: string;
|
|
14
|
-
/** State class applied to the root element if `filled={true}`. */
|
|
15
|
-
filled: string;
|
|
16
|
-
/** State class applied to the root element if `required={true}`. */
|
|
17
|
-
required: string;
|
|
18
|
-
}
|
|
19
|
-
export declare type FormHelperTextClassKey = keyof FormHelperTextClasses;
|
|
20
|
-
export declare function getFormHelperTextUtilityClasses(slot: string): string;
|
|
21
|
-
declare const formHelperTextClasses: FormHelperTextClasses;
|
|
22
|
-
export default formHelperTextClasses;
|
|
1
|
+
export interface FormHelperTextClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the root element if `error={true}`. */
|
|
5
|
+
error: string;
|
|
6
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
+
disabled: string;
|
|
8
|
+
/** Styles applied to the root element if `size="small"`. */
|
|
9
|
+
sizeSmall: string;
|
|
10
|
+
/** Styles applied to the root element if `variant="filled"` or `variant="outlined"`. */
|
|
11
|
+
contained: string;
|
|
12
|
+
/** State class applied to the root element if `focused={true}`. */
|
|
13
|
+
focused: string;
|
|
14
|
+
/** State class applied to the root element if `filled={true}`. */
|
|
15
|
+
filled: string;
|
|
16
|
+
/** State class applied to the root element if `required={true}`. */
|
|
17
|
+
required: string;
|
|
18
|
+
}
|
|
19
|
+
export declare type FormHelperTextClassKey = keyof FormHelperTextClasses;
|
|
20
|
+
export declare function getFormHelperTextUtilityClasses(slot: string): string;
|
|
21
|
+
declare const formHelperTextClasses: FormHelperTextClasses;
|
|
22
|
+
export default formHelperTextClasses;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface FormLabelClasses {
|
|
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
|
-
/** State class applied to the root element if `focused={true}`. */
|
|
7
|
-
focused: string;
|
|
8
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
9
|
-
disabled: string;
|
|
10
|
-
/** State class applied to the root element if `error={true}`. */
|
|
11
|
-
error: string;
|
|
12
|
-
/** State class applied to the root element if `filled={true}`. */
|
|
13
|
-
filled: string;
|
|
14
|
-
/** State class applied to the root element if `required={true}`. */
|
|
15
|
-
required: string;
|
|
16
|
-
/** Styles applied to the asterisk element. */
|
|
17
|
-
asterisk: string;
|
|
18
|
-
}
|
|
19
|
-
export declare type FormLabelClassKey = keyof FormLabelClasses;
|
|
20
|
-
export declare function getFormLabelUtilityClasses(slot: string): string;
|
|
21
|
-
declare const formLabelClasses: FormLabelClasses;
|
|
22
|
-
export default formLabelClasses;
|
|
1
|
+
export interface FormLabelClasses {
|
|
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
|
+
/** State class applied to the root element if `focused={true}`. */
|
|
7
|
+
focused: string;
|
|
8
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
9
|
+
disabled: string;
|
|
10
|
+
/** State class applied to the root element if `error={true}`. */
|
|
11
|
+
error: string;
|
|
12
|
+
/** State class applied to the root element if `filled={true}`. */
|
|
13
|
+
filled: string;
|
|
14
|
+
/** State class applied to the root element if `required={true}`. */
|
|
15
|
+
required: string;
|
|
16
|
+
/** Styles applied to the asterisk element. */
|
|
17
|
+
asterisk: string;
|
|
18
|
+
}
|
|
19
|
+
export declare type FormLabelClassKey = keyof FormLabelClasses;
|
|
20
|
+
export declare function getFormLabelUtilityClasses(slot: string): string;
|
|
21
|
+
declare const formLabelClasses: FormLabelClasses;
|
|
22
|
+
export default formLabelClasses;
|