@genesislcap/foundation-zero 14.115.1 → 14.116.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.
@@ -808,6 +808,37 @@
808
808
  }
809
809
  ]
810
810
  },
811
+ {
812
+ "kind": "javascript-module",
813
+ "path": "src/_config/index.ts",
814
+ "declarations": [],
815
+ "exports": [
816
+ {
817
+ "kind": "js",
818
+ "name": "*",
819
+ "declaration": {
820
+ "name": "*",
821
+ "package": "./styles"
822
+ }
823
+ },
824
+ {
825
+ "kind": "js",
826
+ "name": "*",
827
+ "declaration": {
828
+ "name": "*",
829
+ "package": "./tokens"
830
+ }
831
+ },
832
+ {
833
+ "kind": "js",
834
+ "name": "*",
835
+ "declaration": {
836
+ "name": "*",
837
+ "package": "./values"
838
+ }
839
+ }
840
+ ]
841
+ },
811
842
  {
812
843
  "kind": "javascript-module",
813
844
  "path": "src/accordion/accordion.stories.ts",
@@ -996,37 +1027,6 @@
996
1027
  }
997
1028
  ]
998
1029
  },
999
- {
1000
- "kind": "javascript-module",
1001
- "path": "src/_config/index.ts",
1002
- "declarations": [],
1003
- "exports": [
1004
- {
1005
- "kind": "js",
1006
- "name": "*",
1007
- "declaration": {
1008
- "name": "*",
1009
- "package": "./styles"
1010
- }
1011
- },
1012
- {
1013
- "kind": "js",
1014
- "name": "*",
1015
- "declaration": {
1016
- "name": "*",
1017
- "package": "./tokens"
1018
- }
1019
- },
1020
- {
1021
- "kind": "js",
1022
- "name": "*",
1023
- "declaration": {
1024
- "name": "*",
1025
- "package": "./values"
1026
- }
1027
- }
1028
- ]
1029
- },
1030
1030
  {
1031
1031
  "kind": "javascript-module",
1032
1032
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1389,7 +1389,7 @@
1389
1389
  },
1390
1390
  {
1391
1391
  "kind": "javascript-module",
1392
- "path": "src/actions-menu/actions-menu.stories.ts",
1392
+ "path": "src/anchor/anchor.stories.ts",
1393
1393
  "declarations": [
1394
1394
  {
1395
1395
  "kind": "variable",
@@ -1397,23 +1397,15 @@
1397
1397
  "type": {
1398
1398
  "text": "Meta"
1399
1399
  },
1400
- "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1401
- },
1402
- {
1403
- "kind": "variable",
1404
- "name": "Horizontal",
1405
- "type": {
1406
- "text": "StoryObj"
1407
- },
1408
- "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}"
1400
+ "default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
1409
1401
  },
1410
1402
  {
1411
1403
  "kind": "variable",
1412
- "name": "Vertical",
1404
+ "name": "All",
1413
1405
  "type": {
1414
1406
  "text": "StoryObj"
1415
1407
  },
1416
- "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}"
1408
+ "default": "{\n args: {\n anchorText: 'Rapid Anchor',\n appearances: ZeroAppearanceValues,\n },\n ...StylesMapperTemplate,\n}"
1417
1409
  }
1418
1410
  ],
1419
1411
  "exports": [
@@ -1422,37 +1414,68 @@
1422
1414
  "name": "default",
1423
1415
  "declaration": {
1424
1416
  "name": "meta",
1425
- "module": "src/actions-menu/actions-menu.stories.ts"
1417
+ "module": "src/anchor/anchor.stories.ts"
1426
1418
  }
1427
1419
  },
1428
1420
  {
1429
1421
  "kind": "js",
1430
- "name": "Horizontal",
1422
+ "name": "All",
1431
1423
  "declaration": {
1432
- "name": "Horizontal",
1433
- "module": "src/actions-menu/actions-menu.stories.ts"
1424
+ "name": "All",
1425
+ "module": "src/anchor/anchor.stories.ts"
1434
1426
  }
1435
- },
1427
+ }
1428
+ ]
1429
+ },
1430
+ {
1431
+ "kind": "javascript-module",
1432
+ "path": "src/anchor/anchor.styles.ts",
1433
+ "declarations": [
1434
+ {
1435
+ "kind": "function",
1436
+ "name": "zeroAnchorStyles",
1437
+ "return": {
1438
+ "type": {
1439
+ "text": "ElementStyles"
1440
+ }
1441
+ },
1442
+ "parameters": [
1443
+ {
1444
+ "name": "context",
1445
+ "type": {
1446
+ "text": "ElementDefinitionContext"
1447
+ }
1448
+ },
1449
+ {
1450
+ "name": "definition",
1451
+ "type": {
1452
+ "text": "FoundationElementDefinition"
1453
+ }
1454
+ }
1455
+ ]
1456
+ }
1457
+ ],
1458
+ "exports": [
1436
1459
  {
1437
1460
  "kind": "js",
1438
- "name": "Vertical",
1461
+ "name": "zeroAnchorStyles",
1439
1462
  "declaration": {
1440
- "name": "Vertical",
1441
- "module": "src/actions-menu/actions-menu.stories.ts"
1463
+ "name": "zeroAnchorStyles",
1464
+ "module": "src/anchor/anchor.styles.ts"
1442
1465
  }
1443
1466
  }
1444
1467
  ]
1445
1468
  },
1446
1469
  {
1447
1470
  "kind": "javascript-module",
1448
- "path": "src/actions-menu/actions-menu.styles.ts",
1471
+ "path": "src/anchor/anchor.template.ts",
1449
1472
  "declarations": [
1450
1473
  {
1451
1474
  "kind": "function",
1452
- "name": "zeroActionsMenuStyles",
1475
+ "name": "zeroAnchorTemplate",
1453
1476
  "return": {
1454
1477
  "type": {
1455
- "text": "ElementStyles"
1478
+ "text": "ViewTemplate<Anchor>"
1456
1479
  }
1457
1480
  },
1458
1481
  "parameters": [
@@ -1474,383 +1497,252 @@
1474
1497
  "exports": [
1475
1498
  {
1476
1499
  "kind": "js",
1477
- "name": "zeroActionsMenuStyles",
1500
+ "name": "zeroAnchorTemplate",
1478
1501
  "declaration": {
1479
- "name": "zeroActionsMenuStyles",
1480
- "module": "src/actions-menu/actions-menu.styles.ts"
1502
+ "name": "zeroAnchorTemplate",
1503
+ "module": "src/anchor/anchor.template.ts"
1481
1504
  }
1482
1505
  }
1483
1506
  ]
1484
1507
  },
1485
1508
  {
1486
1509
  "kind": "javascript-module",
1487
- "path": "src/actions-menu/actions-menu.ts",
1510
+ "path": "src/anchor/anchor.ts",
1488
1511
  "declarations": [
1489
1512
  {
1490
1513
  "kind": "class",
1491
1514
  "description": "",
1492
- "name": "ActionsMenu",
1515
+ "name": "Anchor",
1493
1516
  "superclass": {
1494
- "name": "FoundationActionsMenu",
1517
+ "name": "FoundationAnchor",
1495
1518
  "package": "@genesislcap/foundation-ui"
1496
1519
  },
1497
- "tagName": "%%prefix%%-actions-menu",
1520
+ "tagName": "%%prefix%%-anchor",
1498
1521
  "customElement": true,
1499
1522
  "attributes": [
1500
1523
  {
1501
- "name": "is-vertical",
1524
+ "name": "download",
1502
1525
  "type": {
1503
- "text": "boolean"
1526
+ "text": "string"
1504
1527
  },
1505
- "default": "false",
1506
- "fieldName": "isVertical",
1528
+ "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.",
1529
+ "fieldName": "download",
1507
1530
  "inheritedFrom": {
1508
- "name": "ActionsMenu",
1509
- "module": "src/actions-menu/actions-menu.ts"
1531
+ "name": "Anchor",
1532
+ "module": "src/anchor/anchor.ts"
1510
1533
  }
1511
1534
  },
1512
1535
  {
1513
- "name": "add-default-actions",
1536
+ "name": "href",
1514
1537
  "type": {
1515
- "text": "boolean"
1538
+ "text": "string"
1516
1539
  },
1517
- "default": "true",
1518
- "fieldName": "addDefaultActions",
1540
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1541
+ "fieldName": "href",
1519
1542
  "inheritedFrom": {
1520
- "name": "ActionsMenu",
1521
- "module": "src/actions-menu/actions-menu.ts"
1543
+ "name": "Anchor",
1544
+ "module": "src/anchor/anchor.ts"
1522
1545
  }
1523
1546
  },
1524
1547
  {
1525
- "name": "auto-close-on-action",
1548
+ "name": "hreflang",
1526
1549
  "type": {
1527
- "text": "boolean"
1550
+ "text": "string"
1528
1551
  },
1529
- "default": "true",
1530
- "fieldName": "autoCloseOnAction",
1552
+ "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.",
1553
+ "fieldName": "hreflang",
1531
1554
  "inheritedFrom": {
1532
- "name": "ActionsMenu",
1533
- "module": "src/actions-menu/actions-menu.ts"
1555
+ "name": "Anchor",
1556
+ "module": "src/anchor/anchor.ts"
1534
1557
  }
1535
1558
  },
1536
1559
  {
1537
- "name": "name",
1560
+ "name": "ping",
1538
1561
  "type": {
1539
1562
  "text": "string"
1540
1563
  },
1541
- "default": "'Actions'",
1542
- "fieldName": "name",
1564
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1565
+ "fieldName": "ping",
1543
1566
  "inheritedFrom": {
1544
- "name": "ActionsMenu",
1545
- "module": "src/actions-menu/actions-menu.ts"
1567
+ "name": "Anchor",
1568
+ "module": "src/anchor/anchor.ts"
1546
1569
  }
1547
1570
  },
1548
1571
  {
1549
- "name": "open",
1572
+ "name": "referrerpolicy",
1550
1573
  "type": {
1551
- "text": "boolean"
1574
+ "text": "string"
1552
1575
  },
1553
- "default": "false",
1554
- "fieldName": "open",
1576
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1577
+ "fieldName": "referrerpolicy",
1555
1578
  "inheritedFrom": {
1556
- "name": "ActionsMenu",
1557
- "module": "src/actions-menu/actions-menu.ts"
1579
+ "name": "Anchor",
1580
+ "module": "src/anchor/anchor.ts"
1558
1581
  }
1559
1582
  },
1560
1583
  {
1561
- "name": "buttonAppearance",
1584
+ "name": "rel",
1562
1585
  "type": {
1563
1586
  "text": "string"
1564
1587
  },
1565
- "fieldName": "buttonAppearance",
1588
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1589
+ "fieldName": "rel",
1566
1590
  "inheritedFrom": {
1567
- "name": "ActionsMenu",
1568
- "module": "src/actions-menu/actions-menu.ts"
1591
+ "name": "Anchor",
1592
+ "module": "src/anchor/anchor.ts"
1569
1593
  }
1570
1594
  },
1571
1595
  {
1572
- "name": "hide-disabled",
1596
+ "name": "target",
1573
1597
  "type": {
1574
- "text": "boolean"
1598
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1575
1599
  },
1576
- "default": "false",
1577
- "fieldName": "hideDisabled",
1600
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1601
+ "fieldName": "target",
1578
1602
  "inheritedFrom": {
1579
- "name": "ActionsMenu",
1580
- "module": "src/actions-menu/actions-menu.ts"
1603
+ "name": "Anchor",
1604
+ "module": "src/anchor/anchor.ts"
1581
1605
  }
1582
1606
  },
1583
1607
  {
1584
- "name": "hide-menu-single-option",
1608
+ "name": "type",
1585
1609
  "type": {
1586
- "text": "boolean"
1610
+ "text": "string"
1587
1611
  },
1588
- "default": "false",
1589
- "fieldName": "hideMenuSingleOption",
1612
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1613
+ "fieldName": "type",
1590
1614
  "inheritedFrom": {
1591
- "name": "ActionsMenu",
1592
- "module": "src/actions-menu/actions-menu.ts"
1615
+ "name": "Anchor",
1616
+ "module": "src/anchor/anchor.ts"
1593
1617
  }
1594
1618
  }
1595
1619
  ],
1596
1620
  "members": [
1597
1621
  {
1598
1622
  "kind": "field",
1599
- "name": "actions",
1623
+ "name": "download",
1600
1624
  "type": {
1601
- "text": "ActionMenuItem[]"
1625
+ "text": "string"
1602
1626
  },
1627
+ "privacy": "public",
1628
+ "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.",
1603
1629
  "inheritedFrom": {
1604
- "name": "ActionsMenu",
1605
- "module": "src/actions-menu/actions-menu.ts"
1630
+ "name": "Anchor",
1631
+ "module": "src/anchor/anchor.ts"
1606
1632
  }
1607
1633
  },
1608
1634
  {
1609
1635
  "kind": "field",
1610
- "name": "isVertical",
1636
+ "name": "href",
1611
1637
  "type": {
1612
- "text": "boolean"
1638
+ "text": "string"
1613
1639
  },
1614
- "default": "false",
1640
+ "privacy": "public",
1641
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1615
1642
  "inheritedFrom": {
1616
- "name": "ActionsMenu",
1617
- "module": "src/actions-menu/actions-menu.ts"
1618
- }
1619
- },
1620
- {
1621
- "kind": "field",
1622
- "name": "addDefaultActions",
1623
- "type": {
1624
- "text": "boolean"
1625
- },
1626
- "default": "true",
1627
- "inheritedFrom": {
1628
- "name": "ActionsMenu",
1629
- "module": "src/actions-menu/actions-menu.ts"
1630
- }
1631
- },
1632
- {
1633
- "kind": "field",
1634
- "name": "autoCloseOnAction",
1635
- "type": {
1636
- "text": "boolean"
1637
- },
1638
- "default": "true",
1639
- "inheritedFrom": {
1640
- "name": "ActionsMenu",
1641
- "module": "src/actions-menu/actions-menu.ts"
1643
+ "name": "Anchor",
1644
+ "module": "src/anchor/anchor.ts"
1642
1645
  }
1643
1646
  },
1644
1647
  {
1645
1648
  "kind": "field",
1646
- "name": "classNames",
1649
+ "name": "hreflang",
1647
1650
  "type": {
1648
1651
  "text": "string"
1649
1652
  },
1653
+ "privacy": "public",
1654
+ "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.",
1650
1655
  "inheritedFrom": {
1651
- "name": "ActionsMenu",
1652
- "module": "src/actions-menu/actions-menu.ts"
1653
- }
1654
- },
1655
- {
1656
- "kind": "field",
1657
- "name": "definition",
1658
- "type": {
1659
- "text": "any"
1660
- },
1661
- "inheritedFrom": {
1662
- "name": "ActionsMenu",
1663
- "module": "src/actions-menu/actions-menu.ts"
1656
+ "name": "Anchor",
1657
+ "module": "src/anchor/anchor.ts"
1664
1658
  }
1665
1659
  },
1666
1660
  {
1667
1661
  "kind": "field",
1668
- "name": "name",
1662
+ "name": "ping",
1669
1663
  "type": {
1670
1664
  "text": "string"
1671
1665
  },
1672
- "default": "'Actions'",
1673
- "inheritedFrom": {
1674
- "name": "ActionsMenu",
1675
- "module": "src/actions-menu/actions-menu.ts"
1676
- }
1677
- },
1678
- {
1679
- "kind": "field",
1680
- "name": "open",
1681
- "type": {
1682
- "text": "boolean"
1683
- },
1684
- "default": "false",
1666
+ "privacy": "public",
1667
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1685
1668
  "inheritedFrom": {
1686
- "name": "ActionsMenu",
1687
- "module": "src/actions-menu/actions-menu.ts"
1669
+ "name": "Anchor",
1670
+ "module": "src/anchor/anchor.ts"
1688
1671
  }
1689
1672
  },
1690
1673
  {
1691
1674
  "kind": "field",
1692
- "name": "buttonAppearance",
1675
+ "name": "referrerpolicy",
1693
1676
  "type": {
1694
1677
  "text": "string"
1695
1678
  },
1679
+ "privacy": "public",
1680
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1696
1681
  "inheritedFrom": {
1697
- "name": "ActionsMenu",
1698
- "module": "src/actions-menu/actions-menu.ts"
1699
- }
1700
- },
1701
- {
1702
- "kind": "field",
1703
- "name": "hideDisabled",
1704
- "type": {
1705
- "text": "boolean"
1706
- },
1707
- "default": "false",
1708
- "inheritedFrom": {
1709
- "name": "ActionsMenu",
1710
- "module": "src/actions-menu/actions-menu.ts"
1682
+ "name": "Anchor",
1683
+ "module": "src/anchor/anchor.ts"
1711
1684
  }
1712
1685
  },
1713
1686
  {
1714
1687
  "kind": "field",
1715
- "name": "hideMenuSingleOption",
1688
+ "name": "rel",
1716
1689
  "type": {
1717
- "text": "boolean"
1690
+ "text": "string"
1718
1691
  },
1719
- "default": "false",
1692
+ "privacy": "public",
1693
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1720
1694
  "inheritedFrom": {
1721
- "name": "ActionsMenu",
1722
- "module": "src/actions-menu/actions-menu.ts"
1695
+ "name": "Anchor",
1696
+ "module": "src/anchor/anchor.ts"
1723
1697
  }
1724
1698
  },
1725
1699
  {
1726
1700
  "kind": "field",
1727
- "name": "singleOption",
1701
+ "name": "target",
1728
1702
  "type": {
1729
- "text": "ActionMenuItem"
1703
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1730
1704
  },
1705
+ "privacy": "public",
1706
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1731
1707
  "inheritedFrom": {
1732
- "name": "ActionsMenu",
1733
- "module": "src/actions-menu/actions-menu.ts"
1708
+ "name": "Anchor",
1709
+ "module": "src/anchor/anchor.ts"
1734
1710
  }
1735
1711
  },
1736
1712
  {
1737
1713
  "kind": "field",
1738
- "name": "actionsMenu",
1714
+ "name": "type",
1739
1715
  "type": {
1740
- "text": "HTMLElement"
1716
+ "text": "string"
1741
1717
  },
1718
+ "privacy": "public",
1719
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1742
1720
  "inheritedFrom": {
1743
- "name": "ActionsMenu",
1744
- "module": "src/actions-menu/actions-menu.ts"
1745
- }
1746
- },
1747
- {
1748
- "kind": "method",
1749
- "name": "definitionChanged",
1750
- "privacy": "protected",
1751
- "parameters": [
1752
- {
1753
- "name": "oldValue",
1754
- "type": {
1755
- "text": "any"
1756
- }
1757
- },
1758
- {
1759
- "name": "newValue",
1760
- "type": {
1761
- "text": "any"
1762
- }
1763
- }
1764
- ],
1765
- "inheritedFrom": {
1766
- "name": "ActionsMenu",
1767
- "module": "src/actions-menu/actions-menu.ts"
1768
- }
1769
- },
1770
- {
1771
- "kind": "method",
1772
- "name": "openChanged",
1773
- "privacy": "protected",
1774
- "inheritedFrom": {
1775
- "name": "ActionsMenu",
1776
- "module": "src/actions-menu/actions-menu.ts"
1777
- }
1778
- },
1779
- {
1780
- "kind": "method",
1781
- "name": "toggleActionsMenuVisibility",
1782
- "inheritedFrom": {
1783
- "name": "ActionsMenu",
1784
- "module": "src/actions-menu/actions-menu.ts"
1785
- }
1786
- },
1787
- {
1788
- "kind": "method",
1789
- "name": "onActionMenuItemClick",
1790
- "parameters": [
1791
- {
1792
- "name": "callback",
1793
- "type": {
1794
- "text": "(rowData) => void | any"
1795
- }
1796
- }
1797
- ],
1798
- "inheritedFrom": {
1799
- "name": "ActionsMenu",
1800
- "module": "src/actions-menu/actions-menu.ts"
1721
+ "name": "Anchor",
1722
+ "module": "src/anchor/anchor.ts"
1801
1723
  }
1802
1724
  },
1803
1725
  {
1804
1726
  "kind": "field",
1805
- "name": "allActions",
1727
+ "name": "control",
1806
1728
  "type": {
1807
- "text": "ActionMenuItem[]"
1729
+ "text": "HTMLAnchorElement | undefined"
1808
1730
  },
1809
- "readonly": true,
1731
+ "privacy": "public",
1732
+ "description": "References the root element",
1810
1733
  "inheritedFrom": {
1811
- "name": "ActionsMenu",
1812
- "module": "src/actions-menu/actions-menu.ts"
1734
+ "name": "Anchor",
1735
+ "module": "src/anchor/anchor.ts"
1813
1736
  }
1814
1737
  },
1815
1738
  {
1816
1739
  "kind": "field",
1817
- "name": "rowData",
1818
- "readonly": true,
1819
- "inheritedFrom": {
1820
- "name": "ActionsMenu",
1821
- "module": "src/actions-menu/actions-menu.ts"
1822
- }
1823
- },
1824
- {
1825
- "kind": "method",
1826
- "name": "getLabel",
1827
- "parameters": [
1828
- {
1829
- "name": "name",
1830
- "type": {
1831
- "text": "string | ((rowData: any) => string)"
1832
- }
1833
- }
1834
- ],
1835
- "inheritedFrom": {
1836
- "name": "ActionsMenu",
1837
- "module": "src/actions-menu/actions-menu.ts"
1838
- }
1839
- },
1840
- {
1841
- "kind": "method",
1842
- "name": "getTemplate",
1843
- "parameters": [
1844
- {
1845
- "name": "prefix",
1846
- "type": {
1847
- "text": "string"
1848
- }
1849
- }
1850
- ],
1740
+ "name": "handleUnsupportedDelegatesFocus",
1741
+ "privacy": "private",
1742
+ "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",
1851
1743
  "inheritedFrom": {
1852
- "name": "ActionsMenu",
1853
- "module": "src/actions-menu/actions-menu.ts"
1744
+ "name": "Anchor",
1745
+ "module": "src/anchor/anchor.ts"
1854
1746
  }
1855
1747
  },
1856
1748
  {
@@ -1862,8 +1754,8 @@
1862
1754
  "privacy": "private",
1863
1755
  "default": "void 0",
1864
1756
  "inheritedFrom": {
1865
- "name": "FoundationElement",
1866
- "module": "src/foundation-element/foundation-element.ts"
1757
+ "name": "Anchor",
1758
+ "module": "src/anchor/anchor.ts"
1867
1759
  }
1868
1760
  },
1869
1761
  {
@@ -1875,8 +1767,8 @@
1875
1767
  "privacy": "public",
1876
1768
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1877
1769
  "inheritedFrom": {
1878
- "name": "FoundationElement",
1879
- "module": "src/foundation-element/foundation-element.ts"
1770
+ "name": "Anchor",
1771
+ "module": "src/anchor/anchor.ts"
1880
1772
  }
1881
1773
  },
1882
1774
  {
@@ -1888,8 +1780,8 @@
1888
1780
  "privacy": "public",
1889
1781
  "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.",
1890
1782
  "inheritedFrom": {
1891
- "name": "FoundationElement",
1892
- "module": "src/foundation-element/foundation-element.ts"
1783
+ "name": "Anchor",
1784
+ "module": "src/anchor/anchor.ts"
1893
1785
  }
1894
1786
  },
1895
1787
  {
@@ -1902,8 +1794,8 @@
1902
1794
  }
1903
1795
  },
1904
1796
  "inheritedFrom": {
1905
- "name": "FoundationElement",
1906
- "module": "src/foundation-element/foundation-element.ts"
1797
+ "name": "Anchor",
1798
+ "module": "src/anchor/anchor.ts"
1907
1799
  }
1908
1800
  },
1909
1801
  {
@@ -1915,8 +1807,8 @@
1915
1807
  "privacy": "public",
1916
1808
  "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.",
1917
1809
  "inheritedFrom": {
1918
- "name": "FoundationElement",
1919
- "module": "src/foundation-element/foundation-element.ts"
1810
+ "name": "Anchor",
1811
+ "module": "src/anchor/anchor.ts"
1920
1812
  }
1921
1813
  },
1922
1814
  {
@@ -1929,8 +1821,8 @@
1929
1821
  }
1930
1822
  },
1931
1823
  "inheritedFrom": {
1932
- "name": "FoundationElement",
1933
- "module": "src/foundation-element/foundation-element.ts"
1824
+ "name": "Anchor",
1825
+ "module": "src/anchor/anchor.ts"
1934
1826
  }
1935
1827
  },
1936
1828
  {
@@ -1960,41 +1852,39 @@
1960
1852
  ],
1961
1853
  "description": "Defines an element registry function with a set of element definition defaults.",
1962
1854
  "inheritedFrom": {
1963
- "name": "FoundationElement",
1964
- "module": "src/foundation-element/foundation-element.ts"
1855
+ "name": "Anchor",
1856
+ "module": "src/anchor/anchor.ts"
1965
1857
  }
1966
1858
  }
1967
1859
  ]
1968
1860
  },
1969
1861
  {
1970
1862
  "kind": "variable",
1971
- "name": "zeroActionsMenu",
1972
- "description": "The Zero Actions Menu",
1973
- "privacy": "public"
1863
+ "name": "zeroAnchor"
1974
1864
  }
1975
1865
  ],
1976
1866
  "exports": [
1977
1867
  {
1978
1868
  "kind": "js",
1979
- "name": "ActionsMenu",
1869
+ "name": "Anchor",
1980
1870
  "declaration": {
1981
- "name": "ActionsMenu",
1982
- "module": "src/actions-menu/actions-menu.ts"
1871
+ "name": "Anchor",
1872
+ "module": "src/anchor/anchor.ts"
1983
1873
  }
1984
1874
  },
1985
1875
  {
1986
1876
  "kind": "js",
1987
- "name": "zeroActionsMenu",
1877
+ "name": "zeroAnchor",
1988
1878
  "declaration": {
1989
- "name": "zeroActionsMenu",
1990
- "module": "src/actions-menu/actions-menu.ts"
1879
+ "name": "zeroAnchor",
1880
+ "module": "src/anchor/anchor.ts"
1991
1881
  }
1992
1882
  }
1993
1883
  ]
1994
1884
  },
1995
1885
  {
1996
1886
  "kind": "javascript-module",
1997
- "path": "src/actions-menu/index.ts",
1887
+ "path": "src/anchor/index.ts",
1998
1888
  "declarations": [],
1999
1889
  "exports": [
2000
1890
  {
@@ -2002,7 +1892,7 @@
2002
1892
  "name": "*",
2003
1893
  "declaration": {
2004
1894
  "name": "*",
2005
- "package": "./actions-menu"
1895
+ "package": "./anchor"
2006
1896
  }
2007
1897
  },
2008
1898
  {
@@ -2010,14 +1900,22 @@
2010
1900
  "name": "*",
2011
1901
  "declaration": {
2012
1902
  "name": "*",
2013
- "package": "./actions-menu.styles"
1903
+ "package": "./anchor.styles"
1904
+ }
1905
+ },
1906
+ {
1907
+ "kind": "js",
1908
+ "name": "*",
1909
+ "declaration": {
1910
+ "name": "*",
1911
+ "package": "./anchor.template"
2014
1912
  }
2015
1913
  }
2016
1914
  ]
2017
1915
  },
2018
1916
  {
2019
1917
  "kind": "javascript-module",
2020
- "path": "src/anchor/anchor.stories.ts",
1918
+ "path": "src/actions-menu/actions-menu.stories.ts",
2021
1919
  "declarations": [
2022
1920
  {
2023
1921
  "kind": "variable",
@@ -2025,15 +1923,23 @@
2025
1923
  "type": {
2026
1924
  "text": "Meta"
2027
1925
  },
2028
- "default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
1926
+ "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
2029
1927
  },
2030
1928
  {
2031
1929
  "kind": "variable",
2032
- "name": "All",
1930
+ "name": "Horizontal",
2033
1931
  "type": {
2034
1932
  "text": "StoryObj"
2035
1933
  },
2036
- "default": "{\n args: {\n anchorText: 'Rapid Anchor',\n appearances: ZeroAppearanceValues,\n },\n ...StylesMapperTemplate,\n}"
1934
+ "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}"
1935
+ },
1936
+ {
1937
+ "kind": "variable",
1938
+ "name": "Vertical",
1939
+ "type": {
1940
+ "text": "StoryObj"
1941
+ },
1942
+ "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}"
2037
1943
  }
2038
1944
  ],
2039
1945
  "exports": [
@@ -2042,68 +1948,37 @@
2042
1948
  "name": "default",
2043
1949
  "declaration": {
2044
1950
  "name": "meta",
2045
- "module": "src/anchor/anchor.stories.ts"
1951
+ "module": "src/actions-menu/actions-menu.stories.ts"
2046
1952
  }
2047
1953
  },
2048
1954
  {
2049
1955
  "kind": "js",
2050
- "name": "All",
1956
+ "name": "Horizontal",
2051
1957
  "declaration": {
2052
- "name": "All",
2053
- "module": "src/anchor/anchor.stories.ts"
1958
+ "name": "Horizontal",
1959
+ "module": "src/actions-menu/actions-menu.stories.ts"
2054
1960
  }
2055
- }
2056
- ]
2057
- },
2058
- {
2059
- "kind": "javascript-module",
2060
- "path": "src/anchor/anchor.styles.ts",
2061
- "declarations": [
2062
- {
2063
- "kind": "function",
2064
- "name": "zeroAnchorStyles",
2065
- "return": {
2066
- "type": {
2067
- "text": "ElementStyles"
2068
- }
2069
- },
2070
- "parameters": [
2071
- {
2072
- "name": "context",
2073
- "type": {
2074
- "text": "ElementDefinitionContext"
2075
- }
2076
- },
2077
- {
2078
- "name": "definition",
2079
- "type": {
2080
- "text": "FoundationElementDefinition"
2081
- }
2082
- }
2083
- ]
2084
- }
2085
- ],
2086
- "exports": [
1961
+ },
2087
1962
  {
2088
1963
  "kind": "js",
2089
- "name": "zeroAnchorStyles",
1964
+ "name": "Vertical",
2090
1965
  "declaration": {
2091
- "name": "zeroAnchorStyles",
2092
- "module": "src/anchor/anchor.styles.ts"
1966
+ "name": "Vertical",
1967
+ "module": "src/actions-menu/actions-menu.stories.ts"
2093
1968
  }
2094
1969
  }
2095
1970
  ]
2096
1971
  },
2097
1972
  {
2098
1973
  "kind": "javascript-module",
2099
- "path": "src/anchor/anchor.template.ts",
1974
+ "path": "src/actions-menu/actions-menu.styles.ts",
2100
1975
  "declarations": [
2101
1976
  {
2102
1977
  "kind": "function",
2103
- "name": "zeroAnchorTemplate",
1978
+ "name": "zeroActionsMenuStyles",
2104
1979
  "return": {
2105
1980
  "type": {
2106
- "text": "ViewTemplate<Anchor>"
1981
+ "text": "ElementStyles"
2107
1982
  }
2108
1983
  },
2109
1984
  "parameters": [
@@ -2125,252 +2000,383 @@
2125
2000
  "exports": [
2126
2001
  {
2127
2002
  "kind": "js",
2128
- "name": "zeroAnchorTemplate",
2003
+ "name": "zeroActionsMenuStyles",
2129
2004
  "declaration": {
2130
- "name": "zeroAnchorTemplate",
2131
- "module": "src/anchor/anchor.template.ts"
2005
+ "name": "zeroActionsMenuStyles",
2006
+ "module": "src/actions-menu/actions-menu.styles.ts"
2132
2007
  }
2133
2008
  }
2134
2009
  ]
2135
2010
  },
2136
2011
  {
2137
2012
  "kind": "javascript-module",
2138
- "path": "src/anchor/anchor.ts",
2013
+ "path": "src/actions-menu/actions-menu.ts",
2139
2014
  "declarations": [
2140
2015
  {
2141
2016
  "kind": "class",
2142
2017
  "description": "",
2143
- "name": "Anchor",
2018
+ "name": "ActionsMenu",
2144
2019
  "superclass": {
2145
- "name": "FoundationAnchor",
2020
+ "name": "FoundationActionsMenu",
2146
2021
  "package": "@genesislcap/foundation-ui"
2147
2022
  },
2148
- "tagName": "%%prefix%%-anchor",
2023
+ "tagName": "%%prefix%%-actions-menu",
2149
2024
  "customElement": true,
2150
2025
  "attributes": [
2151
2026
  {
2152
- "name": "download",
2027
+ "name": "is-vertical",
2153
2028
  "type": {
2154
- "text": "string"
2029
+ "text": "boolean"
2155
2030
  },
2156
- "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.",
2157
- "fieldName": "download",
2031
+ "default": "false",
2032
+ "fieldName": "isVertical",
2158
2033
  "inheritedFrom": {
2159
- "name": "Anchor",
2160
- "module": "src/anchor/anchor.ts"
2034
+ "name": "ActionsMenu",
2035
+ "module": "src/actions-menu/actions-menu.ts"
2161
2036
  }
2162
2037
  },
2163
2038
  {
2164
- "name": "href",
2039
+ "name": "add-default-actions",
2165
2040
  "type": {
2166
- "text": "string"
2041
+ "text": "boolean"
2167
2042
  },
2168
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2169
- "fieldName": "href",
2043
+ "default": "true",
2044
+ "fieldName": "addDefaultActions",
2170
2045
  "inheritedFrom": {
2171
- "name": "Anchor",
2172
- "module": "src/anchor/anchor.ts"
2046
+ "name": "ActionsMenu",
2047
+ "module": "src/actions-menu/actions-menu.ts"
2173
2048
  }
2174
2049
  },
2175
2050
  {
2176
- "name": "hreflang",
2051
+ "name": "auto-close-on-action",
2177
2052
  "type": {
2178
- "text": "string"
2053
+ "text": "boolean"
2179
2054
  },
2180
- "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.",
2181
- "fieldName": "hreflang",
2055
+ "default": "true",
2056
+ "fieldName": "autoCloseOnAction",
2182
2057
  "inheritedFrom": {
2183
- "name": "Anchor",
2184
- "module": "src/anchor/anchor.ts"
2058
+ "name": "ActionsMenu",
2059
+ "module": "src/actions-menu/actions-menu.ts"
2185
2060
  }
2186
2061
  },
2187
2062
  {
2188
- "name": "ping",
2063
+ "name": "name",
2189
2064
  "type": {
2190
2065
  "text": "string"
2191
2066
  },
2192
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2193
- "fieldName": "ping",
2067
+ "default": "'Actions'",
2068
+ "fieldName": "name",
2194
2069
  "inheritedFrom": {
2195
- "name": "Anchor",
2196
- "module": "src/anchor/anchor.ts"
2070
+ "name": "ActionsMenu",
2071
+ "module": "src/actions-menu/actions-menu.ts"
2197
2072
  }
2198
2073
  },
2199
2074
  {
2200
- "name": "referrerpolicy",
2075
+ "name": "open",
2201
2076
  "type": {
2202
- "text": "string"
2077
+ "text": "boolean"
2203
2078
  },
2204
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2205
- "fieldName": "referrerpolicy",
2079
+ "default": "false",
2080
+ "fieldName": "open",
2206
2081
  "inheritedFrom": {
2207
- "name": "Anchor",
2208
- "module": "src/anchor/anchor.ts"
2082
+ "name": "ActionsMenu",
2083
+ "module": "src/actions-menu/actions-menu.ts"
2209
2084
  }
2210
2085
  },
2211
2086
  {
2212
- "name": "rel",
2087
+ "name": "buttonAppearance",
2213
2088
  "type": {
2214
2089
  "text": "string"
2215
2090
  },
2216
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2217
- "fieldName": "rel",
2091
+ "fieldName": "buttonAppearance",
2218
2092
  "inheritedFrom": {
2219
- "name": "Anchor",
2220
- "module": "src/anchor/anchor.ts"
2093
+ "name": "ActionsMenu",
2094
+ "module": "src/actions-menu/actions-menu.ts"
2221
2095
  }
2222
2096
  },
2223
2097
  {
2224
- "name": "target",
2098
+ "name": "hide-disabled",
2225
2099
  "type": {
2226
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2100
+ "text": "boolean"
2227
2101
  },
2228
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2229
- "fieldName": "target",
2102
+ "default": "false",
2103
+ "fieldName": "hideDisabled",
2230
2104
  "inheritedFrom": {
2231
- "name": "Anchor",
2232
- "module": "src/anchor/anchor.ts"
2105
+ "name": "ActionsMenu",
2106
+ "module": "src/actions-menu/actions-menu.ts"
2233
2107
  }
2234
2108
  },
2235
2109
  {
2236
- "name": "type",
2110
+ "name": "hide-menu-single-option",
2111
+ "type": {
2112
+ "text": "boolean"
2113
+ },
2114
+ "default": "false",
2115
+ "fieldName": "hideMenuSingleOption",
2116
+ "inheritedFrom": {
2117
+ "name": "ActionsMenu",
2118
+ "module": "src/actions-menu/actions-menu.ts"
2119
+ }
2120
+ }
2121
+ ],
2122
+ "members": [
2123
+ {
2124
+ "kind": "field",
2125
+ "name": "actions",
2126
+ "type": {
2127
+ "text": "ActionMenuItem[]"
2128
+ },
2129
+ "inheritedFrom": {
2130
+ "name": "ActionsMenu",
2131
+ "module": "src/actions-menu/actions-menu.ts"
2132
+ }
2133
+ },
2134
+ {
2135
+ "kind": "field",
2136
+ "name": "isVertical",
2137
+ "type": {
2138
+ "text": "boolean"
2139
+ },
2140
+ "default": "false",
2141
+ "inheritedFrom": {
2142
+ "name": "ActionsMenu",
2143
+ "module": "src/actions-menu/actions-menu.ts"
2144
+ }
2145
+ },
2146
+ {
2147
+ "kind": "field",
2148
+ "name": "addDefaultActions",
2149
+ "type": {
2150
+ "text": "boolean"
2151
+ },
2152
+ "default": "true",
2153
+ "inheritedFrom": {
2154
+ "name": "ActionsMenu",
2155
+ "module": "src/actions-menu/actions-menu.ts"
2156
+ }
2157
+ },
2158
+ {
2159
+ "kind": "field",
2160
+ "name": "autoCloseOnAction",
2161
+ "type": {
2162
+ "text": "boolean"
2163
+ },
2164
+ "default": "true",
2165
+ "inheritedFrom": {
2166
+ "name": "ActionsMenu",
2167
+ "module": "src/actions-menu/actions-menu.ts"
2168
+ }
2169
+ },
2170
+ {
2171
+ "kind": "field",
2172
+ "name": "classNames",
2237
2173
  "type": {
2238
2174
  "text": "string"
2239
2175
  },
2240
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2241
- "fieldName": "type",
2242
2176
  "inheritedFrom": {
2243
- "name": "Anchor",
2244
- "module": "src/anchor/anchor.ts"
2177
+ "name": "ActionsMenu",
2178
+ "module": "src/actions-menu/actions-menu.ts"
2245
2179
  }
2246
- }
2247
- ],
2248
- "members": [
2180
+ },
2249
2181
  {
2250
2182
  "kind": "field",
2251
- "name": "download",
2183
+ "name": "definition",
2252
2184
  "type": {
2253
- "text": "string"
2185
+ "text": "any"
2254
2186
  },
2255
- "privacy": "public",
2256
- "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.",
2257
2187
  "inheritedFrom": {
2258
- "name": "Anchor",
2259
- "module": "src/anchor/anchor.ts"
2188
+ "name": "ActionsMenu",
2189
+ "module": "src/actions-menu/actions-menu.ts"
2260
2190
  }
2261
2191
  },
2262
2192
  {
2263
2193
  "kind": "field",
2264
- "name": "href",
2194
+ "name": "name",
2265
2195
  "type": {
2266
2196
  "text": "string"
2267
2197
  },
2268
- "privacy": "public",
2269
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2198
+ "default": "'Actions'",
2270
2199
  "inheritedFrom": {
2271
- "name": "Anchor",
2272
- "module": "src/anchor/anchor.ts"
2200
+ "name": "ActionsMenu",
2201
+ "module": "src/actions-menu/actions-menu.ts"
2273
2202
  }
2274
2203
  },
2275
2204
  {
2276
2205
  "kind": "field",
2277
- "name": "hreflang",
2206
+ "name": "open",
2278
2207
  "type": {
2279
- "text": "string"
2208
+ "text": "boolean"
2280
2209
  },
2281
- "privacy": "public",
2282
- "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.",
2210
+ "default": "false",
2283
2211
  "inheritedFrom": {
2284
- "name": "Anchor",
2285
- "module": "src/anchor/anchor.ts"
2212
+ "name": "ActionsMenu",
2213
+ "module": "src/actions-menu/actions-menu.ts"
2286
2214
  }
2287
2215
  },
2288
2216
  {
2289
2217
  "kind": "field",
2290
- "name": "ping",
2218
+ "name": "buttonAppearance",
2291
2219
  "type": {
2292
2220
  "text": "string"
2293
2221
  },
2294
- "privacy": "public",
2295
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2296
2222
  "inheritedFrom": {
2297
- "name": "Anchor",
2298
- "module": "src/anchor/anchor.ts"
2223
+ "name": "ActionsMenu",
2224
+ "module": "src/actions-menu/actions-menu.ts"
2299
2225
  }
2300
2226
  },
2301
2227
  {
2302
2228
  "kind": "field",
2303
- "name": "referrerpolicy",
2229
+ "name": "hideDisabled",
2304
2230
  "type": {
2305
- "text": "string"
2231
+ "text": "boolean"
2306
2232
  },
2307
- "privacy": "public",
2308
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2233
+ "default": "false",
2309
2234
  "inheritedFrom": {
2310
- "name": "Anchor",
2311
- "module": "src/anchor/anchor.ts"
2235
+ "name": "ActionsMenu",
2236
+ "module": "src/actions-menu/actions-menu.ts"
2312
2237
  }
2313
2238
  },
2314
2239
  {
2315
2240
  "kind": "field",
2316
- "name": "rel",
2241
+ "name": "hideMenuSingleOption",
2317
2242
  "type": {
2318
- "text": "string"
2243
+ "text": "boolean"
2319
2244
  },
2320
- "privacy": "public",
2321
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2245
+ "default": "false",
2322
2246
  "inheritedFrom": {
2323
- "name": "Anchor",
2324
- "module": "src/anchor/anchor.ts"
2247
+ "name": "ActionsMenu",
2248
+ "module": "src/actions-menu/actions-menu.ts"
2325
2249
  }
2326
2250
  },
2327
2251
  {
2328
2252
  "kind": "field",
2329
- "name": "target",
2253
+ "name": "singleOption",
2330
2254
  "type": {
2331
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2255
+ "text": "ActionMenuItem"
2332
2256
  },
2333
- "privacy": "public",
2334
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2335
2257
  "inheritedFrom": {
2336
- "name": "Anchor",
2337
- "module": "src/anchor/anchor.ts"
2258
+ "name": "ActionsMenu",
2259
+ "module": "src/actions-menu/actions-menu.ts"
2338
2260
  }
2339
2261
  },
2340
2262
  {
2341
2263
  "kind": "field",
2342
- "name": "type",
2264
+ "name": "actionsMenu",
2343
2265
  "type": {
2344
- "text": "string"
2266
+ "text": "HTMLElement"
2345
2267
  },
2346
- "privacy": "public",
2347
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2348
2268
  "inheritedFrom": {
2349
- "name": "Anchor",
2350
- "module": "src/anchor/anchor.ts"
2269
+ "name": "ActionsMenu",
2270
+ "module": "src/actions-menu/actions-menu.ts"
2271
+ }
2272
+ },
2273
+ {
2274
+ "kind": "method",
2275
+ "name": "definitionChanged",
2276
+ "privacy": "protected",
2277
+ "parameters": [
2278
+ {
2279
+ "name": "oldValue",
2280
+ "type": {
2281
+ "text": "any"
2282
+ }
2283
+ },
2284
+ {
2285
+ "name": "newValue",
2286
+ "type": {
2287
+ "text": "any"
2288
+ }
2289
+ }
2290
+ ],
2291
+ "inheritedFrom": {
2292
+ "name": "ActionsMenu",
2293
+ "module": "src/actions-menu/actions-menu.ts"
2294
+ }
2295
+ },
2296
+ {
2297
+ "kind": "method",
2298
+ "name": "openChanged",
2299
+ "privacy": "protected",
2300
+ "inheritedFrom": {
2301
+ "name": "ActionsMenu",
2302
+ "module": "src/actions-menu/actions-menu.ts"
2303
+ }
2304
+ },
2305
+ {
2306
+ "kind": "method",
2307
+ "name": "toggleActionsMenuVisibility",
2308
+ "inheritedFrom": {
2309
+ "name": "ActionsMenu",
2310
+ "module": "src/actions-menu/actions-menu.ts"
2311
+ }
2312
+ },
2313
+ {
2314
+ "kind": "method",
2315
+ "name": "onActionMenuItemClick",
2316
+ "parameters": [
2317
+ {
2318
+ "name": "callback",
2319
+ "type": {
2320
+ "text": "(rowData) => void | any"
2321
+ }
2322
+ }
2323
+ ],
2324
+ "inheritedFrom": {
2325
+ "name": "ActionsMenu",
2326
+ "module": "src/actions-menu/actions-menu.ts"
2351
2327
  }
2352
2328
  },
2353
2329
  {
2354
2330
  "kind": "field",
2355
- "name": "control",
2331
+ "name": "allActions",
2356
2332
  "type": {
2357
- "text": "HTMLAnchorElement | undefined"
2333
+ "text": "ActionMenuItem[]"
2358
2334
  },
2359
- "privacy": "public",
2360
- "description": "References the root element",
2335
+ "readonly": true,
2361
2336
  "inheritedFrom": {
2362
- "name": "Anchor",
2363
- "module": "src/anchor/anchor.ts"
2337
+ "name": "ActionsMenu",
2338
+ "module": "src/actions-menu/actions-menu.ts"
2364
2339
  }
2365
2340
  },
2366
2341
  {
2367
2342
  "kind": "field",
2368
- "name": "handleUnsupportedDelegatesFocus",
2369
- "privacy": "private",
2370
- "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",
2343
+ "name": "rowData",
2344
+ "readonly": true,
2371
2345
  "inheritedFrom": {
2372
- "name": "Anchor",
2373
- "module": "src/anchor/anchor.ts"
2346
+ "name": "ActionsMenu",
2347
+ "module": "src/actions-menu/actions-menu.ts"
2348
+ }
2349
+ },
2350
+ {
2351
+ "kind": "method",
2352
+ "name": "getLabel",
2353
+ "parameters": [
2354
+ {
2355
+ "name": "name",
2356
+ "type": {
2357
+ "text": "string | ((rowData: any) => string)"
2358
+ }
2359
+ }
2360
+ ],
2361
+ "inheritedFrom": {
2362
+ "name": "ActionsMenu",
2363
+ "module": "src/actions-menu/actions-menu.ts"
2364
+ }
2365
+ },
2366
+ {
2367
+ "kind": "method",
2368
+ "name": "getTemplate",
2369
+ "parameters": [
2370
+ {
2371
+ "name": "prefix",
2372
+ "type": {
2373
+ "text": "string"
2374
+ }
2375
+ }
2376
+ ],
2377
+ "inheritedFrom": {
2378
+ "name": "ActionsMenu",
2379
+ "module": "src/actions-menu/actions-menu.ts"
2374
2380
  }
2375
2381
  },
2376
2382
  {
@@ -2382,8 +2388,8 @@
2382
2388
  "privacy": "private",
2383
2389
  "default": "void 0",
2384
2390
  "inheritedFrom": {
2385
- "name": "Anchor",
2386
- "module": "src/anchor/anchor.ts"
2391
+ "name": "FoundationElement",
2392
+ "module": "src/foundation-element/foundation-element.ts"
2387
2393
  }
2388
2394
  },
2389
2395
  {
@@ -2395,8 +2401,8 @@
2395
2401
  "privacy": "public",
2396
2402
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2397
2403
  "inheritedFrom": {
2398
- "name": "Anchor",
2399
- "module": "src/anchor/anchor.ts"
2404
+ "name": "FoundationElement",
2405
+ "module": "src/foundation-element/foundation-element.ts"
2400
2406
  }
2401
2407
  },
2402
2408
  {
@@ -2408,8 +2414,8 @@
2408
2414
  "privacy": "public",
2409
2415
  "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.",
2410
2416
  "inheritedFrom": {
2411
- "name": "Anchor",
2412
- "module": "src/anchor/anchor.ts"
2417
+ "name": "FoundationElement",
2418
+ "module": "src/foundation-element/foundation-element.ts"
2413
2419
  }
2414
2420
  },
2415
2421
  {
@@ -2422,8 +2428,8 @@
2422
2428
  }
2423
2429
  },
2424
2430
  "inheritedFrom": {
2425
- "name": "Anchor",
2426
- "module": "src/anchor/anchor.ts"
2431
+ "name": "FoundationElement",
2432
+ "module": "src/foundation-element/foundation-element.ts"
2427
2433
  }
2428
2434
  },
2429
2435
  {
@@ -2435,8 +2441,8 @@
2435
2441
  "privacy": "public",
2436
2442
  "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.",
2437
2443
  "inheritedFrom": {
2438
- "name": "Anchor",
2439
- "module": "src/anchor/anchor.ts"
2444
+ "name": "FoundationElement",
2445
+ "module": "src/foundation-element/foundation-element.ts"
2440
2446
  }
2441
2447
  },
2442
2448
  {
@@ -2449,8 +2455,8 @@
2449
2455
  }
2450
2456
  },
2451
2457
  "inheritedFrom": {
2452
- "name": "Anchor",
2453
- "module": "src/anchor/anchor.ts"
2458
+ "name": "FoundationElement",
2459
+ "module": "src/foundation-element/foundation-element.ts"
2454
2460
  }
2455
2461
  },
2456
2462
  {
@@ -2480,39 +2486,41 @@
2480
2486
  ],
2481
2487
  "description": "Defines an element registry function with a set of element definition defaults.",
2482
2488
  "inheritedFrom": {
2483
- "name": "Anchor",
2484
- "module": "src/anchor/anchor.ts"
2489
+ "name": "FoundationElement",
2490
+ "module": "src/foundation-element/foundation-element.ts"
2485
2491
  }
2486
2492
  }
2487
2493
  ]
2488
2494
  },
2489
2495
  {
2490
2496
  "kind": "variable",
2491
- "name": "zeroAnchor"
2497
+ "name": "zeroActionsMenu",
2498
+ "description": "The Zero Actions Menu",
2499
+ "privacy": "public"
2492
2500
  }
2493
2501
  ],
2494
2502
  "exports": [
2495
2503
  {
2496
2504
  "kind": "js",
2497
- "name": "Anchor",
2505
+ "name": "ActionsMenu",
2498
2506
  "declaration": {
2499
- "name": "Anchor",
2500
- "module": "src/anchor/anchor.ts"
2507
+ "name": "ActionsMenu",
2508
+ "module": "src/actions-menu/actions-menu.ts"
2501
2509
  }
2502
2510
  },
2503
2511
  {
2504
2512
  "kind": "js",
2505
- "name": "zeroAnchor",
2513
+ "name": "zeroActionsMenu",
2506
2514
  "declaration": {
2507
- "name": "zeroAnchor",
2508
- "module": "src/anchor/anchor.ts"
2515
+ "name": "zeroActionsMenu",
2516
+ "module": "src/actions-menu/actions-menu.ts"
2509
2517
  }
2510
2518
  }
2511
2519
  ]
2512
2520
  },
2513
2521
  {
2514
2522
  "kind": "javascript-module",
2515
- "path": "src/anchor/index.ts",
2523
+ "path": "src/actions-menu/index.ts",
2516
2524
  "declarations": [],
2517
2525
  "exports": [
2518
2526
  {
@@ -2520,15 +2528,7 @@
2520
2528
  "name": "*",
2521
2529
  "declaration": {
2522
2530
  "name": "*",
2523
- "package": "./anchor"
2524
- }
2525
- },
2526
- {
2527
- "kind": "js",
2528
- "name": "*",
2529
- "declaration": {
2530
- "name": "*",
2531
- "package": "./anchor.styles"
2531
+ "package": "./actions-menu"
2532
2532
  }
2533
2533
  },
2534
2534
  {
@@ -2536,7 +2536,7 @@
2536
2536
  "name": "*",
2537
2537
  "declaration": {
2538
2538
  "name": "*",
2539
- "package": "./anchor.template"
2539
+ "package": "./actions-menu.styles"
2540
2540
  }
2541
2541
  }
2542
2542
  ]