@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,493 +0,0 @@
1
- [](#image)Image
2
- ===============
3
-
4
- Overview
5
- --------
6
-
7
- `IressImage` renders an image that resizes based on the user's screen width. The component accepts standard image attributes like \`src\` and \`alt\`.
8
-
9
- * * *
10
-
11
- Beta
12
-
13
- **New component**
14
-
15
- This component is new, please provide feedback to the IDS team if you encounter any issues.
16
-
17
- ![Placeholder image](https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp)
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
- <IressImage
24
- alt\="Placeholder image"
25
- src\="https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp"
26
- />
27
-
28
- Copy
29
-
30
- [](#props)Props
31
- ---------------
32
-
33
- | Name | Description | Default | Control |
34
- | --- | --- | --- | --- |
35
- | alt\* |
36
- The alternative text representation of the image. It is used by screen readers to describe the image. If the image is intended for decoration purposes only, make it an empty string.
37
-
38
- string
39
-
40
-
41
-
42
- | \- | Placeholder image |
43
- | bg |
44
-
45
- **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
46
-
47
- We recommend using the following token values for best background contrast:
48
-
49
- * `colour.primary.fill` for primary backgrounds that need to stand out
50
- * `colour.primary.surface` for primary backgrounds that need to be less prominent
51
- * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
52
- * `colour.neutral.20` for a slightly darker background color, used in neutral state components
53
- * `colour.system.danger.fill` for error backgrounds that need to stand out
54
- * `colour.system.danger.surface` for error backgrounds that need to be less prominent
55
- * `colour.system.success.fill` for success backgrounds that need to stand out
56
- * `colour.system.success.surface` for success backgrounds that need to be less prominent
57
- * `colour.system.warning.fill` for warning backgrounds that need to stand out
58
- * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
59
- * `colour.system.info.fill` for info backgrounds that need to stand out
60
- * `colour.system.info.surface` for info backgrounds that need to be less prominent
61
-
62
- ResponsiveProp<ColorToken> | undefined
63
-
64
- | \- | Set object |
65
- | borderRadius |
66
-
67
- The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
68
-
69
- | Chrome | Firefox | Safari | Edge | IE |
70
- | --- | --- | --- | --- | --- |
71
- | **4** | **4** | **5** | **12** | **9** |
72
- | 1 _\-x-_ | | 3 _\-x-_ | | |
73
-
74
- ResponsiveProp<RadiusToken> | undefined
75
-
76
- | \- | Set object |
77
- | color |
78
-
79
- 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`.
80
-
81
- We recommend using the following token values for best color contrast:
82
-
83
- * `colour.primary.onFill` used on top of `colour.primary.fill` for primary text that needs to stand out
84
- * `colour.primary.text` used on top of `colour.primary.surface` or `colour.neutral.10` for primary text that needs to be less prominent
85
- * `colour.neutral.70` used on top of `colour.neutral.10` or `colour.neutral.20` for muted text
86
- * `colour.neutral.80` used on top of `colour.neutral.10` or `colour.neutral.20` for standard text
87
- * `colour.system.danger.onFill` used on top of `colour.system.danger.fill` for error text that needs to stand out
88
- * `colour.system.danger.text` used on top of `colour.system.danger.surface` for error text that needs to be less prominent
89
- * `colour.system.success.onFill` used on top of `colour.system.success.fill` for success text that needs to stand out
90
- * `colour.system.success.text` used on top of `colour.system.success.surface` for success text that needs to be less prominent
91
- * `colour.system.warning.onFill` used on top of `colour.system.warning.fill` for warning text that needs to stand out
92
- * `colour.system.warning.text` used on top of `colour.system.warning.surface` for warning text that needs to be less prominent
93
- * `colour.system.info.onFill` used on top of `colour.system.info.fill` for informative text that needs to stand out
94
- * `colour.system.info.text` used on top of `colour.system.info.surface` for informative text that needs to be less prominent
95
-
96
- ResponsiveProp<ColorToken> | undefined
97
-
98
- | \- | Set object |
99
- | focusable |
100
-
101
- 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.
102
-
103
- "true""within"undefined
104
-
105
-
106
-
107
- | \- | Set object |
108
- | hide |
109
-
110
- 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.
111
-
112
- Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
113
-
114
- Notes:
115
-
116
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
117
- * Consider if you can conditionally render the element instead of hiding it.
118
-
119
- ResponsiveProp<boolean> | undefined
120
-
121
- | \- | Set object |
122
- | layerStyle |
123
-
124
- 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.
125
-
126
- * `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.
127
- * `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.
128
- * `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.
129
-
130
- ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
131
-
132
- | \- | Set object |
133
- | m |
134
-
135
- The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
136
-
137
- 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.
138
-
139
- | Chrome | Firefox | Safari | Edge | IE |
140
- | --- | --- | --- | --- | --- |
141
- | **1** | **1** | **1** | **12** | **3** |
142
-
143
- ResponsiveProp<SpacingToken | "auto"> | undefined
144
-
145
- | \- | Set object |
146
- | maxWidth |
147
-
148
- Override the maximum width of the image
149
-
150
- stringnumberundefined
151
-
152
-
153
-
154
- |
155
-
156
- 100%
157
-
158
- | Set object |
159
- | mb |
160
-
161
- 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.
162
-
163
- It uses the spacing tokens in the design system.
164
-
165
- | Chrome | Firefox | Safari | Edge | IE |
166
- | --- | --- | --- | --- | --- |
167
- | **1** | **1** | **1** | **12** | **3** |
168
-
169
- ResponsiveProp<SpacingToken | "auto"> | undefined
170
-
171
- | \- | Set object |
172
- | ml |
173
-
174
- 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.
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
- | mr |
186
-
187
- 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.
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
- | mt |
199
-
200
- 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.
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
- | mx |
212
-
213
- 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.
214
-
215
- 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.
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
- | my |
225
-
226
- 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.
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
- | noGutter |
238
-
239
- 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.
240
-
241
- booleanundefined
242
-
243
-
244
-
245
- | \- | Set object |
246
- | p |
247
-
248
- The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
249
-
250
- 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.
251
-
252
- | Chrome | Firefox | Safari | Edge | IE |
253
- | --- | --- | --- | --- | --- |
254
- | **1** | **1** | **1** | **12** | **3** |
255
-
256
- 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
257
-
258
- | \- | Set object |
259
- | pb |
260
-
261
- The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
262
-
263
- 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.
264
-
265
- | Chrome | Firefox | Safari | Edge | IE |
266
- | --- | --- | --- | --- | --- |
267
- | **1** | **1** | **1** | **12** | **3** |
268
-
269
- 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
270
-
271
- | \- | Set object |
272
- | pl |
273
-
274
- The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
275
-
276
- 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.
277
-
278
- | Chrome | Firefox | Safari | Edge | IE |
279
- | --- | --- | --- | --- | --- |
280
- | **1** | **1** | **1** | **12** | **3** |
281
-
282
- 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
283
-
284
- | \- | Set object |
285
- | pr |
286
-
287
- The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
288
-
289
- 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.
290
-
291
- | Chrome | Firefox | Safari | Edge | IE |
292
- | --- | --- | --- | --- | --- |
293
- | **1** | **1** | **1** | **12** | **3** |
294
-
295
- 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
296
-
297
- | \- | Set object |
298
- | pt |
299
-
300
- The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
301
-
302
- 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.
303
-
304
- | Chrome | Firefox | Safari | Edge | IE |
305
- | --- | --- | --- | --- | --- |
306
- | **1** | **1** | **1** | **12** | **3** |
307
-
308
- 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
309
-
310
- | \- | Set object |
311
- | px |
312
-
313
- 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.
314
-
315
- 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.
316
-
317
- | Chrome | Firefox | Safari | Edge | IE |
318
- | --- | --- | --- | --- | --- |
319
- | **1** | **1** | **1** | **12** | **3** |
320
-
321
- 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
322
-
323
- | \- | Set object |
324
- | py |
325
-
326
- 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.
327
-
328
- 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.
329
-
330
- | Chrome | Firefox | Safari | Edge | IE |
331
- | --- | --- | --- | --- | --- |
332
- | **1** | **1** | **1** | **12** | **3** |
333
-
334
- 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
335
-
336
- | \- | Set object |
337
- | rowGap |
338
-
339
- The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
340
-
341
- Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
342
-
343
- | Chrome | Firefox | Safari | Edge | IE |
344
- | --- | --- | --- | --- | --- |
345
- | **47** | **52** | **10.1** | **16** | No |
346
-
347
- 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
348
-
349
- | \- | Set object |
350
- | src\* |
351
-
352
- The address of the image
353
-
354
- string
355
-
356
-
357
-
358
- | \- | https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp |
359
- | srOnly |
360
-
361
- 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.
362
-
363
- Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
364
-
365
- ResponsiveProp<boolean> | undefined
366
-
367
- | \- | Set object |
368
- | stretch |
369
-
370
- 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.
371
-
372
- booleanundefined
373
-
374
-
375
-
376
- | \- | Set object |
377
- | textAlign |
378
-
379
- The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
380
-
381
- | Chrome | Firefox | Safari | Edge | IE |
382
- | --- | --- | --- | --- | --- |
383
- | **1** | **1** | **1** | **12** | **3** |
384
-
385
- ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
386
-
387
- | \- | Set object |
388
- | textStyle |
389
-
390
- Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
391
-
392
- * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
393
- * `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.
394
- * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
395
- * `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.
396
- * `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.
397
- * `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.
398
- * `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.
399
- * `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.
400
- * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
401
-
402
- 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
403
-
404
- | \- | Set object |
405
- | width |
406
-
407
- 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.
408
-
409
- 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.
410
-
411
- | Chrome | Firefox | Safari | Edge | IE |
412
- | --- | --- | --- | --- | --- |
413
- | **1** | **1** | **1** | **12** | **4** |
414
-
415
- 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
416
-
417
- | \- | Set object |
418
-
419
- [](#examples)Examples
420
- ---------------------
421
-
422
- ### [](#maxwidth)MaxWidth
423
-
424
- `maxWidth` accepts formats like `70 (numbers)` `250px (pixels)` `50% (percentages)` `undefined (fall back to default 100%)`, allowing you to display the image smaller than its original size, yet still responsive on smaller screen sizes.
425
-
426
- **Note:** Please consider not using this prop, but rather exporting images at the largest size required for your application (the maximum width).
427
-
428
- ### 70
429
-
430
- ![Placeholder image](https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp)
431
-
432
- ### 250px
433
-
434
- ![Placeholder image](https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp)
435
-
436
- ### 50%
437
-
438
- ![Placeholder image](https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp)
439
-
440
- ### undefined
441
-
442
- ![Placeholder image](https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp)
443
-
444
- Hide code
445
-
446
- \[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; }
447
-
448
- <IressStack gap\="md"\>
449
- <React.Fragment key\=".$0"\>
450
- <IressText element\="h3"\>
451
- 70 </IressText\>
452
- <IressImage
453
- alt\="Placeholder image"
454
- maxWidth\={70}
455
- src\="https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp"
456
- />
457
- </React.Fragment\>
458
- <React.Fragment key\=".$1"\>
459
- <IressText element\="h3"\>
460
- 250px </IressText\>
461
- <IressImage
462
- alt\="Placeholder image"
463
- maxWidth\="250px"
464
- src\="https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp"
465
- />
466
- </React.Fragment\>
467
- <React.Fragment key\=".$2"\>
468
- <IressText element\="h3"\>
469
- 50% </IressText\>
470
- <IressImage
471
- alt\="Placeholder image"
472
- maxWidth\="50%"
473
- src\="https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp"
474
- />
475
- </React.Fragment\>
476
- <React.Fragment key\=".$3"\>
477
- <IressText element\="h3"\>
478
- undefined </IressText\>
479
- <IressImage
480
- alt\="Placeholder image"
481
- src\="https://www.fdcbuilding.com.au/wp-content/webp-express/webp-images/uploads/2020/01/4-1.jpg.webp"
482
- />
483
- </React.Fragment\>
484
- </IressStack\>
485
-
486
- Copy
487
-
488
- On this page
489
-
490
- * [Overview](#overview)
491
- * [Props](#props)
492
- * [Examples](#examples)
493
- * [MaxWidth](#maxwidth)