@iress-oss/ids-mcp-server 5.14.2 → 6.0.0-alpha.0

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 (105) hide show
  1. package/generated/docs/components-alert-docs.md +579 -7
  2. package/generated/docs/components-autocomplete-docs.md +694 -15
  3. package/generated/docs/components-autocomplete-recipes-docs.md +1 -1
  4. package/generated/docs/components-badge-docs.md +442 -59
  5. package/generated/docs/components-button-docs.md +1150 -70
  6. package/generated/docs/components-buttongroup-docs.md +441 -3
  7. package/generated/docs/components-card-docs.md +487 -37
  8. package/generated/docs/components-checkbox-docs.md +506 -5
  9. package/generated/docs/components-checkboxgroup-docs.md +586 -191
  10. package/generated/docs/components-checkboxgroup-recipes-docs.md +3 -3
  11. package/generated/docs/components-col-docs.md +451 -36
  12. package/generated/docs/components-container-docs.md +32 -0
  13. package/generated/docs/components-divider-docs.md +427 -27
  14. package/generated/docs/components-expander-docs.md +487 -108
  15. package/generated/docs/components-field-docs.md +1400 -68
  16. package/generated/docs/components-filter-docs.md +269 -56
  17. package/generated/docs/components-hide-docs.md +447 -10
  18. package/generated/docs/components-icon-docs.md +522 -259
  19. package/generated/docs/components-image-docs.md +493 -0
  20. package/generated/docs/components-inline-docs.md +1179 -44
  21. package/generated/docs/components-input-docs.md +544 -12
  22. package/generated/docs/components-input-recipes-docs.md +4 -4
  23. package/generated/docs/components-inputcurrency-docs.md +532 -0
  24. package/generated/docs/components-inputcurrency-recipes-docs.md +4 -5
  25. package/generated/docs/components-introduction-docs.md +450 -0
  26. package/generated/docs/components-label-docs.md +454 -27
  27. package/generated/docs/components-link-docs.md +586 -0
  28. package/generated/docs/components-menu-docs.md +531 -89
  29. package/generated/docs/components-menu-menuitem-docs.md +556 -10
  30. package/generated/docs/components-modal-docs.md +814 -55
  31. package/generated/docs/components-panel-docs.md +418 -198
  32. package/generated/docs/components-placeholder-docs.md +420 -1
  33. package/generated/docs/components-popover-docs.md +1097 -32
  34. package/generated/docs/components-popover-recipes-docs.md +39 -73
  35. package/generated/docs/components-progress-docs.md +464 -0
  36. package/generated/docs/components-provider-docs.md +160 -0
  37. package/generated/docs/components-radio-docs.md +460 -4
  38. package/generated/docs/components-radiogroup-docs.md +586 -116
  39. package/generated/docs/components-readonly-docs.md +450 -4
  40. package/generated/docs/components-richselect-docs.md +4660 -1257
  41. package/generated/docs/components-row-docs.md +2065 -588
  42. package/generated/docs/components-select-docs.md +489 -5
  43. package/generated/docs/components-skeleton-docs.md +399 -16
  44. package/generated/docs/components-skeleton-recipes-docs.md +7 -7
  45. package/generated/docs/components-skiplink-docs.md +548 -27
  46. package/generated/docs/components-slideout-docs.md +648 -150
  47. package/generated/docs/components-slider-docs.md +515 -33
  48. package/generated/docs/components-spinner-docs.md +393 -2
  49. package/generated/docs/components-stack-docs.md +732 -74
  50. package/generated/docs/components-table-ag-grid-docs.md +501 -1723
  51. package/generated/docs/components-table-docs.md +1049 -27
  52. package/generated/docs/components-tabset-docs.md +454 -27
  53. package/generated/docs/components-tabset-tab-docs.md +464 -0
  54. package/generated/docs/components-tag-docs.md +452 -19
  55. package/generated/docs/components-text-docs.md +322 -131
  56. package/generated/docs/components-toaster-docs.md +512 -51
  57. package/generated/docs/components-toggle-docs.md +476 -20
  58. package/generated/docs/components-tooltip-docs.md +443 -7
  59. package/generated/docs/components-validationmessage-docs.md +933 -13
  60. package/generated/docs/extensions-editor-docs.md +906 -13
  61. package/generated/docs/extensions-editor-recipes-docs.md +51 -1
  62. package/generated/docs/foundations-accessibility-docs.md +1 -23
  63. package/generated/docs/foundations-grid-docs.md +74 -0
  64. package/generated/docs/foundations-introduction-docs.md +6 -4
  65. package/generated/docs/foundations-responsive-breakpoints-docs.md +193 -0
  66. package/generated/docs/foundations-tokens-colour-docs.md +564 -0
  67. package/generated/docs/foundations-tokens-elevation-docs.md +155 -0
  68. package/generated/docs/foundations-tokens-introduction-docs.md +190 -0
  69. package/generated/docs/foundations-tokens-radius-docs.md +71 -0
  70. package/generated/docs/foundations-tokens-spacing-docs.md +89 -0
  71. package/generated/docs/foundations-tokens-typography-docs.md +322 -0
  72. package/generated/docs/foundations-z-index-stacking-docs.md +31 -0
  73. package/generated/docs/get-started-develop-docs.md +177 -16
  74. package/generated/docs/guidelines.md +1537 -295
  75. package/generated/docs/introduction-docs.md +65 -21
  76. package/generated/docs/news-version-6-docs.md +93 -0
  77. package/generated/docs/patterns-form-docs.md +3902 -0
  78. package/generated/docs/patterns-form-recipes-docs.md +1370 -0
  79. package/generated/docs/patterns-introduction-docs.md +24 -0
  80. package/generated/docs/patterns-loading-docs.md +2942 -203
  81. package/generated/docs/resources-introduction-docs.md +38 -0
  82. package/generated/docs/resources-mcp-server-docs.md +27 -0
  83. package/generated/docs/styling-props-colour-docs.md +172 -0
  84. package/generated/docs/styling-props-elevation-docs.md +88 -0
  85. package/generated/docs/styling-props-radius-docs.md +86 -0
  86. package/generated/docs/styling-props-reference-docs.md +160 -0
  87. package/generated/docs/styling-props-screen-readers-docs.md +71 -0
  88. package/generated/docs/styling-props-sizing-docs.md +627 -0
  89. package/generated/docs/styling-props-spacing-docs.md +2282 -0
  90. package/generated/docs/styling-props-typography-docs.md +121 -0
  91. package/generated/docs/themes-available-themes-docs.md +29 -29
  92. package/generated/docs/themes-introduction-docs.md +1 -1
  93. package/package.json +3 -22
  94. package/generated/docs/components-button-recipes-docs.md +0 -76
  95. package/generated/docs/components-card-recipes-docs.md +0 -89
  96. package/generated/docs/components-combobox-docs.md +0 -1016
  97. package/generated/docs/components-form-docs.md +0 -2442
  98. package/generated/docs/components-form-recipes-docs.md +0 -892
  99. package/generated/docs/components-navbar-docs.md +0 -291
  100. package/generated/docs/components-navbar-recipes-docs.md +0 -413
  101. package/generated/docs/components-toaster-toast-docs.md +0 -157
  102. package/generated/docs/foundations-colours-docs.md +0 -257
  103. package/generated/docs/foundations-typography-docs.md +0 -191
  104. package/generated/docs/resources-changelog-docs.md +0 -6
  105. package/generated/docs/themes-tokens-docs.md +0 -1200
@@ -6,6 +6,14 @@ Overview
6
6
 
7
7
  Checkbox groups allow users to make more than one choice in a set of related options.
8
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
+
9
17
  Lemon drizzle
10
18
 
11
19
  Victoria Sponge
@@ -27,6 +35,441 @@ Hide code
27
35
 
28
36
  Copy
29
37
 
38
+ [](#props)Props
39
+ ---------------
40
+
41
+ | Name | Description | Default | Control |
42
+ | --- | --- | --- | --- |
43
+ | bg |
44
+ **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
45
+
46
+ We recommend using the following token values for best background contrast:
47
+
48
+ * `colour.primary.fill` for primary backgrounds that need to stand out
49
+ * `colour.primary.surface` for primary backgrounds that need to be less prominent
50
+ * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
51
+ * `colour.neutral.20` for a slightly darker background color, used in neutral state components
52
+ * `colour.system.danger.fill` for error backgrounds that need to stand out
53
+ * `colour.system.danger.surface` for error backgrounds that need to be less prominent
54
+ * `colour.system.success.fill` for success backgrounds that need to stand out
55
+ * `colour.system.success.surface` for success backgrounds that need to be less prominent
56
+ * `colour.system.warning.fill` for warning backgrounds that need to stand out
57
+ * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
58
+ * `colour.system.info.fill` for info backgrounds that need to stand out
59
+ * `colour.system.info.surface` for info backgrounds that need to be less prominent
60
+
61
+ ResponsiveProp<ColorToken> | undefined
62
+
63
+ | \- | Set object |
64
+ | borderRadius |
65
+
66
+ The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
67
+
68
+ | Chrome | Firefox | Safari | Edge | IE |
69
+ | --- | --- | --- | --- | --- |
70
+ | **4** | **4** | **5** | **12** | **9** |
71
+ | 1 _\-x-_ | | 3 _\-x-_ | | |
72
+
73
+ ResponsiveProp<RadiusToken> | undefined
74
+
75
+ | \- | Set object |
76
+ | children |
77
+
78
+ Content to be displayed inside the group, usually multiple `IressCheckbox`.
79
+
80
+ ReactNode
81
+
82
+
83
+
84
+ | \- | \- |
85
+ | defaultValue |
86
+
87
+ Value of checkbox group when in uncontrolled mode.
88
+
89
+ T | T\[\] | undefined
90
+
91
+ | \- | Set object |
92
+ | focusable |
93
+
94
+ The `focusable` prop is used to apply the focus elevation when focused. It can be set to `true` to apply focus styles on focus, or `'within'` to apply focus styles when the element or any of its children are focused.
95
+
96
+ "true""within"undefined
97
+
98
+
99
+
100
+ | \- | Set object |
101
+ | hiddenCheckbox |
102
+
103
+ Hides the checkbox controls to allow the creation of custom checkboxes.
104
+
105
+ booleanundefined
106
+
107
+
108
+
109
+ | \- | Set object |
110
+ | hide |
111
+
112
+ Set **`hide`** to hide an element completely using `display: none`. It can also be set to an object of breakpoints to hide the element at specific breakpoints.
113
+
114
+ Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
115
+
116
+ Notes:
117
+
118
+ * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
119
+ * Consider if you can conditionally render the element instead of hiding it.
120
+
121
+ ResponsiveProp<boolean> | undefined
122
+
123
+ | \- | Set object |
124
+ | layerStyle |
125
+
126
+ Elevate a layer by using a **`layerStyle`**. These are connected to the elevation tokens in the design system. They can be combined to create hierarchy and structure.
127
+
128
+ * `elevation.raised`: Raised elevations sit slightly higher than other content. They are reserved for cards that can be moved, such as Jira issue cards and Trello cards. In special circumstances, they can be used for cards as a way to provide additional heirarchy or emphasis.
129
+ * `elevation.floating`: Floating is the highest elevation available. It is reserved for a UI that sits over another UI, such as modals, dialogs, dropdown menus, floating toolbars, and floating single-action buttons.
130
+ * `elevation.overflow`: Overflow is a shadow indicating content has scrolled outside a view. It can be used for vertical or horizontal scroll. An example of overflow shadows is the horizontal scroll in tables on a Confluence page.
131
+
132
+ ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
133
+
134
+ | \- | Set object |
135
+ | layout |
136
+
137
+ Sets which of the block / inline layout options apply.
138
+
139
+ "block""inline""stack"undefined
140
+
141
+
142
+
143
+ |
144
+
145
+ stack
146
+
147
+ | Set object |
148
+ | m |
149
+
150
+ The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
151
+
152
+ It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
153
+
154
+ | Chrome | Firefox | Safari | Edge | IE |
155
+ | --- | --- | --- | --- | --- |
156
+ | **1** | **1** | **1** | **12** | **3** |
157
+
158
+ ResponsiveProp<SpacingToken | "auto"> | undefined
159
+
160
+ | \- | Set object |
161
+ | maxWidth |
162
+
163
+ The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`.
164
+
165
+ | Chrome | Firefox | Safari | Edge | IE |
166
+ | --- | --- | --- | --- | --- |
167
+ | **1** | **1** | **1** | **12** | **7** |
168
+
169
+ ResponsiveProp<"auto" | SizeToken | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | ... 8 more ... | "11/12"> | undefined
170
+
171
+ | \- | Set object |
172
+ | mb |
173
+
174
+ The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
175
+
176
+ It uses the spacing tokens in the design system.
177
+
178
+ | Chrome | Firefox | Safari | Edge | IE |
179
+ | --- | --- | --- | --- | --- |
180
+ | **1** | **1** | **1** | **12** | **3** |
181
+
182
+ ResponsiveProp<SpacingToken | "auto"> | undefined
183
+
184
+ | \- | Set object |
185
+ | ml |
186
+
187
+ The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
188
+
189
+ It uses the spacing tokens in the design system.
190
+
191
+ | Chrome | Firefox | Safari | Edge | IE |
192
+ | --- | --- | --- | --- | --- |
193
+ | **1** | **1** | **1** | **12** | **3** |
194
+
195
+ ResponsiveProp<SpacingToken | "auto"> | undefined
196
+
197
+ | \- | Set object |
198
+ | mr |
199
+
200
+ The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
201
+
202
+ It uses the spacing tokens in the design system.
203
+
204
+ | Chrome | Firefox | Safari | Edge | IE |
205
+ | --- | --- | --- | --- | --- |
206
+ | **1** | **1** | **1** | **12** | **3** |
207
+
208
+ ResponsiveProp<SpacingToken | "auto"> | undefined
209
+
210
+ | \- | Set object |
211
+ | mt |
212
+
213
+ The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
214
+
215
+ It uses the spacing tokens in the design system.
216
+
217
+ | Chrome | Firefox | Safari | Edge | IE |
218
+ | --- | --- | --- | --- | --- |
219
+ | **1** | **1** | **1** | **12** | **3** |
220
+
221
+ ResponsiveProp<SpacingToken | "auto"> | undefined
222
+
223
+ | \- | Set object |
224
+ | mx |
225
+
226
+ The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
227
+
228
+ It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
229
+
230
+ | Chrome | Firefox | Safari | Edge | IE |
231
+ | --- | --- | --- | --- | --- |
232
+ | **1** | **1** | **1** | **12** | **3** |
233
+
234
+ ResponsiveProp<SpacingToken | "auto"> | undefined
235
+
236
+ | \- | Set object |
237
+ | my |
238
+
239
+ The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
240
+
241
+ It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
242
+
243
+ | Chrome | Firefox | Safari | Edge | IE |
244
+ | --- | --- | --- | --- | --- |
245
+ | **1** | **1** | **1** | **12** | **3** |
246
+
247
+ ResponsiveProp<SpacingToken | "auto"> | undefined
248
+
249
+ | \- | Set object |
250
+ | name |
251
+
252
+ Name to be applied to all checkboxes in the group.
253
+
254
+ stringundefined
255
+
256
+
257
+
258
+ | \- |
259
+
260
+ "let-them-eat-cake"
261
+
262
+ |
263
+ | noGutter |
264
+
265
+ The **`noGutter`** property is used to remove the bottom margin from the last child of a component. This is useful when you want to avoid extra spacing at the end of a layout.
266
+
267
+ booleanundefined
268
+
269
+
270
+
271
+ | \- | Set object |
272
+ | onChange |
273
+
274
+ Called with collated new value when a user toggles one of its children checkboxes.
275
+
276
+ ((value?: T\[\] | undefined) => void) | undefined
277
+
278
+ | \- | \- |
279
+ | p |
280
+
281
+ The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
282
+
283
+ It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
284
+
285
+ | Chrome | Firefox | Safari | Edge | IE |
286
+ | --- | --- | --- | --- | --- |
287
+ | **1** | **1** | **1** | **12** | **3** |
288
+
289
+ ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
290
+
291
+ | \- | Set object |
292
+ | pb |
293
+
294
+ The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
295
+
296
+ It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
297
+
298
+ | Chrome | Firefox | Safari | Edge | IE |
299
+ | --- | --- | --- | --- | --- |
300
+ | **1** | **1** | **1** | **12** | **3** |
301
+
302
+ ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
303
+
304
+ | \- | Set object |
305
+ | pl |
306
+
307
+ The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
308
+
309
+ It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
310
+
311
+ | Chrome | Firefox | Safari | Edge | IE |
312
+ | --- | --- | --- | --- | --- |
313
+ | **1** | **1** | **1** | **12** | **3** |
314
+
315
+ ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
316
+
317
+ | \- | Set object |
318
+ | pr |
319
+
320
+ The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
321
+
322
+ It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
323
+
324
+ | Chrome | Firefox | Safari | Edge | IE |
325
+ | --- | --- | --- | --- | --- |
326
+ | **1** | **1** | **1** | **12** | **3** |
327
+
328
+ ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
329
+
330
+ | \- | Set object |
331
+ | pt |
332
+
333
+ The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
334
+
335
+ It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
336
+
337
+ | Chrome | Firefox | Safari | Edge | IE |
338
+ | --- | --- | --- | --- | --- |
339
+ | **1** | **1** | **1** | **12** | **3** |
340
+
341
+ ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
342
+
343
+ | \- | Set object |
344
+ | px |
345
+
346
+ The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
347
+
348
+ It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
349
+
350
+ | Chrome | Firefox | Safari | Edge | IE |
351
+ | --- | --- | --- | --- | --- |
352
+ | **1** | **1** | **1** | **12** | **3** |
353
+
354
+ ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
355
+
356
+ | \- | Set object |
357
+ | py |
358
+
359
+ The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
360
+
361
+ It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
362
+
363
+ | Chrome | Firefox | Safari | Edge | IE |
364
+ | --- | --- | --- | --- | --- |
365
+ | **1** | **1** | **1** | **12** | **3** |
366
+
367
+ ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
368
+
369
+ | \- | Set object |
370
+ | readOnly |
371
+
372
+ Renders the group in a read-only state.
373
+
374
+ booleanundefined
375
+
376
+
377
+
378
+ | \- | Set object |
379
+ | ref |
380
+
381
+ ForwardedRef<CheckboxGroupRef<T>> | undefined
382
+
383
+ | \- | Set object |
384
+ | rowGap |
385
+
386
+ The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
387
+
388
+ Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
389
+
390
+ | Chrome | Firefox | Safari | Edge | IE |
391
+ | --- | --- | --- | --- | --- |
392
+ | **47** | **52** | **10.1** | **16** | No |
393
+
394
+ ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
395
+
396
+ | \- | Set object |
397
+ | srOnly |
398
+
399
+ Set **`srOnly`** to hide an element visually but still make it accessible to screen readers. It can also be set to an object of breakpoints to hide the element at specific breakpoints.
400
+
401
+ Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
402
+
403
+ ResponsiveProp<boolean> | undefined
404
+
405
+ | \- | Set object |
406
+ | stretch |
407
+
408
+ The **`stretch`** property is used to stretch an element to fill the available space in its parent container. It sets the `height` property to `100%` and `alignSelf` to `stretch`, allowing the element to expand and contract based on the size of its parent.
409
+
410
+ booleanundefined
411
+
412
+
413
+
414
+ | \- | Set object |
415
+ | textAlign |
416
+
417
+ The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
418
+
419
+ | Chrome | Firefox | Safari | Edge | IE |
420
+ | --- | --- | --- | --- | --- |
421
+ | **1** | **1** | **1** | **12** | **3** |
422
+
423
+ ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
424
+
425
+ | \- | Set object |
426
+ | textStyle |
427
+
428
+ Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
429
+
430
+ * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
431
+ * `typography.body.md` - The most commonly used body text size, used for most text content in the product and the default state of all components in the design system.
432
+ * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
433
+ * `typography.heading.1` - Use for the main page title to establish a clear hierarchy. There is typically only one H1 per screen, emphasising the primary purpose or context of the page.
434
+ * `typography.heading.2` - Use for primary section headings within a page to organise content and guide the user through key areas. Also suitable for large components—such as modals—where space allows and where it pairs well with body.md or body.lg.
435
+ * `typography.heading.3` - Use for sub-sections under H2s to further structure content and maintain a clear visual hierarchy. Ideal for breaking down complex sections into manageable parts.
436
+ * `typography.heading.4` - Use for supporting headings within content blocks or small components where space is limited—such as table headers, cards, or side panels. Provides structure without overwhelming the layout.
437
+ * `typography.heading.5` - Use for minor labels or titles in compact UI elements, such as cards, sidebars, or inline labels. Best used to emphasise supplementary information without drawing too much attention. Works well with body.sm and is ideal for subtle content like fine print. Use sparingly to preserve typographic hierarchy.
438
+ * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
439
+
440
+ ResponsiveProp<"typography.heading.1" | "typography.heading.2" | "typography.heading.3" | "typography.heading.4" | "typography.heading.5" | "typography.body.sm" | "typography.body.sm.regular" | ... 10 more ... | "typography.code"> | undefined
441
+
442
+ | \- | Set object |
443
+ | touch |
444
+
445
+ Add the button-like border and padding to checkbox when `touch` is true.
446
+
447
+ booleanundefined
448
+
449
+
450
+
451
+ | \- | Set object |
452
+ | value |
453
+
454
+ Value of checkbox group when in controlled mode.
455
+
456
+ T | T\[\] | undefined
457
+
458
+ | \- | Set object |
459
+ | width |
460
+
461
+ The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area.
462
+
463
+ This prop only allows widths available throughout the component library. To use a custom width, you need to use the `style` prop, or add a custom class to the element and use CSS.
464
+
465
+ | Chrome | Firefox | Safari | Edge | IE |
466
+ | --- | --- | --- | --- | --- |
467
+ | **1** | **1** | **1** | **12** | **4** |
468
+
469
+ ResponsiveProp<"auto" | SizeToken | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | ... 8 more ... | "11/12"> | undefined
470
+
471
+ | \- | Set object |
472
+
30
473
  [](#examples)Examples
31
474
  ---------------------
32
475
 
@@ -117,10 +560,12 @@ import {
117
560
  IressStack,
118
561
  } from '@iress-oss/ids-components';
119
562
  import { useState } from 'react';
120
- export const CheckboxGroupUsingState \= () \=> {
121
- const \[value, setValue\] \= useState<FormControlValue\[\]\>(\[\]);
563
+ export const CheckboxGroupUsingState \= <T \= FormControlValue,\>(
564
+ <T\>,
565
+ ) => {
566
+ const \[value, setValue\] \= useState<T\[\]\>(\[\]);
122
567
  return (
123
- <IressStack gutter\={IressStack.Gutter.Sm}\>
568
+ <IressStack gap\="sm"\>
124
569
  <IressCheckboxGroup
125
570
  {...{
126
571
  name: 'let-them-eat-cake',
@@ -147,16 +592,6 @@ The `layout` prop controls how the checkbox group is displayed and can have thre
147
592
  * **Block:** Same as Stack, but labels take up the full width of the container.
148
593
  * **Inline:** Checkboxes are laid out horizontally. Labels are only as wide as their text.
149
594
 
150
- ### stack
151
-
152
- Google
153
-
154
- Newspaper
155
-
156
- Friend
157
-
158
- Other
159
-
160
595
  ### block
161
596
 
162
597
  Google
@@ -177,7 +612,7 @@ Friend
177
612
 
178
613
  Other
179
614
 
180
- ### full
615
+ ### stack
181
616
 
182
617
  Google
183
618
 
@@ -191,111 +626,79 @@ Hide code
191
626
 
192
627
  \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
193
628
 
194
- <IressText className\="iress-u-stack iress--gutter--lg"\>
195
- <div\>
196
- <h3\>
197
- stack </h3\>
198
- <IressCheckboxGroup layout\="stack"\>
199
- <IressCheckbox
200
- className\="ids-styles--add-border-to-label-v5142"
201
- value\="google"
202
- \>
203
- Google </IressCheckbox\>
204
- <IressCheckbox
205
- className\="ids-styles--add-border-to-label-v5142"
206
- value\="newspaper"
207
- \>
208
- Newspaper </IressCheckbox\>
209
- <IressCheckbox
210
- className\="ids-styles--add-border-to-label-v5142"
211
- value\="friend"
212
- \>
213
- Friend </IressCheckbox\>
214
- <IressCheckbox
215
- className\="ids-styles--add-border-to-label-v5142"
216
- value\="other"
217
- \>
218
- Other </IressCheckbox\>
219
- </IressCheckboxGroup\>
220
- </div\>
221
- <div\>
222
- <h3\>
223
- block </h3\>
224
- <IressCheckboxGroup layout\="block"\>
225
- <IressCheckbox
226
- className\="ids-styles--add-border-to-label-v5142"
227
- value\="google"
228
- \>
229
- Google </IressCheckbox\>
230
- <IressCheckbox
231
- className\="ids-styles--add-border-to-label-v5142"
232
- value\="newspaper"
233
- \>
234
- Newspaper </IressCheckbox\>
235
- <IressCheckbox
236
- className\="ids-styles--add-border-to-label-v5142"
237
- value\="friend"
238
- \>
239
- Friend </IressCheckbox\>
240
- <IressCheckbox
241
- className\="ids-styles--add-border-to-label-v5142"
242
- value\="other"
243
- \>
244
- Other </IressCheckbox\>
245
- </IressCheckboxGroup\>
246
- </div\>
247
- <div\>
248
- <h3\>
249
- inline </h3\>
250
- <IressCheckboxGroup layout\="inline"\>
251
- <IressCheckbox
252
- className\="ids-styles--add-border-to-label-v5142"
253
- value\="google"
254
- \>
255
- Google </IressCheckbox\>
256
- <IressCheckbox
257
- className\="ids-styles--add-border-to-label-v5142"
258
- value\="newspaper"
259
- \>
260
- Newspaper </IressCheckbox\>
261
- <IressCheckbox
262
- className\="ids-styles--add-border-to-label-v5142"
263
- value\="friend"
264
- \>
265
- Friend </IressCheckbox\>
266
- <IressCheckbox
267
- className\="ids-styles--add-border-to-label-v5142"
268
- value\="other"
269
- \>
270
- Other </IressCheckbox\>
271
- </IressCheckboxGroup\>
272
- </div\>
273
- <div\>
274
- <h3\>
275
- full </h3\>
276
- <IressCheckboxGroup layout\="full"\>
277
- <IressCheckbox
278
- className\="ids-styles--add-border-to-label-v5142"
279
- value\="google"
280
- \>
281
- Google </IressCheckbox\>
282
- <IressCheckbox
283
- className\="ids-styles--add-border-to-label-v5142"
284
- value\="newspaper"
285
- \>
286
- Newspaper </IressCheckbox\>
287
- <IressCheckbox
288
- className\="ids-styles--add-border-to-label-v5142"
289
- value\="friend"
290
- \>
291
- Friend </IressCheckbox\>
292
- <IressCheckbox
293
- className\="ids-styles--add-border-to-label-v5142"
294
- value\="other"
295
- \>
296
- Other </IressCheckbox\>
297
- </IressCheckboxGroup\>
298
- </div\>
629
+ <IressText\>
630
+ <h3\>
631
+ block </h3\>
632
+ <IressCheckboxGroup layout\="block"\>
633
+ <IressCheckbox
634
+ className\="\_addBorderToLabel\_1d00u\_74"
635
+ value\="google"
636
+ \>
637
+ Google </IressCheckbox\>
638
+ <IressCheckbox
639
+ className\="\_addBorderToLabel\_1d00u\_74"
640
+ value\="newspaper"
641
+ \>
642
+ Newspaper </IressCheckbox\>
643
+ <IressCheckbox
644
+ className\="\_addBorderToLabel\_1d00u\_74"
645
+ value\="friend"
646
+ \>
647
+ Friend </IressCheckbox\>
648
+ <IressCheckbox
649
+ className\="\_addBorderToLabel\_1d00u\_74"
650
+ value\="other"
651
+ \>
652
+ Other </IressCheckbox\>
653
+ </IressCheckboxGroup\>
654
+ <h3\>
655
+ inline </h3\>
656
+ <IressCheckboxGroup layout\="inline"\>
657
+ <IressCheckbox
658
+ className\="\_addBorderToLabel\_1d00u\_74"
659
+ value\="google"
660
+ \>
661
+ Google </IressCheckbox\>
662
+ <IressCheckbox
663
+ className\="\_addBorderToLabel\_1d00u\_74"
664
+ value\="newspaper"
665
+ \>
666
+ Newspaper </IressCheckbox\>
667
+ <IressCheckbox
668
+ className\="\_addBorderToLabel\_1d00u\_74"
669
+ value\="friend"
670
+ \>
671
+ Friend </IressCheckbox\>
672
+ <IressCheckbox
673
+ className\="\_addBorderToLabel\_1d00u\_74"
674
+ value\="other"
675
+ \>
676
+ Other </IressCheckbox\>
677
+ </IressCheckboxGroup\>
678
+ <h3\>
679
+ stack </h3\>
680
+ <IressCheckboxGroup layout\="stack"\>
681
+ <IressCheckbox
682
+ className\="\_addBorderToLabel\_1d00u\_74"
683
+ value\="google"
684
+ \>
685
+ Google </IressCheckbox\>
686
+ <IressCheckbox
687
+ className\="\_addBorderToLabel\_1d00u\_74"
688
+ value\="newspaper"
689
+ \>
690
+ Newspaper </IressCheckbox\>
691
+ <IressCheckbox
692
+ className\="\_addBorderToLabel\_1d00u\_74"
693
+ value\="friend"
694
+ \>
695
+ Friend </IressCheckbox\>
696
+ <IressCheckbox
697
+ className\="\_addBorderToLabel\_1d00u\_74"
698
+ value\="other"
699
+ \>
700
+ Other </IressCheckbox\>
701
+ </IressCheckboxGroup\>
299
702
  </IressText\>
300
703
 
301
704
  Copy
@@ -306,12 +709,10 @@ You can use the `hiddenCheckbox` prop to create custom checkboxes. When enabled,
306
709
 
307
710
  When `hiddenCheckbox` is enabled, the label will have no padding. Padding can be added by using an `IressPanel`.
308
711
 
309
- **I'd like to discuss the following with my financial adviser:
712
+ **I'd like to discuss the following with my financial adviser:**
310
713
 
311
714
  Select all that apply
312
715
 
313
- **
314
-
315
716
  Buying my first home
316
717
 
317
718
  Saving for a holiday
@@ -336,18 +737,18 @@ Hide code
336
737
  \>
337
738
  <IressCheckbox value\="home"\>
338
739
  <IressPanel
339
- background\="transparent"
340
- padding\="lg"
740
+ bg\="transparent"
741
+ p\="lg"
341
742
  textAlign\="center"
342
743
  \>
343
- <IressStack gutter\="md"\>
744
+ <IressStack gap\="md"\>
344
745
  <IressIcon
345
746
  name\="house"
346
- size\="3x"
747
+ textStyle\="typography.heading.1"
347
748
  />
348
749
  <IressText
349
750
  noGutter
350
- variant\="h4"
751
+ textStyle\="typography.heading.4"
351
752
  \>
352
753
  Buying my first home </IressText\>
353
754
  </IressStack\>
@@ -355,18 +756,18 @@ Hide code
355
756
  </IressCheckbox\>
356
757
  <IressCheckbox value\="holiday"\>
357
758
  <IressPanel
358
- background\="transparent"
359
- padding\="lg"
759
+ bg\="transparent"
760
+ p\="lg"
360
761
  textAlign\="center"
361
762
  \>
362
- <IressStack gutter\="md"\>
763
+ <IressStack gap\="md"\>
363
764
  <IressIcon
364
765
  name\="mountain"
365
- size\="3x"
766
+ textStyle\="typography.heading.1"
366
767
  />
367
768
  <IressText
368
769
  noGutter
369
- variant\="h4"
770
+ textStyle\="typography.heading.4"
370
771
  \>
371
772
  Saving for a holiday </IressText\>
372
773
  </IressStack\>
@@ -374,18 +775,18 @@ Hide code
374
775
  </IressCheckbox\>
375
776
  <IressCheckbox value\="debt"\>
376
777
  <IressPanel
377
- background\="transparent"
378
- padding\="lg"
778
+ bg\="transparent"
779
+ p\="lg"
379
780
  textAlign\="center"
380
781
  \>
381
- <IressStack gutter\="md"\>
782
+ <IressStack gap\="md"\>
382
783
  <IressIcon
383
784
  name\="credit-card"
384
- size\="3x"
785
+ textStyle\="typography.heading.1"
385
786
  />
386
787
  <IressText
387
788
  noGutter
388
- variant\="h4"
789
+ textStyle\="typography.heading.4"
389
790
  \>
390
791
  Reducing my debt </IressText\>
391
792
  </IressStack\>
@@ -402,12 +803,10 @@ The checkbox group's `layout` prop gives you some default options to help contro
402
803
 
403
804
  The example below uses CSS grid to give us evenly spaced / sized checkboxes, which will wrap on to new lines as the screen size reduces. The grid wrapper element is a div that wraps around the `<IressCheckbox>` elements, as shown by the dashed border. Use the grab handle in the bottom right-hand corner of the grid wrapper to see how the controls change size to respond to the container's width.
404
805
 
405
- **I'd like to discuss the following with my financial adviser:
806
+ **I'd like to discuss the following with my financial adviser:**
406
807
 
407
808
  Select all that apply
408
809
 
409
- **
410
-
411
810
  Retirement
412
811
 
413
812
  Buying my first home
@@ -439,17 +838,13 @@ Hide code
439
838
  hiddenCheckbox
440
839
  layout\="block"
441
840
  name\="financial-review"
442
- style\={{
443
- '--iress-inline-spacing-x': 0,
444
- '--iress-margin-bottom': 0
445
- }}
446
841
  \>
447
842
  <div
448
- className\="ids-styles--resizable-v5142"
843
+ className\="\_resizable\_1d00u\_78"
449
844
  style\={{
450
845
  display: 'grid',
451
846
  gridAutoRows: '1fr',
452
- gridGap: 'var(--iress-g-spacing-sm, 0.75rem)',
847
+ gridGap: '16px',
453
848
  gridTemplateColumns: 'repeat(auto-fit, minmax(240px, 1fr))',
454
849
  padding: '0.5rem',
455
850
  width: '100%'
@@ -457,18 +852,18 @@ Hide code
457
852
  \>
458
853
  <IressCheckbox value\="retirement"\>
459
854
  <IressPanel
460
- background\="transparent"
461
- padding\="lg"
855
+ bg\="transparent"
856
+ p\="lg"
462
857
  textAlign\="center"
463
858
  \>
464
- <IressStack gutter\="md"\>
859
+ <IressStack gap\="md"\>
465
860
  <IressIcon
466
861
  name\="tree-palm"
467
- size\="3x"
862
+ textStyle\="typography.heading.1"
468
863
  />
469
864
  <IressText
470
865
  noGutter
471
- variant\="h4"
866
+ textStyle\="typography.heading.4"
472
867
  \>
473
868
  Retirement </IressText\>
474
869
  </IressStack\>
@@ -476,18 +871,18 @@ Hide code
476
871
  </IressCheckbox\>
477
872
  <IressCheckbox value\="home"\>
478
873
  <IressPanel
479
- background\="transparent"
480
- padding\="lg"
874
+ bg\="transparent"
875
+ p\="lg"
481
876
  textAlign\="center"
482
877
  \>
483
- <IressStack gutter\="md"\>
878
+ <IressStack gap\="md"\>
484
879
  <IressIcon
485
880
  name\="house"
486
- size\="3x"
881
+ textStyle\="typography.heading.1"
487
882
  />
488
883
  <IressText
489
884
  noGutter
490
- variant\="h4"
885
+ textStyle\="typography.heading.4"
491
886
  \>
492
887
  Buying my first home </IressText\>
493
888
  </IressStack\>
@@ -495,18 +890,18 @@ Hide code
495
890
  </IressCheckbox\>
496
891
  <IressCheckbox value\="holiday"\>
497
892
  <IressPanel
498
- background\="transparent"
499
- padding\="lg"
893
+ bg\="transparent"
894
+ p\="lg"
500
895
  textAlign\="center"
501
896
  \>
502
- <IressStack gutter\="md"\>
897
+ <IressStack gap\="md"\>
503
898
  <IressIcon
504
899
  name\="mountain"
505
- size\="3x"
900
+ textStyle\="typography.heading.1"
506
901
  />
507
902
  <IressText
508
903
  noGutter
509
- variant\="h4"
904
+ textStyle\="typography.heading.4"
510
905
  \>
511
906
  Saving for a holiday </IressText\>
512
907
  </IressStack\>
@@ -514,18 +909,18 @@ Hide code
514
909
  </IressCheckbox\>
515
910
  <IressCheckbox value\="education"\>
516
911
  <IressPanel
517
- background\="transparent"
518
- padding\="lg"
912
+ bg\="transparent"
913
+ p\="lg"
519
914
  textAlign\="center"
520
915
  \>
521
- <IressStack gutter\="md"\>
916
+ <IressStack gap\="md"\>
522
917
  <IressIcon
523
918
  name\="graduation-cap"
524
- size\="3x"
919
+ textStyle\="typography.heading.1"
525
920
  />
526
921
  <IressText
527
922
  noGutter
528
- variant\="h4"
923
+ textStyle\="typography.heading.4"
529
924
  \>
530
925
  Saving for my child's education </IressText\>
531
926
  </IressStack\>
@@ -533,18 +928,18 @@ Hide code
533
928
  </IressCheckbox\>
534
929
  <IressCheckbox value\="emergency"\>
535
930
  <IressPanel
536
- background\="transparent"
537
- padding\="lg"
931
+ bg\="transparent"
932
+ p\="lg"
538
933
  textAlign\="center"
539
934
  \>
540
- <IressStack gutter\="md"\>
935
+ <IressStack gap\="md"\>
541
936
  <IressIcon
542
937
  name\="medkit"
543
- size\="3x"
938
+ textStyle\="typography.heading.1"
544
939
  />
545
940
  <IressText
546
941
  noGutter
547
- variant\="h4"
942
+ textStyle\="typography.heading.4"
548
943
  \>
549
944
  Saving for emergency </IressText\>
550
945
  </IressStack\>
@@ -552,18 +947,18 @@ Hide code
552
947
  </IressCheckbox\>
553
948
  <IressCheckbox value\="hobby"\>
554
949
  <IressPanel
555
- background\="transparent"
556
- padding\="lg"
950
+ bg\="transparent"
951
+ p\="lg"
557
952
  textAlign\="center"
558
953
  \>
559
- <IressStack gutter\="md"\>
954
+ <IressStack gap\="md"\>
560
955
  <IressIcon
561
956
  name\="bicycle"
562
- size\="3x"
957
+ textStyle\="typography.heading.1"
563
958
  />
564
959
  <IressText
565
960
  noGutter
566
- variant\="h4"
961
+ textStyle\="typography.heading.4"
567
962
  \>
568
963
  Spending more time on my hobbies </IressText\>
569
964
  </IressStack\>
@@ -571,18 +966,18 @@ Hide code
571
966
  </IressCheckbox\>
572
967
  <IressCheckbox value\="debt"\>
573
968
  <IressPanel
574
- background\="transparent"
575
- padding\="lg"
969
+ bg\="transparent"
970
+ p\="lg"
576
971
  textAlign\="center"
577
972
  \>
578
- <IressStack gutter\="md"\>
973
+ <IressStack gap\="md"\>
579
974
  <IressIcon
580
975
  name\="chart-line-down"
581
- size\="3x"
976
+ textStyle\="typography.heading.1"
582
977
  />
583
978
  <IressText
584
979
  noGutter
585
- variant\="h4"
980
+ textStyle\="typography.heading.4"
586
981
  \>
587
982
  Reducing my debt </IressText\>
588
983
  </IressStack\>
@@ -590,18 +985,18 @@ Hide code
590
985
  </IressCheckbox\>
591
986
  <IressCheckbox value\="business"\>
592
987
  <IressPanel
593
- background\="transparent"
594
- padding\="lg"
988
+ bg\="transparent"
989
+ p\="lg"
595
990
  textAlign\="center"
596
991
  \>
597
- <IressStack gutter\="md"\>
992
+ <IressStack gap\="md"\>
598
993
  <IressIcon
599
994
  name\="user-tie"
600
- size\="3x"
995
+ textStyle\="typography.heading.1"
601
996
  />
602
997
  <IressText
603
998
  noGutter
604
- variant\="h4"
999
+ textStyle\="typography.heading.4"
605
1000
  \>
606
1001
  Starting a business </IressText\>
607
1002
  </IressStack\>
@@ -613,11 +1008,11 @@ Hide code
613
1008
 
614
1009
  Copy
615
1010
 
616
- ### [](#readonly)Readonly
1011
+ ### [](#read-only)Read only
617
1012
 
618
- The `readonly` prop changes how the checkbox group is rendered. It will only render the children that are checked (alongside a hidden input that contains the `value` if it was set), otherwise it not be rendered.
1013
+ The `readOnly` prop changes how the checkbox group is rendered. It will only render the children that are checked (alongside a hidden input that contains the `value` if it was set), otherwise it not be rendered.
619
1014
 
620
- It is understandable that this may not be the desired behavior for all use cases. If you need a checkbox group that is not editable, but still visible, simply do not set the `readonly` prop and set the `value` prop instead.
1015
+ It is understandable that this may not be the desired behavior for all use cases. If you need a checkbox group that is not editable, but still visible, simply do not set the `readOnly` prop and set the `value` prop instead.
621
1016
 
622
1017
  Lemon drizzle
623
1018
 
@@ -633,7 +1028,7 @@ Hide code
633
1028
  'victoria-sponge'
634
1029
  \]}
635
1030
  name\="let-them-eat-cake"
636
- readonly
1031
+ readOnly
637
1032
  \>
638
1033
  <IressCheckbox value\="lemon-drizzle"\>
639
1034
  Lemon drizzle </IressCheckbox\>
@@ -688,5 +1083,5 @@ On this page
688
1083
  * [Layout](#layout)
689
1084
  * [Hidden checkboxes](#hidden-checkboxes)
690
1085
  * [Laying out custom checkboxes](#laying-out-custom-checkboxes)
691
- * [Readonly](#readonly)
1086
+ * [Read only](#read-only)
692
1087
  * [Touch](#touch)