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

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