@iress-oss/ids-mcp-server 5.15.0 → 5.20.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.
Files changed (134) hide show
  1. package/generated/docs/components_components-alert-docs.md +496 -0
  2. package/generated/docs/components_components-autocomplete-docs.md +3429 -0
  3. package/generated/docs/{components-autocomplete-recipes-docs.md → components_components-autocomplete-recipes-docs.md} +39 -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 +2290 -0
  9. package/generated/docs/{components-card-recipes-docs.md → components_components-card-recipes-docs.md} +132 -15
  10. package/generated/docs/components_components-checkbox-docs.md +1040 -0
  11. package/generated/docs/{components-checkboxgroup-docs.md → components_components-checkboxgroup-docs.md} +1001 -82
  12. package/generated/docs/{components-checkboxgroup-recipes-docs.md → components_components-checkboxgroup-recipes-docs.md} +102 -12
  13. package/generated/docs/{components-col-docs.md → components_components-col-docs.md} +331 -58
  14. package/generated/docs/components_components-combobox-docs.md +3735 -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} +266 -33
  18. package/generated/docs/components_components-field-docs.md +1369 -0
  19. package/generated/docs/components_components-filter-docs.md +4080 -0
  20. package/generated/docs/{components-form-docs.md → components_components-form-docs.md} +1556 -360
  21. package/generated/docs/{components-form-recipes-docs.md → components_components-form-recipes-docs.md} +277 -60
  22. package/generated/docs/{components-hide-docs.md → components_components-hide-docs.md} +195 -124
  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} +113 -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} +1640 -231
  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} +721 -40
  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 +1643 -0
  38. package/generated/docs/components_components-popover-recipes-docs.md +491 -0
  39. package/generated/docs/components_components-progress-docs.md +115 -0
  40. package/generated/docs/{components-provider-docs.md → components_components-provider-docs.md} +42 -33
  41. package/generated/docs/components_components-radio-docs.md +491 -0
  42. package/generated/docs/{components-radiogroup-docs.md → components_components-radiogroup-docs.md} +927 -75
  43. package/generated/docs/components_components-readonly-docs.md +263 -0
  44. package/generated/docs/components_components-richselect-docs.md +6521 -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} +51 -11
  49. package/generated/docs/{components-skiplink-docs.md → components_components-skiplink-docs.md} +53 -14
  50. package/generated/docs/components_components-slideout-docs.md +2293 -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 +3658 -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 +257 -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} +187 -85
  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} +798 -153
  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/components_sandbox-docs.md +4 -0
  83. package/generated/docs/{versions-docs.md → components_versions-docs.md} +5 -8
  84. package/generated/docs/guidelines.md +484 -200
  85. package/generated/docs/introduction-docs.md +19 -30
  86. package/package.json +41 -45
  87. package/generated/docs/components-alert-docs.md +0 -130
  88. package/generated/docs/components-autocomplete-docs.md +0 -754
  89. package/generated/docs/components-button-docs.md +0 -362
  90. package/generated/docs/components-button-recipes-docs.md +0 -76
  91. package/generated/docs/components-buttongroup-docs.md +0 -310
  92. package/generated/docs/components-card-docs.md +0 -494
  93. package/generated/docs/components-checkbox-docs.md +0 -193
  94. package/generated/docs/components-combobox-docs.md +0 -1016
  95. package/generated/docs/components-field-docs.md +0 -675
  96. package/generated/docs/components-filter-docs.md +0 -1109
  97. package/generated/docs/components-icon-docs.md +0 -553
  98. package/generated/docs/components-input-docs.md +0 -335
  99. package/generated/docs/components-input-recipes-docs.md +0 -140
  100. package/generated/docs/components-inputcurrency-docs.md +0 -157
  101. package/generated/docs/components-label-docs.md +0 -135
  102. package/generated/docs/components-menu-docs.md +0 -704
  103. package/generated/docs/components-menu-menuitem-docs.md +0 -193
  104. package/generated/docs/components-navbar-docs.md +0 -291
  105. package/generated/docs/components-placeholder-docs.md +0 -27
  106. package/generated/docs/components-popover-docs.md +0 -464
  107. package/generated/docs/components-popover-recipes-docs.md +0 -245
  108. package/generated/docs/components-progress-docs.md +0 -104
  109. package/generated/docs/components-radio-docs.md +0 -107
  110. package/generated/docs/components-readonly-docs.md +0 -89
  111. package/generated/docs/components-richselect-docs.md +0 -2433
  112. package/generated/docs/components-skeleton-docs.md +0 -214
  113. package/generated/docs/components-slideout-docs.md +0 -538
  114. package/generated/docs/components-slider-docs.md +0 -346
  115. package/generated/docs/components-spinner-docs.md +0 -59
  116. package/generated/docs/components-table-ag-grid-docs.md +0 -1074
  117. package/generated/docs/components-table-docs.md +0 -1305
  118. package/generated/docs/components-tabset-docs.md +0 -341
  119. package/generated/docs/components-tabset-tab-docs.md +0 -86
  120. package/generated/docs/components-tag-docs.md +0 -115
  121. package/generated/docs/components-toaster-toast-docs.md +0 -157
  122. package/generated/docs/components-toggle-docs.md +0 -158
  123. package/generated/docs/contact-us-docs.md +0 -27
  124. package/generated/docs/extensions-editor-docs.md +0 -288
  125. package/generated/docs/extensions-editor-recipes-docs.md +0 -39
  126. package/generated/docs/foundations-introduction-docs.md +0 -17
  127. package/generated/docs/foundations-typography-docs.md +0 -191
  128. package/generated/docs/get-started-develop-docs.md +0 -209
  129. package/generated/docs/get-started-using-storybook-docs.md +0 -68
  130. package/generated/docs/resources-changelog-docs.md +0 -6
  131. package/generated/docs/themes-available-themes-docs.md +0 -66
  132. package/generated/docs/themes-introduction-docs.md +0 -121
  133. package/generated/docs/themes-tokens-docs.md +0 -1200
  134. /package/{LICENSE.txt → LICENSE} +0 -0
@@ -0,0 +1,491 @@
1
+ Radio
2
+ =====
3
+
4
+ Overview
5
+ --------
6
+
7
+ A radio is a single option presented with a radio button. It is used to select a single option from multiple options. It is typically used in an `IressRadioGroup`.
8
+
9
+ [](./iframe.html?id=components-radio--default)
10
+
11
+ Radio button
12
+
13
+ Hide codedrawOpen in CodeSandbox
14
+
15
+ <IressRadio\>
16
+ Radio button
17
+ </IressRadio\>
18
+
19
+ ```
20
+
21
+ Props
22
+ -----
23
+
24
+ | Name | Description | Default | Control |
25
+ | --- | --- | --- | --- |
26
+ | checked |
27
+ Sets the checked state of the radio. If it is within a radio group, it will be overridden by the radio group's value and whether it matches this radio's value.
28
+
29
+ boolean
30
+
31
+
32
+
33
+ | \- | Set boolean |
34
+ | children |
35
+
36
+ Label of the radio
37
+
38
+ ReactNode
39
+
40
+
41
+
42
+ | \- |
43
+
44
+ "Radio button"
45
+
46
+ |
47
+ | hiddenControl |
48
+
49
+ Sets whether the control is hidden. If it is within a radio group, it will be overridden with the radio group's hiddenControl setting.
50
+
51
+ boolean
52
+
53
+
54
+
55
+ | \- | Set boolean |
56
+ | name |
57
+
58
+ Sets the name attribute on the radio input. If it is within a radio group, it will be overridden with the radio group's name.
59
+
60
+ string
61
+
62
+
63
+
64
+ | \- | Set string |
65
+ | onChange |
66
+
67
+ Handles the onChange event of the radio input. If you pass in a non-string value, you can access it using the second parameter of the function.
68
+
69
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
70
+
71
+ | \- | \- |
72
+ | required |
73
+
74
+ If `true`, the radio is a required field and will be validated as such. If it is within a radio group, it will be overridden with the radio group's required state.
75
+
76
+ boolean
77
+
78
+
79
+
80
+ | \- | Set boolean |
81
+ | touch |
82
+
83
+ Add the button-like border and padding to radio when `touch` is true.
84
+
85
+ boolean
86
+
87
+
88
+
89
+ | \- | Set boolean |
90
+ | value |
91
+
92
+ The value which is submitted with the form data when this radio button is checked. To set this radio as checked by default, use the `checked` property.
93
+
94
+ FormControlValue
95
+
96
+
97
+
98
+ | \- | Set object |
99
+
100
+ Examples
101
+ --------
102
+
103
+ ### Checked
104
+
105
+ You can set the radio to `checked` by default. This is useful when you want to pre-select an option.
106
+
107
+ **Note:** If you are using an `IressRadioGroup`, you should use the `value` prop on the `IressRadioGroup` to set the checked state of its `<IressRadio />` children, as the `checked` prop will be ignored.
108
+
109
+ [](./iframe.html?id=components-radio--checked)
110
+
111
+ Checked radio button
112
+
113
+ Hide codedrawOpen in CodeSandbox
114
+
115
+ <IressRadio checked\>
116
+ Checked radio button
117
+ </IressRadio\>
118
+
119
+ ```
120
+
121
+ #### Props
122
+
123
+ | Name | Description | Default | Control |
124
+ | --- | --- | --- | --- |
125
+ | checked |
126
+ Sets the checked state of the radio. If it is within a radio group, it will be overridden by the radio group's value and whether it matches this radio's value.
127
+
128
+ boolean
129
+
130
+
131
+
132
+ | \- | FalseTrue |
133
+ | children |
134
+
135
+ Label of the radio
136
+
137
+ ReactNode
138
+
139
+
140
+
141
+ | \- |
142
+
143
+ "Checked radio button"
144
+
145
+ |
146
+ | hiddenControl |
147
+
148
+ Sets whether the control is hidden. If it is within a radio group, it will be overridden with the radio group's hiddenControl setting.
149
+
150
+ boolean
151
+
152
+
153
+
154
+ | \- | Set boolean |
155
+ | name |
156
+
157
+ Sets the name attribute on the radio input. If it is within a radio group, it will be overridden with the radio group's name.
158
+
159
+ string
160
+
161
+
162
+
163
+ | \- | Set string |
164
+ | onChange |
165
+
166
+ Handles the onChange event of the radio input. If you pass in a non-string value, you can access it using the second parameter of the function.
167
+
168
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
169
+
170
+ | \- | \- |
171
+ | required |
172
+
173
+ If `true`, the radio is a required field and will be validated as such. If it is within a radio group, it will be overridden with the radio group's required state.
174
+
175
+ boolean
176
+
177
+
178
+
179
+ | \- | Set boolean |
180
+ | touch |
181
+
182
+ Add the button-like border and padding to radio when `touch` is true.
183
+
184
+ boolean
185
+
186
+
187
+
188
+ | \- | Set boolean |
189
+ | value |
190
+
191
+ The value which is submitted with the form data when this radio button is checked. To set this radio as checked by default, use the `checked` property.
192
+
193
+ FormControlValue
194
+
195
+
196
+
197
+ | \- | Set object |
198
+
199
+ ### Hidden control
200
+
201
+ You can hide the radio button and use a custom UI to display the content. Even though the radio button is hidden, it still acts like a radio.
202
+
203
+ [](./iframe.html?id=components-radio--hidden-control)
204
+
205
+ Hidden radio button
206
+
207
+ Hide codedrawOpen in CodeSandbox
208
+
209
+ <IressRadio hiddenControl\>
210
+ <IressPanel\>
211
+ Hidden radio button </IressPanel\>
212
+ </IressRadio\>
213
+
214
+ ```
215
+
216
+ #### Props
217
+
218
+ | Name | Description | Default | Control |
219
+ | --- | --- | --- | --- |
220
+ | checked |
221
+ Sets the checked state of the radio. If it is within a radio group, it will be overridden by the radio group's value and whether it matches this radio's value.
222
+
223
+ boolean
224
+
225
+
226
+
227
+ | \- | Set boolean |
228
+ | children |
229
+
230
+ Label of the radio
231
+
232
+ ReactNode
233
+
234
+
235
+
236
+ | \- | \- |
237
+ | hiddenControl |
238
+
239
+ Sets whether the control is hidden. If it is within a radio group, it will be overridden with the radio group's hiddenControl setting.
240
+
241
+ boolean
242
+
243
+
244
+
245
+ | \- | FalseTrue |
246
+ | name |
247
+
248
+ Sets the name attribute on the radio input. If it is within a radio group, it will be overridden with the radio group's name.
249
+
250
+ string
251
+
252
+
253
+
254
+ | \- | Set string |
255
+ | onChange |
256
+
257
+ Handles the onChange event of the radio input. If you pass in a non-string value, you can access it using the second parameter of the function.
258
+
259
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
260
+
261
+ | \- | \- |
262
+ | required |
263
+
264
+ If `true`, the radio is a required field and will be validated as such. If it is within a radio group, it will be overridden with the radio group's required state.
265
+
266
+ boolean
267
+
268
+
269
+
270
+ | \- | Set boolean |
271
+ | touch |
272
+
273
+ Add the button-like border and padding to radio when `touch` is true.
274
+
275
+ boolean
276
+
277
+
278
+
279
+ | \- | Set boolean |
280
+ | value |
281
+
282
+ The value which is submitted with the form data when this radio button is checked. To set this radio as checked by default, use the `checked` property.
283
+
284
+ FormControlValue
285
+
286
+
287
+
288
+ | \- | Set object |
289
+
290
+ ### Readonly
291
+
292
+ The `readOnly` prop changes how the radio is rendered. It will only render if the radio is checked (alongside a hidden input that contains the `value` if it was set), otherwise it not be rendered.
293
+
294
+ It is understandable that this may not be the desired behavior for all use cases. If you need a radio that is not editable, but still visible, simply do not set the `readOnly` prop and set the `checked` prop instead.
295
+
296
+ [](./iframe.html?id=components-radio--readonly)
297
+
298
+ Radio button
299
+
300
+ Hide codedrawOpen in CodeSandbox
301
+
302
+ <IressStack gutter\="sm"\>
303
+ <IressRadio
304
+ defaultChecked
305
+ readOnly
306
+ \>
307
+ Radio button </IressRadio\>
308
+ <IressRadio readOnly\>
309
+ Radio button </IressRadio\>
310
+ </IressStack\>
311
+
312
+ ```
313
+
314
+ #### Props
315
+
316
+ | Name | Description | Default | Control |
317
+ | --- | --- | --- | --- |
318
+ | checked |
319
+ Sets the checked state of the radio. If it is within a radio group, it will be overridden by the radio group's value and whether it matches this radio's value.
320
+
321
+ boolean
322
+
323
+
324
+
325
+ | \- | Set boolean |
326
+ | children |
327
+
328
+ Label of the radio
329
+
330
+ ReactNode
331
+
332
+
333
+
334
+ | \- |
335
+
336
+ "Radio button"
337
+
338
+ |
339
+ | hiddenControl |
340
+
341
+ Sets whether the control is hidden. If it is within a radio group, it will be overridden with the radio group's hiddenControl setting.
342
+
343
+ boolean
344
+
345
+
346
+
347
+ | \- | Set boolean |
348
+ | name |
349
+
350
+ Sets the name attribute on the radio input. If it is within a radio group, it will be overridden with the radio group's name.
351
+
352
+ string
353
+
354
+
355
+
356
+ | \- | Set string |
357
+ | onChange |
358
+
359
+ Handles the onChange event of the radio input. If you pass in a non-string value, you can access it using the second parameter of the function.
360
+
361
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
362
+
363
+ | \- | \- |
364
+ | readOnly |
365
+
366
+ boolean
367
+
368
+
369
+
370
+ | \- | FalseTrue |
371
+ | required |
372
+
373
+ If `true`, the radio is a required field and will be validated as such. If it is within a radio group, it will be overridden with the radio group's required state.
374
+
375
+ boolean
376
+
377
+
378
+
379
+ | \- | Set boolean |
380
+ | touch |
381
+
382
+ Add the button-like border and padding to radio when `touch` is true.
383
+
384
+ boolean
385
+
386
+
387
+
388
+ | \- | Set boolean |
389
+ | value |
390
+
391
+ The value which is submitted with the form data when this radio button is checked. To set this radio as checked by default, use the `checked` property.
392
+
393
+ FormControlValue
394
+
395
+
396
+
397
+ | \- | Set object |
398
+
399
+ ### Touch
400
+
401
+ The `touch` prop adds the button-like border and padding to radio.
402
+
403
+ [](./iframe.html?id=components-radio--touch)
404
+
405
+ Radio button
406
+
407
+ Hide codedrawOpen in CodeSandbox
408
+
409
+ <IressRadio touch\>
410
+ Radio button
411
+ </IressRadio\>
412
+
413
+ ```
414
+
415
+ #### Props
416
+
417
+ | Name | Description | Default | Control |
418
+ | --- | --- | --- | --- |
419
+ | checked |
420
+ Sets the checked state of the radio. If it is within a radio group, it will be overridden by the radio group's value and whether it matches this radio's value.
421
+
422
+ boolean
423
+
424
+
425
+
426
+ | \- | Set boolean |
427
+ | children |
428
+
429
+ Label of the radio
430
+
431
+ ReactNode
432
+
433
+
434
+
435
+ | \- |
436
+
437
+ "Radio button"
438
+
439
+ |
440
+ | hiddenControl |
441
+
442
+ Sets whether the control is hidden. If it is within a radio group, it will be overridden with the radio group's hiddenControl setting.
443
+
444
+ boolean
445
+
446
+
447
+
448
+ | \- | Set boolean |
449
+ | name |
450
+
451
+ Sets the name attribute on the radio input. If it is within a radio group, it will be overridden with the radio group's name.
452
+
453
+ string
454
+
455
+
456
+
457
+ | \- | Set string |
458
+ | onChange |
459
+
460
+ Handles the onChange event of the radio input. If you pass in a non-string value, you can access it using the second parameter of the function.
461
+
462
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
463
+
464
+ | \- | \- |
465
+ | required |
466
+
467
+ If `true`, the radio is a required field and will be validated as such. If it is within a radio group, it will be overridden with the radio group's required state.
468
+
469
+ boolean
470
+
471
+
472
+
473
+ | \- | Set boolean |
474
+ | touch |
475
+
476
+ Add the button-like border and padding to radio when `touch` is true.
477
+
478
+ boolean
479
+
480
+
481
+
482
+ | \- | FalseTrue |
483
+ | value |
484
+
485
+ The value which is submitted with the form data when this radio button is checked. To set this radio as checked by default, use the `checked` property.
486
+
487
+ FormControlValue
488
+
489
+
490
+
491
+ | \- | Set object |