@mui/material 5.15.11 → 5.15.12
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/Alert/Alert.js +53 -35
- package/Alert/alertClasses.d.ts +68 -12
- package/Alert/alertClasses.js +1 -1
- package/AlertTitle/AlertTitle.js +2 -2
- package/Avatar/Avatar.js +2 -2
- package/Button/Button.js +3 -3
- package/Button/buttonClasses.d.ts +113 -33
- package/Button/buttonClasses.js +1 -1
- package/CHANGELOG.md +194 -116
- package/Checkbox/Checkbox.d.ts +1 -1
- package/Chip/chipClasses.d.ts +78 -26
- package/README.md +1 -1
- package/Slider/Slider.d.ts +2 -4
- package/Slider/Slider.js +2 -4
- package/index.js +1 -1
- package/legacy/Alert/Alert.js +77 -34
- package/legacy/Alert/alertClasses.js +1 -1
- package/legacy/AlertTitle/AlertTitle.js +2 -2
- package/legacy/Avatar/Avatar.js +2 -2
- package/legacy/Button/Button.js +3 -3
- package/legacy/Button/buttonClasses.js +1 -1
- package/legacy/Slider/Slider.js +2 -4
- package/legacy/index.js +1 -1
- package/modern/Alert/Alert.js +53 -35
- package/modern/Alert/alertClasses.js +1 -1
- package/modern/AlertTitle/AlertTitle.js +2 -2
- package/modern/Avatar/Avatar.js +2 -2
- package/modern/Button/Button.js +3 -3
- package/modern/Button/buttonClasses.js +1 -1
- package/modern/Slider/Slider.js +2 -4
- package/modern/index.js +1 -1
- package/node/Alert/Alert.js +61 -43
- package/node/Alert/alertClasses.js +1 -1
- package/node/AlertTitle/AlertTitle.js +4 -4
- package/node/Avatar/Avatar.js +6 -6
- package/node/Button/Button.js +3 -3
- package/node/Button/buttonClasses.js +1 -1
- package/node/Slider/Slider.js +2 -4
- package/node/index.js +1 -1
- package/package.json +5 -5
- package/styles/variants.d.ts +7 -1
- package/umd/material-ui.development.js +2807 -2764
- package/umd/material-ui.production.min.js +2 -2
package/Checkbox/Checkbox.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export interface CheckboxProps
|
|
|
91
91
|
* `small` is equivalent to the dense checkbox styling.
|
|
92
92
|
* @default 'medium'
|
|
93
93
|
*/
|
|
94
|
-
size?: OverridableStringUnion<'small' | 'medium', CheckboxPropsSizeOverrides>;
|
|
94
|
+
size?: OverridableStringUnion<'small' | 'medium' | 'large', CheckboxPropsSizeOverrides>;
|
|
95
95
|
/**
|
|
96
96
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
97
97
|
*/
|
package/Chip/chipClasses.d.ts
CHANGED
|
@@ -21,71 +21,123 @@ export interface ChipClasses {
|
|
|
21
21
|
disabled: string;
|
|
22
22
|
/** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
|
|
23
23
|
clickable: string;
|
|
24
|
-
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`.
|
|
24
|
+
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`.
|
|
25
|
+
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-clickable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
26
|
+
*/
|
|
25
27
|
clickableColorPrimary: string;
|
|
26
|
-
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`.
|
|
28
|
+
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`.
|
|
29
|
+
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-clickable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
30
|
+
*/
|
|
27
31
|
clickableColorSecondary: string;
|
|
28
32
|
/** Styles applied to the root element if `onDelete` is defined. */
|
|
29
33
|
deletable: string;
|
|
30
|
-
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined.
|
|
34
|
+
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined.
|
|
35
|
+
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-deletable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
36
|
+
*/
|
|
31
37
|
deletableColorPrimary: string;
|
|
32
|
-
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined.
|
|
38
|
+
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined.
|
|
39
|
+
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-deletable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
40
|
+
*/
|
|
33
41
|
deletableColorSecondary: string;
|
|
34
42
|
/** Styles applied to the root element if `variant="outlined"`. */
|
|
35
43
|
outlined: string;
|
|
36
44
|
/** Styles applied to the root element if `variant="filled"`. */
|
|
37
45
|
filled: string;
|
|
38
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`.
|
|
46
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`.
|
|
47
|
+
* @deprecated Combine the [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
48
|
+
*/
|
|
39
49
|
outlinedPrimary: string;
|
|
40
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`.
|
|
50
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`.
|
|
51
|
+
* @deprecated Combine the [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
52
|
+
*/
|
|
41
53
|
outlinedSecondary: string;
|
|
42
|
-
/** Styles applied to the root element if `variant="filled"` and `color="primary"`.
|
|
54
|
+
/** Styles applied to the root element if `variant="filled"` and `color="primary"`.
|
|
55
|
+
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
56
|
+
*/
|
|
43
57
|
filledPrimary: string;
|
|
44
|
-
/** Styles applied to the root element if `variant="filled"` and `color="secondary"`.
|
|
58
|
+
/** Styles applied to the root element if `variant="filled"` and `color="secondary"`.
|
|
59
|
+
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
60
|
+
*/
|
|
45
61
|
filledSecondary: string;
|
|
46
62
|
/** Styles applied to the avatar element. */
|
|
47
63
|
avatar: string;
|
|
48
|
-
/** Styles applied to the avatar element if `size="small"`.
|
|
64
|
+
/** Styles applied to the avatar element if `size="small"`.
|
|
65
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
66
|
+
*/
|
|
49
67
|
avatarSmall: string;
|
|
50
|
-
/** Styles applied to the avatar element if `size="medium"`.
|
|
68
|
+
/** Styles applied to the avatar element if `size="medium"`.
|
|
69
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
70
|
+
*/
|
|
51
71
|
avatarMedium: string;
|
|
52
|
-
/** Styles applied to the avatar element if `color="primary"`.
|
|
72
|
+
/** Styles applied to the avatar element if `color="primary"`.
|
|
73
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
74
|
+
*/
|
|
53
75
|
avatarColorPrimary: string;
|
|
54
|
-
/** Styles applied to the avatar element if `color="secondary"`.
|
|
76
|
+
/** Styles applied to the avatar element if `color="secondary"`.
|
|
77
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
78
|
+
*/
|
|
55
79
|
avatarColorSecondary: string;
|
|
56
80
|
/** Styles applied to the icon element. */
|
|
57
81
|
icon: string;
|
|
58
|
-
/** Styles applied to the icon element if `size="small"`.
|
|
82
|
+
/** Styles applied to the icon element if `size="small"`.
|
|
83
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
84
|
+
*/
|
|
59
85
|
iconSmall: string;
|
|
60
|
-
/** Styles applied to the icon element if `size="medium"`.
|
|
86
|
+
/** Styles applied to the icon element if `size="medium"`.
|
|
87
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
88
|
+
*/
|
|
61
89
|
iconMedium: string;
|
|
62
|
-
/** Styles applied to the icon element if `color="primary"`.
|
|
90
|
+
/** Styles applied to the icon element if `color="primary"`.
|
|
91
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
92
|
+
*/
|
|
63
93
|
iconColorPrimary: string;
|
|
64
|
-
/** Styles applied to the icon element if `color="secondary"`.
|
|
94
|
+
/** Styles applied to the icon element if `color="secondary"`.
|
|
95
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
96
|
+
*/
|
|
65
97
|
iconColorSecondary: string;
|
|
66
98
|
/** Styles applied to the label `span` element. */
|
|
67
99
|
label: string;
|
|
68
|
-
/** Styles applied to the label `span` element if `size="small"`.
|
|
100
|
+
/** Styles applied to the label `span` element if `size="small"`.
|
|
101
|
+
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#chip-classes-label) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
102
|
+
*/
|
|
69
103
|
labelSmall: string;
|
|
70
|
-
/** Styles applied to the label `span` element if `size="medium"`.
|
|
104
|
+
/** Styles applied to the label `span` element if `size="medium"`.
|
|
105
|
+
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#chip-classes-label) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
106
|
+
*/
|
|
71
107
|
labelMedium: string;
|
|
72
108
|
/** Styles applied to the deleteIcon element. */
|
|
73
109
|
deleteIcon: string;
|
|
74
|
-
/** Styles applied to the deleteIcon element if `size="small"`.
|
|
110
|
+
/** Styles applied to the deleteIcon element if `size="small"`.
|
|
111
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
112
|
+
*/
|
|
75
113
|
deleteIconSmall: string;
|
|
76
|
-
/** Styles applied to the deleteIcon element if `size="medium"`.
|
|
114
|
+
/** Styles applied to the deleteIcon element if `size="medium"`.
|
|
115
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
116
|
+
*/
|
|
77
117
|
deleteIconMedium: string;
|
|
78
|
-
/** Styles applied to the deleteIcon element if `color="primary"
|
|
118
|
+
/** Styles applied to the deleteIcon element if `color="primary"`.
|
|
119
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
120
|
+
*/
|
|
79
121
|
deleteIconColorPrimary: string;
|
|
80
|
-
/** Styles applied to the deleteIcon element if `color="secondary"
|
|
122
|
+
/** Styles applied to the deleteIcon element if `color="secondary"`.
|
|
123
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
124
|
+
*/
|
|
81
125
|
deleteIconColorSecondary: string;
|
|
82
|
-
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`.
|
|
126
|
+
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`.
|
|
127
|
+
* @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. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
128
|
+
*/
|
|
83
129
|
deleteIconOutlinedColorPrimary: string;
|
|
84
|
-
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`.
|
|
130
|
+
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`.
|
|
131
|
+
* @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. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
132
|
+
*/
|
|
85
133
|
deleteIconOutlinedColorSecondary: string;
|
|
86
|
-
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`.
|
|
134
|
+
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`.
|
|
135
|
+
* @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. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
136
|
+
*/
|
|
87
137
|
deleteIconFilledColorPrimary: string;
|
|
88
|
-
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`.
|
|
138
|
+
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`.
|
|
139
|
+
* @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. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
140
|
+
*/
|
|
89
141
|
deleteIconFilledColorSecondary: string;
|
|
90
142
|
/** State class applied to the root element if keyboard focused. */
|
|
91
143
|
focusVisible: string;
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Visit [https://mui.com/material-ui/](https://mui.com/material-ui/) to view the f
|
|
|
22
22
|
## Questions
|
|
23
23
|
|
|
24
24
|
For how-to questions that don't involve making changes to the code base, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/material-ui) instead of GitHub issues.
|
|
25
|
-
Use the "material-ui" tag on Stack
|
|
25
|
+
Use the "material-ui" tag on Stack Overflow to make it easier for the community to find your question.
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
package/Slider/Slider.d.ts
CHANGED
|
@@ -46,8 +46,7 @@ export interface SliderOwnProps {
|
|
|
46
46
|
/**
|
|
47
47
|
* The components used for each slot inside.
|
|
48
48
|
*
|
|
49
|
-
* This prop
|
|
50
|
-
* It's recommended to use the `slots` prop instead.
|
|
49
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
51
50
|
*
|
|
52
51
|
* @default {}
|
|
53
52
|
*/
|
|
@@ -65,8 +64,7 @@ export interface SliderOwnProps {
|
|
|
65
64
|
* The extra props for the slot components.
|
|
66
65
|
* You can override the existing props or add new ones.
|
|
67
66
|
*
|
|
68
|
-
* This prop
|
|
69
|
-
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
67
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
70
68
|
*
|
|
71
69
|
* @default {}
|
|
72
70
|
*/
|
package/Slider/Slider.js
CHANGED
|
@@ -633,8 +633,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
633
633
|
/**
|
|
634
634
|
* The components used for each slot inside.
|
|
635
635
|
*
|
|
636
|
-
* This prop
|
|
637
|
-
* It's recommended to use the `slots` prop instead.
|
|
636
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
638
637
|
*
|
|
639
638
|
* @default {}
|
|
640
639
|
*/
|
|
@@ -652,8 +651,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
652
651
|
* The extra props for the slot components.
|
|
653
652
|
* You can override the existing props or add new ones.
|
|
654
653
|
*
|
|
655
|
-
* This prop
|
|
656
|
-
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
654
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
657
655
|
*
|
|
658
656
|
* @default {}
|
|
659
657
|
*/
|
package/index.js
CHANGED
package/legacy/Alert/Alert.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
4
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
4
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
5
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
6
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
6
7
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
7
8
|
import * as React from 'react';
|
|
8
9
|
import PropTypes from 'prop-types';
|
|
9
10
|
import clsx from 'clsx';
|
|
10
|
-
import
|
|
11
|
-
import { darken, lighten } from '@mui/system';
|
|
12
|
-
import styled from '../
|
|
13
|
-
import useThemeProps from '../styles/useThemeProps';
|
|
11
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
12
|
+
import { darken, lighten } from '@mui/system/colorManipulator';
|
|
13
|
+
import { styled, createUseThemeProps } from '../zero-styled';
|
|
14
14
|
import useSlot from '../utils/useSlot';
|
|
15
15
|
import capitalize from '../utils/capitalize';
|
|
16
16
|
import Paper from '../Paper';
|
|
@@ -23,13 +23,14 @@ import InfoOutlinedIcon from '../internal/svg-icons/InfoOutlined';
|
|
|
23
23
|
import CloseIcon from '../internal/svg-icons/Close';
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
|
+
var useThemeProps = createUseThemeProps('MuiAlert');
|
|
26
27
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
27
28
|
var variant = ownerState.variant,
|
|
28
29
|
color = ownerState.color,
|
|
29
30
|
severity = ownerState.severity,
|
|
30
31
|
classes = ownerState.classes;
|
|
31
32
|
var slots = {
|
|
32
|
-
root: ['root', "".concat(variant).concat(capitalize(color || severity)), "".concat(variant)],
|
|
33
|
+
root: ['root', "color".concat(capitalize(color || severity)), "".concat(variant).concat(capitalize(color || severity)), "".concat(variant)],
|
|
33
34
|
icon: ['icon'],
|
|
34
35
|
message: ['message'],
|
|
35
36
|
action: ['action']
|
|
@@ -44,38 +45,79 @@ var AlertRoot = styled(Paper, {
|
|
|
44
45
|
return [styles.root, styles[ownerState.variant], styles["".concat(ownerState.variant).concat(capitalize(ownerState.color || ownerState.severity))]];
|
|
45
46
|
}
|
|
46
47
|
})(function (_ref) {
|
|
47
|
-
var theme = _ref.theme
|
|
48
|
-
ownerState = _ref.ownerState;
|
|
48
|
+
var theme = _ref.theme;
|
|
49
49
|
var getColor = theme.palette.mode === 'light' ? darken : lighten;
|
|
50
50
|
var getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;
|
|
51
|
-
var color = ownerState.color || ownerState.severity;
|
|
52
51
|
return _extends({}, theme.typography.body2, {
|
|
53
52
|
backgroundColor: 'transparent',
|
|
54
53
|
display: 'flex',
|
|
55
|
-
padding: '6px 16px'
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
54
|
+
padding: '6px 16px',
|
|
55
|
+
variants: [].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref2) {
|
|
56
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
57
|
+
value = _ref3[1];
|
|
58
|
+
return value.main && value.light;
|
|
59
|
+
}).map(function (_ref4) {
|
|
60
|
+
var _ref5 = _slicedToArray(_ref4, 1),
|
|
61
|
+
color = _ref5[0];
|
|
62
|
+
return {
|
|
63
|
+
props: {
|
|
64
|
+
colorSeverity: color,
|
|
65
|
+
variant: 'standard'
|
|
66
|
+
},
|
|
67
|
+
style: _defineProperty({
|
|
68
|
+
color: theme.vars ? theme.vars.palette.Alert["".concat(color, "Color")] : getColor(theme.palette[color].light, 0.6),
|
|
69
|
+
backgroundColor: theme.vars ? theme.vars.palette.Alert["".concat(color, "StandardBg")] : getBackgroundColor(theme.palette[color].light, 0.9)
|
|
70
|
+
}, "& .".concat(alertClasses.icon), theme.vars ? {
|
|
71
|
+
color: theme.vars.palette.Alert["".concat(color, "IconColor")]
|
|
72
|
+
} : {
|
|
73
|
+
color: theme.palette[color].main
|
|
74
|
+
})
|
|
75
|
+
};
|
|
76
|
+
})), _toConsumableArray(Object.entries(theme.palette).filter(function (_ref6) {
|
|
77
|
+
var _ref7 = _slicedToArray(_ref6, 2),
|
|
78
|
+
value = _ref7[1];
|
|
79
|
+
return value.main && value.light;
|
|
80
|
+
}).map(function (_ref8) {
|
|
81
|
+
var _ref9 = _slicedToArray(_ref8, 1),
|
|
82
|
+
color = _ref9[0];
|
|
83
|
+
return {
|
|
84
|
+
props: {
|
|
85
|
+
colorSeverity: color,
|
|
86
|
+
variant: 'outlined'
|
|
87
|
+
},
|
|
88
|
+
style: _defineProperty({
|
|
89
|
+
color: theme.vars ? theme.vars.palette.Alert["".concat(color, "Color")] : getColor(theme.palette[color].light, 0.6),
|
|
90
|
+
border: "1px solid ".concat((theme.vars || theme).palette[color].light)
|
|
91
|
+
}, "& .".concat(alertClasses.icon), theme.vars ? {
|
|
92
|
+
color: theme.vars.palette.Alert["".concat(color, "IconColor")]
|
|
93
|
+
} : {
|
|
94
|
+
color: theme.palette[color].main
|
|
95
|
+
})
|
|
96
|
+
};
|
|
97
|
+
})), _toConsumableArray(Object.entries(theme.palette).filter(function (_ref10) {
|
|
98
|
+
var _ref11 = _slicedToArray(_ref10, 2),
|
|
99
|
+
value = _ref11[1];
|
|
100
|
+
return value.main && value.dark;
|
|
101
|
+
}).map(function (_ref12) {
|
|
102
|
+
var _ref13 = _slicedToArray(_ref12, 1),
|
|
103
|
+
color = _ref13[0];
|
|
104
|
+
return {
|
|
105
|
+
props: {
|
|
106
|
+
colorSeverity: color,
|
|
107
|
+
variant: 'filled'
|
|
108
|
+
},
|
|
109
|
+
style: _extends({
|
|
110
|
+
fontWeight: theme.typography.fontWeightMedium
|
|
111
|
+
}, theme.vars ? {
|
|
112
|
+
color: theme.vars.palette.Alert["".concat(color, "FilledColor")],
|
|
113
|
+
backgroundColor: theme.vars.palette.Alert["".concat(color, "FilledBg")]
|
|
114
|
+
} : {
|
|
115
|
+
backgroundColor: theme.palette.mode === 'dark' ? theme.palette[color].dark : theme.palette[color].main,
|
|
116
|
+
color: theme.palette.getContrastText(theme.palette[color].main)
|
|
117
|
+
})
|
|
118
|
+
};
|
|
119
|
+
})))
|
|
120
|
+
});
|
|
79
121
|
});
|
|
80
122
|
var AlertIcon = styled('div', {
|
|
81
123
|
name: 'MuiAlert',
|
|
@@ -161,7 +203,8 @@ var Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
|
161
203
|
var ownerState = _extends({}, props, {
|
|
162
204
|
color: color,
|
|
163
205
|
severity: severity,
|
|
164
|
-
variant: variant
|
|
206
|
+
variant: variant,
|
|
207
|
+
colorSeverity: color || severity
|
|
165
208
|
});
|
|
166
209
|
var classes = useUtilityClasses(ownerState);
|
|
167
210
|
var externalForwardedProps = {
|
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
|
3
3
|
export function getAlertUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiAlert', slot);
|
|
5
5
|
}
|
|
6
|
-
var alertClasses = generateUtilityClasses('MuiAlert', ['root', 'action', 'icon', 'message', 'filled', 'filledSuccess', 'filledInfo', 'filledWarning', 'filledError', 'outlined', 'outlinedSuccess', 'outlinedInfo', 'outlinedWarning', 'outlinedError', 'standard', 'standardSuccess', 'standardInfo', 'standardWarning', 'standardError']);
|
|
6
|
+
var alertClasses = generateUtilityClasses('MuiAlert', ['root', 'action', 'icon', 'message', 'filled', 'colorSuccess', 'colorInfo', 'colorWarning', 'colorError', 'filledSuccess', 'filledInfo', 'filledWarning', 'filledError', 'outlined', 'outlinedSuccess', 'outlinedInfo', 'outlinedWarning', 'outlinedError', 'standard', 'standardSuccess', 'standardInfo', 'standardWarning', 'standardError']);
|
|
7
7
|
export default alertClasses;
|
|
@@ -6,11 +6,11 @@ import * as React from 'react';
|
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
|
-
import styled from '../
|
|
10
|
-
import useThemeProps from '../styles/useThemeProps';
|
|
9
|
+
import { styled, createUseThemeProps } from '../zero-styled';
|
|
11
10
|
import Typography from '../Typography';
|
|
12
11
|
import { getAlertTitleUtilityClass } from './alertTitleClasses';
|
|
13
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var useThemeProps = createUseThemeProps('MuiAlertTitle');
|
|
14
14
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
15
15
|
var classes = ownerState.classes;
|
|
16
16
|
var slots = {
|
package/legacy/Avatar/Avatar.js
CHANGED
|
@@ -7,12 +7,12 @@ import * as React from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import styled from '../
|
|
11
|
-
import useThemeProps from '../styles/useThemeProps';
|
|
10
|
+
import { styled, createUseThemeProps } from '../zero-styled';
|
|
12
11
|
import Person from '../internal/svg-icons/Person';
|
|
13
12
|
import { getAvatarUtilityClass } from './avatarClasses';
|
|
14
13
|
import useSlot from '../utils/useSlot';
|
|
15
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
var useThemeProps = createUseThemeProps('MuiAvatar');
|
|
16
16
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
17
17
|
var classes = ownerState.classes,
|
|
18
18
|
variant = ownerState.variant,
|
package/legacy/Button/Button.js
CHANGED
|
@@ -26,10 +26,10 @@ var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
|
26
26
|
variant = ownerState.variant,
|
|
27
27
|
classes = ownerState.classes;
|
|
28
28
|
var slots = {
|
|
29
|
-
root: ['root', variant, "".concat(variant).concat(capitalize(color)), "size".concat(capitalize(size)), "".concat(variant, "Size").concat(capitalize(size)), color
|
|
29
|
+
root: ['root', variant, "".concat(variant).concat(capitalize(color)), "size".concat(capitalize(size)), "".concat(variant, "Size").concat(capitalize(size)), "color".concat(capitalize(color)), disableElevation && 'disableElevation', fullWidth && 'fullWidth'],
|
|
30
30
|
label: ['label'],
|
|
31
|
-
startIcon: ['startIcon', "iconSize".concat(capitalize(size))],
|
|
32
|
-
endIcon: ['endIcon', "iconSize".concat(capitalize(size))]
|
|
31
|
+
startIcon: ['icon', 'startIcon', "iconSize".concat(capitalize(size))],
|
|
32
|
+
endIcon: ['icon', 'endIcon', "iconSize".concat(capitalize(size))]
|
|
33
33
|
};
|
|
34
34
|
var composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
|
|
35
35
|
return _extends({}, classes, composedClasses);
|
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
|
3
3
|
export function getButtonUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiButton', slot);
|
|
5
5
|
}
|
|
6
|
-
var buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'textSuccess', 'textError', 'textInfo', 'textWarning', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'outlinedSuccess', 'outlinedError', 'outlinedInfo', 'outlinedWarning', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'containedSuccess', 'containedError', 'containedInfo', 'containedWarning', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);
|
|
6
|
+
var buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'textSuccess', 'textError', 'textInfo', 'textWarning', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'outlinedSuccess', 'outlinedError', 'outlinedInfo', 'outlinedWarning', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'containedSuccess', 'containedError', 'containedInfo', 'containedWarning', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorError', 'colorInfo', 'colorWarning', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'icon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);
|
|
7
7
|
export default buttonClasses;
|
package/legacy/Slider/Slider.js
CHANGED
|
@@ -654,8 +654,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
654
654
|
/**
|
|
655
655
|
* The components used for each slot inside.
|
|
656
656
|
*
|
|
657
|
-
* This prop
|
|
658
|
-
* It's recommended to use the `slots` prop instead.
|
|
657
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
659
658
|
*
|
|
660
659
|
* @default {}
|
|
661
660
|
*/
|
|
@@ -673,8 +672,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
673
672
|
* The extra props for the slot components.
|
|
674
673
|
* You can override the existing props or add new ones.
|
|
675
674
|
*
|
|
676
|
-
* This prop
|
|
677
|
-
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
675
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
678
676
|
*
|
|
679
677
|
* @default {}
|
|
680
678
|
*/
|
package/legacy/index.js
CHANGED
package/modern/Alert/Alert.js
CHANGED
|
@@ -6,10 +6,9 @@ const _excluded = ["action", "children", "className", "closeText", "color", "com
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import { darken, lighten } from '@mui/system';
|
|
11
|
-
import styled from '../
|
|
12
|
-
import useThemeProps from '../styles/useThemeProps';
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
+
import { darken, lighten } from '@mui/system/colorManipulator';
|
|
11
|
+
import { styled, createUseThemeProps } from '../zero-styled';
|
|
13
12
|
import useSlot from '../utils/useSlot';
|
|
14
13
|
import capitalize from '../utils/capitalize';
|
|
15
14
|
import Paper from '../Paper';
|
|
@@ -22,6 +21,7 @@ import InfoOutlinedIcon from '../internal/svg-icons/InfoOutlined';
|
|
|
22
21
|
import CloseIcon from '../internal/svg-icons/Close';
|
|
23
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
23
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
const useThemeProps = createUseThemeProps('MuiAlert');
|
|
25
25
|
const useUtilityClasses = ownerState => {
|
|
26
26
|
const {
|
|
27
27
|
variant,
|
|
@@ -30,7 +30,7 @@ const useUtilityClasses = ownerState => {
|
|
|
30
30
|
classes
|
|
31
31
|
} = ownerState;
|
|
32
32
|
const slots = {
|
|
33
|
-
root: ['root', `${variant}${capitalize(color || severity)}`, `${variant}`],
|
|
33
|
+
root: ['root', `color${capitalize(color || severity)}`, `${variant}${capitalize(color || severity)}`, `${variant}`],
|
|
34
34
|
icon: ['icon'],
|
|
35
35
|
message: ['message'],
|
|
36
36
|
action: ['action']
|
|
@@ -47,41 +47,58 @@ const AlertRoot = styled(Paper, {
|
|
|
47
47
|
return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${capitalize(ownerState.color || ownerState.severity)}`]];
|
|
48
48
|
}
|
|
49
49
|
})(({
|
|
50
|
-
theme
|
|
51
|
-
ownerState
|
|
50
|
+
theme
|
|
52
51
|
}) => {
|
|
53
52
|
const getColor = theme.palette.mode === 'light' ? darken : lighten;
|
|
54
53
|
const getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;
|
|
55
|
-
const color = ownerState.color || ownerState.severity;
|
|
56
54
|
return _extends({}, theme.typography.body2, {
|
|
57
55
|
backgroundColor: 'transparent',
|
|
58
56
|
display: 'flex',
|
|
59
|
-
padding: '6px 16px'
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
57
|
+
padding: '6px 16px',
|
|
58
|
+
variants: [...Object.entries(theme.palette).filter(([, value]) => value.main && value.light).map(([color]) => ({
|
|
59
|
+
props: {
|
|
60
|
+
colorSeverity: color,
|
|
61
|
+
variant: 'standard'
|
|
62
|
+
},
|
|
63
|
+
style: {
|
|
64
|
+
color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),
|
|
65
|
+
backgroundColor: theme.vars ? theme.vars.palette.Alert[`${color}StandardBg`] : getBackgroundColor(theme.palette[color].light, 0.9),
|
|
66
|
+
[`& .${alertClasses.icon}`]: theme.vars ? {
|
|
67
|
+
color: theme.vars.palette.Alert[`${color}IconColor`]
|
|
68
|
+
} : {
|
|
69
|
+
color: theme.palette[color].main
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
})), ...Object.entries(theme.palette).filter(([, value]) => value.main && value.light).map(([color]) => ({
|
|
73
|
+
props: {
|
|
74
|
+
colorSeverity: color,
|
|
75
|
+
variant: 'outlined'
|
|
76
|
+
},
|
|
77
|
+
style: {
|
|
78
|
+
color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),
|
|
79
|
+
border: `1px solid ${(theme.vars || theme).palette[color].light}`,
|
|
80
|
+
[`& .${alertClasses.icon}`]: theme.vars ? {
|
|
81
|
+
color: theme.vars.palette.Alert[`${color}IconColor`]
|
|
82
|
+
} : {
|
|
83
|
+
color: theme.palette[color].main
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
})), ...Object.entries(theme.palette).filter(([, value]) => value.main && value.dark).map(([color]) => ({
|
|
87
|
+
props: {
|
|
88
|
+
colorSeverity: color,
|
|
89
|
+
variant: 'filled'
|
|
90
|
+
},
|
|
91
|
+
style: _extends({
|
|
92
|
+
fontWeight: theme.typography.fontWeightMedium
|
|
93
|
+
}, theme.vars ? {
|
|
94
|
+
color: theme.vars.palette.Alert[`${color}FilledColor`],
|
|
95
|
+
backgroundColor: theme.vars.palette.Alert[`${color}FilledBg`]
|
|
96
|
+
} : {
|
|
97
|
+
backgroundColor: theme.palette.mode === 'dark' ? theme.palette[color].dark : theme.palette[color].main,
|
|
98
|
+
color: theme.palette.getContrastText(theme.palette[color].main)
|
|
99
|
+
})
|
|
100
|
+
}))]
|
|
101
|
+
});
|
|
85
102
|
});
|
|
86
103
|
const AlertIcon = styled('div', {
|
|
87
104
|
name: 'MuiAlert',
|
|
@@ -154,7 +171,8 @@ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
|
154
171
|
const ownerState = _extends({}, props, {
|
|
155
172
|
color,
|
|
156
173
|
severity,
|
|
157
|
-
variant
|
|
174
|
+
variant,
|
|
175
|
+
colorSeverity: color || severity
|
|
158
176
|
});
|
|
159
177
|
const classes = useUtilityClasses(ownerState);
|
|
160
178
|
const externalForwardedProps = {
|
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
|
3
3
|
export function getAlertUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiAlert', slot);
|
|
5
5
|
}
|
|
6
|
-
const alertClasses = generateUtilityClasses('MuiAlert', ['root', 'action', 'icon', 'message', 'filled', 'filledSuccess', 'filledInfo', 'filledWarning', 'filledError', 'outlined', 'outlinedSuccess', 'outlinedInfo', 'outlinedWarning', 'outlinedError', 'standard', 'standardSuccess', 'standardInfo', 'standardWarning', 'standardError']);
|
|
6
|
+
const alertClasses = generateUtilityClasses('MuiAlert', ['root', 'action', 'icon', 'message', 'filled', 'colorSuccess', 'colorInfo', 'colorWarning', 'colorError', 'filledSuccess', 'filledInfo', 'filledWarning', 'filledError', 'outlined', 'outlinedSuccess', 'outlinedInfo', 'outlinedWarning', 'outlinedError', 'standard', 'standardSuccess', 'standardInfo', 'standardWarning', 'standardError']);
|
|
7
7
|
export default alertClasses;
|