File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
packages/mui-joy/src/Alert Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,6 @@ import { generateUtilityClass, generateUtilityClasses } from '../className';
3
3
export interface AlertClasses {
4
4
/** Styles applied to the root element. */
5
5
root : string ;
6
- /** Styles applied to the icon wrapper element. */
7
- icon : string ;
8
- /** Styles applied to the action wrapper element if `action` is provided. */
9
- action : string ;
10
- /** Styles applied to the message wrapper element. */
11
- message : string ;
12
6
/** Styles applied to the root element if `color="primary"`. */
13
7
colorPrimary : string ;
14
8
/** Styles applied to the root element if `color="danger"`. */
@@ -21,12 +15,16 @@ export interface AlertClasses {
21
15
colorSuccess : string ;
22
16
/** Styles applied to the root element if `color="warning"`. */
23
17
colorWarning : string ;
18
+ /** Styles applied to the endDecorator element if supplied. */
19
+ endDecorator : string ;
24
20
/** Styles applied to the root element if `size="sm"`. */
25
21
sizeSm : string ;
26
22
/** Styles applied to the root element if `size="md"`. */
27
23
sizeMd : string ;
28
24
/** Styles applied to the root element if `size="lg"`. */
29
25
sizeLg : string ;
26
+ /** Styles applied to the startDecorator element if supplied. */
27
+ startDecorator : string ;
30
28
/** Styles applied to the root element if `variant="plain"`. */
31
29
variantPlain : string ;
32
30
/** Styles applied to the root element if `variant="outlined"`. */
@@ -45,9 +43,8 @@ export function getAlertUtilityClass(slot: string): string {
45
43
46
44
const alertClasses : AlertClasses = generateUtilityClasses ( 'JoyAlert' , [
47
45
'root' ,
48
- 'action' ,
49
- 'icon' ,
50
- 'message' ,
46
+ 'startDecorator' ,
47
+ 'endDecorator' ,
51
48
'colorPrimary' ,
52
49
'colorDanger' ,
53
50
'colorInfo' ,
You can’t perform that action at this time.
0 commit comments