@economic/taco 1.23.1 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. package/dist/components/Button/Button.d.ts +13 -0
  2. package/dist/components/Dialog/Dialog.d.ts +1 -1
  3. package/dist/components/Dialog/components/DialogDrawer.d.ts +10 -0
  4. package/dist/components/Drawer/Context.d.ts +18 -0
  5. package/dist/components/Drawer/Drawer.d.ts +51 -0
  6. package/dist/components/Drawer/components/Content.d.ts +53 -0
  7. package/dist/components/Drawer/components/Trigger.d.ts +3 -0
  8. package/dist/components/Drawer/images.d.ts +1 -0
  9. package/dist/components/Drawer/types.d.ts +2 -0
  10. package/dist/components/Drawer/util.d.ts +7 -0
  11. package/dist/components/Header/Header.d.ts +28 -0
  12. package/dist/components/Header/components/AgreementSelector.d.ts +18 -0
  13. package/dist/components/Header/components/Agreements/AgreementDetails.d.ts +20 -0
  14. package/dist/components/Header/components/Button.d.ts +11 -0
  15. package/dist/components/Header/components/Link.d.ts +21 -0
  16. package/dist/components/Header/components/Logo.d.ts +3 -0
  17. package/dist/components/Header/components/MenuButton.d.ts +5 -0
  18. package/dist/components/Header/components/PrimaryNavigation.d.ts +3 -0
  19. package/dist/components/Header/components/SecondaryNavigation.d.ts +3 -0
  20. package/dist/components/Layout/Layout.d.ts +16 -0
  21. package/dist/components/Layout/components/Content.d.ts +3 -0
  22. package/dist/components/Layout/components/Context.d.ts +6 -0
  23. package/dist/components/Layout/components/Page.d.ts +3 -0
  24. package/dist/components/Layout/components/Sidebar.d.ts +3 -0
  25. package/dist/components/Layout/components/Top.d.ts +7 -0
  26. package/dist/components/Navigation2/Navigation2.d.ts +17 -0
  27. package/dist/components/Navigation2/components/Content.d.ts +3 -0
  28. package/dist/components/Navigation2/components/Group.d.ts +9 -0
  29. package/dist/components/Navigation2/components/Link.d.ts +24 -0
  30. package/dist/components/Navigation2/components/Section.d.ts +7 -0
  31. package/dist/components/Navigation2/components/util.d.ts +1 -0
  32. package/dist/components/Provider/Localization.d.ts +32 -16
  33. package/dist/esm/packages/taco/src/components/Button/Button.js +2 -0
  34. package/dist/esm/packages/taco/src/components/Button/Button.js.map +1 -1
  35. package/dist/esm/packages/taco/src/components/Button/util.js +5 -0
  36. package/dist/esm/packages/taco/src/components/Button/util.js.map +1 -1
  37. package/dist/esm/packages/taco/src/components/Card/Card.js +1 -1
  38. package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -1
  39. package/dist/esm/packages/taco/src/components/Dialog/Dialog.js +3 -3
  40. package/dist/esm/packages/taco/src/components/Dialog/Dialog.js.map +1 -1
  41. package/dist/esm/packages/taco/src/components/Dialog/components/{Drawer.js → DialogDrawer.js} +4 -4
  42. package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js.map +1 -0
  43. package/dist/esm/packages/taco/src/components/Drawer/Context.js +19 -0
  44. package/dist/esm/packages/taco/src/components/Drawer/Context.js.map +1 -0
  45. package/dist/esm/packages/taco/src/components/Drawer/Drawer.js +102 -0
  46. package/dist/esm/packages/taco/src/components/Drawer/Drawer.js.map +1 -0
  47. package/dist/esm/packages/taco/src/components/Drawer/components/Content.js +292 -0
  48. package/dist/esm/packages/taco/src/components/Drawer/components/Content.js.map +1 -0
  49. package/dist/esm/packages/taco/src/components/Drawer/components/Trigger.js +12 -0
  50. package/dist/esm/packages/taco/src/components/Drawer/components/Trigger.js.map +1 -0
  51. package/dist/esm/packages/taco/src/components/Drawer/util.js +37 -0
  52. package/dist/esm/packages/taco/src/components/Drawer/util.js.map +1 -0
  53. package/dist/esm/packages/taco/src/components/Header/Header.js +30 -0
  54. package/dist/esm/packages/taco/src/components/Header/Header.js.map +1 -0
  55. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js +136 -0
  56. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js.map +1 -0
  57. package/dist/esm/packages/taco/src/components/Header/components/Agreements/AgreementDetails.js +73 -0
  58. package/dist/esm/packages/taco/src/components/Header/components/Agreements/AgreementDetails.js.map +1 -0
  59. package/dist/esm/packages/taco/src/components/Header/components/Button.js +24 -0
  60. package/dist/esm/packages/taco/src/components/Header/components/Button.js.map +1 -0
  61. package/dist/esm/packages/taco/src/components/Header/components/Link.js +49 -0
  62. package/dist/esm/packages/taco/src/components/Header/components/Link.js.map +1 -0
  63. package/dist/esm/packages/taco/src/components/Header/components/Logo.js +73 -0
  64. package/dist/esm/packages/taco/src/components/Header/components/Logo.js.map +1 -0
  65. package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js +17 -0
  66. package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js.map +1 -0
  67. package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js +134 -0
  68. package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js.map +1 -0
  69. package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js +13 -0
  70. package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js.map +1 -0
  71. package/dist/esm/packages/taco/src/components/Layout/Layout.js +28 -0
  72. package/dist/esm/packages/taco/src/components/Layout/Layout.js.map +1 -0
  73. package/dist/esm/packages/taco/src/components/Layout/components/Content.js +13 -0
  74. package/dist/esm/packages/taco/src/components/Layout/components/Content.js.map +1 -0
  75. package/dist/esm/packages/taco/src/components/Layout/components/Context.js +9 -0
  76. package/dist/esm/packages/taco/src/components/Layout/components/Context.js.map +1 -0
  77. package/dist/esm/packages/taco/src/components/Layout/components/Page.js +13 -0
  78. package/dist/esm/packages/taco/src/components/Layout/components/Page.js.map +1 -0
  79. package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js +83 -0
  80. package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -0
  81. package/dist/esm/packages/taco/src/components/Layout/components/Top.js +15 -0
  82. package/dist/esm/packages/taco/src/components/Layout/components/Top.js.map +1 -0
  83. package/dist/esm/packages/taco/src/components/Menu/Menu.js +2 -2
  84. package/dist/esm/packages/taco/src/components/Menu/components/Content.js +1 -1
  85. package/dist/esm/packages/taco/src/components/Menu/components/Header.js +1 -1
  86. package/dist/esm/packages/taco/src/components/Menu/components/Item.js +1 -1
  87. package/dist/esm/packages/taco/src/components/Menu/components/Link.js +1 -1
  88. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +1 -1
  89. package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js +31 -0
  90. package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js.map +1 -0
  91. package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js +20 -0
  92. package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js.map +1 -0
  93. package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js +46 -0
  94. package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js.map +1 -0
  95. package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js +72 -0
  96. package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js.map +1 -0
  97. package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js +25 -0
  98. package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js.map +1 -0
  99. package/dist/esm/packages/taco/src/components/Navigation2/components/util.js +12 -0
  100. package/dist/esm/packages/taco/src/components/Navigation2/components/util.js.map +1 -0
  101. package/dist/esm/packages/taco/src/components/Provider/Localization.js +20 -10
  102. package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
  103. package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js +4 -1
  104. package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js.map +1 -1
  105. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +1 -1
  106. package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js +1 -1
  107. package/dist/esm/packages/taco/src/components/Table/util/renderRow.js +1 -1
  108. package/dist/esm/packages/taco/src/components/Table2/components/EditModeButton.js +1 -1
  109. package/dist/esm/packages/taco/src/components/Table2/components/Search.js +1 -1
  110. package/dist/esm/packages/taco/src/components/Table2/components/filters/FiltersButton.js +1 -1
  111. package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js +3 -1
  112. package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js.map +1 -1
  113. package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js +6 -0
  114. package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js.map +1 -0
  115. package/dist/esm/packages/taco/src/hooks/useMatchMedia.js +18 -0
  116. package/dist/esm/packages/taco/src/hooks/useMatchMedia.js.map +1 -0
  117. package/dist/esm/packages/taco/src/index.js +11 -1
  118. package/dist/esm/packages/taco/src/index.js.map +1 -1
  119. package/dist/esm/packages/taco/src/primitives/Collection/Collection.js +3 -0
  120. package/dist/esm/packages/taco/src/primitives/Collection/Collection.js.map +1 -0
  121. package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js +4 -1
  122. package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js.map +1 -1
  123. package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js +1 -0
  124. package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js.map +1 -1
  125. package/dist/esm/packages/taco/src/utils/hooks/useDraggable.js +8 -1
  126. package/dist/esm/packages/taco/src/utils/hooks/useDraggable.js.map +1 -1
  127. package/dist/hooks/useIsLargeScreen.d.ts +1 -0
  128. package/dist/hooks/useMatchMedia.d.ts +1 -0
  129. package/dist/index.d.ts +8 -0
  130. package/dist/taco.cjs.development.js +1981 -737
  131. package/dist/taco.cjs.development.js.map +1 -1
  132. package/dist/taco.cjs.production.min.js +1 -1
  133. package/dist/taco.cjs.production.min.js.map +1 -1
  134. package/package.json +3 -2
  135. package/tailwind.config.js +1 -0
  136. package/types.json +936 -182
  137. package/dist/components/Accordion/Accordion.stories.d.ts +0 -26
  138. package/dist/components/Alert/Alert.stories.d.ts +0 -36
  139. package/dist/components/AlertDialog/AlertDialog.stories.d.ts +0 -10
  140. package/dist/components/Backdrop/Backdrop.stories.d.ts +0 -7
  141. package/dist/components/BadgeIcon/BadgeIcon.stories.d.ts +0 -12
  142. package/dist/components/Banner/Banner.stories.d.ts +0 -5
  143. package/dist/components/Button/Button.stories.d.ts +0 -77
  144. package/dist/components/Calendar/Calendar.stories.d.ts +0 -13
  145. package/dist/components/Card/Card.stories.d.ts +0 -12
  146. package/dist/components/Datepicker/Datepicker.stories.d.ts +0 -43
  147. package/dist/components/Dialog/Dialog.stories.d.ts +0 -57
  148. package/dist/components/Dialog/components/Drawer.d.ts +0 -10
  149. package/dist/components/Field/Field.stories.d.ts +0 -14
  150. package/dist/components/Form/Form.stories.d.ts +0 -14
  151. package/dist/components/Group/Group.stories.d.ts +0 -23
  152. package/dist/components/Hanger/Hanger.stories.d.ts +0 -11
  153. package/dist/components/HoverCard/HoverCard.stories.d.ts +0 -16
  154. package/dist/components/Icon/Icon.stories.d.ts +0 -8
  155. package/dist/components/IconButton/IconButton.stories.d.ts +0 -12
  156. package/dist/components/Input/Input.stories.d.ts +0 -17
  157. package/dist/components/Listbox/Listbox.stories.d.ts +0 -44
  158. package/dist/components/Menu/Menu.stories.d.ts +0 -73
  159. package/dist/components/Navigation/Navigation.stories.d.ts +0 -7
  160. package/dist/components/Pagination/Pagination.stories.d.ts +0 -28
  161. package/dist/components/Popover/Popover.stories.d.ts +0 -29
  162. package/dist/components/Progress/Progress.stories.d.ts +0 -9
  163. package/dist/components/RadioGroup/RadioGroup.stories.d.ts +0 -49
  164. package/dist/components/ScrollArea/ScrollArea.stories.d.ts +0 -8
  165. package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -38
  166. package/dist/components/Select/Select.stories.d.ts +0 -35
  167. package/dist/components/Select2/Select2.stories.d.ts +0 -57
  168. package/dist/components/Spinner/Spinner.stories.d.ts +0 -15
  169. package/dist/components/Table/Table.stories.d.ts +0 -32
  170. package/dist/components/Table2/Table2.stories.d.ts +0 -48
  171. package/dist/components/Tabs/Tabs.stories.d.ts +0 -19
  172. package/dist/components/Tag/Tag.stories.d.ts +0 -9
  173. package/dist/components/Textarea/Textarea.stories.d.ts +0 -40
  174. package/dist/components/Toast/Toast.stories.d.ts +0 -12
  175. package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -26
  176. package/dist/components/Tour/Tour.stories.d.ts +0 -11
  177. package/dist/css/Typography.stories.d.ts +0 -6
  178. package/dist/esm/packages/taco/src/components/Dialog/components/Drawer.js.map +0 -1
  179. package/dist/hooks/useIsRefOverflowing.d.ts +0 -2
  180. package/dist/primitives/Collection/Collection.stories.d.ts +0 -8
  181. package/dist/primitives/Listbox2/Listbox2.stories.d.ts +0 -16
  182. package/dist/primitives/Sortable/Sortable.stories.d.ts +0 -14
package/types.json CHANGED
@@ -221,6 +221,107 @@
221
221
  }
222
222
  ]
223
223
  },
224
+ "DrawerContext": {
225
+ "props": [
226
+ {
227
+ "name": "closeOnEscape",
228
+ "optional": false,
229
+ "type": "boolean"
230
+ },
231
+ {
232
+ "name": "focusTrap",
233
+ "optional": true,
234
+ "type": "boolean"
235
+ },
236
+ {
237
+ "name": "onClose",
238
+ "optional": true,
239
+ "type": {
240
+ "returnValue": "void"
241
+ }
242
+ },
243
+ {
244
+ "name": "onResize",
245
+ "optional": true,
246
+ "type": {
247
+ "arguments": {
248
+ "delta": "number"
249
+ },
250
+ "returnValue": "void"
251
+ }
252
+ },
253
+ {
254
+ "name": "open",
255
+ "optional": true,
256
+ "type": "boolean"
257
+ },
258
+ {
259
+ "name": "outlet",
260
+ "optional": true,
261
+ "type": "HTMLElement"
262
+ },
263
+ {
264
+ "name": "props",
265
+ "optional": false,
266
+ "type": {
267
+ "type": "reflection",
268
+ "declaration": {
269
+ "id": 1325,
270
+ "name": "__type",
271
+ "kind": 65536,
272
+ "kindString": "Type literal",
273
+ "flags": {
274
+ "isExported": true
275
+ }
276
+ }
277
+ }
278
+ },
279
+ {
280
+ "name": "ref",
281
+ "optional": false,
282
+ "type": "React.Ref<HTMLElement>"
283
+ },
284
+ {
285
+ "name": "setOpen",
286
+ "optional": true,
287
+ "type": {
288
+ "arguments": {
289
+ "open": "boolean"
290
+ },
291
+ "returnValue": "void"
292
+ }
293
+ },
294
+ {
295
+ "name": "showCloseButton",
296
+ "optional": false,
297
+ "type": "boolean"
298
+ },
299
+ {
300
+ "name": "size",
301
+ "optional": false,
302
+ "type": "DrawerSize"
303
+ },
304
+ {
305
+ "name": "variant",
306
+ "optional": false,
307
+ "type": "DrawerVariant"
308
+ }
309
+ ]
310
+ },
311
+ "LayoutContextValue": {
312
+ "props": [
313
+ {
314
+ "name": "setSidebarOpen",
315
+ "optional": false,
316
+ "type": "React.Dispatch<React.SetStateAction<boolean>>"
317
+ },
318
+ {
319
+ "name": "sidebarOpen",
320
+ "optional": false,
321
+ "type": "boolean"
322
+ }
323
+ ]
324
+ },
224
325
  "Select2ContextProps": {
225
326
  "props": [
226
327
  {
@@ -464,6 +565,60 @@
464
565
  },
465
566
  "DialogFooterProps": "HTMLAttributes<HTMLDivElement>",
466
567
  "DialogTitleProps": "HTMLAttributes<HTMLHeadingElement>",
568
+ "DrawerCloseProps": "HTMLAttributes<HTMLButtonElement>",
569
+ "DrawerContentProps": {
570
+ "intersections": [
571
+ "Omit<HTMLAttributes<HTMLDivElement>, 'children'>"
572
+ ],
573
+ "props": [
574
+ {
575
+ "description": "An accessible label to be announced when the side drawer is opened",
576
+ "name": "aria-label",
577
+ "optional": false,
578
+ "type": "string"
579
+ },
580
+ {
581
+ "name": "children",
582
+ "optional": false,
583
+ "type": [
584
+ "Omit<React.ReactNode, 'Function'>",
585
+ {
586
+ "arguments": {
587
+ "props": "DrawerContentRenderProps"
588
+ },
589
+ "returnValue": "Element"
590
+ }
591
+ ]
592
+ }
593
+ ]
594
+ },
595
+ "DrawerContentRenderProps": {
596
+ "props": [
597
+ {
598
+ "name": "close",
599
+ "optional": false,
600
+ "type": {
601
+ "returnValue": "void"
602
+ }
603
+ }
604
+ ]
605
+ },
606
+ "DrawerFooterProps": "HTMLAttributes<HTMLDivElement>",
607
+ "DrawerInnerContentProps": {
608
+ "intersections": [
609
+ "HTMLAttributes<HTMLDivElement>"
610
+ ],
611
+ "props": [
612
+ {
613
+ "description": "Consumer might want to use innerContent component to apply default paddings, but want to implement custom scrolling behaviour,\ndefault value - true",
614
+ "name": "isScrollable",
615
+ "optional": true,
616
+ "type": "boolean"
617
+ }
618
+ ]
619
+ },
620
+ "DrawerTitleProps": "HTMLAttributes<HTMLHeadingElement>",
621
+ "LayoutContentProps": "HTMLAttributes<HTMLDivElement>",
467
622
  "MenuContentProps": {
468
623
  "intersections": [
469
624
  "Omit<DropdownMenuContentProps, 'children' | 'side'>"
@@ -486,7 +641,8 @@
486
641
  "type": "Placement"
487
642
  }
488
643
  ]
489
- }
644
+ },
645
+ "Navigation2ContentProps": "LiHTMLAttributes<HTMLLIElement>"
490
646
  },
491
647
  "Footer": {
492
648
  "AlertDialogActionProps": "HTMLAttributes<HTMLButtonElement>",
@@ -496,6 +652,7 @@
496
652
  "Trigger": {
497
653
  "AlertDialogTriggerProps": "HTMLAttributes<HTMLButtonElement>",
498
654
  "DialogTriggerProps": "HTMLAttributes<HTMLButtonElement>",
655
+ "DrawerTriggerProps": "HTMLAttributes<HTMLButtonElement>",
499
656
  "MenuTriggerProps": {
500
657
  "intersections": [
501
658
  "Omit<HTMLAttributes<HTMLButtonElement>, 'children'>"
@@ -613,73 +770,18 @@
613
770
  "Button": {
614
771
  "ButtonProps": {
615
772
  "intersections": [
616
- "ButtonPrimitive.ButtonProps"
773
+ "Omit<IconButtonProps, 'appearance' | 'aria-label'>"
617
774
  ],
618
775
  "props": [
619
776
  {
620
- "description": "Appearance will change the style of the button",
621
- "name": "appearance",
622
- "optional": true,
623
- "type": "Appearance"
624
- },
625
- {
626
- "description": "Dialog component associated with the button, clicking the button will open the dialog.\n*Note* that `onClick` event on button won't be handled, as in this case, the purpose of\nthe button should be only to open the associated dialog when clicked.",
627
- "name": "dialog",
628
- "optional": true,
629
- "type": {
630
- "arguments": {
631
- "props": "Partial<DialogProps>"
632
- },
633
- "returnValue": "Element"
634
- }
635
- },
636
- {
637
- "description": "If fluid, button expands to the width of it's container",
638
- "name": "fluid",
639
- "optional": true,
640
- "type": "boolean"
641
- },
642
- {
643
- "description": "Hanger component associated with the button.",
644
- "name": "hanger",
645
- "optional": true,
646
- "type": {
647
- "arguments": {
648
- "props": "Partial<HangerProps>"
649
- },
650
- "returnValue": "Element"
651
- }
652
- },
653
- {
654
- "description": "Menu component associated with the button.",
655
- "name": "menu",
656
- "optional": true,
657
- "type": {
658
- "arguments": {
659
- "props": "Partial<MenuProps>"
660
- },
661
- "returnValue": "Element"
662
- }
663
- },
664
- {
665
- "description": "Popover component associated with the button, clicking the button will open the popover.\n*Note* that `onClick` event on button won't be handled, as in this case, the purpose of\nthe button should be only to open the associated popover when clicked.",
666
- "name": "popover",
667
- "optional": true,
668
- "type": {
669
- "arguments": {
670
- "props": "Partial<PopoverProps>"
671
- },
672
- "returnValue": "Element"
673
- }
777
+ "name": "aria-label",
778
+ "optional": false,
779
+ "type": "string"
674
780
  },
675
781
  {
676
- "description": "A tooltip to show when hovering over the button",
677
- "name": "tooltip",
782
+ "name": "as",
678
783
  "optional": true,
679
- "type": [
680
- "string",
681
- "Element"
682
- ]
784
+ "type": "string"
683
785
  }
684
786
  ]
685
787
  }
@@ -1181,7 +1283,7 @@
1181
1283
  "'lg'"
1182
1284
  ]
1183
1285
  },
1184
- "Drawer": {
1286
+ "DialogDrawer": {
1185
1287
  "DialogDrawerProps": {
1186
1288
  "intersections": [
1187
1289
  "Omit<HTMLAttributes<HTMLDivElement>, 'onAnimationStart' | 'onDragStart' | 'onDragEnd' | 'onDrag'>"
@@ -1217,156 +1319,778 @@
1217
1319
  "Extra": {
1218
1320
  "DialogExtraProps": "HTMLAttributes<HTMLDivElement>"
1219
1321
  },
1220
- "Field": {
1221
- "FieldProps": {
1322
+ "Drawer": {
1323
+ "DrawerProps": {
1222
1324
  "intersections": [
1223
- "LabelHTMLAttributes<HTMLLabelElement>"
1325
+ "Omit<DialogProps, 'draggable' | 'size'>"
1224
1326
  ],
1225
1327
  "props": [
1226
1328
  {
1227
- "description": "Content of the field",
1228
- "name": "children",
1229
- "optional": false,
1230
- "type": "React.ReactNode"
1329
+ "name": "children",
1330
+ "optional": false,
1331
+ "type": [
1332
+ "React.ReactNode",
1333
+ "React.ReactNode[]"
1334
+ ]
1335
+ },
1336
+ {
1337
+ "description": "className for children container, needed for embedded version, in cases where we might need to control children height",
1338
+ "name": "className",
1339
+ "optional": true,
1340
+ "type": "string"
1341
+ },
1342
+ {
1343
+ "description": "When `true`, pressing escape will close the drawer",
1344
+ "name": "closeOnEscape",
1345
+ "optional": true,
1346
+ "type": "boolean"
1347
+ },
1348
+ {
1349
+ "description": "Set whether the drawer is open by default or not, use when not providing a trigger",
1350
+ "name": "defaultOpen",
1351
+ "optional": true,
1352
+ "type": "boolean"
1353
+ },
1354
+ {
1355
+ "description": "When 'true' preventing focus from leaving drawer content",
1356
+ "name": "focusTrap",
1357
+ "optional": true,
1358
+ "type": "boolean"
1359
+ },
1360
+ {
1361
+ "description": "Called when the drawer opens or closes, must be used in conjunction with open",
1362
+ "name": "onChange",
1363
+ "optional": true,
1364
+ "type": {
1365
+ "arguments": {
1366
+ "open": [
1367
+ "boolean",
1368
+ "undefined"
1369
+ ]
1370
+ },
1371
+ "returnValue": "void"
1372
+ }
1373
+ },
1374
+ {
1375
+ "description": "Handler called when drawer closes by user interaction",
1376
+ "name": "onClose",
1377
+ "optional": true,
1378
+ "type": {
1379
+ "returnValue": "void"
1380
+ }
1381
+ },
1382
+ {
1383
+ "description": "Triggers when resizing, can be throttled or debounced for better performances",
1384
+ "name": "onResize",
1385
+ "optional": true,
1386
+ "type": {
1387
+ "arguments": {
1388
+ "delta": "number"
1389
+ },
1390
+ "returnValue": "void"
1391
+ }
1392
+ },
1393
+ {
1394
+ "description": "Control the open state of the drawer from outside the component",
1395
+ "name": "open",
1396
+ "optional": true,
1397
+ "type": "boolean"
1398
+ },
1399
+ {
1400
+ "description": "When 'true' renders close button in topr right cornenr of drawer content",
1401
+ "name": "showCloseButton",
1402
+ "optional": true,
1403
+ "type": "boolean"
1404
+ },
1405
+ {
1406
+ "description": "Size of the drawer. This is the recommended way to set a size for drawer component.",
1407
+ "name": "size",
1408
+ "optional": true,
1409
+ "type": "DrawerSize"
1410
+ },
1411
+ {
1412
+ "description": "A trigger to be used for the drawer, should not be set if `children` already contains a trigger",
1413
+ "name": "trigger",
1414
+ "optional": true,
1415
+ "type": "JSX.Element"
1416
+ },
1417
+ {
1418
+ "description": "Rendering variant of the drawer",
1419
+ "name": "variant",
1420
+ "optional": true,
1421
+ "type": "DrawerVariant"
1422
+ }
1423
+ ]
1424
+ },
1425
+ "DrawerTexts": {
1426
+ "props": [
1427
+ {
1428
+ "description": "Aria-label for close icon button in drawer.",
1429
+ "name": "close",
1430
+ "optional": false,
1431
+ "type": "string"
1432
+ }
1433
+ ]
1434
+ },
1435
+ "ForwardedDrawerWithStatics": {
1436
+ "intersections": [
1437
+ "ForwardRefExoticComponent<DrawerProps & RefAttributes<HTMLElement>>"
1438
+ ],
1439
+ "props": [
1440
+ {
1441
+ "name": "Actions",
1442
+ "optional": false,
1443
+ "type": "ForwardRefExoticComponent<GroupProps & RefAttributes<HTMLDivElement>>"
1444
+ },
1445
+ {
1446
+ "name": "Close",
1447
+ "optional": false,
1448
+ "type": "ForwardRefExoticComponent<DrawerCloseProps & RefAttributes<HTMLButtonElement>>"
1449
+ },
1450
+ {
1451
+ "name": "Content",
1452
+ "optional": false,
1453
+ "type": "ForwardRefExoticComponent<DrawerContentProps & RefAttributes<HTMLDivElement>>"
1454
+ },
1455
+ {
1456
+ "name": "Footer",
1457
+ "optional": false,
1458
+ "type": "ForwardRefExoticComponent<DrawerFooterProps & RefAttributes<HTMLDivElement>>"
1459
+ },
1460
+ {
1461
+ "name": "InnerContent",
1462
+ "optional": false,
1463
+ "type": "ForwardRefExoticComponent<DrawerInnerContentProps & RefAttributes<HTMLDivElement>>"
1464
+ },
1465
+ {
1466
+ "name": "Outlet",
1467
+ "optional": false,
1468
+ "type": "ForwardRefExoticComponent<OutletProps & RefAttributes<HTMLDivElement>>"
1469
+ },
1470
+ {
1471
+ "name": "Title",
1472
+ "optional": false,
1473
+ "type": "ForwardRefExoticComponent<DrawerTitleProps & RefAttributes<HTMLHeadingElement>>"
1474
+ },
1475
+ {
1476
+ "name": "Trigger",
1477
+ "optional": false,
1478
+ "type": "ForwardRefExoticComponent<DrawerTriggerProps & RefAttributes<HTMLButtonElement>>"
1479
+ }
1480
+ ]
1481
+ },
1482
+ "OutletProps": "HTMLAttributes<HTMLDivElement>",
1483
+ "DrawerSize": [
1484
+ "'md'",
1485
+ "'lg'"
1486
+ ],
1487
+ "DrawerVariant": [
1488
+ "'overlay'",
1489
+ "'embedded'"
1490
+ ]
1491
+ },
1492
+ "Field": {
1493
+ "FieldProps": {
1494
+ "intersections": [
1495
+ "LabelHTMLAttributes<HTMLLabelElement>"
1496
+ ],
1497
+ "props": [
1498
+ {
1499
+ "description": "Content of the field",
1500
+ "name": "children",
1501
+ "optional": false,
1502
+ "type": "React.ReactNode"
1503
+ },
1504
+ {
1505
+ "description": "Changes the style to indicate the element is disabled",
1506
+ "name": "disabled",
1507
+ "optional": true,
1508
+ "type": "boolean"
1509
+ },
1510
+ {
1511
+ "name": "invalid",
1512
+ "optional": true,
1513
+ "type": "boolean"
1514
+ },
1515
+ {
1516
+ "description": "Text displayed below the children of Field.\nShould be a short text that indicates feedback for user.",
1517
+ "name": "message",
1518
+ "optional": true,
1519
+ "type": "string"
1520
+ }
1521
+ ]
1522
+ }
1523
+ },
1524
+ "Form": {
1525
+ "FormProps": {
1526
+ "intersections": [
1527
+ "FormHTMLAttributes<HTMLFormElement>"
1528
+ ],
1529
+ "props": [
1530
+ {
1531
+ "description": "Content should be composed of other Taco form elements",
1532
+ "name": "children",
1533
+ "optional": false,
1534
+ "type": "React.ReactNode"
1535
+ },
1536
+ {
1537
+ "description": "Display the form fields in a horizontal layout",
1538
+ "name": "horizontal",
1539
+ "optional": true,
1540
+ "type": "boolean"
1541
+ }
1542
+ ]
1543
+ }
1544
+ },
1545
+ "Group": {
1546
+ "GroupProps": {
1547
+ "intersections": [
1548
+ "HTMLAttributes<HTMLElement>"
1549
+ ],
1550
+ "props": [
1551
+ {
1552
+ "description": "Change what html tag element will render.\nDefault value is `span`",
1553
+ "name": "as",
1554
+ "optional": true,
1555
+ "type": [
1556
+ "'div'",
1557
+ "'span'",
1558
+ "'nav'"
1559
+ ]
1560
+ },
1561
+ {
1562
+ "description": "Content should be composed of other Taco elements",
1563
+ "name": "children",
1564
+ "optional": false,
1565
+ "type": "React.ReactNode"
1566
+ },
1567
+ {
1568
+ "description": "Define orientation of grouping.",
1569
+ "name": "orientation",
1570
+ "optional": true,
1571
+ "type": "Orientation"
1572
+ }
1573
+ ]
1574
+ },
1575
+ "Navigation2GroupProps": {
1576
+ "intersections": [
1577
+ "ButtonHTMLAttributes<HTMLButtonElement>"
1578
+ ],
1579
+ "props": [
1580
+ {
1581
+ "name": "defaultExpanded",
1582
+ "optional": true,
1583
+ "type": "boolean"
1584
+ },
1585
+ {
1586
+ "name": "heading",
1587
+ "optional": false,
1588
+ "type": [
1589
+ "string",
1590
+ "Element"
1591
+ ]
1592
+ }
1593
+ ]
1594
+ },
1595
+ "Select2GroupProps": {
1596
+ "intersections": [
1597
+ "Omit<ListboxPrimitive.Listbox2GroupProps, 'children'>"
1598
+ ],
1599
+ "props": [
1600
+ {
1601
+ "name": "children",
1602
+ "optional": false,
1603
+ "type": "ReactElement<Select2OptionProps>[]"
1604
+ },
1605
+ {
1606
+ "name": "heading",
1607
+ "optional": true,
1608
+ "type": "string"
1609
+ }
1610
+ ]
1611
+ }
1612
+ },
1613
+ "Hanger": {
1614
+ "ForwardedHangerWithStatics": {
1615
+ "intersections": [
1616
+ "ForwardRefExoticComponent<HangerProps & RefAttributes<HTMLElement>>"
1617
+ ],
1618
+ "props": [
1619
+ {
1620
+ "name": "Anchor",
1621
+ "optional": false,
1622
+ "type": "ForwardRefExoticComponent<HangerAnchorProps>"
1623
+ },
1624
+ {
1625
+ "name": "Content",
1626
+ "optional": false,
1627
+ "type": "ForwardRefExoticComponent<HangerContentProps>"
1628
+ },
1629
+ {
1630
+ "name": "Title",
1631
+ "optional": false,
1632
+ "type": "ForwardRefExoticComponent<HangerTitleProps>"
1633
+ }
1634
+ ]
1635
+ },
1636
+ "HangerAnchorProps": "HTMLAttributes<HTMLDivElement>",
1637
+ "HangerContentProps": {
1638
+ "intersections": [
1639
+ "HTMLAttributes<HTMLDivElement>"
1640
+ ],
1641
+ "props": [
1642
+ {
1643
+ "description": "Set the position of the Hanger relative to its achor. Default value is `bottom`",
1644
+ "name": "placement",
1645
+ "optional": true,
1646
+ "type": "Placement"
1647
+ }
1648
+ ]
1649
+ },
1650
+ "HangerProps": "React.PropsWithChildren<[object Object]>",
1651
+ "HangerTexts": {
1652
+ "props": [
1653
+ {
1654
+ "description": "Aria-label for the close icon button of hanger",
1655
+ "name": "close",
1656
+ "optional": false,
1657
+ "type": "string"
1658
+ }
1659
+ ]
1660
+ },
1661
+ "HangerTitleProps": "HTMLAttributes<HTMLHeadingElement>"
1662
+ },
1663
+ "Header": {
1664
+ "ForwardedHeaderWithStatics": {
1665
+ "intersections": [
1666
+ "ForwardRefExoticComponent<HeaderProps & RefAttributes<HTMLDivElement>>"
1667
+ ],
1668
+ "props": [
1669
+ {
1670
+ "name": "AgreementDisplay",
1671
+ "optional": false,
1672
+ "type": {
1673
+ "type": "query",
1674
+ "queryType": {
1675
+ "type": "reference",
1676
+ "name": "AgreementDisplay"
1677
+ }
1678
+ }
1679
+ },
1680
+ {
1681
+ "name": "AgreementSelector",
1682
+ "optional": false,
1683
+ "type": {
1684
+ "type": "query",
1685
+ "queryType": {
1686
+ "type": "reference",
1687
+ "name": "AgreementSelector"
1688
+ }
1689
+ }
1690
+ },
1691
+ {
1692
+ "name": "Button",
1693
+ "optional": false,
1694
+ "type": {
1695
+ "type": "query",
1696
+ "queryType": {
1697
+ "type": "reference",
1698
+ "name": "Button"
1699
+ }
1700
+ }
1701
+ },
1702
+ {
1703
+ "name": "Link",
1704
+ "optional": false,
1705
+ "type": {
1706
+ "type": "query",
1707
+ "queryType": {
1708
+ "type": "reference",
1709
+ "name": "Link"
1710
+ }
1711
+ }
1712
+ },
1713
+ {
1714
+ "name": "Logo",
1715
+ "optional": false,
1716
+ "type": {
1717
+ "type": "query",
1718
+ "queryType": {
1719
+ "type": "reference",
1720
+ "name": "Logo"
1721
+ }
1722
+ }
1723
+ },
1724
+ {
1725
+ "name": "MenuButton",
1726
+ "optional": false,
1727
+ "type": {
1728
+ "type": "query",
1729
+ "queryType": {
1730
+ "type": "reference",
1731
+ "name": "MenuButton"
1732
+ }
1733
+ }
1734
+ },
1735
+ {
1736
+ "name": "PrimaryNavigation",
1737
+ "optional": false,
1738
+ "type": {
1739
+ "type": "query",
1740
+ "queryType": {
1741
+ "type": "reference",
1742
+ "name": "PrimaryNavigation"
1743
+ }
1744
+ }
1745
+ },
1746
+ {
1747
+ "name": "SecondaryNavigation",
1748
+ "optional": false,
1749
+ "type": {
1750
+ "type": "query",
1751
+ "queryType": {
1752
+ "type": "reference",
1753
+ "name": "SecondaryNavigation"
1754
+ }
1755
+ }
1756
+ }
1757
+ ]
1758
+ },
1759
+ "HeaderTexts": {
1760
+ "props": [
1761
+ {
1762
+ "name": "addAgreement",
1763
+ "optional": false,
1764
+ "type": "string"
1765
+ },
1766
+ {
1767
+ "name": "logout",
1768
+ "optional": false,
1769
+ "type": "string"
1770
+ },
1771
+ {
1772
+ "name": "more",
1773
+ "optional": false,
1774
+ "type": "string"
1775
+ },
1776
+ {
1777
+ "name": "new",
1778
+ "optional": false,
1779
+ "type": "string"
1780
+ },
1781
+ {
1782
+ "name": "search",
1783
+ "optional": false,
1784
+ "type": "string"
1785
+ }
1786
+ ]
1787
+ },
1788
+ "MenuHeaderProps": "HTMLAttributes<HTMLDivElement>"
1789
+ },
1790
+ "AgreementSelector": {
1791
+ "AgreementDisplayProps": {
1792
+ "intersections": [
1793
+ "HTMLAttributes<HTMLDivElement>"
1794
+ ],
1795
+ "props": [
1796
+ {
1797
+ "name": "currentAgreement",
1798
+ "optional": false,
1799
+ "type": "Agreement"
1800
+ },
1801
+ {
1802
+ "name": "fallbackImageSrc",
1803
+ "optional": false,
1804
+ "type": "string"
1805
+ }
1806
+ ]
1807
+ },
1808
+ "AgreementSelectorProps": {
1809
+ "intersections": [
1810
+ "AgreementDisplayProps"
1811
+ ],
1812
+ "props": [
1813
+ {
1814
+ "name": "agreements",
1815
+ "optional": false,
1816
+ "type": "Agreement[]"
1817
+ },
1818
+ {
1819
+ "name": "filterAgreement",
1820
+ "optional": false,
1821
+ "type": {
1822
+ "arguments": {
1823
+ "agreement": "Agreement",
1824
+ "filter": {
1825
+ "arguments": {
1826
+ "agreement": "Agreement"
1827
+ },
1828
+ "returnValue": "boolean"
1829
+ }
1830
+ },
1831
+ "returnValue": "void"
1832
+ }
1833
+ },
1834
+ {
1835
+ "name": "filterClientAgreement",
1836
+ "optional": false,
1837
+ "type": {
1838
+ "arguments": {
1839
+ "agreement": "Agreement",
1840
+ "filter": {
1841
+ "arguments": {
1842
+ "agreement": "Agreement"
1843
+ },
1844
+ "returnValue": "boolean"
1845
+ }
1846
+ },
1847
+ "returnValue": "void"
1848
+ }
1849
+ },
1850
+ {
1851
+ "name": "onAddAgreement",
1852
+ "optional": true,
1853
+ "type": {
1854
+ "returnValue": "void"
1855
+ }
1856
+ },
1857
+ {
1858
+ "name": "onChangeAgreement",
1859
+ "optional": false,
1860
+ "type": {
1861
+ "arguments": {
1862
+ "agreement": "Agreement"
1863
+ },
1864
+ "returnValue": "void"
1865
+ }
1866
+ },
1867
+ {
1868
+ "name": "onLogout",
1869
+ "optional": false,
1870
+ "type": {
1871
+ "returnValue": "void"
1872
+ }
1873
+ },
1874
+ {
1875
+ "name": "open",
1876
+ "optional": true,
1877
+ "type": "boolean"
1878
+ },
1879
+ {
1880
+ "name": "setOpen",
1881
+ "optional": true,
1882
+ "type": {
1883
+ "arguments": {
1884
+ "open": "boolean"
1885
+ },
1886
+ "returnValue": "void"
1887
+ }
1888
+ }
1889
+ ]
1890
+ }
1891
+ },
1892
+ "AgreementDetails": {
1893
+ "Agreement": {
1894
+ "props": [
1895
+ {
1896
+ "name": "adminAgreementNumber",
1897
+ "optional": true,
1898
+ "type": "number"
1231
1899
  },
1232
1900
  {
1233
- "description": "Changes the style to indicate the element is disabled",
1234
- "name": "disabled",
1901
+ "name": "clients",
1902
+ "optional": true,
1903
+ "type": "Agreement[]"
1904
+ },
1905
+ {
1906
+ "name": "favorite",
1235
1907
  "optional": true,
1236
1908
  "type": "boolean"
1237
1909
  },
1238
1910
  {
1239
- "name": "invalid",
1911
+ "name": "imageSrc",
1912
+ "optional": true,
1913
+ "type": "string"
1914
+ },
1915
+ {
1916
+ "name": "isAdministrator",
1240
1917
  "optional": true,
1241
1918
  "type": "boolean"
1242
1919
  },
1243
1920
  {
1244
- "description": "Text displayed below the children of Field.\nShould be a short text that indicates feedback for user.",
1245
- "name": "message",
1921
+ "name": "isDeveloper",
1246
1922
  "optional": true,
1923
+ "type": "boolean"
1924
+ },
1925
+ {
1926
+ "name": "name",
1927
+ "optional": false,
1247
1928
  "type": "string"
1248
- }
1249
- ]
1250
- }
1251
- },
1252
- "Form": {
1253
- "FormProps": {
1254
- "intersections": [
1255
- "FormHTMLAttributes<HTMLFormElement>"
1256
- ],
1257
- "props": [
1929
+ },
1258
1930
  {
1259
- "description": "Content should be composed of other Taco form elements",
1260
- "name": "children",
1931
+ "name": "number",
1261
1932
  "optional": false,
1262
- "type": "React.ReactNode"
1933
+ "type": "number"
1263
1934
  },
1264
1935
  {
1265
- "description": "Display the form fields in a horizontal layout",
1266
- "name": "horizontal",
1267
- "optional": true,
1936
+ "name": "secure",
1937
+ "optional": false,
1268
1938
  "type": "boolean"
1939
+ },
1940
+ {
1941
+ "name": "statuses",
1942
+ "optional": true,
1943
+ "type": "any[]"
1944
+ },
1945
+ {
1946
+ "name": "userId",
1947
+ "optional": false,
1948
+ "type": "string"
1269
1949
  }
1270
1950
  ]
1271
- }
1272
- },
1273
- "Group": {
1274
- "GroupProps": {
1951
+ },
1952
+ "AgreementDetailsProps": {
1275
1953
  "intersections": [
1276
- "HTMLAttributes<HTMLElement>"
1954
+ "Agreement"
1277
1955
  ],
1278
1956
  "props": [
1279
1957
  {
1280
- "description": "Change what html tag element will render.\nDefault value is `span`",
1281
- "name": "as",
1958
+ "name": "children",
1282
1959
  "optional": true,
1283
1960
  "type": [
1284
- "'div'",
1285
- "'span'",
1286
- "'nav'"
1961
+ "Element",
1962
+ "null"
1287
1963
  ]
1288
1964
  },
1289
1965
  {
1290
- "description": "Content should be composed of other Taco elements",
1291
- "name": "children",
1292
- "optional": false,
1293
- "type": "React.ReactNode"
1966
+ "name": "className",
1967
+ "optional": true,
1968
+ "type": "string"
1294
1969
  },
1295
1970
  {
1296
- "description": "Define orientation of grouping.",
1297
- "name": "orientation",
1298
- "optional": true,
1299
- "type": "Orientation"
1971
+ "name": "fallbackImageSrc",
1972
+ "optional": false,
1973
+ "type": "string"
1300
1974
  }
1301
1975
  ]
1302
- },
1303
- "Select2GroupProps": {
1976
+ }
1977
+ },
1978
+ "Link": {
1979
+ "BaseLinkProps": {
1304
1980
  "intersections": [
1305
- "Omit<ListboxPrimitive.Listbox2GroupProps, 'children'>"
1981
+ "AnchorHTMLAttributes<HTMLAnchorElement>"
1306
1982
  ],
1307
1983
  "props": [
1308
1984
  {
1309
- "name": "children",
1310
- "optional": false,
1311
- "type": "ReactElement<Select2OptionProps>[]"
1985
+ "name": "as",
1986
+ "optional": true,
1987
+ "type": "string"
1312
1988
  },
1313
1989
  {
1314
- "name": "heading",
1990
+ "name": "tooltip",
1315
1991
  "optional": true,
1316
1992
  "type": "string"
1317
1993
  }
1318
1994
  ]
1319
- }
1320
- },
1321
- "Hanger": {
1322
- "ForwardedHangerWithStatics": {
1995
+ },
1996
+ "LinkProps": [
1997
+ "LinkPropsWithoutIcon",
1998
+ "LinkPropsWithIcon"
1999
+ ],
2000
+ "MenuLinkItemProps": {
1323
2001
  "intersections": [
1324
- "ForwardRefExoticComponent<HangerProps & RefAttributes<HTMLElement>>"
2002
+ "Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'>"
1325
2003
  ],
1326
2004
  "props": [
1327
2005
  {
1328
- "name": "Anchor",
1329
- "optional": false,
1330
- "type": "ForwardRefExoticComponent<HangerAnchorProps>"
2006
+ "name": "disabled",
2007
+ "optional": true,
2008
+ "type": "boolean"
1331
2009
  },
1332
2010
  {
1333
- "name": "Content",
2011
+ "name": "href",
1334
2012
  "optional": false,
1335
- "type": "ForwardRefExoticComponent<HangerContentProps>"
2013
+ "type": "string"
1336
2014
  },
1337
2015
  {
1338
- "name": "Title",
1339
- "optional": false,
1340
- "type": "ForwardRefExoticComponent<HangerTitleProps>"
2016
+ "name": "icon",
2017
+ "optional": true,
2018
+ "type": "IconName"
2019
+ },
2020
+ {
2021
+ "name": "onClick",
2022
+ "optional": true,
2023
+ "type": {
2024
+ "arguments": {
2025
+ "event": "MouseEvent<HTMLDivElement, MouseEvent>"
2026
+ },
2027
+ "returnValue": "void"
2028
+ }
1341
2029
  }
1342
2030
  ]
1343
2031
  },
1344
- "HangerAnchorProps": "HTMLAttributes<HTMLDivElement>",
1345
- "HangerContentProps": {
2032
+ "Navigation2LinkProps": {
1346
2033
  "intersections": [
1347
- "HTMLAttributes<HTMLDivElement>"
2034
+ "AnchorHTMLAttributes<HTMLAnchorElement>"
1348
2035
  ],
1349
2036
  "props": [
1350
2037
  {
1351
- "description": "Set the position of the Hanger relative to its achor. Default value is `bottom`",
1352
- "name": "placement",
2038
+ "name": "active",
1353
2039
  "optional": true,
1354
- "type": "Placement"
2040
+ "type": "boolean"
2041
+ },
2042
+ {
2043
+ "name": "icon",
2044
+ "optional": true,
2045
+ "type": "IconName"
2046
+ },
2047
+ {
2048
+ "description": "Menu component associated with the button.",
2049
+ "name": "menu",
2050
+ "optional": true,
2051
+ "type": {
2052
+ "arguments": {
2053
+ "props": "Partial<MenuProps>"
2054
+ },
2055
+ "returnValue": "Element"
2056
+ }
2057
+ },
2058
+ {
2059
+ "description": "Handler to be used when dropping a dragged element over the Navigation2 link",
2060
+ "name": "onDrop",
2061
+ "optional": true,
2062
+ "type": "React.DragEventHandler"
2063
+ },
2064
+ {
2065
+ "description": "Total shown inside a Badge component",
2066
+ "name": "total",
2067
+ "optional": true,
2068
+ "type": "number"
1355
2069
  }
1356
2070
  ]
1357
- },
1358
- "HangerProps": "React.PropsWithChildren<[object Object]>",
1359
- "HangerTexts": {
2071
+ }
2072
+ },
2073
+ "Logo": {
2074
+ "LogoProps": "SVGAttributes<SVGSVGElement>"
2075
+ },
2076
+ "MenuButton": {
2077
+ "MenuButtonProps": {
1360
2078
  "props": [
1361
2079
  {
1362
- "description": "Aria-label for the close icon button of hanger",
1363
- "name": "close",
2080
+ "name": "onClick",
1364
2081
  "optional": false,
1365
- "type": "string"
2082
+ "type": {
2083
+ "returnValue": "void"
2084
+ }
1366
2085
  }
1367
2086
  ]
1368
- },
1369
- "HangerTitleProps": "HTMLAttributes<HTMLHeadingElement>"
2087
+ }
2088
+ },
2089
+ "PrimaryNavigation": {
2090
+ "PrimaryNavigationProps": "HTMLAttributes<HTMLElement>"
2091
+ },
2092
+ "SecondaryNavigation": {
2093
+ "SecondaryNavigationProps": "HTMLAttributes<HTMLUListElement>"
1370
2094
  },
1371
2095
  "HoverCard": {
1372
2096
  "HoverCardContentProps": {
@@ -1755,6 +2479,44 @@
1755
2479
  ]
1756
2480
  }
1757
2481
  },
2482
+ "Layout": {
2483
+ "LayoutProps": "HTMLAttributes<HTMLDivElement>"
2484
+ },
2485
+ "Page": {
2486
+ "LayoutPageProps": "HTMLAttributes<HTMLDivElement>"
2487
+ },
2488
+ "Sidebar": {
2489
+ "LayoutSidebarProps": "HTMLAttributes<HTMLDivElement>"
2490
+ },
2491
+ "Top": {
2492
+ "LayoutTopProps": {
2493
+ "props": [
2494
+ {
2495
+ "name": "children",
2496
+ "optional": false,
2497
+ "type": [
2498
+ "React.ReactNode",
2499
+ "React.ReactNode[]",
2500
+ {
2501
+ "arguments": {
2502
+ "__namedParameters": [
2503
+ {
2504
+ "name": "toggleSidebar",
2505
+ "optional": false,
2506
+ "type": "any"
2507
+ }
2508
+ ]
2509
+ },
2510
+ "returnValue": [
2511
+ "React.ReactNode",
2512
+ "React.ReactNode[]"
2513
+ ]
2514
+ }
2515
+ ]
2516
+ }
2517
+ ]
2518
+ }
2519
+ },
1758
2520
  "Listbox": {
1759
2521
  "ListboxItem": "ScrollableListItem",
1760
2522
  "ListboxProps": {
@@ -2004,9 +2766,6 @@
2004
2766
  ]
2005
2767
  }
2006
2768
  },
2007
- "Header": {
2008
- "MenuHeaderProps": "HTMLAttributes<HTMLDivElement>"
2009
- },
2010
2769
  "Item": {
2011
2770
  "MenuItemProps": {
2012
2771
  "intersections": [
@@ -2051,40 +2810,6 @@
2051
2810
  ]
2052
2811
  }
2053
2812
  },
2054
- "Link": {
2055
- "MenuLinkItemProps": {
2056
- "intersections": [
2057
- "Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'>"
2058
- ],
2059
- "props": [
2060
- {
2061
- "name": "disabled",
2062
- "optional": true,
2063
- "type": "boolean"
2064
- },
2065
- {
2066
- "name": "href",
2067
- "optional": false,
2068
- "type": "string"
2069
- },
2070
- {
2071
- "name": "icon",
2072
- "optional": true,
2073
- "type": "IconName"
2074
- },
2075
- {
2076
- "name": "onClick",
2077
- "optional": true,
2078
- "type": {
2079
- "arguments": {
2080
- "event": "MouseEvent<HTMLDivElement, MouseEvent>"
2081
- },
2082
- "returnValue": "void"
2083
- }
2084
- }
2085
- ]
2086
- }
2087
- },
2088
2813
  "RadioGroup": {
2089
2814
  "ForwardedMenuRadioGroupWithStatics": {
2090
2815
  "intersections": [
@@ -2229,6 +2954,23 @@
2229
2954
  "NavigationPanelProps": "HTMLAttributes<HTMLDivElement>",
2230
2955
  "NavigationProps": "HTMLAttributes<HTMLDivElement>"
2231
2956
  },
2957
+ "Navigation2": {
2958
+ "Navigation2Props": "HTMLAttributes<HTMLUListElement>"
2959
+ },
2960
+ "Section": {
2961
+ "Navigation2SectionProps": {
2962
+ "intersections": [
2963
+ "LiHTMLAttributes<HTMLLIElement>"
2964
+ ],
2965
+ "props": [
2966
+ {
2967
+ "name": "heading",
2968
+ "optional": true,
2969
+ "type": "string"
2970
+ }
2971
+ ]
2972
+ }
2973
+ },
2232
2974
  "Pagination": {
2233
2975
  "PaginationProps": {
2234
2976
  "intersections": [
@@ -2547,12 +3289,24 @@
2547
3289
  "optional": false,
2548
3290
  "type": "DialogTexts"
2549
3291
  },
3292
+ {
3293
+ "description": "Localized texts and aria-labels for [Drawer](component:drawer) component",
3294
+ "name": "drawer",
3295
+ "optional": false,
3296
+ "type": "DrawerTexts"
3297
+ },
2550
3298
  {
2551
3299
  "description": "Localized texts and aria-labels for [Hanger](component:hanger) component",
2552
3300
  "name": "hanger",
2553
3301
  "optional": false,
2554
3302
  "type": "HangerTexts"
2555
3303
  },
3304
+ {
3305
+ "description": "Localized texts and aria-labels for [Header](component:header) component",
3306
+ "name": "header",
3307
+ "optional": false,
3308
+ "type": "HeaderTexts"
3309
+ },
2556
3310
  {
2557
3311
  "description": "Localized texts and aria-labels for [Listbox](component:listbox) component",
2558
3312
  "name": "listbox",
@@ -3049,7 +3803,7 @@
3049
3803
  {
3050
3804
  "type": "reflection",
3051
3805
  "declaration": {
3052
- "id": 2961,
3806
+ "id": 3248,
3053
3807
  "name": "__type",
3054
3808
  "kind": 65536,
3055
3809
  "kindString": "Type literal",
@@ -3249,7 +4003,7 @@
3249
4003
  "constraint": {
3250
4004
  "type": "reflection",
3251
4005
  "declaration": {
3252
- "id": 1696,
4006
+ "id": 1988,
3253
4007
  "name": "__type",
3254
4008
  "kind": 65536,
3255
4009
  "kindString": "Type literal",