@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,1529 +0,0 @@
1
- [](#popover)Popover
2
- ===================
3
-
4
- Overview
5
- --------
6
-
7
- A popover is panel that is toggled on/off by an activator button or text input. The panel is positioned relative to its activator element.
8
-
9
- Toggle popover
10
-
11
- A little more information about this area.
12
-
13
- Hide code
14
-
15
- \[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; }
16
-
17
- <IressPopover activator\={<IressButton\>Toggle popover</IressButton\>}\>
18
- <IressPanel\>
19
- A little more information about this area. </IressPanel\>
20
- </IressPopover\>
21
-
22
- Copy
23
-
24
- [](#props)Props
25
- ---------------
26
-
27
- | Name | Description | Default | Control |
28
- | --- | --- | --- | --- |
29
- | activator\* |
30
- Content for an activator element, usually an `IressButton`.
31
-
32
- ReactElement<any, string | JSXElementConstructor<any>> | undefined
33
-
34
- | \- | \- |
35
- | align |
36
-
37
- Sets the alignment of the popover relative to the activator element.
38
-
39
- "bottom""left""right""top""auto""bottom-start""bottom-end""top-start"Show 6 more...
40
-
41
-
42
-
43
- |
44
-
45
- auto
46
-
47
- | Set object |
48
- | bg |
49
-
50
- **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
51
-
52
- We recommend using the following token values for best background contrast:
53
-
54
- * `colour.primary.fill` for primary backgrounds that need to stand out
55
- * `colour.primary.surface` for primary backgrounds that need to be less prominent
56
- * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
57
- * `colour.neutral.20` for a slightly darker background color, used in neutral state components
58
- * `colour.system.danger.fill` for error backgrounds that need to stand out
59
- * `colour.system.danger.surface` for error backgrounds that need to be less prominent
60
- * `colour.system.success.fill` for success backgrounds that need to stand out
61
- * `colour.system.success.surface` for success backgrounds that need to be less prominent
62
- * `colour.system.warning.fill` for warning backgrounds that need to stand out
63
- * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
64
- * `colour.system.info.fill` for info backgrounds that need to stand out
65
- * `colour.system.info.surface` for info backgrounds that need to be less prominent
66
-
67
- ResponsiveProp<ColorToken> | undefined
68
-
69
- | \- | Set object |
70
- | borderRadius |
71
-
72
- The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
73
-
74
- | Chrome | Firefox | Safari | Edge | IE |
75
- | --- | --- | --- | --- | --- |
76
- | **4** | **4** | **5** | **12** | **9** |
77
- | 1 _\-x-_ | | 3 _\-x-_ | | |
78
-
79
- ResponsiveProp<RadiusToken> | undefined
80
-
81
- | \- | Set object |
82
- | children |
83
-
84
- The content to render within the popover.
85
-
86
- ReactNode
87
-
88
-
89
-
90
- | \- | Choose option...nonehellobasicdetailsparagraphmenu |
91
- | color |
92
-
93
- 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`.
94
-
95
- We recommend using the following token values for best color contrast:
96
-
97
- * `colour.primary.onFill` used on top of `colour.primary.fill` for primary text that needs to stand out
98
- * `colour.primary.text` used on top of `colour.primary.surface` or `colour.neutral.10` for primary text that needs to be less prominent
99
- * `colour.neutral.70` used on top of `colour.neutral.10` or `colour.neutral.20` for muted text
100
- * `colour.neutral.80` used on top of `colour.neutral.10` or `colour.neutral.20` for standard text
101
- * `colour.system.danger.onFill` used on top of `colour.system.danger.fill` for error text that needs to stand out
102
- * `colour.system.danger.text` used on top of `colour.system.danger.surface` for error text that needs to be less prominent
103
- * `colour.system.success.onFill` used on top of `colour.system.success.fill` for success text that needs to stand out
104
- * `colour.system.success.text` used on top of `colour.system.success.surface` for success text that needs to be less prominent
105
- * `colour.system.warning.onFill` used on top of `colour.system.warning.fill` for warning text that needs to stand out
106
- * `colour.system.warning.text` used on top of `colour.system.warning.surface` for warning text that needs to be less prominent
107
- * `colour.system.info.onFill` used on top of `colour.system.info.fill` for informative text that needs to stand out
108
- * `colour.system.info.text` used on top of `colour.system.info.surface` for informative text that needs to be less prominent
109
-
110
- ResponsiveProp<ColorToken> | undefined
111
-
112
- | \- | Set object |
113
- | container |
114
-
115
- The container element to render the popover into. By default, the popover will render where its parent is rendered.
116
-
117
- **Note:** If the `container` doesn’t exist when the popover is mounted, ensure you pass an element directly (not a ref) and specify null as the default value before it is set. This lets it wait for the root to be available. For example, if you reference the parent element of a popover.
118
-
119
- FloatingUIContainerundefined
120
-
121
-
122
-
123
- | \- | Set object |
124
- | contentClassName |
125
-
126
- Class name of the popover content.
127
-
128
- stringundefined
129
-
130
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `contentStyle` instead.</td></tr></tbody></table>
131
-
132
- | \- | Set object |
133
- | contentStyle |
134
-
135
- This allows you to customise the content styling specifically, which is the floating element. It accepts an object with any of the styling properties available on `IressCSSProps`, as well as `className` and `style`.
136
-
137
- IressCustomiseSlotundefined
138
-
139
-
140
-
141
- | \- | Set object |
142
- | defaultShow |
143
-
144
- When set to `true` the popover will be visible by default. Use for uncontrolled popovers.
145
-
146
- booleanundefined
147
-
148
-
149
-
150
- | \- | Set object |
151
- | displayMode |
152
-
153
- Sets the display mode of popover.
154
-
155
- "overlay""inline"undefined
156
-
157
-
158
-
159
- |
160
-
161
- overlay
162
-
163
- | Set object |
164
- | fluid |
165
-
166
- Popovers can be fluid, meaning they will take up the full width of their container.
167
-
168
- booleanundefined
169
-
170
-
171
-
172
- | \- | Set object |
173
- | focusable |
174
-
175
- 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.
176
-
177
- "true""within"undefined
178
-
179
-
180
-
181
- | \- | Set object |
182
- | focusStartIndex |
183
-
184
- Which index to start the focus on when the popover is opened. Only works with `type` listbox and menu. Note: The index must exist in the list of items, otherwise it will not work.
185
-
186
- numberundefined
187
-
188
-
189
-
190
- |
191
-
192
- 0
193
-
194
- | Set object |
195
- | hide |
196
-
197
- 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.
198
-
199
- Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
200
-
201
- Notes:
202
-
203
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
204
- * Consider if you can conditionally render the element instead of hiding it.
205
-
206
- ResponsiveProp<boolean> | undefined
207
-
208
- | \- | Set object |
209
- | layerStyle |
210
-
211
- 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.
212
-
213
- * `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.
214
- * `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.
215
- * `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.
216
-
217
- ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
218
-
219
- | \- | Set object |
220
- | m |
221
-
222
- The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
223
-
224
- 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.
225
-
226
- | Chrome | Firefox | Safari | Edge | IE |
227
- | --- | --- | --- | --- | --- |
228
- | **1** | **1** | **1** | **12** | **3** |
229
-
230
- ResponsiveProp<SpacingToken | "auto"> | undefined
231
-
232
- | \- | Set object |
233
- | matchActivatorWidth |
234
-
235
- Sets the popover to match the width of the activator. Note: This only works when `displayMode="overlay"`.
236
-
237
- booleanundefined
238
-
239
-
240
-
241
- | \- | Set object |
242
- | maxWidth |
243
-
244
- 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`.
245
-
246
- | Chrome | Firefox | Safari | Edge | IE |
247
- | --- | --- | --- | --- | --- |
248
- | **1** | **1** | **1** | **12** | **7** |
249
-
250
- 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
251
-
252
- | \- | Set object |
253
- | mb |
254
-
255
- 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.
256
-
257
- It uses the spacing tokens in the design system.
258
-
259
- | Chrome | Firefox | Safari | Edge | IE |
260
- | --- | --- | --- | --- | --- |
261
- | **1** | **1** | **1** | **12** | **3** |
262
-
263
- ResponsiveProp<SpacingToken | "auto"> | undefined
264
-
265
- | \- | Set object |
266
- | ml |
267
-
268
- 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.
269
-
270
- It uses the spacing tokens in the design system.
271
-
272
- | Chrome | Firefox | Safari | Edge | IE |
273
- | --- | --- | --- | --- | --- |
274
- | **1** | **1** | **1** | **12** | **3** |
275
-
276
- ResponsiveProp<SpacingToken | "auto"> | undefined
277
-
278
- | \- | Set object |
279
- | mr |
280
-
281
- 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.
282
-
283
- It uses the spacing tokens in the design system.
284
-
285
- | Chrome | Firefox | Safari | Edge | IE |
286
- | --- | --- | --- | --- | --- |
287
- | **1** | **1** | **1** | **12** | **3** |
288
-
289
- ResponsiveProp<SpacingToken | "auto"> | undefined
290
-
291
- | \- | Set object |
292
- | mt |
293
-
294
- 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.
295
-
296
- It uses the spacing tokens in the design system.
297
-
298
- | Chrome | Firefox | Safari | Edge | IE |
299
- | --- | --- | --- | --- | --- |
300
- | **1** | **1** | **1** | **12** | **3** |
301
-
302
- ResponsiveProp<SpacingToken | "auto"> | undefined
303
-
304
- | \- | Set object |
305
- | mx |
306
-
307
- 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.
308
-
309
- 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.
310
-
311
- | Chrome | Firefox | Safari | Edge | IE |
312
- | --- | --- | --- | --- | --- |
313
- | **1** | **1** | **1** | **12** | **3** |
314
-
315
- ResponsiveProp<SpacingToken | "auto"> | undefined
316
-
317
- | \- | Set object |
318
- | my |
319
-
320
- 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.
321
-
322
- 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.
323
-
324
- | Chrome | Firefox | Safari | Edge | IE |
325
- | --- | --- | --- | --- | --- |
326
- | **1** | **1** | **1** | **12** | **3** |
327
-
328
- ResponsiveProp<SpacingToken | "auto"> | undefined
329
-
330
- | \- | Set object |
331
- | noGutter |
332
-
333
- 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.
334
-
335
- booleanundefined
336
-
337
-
338
-
339
- | \- | Set object |
340
- | onActivated |
341
-
342
- Is called when popover is activated.
343
-
344
- ((e?: Event | undefined, reason?: OpenChangeReason | undefined, activeIndex?: number | null | undefined) => void) | undefined
345
-
346
- | \- | \- |
347
- | onDeactivated |
348
-
349
- Is called when popover is deactivated.
350
-
351
- ((e?: Event | undefined, reason?: OpenChangeReason | undefined, activeIndex?: number | null | undefined) => void) | undefined
352
-
353
- | \- | \- |
354
- | onNavigate |
355
-
356
- Is called when registered popover items are navigated using arrow keys. Only works with `type` listbox and menu.
357
-
358
- ((activeIndex: number | null) => void) | undefined
359
-
360
- | \- | \- |
361
- | p |
362
-
363
- The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
364
-
365
- 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.
366
-
367
- | Chrome | Firefox | Safari | Edge | IE |
368
- | --- | --- | --- | --- | --- |
369
- | **1** | **1** | **1** | **12** | **3** |
370
-
371
- ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
372
-
373
- | \- | Set object |
374
- | pb |
375
-
376
- The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
377
-
378
- 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.
379
-
380
- | Chrome | Firefox | Safari | Edge | IE |
381
- | --- | --- | --- | --- | --- |
382
- | **1** | **1** | **1** | **12** | **3** |
383
-
384
- 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
385
-
386
- | \- | Set object |
387
- | pl |
388
-
389
- The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
390
-
391
- 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.
392
-
393
- | Chrome | Firefox | Safari | Edge | IE |
394
- | --- | --- | --- | --- | --- |
395
- | **1** | **1** | **1** | **12** | **3** |
396
-
397
- 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
398
-
399
- | \- | Set object |
400
- | pr |
401
-
402
- The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
403
-
404
- 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.
405
-
406
- | Chrome | Firefox | Safari | Edge | IE |
407
- | --- | --- | --- | --- | --- |
408
- | **1** | **1** | **1** | **12** | **3** |
409
-
410
- 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
411
-
412
- | \- | Set object |
413
- | pt |
414
-
415
- The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
416
-
417
- 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.
418
-
419
- | Chrome | Firefox | Safari | Edge | IE |
420
- | --- | --- | --- | --- | --- |
421
- | **1** | **1** | **1** | **12** | **3** |
422
-
423
- 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
424
-
425
- | \- | Set object |
426
- | px |
427
-
428
- 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.
429
-
430
- 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.
431
-
432
- | Chrome | Firefox | Safari | Edge | IE |
433
- | --- | --- | --- | --- | --- |
434
- | **1** | **1** | **1** | **12** | **3** |
435
-
436
- 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
437
-
438
- | \- | Set object |
439
- | py |
440
-
441
- 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.
442
-
443
- 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.
444
-
445
- | Chrome | Firefox | Safari | Edge | IE |
446
- | --- | --- | --- | --- | --- |
447
- | **1** | **1** | **1** | **12** | **3** |
448
-
449
- 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
450
-
451
- | \- | Set object |
452
- | rowGap |
453
-
454
- The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
455
-
456
- Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
457
-
458
- | Chrome | Firefox | Safari | Edge | IE |
459
- | --- | --- | --- | --- | --- |
460
- | **47** | **52** | **10.1** | **16** | No |
461
-
462
- 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
463
-
464
- | \- | Set object |
465
- | show |
466
-
467
- When set to `true` the modal will be visible. Use for controlled popovers.
468
-
469
- booleanundefined
470
-
471
-
472
-
473
- | \- | Set object |
474
- | srOnly |
475
-
476
- 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.
477
-
478
- Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
479
-
480
- ResponsiveProp<boolean> | undefined
481
-
482
- | \- | Set object |
483
- | stretch |
484
-
485
- 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.
486
-
487
- booleanundefined
488
-
489
-
490
-
491
- | \- | Set object |
492
- | textAlign |
493
-
494
- The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
495
-
496
- | Chrome | Firefox | Safari | Edge | IE |
497
- | --- | --- | --- | --- | --- |
498
- | **1** | **1** | **1** | **12** | **3** |
499
-
500
- ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
501
-
502
- | \- | Set object |
503
- | textStyle |
504
-
505
- Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
506
-
507
- * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
508
- * `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.
509
- * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
510
- * `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.
511
- * `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.
512
- * `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.
513
- * `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.
514
- * `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.
515
- * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
516
-
517
- 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
518
-
519
- | \- | Set object |
520
- | type |
521
-
522
- Describes the type of content contained in the popover.
523
-
524
- "tree""dialog""menu""grid""listbox"undefined
525
-
526
-
527
-
528
- | \- | Set object |
529
- | virtualFocus |
530
-
531
- Whether the focus is virtual (using `aria-activedescendant`). Use this if you need focus to remain on the reference element (such as an input), but allow arrow keys to navigate items. Note: This is only applicable when type is set to: `listbox` or `menu`, and only works out of the box with `IressMenu` and its subcomponents.
532
-
533
- booleanundefined
534
-
535
-
536
-
537
- |
538
-
539
- false
540
-
541
- | Set object |
542
- | width |
543
-
544
- 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.
545
-
546
- 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.
547
-
548
- | Chrome | Firefox | Safari | Edge | IE |
549
- | --- | --- | --- | --- | --- |
550
- | **1** | **1** | **1** | **12** | **4** |
551
-
552
- 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
553
-
554
- | \- | Set object |
555
-
556
- [](#usage)Usage
557
- ---------------
558
-
559
- ### [](#activator)Activator
560
-
561
- For the popover to render, the `activator` property is required. It is the element used to trigger the popover, and works best with an `IressButton`.
562
-
563
- Anything added as the children of the `IressPopover` component will be displayed in the popover panel.
564
-
565
- Toggle popover
566
-
567
- A little more information about this area.
568
-
569
- Hide code
570
-
571
- \[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; }
572
-
573
- <IressPopover activator\={<IressButton\>Toggle popover</IressButton\>}\>
574
- <IressPanel\>
575
- A little more information about this area. </IressPanel\>
576
- </IressPopover\>
577
-
578
- Copy
579
-
580
- ### [](#the-show-property)The `show` property
581
-
582
- You can use state to control the popover by setting the `show` property to `true` or `false`. To sync your state with the popover, you can use the `onActivated` and `onDeactivated` prop.
583
-
584
- Show popover using state
585
-
586
- A little more information about this area.
587
-
588
- Hide code
589
-
590
- \[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; }
591
-
592
- import {
593
- IressButton,
594
- IressPanel,
595
- IressPopover,
596
- IressPopoverProps,
597
- } from '@iress-oss/ids-components';
598
- import { useState } from 'react';
599
- export const PopoverUsingState \= () \=> {
600
- const \[show, setShow\] \= useState(false);
601
- return (
602
- <IressPopover
603
-
604
- activator\={
605
- <IressButton onClick\={() \=> setShow(!show)}\>
606
- Show popover using state </IressButton\>
607
- }
608
- show\={show}
609
- onActivated\={() \=> setShow(true)}
610
- onDeactivated\={() \=> setShow(false)}
611
- \>
612
- <IressPanel\>A little more information about this area.</IressPanel\>
613
- </IressPopover\>
614
- );
615
- };
616
-
617
- Copy
618
-
619
- [](#behaviour)Behaviour
620
- -----------------------
621
-
622
- * The popover is opened when the activator is pressed
623
- * Once activated, the popover will set focus to popover content
624
- * When the activator is pressed whilst the popover is open, it will close
625
- * When the escape key is pressed while it is open, it will close
626
- * When the popover panel loses focus, it will close
627
-
628
- [](#examples)Examples
629
- ---------------------
630
-
631
- ### [](#align)Align
632
-
633
- The popover panel can be aligned in one of 12 positions relative to the activator element. The default value is `auto`.
634
-
635
- The popover panel's position will change dynamically based on the amount of space available in it's container window, so that it doesn't overflow.
636
-
637
- top-start
638
-
639
- Hello!
640
-
641
- top
642
-
643
- Hello!
644
-
645
- top-end
646
-
647
- Hello!
648
-
649
- left-start
650
-
651
- Hello!
652
-
653
- left
654
-
655
- Hello!
656
-
657
- left-end
658
-
659
- Hello!
660
-
661
- right-start
662
-
663
- Hello!
664
-
665
- right
666
-
667
- Hello!
668
-
669
- right-end
670
-
671
- Hello!
672
-
673
- bottom-start
674
-
675
- Hello!
676
-
677
- bottom
678
-
679
- Hello!
680
-
681
- bottom-end
682
-
683
- Hello!
684
-
685
- Hide code
686
-
687
- \[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; }
688
-
689
- <div
690
- style\={{
691
- padding: '80px 150px'
692
- }}
693
- \>
694
- <IressStack gap\="md"\>
695
- <IressInline
696
- gap\="sm"
697
- horizontalAlign\="center"
698
- \>
699
- <IressPopover
700
- activator\={<IressTooltip align\="bottom-start" tooltipText\="Tooltips and popovers can go together if needed!"\><IressButton\>top-start</IressButton\></IressTooltip\>}
701
- align\="top-start"
702
- \>
703
- <IressPanel\>
704
- Hello! </IressPanel\>
705
- </IressPopover\>
706
- <IressPopover
707
- activator\={<IressButton\>top</IressButton\>}
708
- align\="top"
709
- \>
710
- <IressPanel\>
711
- Hello! </IressPanel\>
712
- </IressPopover\>
713
- <IressPopover
714
- activator\={<IressButton\>top-end</IressButton\>}
715
- align\="top-end"
716
- \>
717
- <IressPanel\>
718
- Hello! </IressPanel\>
719
- </IressPopover\>
720
- </IressInline\>
721
- <IressInline horizontalAlign\="between"\>
722
- <IressStack gap\="sm"\>
723
- <IressInline horizontalAlign\="left"\>
724
- <IressPopover
725
- activator\={<IressButton\>left-start</IressButton\>}
726
- align\="left-start"
727
- \>
728
- <IressPanel\>
729
- Hello! </IressPanel\>
730
- </IressPopover\>
731
- </IressInline\>
732
- <IressInline horizontalAlign\="left"\>
733
- <IressPopover
734
- activator\={<IressButton\>left</IressButton\>}
735
- align\="left"
736
- \>
737
- <IressPanel\>
738
- Hello! </IressPanel\>
739
- </IressPopover\>
740
- </IressInline\>
741
- <IressInline horizontalAlign\="left"\>
742
- <IressPopover
743
- activator\={<IressButton\>left-end</IressButton\>}
744
- align\="left-end"
745
- \>
746
- <IressPanel\>
747
- Hello! </IressPanel\>
748
- </IressPopover\>
749
- </IressInline\>
750
- </IressStack\>
751
- <IressStack gap\="sm"\>
752
- <IressInline horizontalAlign\="right"\>
753
- <IressPopover
754
- activator\={<IressButton\>right-start</IressButton\>}
755
- align\="right-start"
756
- \>
757
- <IressPanel\>
758
- Hello! </IressPanel\>
759
- </IressPopover\>
760
- </IressInline\>
761
- <IressInline horizontalAlign\="right"\>
762
- <IressPopover
763
- activator\={<IressButton\>right</IressButton\>}
764
- align\="right"
765
- \>
766
- <IressPanel\>
767
- Hello! </IressPanel\>
768
- </IressPopover\>
769
- </IressInline\>
770
- <IressInline horizontalAlign\="right"\>
771
- <IressPopover
772
- activator\={<IressButton\>right-end</IressButton\>}
773
- align\="right-end"
774
- \>
775
- <IressPanel\>
776
- Hello! </IressPanel\>
777
- </IressPopover\>
778
- </IressInline\>
779
- </IressStack\>
780
- </IressInline\>
781
- <IressInline
782
- gap\="sm"
783
- horizontalAlign\="center"
784
- \>
785
- <IressPopover
786
- activator\={<IressButton\>bottom-start</IressButton\>}
787
- align\="bottom-start"
788
- \>
789
- <IressPanel\>
790
- Hello! </IressPanel\>
791
- </IressPopover\>
792
- <IressPopover
793
- activator\={<IressButton\>bottom</IressButton\>}
794
- align\="bottom"
795
- \>
796
- <IressPanel\>
797
- Hello! </IressPanel\>
798
- </IressPopover\>
799
- <IressPopover
800
- activator\={<IressButton\>bottom-end</IressButton\>}
801
- align\="bottom-end"
802
- \>
803
- <IressPanel\>
804
- Hello! </IressPanel\>
805
- </IressPopover\>
806
- </IressInline\>
807
- </IressStack\>
808
- </div\>
809
-
810
- Copy
811
-
812
- ### [](#width)Width
813
-
814
- Occasionally, you may have more information to display than the width set by the theme can comfortably show.
815
-
816
- Toggle popover
817
-
818
- Hide code
819
-
820
- \[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; }
821
-
822
- <IressPopover
823
- activator\={<IressButton\>Toggle popover</IressButton\>}
824
- container\={document.body}
825
- contentStyle\={{
826
- style: {
827
- maxWidth: '30rem'
828
- }
829
- }}
830
- \>
831
- <IressPanel\>
832
- <IressRow\>
833
- <IressCol span\={6}\>
834
- <IressText\>
835
- Client </IressText\>
836
- <IressText noGutter\>
837
- <ul\>
838
- <li\>
839
- Entity id 582323 </li\>
840
- <li\>
841
- Fruit Apple </li\>
842
- <li\>
843
- Preferred email mamaduke@gmail.com </li\>
844
- </ul\>
845
- </IressText\>
846
- </IressCol\>
847
- <IressCol span\={6}\>
848
- <IressText\>
849
- Client </IressText\>
850
- <IressText noGutter\>
851
- <ul\>
852
- <li\>
853
- Entity id 8766 </li\>
854
- <li\>
855
- Fruit Orange </li\>
856
- <li\>
857
- Preferred email felicity@yahoo.com </li\>
858
- </ul\>
859
- </IressText\>
860
- </IressCol\>
861
- </IressRow\>
862
- </IressPanel\>
863
- </IressPopover\>
864
-
865
- Copy
866
-
867
- ### [](#overflow)Overflow
868
-
869
- Popovers can contain a wide variety of different content, including components that use popovers themselves (like Combobox). This can cause issues with overflowing content, so by default we allow popovers to grow in height based on their content.
870
-
871
- If you need to fix the height of a popover, you can set a maximum height using the `maxHeight` and `overflowY` css on your popover's `contentStyle` prop.
872
-
873
- Normal popover
874
-
875
- Fixed height popover
876
-
877
- Hide code
878
-
879
- \[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; }
880
-
881
- <IressInline gap\="md"\>
882
- <IressPopover
883
- activator\={<IressButton\>Normal popover</IressButton\>}
884
- align\="bottom-start"
885
- container\={document.body}
886
- \>
887
- <IressPanel\>
888
- <IressText noGutter\>
889
- <p\>
890
- 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. </p\>
891
- </IressText\>
892
- </IressPanel\>
893
- </IressPopover\>
894
- <IressPopover
895
- activator\={<IressButton\>Fixed height popover</IressButton\>}
896
- align\="bottom-start"
897
- container\={document.body}
898
- contentStyle\={{
899
- style: {
900
- maxHeight: '200px',
901
- overflowY: 'auto'
902
- }
903
- }}
904
- \>
905
- <IressPanel\>
906
- <IressText noGutter\>
907
- <p\>
908
- 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. </p\>
909
- </IressText\>
910
- </IressPanel\>
911
- </IressPopover\>
912
- </IressInline\>
913
-
914
- Copy
915
-
916
- ### [](#container)Container
917
-
918
- By default, the popover will be rendered where its parent is rendered. If you need to render the popover in a different container, you can use the `container` prop.
919
-
920
- **Note:** If the `container` doesn’t exist when the portal is mounted, ensure you pass an element directly (not a ref) and specify null as the default value before it is set. This lets it wait for the root to be available.
921
-
922
- This will be the case when you are rendering into its parent container, which is not yet rendered when the popover is mounted. The example below shows how to use state instead of a reference to change where the popover is rendered.
923
-
924
- Toggle
925
-
926
- This content will be rendered in the parent container
927
-
928
- Hide code
929
-
930
- \[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; }
931
-
932
- export const PopoverParentContainer \= () \=> {
933
- const \[parentContainer, setParentContainer\] \= useState<HTMLDivElement | null\>(
934
- null,
935
- );
936
- return (
937
- <div id\="parent" ref\={setParentContainer}\>
938
- <IressPopover
939
- activator\={<IressButton\>Toggle</IressButton\>}
940
- container\={parentContainer}
941
- \>
942
- <IressPanel\>
943
- This content will be rendered in the parent container </IressPanel\>
944
- </IressPopover\>
945
- </div\>
946
- );
947
- };
948
-
949
- Copy
950
-
951
- [](#iressinputpopover)`IressInputPopover`
952
- -----------------------------------------
953
-
954
- If you need a popover that is triggered by input changes, you can use the `IressInputPopover` component. This component has an additional `minLength` prop that allows you to specify the minimum number of characters required before the popover is shown.
955
-
956
- ### [](#behaviour-1)Behaviour
957
-
958
- Input popovers work slightly different to normal popovers, where the focus inside the popover is **virtual**. This means that the popover content will act as if it is in focus, but the input will still be the actual focus.
959
-
960
- * The popover is opened when the input has content that meets the `minLength` requirement
961
- * The popover is closed when the input no longer meets the `minLength` requirement
962
- * Once activated, virtual focus will be set to the popover content if it contains a menu (e.g. items will highlight as if in focus, but the user can still type in the input)
963
- * When the `minLength` is 0, it will open on focus
964
- * When the escape key is pressed while it is open, it will close
965
- * When the input loses focus, it will close
966
-
967
- Hide code
968
-
969
- \[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; }
970
-
971
- <IressInputPopover
972
- activator\={<IressInput />}
973
- container\={document.body}
974
- \>
975
- <IressPanel\>
976
- A little more information about this area. </IressPanel\>
977
- </IressInputPopover\>
978
-
979
- Copy
980
-
981
- #### [](#input-popover-api)Props
982
-
983
- | Name | Description | Default | Control |
984
- | --- | --- | --- | --- |
985
- | activator\* |
986
- Content for an activator element, usually an `IressInput`.
987
-
988
- ReactElement<any, string | JSXElementConstructor<any>> | undefined
989
-
990
- | \- | \- |
991
- | align |
992
-
993
- Sets the alignment of the popover relative to the activator element.
994
-
995
- "bottom""left""right""top""auto""bottom-start""bottom-end""top-start"Show 6 more...
996
-
997
-
998
-
999
- |
1000
-
1001
- auto
1002
-
1003
- | Set object |
1004
- | autoHighlight |
1005
-
1006
- If true, the first supported is automatically highlighted.
1007
-
1008
- booleanundefined
1009
-
1010
-
1011
-
1012
- |
1013
-
1014
- true
1015
-
1016
- | Set object |
1017
- | bg |
1018
-
1019
- **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
1020
-
1021
- We recommend using the following token values for best background contrast:
1022
-
1023
- * `colour.primary.fill` for primary backgrounds that need to stand out
1024
- * `colour.primary.surface` for primary backgrounds that need to be less prominent
1025
- * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
1026
- * `colour.neutral.20` for a slightly darker background color, used in neutral state components
1027
- * `colour.system.danger.fill` for error backgrounds that need to stand out
1028
- * `colour.system.danger.surface` for error backgrounds that need to be less prominent
1029
- * `colour.system.success.fill` for success backgrounds that need to stand out
1030
- * `colour.system.success.surface` for success backgrounds that need to be less prominent
1031
- * `colour.system.warning.fill` for warning backgrounds that need to stand out
1032
- * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
1033
- * `colour.system.info.fill` for info backgrounds that need to stand out
1034
- * `colour.system.info.surface` for info backgrounds that need to be less prominent
1035
-
1036
- ResponsiveProp<ColorToken> | undefined
1037
-
1038
- | \- | Set object |
1039
- | borderRadius |
1040
-
1041
- The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
1042
-
1043
- | Chrome | Firefox | Safari | Edge | IE |
1044
- | --- | --- | --- | --- | --- |
1045
- | **4** | **4** | **5** | **12** | **9** |
1046
- | 1 _\-x-_ | | 3 _\-x-_ | | |
1047
-
1048
- ResponsiveProp<RadiusToken> | undefined
1049
-
1050
- | \- | Set object |
1051
- | children |
1052
-
1053
- The content to render within the popover.
1054
-
1055
- ReactNode
1056
-
1057
-
1058
-
1059
- | \- | Choose option...nonebasicmenu |
1060
- | color |
1061
-
1062
- 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`.
1063
-
1064
- We recommend using the following token values for best color contrast:
1065
-
1066
- * `colour.primary.onFill` used on top of `colour.primary.fill` for primary text that needs to stand out
1067
- * `colour.primary.text` used on top of `colour.primary.surface` or `colour.neutral.10` for primary text that needs to be less prominent
1068
- * `colour.neutral.70` used on top of `colour.neutral.10` or `colour.neutral.20` for muted text
1069
- * `colour.neutral.80` used on top of `colour.neutral.10` or `colour.neutral.20` for standard text
1070
- * `colour.system.danger.onFill` used on top of `colour.system.danger.fill` for error text that needs to stand out
1071
- * `colour.system.danger.text` used on top of `colour.system.danger.surface` for error text that needs to be less prominent
1072
- * `colour.system.success.onFill` used on top of `colour.system.success.fill` for success text that needs to stand out
1073
- * `colour.system.success.text` used on top of `colour.system.success.surface` for success text that needs to be less prominent
1074
- * `colour.system.warning.onFill` used on top of `colour.system.warning.fill` for warning text that needs to stand out
1075
- * `colour.system.warning.text` used on top of `colour.system.warning.surface` for warning text that needs to be less prominent
1076
- * `colour.system.info.onFill` used on top of `colour.system.info.fill` for informative text that needs to stand out
1077
- * `colour.system.info.text` used on top of `colour.system.info.surface` for informative text that needs to be less prominent
1078
-
1079
- ResponsiveProp<ColorToken> | undefined
1080
-
1081
- | \- | Set object |
1082
- | container |
1083
-
1084
- The container element to render the popover into. By default, the popover will render where its parent is rendered.
1085
-
1086
- **Note:** If the `container` doesn’t exist when the popover is mounted, ensure you pass an element directly (not a ref) and specify null as the default value before it is set. This lets it wait for the root to be available. For example, if you reference the parent element of a popover.
1087
-
1088
- FloatingUIContainerundefined
1089
-
1090
-
1091
-
1092
- | \- |
1093
-
1094
- container : {...} 0 keys
1095
-
1096
-
1097
-
1098
-
1099
-
1100
- |
1101
- | contentClassName |
1102
-
1103
- Class name of the popover content.
1104
-
1105
- stringundefined
1106
-
1107
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use `contentStyle` instead.</td></tr></tbody></table>
1108
-
1109
- | \- | Set object |
1110
- | contentStyle |
1111
-
1112
- This allows you to customise the content styling specifically, which is the floating element. It accepts an object with any of the styling properties available on `IressCSSProps`, as well as `className` and `style`.
1113
-
1114
- IressCustomiseSlotundefined
1115
-
1116
-
1117
-
1118
- | \- | Set object |
1119
- | defaultShow |
1120
-
1121
- When set to `true` the popover will be visible by default. Use for uncontrolled popovers.
1122
-
1123
- booleanundefined
1124
-
1125
-
1126
-
1127
- | \- | Set object |
1128
- | displayMode |
1129
-
1130
- Sets the display mode of popover.
1131
-
1132
- "overlay""inline"undefined
1133
-
1134
-
1135
-
1136
- |
1137
-
1138
- overlay
1139
-
1140
- | Set object |
1141
- | focusable |
1142
-
1143
- 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.
1144
-
1145
- "true""within"undefined
1146
-
1147
-
1148
-
1149
- | \- | Set object |
1150
- | focusStartIndex |
1151
-
1152
- Which index to start the focus on when the popover is opened. Only works with `type` listbox and menu. Note: The index must exist in the list of items, otherwise it will not work.
1153
-
1154
- numberundefined
1155
-
1156
-
1157
-
1158
- |
1159
-
1160
- 0
1161
-
1162
- | Set object |
1163
- | hide |
1164
-
1165
- 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.
1166
-
1167
- Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
1168
-
1169
- Notes:
1170
-
1171
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
1172
- * Consider if you can conditionally render the element instead of hiding it.
1173
-
1174
- ResponsiveProp<boolean> | undefined
1175
-
1176
- | \- | Set object |
1177
- | layerStyle |
1178
-
1179
- 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.
1180
-
1181
- * `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.
1182
- * `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.
1183
- * `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.
1184
-
1185
- ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
1186
-
1187
- | \- | Set object |
1188
- | m |
1189
-
1190
- The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
1191
-
1192
- 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.
1193
-
1194
- | Chrome | Firefox | Safari | Edge | IE |
1195
- | --- | --- | --- | --- | --- |
1196
- | **1** | **1** | **1** | **12** | **3** |
1197
-
1198
- ResponsiveProp<SpacingToken | "auto"> | undefined
1199
-
1200
- | \- | Set object |
1201
- | maxWidth |
1202
-
1203
- 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`.
1204
-
1205
- | Chrome | Firefox | Safari | Edge | IE |
1206
- | --- | --- | --- | --- | --- |
1207
- | **1** | **1** | **1** | **12** | **7** |
1208
-
1209
- 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
1210
-
1211
- | \- | Set object |
1212
- | mb |
1213
-
1214
- 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.
1215
-
1216
- It uses the spacing tokens in the design system.
1217
-
1218
- | Chrome | Firefox | Safari | Edge | IE |
1219
- | --- | --- | --- | --- | --- |
1220
- | **1** | **1** | **1** | **12** | **3** |
1221
-
1222
- ResponsiveProp<SpacingToken | "auto"> | undefined
1223
-
1224
- | \- | Set object |
1225
- | minLength |
1226
-
1227
- Min length of input activator before popover is shown, if input activator has minLength prop it will use that as a fallback. Defaults to 1 if not provided and not found in activator.
1228
-
1229
- numberundefined
1230
-
1231
-
1232
-
1233
- | \- | Set object |
1234
- | ml |
1235
-
1236
- 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.
1237
-
1238
- It uses the spacing tokens in the design system.
1239
-
1240
- | Chrome | Firefox | Safari | Edge | IE |
1241
- | --- | --- | --- | --- | --- |
1242
- | **1** | **1** | **1** | **12** | **3** |
1243
-
1244
- ResponsiveProp<SpacingToken | "auto"> | undefined
1245
-
1246
- | \- | Set object |
1247
- | mr |
1248
-
1249
- 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.
1250
-
1251
- It uses the spacing tokens in the design system.
1252
-
1253
- | Chrome | Firefox | Safari | Edge | IE |
1254
- | --- | --- | --- | --- | --- |
1255
- | **1** | **1** | **1** | **12** | **3** |
1256
-
1257
- ResponsiveProp<SpacingToken | "auto"> | undefined
1258
-
1259
- | \- | Set object |
1260
- | mt |
1261
-
1262
- 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.
1263
-
1264
- It uses the spacing tokens in the design system.
1265
-
1266
- | Chrome | Firefox | Safari | Edge | IE |
1267
- | --- | --- | --- | --- | --- |
1268
- | **1** | **1** | **1** | **12** | **3** |
1269
-
1270
- ResponsiveProp<SpacingToken | "auto"> | undefined
1271
-
1272
- | \- | Set object |
1273
- | mx |
1274
-
1275
- 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.
1276
-
1277
- 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.
1278
-
1279
- | Chrome | Firefox | Safari | Edge | IE |
1280
- | --- | --- | --- | --- | --- |
1281
- | **1** | **1** | **1** | **12** | **3** |
1282
-
1283
- ResponsiveProp<SpacingToken | "auto"> | undefined
1284
-
1285
- | \- | Set object |
1286
- | my |
1287
-
1288
- 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.
1289
-
1290
- 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.
1291
-
1292
- | Chrome | Firefox | Safari | Edge | IE |
1293
- | --- | --- | --- | --- | --- |
1294
- | **1** | **1** | **1** | **12** | **3** |
1295
-
1296
- ResponsiveProp<SpacingToken | "auto"> | undefined
1297
-
1298
- | \- | Set object |
1299
- | noGutter |
1300
-
1301
- 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.
1302
-
1303
- booleanundefined
1304
-
1305
-
1306
-
1307
- | \- | Set object |
1308
- | onActivated |
1309
-
1310
- Is called when popover is activated.
1311
-
1312
- ((e?: Event | undefined, reason?: OpenChangeReason | undefined, activeIndex?: number | null | undefined) => void) | undefined
1313
-
1314
- | \- | \- |
1315
- | onDeactivated |
1316
-
1317
- Is called when popover is deactivated.
1318
-
1319
- ((e?: Event | undefined, reason?: OpenChangeReason | undefined, activeIndex?: number | null | undefined) => void) | undefined
1320
-
1321
- | \- | \- |
1322
- | onNavigate |
1323
-
1324
- Is called when registered popover items are navigated using arrow keys. Only works with `type` listbox and menu.
1325
-
1326
- ((activeIndex: number | null) => void) | undefined
1327
-
1328
- | \- | \- |
1329
- | p |
1330
-
1331
- The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
1332
-
1333
- 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.
1334
-
1335
- | Chrome | Firefox | Safari | Edge | IE |
1336
- | --- | --- | --- | --- | --- |
1337
- | **1** | **1** | **1** | **12** | **3** |
1338
-
1339
- 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
1340
-
1341
- | \- | Set object |
1342
- | pb |
1343
-
1344
- The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
1345
-
1346
- 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.
1347
-
1348
- | Chrome | Firefox | Safari | Edge | IE |
1349
- | --- | --- | --- | --- | --- |
1350
- | **1** | **1** | **1** | **12** | **3** |
1351
-
1352
- 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
1353
-
1354
- | \- | Set object |
1355
- | pl |
1356
-
1357
- The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
1358
-
1359
- 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.
1360
-
1361
- | Chrome | Firefox | Safari | Edge | IE |
1362
- | --- | --- | --- | --- | --- |
1363
- | **1** | **1** | **1** | **12** | **3** |
1364
-
1365
- 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
1366
-
1367
- | \- | Set object |
1368
- | pr |
1369
-
1370
- The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
1371
-
1372
- 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.
1373
-
1374
- | Chrome | Firefox | Safari | Edge | IE |
1375
- | --- | --- | --- | --- | --- |
1376
- | **1** | **1** | **1** | **12** | **3** |
1377
-
1378
- 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
1379
-
1380
- | \- | Set object |
1381
- | pt |
1382
-
1383
- The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
1384
-
1385
- 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.
1386
-
1387
- | Chrome | Firefox | Safari | Edge | IE |
1388
- | --- | --- | --- | --- | --- |
1389
- | **1** | **1** | **1** | **12** | **3** |
1390
-
1391
- 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
1392
-
1393
- | \- | Set object |
1394
- | px |
1395
-
1396
- 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.
1397
-
1398
- 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.
1399
-
1400
- | Chrome | Firefox | Safari | Edge | IE |
1401
- | --- | --- | --- | --- | --- |
1402
- | **1** | **1** | **1** | **12** | **3** |
1403
-
1404
- 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
1405
-
1406
- | \- | Set object |
1407
- | py |
1408
-
1409
- 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.
1410
-
1411
- 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.
1412
-
1413
- | Chrome | Firefox | Safari | Edge | IE |
1414
- | --- | --- | --- | --- | --- |
1415
- | **1** | **1** | **1** | **12** | **3** |
1416
-
1417
- 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
1418
-
1419
- | \- | Set object |
1420
- | rowGap |
1421
-
1422
- The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
1423
-
1424
- Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
1425
-
1426
- | Chrome | Firefox | Safari | Edge | IE |
1427
- | --- | --- | --- | --- | --- |
1428
- | **47** | **52** | **10.1** | **16** | No |
1429
-
1430
- 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
1431
-
1432
- | \- | Set object |
1433
- | show |
1434
-
1435
- When set to `true` the modal will be visible. Use for controlled popovers.
1436
-
1437
- booleanundefined
1438
-
1439
-
1440
-
1441
- | \- | Set object |
1442
- | srOnly |
1443
-
1444
- 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.
1445
-
1446
- Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
1447
-
1448
- ResponsiveProp<boolean> | undefined
1449
-
1450
- | \- | Set object |
1451
- | stretch |
1452
-
1453
- 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.
1454
-
1455
- booleanundefined
1456
-
1457
-
1458
-
1459
- | \- | Set object |
1460
- | textAlign |
1461
-
1462
- The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
1463
-
1464
- | Chrome | Firefox | Safari | Edge | IE |
1465
- | --- | --- | --- | --- | --- |
1466
- | **1** | **1** | **1** | **12** | **3** |
1467
-
1468
- ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
1469
-
1470
- | \- | Set object |
1471
- | textStyle |
1472
-
1473
- Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
1474
-
1475
- * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
1476
- * `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.
1477
- * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
1478
- * `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.
1479
- * `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.
1480
- * `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.
1481
- * `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.
1482
- * `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.
1483
- * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
1484
-
1485
- 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
1486
-
1487
- | \- | Set object |
1488
- | type |
1489
-
1490
- Describes the type of content contained in the popover. If `listbox`, it will add the combobox role to the popover activator.
1491
-
1492
- "tree""dialog""menu""grid""listbox"undefined
1493
-
1494
-
1495
-
1496
- |
1497
-
1498
- listbox
1499
-
1500
- | Set object |
1501
- | width |
1502
-
1503
- 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.
1504
-
1505
- 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.
1506
-
1507
- | Chrome | Firefox | Safari | Edge | IE |
1508
- | --- | --- | --- | --- | --- |
1509
- | **1** | **1** | **1** | **12** | **4** |
1510
-
1511
- 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
1512
-
1513
- | \- | Set object |
1514
-
1515
- On this page
1516
-
1517
- * [Overview](#overview)
1518
- * [Props](#props)
1519
- * [Usage](#usage)
1520
- * [Activator](#activator)
1521
- * [The show property](#the-show-property)
1522
- * [Behaviour](#behaviour)
1523
- * [Examples](#examples)
1524
- * [Align](#align)
1525
- * [Width](#width)
1526
- * [Overflow](#overflow)
1527
- * [Container](#container)
1528
- * [IressInputPopover](#iressinputpopover)
1529
- * [Behaviour](#behaviour-1)