@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,1054 @@
1
+ Checkbox
2
+ ========
3
+
4
+ Overview
5
+ --------
6
+
7
+ Checkboxes are used to let a user select one or more options for a limited number of choices. Also, works as a child of `IressCheckboxGroup`
8
+
9
+ [](./iframe.html?id=components-checkbox--default)
10
+
11
+ A checkbox
12
+
13
+ ```
14
+
15
+ <IressCheckbox\>
16
+ A checkbox
17
+ </IressCheckbox\>
18
+
19
+ ```
20
+
21
+ Props
22
+ -----
23
+
24
+ IressCheckboxIressCheckboxMark
25
+
26
+ Tabs
27
+
28
+ | Name | Description | Default | Control |
29
+ | --- | --- | --- | --- |
30
+ | checked |
31
+ If true, the checkbox is selected. Please use this when are rendering the checkbox in controlled mode.
32
+
33
+ boolean
34
+
35
+
36
+
37
+ | \- | Set boolean |
38
+ | children |
39
+
40
+ The checkbox content
41
+
42
+ ReactReactNode
43
+
44
+
45
+
46
+ | \- |
47
+
48
+ "A checkbox"
49
+
50
+ |
51
+ | defaultChecked |
52
+
53
+ If true, the checkbox will be initially rendered as selected. Please use this when are rendering the checkbox in uncontrolled mode.
54
+
55
+ boolean
56
+
57
+
58
+
59
+ | \- | Set boolean |
60
+ | hiddenControl |
61
+
62
+ Sets whether the control is hidden. If it is within a checkbox group, it will be overridden with the checkbox group's hiddenCheckbox setting.
63
+
64
+ boolean
65
+
66
+
67
+
68
+ | \- | Set boolean |
69
+ | hiddenLabel |
70
+
71
+ Visually hides the label (if set), label will still be read out by screenreaders.
72
+
73
+ boolean
74
+
75
+
76
+
77
+ | \- | Set boolean |
78
+ | indeterminate |
79
+
80
+ If true, the checkbox will visually appear as indeterminate.
81
+
82
+ boolean
83
+
84
+
85
+
86
+ | \- | Set boolean |
87
+ | name |
88
+
89
+ The name of the control, which is submitted with the form data.
90
+
91
+ string
92
+
93
+
94
+
95
+ | \- | Set string |
96
+ | onBlur |
97
+
98
+ Emitted when the checkbox loses focus.
99
+
100
+ (e: React.FocusEvent<HTMLInputElement>) => void
101
+
102
+ | \- | \- |
103
+ | onChange |
104
+
105
+ Emitted when the checkbox value changes.
106
+
107
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
108
+
109
+ | \- | \- |
110
+ | onFocus |
111
+
112
+ Emitted when the checkbox gains focus.
113
+
114
+ (e: React.FocusEvent<HTMLInputElement>) => void
115
+
116
+ | \- | \- |
117
+ | required |
118
+
119
+ If `true`, the checkbox is a required field and will be validated as such.
120
+
121
+ boolean
122
+
123
+
124
+
125
+ | \- | Set boolean |
126
+ | touch |
127
+
128
+ Add the button-like border and padding to checkbox when `touch` is true.
129
+
130
+ boolean
131
+
132
+
133
+
134
+ | \- | Set boolean |
135
+ | value |
136
+
137
+ Value of the checkbox when used in a checkbox group. The checked state of the checkbox will be overridden based on this value if used inside a checkbox group. **Note:** The value of the checkbox does not mean if its checked or not, use the checked property for that.
138
+
139
+ FormControlValue
140
+
141
+
142
+
143
+ | \- | Set object |
144
+
145
+ Usage
146
+ -----
147
+
148
+ ### Checked
149
+
150
+ For single checkboxes in controlled mode the `checked` prop sets the checked state.
151
+
152
+ When used as part of an `IressCheckboxGroup`, the `checked` prop will be ignored. Instead, the `value` prop on the `IressCheckboxGroup` will determine the checked state of each checkbox. See the [checkbox group documentation](?path=/docs/components-checkboxgroup--docs) for more details.
153
+
154
+ [](./iframe.html?id=components-checkbox--checked)
155
+
156
+ A checkbox which is checked and in controlled mode
157
+
158
+ ```
159
+
160
+ <IressCheckbox checked\>
161
+ A checkbox which is checked and in controlled mode
162
+ </IressCheckbox\>
163
+
164
+ ```
165
+
166
+ #### Props
167
+
168
+ IressCheckboxIressCheckboxMark
169
+
170
+ Tabs
171
+
172
+ | Name | Description | Default | Control |
173
+ | --- | --- | --- | --- |
174
+ | checked |
175
+ If true, the checkbox is selected. Please use this when are rendering the checkbox in controlled mode.
176
+
177
+ boolean
178
+
179
+
180
+
181
+ | \- | FalseTrue |
182
+ | children |
183
+
184
+ The checkbox content
185
+
186
+ ReactReactNode
187
+
188
+
189
+
190
+ | \- |
191
+
192
+ "A checkbox which is checked and in controlled mode"
193
+
194
+ |
195
+ | defaultChecked |
196
+
197
+ If true, the checkbox will be initially rendered as selected. Please use this when are rendering the checkbox in uncontrolled mode.
198
+
199
+ boolean
200
+
201
+
202
+
203
+ | \- | Set boolean |
204
+ | hiddenControl |
205
+
206
+ Sets whether the control is hidden. If it is within a checkbox group, it will be overridden with the checkbox group's hiddenCheckbox setting.
207
+
208
+ boolean
209
+
210
+
211
+
212
+ | \- | Set boolean |
213
+ | hiddenLabel |
214
+
215
+ Visually hides the label (if set), label will still be read out by screenreaders.
216
+
217
+ boolean
218
+
219
+
220
+
221
+ | \- | Set boolean |
222
+ | indeterminate |
223
+
224
+ If true, the checkbox will visually appear as indeterminate.
225
+
226
+ boolean
227
+
228
+
229
+
230
+ | \- | Set boolean |
231
+ | name |
232
+
233
+ The name of the control, which is submitted with the form data.
234
+
235
+ string
236
+
237
+
238
+
239
+ | \- | Set string |
240
+ | onBlur |
241
+
242
+ Emitted when the checkbox loses focus.
243
+
244
+ (e: React.FocusEvent<HTMLInputElement>) => void
245
+
246
+ | \- | \- |
247
+ | onChange |
248
+
249
+ Emitted when the checkbox value changes.
250
+
251
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
252
+
253
+ | \- | \- |
254
+ | onFocus |
255
+
256
+ Emitted when the checkbox gains focus.
257
+
258
+ (e: React.FocusEvent<HTMLInputElement>) => void
259
+
260
+ | \- | \- |
261
+ | required |
262
+
263
+ If `true`, the checkbox is a required field and will be validated as such.
264
+
265
+ boolean
266
+
267
+
268
+
269
+ | \- | Set boolean |
270
+ | touch |
271
+
272
+ Add the button-like border and padding to checkbox when `touch` is true.
273
+
274
+ boolean
275
+
276
+
277
+
278
+ | \- | Set boolean |
279
+ | value |
280
+
281
+ Value of the checkbox when used in a checkbox group. The checked state of the checkbox will be overridden based on this value if used inside a checkbox group. **Note:** The value of the checkbox does not mean if its checked or not, use the checked property for that.
282
+
283
+ FormControlValue
284
+
285
+
286
+
287
+ | \- | Set object |
288
+
289
+ ### Default Checked
290
+
291
+ For single checkboxes in uncontrolled mode the `defaultChecked` prop sets the default checked state.
292
+
293
+ [](./iframe.html?id=components-checkbox--default-checked)
294
+
295
+ A checkbox which is initially checked
296
+
297
+ ```
298
+
299
+ <IressCheckbox defaultChecked\>
300
+ A checkbox which is initially checked
301
+ </IressCheckbox\>
302
+
303
+ ```
304
+
305
+ #### Props
306
+
307
+ IressCheckboxIressCheckboxMark
308
+
309
+ Tabs
310
+
311
+ | Name | Description | Default | Control |
312
+ | --- | --- | --- | --- |
313
+ | checked |
314
+ If true, the checkbox is selected. Please use this when are rendering the checkbox in controlled mode.
315
+
316
+ boolean
317
+
318
+
319
+
320
+ | \- | Set boolean |
321
+ | children |
322
+
323
+ The checkbox content
324
+
325
+ ReactReactNode
326
+
327
+
328
+
329
+ | \- |
330
+
331
+ "A checkbox which is initially checked"
332
+
333
+ |
334
+ | defaultChecked |
335
+
336
+ If true, the checkbox will be initially rendered as selected. Please use this when are rendering the checkbox in uncontrolled mode.
337
+
338
+ boolean
339
+
340
+
341
+
342
+ | \- | FalseTrue |
343
+ | hiddenControl |
344
+
345
+ Sets whether the control is hidden. If it is within a checkbox group, it will be overridden with the checkbox group's hiddenCheckbox setting.
346
+
347
+ boolean
348
+
349
+
350
+
351
+ | \- | Set boolean |
352
+ | hiddenLabel |
353
+
354
+ Visually hides the label (if set), label will still be read out by screenreaders.
355
+
356
+ boolean
357
+
358
+
359
+
360
+ | \- | Set boolean |
361
+ | indeterminate |
362
+
363
+ If true, the checkbox will visually appear as indeterminate.
364
+
365
+ boolean
366
+
367
+
368
+
369
+ | \- | Set boolean |
370
+ | name |
371
+
372
+ The name of the control, which is submitted with the form data.
373
+
374
+ string
375
+
376
+
377
+
378
+ | \- | Set string |
379
+ | onBlur |
380
+
381
+ Emitted when the checkbox loses focus.
382
+
383
+ (e: React.FocusEvent<HTMLInputElement>) => void
384
+
385
+ | \- | \- |
386
+ | onChange |
387
+
388
+ Emitted when the checkbox value changes.
389
+
390
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
391
+
392
+ | \- | \- |
393
+ | onFocus |
394
+
395
+ Emitted when the checkbox gains focus.
396
+
397
+ (e: React.FocusEvent<HTMLInputElement>) => void
398
+
399
+ | \- | \- |
400
+ | required |
401
+
402
+ If `true`, the checkbox is a required field and will be validated as such.
403
+
404
+ boolean
405
+
406
+
407
+
408
+ | \- | Set boolean |
409
+ | touch |
410
+
411
+ Add the button-like border and padding to checkbox when `touch` is true.
412
+
413
+ boolean
414
+
415
+
416
+
417
+ | \- | Set boolean |
418
+ | value |
419
+
420
+ Value of the checkbox when used in a checkbox group. The checked state of the checkbox will be overridden based on this value if used inside a checkbox group. **Note:** The value of the checkbox does not mean if its checked or not, use the checked property for that.
421
+
422
+ FormControlValue
423
+
424
+
425
+
426
+ | \- | Set object |
427
+
428
+ ### Indeterminate
429
+
430
+ The `indeterminate` prop sets the checkbox appearance to an indeterminate dash until it is clicked. It has no impact on the checkbox behavior beyond this purely visual indicator.
431
+
432
+ [](./iframe.html?id=components-checkbox--indeterminate)
433
+
434
+ A checkbox which is initially in an indeterminate state
435
+
436
+ ```
437
+
438
+ <IressCheckbox indeterminate\>
439
+ A checkbox which is initially in an indeterminate state
440
+ </IressCheckbox\>
441
+
442
+ ```
443
+
444
+ #### Props
445
+
446
+ IressCheckboxIressCheckboxMark
447
+
448
+ Tabs
449
+
450
+ | Name | Description | Default | Control |
451
+ | --- | --- | --- | --- |
452
+ | checked |
453
+ If true, the checkbox is selected. Please use this when are rendering the checkbox in controlled mode.
454
+
455
+ boolean
456
+
457
+
458
+
459
+ | \- | Set boolean |
460
+ | children |
461
+
462
+ The checkbox content
463
+
464
+ ReactReactNode
465
+
466
+
467
+
468
+ | \- |
469
+
470
+ "A checkbox which is initially in an indeterminate state"
471
+
472
+ |
473
+ | defaultChecked |
474
+
475
+ If true, the checkbox will be initially rendered as selected. Please use this when are rendering the checkbox in uncontrolled mode.
476
+
477
+ boolean
478
+
479
+
480
+
481
+ | \- | Set boolean |
482
+ | hiddenControl |
483
+
484
+ Sets whether the control is hidden. If it is within a checkbox group, it will be overridden with the checkbox group's hiddenCheckbox setting.
485
+
486
+ boolean
487
+
488
+
489
+
490
+ | \- | Set boolean |
491
+ | hiddenLabel |
492
+
493
+ Visually hides the label (if set), label will still be read out by screenreaders.
494
+
495
+ boolean
496
+
497
+
498
+
499
+ | \- | Set boolean |
500
+ | indeterminate |
501
+
502
+ If true, the checkbox will visually appear as indeterminate.
503
+
504
+ boolean
505
+
506
+
507
+
508
+ | \- | FalseTrue |
509
+ | name |
510
+
511
+ The name of the control, which is submitted with the form data.
512
+
513
+ string
514
+
515
+
516
+
517
+ | \- | Set string |
518
+ | onBlur |
519
+
520
+ Emitted when the checkbox loses focus.
521
+
522
+ (e: React.FocusEvent<HTMLInputElement>) => void
523
+
524
+ | \- | \- |
525
+ | onChange |
526
+
527
+ Emitted when the checkbox value changes.
528
+
529
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
530
+
531
+ | \- | \- |
532
+ | onFocus |
533
+
534
+ Emitted when the checkbox gains focus.
535
+
536
+ (e: React.FocusEvent<HTMLInputElement>) => void
537
+
538
+ | \- | \- |
539
+ | required |
540
+
541
+ If `true`, the checkbox is a required field and will be validated as such.
542
+
543
+ boolean
544
+
545
+
546
+
547
+ | \- | Set boolean |
548
+ | touch |
549
+
550
+ Add the button-like border and padding to checkbox when `touch` is true.
551
+
552
+ boolean
553
+
554
+
555
+
556
+ | \- | Set boolean |
557
+ | value |
558
+
559
+ Value of the checkbox when used in a checkbox group. The checked state of the checkbox will be overridden based on this value if used inside a checkbox group. **Note:** The value of the checkbox does not mean if its checked or not, use the checked property for that.
560
+
561
+ FormControlValue
562
+
563
+
564
+
565
+ | \- | Set object |
566
+
567
+ ### Hidden Label
568
+
569
+ It is very rare to want to render a checkbox without a visible label. However, one case where you might want to is within tables.
570
+
571
+ When using a checkbox without a visible label, you must supply a label and apply the `hiddenLabel` property to still be accessible by screen readers.
572
+
573
+ It is also important to not hide the table headers.
574
+
575
+ [](./iframe.html?id=components-checkbox--with-table-data)
576
+
577
+ List of investments
578
+ | Select | Name | Date | Cost |
579
+ | --- | --- | --- | --- |
580
+ |
581
+ Toggle row
582
+
583
+ | Artemis Fund Managers Limited | 2019-09-23 | 23898.12 |
584
+ |
585
+
586
+ Toggle row
587
+
588
+ | CASH.CASH | 2020-06-28 | 49751.43 |
589
+
590
+ ```
591
+
592
+ <ForwardedTable
593
+ caption\="List of investments"
594
+ columns\={\[
595
+ {
596
+ format: (value: boolean) \=> <IressCheckbox defaultChecked\={value} hiddenLabel\>Toggle row</IressCheckbox\>,
597
+ key: 'select',
598
+ label: 'Select',
599
+ sort: true
600
+ },
601
+ {
602
+ key: 'name',
603
+ label: 'Name'
604
+ },
605
+ {
606
+ key: 'date',
607
+ label: 'Date'
608
+ },
609
+ {
610
+ key: 'cost',
611
+ label: 'Cost'
612
+ }
613
+ \]}
614
+ rows\={\[
615
+ {
616
+ cost: 23898.12,
617
+ date: '2019-09-23',
618
+ name: 'Artemis Fund Managers Limited',
619
+ select: false
620
+ },
621
+ {
622
+ cost: 49751.43,
623
+ date: '2020-06-28',
624
+ name: 'CASH.CASH',
625
+ select: true
626
+ }
627
+ \]}
628
+ />
629
+
630
+ ```
631
+
632
+ #### Props
633
+
634
+ IressCheckboxIressCheckboxMark
635
+
636
+ Tabs
637
+
638
+ | Name | Description | Default | Control |
639
+ | --- | --- | --- | --- |
640
+ | checked |
641
+ If true, the checkbox is selected. Please use this when are rendering the checkbox in controlled mode.
642
+
643
+ boolean
644
+
645
+
646
+
647
+ | \- | Set boolean |
648
+ | children |
649
+
650
+ The checkbox content
651
+
652
+ ReactReactNode
653
+
654
+
655
+
656
+ | \- |
657
+
658
+ "Toggle row"
659
+
660
+ |
661
+ | defaultChecked |
662
+
663
+ If true, the checkbox will be initially rendered as selected. Please use this when are rendering the checkbox in uncontrolled mode.
664
+
665
+ boolean
666
+
667
+
668
+
669
+ | \- | Set boolean |
670
+ | hiddenControl |
671
+
672
+ Sets whether the control is hidden. If it is within a checkbox group, it will be overridden with the checkbox group's hiddenCheckbox setting.
673
+
674
+ boolean
675
+
676
+
677
+
678
+ | \- | Set boolean |
679
+ | hiddenLabel |
680
+
681
+ Visually hides the label (if set), label will still be read out by screenreaders.
682
+
683
+ boolean
684
+
685
+
686
+
687
+ | \- | FalseTrue |
688
+ | indeterminate |
689
+
690
+ If true, the checkbox will visually appear as indeterminate.
691
+
692
+ boolean
693
+
694
+
695
+
696
+ | \- | Set boolean |
697
+ | name |
698
+
699
+ The name of the control, which is submitted with the form data.
700
+
701
+ string
702
+
703
+
704
+
705
+ | \- | Set string |
706
+ | onBlur |
707
+
708
+ Emitted when the checkbox loses focus.
709
+
710
+ (e: React.FocusEvent<HTMLInputElement>) => void
711
+
712
+ | \- | \- |
713
+ | onChange |
714
+
715
+ Emitted when the checkbox value changes.
716
+
717
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
718
+
719
+ | \- | \- |
720
+ | onFocus |
721
+
722
+ Emitted when the checkbox gains focus.
723
+
724
+ (e: React.FocusEvent<HTMLInputElement>) => void
725
+
726
+ | \- | \- |
727
+ | required |
728
+
729
+ If `true`, the checkbox is a required field and will be validated as such.
730
+
731
+ boolean
732
+
733
+
734
+
735
+ | \- | Set boolean |
736
+ | touch |
737
+
738
+ Add the button-like border and padding to checkbox when `touch` is true.
739
+
740
+ boolean
741
+
742
+
743
+
744
+ | \- | Set boolean |
745
+ | value |
746
+
747
+ Value of the checkbox when used in a checkbox group. The checked state of the checkbox will be overridden based on this value if used inside a checkbox group. **Note:** The value of the checkbox does not mean if its checked or not, use the checked property for that.
748
+
749
+ FormControlValue
750
+
751
+
752
+
753
+ | \- | Set object |
754
+
755
+ ### Readonly
756
+
757
+ The `readOnly` prop changes how the checkbox is rendered. It will only render if the checkbox is checked (alongside a hidden input that contains the `value` if it was set), otherwise it will not be rendered.
758
+
759
+ It is understandable that this may not be the desired behavior for all use cases. If you need a checkbox that is not editable, but still visible, simply do not set the `readonly` prop and set the `checked` prop instead.
760
+
761
+ [](./iframe.html?id=components-checkbox--readonly)
762
+
763
+ I agree to the terms and conditions
764
+
765
+ ```
766
+
767
+ <IressStack\>
768
+ <IressCheckbox
769
+ defaultChecked
770
+ readOnly
771
+ value\="readonly"
772
+ \>
773
+ I agree to the terms and conditions </IressCheckbox\>
774
+ <IressCheckbox
775
+ readOnly
776
+ value\="readonly"
777
+ \>
778
+ I agree to the terms and conditions </IressCheckbox\>
779
+ </IressStack\>
780
+
781
+ ```
782
+
783
+ #### Props
784
+
785
+ IressCheckboxIressCheckboxMark
786
+
787
+ Tabs
788
+
789
+ | Name | Description | Default | Control |
790
+ | --- | --- | --- | --- |
791
+ | checked |
792
+ If true, the checkbox is selected. Please use this when are rendering the checkbox in controlled mode.
793
+
794
+ boolean
795
+
796
+
797
+
798
+ | \- | \- |
799
+ | children |
800
+
801
+ The checkbox content
802
+
803
+ ReactReactNode
804
+
805
+
806
+
807
+ | \- |
808
+
809
+ "I agree to the terms and conditions"
810
+
811
+ |
812
+ | defaultChecked |
813
+
814
+ If true, the checkbox will be initially rendered as selected. Please use this when are rendering the checkbox in uncontrolled mode.
815
+
816
+ boolean
817
+
818
+
819
+
820
+ | \- | Set boolean |
821
+ | hiddenControl |
822
+
823
+ Sets whether the control is hidden. If it is within a checkbox group, it will be overridden with the checkbox group's hiddenCheckbox setting.
824
+
825
+ boolean
826
+
827
+
828
+
829
+ | \- | Set boolean |
830
+ | hiddenLabel |
831
+
832
+ Visually hides the label (if set), label will still be read out by screenreaders.
833
+
834
+ boolean
835
+
836
+
837
+
838
+ | \- | Set boolean |
839
+ | indeterminate |
840
+
841
+ If true, the checkbox will visually appear as indeterminate.
842
+
843
+ boolean
844
+
845
+
846
+
847
+ | \- | Set boolean |
848
+ | name |
849
+
850
+ The name of the control, which is submitted with the form data.
851
+
852
+ string
853
+
854
+
855
+
856
+ | \- | Set string |
857
+ | onBlur |
858
+
859
+ Emitted when the checkbox loses focus.
860
+
861
+ (e: React.FocusEvent<HTMLInputElement>) => void
862
+
863
+ | \- | \- |
864
+ | onChange |
865
+
866
+ Emitted when the checkbox value changes.
867
+
868
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
869
+
870
+ | \- | \- |
871
+ | onFocus |
872
+
873
+ Emitted when the checkbox gains focus.
874
+
875
+ (e: React.FocusEvent<HTMLInputElement>) => void
876
+
877
+ | \- | \- |
878
+ | readOnly |
879
+
880
+ boolean
881
+
882
+
883
+
884
+ | \- | \- |
885
+ | required |
886
+
887
+ If `true`, the checkbox is a required field and will be validated as such.
888
+
889
+ boolean
890
+
891
+
892
+
893
+ | \- | Set boolean |
894
+ | touch |
895
+
896
+ Add the button-like border and padding to checkbox when `touch` is true.
897
+
898
+ boolean
899
+
900
+
901
+
902
+ | \- | Set boolean |
903
+ | value |
904
+
905
+ Value of the checkbox when used in a checkbox group. The checked state of the checkbox will be overridden based on this value if used inside a checkbox group. **Note:** The value of the checkbox does not mean if its checked or not, use the checked property for that.
906
+
907
+ FormControlValue
908
+
909
+
910
+
911
+ | \- |
912
+
913
+ "readonly"
914
+
915
+ |
916
+
917
+ ### Touch
918
+
919
+ The `touch` prop adds the button-like border and padding to checkbox.
920
+
921
+ [](./iframe.html?id=components-checkbox--touch)
922
+
923
+ Checkbox with touch styles
924
+
925
+ ```
926
+
927
+ <IressCheckbox touch\>
928
+ Checkbox with touch styles
929
+ </IressCheckbox\>
930
+
931
+ ```
932
+
933
+ #### Props
934
+
935
+ IressCheckboxIressCheckboxMark
936
+
937
+ Tabs
938
+
939
+ | Name | Description | Default | Control |
940
+ | --- | --- | --- | --- |
941
+ | checked |
942
+ If true, the checkbox is selected. Please use this when are rendering the checkbox in controlled mode.
943
+
944
+ boolean
945
+
946
+
947
+
948
+ | \- | Set boolean |
949
+ | children |
950
+
951
+ The checkbox content
952
+
953
+ ReactReactNode
954
+
955
+
956
+
957
+ | \- |
958
+
959
+ "Checkbox with touch styles"
960
+
961
+ |
962
+ | defaultChecked |
963
+
964
+ If true, the checkbox will be initially rendered as selected. Please use this when are rendering the checkbox in uncontrolled mode.
965
+
966
+ boolean
967
+
968
+
969
+
970
+ | \- | Set boolean |
971
+ | hiddenControl |
972
+
973
+ Sets whether the control is hidden. If it is within a checkbox group, it will be overridden with the checkbox group's hiddenCheckbox setting.
974
+
975
+ boolean
976
+
977
+
978
+
979
+ | \- | Set boolean |
980
+ | hiddenLabel |
981
+
982
+ Visually hides the label (if set), label will still be read out by screenreaders.
983
+
984
+ boolean
985
+
986
+
987
+
988
+ | \- | Set boolean |
989
+ | indeterminate |
990
+
991
+ If true, the checkbox will visually appear as indeterminate.
992
+
993
+ boolean
994
+
995
+
996
+
997
+ | \- | Set boolean |
998
+ | name |
999
+
1000
+ The name of the control, which is submitted with the form data.
1001
+
1002
+ string
1003
+
1004
+
1005
+
1006
+ | \- | Set string |
1007
+ | onBlur |
1008
+
1009
+ Emitted when the checkbox loses focus.
1010
+
1011
+ (e: React.FocusEvent<HTMLInputElement>) => void
1012
+
1013
+ | \- | \- |
1014
+ | onChange |
1015
+
1016
+ Emitted when the checkbox value changes.
1017
+
1018
+ ( e: React.ChangeEvent<HTMLInputElement>, value?: FormControlValue, ) => void
1019
+
1020
+ | \- | \- |
1021
+ | onFocus |
1022
+
1023
+ Emitted when the checkbox gains focus.
1024
+
1025
+ (e: React.FocusEvent<HTMLInputElement>) => void
1026
+
1027
+ | \- | \- |
1028
+ | required |
1029
+
1030
+ If `true`, the checkbox is a required field and will be validated as such.
1031
+
1032
+ boolean
1033
+
1034
+
1035
+
1036
+ | \- | Set boolean |
1037
+ | touch |
1038
+
1039
+ Add the button-like border and padding to checkbox when `touch` is true.
1040
+
1041
+ boolean
1042
+
1043
+
1044
+
1045
+ | \- | FalseTrue |
1046
+ | value |
1047
+
1048
+ Value of the checkbox when used in a checkbox group. The checked state of the checkbox will be overridden based on this value if used inside a checkbox group. **Note:** The value of the checkbox does not mean if its checked or not, use the checked property for that.
1049
+
1050
+ FormControlValue
1051
+
1052
+
1053
+
1054
+ | \- | Set object |