@economic/taco 1.23.1 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. package/dist/components/Header/Header.d.ts +28 -0
  2. package/dist/components/Header/components/AgreementSelector.d.ts +18 -0
  3. package/dist/components/Header/components/Agreements/AgreementDetails.d.ts +20 -0
  4. package/dist/components/Header/components/Button.d.ts +11 -0
  5. package/dist/components/Header/components/Link.d.ts +21 -0
  6. package/dist/components/Header/components/Logo.d.ts +3 -0
  7. package/dist/components/Header/components/MenuButton.d.ts +5 -0
  8. package/dist/components/Header/components/PrimaryNavigation.d.ts +3 -0
  9. package/dist/components/Header/components/SecondaryNavigation.d.ts +3 -0
  10. package/dist/components/Layout/Layout.d.ts +16 -0
  11. package/dist/components/Layout/components/Content.d.ts +3 -0
  12. package/dist/components/Layout/components/Context.d.ts +6 -0
  13. package/dist/components/Layout/components/Page.d.ts +3 -0
  14. package/dist/components/Layout/components/Sidebar.d.ts +3 -0
  15. package/dist/components/Layout/components/Top.d.ts +7 -0
  16. package/dist/components/Navigation2/Navigation2.d.ts +17 -0
  17. package/dist/components/Navigation2/components/Content.d.ts +3 -0
  18. package/dist/components/Navigation2/components/Group.d.ts +9 -0
  19. package/dist/components/Navigation2/components/Link.d.ts +24 -0
  20. package/dist/components/Navigation2/components/Section.d.ts +7 -0
  21. package/dist/components/Provider/Localization.d.ts +27 -17
  22. package/dist/esm/packages/taco/src/components/Card/Card.js +1 -1
  23. package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -1
  24. package/dist/esm/packages/taco/src/components/Header/Header.js +30 -0
  25. package/dist/esm/packages/taco/src/components/Header/Header.js.map +1 -0
  26. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js +134 -0
  27. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js.map +1 -0
  28. package/dist/esm/packages/taco/src/components/Header/components/Agreements/AgreementDetails.js +73 -0
  29. package/dist/esm/packages/taco/src/components/Header/components/Agreements/AgreementDetails.js.map +1 -0
  30. package/dist/esm/packages/taco/src/components/Header/components/Button.js +23 -0
  31. package/dist/esm/packages/taco/src/components/Header/components/Button.js.map +1 -0
  32. package/dist/esm/packages/taco/src/components/Header/components/Link.js +48 -0
  33. package/dist/esm/packages/taco/src/components/Header/components/Link.js.map +1 -0
  34. package/dist/esm/packages/taco/src/components/Header/components/Logo.js +73 -0
  35. package/dist/esm/packages/taco/src/components/Header/components/Logo.js.map +1 -0
  36. package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js +16 -0
  37. package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js.map +1 -0
  38. package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js +134 -0
  39. package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js.map +1 -0
  40. package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js +13 -0
  41. package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js.map +1 -0
  42. package/dist/esm/packages/taco/src/components/Layout/Layout.js +28 -0
  43. package/dist/esm/packages/taco/src/components/Layout/Layout.js.map +1 -0
  44. package/dist/esm/packages/taco/src/components/Layout/components/Content.js +13 -0
  45. package/dist/esm/packages/taco/src/components/Layout/components/Content.js.map +1 -0
  46. package/dist/esm/packages/taco/src/components/Layout/components/Context.js +9 -0
  47. package/dist/esm/packages/taco/src/components/Layout/components/Context.js.map +1 -0
  48. package/dist/esm/packages/taco/src/components/Layout/components/Page.js +13 -0
  49. package/dist/esm/packages/taco/src/components/Layout/components/Page.js.map +1 -0
  50. package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js +83 -0
  51. package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -0
  52. package/dist/esm/packages/taco/src/components/Layout/components/Top.js +15 -0
  53. package/dist/esm/packages/taco/src/components/Layout/components/Top.js.map +1 -0
  54. package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js +31 -0
  55. package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js.map +1 -0
  56. package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js +19 -0
  57. package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js.map +1 -0
  58. package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js +46 -0
  59. package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js.map +1 -0
  60. package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js +71 -0
  61. package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js.map +1 -0
  62. package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js +24 -0
  63. package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js.map +1 -0
  64. package/dist/esm/packages/taco/src/components/Provider/Localization.js +18 -11
  65. package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
  66. package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js +4 -1
  67. package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js.map +1 -1
  68. package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js +3 -1
  69. package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js.map +1 -1
  70. package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js +6 -0
  71. package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js.map +1 -0
  72. package/dist/esm/packages/taco/src/hooks/useMatchMedia.js +18 -0
  73. package/dist/esm/packages/taco/src/hooks/useMatchMedia.js.map +1 -0
  74. package/dist/esm/packages/taco/src/index.js +9 -0
  75. package/dist/esm/packages/taco/src/index.js.map +1 -1
  76. package/dist/esm/packages/taco/src/primitives/Collection/Collection.js +3 -0
  77. package/dist/esm/packages/taco/src/primitives/Collection/Collection.js.map +1 -0
  78. package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js +4 -1
  79. package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js.map +1 -1
  80. package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js +1 -0
  81. package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js.map +1 -1
  82. package/dist/hooks/useIsLargeScreen.d.ts +1 -0
  83. package/dist/hooks/useMatchMedia.d.ts +1 -0
  84. package/dist/index.d.ts +7 -0
  85. package/dist/taco.cjs.development.js +809 -17
  86. package/dist/taco.cjs.development.js.map +1 -1
  87. package/dist/taco.cjs.production.min.js +1 -1
  88. package/dist/taco.cjs.production.min.js.map +1 -1
  89. package/package.json +2 -2
  90. package/types.json +538 -101
  91. package/dist/components/Accordion/Accordion.stories.d.ts +0 -26
  92. package/dist/components/Alert/Alert.stories.d.ts +0 -36
  93. package/dist/components/AlertDialog/AlertDialog.stories.d.ts +0 -10
  94. package/dist/components/Backdrop/Backdrop.stories.d.ts +0 -7
  95. package/dist/components/BadgeIcon/BadgeIcon.stories.d.ts +0 -12
  96. package/dist/components/Banner/Banner.stories.d.ts +0 -5
  97. package/dist/components/Button/Button.stories.d.ts +0 -77
  98. package/dist/components/Calendar/Calendar.stories.d.ts +0 -13
  99. package/dist/components/Card/Card.stories.d.ts +0 -12
  100. package/dist/components/Datepicker/Datepicker.stories.d.ts +0 -43
  101. package/dist/components/Dialog/Dialog.stories.d.ts +0 -57
  102. package/dist/components/Field/Field.stories.d.ts +0 -14
  103. package/dist/components/Form/Form.stories.d.ts +0 -14
  104. package/dist/components/Group/Group.stories.d.ts +0 -23
  105. package/dist/components/Hanger/Hanger.stories.d.ts +0 -11
  106. package/dist/components/HoverCard/HoverCard.stories.d.ts +0 -16
  107. package/dist/components/Icon/Icon.stories.d.ts +0 -8
  108. package/dist/components/IconButton/IconButton.stories.d.ts +0 -12
  109. package/dist/components/Input/Input.stories.d.ts +0 -17
  110. package/dist/components/Listbox/Listbox.stories.d.ts +0 -44
  111. package/dist/components/Menu/Menu.stories.d.ts +0 -73
  112. package/dist/components/Navigation/Navigation.stories.d.ts +0 -7
  113. package/dist/components/Pagination/Pagination.stories.d.ts +0 -28
  114. package/dist/components/Popover/Popover.stories.d.ts +0 -29
  115. package/dist/components/Progress/Progress.stories.d.ts +0 -9
  116. package/dist/components/RadioGroup/RadioGroup.stories.d.ts +0 -49
  117. package/dist/components/ScrollArea/ScrollArea.stories.d.ts +0 -8
  118. package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -38
  119. package/dist/components/Select/Select.stories.d.ts +0 -35
  120. package/dist/components/Select2/Select2.stories.d.ts +0 -57
  121. package/dist/components/Spinner/Spinner.stories.d.ts +0 -15
  122. package/dist/components/Table/Table.stories.d.ts +0 -32
  123. package/dist/components/Table2/Table2.stories.d.ts +0 -48
  124. package/dist/components/Tabs/Tabs.stories.d.ts +0 -19
  125. package/dist/components/Tag/Tag.stories.d.ts +0 -9
  126. package/dist/components/Textarea/Textarea.stories.d.ts +0 -40
  127. package/dist/components/Toast/Toast.stories.d.ts +0 -12
  128. package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -26
  129. package/dist/components/Tour/Tour.stories.d.ts +0 -11
  130. package/dist/css/Typography.stories.d.ts +0 -6
  131. package/dist/hooks/useIsRefOverflowing.d.ts +0 -2
  132. package/dist/primitives/Collection/Collection.stories.d.ts +0 -8
  133. package/dist/primitives/Listbox2/Listbox2.stories.d.ts +0 -16
  134. package/dist/primitives/Sortable/Sortable.stories.d.ts +0 -14
package/types.json CHANGED
@@ -221,6 +221,20 @@
221
221
  }
222
222
  ]
223
223
  },
224
+ "LayoutContextValue": {
225
+ "props": [
226
+ {
227
+ "name": "setSidebarOpen",
228
+ "optional": false,
229
+ "type": "React.Dispatch<React.SetStateAction<boolean>>"
230
+ },
231
+ {
232
+ "name": "sidebarOpen",
233
+ "optional": false,
234
+ "type": "boolean"
235
+ }
236
+ ]
237
+ },
224
238
  "Select2ContextProps": {
225
239
  "props": [
226
240
  {
@@ -464,6 +478,7 @@
464
478
  },
465
479
  "DialogFooterProps": "HTMLAttributes<HTMLDivElement>",
466
480
  "DialogTitleProps": "HTMLAttributes<HTMLHeadingElement>",
481
+ "LayoutContentProps": "HTMLAttributes<HTMLDivElement>",
467
482
  "MenuContentProps": {
468
483
  "intersections": [
469
484
  "Omit<DropdownMenuContentProps, 'children' | 'side'>"
@@ -486,7 +501,8 @@
486
501
  "type": "Placement"
487
502
  }
488
503
  ]
489
- }
504
+ },
505
+ "Navigation2ContentProps": "LiHTMLAttributes<HTMLLIElement>"
490
506
  },
491
507
  "Footer": {
492
508
  "AlertDialogActionProps": "HTMLAttributes<HTMLButtonElement>",
@@ -613,73 +629,18 @@
613
629
  "Button": {
614
630
  "ButtonProps": {
615
631
  "intersections": [
616
- "ButtonPrimitive.ButtonProps"
632
+ "Omit<IconButtonProps, 'appearance' | 'aria-label'>"
617
633
  ],
618
634
  "props": [
619
635
  {
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
- }
636
+ "name": "aria-label",
637
+ "optional": false,
638
+ "type": "string"
674
639
  },
675
640
  {
676
- "description": "A tooltip to show when hovering over the button",
677
- "name": "tooltip",
641
+ "name": "as",
678
642
  "optional": true,
679
- "type": [
680
- "string",
681
- "Element"
682
- ]
643
+ "type": "string"
683
644
  }
684
645
  ]
685
646
  }
@@ -1300,6 +1261,26 @@
1300
1261
  }
1301
1262
  ]
1302
1263
  },
1264
+ "Navigation2GroupProps": {
1265
+ "intersections": [
1266
+ "ButtonHTMLAttributes<HTMLButtonElement>"
1267
+ ],
1268
+ "props": [
1269
+ {
1270
+ "name": "defaultExpanded",
1271
+ "optional": true,
1272
+ "type": "boolean"
1273
+ },
1274
+ {
1275
+ "name": "heading",
1276
+ "optional": false,
1277
+ "type": [
1278
+ "string",
1279
+ "Element"
1280
+ ]
1281
+ }
1282
+ ]
1283
+ },
1303
1284
  "Select2GroupProps": {
1304
1285
  "intersections": [
1305
1286
  "Omit<ListboxPrimitive.Listbox2GroupProps, 'children'>"
@@ -1368,6 +1349,438 @@
1368
1349
  },
1369
1350
  "HangerTitleProps": "HTMLAttributes<HTMLHeadingElement>"
1370
1351
  },
1352
+ "Header": {
1353
+ "ForwardedHeaderWithStatics": {
1354
+ "intersections": [
1355
+ "ForwardRefExoticComponent<HeaderProps & RefAttributes<HTMLDivElement>>"
1356
+ ],
1357
+ "props": [
1358
+ {
1359
+ "name": "AgreementDisplay",
1360
+ "optional": false,
1361
+ "type": {
1362
+ "type": "query",
1363
+ "queryType": {
1364
+ "type": "reference",
1365
+ "name": "AgreementDisplay"
1366
+ }
1367
+ }
1368
+ },
1369
+ {
1370
+ "name": "AgreementSelector",
1371
+ "optional": false,
1372
+ "type": {
1373
+ "type": "query",
1374
+ "queryType": {
1375
+ "type": "reference",
1376
+ "name": "AgreementSelector"
1377
+ }
1378
+ }
1379
+ },
1380
+ {
1381
+ "name": "Button",
1382
+ "optional": false,
1383
+ "type": {
1384
+ "type": "query",
1385
+ "queryType": {
1386
+ "type": "reference",
1387
+ "name": "Button"
1388
+ }
1389
+ }
1390
+ },
1391
+ {
1392
+ "name": "Link",
1393
+ "optional": false,
1394
+ "type": {
1395
+ "type": "query",
1396
+ "queryType": {
1397
+ "type": "reference",
1398
+ "name": "Link"
1399
+ }
1400
+ }
1401
+ },
1402
+ {
1403
+ "name": "Logo",
1404
+ "optional": false,
1405
+ "type": {
1406
+ "type": "query",
1407
+ "queryType": {
1408
+ "type": "reference",
1409
+ "name": "Logo"
1410
+ }
1411
+ }
1412
+ },
1413
+ {
1414
+ "name": "MenuButton",
1415
+ "optional": false,
1416
+ "type": {
1417
+ "type": "query",
1418
+ "queryType": {
1419
+ "type": "reference",
1420
+ "name": "MenuButton"
1421
+ }
1422
+ }
1423
+ },
1424
+ {
1425
+ "name": "PrimaryNavigation",
1426
+ "optional": false,
1427
+ "type": {
1428
+ "type": "query",
1429
+ "queryType": {
1430
+ "type": "reference",
1431
+ "name": "PrimaryNavigation"
1432
+ }
1433
+ }
1434
+ },
1435
+ {
1436
+ "name": "SecondaryNavigation",
1437
+ "optional": false,
1438
+ "type": {
1439
+ "type": "query",
1440
+ "queryType": {
1441
+ "type": "reference",
1442
+ "name": "SecondaryNavigation"
1443
+ }
1444
+ }
1445
+ }
1446
+ ]
1447
+ },
1448
+ "HeaderTexts": {
1449
+ "props": [
1450
+ {
1451
+ "name": "addAgreement",
1452
+ "optional": false,
1453
+ "type": "string"
1454
+ },
1455
+ {
1456
+ "name": "logout",
1457
+ "optional": false,
1458
+ "type": "string"
1459
+ },
1460
+ {
1461
+ "name": "more",
1462
+ "optional": false,
1463
+ "type": "string"
1464
+ },
1465
+ {
1466
+ "name": "new",
1467
+ "optional": false,
1468
+ "type": "string"
1469
+ },
1470
+ {
1471
+ "name": "search",
1472
+ "optional": false,
1473
+ "type": "string"
1474
+ }
1475
+ ]
1476
+ },
1477
+ "MenuHeaderProps": "HTMLAttributes<HTMLDivElement>"
1478
+ },
1479
+ "AgreementSelector": {
1480
+ "AgreementDisplayProps": {
1481
+ "intersections": [
1482
+ "HTMLAttributes<HTMLDivElement>"
1483
+ ],
1484
+ "props": [
1485
+ {
1486
+ "name": "currentAgreement",
1487
+ "optional": false,
1488
+ "type": "Agreement"
1489
+ },
1490
+ {
1491
+ "name": "fallbackImageSrc",
1492
+ "optional": false,
1493
+ "type": "string"
1494
+ }
1495
+ ]
1496
+ },
1497
+ "AgreementSelectorProps": {
1498
+ "intersections": [
1499
+ "AgreementDisplayProps"
1500
+ ],
1501
+ "props": [
1502
+ {
1503
+ "name": "agreements",
1504
+ "optional": false,
1505
+ "type": "Agreement[]"
1506
+ },
1507
+ {
1508
+ "name": "filterAgreement",
1509
+ "optional": false,
1510
+ "type": {
1511
+ "arguments": {
1512
+ "agreement": "Agreement",
1513
+ "filter": {
1514
+ "arguments": {
1515
+ "agreement": "Agreement"
1516
+ },
1517
+ "returnValue": "boolean"
1518
+ }
1519
+ },
1520
+ "returnValue": "void"
1521
+ }
1522
+ },
1523
+ {
1524
+ "name": "filterClientAgreement",
1525
+ "optional": false,
1526
+ "type": {
1527
+ "arguments": {
1528
+ "agreement": "Agreement",
1529
+ "filter": {
1530
+ "arguments": {
1531
+ "agreement": "Agreement"
1532
+ },
1533
+ "returnValue": "boolean"
1534
+ }
1535
+ },
1536
+ "returnValue": "void"
1537
+ }
1538
+ },
1539
+ {
1540
+ "name": "onAddAgreement",
1541
+ "optional": true,
1542
+ "type": {
1543
+ "returnValue": "void"
1544
+ }
1545
+ },
1546
+ {
1547
+ "name": "onChangeAgreement",
1548
+ "optional": false,
1549
+ "type": {
1550
+ "arguments": {
1551
+ "agreement": "Agreement"
1552
+ },
1553
+ "returnValue": "void"
1554
+ }
1555
+ },
1556
+ {
1557
+ "name": "onLogout",
1558
+ "optional": false,
1559
+ "type": {
1560
+ "returnValue": "void"
1561
+ }
1562
+ },
1563
+ {
1564
+ "name": "open",
1565
+ "optional": true,
1566
+ "type": "boolean"
1567
+ },
1568
+ {
1569
+ "name": "setOpen",
1570
+ "optional": true,
1571
+ "type": {
1572
+ "arguments": {
1573
+ "open": "boolean"
1574
+ },
1575
+ "returnValue": "void"
1576
+ }
1577
+ }
1578
+ ]
1579
+ }
1580
+ },
1581
+ "AgreementDetails": {
1582
+ "Agreement": {
1583
+ "props": [
1584
+ {
1585
+ "name": "adminAgreementNumber",
1586
+ "optional": true,
1587
+ "type": "number"
1588
+ },
1589
+ {
1590
+ "name": "clients",
1591
+ "optional": true,
1592
+ "type": "Agreement[]"
1593
+ },
1594
+ {
1595
+ "name": "favorite",
1596
+ "optional": true,
1597
+ "type": "boolean"
1598
+ },
1599
+ {
1600
+ "name": "imageSrc",
1601
+ "optional": true,
1602
+ "type": "string"
1603
+ },
1604
+ {
1605
+ "name": "isAdministrator",
1606
+ "optional": true,
1607
+ "type": "boolean"
1608
+ },
1609
+ {
1610
+ "name": "isDeveloper",
1611
+ "optional": true,
1612
+ "type": "boolean"
1613
+ },
1614
+ {
1615
+ "name": "name",
1616
+ "optional": false,
1617
+ "type": "string"
1618
+ },
1619
+ {
1620
+ "name": "number",
1621
+ "optional": false,
1622
+ "type": "number"
1623
+ },
1624
+ {
1625
+ "name": "secure",
1626
+ "optional": false,
1627
+ "type": "boolean"
1628
+ },
1629
+ {
1630
+ "name": "statuses",
1631
+ "optional": true,
1632
+ "type": "any[]"
1633
+ },
1634
+ {
1635
+ "name": "userId",
1636
+ "optional": false,
1637
+ "type": "string"
1638
+ }
1639
+ ]
1640
+ },
1641
+ "AgreementDetailsProps": {
1642
+ "intersections": [
1643
+ "Agreement"
1644
+ ],
1645
+ "props": [
1646
+ {
1647
+ "name": "children",
1648
+ "optional": true,
1649
+ "type": [
1650
+ "Element",
1651
+ "null"
1652
+ ]
1653
+ },
1654
+ {
1655
+ "name": "className",
1656
+ "optional": true,
1657
+ "type": "string"
1658
+ },
1659
+ {
1660
+ "name": "fallbackImageSrc",
1661
+ "optional": false,
1662
+ "type": "string"
1663
+ }
1664
+ ]
1665
+ }
1666
+ },
1667
+ "Link": {
1668
+ "BaseLinkProps": {
1669
+ "intersections": [
1670
+ "AnchorHTMLAttributes<HTMLAnchorElement>"
1671
+ ],
1672
+ "props": [
1673
+ {
1674
+ "name": "as",
1675
+ "optional": true,
1676
+ "type": "string"
1677
+ },
1678
+ {
1679
+ "name": "tooltip",
1680
+ "optional": true,
1681
+ "type": "string"
1682
+ }
1683
+ ]
1684
+ },
1685
+ "LinkProps": [
1686
+ "LinkPropsWithoutIcon",
1687
+ "LinkPropsWithIcon"
1688
+ ],
1689
+ "MenuLinkItemProps": {
1690
+ "intersections": [
1691
+ "Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'>"
1692
+ ],
1693
+ "props": [
1694
+ {
1695
+ "name": "disabled",
1696
+ "optional": true,
1697
+ "type": "boolean"
1698
+ },
1699
+ {
1700
+ "name": "href",
1701
+ "optional": false,
1702
+ "type": "string"
1703
+ },
1704
+ {
1705
+ "name": "icon",
1706
+ "optional": true,
1707
+ "type": "IconName"
1708
+ },
1709
+ {
1710
+ "name": "onClick",
1711
+ "optional": true,
1712
+ "type": {
1713
+ "arguments": {
1714
+ "event": "MouseEvent<HTMLDivElement, MouseEvent>"
1715
+ },
1716
+ "returnValue": "void"
1717
+ }
1718
+ }
1719
+ ]
1720
+ },
1721
+ "Navigation2LinkProps": {
1722
+ "intersections": [
1723
+ "AnchorHTMLAttributes<HTMLAnchorElement>"
1724
+ ],
1725
+ "props": [
1726
+ {
1727
+ "name": "active",
1728
+ "optional": true,
1729
+ "type": "boolean"
1730
+ },
1731
+ {
1732
+ "name": "icon",
1733
+ "optional": true,
1734
+ "type": "IconName"
1735
+ },
1736
+ {
1737
+ "description": "Menu component associated with the button.",
1738
+ "name": "menu",
1739
+ "optional": true,
1740
+ "type": {
1741
+ "arguments": {
1742
+ "props": "Partial<MenuProps>"
1743
+ },
1744
+ "returnValue": "Element"
1745
+ }
1746
+ },
1747
+ {
1748
+ "description": "Handler to be used when dropping a dragged element over the Navigation2 link",
1749
+ "name": "onDrop",
1750
+ "optional": true,
1751
+ "type": "React.DragEventHandler"
1752
+ },
1753
+ {
1754
+ "description": "Total shown inside a Badge component",
1755
+ "name": "total",
1756
+ "optional": true,
1757
+ "type": "number"
1758
+ }
1759
+ ]
1760
+ }
1761
+ },
1762
+ "Logo": {
1763
+ "LogoProps": "SVGAttributes<SVGSVGElement>"
1764
+ },
1765
+ "MenuButton": {
1766
+ "MenuButtonProps": {
1767
+ "props": [
1768
+ {
1769
+ "name": "onClick",
1770
+ "optional": false,
1771
+ "type": {
1772
+ "returnValue": "void"
1773
+ }
1774
+ }
1775
+ ]
1776
+ }
1777
+ },
1778
+ "PrimaryNavigation": {
1779
+ "PrimaryNavigationProps": "HTMLAttributes<HTMLElement>"
1780
+ },
1781
+ "SecondaryNavigation": {
1782
+ "SecondaryNavigationProps": "HTMLAttributes<HTMLUListElement>"
1783
+ },
1371
1784
  "HoverCard": {
1372
1785
  "HoverCardContentProps": {
1373
1786
  "intersections": [
@@ -1755,6 +2168,44 @@
1755
2168
  ]
1756
2169
  }
1757
2170
  },
2171
+ "Layout": {
2172
+ "LayoutProps": "HTMLAttributes<HTMLDivElement>"
2173
+ },
2174
+ "Page": {
2175
+ "LayoutPageProps": "HTMLAttributes<HTMLDivElement>"
2176
+ },
2177
+ "Sidebar": {
2178
+ "LayoutSidebarProps": "HTMLAttributes<HTMLDivElement>"
2179
+ },
2180
+ "Top": {
2181
+ "LayoutTopProps": {
2182
+ "props": [
2183
+ {
2184
+ "name": "children",
2185
+ "optional": false,
2186
+ "type": [
2187
+ "React.ReactNode",
2188
+ "React.ReactNode[]",
2189
+ {
2190
+ "arguments": {
2191
+ "__namedParameters": [
2192
+ {
2193
+ "name": "toggleSidebar",
2194
+ "optional": false,
2195
+ "type": "any"
2196
+ }
2197
+ ]
2198
+ },
2199
+ "returnValue": [
2200
+ "React.ReactNode",
2201
+ "React.ReactNode[]"
2202
+ ]
2203
+ }
2204
+ ]
2205
+ }
2206
+ ]
2207
+ }
2208
+ },
1758
2209
  "Listbox": {
1759
2210
  "ListboxItem": "ScrollableListItem",
1760
2211
  "ListboxProps": {
@@ -2004,9 +2455,6 @@
2004
2455
  ]
2005
2456
  }
2006
2457
  },
2007
- "Header": {
2008
- "MenuHeaderProps": "HTMLAttributes<HTMLDivElement>"
2009
- },
2010
2458
  "Item": {
2011
2459
  "MenuItemProps": {
2012
2460
  "intersections": [
@@ -2051,40 +2499,6 @@
2051
2499
  ]
2052
2500
  }
2053
2501
  },
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
2502
  "RadioGroup": {
2089
2503
  "ForwardedMenuRadioGroupWithStatics": {
2090
2504
  "intersections": [
@@ -2229,6 +2643,23 @@
2229
2643
  "NavigationPanelProps": "HTMLAttributes<HTMLDivElement>",
2230
2644
  "NavigationProps": "HTMLAttributes<HTMLDivElement>"
2231
2645
  },
2646
+ "Navigation2": {
2647
+ "Navigation2Props": "HTMLAttributes<HTMLUListElement>"
2648
+ },
2649
+ "Section": {
2650
+ "Navigation2SectionProps": {
2651
+ "intersections": [
2652
+ "LiHTMLAttributes<HTMLLIElement>"
2653
+ ],
2654
+ "props": [
2655
+ {
2656
+ "name": "heading",
2657
+ "optional": true,
2658
+ "type": "string"
2659
+ }
2660
+ ]
2661
+ }
2662
+ },
2232
2663
  "Pagination": {
2233
2664
  "PaginationProps": {
2234
2665
  "intersections": [
@@ -2553,6 +2984,12 @@
2553
2984
  "optional": false,
2554
2985
  "type": "HangerTexts"
2555
2986
  },
2987
+ {
2988
+ "description": "Localized texts and aria-labels for [Header](component:header) component",
2989
+ "name": "header",
2990
+ "optional": false,
2991
+ "type": "HeaderTexts"
2992
+ },
2556
2993
  {
2557
2994
  "description": "Localized texts and aria-labels for [Listbox](component:listbox) component",
2558
2995
  "name": "listbox",
@@ -3049,7 +3486,7 @@
3049
3486
  {
3050
3487
  "type": "reflection",
3051
3488
  "declaration": {
3052
- "id": 2961,
3489
+ "id": 3102,
3053
3490
  "name": "__type",
3054
3491
  "kind": 65536,
3055
3492
  "kindString": "Type literal",
@@ -3249,7 +3686,7 @@
3249
3686
  "constraint": {
3250
3687
  "type": "reflection",
3251
3688
  "declaration": {
3252
- "id": 1696,
3689
+ "id": 1837,
3253
3690
  "name": "__type",
3254
3691
  "kind": 65536,
3255
3692
  "kindString": "Type literal",