@genesislcap/foundation-zero 14.143.0 → 14.143.1

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.
@@ -1397,7 +1397,7 @@
1397
1397
  },
1398
1398
  {
1399
1399
  "kind": "javascript-module",
1400
- "path": "src/anchor/anchor.stories.ts",
1400
+ "path": "src/actions-menu/actions-menu.stories.ts",
1401
1401
  "declarations": [
1402
1402
  {
1403
1403
  "kind": "variable",
@@ -1405,15 +1405,23 @@
1405
1405
  "type": {
1406
1406
  "text": "Meta"
1407
1407
  },
1408
- "default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
1408
+ "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1409
1409
  },
1410
1410
  {
1411
1411
  "kind": "variable",
1412
- "name": "All",
1412
+ "name": "Horizontal",
1413
1413
  "type": {
1414
1414
  "text": "StoryObj"
1415
1415
  },
1416
- "default": "{\n args: {\n anchorText: 'Rapid Anchor',\n appearances: ZeroAppearanceValues,\n },\n ...StylesMapperTemplate,\n}"
1416
+ "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
1417
+ },
1418
+ {
1419
+ "kind": "variable",
1420
+ "name": "Vertical",
1421
+ "type": {
1422
+ "text": "StoryObj"
1423
+ },
1424
+ "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
1417
1425
  }
1418
1426
  ],
1419
1427
  "exports": [
@@ -1422,68 +1430,37 @@
1422
1430
  "name": "default",
1423
1431
  "declaration": {
1424
1432
  "name": "meta",
1425
- "module": "src/anchor/anchor.stories.ts"
1433
+ "module": "src/actions-menu/actions-menu.stories.ts"
1426
1434
  }
1427
1435
  },
1428
1436
  {
1429
1437
  "kind": "js",
1430
- "name": "All",
1438
+ "name": "Horizontal",
1431
1439
  "declaration": {
1432
- "name": "All",
1433
- "module": "src/anchor/anchor.stories.ts"
1440
+ "name": "Horizontal",
1441
+ "module": "src/actions-menu/actions-menu.stories.ts"
1434
1442
  }
1435
- }
1436
- ]
1437
- },
1438
- {
1439
- "kind": "javascript-module",
1440
- "path": "src/anchor/anchor.styles.ts",
1441
- "declarations": [
1442
- {
1443
- "kind": "function",
1444
- "name": "zeroAnchorStyles",
1445
- "return": {
1446
- "type": {
1447
- "text": "ElementStyles"
1448
- }
1449
- },
1450
- "parameters": [
1451
- {
1452
- "name": "context",
1453
- "type": {
1454
- "text": "ElementDefinitionContext"
1455
- }
1456
- },
1457
- {
1458
- "name": "definition",
1459
- "type": {
1460
- "text": "FoundationElementDefinition"
1461
- }
1462
- }
1463
- ]
1464
- }
1465
- ],
1466
- "exports": [
1443
+ },
1467
1444
  {
1468
1445
  "kind": "js",
1469
- "name": "zeroAnchorStyles",
1446
+ "name": "Vertical",
1470
1447
  "declaration": {
1471
- "name": "zeroAnchorStyles",
1472
- "module": "src/anchor/anchor.styles.ts"
1448
+ "name": "Vertical",
1449
+ "module": "src/actions-menu/actions-menu.stories.ts"
1473
1450
  }
1474
1451
  }
1475
1452
  ]
1476
1453
  },
1477
1454
  {
1478
1455
  "kind": "javascript-module",
1479
- "path": "src/anchor/anchor.template.ts",
1456
+ "path": "src/actions-menu/actions-menu.styles.ts",
1480
1457
  "declarations": [
1481
1458
  {
1482
1459
  "kind": "function",
1483
- "name": "zeroAnchorTemplate",
1460
+ "name": "zeroActionsMenuStyles",
1484
1461
  "return": {
1485
1462
  "type": {
1486
- "text": "ViewTemplate<Anchor>"
1463
+ "text": "ElementStyles"
1487
1464
  }
1488
1465
  },
1489
1466
  "parameters": [
@@ -1505,252 +1482,383 @@
1505
1482
  "exports": [
1506
1483
  {
1507
1484
  "kind": "js",
1508
- "name": "zeroAnchorTemplate",
1485
+ "name": "zeroActionsMenuStyles",
1509
1486
  "declaration": {
1510
- "name": "zeroAnchorTemplate",
1511
- "module": "src/anchor/anchor.template.ts"
1487
+ "name": "zeroActionsMenuStyles",
1488
+ "module": "src/actions-menu/actions-menu.styles.ts"
1512
1489
  }
1513
1490
  }
1514
1491
  ]
1515
1492
  },
1516
1493
  {
1517
1494
  "kind": "javascript-module",
1518
- "path": "src/anchor/anchor.ts",
1495
+ "path": "src/actions-menu/actions-menu.ts",
1519
1496
  "declarations": [
1520
1497
  {
1521
1498
  "kind": "class",
1522
1499
  "description": "",
1523
- "name": "Anchor",
1500
+ "name": "ActionsMenu",
1524
1501
  "superclass": {
1525
- "name": "FoundationAnchor",
1502
+ "name": "FoundationActionsMenu",
1526
1503
  "package": "@genesislcap/foundation-ui"
1527
1504
  },
1528
- "tagName": "%%prefix%%-anchor",
1505
+ "tagName": "%%prefix%%-actions-menu",
1529
1506
  "customElement": true,
1530
1507
  "attributes": [
1531
1508
  {
1532
- "name": "download",
1509
+ "name": "is-vertical",
1533
1510
  "type": {
1534
- "text": "string"
1511
+ "text": "boolean"
1535
1512
  },
1536
- "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1537
- "fieldName": "download",
1513
+ "default": "false",
1514
+ "fieldName": "isVertical",
1538
1515
  "inheritedFrom": {
1539
- "name": "Anchor",
1540
- "module": "src/anchor/anchor.ts"
1516
+ "name": "ActionsMenu",
1517
+ "module": "src/actions-menu/actions-menu.ts"
1541
1518
  }
1542
1519
  },
1543
1520
  {
1544
- "name": "href",
1521
+ "name": "add-default-actions",
1545
1522
  "type": {
1546
- "text": "string"
1523
+ "text": "boolean"
1547
1524
  },
1548
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1549
- "fieldName": "href",
1525
+ "default": "true",
1526
+ "fieldName": "addDefaultActions",
1550
1527
  "inheritedFrom": {
1551
- "name": "Anchor",
1552
- "module": "src/anchor/anchor.ts"
1528
+ "name": "ActionsMenu",
1529
+ "module": "src/actions-menu/actions-menu.ts"
1553
1530
  }
1554
1531
  },
1555
1532
  {
1556
- "name": "hreflang",
1533
+ "name": "auto-close-on-action",
1557
1534
  "type": {
1558
- "text": "string"
1535
+ "text": "boolean"
1559
1536
  },
1560
- "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1561
- "fieldName": "hreflang",
1537
+ "default": "true",
1538
+ "fieldName": "autoCloseOnAction",
1562
1539
  "inheritedFrom": {
1563
- "name": "Anchor",
1564
- "module": "src/anchor/anchor.ts"
1540
+ "name": "ActionsMenu",
1541
+ "module": "src/actions-menu/actions-menu.ts"
1565
1542
  }
1566
1543
  },
1567
1544
  {
1568
- "name": "ping",
1545
+ "name": "name",
1569
1546
  "type": {
1570
1547
  "text": "string"
1571
1548
  },
1572
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1573
- "fieldName": "ping",
1549
+ "default": "'Actions'",
1550
+ "fieldName": "name",
1574
1551
  "inheritedFrom": {
1575
- "name": "Anchor",
1576
- "module": "src/anchor/anchor.ts"
1552
+ "name": "ActionsMenu",
1553
+ "module": "src/actions-menu/actions-menu.ts"
1577
1554
  }
1578
1555
  },
1579
1556
  {
1580
- "name": "referrerpolicy",
1557
+ "name": "open",
1581
1558
  "type": {
1582
- "text": "string"
1559
+ "text": "boolean"
1583
1560
  },
1584
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1585
- "fieldName": "referrerpolicy",
1561
+ "default": "false",
1562
+ "fieldName": "open",
1586
1563
  "inheritedFrom": {
1587
- "name": "Anchor",
1588
- "module": "src/anchor/anchor.ts"
1564
+ "name": "ActionsMenu",
1565
+ "module": "src/actions-menu/actions-menu.ts"
1589
1566
  }
1590
1567
  },
1591
1568
  {
1592
- "name": "rel",
1569
+ "name": "buttonAppearance",
1593
1570
  "type": {
1594
1571
  "text": "string"
1595
1572
  },
1596
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1597
- "fieldName": "rel",
1573
+ "fieldName": "buttonAppearance",
1598
1574
  "inheritedFrom": {
1599
- "name": "Anchor",
1600
- "module": "src/anchor/anchor.ts"
1575
+ "name": "ActionsMenu",
1576
+ "module": "src/actions-menu/actions-menu.ts"
1601
1577
  }
1602
1578
  },
1603
1579
  {
1604
- "name": "target",
1580
+ "name": "hide-disabled",
1605
1581
  "type": {
1606
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1582
+ "text": "boolean"
1607
1583
  },
1608
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1609
- "fieldName": "target",
1584
+ "default": "false",
1585
+ "fieldName": "hideDisabled",
1610
1586
  "inheritedFrom": {
1611
- "name": "Anchor",
1612
- "module": "src/anchor/anchor.ts"
1587
+ "name": "ActionsMenu",
1588
+ "module": "src/actions-menu/actions-menu.ts"
1613
1589
  }
1614
1590
  },
1615
1591
  {
1616
- "name": "type",
1592
+ "name": "hide-menu-single-option",
1617
1593
  "type": {
1618
- "text": "string"
1594
+ "text": "boolean"
1619
1595
  },
1620
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1621
- "fieldName": "type",
1596
+ "default": "false",
1597
+ "fieldName": "hideMenuSingleOption",
1622
1598
  "inheritedFrom": {
1623
- "name": "Anchor",
1624
- "module": "src/anchor/anchor.ts"
1599
+ "name": "ActionsMenu",
1600
+ "module": "src/actions-menu/actions-menu.ts"
1625
1601
  }
1626
1602
  }
1627
1603
  ],
1628
1604
  "members": [
1629
1605
  {
1630
1606
  "kind": "field",
1631
- "name": "download",
1607
+ "name": "actions",
1632
1608
  "type": {
1633
- "text": "string"
1609
+ "text": "ActionMenuItem[]"
1634
1610
  },
1635
- "privacy": "public",
1636
- "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1637
1611
  "inheritedFrom": {
1638
- "name": "Anchor",
1639
- "module": "src/anchor/anchor.ts"
1612
+ "name": "ActionsMenu",
1613
+ "module": "src/actions-menu/actions-menu.ts"
1640
1614
  }
1641
1615
  },
1642
1616
  {
1643
1617
  "kind": "field",
1644
- "name": "href",
1618
+ "name": "isVertical",
1645
1619
  "type": {
1646
- "text": "string"
1620
+ "text": "boolean"
1647
1621
  },
1648
- "privacy": "public",
1649
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1622
+ "default": "false",
1650
1623
  "inheritedFrom": {
1651
- "name": "Anchor",
1652
- "module": "src/anchor/anchor.ts"
1624
+ "name": "ActionsMenu",
1625
+ "module": "src/actions-menu/actions-menu.ts"
1653
1626
  }
1654
1627
  },
1655
1628
  {
1656
1629
  "kind": "field",
1657
- "name": "hreflang",
1630
+ "name": "addDefaultActions",
1658
1631
  "type": {
1659
- "text": "string"
1632
+ "text": "boolean"
1660
1633
  },
1661
- "privacy": "public",
1662
- "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1634
+ "default": "true",
1663
1635
  "inheritedFrom": {
1664
- "name": "Anchor",
1665
- "module": "src/anchor/anchor.ts"
1636
+ "name": "ActionsMenu",
1637
+ "module": "src/actions-menu/actions-menu.ts"
1666
1638
  }
1667
1639
  },
1668
1640
  {
1669
1641
  "kind": "field",
1670
- "name": "ping",
1642
+ "name": "autoCloseOnAction",
1671
1643
  "type": {
1672
- "text": "string"
1644
+ "text": "boolean"
1673
1645
  },
1674
- "privacy": "public",
1675
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1646
+ "default": "true",
1676
1647
  "inheritedFrom": {
1677
- "name": "Anchor",
1678
- "module": "src/anchor/anchor.ts"
1648
+ "name": "ActionsMenu",
1649
+ "module": "src/actions-menu/actions-menu.ts"
1679
1650
  }
1680
1651
  },
1681
1652
  {
1682
1653
  "kind": "field",
1683
- "name": "referrerpolicy",
1654
+ "name": "classNames",
1684
1655
  "type": {
1685
1656
  "text": "string"
1686
1657
  },
1687
- "privacy": "public",
1688
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1689
1658
  "inheritedFrom": {
1690
- "name": "Anchor",
1691
- "module": "src/anchor/anchor.ts"
1659
+ "name": "ActionsMenu",
1660
+ "module": "src/actions-menu/actions-menu.ts"
1692
1661
  }
1693
1662
  },
1694
1663
  {
1695
1664
  "kind": "field",
1696
- "name": "rel",
1665
+ "name": "definition",
1697
1666
  "type": {
1698
- "text": "string"
1667
+ "text": "any"
1699
1668
  },
1700
- "privacy": "public",
1701
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1702
1669
  "inheritedFrom": {
1703
- "name": "Anchor",
1704
- "module": "src/anchor/anchor.ts"
1670
+ "name": "ActionsMenu",
1671
+ "module": "src/actions-menu/actions-menu.ts"
1705
1672
  }
1706
1673
  },
1707
1674
  {
1708
1675
  "kind": "field",
1709
- "name": "target",
1676
+ "name": "name",
1710
1677
  "type": {
1711
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1678
+ "text": "string"
1712
1679
  },
1713
- "privacy": "public",
1714
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1680
+ "default": "'Actions'",
1715
1681
  "inheritedFrom": {
1716
- "name": "Anchor",
1717
- "module": "src/anchor/anchor.ts"
1682
+ "name": "ActionsMenu",
1683
+ "module": "src/actions-menu/actions-menu.ts"
1718
1684
  }
1719
1685
  },
1720
1686
  {
1721
1687
  "kind": "field",
1722
- "name": "type",
1688
+ "name": "open",
1723
1689
  "type": {
1724
- "text": "string"
1690
+ "text": "boolean"
1725
1691
  },
1726
- "privacy": "public",
1727
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1692
+ "default": "false",
1728
1693
  "inheritedFrom": {
1729
- "name": "Anchor",
1730
- "module": "src/anchor/anchor.ts"
1731
- }
1694
+ "name": "ActionsMenu",
1695
+ "module": "src/actions-menu/actions-menu.ts"
1696
+ }
1732
1697
  },
1733
1698
  {
1734
1699
  "kind": "field",
1735
- "name": "control",
1700
+ "name": "buttonAppearance",
1736
1701
  "type": {
1737
- "text": "HTMLAnchorElement | undefined"
1702
+ "text": "string"
1738
1703
  },
1739
- "privacy": "public",
1740
- "description": "References the root element",
1741
1704
  "inheritedFrom": {
1742
- "name": "Anchor",
1743
- "module": "src/anchor/anchor.ts"
1705
+ "name": "ActionsMenu",
1706
+ "module": "src/actions-menu/actions-menu.ts"
1744
1707
  }
1745
1708
  },
1746
1709
  {
1747
1710
  "kind": "field",
1748
- "name": "handleUnsupportedDelegatesFocus",
1749
- "privacy": "private",
1750
- "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
1711
+ "name": "hideDisabled",
1712
+ "type": {
1713
+ "text": "boolean"
1714
+ },
1715
+ "default": "false",
1751
1716
  "inheritedFrom": {
1752
- "name": "Anchor",
1753
- "module": "src/anchor/anchor.ts"
1717
+ "name": "ActionsMenu",
1718
+ "module": "src/actions-menu/actions-menu.ts"
1719
+ }
1720
+ },
1721
+ {
1722
+ "kind": "field",
1723
+ "name": "hideMenuSingleOption",
1724
+ "type": {
1725
+ "text": "boolean"
1726
+ },
1727
+ "default": "false",
1728
+ "inheritedFrom": {
1729
+ "name": "ActionsMenu",
1730
+ "module": "src/actions-menu/actions-menu.ts"
1731
+ }
1732
+ },
1733
+ {
1734
+ "kind": "field",
1735
+ "name": "singleOption",
1736
+ "type": {
1737
+ "text": "ActionMenuItem"
1738
+ },
1739
+ "inheritedFrom": {
1740
+ "name": "ActionsMenu",
1741
+ "module": "src/actions-menu/actions-menu.ts"
1742
+ }
1743
+ },
1744
+ {
1745
+ "kind": "field",
1746
+ "name": "actionsMenu",
1747
+ "type": {
1748
+ "text": "HTMLElement"
1749
+ },
1750
+ "inheritedFrom": {
1751
+ "name": "ActionsMenu",
1752
+ "module": "src/actions-menu/actions-menu.ts"
1753
+ }
1754
+ },
1755
+ {
1756
+ "kind": "method",
1757
+ "name": "definitionChanged",
1758
+ "privacy": "protected",
1759
+ "parameters": [
1760
+ {
1761
+ "name": "oldValue",
1762
+ "type": {
1763
+ "text": "any"
1764
+ }
1765
+ },
1766
+ {
1767
+ "name": "newValue",
1768
+ "type": {
1769
+ "text": "any"
1770
+ }
1771
+ }
1772
+ ],
1773
+ "inheritedFrom": {
1774
+ "name": "ActionsMenu",
1775
+ "module": "src/actions-menu/actions-menu.ts"
1776
+ }
1777
+ },
1778
+ {
1779
+ "kind": "method",
1780
+ "name": "openChanged",
1781
+ "privacy": "protected",
1782
+ "inheritedFrom": {
1783
+ "name": "ActionsMenu",
1784
+ "module": "src/actions-menu/actions-menu.ts"
1785
+ }
1786
+ },
1787
+ {
1788
+ "kind": "method",
1789
+ "name": "toggleActionsMenuVisibility",
1790
+ "inheritedFrom": {
1791
+ "name": "ActionsMenu",
1792
+ "module": "src/actions-menu/actions-menu.ts"
1793
+ }
1794
+ },
1795
+ {
1796
+ "kind": "method",
1797
+ "name": "onActionMenuItemClick",
1798
+ "parameters": [
1799
+ {
1800
+ "name": "callback",
1801
+ "type": {
1802
+ "text": "(rowData) => void | any"
1803
+ }
1804
+ }
1805
+ ],
1806
+ "inheritedFrom": {
1807
+ "name": "ActionsMenu",
1808
+ "module": "src/actions-menu/actions-menu.ts"
1809
+ }
1810
+ },
1811
+ {
1812
+ "kind": "field",
1813
+ "name": "allActions",
1814
+ "type": {
1815
+ "text": "ActionMenuItem[]"
1816
+ },
1817
+ "readonly": true,
1818
+ "inheritedFrom": {
1819
+ "name": "ActionsMenu",
1820
+ "module": "src/actions-menu/actions-menu.ts"
1821
+ }
1822
+ },
1823
+ {
1824
+ "kind": "field",
1825
+ "name": "rowData",
1826
+ "readonly": true,
1827
+ "inheritedFrom": {
1828
+ "name": "ActionsMenu",
1829
+ "module": "src/actions-menu/actions-menu.ts"
1830
+ }
1831
+ },
1832
+ {
1833
+ "kind": "method",
1834
+ "name": "getLabel",
1835
+ "parameters": [
1836
+ {
1837
+ "name": "name",
1838
+ "type": {
1839
+ "text": "string | ((rowData: any) => string)"
1840
+ }
1841
+ }
1842
+ ],
1843
+ "inheritedFrom": {
1844
+ "name": "ActionsMenu",
1845
+ "module": "src/actions-menu/actions-menu.ts"
1846
+ }
1847
+ },
1848
+ {
1849
+ "kind": "method",
1850
+ "name": "getTemplate",
1851
+ "parameters": [
1852
+ {
1853
+ "name": "prefix",
1854
+ "type": {
1855
+ "text": "string"
1856
+ }
1857
+ }
1858
+ ],
1859
+ "inheritedFrom": {
1860
+ "name": "ActionsMenu",
1861
+ "module": "src/actions-menu/actions-menu.ts"
1754
1862
  }
1755
1863
  },
1756
1864
  {
@@ -1762,8 +1870,8 @@
1762
1870
  "privacy": "private",
1763
1871
  "default": "void 0",
1764
1872
  "inheritedFrom": {
1765
- "name": "Anchor",
1766
- "module": "src/anchor/anchor.ts"
1873
+ "name": "FoundationElement",
1874
+ "module": "src/foundation-element/foundation-element.ts"
1767
1875
  }
1768
1876
  },
1769
1877
  {
@@ -1775,8 +1883,8 @@
1775
1883
  "privacy": "public",
1776
1884
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1777
1885
  "inheritedFrom": {
1778
- "name": "Anchor",
1779
- "module": "src/anchor/anchor.ts"
1886
+ "name": "FoundationElement",
1887
+ "module": "src/foundation-element/foundation-element.ts"
1780
1888
  }
1781
1889
  },
1782
1890
  {
@@ -1788,8 +1896,8 @@
1788
1896
  "privacy": "public",
1789
1897
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1790
1898
  "inheritedFrom": {
1791
- "name": "Anchor",
1792
- "module": "src/anchor/anchor.ts"
1899
+ "name": "FoundationElement",
1900
+ "module": "src/foundation-element/foundation-element.ts"
1793
1901
  }
1794
1902
  },
1795
1903
  {
@@ -1802,8 +1910,8 @@
1802
1910
  }
1803
1911
  },
1804
1912
  "inheritedFrom": {
1805
- "name": "Anchor",
1806
- "module": "src/anchor/anchor.ts"
1913
+ "name": "FoundationElement",
1914
+ "module": "src/foundation-element/foundation-element.ts"
1807
1915
  }
1808
1916
  },
1809
1917
  {
@@ -1815,8 +1923,8 @@
1815
1923
  "privacy": "public",
1816
1924
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1817
1925
  "inheritedFrom": {
1818
- "name": "Anchor",
1819
- "module": "src/anchor/anchor.ts"
1926
+ "name": "FoundationElement",
1927
+ "module": "src/foundation-element/foundation-element.ts"
1820
1928
  }
1821
1929
  },
1822
1930
  {
@@ -1829,8 +1937,8 @@
1829
1937
  }
1830
1938
  },
1831
1939
  "inheritedFrom": {
1832
- "name": "Anchor",
1833
- "module": "src/anchor/anchor.ts"
1940
+ "name": "FoundationElement",
1941
+ "module": "src/foundation-element/foundation-element.ts"
1834
1942
  }
1835
1943
  },
1836
1944
  {
@@ -1860,39 +1968,41 @@
1860
1968
  ],
1861
1969
  "description": "Defines an element registry function with a set of element definition defaults.",
1862
1970
  "inheritedFrom": {
1863
- "name": "Anchor",
1864
- "module": "src/anchor/anchor.ts"
1971
+ "name": "FoundationElement",
1972
+ "module": "src/foundation-element/foundation-element.ts"
1865
1973
  }
1866
1974
  }
1867
1975
  ]
1868
1976
  },
1869
1977
  {
1870
1978
  "kind": "variable",
1871
- "name": "zeroAnchor"
1979
+ "name": "zeroActionsMenu",
1980
+ "description": "The Zero Actions Menu",
1981
+ "privacy": "public"
1872
1982
  }
1873
1983
  ],
1874
1984
  "exports": [
1875
1985
  {
1876
1986
  "kind": "js",
1877
- "name": "Anchor",
1987
+ "name": "ActionsMenu",
1878
1988
  "declaration": {
1879
- "name": "Anchor",
1880
- "module": "src/anchor/anchor.ts"
1989
+ "name": "ActionsMenu",
1990
+ "module": "src/actions-menu/actions-menu.ts"
1881
1991
  }
1882
1992
  },
1883
1993
  {
1884
1994
  "kind": "js",
1885
- "name": "zeroAnchor",
1995
+ "name": "zeroActionsMenu",
1886
1996
  "declaration": {
1887
- "name": "zeroAnchor",
1888
- "module": "src/anchor/anchor.ts"
1997
+ "name": "zeroActionsMenu",
1998
+ "module": "src/actions-menu/actions-menu.ts"
1889
1999
  }
1890
2000
  }
1891
2001
  ]
1892
2002
  },
1893
2003
  {
1894
2004
  "kind": "javascript-module",
1895
- "path": "src/anchor/index.ts",
2005
+ "path": "src/actions-menu/index.ts",
1896
2006
  "declarations": [],
1897
2007
  "exports": [
1898
2008
  {
@@ -1900,15 +2010,7 @@
1900
2010
  "name": "*",
1901
2011
  "declaration": {
1902
2012
  "name": "*",
1903
- "package": "./anchor"
1904
- }
1905
- },
1906
- {
1907
- "kind": "js",
1908
- "name": "*",
1909
- "declaration": {
1910
- "name": "*",
1911
- "package": "./anchor.styles"
2013
+ "package": "./actions-menu"
1912
2014
  }
1913
2015
  },
1914
2016
  {
@@ -1916,14 +2018,14 @@
1916
2018
  "name": "*",
1917
2019
  "declaration": {
1918
2020
  "name": "*",
1919
- "package": "./anchor.template"
2021
+ "package": "./actions-menu.styles"
1920
2022
  }
1921
2023
  }
1922
2024
  ]
1923
2025
  },
1924
2026
  {
1925
2027
  "kind": "javascript-module",
1926
- "path": "src/actions-menu/actions-menu.stories.ts",
2028
+ "path": "src/anchor/anchor.stories.ts",
1927
2029
  "declarations": [
1928
2030
  {
1929
2031
  "kind": "variable",
@@ -1931,23 +2033,15 @@
1931
2033
  "type": {
1932
2034
  "text": "Meta"
1933
2035
  },
1934
- "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1935
- },
1936
- {
1937
- "kind": "variable",
1938
- "name": "Horizontal",
1939
- "type": {
1940
- "text": "StoryObj"
1941
- },
1942
- "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
2036
+ "default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
1943
2037
  },
1944
2038
  {
1945
2039
  "kind": "variable",
1946
- "name": "Vertical",
2040
+ "name": "All",
1947
2041
  "type": {
1948
2042
  "text": "StoryObj"
1949
2043
  },
1950
- "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
2044
+ "default": "{\n args: {\n anchorText: 'Rapid Anchor',\n appearances: ZeroAppearanceValues,\n },\n ...StylesMapperTemplate,\n}"
1951
2045
  }
1952
2046
  ],
1953
2047
  "exports": [
@@ -1956,34 +2050,26 @@
1956
2050
  "name": "default",
1957
2051
  "declaration": {
1958
2052
  "name": "meta",
1959
- "module": "src/actions-menu/actions-menu.stories.ts"
2053
+ "module": "src/anchor/anchor.stories.ts"
1960
2054
  }
1961
2055
  },
1962
2056
  {
1963
2057
  "kind": "js",
1964
- "name": "Horizontal",
2058
+ "name": "All",
1965
2059
  "declaration": {
1966
- "name": "Horizontal",
1967
- "module": "src/actions-menu/actions-menu.stories.ts"
1968
- }
1969
- },
1970
- {
1971
- "kind": "js",
1972
- "name": "Vertical",
1973
- "declaration": {
1974
- "name": "Vertical",
1975
- "module": "src/actions-menu/actions-menu.stories.ts"
2060
+ "name": "All",
2061
+ "module": "src/anchor/anchor.stories.ts"
1976
2062
  }
1977
2063
  }
1978
2064
  ]
1979
2065
  },
1980
2066
  {
1981
2067
  "kind": "javascript-module",
1982
- "path": "src/actions-menu/actions-menu.styles.ts",
2068
+ "path": "src/anchor/anchor.styles.ts",
1983
2069
  "declarations": [
1984
2070
  {
1985
2071
  "kind": "function",
1986
- "name": "zeroActionsMenuStyles",
2072
+ "name": "zeroAnchorStyles",
1987
2073
  "return": {
1988
2074
  "type": {
1989
2075
  "text": "ElementStyles"
@@ -2008,383 +2094,291 @@
2008
2094
  "exports": [
2009
2095
  {
2010
2096
  "kind": "js",
2011
- "name": "zeroActionsMenuStyles",
2097
+ "name": "zeroAnchorStyles",
2012
2098
  "declaration": {
2013
- "name": "zeroActionsMenuStyles",
2014
- "module": "src/actions-menu/actions-menu.styles.ts"
2099
+ "name": "zeroAnchorStyles",
2100
+ "module": "src/anchor/anchor.styles.ts"
2015
2101
  }
2016
2102
  }
2017
2103
  ]
2018
2104
  },
2019
2105
  {
2020
2106
  "kind": "javascript-module",
2021
- "path": "src/actions-menu/actions-menu.ts",
2107
+ "path": "src/anchor/anchor.template.ts",
2108
+ "declarations": [
2109
+ {
2110
+ "kind": "function",
2111
+ "name": "zeroAnchorTemplate",
2112
+ "return": {
2113
+ "type": {
2114
+ "text": "ViewTemplate<Anchor>"
2115
+ }
2116
+ },
2117
+ "parameters": [
2118
+ {
2119
+ "name": "context",
2120
+ "type": {
2121
+ "text": "ElementDefinitionContext"
2122
+ }
2123
+ },
2124
+ {
2125
+ "name": "definition",
2126
+ "type": {
2127
+ "text": "FoundationElementDefinition"
2128
+ }
2129
+ }
2130
+ ]
2131
+ }
2132
+ ],
2133
+ "exports": [
2134
+ {
2135
+ "kind": "js",
2136
+ "name": "zeroAnchorTemplate",
2137
+ "declaration": {
2138
+ "name": "zeroAnchorTemplate",
2139
+ "module": "src/anchor/anchor.template.ts"
2140
+ }
2141
+ }
2142
+ ]
2143
+ },
2144
+ {
2145
+ "kind": "javascript-module",
2146
+ "path": "src/anchor/anchor.ts",
2022
2147
  "declarations": [
2023
2148
  {
2024
2149
  "kind": "class",
2025
2150
  "description": "",
2026
- "name": "ActionsMenu",
2151
+ "name": "Anchor",
2027
2152
  "superclass": {
2028
- "name": "FoundationActionsMenu",
2153
+ "name": "FoundationAnchor",
2029
2154
  "package": "@genesislcap/foundation-ui"
2030
2155
  },
2031
- "tagName": "%%prefix%%-actions-menu",
2156
+ "tagName": "%%prefix%%-anchor",
2032
2157
  "customElement": true,
2033
2158
  "attributes": [
2034
2159
  {
2035
- "name": "is-vertical",
2160
+ "name": "download",
2036
2161
  "type": {
2037
- "text": "boolean"
2162
+ "text": "string"
2038
2163
  },
2039
- "default": "false",
2040
- "fieldName": "isVertical",
2164
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2165
+ "fieldName": "download",
2041
2166
  "inheritedFrom": {
2042
- "name": "ActionsMenu",
2043
- "module": "src/actions-menu/actions-menu.ts"
2167
+ "name": "Anchor",
2168
+ "module": "src/anchor/anchor.ts"
2044
2169
  }
2045
2170
  },
2046
2171
  {
2047
- "name": "add-default-actions",
2172
+ "name": "href",
2048
2173
  "type": {
2049
- "text": "boolean"
2174
+ "text": "string"
2050
2175
  },
2051
- "default": "true",
2052
- "fieldName": "addDefaultActions",
2176
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2177
+ "fieldName": "href",
2053
2178
  "inheritedFrom": {
2054
- "name": "ActionsMenu",
2055
- "module": "src/actions-menu/actions-menu.ts"
2179
+ "name": "Anchor",
2180
+ "module": "src/anchor/anchor.ts"
2056
2181
  }
2057
2182
  },
2058
2183
  {
2059
- "name": "auto-close-on-action",
2184
+ "name": "hreflang",
2060
2185
  "type": {
2061
- "text": "boolean"
2186
+ "text": "string"
2062
2187
  },
2063
- "default": "true",
2064
- "fieldName": "autoCloseOnAction",
2188
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2189
+ "fieldName": "hreflang",
2065
2190
  "inheritedFrom": {
2066
- "name": "ActionsMenu",
2067
- "module": "src/actions-menu/actions-menu.ts"
2191
+ "name": "Anchor",
2192
+ "module": "src/anchor/anchor.ts"
2068
2193
  }
2069
2194
  },
2070
2195
  {
2071
- "name": "name",
2196
+ "name": "ping",
2072
2197
  "type": {
2073
2198
  "text": "string"
2074
2199
  },
2075
- "default": "'Actions'",
2076
- "fieldName": "name",
2200
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2201
+ "fieldName": "ping",
2077
2202
  "inheritedFrom": {
2078
- "name": "ActionsMenu",
2079
- "module": "src/actions-menu/actions-menu.ts"
2203
+ "name": "Anchor",
2204
+ "module": "src/anchor/anchor.ts"
2080
2205
  }
2081
2206
  },
2082
2207
  {
2083
- "name": "open",
2208
+ "name": "referrerpolicy",
2084
2209
  "type": {
2085
- "text": "boolean"
2210
+ "text": "string"
2086
2211
  },
2087
- "default": "false",
2088
- "fieldName": "open",
2212
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2213
+ "fieldName": "referrerpolicy",
2089
2214
  "inheritedFrom": {
2090
- "name": "ActionsMenu",
2091
- "module": "src/actions-menu/actions-menu.ts"
2215
+ "name": "Anchor",
2216
+ "module": "src/anchor/anchor.ts"
2092
2217
  }
2093
2218
  },
2094
2219
  {
2095
- "name": "buttonAppearance",
2220
+ "name": "rel",
2096
2221
  "type": {
2097
2222
  "text": "string"
2098
2223
  },
2099
- "fieldName": "buttonAppearance",
2224
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2225
+ "fieldName": "rel",
2100
2226
  "inheritedFrom": {
2101
- "name": "ActionsMenu",
2102
- "module": "src/actions-menu/actions-menu.ts"
2227
+ "name": "Anchor",
2228
+ "module": "src/anchor/anchor.ts"
2103
2229
  }
2104
2230
  },
2105
2231
  {
2106
- "name": "hide-disabled",
2232
+ "name": "target",
2107
2233
  "type": {
2108
- "text": "boolean"
2234
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2109
2235
  },
2110
- "default": "false",
2111
- "fieldName": "hideDisabled",
2236
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2237
+ "fieldName": "target",
2112
2238
  "inheritedFrom": {
2113
- "name": "ActionsMenu",
2114
- "module": "src/actions-menu/actions-menu.ts"
2239
+ "name": "Anchor",
2240
+ "module": "src/anchor/anchor.ts"
2115
2241
  }
2116
2242
  },
2117
2243
  {
2118
- "name": "hide-menu-single-option",
2244
+ "name": "type",
2119
2245
  "type": {
2120
- "text": "boolean"
2246
+ "text": "string"
2121
2247
  },
2122
- "default": "false",
2123
- "fieldName": "hideMenuSingleOption",
2248
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2249
+ "fieldName": "type",
2124
2250
  "inheritedFrom": {
2125
- "name": "ActionsMenu",
2126
- "module": "src/actions-menu/actions-menu.ts"
2251
+ "name": "Anchor",
2252
+ "module": "src/anchor/anchor.ts"
2127
2253
  }
2128
2254
  }
2129
2255
  ],
2130
2256
  "members": [
2131
2257
  {
2132
2258
  "kind": "field",
2133
- "name": "actions",
2134
- "type": {
2135
- "text": "ActionMenuItem[]"
2136
- },
2137
- "inheritedFrom": {
2138
- "name": "ActionsMenu",
2139
- "module": "src/actions-menu/actions-menu.ts"
2140
- }
2141
- },
2142
- {
2143
- "kind": "field",
2144
- "name": "isVertical",
2145
- "type": {
2146
- "text": "boolean"
2147
- },
2148
- "default": "false",
2149
- "inheritedFrom": {
2150
- "name": "ActionsMenu",
2151
- "module": "src/actions-menu/actions-menu.ts"
2152
- }
2153
- },
2154
- {
2155
- "kind": "field",
2156
- "name": "addDefaultActions",
2157
- "type": {
2158
- "text": "boolean"
2159
- },
2160
- "default": "true",
2161
- "inheritedFrom": {
2162
- "name": "ActionsMenu",
2163
- "module": "src/actions-menu/actions-menu.ts"
2164
- }
2165
- },
2166
- {
2167
- "kind": "field",
2168
- "name": "autoCloseOnAction",
2169
- "type": {
2170
- "text": "boolean"
2171
- },
2172
- "default": "true",
2173
- "inheritedFrom": {
2174
- "name": "ActionsMenu",
2175
- "module": "src/actions-menu/actions-menu.ts"
2176
- }
2177
- },
2178
- {
2179
- "kind": "field",
2180
- "name": "classNames",
2259
+ "name": "download",
2181
2260
  "type": {
2182
2261
  "text": "string"
2183
2262
  },
2263
+ "privacy": "public",
2264
+ "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2184
2265
  "inheritedFrom": {
2185
- "name": "ActionsMenu",
2186
- "module": "src/actions-menu/actions-menu.ts"
2187
- }
2188
- },
2189
- {
2190
- "kind": "field",
2191
- "name": "definition",
2192
- "type": {
2193
- "text": "any"
2194
- },
2195
- "inheritedFrom": {
2196
- "name": "ActionsMenu",
2197
- "module": "src/actions-menu/actions-menu.ts"
2266
+ "name": "Anchor",
2267
+ "module": "src/anchor/anchor.ts"
2198
2268
  }
2199
2269
  },
2200
2270
  {
2201
2271
  "kind": "field",
2202
- "name": "name",
2272
+ "name": "href",
2203
2273
  "type": {
2204
2274
  "text": "string"
2205
2275
  },
2206
- "default": "'Actions'",
2276
+ "privacy": "public",
2277
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2207
2278
  "inheritedFrom": {
2208
- "name": "ActionsMenu",
2209
- "module": "src/actions-menu/actions-menu.ts"
2279
+ "name": "Anchor",
2280
+ "module": "src/anchor/anchor.ts"
2210
2281
  }
2211
2282
  },
2212
2283
  {
2213
2284
  "kind": "field",
2214
- "name": "open",
2285
+ "name": "hreflang",
2215
2286
  "type": {
2216
- "text": "boolean"
2287
+ "text": "string"
2217
2288
  },
2218
- "default": "false",
2289
+ "privacy": "public",
2290
+ "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2219
2291
  "inheritedFrom": {
2220
- "name": "ActionsMenu",
2221
- "module": "src/actions-menu/actions-menu.ts"
2292
+ "name": "Anchor",
2293
+ "module": "src/anchor/anchor.ts"
2222
2294
  }
2223
2295
  },
2224
2296
  {
2225
2297
  "kind": "field",
2226
- "name": "buttonAppearance",
2298
+ "name": "ping",
2227
2299
  "type": {
2228
2300
  "text": "string"
2229
2301
  },
2302
+ "privacy": "public",
2303
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2230
2304
  "inheritedFrom": {
2231
- "name": "ActionsMenu",
2232
- "module": "src/actions-menu/actions-menu.ts"
2305
+ "name": "Anchor",
2306
+ "module": "src/anchor/anchor.ts"
2233
2307
  }
2234
2308
  },
2235
2309
  {
2236
2310
  "kind": "field",
2237
- "name": "hideDisabled",
2311
+ "name": "referrerpolicy",
2238
2312
  "type": {
2239
- "text": "boolean"
2313
+ "text": "string"
2240
2314
  },
2241
- "default": "false",
2315
+ "privacy": "public",
2316
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2242
2317
  "inheritedFrom": {
2243
- "name": "ActionsMenu",
2244
- "module": "src/actions-menu/actions-menu.ts"
2318
+ "name": "Anchor",
2319
+ "module": "src/anchor/anchor.ts"
2245
2320
  }
2246
2321
  },
2247
2322
  {
2248
2323
  "kind": "field",
2249
- "name": "hideMenuSingleOption",
2324
+ "name": "rel",
2250
2325
  "type": {
2251
- "text": "boolean"
2326
+ "text": "string"
2252
2327
  },
2253
- "default": "false",
2328
+ "privacy": "public",
2329
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2254
2330
  "inheritedFrom": {
2255
- "name": "ActionsMenu",
2256
- "module": "src/actions-menu/actions-menu.ts"
2331
+ "name": "Anchor",
2332
+ "module": "src/anchor/anchor.ts"
2257
2333
  }
2258
2334
  },
2259
2335
  {
2260
2336
  "kind": "field",
2261
- "name": "singleOption",
2337
+ "name": "target",
2262
2338
  "type": {
2263
- "text": "ActionMenuItem"
2339
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2264
2340
  },
2341
+ "privacy": "public",
2342
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2265
2343
  "inheritedFrom": {
2266
- "name": "ActionsMenu",
2267
- "module": "src/actions-menu/actions-menu.ts"
2344
+ "name": "Anchor",
2345
+ "module": "src/anchor/anchor.ts"
2268
2346
  }
2269
2347
  },
2270
2348
  {
2271
2349
  "kind": "field",
2272
- "name": "actionsMenu",
2350
+ "name": "type",
2273
2351
  "type": {
2274
- "text": "HTMLElement"
2352
+ "text": "string"
2275
2353
  },
2354
+ "privacy": "public",
2355
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2276
2356
  "inheritedFrom": {
2277
- "name": "ActionsMenu",
2278
- "module": "src/actions-menu/actions-menu.ts"
2279
- }
2280
- },
2281
- {
2282
- "kind": "method",
2283
- "name": "definitionChanged",
2284
- "privacy": "protected",
2285
- "parameters": [
2286
- {
2287
- "name": "oldValue",
2288
- "type": {
2289
- "text": "any"
2290
- }
2291
- },
2292
- {
2293
- "name": "newValue",
2294
- "type": {
2295
- "text": "any"
2296
- }
2297
- }
2298
- ],
2299
- "inheritedFrom": {
2300
- "name": "ActionsMenu",
2301
- "module": "src/actions-menu/actions-menu.ts"
2302
- }
2303
- },
2304
- {
2305
- "kind": "method",
2306
- "name": "openChanged",
2307
- "privacy": "protected",
2308
- "inheritedFrom": {
2309
- "name": "ActionsMenu",
2310
- "module": "src/actions-menu/actions-menu.ts"
2311
- }
2312
- },
2313
- {
2314
- "kind": "method",
2315
- "name": "toggleActionsMenuVisibility",
2316
- "inheritedFrom": {
2317
- "name": "ActionsMenu",
2318
- "module": "src/actions-menu/actions-menu.ts"
2319
- }
2320
- },
2321
- {
2322
- "kind": "method",
2323
- "name": "onActionMenuItemClick",
2324
- "parameters": [
2325
- {
2326
- "name": "callback",
2327
- "type": {
2328
- "text": "(rowData) => void | any"
2329
- }
2330
- }
2331
- ],
2332
- "inheritedFrom": {
2333
- "name": "ActionsMenu",
2334
- "module": "src/actions-menu/actions-menu.ts"
2357
+ "name": "Anchor",
2358
+ "module": "src/anchor/anchor.ts"
2335
2359
  }
2336
2360
  },
2337
2361
  {
2338
2362
  "kind": "field",
2339
- "name": "allActions",
2363
+ "name": "control",
2340
2364
  "type": {
2341
- "text": "ActionMenuItem[]"
2365
+ "text": "HTMLAnchorElement | undefined"
2342
2366
  },
2343
- "readonly": true,
2344
- "inheritedFrom": {
2345
- "name": "ActionsMenu",
2346
- "module": "src/actions-menu/actions-menu.ts"
2347
- }
2348
- },
2349
- {
2350
- "kind": "field",
2351
- "name": "rowData",
2352
- "readonly": true,
2353
- "inheritedFrom": {
2354
- "name": "ActionsMenu",
2355
- "module": "src/actions-menu/actions-menu.ts"
2356
- }
2357
- },
2358
- {
2359
- "kind": "method",
2360
- "name": "getLabel",
2361
- "parameters": [
2362
- {
2363
- "name": "name",
2364
- "type": {
2365
- "text": "string | ((rowData: any) => string)"
2366
- }
2367
- }
2368
- ],
2367
+ "privacy": "public",
2368
+ "description": "References the root element",
2369
2369
  "inheritedFrom": {
2370
- "name": "ActionsMenu",
2371
- "module": "src/actions-menu/actions-menu.ts"
2370
+ "name": "Anchor",
2371
+ "module": "src/anchor/anchor.ts"
2372
2372
  }
2373
- },
2374
- {
2375
- "kind": "method",
2376
- "name": "getTemplate",
2377
- "parameters": [
2378
- {
2379
- "name": "prefix",
2380
- "type": {
2381
- "text": "string"
2382
- }
2383
- }
2384
- ],
2373
+ },
2374
+ {
2375
+ "kind": "field",
2376
+ "name": "handleUnsupportedDelegatesFocus",
2377
+ "privacy": "private",
2378
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
2385
2379
  "inheritedFrom": {
2386
- "name": "ActionsMenu",
2387
- "module": "src/actions-menu/actions-menu.ts"
2380
+ "name": "Anchor",
2381
+ "module": "src/anchor/anchor.ts"
2388
2382
  }
2389
2383
  },
2390
2384
  {
@@ -2396,8 +2390,8 @@
2396
2390
  "privacy": "private",
2397
2391
  "default": "void 0",
2398
2392
  "inheritedFrom": {
2399
- "name": "FoundationElement",
2400
- "module": "src/foundation-element/foundation-element.ts"
2393
+ "name": "Anchor",
2394
+ "module": "src/anchor/anchor.ts"
2401
2395
  }
2402
2396
  },
2403
2397
  {
@@ -2409,8 +2403,8 @@
2409
2403
  "privacy": "public",
2410
2404
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2411
2405
  "inheritedFrom": {
2412
- "name": "FoundationElement",
2413
- "module": "src/foundation-element/foundation-element.ts"
2406
+ "name": "Anchor",
2407
+ "module": "src/anchor/anchor.ts"
2414
2408
  }
2415
2409
  },
2416
2410
  {
@@ -2422,8 +2416,8 @@
2422
2416
  "privacy": "public",
2423
2417
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2424
2418
  "inheritedFrom": {
2425
- "name": "FoundationElement",
2426
- "module": "src/foundation-element/foundation-element.ts"
2419
+ "name": "Anchor",
2420
+ "module": "src/anchor/anchor.ts"
2427
2421
  }
2428
2422
  },
2429
2423
  {
@@ -2436,8 +2430,8 @@
2436
2430
  }
2437
2431
  },
2438
2432
  "inheritedFrom": {
2439
- "name": "FoundationElement",
2440
- "module": "src/foundation-element/foundation-element.ts"
2433
+ "name": "Anchor",
2434
+ "module": "src/anchor/anchor.ts"
2441
2435
  }
2442
2436
  },
2443
2437
  {
@@ -2449,8 +2443,8 @@
2449
2443
  "privacy": "public",
2450
2444
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2451
2445
  "inheritedFrom": {
2452
- "name": "FoundationElement",
2453
- "module": "src/foundation-element/foundation-element.ts"
2446
+ "name": "Anchor",
2447
+ "module": "src/anchor/anchor.ts"
2454
2448
  }
2455
2449
  },
2456
2450
  {
@@ -2463,8 +2457,8 @@
2463
2457
  }
2464
2458
  },
2465
2459
  "inheritedFrom": {
2466
- "name": "FoundationElement",
2467
- "module": "src/foundation-element/foundation-element.ts"
2460
+ "name": "Anchor",
2461
+ "module": "src/anchor/anchor.ts"
2468
2462
  }
2469
2463
  },
2470
2464
  {
@@ -2494,41 +2488,39 @@
2494
2488
  ],
2495
2489
  "description": "Defines an element registry function with a set of element definition defaults.",
2496
2490
  "inheritedFrom": {
2497
- "name": "FoundationElement",
2498
- "module": "src/foundation-element/foundation-element.ts"
2491
+ "name": "Anchor",
2492
+ "module": "src/anchor/anchor.ts"
2499
2493
  }
2500
2494
  }
2501
2495
  ]
2502
2496
  },
2503
2497
  {
2504
2498
  "kind": "variable",
2505
- "name": "zeroActionsMenu",
2506
- "description": "The Zero Actions Menu",
2507
- "privacy": "public"
2499
+ "name": "zeroAnchor"
2508
2500
  }
2509
2501
  ],
2510
2502
  "exports": [
2511
2503
  {
2512
2504
  "kind": "js",
2513
- "name": "ActionsMenu",
2505
+ "name": "Anchor",
2514
2506
  "declaration": {
2515
- "name": "ActionsMenu",
2516
- "module": "src/actions-menu/actions-menu.ts"
2507
+ "name": "Anchor",
2508
+ "module": "src/anchor/anchor.ts"
2517
2509
  }
2518
2510
  },
2519
2511
  {
2520
2512
  "kind": "js",
2521
- "name": "zeroActionsMenu",
2513
+ "name": "zeroAnchor",
2522
2514
  "declaration": {
2523
- "name": "zeroActionsMenu",
2524
- "module": "src/actions-menu/actions-menu.ts"
2515
+ "name": "zeroAnchor",
2516
+ "module": "src/anchor/anchor.ts"
2525
2517
  }
2526
2518
  }
2527
2519
  ]
2528
2520
  },
2529
2521
  {
2530
2522
  "kind": "javascript-module",
2531
- "path": "src/actions-menu/index.ts",
2523
+ "path": "src/anchor/index.ts",
2532
2524
  "declarations": [],
2533
2525
  "exports": [
2534
2526
  {
@@ -2536,7 +2528,7 @@
2536
2528
  "name": "*",
2537
2529
  "declaration": {
2538
2530
  "name": "*",
2539
- "package": "./actions-menu"
2531
+ "package": "./anchor"
2540
2532
  }
2541
2533
  },
2542
2534
  {
@@ -2544,7 +2536,15 @@
2544
2536
  "name": "*",
2545
2537
  "declaration": {
2546
2538
  "name": "*",
2547
- "package": "./actions-menu.styles"
2539
+ "package": "./anchor.styles"
2540
+ }
2541
+ },
2542
+ {
2543
+ "kind": "js",
2544
+ "name": "*",
2545
+ "declaration": {
2546
+ "name": "*",
2547
+ "package": "./anchor.template"
2548
2548
  }
2549
2549
  }
2550
2550
  ]
@@ -11537,195 +11537,7 @@
11537
11537
  "name": "*",
11538
11538
  "declaration": {
11539
11539
  "name": "*",
11540
- "package": "./dialog"
11541
- }
11542
- },
11543
- {
11544
- "kind": "js",
11545
- "name": "*",
11546
- "declaration": {
11547
- "name": "*",
11548
- "package": "./dialog.styles"
11549
- }
11550
- },
11551
- {
11552
- "kind": "js",
11553
- "name": "zeroDialogTemplate",
11554
- "declaration": {
11555
- "name": "foundationDialogTemplate",
11556
- "package": "@genesislcap/foundation-ui"
11557
- }
11558
- }
11559
- ]
11560
- },
11561
- {
11562
- "kind": "javascript-module",
11563
- "path": "src/disclosure/disclosure.stories.ts",
11564
- "declarations": [
11565
- {
11566
- "kind": "variable",
11567
- "name": "meta",
11568
- "type": {
11569
- "text": "Meta"
11570
- },
11571
- "default": "{\n title: 'Disclosure',\n component: 'zero-disclosure',\n}"
11572
- },
11573
- {
11574
- "kind": "variable",
11575
- "name": "Primary",
11576
- "type": {
11577
- "text": "StoryObj"
11578
- },
11579
- "default": "{\n argTypes: {\n fastAppearance: {\n control: 'select',\n options: FastAppearanceValues,\n },\n },\n args: {\n disclosureTitle: 'Open Disclosure',\n disclosureText: `Created by writer Gardner Fox and artist Harry Lampert, the original Flashfirst appeared\n in Flash Comics #1 (cover date January 1940/release monthNovember 1939). Nicknamed the\n \"Scarlet Speedster\", all incarnations of theFlash possess \"super speed\", which includes\n the ability to run, move, andthink extremely fast, use superhuman reflexes, and seemingly\n violatecertain laws of physics.`,\n disclosureEndSlot: '⚡️',\n fastAppearance: 'lightweight',\n },\n render: ({ fastAppearance, disclosureTitle, disclosureText, disclosureEndSlot }) => html`\n <zero-disclosure appearance=\"${fastAppearance}\" title=\"${disclosureTitle}\">\n <span slot=\"end\">${disclosureEndSlot}</span>\n <div>${disclosureText}</div>\n </zero-disclosure>\n `,\n}"
11580
- }
11581
- ],
11582
- "exports": [
11583
- {
11584
- "kind": "js",
11585
- "name": "default",
11586
- "declaration": {
11587
- "name": "meta",
11588
- "module": "src/disclosure/disclosure.stories.ts"
11589
- }
11590
- },
11591
- {
11592
- "kind": "js",
11593
- "name": "Primary",
11594
- "declaration": {
11595
- "name": "Primary",
11596
- "module": "src/disclosure/disclosure.stories.ts"
11597
- }
11598
- }
11599
- ]
11600
- },
11601
- {
11602
- "kind": "javascript-module",
11603
- "path": "src/disclosure/disclosure.styles.ts",
11604
- "declarations": [
11605
- {
11606
- "kind": "function",
11607
- "name": "zeroDisclosureStyles",
11608
- "return": {
11609
- "type": {
11610
- "text": "ElementStyles"
11611
- }
11612
- },
11613
- "parameters": [
11614
- {
11615
- "name": "context",
11616
- "type": {
11617
- "text": "ElementDefinitionContext"
11618
- }
11619
- },
11620
- {
11621
- "name": "definition",
11622
- "type": {
11623
- "text": "FoundationElementDefinition"
11624
- }
11625
- }
11626
- ]
11627
- }
11628
- ],
11629
- "exports": [
11630
- {
11631
- "kind": "js",
11632
- "name": "zeroDisclosureStyles",
11633
- "declaration": {
11634
- "name": "zeroDisclosureStyles",
11635
- "module": "src/disclosure/disclosure.styles.ts"
11636
- }
11637
- }
11638
- ]
11639
- },
11640
- {
11641
- "kind": "javascript-module",
11642
- "path": "src/disclosure/disclosure.template.ts",
11643
- "declarations": [
11644
- {
11645
- "kind": "function",
11646
- "name": "zeroDisclosureTemplate",
11647
- "return": {
11648
- "type": {
11649
- "text": "ViewTemplate<Disclosure>"
11650
- }
11651
- },
11652
- "parameters": [
11653
- {
11654
- "name": "context",
11655
- "type": {
11656
- "text": "ElementDefinitionContext"
11657
- }
11658
- },
11659
- {
11660
- "name": "definition",
11661
- "type": {
11662
- "text": "FoundationElementDefinition"
11663
- }
11664
- }
11665
- ]
11666
- }
11667
- ],
11668
- "exports": [
11669
- {
11670
- "kind": "js",
11671
- "name": "zeroDisclosureTemplate",
11672
- "declaration": {
11673
- "name": "zeroDisclosureTemplate",
11674
- "module": "src/disclosure/disclosure.template.ts"
11675
- }
11676
- }
11677
- ]
11678
- },
11679
- {
11680
- "kind": "javascript-module",
11681
- "path": "src/disclosure/disclosure.ts",
11682
- "declarations": [
11683
- {
11684
- "kind": "class",
11685
- "description": "",
11686
- "name": "Disclosure",
11687
- "superclass": {
11688
- "name": "FoundationDisclosure",
11689
- "package": "@genesislcap/foundation-ui"
11690
- },
11691
- "tagName": "%%prefix%%-disclosure",
11692
- "customElement": true
11693
- },
11694
- {
11695
- "kind": "variable",
11696
- "name": "zeroDisclosure"
11697
- }
11698
- ],
11699
- "exports": [
11700
- {
11701
- "kind": "js",
11702
- "name": "Disclosure",
11703
- "declaration": {
11704
- "name": "Disclosure",
11705
- "module": "src/disclosure/disclosure.ts"
11706
- }
11707
- },
11708
- {
11709
- "kind": "js",
11710
- "name": "zeroDisclosure",
11711
- "declaration": {
11712
- "name": "zeroDisclosure",
11713
- "module": "src/disclosure/disclosure.ts"
11714
- }
11715
- }
11716
- ]
11717
- },
11718
- {
11719
- "kind": "javascript-module",
11720
- "path": "src/disclosure/index.ts",
11721
- "declarations": [],
11722
- "exports": [
11723
- {
11724
- "kind": "js",
11725
- "name": "*",
11726
- "declaration": {
11727
- "name": "*",
11728
- "package": "./disclosure"
11540
+ "package": "./dialog"
11729
11541
  }
11730
11542
  },
11731
11543
  {
@@ -11733,22 +11545,22 @@
11733
11545
  "name": "*",
11734
11546
  "declaration": {
11735
11547
  "name": "*",
11736
- "package": "./disclosure.styles"
11548
+ "package": "./dialog.styles"
11737
11549
  }
11738
11550
  },
11739
11551
  {
11740
11552
  "kind": "js",
11741
- "name": "*",
11553
+ "name": "zeroDialogTemplate",
11742
11554
  "declaration": {
11743
- "name": "*",
11744
- "package": "./disclosure.template"
11555
+ "name": "foundationDialogTemplate",
11556
+ "package": "@genesislcap/foundation-ui"
11745
11557
  }
11746
11558
  }
11747
11559
  ]
11748
11560
  },
11749
11561
  {
11750
11562
  "kind": "javascript-module",
11751
- "path": "src/divider/divider.stories.ts",
11563
+ "path": "src/disclosure/disclosure.stories.ts",
11752
11564
  "declarations": [
11753
11565
  {
11754
11566
  "kind": "variable",
@@ -11756,7 +11568,7 @@
11756
11568
  "type": {
11757
11569
  "text": "Meta"
11758
11570
  },
11759
- "default": "{\n title: 'Divider',\n component: 'zero-divider',\n}"
11571
+ "default": "{\n title: 'Disclosure',\n component: 'zero-disclosure',\n}"
11760
11572
  },
11761
11573
  {
11762
11574
  "kind": "variable",
@@ -11764,7 +11576,7 @@
11764
11576
  "type": {
11765
11577
  "text": "StoryObj"
11766
11578
  },
11767
- "default": "{\n argTypes: {\n orientation: {\n control: 'select',\n options: ['horizontal', 'vertical'],\n },\n role: {\n control: 'select',\n options: ['separator', 'presentation'],\n },\n },\n args: {\n orientation: 'horizontal',\n role: 'separator',\n },\n render: ({ orientation, role }) => html`\n <div\n style=\"display: flex; justify-content:center; width: 100%; ${orientation === 'vertical'\n ? 'flex-direction: row;'\n : 'flex-direction: column;'}\"\n >\n <zero-button style=\"flex: 1;\"></zero-button>\n <zero-divider orientation=\"${orientation}\" role=\"${role}\"></zero-divider>\n <zero-button style=\"flex: 1;\"></zero-button>\n </div>\n `,\n}"
11579
+ "default": "{\n argTypes: {\n fastAppearance: {\n control: 'select',\n options: FastAppearanceValues,\n },\n },\n args: {\n disclosureTitle: 'Open Disclosure',\n disclosureText: `Created by writer Gardner Fox and artist Harry Lampert, the original Flashfirst appeared\n in Flash Comics #1 (cover date January 1940/release monthNovember 1939). Nicknamed the\n \"Scarlet Speedster\", all incarnations of theFlash possess \"super speed\", which includes\n the ability to run, move, andthink extremely fast, use superhuman reflexes, and seemingly\n violatecertain laws of physics.`,\n disclosureEndSlot: '⚡️',\n fastAppearance: 'lightweight',\n },\n render: ({ fastAppearance, disclosureTitle, disclosureText, disclosureEndSlot }) => html`\n <zero-disclosure appearance=\"${fastAppearance}\" title=\"${disclosureTitle}\">\n <span slot=\"end\">${disclosureEndSlot}</span>\n <div>${disclosureText}</div>\n </zero-disclosure>\n `,\n}"
11768
11580
  }
11769
11581
  ],
11770
11582
  "exports": [
@@ -11773,7 +11585,7 @@
11773
11585
  "name": "default",
11774
11586
  "declaration": {
11775
11587
  "name": "meta",
11776
- "module": "src/divider/divider.stories.ts"
11588
+ "module": "src/disclosure/disclosure.stories.ts"
11777
11589
  }
11778
11590
  },
11779
11591
  {
@@ -11781,18 +11593,18 @@
11781
11593
  "name": "Primary",
11782
11594
  "declaration": {
11783
11595
  "name": "Primary",
11784
- "module": "src/divider/divider.stories.ts"
11596
+ "module": "src/disclosure/disclosure.stories.ts"
11785
11597
  }
11786
11598
  }
11787
11599
  ]
11788
11600
  },
11789
11601
  {
11790
11602
  "kind": "javascript-module",
11791
- "path": "src/divider/divider.styles.ts",
11603
+ "path": "src/disclosure/disclosure.styles.ts",
11792
11604
  "declarations": [
11793
11605
  {
11794
11606
  "kind": "function",
11795
- "name": "zeroDividerStyles",
11607
+ "name": "zeroDisclosureStyles",
11796
11608
  "return": {
11797
11609
  "type": {
11798
11610
  "text": "ElementStyles"
@@ -11817,24 +11629,24 @@
11817
11629
  "exports": [
11818
11630
  {
11819
11631
  "kind": "js",
11820
- "name": "zeroDividerStyles",
11632
+ "name": "zeroDisclosureStyles",
11821
11633
  "declaration": {
11822
- "name": "zeroDividerStyles",
11823
- "module": "src/divider/divider.styles.ts"
11634
+ "name": "zeroDisclosureStyles",
11635
+ "module": "src/disclosure/disclosure.styles.ts"
11824
11636
  }
11825
11637
  }
11826
11638
  ]
11827
11639
  },
11828
11640
  {
11829
11641
  "kind": "javascript-module",
11830
- "path": "src/divider/divider.template.ts",
11642
+ "path": "src/disclosure/disclosure.template.ts",
11831
11643
  "declarations": [
11832
11644
  {
11833
11645
  "kind": "function",
11834
- "name": "zeroDividerTemplate",
11646
+ "name": "zeroDisclosureTemplate",
11835
11647
  "return": {
11836
11648
  "type": {
11837
- "text": "ViewTemplate<Divider>"
11649
+ "text": "ViewTemplate<Disclosure>"
11838
11650
  }
11839
11651
  },
11840
11652
  "parameters": [
@@ -11856,56 +11668,56 @@
11856
11668
  "exports": [
11857
11669
  {
11858
11670
  "kind": "js",
11859
- "name": "zeroDividerTemplate",
11671
+ "name": "zeroDisclosureTemplate",
11860
11672
  "declaration": {
11861
- "name": "zeroDividerTemplate",
11862
- "module": "src/divider/divider.template.ts"
11673
+ "name": "zeroDisclosureTemplate",
11674
+ "module": "src/disclosure/disclosure.template.ts"
11863
11675
  }
11864
11676
  }
11865
11677
  ]
11866
11678
  },
11867
11679
  {
11868
11680
  "kind": "javascript-module",
11869
- "path": "src/divider/divider.ts",
11681
+ "path": "src/disclosure/disclosure.ts",
11870
11682
  "declarations": [
11871
11683
  {
11872
11684
  "kind": "class",
11873
11685
  "description": "",
11874
- "name": "Divider",
11686
+ "name": "Disclosure",
11875
11687
  "superclass": {
11876
- "name": "FoundationDivider",
11688
+ "name": "FoundationDisclosure",
11877
11689
  "package": "@genesislcap/foundation-ui"
11878
11690
  },
11879
- "tagName": "%%prefix%%-divider",
11691
+ "tagName": "%%prefix%%-disclosure",
11880
11692
  "customElement": true
11881
11693
  },
11882
11694
  {
11883
11695
  "kind": "variable",
11884
- "name": "zeroDivider"
11696
+ "name": "zeroDisclosure"
11885
11697
  }
11886
11698
  ],
11887
11699
  "exports": [
11888
11700
  {
11889
11701
  "kind": "js",
11890
- "name": "Divider",
11702
+ "name": "Disclosure",
11891
11703
  "declaration": {
11892
- "name": "Divider",
11893
- "module": "src/divider/divider.ts"
11704
+ "name": "Disclosure",
11705
+ "module": "src/disclosure/disclosure.ts"
11894
11706
  }
11895
11707
  },
11896
11708
  {
11897
11709
  "kind": "js",
11898
- "name": "zeroDivider",
11710
+ "name": "zeroDisclosure",
11899
11711
  "declaration": {
11900
- "name": "zeroDivider",
11901
- "module": "src/divider/divider.ts"
11712
+ "name": "zeroDisclosure",
11713
+ "module": "src/disclosure/disclosure.ts"
11902
11714
  }
11903
11715
  }
11904
11716
  ]
11905
11717
  },
11906
11718
  {
11907
11719
  "kind": "javascript-module",
11908
- "path": "src/divider/index.ts",
11720
+ "path": "src/disclosure/index.ts",
11909
11721
  "declarations": [],
11910
11722
  "exports": [
11911
11723
  {
@@ -11913,7 +11725,7 @@
11913
11725
  "name": "*",
11914
11726
  "declaration": {
11915
11727
  "name": "*",
11916
- "package": "./divider"
11728
+ "package": "./disclosure"
11917
11729
  }
11918
11730
  },
11919
11731
  {
@@ -11921,7 +11733,7 @@
11921
11733
  "name": "*",
11922
11734
  "declaration": {
11923
11735
  "name": "*",
11924
- "package": "./divider.styles"
11736
+ "package": "./disclosure.styles"
11925
11737
  }
11926
11738
  },
11927
11739
  {
@@ -11929,7 +11741,7 @@
11929
11741
  "name": "*",
11930
11742
  "declaration": {
11931
11743
  "name": "*",
11932
- "package": "./divider.template"
11744
+ "package": "./disclosure.template"
11933
11745
  }
11934
11746
  }
11935
11747
  ]
@@ -12414,26 +12226,214 @@
12414
12226
  },
12415
12227
  {
12416
12228
  "kind": "js",
12417
- "name": "getDropdownMenuTemplate",
12229
+ "name": "getDropdownMenuTemplate",
12230
+ "declaration": {
12231
+ "name": "getDropdownMenuTemplate",
12232
+ "package": "@genesislcap/foundation-ui"
12233
+ }
12234
+ },
12235
+ {
12236
+ "kind": "js",
12237
+ "name": "extractMenuItems",
12238
+ "declaration": {
12239
+ "name": "extractMenuItems",
12240
+ "package": "@genesislcap/foundation-ui"
12241
+ }
12242
+ },
12243
+ {
12244
+ "kind": "js",
12245
+ "name": "dropdownMenuBaseStyles",
12246
+ "declaration": {
12247
+ "name": "dropdownMenuBaseStyles",
12248
+ "package": "@genesislcap/foundation-ui"
12249
+ }
12250
+ }
12251
+ ]
12252
+ },
12253
+ {
12254
+ "kind": "javascript-module",
12255
+ "path": "src/divider/divider.stories.ts",
12256
+ "declarations": [
12257
+ {
12258
+ "kind": "variable",
12259
+ "name": "meta",
12260
+ "type": {
12261
+ "text": "Meta"
12262
+ },
12263
+ "default": "{\n title: 'Divider',\n component: 'zero-divider',\n}"
12264
+ },
12265
+ {
12266
+ "kind": "variable",
12267
+ "name": "Primary",
12268
+ "type": {
12269
+ "text": "StoryObj"
12270
+ },
12271
+ "default": "{\n argTypes: {\n orientation: {\n control: 'select',\n options: ['horizontal', 'vertical'],\n },\n role: {\n control: 'select',\n options: ['separator', 'presentation'],\n },\n },\n args: {\n orientation: 'horizontal',\n role: 'separator',\n },\n render: ({ orientation, role }) => html`\n <div\n style=\"display: flex; justify-content:center; width: 100%; ${orientation === 'vertical'\n ? 'flex-direction: row;'\n : 'flex-direction: column;'}\"\n >\n <zero-button style=\"flex: 1;\"></zero-button>\n <zero-divider orientation=\"${orientation}\" role=\"${role}\"></zero-divider>\n <zero-button style=\"flex: 1;\"></zero-button>\n </div>\n `,\n}"
12272
+ }
12273
+ ],
12274
+ "exports": [
12275
+ {
12276
+ "kind": "js",
12277
+ "name": "default",
12278
+ "declaration": {
12279
+ "name": "meta",
12280
+ "module": "src/divider/divider.stories.ts"
12281
+ }
12282
+ },
12283
+ {
12284
+ "kind": "js",
12285
+ "name": "Primary",
12286
+ "declaration": {
12287
+ "name": "Primary",
12288
+ "module": "src/divider/divider.stories.ts"
12289
+ }
12290
+ }
12291
+ ]
12292
+ },
12293
+ {
12294
+ "kind": "javascript-module",
12295
+ "path": "src/divider/divider.styles.ts",
12296
+ "declarations": [
12297
+ {
12298
+ "kind": "function",
12299
+ "name": "zeroDividerStyles",
12300
+ "return": {
12301
+ "type": {
12302
+ "text": "ElementStyles"
12303
+ }
12304
+ },
12305
+ "parameters": [
12306
+ {
12307
+ "name": "context",
12308
+ "type": {
12309
+ "text": "ElementDefinitionContext"
12310
+ }
12311
+ },
12312
+ {
12313
+ "name": "definition",
12314
+ "type": {
12315
+ "text": "FoundationElementDefinition"
12316
+ }
12317
+ }
12318
+ ]
12319
+ }
12320
+ ],
12321
+ "exports": [
12322
+ {
12323
+ "kind": "js",
12324
+ "name": "zeroDividerStyles",
12325
+ "declaration": {
12326
+ "name": "zeroDividerStyles",
12327
+ "module": "src/divider/divider.styles.ts"
12328
+ }
12329
+ }
12330
+ ]
12331
+ },
12332
+ {
12333
+ "kind": "javascript-module",
12334
+ "path": "src/divider/divider.template.ts",
12335
+ "declarations": [
12336
+ {
12337
+ "kind": "function",
12338
+ "name": "zeroDividerTemplate",
12339
+ "return": {
12340
+ "type": {
12341
+ "text": "ViewTemplate<Divider>"
12342
+ }
12343
+ },
12344
+ "parameters": [
12345
+ {
12346
+ "name": "context",
12347
+ "type": {
12348
+ "text": "ElementDefinitionContext"
12349
+ }
12350
+ },
12351
+ {
12352
+ "name": "definition",
12353
+ "type": {
12354
+ "text": "FoundationElementDefinition"
12355
+ }
12356
+ }
12357
+ ]
12358
+ }
12359
+ ],
12360
+ "exports": [
12361
+ {
12362
+ "kind": "js",
12363
+ "name": "zeroDividerTemplate",
12364
+ "declaration": {
12365
+ "name": "zeroDividerTemplate",
12366
+ "module": "src/divider/divider.template.ts"
12367
+ }
12368
+ }
12369
+ ]
12370
+ },
12371
+ {
12372
+ "kind": "javascript-module",
12373
+ "path": "src/divider/divider.ts",
12374
+ "declarations": [
12375
+ {
12376
+ "kind": "class",
12377
+ "description": "",
12378
+ "name": "Divider",
12379
+ "superclass": {
12380
+ "name": "FoundationDivider",
12381
+ "package": "@genesislcap/foundation-ui"
12382
+ },
12383
+ "tagName": "%%prefix%%-divider",
12384
+ "customElement": true
12385
+ },
12386
+ {
12387
+ "kind": "variable",
12388
+ "name": "zeroDivider"
12389
+ }
12390
+ ],
12391
+ "exports": [
12392
+ {
12393
+ "kind": "js",
12394
+ "name": "Divider",
12395
+ "declaration": {
12396
+ "name": "Divider",
12397
+ "module": "src/divider/divider.ts"
12398
+ }
12399
+ },
12400
+ {
12401
+ "kind": "js",
12402
+ "name": "zeroDivider",
12403
+ "declaration": {
12404
+ "name": "zeroDivider",
12405
+ "module": "src/divider/divider.ts"
12406
+ }
12407
+ }
12408
+ ]
12409
+ },
12410
+ {
12411
+ "kind": "javascript-module",
12412
+ "path": "src/divider/index.ts",
12413
+ "declarations": [],
12414
+ "exports": [
12415
+ {
12416
+ "kind": "js",
12417
+ "name": "*",
12418
12418
  "declaration": {
12419
- "name": "getDropdownMenuTemplate",
12420
- "package": "@genesislcap/foundation-ui"
12419
+ "name": "*",
12420
+ "package": "./divider"
12421
12421
  }
12422
12422
  },
12423
12423
  {
12424
12424
  "kind": "js",
12425
- "name": "extractMenuItems",
12425
+ "name": "*",
12426
12426
  "declaration": {
12427
- "name": "extractMenuItems",
12428
- "package": "@genesislcap/foundation-ui"
12427
+ "name": "*",
12428
+ "package": "./divider.styles"
12429
12429
  }
12430
12430
  },
12431
12431
  {
12432
12432
  "kind": "js",
12433
- "name": "dropdownMenuBaseStyles",
12433
+ "name": "*",
12434
12434
  "declaration": {
12435
- "name": "dropdownMenuBaseStyles",
12436
- "package": "@genesislcap/foundation-ui"
12435
+ "name": "*",
12436
+ "package": "./divider.template"
12437
12437
  }
12438
12438
  }
12439
12439
  ]
@@ -24571,26 +24571,259 @@
24571
24571
  }
24572
24572
  ]
24573
24573
  },
24574
- {
24575
- "kind": "variable",
24576
- "name": "zeroRadioGroup"
24577
- }
24578
- ],
24579
- "exports": [
24574
+ {
24575
+ "kind": "variable",
24576
+ "name": "zeroRadioGroup"
24577
+ }
24578
+ ],
24579
+ "exports": [
24580
+ {
24581
+ "kind": "js",
24582
+ "name": "RadioGroup",
24583
+ "declaration": {
24584
+ "name": "RadioGroup",
24585
+ "module": "src/radio-group/radio-group.ts"
24586
+ }
24587
+ },
24588
+ {
24589
+ "kind": "js",
24590
+ "name": "zeroRadioGroup",
24591
+ "declaration": {
24592
+ "name": "zeroRadioGroup",
24593
+ "module": "src/radio-group/radio-group.ts"
24594
+ }
24595
+ }
24596
+ ]
24597
+ },
24598
+ {
24599
+ "kind": "javascript-module",
24600
+ "path": "src/segmented-control/index.ts",
24601
+ "declarations": [],
24602
+ "exports": [
24603
+ {
24604
+ "kind": "js",
24605
+ "name": "*",
24606
+ "declaration": {
24607
+ "name": "*",
24608
+ "package": "./segmented-control.template"
24609
+ }
24610
+ },
24611
+ {
24612
+ "kind": "js",
24613
+ "name": "*",
24614
+ "declaration": {
24615
+ "name": "*",
24616
+ "package": "./segmented-control.styles"
24617
+ }
24618
+ },
24619
+ {
24620
+ "kind": "js",
24621
+ "name": "*",
24622
+ "declaration": {
24623
+ "name": "*",
24624
+ "package": "./segmented-control"
24625
+ }
24626
+ }
24627
+ ]
24628
+ },
24629
+ {
24630
+ "kind": "javascript-module",
24631
+ "path": "src/segmented-control/segmented-control.stories.ts",
24632
+ "declarations": [
24633
+ {
24634
+ "kind": "variable",
24635
+ "name": "meta",
24636
+ "type": {
24637
+ "text": "Meta"
24638
+ },
24639
+ "default": "{\n title: 'Segmented Control',\n component: 'zero-segmented-control',\n}"
24640
+ },
24641
+ {
24642
+ "kind": "variable",
24643
+ "name": "Primary",
24644
+ "type": {
24645
+ "text": "StoryObj"
24646
+ },
24647
+ "default": "{\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <zero-segmented-control>\n <label slot=\"label\">Neutral Segment Control (label slot)</label>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n </zero-segmented-control>\n\n <zero-segmented-control appearance=\"primary\">\n <label slot=\"label\">Primary Segment Control (label slot)</label>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n </zero-segmented-control>\n </div>\n `,\n}"
24648
+ }
24649
+ ],
24650
+ "exports": [
24651
+ {
24652
+ "kind": "js",
24653
+ "name": "default",
24654
+ "declaration": {
24655
+ "name": "meta",
24656
+ "module": "src/segmented-control/segmented-control.stories.ts"
24657
+ }
24658
+ },
24659
+ {
24660
+ "kind": "js",
24661
+ "name": "Primary",
24662
+ "declaration": {
24663
+ "name": "Primary",
24664
+ "module": "src/segmented-control/segmented-control.stories.ts"
24665
+ }
24666
+ }
24667
+ ]
24668
+ },
24669
+ {
24670
+ "kind": "javascript-module",
24671
+ "path": "src/segmented-control/segmented-control.styles.ts",
24672
+ "declarations": [
24673
+ {
24674
+ "kind": "function",
24675
+ "name": "zeroSegmentedControlStyles",
24676
+ "return": {
24677
+ "type": {
24678
+ "text": "ElementStyles"
24679
+ }
24680
+ },
24681
+ "parameters": [
24682
+ {
24683
+ "name": "context",
24684
+ "type": {
24685
+ "text": "ElementDefinitionContext"
24686
+ }
24687
+ },
24688
+ {
24689
+ "name": "definition",
24690
+ "type": {
24691
+ "text": "FoundationElementDefinition"
24692
+ }
24693
+ }
24694
+ ]
24695
+ }
24696
+ ],
24697
+ "exports": [
24698
+ {
24699
+ "kind": "js",
24700
+ "name": "zeroSegmentedControlStyles",
24701
+ "declaration": {
24702
+ "name": "zeroSegmentedControlStyles",
24703
+ "module": "src/segmented-control/segmented-control.styles.ts"
24704
+ }
24705
+ }
24706
+ ]
24707
+ },
24708
+ {
24709
+ "kind": "javascript-module",
24710
+ "path": "src/segmented-control/segmented-control.template.ts",
24711
+ "declarations": [
24712
+ {
24713
+ "kind": "function",
24714
+ "name": "zeroSegmentedControlTemplate",
24715
+ "return": {
24716
+ "type": {
24717
+ "text": "ViewTemplate<SegmentedControl>"
24718
+ }
24719
+ },
24720
+ "parameters": [
24721
+ {
24722
+ "name": "context",
24723
+ "type": {
24724
+ "text": "ElementDefinitionContext"
24725
+ }
24726
+ },
24727
+ {
24728
+ "name": "definition",
24729
+ "type": {
24730
+ "text": "FoundationElementDefinition"
24731
+ }
24732
+ }
24733
+ ]
24734
+ }
24735
+ ],
24736
+ "exports": [
24737
+ {
24738
+ "kind": "js",
24739
+ "name": "zeroSegmentedControlTemplate",
24740
+ "declaration": {
24741
+ "name": "zeroSegmentedControlTemplate",
24742
+ "module": "src/segmented-control/segmented-control.template.ts"
24743
+ }
24744
+ }
24745
+ ]
24746
+ },
24747
+ {
24748
+ "kind": "javascript-module",
24749
+ "path": "src/segmented-control/segmented-control.ts",
24750
+ "declarations": [
24751
+ {
24752
+ "kind": "class",
24753
+ "description": "",
24754
+ "name": "SegmentedControl",
24755
+ "superclass": {
24756
+ "name": "FoundationSegmentedControl",
24757
+ "package": "@genesislcap/foundation-ui"
24758
+ },
24759
+ "tagName": "%%prefix%%-segmented-control",
24760
+ "customElement": true,
24761
+ "members": [
24762
+ {
24763
+ "kind": "method",
24764
+ "name": "valueChanged",
24765
+ "privacy": "protected",
24766
+ "inheritedFrom": {
24767
+ "name": "SegmentedControl",
24768
+ "module": "src/segmented-control/segmented-control.ts"
24769
+ }
24770
+ }
24771
+ ]
24772
+ },
24773
+ {
24774
+ "kind": "variable",
24775
+ "name": "zeroSegmentedControlShadowOptions",
24776
+ "type": {
24777
+ "text": "ShadowRootInit"
24778
+ },
24779
+ "default": "undefined"
24780
+ },
24781
+ {
24782
+ "kind": "variable",
24783
+ "name": "defaultSegmentedControlConfig",
24784
+ "type": {
24785
+ "text": "object"
24786
+ },
24787
+ "default": "{}"
24788
+ },
24789
+ {
24790
+ "kind": "variable",
24791
+ "name": "zeroSegmentedControl",
24792
+ "description": "The Zero Segmented Control",
24793
+ "privacy": "public"
24794
+ }
24795
+ ],
24796
+ "exports": [
24797
+ {
24798
+ "kind": "js",
24799
+ "name": "SegmentedControl",
24800
+ "declaration": {
24801
+ "name": "SegmentedControl",
24802
+ "module": "src/segmented-control/segmented-control.ts"
24803
+ }
24804
+ },
24805
+ {
24806
+ "kind": "js",
24807
+ "name": "zeroSegmentedControlShadowOptions",
24808
+ "declaration": {
24809
+ "name": "zeroSegmentedControlShadowOptions",
24810
+ "module": "src/segmented-control/segmented-control.ts"
24811
+ }
24812
+ },
24580
24813
  {
24581
24814
  "kind": "js",
24582
- "name": "RadioGroup",
24815
+ "name": "defaultSegmentedControlConfig",
24583
24816
  "declaration": {
24584
- "name": "RadioGroup",
24585
- "module": "src/radio-group/radio-group.ts"
24817
+ "name": "defaultSegmentedControlConfig",
24818
+ "module": "src/segmented-control/segmented-control.ts"
24586
24819
  }
24587
24820
  },
24588
24821
  {
24589
24822
  "kind": "js",
24590
- "name": "zeroRadioGroup",
24823
+ "name": "zeroSegmentedControl",
24591
24824
  "declaration": {
24592
- "name": "zeroRadioGroup",
24593
- "module": "src/radio-group/radio-group.ts"
24825
+ "name": "zeroSegmentedControl",
24826
+ "module": "src/segmented-control/segmented-control.ts"
24594
24827
  }
24595
24828
  }
24596
24829
  ]
@@ -26233,239 +26466,6 @@
26233
26466
  }
26234
26467
  ]
26235
26468
  },
26236
- {
26237
- "kind": "javascript-module",
26238
- "path": "src/segmented-control/index.ts",
26239
- "declarations": [],
26240
- "exports": [
26241
- {
26242
- "kind": "js",
26243
- "name": "*",
26244
- "declaration": {
26245
- "name": "*",
26246
- "package": "./segmented-control.template"
26247
- }
26248
- },
26249
- {
26250
- "kind": "js",
26251
- "name": "*",
26252
- "declaration": {
26253
- "name": "*",
26254
- "package": "./segmented-control.styles"
26255
- }
26256
- },
26257
- {
26258
- "kind": "js",
26259
- "name": "*",
26260
- "declaration": {
26261
- "name": "*",
26262
- "package": "./segmented-control"
26263
- }
26264
- }
26265
- ]
26266
- },
26267
- {
26268
- "kind": "javascript-module",
26269
- "path": "src/segmented-control/segmented-control.stories.ts",
26270
- "declarations": [
26271
- {
26272
- "kind": "variable",
26273
- "name": "meta",
26274
- "type": {
26275
- "text": "Meta"
26276
- },
26277
- "default": "{\n title: 'Segmented Control',\n component: 'zero-segmented-control',\n}"
26278
- },
26279
- {
26280
- "kind": "variable",
26281
- "name": "Primary",
26282
- "type": {
26283
- "text": "StoryObj"
26284
- },
26285
- "default": "{\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <zero-segmented-control>\n <label slot=\"label\">Neutral Segment Control (label slot)</label>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n </zero-segmented-control>\n\n <zero-segmented-control appearance=\"primary\">\n <label slot=\"label\">Primary Segment Control (label slot)</label>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n <zero-segmented-item>Segmented Item</zero-segmented-item>\n </zero-segmented-control>\n </div>\n `,\n}"
26286
- }
26287
- ],
26288
- "exports": [
26289
- {
26290
- "kind": "js",
26291
- "name": "default",
26292
- "declaration": {
26293
- "name": "meta",
26294
- "module": "src/segmented-control/segmented-control.stories.ts"
26295
- }
26296
- },
26297
- {
26298
- "kind": "js",
26299
- "name": "Primary",
26300
- "declaration": {
26301
- "name": "Primary",
26302
- "module": "src/segmented-control/segmented-control.stories.ts"
26303
- }
26304
- }
26305
- ]
26306
- },
26307
- {
26308
- "kind": "javascript-module",
26309
- "path": "src/segmented-control/segmented-control.styles.ts",
26310
- "declarations": [
26311
- {
26312
- "kind": "function",
26313
- "name": "zeroSegmentedControlStyles",
26314
- "return": {
26315
- "type": {
26316
- "text": "ElementStyles"
26317
- }
26318
- },
26319
- "parameters": [
26320
- {
26321
- "name": "context",
26322
- "type": {
26323
- "text": "ElementDefinitionContext"
26324
- }
26325
- },
26326
- {
26327
- "name": "definition",
26328
- "type": {
26329
- "text": "FoundationElementDefinition"
26330
- }
26331
- }
26332
- ]
26333
- }
26334
- ],
26335
- "exports": [
26336
- {
26337
- "kind": "js",
26338
- "name": "zeroSegmentedControlStyles",
26339
- "declaration": {
26340
- "name": "zeroSegmentedControlStyles",
26341
- "module": "src/segmented-control/segmented-control.styles.ts"
26342
- }
26343
- }
26344
- ]
26345
- },
26346
- {
26347
- "kind": "javascript-module",
26348
- "path": "src/segmented-control/segmented-control.template.ts",
26349
- "declarations": [
26350
- {
26351
- "kind": "function",
26352
- "name": "zeroSegmentedControlTemplate",
26353
- "return": {
26354
- "type": {
26355
- "text": "ViewTemplate<SegmentedControl>"
26356
- }
26357
- },
26358
- "parameters": [
26359
- {
26360
- "name": "context",
26361
- "type": {
26362
- "text": "ElementDefinitionContext"
26363
- }
26364
- },
26365
- {
26366
- "name": "definition",
26367
- "type": {
26368
- "text": "FoundationElementDefinition"
26369
- }
26370
- }
26371
- ]
26372
- }
26373
- ],
26374
- "exports": [
26375
- {
26376
- "kind": "js",
26377
- "name": "zeroSegmentedControlTemplate",
26378
- "declaration": {
26379
- "name": "zeroSegmentedControlTemplate",
26380
- "module": "src/segmented-control/segmented-control.template.ts"
26381
- }
26382
- }
26383
- ]
26384
- },
26385
- {
26386
- "kind": "javascript-module",
26387
- "path": "src/segmented-control/segmented-control.ts",
26388
- "declarations": [
26389
- {
26390
- "kind": "class",
26391
- "description": "",
26392
- "name": "SegmentedControl",
26393
- "superclass": {
26394
- "name": "FoundationSegmentedControl",
26395
- "package": "@genesislcap/foundation-ui"
26396
- },
26397
- "tagName": "%%prefix%%-segmented-control",
26398
- "customElement": true,
26399
- "members": [
26400
- {
26401
- "kind": "method",
26402
- "name": "valueChanged",
26403
- "privacy": "protected",
26404
- "inheritedFrom": {
26405
- "name": "SegmentedControl",
26406
- "module": "src/segmented-control/segmented-control.ts"
26407
- }
26408
- }
26409
- ]
26410
- },
26411
- {
26412
- "kind": "variable",
26413
- "name": "zeroSegmentedControlShadowOptions",
26414
- "type": {
26415
- "text": "ShadowRootInit"
26416
- },
26417
- "default": "undefined"
26418
- },
26419
- {
26420
- "kind": "variable",
26421
- "name": "defaultSegmentedControlConfig",
26422
- "type": {
26423
- "text": "object"
26424
- },
26425
- "default": "{}"
26426
- },
26427
- {
26428
- "kind": "variable",
26429
- "name": "zeroSegmentedControl",
26430
- "description": "The Zero Segmented Control",
26431
- "privacy": "public"
26432
- }
26433
- ],
26434
- "exports": [
26435
- {
26436
- "kind": "js",
26437
- "name": "SegmentedControl",
26438
- "declaration": {
26439
- "name": "SegmentedControl",
26440
- "module": "src/segmented-control/segmented-control.ts"
26441
- }
26442
- },
26443
- {
26444
- "kind": "js",
26445
- "name": "zeroSegmentedControlShadowOptions",
26446
- "declaration": {
26447
- "name": "zeroSegmentedControlShadowOptions",
26448
- "module": "src/segmented-control/segmented-control.ts"
26449
- }
26450
- },
26451
- {
26452
- "kind": "js",
26453
- "name": "defaultSegmentedControlConfig",
26454
- "declaration": {
26455
- "name": "defaultSegmentedControlConfig",
26456
- "module": "src/segmented-control/segmented-control.ts"
26457
- }
26458
- },
26459
- {
26460
- "kind": "js",
26461
- "name": "zeroSegmentedControl",
26462
- "declaration": {
26463
- "name": "zeroSegmentedControl",
26464
- "module": "src/segmented-control/segmented-control.ts"
26465
- }
26466
- }
26467
- ]
26468
- },
26469
26469
  {
26470
26470
  "kind": "javascript-module",
26471
26471
  "path": "src/segmented-item/index.ts",