@genesislcap/foundation-ui 14.183.2 → 14.183.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +530 -530
  2. package/package.json +16 -16
@@ -862,6 +862,37 @@
862
862
  }
863
863
  ]
864
864
  },
865
+ {
866
+ "kind": "javascript-module",
867
+ "path": "src/_config/index.ts",
868
+ "declarations": [],
869
+ "exports": [
870
+ {
871
+ "kind": "js",
872
+ "name": "*",
873
+ "declaration": {
874
+ "name": "*",
875
+ "package": "./styles"
876
+ }
877
+ },
878
+ {
879
+ "kind": "js",
880
+ "name": "*",
881
+ "declaration": {
882
+ "name": "*",
883
+ "package": "./tokens"
884
+ }
885
+ },
886
+ {
887
+ "kind": "js",
888
+ "name": "*",
889
+ "declaration": {
890
+ "name": "*",
891
+ "package": "./values"
892
+ }
893
+ }
894
+ ]
895
+ },
865
896
  {
866
897
  "kind": "javascript-module",
867
898
  "path": "src/accordion/accordion.styles.ts",
@@ -1044,37 +1075,6 @@
1044
1075
  }
1045
1076
  ]
1046
1077
  },
1047
- {
1048
- "kind": "javascript-module",
1049
- "path": "src/_config/index.ts",
1050
- "declarations": [],
1051
- "exports": [
1052
- {
1053
- "kind": "js",
1054
- "name": "*",
1055
- "declaration": {
1056
- "name": "*",
1057
- "package": "./styles"
1058
- }
1059
- },
1060
- {
1061
- "kind": "js",
1062
- "name": "*",
1063
- "declaration": {
1064
- "name": "*",
1065
- "package": "./tokens"
1066
- }
1067
- },
1068
- {
1069
- "kind": "js",
1070
- "name": "*",
1071
- "declaration": {
1072
- "name": "*",
1073
- "package": "./values"
1074
- }
1075
- }
1076
- ]
1077
- },
1078
1078
  {
1079
1079
  "kind": "javascript-module",
1080
1080
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1471,34 +1471,11 @@
1471
1471
  },
1472
1472
  {
1473
1473
  "kind": "javascript-module",
1474
- "path": "src/actions-menu/actions-menu.styles.ts",
1474
+ "path": "src/anchor/anchor.styles.ts",
1475
1475
  "declarations": [
1476
1476
  {
1477
1477
  "kind": "function",
1478
- "name": "actionsMenuBaseStyles",
1479
- "return": {
1480
- "type": {
1481
- "text": "ElementStyles"
1482
- }
1483
- },
1484
- "parameters": [
1485
- {
1486
- "name": "context",
1487
- "type": {
1488
- "text": "ElementDefinitionContext"
1489
- }
1490
- },
1491
- {
1492
- "name": "definition",
1493
- "type": {
1494
- "text": "FoundationElementDefinition"
1495
- }
1496
- }
1497
- ]
1498
- },
1499
- {
1500
- "kind": "function",
1501
- "name": "foundationActionsMenuStyles",
1478
+ "name": "foundationAnchorStyles",
1502
1479
  "return": {
1503
1480
  "type": {
1504
1481
  "text": "ElementStyles"
@@ -1523,269 +1500,292 @@
1523
1500
  "exports": [
1524
1501
  {
1525
1502
  "kind": "js",
1526
- "name": "actionsMenuBaseStyles",
1527
- "declaration": {
1528
- "name": "actionsMenuBaseStyles",
1529
- "module": "src/actions-menu/actions-menu.styles.ts"
1530
- }
1531
- },
1532
- {
1533
- "kind": "js",
1534
- "name": "foundationActionsMenuStyles",
1503
+ "name": "foundationAnchorStyles",
1535
1504
  "declaration": {
1536
- "name": "foundationActionsMenuStyles",
1537
- "module": "src/actions-menu/actions-menu.styles.ts"
1505
+ "name": "foundationAnchorStyles",
1506
+ "module": "src/anchor/anchor.styles.ts"
1538
1507
  }
1539
1508
  }
1540
1509
  ]
1541
1510
  },
1542
1511
  {
1543
1512
  "kind": "javascript-module",
1544
- "path": "src/actions-menu/actions-menu.template.ts",
1513
+ "path": "src/anchor/anchor.template.ts",
1545
1514
  "declarations": [
1546
1515
  {
1547
1516
  "kind": "function",
1548
- "name": "menuTemplate",
1517
+ "name": "foundationAnchorTemplate",
1518
+ "return": {
1519
+ "type": {
1520
+ "text": "ViewTemplate<Anchor>"
1521
+ }
1522
+ },
1549
1523
  "parameters": [
1550
1524
  {
1551
- "name": "prefix",
1525
+ "name": "context",
1552
1526
  "type": {
1553
- "text": "string"
1527
+ "text": "ElementDefinitionContext"
1554
1528
  }
1555
- }
1556
- ]
1557
- },
1558
- {
1559
- "kind": "function",
1560
- "name": "singleOptionTemplate",
1561
- "parameters": [
1529
+ },
1562
1530
  {
1563
- "name": "prefix",
1531
+ "name": "definition",
1564
1532
  "type": {
1565
- "text": "string"
1533
+ "text": "FoundationElementDefinition"
1566
1534
  }
1567
1535
  }
1568
1536
  ]
1569
- },
1570
- {
1571
- "kind": "variable",
1572
- "name": "foundationActionsMenuTemplate",
1573
- "type": {
1574
- "text": "ViewTemplate<ActionsMenu>"
1575
- },
1576
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1577
1537
  }
1578
1538
  ],
1579
1539
  "exports": [
1580
1540
  {
1581
1541
  "kind": "js",
1582
- "name": "menuTemplate",
1583
- "declaration": {
1584
- "name": "menuTemplate",
1585
- "module": "src/actions-menu/actions-menu.template.ts"
1586
- }
1587
- },
1588
- {
1589
- "kind": "js",
1590
- "name": "singleOptionTemplate",
1591
- "declaration": {
1592
- "name": "singleOptionTemplate",
1593
- "module": "src/actions-menu/actions-menu.template.ts"
1594
- }
1595
- },
1596
- {
1597
- "kind": "js",
1598
- "name": "foundationActionsMenuTemplate",
1542
+ "name": "foundationAnchorTemplate",
1599
1543
  "declaration": {
1600
- "name": "foundationActionsMenuTemplate",
1601
- "module": "src/actions-menu/actions-menu.template.ts"
1544
+ "name": "foundationAnchorTemplate",
1545
+ "module": "src/anchor/anchor.template.ts"
1602
1546
  }
1603
1547
  }
1604
1548
  ]
1605
1549
  },
1606
1550
  {
1607
1551
  "kind": "javascript-module",
1608
- "path": "src/actions-menu/actions-menu.ts",
1552
+ "path": "src/anchor/anchor.ts",
1609
1553
  "declarations": [
1610
1554
  {
1611
1555
  "kind": "class",
1612
1556
  "description": "",
1613
- "name": "ActionsMenu",
1614
- "members": [
1557
+ "name": "Anchor",
1558
+ "superclass": {
1559
+ "name": "FASTAnchor",
1560
+ "package": "@microsoft/fast-components"
1561
+ },
1562
+ "tagName": "%%prefix%%-anchor",
1563
+ "customElement": true,
1564
+ "attributes": [
1615
1565
  {
1616
- "kind": "field",
1617
- "name": "actions",
1566
+ "name": "download",
1618
1567
  "type": {
1619
- "text": "ActionMenuItem[]"
1568
+ "text": "string"
1569
+ },
1570
+ "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.",
1571
+ "fieldName": "download",
1572
+ "inheritedFrom": {
1573
+ "name": "Anchor",
1574
+ "module": "src/anchor/anchor.ts"
1620
1575
  }
1621
1576
  },
1622
1577
  {
1623
- "kind": "field",
1624
- "name": "isVertical",
1578
+ "name": "href",
1625
1579
  "type": {
1626
- "text": "boolean"
1580
+ "text": "string"
1627
1581
  },
1628
- "default": "false"
1582
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1583
+ "fieldName": "href",
1584
+ "inheritedFrom": {
1585
+ "name": "Anchor",
1586
+ "module": "src/anchor/anchor.ts"
1587
+ }
1629
1588
  },
1630
1589
  {
1631
- "kind": "field",
1632
- "name": "addDefaultActions",
1590
+ "name": "hreflang",
1633
1591
  "type": {
1634
- "text": "boolean"
1592
+ "text": "string"
1635
1593
  },
1636
- "default": "true"
1594
+ "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.",
1595
+ "fieldName": "hreflang",
1596
+ "inheritedFrom": {
1597
+ "name": "Anchor",
1598
+ "module": "src/anchor/anchor.ts"
1599
+ }
1637
1600
  },
1638
1601
  {
1639
- "kind": "field",
1640
- "name": "autoCloseOnAction",
1602
+ "name": "ping",
1641
1603
  "type": {
1642
- "text": "boolean"
1604
+ "text": "string"
1643
1605
  },
1644
- "default": "true"
1606
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1607
+ "fieldName": "ping",
1608
+ "inheritedFrom": {
1609
+ "name": "Anchor",
1610
+ "module": "src/anchor/anchor.ts"
1611
+ }
1645
1612
  },
1646
1613
  {
1647
- "kind": "field",
1648
- "name": "classNames",
1614
+ "name": "referrerpolicy",
1649
1615
  "type": {
1650
1616
  "text": "string"
1617
+ },
1618
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1619
+ "fieldName": "referrerpolicy",
1620
+ "inheritedFrom": {
1621
+ "name": "Anchor",
1622
+ "module": "src/anchor/anchor.ts"
1651
1623
  }
1652
1624
  },
1653
1625
  {
1654
- "kind": "field",
1655
- "name": "definition",
1626
+ "name": "rel",
1656
1627
  "type": {
1657
- "text": "any"
1628
+ "text": "string"
1629
+ },
1630
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1631
+ "fieldName": "rel",
1632
+ "inheritedFrom": {
1633
+ "name": "Anchor",
1634
+ "module": "src/anchor/anchor.ts"
1658
1635
  }
1659
1636
  },
1660
1637
  {
1661
- "kind": "field",
1662
- "name": "name",
1638
+ "name": "target",
1663
1639
  "type": {
1664
- "text": "string"
1640
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1665
1641
  },
1666
- "default": "'Actions'"
1642
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1643
+ "fieldName": "target",
1644
+ "inheritedFrom": {
1645
+ "name": "Anchor",
1646
+ "module": "src/anchor/anchor.ts"
1647
+ }
1667
1648
  },
1668
1649
  {
1669
- "kind": "field",
1670
- "name": "open",
1650
+ "name": "type",
1671
1651
  "type": {
1672
- "text": "boolean"
1652
+ "text": "string"
1673
1653
  },
1674
- "default": "false"
1675
- },
1654
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1655
+ "fieldName": "type",
1656
+ "inheritedFrom": {
1657
+ "name": "Anchor",
1658
+ "module": "src/anchor/anchor.ts"
1659
+ }
1660
+ }
1661
+ ],
1662
+ "members": [
1676
1663
  {
1677
1664
  "kind": "field",
1678
- "name": "buttonAppearance",
1665
+ "name": "download",
1679
1666
  "type": {
1680
1667
  "text": "string"
1668
+ },
1669
+ "privacy": "public",
1670
+ "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.",
1671
+ "inheritedFrom": {
1672
+ "name": "Anchor",
1673
+ "module": "src/anchor/anchor.ts"
1681
1674
  }
1682
1675
  },
1683
1676
  {
1684
1677
  "kind": "field",
1685
- "name": "hideDisabled",
1678
+ "name": "href",
1686
1679
  "type": {
1687
- "text": "boolean"
1680
+ "text": "string"
1688
1681
  },
1689
- "default": "false"
1682
+ "privacy": "public",
1683
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1684
+ "inheritedFrom": {
1685
+ "name": "Anchor",
1686
+ "module": "src/anchor/anchor.ts"
1687
+ }
1690
1688
  },
1691
1689
  {
1692
1690
  "kind": "field",
1693
- "name": "hideMenuSingleOption",
1691
+ "name": "hreflang",
1694
1692
  "type": {
1695
- "text": "boolean"
1693
+ "text": "string"
1696
1694
  },
1697
- "default": "false"
1695
+ "privacy": "public",
1696
+ "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.",
1697
+ "inheritedFrom": {
1698
+ "name": "Anchor",
1699
+ "module": "src/anchor/anchor.ts"
1700
+ }
1698
1701
  },
1699
1702
  {
1700
1703
  "kind": "field",
1701
- "name": "singleOption",
1704
+ "name": "ping",
1702
1705
  "type": {
1703
- "text": "ActionMenuItem"
1706
+ "text": "string"
1707
+ },
1708
+ "privacy": "public",
1709
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1710
+ "inheritedFrom": {
1711
+ "name": "Anchor",
1712
+ "module": "src/anchor/anchor.ts"
1704
1713
  }
1705
1714
  },
1706
1715
  {
1707
1716
  "kind": "field",
1708
- "name": "actionsMenu",
1717
+ "name": "referrerpolicy",
1709
1718
  "type": {
1710
- "text": "HTMLElement"
1719
+ "text": "string"
1720
+ },
1721
+ "privacy": "public",
1722
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1723
+ "inheritedFrom": {
1724
+ "name": "Anchor",
1725
+ "module": "src/anchor/anchor.ts"
1711
1726
  }
1712
1727
  },
1713
1728
  {
1714
- "kind": "method",
1715
- "name": "definitionChanged",
1716
- "privacy": "protected",
1717
- "parameters": [
1718
- {
1719
- "name": "oldValue",
1720
- "type": {
1721
- "text": "any"
1722
- }
1723
- },
1724
- {
1725
- "name": "newValue",
1726
- "type": {
1727
- "text": "any"
1728
- }
1729
- }
1730
- ]
1731
- },
1732
- {
1733
- "kind": "method",
1734
- "name": "openChanged",
1735
- "privacy": "protected"
1736
- },
1737
- {
1738
- "kind": "method",
1739
- "name": "toggleActionsMenuVisibility"
1740
- },
1741
- {
1742
- "kind": "method",
1743
- "name": "onActionMenuItemClick",
1744
- "parameters": [
1745
- {
1746
- "name": "callback",
1747
- "type": {
1748
- "text": "(rowData) => void | any"
1749
- }
1750
- }
1751
- ]
1729
+ "kind": "field",
1730
+ "name": "rel",
1731
+ "type": {
1732
+ "text": "string"
1733
+ },
1734
+ "privacy": "public",
1735
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1736
+ "inheritedFrom": {
1737
+ "name": "Anchor",
1738
+ "module": "src/anchor/anchor.ts"
1739
+ }
1752
1740
  },
1753
1741
  {
1754
1742
  "kind": "field",
1755
- "name": "allActions",
1743
+ "name": "target",
1756
1744
  "type": {
1757
- "text": "ActionMenuItem[]"
1745
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1758
1746
  },
1759
- "readonly": true
1747
+ "privacy": "public",
1748
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1749
+ "inheritedFrom": {
1750
+ "name": "Anchor",
1751
+ "module": "src/anchor/anchor.ts"
1752
+ }
1760
1753
  },
1761
1754
  {
1762
1755
  "kind": "field",
1763
- "name": "rowData",
1764
- "readonly": true
1756
+ "name": "type",
1757
+ "type": {
1758
+ "text": "string"
1759
+ },
1760
+ "privacy": "public",
1761
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1762
+ "inheritedFrom": {
1763
+ "name": "Anchor",
1764
+ "module": "src/anchor/anchor.ts"
1765
+ }
1765
1766
  },
1766
1767
  {
1767
- "kind": "method",
1768
- "name": "getLabel",
1769
- "parameters": [
1770
- {
1771
- "name": "name",
1772
- "type": {
1773
- "text": "string | ((rowData: any) => string)"
1774
- }
1775
- }
1776
- ]
1768
+ "kind": "field",
1769
+ "name": "control",
1770
+ "type": {
1771
+ "text": "HTMLAnchorElement | undefined"
1772
+ },
1773
+ "privacy": "public",
1774
+ "description": "References the root element",
1775
+ "inheritedFrom": {
1776
+ "name": "Anchor",
1777
+ "module": "src/anchor/anchor.ts"
1778
+ }
1777
1779
  },
1778
1780
  {
1779
- "kind": "method",
1780
- "name": "getTemplate",
1781
- "parameters": [
1782
- {
1783
- "name": "prefix",
1784
- "type": {
1785
- "text": "string"
1786
- }
1787
- }
1788
- ]
1781
+ "kind": "field",
1782
+ "name": "handleUnsupportedDelegatesFocus",
1783
+ "privacy": "private",
1784
+ "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",
1785
+ "inheritedFrom": {
1786
+ "name": "Anchor",
1787
+ "module": "src/anchor/anchor.ts"
1788
+ }
1789
1789
  },
1790
1790
  {
1791
1791
  "kind": "field",
@@ -1898,108 +1898,69 @@
1898
1898
  "module": "src/foundation-element/foundation-element.ts"
1899
1899
  }
1900
1900
  }
1901
- ],
1902
- "attributes": [
1903
- {
1904
- "name": "is-vertical",
1905
- "type": {
1906
- "text": "boolean"
1907
- },
1908
- "default": "false",
1909
- "fieldName": "isVertical"
1910
- },
1911
- {
1912
- "name": "add-default-actions",
1913
- "type": {
1914
- "text": "boolean"
1915
- },
1916
- "default": "true",
1917
- "fieldName": "addDefaultActions"
1918
- },
1919
- {
1920
- "name": "auto-close-on-action",
1921
- "type": {
1922
- "text": "boolean"
1923
- },
1924
- "default": "true",
1925
- "fieldName": "autoCloseOnAction"
1926
- },
1927
- {
1928
- "name": "name",
1929
- "type": {
1930
- "text": "string"
1931
- },
1932
- "default": "'Actions'",
1933
- "fieldName": "name"
1934
- },
1935
- {
1936
- "name": "open",
1937
- "type": {
1938
- "text": "boolean"
1939
- },
1940
- "default": "false",
1941
- "fieldName": "open"
1942
- },
1943
- {
1944
- "name": "buttonAppearance",
1945
- "type": {
1946
- "text": "string"
1947
- },
1948
- "fieldName": "buttonAppearance"
1949
- },
1950
- {
1951
- "name": "hide-disabled",
1952
- "type": {
1953
- "text": "boolean"
1954
- },
1955
- "default": "false",
1956
- "fieldName": "hideDisabled"
1957
- },
1958
- {
1959
- "name": "hide-menu-single-option",
1960
- "type": {
1961
- "text": "boolean"
1962
- },
1963
- "default": "false",
1964
- "fieldName": "hideMenuSingleOption"
1965
- }
1966
- ],
1967
- "superclass": {
1968
- "name": "FoundationElement",
1969
- "package": "@microsoft/fast-foundation"
1970
- },
1971
- "tagName": "%%prefix%%-actions-menu",
1972
- "customElement": true
1901
+ ]
1973
1902
  },
1974
1903
  {
1975
1904
  "kind": "variable",
1976
- "name": "foundationActionsMenu",
1977
- "description": "The Foundation Actions Menu",
1978
- "privacy": "public"
1979
- }
1980
- ],
1981
- "exports": [
1905
+ "name": "foundationAnchorShadowOptions",
1906
+ "type": {
1907
+ "text": "ShadowRootInit"
1908
+ },
1909
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1910
+ },
1982
1911
  {
1983
- "kind": "js",
1984
- "name": "ActionsMenu",
1912
+ "kind": "variable",
1913
+ "name": "defaultAnchorConfig",
1914
+ "type": {
1915
+ "text": "object"
1916
+ },
1917
+ "default": "{}"
1918
+ },
1919
+ {
1920
+ "kind": "variable",
1921
+ "name": "foundationAnchor",
1922
+ "description": "The Foundation Anchor",
1923
+ "privacy": "public"
1924
+ }
1925
+ ],
1926
+ "exports": [
1927
+ {
1928
+ "kind": "js",
1929
+ "name": "Anchor",
1985
1930
  "declaration": {
1986
- "name": "ActionsMenu",
1987
- "module": "src/actions-menu/actions-menu.ts"
1931
+ "name": "Anchor",
1932
+ "module": "src/anchor/anchor.ts"
1988
1933
  }
1989
1934
  },
1990
1935
  {
1991
1936
  "kind": "js",
1992
- "name": "foundationActionsMenu",
1937
+ "name": "foundationAnchorShadowOptions",
1993
1938
  "declaration": {
1994
- "name": "foundationActionsMenu",
1995
- "module": "src/actions-menu/actions-menu.ts"
1939
+ "name": "foundationAnchorShadowOptions",
1940
+ "module": "src/anchor/anchor.ts"
1941
+ }
1942
+ },
1943
+ {
1944
+ "kind": "js",
1945
+ "name": "defaultAnchorConfig",
1946
+ "declaration": {
1947
+ "name": "defaultAnchorConfig",
1948
+ "module": "src/anchor/anchor.ts"
1949
+ }
1950
+ },
1951
+ {
1952
+ "kind": "js",
1953
+ "name": "foundationAnchor",
1954
+ "declaration": {
1955
+ "name": "foundationAnchor",
1956
+ "module": "src/anchor/anchor.ts"
1996
1957
  }
1997
1958
  }
1998
1959
  ]
1999
1960
  },
2000
1961
  {
2001
1962
  "kind": "javascript-module",
2002
- "path": "src/actions-menu/index.ts",
1963
+ "path": "src/anchor/index.ts",
2003
1964
  "declarations": [],
2004
1965
  "exports": [
2005
1966
  {
@@ -2007,7 +1968,7 @@
2007
1968
  "name": "*",
2008
1969
  "declaration": {
2009
1970
  "name": "*",
2010
- "package": "./actions-menu.styles"
1971
+ "package": "./anchor.template"
2011
1972
  }
2012
1973
  },
2013
1974
  {
@@ -2015,7 +1976,7 @@
2015
1976
  "name": "*",
2016
1977
  "declaration": {
2017
1978
  "name": "*",
2018
- "package": "./actions-menu.template"
1979
+ "package": "./anchor.styles"
2019
1980
  }
2020
1981
  },
2021
1982
  {
@@ -2023,18 +1984,18 @@
2023
1984
  "name": "*",
2024
1985
  "declaration": {
2025
1986
  "name": "*",
2026
- "package": "./actions-menu"
1987
+ "package": "./anchor"
2027
1988
  }
2028
1989
  }
2029
1990
  ]
2030
1991
  },
2031
1992
  {
2032
1993
  "kind": "javascript-module",
2033
- "path": "src/anchor/anchor.styles.ts",
1994
+ "path": "src/actions-menu/actions-menu.styles.ts",
2034
1995
  "declarations": [
2035
1996
  {
2036
1997
  "kind": "function",
2037
- "name": "foundationAnchorStyles",
1998
+ "name": "actionsMenuBaseStyles",
2038
1999
  "return": {
2039
2000
  "type": {
2040
2001
  "text": "ElementStyles"
@@ -2054,29 +2015,13 @@
2054
2015
  }
2055
2016
  }
2056
2017
  ]
2057
- }
2058
- ],
2059
- "exports": [
2060
- {
2061
- "kind": "js",
2062
- "name": "foundationAnchorStyles",
2063
- "declaration": {
2064
- "name": "foundationAnchorStyles",
2065
- "module": "src/anchor/anchor.styles.ts"
2066
- }
2067
- }
2068
- ]
2069
- },
2070
- {
2071
- "kind": "javascript-module",
2072
- "path": "src/anchor/anchor.template.ts",
2073
- "declarations": [
2018
+ },
2074
2019
  {
2075
2020
  "kind": "function",
2076
- "name": "foundationAnchorTemplate",
2021
+ "name": "foundationActionsMenuStyles",
2077
2022
  "return": {
2078
2023
  "type": {
2079
- "text": "ViewTemplate<Anchor>"
2024
+ "text": "ElementStyles"
2080
2025
  }
2081
2026
  },
2082
2027
  "parameters": [
@@ -2098,253 +2043,269 @@
2098
2043
  "exports": [
2099
2044
  {
2100
2045
  "kind": "js",
2101
- "name": "foundationAnchorTemplate",
2046
+ "name": "actionsMenuBaseStyles",
2102
2047
  "declaration": {
2103
- "name": "foundationAnchorTemplate",
2104
- "module": "src/anchor/anchor.template.ts"
2048
+ "name": "actionsMenuBaseStyles",
2049
+ "module": "src/actions-menu/actions-menu.styles.ts"
2050
+ }
2051
+ },
2052
+ {
2053
+ "kind": "js",
2054
+ "name": "foundationActionsMenuStyles",
2055
+ "declaration": {
2056
+ "name": "foundationActionsMenuStyles",
2057
+ "module": "src/actions-menu/actions-menu.styles.ts"
2105
2058
  }
2106
2059
  }
2107
2060
  ]
2108
2061
  },
2109
2062
  {
2110
2063
  "kind": "javascript-module",
2111
- "path": "src/anchor/anchor.ts",
2064
+ "path": "src/actions-menu/actions-menu.template.ts",
2112
2065
  "declarations": [
2113
2066
  {
2114
- "kind": "class",
2115
- "description": "",
2116
- "name": "Anchor",
2117
- "superclass": {
2118
- "name": "FASTAnchor",
2119
- "package": "@microsoft/fast-components"
2120
- },
2121
- "tagName": "%%prefix%%-anchor",
2122
- "customElement": true,
2123
- "attributes": [
2124
- {
2125
- "name": "download",
2126
- "type": {
2127
- "text": "string"
2128
- },
2129
- "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.",
2130
- "fieldName": "download",
2131
- "inheritedFrom": {
2132
- "name": "Anchor",
2133
- "module": "src/anchor/anchor.ts"
2134
- }
2135
- },
2067
+ "kind": "function",
2068
+ "name": "menuTemplate",
2069
+ "parameters": [
2136
2070
  {
2137
- "name": "href",
2071
+ "name": "prefix",
2138
2072
  "type": {
2139
2073
  "text": "string"
2140
- },
2141
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2142
- "fieldName": "href",
2143
- "inheritedFrom": {
2144
- "name": "Anchor",
2145
- "module": "src/anchor/anchor.ts"
2146
2074
  }
2147
- },
2075
+ }
2076
+ ]
2077
+ },
2078
+ {
2079
+ "kind": "function",
2080
+ "name": "singleOptionTemplate",
2081
+ "parameters": [
2148
2082
  {
2149
- "name": "hreflang",
2083
+ "name": "prefix",
2150
2084
  "type": {
2151
2085
  "text": "string"
2152
- },
2153
- "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.",
2154
- "fieldName": "hreflang",
2155
- "inheritedFrom": {
2156
- "name": "Anchor",
2157
- "module": "src/anchor/anchor.ts"
2158
2086
  }
2159
- },
2087
+ }
2088
+ ]
2089
+ },
2090
+ {
2091
+ "kind": "variable",
2092
+ "name": "foundationActionsMenuTemplate",
2093
+ "type": {
2094
+ "text": "ViewTemplate<ActionsMenu>"
2095
+ },
2096
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2097
+ }
2098
+ ],
2099
+ "exports": [
2100
+ {
2101
+ "kind": "js",
2102
+ "name": "menuTemplate",
2103
+ "declaration": {
2104
+ "name": "menuTemplate",
2105
+ "module": "src/actions-menu/actions-menu.template.ts"
2106
+ }
2107
+ },
2108
+ {
2109
+ "kind": "js",
2110
+ "name": "singleOptionTemplate",
2111
+ "declaration": {
2112
+ "name": "singleOptionTemplate",
2113
+ "module": "src/actions-menu/actions-menu.template.ts"
2114
+ }
2115
+ },
2116
+ {
2117
+ "kind": "js",
2118
+ "name": "foundationActionsMenuTemplate",
2119
+ "declaration": {
2120
+ "name": "foundationActionsMenuTemplate",
2121
+ "module": "src/actions-menu/actions-menu.template.ts"
2122
+ }
2123
+ }
2124
+ ]
2125
+ },
2126
+ {
2127
+ "kind": "javascript-module",
2128
+ "path": "src/actions-menu/actions-menu.ts",
2129
+ "declarations": [
2130
+ {
2131
+ "kind": "class",
2132
+ "description": "",
2133
+ "name": "ActionsMenu",
2134
+ "members": [
2160
2135
  {
2161
- "name": "ping",
2136
+ "kind": "field",
2137
+ "name": "actions",
2162
2138
  "type": {
2163
- "text": "string"
2164
- },
2165
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2166
- "fieldName": "ping",
2167
- "inheritedFrom": {
2168
- "name": "Anchor",
2169
- "module": "src/anchor/anchor.ts"
2139
+ "text": "ActionMenuItem[]"
2170
2140
  }
2171
2141
  },
2172
2142
  {
2173
- "name": "referrerpolicy",
2143
+ "kind": "field",
2144
+ "name": "isVertical",
2174
2145
  "type": {
2175
- "text": "string"
2146
+ "text": "boolean"
2176
2147
  },
2177
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2178
- "fieldName": "referrerpolicy",
2179
- "inheritedFrom": {
2180
- "name": "Anchor",
2181
- "module": "src/anchor/anchor.ts"
2182
- }
2148
+ "default": "false"
2183
2149
  },
2184
2150
  {
2185
- "name": "rel",
2151
+ "kind": "field",
2152
+ "name": "addDefaultActions",
2186
2153
  "type": {
2187
- "text": "string"
2154
+ "text": "boolean"
2188
2155
  },
2189
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2190
- "fieldName": "rel",
2191
- "inheritedFrom": {
2192
- "name": "Anchor",
2193
- "module": "src/anchor/anchor.ts"
2194
- }
2156
+ "default": "true"
2195
2157
  },
2196
2158
  {
2197
- "name": "target",
2159
+ "kind": "field",
2160
+ "name": "autoCloseOnAction",
2198
2161
  "type": {
2199
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2162
+ "text": "boolean"
2200
2163
  },
2201
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2202
- "fieldName": "target",
2203
- "inheritedFrom": {
2204
- "name": "Anchor",
2205
- "module": "src/anchor/anchor.ts"
2206
- }
2164
+ "default": "true"
2207
2165
  },
2208
- {
2209
- "name": "type",
2210
- "type": {
2211
- "text": "string"
2212
- },
2213
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2214
- "fieldName": "type",
2215
- "inheritedFrom": {
2216
- "name": "Anchor",
2217
- "module": "src/anchor/anchor.ts"
2218
- }
2219
- }
2220
- ],
2221
- "members": [
2222
2166
  {
2223
2167
  "kind": "field",
2224
- "name": "download",
2168
+ "name": "classNames",
2225
2169
  "type": {
2226
2170
  "text": "string"
2227
- },
2228
- "privacy": "public",
2229
- "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.",
2230
- "inheritedFrom": {
2231
- "name": "Anchor",
2232
- "module": "src/anchor/anchor.ts"
2233
2171
  }
2234
2172
  },
2235
2173
  {
2236
2174
  "kind": "field",
2237
- "name": "href",
2175
+ "name": "definition",
2238
2176
  "type": {
2239
- "text": "string"
2240
- },
2241
- "privacy": "public",
2242
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2243
- "inheritedFrom": {
2244
- "name": "Anchor",
2245
- "module": "src/anchor/anchor.ts"
2177
+ "text": "any"
2246
2178
  }
2247
2179
  },
2248
2180
  {
2249
2181
  "kind": "field",
2250
- "name": "hreflang",
2182
+ "name": "name",
2251
2183
  "type": {
2252
2184
  "text": "string"
2253
2185
  },
2254
- "privacy": "public",
2255
- "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.",
2256
- "inheritedFrom": {
2257
- "name": "Anchor",
2258
- "module": "src/anchor/anchor.ts"
2259
- }
2186
+ "default": "'Actions'"
2260
2187
  },
2261
2188
  {
2262
2189
  "kind": "field",
2263
- "name": "ping",
2190
+ "name": "open",
2264
2191
  "type": {
2265
- "text": "string"
2192
+ "text": "boolean"
2266
2193
  },
2267
- "privacy": "public",
2268
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2269
- "inheritedFrom": {
2270
- "name": "Anchor",
2271
- "module": "src/anchor/anchor.ts"
2272
- }
2194
+ "default": "false"
2273
2195
  },
2274
2196
  {
2275
2197
  "kind": "field",
2276
- "name": "referrerpolicy",
2198
+ "name": "buttonAppearance",
2277
2199
  "type": {
2278
2200
  "text": "string"
2279
- },
2280
- "privacy": "public",
2281
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2282
- "inheritedFrom": {
2283
- "name": "Anchor",
2284
- "module": "src/anchor/anchor.ts"
2285
2201
  }
2286
2202
  },
2287
2203
  {
2288
2204
  "kind": "field",
2289
- "name": "rel",
2205
+ "name": "hideDisabled",
2290
2206
  "type": {
2291
- "text": "string"
2207
+ "text": "boolean"
2292
2208
  },
2293
- "privacy": "public",
2294
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2295
- "inheritedFrom": {
2296
- "name": "Anchor",
2297
- "module": "src/anchor/anchor.ts"
2298
- }
2209
+ "default": "false"
2299
2210
  },
2300
2211
  {
2301
2212
  "kind": "field",
2302
- "name": "target",
2213
+ "name": "hideMenuSingleOption",
2303
2214
  "type": {
2304
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2215
+ "text": "boolean"
2305
2216
  },
2306
- "privacy": "public",
2307
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2308
- "inheritedFrom": {
2309
- "name": "Anchor",
2310
- "module": "src/anchor/anchor.ts"
2217
+ "default": "false"
2218
+ },
2219
+ {
2220
+ "kind": "field",
2221
+ "name": "singleOption",
2222
+ "type": {
2223
+ "text": "ActionMenuItem"
2311
2224
  }
2312
2225
  },
2313
2226
  {
2314
2227
  "kind": "field",
2315
- "name": "type",
2228
+ "name": "actionsMenu",
2316
2229
  "type": {
2317
- "text": "string"
2318
- },
2319
- "privacy": "public",
2320
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2321
- "inheritedFrom": {
2322
- "name": "Anchor",
2323
- "module": "src/anchor/anchor.ts"
2230
+ "text": "HTMLElement"
2324
2231
  }
2325
2232
  },
2233
+ {
2234
+ "kind": "method",
2235
+ "name": "definitionChanged",
2236
+ "privacy": "protected",
2237
+ "parameters": [
2238
+ {
2239
+ "name": "oldValue",
2240
+ "type": {
2241
+ "text": "any"
2242
+ }
2243
+ },
2244
+ {
2245
+ "name": "newValue",
2246
+ "type": {
2247
+ "text": "any"
2248
+ }
2249
+ }
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "method",
2254
+ "name": "openChanged",
2255
+ "privacy": "protected"
2256
+ },
2257
+ {
2258
+ "kind": "method",
2259
+ "name": "toggleActionsMenuVisibility"
2260
+ },
2261
+ {
2262
+ "kind": "method",
2263
+ "name": "onActionMenuItemClick",
2264
+ "parameters": [
2265
+ {
2266
+ "name": "callback",
2267
+ "type": {
2268
+ "text": "(rowData) => void | any"
2269
+ }
2270
+ }
2271
+ ]
2272
+ },
2326
2273
  {
2327
2274
  "kind": "field",
2328
- "name": "control",
2275
+ "name": "allActions",
2329
2276
  "type": {
2330
- "text": "HTMLAnchorElement | undefined"
2277
+ "text": "ActionMenuItem[]"
2331
2278
  },
2332
- "privacy": "public",
2333
- "description": "References the root element",
2334
- "inheritedFrom": {
2335
- "name": "Anchor",
2336
- "module": "src/anchor/anchor.ts"
2337
- }
2279
+ "readonly": true
2338
2280
  },
2339
2281
  {
2340
2282
  "kind": "field",
2341
- "name": "handleUnsupportedDelegatesFocus",
2342
- "privacy": "private",
2343
- "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",
2344
- "inheritedFrom": {
2345
- "name": "Anchor",
2346
- "module": "src/anchor/anchor.ts"
2347
- }
2283
+ "name": "rowData",
2284
+ "readonly": true
2285
+ },
2286
+ {
2287
+ "kind": "method",
2288
+ "name": "getLabel",
2289
+ "parameters": [
2290
+ {
2291
+ "name": "name",
2292
+ "type": {
2293
+ "text": "string | ((rowData: any) => string)"
2294
+ }
2295
+ }
2296
+ ]
2297
+ },
2298
+ {
2299
+ "kind": "method",
2300
+ "name": "getTemplate",
2301
+ "parameters": [
2302
+ {
2303
+ "name": "prefix",
2304
+ "type": {
2305
+ "text": "string"
2306
+ }
2307
+ }
2308
+ ]
2348
2309
  },
2349
2310
  {
2350
2311
  "kind": "field",
@@ -2457,69 +2418,108 @@
2457
2418
  "module": "src/foundation-element/foundation-element.ts"
2458
2419
  }
2459
2420
  }
2460
- ]
2461
- },
2462
- {
2463
- "kind": "variable",
2464
- "name": "foundationAnchorShadowOptions",
2465
- "type": {
2466
- "text": "ShadowRootInit"
2467
- },
2468
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2469
- },
2470
- {
2471
- "kind": "variable",
2472
- "name": "defaultAnchorConfig",
2473
- "type": {
2474
- "text": "object"
2421
+ ],
2422
+ "attributes": [
2423
+ {
2424
+ "name": "is-vertical",
2425
+ "type": {
2426
+ "text": "boolean"
2427
+ },
2428
+ "default": "false",
2429
+ "fieldName": "isVertical"
2430
+ },
2431
+ {
2432
+ "name": "add-default-actions",
2433
+ "type": {
2434
+ "text": "boolean"
2435
+ },
2436
+ "default": "true",
2437
+ "fieldName": "addDefaultActions"
2438
+ },
2439
+ {
2440
+ "name": "auto-close-on-action",
2441
+ "type": {
2442
+ "text": "boolean"
2443
+ },
2444
+ "default": "true",
2445
+ "fieldName": "autoCloseOnAction"
2446
+ },
2447
+ {
2448
+ "name": "name",
2449
+ "type": {
2450
+ "text": "string"
2451
+ },
2452
+ "default": "'Actions'",
2453
+ "fieldName": "name"
2454
+ },
2455
+ {
2456
+ "name": "open",
2457
+ "type": {
2458
+ "text": "boolean"
2459
+ },
2460
+ "default": "false",
2461
+ "fieldName": "open"
2462
+ },
2463
+ {
2464
+ "name": "buttonAppearance",
2465
+ "type": {
2466
+ "text": "string"
2467
+ },
2468
+ "fieldName": "buttonAppearance"
2469
+ },
2470
+ {
2471
+ "name": "hide-disabled",
2472
+ "type": {
2473
+ "text": "boolean"
2474
+ },
2475
+ "default": "false",
2476
+ "fieldName": "hideDisabled"
2477
+ },
2478
+ {
2479
+ "name": "hide-menu-single-option",
2480
+ "type": {
2481
+ "text": "boolean"
2482
+ },
2483
+ "default": "false",
2484
+ "fieldName": "hideMenuSingleOption"
2485
+ }
2486
+ ],
2487
+ "superclass": {
2488
+ "name": "FoundationElement",
2489
+ "package": "@microsoft/fast-foundation"
2475
2490
  },
2476
- "default": "{}"
2491
+ "tagName": "%%prefix%%-actions-menu",
2492
+ "customElement": true
2477
2493
  },
2478
2494
  {
2479
2495
  "kind": "variable",
2480
- "name": "foundationAnchor",
2481
- "description": "The Foundation Anchor",
2496
+ "name": "foundationActionsMenu",
2497
+ "description": "The Foundation Actions Menu",
2482
2498
  "privacy": "public"
2483
2499
  }
2484
2500
  ],
2485
2501
  "exports": [
2486
2502
  {
2487
2503
  "kind": "js",
2488
- "name": "Anchor",
2489
- "declaration": {
2490
- "name": "Anchor",
2491
- "module": "src/anchor/anchor.ts"
2492
- }
2493
- },
2494
- {
2495
- "kind": "js",
2496
- "name": "foundationAnchorShadowOptions",
2497
- "declaration": {
2498
- "name": "foundationAnchorShadowOptions",
2499
- "module": "src/anchor/anchor.ts"
2500
- }
2501
- },
2502
- {
2503
- "kind": "js",
2504
- "name": "defaultAnchorConfig",
2504
+ "name": "ActionsMenu",
2505
2505
  "declaration": {
2506
- "name": "defaultAnchorConfig",
2507
- "module": "src/anchor/anchor.ts"
2506
+ "name": "ActionsMenu",
2507
+ "module": "src/actions-menu/actions-menu.ts"
2508
2508
  }
2509
2509
  },
2510
2510
  {
2511
2511
  "kind": "js",
2512
- "name": "foundationAnchor",
2512
+ "name": "foundationActionsMenu",
2513
2513
  "declaration": {
2514
- "name": "foundationAnchor",
2515
- "module": "src/anchor/anchor.ts"
2514
+ "name": "foundationActionsMenu",
2515
+ "module": "src/actions-menu/actions-menu.ts"
2516
2516
  }
2517
2517
  }
2518
2518
  ]
2519
2519
  },
2520
2520
  {
2521
2521
  "kind": "javascript-module",
2522
- "path": "src/anchor/index.ts",
2522
+ "path": "src/actions-menu/index.ts",
2523
2523
  "declarations": [],
2524
2524
  "exports": [
2525
2525
  {
@@ -2527,7 +2527,7 @@
2527
2527
  "name": "*",
2528
2528
  "declaration": {
2529
2529
  "name": "*",
2530
- "package": "./anchor.template"
2530
+ "package": "./actions-menu.styles"
2531
2531
  }
2532
2532
  },
2533
2533
  {
@@ -2535,7 +2535,7 @@
2535
2535
  "name": "*",
2536
2536
  "declaration": {
2537
2537
  "name": "*",
2538
- "package": "./anchor.styles"
2538
+ "package": "./actions-menu.template"
2539
2539
  }
2540
2540
  },
2541
2541
  {
@@ -2543,7 +2543,7 @@
2543
2543
  "name": "*",
2544
2544
  "declaration": {
2545
2545
  "name": "*",
2546
- "package": "./anchor"
2546
+ "package": "./actions-menu"
2547
2547
  }
2548
2548
  }
2549
2549
  ]