101 lines
5.9 KiB
TypeScript
101 lines
5.9 KiB
TypeScript
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;
|