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';
33export interface AlertClasses {
44 /** Styles applied to the root element. */
55 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 ;
126 /** Styles applied to the root element if `color="primary"`. */
137 colorPrimary : string ;
148 /** Styles applied to the root element if `color="danger"`. */
@@ -21,12 +15,16 @@ export interface AlertClasses {
2115 colorSuccess : string ;
2216 /** Styles applied to the root element if `color="warning"`. */
2317 colorWarning : string ;
18+ /** Styles applied to the endDecorator element if supplied. */
19+ endDecorator : string ;
2420 /** Styles applied to the root element if `size="sm"`. */
2521 sizeSm : string ;
2622 /** Styles applied to the root element if `size="md"`. */
2723 sizeMd : string ;
2824 /** Styles applied to the root element if `size="lg"`. */
2925 sizeLg : string ;
26+ /** Styles applied to the startDecorator element if supplied. */
27+ startDecorator : string ;
3028 /** Styles applied to the root element if `variant="plain"`. */
3129 variantPlain : string ;
3230 /** Styles applied to the root element if `variant="outlined"`. */
@@ -45,9 +43,8 @@ export function getAlertUtilityClass(slot: string): string {
4543
4644const alertClasses : AlertClasses = generateUtilityClasses ( 'JoyAlert' , [
4745 'root' ,
48- 'action' ,
49- 'icon' ,
50- 'message' ,
46+ 'startDecorator' ,
47+ 'endDecorator' ,
5148 'colorPrimary' ,
5249 'colorDanger' ,
5350 'colorInfo' ,
You can’t perform that action at this time.
0 commit comments