@genesislcap/foundation-ui 14.183.3 → 14.183.4

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 +494 -494
  2. package/package.json +16 -16
@@ -1471,11 +1471,11 @@
1471
1471
  },
1472
1472
  {
1473
1473
  "kind": "javascript-module",
1474
- "path": "src/anchor/anchor.styles.ts",
1474
+ "path": "src/actions-menu/actions-menu.styles.ts",
1475
1475
  "declarations": [
1476
1476
  {
1477
1477
  "kind": "function",
1478
- "name": "foundationAnchorStyles",
1478
+ "name": "actionsMenuBaseStyles",
1479
1479
  "return": {
1480
1480
  "type": {
1481
1481
  "text": "ElementStyles"
@@ -1495,29 +1495,13 @@
1495
1495
  }
1496
1496
  }
1497
1497
  ]
1498
- }
1499
- ],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "foundationAnchorStyles",
1504
- "declaration": {
1505
- "name": "foundationAnchorStyles",
1506
- "module": "src/anchor/anchor.styles.ts"
1507
- }
1508
- }
1509
- ]
1510
- },
1511
- {
1512
- "kind": "javascript-module",
1513
- "path": "src/anchor/anchor.template.ts",
1514
- "declarations": [
1498
+ },
1515
1499
  {
1516
1500
  "kind": "function",
1517
- "name": "foundationAnchorTemplate",
1501
+ "name": "foundationActionsMenuStyles",
1518
1502
  "return": {
1519
1503
  "type": {
1520
- "text": "ViewTemplate<Anchor>"
1504
+ "text": "ElementStyles"
1521
1505
  }
1522
1506
  },
1523
1507
  "parameters": [
@@ -1539,253 +1523,269 @@
1539
1523
  "exports": [
1540
1524
  {
1541
1525
  "kind": "js",
1542
- "name": "foundationAnchorTemplate",
1526
+ "name": "actionsMenuBaseStyles",
1543
1527
  "declaration": {
1544
- "name": "foundationAnchorTemplate",
1545
- "module": "src/anchor/anchor.template.ts"
1528
+ "name": "actionsMenuBaseStyles",
1529
+ "module": "src/actions-menu/actions-menu.styles.ts"
1530
+ }
1531
+ },
1532
+ {
1533
+ "kind": "js",
1534
+ "name": "foundationActionsMenuStyles",
1535
+ "declaration": {
1536
+ "name": "foundationActionsMenuStyles",
1537
+ "module": "src/actions-menu/actions-menu.styles.ts"
1546
1538
  }
1547
1539
  }
1548
1540
  ]
1549
1541
  },
1550
1542
  {
1551
1543
  "kind": "javascript-module",
1552
- "path": "src/anchor/anchor.ts",
1544
+ "path": "src/actions-menu/actions-menu.template.ts",
1553
1545
  "declarations": [
1554
1546
  {
1555
- "kind": "class",
1556
- "description": "",
1557
- "name": "Anchor",
1558
- "superclass": {
1559
- "name": "FASTAnchor",
1560
- "package": "@microsoft/fast-components"
1561
- },
1562
- "tagName": "%%prefix%%-anchor",
1563
- "customElement": true,
1564
- "attributes": [
1565
- {
1566
- "name": "download",
1567
- "type": {
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"
1575
- }
1576
- },
1547
+ "kind": "function",
1548
+ "name": "menuTemplate",
1549
+ "parameters": [
1577
1550
  {
1578
- "name": "href",
1551
+ "name": "prefix",
1579
1552
  "type": {
1580
1553
  "text": "string"
1581
- },
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
1554
  }
1588
- },
1555
+ }
1556
+ ]
1557
+ },
1558
+ {
1559
+ "kind": "function",
1560
+ "name": "singleOptionTemplate",
1561
+ "parameters": [
1589
1562
  {
1590
- "name": "hreflang",
1563
+ "name": "prefix",
1591
1564
  "type": {
1592
1565
  "text": "string"
1593
- },
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
1566
  }
1600
- },
1567
+ }
1568
+ ]
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
+ }
1578
+ ],
1579
+ "exports": [
1580
+ {
1581
+ "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",
1599
+ "declaration": {
1600
+ "name": "foundationActionsMenuTemplate",
1601
+ "module": "src/actions-menu/actions-menu.template.ts"
1602
+ }
1603
+ }
1604
+ ]
1605
+ },
1606
+ {
1607
+ "kind": "javascript-module",
1608
+ "path": "src/actions-menu/actions-menu.ts",
1609
+ "declarations": [
1610
+ {
1611
+ "kind": "class",
1612
+ "description": "",
1613
+ "name": "ActionsMenu",
1614
+ "members": [
1601
1615
  {
1602
- "name": "ping",
1616
+ "kind": "field",
1617
+ "name": "actions",
1603
1618
  "type": {
1604
- "text": "string"
1605
- },
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"
1619
+ "text": "ActionMenuItem[]"
1611
1620
  }
1612
1621
  },
1613
1622
  {
1614
- "name": "referrerpolicy",
1623
+ "kind": "field",
1624
+ "name": "isVertical",
1615
1625
  "type": {
1616
- "text": "string"
1626
+ "text": "boolean"
1617
1627
  },
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"
1623
- }
1628
+ "default": "false"
1624
1629
  },
1625
1630
  {
1626
- "name": "rel",
1631
+ "kind": "field",
1632
+ "name": "addDefaultActions",
1627
1633
  "type": {
1628
- "text": "string"
1634
+ "text": "boolean"
1629
1635
  },
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"
1635
- }
1636
+ "default": "true"
1636
1637
  },
1637
1638
  {
1638
- "name": "target",
1639
+ "kind": "field",
1640
+ "name": "autoCloseOnAction",
1639
1641
  "type": {
1640
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1642
+ "text": "boolean"
1641
1643
  },
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
- }
1644
+ "default": "true"
1648
1645
  },
1649
1646
  {
1650
- "name": "type",
1647
+ "kind": "field",
1648
+ "name": "classNames",
1651
1649
  "type": {
1652
1650
  "text": "string"
1653
- },
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
1651
  }
1660
- }
1661
- ],
1662
- "members": [
1652
+ },
1663
1653
  {
1664
1654
  "kind": "field",
1665
- "name": "download",
1655
+ "name": "definition",
1666
1656
  "type": {
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"
1657
+ "text": "any"
1674
1658
  }
1675
1659
  },
1676
1660
  {
1677
1661
  "kind": "field",
1678
- "name": "href",
1662
+ "name": "name",
1679
1663
  "type": {
1680
1664
  "text": "string"
1681
1665
  },
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
- }
1666
+ "default": "'Actions'"
1688
1667
  },
1689
1668
  {
1690
1669
  "kind": "field",
1691
- "name": "hreflang",
1670
+ "name": "open",
1692
1671
  "type": {
1693
- "text": "string"
1672
+ "text": "boolean"
1694
1673
  },
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
- }
1674
+ "default": "false"
1701
1675
  },
1702
1676
  {
1703
1677
  "kind": "field",
1704
- "name": "ping",
1678
+ "name": "buttonAppearance",
1705
1679
  "type": {
1706
1680
  "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"
1713
1681
  }
1714
1682
  },
1715
1683
  {
1716
1684
  "kind": "field",
1717
- "name": "referrerpolicy",
1685
+ "name": "hideDisabled",
1718
1686
  "type": {
1719
- "text": "string"
1687
+ "text": "boolean"
1720
1688
  },
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"
1726
- }
1689
+ "default": "false"
1727
1690
  },
1728
1691
  {
1729
1692
  "kind": "field",
1730
- "name": "rel",
1693
+ "name": "hideMenuSingleOption",
1731
1694
  "type": {
1732
- "text": "string"
1695
+ "text": "boolean"
1733
1696
  },
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
- }
1697
+ "default": "false"
1740
1698
  },
1741
1699
  {
1742
1700
  "kind": "field",
1743
- "name": "target",
1701
+ "name": "singleOption",
1744
1702
  "type": {
1745
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1746
- },
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"
1703
+ "text": "ActionMenuItem"
1752
1704
  }
1753
1705
  },
1754
1706
  {
1755
1707
  "kind": "field",
1756
- "name": "type",
1708
+ "name": "actionsMenu",
1757
1709
  "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"
1710
+ "text": "HTMLElement"
1765
1711
  }
1766
1712
  },
1713
+ {
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
+ ]
1752
+ },
1767
1753
  {
1768
1754
  "kind": "field",
1769
- "name": "control",
1755
+ "name": "allActions",
1770
1756
  "type": {
1771
- "text": "HTMLAnchorElement | undefined"
1757
+ "text": "ActionMenuItem[]"
1772
1758
  },
1773
- "privacy": "public",
1774
- "description": "References the root element",
1775
- "inheritedFrom": {
1776
- "name": "Anchor",
1777
- "module": "src/anchor/anchor.ts"
1778
- }
1759
+ "readonly": true
1779
1760
  },
1780
1761
  {
1781
1762
  "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
- }
1763
+ "name": "rowData",
1764
+ "readonly": true
1765
+ },
1766
+ {
1767
+ "kind": "method",
1768
+ "name": "getLabel",
1769
+ "parameters": [
1770
+ {
1771
+ "name": "name",
1772
+ "type": {
1773
+ "text": "string | ((rowData: any) => string)"
1774
+ }
1775
+ }
1776
+ ]
1777
+ },
1778
+ {
1779
+ "kind": "method",
1780
+ "name": "getTemplate",
1781
+ "parameters": [
1782
+ {
1783
+ "name": "prefix",
1784
+ "type": {
1785
+ "text": "string"
1786
+ }
1787
+ }
1788
+ ]
1789
1789
  },
1790
1790
  {
1791
1791
  "kind": "field",
@@ -1898,69 +1898,108 @@
1898
1898
  "module": "src/foundation-element/foundation-element.ts"
1899
1899
  }
1900
1900
  }
1901
- ]
1902
- },
1903
- {
1904
- "kind": "variable",
1905
- "name": "foundationAnchorShadowOptions",
1906
- "type": {
1907
- "text": "ShadowRootInit"
1908
- },
1909
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1910
- },
1911
- {
1912
- "kind": "variable",
1913
- "name": "defaultAnchorConfig",
1914
- "type": {
1915
- "text": "object"
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"
1916
1970
  },
1917
- "default": "{}"
1971
+ "tagName": "%%prefix%%-actions-menu",
1972
+ "customElement": true
1918
1973
  },
1919
1974
  {
1920
1975
  "kind": "variable",
1921
- "name": "foundationAnchor",
1922
- "description": "The Foundation Anchor",
1976
+ "name": "foundationActionsMenu",
1977
+ "description": "The Foundation Actions Menu",
1923
1978
  "privacy": "public"
1924
1979
  }
1925
1980
  ],
1926
1981
  "exports": [
1927
1982
  {
1928
1983
  "kind": "js",
1929
- "name": "Anchor",
1930
- "declaration": {
1931
- "name": "Anchor",
1932
- "module": "src/anchor/anchor.ts"
1933
- }
1934
- },
1935
- {
1936
- "kind": "js",
1937
- "name": "foundationAnchorShadowOptions",
1938
- "declaration": {
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"
1984
+ "name": "ActionsMenu",
1985
+ "declaration": {
1986
+ "name": "ActionsMenu",
1987
+ "module": "src/actions-menu/actions-menu.ts"
1949
1988
  }
1950
1989
  },
1951
1990
  {
1952
1991
  "kind": "js",
1953
- "name": "foundationAnchor",
1992
+ "name": "foundationActionsMenu",
1954
1993
  "declaration": {
1955
- "name": "foundationAnchor",
1956
- "module": "src/anchor/anchor.ts"
1994
+ "name": "foundationActionsMenu",
1995
+ "module": "src/actions-menu/actions-menu.ts"
1957
1996
  }
1958
1997
  }
1959
1998
  ]
1960
1999
  },
1961
2000
  {
1962
2001
  "kind": "javascript-module",
1963
- "path": "src/anchor/index.ts",
2002
+ "path": "src/actions-menu/index.ts",
1964
2003
  "declarations": [],
1965
2004
  "exports": [
1966
2005
  {
@@ -1968,7 +2007,7 @@
1968
2007
  "name": "*",
1969
2008
  "declaration": {
1970
2009
  "name": "*",
1971
- "package": "./anchor.template"
2010
+ "package": "./actions-menu.styles"
1972
2011
  }
1973
2012
  },
1974
2013
  {
@@ -1976,7 +2015,7 @@
1976
2015
  "name": "*",
1977
2016
  "declaration": {
1978
2017
  "name": "*",
1979
- "package": "./anchor.styles"
2018
+ "package": "./actions-menu.template"
1980
2019
  }
1981
2020
  },
1982
2021
  {
@@ -1984,18 +2023,18 @@
1984
2023
  "name": "*",
1985
2024
  "declaration": {
1986
2025
  "name": "*",
1987
- "package": "./anchor"
2026
+ "package": "./actions-menu"
1988
2027
  }
1989
2028
  }
1990
2029
  ]
1991
2030
  },
1992
2031
  {
1993
2032
  "kind": "javascript-module",
1994
- "path": "src/actions-menu/actions-menu.styles.ts",
2033
+ "path": "src/anchor/anchor.styles.ts",
1995
2034
  "declarations": [
1996
2035
  {
1997
2036
  "kind": "function",
1998
- "name": "actionsMenuBaseStyles",
2037
+ "name": "foundationAnchorStyles",
1999
2038
  "return": {
2000
2039
  "type": {
2001
2040
  "text": "ElementStyles"
@@ -2015,13 +2054,29 @@
2015
2054
  }
2016
2055
  }
2017
2056
  ]
2018
- },
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": [
2019
2074
  {
2020
2075
  "kind": "function",
2021
- "name": "foundationActionsMenuStyles",
2076
+ "name": "foundationAnchorTemplate",
2022
2077
  "return": {
2023
2078
  "type": {
2024
- "text": "ElementStyles"
2079
+ "text": "ViewTemplate<Anchor>"
2025
2080
  }
2026
2081
  },
2027
2082
  "parameters": [
@@ -2043,269 +2098,253 @@
2043
2098
  "exports": [
2044
2099
  {
2045
2100
  "kind": "js",
2046
- "name": "actionsMenuBaseStyles",
2047
- "declaration": {
2048
- "name": "actionsMenuBaseStyles",
2049
- "module": "src/actions-menu/actions-menu.styles.ts"
2050
- }
2051
- },
2052
- {
2053
- "kind": "js",
2054
- "name": "foundationActionsMenuStyles",
2101
+ "name": "foundationAnchorTemplate",
2055
2102
  "declaration": {
2056
- "name": "foundationActionsMenuStyles",
2057
- "module": "src/actions-menu/actions-menu.styles.ts"
2103
+ "name": "foundationAnchorTemplate",
2104
+ "module": "src/anchor/anchor.template.ts"
2058
2105
  }
2059
2106
  }
2060
2107
  ]
2061
2108
  },
2062
2109
  {
2063
2110
  "kind": "javascript-module",
2064
- "path": "src/actions-menu/actions-menu.template.ts",
2111
+ "path": "src/anchor/anchor.ts",
2065
2112
  "declarations": [
2066
2113
  {
2067
- "kind": "function",
2068
- "name": "menuTemplate",
2069
- "parameters": [
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": [
2070
2124
  {
2071
- "name": "prefix",
2125
+ "name": "download",
2072
2126
  "type": {
2073
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"
2074
2134
  }
2075
- }
2076
- ]
2077
- },
2078
- {
2079
- "kind": "function",
2080
- "name": "singleOptionTemplate",
2081
- "parameters": [
2135
+ },
2082
2136
  {
2083
- "name": "prefix",
2137
+ "name": "href",
2084
2138
  "type": {
2085
2139
  "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"
2086
2146
  }
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": [
2147
+ },
2135
2148
  {
2136
- "kind": "field",
2137
- "name": "actions",
2149
+ "name": "hreflang",
2138
2150
  "type": {
2139
- "text": "ActionMenuItem[]"
2151
+ "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"
2140
2158
  }
2141
2159
  },
2142
2160
  {
2143
- "kind": "field",
2144
- "name": "isVertical",
2161
+ "name": "ping",
2145
2162
  "type": {
2146
- "text": "boolean"
2163
+ "text": "string"
2147
2164
  },
2148
- "default": "false"
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"
2170
+ }
2149
2171
  },
2150
2172
  {
2151
- "kind": "field",
2152
- "name": "addDefaultActions",
2173
+ "name": "referrerpolicy",
2153
2174
  "type": {
2154
- "text": "boolean"
2175
+ "text": "string"
2155
2176
  },
2156
- "default": "true"
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
+ }
2157
2183
  },
2158
2184
  {
2159
- "kind": "field",
2160
- "name": "autoCloseOnAction",
2185
+ "name": "rel",
2161
2186
  "type": {
2162
- "text": "boolean"
2187
+ "text": "string"
2163
2188
  },
2164
- "default": "true"
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
+ }
2165
2195
  },
2196
+ {
2197
+ "name": "target",
2198
+ "type": {
2199
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2200
+ },
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
+ }
2207
+ },
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": [
2166
2222
  {
2167
2223
  "kind": "field",
2168
- "name": "classNames",
2224
+ "name": "download",
2169
2225
  "type": {
2170
2226
  "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"
2171
2233
  }
2172
2234
  },
2173
2235
  {
2174
2236
  "kind": "field",
2175
- "name": "definition",
2237
+ "name": "href",
2176
2238
  "type": {
2177
- "text": "any"
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"
2178
2246
  }
2179
2247
  },
2180
2248
  {
2181
2249
  "kind": "field",
2182
- "name": "name",
2250
+ "name": "hreflang",
2183
2251
  "type": {
2184
2252
  "text": "string"
2185
2253
  },
2186
- "default": "'Actions'"
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
+ }
2187
2260
  },
2188
2261
  {
2189
2262
  "kind": "field",
2190
- "name": "open",
2263
+ "name": "ping",
2191
2264
  "type": {
2192
- "text": "boolean"
2265
+ "text": "string"
2193
2266
  },
2194
- "default": "false"
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
+ }
2195
2273
  },
2196
2274
  {
2197
2275
  "kind": "field",
2198
- "name": "buttonAppearance",
2276
+ "name": "referrerpolicy",
2199
2277
  "type": {
2200
2278
  "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"
2201
2285
  }
2202
2286
  },
2203
2287
  {
2204
2288
  "kind": "field",
2205
- "name": "hideDisabled",
2289
+ "name": "rel",
2206
2290
  "type": {
2207
- "text": "boolean"
2291
+ "text": "string"
2208
2292
  },
2209
- "default": "false"
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
+ }
2210
2299
  },
2211
2300
  {
2212
2301
  "kind": "field",
2213
- "name": "hideMenuSingleOption",
2302
+ "name": "target",
2214
2303
  "type": {
2215
- "text": "boolean"
2304
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2216
2305
  },
2217
- "default": "false"
2218
- },
2219
- {
2220
- "kind": "field",
2221
- "name": "singleOption",
2222
- "type": {
2223
- "text": "ActionMenuItem"
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"
2224
2311
  }
2225
2312
  },
2226
2313
  {
2227
2314
  "kind": "field",
2228
- "name": "actionsMenu",
2315
+ "name": "type",
2229
2316
  "type": {
2230
- "text": "HTMLElement"
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"
2231
2324
  }
2232
2325
  },
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
- },
2273
2326
  {
2274
2327
  "kind": "field",
2275
- "name": "allActions",
2328
+ "name": "control",
2276
2329
  "type": {
2277
- "text": "ActionMenuItem[]"
2330
+ "text": "HTMLAnchorElement | undefined"
2278
2331
  },
2279
- "readonly": true
2332
+ "privacy": "public",
2333
+ "description": "References the root element",
2334
+ "inheritedFrom": {
2335
+ "name": "Anchor",
2336
+ "module": "src/anchor/anchor.ts"
2337
+ }
2280
2338
  },
2281
2339
  {
2282
2340
  "kind": "field",
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
- ]
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
+ }
2309
2348
  },
2310
2349
  {
2311
2350
  "kind": "field",
@@ -2418,108 +2457,69 @@
2418
2457
  "module": "src/foundation-element/foundation-element.ts"
2419
2458
  }
2420
2459
  }
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"
2460
+ ]
2461
+ },
2462
+ {
2463
+ "kind": "variable",
2464
+ "name": "foundationAnchorShadowOptions",
2465
+ "type": {
2466
+ "text": "ShadowRootInit"
2490
2467
  },
2491
- "tagName": "%%prefix%%-actions-menu",
2492
- "customElement": true
2468
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2493
2469
  },
2494
2470
  {
2495
2471
  "kind": "variable",
2496
- "name": "foundationActionsMenu",
2497
- "description": "The Foundation Actions Menu",
2472
+ "name": "defaultAnchorConfig",
2473
+ "type": {
2474
+ "text": "object"
2475
+ },
2476
+ "default": "{}"
2477
+ },
2478
+ {
2479
+ "kind": "variable",
2480
+ "name": "foundationAnchor",
2481
+ "description": "The Foundation Anchor",
2498
2482
  "privacy": "public"
2499
2483
  }
2500
2484
  ],
2501
2485
  "exports": [
2502
2486
  {
2503
2487
  "kind": "js",
2504
- "name": "ActionsMenu",
2488
+ "name": "Anchor",
2505
2489
  "declaration": {
2506
- "name": "ActionsMenu",
2507
- "module": "src/actions-menu/actions-menu.ts"
2490
+ "name": "Anchor",
2491
+ "module": "src/anchor/anchor.ts"
2508
2492
  }
2509
2493
  },
2510
2494
  {
2511
2495
  "kind": "js",
2512
- "name": "foundationActionsMenu",
2496
+ "name": "foundationAnchorShadowOptions",
2513
2497
  "declaration": {
2514
- "name": "foundationActionsMenu",
2515
- "module": "src/actions-menu/actions-menu.ts"
2498
+ "name": "foundationAnchorShadowOptions",
2499
+ "module": "src/anchor/anchor.ts"
2500
+ }
2501
+ },
2502
+ {
2503
+ "kind": "js",
2504
+ "name": "defaultAnchorConfig",
2505
+ "declaration": {
2506
+ "name": "defaultAnchorConfig",
2507
+ "module": "src/anchor/anchor.ts"
2508
+ }
2509
+ },
2510
+ {
2511
+ "kind": "js",
2512
+ "name": "foundationAnchor",
2513
+ "declaration": {
2514
+ "name": "foundationAnchor",
2515
+ "module": "src/anchor/anchor.ts"
2516
2516
  }
2517
2517
  }
2518
2518
  ]
2519
2519
  },
2520
2520
  {
2521
2521
  "kind": "javascript-module",
2522
- "path": "src/actions-menu/index.ts",
2522
+ "path": "src/anchor/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": "./actions-menu.styles"
2530
+ "package": "./anchor.template"
2531
2531
  }
2532
2532
  },
2533
2533
  {
@@ -2535,7 +2535,7 @@
2535
2535
  "name": "*",
2536
2536
  "declaration": {
2537
2537
  "name": "*",
2538
- "package": "./actions-menu.template"
2538
+ "package": "./anchor.styles"
2539
2539
  }
2540
2540
  },
2541
2541
  {
@@ -2543,7 +2543,7 @@
2543
2543
  "name": "*",
2544
2544
  "declaration": {
2545
2545
  "name": "*",
2546
- "package": "./actions-menu"
2546
+ "package": "./anchor"
2547
2547
  }
2548
2548
  }
2549
2549
  ]