@mui/material 5.14.7 → 5.14.8
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 +2 -2
- package/AccordionSummary/AccordionSummary.d.ts +22 -20
- package/AppBar/AppBar.d.ts +33 -31
- package/Avatar/Avatar.d.ts +49 -50
- package/Backdrop/Backdrop.d.ts +87 -85
- package/Badge/Badge.d.ts +2 -2
- package/BottomNavigation/BottomNavigation.d.ts +35 -33
- package/BottomNavigationAction/BottomNavigationAction.d.ts +39 -37
- package/Breadcrumbs/Breadcrumbs.d.ts +69 -67
- package/Button/Button.d.ts +72 -73
- package/ButtonBase/ButtonBase.d.ts +83 -81
- package/ButtonGroup/ButtonGroup.d.ts +72 -70
- package/CHANGELOG.md +111 -19
- package/Card/Card.d.ts +19 -18
- package/CardActionArea/CardActionArea.d.ts +15 -13
- package/CardContent/CardContent.d.ts +18 -16
- package/CardHeader/CardHeader.d.ts +77 -67
- package/CardMedia/CardMedia.d.ts +30 -28
- package/Chip/Chip.d.ts +84 -82
- package/CircularProgress/CircularProgress.d.ts +1 -1
- package/CircularProgress/CircularProgress.js +1 -1
- package/Container/Container.d.ts +35 -33
- package/DialogContentText/DialogContentText.d.ts +14 -12
- package/DialogTitle/DialogTitle.d.ts +18 -16
- package/Divider/Divider.d.ts +49 -50
- package/Fab/Fab.d.ts +59 -56
- package/FormControl/FormControl.d.ts +74 -72
- package/FormHelperText/FormHelperText.d.ts +52 -50
- package/FormLabel/FormLabel.d.ts +7 -4
- package/Grid/Grid.d.ts +69 -68
- package/Hidden/Hidden.d.ts +10 -10
- package/Icon/Icon.d.ts +50 -48
- package/IconButton/IconButton.d.ts +52 -50
- package/ImageList/ImageList.d.ts +41 -39
- package/ImageListItem/ImageListItem.d.ts +28 -26
- package/ImageListItem/ImageListItem.js +2 -1
- package/InputAdornment/InputAdornment.d.ts +39 -37
- package/InputBase/InputBase.js +1 -1
- package/InputLabel/InputLabel.d.ts +58 -56
- package/InputLabel/InputLabel.js +2 -1
- package/Link/Link.d.ts +37 -39
- package/List/List.d.ts +34 -35
- package/ListItem/ListItem.d.ts +53 -49
- package/ListItemButton/ListItemButton.d.ts +9 -3
- package/ListSubheader/ListSubheader.d.ts +38 -36
- package/MenuItem/MenuItem.d.ts +47 -44
- package/MenuList/MenuList.d.ts +37 -35
- package/Modal/Modal.d.ts +172 -178
- package/PaginationItem/PaginationItem.d.ts +85 -83
- package/Paper/Paper.d.ts +2 -2
- package/Radio/Radio.js +3 -2
- package/Radio/radioClasses.d.ts +2 -0
- package/Radio/radioClasses.js +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +25 -23
- package/Select/SelectInput.js +9 -5
- package/Skeleton/Skeleton.d.ts +42 -40
- package/Slider/Slider.d.ts +249 -247
- package/Stack/Stack.d.ts +39 -38
- package/Step/Step.d.ts +46 -44
- package/StepButton/StepButton.d.ts +27 -25
- package/Stepper/Stepper.d.ts +45 -44
- package/SvgIcon/SvgIcon.d.ts +77 -75
- package/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/Tab/Tab.d.ts +52 -50
- package/TabScrollButton/TabScrollButton.d.ts +3 -2
- package/Table/Table.d.ts +35 -33
- package/TableBody/TableBody.d.ts +18 -16
- package/TableContainer/TableContainer.d.ts +18 -16
- package/TableFooter/TableFooter.d.ts +18 -16
- package/TableHead/TableHead.d.ts +18 -16
- package/TablePagination/TablePagination.d.ts +113 -112
- package/TableRow/TableRow.d.ts +28 -26
- package/TableSortLabel/TableSortLabel.d.ts +40 -36
- package/Tabs/Tabs.d.ts +153 -150
- package/ToggleButton/ToggleButton.d.ts +72 -70
- package/Toolbar/Toolbar.d.ts +29 -27
- package/Typography/Typography.d.ts +2 -2
- package/index.js +1 -1
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/ImageListItem/ImageListItem.js +2 -1
- package/legacy/InputBase/InputBase.js +1 -1
- package/legacy/InputLabel/InputLabel.js +2 -1
- package/legacy/Radio/Radio.js +3 -2
- package/legacy/Radio/radioClasses.js +1 -1
- package/legacy/Select/SelectInput.js +9 -5
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/legacy/index.js +1 -1
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/ImageListItem/ImageListItem.js +2 -1
- package/modern/InputBase/InputBase.js +1 -1
- package/modern/InputLabel/InputLabel.js +2 -1
- package/modern/Radio/Radio.js +3 -2
- package/modern/Radio/radioClasses.js +1 -1
- package/modern/Select/SelectInput.js +8 -5
- package/modern/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/modern/index.js +1 -1
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/ImageListItem/ImageListItem.js +2 -1
- package/node/InputBase/InputBase.js +1 -1
- package/node/InputLabel/InputLabel.js +2 -1
- package/node/Radio/Radio.js +3 -2
- package/node/Radio/radioClasses.js +1 -1
- package/node/Select/SelectInput.js +9 -5
- package/node/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/node/index.js +1 -1
- package/package.json +5 -5
- package/umd/material-ui.development.js +50 -23
- package/umd/material-ui.production.min.js +5 -5
package/ListItem/ListItem.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ import { ListItemClasses } from './listItemClasses';
|
|
|
7
7
|
|
|
8
8
|
export interface ListItemComponentsPropsOverrides {}
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* This type is kept for compatibility. Use `ListItemOwnProps` instead.
|
|
12
|
+
*/
|
|
10
13
|
export interface ListItemBaseProps {
|
|
11
14
|
/**
|
|
12
15
|
* Defines the `align-items` style property.
|
|
@@ -84,55 +87,56 @@ export interface ListItemBaseProps {
|
|
|
84
87
|
sx?: SxProps<Theme>;
|
|
85
88
|
}
|
|
86
89
|
|
|
87
|
-
export interface
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
90
|
+
export interface ListItemOwnProps extends ListItemBaseProps {
|
|
91
|
+
/**
|
|
92
|
+
* The components used for each slot inside.
|
|
93
|
+
*
|
|
94
|
+
* This prop is an alias for the `slots` prop.
|
|
95
|
+
* It's recommended to use the `slots` prop instead.
|
|
96
|
+
*
|
|
97
|
+
* @default {}
|
|
98
|
+
*/
|
|
99
|
+
components?: {
|
|
100
|
+
Root?: React.ElementType;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* The extra props for the slot components.
|
|
104
|
+
* You can override the existing props or add new ones.
|
|
105
|
+
*
|
|
106
|
+
* This prop is an alias for the `slotProps` prop.
|
|
107
|
+
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
108
|
+
*
|
|
109
|
+
* @default {}
|
|
110
|
+
*/
|
|
111
|
+
componentsProps?: {
|
|
112
|
+
root?: React.HTMLAttributes<HTMLDivElement> & ListItemComponentsPropsOverrides;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* The extra props for the slot components.
|
|
116
|
+
* You can override the existing props or add new ones.
|
|
117
|
+
*
|
|
118
|
+
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
119
|
+
*
|
|
120
|
+
* @default {}
|
|
121
|
+
*/
|
|
122
|
+
slotProps?: {
|
|
123
|
+
root?: React.HTMLAttributes<HTMLDivElement> & ListItemComponentsPropsOverrides;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* The components used for each slot inside.
|
|
127
|
+
*
|
|
128
|
+
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
129
|
+
*
|
|
130
|
+
* @default {}
|
|
131
|
+
*/
|
|
132
|
+
slots?: {
|
|
133
|
+
root?: React.ElementType;
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface ListItemTypeMap<AdditionalProps, RootComponent extends React.ElementType> {
|
|
138
|
+
props: AdditionalProps & ListItemOwnProps;
|
|
139
|
+
defaultComponent: RootComponent;
|
|
136
140
|
}
|
|
137
141
|
|
|
138
142
|
/**
|
|
@@ -5,6 +5,10 @@ import { ExtendButtonBase, ExtendButtonBaseTypeMap } from '../ButtonBase';
|
|
|
5
5
|
import { OverrideProps } from '../OverridableComponent';
|
|
6
6
|
import { ListItemButtonClasses } from './listItemButtonClasses';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* This interface is kept for backward compatibility. To extend `LitItemButton`
|
|
10
|
+
* props through module augmentation, use `ListItemButtonOwnProps`.
|
|
11
|
+
*/
|
|
8
12
|
export interface ListItemButtonBaseProps {
|
|
9
13
|
/**
|
|
10
14
|
* Defines the `align-items` style property.
|
|
@@ -58,12 +62,14 @@ export interface ListItemButtonBaseProps {
|
|
|
58
62
|
sx?: SxProps<Theme>;
|
|
59
63
|
}
|
|
60
64
|
|
|
65
|
+
export interface ListItemButtonOwnProps extends ListItemButtonBaseProps {}
|
|
66
|
+
|
|
61
67
|
export type ListItemButtonTypeMap<
|
|
62
68
|
AdditionalProps = {},
|
|
63
|
-
|
|
69
|
+
RootComponent extends React.ElementType = 'div',
|
|
64
70
|
> = ExtendButtonBaseTypeMap<{
|
|
65
|
-
props: AdditionalProps &
|
|
66
|
-
defaultComponent:
|
|
71
|
+
props: AdditionalProps & ListItemButtonOwnProps;
|
|
72
|
+
defaultComponent: RootComponent;
|
|
67
73
|
}>;
|
|
68
74
|
|
|
69
75
|
/**
|
|
@@ -4,45 +4,47 @@ import { Theme } from '..';
|
|
|
4
4
|
import { OverridableComponent, OverrideProps } from '../OverridableComponent';
|
|
5
5
|
import { ListSubheaderClasses } from './listSubheaderClasses';
|
|
6
6
|
|
|
7
|
+
export interface ListSubheaderOwnProps {
|
|
8
|
+
/**
|
|
9
|
+
* The content of the component.
|
|
10
|
+
*/
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Override or extend the styles applied to the component.
|
|
14
|
+
*/
|
|
15
|
+
classes?: Partial<ListSubheaderClasses>;
|
|
16
|
+
/**
|
|
17
|
+
* The color of the component. It supports those theme colors that make sense for this component.
|
|
18
|
+
* @default 'default'
|
|
19
|
+
*/
|
|
20
|
+
color?: 'default' | 'primary' | 'inherit';
|
|
21
|
+
/**
|
|
22
|
+
* If `true`, the List Subheader will not have gutters.
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
disableGutters?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, the List Subheader will not stick to the top during scroll.
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
disableSticky?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* If `true`, the List Subheader is indented.
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
inset?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
38
|
+
*/
|
|
39
|
+
sx?: SxProps<Theme>;
|
|
40
|
+
}
|
|
41
|
+
|
|
7
42
|
export interface ListSubheaderTypeMap<
|
|
8
43
|
AdditionalProps = {},
|
|
9
|
-
|
|
44
|
+
RootComponent extends React.ElementType = 'li',
|
|
10
45
|
> {
|
|
11
|
-
props: AdditionalProps &
|
|
12
|
-
|
|
13
|
-
* The content of the component.
|
|
14
|
-
*/
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
/**
|
|
17
|
-
* Override or extend the styles applied to the component.
|
|
18
|
-
*/
|
|
19
|
-
classes?: Partial<ListSubheaderClasses>;
|
|
20
|
-
/**
|
|
21
|
-
* The color of the component. It supports those theme colors that make sense for this component.
|
|
22
|
-
* @default 'default'
|
|
23
|
-
*/
|
|
24
|
-
color?: 'default' | 'primary' | 'inherit';
|
|
25
|
-
/**
|
|
26
|
-
* If `true`, the List Subheader will not have gutters.
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
disableGutters?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* If `true`, the List Subheader will not stick to the top during scroll.
|
|
32
|
-
* @default false
|
|
33
|
-
*/
|
|
34
|
-
disableSticky?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* If `true`, the List Subheader is indented.
|
|
37
|
-
* @default false
|
|
38
|
-
*/
|
|
39
|
-
inset?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
42
|
-
*/
|
|
43
|
-
sx?: SxProps<Theme>;
|
|
44
|
-
};
|
|
45
|
-
defaultComponent: DefaultComponent;
|
|
46
|
+
props: AdditionalProps & ListSubheaderOwnProps;
|
|
47
|
+
defaultComponent: RootComponent;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
/**
|
package/MenuItem/MenuItem.d.ts
CHANGED
|
@@ -1,56 +1,59 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { SxProps } from '@mui/system';
|
|
2
3
|
import { Theme } from '../styles';
|
|
3
4
|
import { ExtendButtonBase, ExtendButtonBaseTypeMap } from '../ButtonBase';
|
|
4
5
|
import { OverrideProps } from '../OverridableComponent';
|
|
5
6
|
import { MenuItemClasses } from './menuItemClasses';
|
|
6
7
|
|
|
8
|
+
export interface MenuItemOwnProps {
|
|
9
|
+
/**
|
|
10
|
+
* If `true`, the list item is focused during the first mount.
|
|
11
|
+
* Focus will also be triggered if the value changes from false to true.
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
autoFocus?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Override or extend the styles applied to the component.
|
|
17
|
+
*/
|
|
18
|
+
classes?: Partial<MenuItemClasses>;
|
|
19
|
+
/**
|
|
20
|
+
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
21
|
+
* The prop defaults to the value inherited from the parent Menu component.
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
dense?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If `true`, the component is disabled.
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* If `true`, the left and right padding is removed.
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
disableGutters?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* If `true`, a 1px light border is added to the bottom of the menu item.
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
divider?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* If `true`, the component is selected.
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
selected?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47
|
+
*/
|
|
48
|
+
sx?: SxProps<Theme>;
|
|
49
|
+
}
|
|
50
|
+
|
|
7
51
|
export type MenuItemTypeMap<
|
|
8
52
|
AdditionalProps = {},
|
|
9
|
-
|
|
53
|
+
RootComponent extends React.ElementType = 'li',
|
|
10
54
|
> = ExtendButtonBaseTypeMap<{
|
|
11
|
-
props: AdditionalProps &
|
|
12
|
-
|
|
13
|
-
* If `true`, the list item is focused during the first mount.
|
|
14
|
-
* Focus will also be triggered if the value changes from false to true.
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
autoFocus?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Override or extend the styles applied to the component.
|
|
20
|
-
*/
|
|
21
|
-
classes?: Partial<MenuItemClasses>;
|
|
22
|
-
/**
|
|
23
|
-
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
24
|
-
* The prop defaults to the value inherited from the parent Menu component.
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
dense?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* If `true`, the component is disabled.
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* If `true`, the left and right padding is removed.
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
disableGutters?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* If `true`, a 1px light border is added to the bottom of the menu item.
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
|
-
divider?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* If `true`, the component is selected.
|
|
45
|
-
* @default false
|
|
46
|
-
*/
|
|
47
|
-
selected?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
50
|
-
*/
|
|
51
|
-
sx?: SxProps<Theme>;
|
|
52
|
-
};
|
|
53
|
-
defaultComponent: DefaultComponent;
|
|
55
|
+
props: AdditionalProps & MenuItemOwnProps;
|
|
56
|
+
defaultComponent: RootComponent;
|
|
54
57
|
}>;
|
|
55
58
|
|
|
56
59
|
/**
|
package/MenuList/MenuList.d.ts
CHANGED
|
@@ -2,44 +2,46 @@ import * as React from 'react';
|
|
|
2
2
|
import { ExtendList, ExtendListTypeMap } from '../List';
|
|
3
3
|
import { OverrideProps } from '../OverridableComponent';
|
|
4
4
|
|
|
5
|
+
export interface MenuListOwnProps {
|
|
6
|
+
/**
|
|
7
|
+
* If `true`, will focus the `[role="menu"]` container and move into tab order.
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
autoFocus?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* If `true`, will focus the first menuitem if `variant="menu"` or selected item
|
|
13
|
+
* if `variant="selectedMenu"`.
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
autoFocusItem?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* MenuList contents, normally `MenuItem`s.
|
|
19
|
+
*/
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* If `true`, will allow focus on disabled items.
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
disabledItemsFocusable?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, the menu items will not wrap focus.
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
disableListWrap?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* The variant to use. Use `menu` to prevent selected items from impacting the initial focus
|
|
33
|
+
* and the vertical alignment relative to the anchor element.
|
|
34
|
+
* @default 'selectedMenu'
|
|
35
|
+
*/
|
|
36
|
+
variant?: 'menu' | 'selectedMenu';
|
|
37
|
+
}
|
|
38
|
+
|
|
5
39
|
export type MenuListTypeMap<
|
|
6
40
|
AdditionalProps = {},
|
|
7
|
-
|
|
41
|
+
RootComponent extends React.ElementType = 'ul',
|
|
8
42
|
> = ExtendListTypeMap<{
|
|
9
|
-
props: AdditionalProps &
|
|
10
|
-
|
|
11
|
-
* If `true`, will focus the `[role="menu"]` container and move into tab order.
|
|
12
|
-
* @default false
|
|
13
|
-
*/
|
|
14
|
-
autoFocus?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* If `true`, will focus the first menuitem if `variant="menu"` or selected item
|
|
17
|
-
* if `variant="selectedMenu"`.
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
autoFocusItem?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* MenuList contents, normally `MenuItem`s.
|
|
23
|
-
*/
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
/**
|
|
26
|
-
* If `true`, will allow focus on disabled items.
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
disabledItemsFocusable?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* If `true`, the menu items will not wrap focus.
|
|
32
|
-
* @default false
|
|
33
|
-
*/
|
|
34
|
-
disableListWrap?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* The variant to use. Use `menu` to prevent selected items from impacting the initial focus
|
|
37
|
-
* and the vertical alignment relative to the anchor element.
|
|
38
|
-
* @default 'selectedMenu'
|
|
39
|
-
*/
|
|
40
|
-
variant?: 'menu' | 'selectedMenu';
|
|
41
|
-
};
|
|
42
|
-
defaultComponent: DefaultComponent;
|
|
43
|
+
props: AdditionalProps & MenuListOwnProps;
|
|
44
|
+
defaultComponent: RootComponent;
|
|
43
45
|
}>;
|
|
44
46
|
|
|
45
47
|
export type MenuListClassKey = keyof NonNullable<MenuListTypeMap['props']['classes']>;
|