You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Alert message is a UI element that displays system feedback, status changes or required action; throughout detailed, prominent, persistent and actionable
129
+
* communication. Alert message includes functional icon and semantic colour, and may include as well a close button and/or action link.
130
+
* Alert Message does not disappear automatically and remains visible until dismissed or resolved by the user.
* @param label Label displayed in the alert message. Main message that should be short, clear, and readable at a glance.
137
+
* @param modifier [Modifier] applied to the alert message.
138
+
* @param status The status of the alert message. Its background color and its icon color are based on this status.
139
+
* There are two types of statuses:
140
+
* - Non-functional statuses ([OudsAlertMessageStatus.Neutral] or [OudsAlertMessageStatus.Accent]) used for informational or decorative alert messages. They
141
+
* provide context or highlight content without implying a specific state, system event, or user action. These alerts are not tied to UX patterns such as
142
+
* success, error, or warning, and may use contextual or brand-related icons to enhance recognition or storytelling.
143
+
* - Functional statuses communicate specific system statuses, results, or user feedback: [OudsAlertMessageStatus.Positive], [OudsAlertMessageStatus.Warning],
* Each variant conveys a clear semantic meaning and must always be paired with its dedicated functional icon to ensure clarity and accessibility.
146
+
* Use functional alerts to inform user about state changes, confirmations, or issues that are directly connected to system logic or user actions. These
147
+
* messages carry functional meaning and help guide user response or acknowledgment.
148
+
* @param description Annotated supplementary text in an alert message. Use only when additional detail or guidance is needed beyond the label. It should remain
149
+
* short, clear and scannable, helping the user to understand what happened and what he can do next.
150
+
* @param onClose Callback invoked when the close button is clicked. If `null`, the close button is not displayed and the alert message remains visible until
151
+
* the context changes (e.g., the issue is resolved, the screen is refreshed). Otherwise, the alert message is dismissable and includes a close button,
152
+
* allowing the user to dismiss it when he has acknowledged the message.
153
+
* Some alerts must remain visible to ensure user is aware of important information; others can be closed to reduce visual clutter.
154
+
* @param actionLink An optional link to be displayed in the alert message. It can be used to trigger an action.
155
+
* @param bulletList A list of annotated bullet points to be displayed in the alert message following the label or the optional [description].
156
+
* Add this list when you need to highlight multiple points, such as service features, plan details, or next steps. Each bullet should be short and written
157
+
* as a clear phrase or fragment — avoid long sentences or complex structures.
0 commit comments