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