2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Toast is used to display messages in an overlay.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/toast/)
|
|
|
|
*
|
|
|
|
* @module toaststyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum ToastClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-toast',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the message element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
message = 'p-toast-message',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the message content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
messageContent = 'p-toast-message-content',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the message icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
messageIcon = 'p-toast-message-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the message text element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
messageText = 'p-toast-message-text',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the summary element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
summary = 'p-toast-summary',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the detail element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
detail = 'p-toast-detail',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the close button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
closeButton = 'p-toast-close-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the close icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
closeIcon = 'p-toast-close-icon'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface ToastStyle extends BaseStyle {}
|