@mui/material 5.11.8 → 5.11.10
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/AppBar.js +1 -1
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.js +14 -0
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/Avatar.js +1 -0
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/Backdrop.d.ts +8 -0
- package/Backdrop/Backdrop.js +10 -5
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +0 -1
- package/Badge/Badge.js +47 -47
- 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 +120 -2
- 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/DialogContext.js +2 -2
- 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/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/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/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/SwipeableDrawer/SwipeableDrawer.js +3 -3
- 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/SwitchBase.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +10 -1
- package/legacy/Avatar/Avatar.js +1 -0
- package/legacy/Backdrop/Backdrop.js +9 -3
- package/legacy/Badge/Badge.js +48 -48
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Dialog/DialogContext.js +2 -2
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +3 -3
- package/legacy/index.js +1 -1
- package/legacy/internal/SwitchBase.js +1 -1
- package/legacy/useMediaQuery/useMediaQuery.js +12 -7
- package/locale/index.d.ts +75 -75
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +14 -0
- package/modern/Avatar/Avatar.js +1 -0
- package/modern/Backdrop/Backdrop.js +10 -5
- package/modern/Badge/Badge.js +47 -47
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Dialog/DialogContext.js +2 -2
- package/modern/SwipeableDrawer/SwipeableDrawer.js +3 -3
- package/modern/index.js +1 -1
- package/modern/internal/SwitchBase.js +1 -1
- package/modern/useMediaQuery/useMediaQuery.js +9 -7
- package/node/AppBar/AppBar.js +1 -1
- package/node/Autocomplete/Autocomplete.js +14 -0
- package/node/Avatar/Avatar.js +1 -0
- package/node/Backdrop/Backdrop.js +10 -5
- package/node/Badge/Badge.js +46 -47
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Dialog/DialogContext.js +4 -2
- package/node/SwipeableDrawer/SwipeableDrawer.js +3 -3
- package/node/index.js +1 -1
- package/node/internal/SwitchBase.js +1 -1
- package/node/useMediaQuery/useMediaQuery.js +9 -7
- package/package.json +6 -6
- package/styles/CssVarsProvider.d.ts +16 -16
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/props.d.ts +2 -2
- 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 +163 -248
- package/umd/material-ui.production.min.js +20 -20
- package/useMediaQuery/useMediaQuery.d.ts +46 -31
- package/useMediaQuery/useMediaQuery.js +9 -7
- 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
|
-
import type { ButtonGroupProps } from './ButtonGroup';
|
|
3
|
-
interface IButtonGroupContext {
|
|
4
|
-
className?: string;
|
|
5
|
-
color?: ButtonGroupProps['color'];
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
disableElevation?: boolean;
|
|
8
|
-
disableFocusRipple?: boolean;
|
|
9
|
-
disableRipple?: boolean;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
size?: ButtonGroupProps['size'];
|
|
12
|
-
variant?: ButtonGroupProps['variant'];
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @ignore - internal component.
|
|
16
|
-
*/
|
|
17
|
-
declare const ButtonGroupContext: React.Context<IButtonGroupContext>;
|
|
18
|
-
export default ButtonGroupContext;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ButtonGroupProps } from './ButtonGroup';
|
|
3
|
+
interface IButtonGroupContext {
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: ButtonGroupProps['color'];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
disableElevation?: boolean;
|
|
8
|
+
disableFocusRipple?: boolean;
|
|
9
|
+
disableRipple?: boolean;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
size?: ButtonGroupProps['size'];
|
|
12
|
+
variant?: ButtonGroupProps['variant'];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @ignore - internal component.
|
|
16
|
+
*/
|
|
17
|
+
declare const ButtonGroupContext: React.Context<IButtonGroupContext>;
|
|
18
|
+
export default ButtonGroupContext;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
export interface ButtonGroupClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="contained"`. */
|
|
5
|
-
contained: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
-
outlined: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="text"`. */
|
|
9
|
-
text: string;
|
|
10
|
-
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
11
|
-
disableElevation: string;
|
|
12
|
-
/** State class applied to the child elements if `disabled={true}`. */
|
|
13
|
-
disabled: string;
|
|
14
|
-
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
15
|
-
fullWidth: string;
|
|
16
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
17
|
-
vertical: string;
|
|
18
|
-
/** Styles applied to the children. */
|
|
19
|
-
grouped: string;
|
|
20
|
-
/** Styles applied to the children if `orientation="horizontal"`. */
|
|
21
|
-
groupedHorizontal: string;
|
|
22
|
-
/** Styles applied to the children if `orientation="vertical"`. */
|
|
23
|
-
groupedVertical: string;
|
|
24
|
-
/** Styles applied to the children if `variant="text"`. */
|
|
25
|
-
groupedText: string;
|
|
26
|
-
/** Styles applied to the children if `variant="text"` and `orientation="horizontal"`. */
|
|
27
|
-
groupedTextHorizontal: string;
|
|
28
|
-
/** Styles applied to the children if `variant="text"` and `orientation="vertical"`. */
|
|
29
|
-
groupedTextVertical: string;
|
|
30
|
-
/** Styles applied to the children if `variant="text"` and `color="primary"`. */
|
|
31
|
-
groupedTextPrimary: string;
|
|
32
|
-
/** Styles applied to the children if `variant="text"` and `color="secondary"`. */
|
|
33
|
-
groupedTextSecondary: string;
|
|
34
|
-
/** Styles applied to the children if `variant="outlined"`. */
|
|
35
|
-
groupedOutlined: string;
|
|
36
|
-
/** Styles applied to the children if `variant="outlined"` and `orientation="horizontal"`. */
|
|
37
|
-
groupedOutlinedHorizontal: string;
|
|
38
|
-
/** Styles applied to the children if `variant="outlined"` and `orientation="vertical"`. */
|
|
39
|
-
groupedOutlinedVertical: string;
|
|
40
|
-
/** Styles applied to the children if `variant="outlined"` and `color="primary"`. */
|
|
41
|
-
groupedOutlinedPrimary: string;
|
|
42
|
-
/** Styles applied to the children if `variant="outlined"` and `color="secondary"`. */
|
|
43
|
-
groupedOutlinedSecondary: string;
|
|
44
|
-
/** Styles applied to the children if `variant="contained"`. */
|
|
45
|
-
groupedContained: string;
|
|
46
|
-
/** Styles applied to the children if `variant="contained"` and `orientation="horizontal"`. */
|
|
47
|
-
groupedContainedHorizontal: string;
|
|
48
|
-
/** Styles applied to the children if `variant="contained"` and `orientation="vertical"`. */
|
|
49
|
-
groupedContainedVertical: string;
|
|
50
|
-
/** Styles applied to the children if `variant="contained"` and `color="primary"`. */
|
|
51
|
-
groupedContainedPrimary: string;
|
|
52
|
-
/** Styles applied to the children if `variant="contained"` and `color="secondary"`. */
|
|
53
|
-
groupedContainedSecondary: string;
|
|
54
|
-
}
|
|
55
|
-
export type ButtonGroupClassKey = keyof ButtonGroupClasses;
|
|
56
|
-
export declare function getButtonGroupUtilityClass(slot: string): string;
|
|
57
|
-
declare const buttonGroupClasses: ButtonGroupClasses;
|
|
58
|
-
export default buttonGroupClasses;
|
|
1
|
+
export interface ButtonGroupClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="contained"`. */
|
|
5
|
+
contained: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
+
outlined: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="text"`. */
|
|
9
|
+
text: string;
|
|
10
|
+
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
11
|
+
disableElevation: string;
|
|
12
|
+
/** State class applied to the child elements if `disabled={true}`. */
|
|
13
|
+
disabled: string;
|
|
14
|
+
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
15
|
+
fullWidth: string;
|
|
16
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
17
|
+
vertical: string;
|
|
18
|
+
/** Styles applied to the children. */
|
|
19
|
+
grouped: string;
|
|
20
|
+
/** Styles applied to the children if `orientation="horizontal"`. */
|
|
21
|
+
groupedHorizontal: string;
|
|
22
|
+
/** Styles applied to the children if `orientation="vertical"`. */
|
|
23
|
+
groupedVertical: string;
|
|
24
|
+
/** Styles applied to the children if `variant="text"`. */
|
|
25
|
+
groupedText: string;
|
|
26
|
+
/** Styles applied to the children if `variant="text"` and `orientation="horizontal"`. */
|
|
27
|
+
groupedTextHorizontal: string;
|
|
28
|
+
/** Styles applied to the children if `variant="text"` and `orientation="vertical"`. */
|
|
29
|
+
groupedTextVertical: string;
|
|
30
|
+
/** Styles applied to the children if `variant="text"` and `color="primary"`. */
|
|
31
|
+
groupedTextPrimary: string;
|
|
32
|
+
/** Styles applied to the children if `variant="text"` and `color="secondary"`. */
|
|
33
|
+
groupedTextSecondary: string;
|
|
34
|
+
/** Styles applied to the children if `variant="outlined"`. */
|
|
35
|
+
groupedOutlined: string;
|
|
36
|
+
/** Styles applied to the children if `variant="outlined"` and `orientation="horizontal"`. */
|
|
37
|
+
groupedOutlinedHorizontal: string;
|
|
38
|
+
/** Styles applied to the children if `variant="outlined"` and `orientation="vertical"`. */
|
|
39
|
+
groupedOutlinedVertical: string;
|
|
40
|
+
/** Styles applied to the children if `variant="outlined"` and `color="primary"`. */
|
|
41
|
+
groupedOutlinedPrimary: string;
|
|
42
|
+
/** Styles applied to the children if `variant="outlined"` and `color="secondary"`. */
|
|
43
|
+
groupedOutlinedSecondary: string;
|
|
44
|
+
/** Styles applied to the children if `variant="contained"`. */
|
|
45
|
+
groupedContained: string;
|
|
46
|
+
/** Styles applied to the children if `variant="contained"` and `orientation="horizontal"`. */
|
|
47
|
+
groupedContainedHorizontal: string;
|
|
48
|
+
/** Styles applied to the children if `variant="contained"` and `orientation="vertical"`. */
|
|
49
|
+
groupedContainedVertical: string;
|
|
50
|
+
/** Styles applied to the children if `variant="contained"` and `color="primary"`. */
|
|
51
|
+
groupedContainedPrimary: string;
|
|
52
|
+
/** Styles applied to the children if `variant="contained"` and `color="secondary"`. */
|
|
53
|
+
groupedContainedSecondary: string;
|
|
54
|
+
}
|
|
55
|
+
export type ButtonGroupClassKey = keyof ButtonGroupClasses;
|
|
56
|
+
export declare function getButtonGroupUtilityClass(slot: string): string;
|
|
57
|
+
declare const buttonGroupClasses: ButtonGroupClasses;
|
|
58
|
+
export default buttonGroupClasses;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,123 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.11.10
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.11.9..master -->
|
|
6
|
+
|
|
7
|
+
_Feb 20, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 11 contributors who made this release possible.
|
|
10
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
11
|
+
|
|
12
|
+
### `@mui/material@5.11.10`
|
|
13
|
+
|
|
14
|
+
- ​<!-- 22 -->[Avatar] Fix ownerState usage with styleOverrides when fallback is used (#36228) @sai6855
|
|
15
|
+
- ​<!-- 21 -->[Badge][material] Replace `BadgeUnstyled` with `useBadge` hook (#36158) @hbjORbj
|
|
16
|
+
- ​<!-- 03 -->[Switch] Fix DOM warning when `type` isn't `checkbox` or `radio` (#36170) @dani-mp
|
|
17
|
+
- ​<!-- 02 -->[TextareaAutosize] Convert code to TypeScript (#35862) @sai6855
|
|
18
|
+
- ​<!-- 01 -->[useMediaQuery] Fix behavior of noSsr with React 18 (#36056) @oliviertassinari
|
|
19
|
+
|
|
20
|
+
### `@mui/joy@5.0.0-alpha.68`
|
|
21
|
+
|
|
22
|
+
- ​<!-- 05 -->[Joy] Add `zIndex` to theme (#36236) @siriwatknp
|
|
23
|
+
- ​<!-- 04 -->[Joy] Remove transition from all components (#35952) @hbjORbj
|
|
24
|
+
|
|
25
|
+
### Docs
|
|
26
|
+
|
|
27
|
+
- ​<!-- 20 -->[docs][base] Fix base Input demos for Safari (#36213) @mj12albert
|
|
28
|
+
- ​<!-- 16 -->[docs] Fix 301 links @oliviertassinari
|
|
29
|
+
- ​<!-- 15 -->[docs] Fix modal transition demos (#36137) @oliviertassinari
|
|
30
|
+
- ​<!-- 14 -->[docs] Update links to pt examples (#36237) @Aleff13
|
|
31
|
+
- ​<!-- 13 -->[docs] Update custom Typography variants example (#36185) @mj12albert
|
|
32
|
+
- ​<!-- 12 -->[docs] Change markdown numbering syntax (#36187) @mj12albert
|
|
33
|
+
- ​<!-- 11 -->[docs] Fix switch alignment in `Disabled tree items` section in Tree View docs (#36217) @PunitSoniME
|
|
34
|
+
- ​<!-- 10 -->[docs] Standardize example names (#36112) @samuelsycamore
|
|
35
|
+
- ​<!-- 09 -->[docs] Fix typo @oliviertassinari
|
|
36
|
+
- ​<!-- 08 -->[docs] Fix markdown table alignments (#36136) @oliviertassinari
|
|
37
|
+
- ​<!-- 07 -->[docs] Small color tweaks to the docs search bar (#36160) @danilo-leal
|
|
38
|
+
- ​<!-- 06 -->[docs][joy] Update class name prefixes in the `Anatomy` section (#36210) @ZeeshanTamboli
|
|
39
|
+
|
|
40
|
+
### Core
|
|
41
|
+
|
|
42
|
+
- ​<!-- 19 -->[core] Migrate nprogress to emotion (#36181) @siriwatknp
|
|
43
|
+
- ​<!-- 18 -->[core] Enforce namespace import for ReactDOM (#36208) @mj12albert
|
|
44
|
+
- ​<!-- 17 -->[core] Fix deploy preview links (#36203) @siriwatknp
|
|
45
|
+
|
|
46
|
+
All contributors of this release in alphabetical order: @Aleff13, @dani-mp, @danilo-leal, @hbjORbj, @mj12albert, @oliviertassinari, @PunitSoniME, @sai6855, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
47
|
+
|
|
48
|
+
## 5.11.9
|
|
49
|
+
|
|
50
|
+
<!-- generated comparing v5.11.8..master -->
|
|
51
|
+
|
|
52
|
+
_Feb 14, 2023_
|
|
53
|
+
|
|
54
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
55
|
+
|
|
56
|
+
- 🐛 @rangoo94, @sai6855, and @michaldudak fixed a couple of bugs in the Autocomplete component (#36116, #35640, #36076, #36088)
|
|
57
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
58
|
+
|
|
59
|
+
### `@mui/material@5.11.9`
|
|
60
|
+
|
|
61
|
+
- [AppBar] Fix joinVars() not handling undefined (#36128) @donaldnevermore
|
|
62
|
+
- [Autocomplete] Fix tag removal regression (#36116) @michaldudak
|
|
63
|
+
- [Autocomplete] Correct padding of filled Autocomplete (#35640) @michaldudak
|
|
64
|
+
- [Grid][Stack] classNames prefixed with Mui (#36167) @sai6855
|
|
65
|
+
|
|
66
|
+
### `@mui/styled-engine@5.11.9`
|
|
67
|
+
|
|
68
|
+
- [StyledEngineProvider] Fix issue with cache not being defined (#36162) @mnajdova
|
|
69
|
+
|
|
70
|
+
### `@mui/joy@5.0.0-alpha.67`
|
|
71
|
+
|
|
72
|
+
- [Joy] Add order dashboard template (#36081) @siriwatknp
|
|
73
|
+
- [Joy] Remove classes prop from the components that have it (#36159) @hbjORbj
|
|
74
|
+
- [Joy] Miscellaneous fixes (#36163) @siriwatknp
|
|
75
|
+
|
|
76
|
+
### `@mui/base@5.0.0-alpha.118`
|
|
77
|
+
|
|
78
|
+
- [base] Override the types of `slotProps` per slot (#35964) @hbjORbj
|
|
79
|
+
- [Select][base] Prevent unnecessary rerendering of Select options (#35946) @michaldudak
|
|
80
|
+
- [Select][base] Update the generated docs (#36183) @michaldudak
|
|
81
|
+
- [useAutocomplete] Pass only valid values for the getOptionLabel prop (#36088) @rangoo94
|
|
82
|
+
- [useAutocomplete] Fix `useAutocomplete` disabled prop not disabling the input (#36076) @sai6855
|
|
83
|
+
- [useInput] Add return value interface (#36036) @Shorifpatwary
|
|
84
|
+
- [UseTabPanel] Add explicit return type (#36053) @Shorifpatwary
|
|
85
|
+
- [useTabsList] Add explicit return type (#36048) @sai6855
|
|
86
|
+
- [Tab] Add explicit return type to useTab (#36046) @sai6855
|
|
87
|
+
|
|
88
|
+
### `@mui/material-next@6.0.0-alpha.75`
|
|
89
|
+
|
|
90
|
+
- [Material You] Use `md` as a CSS var prefix (#36177) @siriwatknp
|
|
91
|
+
|
|
92
|
+
### Docs
|
|
93
|
+
|
|
94
|
+
- [docs] Fix the prop type regression on the API pages (#36168) @mnajdova
|
|
95
|
+
- [docs] Fix virtualized table column resizing (#36066) @petyosi
|
|
96
|
+
- [docs] Fix react-spring demos (#36023) @oliviertassinari
|
|
97
|
+
- [docs] Fix classname mismatch on Joy docs (#36127) @siriwatknp
|
|
98
|
+
- [docs] Fix typo in the released version of @mui/styled-engine (#36121) @m4theushw
|
|
99
|
+
- [docs] Fix demos showing TypeScript instead of JavaScript (#35850) @mj12albert
|
|
100
|
+
- [docs] Update release instructions (#36113) @mj12albert
|
|
101
|
+
- [docs] Rename `v6-alpha` to `v6-next` in navigation (#36102) @LukasTy
|
|
102
|
+
- [docs] Revise Joy UI "Input" page (#35970) @LadyBluenotes
|
|
103
|
+
- [docs] Revise Joy UI "Typography" page (#35868) @LadyBluenotes
|
|
104
|
+
|
|
105
|
+
### Examples
|
|
106
|
+
|
|
107
|
+
- [examples][vitejs] Load Roboto font (#35678) @oliv37
|
|
108
|
+
|
|
109
|
+
### Core
|
|
110
|
+
|
|
111
|
+
- [blog] Fix the look and feel of the media description (#36069) @oliviertassinari
|
|
112
|
+
- [core] Add default preview url (#36118) @siriwatknp
|
|
113
|
+
- [core] Migrate all the internals exported by `tests/utils/index.js` to TypeScript (#35382) @flaviendelangle
|
|
114
|
+
- [core] Convert the waterfall module to an internal package (#35323) @michaldudak
|
|
115
|
+
- [website] Fix homepage MD theme demo (#36027) @oliviertassinari
|
|
116
|
+
- [website] Revise the Lead Designer role job ad (#35912) @danilo-leal
|
|
117
|
+
- [POC] Add deploy preview to PR body (#35995) @siriwatknp
|
|
118
|
+
|
|
119
|
+
All contributors of this release in alphabetical order: @danilo-leal, @donaldnevermore, @flaviendelangle, @hbjORbj, @LadyBluenotes, @LukasTy, @m4theushw, @michaldudak, @mj12albert, @mnajdova, @oliv37, @oliviertassinari, @petyosi, @rangoo94, @sai6855, @Shorifpatwary, @siriwatknp
|
|
120
|
+
|
|
3
121
|
## 5.11.8
|
|
4
122
|
|
|
5
123
|
<!-- generated comparing v5.11.7..master -->
|
|
@@ -25,7 +143,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
25
143
|
|
|
26
144
|
- ​<!-- 05 -->[System] Fix nested grid v2 (#35994) @siriwatknp
|
|
27
145
|
|
|
28
|
-
### `@mui/styled-engine@5.11.
|
|
146
|
+
### `@mui/styled-engine@5.11.8`
|
|
29
147
|
|
|
30
148
|
- ​<!-- 06 -->[styled-engine] Create cache only if `document` is available (#36001) @m4theushw
|
|
31
149
|
|
|
@@ -3441,7 +3559,7 @@ _Feb 1, 2022_
|
|
|
3441
3559
|
|
|
3442
3560
|
A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
|
|
3443
3561
|
|
|
3444
|
-
- 🛠 @goncalovf added an example project using [
|
|
3562
|
+
- 🛠 @goncalovf added an example project using [Material UI with Vite.js](https://github.com/mui/material-ui/tree/master/examples/material-vite) (#28241)
|
|
3445
3563
|
- Number of 🐛 bug fixes and 📚 documentation improvements.
|
|
3446
3564
|
|
|
3447
3565
|
### `@mui/material@5.4.0`
|
package/Card/cardClasses.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface CardClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type CardClassKey = keyof CardClasses;
|
|
6
|
-
export declare function getCardUtilityClass(slot: string): string;
|
|
7
|
-
declare const cardClasses: CardClasses;
|
|
8
|
-
export default cardClasses;
|
|
1
|
+
export interface CardClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type CardClassKey = keyof CardClasses;
|
|
6
|
+
export declare function getCardUtilityClass(slot: string): string;
|
|
7
|
+
declare const cardClasses: CardClasses;
|
|
8
|
+
export default cardClasses;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface CardActionAreaClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the ButtonBase root element if the action area is keyboard focused. */
|
|
5
|
-
focusVisible: string;
|
|
6
|
-
/** Styles applied to the overlay that covers the action area when it is keyboard focused. */
|
|
7
|
-
focusHighlight: string;
|
|
8
|
-
}
|
|
9
|
-
export type CardActionAreaClassKey = keyof CardActionAreaClasses;
|
|
10
|
-
export declare function getCardActionAreaUtilityClass(slot: string): string;
|
|
11
|
-
declare const cardActionAreaClasses: CardActionAreaClasses;
|
|
12
|
-
export default cardActionAreaClasses;
|
|
1
|
+
export interface CardActionAreaClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the ButtonBase root element if the action area is keyboard focused. */
|
|
5
|
+
focusVisible: string;
|
|
6
|
+
/** Styles applied to the overlay that covers the action area when it is keyboard focused. */
|
|
7
|
+
focusHighlight: string;
|
|
8
|
+
}
|
|
9
|
+
export type CardActionAreaClassKey = keyof CardActionAreaClasses;
|
|
10
|
+
export declare function getCardActionAreaUtilityClass(slot: string): string;
|
|
11
|
+
declare const cardActionAreaClasses: CardActionAreaClasses;
|
|
12
|
+
export default cardActionAreaClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface CardActionsClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element unless `disableSpacing={true}`. */
|
|
5
|
-
spacing: string;
|
|
6
|
-
}
|
|
7
|
-
export type CardActionsClassKey = keyof CardActionsClasses;
|
|
8
|
-
export declare function getCardActionsUtilityClass(slot: string): string;
|
|
9
|
-
declare const cardActionsClasses: CardActionsClasses;
|
|
10
|
-
export default cardActionsClasses;
|
|
1
|
+
export interface CardActionsClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element unless `disableSpacing={true}`. */
|
|
5
|
+
spacing: string;
|
|
6
|
+
}
|
|
7
|
+
export type CardActionsClassKey = keyof CardActionsClasses;
|
|
8
|
+
export declare function getCardActionsUtilityClass(slot: string): string;
|
|
9
|
+
declare const cardActionsClasses: CardActionsClasses;
|
|
10
|
+
export default cardActionsClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface CardContentClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type CardContentClassKey = keyof CardContentClasses;
|
|
6
|
-
export declare function getCardContentUtilityClass(slot: string): string;
|
|
7
|
-
declare const cardContentClasses: CardContentClasses;
|
|
8
|
-
export default cardContentClasses;
|
|
1
|
+
export interface CardContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type CardContentClassKey = keyof CardContentClasses;
|
|
6
|
+
export declare function getCardContentUtilityClass(slot: string): string;
|
|
7
|
+
declare const cardContentClasses: CardContentClasses;
|
|
8
|
+
export default cardContentClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface CardHeaderClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the avatar element. */
|
|
5
|
-
avatar: string;
|
|
6
|
-
/** Styles applied to the action element. */
|
|
7
|
-
action: string;
|
|
8
|
-
/** Styles applied to the content wrapper element. */
|
|
9
|
-
content: string;
|
|
10
|
-
/** Styles applied to the title Typography element. */
|
|
11
|
-
title: string;
|
|
12
|
-
/** Styles applied to the subheader Typography element. */
|
|
13
|
-
subheader: string;
|
|
14
|
-
}
|
|
15
|
-
export type CardHeaderClassKey = keyof CardHeaderClasses;
|
|
16
|
-
export declare function getCardHeaderUtilityClass(slot: string): string;
|
|
17
|
-
declare const cardHeaderClasses: CardHeaderClasses;
|
|
18
|
-
export default cardHeaderClasses;
|
|
1
|
+
export interface CardHeaderClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the avatar element. */
|
|
5
|
+
avatar: string;
|
|
6
|
+
/** Styles applied to the action element. */
|
|
7
|
+
action: string;
|
|
8
|
+
/** Styles applied to the content wrapper element. */
|
|
9
|
+
content: string;
|
|
10
|
+
/** Styles applied to the title Typography element. */
|
|
11
|
+
title: string;
|
|
12
|
+
/** Styles applied to the subheader Typography element. */
|
|
13
|
+
subheader: string;
|
|
14
|
+
}
|
|
15
|
+
export type CardHeaderClassKey = keyof CardHeaderClasses;
|
|
16
|
+
export declare function getCardHeaderUtilityClass(slot: string): string;
|
|
17
|
+
declare const cardHeaderClasses: CardHeaderClasses;
|
|
18
|
+
export default cardHeaderClasses;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface CardMediaClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `component="video, audio, picture, iframe, or img"`. */
|
|
5
|
-
media: string;
|
|
6
|
-
/** Styles applied to the root element if `component="picture or img"`. */
|
|
7
|
-
img: string;
|
|
8
|
-
}
|
|
9
|
-
export type CardMediaClassKey = keyof CardMediaClasses;
|
|
10
|
-
export declare function getCardMediaUtilityClass(slot: string): string;
|
|
11
|
-
declare const cardMediaClasses: CardMediaClasses;
|
|
12
|
-
export default cardMediaClasses;
|
|
1
|
+
export interface CardMediaClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `component="video, audio, picture, iframe, or img"`. */
|
|
5
|
+
media: string;
|
|
6
|
+
/** Styles applied to the root element if `component="picture or img"`. */
|
|
7
|
+
img: string;
|
|
8
|
+
}
|
|
9
|
+
export type CardMediaClassKey = keyof CardMediaClasses;
|
|
10
|
+
export declare function getCardMediaUtilityClass(slot: string): string;
|
|
11
|
+
declare const cardMediaClasses: CardMediaClasses;
|
|
12
|
+
export default cardMediaClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface CheckboxClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the root element if `checked={true}`. */
|
|
5
|
-
checked: string;
|
|
6
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
-
disabled: string;
|
|
8
|
-
/** State class applied to the root element if `indeterminate={true}`. */
|
|
9
|
-
indeterminate: string;
|
|
10
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
11
|
-
colorPrimary: string;
|
|
12
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
13
|
-
colorSecondary: string;
|
|
14
|
-
}
|
|
15
|
-
export type CheckboxClassKey = keyof CheckboxClasses;
|
|
16
|
-
export declare function getCheckboxUtilityClass(slot: string): string;
|
|
17
|
-
declare const checkboxClasses: CheckboxClasses;
|
|
18
|
-
export default checkboxClasses;
|
|
1
|
+
export interface CheckboxClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the root element if `checked={true}`. */
|
|
5
|
+
checked: string;
|
|
6
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
+
disabled: string;
|
|
8
|
+
/** State class applied to the root element if `indeterminate={true}`. */
|
|
9
|
+
indeterminate: string;
|
|
10
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
11
|
+
colorPrimary: string;
|
|
12
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
13
|
+
colorSecondary: string;
|
|
14
|
+
}
|
|
15
|
+
export type CheckboxClassKey = keyof CheckboxClasses;
|
|
16
|
+
export declare function getCheckboxUtilityClass(slot: string): string;
|
|
17
|
+
declare const checkboxClasses: CheckboxClasses;
|
|
18
|
+
export default checkboxClasses;
|