@iress-oss/ids-mcp-server 6.0.0-alpha.0 → 6.0.0-alpha.1-canary-20251204014525-3f0dce4

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 (108) hide show
  1. package/dist/searchHandlers.test.js +8 -2
  2. package/dist/toolHandler.test.js +9 -9
  3. package/dist/utils.test.js +6 -2
  4. package/package.json +32 -30
  5. package/generated/docs/components-alert-docs.md +0 -702
  6. package/generated/docs/components-autocomplete-docs.md +0 -1433
  7. package/generated/docs/components-autocomplete-recipes-docs.md +0 -104
  8. package/generated/docs/components-badge-docs.md +0 -531
  9. package/generated/docs/components-button-docs.md +0 -1442
  10. package/generated/docs/components-buttongroup-docs.md +0 -748
  11. package/generated/docs/components-card-docs.md +0 -944
  12. package/generated/docs/components-checkbox-docs.md +0 -694
  13. package/generated/docs/components-checkboxgroup-docs.md +0 -1087
  14. package/generated/docs/components-checkboxgroup-recipes-docs.md +0 -119
  15. package/generated/docs/components-col-docs.md +0 -881
  16. package/generated/docs/components-container-docs.md +0 -123
  17. package/generated/docs/components-divider-docs.md +0 -576
  18. package/generated/docs/components-expander-docs.md +0 -594
  19. package/generated/docs/components-field-docs.md +0 -2007
  20. package/generated/docs/components-filter-docs.md +0 -1322
  21. package/generated/docs/components-hide-docs.md +0 -702
  22. package/generated/docs/components-icon-docs.md +0 -816
  23. package/generated/docs/components-image-docs.md +0 -493
  24. package/generated/docs/components-inline-docs.md +0 -2003
  25. package/generated/docs/components-input-docs.md +0 -867
  26. package/generated/docs/components-input-recipes-docs.md +0 -140
  27. package/generated/docs/components-inputcurrency-docs.md +0 -689
  28. package/generated/docs/components-inputcurrency-recipes-docs.md +0 -115
  29. package/generated/docs/components-introduction-docs.md +0 -450
  30. package/generated/docs/components-label-docs.md +0 -562
  31. package/generated/docs/components-link-docs.md +0 -586
  32. package/generated/docs/components-menu-docs.md +0 -1146
  33. package/generated/docs/components-menu-menuitem-docs.md +0 -739
  34. package/generated/docs/components-modal-docs.md +0 -1346
  35. package/generated/docs/components-panel-docs.md +0 -600
  36. package/generated/docs/components-placeholder-docs.md +0 -446
  37. package/generated/docs/components-popover-docs.md +0 -1529
  38. package/generated/docs/components-popover-recipes-docs.md +0 -211
  39. package/generated/docs/components-progress-docs.md +0 -568
  40. package/generated/docs/components-provider-docs.md +0 -160
  41. package/generated/docs/components-radio-docs.md +0 -563
  42. package/generated/docs/components-radiogroup-docs.md +0 -1153
  43. package/generated/docs/components-readonly-docs.md +0 -535
  44. package/generated/docs/components-richselect-docs.md +0 -5836
  45. package/generated/docs/components-row-docs.md +0 -2354
  46. package/generated/docs/components-select-docs.md +0 -940
  47. package/generated/docs/components-skeleton-docs.md +0 -597
  48. package/generated/docs/components-skeleton-recipes-docs.md +0 -76
  49. package/generated/docs/components-skiplink-docs.md +0 -587
  50. package/generated/docs/components-slideout-docs.md +0 -1036
  51. package/generated/docs/components-slider-docs.md +0 -828
  52. package/generated/docs/components-spinner-docs.md +0 -450
  53. package/generated/docs/components-stack-docs.md +0 -923
  54. package/generated/docs/components-table-ag-grid-docs.md +0 -1444
  55. package/generated/docs/components-table-docs.md +0 -2327
  56. package/generated/docs/components-tabset-docs.md +0 -768
  57. package/generated/docs/components-tabset-tab-docs.md +0 -550
  58. package/generated/docs/components-tag-docs.md +0 -548
  59. package/generated/docs/components-text-docs.md +0 -585
  60. package/generated/docs/components-toaster-docs.md +0 -755
  61. package/generated/docs/components-toggle-docs.md +0 -614
  62. package/generated/docs/components-tooltip-docs.md +0 -747
  63. package/generated/docs/components-validationmessage-docs.md +0 -1161
  64. package/generated/docs/contact-us-docs.md +0 -27
  65. package/generated/docs/extensions-editor-docs.md +0 -1181
  66. package/generated/docs/extensions-editor-recipes-docs.md +0 -89
  67. package/generated/docs/foundations-accessibility-docs.md +0 -40
  68. package/generated/docs/foundations-consistency-docs.md +0 -52
  69. package/generated/docs/foundations-content-docs.md +0 -23
  70. package/generated/docs/foundations-grid-docs.md +0 -74
  71. package/generated/docs/foundations-introduction-docs.md +0 -19
  72. package/generated/docs/foundations-principles-docs.md +0 -70
  73. package/generated/docs/foundations-responsive-breakpoints-docs.md +0 -193
  74. package/generated/docs/foundations-tokens-colour-docs.md +0 -564
  75. package/generated/docs/foundations-tokens-elevation-docs.md +0 -155
  76. package/generated/docs/foundations-tokens-introduction-docs.md +0 -190
  77. package/generated/docs/foundations-tokens-radius-docs.md +0 -71
  78. package/generated/docs/foundations-tokens-spacing-docs.md +0 -89
  79. package/generated/docs/foundations-tokens-typography-docs.md +0 -322
  80. package/generated/docs/foundations-user-experience-docs.md +0 -63
  81. package/generated/docs/foundations-visual-design-docs.md +0 -46
  82. package/generated/docs/foundations-z-index-stacking-docs.md +0 -31
  83. package/generated/docs/frequently-asked-questions-docs.md +0 -53
  84. package/generated/docs/get-started-develop-docs.md +0 -209
  85. package/generated/docs/get-started-using-storybook-docs.md +0 -68
  86. package/generated/docs/guidelines.md +0 -2054
  87. package/generated/docs/introduction-docs.md +0 -87
  88. package/generated/docs/news-version-6-docs.md +0 -93
  89. package/generated/docs/patterns-form-docs.md +0 -3902
  90. package/generated/docs/patterns-form-recipes-docs.md +0 -1370
  91. package/generated/docs/patterns-introduction-docs.md +0 -24
  92. package/generated/docs/patterns-loading-docs.md +0 -4043
  93. package/generated/docs/resources-code-katas-docs.md +0 -29
  94. package/generated/docs/resources-introduction-docs.md +0 -38
  95. package/generated/docs/resources-mcp-server-docs.md +0 -27
  96. package/generated/docs/resources-migration-guides-from-v4-to-v5-docs.md +0 -437
  97. package/generated/docs/styling-props-colour-docs.md +0 -172
  98. package/generated/docs/styling-props-elevation-docs.md +0 -88
  99. package/generated/docs/styling-props-radius-docs.md +0 -86
  100. package/generated/docs/styling-props-reference-docs.md +0 -160
  101. package/generated/docs/styling-props-screen-readers-docs.md +0 -71
  102. package/generated/docs/styling-props-sizing-docs.md +0 -627
  103. package/generated/docs/styling-props-spacing-docs.md +0 -2282
  104. package/generated/docs/styling-props-typography-docs.md +0 -121
  105. package/generated/docs/themes-available-themes-docs.md +0 -66
  106. package/generated/docs/themes-introduction-docs.md +0 -121
  107. package/generated/docs/versions-docs.md +0 -17
  108. /package/{LICENSE.txt → LICENSE} +0 -0
@@ -1,535 +0,0 @@
1
- [](#readonly)Readonly
2
- =====================
3
-
4
- Overview
5
- --------
6
-
7
- Readonly displays a value that cannot be edited by the user. It renders a hidden input field to ensure the value is submitted with the form.
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
-
17
- AU
18
-
19
- Hide code
20
-
21
- \[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; }
22
-
23
- <IressReadonly
24
- append\=""
25
- prepend\=""
26
- value\="AU"
27
- />
28
-
29
- Copy
30
-
31
- [](#props)Props
32
- ---------------
33
-
34
- | Name | Description | Default | Control |
35
- | --- | --- | --- | --- |
36
- | alignRight |
37
- Set input content align to right, useful for numeric inputs.
38
-
39
- booleanundefined
40
-
41
-
42
-
43
- |
44
-
45
- false
46
-
47
- | Set object |
48
- | append |
49
-
50
- Content to append to the input field, usually a button or icon.
51
-
52
- ReactNode
53
-
54
-
55
-
56
- | \- |
57
-
58
- ""
59
-
60
- |
61
- | bg |
62
-
63
- **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
64
-
65
- We recommend using the following token values for best background contrast:
66
-
67
- * `colour.primary.fill` for primary backgrounds that need to stand out
68
- * `colour.primary.surface` for primary backgrounds that need to be less prominent
69
- * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
70
- * `colour.neutral.20` for a slightly darker background color, used in neutral state components
71
- * `colour.system.danger.fill` for error backgrounds that need to stand out
72
- * `colour.system.danger.surface` for error backgrounds that need to be less prominent
73
- * `colour.system.success.fill` for success backgrounds that need to stand out
74
- * `colour.system.success.surface` for success backgrounds that need to be less prominent
75
- * `colour.system.warning.fill` for warning backgrounds that need to stand out
76
- * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
77
- * `colour.system.info.fill` for info backgrounds that need to stand out
78
- * `colour.system.info.surface` for info backgrounds that need to be less prominent
79
-
80
- ResponsiveProp<ColorToken> | undefined
81
-
82
- | \- | Set object |
83
- | borderRadius |
84
-
85
- The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
86
-
87
- | Chrome | Firefox | Safari | Edge | IE |
88
- | --- | --- | --- | --- | --- |
89
- | **4** | **4** | **5** | **12** | **9** |
90
- | 1 _\-x-_ | | 3 _\-x-_ | | |
91
-
92
- ResponsiveProp<RadiusToken> | undefined
93
-
94
- | \- | Set object |
95
- | children |
96
-
97
- The formatted value. If not provided, the value will be displayed.
98
-
99
- ReactNode
100
-
101
-
102
-
103
- | \- | \- |
104
- | defaultValue |
105
-
106
- The value of the input. Can be a string or a number. Use for uncontrolled inputs.
107
-
108
- FormControlValueundefined
109
-
110
-
111
-
112
- | \- | Set object |
113
- | focusable |
114
-
115
- 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.
116
-
117
- "true""within"undefined
118
-
119
-
120
-
121
- | \- | Set object |
122
- | formatter |
123
-
124
- Bring your own formatter that will be used to format the value when the input is not focused, allowing you to display the value in a different format. e.g. User type in value="dsf 987kkk123" => result after formatter: $987,123 (string)
125
-
126
- ((value?: T | undefined) => string | number) | undefined
127
-
128
- | \- | \- |
129
- | hide |
130
-
131
- 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.
132
-
133
- Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
134
-
135
- Notes:
136
-
137
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
138
- * Consider if you can conditionally render the element instead of hiding it.
139
-
140
- ResponsiveProp<boolean> | undefined
141
-
142
- | \- | Set object |
143
- | inline |
144
-
145
- Make prepend/append element closer to the input content.
146
-
147
- booleanundefined
148
-
149
-
150
-
151
- | \- | Set object |
152
- | layerStyle |
153
-
154
- 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.
155
-
156
- * `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.
157
- * `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.
158
- * `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.
159
-
160
- ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
161
-
162
- | \- | Set object |
163
- | loading |
164
-
165
- The loading states of the input field. If provided a string, will use that text as the loading message.
166
-
167
- stringbooleanundefined
168
-
169
-
170
-
171
- | \- | Set object |
172
- | m |
173
-
174
- The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
175
-
176
- 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.
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
- | maxWidth |
186
-
187
- 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`.
188
-
189
- | Chrome | Firefox | Safari | Edge | IE |
190
- | --- | --- | --- | --- | --- |
191
- | **1** | **1** | **1** | **12** | **7** |
192
-
193
- 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
194
-
195
- | \- | Set object |
196
- | mb |
197
-
198
- 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.
199
-
200
- It uses the spacing tokens in the design system.
201
-
202
- | Chrome | Firefox | Safari | Edge | IE |
203
- | --- | --- | --- | --- | --- |
204
- | **1** | **1** | **1** | **12** | **3** |
205
-
206
- ResponsiveProp<SpacingToken | "auto"> | undefined
207
-
208
- | \- | Set object |
209
- | ml |
210
-
211
- 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.
212
-
213
- It uses the spacing tokens in the design system.
214
-
215
- | Chrome | Firefox | Safari | Edge | IE |
216
- | --- | --- | --- | --- | --- |
217
- | **1** | **1** | **1** | **12** | **3** |
218
-
219
- ResponsiveProp<SpacingToken | "auto"> | undefined
220
-
221
- | \- | Set object |
222
- | mr |
223
-
224
- 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.
225
-
226
- It uses the spacing tokens in the design system.
227
-
228
- | Chrome | Firefox | Safari | Edge | IE |
229
- | --- | --- | --- | --- | --- |
230
- | **1** | **1** | **1** | **12** | **3** |
231
-
232
- ResponsiveProp<SpacingToken | "auto"> | undefined
233
-
234
- | \- | Set object |
235
- | mt |
236
-
237
- 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.
238
-
239
- It uses the spacing tokens in the design system.
240
-
241
- | Chrome | Firefox | Safari | Edge | IE |
242
- | --- | --- | --- | --- | --- |
243
- | **1** | **1** | **1** | **12** | **3** |
244
-
245
- ResponsiveProp<SpacingToken | "auto"> | undefined
246
-
247
- | \- | Set object |
248
- | mx |
249
-
250
- 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.
251
-
252
- 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.
253
-
254
- | Chrome | Firefox | Safari | Edge | IE |
255
- | --- | --- | --- | --- | --- |
256
- | **1** | **1** | **1** | **12** | **3** |
257
-
258
- ResponsiveProp<SpacingToken | "auto"> | undefined
259
-
260
- | \- | Set object |
261
- | my |
262
-
263
- 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.
264
-
265
- 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.
266
-
267
- | Chrome | Firefox | Safari | Edge | IE |
268
- | --- | --- | --- | --- | --- |
269
- | **1** | **1** | **1** | **12** | **3** |
270
-
271
- ResponsiveProp<SpacingToken | "auto"> | undefined
272
-
273
- | \- | Set object |
274
- | noGutter |
275
-
276
- 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.
277
-
278
- booleanundefined
279
-
280
-
281
-
282
- | \- | Set object |
283
- | p |
284
-
285
- The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
286
-
287
- 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.
288
-
289
- | Chrome | Firefox | Safari | Edge | IE |
290
- | --- | --- | --- | --- | --- |
291
- | **1** | **1** | **1** | **12** | **3** |
292
-
293
- 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
294
-
295
- | \- | Set object |
296
- | pb |
297
-
298
- The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
299
-
300
- 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.
301
-
302
- | Chrome | Firefox | Safari | Edge | IE |
303
- | --- | --- | --- | --- | --- |
304
- | **1** | **1** | **1** | **12** | **3** |
305
-
306
- 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
307
-
308
- | \- | Set object |
309
- | pl |
310
-
311
- The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
312
-
313
- 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.
314
-
315
- | Chrome | Firefox | Safari | Edge | IE |
316
- | --- | --- | --- | --- | --- |
317
- | **1** | **1** | **1** | **12** | **3** |
318
-
319
- 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
320
-
321
- | \- | Set object |
322
- | pr |
323
-
324
- The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
325
-
326
- 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.
327
-
328
- | Chrome | Firefox | Safari | Edge | IE |
329
- | --- | --- | --- | --- | --- |
330
- | **1** | **1** | **1** | **12** | **3** |
331
-
332
- 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
333
-
334
- | \- | Set object |
335
- | prepend |
336
-
337
- Content to prepended to the input field, usually an icon.
338
-
339
- ReactNode
340
-
341
-
342
-
343
- | \- |
344
-
345
- ""
346
-
347
- |
348
- | pt |
349
-
350
- The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
351
-
352
- 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.
353
-
354
- | Chrome | Firefox | Safari | Edge | IE |
355
- | --- | --- | --- | --- | --- |
356
- | **1** | **1** | **1** | **12** | **3** |
357
-
358
- 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
359
-
360
- | \- | Set object |
361
- | px |
362
-
363
- 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.
364
-
365
- 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.
366
-
367
- | Chrome | Firefox | Safari | Edge | IE |
368
- | --- | --- | --- | --- | --- |
369
- | **1** | **1** | **1** | **12** | **3** |
370
-
371
- 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
372
-
373
- | \- | Set object |
374
- | py |
375
-
376
- 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.
377
-
378
- 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.
379
-
380
- | Chrome | Firefox | Safari | Edge | IE |
381
- | --- | --- | --- | --- | --- |
382
- | **1** | **1** | **1** | **12** | **3** |
383
-
384
- 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
385
-
386
- | \- | Set object |
387
- | rowGap |
388
-
389
- The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
390
-
391
- Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
392
-
393
- | Chrome | Firefox | Safari | Edge | IE |
394
- | --- | --- | --- | --- | --- |
395
- | **47** | **52** | **10.1** | **16** | No |
396
-
397
- 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
398
-
399
- | \- | Set object |
400
- | srOnly |
401
-
402
- 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.
403
-
404
- Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
405
-
406
- ResponsiveProp<boolean> | undefined
407
-
408
- | \- | Set object |
409
- | stretch |
410
-
411
- 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.
412
-
413
- booleanundefined
414
-
415
-
416
-
417
- | \- | Set object |
418
- | textAlign |
419
-
420
- The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
421
-
422
- | Chrome | Firefox | Safari | Edge | IE |
423
- | --- | --- | --- | --- | --- |
424
- | **1** | **1** | **1** | **12** | **3** |
425
-
426
- ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
427
-
428
- | \- | Set object |
429
- | textStyle |
430
-
431
- Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
432
-
433
- * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
434
- * `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.
435
- * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
436
- * `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.
437
- * `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.
438
- * `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.
439
- * `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.
440
- * `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.
441
- * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
442
-
443
- 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
444
-
445
- | \- | Set object |
446
- | value |
447
-
448
- The value of the input. Can be a string or a number. Use for controlled inputs.
449
-
450
- FormControlValueundefined
451
-
452
-
453
-
454
- | \- |
455
-
456
- "AU"
457
-
458
- |
459
- | width |
460
-
461
- The width of the input.
462
-
463
- "2""4""6""8""10""12""16""25perc"Show 4 more...
464
-
465
-
466
-
467
- | \- | Set object |
468
-
469
- [](#examples)Examples
470
- ---------------------
471
-
472
- ### [](#rich-content)Rich Content
473
-
474
- You can pass in stylised content that represents the value by using the `children` prop. If no `children` is provided, it will display the `value` directly.
475
-
476
- Australia
477
-
478
- Hide code
479
-
480
- \[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; }
481
-
482
- <IressReadonly
483
- append\=""
484
- prepend\=""
485
- value\="AU"
486
- \>
487
- <IressInline
488
- gap\="sm"
489
- verticalAlign\="middle"
490
- \>
491
- <IressIcon name\="flag" />
492
- {' '}Australia
493
- </IressInline\>
494
- </IressReadonly\>
495
-
496
- Copy
497
-
498
- ### [](#inline)Inline
499
-
500
- You can make the prepend/append element closer to the input content using the `inline` prop.
501
-
502
- Prepend
503
-
504
- Australia
505
-
506
- Append
507
-
508
- Hide code
509
-
510
- \[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; }
511
-
512
- <IressReadonly
513
- append\={<IressText color\="colour.neutral.70"\>Append</IressText\>}
514
- inline
515
- prepend\={<IressText color\="colour.neutral.70"\>Prepend</IressText\>}
516
- value\="AU"
517
- \>
518
- <IressInline
519
- gap\="sm"
520
- verticalAlign\="middle"
521
- \>
522
- <IressIcon name\="flag" />
523
- {' '}Australia
524
- </IressInline\>
525
- </IressReadonly\>
526
-
527
- Copy
528
-
529
- On this page
530
-
531
- * [Overview](#overview)
532
- * [Props](#props)
533
- * [Examples](#examples)
534
- * [Rich Content](#rich-content)
535
- * [Inline](#inline)