@mui/material 5.13.0 → 5.13.2
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 +1 -0
- package/Autocomplete/autocompleteClasses.d.ts +56 -56
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +103 -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/Dialog.js +1 -1
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +42 -42
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/formControlLabelClasses.d.ts +24 -24
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +34 -34
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +38 -38
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +34 -34
- package/OutlinedInput/outlinedInputClasses.d.ts +38 -38
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +65 -65
- package/README.md +1 -1
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +32 -32
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/Slider.js +1 -1
- package/Slider/SliderValueLabel.d.ts +15 -15
- package/Slider/SliderValueLabel.types.d.ts +24 -24
- package/Slider/sliderClasses.d.ts +58 -58
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Stack/stackClasses.d.ts +6 -6
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Autocomplete/Autocomplete.js +1 -0
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Dialog/Dialog.js +1 -1
- package/legacy/Slider/Slider.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +383 -68
- package/locale/index.d.ts +80 -76
- package/locale/index.js +309 -0
- package/modern/Autocomplete/Autocomplete.js +1 -0
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Dialog/Dialog.js +1 -1
- package/modern/Slider/Slider.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +309 -0
- package/node/Autocomplete/Autocomplete.js +1 -0
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Dialog/Dialog.js +1 -1
- package/node/Slider/Slider.js +1 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +314 -1
- package/package.json +5 -5
- package/styles/CssVarsProvider.d.ts +20 -20
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/identifier.d.ts +2 -2
- package/styles/shouldSkipGeneratingVar.d.ts +1 -1
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/types/OverridableComponentAugmentation.d.ts +31 -31
- package/umd/material-ui.development.js +678 -237
- 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,15 +1,15 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { SliderValueLabelProps } from './SliderValueLabel.types';
|
|
4
|
-
/**
|
|
5
|
-
* @ignore - internal component.
|
|
6
|
-
*/
|
|
7
|
-
declare function SliderValueLabel(props: SliderValueLabelProps): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
8
|
-
declare namespace SliderValueLabel {
|
|
9
|
-
var propTypes: {
|
|
10
|
-
children: PropTypes.Validator<PropTypes.ReactElementLike>;
|
|
11
|
-
className: PropTypes.Requireable<string>;
|
|
12
|
-
value: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export default SliderValueLabel;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { SliderValueLabelProps } from './SliderValueLabel.types';
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
declare function SliderValueLabel(props: SliderValueLabelProps): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
8
|
+
declare namespace SliderValueLabel {
|
|
9
|
+
var propTypes: {
|
|
10
|
+
children: PropTypes.Validator<PropTypes.ReactElementLike>;
|
|
11
|
+
className: PropTypes.Requireable<string>;
|
|
12
|
+
value: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export default SliderValueLabel;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface SliderValueLabelProps {
|
|
3
|
-
children?: React.ReactElement;
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
/**
|
|
7
|
-
* If `true`, the value label is visible.
|
|
8
|
-
*/
|
|
9
|
-
open: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* The value of the slider.
|
|
12
|
-
* For ranged sliders, provide an array with two values.
|
|
13
|
-
*/
|
|
14
|
-
value: number;
|
|
15
|
-
/**
|
|
16
|
-
* Controls when the value label is displayed:
|
|
17
|
-
*
|
|
18
|
-
* - `auto` the value label will display when the thumb is hovered or focused.
|
|
19
|
-
* - `on` will display persistently.
|
|
20
|
-
* - `off` will never display.
|
|
21
|
-
* @default 'off'
|
|
22
|
-
*/
|
|
23
|
-
valueLabelDisplay?: 'on' | 'auto' | 'off';
|
|
24
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface SliderValueLabelProps {
|
|
3
|
+
children?: React.ReactElement;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
/**
|
|
7
|
+
* If `true`, the value label is visible.
|
|
8
|
+
*/
|
|
9
|
+
open: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* The value of the slider.
|
|
12
|
+
* For ranged sliders, provide an array with two values.
|
|
13
|
+
*/
|
|
14
|
+
value: number;
|
|
15
|
+
/**
|
|
16
|
+
* Controls when the value label is displayed:
|
|
17
|
+
*
|
|
18
|
+
* - `auto` the value label will display when the thumb is hovered or focused.
|
|
19
|
+
* - `on` will display persistently.
|
|
20
|
+
* - `off` will never display.
|
|
21
|
+
* @default 'off'
|
|
22
|
+
*/
|
|
23
|
+
valueLabelDisplay?: 'on' | 'auto' | 'off';
|
|
24
|
+
}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
export interface SliderClasses {
|
|
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 `marks` is provided with at least one label. */
|
|
9
|
-
marked: string;
|
|
10
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
11
|
-
vertical: string;
|
|
12
|
-
/** State class applied to the root and thumb element if `disabled={true}`. */
|
|
13
|
-
disabled: string;
|
|
14
|
-
/** State class applied to the root if a thumb is being dragged. */
|
|
15
|
-
dragging: string;
|
|
16
|
-
/** Styles applied to the rail element. */
|
|
17
|
-
rail: string;
|
|
18
|
-
/** Styles applied to the track element. */
|
|
19
|
-
track: string;
|
|
20
|
-
/** Styles applied to the root element if `track={false}`. */
|
|
21
|
-
trackFalse: string;
|
|
22
|
-
/** Styles applied to the root element if `track="inverted"`. */
|
|
23
|
-
trackInverted: string;
|
|
24
|
-
/** Styles applied to the thumb element. */
|
|
25
|
-
thumb: string;
|
|
26
|
-
/** State class applied to the thumb element if it's active. */
|
|
27
|
-
active: string;
|
|
28
|
-
/** State class applied to the thumb element if keyboard focused. */
|
|
29
|
-
focusVisible: string;
|
|
30
|
-
/** Styles applied to the mark element. */
|
|
31
|
-
mark: string;
|
|
32
|
-
/** Styles applied to the mark element if active (depending on the value). */
|
|
33
|
-
markActive: string;
|
|
34
|
-
/** Styles applied to the mark label element. */
|
|
35
|
-
markLabel: string;
|
|
36
|
-
/** Styles applied to the mark label element if active (depending on the value). */
|
|
37
|
-
markLabelActive: string;
|
|
38
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
39
|
-
sizeSmall: string;
|
|
40
|
-
/** Styles applied to the thumb element if `color="primary"`. */
|
|
41
|
-
thumbColorPrimary: string;
|
|
42
|
-
/** Styles applied to the thumb element if `color="secondary"`. */
|
|
43
|
-
thumbColorSecondary: string;
|
|
44
|
-
/** Styles applied to the thumb element if `size="small"`. */
|
|
45
|
-
thumbSizeSmall: string;
|
|
46
|
-
/** Styles applied to the thumb label element. */
|
|
47
|
-
valueLabel: string;
|
|
48
|
-
/** Styles applied to the thumb label element if it's open. */
|
|
49
|
-
valueLabelOpen: string;
|
|
50
|
-
/** Styles applied to the thumb label's circle element. */
|
|
51
|
-
valueLabelCircle: string;
|
|
52
|
-
/** Styles applied to the thumb label's label element. */
|
|
53
|
-
valueLabelLabel: string;
|
|
54
|
-
}
|
|
55
|
-
export type SliderClassKey = keyof SliderClasses;
|
|
56
|
-
export declare function getSliderUtilityClass(slot: string): string;
|
|
57
|
-
declare const sliderClasses: SliderClasses;
|
|
58
|
-
export default sliderClasses;
|
|
1
|
+
export interface SliderClasses {
|
|
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 `marks` is provided with at least one label. */
|
|
9
|
+
marked: string;
|
|
10
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
11
|
+
vertical: string;
|
|
12
|
+
/** State class applied to the root and thumb element if `disabled={true}`. */
|
|
13
|
+
disabled: string;
|
|
14
|
+
/** State class applied to the root if a thumb is being dragged. */
|
|
15
|
+
dragging: string;
|
|
16
|
+
/** Styles applied to the rail element. */
|
|
17
|
+
rail: string;
|
|
18
|
+
/** Styles applied to the track element. */
|
|
19
|
+
track: string;
|
|
20
|
+
/** Styles applied to the root element if `track={false}`. */
|
|
21
|
+
trackFalse: string;
|
|
22
|
+
/** Styles applied to the root element if `track="inverted"`. */
|
|
23
|
+
trackInverted: string;
|
|
24
|
+
/** Styles applied to the thumb element. */
|
|
25
|
+
thumb: string;
|
|
26
|
+
/** State class applied to the thumb element if it's active. */
|
|
27
|
+
active: string;
|
|
28
|
+
/** State class applied to the thumb element if keyboard focused. */
|
|
29
|
+
focusVisible: string;
|
|
30
|
+
/** Styles applied to the mark element. */
|
|
31
|
+
mark: string;
|
|
32
|
+
/** Styles applied to the mark element if active (depending on the value). */
|
|
33
|
+
markActive: string;
|
|
34
|
+
/** Styles applied to the mark label element. */
|
|
35
|
+
markLabel: string;
|
|
36
|
+
/** Styles applied to the mark label element if active (depending on the value). */
|
|
37
|
+
markLabelActive: string;
|
|
38
|
+
/** Styles applied to the root element if `size="small"`. */
|
|
39
|
+
sizeSmall: string;
|
|
40
|
+
/** Styles applied to the thumb element if `color="primary"`. */
|
|
41
|
+
thumbColorPrimary: string;
|
|
42
|
+
/** Styles applied to the thumb element if `color="secondary"`. */
|
|
43
|
+
thumbColorSecondary: string;
|
|
44
|
+
/** Styles applied to the thumb element if `size="small"`. */
|
|
45
|
+
thumbSizeSmall: string;
|
|
46
|
+
/** Styles applied to the thumb label element. */
|
|
47
|
+
valueLabel: string;
|
|
48
|
+
/** Styles applied to the thumb label element if it's open. */
|
|
49
|
+
valueLabelOpen: string;
|
|
50
|
+
/** Styles applied to the thumb label's circle element. */
|
|
51
|
+
valueLabelCircle: string;
|
|
52
|
+
/** Styles applied to the thumb label's label element. */
|
|
53
|
+
valueLabelLabel: string;
|
|
54
|
+
}
|
|
55
|
+
export type SliderClassKey = keyof SliderClasses;
|
|
56
|
+
export declare function getSliderUtilityClass(slot: string): string;
|
|
57
|
+
declare const sliderClasses: SliderClasses;
|
|
58
|
+
export default sliderClasses;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface SnackbarClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */
|
|
5
|
-
anchorOriginTopCenter: string;
|
|
6
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */
|
|
7
|
-
anchorOriginBottomCenter: string;
|
|
8
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */
|
|
9
|
-
anchorOriginTopRight: string;
|
|
10
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */
|
|
11
|
-
anchorOriginBottomRight: string;
|
|
12
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */
|
|
13
|
-
anchorOriginTopLeft: string;
|
|
14
|
-
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */
|
|
15
|
-
anchorOriginBottomLeft: string;
|
|
16
|
-
}
|
|
17
|
-
export type SnackbarClassKey = keyof SnackbarClasses;
|
|
18
|
-
export declare function getSnackbarUtilityClass(slot: string): string;
|
|
19
|
-
declare const snackbarClasses: SnackbarClasses;
|
|
20
|
-
export default snackbarClasses;
|
|
1
|
+
export interface SnackbarClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */
|
|
5
|
+
anchorOriginTopCenter: string;
|
|
6
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */
|
|
7
|
+
anchorOriginBottomCenter: string;
|
|
8
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */
|
|
9
|
+
anchorOriginTopRight: string;
|
|
10
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */
|
|
11
|
+
anchorOriginBottomRight: string;
|
|
12
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */
|
|
13
|
+
anchorOriginTopLeft: string;
|
|
14
|
+
/** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */
|
|
15
|
+
anchorOriginBottomLeft: string;
|
|
16
|
+
}
|
|
17
|
+
export type SnackbarClassKey = keyof SnackbarClasses;
|
|
18
|
+
export declare function getSnackbarUtilityClass(slot: string): string;
|
|
19
|
+
declare const snackbarClasses: SnackbarClasses;
|
|
20
|
+
export default snackbarClasses;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface SnackbarContentClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the message wrapper element. */
|
|
5
|
-
message: string;
|
|
6
|
-
/** Styles applied to the action wrapper element if `action` is provided. */
|
|
7
|
-
action: string;
|
|
8
|
-
}
|
|
9
|
-
export type SnackbarContentClassKey = keyof SnackbarContentClasses;
|
|
10
|
-
export declare function getSnackbarContentUtilityClass(slot: string): string;
|
|
11
|
-
declare const snackbarContentClasses: SnackbarContentClasses;
|
|
12
|
-
export default snackbarContentClasses;
|
|
1
|
+
export interface SnackbarContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the message wrapper element. */
|
|
5
|
+
message: string;
|
|
6
|
+
/** Styles applied to the action wrapper element if `action` is provided. */
|
|
7
|
+
action: string;
|
|
8
|
+
}
|
|
9
|
+
export type SnackbarContentClassKey = keyof SnackbarContentClasses;
|
|
10
|
+
export declare function getSnackbarContentUtilityClass(slot: string): string;
|
|
11
|
+
declare const snackbarContentClasses: SnackbarContentClasses;
|
|
12
|
+
export default snackbarContentClasses;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface SpeedDialClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the Fab component. */
|
|
5
|
-
fab: string;
|
|
6
|
-
/** Styles applied to the root element if direction="up" */
|
|
7
|
-
directionUp: string;
|
|
8
|
-
/** Styles applied to the root element if direction="down" */
|
|
9
|
-
directionDown: string;
|
|
10
|
-
/** Styles applied to the root element if direction="left" */
|
|
11
|
-
directionLeft: string;
|
|
12
|
-
/** Styles applied to the root element if direction="right" */
|
|
13
|
-
directionRight: string;
|
|
14
|
-
/** Styles applied to the actions (`children` wrapper) element. */
|
|
15
|
-
actions: string;
|
|
16
|
-
/** Styles applied to the actions (`children` wrapper) element if `open={false}`. */
|
|
17
|
-
actionsClosed: string;
|
|
18
|
-
}
|
|
19
|
-
export type SpeedDialClassKey = keyof SpeedDialClasses;
|
|
20
|
-
export declare function getSpeedDialUtilityClass(slot: string): string;
|
|
21
|
-
declare const speedDialClasses: SpeedDialClasses;
|
|
22
|
-
export default speedDialClasses;
|
|
1
|
+
export interface SpeedDialClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the Fab component. */
|
|
5
|
+
fab: string;
|
|
6
|
+
/** Styles applied to the root element if direction="up" */
|
|
7
|
+
directionUp: string;
|
|
8
|
+
/** Styles applied to the root element if direction="down" */
|
|
9
|
+
directionDown: string;
|
|
10
|
+
/** Styles applied to the root element if direction="left" */
|
|
11
|
+
directionLeft: string;
|
|
12
|
+
/** Styles applied to the root element if direction="right" */
|
|
13
|
+
directionRight: string;
|
|
14
|
+
/** Styles applied to the actions (`children` wrapper) element. */
|
|
15
|
+
actions: string;
|
|
16
|
+
/** Styles applied to the actions (`children` wrapper) element if `open={false}`. */
|
|
17
|
+
actionsClosed: string;
|
|
18
|
+
}
|
|
19
|
+
export type SpeedDialClassKey = keyof SpeedDialClasses;
|
|
20
|
+
export declare function getSpeedDialUtilityClass(slot: string): string;
|
|
21
|
+
declare const speedDialClasses: SpeedDialClasses;
|
|
22
|
+
export default speedDialClasses;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface SpeedDialActionClasses {
|
|
2
|
-
/** Styles applied to the Fab component. */
|
|
3
|
-
fab: string;
|
|
4
|
-
/** Styles applied to the Fab component if `open={false}`. */
|
|
5
|
-
fabClosed: string;
|
|
6
|
-
/** Styles applied to the root element if `tooltipOpen={true}`. */
|
|
7
|
-
staticTooltip: string;
|
|
8
|
-
/** Styles applied to the root element if `tooltipOpen={true}` and `open={false}`. */
|
|
9
|
-
staticTooltipClosed: string;
|
|
10
|
-
/** Styles applied to the static tooltip label if `tooltipOpen={true}`. */
|
|
11
|
-
staticTooltipLabel: string;
|
|
12
|
-
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="left"`` */
|
|
13
|
-
tooltipPlacementLeft: string;
|
|
14
|
-
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="right"`` */
|
|
15
|
-
tooltipPlacementRight: string;
|
|
16
|
-
}
|
|
17
|
-
export type SpeedDialActionClassKey = keyof SpeedDialActionClasses;
|
|
18
|
-
export declare function getSpeedDialActionUtilityClass(slot: string): string;
|
|
19
|
-
declare const speedDialActionClasses: SpeedDialActionClasses;
|
|
20
|
-
export default speedDialActionClasses;
|
|
1
|
+
export interface SpeedDialActionClasses {
|
|
2
|
+
/** Styles applied to the Fab component. */
|
|
3
|
+
fab: string;
|
|
4
|
+
/** Styles applied to the Fab component if `open={false}`. */
|
|
5
|
+
fabClosed: string;
|
|
6
|
+
/** Styles applied to the root element if `tooltipOpen={true}`. */
|
|
7
|
+
staticTooltip: string;
|
|
8
|
+
/** Styles applied to the root element if `tooltipOpen={true}` and `open={false}`. */
|
|
9
|
+
staticTooltipClosed: string;
|
|
10
|
+
/** Styles applied to the static tooltip label if `tooltipOpen={true}`. */
|
|
11
|
+
staticTooltipLabel: string;
|
|
12
|
+
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="left"`` */
|
|
13
|
+
tooltipPlacementLeft: string;
|
|
14
|
+
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="right"`` */
|
|
15
|
+
tooltipPlacementRight: string;
|
|
16
|
+
}
|
|
17
|
+
export type SpeedDialActionClassKey = keyof SpeedDialActionClasses;
|
|
18
|
+
export declare function getSpeedDialActionUtilityClass(slot: string): string;
|
|
19
|
+
declare const speedDialActionClasses: SpeedDialActionClasses;
|
|
20
|
+
export default speedDialActionClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface SpeedDialIconClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the icon component. */
|
|
5
|
-
icon: string;
|
|
6
|
-
/** Styles applied to the icon component if `open={true}`. */
|
|
7
|
-
iconOpen: string;
|
|
8
|
-
/** Styles applied to the icon when an `openIcon` is provided and if `open={true}`. */
|
|
9
|
-
iconWithOpenIconOpen: string;
|
|
10
|
-
/** Styles applied to the `openIcon` if provided. */
|
|
11
|
-
openIcon: string;
|
|
12
|
-
/** Styles applied to the `openIcon` if provided and if `open={true}`. */
|
|
13
|
-
openIconOpen: string;
|
|
14
|
-
}
|
|
15
|
-
export type SpeedDialIconClassKey = keyof SpeedDialIconClasses;
|
|
16
|
-
export declare function getSpeedDialIconUtilityClass(slot: string): string;
|
|
17
|
-
declare const speedDialIconClasses: SpeedDialIconClasses;
|
|
18
|
-
export default speedDialIconClasses;
|
|
1
|
+
export interface SpeedDialIconClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the icon component. */
|
|
5
|
+
icon: string;
|
|
6
|
+
/** Styles applied to the icon component if `open={true}`. */
|
|
7
|
+
iconOpen: string;
|
|
8
|
+
/** Styles applied to the icon when an `openIcon` is provided and if `open={true}`. */
|
|
9
|
+
iconWithOpenIconOpen: string;
|
|
10
|
+
/** Styles applied to the `openIcon` if provided. */
|
|
11
|
+
openIcon: string;
|
|
12
|
+
/** Styles applied to the `openIcon` if provided and if `open={true}`. */
|
|
13
|
+
openIconOpen: string;
|
|
14
|
+
}
|
|
15
|
+
export type SpeedDialIconClassKey = keyof SpeedDialIconClasses;
|
|
16
|
+
export declare function getSpeedDialIconUtilityClass(slot: string): string;
|
|
17
|
+
declare const speedDialIconClasses: SpeedDialIconClasses;
|
|
18
|
+
export default speedDialIconClasses;
|
package/Stack/stackClasses.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StackClasses } from '@mui/system';
|
|
2
|
-
export type { StackClassKey } from '@mui/system';
|
|
3
|
-
export type { StackClasses };
|
|
4
|
-
export declare function getStackUtilityClass(slot: string): string;
|
|
5
|
-
declare const stackClasses: StackClasses;
|
|
6
|
-
export default stackClasses;
|
|
1
|
+
import { StackClasses } from '@mui/system';
|
|
2
|
+
export type { StackClassKey } from '@mui/system';
|
|
3
|
+
export type { StackClasses };
|
|
4
|
+
export declare function getStackUtilityClass(slot: string): string;
|
|
5
|
+
declare const stackClasses: StackClasses;
|
|
6
|
+
export default stackClasses;
|
package/Step/StepContext.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface StepContextType {
|
|
3
|
-
index: number;
|
|
4
|
-
last: boolean;
|
|
5
|
-
expanded: boolean;
|
|
6
|
-
icon: React.ReactNode;
|
|
7
|
-
active: boolean;
|
|
8
|
-
completed: boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Provides information about the current step in Stepper.
|
|
13
|
-
*/
|
|
14
|
-
declare const StepContext: React.Context<{} | StepContextType>;
|
|
15
|
-
/**
|
|
16
|
-
* Returns the current StepContext or an empty object if no StepContext
|
|
17
|
-
* has been defined in the component tree.
|
|
18
|
-
*/
|
|
19
|
-
export declare function useStepContext(): StepContextType | {};
|
|
20
|
-
export default StepContext;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface StepContextType {
|
|
3
|
+
index: number;
|
|
4
|
+
last: boolean;
|
|
5
|
+
expanded: boolean;
|
|
6
|
+
icon: React.ReactNode;
|
|
7
|
+
active: boolean;
|
|
8
|
+
completed: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Provides information about the current step in Stepper.
|
|
13
|
+
*/
|
|
14
|
+
declare const StepContext: React.Context<{} | StepContextType>;
|
|
15
|
+
/**
|
|
16
|
+
* Returns the current StepContext or an empty object if no StepContext
|
|
17
|
+
* has been defined in the component tree.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useStepContext(): StepContextType | {};
|
|
20
|
+
export default StepContext;
|
package/Step/stepClasses.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface StepClasses {
|
|
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
|
-
/** State class applied to the root element if `completed={true}`. */
|
|
11
|
-
completed: string;
|
|
12
|
-
}
|
|
13
|
-
export type StepClassKey = keyof StepClasses;
|
|
14
|
-
export declare function getStepUtilityClass(slot: string): string;
|
|
15
|
-
declare const stepClasses: StepClasses;
|
|
16
|
-
export default stepClasses;
|
|
1
|
+
export interface StepClasses {
|
|
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
|
+
/** State class applied to the root element if `completed={true}`. */
|
|
11
|
+
completed: string;
|
|
12
|
+
}
|
|
13
|
+
export type StepClassKey = keyof StepClasses;
|
|
14
|
+
export declare function getStepUtilityClass(slot: string): string;
|
|
15
|
+
declare const stepClasses: StepClasses;
|
|
16
|
+
export default stepClasses;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface StepButtonClasses {
|
|
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 `ButtonBase` touch-ripple. */
|
|
9
|
-
touchRipple: string;
|
|
10
|
-
}
|
|
11
|
-
export type StepButtonClassKey = keyof StepButtonClasses;
|
|
12
|
-
export declare function getStepButtonUtilityClass(slot: string): string;
|
|
13
|
-
declare const stepButtonClasses: StepButtonClasses;
|
|
14
|
-
export default stepButtonClasses;
|
|
1
|
+
export interface StepButtonClasses {
|
|
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 `ButtonBase` touch-ripple. */
|
|
9
|
+
touchRipple: string;
|
|
10
|
+
}
|
|
11
|
+
export type StepButtonClassKey = keyof StepButtonClasses;
|
|
12
|
+
export declare function getStepButtonUtilityClass(slot: string): string;
|
|
13
|
+
declare const stepButtonClasses: StepButtonClasses;
|
|
14
|
+
export default stepButtonClasses;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface StepConnectorClasses {
|
|
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
|
-
/** State class applied to the root element if `active={true}`. */
|
|
11
|
-
active: string;
|
|
12
|
-
/** State class applied to the root element if `completed={true}`. */
|
|
13
|
-
completed: string;
|
|
14
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
15
|
-
disabled: string;
|
|
16
|
-
/** Styles applied to the line element. */
|
|
17
|
-
line: string;
|
|
18
|
-
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
19
|
-
lineHorizontal: string;
|
|
20
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
21
|
-
lineVertical: string;
|
|
22
|
-
}
|
|
23
|
-
export type StepConnectorClassKey = keyof StepConnectorClasses;
|
|
24
|
-
export declare function getStepConnectorUtilityClass(slot: string): string;
|
|
25
|
-
declare const stepConnectorClasses: StepConnectorClasses;
|
|
26
|
-
export default stepConnectorClasses;
|
|
1
|
+
export interface StepConnectorClasses {
|
|
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
|
+
/** State class applied to the root element if `active={true}`. */
|
|
11
|
+
active: string;
|
|
12
|
+
/** State class applied to the root element if `completed={true}`. */
|
|
13
|
+
completed: string;
|
|
14
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
15
|
+
disabled: string;
|
|
16
|
+
/** Styles applied to the line element. */
|
|
17
|
+
line: string;
|
|
18
|
+
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
19
|
+
lineHorizontal: string;
|
|
20
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
21
|
+
lineVertical: string;
|
|
22
|
+
}
|
|
23
|
+
export type StepConnectorClassKey = keyof StepConnectorClasses;
|
|
24
|
+
export declare function getStepConnectorUtilityClass(slot: string): string;
|
|
25
|
+
declare const stepConnectorClasses: StepConnectorClasses;
|
|
26
|
+
export default stepConnectorClasses;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface StepContentClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `last={true}` (controlled by `Step`). */
|
|
5
|
-
last: string;
|
|
6
|
-
/** Styles applied to the Transition component. */
|
|
7
|
-
transition: string;
|
|
8
|
-
}
|
|
9
|
-
export type StepContentClassKey = keyof StepContentClasses;
|
|
10
|
-
export declare function getStepContentUtilityClass(slot: string): string;
|
|
11
|
-
declare const stepContentClasses: StepContentClasses;
|
|
12
|
-
export default stepContentClasses;
|
|
1
|
+
export interface StepContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `last={true}` (controlled by `Step`). */
|
|
5
|
+
last: string;
|
|
6
|
+
/** Styles applied to the Transition component. */
|
|
7
|
+
transition: string;
|
|
8
|
+
}
|
|
9
|
+
export type StepContentClassKey = keyof StepContentClasses;
|
|
10
|
+
export declare function getStepContentUtilityClass(slot: string): string;
|
|
11
|
+
declare const stepContentClasses: StepContentClasses;
|
|
12
|
+
export default stepContentClasses;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface StepIconClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the SVG text element. */
|
|
5
|
-
text: string;
|
|
6
|
-
/** State class applied to the root element if `active={true}`. */
|
|
7
|
-
active: string;
|
|
8
|
-
/** State class applied to the root element if `completed={true}`. */
|
|
9
|
-
completed: string;
|
|
10
|
-
/** State class applied to the root element if `error={true}`. */
|
|
11
|
-
error: string;
|
|
12
|
-
}
|
|
13
|
-
export type StepIconClassKey = keyof StepIconClasses;
|
|
14
|
-
export declare function getStepIconUtilityClass(slot: string): string;
|
|
15
|
-
declare const stepIconClasses: StepIconClasses;
|
|
16
|
-
export default stepIconClasses;
|
|
1
|
+
export interface StepIconClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the SVG text element. */
|
|
5
|
+
text: string;
|
|
6
|
+
/** State class applied to the root element if `active={true}`. */
|
|
7
|
+
active: string;
|
|
8
|
+
/** State class applied to the root element if `completed={true}`. */
|
|
9
|
+
completed: string;
|
|
10
|
+
/** State class applied to the root element if `error={true}`. */
|
|
11
|
+
error: string;
|
|
12
|
+
}
|
|
13
|
+
export type StepIconClassKey = keyof StepIconClasses;
|
|
14
|
+
export declare function getStepIconUtilityClass(slot: string): string;
|
|
15
|
+
declare const stepIconClasses: StepIconClasses;
|
|
16
|
+
export default stepIconClasses;
|