@genesislcap/foundation-ui 14.199.2-alpha-0c81553.0 → 14.199.2

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 +1230 -1230
  2. package/package.json +16 -16
@@ -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"
1901
+ ]
1902
+ },
1903
+ {
1904
+ "kind": "variable",
1905
+ "name": "foundationAnchorShadowOptions",
1906
+ "type": {
1907
+ "text": "ShadowRootInit"
1970
1908
  },
1971
- "tagName": "%%prefix%%-actions-menu",
1972
- "customElement": true
1909
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1973
1910
  },
1974
1911
  {
1975
1912
  "kind": "variable",
1976
- "name": "foundationActionsMenu",
1977
- "description": "The Foundation Actions Menu",
1913
+ "name": "defaultAnchorConfig",
1914
+ "type": {
1915
+ "text": "object"
1916
+ },
1917
+ "default": "{}"
1918
+ },
1919
+ {
1920
+ "kind": "variable",
1921
+ "name": "foundationAnchor",
1922
+ "description": "The Foundation Anchor",
1978
1923
  "privacy": "public"
1979
1924
  }
1980
1925
  ],
1981
1926
  "exports": [
1982
1927
  {
1983
1928
  "kind": "js",
1984
- "name": "ActionsMenu",
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
2166
  {
2209
- "name": "type",
2167
+ "kind": "field",
2168
+ "name": "classNames",
2210
2169
  "type": {
2211
2170
  "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
2171
  }
2219
- }
2220
- ],
2221
- "members": [
2172
+ },
2222
2173
  {
2223
2174
  "kind": "field",
2224
- "name": "download",
2175
+ "name": "definition",
2225
2176
  "type": {
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"
2177
+ "text": "any"
2233
2178
  }
2234
2179
  },
2235
2180
  {
2236
2181
  "kind": "field",
2237
- "name": "href",
2182
+ "name": "name",
2238
2183
  "type": {
2239
2184
  "text": "string"
2240
2185
  },
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"
2246
- }
2186
+ "default": "'Actions'"
2247
2187
  },
2248
2188
  {
2249
2189
  "kind": "field",
2250
- "name": "hreflang",
2190
+ "name": "open",
2251
2191
  "type": {
2252
- "text": "string"
2192
+ "text": "boolean"
2253
2193
  },
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
- }
2194
+ "default": "false"
2260
2195
  },
2261
2196
  {
2262
2197
  "kind": "field",
2263
- "name": "ping",
2198
+ "name": "buttonAppearance",
2264
2199
  "type": {
2265
2200
  "text": "string"
2266
- },
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
2201
  }
2273
2202
  },
2274
2203
  {
2275
2204
  "kind": "field",
2276
- "name": "referrerpolicy",
2205
+ "name": "hideDisabled",
2277
2206
  "type": {
2278
- "text": "string"
2207
+ "text": "boolean"
2279
2208
  },
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
- }
2209
+ "default": "false"
2286
2210
  },
2287
2211
  {
2288
2212
  "kind": "field",
2289
- "name": "rel",
2213
+ "name": "hideMenuSingleOption",
2290
2214
  "type": {
2291
- "text": "string"
2215
+ "text": "boolean"
2292
2216
  },
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
- }
2217
+ "default": "false"
2299
2218
  },
2300
2219
  {
2301
2220
  "kind": "field",
2302
- "name": "target",
2221
+ "name": "singleOption",
2303
2222
  "type": {
2304
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2305
- },
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"
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
  ]
@@ -15301,35 +15301,52 @@
15301
15301
  },
15302
15302
  {
15303
15303
  "kind": "javascript-module",
15304
- "path": "src/error-boundary/error-boundary.template.ts",
15304
+ "path": "src/error-banner/error-banner.template.ts",
15305
15305
  "declarations": [
15306
+ {
15307
+ "kind": "function",
15308
+ "name": "getPrefixedErrorBanner",
15309
+ "parameters": [
15310
+ {
15311
+ "name": "prefix",
15312
+ "type": {
15313
+ "text": "string"
15314
+ }
15315
+ }
15316
+ ]
15317
+ },
15306
15318
  {
15307
15319
  "kind": "variable",
15308
- "name": "foundationErrorBoundaryTemplate",
15309
- "type": {
15310
- "text": "ViewTemplate<ErrorBoundary>"
15311
- },
15312
- "default": "html`\n <template ${ref('errorBoundary')}>\n <slot></slot>\n </template>\n`"
15320
+ "name": "foundationErrorBannerTemplate",
15321
+ "default": "html<ErrorBanner>`\n ${(x) => getPrefixedErrorBanner(getPrefix(x))}\n`"
15313
15322
  }
15314
15323
  ],
15315
15324
  "exports": [
15316
15325
  {
15317
15326
  "kind": "js",
15318
- "name": "foundationErrorBoundaryTemplate",
15327
+ "name": "getPrefixedErrorBanner",
15319
15328
  "declaration": {
15320
- "name": "foundationErrorBoundaryTemplate",
15321
- "module": "src/error-boundary/error-boundary.template.ts"
15329
+ "name": "getPrefixedErrorBanner",
15330
+ "module": "src/error-banner/error-banner.template.ts"
15331
+ }
15332
+ },
15333
+ {
15334
+ "kind": "js",
15335
+ "name": "foundationErrorBannerTemplate",
15336
+ "declaration": {
15337
+ "name": "foundationErrorBannerTemplate",
15338
+ "module": "src/error-banner/error-banner.template.ts"
15322
15339
  }
15323
15340
  }
15324
15341
  ]
15325
15342
  },
15326
15343
  {
15327
15344
  "kind": "javascript-module",
15328
- "path": "src/error-boundary/error-boundary.ts",
15345
+ "path": "src/error-banner/error-banner.ts",
15329
15346
  "declarations": [
15330
15347
  {
15331
15348
  "kind": "variable",
15332
- "name": "foundationErrorBoundaryShadowOptions",
15349
+ "name": "foundationErrorBannerShadowOptions",
15333
15350
  "type": {
15334
15351
  "text": "ShadowRootInit"
15335
15352
  },
@@ -15338,51 +15355,35 @@
15338
15355
  {
15339
15356
  "kind": "class",
15340
15357
  "description": "",
15341
- "name": "ErrorBoundary",
15358
+ "name": "ErrorBanner",
15342
15359
  "members": [
15343
15360
  {
15344
15361
  "kind": "field",
15345
- "name": "logger",
15346
- "privacy": "private"
15347
- },
15348
- {
15349
- "kind": "field",
15350
- "name": "errorBoundary",
15362
+ "name": "banner",
15351
15363
  "type": {
15352
- "text": "HTMLElement"
15353
- }
15354
- },
15355
- {
15356
- "kind": "field",
15357
- "name": "resourceName",
15358
- "description": "The resource name holding new and existing notifications",
15364
+ "text": "HTMLElement & { dismiss: () => Promise<void> }"
15365
+ },
15359
15366
  "privacy": "public"
15360
15367
  },
15361
15368
  {
15362
15369
  "kind": "field",
15363
- "name": "closeTimeout",
15370
+ "name": "error",
15364
15371
  "type": {
15365
- "text": "number"
15366
- },
15367
- "default": "0",
15368
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15369
- "privacy": "public"
15372
+ "text": "ErrorStructure"
15373
+ }
15370
15374
  },
15371
15375
  {
15372
15376
  "kind": "field",
15373
- "name": "dataSub",
15377
+ "name": "notification",
15374
15378
  "type": {
15375
- "text": "Subscription"
15376
- },
15377
- "privacy": "protected"
15379
+ "text": "NotificationStructure"
15380
+ }
15378
15381
  },
15379
15382
  {
15380
- "kind": "field",
15381
- "name": "datasource",
15382
- "type": {
15383
- "text": "Datasource"
15384
- },
15385
- "privacy": "private"
15383
+ "kind": "method",
15384
+ "name": "dismiss",
15385
+ "privacy": "public",
15386
+ "description": "Dismiss the Error Banner from display."
15386
15387
  },
15387
15388
  {
15388
15389
  "kind": "field",
@@ -15496,67 +15497,51 @@
15496
15497
  }
15497
15498
  }
15498
15499
  ],
15499
- "attributes": [
15500
- {
15501
- "name": "resource-name",
15502
- "description": "The resource name holding new and existing notifications",
15503
- "fieldName": "resourceName"
15504
- },
15505
- {
15506
- "name": "close-timeout",
15507
- "type": {
15508
- "text": "number"
15509
- },
15510
- "default": "0",
15511
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15512
- "fieldName": "closeTimeout"
15513
- }
15514
- ],
15515
15500
  "superclass": {
15516
15501
  "name": "FoundationElement",
15517
15502
  "package": "@microsoft/fast-foundation"
15518
15503
  },
15504
+ "tagName": "%%prefix%%-error-banner",
15519
15505
  "deprecated": "true",
15520
- "tagName": "%%prefix%%-error-boundary",
15521
15506
  "customElement": true
15522
15507
  },
15523
15508
  {
15524
15509
  "kind": "variable",
15525
- "name": "foundationErrorBoundary",
15526
- "description": "The Foundation Error Boundary",
15510
+ "name": "foundationErrorBanner",
15511
+ "description": "The Foundation Error Banner",
15527
15512
  "privacy": "public"
15528
15513
  }
15529
15514
  ],
15530
15515
  "exports": [
15531
15516
  {
15532
15517
  "kind": "js",
15533
- "name": "foundationErrorBoundaryShadowOptions",
15518
+ "name": "foundationErrorBannerShadowOptions",
15534
15519
  "declaration": {
15535
- "name": "foundationErrorBoundaryShadowOptions",
15536
- "module": "src/error-boundary/error-boundary.ts"
15520
+ "name": "foundationErrorBannerShadowOptions",
15521
+ "module": "src/error-banner/error-banner.ts"
15537
15522
  }
15538
15523
  },
15539
15524
  {
15540
15525
  "kind": "js",
15541
- "name": "ErrorBoundary",
15526
+ "name": "ErrorBanner",
15542
15527
  "declaration": {
15543
- "name": "ErrorBoundary",
15544
- "module": "src/error-boundary/error-boundary.ts"
15528
+ "name": "ErrorBanner",
15529
+ "module": "src/error-banner/error-banner.ts"
15545
15530
  }
15546
15531
  },
15547
15532
  {
15548
15533
  "kind": "js",
15549
- "name": "foundationErrorBoundary",
15534
+ "name": "foundationErrorBanner",
15550
15535
  "declaration": {
15551
- "name": "foundationErrorBoundary",
15552
- "module": "src/error-boundary/error-boundary.ts"
15536
+ "name": "foundationErrorBanner",
15537
+ "module": "src/error-banner/error-banner.ts"
15553
15538
  }
15554
15539
  }
15555
15540
  ]
15556
15541
  },
15557
15542
  {
15558
15543
  "kind": "javascript-module",
15559
- "path": "src/error-boundary/index.ts",
15544
+ "path": "src/error-banner/index.ts",
15560
15545
  "declarations": [],
15561
15546
  "exports": [
15562
15547
  {
@@ -15564,7 +15549,7 @@
15564
15549
  "name": "*",
15565
15550
  "declaration": {
15566
15551
  "name": "*",
15567
- "package": "./error-boundary.template"
15552
+ "package": "./error-banner.template"
15568
15553
  }
15569
15554
  },
15570
15555
  {
@@ -15572,75 +15557,42 @@
15572
15557
  "name": "*",
15573
15558
  "declaration": {
15574
15559
  "name": "*",
15575
- "package": "./error-boundary"
15576
- }
15577
- },
15578
- {
15579
- "kind": "js",
15580
- "name": "ErrorBoundaryEvent",
15581
- "declaration": {
15582
- "name": "ErrorBoundaryEvent",
15583
- "package": "@genesislcap/foundation-errors"
15584
- }
15585
- },
15586
- {
15587
- "kind": "js",
15588
- "name": "ErrorStructure",
15589
- "declaration": {
15590
- "name": "ErrorStructure",
15591
- "package": "@genesislcap/foundation-errors"
15560
+ "package": "./error-banner"
15592
15561
  }
15593
15562
  }
15594
15563
  ]
15595
15564
  },
15596
15565
  {
15597
15566
  "kind": "javascript-module",
15598
- "path": "src/error-banner/error-banner.template.ts",
15567
+ "path": "src/error-boundary/error-boundary.template.ts",
15599
15568
  "declarations": [
15600
- {
15601
- "kind": "function",
15602
- "name": "getPrefixedErrorBanner",
15603
- "parameters": [
15604
- {
15605
- "name": "prefix",
15606
- "type": {
15607
- "text": "string"
15608
- }
15609
- }
15610
- ]
15611
- },
15612
15569
  {
15613
15570
  "kind": "variable",
15614
- "name": "foundationErrorBannerTemplate",
15615
- "default": "html<ErrorBanner>`\n ${(x) => getPrefixedErrorBanner(getPrefix(x))}\n`"
15571
+ "name": "foundationErrorBoundaryTemplate",
15572
+ "type": {
15573
+ "text": "ViewTemplate<ErrorBoundary>"
15574
+ },
15575
+ "default": "html`\n <template ${ref('errorBoundary')}>\n <slot></slot>\n </template>\n`"
15616
15576
  }
15617
15577
  ],
15618
15578
  "exports": [
15619
15579
  {
15620
15580
  "kind": "js",
15621
- "name": "getPrefixedErrorBanner",
15622
- "declaration": {
15623
- "name": "getPrefixedErrorBanner",
15624
- "module": "src/error-banner/error-banner.template.ts"
15625
- }
15626
- },
15627
- {
15628
- "kind": "js",
15629
- "name": "foundationErrorBannerTemplate",
15581
+ "name": "foundationErrorBoundaryTemplate",
15630
15582
  "declaration": {
15631
- "name": "foundationErrorBannerTemplate",
15632
- "module": "src/error-banner/error-banner.template.ts"
15583
+ "name": "foundationErrorBoundaryTemplate",
15584
+ "module": "src/error-boundary/error-boundary.template.ts"
15633
15585
  }
15634
15586
  }
15635
15587
  ]
15636
15588
  },
15637
15589
  {
15638
15590
  "kind": "javascript-module",
15639
- "path": "src/error-banner/error-banner.ts",
15591
+ "path": "src/error-boundary/error-boundary.ts",
15640
15592
  "declarations": [
15641
15593
  {
15642
15594
  "kind": "variable",
15643
- "name": "foundationErrorBannerShadowOptions",
15595
+ "name": "foundationErrorBoundaryShadowOptions",
15644
15596
  "type": {
15645
15597
  "text": "ShadowRootInit"
15646
15598
  },
@@ -15649,35 +15601,51 @@
15649
15601
  {
15650
15602
  "kind": "class",
15651
15603
  "description": "",
15652
- "name": "ErrorBanner",
15604
+ "name": "ErrorBoundary",
15653
15605
  "members": [
15654
15606
  {
15655
15607
  "kind": "field",
15656
- "name": "banner",
15608
+ "name": "logger",
15609
+ "privacy": "private"
15610
+ },
15611
+ {
15612
+ "kind": "field",
15613
+ "name": "errorBoundary",
15657
15614
  "type": {
15658
- "text": "HTMLElement & { dismiss: () => Promise<void> }"
15659
- },
15615
+ "text": "HTMLElement"
15616
+ }
15617
+ },
15618
+ {
15619
+ "kind": "field",
15620
+ "name": "resourceName",
15621
+ "description": "The resource name holding new and existing notifications",
15660
15622
  "privacy": "public"
15661
15623
  },
15662
15624
  {
15663
15625
  "kind": "field",
15664
- "name": "error",
15626
+ "name": "closeTimeout",
15665
15627
  "type": {
15666
- "text": "ErrorStructure"
15667
- }
15628
+ "text": "number"
15629
+ },
15630
+ "default": "0",
15631
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15632
+ "privacy": "public"
15668
15633
  },
15669
15634
  {
15670
15635
  "kind": "field",
15671
- "name": "notification",
15636
+ "name": "dataSub",
15672
15637
  "type": {
15673
- "text": "NotificationStructure"
15674
- }
15638
+ "text": "Subscription"
15639
+ },
15640
+ "privacy": "protected"
15675
15641
  },
15676
15642
  {
15677
- "kind": "method",
15678
- "name": "dismiss",
15679
- "privacy": "public",
15680
- "description": "Dismiss the Error Banner from display."
15643
+ "kind": "field",
15644
+ "name": "datasource",
15645
+ "type": {
15646
+ "text": "Datasource"
15647
+ },
15648
+ "privacy": "private"
15681
15649
  },
15682
15650
  {
15683
15651
  "kind": "field",
@@ -15791,51 +15759,67 @@
15791
15759
  }
15792
15760
  }
15793
15761
  ],
15762
+ "attributes": [
15763
+ {
15764
+ "name": "resource-name",
15765
+ "description": "The resource name holding new and existing notifications",
15766
+ "fieldName": "resourceName"
15767
+ },
15768
+ {
15769
+ "name": "close-timeout",
15770
+ "type": {
15771
+ "text": "number"
15772
+ },
15773
+ "default": "0",
15774
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15775
+ "fieldName": "closeTimeout"
15776
+ }
15777
+ ],
15794
15778
  "superclass": {
15795
15779
  "name": "FoundationElement",
15796
15780
  "package": "@microsoft/fast-foundation"
15797
15781
  },
15798
- "tagName": "%%prefix%%-error-banner",
15799
15782
  "deprecated": "true",
15783
+ "tagName": "%%prefix%%-error-boundary",
15800
15784
  "customElement": true
15801
15785
  },
15802
15786
  {
15803
15787
  "kind": "variable",
15804
- "name": "foundationErrorBanner",
15805
- "description": "The Foundation Error Banner",
15788
+ "name": "foundationErrorBoundary",
15789
+ "description": "The Foundation Error Boundary",
15806
15790
  "privacy": "public"
15807
15791
  }
15808
15792
  ],
15809
15793
  "exports": [
15810
15794
  {
15811
15795
  "kind": "js",
15812
- "name": "foundationErrorBannerShadowOptions",
15796
+ "name": "foundationErrorBoundaryShadowOptions",
15813
15797
  "declaration": {
15814
- "name": "foundationErrorBannerShadowOptions",
15815
- "module": "src/error-banner/error-banner.ts"
15798
+ "name": "foundationErrorBoundaryShadowOptions",
15799
+ "module": "src/error-boundary/error-boundary.ts"
15816
15800
  }
15817
15801
  },
15818
15802
  {
15819
15803
  "kind": "js",
15820
- "name": "ErrorBanner",
15804
+ "name": "ErrorBoundary",
15821
15805
  "declaration": {
15822
- "name": "ErrorBanner",
15823
- "module": "src/error-banner/error-banner.ts"
15806
+ "name": "ErrorBoundary",
15807
+ "module": "src/error-boundary/error-boundary.ts"
15824
15808
  }
15825
15809
  },
15826
15810
  {
15827
15811
  "kind": "js",
15828
- "name": "foundationErrorBanner",
15812
+ "name": "foundationErrorBoundary",
15829
15813
  "declaration": {
15830
- "name": "foundationErrorBanner",
15831
- "module": "src/error-banner/error-banner.ts"
15814
+ "name": "foundationErrorBoundary",
15815
+ "module": "src/error-boundary/error-boundary.ts"
15832
15816
  }
15833
15817
  }
15834
15818
  ]
15835
15819
  },
15836
15820
  {
15837
15821
  "kind": "javascript-module",
15838
- "path": "src/error-banner/index.ts",
15822
+ "path": "src/error-boundary/index.ts",
15839
15823
  "declarations": [],
15840
15824
  "exports": [
15841
15825
  {
@@ -15843,7 +15827,7 @@
15843
15827
  "name": "*",
15844
15828
  "declaration": {
15845
15829
  "name": "*",
15846
- "package": "./error-banner.template"
15830
+ "package": "./error-boundary.template"
15847
15831
  }
15848
15832
  },
15849
15833
  {
@@ -15851,7 +15835,23 @@
15851
15835
  "name": "*",
15852
15836
  "declaration": {
15853
15837
  "name": "*",
15854
- "package": "./error-banner"
15838
+ "package": "./error-boundary"
15839
+ }
15840
+ },
15841
+ {
15842
+ "kind": "js",
15843
+ "name": "ErrorBoundaryEvent",
15844
+ "declaration": {
15845
+ "name": "ErrorBoundaryEvent",
15846
+ "package": "@genesislcap/foundation-errors"
15847
+ }
15848
+ },
15849
+ {
15850
+ "kind": "js",
15851
+ "name": "ErrorStructure",
15852
+ "declaration": {
15853
+ "name": "ErrorStructure",
15854
+ "package": "@genesislcap/foundation-errors"
15855
15855
  }
15856
15856
  }
15857
15857
  ]
@@ -39049,70 +39049,454 @@
39049
39049
  "module": "src/foundation-element/foundation-element.ts"
39050
39050
  }
39051
39051
  }
39052
- ],
39053
- "attributes": [
39054
- {
39055
- "name": "close-timeout",
39056
- "type": {
39057
- "text": "number"
39058
- },
39059
- "default": "10000",
39060
- "fieldName": "closeTimeout"
39061
- },
39062
- {
39063
- "name": "auto-close",
39064
- "type": {
39065
- "text": "boolean"
39066
- },
39067
- "default": "false",
39068
- "fieldName": "autoClose"
39069
- }
39070
- ],
39071
- "superclass": {
39072
- "name": "FoundationElement",
39073
- "package": "@microsoft/fast-foundation"
39052
+ ],
39053
+ "attributes": [
39054
+ {
39055
+ "name": "close-timeout",
39056
+ "type": {
39057
+ "text": "number"
39058
+ },
39059
+ "default": "10000",
39060
+ "fieldName": "closeTimeout"
39061
+ },
39062
+ {
39063
+ "name": "auto-close",
39064
+ "type": {
39065
+ "text": "boolean"
39066
+ },
39067
+ "default": "false",
39068
+ "fieldName": "autoClose"
39069
+ }
39070
+ ],
39071
+ "superclass": {
39072
+ "name": "FoundationElement",
39073
+ "package": "@microsoft/fast-foundation"
39074
+ },
39075
+ "tagName": "%%prefix%%-toast",
39076
+ "customElement": true
39077
+ },
39078
+ {
39079
+ "kind": "variable",
39080
+ "name": "foundationToast",
39081
+ "description": "The Foundation Toast",
39082
+ "privacy": "public"
39083
+ }
39084
+ ],
39085
+ "exports": [
39086
+ {
39087
+ "kind": "js",
39088
+ "name": "foundationToastShadowOptions",
39089
+ "declaration": {
39090
+ "name": "foundationToastShadowOptions",
39091
+ "module": "src/toast/toast.ts"
39092
+ }
39093
+ },
39094
+ {
39095
+ "kind": "js",
39096
+ "name": "defaultToastConfig",
39097
+ "declaration": {
39098
+ "name": "defaultToastConfig",
39099
+ "module": "src/toast/toast.ts"
39100
+ }
39101
+ },
39102
+ {
39103
+ "kind": "js",
39104
+ "name": "Toast",
39105
+ "declaration": {
39106
+ "name": "Toast",
39107
+ "module": "src/toast/toast.ts"
39108
+ }
39109
+ },
39110
+ {
39111
+ "kind": "js",
39112
+ "name": "foundationToast",
39113
+ "declaration": {
39114
+ "name": "foundationToast",
39115
+ "module": "src/toast/toast.ts"
39116
+ }
39117
+ }
39118
+ ]
39119
+ },
39120
+ {
39121
+ "kind": "javascript-module",
39122
+ "path": "src/toolbar/index.ts",
39123
+ "declarations": [],
39124
+ "exports": [
39125
+ {
39126
+ "kind": "js",
39127
+ "name": "*",
39128
+ "declaration": {
39129
+ "name": "*",
39130
+ "package": "./toolbar.template"
39131
+ }
39132
+ },
39133
+ {
39134
+ "kind": "js",
39135
+ "name": "*",
39136
+ "declaration": {
39137
+ "name": "*",
39138
+ "package": "./toolbar.styles"
39139
+ }
39140
+ },
39141
+ {
39142
+ "kind": "js",
39143
+ "name": "*",
39144
+ "declaration": {
39145
+ "name": "*",
39146
+ "package": "./toolbar"
39147
+ }
39148
+ }
39149
+ ]
39150
+ },
39151
+ {
39152
+ "kind": "javascript-module",
39153
+ "path": "src/toolbar/toolbar.styles.ts",
39154
+ "declarations": [
39155
+ {
39156
+ "kind": "function",
39157
+ "name": "foundationToolbarStyles",
39158
+ "return": {
39159
+ "type": {
39160
+ "text": "ElementStyles"
39161
+ }
39162
+ },
39163
+ "parameters": [
39164
+ {
39165
+ "name": "context",
39166
+ "type": {
39167
+ "text": "ElementDefinitionContext"
39168
+ }
39169
+ },
39170
+ {
39171
+ "name": "definition",
39172
+ "type": {
39173
+ "text": "FoundationElementDefinition"
39174
+ }
39175
+ }
39176
+ ]
39177
+ }
39178
+ ],
39179
+ "exports": [
39180
+ {
39181
+ "kind": "js",
39182
+ "name": "foundationToolbarStyles",
39183
+ "declaration": {
39184
+ "name": "foundationToolbarStyles",
39185
+ "module": "src/toolbar/toolbar.styles.ts"
39186
+ }
39187
+ }
39188
+ ]
39189
+ },
39190
+ {
39191
+ "kind": "javascript-module",
39192
+ "path": "src/toolbar/toolbar.template.ts",
39193
+ "declarations": [
39194
+ {
39195
+ "kind": "function",
39196
+ "name": "foundationToolbarTemplate",
39197
+ "return": {
39198
+ "type": {
39199
+ "text": "ViewTemplate<Toolbar>"
39200
+ }
39201
+ },
39202
+ "parameters": [
39203
+ {
39204
+ "name": "context",
39205
+ "type": {
39206
+ "text": "ElementDefinitionContext"
39207
+ }
39208
+ },
39209
+ {
39210
+ "name": "definition",
39211
+ "type": {
39212
+ "text": "FoundationElementDefinition"
39213
+ }
39214
+ }
39215
+ ]
39216
+ }
39217
+ ],
39218
+ "exports": [
39219
+ {
39220
+ "kind": "js",
39221
+ "name": "foundationToolbarTemplate",
39222
+ "declaration": {
39223
+ "name": "foundationToolbarTemplate",
39224
+ "module": "src/toolbar/toolbar.template.ts"
39225
+ }
39226
+ }
39227
+ ]
39228
+ },
39229
+ {
39230
+ "kind": "javascript-module",
39231
+ "path": "src/toolbar/toolbar.ts",
39232
+ "declarations": [
39233
+ {
39234
+ "kind": "class",
39235
+ "description": "",
39236
+ "name": "Toolbar",
39237
+ "superclass": {
39238
+ "name": "FASTToolbar",
39239
+ "package": "@microsoft/fast-components"
39240
+ },
39241
+ "tagName": "%%prefix%%-toolbar",
39242
+ "customElement": true,
39243
+ "attributes": [
39244
+ {
39245
+ "name": "orientation",
39246
+ "type": {
39247
+ "text": "Orientation"
39248
+ },
39249
+ "description": "The orientation of the toolbar.",
39250
+ "fieldName": "orientation",
39251
+ "inheritedFrom": {
39252
+ "name": "Toolbar",
39253
+ "module": "src/toolbar/toolbar.ts"
39254
+ }
39255
+ }
39256
+ ],
39257
+ "members": [
39258
+ {
39259
+ "kind": "field",
39260
+ "name": "activeIndex",
39261
+ "inheritedFrom": {
39262
+ "name": "Toolbar",
39263
+ "module": "src/toolbar/toolbar.ts"
39264
+ }
39265
+ },
39266
+ {
39267
+ "kind": "field",
39268
+ "name": "orientation",
39269
+ "type": {
39270
+ "text": "Orientation"
39271
+ },
39272
+ "privacy": "public",
39273
+ "description": "The orientation of the toolbar.",
39274
+ "inheritedFrom": {
39275
+ "name": "Toolbar",
39276
+ "module": "src/toolbar/toolbar.ts"
39277
+ }
39278
+ },
39279
+ {
39280
+ "kind": "method",
39281
+ "name": "slottedItemsChanged",
39282
+ "privacy": "protected",
39283
+ "return": {
39284
+ "type": {
39285
+ "text": "void"
39286
+ }
39287
+ },
39288
+ "inheritedFrom": {
39289
+ "name": "Toolbar",
39290
+ "module": "src/toolbar/toolbar.ts"
39291
+ }
39292
+ },
39293
+ {
39294
+ "kind": "field",
39295
+ "name": "childItems",
39296
+ "type": {
39297
+ "text": "Element[]"
39298
+ },
39299
+ "privacy": "public",
39300
+ "inheritedFrom": {
39301
+ "name": "Toolbar",
39302
+ "module": "src/toolbar/toolbar.ts"
39303
+ }
39304
+ },
39305
+ {
39306
+ "kind": "method",
39307
+ "name": "childItemsChanged",
39308
+ "privacy": "protected",
39309
+ "return": {
39310
+ "type": {
39311
+ "text": "void"
39312
+ }
39313
+ },
39314
+ "parameters": [
39315
+ {
39316
+ "name": "prev",
39317
+ "type": {
39318
+ "text": "undefined | Element[]"
39319
+ }
39320
+ },
39321
+ {
39322
+ "name": "next",
39323
+ "type": {
39324
+ "text": "Element[]"
39325
+ }
39326
+ }
39327
+ ],
39328
+ "inheritedFrom": {
39329
+ "name": "Toolbar",
39330
+ "module": "src/toolbar/toolbar.ts"
39331
+ }
39332
+ },
39333
+ {
39334
+ "kind": "field",
39335
+ "name": "_presentation",
39336
+ "type": {
39337
+ "text": "ComponentPresentation | null | undefined"
39338
+ },
39339
+ "privacy": "private",
39340
+ "default": "void 0",
39341
+ "inheritedFrom": {
39342
+ "name": "FoundationElement",
39343
+ "module": "src/foundation-element/foundation-element.ts"
39344
+ }
39345
+ },
39346
+ {
39347
+ "kind": "field",
39348
+ "name": "$presentation",
39349
+ "type": {
39350
+ "text": "ComponentPresentation | null"
39351
+ },
39352
+ "privacy": "public",
39353
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
39354
+ "inheritedFrom": {
39355
+ "name": "FoundationElement",
39356
+ "module": "src/foundation-element/foundation-element.ts"
39357
+ }
39358
+ },
39359
+ {
39360
+ "kind": "field",
39361
+ "name": "template",
39362
+ "type": {
39363
+ "text": "ElementViewTemplate | void | null"
39364
+ },
39365
+ "privacy": "public",
39366
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
39367
+ "inheritedFrom": {
39368
+ "name": "FoundationElement",
39369
+ "module": "src/foundation-element/foundation-element.ts"
39370
+ }
39371
+ },
39372
+ {
39373
+ "kind": "method",
39374
+ "name": "templateChanged",
39375
+ "privacy": "protected",
39376
+ "return": {
39377
+ "type": {
39378
+ "text": "void"
39379
+ }
39380
+ },
39381
+ "inheritedFrom": {
39382
+ "name": "FoundationElement",
39383
+ "module": "src/foundation-element/foundation-element.ts"
39384
+ }
39385
+ },
39386
+ {
39387
+ "kind": "field",
39388
+ "name": "styles",
39389
+ "type": {
39390
+ "text": "ElementStyles | void | null"
39391
+ },
39392
+ "privacy": "public",
39393
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
39394
+ "inheritedFrom": {
39395
+ "name": "FoundationElement",
39396
+ "module": "src/foundation-element/foundation-element.ts"
39397
+ }
39398
+ },
39399
+ {
39400
+ "kind": "method",
39401
+ "name": "stylesChanged",
39402
+ "privacy": "protected",
39403
+ "return": {
39404
+ "type": {
39405
+ "text": "void"
39406
+ }
39407
+ },
39408
+ "inheritedFrom": {
39409
+ "name": "FoundationElement",
39410
+ "module": "src/foundation-element/foundation-element.ts"
39411
+ }
39412
+ },
39413
+ {
39414
+ "kind": "method",
39415
+ "name": "compose",
39416
+ "privacy": "public",
39417
+ "static": true,
39418
+ "return": {
39419
+ "type": {
39420
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
39421
+ }
39422
+ },
39423
+ "parameters": [
39424
+ {
39425
+ "name": "this",
39426
+ "type": {
39427
+ "text": "K"
39428
+ }
39429
+ },
39430
+ {
39431
+ "name": "elementDefinition",
39432
+ "type": {
39433
+ "text": "T"
39434
+ },
39435
+ "description": "The definition of the element to create the registry\nfunction for."
39436
+ }
39437
+ ],
39438
+ "description": "Defines an element registry function with a set of element definition defaults.",
39439
+ "inheritedFrom": {
39440
+ "name": "FoundationElement",
39441
+ "module": "src/foundation-element/foundation-element.ts"
39442
+ }
39443
+ }
39444
+ ]
39445
+ },
39446
+ {
39447
+ "kind": "variable",
39448
+ "name": "foundationToolbarShadowOptions",
39449
+ "type": {
39450
+ "text": "ShadowRootInit"
39074
39451
  },
39075
- "tagName": "%%prefix%%-toast",
39076
- "customElement": true
39452
+ "default": "undefined"
39077
39453
  },
39078
39454
  {
39079
39455
  "kind": "variable",
39080
- "name": "foundationToast",
39081
- "description": "The Foundation Toast",
39456
+ "name": "defaultToolbarConfig",
39457
+ "type": {
39458
+ "text": "object"
39459
+ },
39460
+ "default": "{}"
39461
+ },
39462
+ {
39463
+ "kind": "variable",
39464
+ "name": "foundationToolbar",
39465
+ "description": "The Foundation Toolbar",
39082
39466
  "privacy": "public"
39083
39467
  }
39084
39468
  ],
39085
39469
  "exports": [
39086
39470
  {
39087
39471
  "kind": "js",
39088
- "name": "foundationToastShadowOptions",
39472
+ "name": "Toolbar",
39089
39473
  "declaration": {
39090
- "name": "foundationToastShadowOptions",
39091
- "module": "src/toast/toast.ts"
39474
+ "name": "Toolbar",
39475
+ "module": "src/toolbar/toolbar.ts"
39092
39476
  }
39093
39477
  },
39094
39478
  {
39095
39479
  "kind": "js",
39096
- "name": "defaultToastConfig",
39480
+ "name": "foundationToolbarShadowOptions",
39097
39481
  "declaration": {
39098
- "name": "defaultToastConfig",
39099
- "module": "src/toast/toast.ts"
39482
+ "name": "foundationToolbarShadowOptions",
39483
+ "module": "src/toolbar/toolbar.ts"
39100
39484
  }
39101
39485
  },
39102
39486
  {
39103
39487
  "kind": "js",
39104
- "name": "Toast",
39488
+ "name": "defaultToolbarConfig",
39105
39489
  "declaration": {
39106
- "name": "Toast",
39107
- "module": "src/toast/toast.ts"
39490
+ "name": "defaultToolbarConfig",
39491
+ "module": "src/toolbar/toolbar.ts"
39108
39492
  }
39109
39493
  },
39110
39494
  {
39111
39495
  "kind": "js",
39112
- "name": "foundationToast",
39496
+ "name": "foundationToolbar",
39113
39497
  "declaration": {
39114
- "name": "foundationToast",
39115
- "module": "src/toast/toast.ts"
39498
+ "name": "foundationToolbar",
39499
+ "module": "src/toolbar/toolbar.ts"
39116
39500
  }
39117
39501
  }
39118
39502
  ]
@@ -39870,469 +40254,18 @@
39870
40254
  ],
39871
40255
  "events": [
39872
40256
  {
39873
- "description": "Fires a custom 'dismiss' event when the tooltip is visible and escape key is pressed",
39874
- "name": "dismiss",
39875
- "inheritedFrom": {
39876
- "name": "Tooltip",
39877
- "module": "src/tooltip/tooltip.ts"
39878
- }
39879
- }
39880
- ]
39881
- },
39882
- {
39883
- "kind": "variable",
39884
- "name": "foundationTooltipShadowOptions",
39885
- "type": {
39886
- "text": "ShadowRootInit"
39887
- },
39888
- "default": "undefined"
39889
- },
39890
- {
39891
- "kind": "variable",
39892
- "name": "defaultTooltipConfig",
39893
- "type": {
39894
- "text": "object"
39895
- },
39896
- "default": "{}"
39897
- },
39898
- {
39899
- "kind": "variable",
39900
- "name": "foundationTooltip",
39901
- "description": "The Foundation Tooltip",
39902
- "privacy": "public"
39903
- }
39904
- ],
39905
- "exports": [
39906
- {
39907
- "kind": "js",
39908
- "name": "Tooltip",
39909
- "declaration": {
39910
- "name": "Tooltip",
39911
- "module": "src/tooltip/tooltip.ts"
39912
- }
39913
- },
39914
- {
39915
- "kind": "js",
39916
- "name": "foundationTooltipShadowOptions",
39917
- "declaration": {
39918
- "name": "foundationTooltipShadowOptions",
39919
- "module": "src/tooltip/tooltip.ts"
39920
- }
39921
- },
39922
- {
39923
- "kind": "js",
39924
- "name": "defaultTooltipConfig",
39925
- "declaration": {
39926
- "name": "defaultTooltipConfig",
39927
- "module": "src/tooltip/tooltip.ts"
39928
- }
39929
- },
39930
- {
39931
- "kind": "js",
39932
- "name": "foundationTooltip",
39933
- "declaration": {
39934
- "name": "foundationTooltip",
39935
- "module": "src/tooltip/tooltip.ts"
39936
- }
39937
- }
39938
- ]
39939
- },
39940
- {
39941
- "kind": "javascript-module",
39942
- "path": "src/tree-item/index.ts",
39943
- "declarations": [],
39944
- "exports": [
39945
- {
39946
- "kind": "js",
39947
- "name": "*",
39948
- "declaration": {
39949
- "name": "*",
39950
- "package": "./tree-item.template"
39951
- }
39952
- },
39953
- {
39954
- "kind": "js",
39955
- "name": "*",
39956
- "declaration": {
39957
- "name": "*",
39958
- "package": "./tree-item.styles"
39959
- }
39960
- },
39961
- {
39962
- "kind": "js",
39963
- "name": "*",
39964
- "declaration": {
39965
- "name": "*",
39966
- "package": "./tree-item"
39967
- }
39968
- }
39969
- ]
39970
- },
39971
- {
39972
- "kind": "javascript-module",
39973
- "path": "src/tree-item/tree-item.styles.ts",
39974
- "declarations": [
39975
- {
39976
- "kind": "function",
39977
- "name": "foundationTreeItemStyles",
39978
- "return": {
39979
- "type": {
39980
- "text": "ElementStyles"
39981
- }
39982
- },
39983
- "parameters": [
39984
- {
39985
- "name": "context",
39986
- "type": {
39987
- "text": "ElementDefinitionContext"
39988
- }
39989
- },
39990
- {
39991
- "name": "definition",
39992
- "type": {
39993
- "text": "FoundationElementDefinition"
39994
- }
39995
- }
39996
- ]
39997
- }
39998
- ],
39999
- "exports": [
40000
- {
40001
- "kind": "js",
40002
- "name": "foundationTreeItemStyles",
40003
- "declaration": {
40004
- "name": "foundationTreeItemStyles",
40005
- "module": "src/tree-item/tree-item.styles.ts"
40006
- }
40007
- }
40008
- ]
40009
- },
40010
- {
40011
- "kind": "javascript-module",
40012
- "path": "src/tree-item/tree-item.template.ts",
40013
- "declarations": [
40014
- {
40015
- "kind": "function",
40016
- "name": "foundationTreeItemTemplate",
40017
- "return": {
40018
- "type": {
40019
- "text": "ViewTemplate<TreeItem>"
40020
- }
40021
- },
40022
- "parameters": [
40023
- {
40024
- "name": "context",
40025
- "type": {
40026
- "text": "ElementDefinitionContext"
40027
- }
40028
- },
40029
- {
40030
- "name": "definition",
40031
- "type": {
40032
- "text": "FoundationElementDefinition"
40033
- }
40034
- }
40035
- ]
40036
- }
40037
- ],
40038
- "exports": [
40039
- {
40040
- "kind": "js",
40041
- "name": "foundationTreeItemTemplate",
40042
- "declaration": {
40043
- "name": "foundationTreeItemTemplate",
40044
- "module": "src/tree-item/tree-item.template.ts"
40045
- }
40046
- }
40047
- ]
40048
- },
40049
- {
40050
- "kind": "javascript-module",
40051
- "path": "src/tree-item/tree-item.ts",
40052
- "declarations": [
40053
- {
40054
- "kind": "class",
40055
- "description": "%%prefix%%-tree-item",
40056
- "name": "TreeItem",
40057
- "superclass": {
40058
- "name": "FASTTreeItem",
40059
- "package": "@microsoft/fast-components"
40060
- },
40061
- "attributes": [
40062
- {
40063
- "type": {
40064
- "text": "boolean"
40065
- },
40066
- "description": "When true, the control will be appear expanded by user interaction.",
40067
- "fieldName": "expanded",
40068
- "default": "false",
40069
- "inheritedFrom": {
40070
- "name": "TreeItem",
40071
- "module": "src/tree-item/tree-item.ts"
40072
- }
40073
- }
40074
- ],
40075
- "members": [
40076
- {
40077
- "kind": "field",
40078
- "name": "expanded",
40079
- "type": {
40080
- "text": "boolean"
40081
- },
40082
- "privacy": "public",
40083
- "default": "false",
40084
- "description": "When true, the control will be appear expanded by user interaction.",
40085
- "inheritedFrom": {
40086
- "name": "TreeItem",
40087
- "module": "src/tree-item/tree-item.ts"
40088
- }
40089
- },
40090
- {
40091
- "kind": "method",
40092
- "name": "expandedChanged",
40093
- "privacy": "private",
40094
- "return": {
40095
- "type": {
40096
- "text": "void"
40097
- }
40098
- },
40099
- "inheritedFrom": {
40100
- "name": "TreeItem",
40101
- "module": "src/tree-item/tree-item.ts"
40102
- }
40103
- },
40104
- {
40105
- "kind": "field",
40106
- "name": "selected",
40107
- "type": {
40108
- "text": "boolean"
40109
- },
40110
- "privacy": "public",
40111
- "description": "When true, the control will appear selected by user interaction.",
40112
- "inheritedFrom": {
40113
- "name": "TreeItem",
40114
- "module": "src/tree-item/tree-item.ts"
40115
- }
40116
- },
40117
- {
40118
- "kind": "method",
40119
- "name": "selectedChanged",
40120
- "privacy": "private",
40121
- "return": {
40122
- "type": {
40123
- "text": "void"
40124
- }
40125
- },
40126
- "inheritedFrom": {
40127
- "name": "TreeItem",
40128
- "module": "src/tree-item/tree-item.ts"
40129
- }
40130
- },
40131
- {
40132
- "kind": "field",
40133
- "name": "disabled",
40134
- "type": {
40135
- "text": "boolean"
40136
- },
40137
- "privacy": "public",
40138
- "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute} for more information.",
40139
- "inheritedFrom": {
40140
- "name": "TreeItem",
40141
- "module": "src/tree-item/tree-item.ts"
40142
- }
40143
- },
40144
- {
40145
- "kind": "method",
40146
- "name": "itemsChanged",
40147
- "privacy": "private",
40148
- "return": {
40149
- "type": {
40150
- "text": "void"
40151
- }
40152
- },
40153
- "parameters": [
40154
- {
40155
- "name": "oldValue",
40156
- "type": {
40157
- "text": "unknown"
40158
- }
40159
- },
40160
- {
40161
- "name": "newValue",
40162
- "type": {
40163
- "text": "HTMLElement[]"
40164
- }
40165
- }
40166
- ],
40167
- "inheritedFrom": {
40168
- "name": "TreeItem",
40169
- "module": "src/tree-item/tree-item.ts"
40170
- }
40171
- },
40172
- {
40173
- "kind": "method",
40174
- "name": "focusItem",
40175
- "privacy": "public",
40176
- "static": true,
40177
- "parameters": [
40178
- {
40179
- "name": "el",
40180
- "type": {
40181
- "text": "HTMLElement"
40182
- },
40183
- "description": "the element to focus"
40184
- }
40185
- ],
40186
- "description": "Places document focus on a tree item",
40187
- "inheritedFrom": {
40188
- "name": "TreeItem",
40189
- "module": "src/tree-item/tree-item.ts"
40190
- }
40191
- },
40192
- {
40193
- "kind": "field",
40194
- "name": "isNestedItem",
40195
- "privacy": "public",
40196
- "description": "Whether the tree is nested",
40197
- "inheritedFrom": {
40198
- "name": "TreeItem",
40199
- "module": "src/tree-item/tree-item.ts"
40200
- }
40201
- },
40202
- {
40203
- "kind": "field",
40204
- "name": "_presentation",
40205
- "type": {
40206
- "text": "ComponentPresentation | null | undefined"
40207
- },
40208
- "privacy": "private",
40209
- "default": "void 0",
40210
- "inheritedFrom": {
40211
- "name": "FoundationElement",
40212
- "module": "src/foundation-element/foundation-element.ts"
40213
- }
40214
- },
40215
- {
40216
- "kind": "field",
40217
- "name": "$presentation",
40218
- "type": {
40219
- "text": "ComponentPresentation | null"
40220
- },
40221
- "privacy": "public",
40222
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
40223
- "inheritedFrom": {
40224
- "name": "FoundationElement",
40225
- "module": "src/foundation-element/foundation-element.ts"
40226
- }
40227
- },
40228
- {
40229
- "kind": "field",
40230
- "name": "template",
40231
- "type": {
40232
- "text": "ElementViewTemplate | void | null"
40233
- },
40234
- "privacy": "public",
40235
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
40236
- "inheritedFrom": {
40237
- "name": "FoundationElement",
40238
- "module": "src/foundation-element/foundation-element.ts"
40239
- }
40240
- },
40241
- {
40242
- "kind": "method",
40243
- "name": "templateChanged",
40244
- "privacy": "protected",
40245
- "return": {
40246
- "type": {
40247
- "text": "void"
40248
- }
40249
- },
40250
- "inheritedFrom": {
40251
- "name": "FoundationElement",
40252
- "module": "src/foundation-element/foundation-element.ts"
40253
- }
40254
- },
40255
- {
40256
- "kind": "field",
40257
- "name": "styles",
40258
- "type": {
40259
- "text": "ElementStyles | void | null"
40260
- },
40261
- "privacy": "public",
40262
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
40263
- "inheritedFrom": {
40264
- "name": "FoundationElement",
40265
- "module": "src/foundation-element/foundation-element.ts"
40266
- }
40267
- },
40268
- {
40269
- "kind": "method",
40270
- "name": "stylesChanged",
40271
- "privacy": "protected",
40272
- "return": {
40273
- "type": {
40274
- "text": "void"
40275
- }
40276
- },
40277
- "inheritedFrom": {
40278
- "name": "FoundationElement",
40279
- "module": "src/foundation-element/foundation-element.ts"
40280
- }
40281
- },
40282
- {
40283
- "kind": "method",
40284
- "name": "compose",
40285
- "privacy": "public",
40286
- "static": true,
40287
- "return": {
40288
- "type": {
40289
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
40290
- }
40291
- },
40292
- "parameters": [
40293
- {
40294
- "name": "this",
40295
- "type": {
40296
- "text": "K"
40297
- }
40298
- },
40299
- {
40300
- "name": "elementDefinition",
40301
- "type": {
40302
- "text": "T"
40303
- },
40304
- "description": "The definition of the element to create the registry\nfunction for."
40305
- }
40306
- ],
40307
- "description": "Defines an element registry function with a set of element definition defaults.",
40308
- "inheritedFrom": {
40309
- "name": "FoundationElement",
40310
- "module": "src/foundation-element/foundation-element.ts"
40311
- }
40312
- }
40313
- ],
40314
- "events": [
40315
- {
40316
- "description": "Fires a custom 'expanded-change' event when the expanded state changes",
40317
- "name": "expanded-change",
40318
- "inheritedFrom": {
40319
- "name": "TreeItem",
40320
- "module": "src/tree-item/tree-item.ts"
40321
- }
40322
- },
40323
- {
40324
- "description": "Fires a custom 'selected-change' event when the selected state changes",
40325
- "name": "selected-change",
40257
+ "description": "Fires a custom 'dismiss' event when the tooltip is visible and escape key is pressed",
40258
+ "name": "dismiss",
40326
40259
  "inheritedFrom": {
40327
- "name": "TreeItem",
40328
- "module": "src/tree-item/tree-item.ts"
40260
+ "name": "Tooltip",
40261
+ "module": "src/tooltip/tooltip.ts"
40329
40262
  }
40330
40263
  }
40331
40264
  ]
40332
40265
  },
40333
40266
  {
40334
40267
  "kind": "variable",
40335
- "name": "foundationTreeItemShadowOptions",
40268
+ "name": "foundationTooltipShadowOptions",
40336
40269
  "type": {
40337
40270
  "text": "ShadowRootInit"
40338
40271
  },
@@ -40340,57 +40273,57 @@
40340
40273
  },
40341
40274
  {
40342
40275
  "kind": "variable",
40343
- "name": "defaultTreeItemConfig",
40276
+ "name": "defaultTooltipConfig",
40344
40277
  "type": {
40345
40278
  "text": "object"
40346
40279
  },
40347
- "default": "{\n expandCollapseGlyph: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" class=\"expand-collapse-glyph\">\n <path d=\"M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z\"></path>\n </svg>`,\n}"
40280
+ "default": "{}"
40348
40281
  },
40349
40282
  {
40350
40283
  "kind": "variable",
40351
- "name": "foundationTreeItem",
40352
- "description": "The Foundation Tree item",
40284
+ "name": "foundationTooltip",
40285
+ "description": "The Foundation Tooltip",
40353
40286
  "privacy": "public"
40354
40287
  }
40355
40288
  ],
40356
40289
  "exports": [
40357
40290
  {
40358
40291
  "kind": "js",
40359
- "name": "TreeItem",
40292
+ "name": "Tooltip",
40360
40293
  "declaration": {
40361
- "name": "TreeItem",
40362
- "module": "src/tree-item/tree-item.ts"
40294
+ "name": "Tooltip",
40295
+ "module": "src/tooltip/tooltip.ts"
40363
40296
  }
40364
40297
  },
40365
40298
  {
40366
40299
  "kind": "js",
40367
- "name": "foundationTreeItemShadowOptions",
40300
+ "name": "foundationTooltipShadowOptions",
40368
40301
  "declaration": {
40369
- "name": "foundationTreeItemShadowOptions",
40370
- "module": "src/tree-item/tree-item.ts"
40302
+ "name": "foundationTooltipShadowOptions",
40303
+ "module": "src/tooltip/tooltip.ts"
40371
40304
  }
40372
40305
  },
40373
40306
  {
40374
40307
  "kind": "js",
40375
- "name": "defaultTreeItemConfig",
40308
+ "name": "defaultTooltipConfig",
40376
40309
  "declaration": {
40377
- "name": "defaultTreeItemConfig",
40378
- "module": "src/tree-item/tree-item.ts"
40310
+ "name": "defaultTooltipConfig",
40311
+ "module": "src/tooltip/tooltip.ts"
40379
40312
  }
40380
40313
  },
40381
40314
  {
40382
40315
  "kind": "js",
40383
- "name": "foundationTreeItem",
40316
+ "name": "foundationTooltip",
40384
40317
  "declaration": {
40385
- "name": "foundationTreeItem",
40386
- "module": "src/tree-item/tree-item.ts"
40318
+ "name": "foundationTooltip",
40319
+ "module": "src/tooltip/tooltip.ts"
40387
40320
  }
40388
40321
  }
40389
40322
  ]
40390
40323
  },
40391
40324
  {
40392
40325
  "kind": "javascript-module",
40393
- "path": "src/toolbar/index.ts",
40326
+ "path": "src/tree-item/index.ts",
40394
40327
  "declarations": [],
40395
40328
  "exports": [
40396
40329
  {
@@ -40398,7 +40331,7 @@
40398
40331
  "name": "*",
40399
40332
  "declaration": {
40400
40333
  "name": "*",
40401
- "package": "./toolbar.template"
40334
+ "package": "./tree-item.template"
40402
40335
  }
40403
40336
  },
40404
40337
  {
@@ -40406,7 +40339,7 @@
40406
40339
  "name": "*",
40407
40340
  "declaration": {
40408
40341
  "name": "*",
40409
- "package": "./toolbar.styles"
40342
+ "package": "./tree-item.styles"
40410
40343
  }
40411
40344
  },
40412
40345
  {
@@ -40414,18 +40347,18 @@
40414
40347
  "name": "*",
40415
40348
  "declaration": {
40416
40349
  "name": "*",
40417
- "package": "./toolbar"
40350
+ "package": "./tree-item"
40418
40351
  }
40419
40352
  }
40420
40353
  ]
40421
40354
  },
40422
40355
  {
40423
40356
  "kind": "javascript-module",
40424
- "path": "src/toolbar/toolbar.styles.ts",
40357
+ "path": "src/tree-item/tree-item.styles.ts",
40425
40358
  "declarations": [
40426
40359
  {
40427
40360
  "kind": "function",
40428
- "name": "foundationToolbarStyles",
40361
+ "name": "foundationTreeItemStyles",
40429
40362
  "return": {
40430
40363
  "type": {
40431
40364
  "text": "ElementStyles"
@@ -40450,24 +40383,24 @@
40450
40383
  "exports": [
40451
40384
  {
40452
40385
  "kind": "js",
40453
- "name": "foundationToolbarStyles",
40386
+ "name": "foundationTreeItemStyles",
40454
40387
  "declaration": {
40455
- "name": "foundationToolbarStyles",
40456
- "module": "src/toolbar/toolbar.styles.ts"
40388
+ "name": "foundationTreeItemStyles",
40389
+ "module": "src/tree-item/tree-item.styles.ts"
40457
40390
  }
40458
40391
  }
40459
40392
  ]
40460
40393
  },
40461
40394
  {
40462
40395
  "kind": "javascript-module",
40463
- "path": "src/toolbar/toolbar.template.ts",
40396
+ "path": "src/tree-item/tree-item.template.ts",
40464
40397
  "declarations": [
40465
40398
  {
40466
40399
  "kind": "function",
40467
- "name": "foundationToolbarTemplate",
40400
+ "name": "foundationTreeItemTemplate",
40468
40401
  "return": {
40469
40402
  "type": {
40470
- "text": "ViewTemplate<Toolbar>"
40403
+ "text": "ViewTemplate<TreeItem>"
40471
40404
  }
40472
40405
  },
40473
40406
  "parameters": [
@@ -40489,94 +40422,113 @@
40489
40422
  "exports": [
40490
40423
  {
40491
40424
  "kind": "js",
40492
- "name": "foundationToolbarTemplate",
40425
+ "name": "foundationTreeItemTemplate",
40493
40426
  "declaration": {
40494
- "name": "foundationToolbarTemplate",
40495
- "module": "src/toolbar/toolbar.template.ts"
40427
+ "name": "foundationTreeItemTemplate",
40428
+ "module": "src/tree-item/tree-item.template.ts"
40496
40429
  }
40497
40430
  }
40498
40431
  ]
40499
40432
  },
40500
40433
  {
40501
40434
  "kind": "javascript-module",
40502
- "path": "src/toolbar/toolbar.ts",
40435
+ "path": "src/tree-item/tree-item.ts",
40503
40436
  "declarations": [
40504
40437
  {
40505
40438
  "kind": "class",
40506
- "description": "",
40507
- "name": "Toolbar",
40439
+ "description": "%%prefix%%-tree-item",
40440
+ "name": "TreeItem",
40508
40441
  "superclass": {
40509
- "name": "FASTToolbar",
40442
+ "name": "FASTTreeItem",
40510
40443
  "package": "@microsoft/fast-components"
40511
40444
  },
40512
- "tagName": "%%prefix%%-toolbar",
40513
- "customElement": true,
40514
40445
  "attributes": [
40515
40446
  {
40516
- "name": "orientation",
40517
40447
  "type": {
40518
- "text": "Orientation"
40448
+ "text": "boolean"
40519
40449
  },
40520
- "description": "The orientation of the toolbar.",
40521
- "fieldName": "orientation",
40450
+ "description": "When true, the control will be appear expanded by user interaction.",
40451
+ "fieldName": "expanded",
40452
+ "default": "false",
40522
40453
  "inheritedFrom": {
40523
- "name": "Toolbar",
40524
- "module": "src/toolbar/toolbar.ts"
40454
+ "name": "TreeItem",
40455
+ "module": "src/tree-item/tree-item.ts"
40525
40456
  }
40526
40457
  }
40527
40458
  ],
40528
40459
  "members": [
40529
40460
  {
40530
40461
  "kind": "field",
40531
- "name": "activeIndex",
40462
+ "name": "expanded",
40463
+ "type": {
40464
+ "text": "boolean"
40465
+ },
40466
+ "privacy": "public",
40467
+ "default": "false",
40468
+ "description": "When true, the control will be appear expanded by user interaction.",
40532
40469
  "inheritedFrom": {
40533
- "name": "Toolbar",
40534
- "module": "src/toolbar/toolbar.ts"
40470
+ "name": "TreeItem",
40471
+ "module": "src/tree-item/tree-item.ts"
40472
+ }
40473
+ },
40474
+ {
40475
+ "kind": "method",
40476
+ "name": "expandedChanged",
40477
+ "privacy": "private",
40478
+ "return": {
40479
+ "type": {
40480
+ "text": "void"
40481
+ }
40482
+ },
40483
+ "inheritedFrom": {
40484
+ "name": "TreeItem",
40485
+ "module": "src/tree-item/tree-item.ts"
40535
40486
  }
40536
40487
  },
40537
40488
  {
40538
40489
  "kind": "field",
40539
- "name": "orientation",
40490
+ "name": "selected",
40540
40491
  "type": {
40541
- "text": "Orientation"
40492
+ "text": "boolean"
40542
40493
  },
40543
40494
  "privacy": "public",
40544
- "description": "The orientation of the toolbar.",
40495
+ "description": "When true, the control will appear selected by user interaction.",
40545
40496
  "inheritedFrom": {
40546
- "name": "Toolbar",
40547
- "module": "src/toolbar/toolbar.ts"
40497
+ "name": "TreeItem",
40498
+ "module": "src/tree-item/tree-item.ts"
40548
40499
  }
40549
40500
  },
40550
40501
  {
40551
40502
  "kind": "method",
40552
- "name": "slottedItemsChanged",
40553
- "privacy": "protected",
40503
+ "name": "selectedChanged",
40504
+ "privacy": "private",
40554
40505
  "return": {
40555
40506
  "type": {
40556
40507
  "text": "void"
40557
40508
  }
40558
40509
  },
40559
40510
  "inheritedFrom": {
40560
- "name": "Toolbar",
40561
- "module": "src/toolbar/toolbar.ts"
40511
+ "name": "TreeItem",
40512
+ "module": "src/tree-item/tree-item.ts"
40562
40513
  }
40563
40514
  },
40564
40515
  {
40565
40516
  "kind": "field",
40566
- "name": "childItems",
40517
+ "name": "disabled",
40567
40518
  "type": {
40568
- "text": "Element[]"
40519
+ "text": "boolean"
40569
40520
  },
40570
40521
  "privacy": "public",
40522
+ "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute} for more information.",
40571
40523
  "inheritedFrom": {
40572
- "name": "Toolbar",
40573
- "module": "src/toolbar/toolbar.ts"
40524
+ "name": "TreeItem",
40525
+ "module": "src/tree-item/tree-item.ts"
40574
40526
  }
40575
40527
  },
40576
40528
  {
40577
40529
  "kind": "method",
40578
- "name": "childItemsChanged",
40579
- "privacy": "protected",
40530
+ "name": "itemsChanged",
40531
+ "privacy": "private",
40580
40532
  "return": {
40581
40533
  "type": {
40582
40534
  "text": "void"
@@ -40584,21 +40536,51 @@
40584
40536
  },
40585
40537
  "parameters": [
40586
40538
  {
40587
- "name": "prev",
40539
+ "name": "oldValue",
40588
40540
  "type": {
40589
- "text": "undefined | Element[]"
40541
+ "text": "unknown"
40590
40542
  }
40591
40543
  },
40592
40544
  {
40593
- "name": "next",
40545
+ "name": "newValue",
40594
40546
  "type": {
40595
- "text": "Element[]"
40547
+ "text": "HTMLElement[]"
40596
40548
  }
40597
40549
  }
40598
40550
  ],
40599
40551
  "inheritedFrom": {
40600
- "name": "Toolbar",
40601
- "module": "src/toolbar/toolbar.ts"
40552
+ "name": "TreeItem",
40553
+ "module": "src/tree-item/tree-item.ts"
40554
+ }
40555
+ },
40556
+ {
40557
+ "kind": "method",
40558
+ "name": "focusItem",
40559
+ "privacy": "public",
40560
+ "static": true,
40561
+ "parameters": [
40562
+ {
40563
+ "name": "el",
40564
+ "type": {
40565
+ "text": "HTMLElement"
40566
+ },
40567
+ "description": "the element to focus"
40568
+ }
40569
+ ],
40570
+ "description": "Places document focus on a tree item",
40571
+ "inheritedFrom": {
40572
+ "name": "TreeItem",
40573
+ "module": "src/tree-item/tree-item.ts"
40574
+ }
40575
+ },
40576
+ {
40577
+ "kind": "field",
40578
+ "name": "isNestedItem",
40579
+ "privacy": "public",
40580
+ "description": "Whether the tree is nested",
40581
+ "inheritedFrom": {
40582
+ "name": "TreeItem",
40583
+ "module": "src/tree-item/tree-item.ts"
40602
40584
  }
40603
40585
  },
40604
40586
  {
@@ -40712,11 +40694,29 @@
40712
40694
  "module": "src/foundation-element/foundation-element.ts"
40713
40695
  }
40714
40696
  }
40697
+ ],
40698
+ "events": [
40699
+ {
40700
+ "description": "Fires a custom 'expanded-change' event when the expanded state changes",
40701
+ "name": "expanded-change",
40702
+ "inheritedFrom": {
40703
+ "name": "TreeItem",
40704
+ "module": "src/tree-item/tree-item.ts"
40705
+ }
40706
+ },
40707
+ {
40708
+ "description": "Fires a custom 'selected-change' event when the selected state changes",
40709
+ "name": "selected-change",
40710
+ "inheritedFrom": {
40711
+ "name": "TreeItem",
40712
+ "module": "src/tree-item/tree-item.ts"
40713
+ }
40714
+ }
40715
40715
  ]
40716
40716
  },
40717
40717
  {
40718
40718
  "kind": "variable",
40719
- "name": "foundationToolbarShadowOptions",
40719
+ "name": "foundationTreeItemShadowOptions",
40720
40720
  "type": {
40721
40721
  "text": "ShadowRootInit"
40722
40722
  },
@@ -40724,50 +40724,50 @@
40724
40724
  },
40725
40725
  {
40726
40726
  "kind": "variable",
40727
- "name": "defaultToolbarConfig",
40727
+ "name": "defaultTreeItemConfig",
40728
40728
  "type": {
40729
40729
  "text": "object"
40730
40730
  },
40731
- "default": "{}"
40731
+ "default": "{\n expandCollapseGlyph: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" class=\"expand-collapse-glyph\">\n <path d=\"M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z\"></path>\n </svg>`,\n}"
40732
40732
  },
40733
40733
  {
40734
40734
  "kind": "variable",
40735
- "name": "foundationToolbar",
40736
- "description": "The Foundation Toolbar",
40735
+ "name": "foundationTreeItem",
40736
+ "description": "The Foundation Tree item",
40737
40737
  "privacy": "public"
40738
40738
  }
40739
40739
  ],
40740
40740
  "exports": [
40741
40741
  {
40742
40742
  "kind": "js",
40743
- "name": "Toolbar",
40743
+ "name": "TreeItem",
40744
40744
  "declaration": {
40745
- "name": "Toolbar",
40746
- "module": "src/toolbar/toolbar.ts"
40745
+ "name": "TreeItem",
40746
+ "module": "src/tree-item/tree-item.ts"
40747
40747
  }
40748
40748
  },
40749
40749
  {
40750
40750
  "kind": "js",
40751
- "name": "foundationToolbarShadowOptions",
40751
+ "name": "foundationTreeItemShadowOptions",
40752
40752
  "declaration": {
40753
- "name": "foundationToolbarShadowOptions",
40754
- "module": "src/toolbar/toolbar.ts"
40753
+ "name": "foundationTreeItemShadowOptions",
40754
+ "module": "src/tree-item/tree-item.ts"
40755
40755
  }
40756
40756
  },
40757
40757
  {
40758
40758
  "kind": "js",
40759
- "name": "defaultToolbarConfig",
40759
+ "name": "defaultTreeItemConfig",
40760
40760
  "declaration": {
40761
- "name": "defaultToolbarConfig",
40762
- "module": "src/toolbar/toolbar.ts"
40761
+ "name": "defaultTreeItemConfig",
40762
+ "module": "src/tree-item/tree-item.ts"
40763
40763
  }
40764
40764
  },
40765
40765
  {
40766
40766
  "kind": "js",
40767
- "name": "foundationToolbar",
40767
+ "name": "foundationTreeItem",
40768
40768
  "declaration": {
40769
- "name": "foundationToolbar",
40770
- "module": "src/toolbar/toolbar.ts"
40769
+ "name": "foundationTreeItem",
40770
+ "module": "src/tree-item/tree-item.ts"
40771
40771
  }
40772
40772
  }
40773
40773
  ]
@@ -43982,11 +43982,11 @@
43982
43982
  },
43983
43983
  {
43984
43984
  "kind": "javascript-module",
43985
- "path": "src/grid-layout/responsiveness/grid-layout-rwd.styles.ts",
43985
+ "path": "src/flex-layout/responsiveness/flex-layout-rwd.styles.ts",
43986
43986
  "declarations": [
43987
43987
  {
43988
43988
  "kind": "function",
43989
- "name": "gridLayoutRWDStyles",
43989
+ "name": "flexLayoutRWDStyles",
43990
43990
  "return": {
43991
43991
  "type": {
43992
43992
  "text": "ElementStyles"
@@ -43997,7 +43997,7 @@
43997
43997
  "name": "breakPoint",
43998
43998
  "optional": true,
43999
43999
  "type": {
44000
- "text": "GridBreakPointType"
44000
+ "text": "FlexBreakPointType"
44001
44001
  }
44002
44002
  }
44003
44003
  ]
@@ -44006,17 +44006,17 @@
44006
44006
  "exports": [
44007
44007
  {
44008
44008
  "kind": "js",
44009
- "name": "gridLayoutRWDStyles",
44009
+ "name": "flexLayoutRWDStyles",
44010
44010
  "declaration": {
44011
- "name": "gridLayoutRWDStyles",
44012
- "module": "src/grid-layout/responsiveness/grid-layout-rwd.styles.ts"
44011
+ "name": "flexLayoutRWDStyles",
44012
+ "module": "src/flex-layout/responsiveness/flex-layout-rwd.styles.ts"
44013
44013
  }
44014
44014
  }
44015
44015
  ]
44016
44016
  },
44017
44017
  {
44018
44018
  "kind": "javascript-module",
44019
- "path": "src/grid-layout/responsiveness/index.ts",
44019
+ "path": "src/flex-layout/responsiveness/index.ts",
44020
44020
  "declarations": [],
44021
44021
  "exports": [
44022
44022
  {
@@ -44024,18 +44024,18 @@
44024
44024
  "name": "*",
44025
44025
  "declaration": {
44026
44026
  "name": "*",
44027
- "package": "./grid-layout-rwd.styles"
44027
+ "package": "./flex-layout-rwd.styles"
44028
44028
  }
44029
44029
  }
44030
44030
  ]
44031
44031
  },
44032
44032
  {
44033
44033
  "kind": "javascript-module",
44034
- "path": "src/flex-layout/responsiveness/flex-layout-rwd.styles.ts",
44034
+ "path": "src/grid-layout/responsiveness/grid-layout-rwd.styles.ts",
44035
44035
  "declarations": [
44036
44036
  {
44037
44037
  "kind": "function",
44038
- "name": "flexLayoutRWDStyles",
44038
+ "name": "gridLayoutRWDStyles",
44039
44039
  "return": {
44040
44040
  "type": {
44041
44041
  "text": "ElementStyles"
@@ -44046,7 +44046,7 @@
44046
44046
  "name": "breakPoint",
44047
44047
  "optional": true,
44048
44048
  "type": {
44049
- "text": "FlexBreakPointType"
44049
+ "text": "GridBreakPointType"
44050
44050
  }
44051
44051
  }
44052
44052
  ]
@@ -44055,17 +44055,17 @@
44055
44055
  "exports": [
44056
44056
  {
44057
44057
  "kind": "js",
44058
- "name": "flexLayoutRWDStyles",
44058
+ "name": "gridLayoutRWDStyles",
44059
44059
  "declaration": {
44060
- "name": "flexLayoutRWDStyles",
44061
- "module": "src/flex-layout/responsiveness/flex-layout-rwd.styles.ts"
44060
+ "name": "gridLayoutRWDStyles",
44061
+ "module": "src/grid-layout/responsiveness/grid-layout-rwd.styles.ts"
44062
44062
  }
44063
44063
  }
44064
44064
  ]
44065
44065
  },
44066
44066
  {
44067
44067
  "kind": "javascript-module",
44068
- "path": "src/flex-layout/responsiveness/index.ts",
44068
+ "path": "src/grid-layout/responsiveness/index.ts",
44069
44069
  "declarations": [],
44070
44070
  "exports": [
44071
44071
  {
@@ -44073,7 +44073,7 @@
44073
44073
  "name": "*",
44074
44074
  "declaration": {
44075
44075
  "name": "*",
44076
- "package": "./flex-layout-rwd.styles"
44076
+ "package": "./grid-layout-rwd.styles"
44077
44077
  }
44078
44078
  }
44079
44079
  ]