@mui/material 6.0.0-alpha.10 → 6.0.0-alpha.11
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/Accordion.d.ts +3 -3
- package/AccordionActions/AccordionActions.d.ts +2 -2
- package/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/Alert/Alert.d.ts +3 -3
- package/AlertTitle/AlertTitle.d.ts +3 -3
- package/AppBar/AppBar.d.ts +3 -3
- package/Autocomplete/Autocomplete.d.ts +2 -2
- package/Autocomplete/Autocomplete.js +9 -17
- package/Avatar/Avatar.d.ts +2 -2
- package/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/Backdrop/Backdrop.d.ts +3 -3
- package/Badge/Badge.d.ts +3 -3
- package/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
- package/Box/Box.d.ts +2 -2
- package/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/Button/Button.d.ts +4 -4
- package/ButtonBase/ButtonBase.d.ts +2 -2
- package/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/CHANGELOG.md +76 -0
- package/Card/Card.d.ts +3 -3
- package/CardActionArea/CardActionArea.d.ts +3 -3
- package/CardActions/CardActions.d.ts +2 -2
- package/CardContent/CardContent.d.ts +2 -2
- package/CardHeader/CardHeader.d.ts +2 -2
- package/CardMedia/CardMedia.d.ts +2 -2
- package/Checkbox/Checkbox.d.ts +4 -4
- package/Chip/Chip.d.ts +5 -5
- package/Chip/Chip.js +0 -2
- package/CircularProgress/CircularProgress.d.ts +2 -2
- package/Collapse/Collapse.d.ts +5 -5
- package/Collapse/Collapse.js +1 -2
- package/Container/Container.d.ts +2 -2
- package/CssBaseline/CssBaseline.d.ts +2 -2
- package/Dialog/Dialog.d.ts +3 -3
- package/Dialog/Dialog.js +1 -2
- package/DialogActions/DialogActions.d.ts +2 -2
- package/DialogContent/DialogContent.d.ts +2 -2
- package/DialogContentText/DialogContentText.d.ts +3 -3
- package/DialogTitle/DialogTitle.d.ts +3 -3
- package/Divider/Divider.d.ts +3 -3
- package/Drawer/Drawer.d.ts +3 -3
- package/Drawer/Drawer.js +1 -2
- package/Fab/Fab.d.ts +3 -3
- package/Fade/Fade.d.ts +3 -3
- package/Fade/Fade.js +1 -1
- package/FilledInput/FilledInput.d.ts +3 -3
- package/FormControl/FormControl.d.ts +6 -6
- package/FormControlLabel/FormControlLabel.d.ts +4 -4
- package/FormGroup/FormGroup.d.ts +3 -3
- package/FormHelperText/FormHelperText.d.ts +2 -2
- package/FormLabel/FormLabel.d.ts +4 -4
- package/GlobalStyles/GlobalStyles.d.ts +3 -3
- package/Grid/Grid.d.ts +2 -2
- package/Grid/Grid.js +7 -13
- package/Grow/Grow.d.ts +5 -5
- package/Grow/Grow.js +1 -1
- package/Hidden/Hidden.d.ts +2 -2
- package/Icon/Icon.d.ts +3 -3
- package/IconButton/IconButton.d.ts +4 -4
- package/ImageList/ImageList.d.ts +2 -2
- package/ImageListItem/ImageListItem.d.ts +2 -2
- package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
- package/Input/Input.d.ts +3 -3
- package/InputAdornment/InputAdornment.d.ts +2 -2
- package/InputBase/InputBase.d.ts +2 -2
- package/InputBase/InputBase.js +26 -20
- package/InputLabel/InputLabel.d.ts +3 -3
- package/LinearProgress/LinearProgress.d.ts +2 -2
- package/Link/Link.d.ts +4 -4
- package/Link/Link.js +1 -2
- package/List/List.d.ts +3 -3
- package/ListItem/ListItem.d.ts +3 -3
- package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/ListItemButton/ListItemButton.d.ts +3 -3
- package/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/ListItemText/ListItemText.d.ts +2 -2
- package/ListSubheader/ListSubheader.d.ts +2 -2
- package/Menu/Menu.d.ts +4 -4
- package/MenuItem/MenuItem.d.ts +3 -3
- package/MenuList/MenuList.d.ts +4 -4
- package/MobileStepper/MobileStepper.d.ts +3 -3
- package/Modal/Modal.d.ts +8 -8
- package/NativeSelect/NativeSelect.d.ts +3 -3
- package/OutlinedInput/OutlinedInput.d.ts +3 -3
- package/Pagination/Pagination.d.ts +2 -2
- package/PaginationItem/PaginationItem.d.ts +2 -2
- package/Paper/Paper.d.ts +3 -3
- package/Paper/Paper.js +1 -2
- package/Popover/Popover.d.ts +4 -4
- package/Popper/Popper.d.ts +4 -4
- package/Popper/Popper.js +4 -4
- package/Radio/Radio.d.ts +3 -3
- package/RadioGroup/RadioGroup.d.ts +3 -3
- package/Rating/Rating.d.ts +2 -2
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
- package/Select/Select.d.ts +3 -3
- package/Skeleton/Skeleton.d.ts +2 -2
- package/Slide/Slide.d.ts +4 -4
- package/Slide/Slide.js +1 -1
- package/Slider/Slider.d.ts +3 -3
- package/Snackbar/Snackbar.d.ts +2 -2
- package/Snackbar/Snackbar.js +1 -2
- package/SnackbarContent/SnackbarContent.d.ts +3 -3
- package/SpeedDial/SpeedDial.d.ts +2 -2
- package/SpeedDial/SpeedDial.js +1 -2
- package/SpeedDialAction/SpeedDialAction.d.ts +3 -3
- package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
- package/Stack/Stack.d.ts +2 -2
- package/Step/Step.d.ts +2 -2
- package/StepButton/StepButton.d.ts +3 -3
- package/StepConnector/StepConnector.d.ts +3 -3
- package/StepContent/StepContent.d.ts +2 -2
- package/StepIcon/StepIcon.d.ts +2 -2
- package/StepLabel/StepLabel.d.ts +2 -2
- package/Stepper/Stepper.d.ts +2 -2
- package/SvgIcon/SvgIcon.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.js +3 -3
- package/Switch/Switch.d.ts +4 -4
- package/Tab/Tab.d.ts +4 -4
- package/Tab/Tab.js +3 -1
- package/Tab/tabClasses.d.ts +1 -1
- package/TabScrollButton/TabScrollButton.d.ts +2 -2
- package/Table/Table.d.ts +2 -2
- package/TableBody/TableBody.d.ts +2 -2
- package/TableCell/TableCell.d.ts +2 -2
- package/TableContainer/TableContainer.d.ts +2 -2
- package/TableFooter/TableFooter.d.ts +2 -2
- package/TableHead/TableHead.d.ts +2 -2
- package/TablePagination/TablePagination.d.ts +4 -4
- package/TableRow/TableRow.d.ts +2 -2
- package/TableSortLabel/TableSortLabel.d.ts +3 -3
- package/Tabs/Tabs.d.ts +2 -2
- package/Tabs/Tabs.js +1 -2
- package/TextField/TextField.d.ts +10 -10
- package/ToggleButton/ToggleButton.d.ts +3 -3
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/Toolbar/Toolbar.d.ts +2 -2
- package/Tooltip/Tooltip.d.ts +2 -2
- package/Tooltip/Tooltip.js +1 -2
- package/Typography/Typography.d.ts +3 -3
- package/Typography/Typography.js +2 -2
- package/Zoom/Zoom.d.ts +3 -3
- package/Zoom/Zoom.js +1 -1
- package/index.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +9 -17
- package/modern/Chip/Chip.js +0 -2
- package/modern/Collapse/Collapse.js +1 -2
- package/modern/Dialog/Dialog.js +1 -2
- package/modern/Drawer/Drawer.js +1 -2
- package/modern/Fade/Fade.js +1 -1
- package/modern/Grid/Grid.js +7 -13
- package/modern/Grow/Grow.js +1 -1
- package/modern/InputBase/InputBase.js +26 -20
- package/modern/Link/Link.js +1 -2
- package/modern/Paper/Paper.js +1 -2
- package/modern/Popper/Popper.js +4 -4
- package/modern/Slide/Slide.js +1 -1
- package/modern/Snackbar/Snackbar.js +1 -2
- package/modern/SpeedDial/SpeedDial.js +1 -2
- package/modern/SwipeableDrawer/SwipeableDrawer.js +3 -3
- package/modern/Tab/Tab.js +3 -1
- package/modern/Tabs/Tabs.js +1 -2
- package/modern/Tooltip/Tooltip.js +1 -2
- package/modern/Typography/Typography.js +2 -2
- package/modern/Zoom/Zoom.js +1 -1
- package/modern/index.js +1 -1
- package/modern/styles/createTheme.js +1 -1
- package/modern/styles/index.js +2 -1
- package/modern/styles/stringifyTheme.js +55 -0
- package/modern/zero-styled/index.js +20 -1
- package/node/Autocomplete/Autocomplete.js +9 -17
- package/node/Chip/Chip.js +0 -2
- package/node/Collapse/Collapse.js +1 -2
- package/node/Dialog/Dialog.js +1 -2
- package/node/Drawer/Drawer.js +1 -2
- package/node/Fade/Fade.js +2 -2
- package/node/Grid/Grid.js +7 -13
- package/node/Grow/Grow.js +2 -2
- package/node/InputBase/InputBase.js +25 -19
- package/node/Link/Link.js +1 -2
- package/node/Paper/Paper.js +1 -2
- package/node/Popper/Popper.js +4 -4
- package/node/Slide/Slide.js +2 -2
- package/node/Snackbar/Snackbar.js +1 -2
- package/node/SpeedDial/SpeedDial.js +1 -2
- package/node/SwipeableDrawer/SwipeableDrawer.js +5 -4
- package/node/Tab/Tab.js +3 -1
- package/node/Tabs/Tabs.js +1 -2
- package/node/Tooltip/Tooltip.js +1 -2
- package/node/Typography/Typography.js +2 -2
- package/node/Zoom/Zoom.js +2 -2
- package/node/index.js +1 -1
- package/node/styles/createTheme.js +1 -1
- package/node/styles/index.js +20 -1
- package/node/styles/stringifyTheme.js +62 -0
- package/node/zero-styled/index.js +29 -0
- package/package.json +6 -6
- package/styles/createTheme.js +1 -1
- package/styles/index.d.ts +3 -0
- package/styles/index.js +2 -1
- package/styles/stringifyTheme.d.ts +20 -0
- package/styles/stringifyTheme.js +55 -0
- package/zero-styled/index.d.ts +7 -0
- package/zero-styled/index.js +20 -1
package/Accordion/Accordion.d.ts
CHANGED
|
@@ -100,12 +100,12 @@ export type AccordionTypeMap<
|
|
|
100
100
|
*
|
|
101
101
|
* Demos:
|
|
102
102
|
*
|
|
103
|
-
* - [Accordion](https://mui.com/material-ui/react-accordion/)
|
|
103
|
+
* - [Accordion](https://next.mui.com/material-ui/react-accordion/)
|
|
104
104
|
*
|
|
105
105
|
* API:
|
|
106
106
|
*
|
|
107
|
-
* - [Accordion API](https://mui.com/material-ui/api/accordion/)
|
|
108
|
-
* - inherits [Paper API](https://mui.com/material-ui/api/paper/)
|
|
107
|
+
* - [Accordion API](https://next.mui.com/material-ui/api/accordion/)
|
|
108
|
+
* - inherits [Paper API](https://next.mui.com/material-ui/api/paper/)
|
|
109
109
|
*/
|
|
110
110
|
declare const Accordion: OverridableComponent<AccordionTypeMap>;
|
|
111
111
|
|
|
@@ -27,10 +27,10 @@ export interface AccordionActionsProps extends StandardProps<React.HTMLAttribute
|
|
|
27
27
|
*
|
|
28
28
|
* Demos:
|
|
29
29
|
*
|
|
30
|
-
* - [Accordion](https://mui.com/material-ui/react-accordion/)
|
|
30
|
+
* - [Accordion](https://next.mui.com/material-ui/react-accordion/)
|
|
31
31
|
*
|
|
32
32
|
* API:
|
|
33
33
|
*
|
|
34
|
-
* - [AccordionActions API](https://mui.com/material-ui/api/accordion-actions/)
|
|
34
|
+
* - [AccordionActions API](https://next.mui.com/material-ui/api/accordion-actions/)
|
|
35
35
|
*/
|
|
36
36
|
export default function AccordionActions(props: AccordionActionsProps): React.JSX.Element;
|
|
@@ -22,10 +22,10 @@ export interface AccordionDetailsProps extends StandardProps<React.HTMLAttribute
|
|
|
22
22
|
*
|
|
23
23
|
* Demos:
|
|
24
24
|
*
|
|
25
|
-
* - [Accordion](https://mui.com/material-ui/react-accordion/)
|
|
25
|
+
* - [Accordion](https://next.mui.com/material-ui/react-accordion/)
|
|
26
26
|
*
|
|
27
27
|
* API:
|
|
28
28
|
*
|
|
29
|
-
* - [AccordionDetails API](https://mui.com/material-ui/api/accordion-details/)
|
|
29
|
+
* - [AccordionDetails API](https://next.mui.com/material-ui/api/accordion-details/)
|
|
30
30
|
*/
|
|
31
31
|
export default function AccordionDetails(props: AccordionDetailsProps): React.JSX.Element;
|
|
@@ -36,12 +36,12 @@ export type AccordionSummaryTypeMap<
|
|
|
36
36
|
*
|
|
37
37
|
* Demos:
|
|
38
38
|
*
|
|
39
|
-
* - [Accordion](https://mui.com/material-ui/react-accordion/)
|
|
39
|
+
* - [Accordion](https://next.mui.com/material-ui/react-accordion/)
|
|
40
40
|
*
|
|
41
41
|
* API:
|
|
42
42
|
*
|
|
43
|
-
* - [AccordionSummary API](https://mui.com/material-ui/api/accordion-summary/)
|
|
44
|
-
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
43
|
+
* - [AccordionSummary API](https://next.mui.com/material-ui/api/accordion-summary/)
|
|
44
|
+
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
45
45
|
*/
|
|
46
46
|
declare const AccordionSummary: ExtendButtonBase<AccordionSummaryTypeMap>;
|
|
47
47
|
|
package/Alert/Alert.d.ts
CHANGED
|
@@ -126,11 +126,11 @@ export interface AlertOwnerState extends AlertProps {}
|
|
|
126
126
|
*
|
|
127
127
|
* Demos:
|
|
128
128
|
*
|
|
129
|
-
* - [Alert](https://mui.com/material-ui/react-alert/)
|
|
129
|
+
* - [Alert](https://next.mui.com/material-ui/react-alert/)
|
|
130
130
|
*
|
|
131
131
|
* API:
|
|
132
132
|
*
|
|
133
|
-
* - [Alert API](https://mui.com/material-ui/api/alert/)
|
|
134
|
-
* - inherits [Paper API](https://mui.com/material-ui/api/paper/)
|
|
133
|
+
* - [Alert API](https://next.mui.com/material-ui/api/alert/)
|
|
134
|
+
* - inherits [Paper API](https://next.mui.com/material-ui/api/paper/)
|
|
135
135
|
*/
|
|
136
136
|
export default function Alert(props: AlertProps): React.JSX.Element;
|
|
@@ -22,11 +22,11 @@ export interface AlertTitleProps extends TypographyProps<'div'> {
|
|
|
22
22
|
*
|
|
23
23
|
* Demos:
|
|
24
24
|
*
|
|
25
|
-
* - [Alert](https://mui.com/material-ui/react-alert/)
|
|
25
|
+
* - [Alert](https://next.mui.com/material-ui/react-alert/)
|
|
26
26
|
*
|
|
27
27
|
* API:
|
|
28
28
|
*
|
|
29
|
-
* - [AlertTitle API](https://mui.com/material-ui/api/alert-title/)
|
|
30
|
-
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
29
|
+
* - [AlertTitle API](https://next.mui.com/material-ui/api/alert-title/)
|
|
30
|
+
* - inherits [Typography API](https://next.mui.com/material-ui/api/typography/)
|
|
31
31
|
*/
|
|
32
32
|
export default function AlertTitle(props: AlertTitleProps): React.JSX.Element;
|
package/AppBar/AppBar.d.ts
CHANGED
|
@@ -56,12 +56,12 @@ export type AppBarTypeMap<
|
|
|
56
56
|
*
|
|
57
57
|
* Demos:
|
|
58
58
|
*
|
|
59
|
-
* - [App Bar](https://mui.com/material-ui/react-app-bar/)
|
|
59
|
+
* - [App Bar](https://next.mui.com/material-ui/react-app-bar/)
|
|
60
60
|
*
|
|
61
61
|
* API:
|
|
62
62
|
*
|
|
63
|
-
* - [AppBar API](https://mui.com/material-ui/api/app-bar/)
|
|
64
|
-
* - inherits [Paper API](https://mui.com/material-ui/api/paper/)
|
|
63
|
+
* - [AppBar API](https://next.mui.com/material-ui/api/app-bar/)
|
|
64
|
+
* - inherits [Paper API](https://next.mui.com/material-ui/api/paper/)
|
|
65
65
|
*/
|
|
66
66
|
|
|
67
67
|
declare const AppBar: OverridableComponent<AppBarTypeMap>;
|
|
@@ -358,11 +358,11 @@ export interface AutocompleteProps<
|
|
|
358
358
|
*
|
|
359
359
|
* Demos:
|
|
360
360
|
*
|
|
361
|
-
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
361
|
+
* - [Autocomplete](https://next.mui.com/material-ui/react-autocomplete/)
|
|
362
362
|
*
|
|
363
363
|
* API:
|
|
364
364
|
*
|
|
365
|
-
* - [Autocomplete API](https://mui.com/material-ui/api/autocomplete/)
|
|
365
|
+
* - [Autocomplete API](https://next.mui.com/material-ui/api/autocomplete/)
|
|
366
366
|
*/
|
|
367
367
|
export default function Autocomplete<
|
|
368
368
|
Value,
|
|
@@ -85,6 +85,15 @@ const AutocompleteRoot = styled('div', {
|
|
|
85
85
|
}, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
86
86
|
}
|
|
87
87
|
})({
|
|
88
|
+
[`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {
|
|
89
|
+
visibility: 'visible'
|
|
90
|
+
},
|
|
91
|
+
/* Avoid double tap issue on iOS */
|
|
92
|
+
'@media (pointer: fine)': {
|
|
93
|
+
[`&:hover .${autocompleteClasses.clearIndicator}`]: {
|
|
94
|
+
visibility: 'visible'
|
|
95
|
+
}
|
|
96
|
+
},
|
|
88
97
|
[`& .${autocompleteClasses.tag}`]: {
|
|
89
98
|
margin: 3,
|
|
90
99
|
maxWidth: 'calc(100% - 6px)'
|
|
@@ -101,23 +110,6 @@ const AutocompleteRoot = styled('div', {
|
|
|
101
110
|
minWidth: 30
|
|
102
111
|
}
|
|
103
112
|
},
|
|
104
|
-
[`&.${autocompleteClasses.focused}`]: {
|
|
105
|
-
[`& .${autocompleteClasses.clearIndicator}`]: {
|
|
106
|
-
visibility: 'visible'
|
|
107
|
-
},
|
|
108
|
-
[`& .${autocompleteClasses.input}`]: {
|
|
109
|
-
minWidth: 0
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
/* Avoid double tap issue on iOS */
|
|
113
|
-
'@media (pointer: fine)': {
|
|
114
|
-
[`&:hover .${autocompleteClasses.clearIndicator}`]: {
|
|
115
|
-
visibility: 'visible'
|
|
116
|
-
},
|
|
117
|
-
[`&:hover .${autocompleteClasses.input}`]: {
|
|
118
|
-
minWidth: 0
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
113
|
[`& .${inputClasses.root}`]: {
|
|
122
114
|
paddingBottom: 1,
|
|
123
115
|
'& .MuiInput-input': {
|
package/Avatar/Avatar.d.ts
CHANGED
|
@@ -87,11 +87,11 @@ export interface AvatarTypeMap<
|
|
|
87
87
|
*
|
|
88
88
|
* Demos:
|
|
89
89
|
*
|
|
90
|
-
* - [Avatar](https://mui.com/material-ui/react-avatar/)
|
|
90
|
+
* - [Avatar](https://next.mui.com/material-ui/react-avatar/)
|
|
91
91
|
*
|
|
92
92
|
* API:
|
|
93
93
|
*
|
|
94
|
-
* - [Avatar API](https://mui.com/material-ui/api/avatar/)
|
|
94
|
+
* - [Avatar API](https://next.mui.com/material-ui/api/avatar/)
|
|
95
95
|
*/
|
|
96
96
|
declare const Avatar: OverridableComponent<AvatarTypeMap>;
|
|
97
97
|
|
|
@@ -107,11 +107,11 @@ export interface AvatarGroupTypeMap<
|
|
|
107
107
|
*
|
|
108
108
|
* Demos:
|
|
109
109
|
*
|
|
110
|
-
* - [Avatar](https://mui.com/material-ui/react-avatar/)
|
|
110
|
+
* - [Avatar](https://next.mui.com/material-ui/react-avatar/)
|
|
111
111
|
*
|
|
112
112
|
* API:
|
|
113
113
|
*
|
|
114
|
-
* - [AvatarGroup API](https://mui.com/material-ui/api/avatar-group/)
|
|
114
|
+
* - [AvatarGroup API](https://next.mui.com/material-ui/api/avatar-group/)
|
|
115
115
|
*/
|
|
116
116
|
declare const AvatarGroup: OverridableComponent<AvatarGroupTypeMap>;
|
|
117
117
|
|
package/Backdrop/Backdrop.d.ts
CHANGED
|
@@ -122,12 +122,12 @@ export declare const BackdropRoot: React.FC<BackdropRootProps>;
|
|
|
122
122
|
*
|
|
123
123
|
* Demos:
|
|
124
124
|
*
|
|
125
|
-
* - [Backdrop](https://mui.com/material-ui/react-backdrop/)
|
|
125
|
+
* - [Backdrop](https://next.mui.com/material-ui/react-backdrop/)
|
|
126
126
|
*
|
|
127
127
|
* API:
|
|
128
128
|
*
|
|
129
|
-
* - [Backdrop API](https://mui.com/material-ui/api/backdrop/)
|
|
130
|
-
* - inherits [Fade API](https://mui.com/material-ui/api/fade/)
|
|
129
|
+
* - [Backdrop API](https://next.mui.com/material-ui/api/backdrop/)
|
|
130
|
+
* - inherits [Fade API](https://next.mui.com/material-ui/api/fade/)
|
|
131
131
|
*/
|
|
132
132
|
declare const Backdrop: OverridableComponent<BackdropTypeMap>;
|
|
133
133
|
|
package/Badge/Badge.d.ts
CHANGED
|
@@ -162,12 +162,12 @@ export declare const BadgeMark: React.FC<BadgeBadgeProps>;
|
|
|
162
162
|
*
|
|
163
163
|
* Demos:
|
|
164
164
|
*
|
|
165
|
-
* - [Avatar](https://mui.com/material-ui/react-avatar/)
|
|
166
|
-
* - [Badge](https://mui.com/material-ui/react-badge/)
|
|
165
|
+
* - [Avatar](https://next.mui.com/material-ui/react-avatar/)
|
|
166
|
+
* - [Badge](https://next.mui.com/material-ui/react-badge/)
|
|
167
167
|
*
|
|
168
168
|
* API:
|
|
169
169
|
*
|
|
170
|
-
* - [Badge API](https://mui.com/material-ui/api/badge/)
|
|
170
|
+
* - [Badge API](https://next.mui.com/material-ui/api/badge/)
|
|
171
171
|
*/
|
|
172
172
|
declare const Badge: OverridableComponent<BadgeTypeMap>;
|
|
173
173
|
|
|
@@ -47,11 +47,11 @@ export interface BottomNavigationTypeMap<
|
|
|
47
47
|
*
|
|
48
48
|
* Demos:
|
|
49
49
|
*
|
|
50
|
-
* - [Bottom Navigation](https://mui.com/material-ui/react-bottom-navigation/)
|
|
50
|
+
* - [Bottom Navigation](https://next.mui.com/material-ui/react-bottom-navigation/)
|
|
51
51
|
*
|
|
52
52
|
* API:
|
|
53
53
|
*
|
|
54
|
-
* - [BottomNavigation API](https://mui.com/material-ui/api/bottom-navigation/)
|
|
54
|
+
* - [BottomNavigation API](https://next.mui.com/material-ui/api/bottom-navigation/)
|
|
55
55
|
*/
|
|
56
56
|
declare const BottomNavigation: OverridableComponent<BottomNavigationTypeMap>;
|
|
57
57
|
|
|
@@ -53,12 +53,12 @@ export type BottomNavigationActionTypeMap<
|
|
|
53
53
|
*
|
|
54
54
|
* Demos:
|
|
55
55
|
*
|
|
56
|
-
* - [Bottom Navigation](https://mui.com/material-ui/react-bottom-navigation/)
|
|
56
|
+
* - [Bottom Navigation](https://next.mui.com/material-ui/react-bottom-navigation/)
|
|
57
57
|
*
|
|
58
58
|
* API:
|
|
59
59
|
*
|
|
60
|
-
* - [BottomNavigationAction API](https://mui.com/material-ui/api/bottom-navigation-action/)
|
|
61
|
-
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
60
|
+
* - [BottomNavigationAction API](https://next.mui.com/material-ui/api/bottom-navigation-action/)
|
|
61
|
+
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
62
62
|
*/
|
|
63
63
|
declare const BottomNavigationAction: ExtendButtonBase<
|
|
64
64
|
BottomNavigationActionTypeMap<{}, ButtonBaseTypeMap['defaultComponent']>
|
package/Box/Box.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ import { Theme as MaterialTheme } from '../styles';
|
|
|
7
7
|
*
|
|
8
8
|
* Demos:
|
|
9
9
|
*
|
|
10
|
-
* - [Box](https://mui.com/material-ui/react-box/)
|
|
10
|
+
* - [Box](https://next.mui.com/material-ui/react-box/)
|
|
11
11
|
*
|
|
12
12
|
* API:
|
|
13
13
|
*
|
|
14
|
-
* - [Box API](https://mui.com/material-ui/api/box/)
|
|
14
|
+
* - [Box API](https://next.mui.com/material-ui/api/box/)
|
|
15
15
|
*/
|
|
16
16
|
declare const Box: OverridableComponent<BoxTypeMap<{}, 'div', MaterialTheme>>;
|
|
17
17
|
|
|
@@ -91,12 +91,12 @@ export interface BreadcrumbsTypeMap<
|
|
|
91
91
|
*
|
|
92
92
|
* Demos:
|
|
93
93
|
*
|
|
94
|
-
* - [Breadcrumbs](https://mui.com/material-ui/react-breadcrumbs/)
|
|
94
|
+
* - [Breadcrumbs](https://next.mui.com/material-ui/react-breadcrumbs/)
|
|
95
95
|
*
|
|
96
96
|
* API:
|
|
97
97
|
*
|
|
98
|
-
* - [Breadcrumbs API](https://mui.com/material-ui/api/breadcrumbs/)
|
|
99
|
-
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
98
|
+
* - [Breadcrumbs API](https://next.mui.com/material-ui/api/breadcrumbs/)
|
|
99
|
+
* - inherits [Typography API](https://next.mui.com/material-ui/api/typography/)
|
|
100
100
|
*/
|
|
101
101
|
declare const Breadcrumbs: OverridableComponent<BreadcrumbsTypeMap>;
|
|
102
102
|
|
package/Button/Button.d.ts
CHANGED
|
@@ -111,13 +111,13 @@ export type ExtendButton<TypeMap extends OverridableTypeMap> = ((
|
|
|
111
111
|
*
|
|
112
112
|
* Demos:
|
|
113
113
|
*
|
|
114
|
-
* - [Button Group](https://mui.com/material-ui/react-button-group/)
|
|
115
|
-
* - [Button](https://mui.com/material-ui/react-button/)
|
|
114
|
+
* - [Button Group](https://next.mui.com/material-ui/react-button-group/)
|
|
115
|
+
* - [Button](https://next.mui.com/material-ui/react-button/)
|
|
116
116
|
*
|
|
117
117
|
* API:
|
|
118
118
|
*
|
|
119
|
-
* - [Button API](https://mui.com/material-ui/api/button/)
|
|
120
|
-
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
119
|
+
* - [Button API](https://next.mui.com/material-ui/api/button/)
|
|
120
|
+
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
121
121
|
*/
|
|
122
122
|
declare const Button: ExtendButtonBase<ButtonTypeMap>;
|
|
123
123
|
|
|
@@ -115,11 +115,11 @@ export type ExtendButtonBase<TypeMap extends OverridableTypeMap> = ((
|
|
|
115
115
|
*
|
|
116
116
|
* Demos:
|
|
117
117
|
*
|
|
118
|
-
* - [Button](https://mui.com/material-ui/react-button/)
|
|
118
|
+
* - [Button](https://next.mui.com/material-ui/react-button/)
|
|
119
119
|
*
|
|
120
120
|
* API:
|
|
121
121
|
*
|
|
122
|
-
* - [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
122
|
+
* - [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
123
123
|
*/
|
|
124
124
|
declare const ButtonBase: ExtendButtonBase<ButtonBaseTypeMap>;
|
|
125
125
|
|
|
@@ -90,11 +90,11 @@ export interface ButtonGroupTypeMap<
|
|
|
90
90
|
*
|
|
91
91
|
* Demos:
|
|
92
92
|
*
|
|
93
|
-
* - [Button Group](https://mui.com/material-ui/react-button-group/)
|
|
93
|
+
* - [Button Group](https://next.mui.com/material-ui/react-button-group/)
|
|
94
94
|
*
|
|
95
95
|
* API:
|
|
96
96
|
*
|
|
97
|
-
* - [ButtonGroup API](https://mui.com/material-ui/api/button-group/)
|
|
97
|
+
* - [ButtonGroup API](https://next.mui.com/material-ui/api/button-group/)
|
|
98
98
|
*/
|
|
99
99
|
declare const ButtonGroup: OverridableComponent<ButtonGroupTypeMap>;
|
|
100
100
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v6.0.0-alpha.11
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.0.0-alpha.10..next -->
|
|
6
|
+
|
|
7
|
+
_Jun 11, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 18 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@6.0.0-alpha.11`
|
|
12
|
+
|
|
13
|
+
- ​<!-- 38 -->[Autocomplete] Shouldn't resize when hovering (#42452) @ZeeshanTamboli
|
|
14
|
+
- ​<!-- 37 -->[Chip] Fix focus issue related with the Escape event (#41578) @shrilsharma
|
|
15
|
+
- ​<!-- 12 -->[Grid] Fix support for CSS variables (#42574) @oliviertassinari
|
|
16
|
+
- ​<!-- 11 -->[InputBase] Use `globalCss` for Pigment integration (#42431) @siriwatknp
|
|
17
|
+
- ​<!-- 10 -->Change React.ReactElement type from `any` to `unknown` (#42473) @sai6855
|
|
18
|
+
- ​<!-- 09 -->Integrate `extendSxProp` adapter (#42543) @siriwatknp
|
|
19
|
+
- ​<!-- 08 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (#42549) @sai6855
|
|
20
|
+
- ​<!-- 08 -->[pigment-css] Add `stringifyTheme` for Pigment CSS integration (#42476) @siriwatknp
|
|
21
|
+
|
|
22
|
+
### `@mui/system@6.0.0-alpha.11`
|
|
23
|
+
|
|
24
|
+
- ​<!-- 11 -->[Grid] Remove `disableEqualOverflow` by using `gap` (#42526) @DiegoAndai
|
|
25
|
+
- ​<!-- 07 -->[useMediaQuery] Drop Safari < 14 support (#42464) @aarongarciah
|
|
26
|
+
|
|
27
|
+
### `@mui/utils@6.0.0-alpha.11`
|
|
28
|
+
|
|
29
|
+
- ​<!-- 04 -->Allow passing `NaN` as `defaultValue` to `useControlled` (#41559) @iammminzzy
|
|
30
|
+
|
|
31
|
+
### `@mui/codemod@6.0.0-alpha.11`
|
|
32
|
+
|
|
33
|
+
- ​<!-- 39 -->Improve styled and sx prop transformation (#42598) @siriwatknp
|
|
34
|
+
- ​<!-- 36 -->Support more cases for sx-prop transformation (#42527) @siriwatknp
|
|
35
|
+
|
|
36
|
+
### `@mui/private-theming@6.0.0-alpha.11`
|
|
37
|
+
|
|
38
|
+
- ​<!-- 09 -->Fix issues reported by react compiler in `mui-private-theming` components (#42619) @sai6855
|
|
39
|
+
|
|
40
|
+
### Docs
|
|
41
|
+
|
|
42
|
+
- ​<!-- 31 -->Add `theme.applyStyles` and migrate docs (#42498) @siriwatknp
|
|
43
|
+
- ​<!-- 29 -->Fix dashboard template console error (#42594) @oliviertassinari
|
|
44
|
+
- ​<!-- 28 -->Migrate system props to `sx` prop (#42475) @siriwatknp
|
|
45
|
+
- ​<!-- 27 -->[material-ui]Fix duplicated sentence (#42521) @alexfauquette
|
|
46
|
+
- ​<!-- 22 -->[Grid] Fix docs spacing (#42573) @oliviertassinari
|
|
47
|
+
- ​<!-- 21 -->[joy-ui] Add Next.js App Router instructions on how to prevent flickering (#42514) @devnyxie
|
|
48
|
+
- ​<!-- 20 -->[joy-ui] Fix HTML tag without preformatting (#42525) @jacobmoshipco
|
|
49
|
+
- ​<!-- 19 -->[material-ui] Add docs for complementary stepper components (#41900) @anle9650
|
|
50
|
+
- ​<!-- 18 -->[material-ui] Fix typo on Sign-in/Sign-up templates (#42605) @zanivan
|
|
51
|
+
- ​<!-- 17 -->[material-ui] Add container queries docs (#42434) @siriwatknp
|
|
52
|
+
- ​<!-- 16 -->[material-ui] Fix ESLint error in Stepper demo (#42559) @aarongarciah
|
|
53
|
+
- ​<!-- 15 -->[material-ui] Shorten useMediaQuery subheading (#42561) @aarongarciah
|
|
54
|
+
- ​<!-- 14 -->[material-ui] Add a Refine example project (#42461) @necatiozmen
|
|
55
|
+
|
|
56
|
+
### Core
|
|
57
|
+
|
|
58
|
+
- ​<!-- 39 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
|
|
59
|
+
- ​<!-- 35 -->[core] Allow `for..of` loops (#42600) @michaldudak
|
|
60
|
+
- ​<!-- 34 -->[core] Add comment about Object.js @oliviertassinari
|
|
61
|
+
- ​<!-- 33 -->[core] Disable eslint-plugin-react-compiler for Base (#42563) @aarongarciah
|
|
62
|
+
- ​<!-- 33 -->[core] Group Pigment CSS dependencies (#42174) @siriwatknp
|
|
63
|
+
- ​<!-- 32 -->[core] Configure eslint-plugin-react-compiler (#42555) @aarongarciah
|
|
64
|
+
- ​<!-- 31 -->[core] Skip charts animation for visual regression test (#42530) @alexfauquette
|
|
65
|
+
- ​<!-- 26 -->[docs-infra] Simplify click header (#42593) @oliviertassinari
|
|
66
|
+
- ​<!-- 25 -->[docs-infra] Add configurable jsdoc host variable (#42472) @tonygravell
|
|
67
|
+
- ​<!-- 25 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
|
|
68
|
+
- ​<!-- 24 -->[docs-infra] Prevent link anchor when selecting text (#41994) @alexfauquette
|
|
69
|
+
- ​<!-- 23 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
|
|
70
|
+
- ​<!-- 13 -->[examples] Remove Pigment CSS examples (#42471) @sai6855
|
|
71
|
+
- ​<!-- 06 -->[test] Restore pnpm tc command (#42572) @oliviertassinari
|
|
72
|
+
- ​<!-- 05 -->[test] Restore testing internal packages (#42519) @michaldudak
|
|
73
|
+
- ​<!-- 03 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
|
|
74
|
+
- ​<!-- 02 -->[website] Remove blank line @oliviertassinari
|
|
75
|
+
- ​<!-- 01 -->[website] Fix mobile layout shift @oliviertassinari
|
|
76
|
+
|
|
77
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @anle9650, @DanailH, @danilo-leal, @devnyxie, @DiegoAndai, @iammminzzy, @jacobmoshipco, @michaldudak, @necatiozmen, @oliviertassinari, @sai6855, @shrilsharma, @siriwatknp, @tonygravell, @zanivan, @ZeeshanTamboli
|
|
78
|
+
|
|
3
79
|
## v6.0.0-alpha.10
|
|
4
80
|
|
|
5
81
|
<!-- generated comparing v6.0.0-alpha.9..next -->
|
package/Card/Card.d.ts
CHANGED
|
@@ -37,12 +37,12 @@ export interface CardTypeMap<
|
|
|
37
37
|
*
|
|
38
38
|
* Demos:
|
|
39
39
|
*
|
|
40
|
-
* - [Card](https://mui.com/material-ui/react-card/)
|
|
40
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
41
41
|
*
|
|
42
42
|
* API:
|
|
43
43
|
*
|
|
44
|
-
* - [Card API](https://mui.com/material-ui/api/card/)
|
|
45
|
-
* - inherits [Paper API](https://mui.com/material-ui/api/paper/)
|
|
44
|
+
* - [Card API](https://next.mui.com/material-ui/api/card/)
|
|
45
|
+
* - inherits [Paper API](https://next.mui.com/material-ui/api/paper/)
|
|
46
46
|
*/
|
|
47
47
|
|
|
48
48
|
declare const Card: OverridableComponent<CardTypeMap>;
|
|
@@ -29,12 +29,12 @@ export type CardActionAreaTypeMap<
|
|
|
29
29
|
*
|
|
30
30
|
* Demos:
|
|
31
31
|
*
|
|
32
|
-
* - [Card](https://mui.com/material-ui/react-card/)
|
|
32
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
33
33
|
*
|
|
34
34
|
* API:
|
|
35
35
|
*
|
|
36
|
-
* - [CardActionArea API](https://mui.com/material-ui/api/card-action-area/)
|
|
37
|
-
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
36
|
+
* - [CardActionArea API](https://next.mui.com/material-ui/api/card-action-area/)
|
|
37
|
+
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
38
38
|
*/
|
|
39
39
|
declare const CardActionArea: ExtendButtonBase<
|
|
40
40
|
CardActionAreaTypeMap<{}, ButtonBaseTypeMap['defaultComponent']>
|
|
@@ -27,10 +27,10 @@ export interface CardActionsProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
27
27
|
*
|
|
28
28
|
* Demos:
|
|
29
29
|
*
|
|
30
|
-
* - [Card](https://mui.com/material-ui/react-card/)
|
|
30
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
31
31
|
*
|
|
32
32
|
* API:
|
|
33
33
|
*
|
|
34
|
-
* - [CardActions API](https://mui.com/material-ui/api/card-actions/)
|
|
34
|
+
* - [CardActions API](https://next.mui.com/material-ui/api/card-actions/)
|
|
35
35
|
*/
|
|
36
36
|
export default function CardActions(props: CardActionsProps): React.JSX.Element;
|
|
@@ -30,11 +30,11 @@ export interface CardContentTypeMap<
|
|
|
30
30
|
*
|
|
31
31
|
* Demos:
|
|
32
32
|
*
|
|
33
|
-
* - [Card](https://mui.com/material-ui/react-card/)
|
|
33
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
34
34
|
*
|
|
35
35
|
* API:
|
|
36
36
|
*
|
|
37
|
-
* - [CardContent API](https://mui.com/material-ui/api/card-content/)
|
|
37
|
+
* - [CardContent API](https://next.mui.com/material-ui/api/card-content/)
|
|
38
38
|
*/
|
|
39
39
|
declare const CardContent: OverridableComponent<CardContentTypeMap>;
|
|
40
40
|
|
|
@@ -77,11 +77,11 @@ export interface CardHeaderTypeMap<
|
|
|
77
77
|
*
|
|
78
78
|
* Demos:
|
|
79
79
|
*
|
|
80
|
-
* - [Card](https://mui.com/material-ui/react-card/)
|
|
80
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
81
81
|
*
|
|
82
82
|
* API:
|
|
83
83
|
*
|
|
84
|
-
* - [CardHeader API](https://mui.com/material-ui/api/card-header/)
|
|
84
|
+
* - [CardHeader API](https://next.mui.com/material-ui/api/card-header/)
|
|
85
85
|
*/
|
|
86
86
|
declare const CardHeader: OverridableCardHeader;
|
|
87
87
|
|
package/CardMedia/CardMedia.d.ts
CHANGED
|
@@ -40,11 +40,11 @@ export interface CardMediaTypeMap<AdditionalProps, RootComponent extends React.E
|
|
|
40
40
|
*
|
|
41
41
|
* Demos:
|
|
42
42
|
*
|
|
43
|
-
* - [Card](https://mui.com/material-ui/react-card/)
|
|
43
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
44
44
|
*
|
|
45
45
|
* API:
|
|
46
46
|
*
|
|
47
|
-
* - [CardMedia API](https://mui.com/material-ui/api/card-media/)
|
|
47
|
+
* - [CardMedia API](https://next.mui.com/material-ui/api/card-media/)
|
|
48
48
|
*/
|
|
49
49
|
declare const CardMedia: OverridableComponent<CardMediaTypeMap<{}, 'div'>>;
|
|
50
50
|
|
package/Checkbox/Checkbox.d.ts
CHANGED
|
@@ -107,12 +107,12 @@ export interface CheckboxProps
|
|
|
107
107
|
*
|
|
108
108
|
* Demos:
|
|
109
109
|
*
|
|
110
|
-
* - [Checkbox](https://mui.com/material-ui/react-checkbox/)
|
|
111
|
-
* - [Transfer List](https://mui.com/material-ui/react-transfer-list/)
|
|
110
|
+
* - [Checkbox](https://next.mui.com/material-ui/react-checkbox/)
|
|
111
|
+
* - [Transfer List](https://next.mui.com/material-ui/react-transfer-list/)
|
|
112
112
|
*
|
|
113
113
|
* API:
|
|
114
114
|
*
|
|
115
|
-
* - [Checkbox API](https://mui.com/material-ui/api/checkbox/)
|
|
116
|
-
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
115
|
+
* - [Checkbox API](https://next.mui.com/material-ui/api/checkbox/)
|
|
116
|
+
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
117
117
|
*/
|
|
118
118
|
export default function Checkbox(props: CheckboxProps): React.JSX.Element;
|
package/Chip/Chip.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface ChipOwnProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* The Avatar element to display.
|
|
17
17
|
*/
|
|
18
|
-
avatar?: React.ReactElement<
|
|
18
|
+
avatar?: React.ReactElement<unknown>;
|
|
19
19
|
/**
|
|
20
20
|
* This prop isn't supported.
|
|
21
21
|
* Use the `component` prop if you need to change the children structure.
|
|
@@ -47,7 +47,7 @@ export interface ChipOwnProps {
|
|
|
47
47
|
/**
|
|
48
48
|
* Override the default delete icon element. Shown only if `onDelete` is set.
|
|
49
49
|
*/
|
|
50
|
-
deleteIcon?: React.ReactElement<
|
|
50
|
+
deleteIcon?: React.ReactElement<unknown>;
|
|
51
51
|
/**
|
|
52
52
|
* If `true`, the component is disabled.
|
|
53
53
|
* @default false
|
|
@@ -56,7 +56,7 @@ export interface ChipOwnProps {
|
|
|
56
56
|
/**
|
|
57
57
|
* Icon element.
|
|
58
58
|
*/
|
|
59
|
-
icon?: React.ReactElement<
|
|
59
|
+
icon?: React.ReactElement<unknown>;
|
|
60
60
|
/**
|
|
61
61
|
* The content of the component.
|
|
62
62
|
*/
|
|
@@ -105,11 +105,11 @@ export interface ChipTypeMap<
|
|
|
105
105
|
*
|
|
106
106
|
* Demos:
|
|
107
107
|
*
|
|
108
|
-
* - [Chip](https://mui.com/material-ui/react-chip/)
|
|
108
|
+
* - [Chip](https://next.mui.com/material-ui/react-chip/)
|
|
109
109
|
*
|
|
110
110
|
* API:
|
|
111
111
|
*
|
|
112
|
-
* - [Chip API](https://mui.com/material-ui/api/chip/)
|
|
112
|
+
* - [Chip API](https://next.mui.com/material-ui/api/chip/)
|
|
113
113
|
*/
|
|
114
114
|
declare const Chip: OverridableComponent<ChipTypeMap>;
|
|
115
115
|
|
package/Chip/Chip.js
CHANGED
|
@@ -396,8 +396,6 @@ const Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
|
|
|
396
396
|
if (event.currentTarget === event.target) {
|
|
397
397
|
if (onDelete && isDeleteKeyboardEvent(event)) {
|
|
398
398
|
onDelete(event);
|
|
399
|
-
} else if (event.key === 'Escape' && chipRef.current) {
|
|
400
|
-
chipRef.current.blur();
|
|
401
399
|
}
|
|
402
400
|
}
|
|
403
401
|
if (onKeyUp) {
|
|
@@ -67,10 +67,10 @@ export interface CircularProgressProps
|
|
|
67
67
|
*
|
|
68
68
|
* Demos:
|
|
69
69
|
*
|
|
70
|
-
* - [Progress](https://mui.com/material-ui/react-progress/)
|
|
70
|
+
* - [Progress](https://next.mui.com/material-ui/react-progress/)
|
|
71
71
|
*
|
|
72
72
|
* API:
|
|
73
73
|
*
|
|
74
|
-
* - [CircularProgress API](https://mui.com/material-ui/api/circular-progress/)
|
|
74
|
+
* - [CircularProgress API](https://next.mui.com/material-ui/api/circular-progress/)
|
|
75
75
|
*/
|
|
76
76
|
export default function CircularProgress(props: CircularProgressProps): React.JSX.Element;
|
package/Collapse/Collapse.d.ts
CHANGED
|
@@ -54,18 +54,18 @@ export interface CollapseProps extends StandardProps<TransitionProps, 'timeout'>
|
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* The Collapse transition is used by the
|
|
57
|
-
* [Vertical Stepper](https://mui.com/material-ui/react-stepper/#vertical-stepper) StepContent component.
|
|
57
|
+
* [Vertical Stepper](https://next.mui.com/material-ui/react-stepper/#vertical-stepper) StepContent component.
|
|
58
58
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
59
59
|
*
|
|
60
60
|
* Demos:
|
|
61
61
|
*
|
|
62
|
-
* - [Card](https://mui.com/material-ui/react-card/)
|
|
63
|
-
* - [Lists](https://mui.com/material-ui/react-list/)
|
|
64
|
-
* - [Transitions](https://mui.com/material-ui/transitions/)
|
|
62
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
63
|
+
* - [Lists](https://next.mui.com/material-ui/react-list/)
|
|
64
|
+
* - [Transitions](https://next.mui.com/material-ui/transitions/)
|
|
65
65
|
*
|
|
66
66
|
* API:
|
|
67
67
|
*
|
|
68
|
-
* - [Collapse API](https://mui.com/material-ui/api/collapse/)
|
|
68
|
+
* - [Collapse API](https://next.mui.com/material-ui/api/collapse/)
|
|
69
69
|
* - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props)
|
|
70
70
|
*/
|
|
71
71
|
|
package/Collapse/Collapse.js
CHANGED
|
@@ -7,10 +7,9 @@ import { Transition } from 'react-transition-group';
|
|
|
7
7
|
import useTimeout from '@mui/utils/useTimeout';
|
|
8
8
|
import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import { styled, createUseThemeProps } from '../zero-styled';
|
|
10
|
+
import { styled, createUseThemeProps, useTheme } from '../zero-styled';
|
|
11
11
|
import { duration } from '../styles/createTransitions';
|
|
12
12
|
import { getTransitionProps } from '../transitions/utils';
|
|
13
|
-
import useTheme from '../styles/useTheme';
|
|
14
13
|
import { useForkRef } from '../utils';
|
|
15
14
|
import { getCollapseUtilityClass } from './collapseClasses';
|
|
16
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|