@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.
- package/generated/docs/components-alert-docs.md +579 -7
- package/generated/docs/components-autocomplete-docs.md +694 -15
- package/generated/docs/components-autocomplete-recipes-docs.md +1 -1
- package/generated/docs/components-badge-docs.md +442 -59
- package/generated/docs/components-button-docs.md +1150 -70
- package/generated/docs/components-buttongroup-docs.md +441 -3
- package/generated/docs/components-card-docs.md +487 -37
- package/generated/docs/components-checkbox-docs.md +506 -5
- package/generated/docs/components-checkboxgroup-docs.md +586 -191
- package/generated/docs/components-checkboxgroup-recipes-docs.md +3 -3
- package/generated/docs/components-col-docs.md +451 -36
- package/generated/docs/components-container-docs.md +32 -0
- package/generated/docs/components-divider-docs.md +427 -27
- package/generated/docs/components-expander-docs.md +487 -108
- package/generated/docs/components-field-docs.md +1400 -68
- package/generated/docs/components-filter-docs.md +269 -56
- package/generated/docs/components-hide-docs.md +447 -10
- package/generated/docs/components-icon-docs.md +522 -259
- package/generated/docs/components-image-docs.md +493 -0
- package/generated/docs/components-inline-docs.md +1179 -44
- package/generated/docs/components-input-docs.md +544 -12
- package/generated/docs/components-input-recipes-docs.md +4 -4
- package/generated/docs/components-inputcurrency-docs.md +532 -0
- package/generated/docs/components-inputcurrency-recipes-docs.md +4 -5
- package/generated/docs/components-introduction-docs.md +450 -0
- package/generated/docs/components-label-docs.md +454 -27
- package/generated/docs/components-link-docs.md +586 -0
- package/generated/docs/components-menu-docs.md +531 -89
- package/generated/docs/components-menu-menuitem-docs.md +556 -10
- package/generated/docs/components-modal-docs.md +814 -55
- package/generated/docs/components-panel-docs.md +418 -198
- package/generated/docs/components-placeholder-docs.md +420 -1
- package/generated/docs/components-popover-docs.md +1097 -32
- package/generated/docs/components-popover-recipes-docs.md +39 -73
- package/generated/docs/components-progress-docs.md +464 -0
- package/generated/docs/components-provider-docs.md +160 -0
- package/generated/docs/components-radio-docs.md +460 -4
- package/generated/docs/components-radiogroup-docs.md +586 -116
- package/generated/docs/components-readonly-docs.md +450 -4
- package/generated/docs/components-richselect-docs.md +4660 -1257
- package/generated/docs/components-row-docs.md +2065 -588
- package/generated/docs/components-select-docs.md +489 -5
- package/generated/docs/components-skeleton-docs.md +399 -16
- package/generated/docs/components-skeleton-recipes-docs.md +7 -7
- package/generated/docs/components-skiplink-docs.md +548 -27
- package/generated/docs/components-slideout-docs.md +648 -150
- package/generated/docs/components-slider-docs.md +515 -33
- package/generated/docs/components-spinner-docs.md +393 -2
- package/generated/docs/components-stack-docs.md +732 -74
- package/generated/docs/components-table-ag-grid-docs.md +501 -1723
- package/generated/docs/components-table-docs.md +1049 -27
- package/generated/docs/components-tabset-docs.md +454 -27
- package/generated/docs/components-tabset-tab-docs.md +464 -0
- package/generated/docs/components-tag-docs.md +452 -19
- package/generated/docs/components-text-docs.md +322 -131
- package/generated/docs/components-toaster-docs.md +512 -51
- package/generated/docs/components-toggle-docs.md +476 -20
- package/generated/docs/components-tooltip-docs.md +443 -7
- package/generated/docs/components-validationmessage-docs.md +933 -13
- package/generated/docs/extensions-editor-docs.md +906 -13
- package/generated/docs/extensions-editor-recipes-docs.md +51 -1
- package/generated/docs/foundations-accessibility-docs.md +1 -23
- package/generated/docs/foundations-grid-docs.md +74 -0
- package/generated/docs/foundations-introduction-docs.md +6 -4
- package/generated/docs/foundations-responsive-breakpoints-docs.md +193 -0
- package/generated/docs/foundations-tokens-colour-docs.md +564 -0
- package/generated/docs/foundations-tokens-elevation-docs.md +155 -0
- package/generated/docs/foundations-tokens-introduction-docs.md +190 -0
- package/generated/docs/foundations-tokens-radius-docs.md +71 -0
- package/generated/docs/foundations-tokens-spacing-docs.md +89 -0
- package/generated/docs/foundations-tokens-typography-docs.md +322 -0
- package/generated/docs/foundations-z-index-stacking-docs.md +31 -0
- package/generated/docs/get-started-develop-docs.md +177 -16
- package/generated/docs/guidelines.md +1537 -295
- package/generated/docs/introduction-docs.md +65 -21
- package/generated/docs/news-version-6-docs.md +93 -0
- package/generated/docs/patterns-form-docs.md +3902 -0
- package/generated/docs/patterns-form-recipes-docs.md +1370 -0
- package/generated/docs/patterns-introduction-docs.md +24 -0
- package/generated/docs/patterns-loading-docs.md +2942 -203
- package/generated/docs/resources-introduction-docs.md +38 -0
- package/generated/docs/resources-mcp-server-docs.md +27 -0
- package/generated/docs/styling-props-colour-docs.md +172 -0
- package/generated/docs/styling-props-elevation-docs.md +88 -0
- package/generated/docs/styling-props-radius-docs.md +86 -0
- package/generated/docs/styling-props-reference-docs.md +160 -0
- package/generated/docs/styling-props-screen-readers-docs.md +71 -0
- package/generated/docs/styling-props-sizing-docs.md +627 -0
- package/generated/docs/styling-props-spacing-docs.md +2282 -0
- package/generated/docs/styling-props-typography-docs.md +121 -0
- package/generated/docs/themes-available-themes-docs.md +29 -29
- package/generated/docs/themes-introduction-docs.md +1 -1
- package/package.json +3 -22
- package/generated/docs/components-button-recipes-docs.md +0 -76
- package/generated/docs/components-card-recipes-docs.md +0 -89
- package/generated/docs/components-combobox-docs.md +0 -1016
- package/generated/docs/components-form-docs.md +0 -2442
- package/generated/docs/components-form-recipes-docs.md +0 -892
- package/generated/docs/components-navbar-docs.md +0 -291
- package/generated/docs/components-navbar-recipes-docs.md +0 -413
- package/generated/docs/components-toaster-toast-docs.md +0 -157
- package/generated/docs/foundations-colours-docs.md +0 -257
- package/generated/docs/foundations-typography-docs.md +0 -191
- package/generated/docs/resources-changelog-docs.md +0 -6
- package/generated/docs/themes-tokens-docs.md +0 -1200
|
@@ -6,6 +6,14 @@ Overview
|
|
|
6
6
|
|
|
7
7
|
A radio group is a group of radio buttons that allows the user to select one option from multiple options, where all options are visible.
|
|
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
|
Google
|
|
10
18
|
|
|
11
19
|
Newspaper
|
|
@@ -31,6 +39,476 @@ Hide code
|
|
|
31
39
|
|
|
32
40
|
Copy
|
|
33
41
|
|
|
42
|
+
[](#props)Props
|
|
43
|
+
---------------
|
|
44
|
+
|
|
45
|
+
IressRadioGroupIressRadio
|
|
46
|
+
|
|
47
|
+
Tabs
|
|
48
|
+
|
|
49
|
+
| Name | Description | Default | Control |
|
|
50
|
+
| --- | --- | --- | --- |
|
|
51
|
+
| bg |
|
|
52
|
+
**`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
|
|
53
|
+
|
|
54
|
+
We recommend using the following token values for best background contrast:
|
|
55
|
+
|
|
56
|
+
* `colour.primary.fill` for primary backgrounds that need to stand out
|
|
57
|
+
* `colour.primary.surface` for primary backgrounds that need to be less prominent
|
|
58
|
+
* `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
|
|
59
|
+
* `colour.neutral.20` for a slightly darker background color, used in neutral state components
|
|
60
|
+
* `colour.system.danger.fill` for error backgrounds that need to stand out
|
|
61
|
+
* `colour.system.danger.surface` for error backgrounds that need to be less prominent
|
|
62
|
+
* `colour.system.success.fill` for success backgrounds that need to stand out
|
|
63
|
+
* `colour.system.success.surface` for success backgrounds that need to be less prominent
|
|
64
|
+
* `colour.system.warning.fill` for warning backgrounds that need to stand out
|
|
65
|
+
* `colour.system.warning.surface` for warning backgrounds that need to be less prominent
|
|
66
|
+
* `colour.system.info.fill` for info backgrounds that need to stand out
|
|
67
|
+
* `colour.system.info.surface` for info backgrounds that need to be less prominent
|
|
68
|
+
|
|
69
|
+
ResponsiveProp<ColorToken> | undefined
|
|
70
|
+
|
|
71
|
+
| \- | Set object |
|
|
72
|
+
| borderRadius |
|
|
73
|
+
|
|
74
|
+
The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
|
|
75
|
+
|
|
76
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
77
|
+
| --- | --- | --- | --- | --- |
|
|
78
|
+
| **4** | **4** | **5** | **12** | **9** |
|
|
79
|
+
| 1 _\-x-_ | | 3 _\-x-_ | | |
|
|
80
|
+
|
|
81
|
+
ResponsiveProp<RadiusToken> | undefined
|
|
82
|
+
|
|
83
|
+
| \- | Set object |
|
|
84
|
+
| children |
|
|
85
|
+
|
|
86
|
+
Content of the radio group, usually multiple `IressRadio` components.
|
|
87
|
+
|
|
88
|
+
ReactNode
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
| \- | \- |
|
|
93
|
+
| color |
|
|
94
|
+
|
|
95
|
+
The **`color`** CSS property sets the foreground color value of an element's text and text decorations using the colour tokens from the design system. It also sets the `currentcolor` value. `currentcolor` may be used as an indirect value on _other_ properties and is the default for other color properties, such as `border-color`.
|
|
96
|
+
|
|
97
|
+
We recommend using the following token values for best color contrast:
|
|
98
|
+
|
|
99
|
+
* `colour.primary.onFill` used on top of `colour.primary.fill` for primary text that needs to stand out
|
|
100
|
+
* `colour.primary.text` used on top of `colour.primary.surface` or `colour.neutral.10` for primary text that needs to be less prominent
|
|
101
|
+
* `colour.neutral.70` used on top of `colour.neutral.10` or `colour.neutral.20` for muted text
|
|
102
|
+
* `colour.neutral.80` used on top of `colour.neutral.10` or `colour.neutral.20` for standard text
|
|
103
|
+
* `colour.system.danger.onFill` used on top of `colour.system.danger.fill` for error text that needs to stand out
|
|
104
|
+
* `colour.system.danger.text` used on top of `colour.system.danger.surface` for error text that needs to be less prominent
|
|
105
|
+
* `colour.system.success.onFill` used on top of `colour.system.success.fill` for success text that needs to stand out
|
|
106
|
+
* `colour.system.success.text` used on top of `colour.system.success.surface` for success text that needs to be less prominent
|
|
107
|
+
* `colour.system.warning.onFill` used on top of `colour.system.warning.fill` for warning text that needs to stand out
|
|
108
|
+
* `colour.system.warning.text` used on top of `colour.system.warning.surface` for warning text that needs to be less prominent
|
|
109
|
+
* `colour.system.info.onFill` used on top of `colour.system.info.fill` for informative text that needs to stand out
|
|
110
|
+
* `colour.system.info.text` used on top of `colour.system.info.surface` for informative text that needs to be less prominent
|
|
111
|
+
|
|
112
|
+
ResponsiveProp<ColorToken> | undefined
|
|
113
|
+
|
|
114
|
+
| \- | Set object |
|
|
115
|
+
| defaultValue |
|
|
116
|
+
|
|
117
|
+
Initial value of radio group when in uncontrolled mode.
|
|
118
|
+
|
|
119
|
+
Tundefined
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
| \- | Set object |
|
|
124
|
+
| focusable |
|
|
125
|
+
|
|
126
|
+
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.
|
|
127
|
+
|
|
128
|
+
"true""within"undefined
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
| \- | Set object |
|
|
133
|
+
| hiddenRadio |
|
|
134
|
+
|
|
135
|
+
Hides the radio control to allow the creation of custom radio buttons.
|
|
136
|
+
|
|
137
|
+
booleanundefined
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
| \- | Set object |
|
|
142
|
+
| hide |
|
|
143
|
+
|
|
144
|
+
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.
|
|
145
|
+
|
|
146
|
+
Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
|
|
147
|
+
|
|
148
|
+
Notes:
|
|
149
|
+
|
|
150
|
+
* If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
|
|
151
|
+
* Consider if you can conditionally render the element instead of hiding it.
|
|
152
|
+
|
|
153
|
+
ResponsiveProp<boolean> | undefined
|
|
154
|
+
|
|
155
|
+
| \- | Set object |
|
|
156
|
+
| layerStyle |
|
|
157
|
+
|
|
158
|
+
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.
|
|
159
|
+
|
|
160
|
+
* `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.
|
|
161
|
+
* `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.
|
|
162
|
+
* `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.
|
|
163
|
+
|
|
164
|
+
ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
|
|
165
|
+
|
|
166
|
+
| \- | Set object |
|
|
167
|
+
| layout |
|
|
168
|
+
|
|
169
|
+
Sets which of the block / inline layout options apply.
|
|
170
|
+
|
|
171
|
+
"block""inline""stack""inlineFlex""inlineEqualWidth"undefined
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
|
176
|
+
|
|
177
|
+
stack
|
|
178
|
+
|
|
179
|
+
| Set object |
|
|
180
|
+
| m |
|
|
181
|
+
|
|
182
|
+
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
183
|
+
|
|
184
|
+
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.
|
|
185
|
+
|
|
186
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
187
|
+
| --- | --- | --- | --- | --- |
|
|
188
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
189
|
+
|
|
190
|
+
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
191
|
+
|
|
192
|
+
| \- | Set object |
|
|
193
|
+
| maxWidth |
|
|
194
|
+
|
|
195
|
+
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`.
|
|
196
|
+
|
|
197
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
198
|
+
| --- | --- | --- | --- | --- |
|
|
199
|
+
| **1** | **1** | **1** | **12** | **7** |
|
|
200
|
+
|
|
201
|
+
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
|
|
202
|
+
|
|
203
|
+
| \- | Set object |
|
|
204
|
+
| mb |
|
|
205
|
+
|
|
206
|
+
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.
|
|
207
|
+
|
|
208
|
+
It uses the spacing tokens in the design system.
|
|
209
|
+
|
|
210
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
211
|
+
| --- | --- | --- | --- | --- |
|
|
212
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
213
|
+
|
|
214
|
+
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
215
|
+
|
|
216
|
+
| \- | Set object |
|
|
217
|
+
| ml |
|
|
218
|
+
|
|
219
|
+
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.
|
|
220
|
+
|
|
221
|
+
It uses the spacing tokens in the design system.
|
|
222
|
+
|
|
223
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
224
|
+
| --- | --- | --- | --- | --- |
|
|
225
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
226
|
+
|
|
227
|
+
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
228
|
+
|
|
229
|
+
| \- | Set object |
|
|
230
|
+
| mr |
|
|
231
|
+
|
|
232
|
+
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.
|
|
233
|
+
|
|
234
|
+
It uses the spacing tokens in the design system.
|
|
235
|
+
|
|
236
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
237
|
+
| --- | --- | --- | --- | --- |
|
|
238
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
239
|
+
|
|
240
|
+
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
241
|
+
|
|
242
|
+
| \- | Set object |
|
|
243
|
+
| mt |
|
|
244
|
+
|
|
245
|
+
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.
|
|
246
|
+
|
|
247
|
+
It uses the spacing tokens in the design system.
|
|
248
|
+
|
|
249
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
250
|
+
| --- | --- | --- | --- | --- |
|
|
251
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
252
|
+
|
|
253
|
+
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
254
|
+
|
|
255
|
+
| \- | Set object |
|
|
256
|
+
| mx |
|
|
257
|
+
|
|
258
|
+
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.
|
|
259
|
+
|
|
260
|
+
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.
|
|
261
|
+
|
|
262
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
263
|
+
| --- | --- | --- | --- | --- |
|
|
264
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
265
|
+
|
|
266
|
+
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
267
|
+
|
|
268
|
+
| \- | Set object |
|
|
269
|
+
| my |
|
|
270
|
+
|
|
271
|
+
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.
|
|
272
|
+
|
|
273
|
+
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.
|
|
274
|
+
|
|
275
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
276
|
+
| --- | --- | --- | --- | --- |
|
|
277
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
278
|
+
|
|
279
|
+
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
280
|
+
|
|
281
|
+
| \- | Set object |
|
|
282
|
+
| name |
|
|
283
|
+
|
|
284
|
+
Name to be applied to all radios in the group.
|
|
285
|
+
|
|
286
|
+
stringundefined
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
| \- | Set object |
|
|
291
|
+
| noGutter |
|
|
292
|
+
|
|
293
|
+
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.
|
|
294
|
+
|
|
295
|
+
booleanundefined
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
| \- | Set object |
|
|
300
|
+
| onChange |
|
|
301
|
+
|
|
302
|
+
Called when a user selects one of its children radio buttons. If you pass in a non-string value, you can access it using the second parameter of the function.
|
|
303
|
+
|
|
304
|
+
((e: ChangeEvent<HTMLInputElement>, value?: T | undefined) => void) | undefined
|
|
305
|
+
|
|
306
|
+
| \- | \- |
|
|
307
|
+
| p |
|
|
308
|
+
|
|
309
|
+
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
310
|
+
|
|
311
|
+
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.
|
|
312
|
+
|
|
313
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
314
|
+
| --- | --- | --- | --- | --- |
|
|
315
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
316
|
+
|
|
317
|
+
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
|
|
318
|
+
|
|
319
|
+
| \- | Set object |
|
|
320
|
+
| pb |
|
|
321
|
+
|
|
322
|
+
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
323
|
+
|
|
324
|
+
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.
|
|
325
|
+
|
|
326
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
327
|
+
| --- | --- | --- | --- | --- |
|
|
328
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
329
|
+
|
|
330
|
+
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
|
|
331
|
+
|
|
332
|
+
| \- | Set object |
|
|
333
|
+
| pl |
|
|
334
|
+
|
|
335
|
+
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
336
|
+
|
|
337
|
+
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.
|
|
338
|
+
|
|
339
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
340
|
+
| --- | --- | --- | --- | --- |
|
|
341
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
342
|
+
|
|
343
|
+
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
|
|
344
|
+
|
|
345
|
+
| \- | Set object |
|
|
346
|
+
| pr |
|
|
347
|
+
|
|
348
|
+
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
349
|
+
|
|
350
|
+
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.
|
|
351
|
+
|
|
352
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
353
|
+
| --- | --- | --- | --- | --- |
|
|
354
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
355
|
+
|
|
356
|
+
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
|
|
357
|
+
|
|
358
|
+
| \- | Set object |
|
|
359
|
+
| pt |
|
|
360
|
+
|
|
361
|
+
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
362
|
+
|
|
363
|
+
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.
|
|
364
|
+
|
|
365
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
366
|
+
| --- | --- | --- | --- | --- |
|
|
367
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
368
|
+
|
|
369
|
+
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
|
|
370
|
+
|
|
371
|
+
| \- | Set object |
|
|
372
|
+
| px |
|
|
373
|
+
|
|
374
|
+
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.
|
|
375
|
+
|
|
376
|
+
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.
|
|
377
|
+
|
|
378
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
379
|
+
| --- | --- | --- | --- | --- |
|
|
380
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
381
|
+
|
|
382
|
+
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
|
|
383
|
+
|
|
384
|
+
| \- | Set object |
|
|
385
|
+
| py |
|
|
386
|
+
|
|
387
|
+
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.
|
|
388
|
+
|
|
389
|
+
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.
|
|
390
|
+
|
|
391
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
392
|
+
| --- | --- | --- | --- | --- |
|
|
393
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
394
|
+
|
|
395
|
+
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
|
|
396
|
+
|
|
397
|
+
| \- | Set object |
|
|
398
|
+
| readOnly |
|
|
399
|
+
|
|
400
|
+
Renders a readOnly radio group.
|
|
401
|
+
|
|
402
|
+
booleanundefined
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
| \- | Set object |
|
|
407
|
+
| ref |
|
|
408
|
+
|
|
409
|
+
Ref<RadioGroupRef> | undefined
|
|
410
|
+
|
|
411
|
+
| \- | Set object |
|
|
412
|
+
| required |
|
|
413
|
+
|
|
414
|
+
When true, marks the field as required
|
|
415
|
+
|
|
416
|
+
booleanundefined
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
| \- | Set object |
|
|
421
|
+
| rowGap |
|
|
422
|
+
|
|
423
|
+
The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
|
|
424
|
+
|
|
425
|
+
Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
|
|
426
|
+
|
|
427
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
428
|
+
| --- | --- | --- | --- | --- |
|
|
429
|
+
| **47** | **52** | **10.1** | **16** | No |
|
|
430
|
+
|
|
431
|
+
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
|
|
432
|
+
|
|
433
|
+
| \- | Set object |
|
|
434
|
+
| srOnly |
|
|
435
|
+
|
|
436
|
+
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.
|
|
437
|
+
|
|
438
|
+
Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
|
|
439
|
+
|
|
440
|
+
ResponsiveProp<boolean> | undefined
|
|
441
|
+
|
|
442
|
+
| \- | Set object |
|
|
443
|
+
| stretch |
|
|
444
|
+
|
|
445
|
+
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.
|
|
446
|
+
|
|
447
|
+
booleanundefined
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
| \- | Set object |
|
|
452
|
+
| textAlign |
|
|
453
|
+
|
|
454
|
+
The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
|
|
455
|
+
|
|
456
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
457
|
+
| --- | --- | --- | --- | --- |
|
|
458
|
+
| **1** | **1** | **1** | **12** | **3** |
|
|
459
|
+
|
|
460
|
+
ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
|
|
461
|
+
|
|
462
|
+
| \- | Set object |
|
|
463
|
+
| textStyle |
|
|
464
|
+
|
|
465
|
+
Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
|
|
466
|
+
|
|
467
|
+
* `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
|
|
468
|
+
* `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.
|
|
469
|
+
* `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
|
|
470
|
+
* `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.
|
|
471
|
+
* `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.
|
|
472
|
+
* `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.
|
|
473
|
+
* `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.
|
|
474
|
+
* `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.
|
|
475
|
+
* `typography.code` - Used to display code snippets in the product, such as in the API documentation.
|
|
476
|
+
|
|
477
|
+
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
|
|
478
|
+
|
|
479
|
+
| \- | Set object |
|
|
480
|
+
| touch |
|
|
481
|
+
|
|
482
|
+
Add the button-like border and padding to radio when `touch` is true.
|
|
483
|
+
|
|
484
|
+
booleanundefined
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
| \- | Set object |
|
|
489
|
+
| value |
|
|
490
|
+
|
|
491
|
+
Value of radio group when in controlled mode.
|
|
492
|
+
|
|
493
|
+
Tundefined
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
| \- | Set object |
|
|
498
|
+
| width |
|
|
499
|
+
|
|
500
|
+
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.
|
|
501
|
+
|
|
502
|
+
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.
|
|
503
|
+
|
|
504
|
+
| Chrome | Firefox | Safari | Edge | IE |
|
|
505
|
+
| --- | --- | --- | --- | --- |
|
|
506
|
+
| **1** | **1** | **1** | **12** | **4** |
|
|
507
|
+
|
|
508
|
+
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
|
|
509
|
+
|
|
510
|
+
| \- | Set object |
|
|
511
|
+
|
|
34
512
|
[](#examples)Examples
|
|
35
513
|
---------------------
|
|
36
514
|
|
|
@@ -111,7 +589,7 @@ Note:
|
|
|
111
589
|
|
|
112
590
|
If using any of the inline\* props within a `Field` component, the `Field` also needs the inline prop to be set for the inline layouts to take effect.
|
|
113
591
|
|
|
114
|
-
###
|
|
592
|
+
### block (default)
|
|
115
593
|
|
|
116
594
|
Google
|
|
117
595
|
|
|
@@ -121,7 +599,7 @@ Friend
|
|
|
121
599
|
|
|
122
600
|
Other
|
|
123
601
|
|
|
124
|
-
###
|
|
602
|
+
### inline
|
|
125
603
|
|
|
126
604
|
Google
|
|
127
605
|
|
|
@@ -131,7 +609,7 @@ Friend
|
|
|
131
609
|
|
|
132
610
|
Other
|
|
133
611
|
|
|
134
|
-
###
|
|
612
|
+
### inlineEqualWidth
|
|
135
613
|
|
|
136
614
|
Google
|
|
137
615
|
|
|
@@ -151,7 +629,7 @@ Friend
|
|
|
151
629
|
|
|
152
630
|
Other
|
|
153
631
|
|
|
154
|
-
###
|
|
632
|
+
### stack
|
|
155
633
|
|
|
156
634
|
Google
|
|
157
635
|
|
|
@@ -165,138 +643,138 @@ Hide code
|
|
|
165
643
|
|
|
166
644
|
\[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; }
|
|
167
645
|
|
|
168
|
-
<
|
|
169
|
-
<
|
|
646
|
+
<IressStack gap\="md"\>
|
|
647
|
+
<IressText\>
|
|
170
648
|
<h3\>
|
|
171
|
-
|
|
172
|
-
<IressRadioGroup layout\="
|
|
649
|
+
block (default) </h3\>
|
|
650
|
+
<IressRadioGroup layout\="block"\>
|
|
173
651
|
<IressRadio
|
|
174
|
-
className\="
|
|
652
|
+
className\="\_addBorder\_1d00u\_70"
|
|
175
653
|
value\="google"
|
|
176
654
|
\>
|
|
177
655
|
Google </IressRadio\>
|
|
178
656
|
<IressRadio
|
|
179
|
-
className\="
|
|
657
|
+
className\="\_addBorder\_1d00u\_70"
|
|
180
658
|
value\="newspaper"
|
|
181
659
|
\>
|
|
182
660
|
Newspaper </IressRadio\>
|
|
183
661
|
<IressRadio
|
|
184
|
-
className\="
|
|
662
|
+
className\="\_addBorder\_1d00u\_70"
|
|
185
663
|
value\="friend"
|
|
186
664
|
\>
|
|
187
665
|
Friend </IressRadio\>
|
|
188
666
|
<IressRadio
|
|
189
|
-
className\="
|
|
667
|
+
className\="\_addBorder\_1d00u\_70"
|
|
190
668
|
value\="other"
|
|
191
669
|
\>
|
|
192
670
|
Other </IressRadio\>
|
|
193
671
|
</IressRadioGroup\>
|
|
194
|
-
</
|
|
195
|
-
<
|
|
672
|
+
</IressText\>
|
|
673
|
+
<IressText\>
|
|
196
674
|
<h3\>
|
|
197
|
-
|
|
198
|
-
<IressRadioGroup layout\="
|
|
675
|
+
inline </h3\>
|
|
676
|
+
<IressRadioGroup layout\="inline"\>
|
|
199
677
|
<IressRadio
|
|
200
|
-
className\="
|
|
678
|
+
className\="\_addBorder\_1d00u\_70"
|
|
201
679
|
value\="google"
|
|
202
680
|
\>
|
|
203
681
|
Google </IressRadio\>
|
|
204
682
|
<IressRadio
|
|
205
|
-
className\="
|
|
683
|
+
className\="\_addBorder\_1d00u\_70"
|
|
206
684
|
value\="newspaper"
|
|
207
685
|
\>
|
|
208
686
|
Newspaper </IressRadio\>
|
|
209
687
|
<IressRadio
|
|
210
|
-
className\="
|
|
688
|
+
className\="\_addBorder\_1d00u\_70"
|
|
211
689
|
value\="friend"
|
|
212
690
|
\>
|
|
213
691
|
Friend </IressRadio\>
|
|
214
692
|
<IressRadio
|
|
215
|
-
className\="
|
|
693
|
+
className\="\_addBorder\_1d00u\_70"
|
|
216
694
|
value\="other"
|
|
217
695
|
\>
|
|
218
696
|
Other </IressRadio\>
|
|
219
697
|
</IressRadioGroup\>
|
|
220
|
-
</
|
|
221
|
-
<
|
|
698
|
+
</IressText\>
|
|
699
|
+
<IressText\>
|
|
222
700
|
<h3\>
|
|
223
|
-
|
|
224
|
-
<IressRadioGroup layout\="
|
|
701
|
+
inlineEqualWidth </h3\>
|
|
702
|
+
<IressRadioGroup layout\="inlineEqualWidth"\>
|
|
225
703
|
<IressRadio
|
|
226
|
-
className\="
|
|
704
|
+
className\="\_addBorder\_1d00u\_70"
|
|
227
705
|
value\="google"
|
|
228
706
|
\>
|
|
229
707
|
Google </IressRadio\>
|
|
230
708
|
<IressRadio
|
|
231
|
-
className\="
|
|
709
|
+
className\="\_addBorder\_1d00u\_70"
|
|
232
710
|
value\="newspaper"
|
|
233
711
|
\>
|
|
234
712
|
Newspaper </IressRadio\>
|
|
235
713
|
<IressRadio
|
|
236
|
-
className\="
|
|
714
|
+
className\="\_addBorder\_1d00u\_70"
|
|
237
715
|
value\="friend"
|
|
238
716
|
\>
|
|
239
717
|
Friend </IressRadio\>
|
|
240
718
|
<IressRadio
|
|
241
|
-
className\="
|
|
719
|
+
className\="\_addBorder\_1d00u\_70"
|
|
242
720
|
value\="other"
|
|
243
721
|
\>
|
|
244
722
|
Other </IressRadio\>
|
|
245
723
|
</IressRadioGroup\>
|
|
246
|
-
</
|
|
247
|
-
<
|
|
724
|
+
</IressText\>
|
|
725
|
+
<IressText\>
|
|
248
726
|
<h3\>
|
|
249
727
|
inlineFlex </h3\>
|
|
250
728
|
<IressRadioGroup layout\="inlineFlex"\>
|
|
251
729
|
<IressRadio
|
|
252
|
-
className\="
|
|
730
|
+
className\="\_addBorder\_1d00u\_70"
|
|
253
731
|
value\="google"
|
|
254
732
|
\>
|
|
255
733
|
Google </IressRadio\>
|
|
256
734
|
<IressRadio
|
|
257
|
-
className\="
|
|
735
|
+
className\="\_addBorder\_1d00u\_70"
|
|
258
736
|
value\="newspaper"
|
|
259
737
|
\>
|
|
260
738
|
Newspaper </IressRadio\>
|
|
261
739
|
<IressRadio
|
|
262
|
-
className\="
|
|
740
|
+
className\="\_addBorder\_1d00u\_70"
|
|
263
741
|
value\="friend"
|
|
264
742
|
\>
|
|
265
743
|
Friend </IressRadio\>
|
|
266
744
|
<IressRadio
|
|
267
|
-
className\="
|
|
745
|
+
className\="\_addBorder\_1d00u\_70"
|
|
268
746
|
value\="other"
|
|
269
747
|
\>
|
|
270
748
|
Other </IressRadio\>
|
|
271
749
|
</IressRadioGroup\>
|
|
272
|
-
</
|
|
273
|
-
<
|
|
750
|
+
</IressText\>
|
|
751
|
+
<IressText\>
|
|
274
752
|
<h3\>
|
|
275
|
-
|
|
276
|
-
<IressRadioGroup layout\="
|
|
753
|
+
stack </h3\>
|
|
754
|
+
<IressRadioGroup layout\="stack"\>
|
|
277
755
|
<IressRadio
|
|
278
|
-
className\="
|
|
756
|
+
className\="\_addBorder\_1d00u\_70"
|
|
279
757
|
value\="google"
|
|
280
758
|
\>
|
|
281
759
|
Google </IressRadio\>
|
|
282
760
|
<IressRadio
|
|
283
|
-
className\="
|
|
761
|
+
className\="\_addBorder\_1d00u\_70"
|
|
284
762
|
value\="newspaper"
|
|
285
763
|
\>
|
|
286
764
|
Newspaper </IressRadio\>
|
|
287
765
|
<IressRadio
|
|
288
|
-
className\="
|
|
766
|
+
className\="\_addBorder\_1d00u\_70"
|
|
289
767
|
value\="friend"
|
|
290
768
|
\>
|
|
291
769
|
Friend </IressRadio\>
|
|
292
770
|
<IressRadio
|
|
293
|
-
className\="
|
|
771
|
+
className\="\_addBorder\_1d00u\_70"
|
|
294
772
|
value\="other"
|
|
295
773
|
\>
|
|
296
774
|
Other </IressRadio\>
|
|
297
775
|
</IressRadioGroup\>
|
|
298
|
-
</
|
|
299
|
-
</
|
|
776
|
+
</IressText\>
|
|
777
|
+
</IressStack\>
|
|
300
778
|
|
|
301
779
|
Copy
|
|
302
780
|
|
|
@@ -306,12 +784,10 @@ You can use the `hiddenRadio` prop to create custom radio buttons. When enabled,
|
|
|
306
784
|
|
|
307
785
|
When `hiddenRadio` is enabled, the label will have no padding. Padding can be added by using a Panel or utility classes.
|
|
308
786
|
|
|
309
|
-
**I'd like to discuss the following in my financial review
|
|
787
|
+
**I'd like to discuss the following in my financial review:**
|
|
310
788
|
|
|
311
789
|
Select one option
|
|
312
790
|
|
|
313
|
-
**
|
|
314
|
-
|
|
315
791
|
Buying my first home
|
|
316
792
|
|
|
317
793
|
Saving for a holiday
|
|
@@ -334,18 +810,18 @@ Hide code
|
|
|
334
810
|
\>
|
|
335
811
|
<IressRadio value\="home"\>
|
|
336
812
|
<IressPanel
|
|
337
|
-
|
|
338
|
-
|
|
813
|
+
bg\="transparent"
|
|
814
|
+
p\="lg"
|
|
339
815
|
textAlign\="center"
|
|
340
816
|
\>
|
|
341
|
-
<IressStack
|
|
817
|
+
<IressStack gap\="md"\>
|
|
342
818
|
<IressIcon
|
|
343
819
|
name\="house"
|
|
344
|
-
|
|
820
|
+
textStyle\="typography.heading.1"
|
|
345
821
|
/>
|
|
346
822
|
<IressText
|
|
347
823
|
noGutter
|
|
348
|
-
|
|
824
|
+
textStyle\="typography.heading.4"
|
|
349
825
|
\>
|
|
350
826
|
Buying my first home </IressText\>
|
|
351
827
|
</IressStack\>
|
|
@@ -353,18 +829,18 @@ Hide code
|
|
|
353
829
|
</IressRadio\>
|
|
354
830
|
<IressRadio value\="holiday"\>
|
|
355
831
|
<IressPanel
|
|
356
|
-
|
|
357
|
-
|
|
832
|
+
bg\="transparent"
|
|
833
|
+
p\="lg"
|
|
358
834
|
textAlign\="center"
|
|
359
835
|
\>
|
|
360
|
-
<IressStack
|
|
836
|
+
<IressStack gap\="md"\>
|
|
361
837
|
<IressIcon
|
|
362
838
|
name\="mountain"
|
|
363
|
-
|
|
839
|
+
textStyle\="typography.heading.1"
|
|
364
840
|
/>
|
|
365
841
|
<IressText
|
|
366
842
|
noGutter
|
|
367
|
-
|
|
843
|
+
textStyle\="typography.heading.4"
|
|
368
844
|
\>
|
|
369
845
|
Saving for a holiday </IressText\>
|
|
370
846
|
</IressStack\>
|
|
@@ -372,18 +848,18 @@ Hide code
|
|
|
372
848
|
</IressRadio\>
|
|
373
849
|
<IressRadio value\="debt"\>
|
|
374
850
|
<IressPanel
|
|
375
|
-
|
|
376
|
-
|
|
851
|
+
bg\="transparent"
|
|
852
|
+
p\="lg"
|
|
377
853
|
textAlign\="center"
|
|
378
854
|
\>
|
|
379
|
-
<IressStack
|
|
855
|
+
<IressStack gap\="md"\>
|
|
380
856
|
<IressIcon
|
|
381
857
|
name\="credit-card"
|
|
382
|
-
|
|
858
|
+
textStyle\="typography.heading.1"
|
|
383
859
|
/>
|
|
384
860
|
<IressText
|
|
385
861
|
noGutter
|
|
386
|
-
|
|
862
|
+
textStyle\="typography.heading.4"
|
|
387
863
|
\>
|
|
388
864
|
Reducing my debt </IressText\>
|
|
389
865
|
</IressStack\>
|
|
@@ -400,12 +876,10 @@ The radio group's `layout` prop gives you some default options to help control t
|
|
|
400
876
|
|
|
401
877
|
The example below uses CSS grid to give us evenly spaced / sized radio buttons, which will wrap on to new lines as the screen size reduces. The grid wrapper element is a div that wraps around the `<IressRadio />` 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.
|
|
402
878
|
|
|
403
|
-
**I'd like to discuss the following in my financial review
|
|
879
|
+
**I'd like to discuss the following in my financial review:**
|
|
404
880
|
|
|
405
881
|
Select one option
|
|
406
882
|
|
|
407
|
-
**
|
|
408
|
-
|
|
409
883
|
Retirement
|
|
410
884
|
|
|
411
885
|
Buying my first home
|
|
@@ -435,17 +909,13 @@ Hide code
|
|
|
435
909
|
layout\="block"
|
|
436
910
|
name\="financial-review"
|
|
437
911
|
required
|
|
438
|
-
style\={{
|
|
439
|
-
'--iress-inline-spacing-x': 0,
|
|
440
|
-
'--iress-margin-bottom': 0
|
|
441
|
-
}}
|
|
442
912
|
\>
|
|
443
913
|
<div
|
|
444
|
-
className\="
|
|
914
|
+
className\="\_resizable\_1d00u\_78"
|
|
445
915
|
style\={{
|
|
446
916
|
display: 'grid',
|
|
447
917
|
gridAutoRows: '1fr',
|
|
448
|
-
gridGap: '
|
|
918
|
+
gridGap: '0.75rem',
|
|
449
919
|
gridTemplateColumns: 'repeat(auto-fit, minmax(240px, 1fr))',
|
|
450
920
|
padding: '0.5rem',
|
|
451
921
|
width: '100%'
|
|
@@ -453,18 +923,18 @@ Hide code
|
|
|
453
923
|
\>
|
|
454
924
|
<IressRadio value\="retirement"\>
|
|
455
925
|
<IressPanel
|
|
456
|
-
|
|
457
|
-
|
|
926
|
+
bg\="transparent"
|
|
927
|
+
p\="lg"
|
|
458
928
|
textAlign\="center"
|
|
459
929
|
\>
|
|
460
|
-
<IressStack
|
|
930
|
+
<IressStack gap\="md"\>
|
|
461
931
|
<IressIcon
|
|
462
932
|
name\="tree-palm"
|
|
463
|
-
|
|
933
|
+
textStyle\="typography.heading.1"
|
|
464
934
|
/>
|
|
465
935
|
<IressText
|
|
466
936
|
noGutter
|
|
467
|
-
|
|
937
|
+
textStyle\="typography.heading.4"
|
|
468
938
|
\>
|
|
469
939
|
Retirement </IressText\>
|
|
470
940
|
</IressStack\>
|
|
@@ -472,18 +942,18 @@ Hide code
|
|
|
472
942
|
</IressRadio\>
|
|
473
943
|
<IressRadio value\="home"\>
|
|
474
944
|
<IressPanel
|
|
475
|
-
|
|
476
|
-
|
|
945
|
+
bg\="transparent"
|
|
946
|
+
p\="lg"
|
|
477
947
|
textAlign\="center"
|
|
478
948
|
\>
|
|
479
|
-
<IressStack
|
|
949
|
+
<IressStack gap\="md"\>
|
|
480
950
|
<IressIcon
|
|
481
951
|
name\="house"
|
|
482
|
-
|
|
952
|
+
textStyle\="typography.heading.1"
|
|
483
953
|
/>
|
|
484
954
|
<IressText
|
|
485
955
|
noGutter
|
|
486
|
-
|
|
956
|
+
textStyle\="typography.heading.4"
|
|
487
957
|
\>
|
|
488
958
|
Buying my first home </IressText\>
|
|
489
959
|
</IressStack\>
|
|
@@ -491,18 +961,18 @@ Hide code
|
|
|
491
961
|
</IressRadio\>
|
|
492
962
|
<IressRadio value\="holiday"\>
|
|
493
963
|
<IressPanel
|
|
494
|
-
|
|
495
|
-
|
|
964
|
+
bg\="transparent"
|
|
965
|
+
p\="lg"
|
|
496
966
|
textAlign\="center"
|
|
497
967
|
\>
|
|
498
|
-
<IressStack
|
|
968
|
+
<IressStack gap\="md"\>
|
|
499
969
|
<IressIcon
|
|
500
970
|
name\="mountain"
|
|
501
|
-
|
|
971
|
+
textStyle\="typography.heading.1"
|
|
502
972
|
/>
|
|
503
973
|
<IressText
|
|
504
974
|
noGutter
|
|
505
|
-
|
|
975
|
+
textStyle\="typography.heading.4"
|
|
506
976
|
\>
|
|
507
977
|
Saving for a holiday </IressText\>
|
|
508
978
|
</IressStack\>
|
|
@@ -510,18 +980,18 @@ Hide code
|
|
|
510
980
|
</IressRadio\>
|
|
511
981
|
<IressRadio value\="education"\>
|
|
512
982
|
<IressPanel
|
|
513
|
-
|
|
514
|
-
|
|
983
|
+
bg\="transparent"
|
|
984
|
+
p\="lg"
|
|
515
985
|
textAlign\="center"
|
|
516
986
|
\>
|
|
517
|
-
<IressStack
|
|
987
|
+
<IressStack gap\="md"\>
|
|
518
988
|
<IressIcon
|
|
519
989
|
name\="graduation-cap"
|
|
520
|
-
|
|
990
|
+
textStyle\="typography.heading.1"
|
|
521
991
|
/>
|
|
522
992
|
<IressText
|
|
523
993
|
noGutter
|
|
524
|
-
|
|
994
|
+
textStyle\="typography.heading.4"
|
|
525
995
|
\>
|
|
526
996
|
Saving for my child's education </IressText\>
|
|
527
997
|
</IressStack\>
|
|
@@ -529,18 +999,18 @@ Hide code
|
|
|
529
999
|
</IressRadio\>
|
|
530
1000
|
<IressRadio value\="emergency"\>
|
|
531
1001
|
<IressPanel
|
|
532
|
-
|
|
533
|
-
|
|
1002
|
+
bg\="transparent"
|
|
1003
|
+
p\="lg"
|
|
534
1004
|
textAlign\="center"
|
|
535
1005
|
\>
|
|
536
|
-
<IressStack
|
|
1006
|
+
<IressStack gap\="md"\>
|
|
537
1007
|
<IressIcon
|
|
538
1008
|
name\="medkit"
|
|
539
|
-
|
|
1009
|
+
textStyle\="typography.heading.1"
|
|
540
1010
|
/>
|
|
541
1011
|
<IressText
|
|
542
1012
|
noGutter
|
|
543
|
-
|
|
1013
|
+
textStyle\="typography.heading.4"
|
|
544
1014
|
\>
|
|
545
1015
|
Saving for emergency </IressText\>
|
|
546
1016
|
</IressStack\>
|
|
@@ -548,18 +1018,18 @@ Hide code
|
|
|
548
1018
|
</IressRadio\>
|
|
549
1019
|
<IressRadio value\="hobby"\>
|
|
550
1020
|
<IressPanel
|
|
551
|
-
|
|
552
|
-
|
|
1021
|
+
bg\="transparent"
|
|
1022
|
+
p\="lg"
|
|
553
1023
|
textAlign\="center"
|
|
554
1024
|
\>
|
|
555
|
-
<IressStack
|
|
1025
|
+
<IressStack gap\="md"\>
|
|
556
1026
|
<IressIcon
|
|
557
1027
|
name\="bicycle"
|
|
558
|
-
|
|
1028
|
+
textStyle\="typography.heading.1"
|
|
559
1029
|
/>
|
|
560
1030
|
<IressText
|
|
561
1031
|
noGutter
|
|
562
|
-
|
|
1032
|
+
textStyle\="typography.heading.4"
|
|
563
1033
|
\>
|
|
564
1034
|
Spending more time on my hobbies </IressText\>
|
|
565
1035
|
</IressStack\>
|
|
@@ -567,18 +1037,18 @@ Hide code
|
|
|
567
1037
|
</IressRadio\>
|
|
568
1038
|
<IressRadio value\="debt"\>
|
|
569
1039
|
<IressPanel
|
|
570
|
-
|
|
571
|
-
|
|
1040
|
+
bg\="transparent"
|
|
1041
|
+
p\="lg"
|
|
572
1042
|
textAlign\="center"
|
|
573
1043
|
\>
|
|
574
|
-
<IressStack
|
|
1044
|
+
<IressStack gap\="md"\>
|
|
575
1045
|
<IressIcon
|
|
576
1046
|
name\="chart-line-down"
|
|
577
|
-
|
|
1047
|
+
textStyle\="typography.heading.1"
|
|
578
1048
|
/>
|
|
579
1049
|
<IressText
|
|
580
1050
|
noGutter
|
|
581
|
-
|
|
1051
|
+
textStyle\="typography.heading.4"
|
|
582
1052
|
\>
|
|
583
1053
|
Reducing my debt </IressText\>
|
|
584
1054
|
</IressStack\>
|
|
@@ -586,18 +1056,18 @@ Hide code
|
|
|
586
1056
|
</IressRadio\>
|
|
587
1057
|
<IressRadio value\="business"\>
|
|
588
1058
|
<IressPanel
|
|
589
|
-
|
|
590
|
-
|
|
1059
|
+
bg\="transparent"
|
|
1060
|
+
p\="lg"
|
|
591
1061
|
textAlign\="center"
|
|
592
1062
|
\>
|
|
593
|
-
<IressStack
|
|
1063
|
+
<IressStack gap\="md"\>
|
|
594
1064
|
<IressIcon
|
|
595
1065
|
name\="user-tie"
|
|
596
|
-
|
|
1066
|
+
textStyle\="typography.heading.1"
|
|
597
1067
|
/>
|
|
598
1068
|
<IressText
|
|
599
1069
|
noGutter
|
|
600
|
-
|
|
1070
|
+
textStyle\="typography.heading.4"
|
|
601
1071
|
\>
|
|
602
1072
|
Starting a business </IressText\>
|
|
603
1073
|
</IressStack\>
|
|
@@ -609,11 +1079,11 @@ Hide code
|
|
|
609
1079
|
|
|
610
1080
|
Copy
|
|
611
1081
|
|
|
612
|
-
### [](#
|
|
1082
|
+
### [](#read-only)Read only
|
|
613
1083
|
|
|
614
|
-
The `
|
|
1084
|
+
The `readOnly` prop changes how the radio group is rendered. It will only render if the children radio that is checked (alongside a hidden input that contains the `value` if it was set), otherwise it will not be rendered.
|
|
615
1085
|
|
|
616
|
-
It is understandable that this may not be the desired behavior for all use cases. If you need a radio group that is not editable, but still visible, simply do not set the `
|
|
1086
|
+
It is understandable that this may not be the desired behavior for all use cases. If you need a radio group that is not editable, but still visible, simply do not set the `readOnly` prop and set the `value` prop instead.
|
|
617
1087
|
|
|
618
1088
|
Newspaper
|
|
619
1089
|
|
|
@@ -623,7 +1093,7 @@ Hide code
|
|
|
623
1093
|
|
|
624
1094
|
<IressRadioGroup
|
|
625
1095
|
defaultValue\="newspaper"
|
|
626
|
-
|
|
1096
|
+
readOnly
|
|
627
1097
|
\>
|
|
628
1098
|
<IressRadio value\="google"\>
|
|
629
1099
|
Google </IressRadio\>
|
|
@@ -679,5 +1149,5 @@ On this page
|
|
|
679
1149
|
* [Layout](#layout)
|
|
680
1150
|
* [Hidden radio buttons](#hidden-radio-buttons)
|
|
681
1151
|
* [Laying out custom radio buttons](#laying-out-custom-radio-buttons)
|
|
682
|
-
* [
|
|
1152
|
+
* [Read only](#read-only)
|
|
683
1153
|
* [Touch](#touch)
|