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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/generated/docs/components-alert-docs.md +579 -7
  2. package/generated/docs/components-autocomplete-docs.md +694 -15
  3. package/generated/docs/components-autocomplete-recipes-docs.md +1 -1
  4. package/generated/docs/components-badge-docs.md +442 -59
  5. package/generated/docs/components-button-docs.md +1150 -70
  6. package/generated/docs/components-buttongroup-docs.md +441 -3
  7. package/generated/docs/components-card-docs.md +487 -37
  8. package/generated/docs/components-checkbox-docs.md +506 -5
  9. package/generated/docs/components-checkboxgroup-docs.md +586 -191
  10. package/generated/docs/components-checkboxgroup-recipes-docs.md +3 -3
  11. package/generated/docs/components-col-docs.md +451 -36
  12. package/generated/docs/components-container-docs.md +32 -0
  13. package/generated/docs/components-divider-docs.md +427 -27
  14. package/generated/docs/components-expander-docs.md +487 -108
  15. package/generated/docs/components-field-docs.md +1400 -68
  16. package/generated/docs/components-filter-docs.md +268 -55
  17. package/generated/docs/components-hide-docs.md +447 -10
  18. package/generated/docs/components-icon-docs.md +522 -259
  19. package/generated/docs/components-image-docs.md +493 -0
  20. package/generated/docs/components-inline-docs.md +1179 -44
  21. package/generated/docs/components-input-docs.md +544 -12
  22. package/generated/docs/components-input-recipes-docs.md +4 -4
  23. package/generated/docs/components-inputcurrency-docs.md +532 -0
  24. package/generated/docs/components-inputcurrency-recipes-docs.md +4 -5
  25. package/generated/docs/components-introduction-docs.md +450 -0
  26. package/generated/docs/components-label-docs.md +454 -27
  27. package/generated/docs/components-link-docs.md +586 -0
  28. package/generated/docs/components-menu-docs.md +531 -89
  29. package/generated/docs/components-menu-menuitem-docs.md +556 -10
  30. package/generated/docs/components-modal-docs.md +814 -55
  31. package/generated/docs/components-panel-docs.md +418 -198
  32. package/generated/docs/components-placeholder-docs.md +420 -1
  33. package/generated/docs/components-popover-docs.md +1097 -32
  34. package/generated/docs/components-popover-recipes-docs.md +39 -73
  35. package/generated/docs/components-progress-docs.md +464 -0
  36. package/generated/docs/components-provider-docs.md +57 -2
  37. package/generated/docs/components-radio-docs.md +460 -4
  38. package/generated/docs/components-radiogroup-docs.md +586 -116
  39. package/generated/docs/components-readonly-docs.md +450 -4
  40. package/generated/docs/components-richselect-docs.md +4660 -1257
  41. package/generated/docs/components-row-docs.md +2065 -588
  42. package/generated/docs/components-select-docs.md +489 -5
  43. package/generated/docs/components-skeleton-docs.md +399 -16
  44. package/generated/docs/components-skeleton-recipes-docs.md +7 -7
  45. package/generated/docs/components-skiplink-docs.md +548 -27
  46. package/generated/docs/components-slideout-docs.md +648 -150
  47. package/generated/docs/components-slider-docs.md +515 -33
  48. package/generated/docs/components-spinner-docs.md +393 -2
  49. package/generated/docs/components-stack-docs.md +732 -74
  50. package/generated/docs/components-table-ag-grid-docs.md +497 -127
  51. package/generated/docs/components-table-docs.md +1049 -27
  52. package/generated/docs/components-tabset-docs.md +454 -27
  53. package/generated/docs/components-tabset-tab-docs.md +464 -0
  54. package/generated/docs/components-tag-docs.md +452 -19
  55. package/generated/docs/components-text-docs.md +322 -131
  56. package/generated/docs/components-toaster-docs.md +463 -53
  57. package/generated/docs/components-toggle-docs.md +476 -20
  58. package/generated/docs/components-tooltip-docs.md +443 -7
  59. package/generated/docs/components-validationmessage-docs.md +933 -13
  60. package/generated/docs/extensions-editor-docs.md +906 -13
  61. package/generated/docs/extensions-editor-recipes-docs.md +51 -1
  62. package/generated/docs/foundations-accessibility-docs.md +1 -23
  63. package/generated/docs/foundations-grid-docs.md +74 -0
  64. package/generated/docs/foundations-introduction-docs.md +6 -4
  65. package/generated/docs/foundations-responsive-breakpoints-docs.md +193 -0
  66. package/generated/docs/foundations-tokens-colour-docs.md +564 -0
  67. package/generated/docs/foundations-tokens-elevation-docs.md +155 -0
  68. package/generated/docs/foundations-tokens-introduction-docs.md +190 -0
  69. package/generated/docs/foundations-tokens-radius-docs.md +71 -0
  70. package/generated/docs/foundations-tokens-spacing-docs.md +89 -0
  71. package/generated/docs/foundations-tokens-typography-docs.md +322 -0
  72. package/generated/docs/foundations-z-index-stacking-docs.md +31 -0
  73. package/generated/docs/guidelines.md +1537 -295
  74. package/generated/docs/introduction-docs.md +65 -21
  75. package/generated/docs/news-version-6-docs.md +93 -0
  76. package/generated/docs/patterns-form-docs.md +3902 -0
  77. package/generated/docs/patterns-form-recipes-docs.md +1370 -0
  78. package/generated/docs/patterns-introduction-docs.md +24 -0
  79. package/generated/docs/patterns-loading-docs.md +2940 -201
  80. package/generated/docs/resources-introduction-docs.md +38 -0
  81. package/generated/docs/resources-mcp-server-docs.md +27 -0
  82. package/generated/docs/styling-props-colour-docs.md +172 -0
  83. package/generated/docs/styling-props-elevation-docs.md +88 -0
  84. package/generated/docs/styling-props-radius-docs.md +86 -0
  85. package/generated/docs/styling-props-reference-docs.md +160 -0
  86. package/generated/docs/styling-props-screen-readers-docs.md +71 -0
  87. package/generated/docs/styling-props-sizing-docs.md +627 -0
  88. package/generated/docs/styling-props-spacing-docs.md +2282 -0
  89. package/generated/docs/styling-props-typography-docs.md +121 -0
  90. package/generated/docs/themes-available-themes-docs.md +29 -29
  91. package/generated/docs/themes-introduction-docs.md +1 -1
  92. package/package.json +3 -22
  93. package/generated/docs/components-button-recipes-docs.md +0 -76
  94. package/generated/docs/components-card-recipes-docs.md +0 -89
  95. package/generated/docs/components-combobox-docs.md +0 -1016
  96. package/generated/docs/components-form-docs.md +0 -2410
  97. package/generated/docs/components-form-recipes-docs.md +0 -886
  98. package/generated/docs/components-navbar-docs.md +0 -291
  99. package/generated/docs/components-navbar-recipes-docs.md +0 -413
  100. package/generated/docs/components-toaster-toast-docs.md +0 -157
  101. package/generated/docs/foundations-colours-docs.md +0 -257
  102. package/generated/docs/foundations-typography-docs.md +0 -191
  103. package/generated/docs/resources-changelog-docs.md +0 -6
  104. package/generated/docs/themes-tokens-docs.md +0 -1200
@@ -6,6 +6,14 @@ Overview
6
6
 
7
7
  Icons enhance experiences by visually communicating meaning, actions, status, and feedback.
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
  Hide code
10
18
 
11
19
  \[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; }
@@ -14,6 +22,449 @@ Hide code
14
22
 
15
23
  Copy
16
24
 
25
+ [](#props)Props
26
+ ---------------
27
+
28
+ | Name | Description | Default | Control |
29
+ | --- | --- | --- | --- |
30
+ | bg |
31
+ **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
32
+
33
+ We recommend using the following token values for best background contrast:
34
+
35
+ * `colour.primary.fill` for primary backgrounds that need to stand out
36
+ * `colour.primary.surface` for primary backgrounds that need to be less prominent
37
+ * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
38
+ * `colour.neutral.20` for a slightly darker background color, used in neutral state components
39
+ * `colour.system.danger.fill` for error backgrounds that need to stand out
40
+ * `colour.system.danger.surface` for error backgrounds that need to be less prominent
41
+ * `colour.system.success.fill` for success backgrounds that need to stand out
42
+ * `colour.system.success.surface` for success backgrounds that need to be less prominent
43
+ * `colour.system.warning.fill` for warning backgrounds that need to stand out
44
+ * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
45
+ * `colour.system.info.fill` for info backgrounds that need to stand out
46
+ * `colour.system.info.surface` for info backgrounds that need to be less prominent
47
+
48
+ ResponsiveProp<ColorToken> | undefined
49
+
50
+ | \- | Set object |
51
+ | borderRadius |
52
+
53
+ The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
54
+
55
+ | Chrome | Firefox | Safari | Edge | IE |
56
+ | --- | --- | --- | --- | --- |
57
+ | **4** | **4** | **5** | **12** | **9** |
58
+ | 1 _\-x-_ | | 3 _\-x-_ | | |
59
+
60
+ ResponsiveProp<RadiusToken> | undefined
61
+
62
+ | \- | Set object |
63
+ | color |
64
+
65
+ 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`.
66
+
67
+ We recommend using the following token values for best color contrast:
68
+
69
+ * `colour.primary.onFill` used on top of `colour.primary.fill` for primary text that needs to stand out
70
+ * `colour.primary.text` used on top of `colour.primary.surface` or `colour.neutral.10` for primary text that needs to be less prominent
71
+ * `colour.neutral.70` used on top of `colour.neutral.10` or `colour.neutral.20` for muted text
72
+ * `colour.neutral.80` used on top of `colour.neutral.10` or `colour.neutral.20` for standard text
73
+ * `colour.system.danger.onFill` used on top of `colour.system.danger.fill` for error text that needs to stand out
74
+ * `colour.system.danger.text` used on top of `colour.system.danger.surface` for error text that needs to be less prominent
75
+ * `colour.system.success.onFill` used on top of `colour.system.success.fill` for success text that needs to stand out
76
+ * `colour.system.success.text` used on top of `colour.system.success.surface` for success text that needs to be less prominent
77
+ * `colour.system.warning.onFill` used on top of `colour.system.warning.fill` for warning text that needs to stand out
78
+ * `colour.system.warning.text` used on top of `colour.system.warning.surface` for warning text that needs to be less prominent
79
+ * `colour.system.info.onFill` used on top of `colour.system.info.fill` for informative text that needs to stand out
80
+ * `colour.system.info.text` used on top of `colour.system.info.surface` for informative text that needs to be less prominent
81
+
82
+ ResponsiveProp<ColorToken> | undefined
83
+
84
+ | \- | Set object |
85
+ | fixedWidth |
86
+
87
+ Adds fixed width class for Font Awesome icons - fa-fw
88
+
89
+ booleanundefined
90
+
91
+
92
+
93
+ | \- | Set object |
94
+ | flip |
95
+
96
+ Flip the icon horizontally, vertically or both axes.
97
+
98
+ "vertical""horizontal""both"undefined
99
+
100
+
101
+
102
+ | \- | Set object |
103
+ | focusable |
104
+
105
+ 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.
106
+
107
+ "true""within"undefined
108
+
109
+
110
+
111
+ | \- | Set object |
112
+ | hide |
113
+
114
+ 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.
115
+
116
+ Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
117
+
118
+ Notes:
119
+
120
+ * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
121
+ * Consider if you can conditionally render the element instead of hiding it.
122
+
123
+ ResponsiveProp<boolean> | undefined
124
+
125
+ | \- | Set object |
126
+ | layerStyle |
127
+
128
+ 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.
129
+
130
+ * `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.
131
+ * `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.
132
+ * `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.
133
+
134
+ ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
135
+
136
+ | \- | Set object |
137
+ | m |
138
+
139
+ The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
140
+
141
+ 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.
142
+
143
+ | Chrome | Firefox | Safari | Edge | IE |
144
+ | --- | --- | --- | --- | --- |
145
+ | **1** | **1** | **1** | **12** | **3** |
146
+
147
+ ResponsiveProp<SpacingToken | "auto"> | undefined
148
+
149
+ | \- | Set object |
150
+ | maxWidth |
151
+
152
+ 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`.
153
+
154
+ | Chrome | Firefox | Safari | Edge | IE |
155
+ | --- | --- | --- | --- | --- |
156
+ | **1** | **1** | **1** | **12** | **7** |
157
+
158
+ 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
159
+
160
+ | \- | Set object |
161
+ | mb |
162
+
163
+ 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.
164
+
165
+ It uses the spacing tokens in the design system.
166
+
167
+ | Chrome | Firefox | Safari | Edge | IE |
168
+ | --- | --- | --- | --- | --- |
169
+ | **1** | **1** | **1** | **12** | **3** |
170
+
171
+ ResponsiveProp<SpacingToken | "auto"> | undefined
172
+
173
+ | \- | Set object |
174
+ | ml |
175
+
176
+ 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.
177
+
178
+ It uses the spacing tokens in the design system.
179
+
180
+ | Chrome | Firefox | Safari | Edge | IE |
181
+ | --- | --- | --- | --- | --- |
182
+ | **1** | **1** | **1** | **12** | **3** |
183
+
184
+ ResponsiveProp<SpacingToken | "auto"> | undefined
185
+
186
+ | \- | Set object |
187
+ | mr |
188
+
189
+ 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.
190
+
191
+ It uses the spacing tokens in the design system.
192
+
193
+ | Chrome | Firefox | Safari | Edge | IE |
194
+ | --- | --- | --- | --- | --- |
195
+ | **1** | **1** | **1** | **12** | **3** |
196
+
197
+ ResponsiveProp<SpacingToken | "auto"> | undefined
198
+
199
+ | \- | Set object |
200
+ | mt |
201
+
202
+ 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.
203
+
204
+ It uses the spacing tokens in the design system.
205
+
206
+ | Chrome | Firefox | Safari | Edge | IE |
207
+ | --- | --- | --- | --- | --- |
208
+ | **1** | **1** | **1** | **12** | **3** |
209
+
210
+ ResponsiveProp<SpacingToken | "auto"> | undefined
211
+
212
+ | \- | Set object |
213
+ | mx |
214
+
215
+ 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.
216
+
217
+ 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.
218
+
219
+ | Chrome | Firefox | Safari | Edge | IE |
220
+ | --- | --- | --- | --- | --- |
221
+ | **1** | **1** | **1** | **12** | **3** |
222
+
223
+ ResponsiveProp<SpacingToken | "auto"> | undefined
224
+
225
+ | \- | Set object |
226
+ | my |
227
+
228
+ 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.
229
+
230
+ 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.
231
+
232
+ | Chrome | Firefox | Safari | Edge | IE |
233
+ | --- | --- | --- | --- | --- |
234
+ | **1** | **1** | **1** | **12** | **3** |
235
+
236
+ ResponsiveProp<SpacingToken | "auto"> | undefined
237
+
238
+ | \- | Set object |
239
+ | name\* |
240
+
241
+ The name of the icon
242
+
243
+ IconName
244
+
245
+
246
+
247
+ | \- |
248
+
249
+ "home"
250
+
251
+ |
252
+ | noGutter |
253
+
254
+ 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.
255
+
256
+ booleanundefined
257
+
258
+
259
+
260
+ | \- | Set object |
261
+ | p |
262
+
263
+ The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
264
+
265
+ 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.
266
+
267
+ | Chrome | Firefox | Safari | Edge | IE |
268
+ | --- | --- | --- | --- | --- |
269
+ | **1** | **1** | **1** | **12** | **3** |
270
+
271
+ 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
272
+
273
+ | \- | Set object |
274
+ | pb |
275
+
276
+ The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
277
+
278
+ 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.
279
+
280
+ | Chrome | Firefox | Safari | Edge | IE |
281
+ | --- | --- | --- | --- | --- |
282
+ | **1** | **1** | **1** | **12** | **3** |
283
+
284
+ 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
285
+
286
+ | \- | Set object |
287
+ | pl |
288
+
289
+ The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
290
+
291
+ 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.
292
+
293
+ | Chrome | Firefox | Safari | Edge | IE |
294
+ | --- | --- | --- | --- | --- |
295
+ | **1** | **1** | **1** | **12** | **3** |
296
+
297
+ 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
298
+
299
+ | \- | Set object |
300
+ | pr |
301
+
302
+ The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
303
+
304
+ 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.
305
+
306
+ | Chrome | Firefox | Safari | Edge | IE |
307
+ | --- | --- | --- | --- | --- |
308
+ | **1** | **1** | **1** | **12** | **3** |
309
+
310
+ 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
311
+
312
+ | \- | Set object |
313
+ | pt |
314
+
315
+ The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
316
+
317
+ 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.
318
+
319
+ | Chrome | Firefox | Safari | Edge | IE |
320
+ | --- | --- | --- | --- | --- |
321
+ | **1** | **1** | **1** | **12** | **3** |
322
+
323
+ 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
324
+
325
+ | \- | Set object |
326
+ | px |
327
+
328
+ 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.
329
+
330
+ 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.
331
+
332
+ | Chrome | Firefox | Safari | Edge | IE |
333
+ | --- | --- | --- | --- | --- |
334
+ | **1** | **1** | **1** | **12** | **3** |
335
+
336
+ 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
337
+
338
+ | \- | Set object |
339
+ | py |
340
+
341
+ 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.
342
+
343
+ 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.
344
+
345
+ | Chrome | Firefox | Safari | Edge | IE |
346
+ | --- | --- | --- | --- | --- |
347
+ | **1** | **1** | **1** | **12** | **3** |
348
+
349
+ 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
350
+
351
+ | \- | Set object |
352
+ | rotate |
353
+
354
+ Amount of degrees to rotate the icon.
355
+
356
+ 90180270undefined
357
+
358
+
359
+
360
+ | \- | Set object |
361
+ | rowGap |
362
+
363
+ The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
364
+
365
+ Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
366
+
367
+ | Chrome | Firefox | Safari | Edge | IE |
368
+ | --- | --- | --- | --- | --- |
369
+ | **47** | **52** | **10.1** | **16** | No |
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
+ | screenreaderText |
375
+
376
+ Adds screen reader text if the icon needs to be visible to screen reader users
377
+
378
+ stringundefined
379
+
380
+
381
+
382
+ | \- | Set object |
383
+ | set |
384
+
385
+ The icon set to be used:
386
+
387
+ * `fal`: Font Awesome Light
388
+ * `fab`: Font Awesome Brand
389
+
390
+ "fal""fab"undefined
391
+
392
+
393
+
394
+ |
395
+
396
+ fal
397
+
398
+ | Set object |
399
+ | spin |
400
+
401
+ Accepts a numeric value for speed for one rotation.
402
+
403
+ 12"half"3undefined
404
+
405
+
406
+
407
+ | \- | Set object |
408
+ | srOnly |
409
+
410
+ 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.
411
+
412
+ Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
413
+
414
+ ResponsiveProp<boolean> | undefined
415
+
416
+ | \- | Set object |
417
+ | stretch |
418
+
419
+ 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.
420
+
421
+ booleanundefined
422
+
423
+
424
+
425
+ | \- | Set object |
426
+ | textAlign |
427
+
428
+ The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
429
+
430
+ | Chrome | Firefox | Safari | Edge | IE |
431
+ | --- | --- | --- | --- | --- |
432
+ | **1** | **1** | **1** | **12** | **3** |
433
+
434
+ ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
435
+
436
+ | \- | Set object |
437
+ | textStyle |
438
+
439
+ Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
440
+
441
+ * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
442
+ * `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.
443
+ * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
444
+ * `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.
445
+ * `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.
446
+ * `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.
447
+ * `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.
448
+ * `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.
449
+ * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
450
+
451
+ 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
452
+
453
+ | \- | Set object |
454
+ | width |
455
+
456
+ 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.
457
+
458
+ 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.
459
+
460
+ | Chrome | Firefox | Safari | Edge | IE |
461
+ | --- | --- | --- | --- | --- |
462
+ | **1** | **1** | **1** | **12** | **4** |
463
+
464
+ 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
465
+
466
+ | \- | Set object |
467
+
17
468
  [](#installation)Installation
18
469
  -----------------------------
19
470
 
@@ -81,253 +532,70 @@ Copy
81
532
 
82
533
  ### [](#size)Size
83
534
 
84
- The `size` prop can be used to control sizing of the icon.
85
-
86
- xs
87
-
88
- sm
89
-
90
- lg
91
-
92
- 2x
93
-
94
- 3x
95
-
96
- 5x
97
-
98
- 7x
99
-
100
- 10x
101
-
102
- Hide code
103
-
104
- \[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; }
105
-
106
- <IressInline
107
- gutter\="md"
108
- verticalAlign\="bottom"
109
- \>
110
- <div\>
111
- <IressIcon
112
- name\="home"
113
- size\="xs"
114
- />
115
- <IressText align\="center"\>
116
- xs </IressText\>
117
- </div\>
118
- <div\>
119
- <IressIcon
120
- name\="home"
121
- size\="sm"
122
- />
123
- <IressText align\="center"\>
124
- sm </IressText\>
125
- </div\>
126
- <div\>
127
- <IressIcon
128
- name\="home"
129
- size\="lg"
130
- />
131
- <IressText align\="center"\>
132
- lg </IressText\>
133
- </div\>
134
- <div\>
135
- <IressIcon
136
- name\="home"
137
- size\="2x"
138
- />
139
- <IressText align\="center"\>
140
- 2x </IressText\>
141
- </div\>
142
- <div\>
143
- <IressIcon
144
- name\="home"
145
- size\="3x"
146
- />
147
- <IressText align\="center"\>
148
- 3x </IressText\>
149
- </div\>
150
- <div\>
151
- <IressIcon
152
- name\="home"
153
- size\="5x"
154
- />
155
- <IressText align\="center"\>
156
- 5x </IressText\>
157
- </div\>
158
- <div\>
159
- <IressIcon
160
- name\="home"
161
- size\="7x"
162
- />
163
- <IressText align\="center"\>
164
- 7x </IressText\>
165
- </div\>
166
- <div\>
167
- <IressIcon
168
- name\="home"
169
- size\="10x"
170
- />
171
- <IressText align\="center"\>
172
- 10x </IressText\>
173
- </div\>
174
- </IressInline\>
535
+ The `size` prop has been removed. It will now inherit the size of the parent component.
175
536
 
176
- Copy
537
+ For larger icons, it is recommended to use `IressImage` with stylised illustrations.
177
538
 
178
539
  ### [](#mode)Mode
179
540
 
180
- The `mode` prop can be used to set the colour of the icon to these predefined mode colours: Body, Muted, Primary, Info, Success, Warning, Danger, Positive and Negative.
181
-
182
- danger
183
-
184
- info
185
-
186
- muted
187
-
188
- primary
189
-
190
- success
191
-
192
- warning
541
+ Mode has been removed. Please use the `color` prop instead.
193
542
 
194
- positive
543
+ [](/?path=/docs/styling-props-colour--docs#color)
195
544
 
196
- negative
197
-
198
- Hide code
199
-
200
- \[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; }
201
-
202
- <IressInline gutter\="md"\>
203
- <div\>
204
- <IressIcon
205
- mode\="danger"
206
- name\="home"
207
- size\="5x"
208
- />
209
- <IressText align\="center"\>
210
- danger </IressText\>
211
- </div\>
212
- <div\>
213
- <IressIcon
214
- mode\="info"
215
- name\="home"
216
- size\="5x"
217
- />
218
- <IressText align\="center"\>
219
- info </IressText\>
220
- </div\>
221
- <div\>
222
- <IressIcon
223
- mode\="muted"
224
- name\="home"
225
- size\="5x"
226
- />
227
- <IressText align\="center"\>
228
- muted </IressText\>
229
- </div\>
230
- <div\>
231
- <IressIcon
232
- mode\="primary"
233
- name\="home"
234
- size\="5x"
235
- />
236
- <IressText align\="center"\>
237
- primary </IressText\>
238
- </div\>
239
- <div\>
240
- <IressIcon
241
- mode\="success"
242
- name\="home"
243
- size\="5x"
244
- />
245
- <IressText align\="center"\>
246
- success </IressText\>
247
- </div\>
248
- <div\>
249
- <IressIcon
250
- mode\="warning"
251
- name\="home"
252
- size\="5x"
253
- />
254
- <IressText align\="center"\>
255
- warning </IressText\>
256
- </div\>
257
- <div\>
258
- <IressIcon
259
- mode\="positive"
260
- name\="home"
261
- size\="5x"
262
- />
263
- <IressText align\="center"\>
264
- positive </IressText\>
265
- </div\>
266
- <div\>
267
- <IressIcon
268
- mode\="negative"
269
- name\="home"
270
- size\="5x"
271
- />
272
- <IressText align\="center"\>
273
- negative </IressText\>
274
- </div\>
275
- </IressInline\>
276
-
277
- Copy
545
+ [Learn more](/?path=/docs/styling-props-colour--docs#color)
278
546
 
279
547
  ### [](#flip)Flip
280
548
 
281
549
  The `flip` prop can be set to horizontal, vertical or both.
282
550
 
283
- original
551
+
552
+ (default)
284
553
 
554
+
285
555
  horizontal
286
556
 
557
+
287
558
  vertical
288
559
 
560
+
289
561
  both
290
562
 
291
563
  Hide code
292
564
 
293
565
  \[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; }
294
566
 
295
- <IressInline gutter\="md"\>
296
- <div\>
567
+ <IressInline gap\="md"\>
568
+ <IressText textAlign\="center"\>
297
569
  <IressIcon
298
570
  name\="home"
299
- size\="5x"
571
+ textStyle\="typography.heading.1"
300
572
  />
301
- <IressText align\="center"\>
302
- original </IressText\>
303
- </div\>
304
- <div\>
573
+ <br />
574
+ (default) </IressText\>
575
+ <IressText textAlign\="center"\>
305
576
  <IressIcon
306
577
  flip\="horizontal"
307
578
  name\="home"
308
- size\="5x"
579
+ textStyle\="typography.heading.1"
309
580
  />
310
- <IressText align\="center"\>
311
- horizontal </IressText\>
312
- </div\>
313
- <div\>
581
+ <br />
582
+ horizontal </IressText\>
583
+ <IressText textAlign\="center"\>
314
584
  <IressIcon
315
585
  flip\="vertical"
316
586
  name\="home"
317
- size\="5x"
587
+ textStyle\="typography.heading.1"
318
588
  />
319
- <IressText align\="center"\>
320
- vertical </IressText\>
321
- </div\>
322
- <div\>
589
+ <br />
590
+ vertical </IressText\>
591
+ <IressText textAlign\="center"\>
323
592
  <IressIcon
324
593
  flip\="both"
325
594
  name\="home"
326
- size\="5x"
595
+ textStyle\="typography.heading.1"
327
596
  />
328
- <IressText align\="center"\>
329
- both </IressText\>
330
- </div\>
597
+ <br />
598
+ both </IressText\>
331
599
  </IressInline\>
332
600
 
333
601
  Copy
@@ -336,54 +604,54 @@ Copy
336
604
 
337
605
  The `rotate` prop can be set to 90, 180 or 270 degrees.
338
606
 
339
- original
607
+
608
+ (default)
340
609
 
610
+
341
611
  90
342
612
 
613
+
343
614
  180
344
615
 
616
+
345
617
  270
346
618
 
347
619
  Hide code
348
620
 
349
621
  \[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; }
350
622
 
351
- <IressInline gutter\="md"\>
352
- <div\>
623
+ <IressInline gap\="md"\>
624
+ <IressText textAlign\="center"\>
353
625
  <IressIcon
354
626
  name\="home"
355
- size\="5x"
627
+ textStyle\="typography.heading.1"
356
628
  />
357
- <IressText align\="center"\>
358
- original </IressText\>
359
- </div\>
360
- <div\>
629
+ <br />
630
+ (default) </IressText\>
631
+ <IressText textAlign\="center"\>
361
632
  <IressIcon
362
633
  name\="home"
363
- rotate\="90"
364
- size\="5x"
634
+ rotate\={90}
635
+ textStyle\="typography.heading.1"
365
636
  />
366
- <IressText align\="center"\>
367
- 90 </IressText\>
368
- </div\>
369
- <div\>
637
+ <br />
638
+ 90 </IressText\>
639
+ <IressText textAlign\="center"\>
370
640
  <IressIcon
371
641
  name\="home"
372
- rotate\="180"
373
- size\="5x"
642
+ rotate\={180}
643
+ textStyle\="typography.heading.1"
374
644
  />
375
- <IressText align\="center"\>
376
- 180 </IressText\>
377
- </div\>
378
- <div\>
645
+ <br />
646
+ 180 </IressText\>
647
+ <IressText textAlign\="center"\>
379
648
  <IressIcon
380
649
  name\="home"
381
- rotate\="270"
382
- size\="5x"
650
+ rotate\={270}
651
+ textStyle\="typography.heading.1"
383
652
  />
384
- <IressText align\="center"\>
385
- 270 </IressText\>
386
- </div\>
653
+ <br />
654
+ 270 </IressText\>
387
655
  </IressInline\>
388
656
 
389
657
  Copy
@@ -404,7 +672,7 @@ Hide code
404
672
 
405
673
  \[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; }
406
674
 
407
- <IressInline gutter\="md"\>
675
+ <IressInline gap\="md"\>
408
676
  <IressText\>
409
677
  <IressIcon
410
678
  name\="spinner"
@@ -417,7 +685,7 @@ Hide code
417
685
  <IressIcon
418
686
  name\="spinner"
419
687
  screenreaderText\="Loading..."
420
- spin\="1"
688
+ spin\={1}
421
689
  />
422
690
  {' '}1
423
691
  </IressText\>
@@ -425,7 +693,7 @@ Hide code
425
693
  <IressIcon
426
694
  name\="spinner"
427
695
  screenreaderText\="Loading..."
428
- spin\="2"
696
+ spin\={2}
429
697
  />
430
698
  {' '}2
431
699
  </IressText\>
@@ -433,7 +701,7 @@ Hide code
433
701
  <IressIcon
434
702
  name\="spinner"
435
703
  screenreaderText\="Loading..."
436
- spin\="3"
704
+ spin\={3}
437
705
  />
438
706
  {' '}3
439
707
  </IressText\>
@@ -459,43 +727,43 @@ Hide code
459
727
 
460
728
  \[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; }
461
729
 
462
- <IressInline gutter\="md"\>
730
+ <IressInline gap\="md"\>
463
731
  <div\>
464
732
  <IressText
465
733
  element\="h2"
466
- variant\="h5"
734
+ textStyle\="typography.heading.5"
467
735
  \>
468
736
  Default width </IressText\>
469
737
  <IressIcon
470
- className\="ids-styles--alt-background-v5150"
738
+ bg\="colour.neutral.30"
471
739
  name\="space-shuttle"
472
- size\="3x"
740
+ textStyle\="typography.heading.1"
473
741
  />
474
742
  <br />
475
743
  <IressIcon
476
- className\="ids-styles--alt-background-v5150"
744
+ bg\="colour.neutral.30"
477
745
  name\="wine-glass-alt"
478
- size\="3x"
746
+ textStyle\="typography.heading.1"
479
747
  />
480
748
  </div\>
481
749
  <div\>
482
750
  <IressText
483
751
  element\="h2"
484
- variant\="h5"
752
+ textStyle\="typography.heading.5"
485
753
  \>
486
754
  Fixed width </IressText\>
487
755
  <IressIcon
488
- className\="ids-styles--alt-background-v5150"
756
+ bg\="colour.neutral.30"
489
757
  fixedWidth
490
758
  name\="space-shuttle"
491
- size\="3x"
759
+ textStyle\="typography.heading.1"
492
760
  />
493
761
  <br />
494
762
  <IressIcon
495
- className\="ids-styles--alt-background-v5150"
763
+ bg\="colour.neutral.30"
496
764
  fixedWidth
497
765
  name\="wine-glass-alt"
498
- size\="3x"
766
+ textStyle\="typography.heading.1"
499
767
  />
500
768
  </div\>
501
769
  </IressInline\>
@@ -507,9 +775,9 @@ Copy
507
775
 
508
776
  ### [](#external-link)External link
509
777
 
510
- Version 4 of IDS included some bespoke styles to make an "external link" icon in an `IressText` component look nice. We've removed these in V5 as we found they were having unintended side effects. If you still wish to style your external link icons, you can use either some custom CSS (like below) or simply make the icon size `xs`:
778
+ Icons now inherit the size of the parent component. This means you can use them inside buttons, links and other components without needing to set a size.
511
779
 
512
- [Go to this link:](https://www.iress.com/)
780
+ [Go to this link](https://www.iress.com/)
513
781
 
514
782
  Hide code
515
783
 
@@ -521,14 +789,9 @@ Hide code
521
789
  rel\="noreferrer"
522
790
  target\="\_blank"
523
791
  \>
524
- Go to this link: <IressIcon
792
+ Go to this link <IressIcon
525
793
  name\="external-link"
526
- size\="xs"
527
- style\={{
528
- 'inset-block-start': '-0.25em',
529
- 'margin-inline-start': 'var(--iress-g-spacing-xs, var(--iress-default-spacing-xs))',
530
- position: 'relative'
531
- }}
794
+ pl\="spacing.150"
532
795
  />
533
796
  </a\>
534
797
  </IressText\>