@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,816 +0,0 @@
1
- [](#icon)Icon
2
- =============
3
-
4
- Overview
5
- --------
6
-
7
- Icons enhance experiences by visually communicating meaning, actions, status, and feedback.
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
- Hide code
18
-
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; }
20
-
21
- <IressIcon name\="home" />
22
-
23
- Copy
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
-
468
- [](#installation)Installation
469
- -----------------------------
470
-
471
- If you are planning to include the `<IressIcon />` component in your application, you need to include the Font Awesome CSS.
472
-
473
- The easiest way to import the Font Awesome CSS is to use the `combined.css` file and add it to the `<head />` if your application. This file includes both the [Pro Light](https://fontawesome.com/v5/search?o=r&s=light) and [Brand](https://fontawesome.com/v5/search?o=r&f=brands) icon sets.
474
-
475
- Microfrontends
476
- --------------
477
-
478
- If you are using a Microfrontend, you need to include the Font Awesome CSS in the parent application as well as the Microfrontend. This is because `@font-face` declarations are not supported inside the Shadow DOM.
479
-
480
- \[data-radix-scroll-area-viewport\] {
481
- scrollbar-width: none;
482
- -ms-overflow-style: none;
483
- -webkit-overflow-scrolling: touch;
484
- }
485
- \[data-radix-scroll-area-viewport\]::-webkit-scrollbar {
486
- display: none;
487
- }
488
- :where(\[data-radix-scroll-area-viewport\]) {
489
- display: flex;
490
- flex-direction: column;
491
- align-items: stretch;
492
- }
493
- :where(\[data-radix-scroll-area-content\]) {
494
- flex-grow: 1;
495
- }
496
-
497
- <link
498
- href\="https://cdn.iress.com/icons/5.15.4/css/combined.min.css"
499
- rel\="stylesheet"
500
- />
501
-
502
- Copy
503
-
504
- [](#supported-library-sets-and-names)Supported library sets and names
505
- ---------------------------------------------------------------------
506
-
507
- `IressIcon` currently supports Font Awesome (V5) [Light](https://fontawesome.com/v5/search?o=r&s=light) and [Brand](https://fontawesome.com/v5/search?o=r&f=brands) sets. The library sets are controlled by the `set` prop and it defaults to the Light set (`fal`).
508
-
509
- The `name` prop controls which icon is shown, and needs to match the icon name exactly as displayed on the [Font Awesome website](https://fontawesome.com/v5/search). Icon names should be lower case, and separated by hyphens where required; for example `home-alt` or `check-circle.` Icon names should not include the `fa-` prefix.
510
-
511
- [](#behaviour)Behaviour
512
- -----------------------
513
-
514
- ### [](#screen-reader-text)Screen Reader Text
515
-
516
- By default icons are hidden from screen readers. The `screenreaderText` prop makes icons visible to screen readers users, providing a description of the icon.
517
-
518
- If you use an icon to improve the visual appeal of content, for example by replacing the default list icons with tick marks when listing product features, you don't need to add any screen reader text.
519
-
520
- If you use an icon to convey meaning, for example using an icon as the only content inside a button, you do need to supply a value for the `screenreaderText`; if you don't the button meaning will be completely lost for screen reader users.
521
-
522
- Hide code
523
-
524
- \[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; }
525
-
526
- <IressIcon
527
- name\="home"
528
- screenreaderText\="Home"
529
- />
530
-
531
- Copy
532
-
533
- ### [](#size)Size
534
-
535
- The `size` prop has been removed. It will now inherit the size of the parent component.
536
-
537
- For larger icons, it is recommended to use `IressImage` with stylised illustrations.
538
-
539
- ### [](#mode)Mode
540
-
541
- Mode has been removed. Please use the `color` prop instead.
542
-
543
- [](/?path=/docs/styling-props-colour--docs#color)
544
-
545
- [Learn more](/?path=/docs/styling-props-colour--docs#color)
546
-
547
- ### [](#flip)Flip
548
-
549
- The `flip` prop can be set to horizontal, vertical or both.
550
-
551
-
552
- (default)
553
-
554
-
555
- horizontal
556
-
557
-
558
- vertical
559
-
560
-
561
- both
562
-
563
- Hide code
564
-
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; }
566
-
567
- <IressInline gap\="md"\>
568
- <IressText textAlign\="center"\>
569
- <IressIcon
570
- name\="home"
571
- textStyle\="typography.heading.1"
572
- />
573
- <br />
574
- (default) </IressText\>
575
- <IressText textAlign\="center"\>
576
- <IressIcon
577
- flip\="horizontal"
578
- name\="home"
579
- textStyle\="typography.heading.1"
580
- />
581
- <br />
582
- horizontal </IressText\>
583
- <IressText textAlign\="center"\>
584
- <IressIcon
585
- flip\="vertical"
586
- name\="home"
587
- textStyle\="typography.heading.1"
588
- />
589
- <br />
590
- vertical </IressText\>
591
- <IressText textAlign\="center"\>
592
- <IressIcon
593
- flip\="both"
594
- name\="home"
595
- textStyle\="typography.heading.1"
596
- />
597
- <br />
598
- both </IressText\>
599
- </IressInline\>
600
-
601
- Copy
602
-
603
- ### [](#rotate)Rotate
604
-
605
- The `rotate` prop can be set to 90, 180 or 270 degrees.
606
-
607
-
608
- (default)
609
-
610
-
611
- 90
612
-
613
-
614
- 180
615
-
616
-
617
- 270
618
-
619
- Hide code
620
-
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; }
622
-
623
- <IressInline gap\="md"\>
624
- <IressText textAlign\="center"\>
625
- <IressIcon
626
- name\="home"
627
- textStyle\="typography.heading.1"
628
- />
629
- <br />
630
- (default) </IressText\>
631
- <IressText textAlign\="center"\>
632
- <IressIcon
633
- name\="home"
634
- rotate\={90}
635
- textStyle\="typography.heading.1"
636
- />
637
- <br />
638
- 90 </IressText\>
639
- <IressText textAlign\="center"\>
640
- <IressIcon
641
- name\="home"
642
- rotate\={180}
643
- textStyle\="typography.heading.1"
644
- />
645
- <br />
646
- 180 </IressText\>
647
- <IressText textAlign\="center"\>
648
- <IressIcon
649
- name\="home"
650
- rotate\={270}
651
- textStyle\="typography.heading.1"
652
- />
653
- <br />
654
- 270 </IressText\>
655
- </IressInline\>
656
-
657
- Copy
658
-
659
- ### [](#spin)Spin
660
-
661
- The `spin` prop can be set to half (fastest), 1, 2 or 3 (slowest) to control the speed of the icon spin animation, useful for loading spinners.
662
-
663
- half
664
-
665
- 1
666
-
667
- 2
668
-
669
- 3
670
-
671
- Hide code
672
-
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; }
674
-
675
- <IressInline gap\="md"\>
676
- <IressText\>
677
- <IressIcon
678
- name\="spinner"
679
- screenreaderText\="Loading..."
680
- spin\="half"
681
- />
682
- {' '}half
683
- </IressText\>
684
- <IressText\>
685
- <IressIcon
686
- name\="spinner"
687
- screenreaderText\="Loading..."
688
- spin\={1}
689
- />
690
- {' '}1
691
- </IressText\>
692
- <IressText\>
693
- <IressIcon
694
- name\="spinner"
695
- screenreaderText\="Loading..."
696
- spin\={2}
697
- />
698
- {' '}2
699
- </IressText\>
700
- <IressText\>
701
- <IressIcon
702
- name\="spinner"
703
- screenreaderText\="Loading..."
704
- spin\={3}
705
- />
706
- {' '}3
707
- </IressText\>
708
- </IressInline\>
709
-
710
- Copy
711
-
712
- ### [](#fixed-width)Fixed Width
713
-
714
- Because of the wide variety of Font Awesome icons, not every icon is the same size. This can cause alignment issued when the icons stack vertically, so you can use the `fixedWidth` prop to ensure each icon is the same width. Very useful when using icons in menus.
715
-
716
- Default width
717
- -------------
718
-
719
-
720
-
721
- Fixed width
722
- -----------
723
-
724
-
725
-
726
- Hide code
727
-
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; }
729
-
730
- <IressInline gap\="md"\>
731
- <div\>
732
- <IressText
733
- element\="h2"
734
- textStyle\="typography.heading.5"
735
- \>
736
- Default width </IressText\>
737
- <IressIcon
738
- bg\="colour.neutral.30"
739
- name\="space-shuttle"
740
- textStyle\="typography.heading.1"
741
- />
742
- <br />
743
- <IressIcon
744
- bg\="colour.neutral.30"
745
- name\="wine-glass-alt"
746
- textStyle\="typography.heading.1"
747
- />
748
- </div\>
749
- <div\>
750
- <IressText
751
- element\="h2"
752
- textStyle\="typography.heading.5"
753
- \>
754
- Fixed width </IressText\>
755
- <IressIcon
756
- bg\="colour.neutral.30"
757
- fixedWidth
758
- name\="space-shuttle"
759
- textStyle\="typography.heading.1"
760
- />
761
- <br />
762
- <IressIcon
763
- bg\="colour.neutral.30"
764
- fixedWidth
765
- name\="wine-glass-alt"
766
- textStyle\="typography.heading.1"
767
- />
768
- </div\>
769
- </IressInline\>
770
-
771
- Copy
772
-
773
- [](#examples)Examples
774
- ---------------------
775
-
776
- ### [](#external-link)External link
777
-
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.
779
-
780
- [Go to this link](https://www.iress.com/)
781
-
782
- Hide code
783
-
784
- \[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; }
785
-
786
- <IressText\>
787
- <a
788
- href\="https://www.iress.com/"
789
- rel\="noreferrer"
790
- target\="\_blank"
791
- \>
792
- Go to this link <IressIcon
793
- name\="external-link"
794
- pl\="spacing.150"
795
- />
796
- </a\>
797
- </IressText\>
798
-
799
- Copy
800
-
801
- On this page
802
-
803
- * [Overview](#overview)
804
- * [Props](#props)
805
- * [Installation](#installation)
806
- * [Supported library sets and names](#supported-library-sets-and-names)
807
- * [Behaviour](#behaviour)
808
- * [Screen Reader Text](#screen-reader-text)
809
- * [Size](#size)
810
- * [Mode](#mode)
811
- * [Flip](#flip)
812
- * [Rotate](#rotate)
813
- * [Spin](#spin)
814
- * [Fixed Width](#fixed-width)
815
- * [Examples](#examples)
816
- * [External link](#external-link)