@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,627 +0,0 @@
1
- [](#sizing)Sizing
2
- =================
3
-
4
- These are all styling props related to changing the size of a component, refining the users expectation of the content and making screens easier to scan.
5
-
6
- [](#overview)Overview
7
- ---------------------
8
-
9
- The sizing props are a collection of widths that are used throughout the design system. Although they are not part of the design tokens (which is more related to theming), we have exposed them to you to allow you to build consistent user experiences where you may need to deviate from the default props of a component.
10
-
11
- The sizes here can be used in the `maxWidth` or `width` prop of any component, but they have been documented here according to their designated component.
12
-
13
- [](#input-widths)Input widths
14
- -----------------------------
15
-
16
- Input widths are sizes that suit a specific number of characters. This sets an expectation of what data a user has to enter. The following list is the widths we have created for inputs, and have been designed to be used with `IressInput` but can be used with any component.
17
-
18
- * `input.2`: Two character width, usually used for accessor codes
19
- * `input.4`: Four character width, usually used for CVC, one-time passwords and pin numbers
20
- * `input.6`: Six character width, usually used for one-time passwords and pin numbers
21
- * `input.8`: Eight character width
22
- * `input.10`: Ten character width, usually used for dates
23
- * `input.12`: Twelve character width
24
- * `input.16`: Sixteen character width, usually used for credit cards
25
-
26
- For variable data entry, you can use percentage widths. These are usually used inside `IressFieldGroup`, and denote a connection between fields with different widths (eg. First name and Last name under Name). In most cases where there is no relationship but you would like to compact the layout to make it easier to scan, and you should use `IressRow` and `IressCol` instead with the `span` prop.
27
-
28
- * `input.25perc`: 25% width of parent container
29
- * `input.50perc`: 50% width of parent container
30
- * `input.75perc`: 75% width of parent container
31
- * `input.100perc`: 100% width of parent container
32
-
33
- Credit card number wide panel
34
-
35
- Hide code
36
-
37
- \[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; }
38
-
39
- <IressPanel
40
- bg\="alt"
41
- width\="input.16"
42
- \>
43
- Credit card number wide panel
44
- </IressPanel\>
45
-
46
- Copy
47
-
48
- #### [](#alternate-props)Props
49
-
50
- | Name | Description | Default | Control |
51
- | --- | --- | --- | --- |
52
- | maxWidth |
53
- 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`.
54
-
55
- | Chrome | Firefox | Safari | Edge | IE |
56
- | --- | --- | --- | --- | --- |
57
- | **1** | **1** | **1** | **12** | **7** |
58
-
59
- 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
60
-
61
- | \- | Set object |
62
- | width |
63
-
64
- 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.
65
-
66
- 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.
67
-
68
- | Chrome | Firefox | Safari | Edge | IE |
69
- | --- | --- | --- | --- | --- |
70
- | **1** | **1** | **1** | **12** | **4** |
71
-
72
- 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
73
-
74
- | \- |
75
-
76
- "input.16"
77
-
78
- |
79
-
80
- [](#container-widths)Container widths
81
- -------------------------------------
82
-
83
- Container widths are sizes that define the maximum width where content is considered easy to read on specific screen ranges. They are used by `IressContainer` to help ensure content is readable no matter the screen size.
84
-
85
- In some cases however, you may want to restrain the width even further (for example, single column content is usually easiest to read when it is confined to the centre of the screen). The container widths have been exposed so they can be used in the `maxWidth` prop of your own components.
86
-
87
- * `container.xs`: 100% of the screen's width
88
- * `container.sm`: 520px
89
- * `container.md`: 740px
90
- * `container.lg`: 960px
91
- * `container.xl`: 1160px
92
- * `container.xxl`: 1160px
93
-
94
- This container is extra readable cause its maxWidth is set to: `container.md`.
95
-
96
- Hide code
97
-
98
- \[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; }
99
-
100
- <IressContainer
101
- bg\="alt"
102
- fluid
103
- maxWidth\="container.md"
104
- p\="xl"
105
- \>
106
- This container is extra readable cause its maxWidth is set to:{' '}
107
- <code\>
108
- container.md </code\>
109
- .
110
- </IressContainer\>
111
-
112
- Copy
113
-
114
- #### [](#containerWidths-props)Props
115
-
116
- | Name | Description | Default | Control |
117
- | --- | --- | --- | --- |
118
- | maxWidth |
119
- 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`.
120
-
121
- | Chrome | Firefox | Safari | Edge | IE |
122
- | --- | --- | --- | --- | --- |
123
- | **1** | **1** | **1** | **12** | **7** |
124
-
125
- 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
126
-
127
- | \- |
128
-
129
- "container.md"
130
-
131
- |
132
- | width |
133
-
134
- 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.
135
-
136
- 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.
137
-
138
- | Chrome | Firefox | Safari | Edge | IE |
139
- | --- | --- | --- | --- | --- |
140
- | **1** | **1** | **1** | **12** | **4** |
141
-
142
- 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
143
-
144
- | \- | Set object |
145
-
146
- [](#stretch)Stretch
147
- -------------------
148
-
149
- The `stretch` prop used to stretch a component to fill the available space. It is used in components such as `IressPanel` to ensure each column in a layout takes up the same amount of space.
150
-
151
- Panel is set to stretch, so it will fill the available space.
152
-
153
- History of Iress
154
- ================
155
-
156
- **Iress Limited** (originally “Iress Market Technology”) is an Australian-based software company that provides technology solutions to the financial services industry. Its clients span sectors including wealth management, financial advice, trading, investment management, mortgages, and superannuation.
157
-
158
- Early Years (1993 – 2000)
159
- -------------------------
160
-
161
- Iress was founded in **1993** in Melbourne, Australia. The company's initial product offerings focused on market data and trading software for financial institutions and professionals needing live pricing and analytics tools.
162
-
163
- In **2000**, Iress listed on the **Australian Stock Exchange (ASX)** under the ticker **IRE**, signaling its growth beyond market data services.
164
-
165
- Hide code
166
-
167
- \[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; }
168
-
169
- <IressContainer
170
- bg\="alt"
171
- borderRadius\="none"
172
- fluid
173
- p\="xl"
174
- \>
175
- <IressRow
176
- gutter\="xl"
177
- verticalAlign\="stretch"
178
- \>
179
- <IressCol\>
180
- <IressPanel stretch\>
181
- <React.Fragment key\=".0"\>
182
- Panel is set to stretch, so it will fill the available space. </React.Fragment\>
183
- </IressPanel\>
184
- </IressCol\>
185
- <IressCol\>
186
- <IressPanel\>
187
- <h1\>
188
- History of Iress </h1\>
189
- <p\>
190
- <strong\>
191
- Iress Limited </strong\>
192
- {' '}(originally “Iress Market Technology”) is an Australian-based software company that provides technology solutions to the financial services industry. Its clients span sectors including wealth management, financial advice, trading, investment management, mortgages, and superannuation.
193
- </p\>
194
- <section\>
195
- <h2\>
196
- Early Years (1993 – 2000) </h2\>
197
- <p\>
198
- Iress was founded in{' '}
199
- <strong\>
200
- 1993 </strong\>
201
- {' '}in Melbourne, Australia. The company's initial product offerings focused on market data and trading software for financial institutions and professionals needing live pricing and analytics tools.
202
- </p\>
203
- <p\>
204
- In{' '}
205
- <strong\>
206
- 2000 </strong\>
207
- , Iress listed on the{' '}
208
- <strong\>
209
- Australian Stock Exchange (ASX) </strong\>
210
- {' '}under the ticker{' '}
211
- <strong\>
212
- IRE </strong\>
213
- , signaling its growth beyond market data services. </p\>
214
- </section\>
215
- </IressPanel\>
216
- </IressCol\>
217
- </IressRow\>
218
- </IressContainer\>
219
-
220
- Copy
221
-
222
- #### [](#stretch-props)Props
223
-
224
- | Name | Description | Default | Control |
225
- | --- | --- | --- | --- |
226
- | bg |
227
- **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
228
-
229
- We recommend using the following token values for best background contrast:
230
-
231
- * `colour.primary.fill` for primary backgrounds that need to stand out
232
- * `colour.primary.surface` for primary backgrounds that need to be less prominent
233
- * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
234
- * `colour.neutral.20` for a slightly darker background color, used in neutral state components
235
- * `colour.system.danger.fill` for error backgrounds that need to stand out
236
- * `colour.system.danger.surface` for error backgrounds that need to be less prominent
237
- * `colour.system.success.fill` for success backgrounds that need to stand out
238
- * `colour.system.success.surface` for success backgrounds that need to be less prominent
239
- * `colour.system.warning.fill` for warning backgrounds that need to stand out
240
- * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
241
- * `colour.system.info.fill` for info backgrounds that need to stand out
242
- * `colour.system.info.surface` for info backgrounds that need to be less prominent
243
-
244
- ResponsiveProp<ColorToken> | undefined
245
-
246
- | \- | Set object |
247
- | borderRadius |
248
-
249
- The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
250
-
251
- | Chrome | Firefox | Safari | Edge | IE |
252
- | --- | --- | --- | --- | --- |
253
- | **4** | **4** | **5** | **12** | **9** |
254
- | 1 _\-x-_ | | 3 _\-x-_ | | |
255
-
256
- ResponsiveProp<RadiusToken> | undefined
257
-
258
- | \- | Set object |
259
- | children |
260
-
261
- Content to be grouped using a panel.
262
-
263
- ReactNode
264
-
265
-
266
-
267
- | \- | Set object |
268
- | color |
269
-
270
- 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`.
271
-
272
- We recommend using the following token values for best color contrast:
273
-
274
- * `colour.primary.onFill` used on top of `colour.primary.fill` for primary text that needs to stand out
275
- * `colour.primary.text` used on top of `colour.primary.surface` or `colour.neutral.10` for primary text that needs to be less prominent
276
- * `colour.neutral.70` used on top of `colour.neutral.10` or `colour.neutral.20` for muted text
277
- * `colour.neutral.80` used on top of `colour.neutral.10` or `colour.neutral.20` for standard text
278
- * `colour.system.danger.onFill` used on top of `colour.system.danger.fill` for error text that needs to stand out
279
- * `colour.system.danger.text` used on top of `colour.system.danger.surface` for error text that needs to be less prominent
280
- * `colour.system.success.onFill` used on top of `colour.system.success.fill` for success text that needs to stand out
281
- * `colour.system.success.text` used on top of `colour.system.success.surface` for success text that needs to be less prominent
282
- * `colour.system.warning.onFill` used on top of `colour.system.warning.fill` for warning text that needs to stand out
283
- * `colour.system.warning.text` used on top of `colour.system.warning.surface` for warning text that needs to be less prominent
284
- * `colour.system.info.onFill` used on top of `colour.system.info.fill` for informative text that needs to stand out
285
- * `colour.system.info.text` used on top of `colour.system.info.surface` for informative text that needs to be less prominent
286
-
287
- ResponsiveProp<ColorToken> | undefined
288
-
289
- | \- | Set object |
290
- | focusable |
291
-
292
- 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.
293
-
294
- "true""within"undefined
295
-
296
-
297
-
298
- | \- | Set object |
299
- | hide |
300
-
301
- 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.
302
-
303
- Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
304
-
305
- Notes:
306
-
307
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
308
- * Consider if you can conditionally render the element instead of hiding it.
309
-
310
- ResponsiveProp<boolean> | undefined
311
-
312
- | \- | Set object |
313
- | layerStyle |
314
-
315
- 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.
316
-
317
- * `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.
318
- * `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.
319
- * `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.
320
-
321
- ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
322
-
323
- | \- | Set object |
324
- | m |
325
-
326
- The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
327
-
328
- 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.
329
-
330
- | Chrome | Firefox | Safari | Edge | IE |
331
- | --- | --- | --- | --- | --- |
332
- | **1** | **1** | **1** | **12** | **3** |
333
-
334
- ResponsiveProp<SpacingToken | "auto"> | undefined
335
-
336
- | \- | Set object |
337
- | maxWidth |
338
-
339
- 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`.
340
-
341
- | Chrome | Firefox | Safari | Edge | IE |
342
- | --- | --- | --- | --- | --- |
343
- | **1** | **1** | **1** | **12** | **7** |
344
-
345
- 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
346
-
347
- | \- | Set object |
348
- | mb |
349
-
350
- 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.
351
-
352
- It uses the spacing tokens in the design system.
353
-
354
- | Chrome | Firefox | Safari | Edge | IE |
355
- | --- | --- | --- | --- | --- |
356
- | **1** | **1** | **1** | **12** | **3** |
357
-
358
- ResponsiveProp<SpacingToken | "auto"> | undefined
359
-
360
- | \- | Set object |
361
- | ml |
362
-
363
- 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.
364
-
365
- It uses the spacing tokens in the design system.
366
-
367
- | Chrome | Firefox | Safari | Edge | IE |
368
- | --- | --- | --- | --- | --- |
369
- | **1** | **1** | **1** | **12** | **3** |
370
-
371
- ResponsiveProp<SpacingToken | "auto"> | undefined
372
-
373
- | \- | Set object |
374
- | mr |
375
-
376
- 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.
377
-
378
- It uses the spacing tokens in the design system.
379
-
380
- | Chrome | Firefox | Safari | Edge | IE |
381
- | --- | --- | --- | --- | --- |
382
- | **1** | **1** | **1** | **12** | **3** |
383
-
384
- ResponsiveProp<SpacingToken | "auto"> | undefined
385
-
386
- | \- | Set object |
387
- | mt |
388
-
389
- 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.
390
-
391
- It uses the spacing tokens in the design system.
392
-
393
- | Chrome | Firefox | Safari | Edge | IE |
394
- | --- | --- | --- | --- | --- |
395
- | **1** | **1** | **1** | **12** | **3** |
396
-
397
- ResponsiveProp<SpacingToken | "auto"> | undefined
398
-
399
- | \- | Set object |
400
- | mx |
401
-
402
- 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.
403
-
404
- 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.
405
-
406
- | Chrome | Firefox | Safari | Edge | IE |
407
- | --- | --- | --- | --- | --- |
408
- | **1** | **1** | **1** | **12** | **3** |
409
-
410
- ResponsiveProp<SpacingToken | "auto"> | undefined
411
-
412
- | \- | Set object |
413
- | my |
414
-
415
- 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.
416
-
417
- 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.
418
-
419
- | Chrome | Firefox | Safari | Edge | IE |
420
- | --- | --- | --- | --- | --- |
421
- | **1** | **1** | **1** | **12** | **3** |
422
-
423
- ResponsiveProp<SpacingToken | "auto"> | undefined
424
-
425
- | \- | Set object |
426
- | noBorderRadius |
427
-
428
- Setting to true will ignore the border radius set in the theme and set it to zero.
429
-
430
- booleanundefined
431
-
432
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `borderRadius="none"` instead.</td></tr></tbody></table>
433
-
434
- | \- | Set object |
435
- | noGutter |
436
-
437
- 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.
438
-
439
- booleanundefined
440
-
441
-
442
-
443
- | \- | Set object |
444
- | p |
445
-
446
- The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
447
-
448
- 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.
449
-
450
- | Chrome | Firefox | Safari | Edge | IE |
451
- | --- | --- | --- | --- | --- |
452
- | **1** | **1** | **1** | **12** | **3** |
453
-
454
- 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
455
-
456
- | \- | Set object |
457
- | pb |
458
-
459
- The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
460
-
461
- 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.
462
-
463
- | Chrome | Firefox | Safari | Edge | IE |
464
- | --- | --- | --- | --- | --- |
465
- | **1** | **1** | **1** | **12** | **3** |
466
-
467
- 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
468
-
469
- | \- | Set object |
470
- | pl |
471
-
472
- The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
473
-
474
- 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.
475
-
476
- | Chrome | Firefox | Safari | Edge | IE |
477
- | --- | --- | --- | --- | --- |
478
- | **1** | **1** | **1** | **12** | **3** |
479
-
480
- 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
481
-
482
- | \- | Set object |
483
- | pr |
484
-
485
- The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
486
-
487
- 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.
488
-
489
- | Chrome | Firefox | Safari | Edge | IE |
490
- | --- | --- | --- | --- | --- |
491
- | **1** | **1** | **1** | **12** | **3** |
492
-
493
- 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
494
-
495
- | \- | Set object |
496
- | pt |
497
-
498
- The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
499
-
500
- 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.
501
-
502
- | Chrome | Firefox | Safari | Edge | IE |
503
- | --- | --- | --- | --- | --- |
504
- | **1** | **1** | **1** | **12** | **3** |
505
-
506
- 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
507
-
508
- | \- | Set object |
509
- | px |
510
-
511
- 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.
512
-
513
- 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.
514
-
515
- | Chrome | Firefox | Safari | Edge | IE |
516
- | --- | --- | --- | --- | --- |
517
- | **1** | **1** | **1** | **12** | **3** |
518
-
519
- 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
520
-
521
- | \- | Set object |
522
- | py |
523
-
524
- 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.
525
-
526
- 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.
527
-
528
- | Chrome | Firefox | Safari | Edge | IE |
529
- | --- | --- | --- | --- | --- |
530
- | **1** | **1** | **1** | **12** | **3** |
531
-
532
- 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
533
-
534
- | \- | Set object |
535
- | rowGap |
536
-
537
- The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
538
-
539
- Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
540
-
541
- | Chrome | Firefox | Safari | Edge | IE |
542
- | --- | --- | --- | --- | --- |
543
- | **47** | **52** | **10.1** | **16** | No |
544
-
545
- 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
546
-
547
- | \- | Set object |
548
- | srOnly |
549
-
550
- 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.
551
-
552
- Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
553
-
554
- ResponsiveProp<boolean> | undefined
555
-
556
- | \- | Set object |
557
- | stretch |
558
-
559
- 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.
560
-
561
- booleanundefined
562
-
563
-
564
-
565
- | \- |
566
-
567
- true
568
-
569
- |
570
- | textAlign |
571
-
572
- The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
573
-
574
- | Chrome | Firefox | Safari | Edge | IE |
575
- | --- | --- | --- | --- | --- |
576
- | **1** | **1** | **1** | **12** | **3** |
577
-
578
- ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
579
-
580
- | \- | Set object |
581
- | textStyle |
582
-
583
- Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
584
-
585
- * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
586
- * `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.
587
- * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
588
- * `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.
589
- * `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.
590
- * `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.
591
- * `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.
592
- * `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.
593
- * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
594
-
595
- 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
596
-
597
- | \- | Set object |
598
- | width |
599
-
600
- 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.
601
-
602
- 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.
603
-
604
- | Chrome | Firefox | Safari | Edge | IE |
605
- | --- | --- | --- | --- | --- |
606
- | **1** | **1** | **1** | **12** | **4** |
607
-
608
- 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
609
-
610
- | \- | Set object |
611
-
612
- [](#overlay-widths)Overlay widths
613
- ---------------------------------
614
-
615
- Overlay widths are sizes that define the width of overlay components such as Modals and Slideouts.
616
-
617
- * `overlay.sm`: 375px
618
- * `overlay.md`: 640px
619
- * `overlay.lg`: 900px
620
-
621
- On this page
622
-
623
- * [Overview](#overview)
624
- * [Input widths](#input-widths)
625
- * [Container widths](#container-widths)
626
- * [Stretch](#stretch)
627
- * [Overlay widths](#overlay-widths)