OudsAlertMessageStatus
The status of an OudsAlertMessage. Each status is designed to convey a specific meaning and ensure clarity in communication. It determines the background and the icon colors of the alert message. It also defines the icon to be displayed in the alert message. For non-functional statuses (Neutral and Accent), a custom icon can be provided optionally. For functional statuses, a dedicated, non-overridable icon is used to guarantee semantic consistency.
Inheritors
Types
Accent status uses brand colours and can include decorative icons to draw attention to key marketing or communication content. Perfect for promotional, inspirational, or brand-driven highlights that engage the user positively.
Info status is used to share neutral system information or service updates that do not require immediate action. Ideal for background processes or status messages where users simply need to stay informed. This status displays a dedicated default icon.
Negative status communicates a critical issue or error that prevents the user from proceeding until it is resolved. These alerts remain visible until the problem is fixed or dismissed by the user. This status displays a dedicated default icon.
Neutral status can be used for generic informational messages that provide context but carry no semantic meaning. Ideal for subtle notices, contextual help, or content highlights within pages.
Positive status indicates that a task or process has been completed successfully. These alerts reassure users and confirm that no further action is needed. This status displays a dedicated default icon.
Used to draw attention to potential issues or upcoming changes that might affect the user’s service or experience. Warnings encourage awareness but typically do not block actions. This status displays a dedicated default icon.
Properties
The default painter associated with a functional status (e.g., success, warning). Returns null for non-functional statuses like Accent or Neutral, which do not have a default icon.
The OudsAlertIcon to be displayed in the alert message, or null if there is no icon.