File size: 6,043 Bytes
56fda74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
export interface AlertClasses {
    /** Styles applied to the root element. */
    root: string;
    /** Styles applied to the root element if `variant="filled"`. */
    filled: string;
    /** Styles applied to the root element if `variant="outlined"`. */
    outlined: string;
    /** Styles applied to the root element if `variant="standard"`. */
    standard: string;
    /** Styles applied to the root element if `color="success"`. */
    colorSuccess: string;
    /** Styles applied to the root element if `color="info"`. */
    colorInfo: string;
    /** Styles applied to the root element if `color="warning"`. */
    colorWarning: string;
    /** Styles applied to the root element if `color="error"`. */
    colorError: string;
    /** Styles applied to the root element if `variant="standard"` and `color="success"`.
     * @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
     * and [.MuiAlert-colorSuccess](/material-ui/api/alert/#alert-classes-colorSuccess) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    standardSuccess: string;
    /** Styles applied to the root element if `variant="standard"` and `color="info"`.
     * @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
     * and [.MuiAlert-colorInfo](/material-ui/api/alert/#alert-classes-colorInfo) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    standardInfo: string;
    /** Styles applied to the root element if `variant="standard"` and `color="warning"`.
     * @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
     * and [.MuiAlert-colorWarning](/material-ui/api/alert/#alert-classes-colorWarning) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    standardWarning: string;
    /** Styles applied to the root element if `variant="standard"` and `color="error"`.
     * @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
     * and [.MuiAlert-colorError](/material-ui/api/alert/#alert-classes-colorError) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    standardError: string;
    /** Styles applied to the root element if `variant="outlined"` and `color="success"`.
     * @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
     * and [.MuiAlert-colorSuccess](/material-ui/api/alert/#alert-classes-colorSuccess) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    outlinedSuccess: string;
    /** Styles applied to the root element if `variant="outlined"` and `color="info"`.
     * @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
     * and [.MuiAlert-colorInfo](/material-ui/api/alert/#alert-classes-colorInfo) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    outlinedInfo: string;
    /** Styles applied to the root element if `variant="outlined"` and `color="warning"`.
     * @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
     * and [.MuiAlert-colorWarning](/material-ui/api/alert/#alert-classes-colorWarning) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    outlinedWarning: string;
    /** Styles applied to the root element if `variant="outlined"` and `color="error"`.
     * @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
     * and [.MuiAlert-colorError](/material-ui/api/alert/#alert-classes-colorError) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    outlinedError: string;
    /** Styles applied to the root element if `variant="filled"` and `color="success"`.
     * @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
     * and [.MuiAlert-colorSuccess](/material-ui/api/alert/#alert-classes-colorSuccess) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    filledSuccess: string;
    /** Styles applied to the root element if `variant="filled"` and `color="info"`.
     * @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
     * and [.MuiAlert-colorInfo](/material-ui/api/alert/#alert-classes-colorInfo) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    filledInfo: string;
    /** Styles applied to the root element if `variant="filled"` and `color="warning"`
     * @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
     * and [.MuiAlert-colorWarning](/material-ui/api/alert/#alert-classes-colorWarning) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    filledWarning: string;
    /** Styles applied to the root element if `variant="filled"` and `color="error"`.
     * @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
     * and [.MuiAlert-colorError](/material-ui/api/alert/#alert-classes-colorError) classes instead.
     * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
     */
    filledError: string;
    /** Styles applied to the icon wrapper element. */
    icon: string;
    /** Styles applied to the message wrapper element. */
    message: string;
    /** Styles applied to the action wrapper element if `action` is provided. */
    action: string;
}
export type AlertClassKey = keyof AlertClasses;
export declare function getAlertUtilityClass(slot: string): string;
declare const alertClasses: AlertClasses;
export default alertClasses;