@mui/material 5.11.12 → 5.11.14
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 +56 -56
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/BreadcrumbCollapsed.js +26 -3
- package/Breadcrumbs/Breadcrumbs.d.ts +31 -0
- package/Breadcrumbs/Breadcrumbs.js +30 -2
- 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 +114 -5
- 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 +40 -40
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/formControlLabelClasses.d.ts +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 +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/ListItemButton.js +4 -2
- 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/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- 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/README.md +5 -4
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/SliderValueLabel.d.ts +15 -15
- package/Slider/SliderValueLabel.types.d.ts +24 -24
- package/Slider/sliderClasses.d.ts +58 -58
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Stack/stackClasses.d.ts +6 -6
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/StepButton.js +4 -2
- 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/TabScrollButton.d.ts +34 -1
- package/TabScrollButton/TabScrollButton.js +41 -8
- 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/Tabs.d.ts +40 -0
- package/Tabs/Tabs.js +43 -2
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Breadcrumbs/BreadcrumbCollapsed.js +25 -3
- package/legacy/Breadcrumbs/Breadcrumbs.js +32 -2
- package/legacy/ListItemButton/ListItemButton.js +4 -2
- package/legacy/StepButton/StepButton.js +4 -2
- package/legacy/TabScrollButton/TabScrollButton.js +43 -8
- package/legacy/Tabs/Tabs.js +45 -2
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +156 -80
- package/legacy/styles/createTypography.js +8 -1
- package/legacy/styles/experimental_extendTheme.js +1 -6
- package/legacy/styles/index.js +1 -0
- package/legacy/styles/shouldSkipGeneratingVar.js +6 -0
- package/locale/index.d.ts +76 -75
- package/locale/index.js +73 -0
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Breadcrumbs/BreadcrumbCollapsed.js +26 -3
- package/modern/Breadcrumbs/Breadcrumbs.js +30 -2
- package/modern/ListItemButton/ListItemButton.js +4 -2
- package/modern/StepButton/StepButton.js +4 -2
- package/modern/TabScrollButton/TabScrollButton.js +40 -8
- package/modern/Tabs/Tabs.js +43 -2
- package/modern/index.js +1 -1
- package/modern/locale/index.js +73 -0
- package/modern/styles/createTypography.js +8 -1
- package/modern/styles/experimental_extendTheme.js +1 -3
- package/modern/styles/index.js +1 -0
- package/modern/styles/shouldSkipGeneratingVar.js +5 -0
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Breadcrumbs/BreadcrumbCollapsed.js +26 -3
- package/node/Breadcrumbs/Breadcrumbs.js +29 -1
- package/node/ListItemButton/ListItemButton.js +4 -2
- package/node/StepButton/StepButton.js +4 -2
- package/node/TabScrollButton/TabScrollButton.js +42 -9
- package/node/Tabs/Tabs.js +42 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +75 -1
- package/node/styles/createTypography.js +8 -1
- package/node/styles/experimental_extendTheme.js +2 -9
- package/node/styles/index.js +8 -0
- package/node/styles/shouldSkipGeneratingVar.js +12 -0
- package/package.json +5 -5
- package/styles/CssVarsProvider.d.ts +15 -15
- package/styles/createTypography.js +8 -1
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/experimental_extendTheme.d.ts +5 -1
- package/styles/experimental_extendTheme.js +1 -6
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/index.d.ts +1 -0
- package/styles/index.js +1 -0
- package/styles/shouldSkipGeneratingVar.d.ts +1 -0
- package/styles/shouldSkipGeneratingVar.js +6 -0
- 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 +335 -131
- package/umd/material-ui.production.min.js +20 -20
- 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,18 +1,18 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface StepperContextType {
|
|
3
|
-
activeStep: number;
|
|
4
|
-
alternativeLabel: boolean;
|
|
5
|
-
connector: React.ReactNode;
|
|
6
|
-
nonLinear: boolean;
|
|
7
|
-
orientation: 'horizontal' | 'vertical';
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Provides information about the current step in Stepper.
|
|
11
|
-
*/
|
|
12
|
-
declare const StepperContext: React.Context<{} | StepperContextType>;
|
|
13
|
-
/**
|
|
14
|
-
* Returns the current StepperContext or an empty object if no StepperContext
|
|
15
|
-
* has been defined in the component tree.
|
|
16
|
-
*/
|
|
17
|
-
export declare function useStepperContext(): StepperContextType | {};
|
|
18
|
-
export default StepperContext;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface StepperContextType {
|
|
3
|
+
activeStep: number;
|
|
4
|
+
alternativeLabel: boolean;
|
|
5
|
+
connector: React.ReactNode;
|
|
6
|
+
nonLinear: boolean;
|
|
7
|
+
orientation: 'horizontal' | 'vertical';
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Provides information about the current step in Stepper.
|
|
11
|
+
*/
|
|
12
|
+
declare const StepperContext: React.Context<{} | StepperContextType>;
|
|
13
|
+
/**
|
|
14
|
+
* Returns the current StepperContext or an empty object if no StepperContext
|
|
15
|
+
* has been defined in the component tree.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useStepperContext(): StepperContextType | {};
|
|
18
|
+
export default StepperContext;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface StepperClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
-
horizontal: string;
|
|
6
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
-
vertical: string;
|
|
8
|
-
/** Styles applied to the root element if `alternativeLabel={true}`. */
|
|
9
|
-
alternativeLabel: string;
|
|
10
|
-
}
|
|
11
|
-
export type StepperClassKey = keyof StepperClasses;
|
|
12
|
-
export declare function getStepperUtilityClass(slot: string): string;
|
|
13
|
-
declare const stepperClasses: StepperClasses;
|
|
14
|
-
export default stepperClasses;
|
|
1
|
+
export interface StepperClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
+
horizontal: string;
|
|
6
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
+
vertical: string;
|
|
8
|
+
/** Styles applied to the root element if `alternativeLabel={true}`. */
|
|
9
|
+
alternativeLabel: string;
|
|
10
|
+
}
|
|
11
|
+
export type StepperClassKey = keyof StepperClasses;
|
|
12
|
+
export declare function getStepperUtilityClass(slot: string): string;
|
|
13
|
+
declare const stepperClasses: StepperClasses;
|
|
14
|
+
export default stepperClasses;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface SvgIconClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
-
colorPrimary: string;
|
|
6
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
7
|
-
colorSecondary: string;
|
|
8
|
-
/** Styles applied to the root element if `color="action"`. */
|
|
9
|
-
colorAction: string;
|
|
10
|
-
/** Styles applied to the root element if `color="error"`. */
|
|
11
|
-
colorError: string;
|
|
12
|
-
/** Styles applied to the root element if `color="disabled"`. */
|
|
13
|
-
colorDisabled: string;
|
|
14
|
-
/** Styles applied to the root element if `fontSize="inherit"`. */
|
|
15
|
-
fontSizeInherit: string;
|
|
16
|
-
/** Styles applied to the root element if `fontSize="small"`. */
|
|
17
|
-
fontSizeSmall: string;
|
|
18
|
-
/** Styles applied to the root element if `fontSize="medium"`. */
|
|
19
|
-
fontSizeMedium: string;
|
|
20
|
-
/** Styles applied to the root element if `fontSize="large"`. */
|
|
21
|
-
fontSizeLarge: string;
|
|
22
|
-
}
|
|
23
|
-
export type SvgIconClassKey = keyof SvgIconClasses;
|
|
24
|
-
export declare function getSvgIconUtilityClass(slot: string): string;
|
|
25
|
-
declare const svgIconClasses: SvgIconClasses;
|
|
26
|
-
export default svgIconClasses;
|
|
1
|
+
export interface SvgIconClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
+
colorPrimary: string;
|
|
6
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
7
|
+
colorSecondary: string;
|
|
8
|
+
/** Styles applied to the root element if `color="action"`. */
|
|
9
|
+
colorAction: string;
|
|
10
|
+
/** Styles applied to the root element if `color="error"`. */
|
|
11
|
+
colorError: string;
|
|
12
|
+
/** Styles applied to the root element if `color="disabled"`. */
|
|
13
|
+
colorDisabled: string;
|
|
14
|
+
/** Styles applied to the root element if `fontSize="inherit"`. */
|
|
15
|
+
fontSizeInherit: string;
|
|
16
|
+
/** Styles applied to the root element if `fontSize="small"`. */
|
|
17
|
+
fontSizeSmall: string;
|
|
18
|
+
/** Styles applied to the root element if `fontSize="medium"`. */
|
|
19
|
+
fontSizeMedium: string;
|
|
20
|
+
/** Styles applied to the root element if `fontSize="large"`. */
|
|
21
|
+
fontSizeLarge: string;
|
|
22
|
+
}
|
|
23
|
+
export type SvgIconClassKey = keyof SvgIconClasses;
|
|
24
|
+
export declare function getSvgIconUtilityClass(slot: string): string;
|
|
25
|
+
declare const svgIconClasses: SvgIconClasses;
|
|
26
|
+
export default svgIconClasses;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export interface SwitchClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `edge="start"`. */
|
|
5
|
-
edgeStart: string;
|
|
6
|
-
/** Styles applied to the root element if `edge="end"`. */
|
|
7
|
-
edgeEnd: string;
|
|
8
|
-
/** Styles applied to the internal `SwitchBase` component's `root` class. */
|
|
9
|
-
switchBase: string;
|
|
10
|
-
/** Styles applied to the internal SwitchBase component's root element if `color="primary"`. */
|
|
11
|
-
colorPrimary: string;
|
|
12
|
-
/** Styles applied to the internal SwitchBase component's root element if `color="secondary"`. */
|
|
13
|
-
colorSecondary: string;
|
|
14
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
15
|
-
sizeSmall: string;
|
|
16
|
-
/** Styles applied to the root element if `size="medium"`. */
|
|
17
|
-
sizeMedium: string;
|
|
18
|
-
/** State class applied to the internal `SwitchBase` component's `checked` class. */
|
|
19
|
-
checked: string;
|
|
20
|
-
/** State class applied to the internal SwitchBase component's disabled class. */
|
|
21
|
-
disabled: string;
|
|
22
|
-
/** Styles applied to the internal SwitchBase component's input element. */
|
|
23
|
-
input: string;
|
|
24
|
-
/** Styles used to create the thumb passed to the internal `SwitchBase` component `icon` prop. */
|
|
25
|
-
thumb: string;
|
|
26
|
-
/** Styles applied to the track element. */
|
|
27
|
-
track: string;
|
|
28
|
-
}
|
|
29
|
-
export type SwitchClassKey = keyof SwitchClasses;
|
|
30
|
-
export declare function getSwitchUtilityClass(slot: string): string;
|
|
31
|
-
declare const switchClasses: SwitchClasses;
|
|
32
|
-
export default switchClasses;
|
|
1
|
+
export interface SwitchClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `edge="start"`. */
|
|
5
|
+
edgeStart: string;
|
|
6
|
+
/** Styles applied to the root element if `edge="end"`. */
|
|
7
|
+
edgeEnd: string;
|
|
8
|
+
/** Styles applied to the internal `SwitchBase` component's `root` class. */
|
|
9
|
+
switchBase: string;
|
|
10
|
+
/** Styles applied to the internal SwitchBase component's root element if `color="primary"`. */
|
|
11
|
+
colorPrimary: string;
|
|
12
|
+
/** Styles applied to the internal SwitchBase component's root element if `color="secondary"`. */
|
|
13
|
+
colorSecondary: string;
|
|
14
|
+
/** Styles applied to the root element if `size="small"`. */
|
|
15
|
+
sizeSmall: string;
|
|
16
|
+
/** Styles applied to the root element if `size="medium"`. */
|
|
17
|
+
sizeMedium: string;
|
|
18
|
+
/** State class applied to the internal `SwitchBase` component's `checked` class. */
|
|
19
|
+
checked: string;
|
|
20
|
+
/** State class applied to the internal SwitchBase component's disabled class. */
|
|
21
|
+
disabled: string;
|
|
22
|
+
/** Styles applied to the internal SwitchBase component's input element. */
|
|
23
|
+
input: string;
|
|
24
|
+
/** Styles used to create the thumb passed to the internal `SwitchBase` component `icon` prop. */
|
|
25
|
+
thumb: string;
|
|
26
|
+
/** Styles applied to the track element. */
|
|
27
|
+
track: string;
|
|
28
|
+
}
|
|
29
|
+
export type SwitchClassKey = keyof SwitchClasses;
|
|
30
|
+
export declare function getSwitchUtilityClass(slot: string): string;
|
|
31
|
+
declare const switchClasses: SwitchClasses;
|
|
32
|
+
export default switchClasses;
|
package/Tab/tabClasses.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface TabClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if both `icon` and `label` are provided. */
|
|
5
|
-
labelIcon: string;
|
|
6
|
-
/** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="inherit"`. */
|
|
7
|
-
textColorInherit: string;
|
|
8
|
-
/** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="primary"`. */
|
|
9
|
-
textColorPrimary: string;
|
|
10
|
-
/** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="secondary"`. */
|
|
11
|
-
textColorSecondary: string;
|
|
12
|
-
/** State class applied to the root element if `selected={true}` (controlled by the Tabs component). */
|
|
13
|
-
selected: string;
|
|
14
|
-
/** State class applied to the root element if `disabled={true}` (controlled by the Tabs component). */
|
|
15
|
-
disabled: string;
|
|
16
|
-
/** Styles applied to the root element if `fullWidth={true}` (controlled by the Tabs component). */
|
|
17
|
-
fullWidth: string;
|
|
18
|
-
/** Styles applied to the root element if `wrapped={true}`. */
|
|
19
|
-
wrapped: string;
|
|
20
|
-
/** Styles applied to the wrapper element of `icon` if `icon` is provided. */
|
|
21
|
-
iconWrapper: string;
|
|
22
|
-
}
|
|
23
|
-
export type TabClassKey = keyof TabClasses;
|
|
24
|
-
export declare function getTabUtilityClass(slot: string): string;
|
|
25
|
-
declare const tabClasses: TabClasses;
|
|
26
|
-
export default tabClasses;
|
|
1
|
+
export interface TabClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if both `icon` and `label` are provided. */
|
|
5
|
+
labelIcon: string;
|
|
6
|
+
/** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="inherit"`. */
|
|
7
|
+
textColorInherit: string;
|
|
8
|
+
/** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="primary"`. */
|
|
9
|
+
textColorPrimary: string;
|
|
10
|
+
/** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="secondary"`. */
|
|
11
|
+
textColorSecondary: string;
|
|
12
|
+
/** State class applied to the root element if `selected={true}` (controlled by the Tabs component). */
|
|
13
|
+
selected: string;
|
|
14
|
+
/** State class applied to the root element if `disabled={true}` (controlled by the Tabs component). */
|
|
15
|
+
disabled: string;
|
|
16
|
+
/** Styles applied to the root element if `fullWidth={true}` (controlled by the Tabs component). */
|
|
17
|
+
fullWidth: string;
|
|
18
|
+
/** Styles applied to the root element if `wrapped={true}`. */
|
|
19
|
+
wrapped: string;
|
|
20
|
+
/** Styles applied to the wrapper element of `icon` if `icon` is provided. */
|
|
21
|
+
iconWrapper: string;
|
|
22
|
+
}
|
|
23
|
+
export type TabClassKey = keyof TabClasses;
|
|
24
|
+
export declare function getTabUtilityClass(slot: string): string;
|
|
25
|
+
declare const tabClasses: TabClasses;
|
|
26
|
+
export default tabClasses;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import {
|
|
3
|
+
import { SlotComponentProps } from '@mui/base';
|
|
4
|
+
import { InternalStandardProps as StandardProps, SvgIcon, Theme } from '..';
|
|
4
5
|
import { TabScrollButtonClasses } from './tabScrollButtonClasses';
|
|
5
6
|
|
|
7
|
+
export interface TabScrollButtonStartIconSlotPropsOverrides {}
|
|
8
|
+
export interface TabScrollButtonEndIconSlotPropsOverrides {}
|
|
9
|
+
|
|
10
|
+
export interface TabScrollButtonOwnerState extends TabScrollButtonProps {
|
|
11
|
+
isRtl: boolean;
|
|
12
|
+
}
|
|
13
|
+
|
|
6
14
|
export interface TabScrollButtonProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
7
15
|
/**
|
|
8
16
|
* The content of the component.
|
|
@@ -12,6 +20,31 @@ export interface TabScrollButtonProps extends StandardProps<React.HTMLAttributes
|
|
|
12
20
|
* Override or extend the styles applied to the component.
|
|
13
21
|
*/
|
|
14
22
|
classes?: Partial<TabScrollButtonClasses>;
|
|
23
|
+
/**
|
|
24
|
+
* The components used for each slot inside.
|
|
25
|
+
* @default {}
|
|
26
|
+
*/
|
|
27
|
+
slots?: {
|
|
28
|
+
StartScrollButtonIcon?: React.ElementType;
|
|
29
|
+
EndScrollButtonIcon?: React.ElementType;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* The extra props for the slot components.
|
|
33
|
+
* You can override the existing props or add new ones.
|
|
34
|
+
* @default {}
|
|
35
|
+
*/
|
|
36
|
+
slotProps?: {
|
|
37
|
+
startScrollButtonIcon?: SlotComponentProps<
|
|
38
|
+
typeof SvgIcon,
|
|
39
|
+
TabScrollButtonStartIconSlotPropsOverrides,
|
|
40
|
+
TabScrollButtonOwnerState
|
|
41
|
+
>;
|
|
42
|
+
endScrollButtonIcon?: SlotComponentProps<
|
|
43
|
+
typeof SvgIcon,
|
|
44
|
+
TabScrollButtonEndIconSlotPropsOverrides,
|
|
45
|
+
TabScrollButtonOwnerState
|
|
46
|
+
>;
|
|
47
|
+
};
|
|
15
48
|
/**
|
|
16
49
|
* The direction the button should indicate.
|
|
17
50
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
|
|
4
|
-
const _excluded = ["className", "direction", "orientation", "disabled"];
|
|
3
|
+
const _excluded = ["className", "slots", "slotProps", "direction", "orientation", "disabled"];
|
|
5
4
|
/* eslint-disable jsx-a11y/aria-role */
|
|
6
5
|
import * as React from 'react';
|
|
7
6
|
import PropTypes from 'prop-types';
|
|
8
7
|
import clsx from 'clsx';
|
|
9
|
-
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
|
+
import { unstable_composeClasses as composeClasses, useSlotProps } from '@mui/base';
|
|
10
9
|
import KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft';
|
|
11
10
|
import KeyboardArrowRight from '../internal/svg-icons/KeyboardArrowRight';
|
|
12
11
|
import ButtonBase from '../ButtonBase';
|
|
@@ -52,12 +51,15 @@ const TabScrollButtonRoot = styled(ButtonBase, {
|
|
|
52
51
|
}
|
|
53
52
|
}));
|
|
54
53
|
const TabScrollButton = /*#__PURE__*/React.forwardRef(function TabScrollButton(inProps, ref) {
|
|
54
|
+
var _slots$StartScrollBut, _slots$EndScrollButto;
|
|
55
55
|
const props = useThemeProps({
|
|
56
56
|
props: inProps,
|
|
57
57
|
name: 'MuiTabScrollButton'
|
|
58
58
|
});
|
|
59
59
|
const {
|
|
60
60
|
className,
|
|
61
|
+
slots = {},
|
|
62
|
+
slotProps = {},
|
|
61
63
|
direction
|
|
62
64
|
} = props,
|
|
63
65
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
@@ -67,6 +69,24 @@ const TabScrollButton = /*#__PURE__*/React.forwardRef(function TabScrollButton(i
|
|
|
67
69
|
isRtl
|
|
68
70
|
}, props);
|
|
69
71
|
const classes = useUtilityClasses(ownerState);
|
|
72
|
+
const StartButtonIcon = (_slots$StartScrollBut = slots.StartScrollButtonIcon) != null ? _slots$StartScrollBut : KeyboardArrowLeft;
|
|
73
|
+
const EndButtonIcon = (_slots$EndScrollButto = slots.EndScrollButtonIcon) != null ? _slots$EndScrollButto : KeyboardArrowRight;
|
|
74
|
+
const startButtonIconProps = useSlotProps({
|
|
75
|
+
elementType: StartButtonIcon,
|
|
76
|
+
externalSlotProps: slotProps.startScrollButtonIcon,
|
|
77
|
+
additionalProps: {
|
|
78
|
+
fontSize: 'small'
|
|
79
|
+
},
|
|
80
|
+
ownerState
|
|
81
|
+
});
|
|
82
|
+
const endButtonIconProps = useSlotProps({
|
|
83
|
+
elementType: EndButtonIcon,
|
|
84
|
+
externalSlotProps: slotProps.endScrollButtonIcon,
|
|
85
|
+
additionalProps: {
|
|
86
|
+
fontSize: 'small'
|
|
87
|
+
},
|
|
88
|
+
ownerState
|
|
89
|
+
});
|
|
70
90
|
return /*#__PURE__*/_jsx(TabScrollButtonRoot, _extends({
|
|
71
91
|
component: "div",
|
|
72
92
|
className: clsx(classes.root, className),
|
|
@@ -75,11 +95,7 @@ const TabScrollButton = /*#__PURE__*/React.forwardRef(function TabScrollButton(i
|
|
|
75
95
|
ownerState: ownerState,
|
|
76
96
|
tabIndex: null
|
|
77
97
|
}, other, {
|
|
78
|
-
children: direction === 'left' ?
|
|
79
|
-
fontSize: "small"
|
|
80
|
-
})) : _KeyboardArrowRight || (_KeyboardArrowRight = /*#__PURE__*/_jsx(KeyboardArrowRight, {
|
|
81
|
-
fontSize: "small"
|
|
82
|
-
}))
|
|
98
|
+
children: direction === 'left' ? /*#__PURE__*/_jsx(StartButtonIcon, _extends({}, startButtonIconProps)) : /*#__PURE__*/_jsx(EndButtonIcon, _extends({}, endButtonIconProps))
|
|
83
99
|
}));
|
|
84
100
|
});
|
|
85
101
|
process.env.NODE_ENV !== "production" ? TabScrollButton.propTypes /* remove-proptypes */ = {
|
|
@@ -112,6 +128,23 @@ process.env.NODE_ENV !== "production" ? TabScrollButton.propTypes /* remove-prop
|
|
|
112
128
|
* The component orientation (layout flow direction).
|
|
113
129
|
*/
|
|
114
130
|
orientation: PropTypes.oneOf(['horizontal', 'vertical']).isRequired,
|
|
131
|
+
/**
|
|
132
|
+
* The extra props for the slot components.
|
|
133
|
+
* You can override the existing props or add new ones.
|
|
134
|
+
* @default {}
|
|
135
|
+
*/
|
|
136
|
+
slotProps: PropTypes.shape({
|
|
137
|
+
endScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
138
|
+
startScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
139
|
+
}),
|
|
140
|
+
/**
|
|
141
|
+
* The components used for each slot inside.
|
|
142
|
+
* @default {}
|
|
143
|
+
*/
|
|
144
|
+
slots: PropTypes.shape({
|
|
145
|
+
EndScrollButtonIcon: PropTypes.elementType,
|
|
146
|
+
StartScrollButtonIcon: PropTypes.elementType
|
|
147
|
+
}),
|
|
115
148
|
/**
|
|
116
149
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
117
150
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface TabScrollButtonClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
5
|
-
vertical: string;
|
|
6
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
-
disabled: string;
|
|
8
|
-
}
|
|
9
|
-
export type TabScrollButtonClassKey = keyof TabScrollButtonClasses;
|
|
10
|
-
export declare function getTabScrollButtonUtilityClass(slot: string): string;
|
|
11
|
-
declare const tabScrollButtonClasses: TabScrollButtonClasses;
|
|
12
|
-
export default tabScrollButtonClasses;
|
|
1
|
+
export interface TabScrollButtonClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
5
|
+
vertical: string;
|
|
6
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
+
disabled: string;
|
|
8
|
+
}
|
|
9
|
+
export type TabScrollButtonClassKey = keyof TabScrollButtonClasses;
|
|
10
|
+
export declare function getTabScrollButtonUtilityClass(slot: string): string;
|
|
11
|
+
declare const tabScrollButtonClasses: TabScrollButtonClasses;
|
|
12
|
+
export default tabScrollButtonClasses;
|
package/Table/tableClasses.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface TableClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `stickyHeader={true}`. */
|
|
5
|
-
stickyHeader: string;
|
|
6
|
-
}
|
|
7
|
-
export type TableClassKey = keyof TableClasses;
|
|
8
|
-
export declare function getTableUtilityClass(slot: string): string;
|
|
9
|
-
declare const tableClasses: TableClasses;
|
|
10
|
-
export default tableClasses;
|
|
1
|
+
export interface TableClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `stickyHeader={true}`. */
|
|
5
|
+
stickyHeader: string;
|
|
6
|
+
}
|
|
7
|
+
export type TableClassKey = keyof TableClasses;
|
|
8
|
+
export declare function getTableUtilityClass(slot: string): string;
|
|
9
|
+
declare const tableClasses: TableClasses;
|
|
10
|
+
export default tableClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TableBodyClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type TableBodyClassKey = keyof TableBodyClasses;
|
|
6
|
-
export declare function getTableBodyUtilityClass(slot: string): string;
|
|
7
|
-
declare const tableBodyClasses: TableBodyClasses;
|
|
8
|
-
export default tableBodyClasses;
|
|
1
|
+
export interface TableBodyClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type TableBodyClassKey = keyof TableBodyClasses;
|
|
6
|
+
export declare function getTableBodyUtilityClass(slot: string): string;
|
|
7
|
+
declare const tableBodyClasses: TableBodyClasses;
|
|
8
|
+
export default tableBodyClasses;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export interface TableCellClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="head"` or `context.table.head`. */
|
|
5
|
-
head: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="body"` or `context.table.body`. */
|
|
7
|
-
body: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="footer"` or `context.table.footer`. */
|
|
9
|
-
footer: string;
|
|
10
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
11
|
-
sizeSmall: string;
|
|
12
|
-
/** Styles applied to the root element if `size="medium"`. */
|
|
13
|
-
sizeMedium: string;
|
|
14
|
-
/** Styles applied to the root element if `padding="checkbox"`. */
|
|
15
|
-
paddingCheckbox: string;
|
|
16
|
-
/** Styles applied to the root element if `padding="none"`. */
|
|
17
|
-
paddingNone: string;
|
|
18
|
-
/** Styles applied to the root element if `align="left"`. */
|
|
19
|
-
alignLeft: string;
|
|
20
|
-
/** Styles applied to the root element if `align="center"`. */
|
|
21
|
-
alignCenter: string;
|
|
22
|
-
/** Styles applied to the root element if `align="right"`. */
|
|
23
|
-
alignRight: string;
|
|
24
|
-
/** Styles applied to the root element if `align="justify"`. */
|
|
25
|
-
alignJustify: string;
|
|
26
|
-
/** Styles applied to the root element if `context.table.stickyHeader={true}`. */
|
|
27
|
-
stickyHeader: string;
|
|
28
|
-
}
|
|
29
|
-
export type TableCellClassKey = keyof TableCellClasses;
|
|
30
|
-
export declare function getTableCellUtilityClass(slot: string): string;
|
|
31
|
-
declare const tableCellClasses: TableCellClasses;
|
|
32
|
-
export default tableCellClasses;
|
|
1
|
+
export interface TableCellClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="head"` or `context.table.head`. */
|
|
5
|
+
head: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="body"` or `context.table.body`. */
|
|
7
|
+
body: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="footer"` or `context.table.footer`. */
|
|
9
|
+
footer: string;
|
|
10
|
+
/** Styles applied to the root element if `size="small"`. */
|
|
11
|
+
sizeSmall: string;
|
|
12
|
+
/** Styles applied to the root element if `size="medium"`. */
|
|
13
|
+
sizeMedium: string;
|
|
14
|
+
/** Styles applied to the root element if `padding="checkbox"`. */
|
|
15
|
+
paddingCheckbox: string;
|
|
16
|
+
/** Styles applied to the root element if `padding="none"`. */
|
|
17
|
+
paddingNone: string;
|
|
18
|
+
/** Styles applied to the root element if `align="left"`. */
|
|
19
|
+
alignLeft: string;
|
|
20
|
+
/** Styles applied to the root element if `align="center"`. */
|
|
21
|
+
alignCenter: string;
|
|
22
|
+
/** Styles applied to the root element if `align="right"`. */
|
|
23
|
+
alignRight: string;
|
|
24
|
+
/** Styles applied to the root element if `align="justify"`. */
|
|
25
|
+
alignJustify: string;
|
|
26
|
+
/** Styles applied to the root element if `context.table.stickyHeader={true}`. */
|
|
27
|
+
stickyHeader: string;
|
|
28
|
+
}
|
|
29
|
+
export type TableCellClassKey = keyof TableCellClasses;
|
|
30
|
+
export declare function getTableCellUtilityClass(slot: string): string;
|
|
31
|
+
declare const tableCellClasses: TableCellClasses;
|
|
32
|
+
export default tableCellClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TableContainerClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type TableContainerClassKey = keyof TableContainerClasses;
|
|
6
|
-
export declare function getTableContainerUtilityClass(slot: string): string;
|
|
7
|
-
declare const tableContainerClasses: TableContainerClasses;
|
|
8
|
-
export default tableContainerClasses;
|
|
1
|
+
export interface TableContainerClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type TableContainerClassKey = keyof TableContainerClasses;
|
|
6
|
+
export declare function getTableContainerUtilityClass(slot: string): string;
|
|
7
|
+
declare const tableContainerClasses: TableContainerClasses;
|
|
8
|
+
export default tableContainerClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TableFooterClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type TableFooterClassKey = keyof TableFooterClasses;
|
|
6
|
-
export declare function getTableFooterUtilityClass(slot: string): string;
|
|
7
|
-
declare const tableFooterClasses: TableFooterClasses;
|
|
8
|
-
export default tableFooterClasses;
|
|
1
|
+
export interface TableFooterClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type TableFooterClassKey = keyof TableFooterClasses;
|
|
6
|
+
export declare function getTableFooterUtilityClass(slot: string): string;
|
|
7
|
+
declare const tableFooterClasses: TableFooterClasses;
|
|
8
|
+
export default tableFooterClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TableHeadClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type TableHeadClassKey = keyof TableHeadClasses;
|
|
6
|
-
export declare function getTableHeadUtilityClass(slot: string): string;
|
|
7
|
-
declare const tableHeadClasses: TableHeadClasses;
|
|
8
|
-
export default tableHeadClasses;
|
|
1
|
+
export interface TableHeadClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type TableHeadClassKey = keyof TableHeadClasses;
|
|
6
|
+
export declare function getTableHeadUtilityClass(slot: string): string;
|
|
7
|
+
declare const tableHeadClasses: TableHeadClasses;
|
|
8
|
+
export default tableHeadClasses;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export interface TablePaginationClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the Toolbar component. */
|
|
5
|
-
toolbar: string;
|
|
6
|
-
/** Styles applied to the spacer element. */
|
|
7
|
-
spacer: string;
|
|
8
|
-
/** Styles applied to the select label Typography element. */
|
|
9
|
-
selectLabel: string;
|
|
10
|
-
/** Styles applied to the Select component `root` element. */
|
|
11
|
-
selectRoot: string;
|
|
12
|
-
/** Styles applied to the Select component `select` class. */
|
|
13
|
-
select: string;
|
|
14
|
-
/** Styles applied to the Select component `icon` class. */
|
|
15
|
-
selectIcon: string;
|
|
16
|
-
/** Styles applied to the Select component `root` element. */
|
|
17
|
-
input: string;
|
|
18
|
-
/** Styles applied to the MenuItem component. */
|
|
19
|
-
menuItem: string;
|
|
20
|
-
/** Styles applied to the displayed rows Typography element. */
|
|
21
|
-
displayedRows: string;
|
|
22
|
-
/** Styles applied to the internal `TablePaginationActions` component. */
|
|
23
|
-
actions: string;
|
|
24
|
-
}
|
|
25
|
-
export type TablePaginationClassKey = keyof TablePaginationClasses;
|
|
26
|
-
export declare function getTablePaginationUtilityClass(slot: string): string;
|
|
27
|
-
declare const tablePaginationClasses: TablePaginationClasses;
|
|
28
|
-
export default tablePaginationClasses;
|
|
1
|
+
export interface TablePaginationClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the Toolbar component. */
|
|
5
|
+
toolbar: string;
|
|
6
|
+
/** Styles applied to the spacer element. */
|
|
7
|
+
spacer: string;
|
|
8
|
+
/** Styles applied to the select label Typography element. */
|
|
9
|
+
selectLabel: string;
|
|
10
|
+
/** Styles applied to the Select component `root` element. */
|
|
11
|
+
selectRoot: string;
|
|
12
|
+
/** Styles applied to the Select component `select` class. */
|
|
13
|
+
select: string;
|
|
14
|
+
/** Styles applied to the Select component `icon` class. */
|
|
15
|
+
selectIcon: string;
|
|
16
|
+
/** Styles applied to the Select component `root` element. */
|
|
17
|
+
input: string;
|
|
18
|
+
/** Styles applied to the MenuItem component. */
|
|
19
|
+
menuItem: string;
|
|
20
|
+
/** Styles applied to the displayed rows Typography element. */
|
|
21
|
+
displayedRows: string;
|
|
22
|
+
/** Styles applied to the internal `TablePaginationActions` component. */
|
|
23
|
+
actions: string;
|
|
24
|
+
}
|
|
25
|
+
export type TablePaginationClassKey = keyof TablePaginationClasses;
|
|
26
|
+
export declare function getTablePaginationUtilityClass(slot: string): string;
|
|
27
|
+
declare const tablePaginationClasses: TablePaginationClasses;
|
|
28
|
+
export default tablePaginationClasses;
|