@mui/material 5.7.0 → 5.8.0
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.d.ts +23 -1
- package/Autocomplete/Autocomplete.js +3 -2
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +1 -34
- package/Badge/badgeClasses.d.ts +56 -24
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Box/Box.js +1 -1
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +76 -76
- 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 +72 -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 +80 -80
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/Container.js +17 -106
- package/Container/containerClasses.d.ts +6 -22
- 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/formControlClasses.d.ts +14 -14
- 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/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- 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 +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 +29 -29
- package/README.md +2 -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 +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- 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/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- 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/className/index.d.ts +1 -1
- package/className/index.js +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Autocomplete/Autocomplete.js +3 -2
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Box/Box.js +1 -1
- package/legacy/Container/Container.js +18 -103
- package/legacy/className/index.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +22 -22
- package/legacy/styles/createMixins.js +1 -1
- package/legacy/styles/createTheme.js +1 -1
- package/locale/index.d.ts +71 -71
- package/locale/index.js +22 -22
- package/modern/Autocomplete/Autocomplete.js +3 -2
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Box/Box.js +1 -1
- package/modern/Container/Container.js +17 -106
- package/modern/className/index.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +22 -22
- package/modern/styles/createMixins.js +1 -1
- package/modern/styles/createTheme.js +1 -1
- package/node/Autocomplete/Autocomplete.js +4 -2
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Box/Box.js +2 -2
- package/node/Container/Container.js +17 -113
- package/node/className/index.js +2 -2
- package/node/index.js +1 -1
- package/node/locale/index.js +22 -22
- package/node/styles/createMixins.js +1 -1
- package/node/styles/createTheme.js +1 -1
- package/package.json +4 -5
- package/styles/createMixins.d.ts +2 -6
- package/styles/createMixins.js +1 -1
- package/styles/createTheme.js +1 -1
- 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 +413 -351
- package/umd/material-ui.production.min.js +20 -20
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface TooltipClasses {
|
|
2
|
-
/** Styles applied to the Popper component. */
|
|
3
|
-
popper: string;
|
|
4
|
-
/** Styles applied to the Popper component unless `disableInteractive={true}`. */
|
|
5
|
-
popperInteractive: string;
|
|
6
|
-
/** Styles applied to the Popper component if `arrow={true}`. */
|
|
7
|
-
popperArrow: string;
|
|
8
|
-
/** Styles applied to the Popper component unless the tooltip is open. */
|
|
9
|
-
popperClose: string;
|
|
10
|
-
/** Styles applied to the tooltip (label wrapper) element. */
|
|
11
|
-
tooltip: string;
|
|
12
|
-
/** Styles applied to the tooltip (label wrapper) element if `arrow={true}`. */
|
|
13
|
-
tooltipArrow: string;
|
|
14
|
-
/** Styles applied to the arrow element. */
|
|
15
|
-
arrow: string;
|
|
16
|
-
/** Styles applied to the tooltip (label wrapper) element if the tooltip is opened by touch. */
|
|
17
|
-
touch: string;
|
|
18
|
-
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "left". */
|
|
19
|
-
tooltipPlacementLeft: string;
|
|
20
|
-
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "right". */
|
|
21
|
-
tooltipPlacementRight: string;
|
|
22
|
-
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "top". */
|
|
23
|
-
tooltipPlacementTop: string;
|
|
24
|
-
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "bottom". */
|
|
25
|
-
tooltipPlacementBottom: string;
|
|
26
|
-
}
|
|
27
|
-
export declare type TooltipClassKey = keyof TooltipClasses;
|
|
28
|
-
export declare function getTooltipUtilityClass(slot: string): string;
|
|
29
|
-
declare const tooltipClasses: TooltipClasses;
|
|
30
|
-
export default tooltipClasses;
|
|
1
|
+
export interface TooltipClasses {
|
|
2
|
+
/** Styles applied to the Popper component. */
|
|
3
|
+
popper: string;
|
|
4
|
+
/** Styles applied to the Popper component unless `disableInteractive={true}`. */
|
|
5
|
+
popperInteractive: string;
|
|
6
|
+
/** Styles applied to the Popper component if `arrow={true}`. */
|
|
7
|
+
popperArrow: string;
|
|
8
|
+
/** Styles applied to the Popper component unless the tooltip is open. */
|
|
9
|
+
popperClose: string;
|
|
10
|
+
/** Styles applied to the tooltip (label wrapper) element. */
|
|
11
|
+
tooltip: string;
|
|
12
|
+
/** Styles applied to the tooltip (label wrapper) element if `arrow={true}`. */
|
|
13
|
+
tooltipArrow: string;
|
|
14
|
+
/** Styles applied to the arrow element. */
|
|
15
|
+
arrow: string;
|
|
16
|
+
/** Styles applied to the tooltip (label wrapper) element if the tooltip is opened by touch. */
|
|
17
|
+
touch: string;
|
|
18
|
+
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "left". */
|
|
19
|
+
tooltipPlacementLeft: string;
|
|
20
|
+
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "right". */
|
|
21
|
+
tooltipPlacementRight: string;
|
|
22
|
+
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "top". */
|
|
23
|
+
tooltipPlacementTop: string;
|
|
24
|
+
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "bottom". */
|
|
25
|
+
tooltipPlacementBottom: string;
|
|
26
|
+
}
|
|
27
|
+
export declare type TooltipClassKey = keyof TooltipClasses;
|
|
28
|
+
export declare function getTooltipUtilityClass(slot: string): string;
|
|
29
|
+
declare const tooltipClasses: TooltipClasses;
|
|
30
|
+
export default tooltipClasses;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
export interface TypographyClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="body2"`. */
|
|
5
|
-
body2: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="body1"`. */
|
|
7
|
-
body1: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="caption"`. */
|
|
9
|
-
caption: string;
|
|
10
|
-
/** Styles applied to the root element if `variant="button"`. */
|
|
11
|
-
button: string;
|
|
12
|
-
/** Styles applied to the root element if `variant="h1"`. */
|
|
13
|
-
h1: string;
|
|
14
|
-
/** Styles applied to the root element if `variant="h2"`. */
|
|
15
|
-
h2: string;
|
|
16
|
-
/** Styles applied to the root element if `variant="h3"`. */
|
|
17
|
-
h3: string;
|
|
18
|
-
/** Styles applied to the root element if `variant="h4"`. */
|
|
19
|
-
h4: string;
|
|
20
|
-
/** Styles applied to the root element if `variant="h5"`. */
|
|
21
|
-
h5: string;
|
|
22
|
-
/** Styles applied to the root element if `variant="h6"`. */
|
|
23
|
-
h6: string;
|
|
24
|
-
/** Styles applied to the root element if `variant="subtitle1"`. */
|
|
25
|
-
subtitle1: string;
|
|
26
|
-
/** Styles applied to the root element if `variant="subtitle2"`. */
|
|
27
|
-
subtitle2: string;
|
|
28
|
-
/** Styles applied to the root element if `variant="overline"`. */
|
|
29
|
-
overline: string;
|
|
30
|
-
/** Styles applied to the root element if `variant="inherit"`. */
|
|
31
|
-
inherit: string;
|
|
32
|
-
/** Styles applied to the root element if `align="left"`. */
|
|
33
|
-
alignLeft: string;
|
|
34
|
-
/** Styles applied to the root element if `align="center"`. */
|
|
35
|
-
alignCenter: string;
|
|
36
|
-
/** Styles applied to the root element if `align="right"`. */
|
|
37
|
-
alignRight: string;
|
|
38
|
-
/** Styles applied to the root element if `align="justify"`. */
|
|
39
|
-
alignJustify: string;
|
|
40
|
-
/** Styles applied to the root element if `nowrap={true}`. */
|
|
41
|
-
noWrap: string;
|
|
42
|
-
/** Styles applied to the root element if `gutterBottom={true}`. */
|
|
43
|
-
gutterBottom: string;
|
|
44
|
-
/** Styles applied to the root element if `paragraph={true}`. */
|
|
45
|
-
paragraph: string;
|
|
46
|
-
}
|
|
47
|
-
export declare type TypographyClassKey = keyof TypographyClasses;
|
|
48
|
-
export declare function getTypographyUtilityClass(slot: string): string;
|
|
49
|
-
declare const typographyClasses: TypographyClasses;
|
|
50
|
-
export default typographyClasses;
|
|
1
|
+
export interface TypographyClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="body2"`. */
|
|
5
|
+
body2: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="body1"`. */
|
|
7
|
+
body1: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="caption"`. */
|
|
9
|
+
caption: string;
|
|
10
|
+
/** Styles applied to the root element if `variant="button"`. */
|
|
11
|
+
button: string;
|
|
12
|
+
/** Styles applied to the root element if `variant="h1"`. */
|
|
13
|
+
h1: string;
|
|
14
|
+
/** Styles applied to the root element if `variant="h2"`. */
|
|
15
|
+
h2: string;
|
|
16
|
+
/** Styles applied to the root element if `variant="h3"`. */
|
|
17
|
+
h3: string;
|
|
18
|
+
/** Styles applied to the root element if `variant="h4"`. */
|
|
19
|
+
h4: string;
|
|
20
|
+
/** Styles applied to the root element if `variant="h5"`. */
|
|
21
|
+
h5: string;
|
|
22
|
+
/** Styles applied to the root element if `variant="h6"`. */
|
|
23
|
+
h6: string;
|
|
24
|
+
/** Styles applied to the root element if `variant="subtitle1"`. */
|
|
25
|
+
subtitle1: string;
|
|
26
|
+
/** Styles applied to the root element if `variant="subtitle2"`. */
|
|
27
|
+
subtitle2: string;
|
|
28
|
+
/** Styles applied to the root element if `variant="overline"`. */
|
|
29
|
+
overline: string;
|
|
30
|
+
/** Styles applied to the root element if `variant="inherit"`. */
|
|
31
|
+
inherit: string;
|
|
32
|
+
/** Styles applied to the root element if `align="left"`. */
|
|
33
|
+
alignLeft: string;
|
|
34
|
+
/** Styles applied to the root element if `align="center"`. */
|
|
35
|
+
alignCenter: string;
|
|
36
|
+
/** Styles applied to the root element if `align="right"`. */
|
|
37
|
+
alignRight: string;
|
|
38
|
+
/** Styles applied to the root element if `align="justify"`. */
|
|
39
|
+
alignJustify: string;
|
|
40
|
+
/** Styles applied to the root element if `nowrap={true}`. */
|
|
41
|
+
noWrap: string;
|
|
42
|
+
/** Styles applied to the root element if `gutterBottom={true}`. */
|
|
43
|
+
gutterBottom: string;
|
|
44
|
+
/** Styles applied to the root element if `paragraph={true}`. */
|
|
45
|
+
paragraph: string;
|
|
46
|
+
}
|
|
47
|
+
export declare type TypographyClassKey = keyof TypographyClasses;
|
|
48
|
+
export declare function getTypographyUtilityClass(slot: string): string;
|
|
49
|
+
declare const typographyClasses: TypographyClasses;
|
|
50
|
+
export default typographyClasses;
|
package/className/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { unstable_ClassNameGenerator } from '@mui/
|
|
1
|
+
export { unstable_ClassNameGenerator } from '@mui/utils';
|
package/className/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// eslint-disable-next-line import/prefer-default-export
|
|
2
|
-
export { unstable_ClassNameGenerator } from '@mui/
|
|
2
|
+
export { unstable_ClassNameGenerator } from '@mui/utils';
|
package/darkScrollbar/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export default function darkScrollbar(options?: {
|
|
2
|
-
track: string;
|
|
3
|
-
thumb: string;
|
|
4
|
-
active: string;
|
|
5
|
-
}): {
|
|
6
|
-
scrollbarColor: string;
|
|
7
|
-
'&::-webkit-scrollbar, & *::-webkit-scrollbar': {
|
|
8
|
-
backgroundColor: string;
|
|
9
|
-
};
|
|
10
|
-
'&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb': {
|
|
11
|
-
borderRadius: number;
|
|
12
|
-
backgroundColor: string;
|
|
13
|
-
minHeight: number;
|
|
14
|
-
border: string;
|
|
15
|
-
};
|
|
16
|
-
'&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus': {
|
|
17
|
-
backgroundColor: string;
|
|
18
|
-
};
|
|
19
|
-
'&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active': {
|
|
20
|
-
backgroundColor: string;
|
|
21
|
-
};
|
|
22
|
-
'&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover': {
|
|
23
|
-
backgroundColor: string;
|
|
24
|
-
};
|
|
25
|
-
'&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner': {
|
|
26
|
-
backgroundColor: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
1
|
+
export default function darkScrollbar(options?: {
|
|
2
|
+
track: string;
|
|
3
|
+
thumb: string;
|
|
4
|
+
active: string;
|
|
5
|
+
}): {
|
|
6
|
+
scrollbarColor: string;
|
|
7
|
+
'&::-webkit-scrollbar, & *::-webkit-scrollbar': {
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
};
|
|
10
|
+
'&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb': {
|
|
11
|
+
borderRadius: number;
|
|
12
|
+
backgroundColor: string;
|
|
13
|
+
minHeight: number;
|
|
14
|
+
border: string;
|
|
15
|
+
};
|
|
16
|
+
'&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus': {
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
};
|
|
19
|
+
'&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active': {
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
};
|
|
22
|
+
'&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover': {
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
};
|
|
25
|
+
'&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner': {
|
|
26
|
+
backgroundColor: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
package/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface SwitchBaseClasses {
|
|
2
|
-
root: string;
|
|
3
|
-
checked: string;
|
|
4
|
-
disabled: string;
|
|
5
|
-
input: string;
|
|
6
|
-
edgeStart: string;
|
|
7
|
-
edgeEnd: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type SwitchBaseClassKey = keyof SwitchBaseClasses;
|
|
10
|
-
export declare function getSwitchBaseUtilityClass(slot: string): string;
|
|
11
|
-
declare const switchBaseClasses: SwitchBaseClasses;
|
|
12
|
-
export default switchBaseClasses;
|
|
1
|
+
export interface SwitchBaseClasses {
|
|
2
|
+
root: string;
|
|
3
|
+
checked: string;
|
|
4
|
+
disabled: string;
|
|
5
|
+
input: string;
|
|
6
|
+
edgeStart: string;
|
|
7
|
+
edgeEnd: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type SwitchBaseClassKey = keyof SwitchBaseClasses;
|
|
10
|
+
export declare function getSwitchBaseUtilityClass(slot: string): string;
|
|
11
|
+
declare const switchBaseClasses: SwitchBaseClasses;
|
|
12
|
+
export default switchBaseClasses;
|
|
@@ -458,7 +458,7 @@ var Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps,
|
|
|
458
458
|
groupedOptions = _useAutocomplete.groupedOptions;
|
|
459
459
|
|
|
460
460
|
var hasClearIcon = !disableClearable && !disabled && dirty && !readOnly;
|
|
461
|
-
var hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;
|
|
461
|
+
var hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false; // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.
|
|
462
462
|
|
|
463
463
|
var ownerState = _extends({}, props, {
|
|
464
464
|
disablePortal: disablePortal,
|
|
@@ -483,7 +483,7 @@ var Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps,
|
|
|
483
483
|
};
|
|
484
484
|
|
|
485
485
|
if (renderTags) {
|
|
486
|
-
startAdornment = renderTags(value, getCustomizedTagProps);
|
|
486
|
+
startAdornment = renderTags(value, getCustomizedTagProps, ownerState);
|
|
487
487
|
} else {
|
|
488
488
|
startAdornment = value.map(function (option, index) {
|
|
489
489
|
return /*#__PURE__*/_jsx(Chip, _extends({
|
|
@@ -1068,6 +1068,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes
|
|
|
1068
1068
|
*
|
|
1069
1069
|
* @param {T[]} value The `value` provided to the component.
|
|
1070
1070
|
* @param {function} getTagProps A tag props getter.
|
|
1071
|
+
* @param {object} ownerState The state of the Autocomplete component.
|
|
1071
1072
|
* @returns {ReactNode}
|
|
1072
1073
|
*/
|
|
1073
1074
|
renderTags: PropTypes.func,
|
|
File without changes
|
package/legacy/Box/Box.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
1
|
import { createBox } from '@mui/system';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
3
|
import { unstable_ClassNameGenerator as ClassNameGenerator } from '../className';
|
|
4
4
|
import { createTheme } from '../styles';
|
|
5
5
|
var defaultTheme = createTheme();
|
|
@@ -1,104 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
-
import * as React from 'react';
|
|
1
|
+
/* eslint-disable material-ui/mui-name-matches-component-name */
|
|
5
2
|
import PropTypes from 'prop-types';
|
|
6
|
-
import
|
|
7
|
-
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
|
-
import useThemeProps from '../styles/useThemeProps';
|
|
9
|
-
import styled from '../styles/styled';
|
|
10
|
-
import { getContainerUtilityClass } from './containerClasses';
|
|
3
|
+
import { createContainer } from '@mui/system';
|
|
11
4
|
import capitalize from '../utils/capitalize';
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
return composeClasses(slots, getContainerUtilityClass, classes);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
var ContainerRoot = styled('div', {
|
|
26
|
-
name: 'MuiContainer',
|
|
27
|
-
slot: 'Root',
|
|
28
|
-
overridesResolver: function overridesResolver(props, styles) {
|
|
29
|
-
var ownerState = props.ownerState;
|
|
30
|
-
return [styles.root, styles["maxWidth".concat(capitalize(String(ownerState.maxWidth)))], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
|
|
31
|
-
}
|
|
32
|
-
})(function (_ref) {
|
|
33
|
-
var theme = _ref.theme,
|
|
34
|
-
ownerState = _ref.ownerState;
|
|
35
|
-
return _extends({
|
|
36
|
-
width: '100%',
|
|
37
|
-
marginLeft: 'auto',
|
|
38
|
-
boxSizing: 'border-box',
|
|
39
|
-
marginRight: 'auto',
|
|
40
|
-
display: 'block'
|
|
41
|
-
}, !ownerState.disableGutters && _defineProperty({
|
|
42
|
-
paddingLeft: theme.spacing(2),
|
|
43
|
-
paddingRight: theme.spacing(2)
|
|
44
|
-
}, theme.breakpoints.up('sm'), {
|
|
45
|
-
paddingLeft: theme.spacing(3),
|
|
46
|
-
paddingRight: theme.spacing(3)
|
|
47
|
-
}));
|
|
48
|
-
}, function (_ref3) {
|
|
49
|
-
var theme = _ref3.theme,
|
|
50
|
-
ownerState = _ref3.ownerState;
|
|
51
|
-
return ownerState.fixed && Object.keys(theme.breakpoints.values).reduce(function (acc, breakpoint) {
|
|
52
|
-
var value = theme.breakpoints.values[breakpoint];
|
|
53
|
-
|
|
54
|
-
if (value !== 0) {
|
|
55
|
-
acc[theme.breakpoints.up(breakpoint)] = {
|
|
56
|
-
maxWidth: "".concat(value).concat(theme.breakpoints.unit)
|
|
57
|
-
};
|
|
5
|
+
import styled from '../styles/styled';
|
|
6
|
+
import _useThemeProps from '../styles/useThemeProps';
|
|
7
|
+
var Container = createContainer({
|
|
8
|
+
createStyledComponent: styled('div', {
|
|
9
|
+
name: 'MuiContainer',
|
|
10
|
+
slot: 'Root',
|
|
11
|
+
overridesResolver: function overridesResolver(props, styles) {
|
|
12
|
+
var ownerState = props.ownerState;
|
|
13
|
+
return [styles.root, styles["maxWidth".concat(capitalize(String(ownerState.maxWidth)))], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
|
|
58
14
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
maxWidth: Math.max(theme.breakpoints.values.xs, 444)
|
|
67
|
-
}), ownerState.maxWidth && ownerState.maxWidth !== 'xs' && _defineProperty({}, theme.breakpoints.up(ownerState.maxWidth), {
|
|
68
|
-
maxWidth: "".concat(theme.breakpoints.values[ownerState.maxWidth]).concat(theme.breakpoints.unit)
|
|
69
|
-
}));
|
|
70
|
-
});
|
|
71
|
-
var Container = /*#__PURE__*/React.forwardRef(function Container(inProps, ref) {
|
|
72
|
-
var props = useThemeProps({
|
|
73
|
-
props: inProps,
|
|
74
|
-
name: 'MuiContainer'
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
var className = props.className,
|
|
78
|
-
_props$component = props.component,
|
|
79
|
-
component = _props$component === void 0 ? 'div' : _props$component,
|
|
80
|
-
_props$disableGutters = props.disableGutters,
|
|
81
|
-
disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,
|
|
82
|
-
_props$fixed = props.fixed,
|
|
83
|
-
fixed = _props$fixed === void 0 ? false : _props$fixed,
|
|
84
|
-
_props$maxWidth = props.maxWidth,
|
|
85
|
-
maxWidth = _props$maxWidth === void 0 ? 'lg' : _props$maxWidth,
|
|
86
|
-
other = _objectWithoutProperties(props, ["className", "component", "disableGutters", "fixed", "maxWidth"]);
|
|
87
|
-
|
|
88
|
-
var ownerState = _extends({}, props, {
|
|
89
|
-
component: component,
|
|
90
|
-
disableGutters: disableGutters,
|
|
91
|
-
fixed: fixed,
|
|
92
|
-
maxWidth: maxWidth
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
var classes = useUtilityClasses(ownerState);
|
|
96
|
-
return /*#__PURE__*/_jsx(ContainerRoot, _extends({
|
|
97
|
-
as: component,
|
|
98
|
-
ownerState: ownerState,
|
|
99
|
-
className: clsx(classes.root, className),
|
|
100
|
-
ref: ref
|
|
101
|
-
}, other));
|
|
15
|
+
}),
|
|
16
|
+
useThemeProps: function useThemeProps(inProps) {
|
|
17
|
+
return _useThemeProps({
|
|
18
|
+
props: inProps,
|
|
19
|
+
name: 'MuiContainer'
|
|
20
|
+
});
|
|
21
|
+
}
|
|
102
22
|
});
|
|
103
23
|
process.env.NODE_ENV !== "production" ? Container.propTypes
|
|
104
24
|
/* remove-proptypes */
|
|
@@ -118,11 +38,6 @@ process.env.NODE_ENV !== "production" ? Container.propTypes
|
|
|
118
38
|
*/
|
|
119
39
|
classes: PropTypes.object,
|
|
120
40
|
|
|
121
|
-
/**
|
|
122
|
-
* @ignore
|
|
123
|
-
*/
|
|
124
|
-
className: PropTypes.string,
|
|
125
|
-
|
|
126
41
|
/**
|
|
127
42
|
* The component used for the root node.
|
|
128
43
|
* Either a string to use a HTML element or a component.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// eslint-disable-next-line import/prefer-default-export
|
|
2
|
-
export { unstable_ClassNameGenerator } from '@mui/
|
|
2
|
+
export { unstable_ClassNameGenerator } from '@mui/utils';
|
package/legacy/index.js
CHANGED
package/legacy/locale/index.js
CHANGED
|
@@ -85,26 +85,26 @@ export var arEG = {
|
|
|
85
85
|
components: {
|
|
86
86
|
MuiBreadcrumbs: {
|
|
87
87
|
defaultProps: {
|
|
88
|
-
expandText: '
|
|
88
|
+
expandText: 'إظهار المسار'
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
MuiTablePagination: {
|
|
92
92
|
defaultProps: {
|
|
93
93
|
getItemAriaLabel: function getItemAriaLabel(type) {
|
|
94
94
|
if (type === 'first') {
|
|
95
|
-
return '
|
|
95
|
+
return 'انتقل إلى الصفحة الأولى';
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
if (type === 'last') {
|
|
99
|
-
return '
|
|
99
|
+
return 'انتقل إلى الصفحة الأخيرة';
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
if (type === 'next') {
|
|
103
|
-
return '
|
|
103
|
+
return 'انتقل إلى الصفحة التالية';
|
|
104
104
|
} // if (type === 'previous') {
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
return '
|
|
107
|
+
return 'انتقل إلى الصفحة السابقة';
|
|
108
108
|
},
|
|
109
109
|
labelRowsPerPage: 'عدد الصفوف في الصفحة:',
|
|
110
110
|
labelDisplayedRows: function labelDisplayedRows(_ref2) {
|
|
@@ -127,7 +127,7 @@ export var arEG = {
|
|
|
127
127
|
defaultProps: {
|
|
128
128
|
clearText: 'مسح',
|
|
129
129
|
closeText: 'إغلاق',
|
|
130
|
-
loadingText: '
|
|
130
|
+
loadingText: 'جار التحميل...',
|
|
131
131
|
noOptionsText: 'لا يوجد خيارات',
|
|
132
132
|
openText: 'فتح'
|
|
133
133
|
}
|
|
@@ -142,23 +142,23 @@ export var arEG = {
|
|
|
142
142
|
'aria-label': 'التنقل عبر الصفحات',
|
|
143
143
|
getItemAriaLabel: function getItemAriaLabel(type, page, selected) {
|
|
144
144
|
if (type === 'page') {
|
|
145
|
-
return "".concat(selected ? '' : '
|
|
145
|
+
return "".concat(selected ? '' : 'انتقل إلى ', " \u0635\u0641\u062D\u0629 ").concat(page);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
if (type === 'first') {
|
|
149
|
-
return '
|
|
149
|
+
return 'انتقل إلى الصفحة الأولى';
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
if (type === 'last') {
|
|
153
|
-
return '
|
|
153
|
+
return 'انتقل إلى الصفحة الأخيرة';
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
if (type === 'next') {
|
|
157
|
-
return '
|
|
157
|
+
return 'انتقل إلى الصفحة التالية';
|
|
158
158
|
} // if (type === 'previous') {
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
return '
|
|
161
|
+
return 'انتقل إلى الصفحة السابقة';
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -168,26 +168,26 @@ export var arSD = {
|
|
|
168
168
|
components: {
|
|
169
169
|
MuiBreadcrumbs: {
|
|
170
170
|
defaultProps: {
|
|
171
|
-
expandText: '
|
|
171
|
+
expandText: 'إظهار المسار'
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
174
|
MuiTablePagination: {
|
|
175
175
|
defaultProps: {
|
|
176
176
|
getItemAriaLabel: function getItemAriaLabel(type) {
|
|
177
177
|
if (type === 'first') {
|
|
178
|
-
return '
|
|
178
|
+
return 'انتقل إلى الصفحة الأولى';
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
if (type === 'last') {
|
|
182
|
-
return '
|
|
182
|
+
return 'انتقل إلى الصفحة الأخيرة';
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
if (type === 'next') {
|
|
186
|
-
return '
|
|
186
|
+
return 'انتقل إلى الصفحة التالية';
|
|
187
187
|
} // if (type === 'previous') {
|
|
188
188
|
|
|
189
189
|
|
|
190
|
-
return '
|
|
190
|
+
return 'انتقل إلى الصفحة السابقة';
|
|
191
191
|
},
|
|
192
192
|
labelRowsPerPage: 'عدد الصفوف في الصفحة:',
|
|
193
193
|
labelDisplayedRows: function labelDisplayedRows(_ref3) {
|
|
@@ -210,7 +210,7 @@ export var arSD = {
|
|
|
210
210
|
defaultProps: {
|
|
211
211
|
clearText: 'مسح',
|
|
212
212
|
closeText: 'إغلاق',
|
|
213
|
-
loadingText: '
|
|
213
|
+
loadingText: 'جار التحميل...',
|
|
214
214
|
noOptionsText: 'لا يوجد خيارات',
|
|
215
215
|
openText: 'فتح'
|
|
216
216
|
}
|
|
@@ -225,23 +225,23 @@ export var arSD = {
|
|
|
225
225
|
'aria-label': 'التنقل عبر الصفحات',
|
|
226
226
|
getItemAriaLabel: function getItemAriaLabel(type, page, selected) {
|
|
227
227
|
if (type === 'page') {
|
|
228
|
-
return "".concat(selected ? '' : '
|
|
228
|
+
return "".concat(selected ? '' : 'انتقل إلى ', " \u0635\u0641\u062D\u0629 ").concat(page);
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
if (type === 'first') {
|
|
232
|
-
return '
|
|
232
|
+
return 'انتقل إلى الصفحة الأولى';
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
if (type === 'last') {
|
|
236
|
-
return '
|
|
236
|
+
return 'انتقل الي الصفحة الأخيرة';
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
if (type === 'next') {
|
|
240
|
-
return '
|
|
240
|
+
return 'انتقل إلى الصفحة التالية';
|
|
241
241
|
} // if (type === 'previous') {
|
|
242
242
|
|
|
243
243
|
|
|
244
|
-
return '
|
|
244
|
+
return 'انتقل إلى الصفحة السابقة';
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
export default function createMixins(breakpoints,
|
|
3
|
+
export default function createMixins(breakpoints, mixins) {
|
|
4
4
|
var _toolbar;
|
|
5
5
|
|
|
6
6
|
return _extends({
|
|
@@ -30,7 +30,7 @@ function createTheme() {
|
|
|
30
30
|
var palette = createPalette(paletteInput);
|
|
31
31
|
var systemTheme = systemCreateTheme(options);
|
|
32
32
|
var muiTheme = deepmerge(systemTheme, {
|
|
33
|
-
mixins: createMixins(systemTheme.breakpoints,
|
|
33
|
+
mixins: createMixins(systemTheme.breakpoints, mixinsInput),
|
|
34
34
|
palette: palette,
|
|
35
35
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
36
36
|
shadows: shadows.slice(),
|