@iress-oss/ids-mcp-server 6.0.0-alpha.1-canary-20251204033039-51f1bf8 → 6.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/docs/components_components-alert-docs.md +1054 -0
- package/generated/docs/components_components-autocomplete-docs.md +3304 -0
- package/generated/docs/components_components-autocomplete-recipes-docs.md +98 -0
- package/generated/docs/components_components-badge-docs.md +312 -0
- package/generated/docs/components_components-button-docs.md +2339 -0
- package/generated/docs/components_components-buttongroup-docs.md +980 -0
- package/generated/docs/components_components-card-docs.md +1970 -0
- package/generated/docs/components_components-checkbox-docs.md +1083 -0
- package/generated/docs/components_components-checkboxgroup-docs.md +1597 -0
- package/generated/docs/components_components-checkboxgroup-recipes-docs.md +209 -0
- package/generated/docs/components_components-col-docs.md +755 -0
- package/generated/docs/components_components-container-docs.md +172 -0
- package/generated/docs/components_components-divider-docs.md +235 -0
- package/generated/docs/components_components-expander-docs.md +428 -0
- package/generated/docs/components_components-field-docs.md +3345 -0
- package/generated/docs/components_components-filter-docs.md +4091 -0
- package/generated/docs/components_components-hide-docs.md +450 -0
- package/generated/docs/components_components-icon-docs.md +1017 -0
- package/generated/docs/components_components-image-docs.md +168 -0
- package/generated/docs/components_components-inline-docs.md +1962 -0
- package/generated/docs/components_components-input-docs.md +1388 -0
- package/generated/docs/components_components-input-recipes-docs.md +349 -0
- package/generated/docs/components_components-inputcurrency-docs.md +636 -0
- package/generated/docs/components_components-inputcurrency-recipes-docs.md +208 -0
- package/generated/docs/components_components-introduction-docs.md +448 -0
- package/generated/docs/components_components-label-docs.md +229 -0
- package/generated/docs/components_components-link-docs.md +454 -0
- package/generated/docs/components_components-menu-docs.md +2219 -0
- package/generated/docs/components_components-menu-menuitem-docs.md +1455 -0
- package/generated/docs/components_components-modal-docs.md +2002 -0
- package/generated/docs/components_components-panel-docs.md +342 -0
- package/generated/docs/components_components-placeholder-docs.md +98 -0
- package/generated/docs/components_components-popover-docs.md +1631 -0
- package/generated/docs/components_components-popover-recipes-docs.md +537 -0
- package/generated/docs/components_components-progress-docs.md +128 -0
- package/generated/docs/components_components-provider-docs.md +123 -0
- package/generated/docs/components_components-radio-docs.md +499 -0
- package/generated/docs/components_components-radiogroup-docs.md +1573 -0
- package/generated/docs/components_components-readonly-docs.md +277 -0
- package/generated/docs/components_components-richselect-docs.md +6101 -0
- package/generated/docs/components_components-row-docs.md +2172 -0
- package/generated/docs/components_components-select-docs.md +1110 -0
- package/generated/docs/components_components-skeleton-docs.md +467 -0
- package/generated/docs/components_components-skeleton-recipes-docs.md +110 -0
- package/generated/docs/components_components-skiplink-docs.md +220 -0
- package/generated/docs/components_components-slideout-docs.md +1910 -0
- package/generated/docs/components_components-slider-docs.md +1284 -0
- package/generated/docs/components_components-spinner-docs.md +90 -0
- package/generated/docs/components_components-stack-docs.md +730 -0
- package/generated/docs/components_components-table-docs.md +4038 -0
- package/generated/docs/components_components-tabset-docs.md +955 -0
- package/generated/docs/components_components-tabset-tab-docs.md +342 -0
- package/generated/docs/components_components-tag-docs.md +410 -0
- package/generated/docs/components_components-text-docs.md +593 -0
- package/generated/docs/components_components-toaster-docs.md +451 -0
- package/generated/docs/components_components-toggle-docs.md +513 -0
- package/generated/docs/components_components-tooltip-docs.md +564 -0
- package/generated/docs/components_components-validationmessage-docs.md +608 -0
- package/generated/docs/components_contact-us-docs.md +9 -0
- package/generated/docs/components_foundations-accessibility-docs.md +33 -0
- package/generated/docs/components_foundations-consistency-docs.md +44 -0
- package/generated/docs/components_foundations-content-docs.md +18 -0
- package/generated/docs/components_foundations-introduction-docs.md +17 -0
- package/generated/docs/components_foundations-principles-docs.md +60 -0
- package/generated/docs/components_foundations-responsive-layout-docs.md +2692 -0
- package/generated/docs/components_foundations-user-experience-docs.md +53 -0
- package/generated/docs/components_foundations-visual-design-docs.md +39 -0
- package/generated/docs/components_foundations-z-index-stacking-docs.md +288 -0
- package/generated/docs/components_frequently-asked-questions-docs.md +44 -0
- package/generated/docs/components_get-started-develop-docs.md +47 -0
- package/generated/docs/components_get-started-using-storybook-docs.md +55 -0
- package/generated/docs/components_introduction-docs.md +85 -0
- package/generated/docs/components_patterns-form-docs.md +2454 -0
- package/generated/docs/components_patterns-form-recipes-docs.md +1597 -0
- package/generated/docs/components_patterns-introduction-docs.md +31 -0
- package/generated/docs/components_patterns-loading-docs.md +1908 -0
- package/generated/docs/components_patterns-shadow-docs.md +195 -0
- package/generated/docs/components_resources-code-katas-docs.md +25 -0
- package/generated/docs/components_resources-introduction-docs.md +28 -0
- package/generated/docs/components_resources-mcp-server-docs.md +23 -0
- package/generated/docs/components_resources-migration-guides-from-v4-to-v5-docs.md +250 -0
- package/generated/docs/components_styling-props-colour-docs.md +91 -0
- package/generated/docs/components_styling-props-elevation-docs.md +69 -0
- package/generated/docs/components_styling-props-radius-docs.md +63 -0
- package/generated/docs/components_styling-props-reference-docs.md +160 -0
- package/generated/docs/components_styling-props-screen-readers-docs.md +66 -0
- package/generated/docs/components_styling-props-sizing-docs.md +217 -0
- package/generated/docs/components_styling-props-spacing-docs.md +545 -0
- package/generated/docs/components_styling-props-typography-docs.md +66 -0
- package/generated/docs/components_versions-docs.md +14 -0
- package/generated/docs/guidelines.md +3083 -0
- package/generated/docs/introduction-docs.md +37 -0
- package/generated/docs/tokens_colour-docs.md +479 -0
- package/generated/docs/tokens_elevation-docs.md +39 -0
- package/generated/docs/tokens_introduction-docs.md +150 -0
- package/generated/docs/tokens_radius-docs.md +67 -0
- package/generated/docs/tokens_spacing-docs.md +87 -0
- package/generated/docs/tokens_typography-docs.md +305 -0
- package/package.json +3 -4
|
@@ -0,0 +1,1054 @@
|
|
|
1
|
+
Alert
|
|
2
|
+
=====
|
|
3
|
+
|
|
4
|
+
Overview
|
|
5
|
+
--------
|
|
6
|
+
|
|
7
|
+
An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
|
|
8
|
+
|
|
9
|
+
* * *
|
|
10
|
+
|
|
11
|
+
Updated
|
|
12
|
+
|
|
13
|
+
**Recently updated**
|
|
14
|
+
|
|
15
|
+
This component has been recently updated with new props. The props have been marked as beta. Please tell us if there are any issues.
|
|
16
|
+
|
|
17
|
+
[](./iframe.html?id=components-alert--default)
|
|
18
|
+
|
|
19
|
+
This is a simple info alert
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
<IressAlert
|
|
24
|
+
footer\=""
|
|
25
|
+
heading\=""
|
|
26
|
+
status\="info"
|
|
27
|
+
\>
|
|
28
|
+
This is a simple info alert
|
|
29
|
+
</IressAlert\>
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Props
|
|
34
|
+
-----
|
|
35
|
+
|
|
36
|
+
| Name | Description | Default | Control |
|
|
37
|
+
| --- | --- | --- | --- |
|
|
38
|
+
| actions |
|
|
39
|
+
Actions to display in the alert. These will be rendered as buttons with opinionated styling. If you want to use custom buttons, use the `footer` prop instead.
|
|
40
|
+
|
|
41
|
+
Omit<IressButtonProps, 'mode' | 'status'>\[\]
|
|
42
|
+
|
|
43
|
+
| \- | Set object |
|
|
44
|
+
| children |
|
|
45
|
+
|
|
46
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
47
|
+
|
|
48
|
+
ReactNode
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
| \- |
|
|
53
|
+
|
|
54
|
+
"This is a simple info alert"
|
|
55
|
+
|
|
56
|
+
|
|
|
57
|
+
| defaultDismissed |
|
|
58
|
+
|
|
59
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
60
|
+
|
|
61
|
+
boolean
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
| \- | Set boolean |
|
|
66
|
+
| dismissed |
|
|
67
|
+
|
|
68
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
69
|
+
|
|
70
|
+
boolean
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
| \- | Set boolean |
|
|
75
|
+
| footer |
|
|
76
|
+
|
|
77
|
+
Buttons and controls for the alert.
|
|
78
|
+
|
|
79
|
+
ReactNode
|
|
80
|
+
|
|
81
|
+
<table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `actions` instead for buttons with opinionated styling. If you need other footer content, use the `children` prop instead.</td></tr></tbody></table>
|
|
82
|
+
|
|
83
|
+
| \- |
|
|
84
|
+
|
|
85
|
+
""
|
|
86
|
+
|
|
87
|
+
|
|
|
88
|
+
| heading |
|
|
89
|
+
|
|
90
|
+
Text for alert heading. If a string, it will use a heading with level 2.
|
|
91
|
+
|
|
92
|
+
ReactNode
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
| \- |
|
|
97
|
+
|
|
98
|
+
""
|
|
99
|
+
|
|
100
|
+
|
|
|
101
|
+
| icon |
|
|
102
|
+
|
|
103
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
104
|
+
|
|
105
|
+
union
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
| \- | Set object |
|
|
110
|
+
| onDismiss |
|
|
111
|
+
|
|
112
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
113
|
+
|
|
114
|
+
IressCloseButtonProps\['onClick'\]
|
|
115
|
+
|
|
116
|
+
| \- | Set object |
|
|
117
|
+
| status |
|
|
118
|
+
|
|
119
|
+
Alert type - danger, info, success or warning.
|
|
120
|
+
|
|
121
|
+
SystemValidationStatuses
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
|
126
|
+
|
|
127
|
+
'info'
|
|
128
|
+
|
|
129
|
+
|
|
|
130
|
+
|
|
131
|
+
"info"
|
|
132
|
+
|
|
133
|
+
|
|
|
134
|
+
| variant |
|
|
135
|
+
|
|
136
|
+
Variants of the alert, allowing it to be styled differently based on where its used in the application.
|
|
137
|
+
|
|
138
|
+
* Sidebar: The icon will be aligned to the heading, and the text will appear below the icon.
|
|
139
|
+
* Site-wide: The border will be removed, except for the bottom border.
|
|
140
|
+
|
|
141
|
+
union
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
| \- |
|
|
146
|
+
|
|
147
|
+
sidebarsite-wide
|
|
148
|
+
|
|
149
|
+
|
|
|
150
|
+
|
|
151
|
+
Examples
|
|
152
|
+
--------
|
|
153
|
+
|
|
154
|
+
### Status
|
|
155
|
+
|
|
156
|
+
The alert offers four statuses that set a distinctive colour and icon. They can be set using the `status` prop. Their different use cases are described here.
|
|
157
|
+
|
|
158
|
+
[](./iframe.html?id=components-alert--status)
|
|
159
|
+
|
|
160
|
+
This is a simple danger alert. It is used for errors and malfunctions that must be resolved before moving forward, such as a summary of errors to correct in a Form.
|
|
161
|
+
|
|
162
|
+
This is a simple info alert. It is used to provide context around a situation, such as rules around creating a compliant password, or a link to feature documentation or onboarding tips.
|
|
163
|
+
|
|
164
|
+
This is a simple success alert. It is used to communicate that an action has been successfully completed, such as saving changes in a Form.
|
|
165
|
+
|
|
166
|
+
This is a simple warning alert. It is used for a message requiring attention but not resolution in order to continue, such as noting data is not current or your password is about to expire.
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
<IressStack gap\="md"\>
|
|
171
|
+
<IressAlert
|
|
172
|
+
footer\=""
|
|
173
|
+
heading\=""
|
|
174
|
+
status\="danger"
|
|
175
|
+
\>
|
|
176
|
+
This is a simple danger alert. It is used for errors and malfunctions that must be resolved before moving forward, such as a summary of errors to correct in a Form. </IressAlert\>
|
|
177
|
+
<IressAlert
|
|
178
|
+
footer\=""
|
|
179
|
+
heading\=""
|
|
180
|
+
status\="info"
|
|
181
|
+
\>
|
|
182
|
+
This is a simple info alert. It is used to provide context around a situation, such as rules around creating a compliant password, or a link to feature documentation or onboarding tips. </IressAlert\>
|
|
183
|
+
<IressAlert
|
|
184
|
+
footer\=""
|
|
185
|
+
heading\=""
|
|
186
|
+
status\="success"
|
|
187
|
+
\>
|
|
188
|
+
This is a simple success alert. It is used to communicate that an action has been successfully completed, such as saving changes in a Form. </IressAlert\>
|
|
189
|
+
<IressAlert
|
|
190
|
+
footer\=""
|
|
191
|
+
heading\=""
|
|
192
|
+
status\="warning"
|
|
193
|
+
\>
|
|
194
|
+
This is a simple warning alert. It is used for a message requiring attention but not resolution in order to continue, such as noting data is not current or your password is about to expire. </IressAlert\>
|
|
195
|
+
</IressStack\>
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
#### Props
|
|
200
|
+
|
|
201
|
+
| Name | Description | Default | Control |
|
|
202
|
+
| --- | --- | --- | --- |
|
|
203
|
+
| actions |
|
|
204
|
+
Actions to display in the alert. These will be rendered as buttons with opinionated styling. If you want to use custom buttons, use the `footer` prop instead.
|
|
205
|
+
|
|
206
|
+
Omit<IressButtonProps, 'mode' | 'status'>\[\]
|
|
207
|
+
|
|
208
|
+
| \- | Set object |
|
|
209
|
+
| children |
|
|
210
|
+
|
|
211
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
212
|
+
|
|
213
|
+
ReactNode
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
| \- | \- |
|
|
218
|
+
| defaultDismissed |
|
|
219
|
+
|
|
220
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
221
|
+
|
|
222
|
+
boolean
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
| \- | Set boolean |
|
|
227
|
+
| dismissed |
|
|
228
|
+
|
|
229
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
230
|
+
|
|
231
|
+
boolean
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
| \- | Set boolean |
|
|
236
|
+
| footer |
|
|
237
|
+
|
|
238
|
+
Buttons and controls for the alert.
|
|
239
|
+
|
|
240
|
+
ReactNode
|
|
241
|
+
|
|
242
|
+
<table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `actions` instead for buttons with opinionated styling. If you need other footer content, use the `children` prop instead.</td></tr></tbody></table>
|
|
243
|
+
|
|
244
|
+
| \- |
|
|
245
|
+
|
|
246
|
+
""
|
|
247
|
+
|
|
248
|
+
|
|
|
249
|
+
| heading |
|
|
250
|
+
|
|
251
|
+
Text for alert heading. If a string, it will use a heading with level 2.
|
|
252
|
+
|
|
253
|
+
ReactNode
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
| \- |
|
|
258
|
+
|
|
259
|
+
""
|
|
260
|
+
|
|
261
|
+
|
|
|
262
|
+
| icon |
|
|
263
|
+
|
|
264
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
265
|
+
|
|
266
|
+
union
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
| \- | Set object |
|
|
271
|
+
| onDismiss |
|
|
272
|
+
|
|
273
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
274
|
+
|
|
275
|
+
IressCloseButtonProps\['onClick'\]
|
|
276
|
+
|
|
277
|
+
| \- | Set object |
|
|
278
|
+
| status |
|
|
279
|
+
|
|
280
|
+
Alert type - danger, info, success or warning.
|
|
281
|
+
|
|
282
|
+
SystemValidationStatuses
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
|
287
|
+
|
|
288
|
+
'info'
|
|
289
|
+
|
|
290
|
+
| \- |
|
|
291
|
+
| variant |
|
|
292
|
+
|
|
293
|
+
Variants of the alert, allowing it to be styled differently based on where its used in the application.
|
|
294
|
+
|
|
295
|
+
* Sidebar: The icon will be aligned to the heading, and the text will appear below the icon.
|
|
296
|
+
* Site-wide: The border will be removed, except for the bottom border.
|
|
297
|
+
|
|
298
|
+
union
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
| \- |
|
|
303
|
+
|
|
304
|
+
sidebarsite-wide
|
|
305
|
+
|
|
306
|
+
|
|
|
307
|
+
| Show Storybook only itemsStorybook only | Show Storybook only items |
|
|
308
|
+
|
|
309
|
+
### Heading
|
|
310
|
+
|
|
311
|
+
An alert can be displayed with a heading. This is controlled by the `heading` prop. If provided a string, it will display a `<h2 />` element with the string as its content. If provided a React element, it will display that element directly.
|
|
312
|
+
|
|
313
|
+
**Note**: The `heading` prop replaces the `headingText` and `headingLevel` props from previous versions of IDS. These prop are now deprecated and will be removed in a future version.
|
|
314
|
+
|
|
315
|
+
[](./iframe.html?id=components-alert--heading)
|
|
316
|
+
|
|
317
|
+
Alert heading
|
|
318
|
+
-------------
|
|
319
|
+
|
|
320
|
+
This is a simple info alert
|
|
321
|
+
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
<IressAlert
|
|
325
|
+
footer\=""
|
|
326
|
+
heading\="Alert heading"
|
|
327
|
+
status\="info"
|
|
328
|
+
\>
|
|
329
|
+
This is a simple info alert
|
|
330
|
+
</IressAlert\>
|
|
331
|
+
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
#### Props
|
|
335
|
+
|
|
336
|
+
| Name | Description | Default | Control |
|
|
337
|
+
| --- | --- | --- | --- |
|
|
338
|
+
| actions |
|
|
339
|
+
Actions to display in the alert. These will be rendered as buttons with opinionated styling. If you want to use custom buttons, use the `footer` prop instead.
|
|
340
|
+
|
|
341
|
+
Omit<IressButtonProps, 'mode' | 'status'>\[\]
|
|
342
|
+
|
|
343
|
+
| \- | Set object |
|
|
344
|
+
| children |
|
|
345
|
+
|
|
346
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
347
|
+
|
|
348
|
+
ReactNode
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
| \- |
|
|
353
|
+
|
|
354
|
+
"This is a simple info alert"
|
|
355
|
+
|
|
356
|
+
|
|
|
357
|
+
| defaultDismissed |
|
|
358
|
+
|
|
359
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
360
|
+
|
|
361
|
+
boolean
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
| \- | Set boolean |
|
|
366
|
+
| dismissed |
|
|
367
|
+
|
|
368
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
369
|
+
|
|
370
|
+
boolean
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
| \- | Set boolean |
|
|
375
|
+
| footer |
|
|
376
|
+
|
|
377
|
+
Buttons and controls for the alert.
|
|
378
|
+
|
|
379
|
+
ReactNode
|
|
380
|
+
|
|
381
|
+
<table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `actions` instead for buttons with opinionated styling. If you need other footer content, use the `children` prop instead.</td></tr></tbody></table>
|
|
382
|
+
|
|
383
|
+
| \- |
|
|
384
|
+
|
|
385
|
+
""
|
|
386
|
+
|
|
387
|
+
|
|
|
388
|
+
| heading |
|
|
389
|
+
|
|
390
|
+
Text for alert heading. If a string, it will use a heading with level 2.
|
|
391
|
+
|
|
392
|
+
ReactNode
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
| \- |
|
|
397
|
+
|
|
398
|
+
"Alert heading"
|
|
399
|
+
|
|
400
|
+
|
|
|
401
|
+
| icon |
|
|
402
|
+
|
|
403
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
404
|
+
|
|
405
|
+
union
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
| \- | Set object |
|
|
410
|
+
| onDismiss |
|
|
411
|
+
|
|
412
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
413
|
+
|
|
414
|
+
IressCloseButtonProps\['onClick'\]
|
|
415
|
+
|
|
416
|
+
| \- | Set object |
|
|
417
|
+
| status |
|
|
418
|
+
|
|
419
|
+
Alert type - danger, info, success or warning.
|
|
420
|
+
|
|
421
|
+
SystemValidationStatuses
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
|
426
|
+
|
|
427
|
+
'info'
|
|
428
|
+
|
|
429
|
+
|
|
|
430
|
+
|
|
431
|
+
"info"
|
|
432
|
+
|
|
433
|
+
|
|
|
434
|
+
| variant |
|
|
435
|
+
|
|
436
|
+
Variants of the alert, allowing it to be styled differently based on where its used in the application.
|
|
437
|
+
|
|
438
|
+
* Sidebar: The icon will be aligned to the heading, and the text will appear below the icon.
|
|
439
|
+
* Site-wide: The border will be removed, except for the bottom border.
|
|
440
|
+
|
|
441
|
+
union
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
| \- |
|
|
446
|
+
|
|
447
|
+
sidebarsite-wide
|
|
448
|
+
|
|
449
|
+
|
|
|
450
|
+
|
|
451
|
+
### Actions
|
|
452
|
+
|
|
453
|
+
The `actions` prop allows you to display call to action buttons within the alert. This is useful for providing users with options to take action based on the alert message.
|
|
454
|
+
|
|
455
|
+
[](./iframe.html?id=components-alert--footer)
|
|
456
|
+
|
|
457
|
+
Alert heading
|
|
458
|
+
-------------
|
|
459
|
+
|
|
460
|
+
Here is the warning
|
|
461
|
+
|
|
462
|
+
Action
|
|
463
|
+
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
<IressAlert
|
|
467
|
+
actions\={\[
|
|
468
|
+
{
|
|
469
|
+
children: 'Action',
|
|
470
|
+
onClick: () \=> {}
|
|
471
|
+
}
|
|
472
|
+
\]}
|
|
473
|
+
heading\="Alert heading"
|
|
474
|
+
\>
|
|
475
|
+
<IressText\>
|
|
476
|
+
Here is the warning </IressText\>
|
|
477
|
+
</IressAlert\>
|
|
478
|
+
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
#### Props
|
|
482
|
+
|
|
483
|
+
| Name | Description | Default | Control |
|
|
484
|
+
| --- | --- | --- | --- |
|
|
485
|
+
| actions |
|
|
486
|
+
Actions to display in the alert. These will be rendered as buttons with opinionated styling. If you want to use custom buttons, use the `footer` prop instead.
|
|
487
|
+
|
|
488
|
+
Omit<IressButtonProps, 'mode' | 'status'>\[\]
|
|
489
|
+
|
|
490
|
+
| \- |
|
|
491
|
+
|
|
492
|
+
RAW
|
|
493
|
+
|
|
494
|
+
* actions :
|
|
495
|
+
|
|
496
|
+
\[
|
|
497
|
+
|
|
498
|
+
* 0 :
|
|
499
|
+
|
|
500
|
+
{...} 2 keys
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
\]
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
|
509
|
+
| children |
|
|
510
|
+
|
|
511
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
512
|
+
|
|
513
|
+
ReactNode
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
| \- |
|
|
518
|
+
|
|
519
|
+
RAW
|
|
520
|
+
|
|
521
|
+
children :
|
|
522
|
+
|
|
523
|
+
{
|
|
524
|
+
|
|
525
|
+
* $$typeof : Symbol(react.transitional.element)
|
|
526
|
+
* type : ({ className, ...restProps }) => { \_s(); const Component = useMemo( () => styled(restProps.element ?? "div", text), \[restProps.element\] ); return /\* @\_\_PURE\_\_ \*/ jsxDEV( Component, { ...restProps, className: cx(className, GlobalCSSClass.Text) }, void 0, false, { fileName: "/home/runner/work/design-system/design-system/packages/components/src/components/Text/Text.tsx", lineNumber: 46, columnNumber: 5 }, this ); }
|
|
527
|
+
* key : null
|
|
528
|
+
* props :
|
|
529
|
+
|
|
530
|
+
{...} 1 key
|
|
531
|
+
|
|
532
|
+
* \_owner : null
|
|
533
|
+
* \_store :
|
|
534
|
+
|
|
535
|
+
{...} 0 keys
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
|
547
|
+
| defaultDismissed |
|
|
548
|
+
|
|
549
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
550
|
+
|
|
551
|
+
boolean
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
| \- | Set boolean |
|
|
556
|
+
| dismissed |
|
|
557
|
+
|
|
558
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
559
|
+
|
|
560
|
+
boolean
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
| \- | Set boolean |
|
|
565
|
+
| footer |
|
|
566
|
+
|
|
567
|
+
Buttons and controls for the alert.
|
|
568
|
+
|
|
569
|
+
ReactNode
|
|
570
|
+
|
|
571
|
+
<table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `actions` instead for buttons with opinionated styling. If you need other footer content, use the `children` prop instead.</td></tr></tbody></table>
|
|
572
|
+
|
|
573
|
+
| \- | Set object |
|
|
574
|
+
| heading |
|
|
575
|
+
|
|
576
|
+
Text for alert heading. If a string, it will use a heading with level 2.
|
|
577
|
+
|
|
578
|
+
ReactNode
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
| \- |
|
|
583
|
+
|
|
584
|
+
"Alert heading"
|
|
585
|
+
|
|
586
|
+
|
|
|
587
|
+
| icon |
|
|
588
|
+
|
|
589
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
590
|
+
|
|
591
|
+
union
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
| \- | Set object |
|
|
596
|
+
| onDismiss |
|
|
597
|
+
|
|
598
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
599
|
+
|
|
600
|
+
IressCloseButtonProps\['onClick'\]
|
|
601
|
+
|
|
602
|
+
| \- | Set object |
|
|
603
|
+
| status |
|
|
604
|
+
|
|
605
|
+
Alert type - danger, info, success or warning.
|
|
606
|
+
|
|
607
|
+
SystemValidationStatuses
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
|
612
|
+
|
|
613
|
+
'info'
|
|
614
|
+
|
|
615
|
+
| Set object |
|
|
616
|
+
| variant |
|
|
617
|
+
|
|
618
|
+
Variants of the alert, allowing it to be styled differently based on where its used in the application.
|
|
619
|
+
|
|
620
|
+
* Sidebar: The icon will be aligned to the heading, and the text will appear below the icon.
|
|
621
|
+
* Site-wide: The border will be removed, except for the bottom border.
|
|
622
|
+
|
|
623
|
+
union
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
| \- |
|
|
628
|
+
|
|
629
|
+
sidebarsite-wide
|
|
630
|
+
|
|
631
|
+
|
|
|
632
|
+
|
|
633
|
+
### Icon
|
|
634
|
+
|
|
635
|
+
The `icon` prop allows you to customise the icon displayed in the alert. It accepts a string for the icon name, or can be set to `false` to remove the icon entirely.
|
|
636
|
+
|
|
637
|
+
[](./iframe.html?id=components-alert--icon)
|
|
638
|
+
|
|
639
|
+
Some information
|
|
640
|
+
----------------
|
|
641
|
+
|
|
642
|
+
This is an alert without an icon
|
|
643
|
+
|
|
644
|
+
```
|
|
645
|
+
|
|
646
|
+
<IressAlert
|
|
647
|
+
heading\="Some information"
|
|
648
|
+
\>
|
|
649
|
+
This is an alert without an icon
|
|
650
|
+
</IressAlert\>
|
|
651
|
+
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
#### Props
|
|
655
|
+
|
|
656
|
+
| Name | Description | Default | Control |
|
|
657
|
+
| --- | --- | --- | --- |
|
|
658
|
+
| actions |
|
|
659
|
+
Actions to display in the alert. These will be rendered as buttons with opinionated styling. If you want to use custom buttons, use the `footer` prop instead.
|
|
660
|
+
|
|
661
|
+
Omit<IressButtonProps, 'mode' | 'status'>\[\]
|
|
662
|
+
|
|
663
|
+
| \- | Set object |
|
|
664
|
+
| children |
|
|
665
|
+
|
|
666
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
667
|
+
|
|
668
|
+
ReactNode
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
| \- |
|
|
673
|
+
|
|
674
|
+
"This is an alert without an icon"
|
|
675
|
+
|
|
676
|
+
|
|
|
677
|
+
| defaultDismissed |
|
|
678
|
+
|
|
679
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
680
|
+
|
|
681
|
+
boolean
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
| \- | Set boolean |
|
|
686
|
+
| dismissed |
|
|
687
|
+
|
|
688
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
689
|
+
|
|
690
|
+
boolean
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
| \- | Set boolean |
|
|
695
|
+
| footer |
|
|
696
|
+
|
|
697
|
+
Buttons and controls for the alert.
|
|
698
|
+
|
|
699
|
+
ReactNode
|
|
700
|
+
|
|
701
|
+
<table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `actions` instead for buttons with opinionated styling. If you need other footer content, use the `children` prop instead.</td></tr></tbody></table>
|
|
702
|
+
|
|
703
|
+
| \- | Set object |
|
|
704
|
+
| heading |
|
|
705
|
+
|
|
706
|
+
Text for alert heading. If a string, it will use a heading with level 2.
|
|
707
|
+
|
|
708
|
+
ReactNode
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
| \- |
|
|
713
|
+
|
|
714
|
+
"Some information"
|
|
715
|
+
|
|
716
|
+
|
|
|
717
|
+
| icon |
|
|
718
|
+
|
|
719
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
720
|
+
|
|
721
|
+
union
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
| \- |
|
|
726
|
+
|
|
727
|
+
false
|
|
728
|
+
|
|
729
|
+
|
|
|
730
|
+
| onDismiss |
|
|
731
|
+
|
|
732
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
733
|
+
|
|
734
|
+
IressCloseButtonProps\['onClick'\]
|
|
735
|
+
|
|
736
|
+
| \- | Set object |
|
|
737
|
+
| status |
|
|
738
|
+
|
|
739
|
+
Alert type - danger, info, success or warning.
|
|
740
|
+
|
|
741
|
+
SystemValidationStatuses
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
|
746
|
+
|
|
747
|
+
'info'
|
|
748
|
+
|
|
749
|
+
| Set object |
|
|
750
|
+
| variant |
|
|
751
|
+
|
|
752
|
+
Variants of the alert, allowing it to be styled differently based on where its used in the application.
|
|
753
|
+
|
|
754
|
+
* Sidebar: The icon will be aligned to the heading, and the text will appear below the icon.
|
|
755
|
+
* Site-wide: The border will be removed, except for the bottom border.
|
|
756
|
+
|
|
757
|
+
union
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
| \- |
|
|
762
|
+
|
|
763
|
+
sidebarsite-wide
|
|
764
|
+
|
|
765
|
+
|
|
|
766
|
+
|
|
767
|
+
### Variants
|
|
768
|
+
|
|
769
|
+
The alert can be displayed in different variants to suit different use cases. The `variant` prop allows you to set the variant of the alert. The available variants are:
|
|
770
|
+
|
|
771
|
+
* `sidebar`: The alert is displayed in the sidebar of the page, typically used for informational messages on longer forms.
|
|
772
|
+
* `site-wide`: The alert is displayed in the site-wide banner, typically used for important messages that need to be seen by all users.
|
|
773
|
+
|
|
774
|
+
[](./iframe.html?id=components-alert--variant)
|
|
775
|
+
|
|
776
|
+
Did you know?
|
|
777
|
+
-------------
|
|
778
|
+
|
|
779
|
+
You can use the alert component in different ways.
|
|
780
|
+
|
|
781
|
+
Did you know?
|
|
782
|
+
-------------
|
|
783
|
+
|
|
784
|
+
You can use the alert component in different ways.
|
|
785
|
+
|
|
786
|
+
```
|
|
787
|
+
|
|
788
|
+
<IressStack gap\="md"\>
|
|
789
|
+
<IressAlert
|
|
790
|
+
heading\="Did you know?"
|
|
791
|
+
variant\="sidebar"
|
|
792
|
+
\>
|
|
793
|
+
You can use the alert component in different ways. </IressAlert\>
|
|
794
|
+
<IressAlert
|
|
795
|
+
heading\="Did you know?"
|
|
796
|
+
variant\="site-wide"
|
|
797
|
+
\>
|
|
798
|
+
You can use the alert component in different ways. </IressAlert\>
|
|
799
|
+
</IressStack\>
|
|
800
|
+
|
|
801
|
+
```
|
|
802
|
+
|
|
803
|
+
#### Props
|
|
804
|
+
|
|
805
|
+
| Name | Description | Default | Control |
|
|
806
|
+
| --- | --- | --- | --- |
|
|
807
|
+
| actions |
|
|
808
|
+
Actions to display in the alert. These will be rendered as buttons with opinionated styling. If you want to use custom buttons, use the `footer` prop instead.
|
|
809
|
+
|
|
810
|
+
Omit<IressButtonProps, 'mode' | 'status'>\[\]
|
|
811
|
+
|
|
812
|
+
| \- | Set object |
|
|
813
|
+
| children |
|
|
814
|
+
|
|
815
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
816
|
+
|
|
817
|
+
ReactNode
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
| \- |
|
|
822
|
+
|
|
823
|
+
"You can use the alert component in different ways."
|
|
824
|
+
|
|
825
|
+
|
|
|
826
|
+
| defaultDismissed |
|
|
827
|
+
|
|
828
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
829
|
+
|
|
830
|
+
boolean
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
| \- | Set boolean |
|
|
835
|
+
| dismissed |
|
|
836
|
+
|
|
837
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
838
|
+
|
|
839
|
+
boolean
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
| \- | Set boolean |
|
|
844
|
+
| footer |
|
|
845
|
+
|
|
846
|
+
Buttons and controls for the alert.
|
|
847
|
+
|
|
848
|
+
ReactNode
|
|
849
|
+
|
|
850
|
+
<table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `actions` instead for buttons with opinionated styling. If you need other footer content, use the `children` prop instead.</td></tr></tbody></table>
|
|
851
|
+
|
|
852
|
+
| \- | Set object |
|
|
853
|
+
| heading |
|
|
854
|
+
|
|
855
|
+
Text for alert heading. If a string, it will use a heading with level 2.
|
|
856
|
+
|
|
857
|
+
ReactNode
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
| \- |
|
|
862
|
+
|
|
863
|
+
"Did you know?"
|
|
864
|
+
|
|
865
|
+
|
|
|
866
|
+
| icon |
|
|
867
|
+
|
|
868
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
869
|
+
|
|
870
|
+
union
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
| \- |
|
|
875
|
+
|
|
876
|
+
false
|
|
877
|
+
|
|
878
|
+
|
|
|
879
|
+
| onDismiss |
|
|
880
|
+
|
|
881
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
882
|
+
|
|
883
|
+
IressCloseButtonProps\['onClick'\]
|
|
884
|
+
|
|
885
|
+
| \- | Set object |
|
|
886
|
+
| status |
|
|
887
|
+
|
|
888
|
+
Alert type - danger, info, success or warning.
|
|
889
|
+
|
|
890
|
+
SystemValidationStatuses
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
|
|
|
895
|
+
|
|
896
|
+
'info'
|
|
897
|
+
|
|
898
|
+
| Set object |
|
|
899
|
+
| variant |
|
|
900
|
+
|
|
901
|
+
Variants of the alert, allowing it to be styled differently based on where its used in the application.
|
|
902
|
+
|
|
903
|
+
* Sidebar: The icon will be aligned to the heading, and the text will appear below the icon.
|
|
904
|
+
* Site-wide: The border will be removed, except for the bottom border.
|
|
905
|
+
|
|
906
|
+
union
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
| \- |
|
|
911
|
+
|
|
912
|
+
sidebarsite-wide
|
|
913
|
+
|
|
914
|
+
|
|
|
915
|
+
|
|
916
|
+
### Dimissable
|
|
917
|
+
|
|
918
|
+
The alert can be made dismissable by setting the `onDismiss` prop. This will display a close button in the top right corner of the alert, allowing users to dismiss it.
|
|
919
|
+
|
|
920
|
+
[](./iframe.html?id=components-alert--dismissable)
|
|
921
|
+
|
|
922
|
+
This is a simple info alert
|
|
923
|
+
|
|
924
|
+
```
|
|
925
|
+
|
|
926
|
+
<IressAlert
|
|
927
|
+
footer\=""
|
|
928
|
+
heading\=""
|
|
929
|
+
onDismiss\={() \=> {}}
|
|
930
|
+
status\="info"
|
|
931
|
+
\>
|
|
932
|
+
This is a simple info alert
|
|
933
|
+
</IressAlert\>
|
|
934
|
+
|
|
935
|
+
```
|
|
936
|
+
|
|
937
|
+
#### Props
|
|
938
|
+
|
|
939
|
+
| Name | Description | Default | Control |
|
|
940
|
+
| --- | --- | --- | --- |
|
|
941
|
+
| actions |
|
|
942
|
+
Actions to display in the alert. These will be rendered as buttons with opinionated styling. If you want to use custom buttons, use the `footer` prop instead.
|
|
943
|
+
|
|
944
|
+
Omit<IressButtonProps, 'mode' | 'status'>\[\]
|
|
945
|
+
|
|
946
|
+
| \- | Set object |
|
|
947
|
+
| children |
|
|
948
|
+
|
|
949
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
950
|
+
|
|
951
|
+
ReactNode
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
| \- |
|
|
956
|
+
|
|
957
|
+
"This is a simple info alert"
|
|
958
|
+
|
|
959
|
+
|
|
|
960
|
+
| defaultDismissed |
|
|
961
|
+
|
|
962
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
963
|
+
|
|
964
|
+
boolean
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
| \- | Set boolean |
|
|
969
|
+
| dismissed |
|
|
970
|
+
|
|
971
|
+
Contents of the alert. Is automatically wrapped in `<IressText />` and will inherit its styling.
|
|
972
|
+
|
|
973
|
+
boolean
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
| \- | Set boolean |
|
|
978
|
+
| footer |
|
|
979
|
+
|
|
980
|
+
Buttons and controls for the alert.
|
|
981
|
+
|
|
982
|
+
ReactNode
|
|
983
|
+
|
|
984
|
+
<table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `actions` instead for buttons with opinionated styling. If you need other footer content, use the `children` prop instead.</td></tr></tbody></table>
|
|
985
|
+
|
|
986
|
+
| \- |
|
|
987
|
+
|
|
988
|
+
""
|
|
989
|
+
|
|
990
|
+
|
|
|
991
|
+
| heading |
|
|
992
|
+
|
|
993
|
+
Text for alert heading. If a string, it will use a heading with level 2.
|
|
994
|
+
|
|
995
|
+
ReactNode
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
| \- |
|
|
1000
|
+
|
|
1001
|
+
""
|
|
1002
|
+
|
|
1003
|
+
|
|
|
1004
|
+
| icon |
|
|
1005
|
+
|
|
1006
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
1007
|
+
|
|
1008
|
+
union
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
| \- | Set object |
|
|
1013
|
+
| onDismiss |
|
|
1014
|
+
|
|
1015
|
+
Icon to display in the alert. If set to `false`, no icon will be displayed. If not provided, the icon will be determined by the `status` prop.
|
|
1016
|
+
|
|
1017
|
+
IressCloseButtonProps\['onClick'\]
|
|
1018
|
+
|
|
1019
|
+
| \- |
|
|
1020
|
+
|
|
1021
|
+
|
|
|
1022
|
+
| status |
|
|
1023
|
+
|
|
1024
|
+
Alert type - danger, info, success or warning.
|
|
1025
|
+
|
|
1026
|
+
SystemValidationStatuses
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
|
1031
|
+
|
|
1032
|
+
'info'
|
|
1033
|
+
|
|
1034
|
+
|
|
|
1035
|
+
|
|
1036
|
+
"info"
|
|
1037
|
+
|
|
1038
|
+
|
|
|
1039
|
+
| variant |
|
|
1040
|
+
|
|
1041
|
+
Variants of the alert, allowing it to be styled differently based on where its used in the application.
|
|
1042
|
+
|
|
1043
|
+
* Sidebar: The icon will be aligned to the heading, and the text will appear below the icon.
|
|
1044
|
+
* Site-wide: The border will be removed, except for the bottom border.
|
|
1045
|
+
|
|
1046
|
+
union
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
| \- |
|
|
1051
|
+
|
|
1052
|
+
sidebarsite-wide
|
|
1053
|
+
|
|
1054
|
+
|
|