@iress-oss/ids-mcp-server 5.15.0 → 5.20.1

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.
Files changed (132) hide show
  1. package/generated/docs/components_components-alert-docs.md +492 -0
  2. package/generated/docs/components_components-autocomplete-docs.md +3485 -0
  3. package/generated/docs/{components-autocomplete-recipes-docs.md → components_components-autocomplete-recipes-docs.md} +32 -14
  4. package/generated/docs/{components-badge-docs.md → components_components-badge-docs.md} +222 -30
  5. package/generated/docs/components_components-button-docs.md +2078 -0
  6. package/generated/docs/components_components-button-recipes-docs.md +37 -0
  7. package/generated/docs/components_components-buttongroup-docs.md +1045 -0
  8. package/generated/docs/components_components-card-docs.md +2276 -0
  9. package/generated/docs/{components-card-recipes-docs.md → components_components-card-recipes-docs.md} +131 -14
  10. package/generated/docs/components_components-checkbox-docs.md +1054 -0
  11. package/generated/docs/{components-checkboxgroup-docs.md → components_components-checkboxgroup-docs.md} +1000 -81
  12. package/generated/docs/{components-checkboxgroup-recipes-docs.md → components_components-checkboxgroup-recipes-docs.md} +101 -11
  13. package/generated/docs/{components-col-docs.md → components_components-col-docs.md} +331 -58
  14. package/generated/docs/components_components-combobox-docs.md +3767 -0
  15. package/generated/docs/{components-container-docs.md → components_components-container-docs.md} +61 -24
  16. package/generated/docs/{components-divider-docs.md → components_components-divider-docs.md} +83 -24
  17. package/generated/docs/{components-expander-docs.md → components_components-expander-docs.md} +264 -33
  18. package/generated/docs/{components-field-docs.md → components_components-field-docs.md} +814 -120
  19. package/generated/docs/components_components-filter-docs.md +4080 -0
  20. package/generated/docs/{components-form-docs.md → components_components-form-docs.md} +1515 -353
  21. package/generated/docs/{components-form-recipes-docs.md → components_components-form-recipes-docs.md} +170 -54
  22. package/generated/docs/components_components-hide-docs.md +293 -0
  23. package/generated/docs/components_components-icon-docs.md +1337 -0
  24. package/generated/docs/{components-inline-docs.md → components_components-inline-docs.md} +462 -42
  25. package/generated/docs/components_components-input-docs.md +1468 -0
  26. package/generated/docs/components_components-input-recipes-docs.md +367 -0
  27. package/generated/docs/components_components-inputcurrency-docs.md +432 -0
  28. package/generated/docs/{components-inputcurrency-recipes-docs.md → components_components-inputcurrency-recipes-docs.md} +110 -17
  29. package/generated/docs/components_components-label-docs.md +323 -0
  30. package/generated/docs/components_components-menu-docs.md +2345 -0
  31. package/generated/docs/components_components-menu-menuitem-docs.md +633 -0
  32. package/generated/docs/{components-modal-docs.md → components_components-modal-docs.md} +1625 -232
  33. package/generated/docs/components_components-navbar-docs.md +1847 -0
  34. package/generated/docs/{components-navbar-recipes-docs.md → components_components-navbar-recipes-docs.md} +697 -39
  35. package/generated/docs/{components-panel-docs.md → components_components-panel-docs.md} +754 -57
  36. package/generated/docs/components_components-placeholder-docs.md +92 -0
  37. package/generated/docs/components_components-popover-docs.md +1641 -0
  38. package/generated/docs/{components-popover-recipes-docs.md → components_components-popover-recipes-docs.md} +347 -17
  39. package/generated/docs/components_components-progress-docs.md +115 -0
  40. package/generated/docs/{components-provider-docs.md → components_components-provider-docs.md} +41 -32
  41. package/generated/docs/components_components-radio-docs.md +491 -0
  42. package/generated/docs/{components-radiogroup-docs.md → components_components-radiogroup-docs.md} +943 -75
  43. package/generated/docs/components_components-readonly-docs.md +263 -0
  44. package/generated/docs/components_components-richselect-docs.md +6497 -0
  45. package/generated/docs/{components-row-docs.md → components_components-row-docs.md} +353 -43
  46. package/generated/docs/{components-select-docs.md → components_components-select-docs.md} +719 -61
  47. package/generated/docs/components_components-skeleton-docs.md +480 -0
  48. package/generated/docs/{components-skeleton-recipes-docs.md → components_components-skeleton-recipes-docs.md} +50 -10
  49. package/generated/docs/{components-skiplink-docs.md → components_components-skiplink-docs.md} +53 -14
  50. package/generated/docs/components_components-slideout-docs.md +2262 -0
  51. package/generated/docs/components_components-slider-docs.md +1276 -0
  52. package/generated/docs/components_components-spinner-docs.md +82 -0
  53. package/generated/docs/{components-stack-docs.md → components_components-stack-docs.md} +223 -40
  54. package/generated/docs/components_components-table-docs.md +3651 -0
  55. package/generated/docs/components_components-tabset-docs.md +772 -0
  56. package/generated/docs/components_components-tabset-tab-docs.md +262 -0
  57. package/generated/docs/components_components-tag-docs.md +259 -0
  58. package/generated/docs/{components-text-docs.md → components_components-text-docs.md} +491 -51
  59. package/generated/docs/{components-toaster-docs.md → components_components-toaster-docs.md} +181 -79
  60. package/generated/docs/components_components-toaster-toast-docs.md +634 -0
  61. package/generated/docs/components_components-toggle-docs.md +461 -0
  62. package/generated/docs/{components-tooltip-docs.md → components_components-tooltip-docs.md} +286 -41
  63. package/generated/docs/{components-validationmessage-docs.md → components_components-validationmessage-docs.md} +230 -61
  64. package/generated/docs/components_contact-us-docs.md +12 -0
  65. package/generated/docs/{foundations-accessibility-docs.md → components_foundations-accessibility-docs.md} +11 -21
  66. package/generated/docs/{foundations-colours-docs.md → components_foundations-colour-030-colours.md} +8 -15
  67. package/generated/docs/{foundations-consistency-docs.md → components_foundations-consistency-docs.md} +12 -20
  68. package/generated/docs/{foundations-content-docs.md → components_foundations-content-docs.md} +6 -11
  69. package/generated/docs/components_foundations-introduction-docs.md +15 -0
  70. package/generated/docs/{foundations-principles-docs.md → components_foundations-principles-docs.md} +14 -24
  71. package/generated/docs/components_foundations-typography-docs.md +608 -0
  72. package/generated/docs/{foundations-user-experience-docs.md → components_foundations-user-experience-docs.md} +16 -26
  73. package/generated/docs/{foundations-visual-design-docs.md → components_foundations-visual-design-docs.md} +10 -17
  74. package/generated/docs/{frequently-asked-questions-docs.md → components_frequently-asked-questions-docs.md} +14 -23
  75. package/generated/docs/components_get-started-develop-docs.md +84 -0
  76. package/generated/docs/components_get-started-using-storybook-docs.md +55 -0
  77. package/generated/docs/components_introduction-docs.md +15 -0
  78. package/generated/docs/{patterns-loading-docs.md → components_patterns-loading-docs.md} +711 -143
  79. package/generated/docs/components_resources-changelog-docs.md +4 -0
  80. package/generated/docs/{resources-code-katas-docs.md → components_resources-code-katas-docs.md} +5 -9
  81. package/generated/docs/{resources-migration-guides-from-v4-to-v5-docs.md → components_resources-migration-guides-from-v4-to-v5-docs.md} +54 -239
  82. package/generated/docs/{versions-docs.md → components_versions-docs.md} +5 -8
  83. package/generated/docs/guidelines.md +484 -200
  84. package/generated/docs/introduction-docs.md +19 -30
  85. package/package.json +41 -45
  86. package/generated/docs/components-alert-docs.md +0 -130
  87. package/generated/docs/components-autocomplete-docs.md +0 -754
  88. package/generated/docs/components-button-docs.md +0 -362
  89. package/generated/docs/components-button-recipes-docs.md +0 -76
  90. package/generated/docs/components-buttongroup-docs.md +0 -310
  91. package/generated/docs/components-card-docs.md +0 -494
  92. package/generated/docs/components-checkbox-docs.md +0 -193
  93. package/generated/docs/components-combobox-docs.md +0 -1016
  94. package/generated/docs/components-filter-docs.md +0 -1109
  95. package/generated/docs/components-hide-docs.md +0 -265
  96. package/generated/docs/components-icon-docs.md +0 -553
  97. package/generated/docs/components-input-docs.md +0 -335
  98. package/generated/docs/components-input-recipes-docs.md +0 -140
  99. package/generated/docs/components-inputcurrency-docs.md +0 -157
  100. package/generated/docs/components-label-docs.md +0 -135
  101. package/generated/docs/components-menu-docs.md +0 -704
  102. package/generated/docs/components-menu-menuitem-docs.md +0 -193
  103. package/generated/docs/components-navbar-docs.md +0 -291
  104. package/generated/docs/components-placeholder-docs.md +0 -27
  105. package/generated/docs/components-popover-docs.md +0 -464
  106. package/generated/docs/components-progress-docs.md +0 -104
  107. package/generated/docs/components-radio-docs.md +0 -107
  108. package/generated/docs/components-readonly-docs.md +0 -89
  109. package/generated/docs/components-richselect-docs.md +0 -2433
  110. package/generated/docs/components-skeleton-docs.md +0 -214
  111. package/generated/docs/components-slideout-docs.md +0 -538
  112. package/generated/docs/components-slider-docs.md +0 -346
  113. package/generated/docs/components-spinner-docs.md +0 -59
  114. package/generated/docs/components-table-ag-grid-docs.md +0 -1074
  115. package/generated/docs/components-table-docs.md +0 -1305
  116. package/generated/docs/components-tabset-docs.md +0 -341
  117. package/generated/docs/components-tabset-tab-docs.md +0 -86
  118. package/generated/docs/components-tag-docs.md +0 -115
  119. package/generated/docs/components-toaster-toast-docs.md +0 -157
  120. package/generated/docs/components-toggle-docs.md +0 -158
  121. package/generated/docs/contact-us-docs.md +0 -27
  122. package/generated/docs/extensions-editor-docs.md +0 -288
  123. package/generated/docs/extensions-editor-recipes-docs.md +0 -39
  124. package/generated/docs/foundations-introduction-docs.md +0 -17
  125. package/generated/docs/foundations-typography-docs.md +0 -191
  126. package/generated/docs/get-started-develop-docs.md +0 -209
  127. package/generated/docs/get-started-using-storybook-docs.md +0 -68
  128. package/generated/docs/resources-changelog-docs.md +0 -6
  129. package/generated/docs/themes-available-themes-docs.md +0 -66
  130. package/generated/docs/themes-introduction-docs.md +0 -121
  131. package/generated/docs/themes-tokens-docs.md +0 -1200
  132. /package/{LICENSE.txt → LICENSE} +0 -0
@@ -0,0 +1,634 @@
1
+ Toast
2
+ =====
3
+
4
+ Overview
5
+ --------
6
+
7
+ Toast are a compact way to provide users with important information, usually within a toaster.
8
+
9
+ This documentation is for the standalone `IressToast` component, and has been exposed for complex use cases where you are unable to use the `useToaster` hook. For most use cases, please use the hook and provider documented at [Toaster documentation](/docs/components-toaster--docs).
10
+
11
+ [](./iframe.html?id=components-toaster-toast--default)
12
+
13
+ Error
14
+ -----
15
+
16
+ Connection failure. Longer text description should wrap and look like this. Try to limit to 3 lines or less.
17
+
18
+ ```
19
+
20
+ <IressToast
21
+ heading\="Error"
22
+ status\="error"
23
+ \>
24
+ Connection failure. Longer text description should wrap and look like this. Try to limit to 3 lines or less.
25
+ </IressToast\>
26
+
27
+ ```
28
+
29
+ Props
30
+ -----
31
+
32
+ | Name | Description | Default | Control |
33
+ | --- | --- | --- | --- |
34
+ | actions |
35
+ Buttons and controls for the toast.
36
+
37
+ ReactReactNode
38
+
39
+
40
+
41
+ | \- | Choose option...noneWith Action Button |
42
+ | children |
43
+
44
+ The toast message.
45
+
46
+ ReactReactNode
47
+
48
+
49
+
50
+ | \- |
51
+
52
+ "Connection failure. Longer text description should wrap and look like this. Try to limit to 3 lines or less."
53
+
54
+ |
55
+ | content |
56
+
57
+ The content of the toast message.
58
+
59
+ string
60
+
61
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use children instead.</td></tr></tbody></table>
62
+
63
+ | \- | Set string |
64
+ | dismissible |
65
+
66
+ A boolean to show hide the dismiss close button on the top right of the corner.
67
+
68
+ boolean
69
+
70
+
71
+
72
+ | \- | Set boolean |
73
+ | heading |
74
+
75
+ The heading area of the toast. You can pass react component such as `<IressText>Error</IressText>`. If a string is provided, it will default to a `<h2 />` element.
76
+
77
+ ReactReactNode
78
+
79
+
80
+
81
+ | \- | Choose option...noneWith h2 tagWith Custom Heading |
82
+ | headingLevel |
83
+
84
+ Heading level for the Toast heading. Will be ignored if headingText is not supplied.
85
+
86
+ HeadingLevel
87
+
88
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
89
+
90
+ | \- | Set object |
91
+ | headingText |
92
+
93
+ Text for Toast heading. If not supplied, heading will not be displayed.
94
+
95
+ string
96
+
97
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
98
+
99
+ | \- | Set string |
100
+ | onClose |
101
+
102
+ Click event on the close button of the toast.
103
+
104
+ (e?: React.MouseEvent<ButtonRef>) => void
105
+
106
+ | \- | \- |
107
+ | status\* |
108
+
109
+ System status of Toast
110
+
111
+ unknown\[number\]
112
+
113
+ | |
114
+
115
+ "error"
116
+
117
+ |
118
+ | timeout |
119
+
120
+ The amount of time, in milliseconds, the toast is displayed on screen without the users interaction. Will fall back to timeout prop on parent toaster and then the default time of 6000ms. If set to 0, the toast will not auto dismiss.
121
+
122
+ number
123
+
124
+
125
+
126
+ | \- | Set number |
127
+
128
+ Examples
129
+ --------
130
+
131
+ ### Status
132
+
133
+ The toast offers three status that set a distinctive colour and icon. They can be set using the `status` prop. Their different use cases are described here.
134
+
135
+ [](./iframe.html?id=components-toaster-toast--status)
136
+
137
+ Success
138
+ -------
139
+
140
+ Use to communicate that an action has been successfully completed, such as saving changes in a form.
141
+
142
+ Error
143
+ -----
144
+
145
+ Error toasts are useful for when a user has tried to submit some data but the submit has failed, due to an api error or loss of internet connection, for example.
146
+
147
+ Info
148
+ ----
149
+
150
+ Ideal for conveying updates or notifications that do not require immediate action, as well as gently inform users about events or changes within an application or interface.
151
+
152
+ ```
153
+
154
+ <IressStack gutter\="lg"\>
155
+ <IressToast
156
+ heading\="Success"
157
+ status\="success"
158
+ \>
159
+ Use to communicate that an action has been successfully completed, such as saving changes in a form. </IressToast\>
160
+ <IressToast
161
+ heading\="Error"
162
+ status\="error"
163
+ \>
164
+ Error toasts are useful for when a user has tried to submit some data but the submit has failed, due to an api error or loss of internet connection, for example. </IressToast\>
165
+ <IressToast
166
+ heading\="Info"
167
+ status\="info"
168
+ \>
169
+ Ideal for conveying updates or notifications that do not require immediate action, as well as gently inform users about events or changes within an application or interface. </IressToast\>
170
+ </IressStack\>
171
+
172
+ ```
173
+
174
+ #### Props
175
+
176
+ | Name | Description | Default | Control |
177
+ | --- | --- | --- | --- |
178
+ | actions |
179
+ Buttons and controls for the toast.
180
+
181
+ ReactReactNode
182
+
183
+
184
+
185
+ | \- | Choose option...noneWith Action Button |
186
+ | children |
187
+
188
+ The toast message.
189
+
190
+ ReactReactNode
191
+
192
+
193
+
194
+ | \- |
195
+
196
+ ""
197
+
198
+ |
199
+ | content |
200
+
201
+ The content of the toast message.
202
+
203
+ string
204
+
205
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use children instead.</td></tr></tbody></table>
206
+
207
+ | \- | Set string |
208
+ | dismissible |
209
+
210
+ A boolean to show hide the dismiss close button on the top right of the corner.
211
+
212
+ boolean
213
+
214
+
215
+
216
+ | \- | Set boolean |
217
+ | heading |
218
+
219
+ The heading area of the toast. You can pass react component such as `<IressText>Error</IressText>`. If a string is provided, it will default to a `<h2 />` element.
220
+
221
+ ReactReactNode
222
+
223
+
224
+
225
+ | \- | Choose option...noneWith h2 tagWith Custom Heading |
226
+ | headingLevel |
227
+
228
+ Heading level for the Toast heading. Will be ignored if headingText is not supplied.
229
+
230
+ HeadingLevel
231
+
232
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
233
+
234
+ | \- | Set object |
235
+ | headingText |
236
+
237
+ Text for Toast heading. If not supplied, heading will not be displayed.
238
+
239
+ string
240
+
241
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
242
+
243
+ | \- | Set string |
244
+ | onClose |
245
+
246
+ Click event on the close button of the toast.
247
+
248
+ (e?: React.MouseEvent<ButtonRef>) => void
249
+
250
+ | \- | \- |
251
+ | status\* |
252
+
253
+ System status of Toast
254
+
255
+ unknown\[number\]
256
+
257
+ | | \- |
258
+ | timeout |
259
+
260
+ The amount of time, in milliseconds, the toast is displayed on screen without the users interaction. Will fall back to timeout prop on parent toaster and then the default time of 6000ms. If set to 0, the toast will not auto dismiss.
261
+
262
+ number
263
+
264
+
265
+
266
+ | \- | Set number |
267
+
268
+ ### Heading
269
+
270
+ Use the `heading` prop to add a header to the toast. The header can be any component you like, but it is designed to support a simple heading element. If provided a string, it will display a `<h2 />` element with the string as its content.
271
+
272
+ **Note:** `headingText` and `headingLevel` props have been replaced with the `heading` render prop to give you more control over the `heading` element and its content. To use the previous behaviour, you can pass a string which will automatically create a `h2` element, or pass a `h*` element with the text as a child.
273
+
274
+ [](./iframe.html?id=components-toaster-toast--heading)
275
+
276
+ Toast with a h2 tag
277
+ -------------------
278
+
279
+ Connection failure. Longer text description should wrap and look like this. Try to limit to 3 lines or less.
280
+
281
+ ```
282
+
283
+ <IressToast
284
+ heading\={<h2\>Toast with a h2 tag</h2\>}
285
+ status\="error"
286
+ \>
287
+ Connection failure. Longer text description should wrap and look like this. Try to limit to 3 lines or less.
288
+ </IressToast\>
289
+
290
+ ```
291
+
292
+ #### Props
293
+
294
+ | Name | Description | Default | Control |
295
+ | --- | --- | --- | --- |
296
+ | actions |
297
+ Buttons and controls for the toast.
298
+
299
+ ReactReactNode
300
+
301
+
302
+
303
+ | \- | Choose option...noneWith Action Button |
304
+ | children |
305
+
306
+ The toast message.
307
+
308
+ ReactReactNode
309
+
310
+
311
+
312
+ | \- |
313
+
314
+ "Connection failure. Longer text description should wrap and look like this. Try to limit to 3 lines or less."
315
+
316
+ |
317
+ | content |
318
+
319
+ The content of the toast message.
320
+
321
+ string
322
+
323
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use children instead.</td></tr></tbody></table>
324
+
325
+ | \- | Set string |
326
+ | dismissible |
327
+
328
+ A boolean to show hide the dismiss close button on the top right of the corner.
329
+
330
+ boolean
331
+
332
+
333
+
334
+ | \- | Set boolean |
335
+ | heading |
336
+
337
+ The heading area of the toast. You can pass react component such as `<IressText>Error</IressText>`. If a string is provided, it will default to a `<h2 />` element.
338
+
339
+ ReactReactNode
340
+
341
+
342
+
343
+ | \- | Choose option...noneWith h2 tagWith Custom Heading |
344
+ | headingLevel |
345
+
346
+ Heading level for the Toast heading. Will be ignored if headingText is not supplied.
347
+
348
+ HeadingLevel
349
+
350
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
351
+
352
+ | \- | Set object |
353
+ | headingText |
354
+
355
+ Text for Toast heading. If not supplied, heading will not be displayed.
356
+
357
+ string
358
+
359
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
360
+
361
+ | \- | Set string |
362
+ | onClose |
363
+
364
+ Click event on the close button of the toast.
365
+
366
+ (e?: React.MouseEvent<ButtonRef>) => void
367
+
368
+ | \- | \- |
369
+ | status\* |
370
+
371
+ System status of Toast
372
+
373
+ unknown\[number\]
374
+
375
+ | |
376
+
377
+ "error"
378
+
379
+ |
380
+ | timeout |
381
+
382
+ The amount of time, in milliseconds, the toast is displayed on screen without the users interaction. Will fall back to timeout prop on parent toaster and then the default time of 6000ms. If set to 0, the toast will not auto dismiss.
383
+
384
+ number
385
+
386
+
387
+
388
+ | \- | Set number |
389
+
390
+ ### Footer
391
+
392
+ The `footer` prop allows for content to be placed below the header and body of the alert. This can be useful for displaying call to actions.
393
+
394
+ [](./iframe.html?id=components-toaster-toast--footer)
395
+
396
+ Error
397
+ -----
398
+
399
+ Connection failure. Longer text description should wrap and look like this. Try to limit to 3 lines or less.
400
+
401
+ Try Again
402
+
403
+ ```
404
+
405
+ <IressToast
406
+ actions\={<IressButton key\="test" mode\="danger"\>Try Again</IressButton\>}
407
+ heading\="Error"
408
+ status\="error"
409
+ \>
410
+ Connection failure. Longer text description should wrap and look like this. Try to limit to 3 lines or less.
411
+ </IressToast\>
412
+
413
+ ```
414
+
415
+ #### Props
416
+
417
+ | Name | Description | Default | Control |
418
+ | --- | --- | --- | --- |
419
+ | actions |
420
+ Buttons and controls for the toast.
421
+
422
+ ReactReactNode
423
+
424
+
425
+
426
+ | \- | Choose option...noneWith Action Button |
427
+ | children |
428
+
429
+ The toast message.
430
+
431
+ ReactReactNode
432
+
433
+
434
+
435
+ | \- |
436
+
437
+ "Connection failure. Longer text description should wrap and look like this. Try to limit to 3 lines or less."
438
+
439
+ |
440
+ | content |
441
+
442
+ The content of the toast message.
443
+
444
+ string
445
+
446
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use children instead.</td></tr></tbody></table>
447
+
448
+ | \- | Set string |
449
+ | dismissible |
450
+
451
+ A boolean to show hide the dismiss close button on the top right of the corner.
452
+
453
+ boolean
454
+
455
+
456
+
457
+ | \- | Set boolean |
458
+ | heading |
459
+
460
+ The heading area of the toast. You can pass react component such as `<IressText>Error</IressText>`. If a string is provided, it will default to a `<h2 />` element.
461
+
462
+ ReactReactNode
463
+
464
+
465
+
466
+ | \- | Choose option...noneWith h2 tagWith Custom Heading |
467
+ | headingLevel |
468
+
469
+ Heading level for the Toast heading. Will be ignored if headingText is not supplied.
470
+
471
+ HeadingLevel
472
+
473
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
474
+
475
+ | \- | Set object |
476
+ | headingText |
477
+
478
+ Text for Toast heading. If not supplied, heading will not be displayed.
479
+
480
+ string
481
+
482
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
483
+
484
+ | \- | Set string |
485
+ | onClose |
486
+
487
+ Click event on the close button of the toast.
488
+
489
+ (e?: React.MouseEvent<ButtonRef>) => void
490
+
491
+ | \- | \- |
492
+ | status\* |
493
+
494
+ System status of Toast
495
+
496
+ unknown\[number\]
497
+
498
+ | |
499
+
500
+ "error"
501
+
502
+ |
503
+ | timeout |
504
+
505
+ The amount of time, in milliseconds, the toast is displayed on screen without the users interaction. Will fall back to timeout prop on parent toaster and then the default time of 6000ms. If set to 0, the toast will not auto dismiss.
506
+
507
+ number
508
+
509
+
510
+
511
+ | \- | Set number |
512
+
513
+ ### Dismiss Button
514
+
515
+ Dismiss Button is on the top right corner and it's showing/hiding based on `dismissible` prop.
516
+
517
+ **Note:** When it's `true`, `onClose` event is going to be available.
518
+
519
+ [](./iframe.html?id=components-toaster-toast--dismissible)
520
+
521
+ Information
522
+ -----------
523
+
524
+ Information toast with dismiss button
525
+
526
+ ```
527
+
528
+ <IressToast
529
+ dismissible
530
+ heading\="Information"
531
+ status\="info"
532
+ \>
533
+ Information toast with dismiss button
534
+ </IressToast\>
535
+
536
+ ```
537
+
538
+ #### Props
539
+
540
+ | Name | Description | Default | Control |
541
+ | --- | --- | --- | --- |
542
+ | actions |
543
+ Buttons and controls for the toast.
544
+
545
+ ReactReactNode
546
+
547
+
548
+
549
+ | \- | Choose option...noneWith Action Button |
550
+ | children |
551
+
552
+ The toast message.
553
+
554
+ ReactReactNode
555
+
556
+
557
+
558
+ | \- |
559
+
560
+ "Information toast with dismiss button"
561
+
562
+ |
563
+ | content |
564
+
565
+ The content of the toast message.
566
+
567
+ string
568
+
569
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use children instead.</td></tr></tbody></table>
570
+
571
+ | \- | Set string |
572
+ | dismissible |
573
+
574
+ A boolean to show hide the dismiss close button on the top right of the corner.
575
+
576
+ boolean
577
+
578
+
579
+
580
+ | \- | FalseTrue |
581
+ | heading |
582
+
583
+ The heading area of the toast. You can pass react component such as `<IressText>Error</IressText>`. If a string is provided, it will default to a `<h2 />` element.
584
+
585
+ ReactReactNode
586
+
587
+
588
+
589
+ | \- | Choose option...noneWith h2 tagWith Custom Heading |
590
+ | headingLevel |
591
+
592
+ Heading level for the Toast heading. Will be ignored if headingText is not supplied.
593
+
594
+ HeadingLevel
595
+
596
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
597
+
598
+ | \- | Set object |
599
+ | headingText |
600
+
601
+ Text for Toast heading. If not supplied, heading will not be displayed.
602
+
603
+ string
604
+
605
+ <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `heading` instead.</td></tr></tbody></table>
606
+
607
+ | \- | Set string |
608
+ | onClose |
609
+
610
+ Click event on the close button of the toast.
611
+
612
+ (e?: React.MouseEvent<ButtonRef>) => void
613
+
614
+ | \- | \- |
615
+ | status\* |
616
+
617
+ System status of Toast
618
+
619
+ unknown\[number\]
620
+
621
+ | |
622
+
623
+ "info"
624
+
625
+ |
626
+ | timeout |
627
+
628
+ The amount of time, in milliseconds, the toast is displayed on screen without the users interaction. Will fall back to timeout prop on parent toaster and then the default time of 6000ms. If set to 0, the toast will not auto dismiss.
629
+
630
+ number
631
+
632
+
633
+
634
+ | \- | Set number |