@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,600 +0,0 @@
1
- [](#panel)Panel
2
- ===============
3
-
4
- Overview
5
- --------
6
-
7
- A panel is used to group related content.
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
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
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
- <IressPanel\>
24
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
25
- </IressPanel\>
26
-
27
- Copy
28
-
29
- [](#props)Props
30
- ---------------
31
-
32
- | Name | Description | Default | Control |
33
- | --- | --- | --- | --- |
34
- | bg |
35
- **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
36
-
37
- We recommend using the following token values for best background contrast:
38
-
39
- * `colour.primary.fill` for primary backgrounds that need to stand out
40
- * `colour.primary.surface` for primary backgrounds that need to be less prominent
41
- * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
42
- * `colour.neutral.20` for a slightly darker background color, used in neutral state components
43
- * `colour.system.danger.fill` for error backgrounds that need to stand out
44
- * `colour.system.danger.surface` for error backgrounds that need to be less prominent
45
- * `colour.system.success.fill` for success backgrounds that need to stand out
46
- * `colour.system.success.surface` for success backgrounds that need to be less prominent
47
- * `colour.system.warning.fill` for warning backgrounds that need to stand out
48
- * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
49
- * `colour.system.info.fill` for info backgrounds that need to stand out
50
- * `colour.system.info.surface` for info backgrounds that need to be less prominent
51
-
52
- ResponsiveProp<ColorToken> | undefined
53
-
54
- | \- | Set object |
55
- | borderRadius |
56
-
57
- The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
58
-
59
- | Chrome | Firefox | Safari | Edge | IE |
60
- | --- | --- | --- | --- | --- |
61
- | **4** | **4** | **5** | **12** | **9** |
62
- | 1 _\-x-_ | | 3 _\-x-_ | | |
63
-
64
- ResponsiveProp<RadiusToken> | undefined
65
-
66
- | \- | Set object |
67
- | children |
68
-
69
- Content to be grouped using a panel.
70
-
71
- ReactNode
72
-
73
-
74
-
75
- | \- | Choose option...nonetextparagraphsstory |
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
- ResponsiveProp<ColorToken> | undefined
96
-
97
- | \- | Set object |
98
- | focusable |
99
-
100
- 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.
101
-
102
- "true""within"undefined
103
-
104
-
105
-
106
- | \- | Set object |
107
- | hide |
108
-
109
- 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.
110
-
111
- Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
112
-
113
- Notes:
114
-
115
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
116
- * Consider if you can conditionally render the element instead of hiding it.
117
-
118
- ResponsiveProp<boolean> | undefined
119
-
120
- | \- | Set object |
121
- | layerStyle |
122
-
123
- 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.
124
-
125
- * `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.
126
- * `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.
127
- * `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.
128
-
129
- ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
130
-
131
- | \- | Set object |
132
- | m |
133
-
134
- The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
135
-
136
- 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.
137
-
138
- | Chrome | Firefox | Safari | Edge | IE |
139
- | --- | --- | --- | --- | --- |
140
- | **1** | **1** | **1** | **12** | **3** |
141
-
142
- ResponsiveProp<SpacingToken | "auto"> | undefined
143
-
144
- | \- | Set object |
145
- | maxWidth |
146
-
147
- 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`.
148
-
149
- | Chrome | Firefox | Safari | Edge | IE |
150
- | --- | --- | --- | --- | --- |
151
- | **1** | **1** | **1** | **12** | **7** |
152
-
153
- 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
154
-
155
- | \- | Set object |
156
- | mb |
157
-
158
- 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.
159
-
160
- It uses the spacing tokens in the design system.
161
-
162
- | Chrome | Firefox | Safari | Edge | IE |
163
- | --- | --- | --- | --- | --- |
164
- | **1** | **1** | **1** | **12** | **3** |
165
-
166
- ResponsiveProp<SpacingToken | "auto"> | undefined
167
-
168
- | \- | Set object |
169
- | ml |
170
-
171
- 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.
172
-
173
- It uses the spacing tokens in the design system.
174
-
175
- | Chrome | Firefox | Safari | Edge | IE |
176
- | --- | --- | --- | --- | --- |
177
- | **1** | **1** | **1** | **12** | **3** |
178
-
179
- ResponsiveProp<SpacingToken | "auto"> | undefined
180
-
181
- | \- | Set object |
182
- | mr |
183
-
184
- 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.
185
-
186
- It uses the spacing tokens in the design system.
187
-
188
- | Chrome | Firefox | Safari | Edge | IE |
189
- | --- | --- | --- | --- | --- |
190
- | **1** | **1** | **1** | **12** | **3** |
191
-
192
- ResponsiveProp<SpacingToken | "auto"> | undefined
193
-
194
- | \- | Set object |
195
- | mt |
196
-
197
- 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.
198
-
199
- It uses the spacing tokens in the design system.
200
-
201
- | Chrome | Firefox | Safari | Edge | IE |
202
- | --- | --- | --- | --- | --- |
203
- | **1** | **1** | **1** | **12** | **3** |
204
-
205
- ResponsiveProp<SpacingToken | "auto"> | undefined
206
-
207
- | \- | Set object |
208
- | mx |
209
-
210
- 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.
211
-
212
- 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.
213
-
214
- | Chrome | Firefox | Safari | Edge | IE |
215
- | --- | --- | --- | --- | --- |
216
- | **1** | **1** | **1** | **12** | **3** |
217
-
218
- ResponsiveProp<SpacingToken | "auto"> | undefined
219
-
220
- | \- | Set object |
221
- | my |
222
-
223
- 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.
224
-
225
- 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.
226
-
227
- | Chrome | Firefox | Safari | Edge | IE |
228
- | --- | --- | --- | --- | --- |
229
- | **1** | **1** | **1** | **12** | **3** |
230
-
231
- ResponsiveProp<SpacingToken | "auto"> | undefined
232
-
233
- | \- | Set object |
234
- | noBorderRadius |
235
-
236
- Setting to true will ignore the border radius set in the theme and set it to zero.
237
-
238
- booleanundefined
239
-
240
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `borderRadius="none"` instead.</td></tr></tbody></table>
241
-
242
- | \- | Set object |
243
- | noGutter |
244
-
245
- 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.
246
-
247
- booleanundefined
248
-
249
-
250
-
251
- | \- | Set object |
252
- | p |
253
-
254
- The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
255
-
256
- 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.
257
-
258
- | Chrome | Firefox | Safari | Edge | IE |
259
- | --- | --- | --- | --- | --- |
260
- | **1** | **1** | **1** | **12** | **3** |
261
-
262
- 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
263
-
264
- | \- | Set object |
265
- | pb |
266
-
267
- The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
268
-
269
- 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.
270
-
271
- | Chrome | Firefox | Safari | Edge | IE |
272
- | --- | --- | --- | --- | --- |
273
- | **1** | **1** | **1** | **12** | **3** |
274
-
275
- 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
276
-
277
- | \- | Set object |
278
- | pl |
279
-
280
- The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
281
-
282
- 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.
283
-
284
- | Chrome | Firefox | Safari | Edge | IE |
285
- | --- | --- | --- | --- | --- |
286
- | **1** | **1** | **1** | **12** | **3** |
287
-
288
- 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
289
-
290
- | \- | Set object |
291
- | pr |
292
-
293
- The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
294
-
295
- 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.
296
-
297
- | Chrome | Firefox | Safari | Edge | IE |
298
- | --- | --- | --- | --- | --- |
299
- | **1** | **1** | **1** | **12** | **3** |
300
-
301
- 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
302
-
303
- | \- | Set object |
304
- | pt |
305
-
306
- The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
307
-
308
- 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.
309
-
310
- | Chrome | Firefox | Safari | Edge | IE |
311
- | --- | --- | --- | --- | --- |
312
- | **1** | **1** | **1** | **12** | **3** |
313
-
314
- 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
315
-
316
- | \- | Set object |
317
- | px |
318
-
319
- 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.
320
-
321
- 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.
322
-
323
- | Chrome | Firefox | Safari | Edge | IE |
324
- | --- | --- | --- | --- | --- |
325
- | **1** | **1** | **1** | **12** | **3** |
326
-
327
- 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
328
-
329
- | \- | Set object |
330
- | py |
331
-
332
- 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.
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
- 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
341
-
342
- | \- | Set object |
343
- | rowGap |
344
-
345
- The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
346
-
347
- Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
348
-
349
- | Chrome | Firefox | Safari | Edge | IE |
350
- | --- | --- | --- | --- | --- |
351
- | **47** | **52** | **10.1** | **16** | No |
352
-
353
- 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
354
-
355
- | \- | Set object |
356
- | srOnly |
357
-
358
- 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.
359
-
360
- Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
361
-
362
- ResponsiveProp<boolean> | undefined
363
-
364
- | \- | Set object |
365
- | stretch |
366
-
367
- 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.
368
-
369
- booleanundefined
370
-
371
-
372
-
373
- | \- | Set object |
374
- | textAlign |
375
-
376
- The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
377
-
378
- | Chrome | Firefox | Safari | Edge | IE |
379
- | --- | --- | --- | --- | --- |
380
- | **1** | **1** | **1** | **12** | **3** |
381
-
382
- ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
383
-
384
- | \- | Set object |
385
- | textStyle |
386
-
387
- Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
388
-
389
- * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
390
- * `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.
391
- * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
392
- * `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.
393
- * `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.
394
- * `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.
395
- * `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.
396
- * `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.
397
- * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
398
-
399
- 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
400
-
401
- | \- | Set object |
402
- | width |
403
-
404
- 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.
405
-
406
- 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.
407
-
408
- | Chrome | Firefox | Safari | Edge | IE |
409
- | --- | --- | --- | --- | --- |
410
- | **1** | **1** | **1** | **12** | **4** |
411
-
412
- 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
413
-
414
- | \- | Set object |
415
-
416
- [](#examples)Examples
417
- ---------------------
418
-
419
- ### [](#background)Background
420
-
421
- By default, panels use the `colour.neutral.10` token. For most applications, this is the preferred background as panels are usually placed on a `colour.neutral.20` background.
422
-
423
- However, there are times when a panel needs to be placed on a different background. In these cases, you can use [the `bg` prop](./?path=/docs/styling-props-colour--docs#bg) to set the background to a different colour.
424
-
425
- (default)
426
- ---------
427
-
428
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
429
-
430
- Primary `bg`
431
- ------------
432
-
433
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
434
-
435
- Transparent `bg`
436
- ----------------
437
-
438
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
439
-
440
- Hide code
441
-
442
- \[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; }
443
-
444
- <IressContainer\>
445
- <IressRow gutter\="spacing.400"\>
446
- <IressCol\>
447
- <IressPanel\>
448
- <IressText element\="h2"\>
449
- (default) </IressText\>
450
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. </IressPanel\>
451
- </IressCol\>
452
- <IressCol\>
453
- <IressPanel
454
- bg\="colour.primary.fill"
455
- color\="colour.primary.onFill"
456
- \>
457
- <h2\>
458
- Primary{' '}
459
- <code\>
460
- bg </code\>
461
- </h2\>
462
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. </IressPanel\>
463
- </IressCol\>
464
- <IressCol\>
465
- <IressPanel bg\="transparent"\>
466
- <IressText element\="h2"\>
467
- Transparent{' '}
468
- <code\>
469
- bg </code\>
470
- </IressText\>
471
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. </IressPanel\>
472
- </IressCol\>
473
- </IressRow\>
474
- </IressContainer\>
475
-
476
- Copy
477
-
478
- ### [](#padding)Padding
479
-
480
- Panel padding now is a global styling prop.
481
-
482
- [](/?path=/docs/styling-props-spacing--docs#padding)
483
-
484
- [Learn more](/?path=/docs/styling-props-spacing--docs#padding)
485
-
486
- ### [](#text-align)Text align
487
-
488
- Text alignment can be set to `inherit`, `left`, `center`, `right` or `justify`.
489
-
490
- It's default value is `inherit`.
491
-
492
- inherit
493
- -------
494
-
495
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
496
-
497
- ### Inherits center align of parent panel
498
-
499
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
500
-
501
- left
502
- ----
503
-
504
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
505
-
506
- center
507
- ------
508
-
509
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
510
-
511
- right
512
- -----
513
-
514
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
515
-
516
- justify
517
- -------
518
-
519
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
520
-
521
- Hide code
522
-
523
- \[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; }
524
-
525
- <IressStack gap\="md"\>
526
- <IressPanel textAlign\="center"\>
527
- <IressText element\="h2"\>
528
- inherit </IressText\>
529
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. <IressPanel textAlign\="inherit"\>
530
- <h3\>
531
- Inherits center align of parent panel </h3\>
532
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. </IressPanel\>
533
- </IressPanel\>
534
- <IressPanel textAlign\="left"\>
535
- <IressText element\="h2"\>
536
- left </IressText\>
537
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. </IressPanel\>
538
- <IressPanel textAlign\="center"\>
539
- <IressText element\="h2"\>
540
- center </IressText\>
541
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. </IressPanel\>
542
- <IressPanel textAlign\="right"\>
543
- <IressText element\="h2"\>
544
- right </IressText\>
545
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. </IressPanel\>
546
- <IressPanel textAlign\="justify"\>
547
- <IressText element\="h2"\>
548
- justify </IressText\>
549
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. </IressPanel\>
550
- </IressStack\>
551
-
552
- Copy
553
-
554
- ### [](#stretch)Stretch
555
-
556
- Panel can be set to fill its available container height by setting the `stretch` prop.
557
-
558
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
559
-
560
- Hide code
561
-
562
- \[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; }
563
-
564
- <IressStack
565
- style\={{
566
- height: '200px'
567
- }}
568
- \>
569
- <IressPanel stretch\>
570
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor. </IressPanel\>
571
- </IressStack\>
572
-
573
- Copy
574
-
575
- ### [](#removing-border-radius)Removing border radius
576
-
577
- Panels can inherit the theme's border radius which may result in an undesirable look to those components that use panels internally such as slideouts. To remove rounding from all panels set the prop `borderRadius="none"` to ensure panels have a zero border radius.
578
-
579
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
580
-
581
- Hide code
582
-
583
- \[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; }
584
-
585
- <IressPanel borderRadius\="none"\>
586
- His head is gone, it is like it is been erased... Erased from existence. That was the day I invented time travel. I remember it vividly. I was standing on the edge of my toilet hanging a clock, the porces was wet, I slipped, hit my head on the edge of the sink. And when I came to I had a revelation, a picture, a picture in my head, a picture of this. This is what makes time travel possible. The flux capacitor.
587
- </IressPanel\>
588
-
589
- Copy
590
-
591
- On this page
592
-
593
- * [Overview](#overview)
594
- * [Props](#props)
595
- * [Examples](#examples)
596
- * [Background](#background)
597
- * [Padding](#padding)
598
- * [Text align](#text-align)
599
- * [Stretch](#stretch)
600
- * [Removing border radius](#removing-border-radius)