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