@iress-oss/ids-mcp-server 5.20.1 → 5.20.2

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 (68) hide show
  1. package/generated/docs/components_components-alert-docs.md +51 -47
  2. package/generated/docs/components_components-autocomplete-docs.md +48 -104
  3. package/generated/docs/components_components-autocomplete-recipes-docs.md +9 -2
  4. package/generated/docs/components_components-badge-docs.md +4 -4
  5. package/generated/docs/components_components-button-docs.md +24 -24
  6. package/generated/docs/components_components-buttongroup-docs.md +20 -20
  7. package/generated/docs/components_components-card-docs.md +70 -56
  8. package/generated/docs/components_components-card-recipes-docs.md +4 -4
  9. package/generated/docs/components_components-checkbox-docs.md +7 -21
  10. package/generated/docs/components_components-checkboxgroup-docs.md +32 -32
  11. package/generated/docs/components_components-checkboxgroup-recipes-docs.md +2 -2
  12. package/generated/docs/components_components-col-docs.md +10 -10
  13. package/generated/docs/components_components-combobox-docs.md +58 -90
  14. package/generated/docs/components_components-container-docs.md +4 -4
  15. package/generated/docs/components_components-divider-docs.md +3 -3
  16. package/generated/docs/components_components-expander-docs.md +6 -4
  17. package/generated/docs/components_components-field-docs.md +18 -18
  18. package/generated/docs/components_components-filter-docs.md +54 -54
  19. package/generated/docs/components_components-form-docs.md +94 -60
  20. package/generated/docs/components_components-form-recipes-docs.md +114 -13
  21. package/generated/docs/components_components-hide-docs.md +55 -12
  22. package/generated/docs/components_components-icon-docs.md +13 -13
  23. package/generated/docs/components_components-inline-docs.md +14 -14
  24. package/generated/docs/components_components-input-docs.md +10 -10
  25. package/generated/docs/components_components-input-recipes-docs.md +3 -3
  26. package/generated/docs/components_components-inputcurrency-docs.md +6 -6
  27. package/generated/docs/components_components-inputcurrency-recipes-docs.md +5 -2
  28. package/generated/docs/components_components-label-docs.md +6 -6
  29. package/generated/docs/components_components-menu-docs.md +40 -40
  30. package/generated/docs/components_components-menu-menuitem-docs.md +12 -12
  31. package/generated/docs/components_components-modal-docs.md +29 -13
  32. package/generated/docs/components_components-navbar-docs.md +42 -42
  33. package/generated/docs/components_components-navbar-recipes-docs.md +41 -18
  34. package/generated/docs/components_components-panel-docs.md +19 -19
  35. package/generated/docs/components_components-placeholder-docs.md +1 -1
  36. package/generated/docs/components_components-popover-docs.md +32 -30
  37. package/generated/docs/components_components-popover-recipes-docs.md +47 -131
  38. package/generated/docs/components_components-progress-docs.md +1 -1
  39. package/generated/docs/components_components-provider-docs.md +2 -2
  40. package/generated/docs/components_components-radio-docs.md +5 -5
  41. package/generated/docs/components_components-radiogroup-docs.md +29 -45
  42. package/generated/docs/components_components-readonly-docs.md +5 -5
  43. package/generated/docs/components_components-richselect-docs.md +88 -64
  44. package/generated/docs/components_components-row-docs.md +12 -12
  45. package/generated/docs/components_components-select-docs.md +8 -8
  46. package/generated/docs/components_components-skeleton-docs.md +9 -9
  47. package/generated/docs/components_components-skeleton-recipes-docs.md +2 -2
  48. package/generated/docs/components_components-skiplink-docs.md +3 -3
  49. package/generated/docs/components_components-slideout-docs.md +43 -12
  50. package/generated/docs/components_components-slider-docs.md +12 -12
  51. package/generated/docs/components_components-spinner-docs.md +3 -3
  52. package/generated/docs/components_components-stack-docs.md +14 -14
  53. package/generated/docs/components_components-table-docs.md +51 -44
  54. package/generated/docs/components_components-tabset-docs.md +10 -10
  55. package/generated/docs/components_components-tabset-tab-docs.md +4 -4
  56. package/generated/docs/components_components-tag-docs.md +8 -10
  57. package/generated/docs/components_components-text-docs.md +7 -7
  58. package/generated/docs/components_components-toaster-docs.md +12 -12
  59. package/generated/docs/components_components-toaster-toast-docs.md +30 -30
  60. package/generated/docs/components_components-toggle-docs.md +5 -5
  61. package/generated/docs/components_components-tooltip-docs.md +4 -4
  62. package/generated/docs/components_components-validationmessage-docs.md +6 -6
  63. package/generated/docs/components_foundations-typography-docs.md +7 -7
  64. package/generated/docs/components_introduction-docs.md +1 -1
  65. package/generated/docs/components_patterns-loading-docs.md +101 -24
  66. package/generated/docs/components_sandbox-docs.md +4 -0
  67. package/generated/docs/guidelines.md +7 -7
  68. package/package.json +10 -10
@@ -10,7 +10,7 @@ A panel is used to group related content.
10
10
 
11
11
  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.
12
12
 
13
- ```
13
+ Hide codedrawOpen in CodeSandbox
14
14
 
15
15
  <IressPanel\>
16
16
  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.
@@ -43,7 +43,7 @@ ReactNode
43
43
 
44
44
 
45
45
 
46
- | \- | Choose option...nonetextparagraphsstory |
46
+ | \- | childrenChoose option...nonetextparagraphsstory |
47
47
  | noBorderRadius |
48
48
 
49
49
  Setting to true will ignore the border radius set in the theme and set it to zero.
@@ -127,7 +127,7 @@ transparent
127
127
 
128
128
  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.
129
129
 
130
- ```
130
+ Hide codedrawOpen in CodeSandbox
131
131
 
132
132
  <IressStack gutter\="md"\>
133
133
  <IressPanel background\="default"\>
@@ -174,7 +174,7 @@ ReactNode
174
174
 
175
175
 
176
176
 
177
- | \- | Choose option...nonetextparagraphsstory |
177
+ | \- | childrenChoose option...nonetextparagraphsstory |
178
178
  | noBorderRadius |
179
179
 
180
180
  Setting to true will ignore the border radius set in the theme and set it to zero.
@@ -255,7 +255,7 @@ lg
255
255
 
256
256
  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.
257
257
 
258
- ```
258
+ Hide codedrawOpen in CodeSandbox
259
259
 
260
260
  <IressStack gutter\="md"\>
261
261
  <IressPanel padding\="none"\>
@@ -302,7 +302,7 @@ ReactNode
302
302
 
303
303
 
304
304
 
305
- | \- | Choose option...nonetextparagraphsstory |
305
+ | \- | childrenChoose option...nonetextparagraphsstory |
306
306
  | noBorderRadius |
307
307
 
308
308
  Setting to true will ignore the border radius set in the theme and set it to zero.
@@ -372,7 +372,7 @@ padding={{
372
372
  "lg": "lg"
373
373
  }}
374
374
 
375
- ```
375
+ Hide codedrawOpen in CodeSandbox
376
376
 
377
377
  <IressPanel
378
378
  noGutter
@@ -385,7 +385,7 @@ padding={{
385
385
  \>
386
386
  <p\>
387
387
  Current breakpoint:{' '}
388
- <kn />
388
+ <Ln />
389
389
  . </p\>
390
390
  <p\>
391
391
  <pre\>
@@ -454,7 +454,7 @@ union
454
454
 
455
455
  |
456
456
 
457
- RAW
457
+ Edit JSON
458
458
 
459
459
  padding :
460
460
 
@@ -544,7 +544,7 @@ padding={{
544
544
  }
545
545
  }}
546
546
 
547
- ```
547
+ Hide codedrawOpen in CodeSandbox
548
548
 
549
549
  <IressStack
550
550
  ref\={undefined}
@@ -589,7 +589,7 @@ padding={{
589
589
  Responsive variable padding </h2\>
590
590
  <p\>
591
591
  Current breakpoint:{' '}
592
- <kn />
592
+ <Ln />
593
593
  . </p\>
594
594
  <p\>
595
595
  <pre\>
@@ -659,7 +659,7 @@ union
659
659
 
660
660
  |
661
661
 
662
- RAW
662
+ Edit JSON
663
663
 
664
664
  padding :
665
665
 
@@ -687,7 +687,7 @@ object
687
687
 
688
688
  | \- |
689
689
 
690
- RAW
690
+ Edit JSON
691
691
 
692
692
  responsivePadding :
693
693
 
@@ -771,7 +771,7 @@ justify
771
771
 
772
772
  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.
773
773
 
774
- ```
774
+ Hide codedrawOpen in CodeSandbox
775
775
 
776
776
  <IressStack gutter\="md"\>
777
777
  <IressPanel textAlign\="center"\>
@@ -826,7 +826,7 @@ ReactNode
826
826
 
827
827
 
828
828
 
829
- | \- | Choose option...nonetextparagraphsstory |
829
+ | \- | childrenChoose option...nonetextparagraphsstory |
830
830
  | noBorderRadius |
831
831
 
832
832
  Setting to true will ignore the border radius set in the theme and set it to zero.
@@ -889,7 +889,7 @@ Panel can be set to fill its available container height by setting the `stretch`
889
889
 
890
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.
891
891
 
892
- ```
892
+ Hide codedrawOpen in CodeSandbox
893
893
 
894
894
  <IressStack
895
895
  style\={{
@@ -926,7 +926,7 @@ ReactNode
926
926
 
927
927
 
928
928
 
929
- | \- | Choose option...nonetextparagraphsstory |
929
+ | \- | childrenChoose option...nonetextparagraphsstory |
930
930
  | noBorderRadius |
931
931
 
932
932
  Setting to true will ignore the border radius set in the theme and set it to zero.
@@ -989,7 +989,7 @@ Panels can inherit the theme's border radius which may result in an undesirable
989
989
 
990
990
  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.
991
991
 
992
- ```
992
+ Hide codedrawOpen in CodeSandbox
993
993
 
994
994
  <IressPanel noBorderRadius\>
995
995
  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.
@@ -1021,7 +1021,7 @@ ReactNode
1021
1021
 
1022
1022
 
1023
1023
 
1024
- | \- | Choose option...nonetextparagraphsstory |
1024
+ | \- | childrenChoose option...nonetextparagraphsstory |
1025
1025
  | noBorderRadius |
1026
1026
 
1027
1027
  Setting to true will ignore the border radius set in the theme and set it to zero.
@@ -10,7 +10,7 @@ A placeholder is a UI element that allows you to reserve space for content that
10
10
 
11
11
  Placeholder
12
12
 
13
- ```
13
+ Hide codedrawOpen in CodeSandbox
14
14
 
15
15
  <IressPlaceholder
16
16
  height\="300"
@@ -12,7 +12,7 @@ Toggle popover
12
12
 
13
13
  A little more information about this area.
14
14
 
15
- ```
15
+ Hide codedrawOpen in CodeSandbox
16
16
 
17
17
  <IressPopover activator\={<IressButton\>Toggle popover</IressButton\>}\>
18
18
  <IressPanel className\="iress-u-text"\>
@@ -53,7 +53,7 @@ ReactReactNode
53
53
 
54
54
 
55
55
 
56
- | \- | Choose option...nonehellobasicdetailsparagraphmenu |
56
+ | \- | childrenChoose option...nonehellobasicdetailsparagraphmenu |
57
57
  | container |
58
58
 
59
59
  The container element to render the popover into. By default, the popover will render where its parent is rendered.
@@ -89,7 +89,7 @@ When set to `true`, popover toggling can only be done through the toggle method
89
89
 
90
90
  boolean
91
91
 
92
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
92
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
93
93
 
94
94
  | \- | Set boolean |
95
95
  | displayMode |
@@ -177,7 +177,7 @@ Sets the width of the popover
177
177
 
178
178
  string
179
179
 
180
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
180
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
181
181
 
182
182
  | \- | Set string |
183
183
 
@@ -196,7 +196,7 @@ Toggle popover
196
196
 
197
197
  A little more information about this area.
198
198
 
199
- ```
199
+ Hide codedrawOpen in CodeSandbox
200
200
 
201
201
  <IressPopover activator\={<IressButton\>Toggle popover</IressButton\>}\>
202
202
  <IressPanel className\="iress-u-text"\>
@@ -236,7 +236,7 @@ ReactReactNode
236
236
 
237
237
 
238
238
 
239
- | \- | Choose option...nonehellobasicdetailsparagraphmenu |
239
+ | \- | childrenChoose option...nonehellobasicdetailsparagraphmenu |
240
240
  | container |
241
241
 
242
242
  The container element to render the popover into. By default, the popover will render where its parent is rendered.
@@ -272,7 +272,7 @@ When set to `true`, popover toggling can only be done through the toggle method
272
272
 
273
273
  boolean
274
274
 
275
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
275
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
276
276
 
277
277
  | \- | Set boolean |
278
278
  | displayMode |
@@ -360,7 +360,7 @@ Sets the width of the popover
360
360
 
361
361
  string
362
362
 
363
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
363
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
364
364
 
365
365
  | \- | Set string |
366
366
 
@@ -374,14 +374,14 @@ Show popover using state
374
374
 
375
375
  A little more information about this area.
376
376
 
377
- ```
377
+ Hide codedrawOpen in CodeSandbox
378
378
 
379
379
  import {
380
380
  IressButton,
381
381
  IressPanel,
382
382
  IressPopover,
383
383
  type IressPopoverProps,
384
- } from '@iress-oss/ids-components';
384
+ } from '@/main';
385
385
  import { useState } from 'react';
386
386
  export const PopoverUsingState \= () \=> {
387
387
  const \[show, setShow\] \= useState(false);
@@ -470,7 +470,7 @@ When set to `true`, popover toggling can only be done through the toggle method
470
470
 
471
471
  boolean
472
472
 
473
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
473
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
474
474
 
475
475
  | \- | Set boolean |
476
476
  | displayMode |
@@ -558,7 +558,7 @@ Sets the width of the popover
558
558
 
559
559
  string
560
560
 
561
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
561
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
562
562
 
563
563
  | \- | Set string |
564
564
 
@@ -630,7 +630,7 @@ bottom-end
630
630
 
631
631
  Hello!
632
632
 
633
- ```
633
+ Hide codedrawOpen in CodeSandbox
634
634
 
635
635
  <div
636
636
  style\={{
@@ -786,7 +786,7 @@ ReactReactNode
786
786
 
787
787
 
788
788
 
789
- | \- | Choose option...nonehellobasicdetailsparagraphmenu |
789
+ | \- | childrenChoose option...nonehellobasicdetailsparagraphmenu |
790
790
  | container |
791
791
 
792
792
  The container element to render the popover into. By default, the popover will render where its parent is rendered.
@@ -822,7 +822,7 @@ When set to `true`, popover toggling can only be done through the toggle method
822
822
 
823
823
  boolean
824
824
 
825
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
825
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
826
826
 
827
827
  | \- | Set boolean |
828
828
  | displayMode |
@@ -910,7 +910,7 @@ Sets the width of the popover
910
910
 
911
911
  string
912
912
 
913
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
913
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
914
914
 
915
915
  | \- | Set string |
916
916
 
@@ -926,7 +926,7 @@ This is where the `--iress-width` CSS token come in, it will allow you to set th
926
926
 
927
927
  Toggle popover
928
928
 
929
- ```
929
+ Hide codedrawOpen in CodeSandbox
930
930
 
931
931
  <IressPopover
932
932
  activator\={<IressButton\>Toggle popover</IressButton\>}
@@ -1003,7 +1003,7 @@ ReactReactNode
1003
1003
 
1004
1004
 
1005
1005
 
1006
- | \- | Choose option...nonehellobasicdetailsparagraphmenu |
1006
+ | \- | childrenChoose option...nonehellobasicdetailsparagraphmenu |
1007
1007
  | container |
1008
1008
 
1009
1009
  The container element to render the popover into. By default, the popover will render where its parent is rendered.
@@ -1043,7 +1043,7 @@ When set to `true`, popover toggling can only be done through the toggle method
1043
1043
 
1044
1044
  boolean
1045
1045
 
1046
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
1046
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
1047
1047
 
1048
1048
  | \- | Set boolean |
1049
1049
  | displayMode |
@@ -1131,7 +1131,7 @@ Sets the width of the popover
1131
1131
 
1132
1132
  string
1133
1133
 
1134
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
1134
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
1135
1135
 
1136
1136
  | \- | \- |
1137
1137
 
@@ -1147,7 +1147,7 @@ Normal popover
1147
1147
 
1148
1148
  Fixed height popover
1149
1149
 
1150
- ```
1150
+ Hide codedrawOpen in CodeSandbox
1151
1151
 
1152
1152
  <IressInline gutter\="md"\>
1153
1153
  <IressPopover
@@ -1217,7 +1217,7 @@ ReactReactNode
1217
1217
 
1218
1218
 
1219
1219
 
1220
- | \- | Choose option...nonehellobasicdetailsparagraphmenu |
1220
+ | \- | childrenChoose option...nonehellobasicdetailsparagraphmenu |
1221
1221
  | container |
1222
1222
 
1223
1223
  The container element to render the popover into. By default, the popover will render where its parent is rendered.
@@ -1257,7 +1257,7 @@ When set to `true`, popover toggling can only be done through the toggle method
1257
1257
 
1258
1258
  boolean
1259
1259
 
1260
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
1260
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
1261
1261
 
1262
1262
  | \- | Set boolean |
1263
1263
  | displayMode |
@@ -1345,7 +1345,7 @@ Sets the width of the popover
1345
1345
 
1346
1346
  string
1347
1347
 
1348
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
1348
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
1349
1349
 
1350
1350
  | \- | Set string |
1351
1351
 
@@ -1363,8 +1363,10 @@ Toggle
1363
1363
 
1364
1364
  This content will be rendered in the parent container
1365
1365
 
1366
- ```
1366
+ Hide codedrawOpen in CodeSandbox
1367
1367
 
1368
+ import { useState } from 'react';
1369
+ import { IressButton, IressPanel, IressPopover } from '@/main';
1368
1370
  export const PopoverParentContainer \= () \=> {
1369
1371
  const \[parentContainer, setParentContainer\] \= useState<HTMLDivElement | null\>(
1370
1372
  null,
@@ -1415,7 +1417,7 @@ ReactReactNode
1415
1417
 
1416
1418
 
1417
1419
 
1418
- | \- | Choose option...nonehellobasicdetailsparagraphmenu |
1420
+ | \- | childrenChoose option...nonehellobasicdetailsparagraphmenu |
1419
1421
  | container |
1420
1422
 
1421
1423
  The container element to render the popover into. By default, the popover will render where its parent is rendered.
@@ -1451,7 +1453,7 @@ When set to `true`, popover toggling can only be done through the toggle method
1451
1453
 
1452
1454
  boolean
1453
1455
 
1454
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
1456
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
1455
1457
 
1456
1458
  | \- | Set boolean |
1457
1459
  | displayMode |
@@ -1539,7 +1541,7 @@ Sets the width of the popover
1539
1541
 
1540
1542
  string
1541
1543
 
1542
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
1544
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
1543
1545
 
1544
1546
  | \- | Set string |
1545
1547
 
@@ -1561,7 +1563,7 @@ Input popovers work slightly different to normal popovers, where the focus insid
1561
1563
 
1562
1564
  [](./iframe.html?id=components-popover-inputpopover--activator)
1563
1565
 
1564
- ```
1566
+ Hide codedrawOpen in CodeSandbox
1565
1567
 
1566
1568
  <IressInputPopover
1567
1569
  activator\={<ForwardedInput />}
@@ -1609,7 +1611,7 @@ string
1609
1611
 
1610
1612
 
1611
1613
 
1612
- | \- | Choose option...nonebasicmenu |
1614
+ | \- | childrenChoose option...nonebasicmenu |
1613
1615
  | container |
1614
1616
 
1615
1617
  object
@@ -56,130 +56,39 @@ role=nav
56
56
  * the `esc` key is pressed
57
57
  * the popover panel loses focus
58
58
 
59
- ```
60
-
61
- <IressContainer className\="iress-u-stack iress--gutter--md"\>
62
- <IressRow
63
- gutter\="lg"
64
- verticalAlign\="middle"
65
- \>
66
- <IressCol span\="2"\>
67
- <IressPopover
68
- activator\={<IressButton fluid\>role=menu</IressButton\>}
69
- container\={document.body}
70
- type\="menu"
71
- \>
72
- <IressMenu
73
- defaultSelected\={3}
74
- role\="menu"
75
- \>
76
- <IressMenuItem value\={0}\>
77
- New task </IressMenuItem\>
78
- <IressMenuItem value\={1}\>
79
- Send prospect welcome pack </IressMenuItem\>
80
- <IressMenuItem value\={2}\>
81
- Book in Discovery meeting </IressMenuItem\>
82
- <IressMenuItem value\={3}\>
83
- Prospect proceeding </IressMenuItem\>
84
- </IressMenu\>
85
- </IressPopover\>
86
- </IressCol\>
87
- <IressCol\>
88
- <MenuInPopoverRoleDescription role\="menu" />
89
- </IressCol\>
90
- </IressRow\>
91
- <IressRow
92
- gutter\="lg"
93
- verticalAlign\="middle"
94
- \>
95
- <IressCol span\="2"\>
96
- <IressPopover
97
- activator\={<IressButton fluid\>role=list</IressButton\>}
98
- container\={document.body}
99
- \>
100
- <IressMenu
101
- defaultSelected\={3}
102
- role\="list"
103
- \>
104
- <IressMenuItem value\={0}\>
105
- New task </IressMenuItem\>
106
- <IressMenuItem value\={1}\>
107
- Send prospect welcome pack </IressMenuItem\>
108
- <IressMenuItem value\={2}\>
109
- Book in Discovery meeting </IressMenuItem\>
110
- <IressMenuItem value\={3}\>
111
- Prospect proceeding </IressMenuItem\>
112
- </IressMenu\>
113
- </IressPopover\>
114
- </IressCol\>
115
- <IressCol\>
116
- <MenuInPopoverRoleDescription role\="list" />
117
- </IressCol\>
118
- </IressRow\>
119
- <IressRow
120
- gutter\="lg"
121
- verticalAlign\="middle"
122
- \>
123
- <IressCol span\="2"\>
124
- <IressPopover
125
- activator\={<IressButton fluid\>role=listbox</IressButton\>}
126
- container\={document.body}
127
- type\="listbox"
128
- \>
129
- <IressMenu
130
- defaultSelected\={3}
131
- role\="listbox"
132
- \>
133
- <IressMenuItem value\={0}\>
134
- New task </IressMenuItem\>
135
- <IressMenuItem value\={1}\>
136
- Send prospect welcome pack </IressMenuItem\>
137
- <IressMenuItem value\={2}\>
138
- Book in Discovery meeting </IressMenuItem\>
139
- <IressMenuItem value\={3}\>
140
- Prospect proceeding </IressMenuItem\>
141
- </IressMenu\>
142
- </IressPopover\>
143
- </IressCol\>
144
- <IressCol\>
145
- <MenuInPopoverRoleDescription role\="listbox"\>
146
- <IressToggle
147
- className\="iress-mb--md"
148
- onChange\={() \=> {}}
149
- \>
150
- Multi-select </IressToggle\>
151
- </MenuInPopoverRoleDescription\>
152
- </IressCol\>
153
- </IressRow\>
154
- <IressRow
155
- gutter\="lg"
156
- verticalAlign\="middle"
157
- \>
158
- <IressCol span\="2"\>
159
- <IressPopover
160
- activator\={<IressButton fluid\>role=nav</IressButton\>}
161
- container\={document.body}
162
- \>
163
- <IressMenu
164
- defaultSelected\={3}
165
- role\="nav"
166
- \>
167
- <IressMenuItem value\={0}\>
168
- New task </IressMenuItem\>
169
- <IressMenuItem value\={1}\>
170
- Send prospect welcome pack </IressMenuItem\>
171
- <IressMenuItem value\={2}\>
172
- Book in Discovery meeting </IressMenuItem\>
173
- <IressMenuItem value\={3}\>
174
- Prospect proceeding </IressMenuItem\>
175
- </IressMenu\>
176
- </IressPopover\>
177
- </IressCol\>
178
- <IressCol\>
179
- <MenuInPopoverRoleDescription role\="nav" />
180
- </IressCol\>
181
- </IressRow\>
182
- </IressContainer\>
59
+ Hide codedrawOpen in CodeSandbox
60
+
61
+ {
62
+ args: {
63
+ menuChildren: 'selectable'
64
+ },
65
+ argTypes: {
66
+ ...disableArgTypes(\['activator', 'children', 'role', 'type'\])
67
+ },
68
+ render: ({
69
+ menuChildren,
70
+ ...args
71
+ }) \=> {
72
+ const \[multiSelect, setMultiSelect\] \= useState(false);
73
+ return <IressContainer className\="iress-u-stack iress--gutter--md"\>
74
+ {MENU\_ROLES.map(role \=> <IressRow gutter\={IressRow.Gutter.Lg} key\={role} verticalAlign\={IressRow.VerticalAlign.Middle}\>
75
+ <IressCol span\={IressCol.Span.Two}\>
76
+ <IressPopover {...args} activator\={<IressButton fluid\>role={role}</IressButton\>} container\={document.body} type\={role \=== 'listbox' || role \=== 'menu' ? role : undefined}\>
77
+ <IressMenu role\={role} defaultSelected\={3} multiSelect\={multiSelect && role \=== 'listbox'}\>
78
+ {menuChildren}
79
+ </IressMenu\>
80
+ </IressPopover\>
81
+ </IressCol\>
82
+ <IressCol\>
83
+ <MenuInPopoverRoleDescription role\={role}\>
84
+ {role \=== 'listbox' && <IressToggle className\="iress-mb--md" checked\={multiSelect} onChange\={() \=> setMultiSelect(!multiSelect)}\>
85
+ Multi-select </IressToggle\>}
86
+ </MenuInPopoverRoleDescription\>
87
+ </IressCol\>
88
+ </IressRow\>)}
89
+ </IressContainer\>;
90
+ }
91
+ }
183
92
 
184
93
  ```
185
94
 
@@ -250,7 +159,7 @@ When set to `true`, popover toggling can only be done through the toggle method
250
159
 
251
160
  boolean
252
161
 
253
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
162
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
254
163
 
255
164
  | \- | Set boolean |
256
165
  | displayMode |
@@ -290,7 +199,7 @@ string
290
199
 
291
200
 
292
201
 
293
- | \- | Choose option...nonebasiccomplexnavigationheadingsdividersslotsextraInformationselectable |
202
+ | \- | menuChildrenChoose option...nonebasiccomplexnavigationheadingsdividersslotsextraInformationselectable |
294
203
  | onActivated |
295
204
 
296
205
  Is called when popover is activated.
@@ -350,7 +259,7 @@ Sets the width of the popover
350
259
 
351
260
  string
352
261
 
353
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
262
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
354
263
 
355
264
  | \- | Set string |
356
265
 
@@ -373,8 +282,15 @@ The `usePopoverItem` hook returns an object with the following properties:
373
282
 
374
283
  Toggle
375
284
 
376
- ```
285
+ Hide codedrawOpen in CodeSandbox
377
286
 
287
+ import { useState } from 'react';
288
+ import {
289
+ ButtonCssClass,
290
+ IressButton,
291
+ IressPopover,
292
+ usePopoverItem,
293
+ } from '@/main';
378
294
  const CountButton \= () \=> {
379
295
  const \[count, setCount\] \= useState(0);
380
296
  const { isActiveInPopover, ...popoverItemProps } \= usePopoverItem('Count', {
@@ -477,7 +393,7 @@ When set to `true`, popover toggling can only be done through the toggle method
477
393
 
478
394
  boolean
479
395
 
480
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
396
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use a controlled `show` prop instead.</td></tr></tbody></table>
481
397
 
482
398
  | \- | Set boolean |
483
399
  | displayMode |
@@ -515,7 +431,7 @@ boolean
515
431
 
516
432
  \-
517
433
 
518
- | \- | Choose option...nonebasiccomplexnavigationheadingsdividersslotsextraInformationselectable |
434
+ | \- | menuChildrenChoose option...nonebasiccomplexnavigationheadingsdividersslotsextraInformationselectable |
519
435
  | onActivated |
520
436
 
521
437
  Is called when popover is activated.
@@ -570,6 +486,6 @@ Sets the width of the popover
570
486
 
571
487
  string
572
488
 
573
- <table class="css-3nr4py"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
489
+ <table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: use the `--iress-max-width` design token instead.</td></tr></tbody></table>
574
490
 
575
491
  | \- | Set string |