@mui/material 7.3.4 → 7.3.5
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/AccordionSummary/accordionSummaryClasses.d.ts +1 -1
- package/Alert/alertClasses.d.ts +24 -24
- package/Breadcrumbs/BreadcrumbCollapsed.js +0 -2
- package/Button/buttonClasses.d.ts +33 -33
- package/ButtonGroup/buttonGroupClasses.d.ts +17 -17
- package/CHANGELOG.md +55 -0
- package/Chip/chipClasses.d.ts +26 -26
- package/CircularProgress/circularProgressClasses.d.ts +2 -2
- package/Collapse/Collapse.d.ts +31 -1
- package/Collapse/Collapse.js +73 -30
- package/DefaultPropsProvider/DefaultPropsProvider.d.ts +1 -1
- package/Dialog/dialogClasses.d.ts +2 -2
- package/Divider/dividerClasses.d.ts +1 -1
- package/Drawer/drawerClasses.d.ts +8 -8
- package/GlobalStyles/GlobalStyles.js +0 -2
- package/ImageListItemBar/imageListItemBarClasses.d.ts +4 -4
- package/InitColorSchemeScript/InitColorSchemeScript.d.ts +1 -2
- package/InitColorSchemeScript/InitColorSchemeScript.js +0 -2
- package/Input/inputClasses.d.ts +4 -4
- package/InputBase/inputBaseClasses.d.ts +5 -5
- package/LinearProgress/linearProgressClasses.d.ts +9 -9
- package/OutlinedInput/NotchedOutline.js +0 -2
- package/OutlinedInput/outlinedInputClasses.d.ts +4 -4
- package/PaginationItem/paginationItemClasses.d.ts +4 -4
- package/Radio/RadioButtonIcon.js +0 -2
- package/Select/selectClasses.d.ts +3 -3
- package/Slider/sliderClasses.d.ts +7 -7
- package/StepConnector/stepConnectorClasses.d.ts +2 -2
- package/TableSortLabel/tableSortLabelClasses.d.ts +2 -2
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +2 -2
- package/Zoom/Zoom.d.ts +1 -1
- package/Zoom/Zoom.js +1 -1
- package/esm/AccordionSummary/accordionSummaryClasses.d.ts +1 -1
- package/esm/Alert/alertClasses.d.ts +24 -24
- package/esm/Breadcrumbs/BreadcrumbCollapsed.js +0 -1
- package/esm/Button/buttonClasses.d.ts +33 -33
- package/esm/ButtonGroup/buttonGroupClasses.d.ts +17 -17
- package/esm/Chip/chipClasses.d.ts +26 -26
- package/esm/CircularProgress/circularProgressClasses.d.ts +2 -2
- package/esm/Collapse/Collapse.d.ts +31 -1
- package/esm/Collapse/Collapse.js +73 -30
- package/esm/DefaultPropsProvider/DefaultPropsProvider.d.ts +1 -1
- package/esm/Dialog/dialogClasses.d.ts +2 -2
- package/esm/Divider/dividerClasses.d.ts +1 -1
- package/esm/Drawer/drawerClasses.d.ts +8 -8
- package/esm/GlobalStyles/GlobalStyles.js +0 -1
- package/esm/ImageListItemBar/imageListItemBarClasses.d.ts +4 -4
- package/esm/InitColorSchemeScript/InitColorSchemeScript.d.ts +1 -2
- package/esm/InitColorSchemeScript/InitColorSchemeScript.js +0 -1
- package/esm/Input/inputClasses.d.ts +4 -4
- package/esm/InputBase/inputBaseClasses.d.ts +5 -5
- package/esm/LinearProgress/linearProgressClasses.d.ts +9 -9
- package/esm/OutlinedInput/NotchedOutline.js +0 -1
- package/esm/OutlinedInput/outlinedInputClasses.d.ts +4 -4
- package/esm/PaginationItem/paginationItemClasses.d.ts +4 -4
- package/esm/Radio/RadioButtonIcon.js +0 -1
- package/esm/Select/selectClasses.d.ts +3 -3
- package/esm/Slider/sliderClasses.d.ts +7 -7
- package/esm/StepConnector/stepConnectorClasses.d.ts +2 -2
- package/esm/TableSortLabel/tableSortLabelClasses.d.ts +2 -2
- package/esm/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +2 -2
- package/esm/Zoom/Zoom.d.ts +1 -1
- package/esm/Zoom/Zoom.js +1 -1
- package/esm/index.js +1 -1
- package/esm/internal/svg-icons/Add.js +0 -1
- package/esm/internal/svg-icons/ArrowDownward.js +0 -1
- package/esm/internal/svg-icons/ArrowDropDown.js +0 -1
- package/esm/internal/svg-icons/Cancel.js +0 -1
- package/esm/internal/svg-icons/CheckBox.js +0 -1
- package/esm/internal/svg-icons/CheckBoxOutlineBlank.js +0 -1
- package/esm/internal/svg-icons/CheckCircle.js +0 -1
- package/esm/internal/svg-icons/Close.js +0 -1
- package/esm/internal/svg-icons/ErrorOutline.js +0 -1
- package/esm/internal/svg-icons/FirstPage.js +0 -1
- package/esm/internal/svg-icons/IndeterminateCheckBox.js +0 -1
- package/esm/internal/svg-icons/InfoOutlined.js +0 -1
- package/esm/internal/svg-icons/KeyboardArrowLeft.js +0 -1
- package/esm/internal/svg-icons/KeyboardArrowRight.js +0 -1
- package/esm/internal/svg-icons/LastPage.js +0 -1
- package/esm/internal/svg-icons/MoreHoriz.js +0 -1
- package/esm/internal/svg-icons/NavigateBefore.js +0 -1
- package/esm/internal/svg-icons/NavigateNext.js +0 -1
- package/esm/internal/svg-icons/Person.js +0 -1
- package/esm/internal/svg-icons/RadioButtonChecked.js +0 -1
- package/esm/internal/svg-icons/RadioButtonUnchecked.js +0 -1
- package/esm/internal/svg-icons/ReportProblemOutlined.js +0 -1
- package/esm/internal/svg-icons/Star.js +0 -1
- package/esm/internal/svg-icons/StarBorder.js +0 -1
- package/esm/internal/svg-icons/SuccessOutlined.js +0 -1
- package/esm/internal/svg-icons/Warning.js +0 -1
- package/esm/locale/caES.js +45 -42
- package/esm/styles/ThemeProvider.d.ts +1 -1
- package/esm/styles/ThemeProviderWithVars.d.ts +2 -3
- package/esm/styles/ThemeProviderWithVars.js +0 -1
- package/esm/styles/createThemeFoundation.d.ts +5 -3
- package/esm/styles/createThemeNoVars.d.ts +3 -1
- package/esm/styles/createThemeWithVars.d.ts +2 -2
- package/esm/styles/index.d.ts +1 -1
- package/esm/version/index.js +2 -2
- package/esm/zero-styled/index.d.ts +1 -2
- package/esm/zero-styled/index.js +0 -1
- package/index.js +1 -1
- package/internal/svg-icons/Add.js +0 -2
- package/internal/svg-icons/ArrowDownward.js +0 -2
- package/internal/svg-icons/ArrowDropDown.js +0 -2
- package/internal/svg-icons/Cancel.js +0 -2
- package/internal/svg-icons/CheckBox.js +0 -2
- package/internal/svg-icons/CheckBoxOutlineBlank.js +0 -2
- package/internal/svg-icons/CheckCircle.js +0 -2
- package/internal/svg-icons/Close.js +0 -2
- package/internal/svg-icons/ErrorOutline.js +0 -2
- package/internal/svg-icons/FirstPage.js +0 -2
- package/internal/svg-icons/IndeterminateCheckBox.js +0 -2
- package/internal/svg-icons/InfoOutlined.js +0 -2
- package/internal/svg-icons/KeyboardArrowLeft.js +0 -2
- package/internal/svg-icons/KeyboardArrowRight.js +0 -2
- package/internal/svg-icons/LastPage.js +0 -2
- package/internal/svg-icons/MoreHoriz.js +0 -2
- package/internal/svg-icons/NavigateBefore.js +0 -2
- package/internal/svg-icons/NavigateNext.js +0 -2
- package/internal/svg-icons/Person.js +0 -2
- package/internal/svg-icons/RadioButtonChecked.js +0 -2
- package/internal/svg-icons/RadioButtonUnchecked.js +0 -2
- package/internal/svg-icons/ReportProblemOutlined.js +0 -2
- package/internal/svg-icons/Star.js +0 -2
- package/internal/svg-icons/StarBorder.js +0 -2
- package/internal/svg-icons/SuccessOutlined.js +0 -2
- package/internal/svg-icons/Warning.js +0 -2
- package/locale/caES.js +45 -42
- package/package.json +7 -7
- package/styles/ThemeProvider.d.ts +1 -1
- package/styles/ThemeProviderWithVars.d.ts +2 -3
- package/styles/ThemeProviderWithVars.js +0 -2
- package/styles/createThemeFoundation.d.ts +5 -3
- package/styles/createThemeNoVars.d.ts +3 -1
- package/styles/createThemeWithVars.d.ts +2 -2
- package/styles/index.d.ts +1 -1
- package/version/index.js +2 -2
- package/zero-styled/index.d.ts +1 -2
- package/zero-styled/index.js +0 -2
package/Chip/chipClasses.d.ts
CHANGED
|
@@ -24,21 +24,21 @@ export interface ChipClasses {
|
|
|
24
24
|
/** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
|
|
25
25
|
clickable: string;
|
|
26
26
|
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`.
|
|
27
|
-
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-clickable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
27
|
+
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-MuiChip-clickable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-MuiChip-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
28
28
|
*/
|
|
29
29
|
clickableColorPrimary: string;
|
|
30
30
|
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`.
|
|
31
|
-
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-clickable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
31
|
+
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-MuiChip-clickable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-MuiChip-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
32
32
|
*/
|
|
33
33
|
clickableColorSecondary: string;
|
|
34
34
|
/** Styles applied to the root element if `onDelete` is defined. */
|
|
35
35
|
deletable: string;
|
|
36
36
|
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined.
|
|
37
|
-
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-deletable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
37
|
+
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-MuiChip-deletable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-MuiChip-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
38
38
|
*/
|
|
39
39
|
deletableColorPrimary: string;
|
|
40
40
|
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined.
|
|
41
|
-
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-deletable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
41
|
+
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-MuiChip-deletable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-MuiChip-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
42
42
|
*/
|
|
43
43
|
deletableColorSecondary: string;
|
|
44
44
|
/** Styles applied to the root element if `variant="outlined"`. */
|
|
@@ -46,99 +46,99 @@ export interface ChipClasses {
|
|
|
46
46
|
/** Styles applied to the root element if `variant="filled"`. */
|
|
47
47
|
filled: string;
|
|
48
48
|
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`.
|
|
49
|
-
* @deprecated Combine the [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
49
|
+
* @deprecated Combine the [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-MuiChip-outlined) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-MuiChip-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
50
50
|
*/
|
|
51
51
|
outlinedPrimary: string;
|
|
52
52
|
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`.
|
|
53
|
-
* @deprecated Combine the [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
53
|
+
* @deprecated Combine the [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-MuiChip-outlined) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-MuiChip-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
54
54
|
*/
|
|
55
55
|
outlinedSecondary: string;
|
|
56
56
|
/** Styles applied to the root element if `variant="filled"` and `color="primary"`.
|
|
57
|
-
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
57
|
+
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-MuiChip-filled) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-MuiChip-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
58
58
|
*/
|
|
59
59
|
filledPrimary: string;
|
|
60
60
|
/** Styles applied to the root element if `variant="filled"` and `color="secondary"`.
|
|
61
|
-
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
61
|
+
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-MuiChip-filled) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-MuiChip-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
62
62
|
*/
|
|
63
63
|
filledSecondary: string;
|
|
64
64
|
/** Styles applied to the avatar element. */
|
|
65
65
|
avatar: string;
|
|
66
66
|
/** Styles applied to the avatar element if `size="small"`.
|
|
67
|
-
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
67
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-MuiChip-avatar) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-MuiChip-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
68
68
|
*/
|
|
69
69
|
avatarSmall: string;
|
|
70
70
|
/** Styles applied to the avatar element if `size="medium"`.
|
|
71
|
-
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
71
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-MuiChip-avatar) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-MuiChip-sizeMedium) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
72
72
|
*/
|
|
73
73
|
avatarMedium: string;
|
|
74
74
|
/** Styles applied to the avatar element if `color="primary"`.
|
|
75
|
-
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
75
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-MuiChip-avatar) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-MuiChip-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
76
76
|
*/
|
|
77
77
|
avatarColorPrimary: string;
|
|
78
78
|
/** Styles applied to the avatar element if `color="secondary"`.
|
|
79
|
-
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
79
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-MuiChip-avatar) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-MuiChip-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
80
80
|
*/
|
|
81
81
|
avatarColorSecondary: string;
|
|
82
82
|
/** Styles applied to the icon element. */
|
|
83
83
|
icon: string;
|
|
84
84
|
/** Styles applied to the icon element if `size="small"`.
|
|
85
|
-
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
85
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-MuiChip-icon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-MuiChip-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
86
86
|
*/
|
|
87
87
|
iconSmall: string;
|
|
88
88
|
/** Styles applied to the icon element if `size="medium"`.
|
|
89
|
-
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
89
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-MuiChip-icon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-MuiChip-sizeMedium) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
90
90
|
*/
|
|
91
91
|
iconMedium: string;
|
|
92
92
|
/** Styles applied to the icon element if `color="primary"`.
|
|
93
|
-
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
93
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-MuiChip-icon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-MuiChip-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
94
94
|
*/
|
|
95
95
|
iconColorPrimary: string;
|
|
96
96
|
/** Styles applied to the icon element if `color="secondary"`.
|
|
97
|
-
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
97
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-MuiChip-icon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-MuiChip-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
98
98
|
*/
|
|
99
99
|
iconColorSecondary: string;
|
|
100
100
|
/** Styles applied to the label `span` element. */
|
|
101
101
|
label: string;
|
|
102
102
|
/** Styles applied to the label `span` element if `size="small"`.
|
|
103
|
-
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#
|
|
103
|
+
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#Chip-css-MuiChip-label) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-MuiChip-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
104
104
|
*/
|
|
105
105
|
labelSmall: string;
|
|
106
106
|
/** Styles applied to the label `span` element if `size="medium"`.
|
|
107
|
-
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#
|
|
107
|
+
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#Chip-css-MuiChip-label) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-MuiChip-sizeMedium) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
108
108
|
*/
|
|
109
109
|
labelMedium: string;
|
|
110
110
|
/** Styles applied to the deleteIcon element. */
|
|
111
111
|
deleteIcon: string;
|
|
112
112
|
/** Styles applied to the deleteIcon element if `size="small"`.
|
|
113
|
-
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
113
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-MuiChip-deleteIcon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-MuiChip-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
114
114
|
*/
|
|
115
115
|
deleteIconSmall: string;
|
|
116
116
|
/** Styles applied to the deleteIcon element if `size="medium"`.
|
|
117
|
-
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
117
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-MuiChip-deleteIcon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-MuiChip-sizeMedium) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
118
118
|
*/
|
|
119
119
|
deleteIconMedium: string;
|
|
120
120
|
/** Styles applied to the deleteIcon element if `color="primary"`.
|
|
121
|
-
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
121
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-MuiChip-deleteIcon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-MuiChip-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
122
122
|
*/
|
|
123
123
|
deleteIconColorPrimary: string;
|
|
124
124
|
/** Styles applied to the deleteIcon element if `color="secondary"`.
|
|
125
|
-
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
125
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-MuiChip-deleteIcon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-MuiChip-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
126
126
|
*/
|
|
127
127
|
deleteIconColorSecondary: string;
|
|
128
128
|
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`.
|
|
129
|
-
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
129
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-MuiChip-deleteIcon) , [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-MuiChip-outlined) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-MuiChip-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
130
130
|
*/
|
|
131
131
|
deleteIconOutlinedColorPrimary: string;
|
|
132
132
|
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`.
|
|
133
|
-
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
133
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-MuiChip-deleteIcon) , [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-MuiChip-outlined) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-MuiChip-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
134
134
|
*/
|
|
135
135
|
deleteIconOutlinedColorSecondary: string;
|
|
136
136
|
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`.
|
|
137
|
-
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
137
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-MuiChip-deleteIcon) , [.MuiChip-filled](/material-ui/api/chip/#chip-classes-MuiChip-filled) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-MuiChip-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
138
138
|
*/
|
|
139
139
|
deleteIconFilledColorPrimary: string;
|
|
140
140
|
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`.
|
|
141
|
-
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
141
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-MuiChip-deleteIcon) , [.MuiChip-filled](/material-ui/api/chip/#chip-classes-MuiChip-filled) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-MuiChip-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
142
142
|
*/
|
|
143
143
|
deleteIconFilledColorSecondary: string;
|
|
144
144
|
/** State class applied to the root element if keyboard focused. */
|
|
@@ -16,11 +16,11 @@ export interface CircularProgressClasses {
|
|
|
16
16
|
/** Styles applied to the `circle` svg path. */
|
|
17
17
|
circle: string;
|
|
18
18
|
/** Styles applied to the `circle` svg path if `variant="determinate"`.
|
|
19
|
-
* @deprecated Combine the [.MuiCircularProgress-circle](/material-ui/api/circular-progress/#circular-progress-classes-circle) and [.MuiCircularProgress-determinate](/material-ui/api/circular-progress/#circular-progress-classes-determinate) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
19
|
+
* @deprecated Combine the [.MuiCircularProgress-circle](/material-ui/api/circular-progress/#circular-progress-classes-MuiCircularProgress-circle) and [.MuiCircularProgress-determinate](/material-ui/api/circular-progress/#circular-progress-classes-MuiCircularProgress-determinate) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
20
20
|
*/
|
|
21
21
|
circleDeterminate: string;
|
|
22
22
|
/** Styles applied to the `circle` svg path if `variant="indeterminate"`.
|
|
23
|
-
* @deprecated Combine the [.MuiCircularProgress-circle](/material-ui/api/circular-progress/#circular-progress-classes-circle) and [.MuiCircularProgress-indeterminate](/material-ui/api/circular-progress/#circular-progress-classes-indeterminate) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
23
|
+
* @deprecated Combine the [.MuiCircularProgress-circle](/material-ui/api/circular-progress/#circular-progress-classes-MuiCircularProgress-circle) and [.MuiCircularProgress-indeterminate](/material-ui/api/circular-progress/#circular-progress-classes-MuiCircularProgress-indeterminate) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
24
24
|
*/
|
|
25
25
|
circleIndeterminate: string;
|
|
26
26
|
/** Styles applied to the `circle` svg path if `disableShrink={true}`. */
|
package/Collapse/Collapse.d.ts
CHANGED
|
@@ -1,10 +1,37 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
+
import { TransitionStatus } from 'react-transition-group';
|
|
3
4
|
import { Theme } from "../styles/index.js";
|
|
4
5
|
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
6
|
import { TransitionProps } from "../transitions/transition.js";
|
|
6
7
|
import { CollapseClasses } from "./collapseClasses.js";
|
|
7
|
-
|
|
8
|
+
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
9
|
+
export interface CollapseSlots {
|
|
10
|
+
/**
|
|
11
|
+
* The component that renders the root.
|
|
12
|
+
* @default 'div'
|
|
13
|
+
*/
|
|
14
|
+
root?: React.ElementType;
|
|
15
|
+
/**
|
|
16
|
+
* The component that renders the wrapper.
|
|
17
|
+
* @default 'div'
|
|
18
|
+
*/
|
|
19
|
+
wrapper?: React.ElementType;
|
|
20
|
+
/**
|
|
21
|
+
* The component that renders the inner wrapper.
|
|
22
|
+
* @default 'div'
|
|
23
|
+
*/
|
|
24
|
+
wrapperInner?: React.ElementType;
|
|
25
|
+
}
|
|
26
|
+
export interface CollapseRootSlotPropsOverrides {}
|
|
27
|
+
export interface CollapseWrapperSlotPropsOverrides {}
|
|
28
|
+
export interface CollapseWrapperInnerSlotPropsOverrides {}
|
|
29
|
+
export type CollapseSlotsAndSlotProps = CreateSlotsAndSlotProps<CollapseSlots, {
|
|
30
|
+
root: SlotProps<'div', CollapseRootSlotPropsOverrides, CollapseOwnerState>;
|
|
31
|
+
wrapper: SlotProps<'div', CollapseWrapperSlotPropsOverrides, CollapseOwnerState>;
|
|
32
|
+
wrapperInner: SlotProps<'div', CollapseWrapperInnerSlotPropsOverrides, CollapseOwnerState>;
|
|
33
|
+
}>;
|
|
34
|
+
export interface CollapseProps extends StandardProps<TransitionProps, 'timeout'>, CollapseSlotsAndSlotProps {
|
|
8
35
|
/**
|
|
9
36
|
* The content node to be collapsed.
|
|
10
37
|
*/
|
|
@@ -51,6 +78,9 @@ export interface CollapseProps extends StandardProps<TransitionProps, 'timeout'>
|
|
|
51
78
|
*/
|
|
52
79
|
sx?: SxProps<Theme>;
|
|
53
80
|
}
|
|
81
|
+
export interface CollapseOwnerState extends CollapseProps {
|
|
82
|
+
state: TransitionStatus;
|
|
83
|
+
}
|
|
54
84
|
|
|
55
85
|
/**
|
|
56
86
|
* The Collapse transition is used by the
|
package/Collapse/Collapse.js
CHANGED
|
@@ -20,6 +20,7 @@ var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
|
20
20
|
var _createTransitions = require("../styles/createTransitions");
|
|
21
21
|
var _utils = require("../transitions/utils");
|
|
22
22
|
var _utils2 = require("../utils");
|
|
23
|
+
var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
|
|
23
24
|
var _collapseClasses = require("./collapseClasses");
|
|
24
25
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
26
|
const useUtilityClasses = ownerState => {
|
|
@@ -143,6 +144,8 @@ const Collapse = /*#__PURE__*/React.forwardRef(function Collapse(inProps, ref) {
|
|
|
143
144
|
onExited,
|
|
144
145
|
onExiting,
|
|
145
146
|
orientation = 'vertical',
|
|
147
|
+
slots = {},
|
|
148
|
+
slotProps = {},
|
|
146
149
|
style,
|
|
147
150
|
timeout = _createTransitions.duration.standard,
|
|
148
151
|
// eslint-disable-next-line react/prop-types
|
|
@@ -265,6 +268,37 @@ const Collapse = /*#__PURE__*/React.forwardRef(function Collapse(inProps, ref) {
|
|
|
265
268
|
addEndListener(nodeRef.current, next);
|
|
266
269
|
}
|
|
267
270
|
};
|
|
271
|
+
const externalForwardedProps = {
|
|
272
|
+
slots,
|
|
273
|
+
slotProps,
|
|
274
|
+
component
|
|
275
|
+
};
|
|
276
|
+
const [RootSlot, rootSlotProps] = (0, _useSlot.default)('root', {
|
|
277
|
+
ref: handleRef,
|
|
278
|
+
className: (0, _clsx.default)(classes.root, className),
|
|
279
|
+
elementType: CollapseRoot,
|
|
280
|
+
externalForwardedProps,
|
|
281
|
+
ownerState,
|
|
282
|
+
additionalProps: {
|
|
283
|
+
style: {
|
|
284
|
+
[isHorizontal ? 'minWidth' : 'minHeight']: collapsedSize,
|
|
285
|
+
...style
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
const [WrapperSlot, wrapperSlotProps] = (0, _useSlot.default)('wrapper', {
|
|
290
|
+
ref: wrapperRef,
|
|
291
|
+
className: classes.wrapper,
|
|
292
|
+
elementType: CollapseWrapper,
|
|
293
|
+
externalForwardedProps,
|
|
294
|
+
ownerState
|
|
295
|
+
});
|
|
296
|
+
const [WrapperInnerSlot, wrapperInnerSlotProps] = (0, _useSlot.default)('wrapperInner', {
|
|
297
|
+
className: classes.wrapperInner,
|
|
298
|
+
elementType: CollapseWrapperInner,
|
|
299
|
+
externalForwardedProps,
|
|
300
|
+
ownerState
|
|
301
|
+
});
|
|
268
302
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(TransitionComponent, {
|
|
269
303
|
in: inProp,
|
|
270
304
|
onEnter: handleEnter,
|
|
@@ -280,39 +314,30 @@ const Collapse = /*#__PURE__*/React.forwardRef(function Collapse(inProps, ref) {
|
|
|
280
314
|
children: (state, {
|
|
281
315
|
ownerState: incomingOwnerState,
|
|
282
316
|
...restChildProps
|
|
283
|
-
}) =>
|
|
284
|
-
|
|
285
|
-
className: (0, _clsx.default)(classes.root, className, {
|
|
286
|
-
'entered': classes.entered,
|
|
287
|
-
'exited': !inProp && collapsedSize === '0px' && classes.hidden
|
|
288
|
-
}[state]),
|
|
289
|
-
style: {
|
|
290
|
-
[isHorizontal ? 'minWidth' : 'minHeight']: collapsedSize,
|
|
291
|
-
...style
|
|
292
|
-
},
|
|
293
|
-
ref: handleRef,
|
|
294
|
-
ownerState: {
|
|
317
|
+
}) => {
|
|
318
|
+
const stateOwnerState = {
|
|
295
319
|
...ownerState,
|
|
296
320
|
state
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
},
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
321
|
+
};
|
|
322
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(RootSlot, {
|
|
323
|
+
...rootSlotProps,
|
|
324
|
+
className: (0, _clsx.default)(rootSlotProps.className, {
|
|
325
|
+
'entered': classes.entered,
|
|
326
|
+
'exited': !inProp && collapsedSize === '0px' && classes.hidden
|
|
327
|
+
}[state]),
|
|
328
|
+
ownerState: stateOwnerState,
|
|
329
|
+
...restChildProps,
|
|
330
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(WrapperSlot, {
|
|
331
|
+
...wrapperSlotProps,
|
|
332
|
+
ownerState: stateOwnerState,
|
|
333
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(WrapperInnerSlot, {
|
|
334
|
+
...wrapperInnerSlotProps,
|
|
335
|
+
ownerState: stateOwnerState,
|
|
336
|
+
children: children
|
|
337
|
+
})
|
|
313
338
|
})
|
|
314
|
-
})
|
|
315
|
-
}
|
|
339
|
+
});
|
|
340
|
+
}
|
|
316
341
|
});
|
|
317
342
|
});
|
|
318
343
|
process.env.NODE_ENV !== "production" ? Collapse.propTypes /* remove-proptypes */ = {
|
|
@@ -389,6 +414,24 @@ process.env.NODE_ENV !== "production" ? Collapse.propTypes /* remove-proptypes *
|
|
|
389
414
|
* @default 'vertical'
|
|
390
415
|
*/
|
|
391
416
|
orientation: _propTypes.default.oneOf(['horizontal', 'vertical']),
|
|
417
|
+
/**
|
|
418
|
+
* The props used for each slot inside.
|
|
419
|
+
* @default {}
|
|
420
|
+
*/
|
|
421
|
+
slotProps: _propTypes.default.shape({
|
|
422
|
+
root: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
423
|
+
wrapper: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
424
|
+
wrapperInner: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
|
|
425
|
+
}),
|
|
426
|
+
/**
|
|
427
|
+
* The components used for each slot inside.
|
|
428
|
+
* @default {}
|
|
429
|
+
*/
|
|
430
|
+
slots: _propTypes.default.shape({
|
|
431
|
+
root: _propTypes.default.elementType,
|
|
432
|
+
wrapper: _propTypes.default.elementType,
|
|
433
|
+
wrapperInner: _propTypes.default.elementType
|
|
434
|
+
}),
|
|
392
435
|
/**
|
|
393
436
|
* @ignore
|
|
394
437
|
*/
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import type { ComponentsPropsList } from "../styles/props.js";
|
|
3
3
|
declare function DefaultPropsProvider(props: React.PropsWithChildren<{
|
|
4
4
|
value: { [P in keyof ComponentsPropsList]?: Partial<ComponentsPropsList[P]> };
|
|
5
|
-
}>):
|
|
5
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare namespace DefaultPropsProvider {
|
|
7
7
|
var propTypes: any;
|
|
8
8
|
}
|
|
@@ -10,11 +10,11 @@ export interface DialogClasses {
|
|
|
10
10
|
/** Styles applied to the Paper component. */
|
|
11
11
|
paper: string;
|
|
12
12
|
/** Styles applied to the Paper component if `scroll="paper"`.
|
|
13
|
-
* @deprecated Combine the [.MuiDialog-paper](/material-ui/api/dialog/#
|
|
13
|
+
* @deprecated Combine the [.MuiDialog-paper](/material-ui/api/dialog/#Dialog-css-MuiDialog-paper) and [.MuiDialog-scrollPaper](/material-ui/api/dialog/#dialog-classes-MuiDialog-scrollPaper) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
14
14
|
*/
|
|
15
15
|
paperScrollPaper: string;
|
|
16
16
|
/** Styles applied to the Paper component if `scroll="body"`.
|
|
17
|
-
* @deprecated Combine the [.MuiDialog-paper](/material-ui/api/dialog/#
|
|
17
|
+
* @deprecated Combine the [.MuiDialog-paper](/material-ui/api/dialog/#Dialog-css-MuiDialog-paper) and [.MuiDialog-scrollBody](/material-ui/api/dialog/#dialog-classes-MuiDialog-scrollBody) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
18
18
|
*/
|
|
19
19
|
paperScrollBody: string;
|
|
20
20
|
/** Styles applied to the Paper component if `maxWidth=false`. */
|
|
@@ -20,7 +20,7 @@ export interface DividerClasses {
|
|
|
20
20
|
/** Styles applied to the root element if divider have text. */
|
|
21
21
|
withChildren: string;
|
|
22
22
|
/** Styles applied to the root element if divider have text and `orientation="vertical"`.
|
|
23
|
-
* @deprecated Combine the [.MuiDivider-withChildren](/material-ui/api/divider/#divider-classes-withChildren) and [.MuiDivider-vertical](/material-ui/api/divider/#divider-classes-vertical) classes instead.
|
|
23
|
+
* @deprecated Combine the [.MuiDivider-withChildren](/material-ui/api/divider/#divider-classes-MuiDivider-withChildren) and [.MuiDivider-vertical](/material-ui/api/divider/#divider-classes-MuiDivider-vertical) classes instead.
|
|
24
24
|
*/
|
|
25
25
|
withChildrenVertical: string;
|
|
26
26
|
/** Styles applied to the root element if `textAlign="right" orientation="horizontal"`. */
|
|
@@ -14,35 +14,35 @@ export interface DrawerClasses {
|
|
|
14
14
|
/** Styles applied to the root element if `anchor="bottom"`. */
|
|
15
15
|
anchorBottom: string;
|
|
16
16
|
/** Styles applied to the Paper component if `anchor="left"`.
|
|
17
|
-
* @deprecated Combine the [.MuiDrawer-anchorLeft](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorLeft) and [.MuiDrawer-paper](/material-ui/api/drawer/#
|
|
17
|
+
* @deprecated Combine the [.MuiDrawer-anchorLeft](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorLeft) and [.MuiDrawer-paper](/material-ui/api/drawer/#Drawer-css-MuiDrawer-paper) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
18
18
|
*/
|
|
19
19
|
paperAnchorLeft: string;
|
|
20
20
|
/** Styles applied to the Paper component if `anchor="right"`.
|
|
21
|
-
* @deprecated Combine the [.MuiDrawer-anchorRight](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorRight) and [.MuiDrawer-paper](/material-ui/api/drawer/#
|
|
21
|
+
* @deprecated Combine the [.MuiDrawer-anchorRight](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorRight) and [.MuiDrawer-paper](/material-ui/api/drawer/#Drawer-css-MuiDrawer-paper) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
22
22
|
*/
|
|
23
23
|
paperAnchorRight: string;
|
|
24
24
|
/** Styles applied to the Paper component if `anchor="top"`.
|
|
25
|
-
* @deprecated Combine the [.MuiDrawer-anchorTop](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorTop) and [.MuiDrawer-paper](/material-ui/api/drawer/#
|
|
25
|
+
* @deprecated Combine the [.MuiDrawer-anchorTop](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorTop) and [.MuiDrawer-paper](/material-ui/api/drawer/#Drawer-css-MuiDrawer-paper) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
26
26
|
*/
|
|
27
27
|
paperAnchorTop: string;
|
|
28
28
|
/** Styles applied to the Paper component if `anchor="bottom"`.
|
|
29
|
-
* @deprecated Combine the [.MuiDrawer-anchorBottom](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorBottom) and [.MuiDrawer-paper](/material-ui/api/drawer/#
|
|
29
|
+
* @deprecated Combine the [.MuiDrawer-anchorBottom](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorBottom) and [.MuiDrawer-paper](/material-ui/api/drawer/#Drawer-css-MuiDrawer-paper) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
30
30
|
*/
|
|
31
31
|
paperAnchorBottom: string;
|
|
32
32
|
/** Styles applied to the Paper component if `anchor="left"` and `variant` is not "temporary".
|
|
33
|
-
* @deprecated Combine the [.MuiDrawer-anchorLeft](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorLeft), [.MuiDrawer-docked](/material-ui/api/drawer/#
|
|
33
|
+
* @deprecated Combine the [.MuiDrawer-anchorLeft](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorLeft), [.MuiDrawer-docked](/material-ui/api/drawer/#Drawer-css-MuiDrawer-docked) and [.MuiDrawer-paper](/material-ui/api/drawer/#Drawer-css-MuiDrawer-paper) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
34
34
|
*/
|
|
35
35
|
paperAnchorDockedLeft: string;
|
|
36
36
|
/** Styles applied to the Paper component if `anchor="top"` and `variant` is not "temporary".
|
|
37
|
-
* @deprecated Combine the [.MuiDrawer-anchorTop](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorTop), [.MuiDrawer-docked](/material-ui/api/drawer/#
|
|
37
|
+
* @deprecated Combine the [.MuiDrawer-anchorTop](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorTop), [.MuiDrawer-docked](/material-ui/api/drawer/#Drawer-css-MuiDrawer-docked) and [.MuiDrawer-paper](/material-ui/api/drawer/#Drawer-css-MuiDrawer-paper) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
38
38
|
*/
|
|
39
39
|
paperAnchorDockedTop: string;
|
|
40
40
|
/** Styles applied to the Paper component if `anchor="right"` and `variant` is not "temporary".
|
|
41
|
-
* @deprecated Combine the [.MuiDrawer-anchorRight](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorRight), [.MuiDrawer-docked](/material-ui/api/drawer/#
|
|
41
|
+
* @deprecated Combine the [.MuiDrawer-anchorRight](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorRight), [.MuiDrawer-docked](/material-ui/api/drawer/#Drawer-css-MuiDrawer-docked) and [.MuiDrawer-paper](/material-ui/api/drawer/#Drawer-css-MuiDrawer-paper) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
42
42
|
*/
|
|
43
43
|
paperAnchorDockedRight: string;
|
|
44
44
|
/** Styles applied to the Paper component if `anchor="bottom"` and `variant` is not "temporary".
|
|
45
|
-
* @deprecated Combine the [.MuiDrawer-anchorBottom](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorBottom), [.MuiDrawer-docked](/material-ui/api/drawer/#
|
|
45
|
+
* @deprecated Combine the [.MuiDrawer-anchorBottom](/material-ui/api/drawer/#drawer-classes-MuiDrawer-anchorBottom), [.MuiDrawer-docked](/material-ui/api/drawer/#Drawer-css-MuiDrawer-docked) and [.MuiDrawer-paper](/material-ui/api/drawer/#Drawer-css-MuiDrawer-paper) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
46
46
|
*/
|
|
47
47
|
paperAnchorDockedBottom: string;
|
|
48
48
|
/** Styles applied to the Modal component. */
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
'use client';
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
5
|
Object.defineProperty(exports, "__esModule", {
|
|
7
6
|
value: true
|
|
8
7
|
});
|
|
9
8
|
exports.default = void 0;
|
|
10
|
-
var React = _interopRequireWildcard(require("react"));
|
|
11
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
10
|
var _system = require("@mui/system");
|
|
13
11
|
var _defaultTheme = _interopRequireDefault(require("../styles/defaultTheme"));
|
|
@@ -14,15 +14,15 @@ export interface ImageListItemBarClasses {
|
|
|
14
14
|
/** Styles applied to the title and subtitle container element. */
|
|
15
15
|
titleWrap: string;
|
|
16
16
|
/** Styles applied to the title and subtitle container element if `position="below"`.
|
|
17
|
-
* @deprecated Combine the [.MuiImageListItemBar-titleWrap](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-titleWrap) and [.MuiImageListItemBar-positionBelow](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-positionBelow) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
17
|
+
* @deprecated Combine the [.MuiImageListItemBar-titleWrap](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-MuiImageListItemBar-titleWrap) and [.MuiImageListItemBar-positionBelow](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-MuiImageListItemBar-positionBelow) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
18
18
|
*/
|
|
19
19
|
titleWrapBelow: string;
|
|
20
20
|
/** Styles applied to the container element if `actionPosition="left"`.
|
|
21
|
-
* @deprecated Combine the [.MuiImageListItemBar-titleWrap](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-titleWrap) and [.MuiImageListItemBar-actionPositionLeft](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-actionPositionLeft) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
21
|
+
* @deprecated Combine the [.MuiImageListItemBar-titleWrap](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-MuiImageListItemBar-titleWrap) and [.MuiImageListItemBar-actionPositionLeft](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-MuiImageListItemBar-actionPositionLeft) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
22
22
|
*/
|
|
23
23
|
titleWrapActionPosLeft: string;
|
|
24
24
|
/** Styles applied to the container element if `actionPosition="right"`.
|
|
25
|
-
* @deprecated Combine the [.MuiImageListItemBar-titleWrap](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-titleWrap) and [.MuiImageListItemBar-actionPositionRight](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-actionPositionRight) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
25
|
+
* @deprecated Combine the [.MuiImageListItemBar-titleWrap](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-MuiImageListItemBar-titleWrap) and [.MuiImageListItemBar-actionPositionRight](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-MuiImageListItemBar-actionPositionRight) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
26
26
|
*/
|
|
27
27
|
titleWrapActionPosRight: string;
|
|
28
28
|
/** Styles applied to the title container element. */
|
|
@@ -32,7 +32,7 @@ export interface ImageListItemBarClasses {
|
|
|
32
32
|
/** Styles applied to the actionIcon if supplied. */
|
|
33
33
|
actionIcon: string;
|
|
34
34
|
/** Styles applied to the actionIcon if `actionPosition="left"`.
|
|
35
|
-
* @deprecated Combine the [.MuiImageListItemBar-actionIcon](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-actionIcon) and [.MuiImageListItemBar-actionPositionLeft](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-actionPositionLeft) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
35
|
+
* @deprecated Combine the [.MuiImageListItemBar-actionIcon](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-MuiImageListItemBar-actionIcon) and [.MuiImageListItemBar-actionPositionLeft](/material-ui/api/image-list-item-bar/#image-list-item-bar-classes-MuiImageListItemBar-actionPositionLeft) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
36
36
|
*/
|
|
37
37
|
actionIconActionPosLeft: string;
|
|
38
38
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
export declare const defaultConfig: {
|
|
3
2
|
readonly attribute: "data-mui-color-scheme";
|
|
4
3
|
readonly colorSchemeStorageKey: "mui-color-scheme";
|
|
@@ -59,7 +58,7 @@ export interface InitColorSchemeScriptProps {
|
|
|
59
58
|
*
|
|
60
59
|
* - [InitColorSchemeScript API](https://mui.com/material-ui/api/init-color-scheme-script/)
|
|
61
60
|
*/
|
|
62
|
-
declare function InitColorSchemeScript(props: InitColorSchemeScriptProps):
|
|
61
|
+
declare function InitColorSchemeScript(props: InitColorSchemeScriptProps): import("react/jsx-runtime").JSX.Element;
|
|
63
62
|
declare namespace InitColorSchemeScript {
|
|
64
63
|
var propTypes: any;
|
|
65
64
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.defaultConfig = exports.default = void 0;
|
|
9
|
-
var React = _interopRequireWildcard(require("react"));
|
|
10
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
9
|
var _InitColorSchemeScript = _interopRequireDefault(require("@mui/system/InitColorSchemeScript"));
|
|
12
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
package/Input/inputClasses.d.ts
CHANGED
|
@@ -22,19 +22,19 @@ export interface InputClasses {
|
|
|
22
22
|
/** Styles applied to the input element. */
|
|
23
23
|
input: string;
|
|
24
24
|
/** Styles applied to the input element if `size="small"`.
|
|
25
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#
|
|
25
|
+
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#input-base-classes-MuiInputBase-input) and [.MuiInputBase-sizeSmall](/material-ui/api/input-base/#input-base-classes-MuiInputBase-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
26
26
|
*/
|
|
27
27
|
inputSizeSmall: string;
|
|
28
28
|
/** Styles applied to the input element if `multiline={true}`.
|
|
29
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#
|
|
29
|
+
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#input-base-classes-MuiInputBase-input) and [.MuiInputBase-multiline](/material-ui/api/input-base/#input-base-classes-MuiInputBase-multiline) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
30
30
|
*/
|
|
31
31
|
inputMultiline: string;
|
|
32
32
|
/** Styles applied to the input element if `startAdornment` is provided.
|
|
33
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#
|
|
33
|
+
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#input-base-classes-MuiInputBase-input) and [.MuiInputBase-adornedStart](/material-ui/api/input-base/#input-base-classes-MuiInputBase-adornedStart) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
34
34
|
*/
|
|
35
35
|
inputAdornedStart: string;
|
|
36
36
|
/** Styles applied to the input element if `endAdornment` is provided.
|
|
37
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#
|
|
37
|
+
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#input-base-classes-MuiInputBase-input) and [.MuiInputBase-adornedEnd](/material-ui/api/input-base/#input-base-classes-MuiInputBase-adornedEnd) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
38
38
|
*/
|
|
39
39
|
inputAdornedEnd: string;
|
|
40
40
|
/** Styles applied to the input element if `type="search"`. */
|
|
@@ -28,24 +28,24 @@ export interface InputBaseClasses {
|
|
|
28
28
|
/** Styles applied to the input element. */
|
|
29
29
|
input: string;
|
|
30
30
|
/** Styles applied to the input element if `size="small"`.
|
|
31
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#
|
|
31
|
+
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#input-base-classes-MuiInputBase-input) and [.MuiInputBase-sizeSmall](/material-ui/api/input-base/#input-base-classes-MuiInputBase-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
32
32
|
*/
|
|
33
33
|
inputSizeSmall: string;
|
|
34
34
|
/** Styles applied to the input element if `multiline={true}`.
|
|
35
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#
|
|
35
|
+
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#input-base-classes-MuiInputBase-input) and [.MuiInputBase-multiline](/material-ui/api/input-base/#input-base-classes-MuiInputBase-multiline) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
36
36
|
*/
|
|
37
37
|
inputMultiline: string;
|
|
38
38
|
inputTypeSearch: string;
|
|
39
39
|
/** Styles applied to the input element if `startAdornment` is provided.
|
|
40
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#
|
|
40
|
+
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#input-base-classes-MuiInputBase-input) and [.MuiInputBase-adornedStart](/material-ui/api/input-base/#input-base-classes-MuiInputBase-adornedStart) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
41
41
|
*/
|
|
42
42
|
inputAdornedStart: string;
|
|
43
43
|
/** Styles applied to the input element if `endAdornment` is provided.
|
|
44
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#
|
|
44
|
+
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#input-base-classes-MuiInputBase-input) and [.MuiInputBase-adornedEnd](/material-ui/api/input-base/#input-base-classes-MuiInputBase-adornedEnd) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
45
45
|
*/
|
|
46
46
|
inputAdornedEnd: string;
|
|
47
47
|
/** Styles applied to the input element if `hiddenLabel={true}`.
|
|
48
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#
|
|
48
|
+
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#input-base-classes-MuiInputBase-input) and [.MuiInputBase-hiddenLabel](/material-ui/api/input-base/#input-base-classes-MuiInputBase-hiddenLabel) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
49
49
|
*/
|
|
50
50
|
inputHiddenLabel: string;
|
|
51
51
|
}
|