@genesislcap/foundation-ui 15.10.1-alpha-77bc339.0 → 15.10.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.
@@ -1455,34 +1455,11 @@
1455
1455
  },
1456
1456
  {
1457
1457
  "kind": "javascript-module",
1458
- "path": "src/actions-menu/actions-menu.styles.ts",
1458
+ "path": "src/accordion/accordion.styles.ts",
1459
1459
  "declarations": [
1460
1460
  {
1461
1461
  "kind": "function",
1462
- "name": "actionsMenuBaseStyles",
1463
- "return": {
1464
- "type": {
1465
- "text": "ElementStyles"
1466
- }
1467
- },
1468
- "parameters": [
1469
- {
1470
- "name": "context",
1471
- "type": {
1472
- "text": "ElementDefinitionContext"
1473
- }
1474
- },
1475
- {
1476
- "name": "definition",
1477
- "type": {
1478
- "text": "FoundationElementDefinition"
1479
- }
1480
- }
1481
- ]
1482
- },
1483
- {
1484
- "kind": "function",
1485
- "name": "foundationActionsMenuStyles",
1462
+ "name": "foundationAccordionStyles",
1486
1463
  "return": {
1487
1464
  "type": {
1488
1465
  "text": "ElementStyles"
@@ -1507,281 +1484,277 @@
1507
1484
  "exports": [
1508
1485
  {
1509
1486
  "kind": "js",
1510
- "name": "actionsMenuBaseStyles",
1511
- "declaration": {
1512
- "name": "actionsMenuBaseStyles",
1513
- "module": "src/actions-menu/actions-menu.styles.ts"
1514
- }
1515
- },
1516
- {
1517
- "kind": "js",
1518
- "name": "foundationActionsMenuStyles",
1487
+ "name": "foundationAccordionStyles",
1519
1488
  "declaration": {
1520
- "name": "foundationActionsMenuStyles",
1521
- "module": "src/actions-menu/actions-menu.styles.ts"
1489
+ "name": "foundationAccordionStyles",
1490
+ "module": "src/accordion/accordion.styles.ts"
1522
1491
  }
1523
1492
  }
1524
1493
  ]
1525
1494
  },
1526
1495
  {
1527
1496
  "kind": "javascript-module",
1528
- "path": "src/actions-menu/actions-menu.template.ts",
1497
+ "path": "src/accordion/accordion.template.ts",
1529
1498
  "declarations": [
1530
1499
  {
1531
1500
  "kind": "function",
1532
- "name": "menuTemplate",
1501
+ "name": "foundationAccordionTemplate",
1502
+ "return": {
1503
+ "type": {
1504
+ "text": "ViewTemplate<Accordion>"
1505
+ }
1506
+ },
1533
1507
  "parameters": [
1534
1508
  {
1535
- "name": "prefix",
1509
+ "name": "context",
1536
1510
  "type": {
1537
- "text": "string"
1511
+ "text": "ElementDefinitionContext"
1538
1512
  }
1539
- }
1540
- ]
1541
- },
1542
- {
1543
- "kind": "function",
1544
- "name": "singleOptionTemplate",
1545
- "parameters": [
1513
+ },
1546
1514
  {
1547
- "name": "prefix",
1515
+ "name": "definition",
1548
1516
  "type": {
1549
- "text": "string"
1517
+ "text": "FoundationElementDefinition"
1550
1518
  }
1551
1519
  }
1552
1520
  ]
1553
- },
1554
- {
1555
- "kind": "variable",
1556
- "name": "foundationActionsMenuTemplate",
1557
- "type": {
1558
- "text": "ViewTemplate<ActionsMenu>"
1559
- },
1560
- "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`"
1561
1521
  }
1562
1522
  ],
1563
1523
  "exports": [
1564
1524
  {
1565
1525
  "kind": "js",
1566
- "name": "menuTemplate",
1567
- "declaration": {
1568
- "name": "menuTemplate",
1569
- "module": "src/actions-menu/actions-menu.template.ts"
1570
- }
1571
- },
1572
- {
1573
- "kind": "js",
1574
- "name": "singleOptionTemplate",
1575
- "declaration": {
1576
- "name": "singleOptionTemplate",
1577
- "module": "src/actions-menu/actions-menu.template.ts"
1578
- }
1579
- },
1580
- {
1581
- "kind": "js",
1582
- "name": "foundationActionsMenuTemplate",
1526
+ "name": "foundationAccordionTemplate",
1583
1527
  "declaration": {
1584
- "name": "foundationActionsMenuTemplate",
1585
- "module": "src/actions-menu/actions-menu.template.ts"
1528
+ "name": "foundationAccordionTemplate",
1529
+ "module": "src/accordion/accordion.template.ts"
1586
1530
  }
1587
1531
  }
1588
1532
  ]
1589
1533
  },
1590
1534
  {
1591
1535
  "kind": "javascript-module",
1592
- "path": "src/actions-menu/actions-menu.ts",
1536
+ "path": "src/accordion/accordion.ts",
1593
1537
  "declarations": [
1594
1538
  {
1595
1539
  "kind": "class",
1596
1540
  "description": "",
1597
- "name": "ActionsMenu",
1598
- "members": [
1541
+ "name": "Accordion",
1542
+ "superclass": {
1543
+ "name": "FASTAccordion",
1544
+ "package": "@microsoft/fast-foundation"
1545
+ },
1546
+ "tagName": "%%prefix%%-accordion",
1547
+ "customElement": true,
1548
+ "attributes": [
1599
1549
  {
1600
- "kind": "field",
1601
- "name": "actions",
1550
+ "name": "expand-mode",
1602
1551
  "type": {
1603
- "text": "ActionMenuItem[]"
1552
+ "text": "AccordionExpandMode"
1553
+ },
1554
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1555
+ "fieldName": "expandmode",
1556
+ "inheritedFrom": {
1557
+ "name": "Accordion",
1558
+ "module": "src/accordion/accordion.ts"
1604
1559
  }
1605
- },
1560
+ }
1561
+ ],
1562
+ "members": [
1606
1563
  {
1607
1564
  "kind": "field",
1608
- "name": "isVertical",
1565
+ "name": "expandmode",
1609
1566
  "type": {
1610
- "text": "boolean"
1567
+ "text": "AccordionExpandMode"
1611
1568
  },
1612
- "default": "false"
1569
+ "privacy": "public",
1570
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1571
+ "inheritedFrom": {
1572
+ "name": "Accordion",
1573
+ "module": "src/accordion/accordion.ts"
1574
+ }
1613
1575
  },
1614
1576
  {
1615
1577
  "kind": "field",
1616
- "name": "addDefaultActions",
1578
+ "name": "activeid",
1617
1579
  "type": {
1618
- "text": "boolean"
1580
+ "text": "string | null"
1619
1581
  },
1620
- "default": "true"
1582
+ "privacy": "private",
1583
+ "inheritedFrom": {
1584
+ "name": "Accordion",
1585
+ "module": "src/accordion/accordion.ts"
1586
+ }
1621
1587
  },
1622
1588
  {
1623
1589
  "kind": "field",
1624
- "name": "autoCloseOnAction",
1590
+ "name": "activeItemIndex",
1625
1591
  "type": {
1626
- "text": "boolean"
1592
+ "text": "number"
1627
1593
  },
1628
- "default": "true"
1629
- },
1630
- {
1631
- "kind": "field",
1632
- "name": "classNames",
1633
- "type": {
1634
- "text": "string"
1594
+ "privacy": "private",
1595
+ "default": "0",
1596
+ "inheritedFrom": {
1597
+ "name": "Accordion",
1598
+ "module": "src/accordion/accordion.ts"
1635
1599
  }
1636
1600
  },
1637
1601
  {
1638
1602
  "kind": "field",
1639
- "name": "definition",
1603
+ "name": "accordionIds",
1640
1604
  "type": {
1641
- "text": "any"
1605
+ "text": "Array<string | null>"
1606
+ },
1607
+ "privacy": "private",
1608
+ "inheritedFrom": {
1609
+ "name": "Accordion",
1610
+ "module": "src/accordion/accordion.ts"
1642
1611
  }
1643
1612
  },
1644
1613
  {
1645
1614
  "kind": "field",
1646
- "name": "name",
1647
- "type": {
1648
- "text": "string"
1649
- },
1650
- "default": "'Actions'"
1615
+ "name": "change",
1616
+ "privacy": "private",
1617
+ "inheritedFrom": {
1618
+ "name": "Accordion",
1619
+ "module": "src/accordion/accordion.ts"
1620
+ }
1651
1621
  },
1652
1622
  {
1653
- "kind": "field",
1654
- "name": "open",
1655
- "type": {
1656
- "text": "boolean"
1623
+ "kind": "method",
1624
+ "name": "findExpandedItem",
1625
+ "privacy": "private",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": "AccordionItem | null"
1629
+ }
1657
1630
  },
1658
- "default": "false"
1659
- },
1660
- {
1661
- "kind": "field",
1662
- "name": "buttonAppearance",
1663
- "type": {
1664
- "text": "string"
1631
+ "inheritedFrom": {
1632
+ "name": "Accordion",
1633
+ "module": "src/accordion/accordion.ts"
1665
1634
  }
1666
1635
  },
1667
1636
  {
1668
1637
  "kind": "field",
1669
- "name": "hideDisabled",
1670
- "type": {
1671
- "text": "boolean"
1672
- },
1673
- "default": "false"
1638
+ "name": "setItems",
1639
+ "privacy": "private",
1640
+ "inheritedFrom": {
1641
+ "name": "Accordion",
1642
+ "module": "src/accordion/accordion.ts"
1643
+ }
1674
1644
  },
1675
1645
  {
1676
- "kind": "field",
1677
- "name": "hideMenuSingleOption",
1678
- "type": {
1679
- "text": "boolean"
1646
+ "kind": "method",
1647
+ "name": "resetItems",
1648
+ "privacy": "private",
1649
+ "return": {
1650
+ "type": {
1651
+ "text": "void"
1652
+ }
1680
1653
  },
1681
- "default": "false"
1682
- },
1683
- {
1684
- "kind": "field",
1685
- "name": "singleOption",
1686
- "type": {
1687
- "text": "ActionMenuItem"
1654
+ "inheritedFrom": {
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1688
1657
  }
1689
1658
  },
1690
1659
  {
1691
1660
  "kind": "field",
1692
- "name": "actionsMenu",
1693
- "type": {
1694
- "text": "HTMLElement"
1661
+ "name": "removeItemListeners",
1662
+ "privacy": "private",
1663
+ "inheritedFrom": {
1664
+ "name": "Accordion",
1665
+ "module": "src/accordion/accordion.ts"
1695
1666
  }
1696
1667
  },
1697
1668
  {
1698
1669
  "kind": "field",
1699
- "name": "actionsOpener",
1700
- "type": {
1701
- "text": "HTMLElement"
1670
+ "name": "activeItemChange",
1671
+ "privacy": "private",
1672
+ "inheritedFrom": {
1673
+ "name": "Accordion",
1674
+ "module": "src/accordion/accordion.ts"
1702
1675
  }
1703
1676
  },
1704
1677
  {
1705
1678
  "kind": "method",
1706
- "name": "updateMenuPosition",
1707
- "privacy": "private"
1708
- },
1709
- {
1710
- "kind": "method",
1711
- "name": "definitionChanged",
1712
- "privacy": "protected",
1713
- "parameters": [
1714
- {
1715
- "name": "oldValue",
1716
- "type": {
1717
- "text": "any"
1718
- }
1719
- },
1720
- {
1721
- "name": "newValue",
1722
- "type": {
1723
- "text": "any"
1724
- }
1679
+ "name": "getItemIds",
1680
+ "privacy": "private",
1681
+ "return": {
1682
+ "type": {
1683
+ "text": "Array<string | null>"
1725
1684
  }
1726
- ]
1727
- },
1728
- {
1729
- "kind": "method",
1730
- "name": "openChanged",
1731
- "privacy": "protected"
1732
- },
1733
- {
1734
- "kind": "method",
1735
- "name": "toggleActionsMenuVisibility"
1685
+ },
1686
+ "inheritedFrom": {
1687
+ "name": "Accordion",
1688
+ "module": "src/accordion/accordion.ts"
1689
+ }
1736
1690
  },
1737
1691
  {
1738
1692
  "kind": "method",
1739
- "name": "onActionMenuItemClick",
1740
- "parameters": [
1741
- {
1742
- "name": "callback",
1743
- "type": {
1744
- "text": "(rowData) => void | any"
1745
- }
1693
+ "name": "isSingleExpandMode",
1694
+ "privacy": "private",
1695
+ "return": {
1696
+ "type": {
1697
+ "text": "boolean"
1746
1698
  }
1747
- ]
1699
+ },
1700
+ "inheritedFrom": {
1701
+ "name": "Accordion",
1702
+ "module": "src/accordion/accordion.ts"
1703
+ }
1748
1704
  },
1749
1705
  {
1750
1706
  "kind": "field",
1751
- "name": "allActions",
1752
- "type": {
1753
- "text": "ActionMenuItem[]"
1754
- },
1755
- "readonly": true
1707
+ "name": "handleItemKeyDown",
1708
+ "privacy": "private",
1709
+ "inheritedFrom": {
1710
+ "name": "Accordion",
1711
+ "module": "src/accordion/accordion.ts"
1712
+ }
1756
1713
  },
1757
1714
  {
1758
1715
  "kind": "field",
1759
- "name": "rowData",
1760
- "readonly": true
1716
+ "name": "handleItemFocus",
1717
+ "privacy": "private",
1718
+ "inheritedFrom": {
1719
+ "name": "Accordion",
1720
+ "module": "src/accordion/accordion.ts"
1721
+ }
1761
1722
  },
1762
1723
  {
1763
1724
  "kind": "method",
1764
- "name": "getLabel",
1725
+ "name": "adjust",
1726
+ "privacy": "private",
1727
+ "return": {
1728
+ "type": {
1729
+ "text": "void"
1730
+ }
1731
+ },
1765
1732
  "parameters": [
1766
1733
  {
1767
- "name": "name",
1734
+ "name": "adjustment",
1768
1735
  "type": {
1769
- "text": "string | ((rowData: any) => string)"
1736
+ "text": "number"
1770
1737
  }
1771
1738
  }
1772
- ]
1739
+ ],
1740
+ "inheritedFrom": {
1741
+ "name": "Accordion",
1742
+ "module": "src/accordion/accordion.ts"
1743
+ }
1773
1744
  },
1774
1745
  {
1775
1746
  "kind": "method",
1776
- "name": "getTemplate",
1777
- "parameters": [
1778
- {
1779
- "name": "prefix",
1780
- "type": {
1781
- "text": "string"
1782
- }
1747
+ "name": "focusItem",
1748
+ "privacy": "private",
1749
+ "return": {
1750
+ "type": {
1751
+ "text": "void"
1783
1752
  }
1784
- ]
1753
+ },
1754
+ "inheritedFrom": {
1755
+ "name": "Accordion",
1756
+ "module": "src/accordion/accordion.ts"
1757
+ }
1785
1758
  },
1786
1759
  {
1787
1760
  "kind": "field",
@@ -1895,107 +1868,78 @@
1895
1868
  }
1896
1869
  }
1897
1870
  ],
1898
- "attributes": [
1899
- {
1900
- "name": "is-vertical",
1901
- "type": {
1902
- "text": "boolean"
1903
- },
1904
- "default": "false",
1905
- "fieldName": "isVertical"
1906
- },
1907
- {
1908
- "name": "add-default-actions",
1909
- "type": {
1910
- "text": "boolean"
1911
- },
1912
- "default": "true",
1913
- "fieldName": "addDefaultActions"
1914
- },
1915
- {
1916
- "name": "auto-close-on-action",
1917
- "type": {
1918
- "text": "boolean"
1919
- },
1920
- "default": "true",
1921
- "fieldName": "autoCloseOnAction"
1922
- },
1923
- {
1924
- "name": "name",
1925
- "type": {
1926
- "text": "string"
1927
- },
1928
- "default": "'Actions'",
1929
- "fieldName": "name"
1930
- },
1931
- {
1932
- "name": "open",
1933
- "type": {
1934
- "text": "boolean"
1935
- },
1936
- "default": "false",
1937
- "fieldName": "open"
1938
- },
1939
- {
1940
- "name": "buttonAppearance",
1941
- "type": {
1942
- "text": "string"
1943
- },
1944
- "fieldName": "buttonAppearance"
1945
- },
1946
- {
1947
- "name": "hide-disabled",
1948
- "type": {
1949
- "text": "boolean"
1950
- },
1951
- "default": "false",
1952
- "fieldName": "hideDisabled"
1953
- },
1871
+ "events": [
1954
1872
  {
1955
- "name": "hide-menu-single-option",
1956
- "type": {
1957
- "text": "boolean"
1958
- },
1959
- "default": "false",
1960
- "fieldName": "hideMenuSingleOption"
1873
+ "description": "Fires a custom 'change' event when the active item changes",
1874
+ "name": "change",
1875
+ "inheritedFrom": {
1876
+ "name": "Accordion",
1877
+ "module": "src/accordion/accordion.ts"
1878
+ }
1961
1879
  }
1962
- ],
1963
- "superclass": {
1964
- "name": "FoundationElement",
1965
- "package": "@microsoft/fast-foundation"
1880
+ ]
1881
+ },
1882
+ {
1883
+ "kind": "variable",
1884
+ "name": "foundationAccordionShadowOptions",
1885
+ "type": {
1886
+ "text": "ShadowRootInit"
1966
1887
  },
1967
- "tagName": "%%prefix%%-actions-menu",
1968
- "customElement": true
1888
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1969
1889
  },
1970
1890
  {
1971
1891
  "kind": "variable",
1972
- "name": "foundationActionsMenu",
1973
- "description": "The Foundation Actions Menu",
1892
+ "name": "defaultAccordionConfig",
1893
+ "type": {
1894
+ "text": "object"
1895
+ },
1896
+ "default": "{}"
1897
+ },
1898
+ {
1899
+ "kind": "variable",
1900
+ "name": "foundationAccordion",
1901
+ "description": "The Foundation Accordion",
1974
1902
  "privacy": "public"
1975
1903
  }
1976
1904
  ],
1977
1905
  "exports": [
1978
1906
  {
1979
1907
  "kind": "js",
1980
- "name": "ActionsMenu",
1908
+ "name": "Accordion",
1981
1909
  "declaration": {
1982
- "name": "ActionsMenu",
1983
- "module": "src/actions-menu/actions-menu.ts"
1910
+ "name": "Accordion",
1911
+ "module": "src/accordion/accordion.ts"
1984
1912
  }
1985
1913
  },
1986
1914
  {
1987
1915
  "kind": "js",
1988
- "name": "foundationActionsMenu",
1916
+ "name": "foundationAccordionShadowOptions",
1989
1917
  "declaration": {
1990
- "name": "foundationActionsMenu",
1991
- "module": "src/actions-menu/actions-menu.ts"
1918
+ "name": "foundationAccordionShadowOptions",
1919
+ "module": "src/accordion/accordion.ts"
1920
+ }
1921
+ },
1922
+ {
1923
+ "kind": "js",
1924
+ "name": "defaultAccordionConfig",
1925
+ "declaration": {
1926
+ "name": "defaultAccordionConfig",
1927
+ "module": "src/accordion/accordion.ts"
1928
+ }
1929
+ },
1930
+ {
1931
+ "kind": "js",
1932
+ "name": "foundationAccordion",
1933
+ "declaration": {
1934
+ "name": "foundationAccordion",
1935
+ "module": "src/accordion/accordion.ts"
1992
1936
  }
1993
1937
  }
1994
1938
  ]
1995
1939
  },
1996
1940
  {
1997
1941
  "kind": "javascript-module",
1998
- "path": "src/actions-menu/index.ts",
1942
+ "path": "src/accordion/index.ts",
1999
1943
  "declarations": [],
2000
1944
  "exports": [
2001
1945
  {
@@ -2003,7 +1947,7 @@
2003
1947
  "name": "*",
2004
1948
  "declaration": {
2005
1949
  "name": "*",
2006
- "package": "./actions-menu.styles"
1950
+ "package": "./accordion.template"
2007
1951
  }
2008
1952
  },
2009
1953
  {
@@ -2011,7 +1955,7 @@
2011
1955
  "name": "*",
2012
1956
  "declaration": {
2013
1957
  "name": "*",
2014
- "package": "./actions-menu.template"
1958
+ "package": "./accordion.styles"
2015
1959
  }
2016
1960
  },
2017
1961
  {
@@ -2019,18 +1963,41 @@
2019
1963
  "name": "*",
2020
1964
  "declaration": {
2021
1965
  "name": "*",
2022
- "package": "./actions-menu"
1966
+ "package": "./accordion"
2023
1967
  }
2024
1968
  }
2025
1969
  ]
2026
1970
  },
2027
1971
  {
2028
1972
  "kind": "javascript-module",
2029
- "path": "src/accordion-item/accordion-item.styles.ts",
1973
+ "path": "src/actions-menu/actions-menu.styles.ts",
2030
1974
  "declarations": [
2031
1975
  {
2032
1976
  "kind": "function",
2033
- "name": "foundationAccordionItemStyles",
1977
+ "name": "actionsMenuBaseStyles",
1978
+ "return": {
1979
+ "type": {
1980
+ "text": "ElementStyles"
1981
+ }
1982
+ },
1983
+ "parameters": [
1984
+ {
1985
+ "name": "context",
1986
+ "type": {
1987
+ "text": "ElementDefinitionContext"
1988
+ }
1989
+ },
1990
+ {
1991
+ "name": "definition",
1992
+ "type": {
1993
+ "text": "FoundationElementDefinition"
1994
+ }
1995
+ }
1996
+ ]
1997
+ },
1998
+ {
1999
+ "kind": "function",
2000
+ "name": "foundationActionsMenuStyles",
2034
2001
  "return": {
2035
2002
  "type": {
2036
2003
  "text": "ElementStyles"
@@ -2055,157 +2022,282 @@
2055
2022
  "exports": [
2056
2023
  {
2057
2024
  "kind": "js",
2058
- "name": "foundationAccordionItemStyles",
2025
+ "name": "actionsMenuBaseStyles",
2059
2026
  "declaration": {
2060
- "name": "foundationAccordionItemStyles",
2061
- "module": "src/accordion-item/accordion-item.styles.ts"
2027
+ "name": "actionsMenuBaseStyles",
2028
+ "module": "src/actions-menu/actions-menu.styles.ts"
2029
+ }
2030
+ },
2031
+ {
2032
+ "kind": "js",
2033
+ "name": "foundationActionsMenuStyles",
2034
+ "declaration": {
2035
+ "name": "foundationActionsMenuStyles",
2036
+ "module": "src/actions-menu/actions-menu.styles.ts"
2062
2037
  }
2063
2038
  }
2064
2039
  ]
2065
2040
  },
2066
2041
  {
2067
2042
  "kind": "javascript-module",
2068
- "path": "src/accordion-item/accordion-item.template.ts",
2043
+ "path": "src/actions-menu/actions-menu.template.ts",
2069
2044
  "declarations": [
2070
2045
  {
2071
2046
  "kind": "function",
2072
- "name": "foundationAccordionItemTemplate",
2073
- "return": {
2074
- "type": {
2075
- "text": "ViewTemplate<AccordionItem>"
2047
+ "name": "menuTemplate",
2048
+ "parameters": [
2049
+ {
2050
+ "name": "prefix",
2051
+ "type": {
2052
+ "text": "string"
2053
+ }
2076
2054
  }
2077
- },
2055
+ ]
2056
+ },
2057
+ {
2058
+ "kind": "function",
2059
+ "name": "singleOptionTemplate",
2078
2060
  "parameters": [
2079
2061
  {
2080
- "name": "context",
2062
+ "name": "prefix",
2063
+ "type": {
2064
+ "text": "string"
2065
+ }
2066
+ }
2067
+ ]
2068
+ },
2069
+ {
2070
+ "kind": "variable",
2071
+ "name": "foundationActionsMenuTemplate",
2072
+ "type": {
2073
+ "text": "ViewTemplate<ActionsMenu>"
2074
+ },
2075
+ "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`"
2076
+ }
2077
+ ],
2078
+ "exports": [
2079
+ {
2080
+ "kind": "js",
2081
+ "name": "menuTemplate",
2082
+ "declaration": {
2083
+ "name": "menuTemplate",
2084
+ "module": "src/actions-menu/actions-menu.template.ts"
2085
+ }
2086
+ },
2087
+ {
2088
+ "kind": "js",
2089
+ "name": "singleOptionTemplate",
2090
+ "declaration": {
2091
+ "name": "singleOptionTemplate",
2092
+ "module": "src/actions-menu/actions-menu.template.ts"
2093
+ }
2094
+ },
2095
+ {
2096
+ "kind": "js",
2097
+ "name": "foundationActionsMenuTemplate",
2098
+ "declaration": {
2099
+ "name": "foundationActionsMenuTemplate",
2100
+ "module": "src/actions-menu/actions-menu.template.ts"
2101
+ }
2102
+ }
2103
+ ]
2104
+ },
2105
+ {
2106
+ "kind": "javascript-module",
2107
+ "path": "src/actions-menu/actions-menu.ts",
2108
+ "declarations": [
2109
+ {
2110
+ "kind": "class",
2111
+ "description": "",
2112
+ "name": "ActionsMenu",
2113
+ "members": [
2114
+ {
2115
+ "kind": "field",
2116
+ "name": "actions",
2117
+ "type": {
2118
+ "text": "ActionMenuItem[]"
2119
+ }
2120
+ },
2121
+ {
2122
+ "kind": "field",
2123
+ "name": "isVertical",
2124
+ "type": {
2125
+ "text": "boolean"
2126
+ },
2127
+ "default": "false"
2128
+ },
2129
+ {
2130
+ "kind": "field",
2131
+ "name": "addDefaultActions",
2132
+ "type": {
2133
+ "text": "boolean"
2134
+ },
2135
+ "default": "true"
2136
+ },
2137
+ {
2138
+ "kind": "field",
2139
+ "name": "autoCloseOnAction",
2081
2140
  "type": {
2082
- "text": "ElementDefinitionContext"
2141
+ "text": "boolean"
2142
+ },
2143
+ "default": "true"
2144
+ },
2145
+ {
2146
+ "kind": "field",
2147
+ "name": "classNames",
2148
+ "type": {
2149
+ "text": "string"
2083
2150
  }
2084
2151
  },
2085
2152
  {
2153
+ "kind": "field",
2086
2154
  "name": "definition",
2087
2155
  "type": {
2088
- "text": "FoundationElementDefinition"
2156
+ "text": "any"
2089
2157
  }
2090
- }
2091
- ]
2092
- }
2093
- ],
2094
- "exports": [
2095
- {
2096
- "kind": "js",
2097
- "name": "foundationAccordionItemTemplate",
2098
- "declaration": {
2099
- "name": "foundationAccordionItemTemplate",
2100
- "module": "src/accordion-item/accordion-item.template.ts"
2101
- }
2102
- }
2103
- ]
2104
- },
2105
- {
2106
- "kind": "javascript-module",
2107
- "path": "src/accordion-item/accordion-item.ts",
2108
- "declarations": [
2109
- {
2110
- "kind": "class",
2111
- "description": "",
2112
- "name": "AccordionItem",
2113
- "superclass": {
2114
- "name": "FASTAccordionItem",
2115
- "package": "@microsoft/fast-components"
2116
- },
2117
- "tagName": "%%prefix%%-accordion-item",
2118
- "customElement": true,
2119
- "attributes": [
2158
+ },
2120
2159
  {
2121
- "name": "heading-level",
2160
+ "kind": "field",
2161
+ "name": "name",
2122
2162
  "type": {
2123
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2163
+ "text": "string"
2124
2164
  },
2125
- "default": "2",
2126
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2127
- "fieldName": "headinglevel",
2128
- "inheritedFrom": {
2129
- "name": "AccordionItem",
2130
- "module": "src/accordion-item/accordion-item.ts"
2131
- }
2165
+ "default": "'Actions'"
2132
2166
  },
2133
2167
  {
2168
+ "kind": "field",
2169
+ "name": "open",
2134
2170
  "type": {
2135
2171
  "text": "boolean"
2136
2172
  },
2137
- "default": "false",
2138
- "description": "Expands or collapses the item.",
2139
- "fieldName": "expanded",
2140
- "inheritedFrom": {
2141
- "name": "AccordionItem",
2142
- "module": "src/accordion-item/accordion-item.ts"
2143
- }
2173
+ "default": "false"
2144
2174
  },
2145
2175
  {
2146
- "name": "id",
2176
+ "kind": "field",
2177
+ "name": "buttonAppearance",
2147
2178
  "type": {
2148
2179
  "text": "string"
2149
- },
2150
- "description": "The item ID",
2151
- "fieldName": "id",
2152
- "inheritedFrom": {
2153
- "name": "AccordionItem",
2154
- "module": "src/accordion-item/accordion-item.ts"
2155
2180
  }
2156
- }
2157
- ],
2158
- "members": [
2181
+ },
2159
2182
  {
2160
2183
  "kind": "field",
2161
- "name": "headinglevel",
2184
+ "name": "hideDisabled",
2162
2185
  "type": {
2163
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2186
+ "text": "boolean"
2164
2187
  },
2165
- "privacy": "public",
2166
- "default": "2",
2167
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2168
- "inheritedFrom": {
2169
- "name": "AccordionItem",
2170
- "module": "src/accordion-item/accordion-item.ts"
2171
- }
2188
+ "default": "false"
2172
2189
  },
2173
2190
  {
2174
2191
  "kind": "field",
2175
- "name": "expanded",
2192
+ "name": "hideMenuSingleOption",
2176
2193
  "type": {
2177
2194
  "text": "boolean"
2178
2195
  },
2179
- "privacy": "public",
2180
- "default": "false",
2181
- "description": "Expands or collapses the item.",
2182
- "inheritedFrom": {
2183
- "name": "AccordionItem",
2184
- "module": "src/accordion-item/accordion-item.ts"
2196
+ "default": "false"
2197
+ },
2198
+ {
2199
+ "kind": "field",
2200
+ "name": "singleOption",
2201
+ "type": {
2202
+ "text": "ActionMenuItem"
2185
2203
  }
2186
2204
  },
2187
2205
  {
2188
2206
  "kind": "field",
2189
- "name": "id",
2207
+ "name": "actionsMenu",
2190
2208
  "type": {
2191
- "text": "string"
2192
- },
2193
- "privacy": "public",
2194
- "description": "The item ID",
2195
- "inheritedFrom": {
2196
- "name": "AccordionItem",
2197
- "module": "src/accordion-item/accordion-item.ts"
2209
+ "text": "HTMLElement"
2198
2210
  }
2199
2211
  },
2200
2212
  {
2201
2213
  "kind": "field",
2202
- "name": "change",
2203
- "privacy": "private",
2204
- "inheritedFrom": {
2205
- "name": "AccordionItem",
2206
- "module": "src/accordion-item/accordion-item.ts"
2214
+ "name": "actionsOpener",
2215
+ "type": {
2216
+ "text": "HTMLElement"
2207
2217
  }
2208
2218
  },
2219
+ {
2220
+ "kind": "method",
2221
+ "name": "updateMenuPosition",
2222
+ "privacy": "private"
2223
+ },
2224
+ {
2225
+ "kind": "method",
2226
+ "name": "definitionChanged",
2227
+ "privacy": "protected",
2228
+ "parameters": [
2229
+ {
2230
+ "name": "oldValue",
2231
+ "type": {
2232
+ "text": "any"
2233
+ }
2234
+ },
2235
+ {
2236
+ "name": "newValue",
2237
+ "type": {
2238
+ "text": "any"
2239
+ }
2240
+ }
2241
+ ]
2242
+ },
2243
+ {
2244
+ "kind": "method",
2245
+ "name": "openChanged",
2246
+ "privacy": "protected"
2247
+ },
2248
+ {
2249
+ "kind": "method",
2250
+ "name": "toggleActionsMenuVisibility"
2251
+ },
2252
+ {
2253
+ "kind": "method",
2254
+ "name": "onActionMenuItemClick",
2255
+ "parameters": [
2256
+ {
2257
+ "name": "callback",
2258
+ "type": {
2259
+ "text": "(rowData) => void | any"
2260
+ }
2261
+ }
2262
+ ]
2263
+ },
2264
+ {
2265
+ "kind": "field",
2266
+ "name": "allActions",
2267
+ "type": {
2268
+ "text": "ActionMenuItem[]"
2269
+ },
2270
+ "readonly": true
2271
+ },
2272
+ {
2273
+ "kind": "field",
2274
+ "name": "rowData",
2275
+ "readonly": true
2276
+ },
2277
+ {
2278
+ "kind": "method",
2279
+ "name": "getLabel",
2280
+ "parameters": [
2281
+ {
2282
+ "name": "name",
2283
+ "type": {
2284
+ "text": "string | ((rowData: any) => string)"
2285
+ }
2286
+ }
2287
+ ]
2288
+ },
2289
+ {
2290
+ "kind": "method",
2291
+ "name": "getTemplate",
2292
+ "parameters": [
2293
+ {
2294
+ "name": "prefix",
2295
+ "type": {
2296
+ "text": "string"
2297
+ }
2298
+ }
2299
+ ]
2300
+ },
2209
2301
  {
2210
2302
  "kind": "field",
2211
2303
  "name": "_presentation",
@@ -2318,78 +2410,107 @@
2318
2410
  }
2319
2411
  }
2320
2412
  ],
2321
- "events": [
2413
+ "attributes": [
2414
+ {
2415
+ "name": "is-vertical",
2416
+ "type": {
2417
+ "text": "boolean"
2418
+ },
2419
+ "default": "false",
2420
+ "fieldName": "isVertical"
2421
+ },
2422
+ {
2423
+ "name": "add-default-actions",
2424
+ "type": {
2425
+ "text": "boolean"
2426
+ },
2427
+ "default": "true",
2428
+ "fieldName": "addDefaultActions"
2429
+ },
2430
+ {
2431
+ "name": "auto-close-on-action",
2432
+ "type": {
2433
+ "text": "boolean"
2434
+ },
2435
+ "default": "true",
2436
+ "fieldName": "autoCloseOnAction"
2437
+ },
2438
+ {
2439
+ "name": "name",
2440
+ "type": {
2441
+ "text": "string"
2442
+ },
2443
+ "default": "'Actions'",
2444
+ "fieldName": "name"
2445
+ },
2446
+ {
2447
+ "name": "open",
2448
+ "type": {
2449
+ "text": "boolean"
2450
+ },
2451
+ "default": "false",
2452
+ "fieldName": "open"
2453
+ },
2322
2454
  {
2323
- "description": "Fires a custom 'change' event when the button is invoked",
2324
- "name": "change",
2325
- "inheritedFrom": {
2326
- "name": "AccordionItem",
2327
- "module": "src/accordion-item/accordion-item.ts"
2328
- }
2455
+ "name": "buttonAppearance",
2456
+ "type": {
2457
+ "text": "string"
2458
+ },
2459
+ "fieldName": "buttonAppearance"
2460
+ },
2461
+ {
2462
+ "name": "hide-disabled",
2463
+ "type": {
2464
+ "text": "boolean"
2465
+ },
2466
+ "default": "false",
2467
+ "fieldName": "hideDisabled"
2468
+ },
2469
+ {
2470
+ "name": "hide-menu-single-option",
2471
+ "type": {
2472
+ "text": "boolean"
2473
+ },
2474
+ "default": "false",
2475
+ "fieldName": "hideMenuSingleOption"
2329
2476
  }
2330
- ]
2331
- },
2332
- {
2333
- "kind": "variable",
2334
- "name": "foundationAccordionItemShadowOptions",
2335
- "type": {
2336
- "text": "ShadowRootInit"
2337
- },
2338
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2339
- },
2340
- {
2341
- "kind": "variable",
2342
- "name": "defaultAccordionItemConfig",
2343
- "type": {
2344
- "text": "object"
2477
+ ],
2478
+ "superclass": {
2479
+ "name": "FoundationElement",
2480
+ "package": "@microsoft/fast-foundation"
2345
2481
  },
2346
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2482
+ "tagName": "%%prefix%%-actions-menu",
2483
+ "customElement": true
2347
2484
  },
2348
2485
  {
2349
2486
  "kind": "variable",
2350
- "name": "foundationAccordionItem",
2351
- "description": "The Foundation Accordion Item",
2487
+ "name": "foundationActionsMenu",
2488
+ "description": "The Foundation Actions Menu",
2352
2489
  "privacy": "public"
2353
2490
  }
2354
2491
  ],
2355
2492
  "exports": [
2356
2493
  {
2357
2494
  "kind": "js",
2358
- "name": "AccordionItem",
2359
- "declaration": {
2360
- "name": "AccordionItem",
2361
- "module": "src/accordion-item/accordion-item.ts"
2362
- }
2363
- },
2364
- {
2365
- "kind": "js",
2366
- "name": "foundationAccordionItemShadowOptions",
2367
- "declaration": {
2368
- "name": "foundationAccordionItemShadowOptions",
2369
- "module": "src/accordion-item/accordion-item.ts"
2370
- }
2371
- },
2372
- {
2373
- "kind": "js",
2374
- "name": "defaultAccordionItemConfig",
2495
+ "name": "ActionsMenu",
2375
2496
  "declaration": {
2376
- "name": "defaultAccordionItemConfig",
2377
- "module": "src/accordion-item/accordion-item.ts"
2497
+ "name": "ActionsMenu",
2498
+ "module": "src/actions-menu/actions-menu.ts"
2378
2499
  }
2379
2500
  },
2380
2501
  {
2381
2502
  "kind": "js",
2382
- "name": "foundationAccordionItem",
2503
+ "name": "foundationActionsMenu",
2383
2504
  "declaration": {
2384
- "name": "foundationAccordionItem",
2385
- "module": "src/accordion-item/accordion-item.ts"
2505
+ "name": "foundationActionsMenu",
2506
+ "module": "src/actions-menu/actions-menu.ts"
2386
2507
  }
2387
2508
  }
2388
2509
  ]
2389
2510
  },
2390
2511
  {
2391
2512
  "kind": "javascript-module",
2392
- "path": "src/accordion-item/index.ts",
2513
+ "path": "src/actions-menu/index.ts",
2393
2514
  "declarations": [],
2394
2515
  "exports": [
2395
2516
  {
@@ -2397,7 +2518,7 @@
2397
2518
  "name": "*",
2398
2519
  "declaration": {
2399
2520
  "name": "*",
2400
- "package": "./accordion-item.template"
2521
+ "package": "./actions-menu.styles"
2401
2522
  }
2402
2523
  },
2403
2524
  {
@@ -2405,7 +2526,7 @@
2405
2526
  "name": "*",
2406
2527
  "declaration": {
2407
2528
  "name": "*",
2408
- "package": "./accordion-item.styles"
2529
+ "package": "./actions-menu.template"
2409
2530
  }
2410
2531
  },
2411
2532
  {
@@ -2413,7 +2534,7 @@
2413
2534
  "name": "*",
2414
2535
  "declaration": {
2415
2536
  "name": "*",
2416
- "package": "./accordion-item"
2537
+ "package": "./actions-menu"
2417
2538
  }
2418
2539
  }
2419
2540
  ]
@@ -3478,11 +3599,11 @@
3478
3599
  },
3479
3600
  {
3480
3601
  "kind": "javascript-module",
3481
- "path": "src/accordion/accordion.styles.ts",
3602
+ "path": "src/accordion-item/accordion-item.styles.ts",
3482
3603
  "declarations": [
3483
3604
  {
3484
3605
  "kind": "function",
3485
- "name": "foundationAccordionStyles",
3606
+ "name": "foundationAccordionItemStyles",
3486
3607
  "return": {
3487
3608
  "type": {
3488
3609
  "text": "ElementStyles"
@@ -3491,292 +3612,171 @@
3491
3612
  "parameters": [
3492
3613
  {
3493
3614
  "name": "context",
3494
- "type": {
3495
- "text": "ElementDefinitionContext"
3496
- }
3497
- },
3498
- {
3499
- "name": "definition",
3500
- "type": {
3501
- "text": "FoundationElementDefinition"
3502
- }
3503
- }
3504
- ]
3505
- }
3506
- ],
3507
- "exports": [
3508
- {
3509
- "kind": "js",
3510
- "name": "foundationAccordionStyles",
3511
- "declaration": {
3512
- "name": "foundationAccordionStyles",
3513
- "module": "src/accordion/accordion.styles.ts"
3514
- }
3515
- }
3516
- ]
3517
- },
3518
- {
3519
- "kind": "javascript-module",
3520
- "path": "src/accordion/accordion.template.ts",
3521
- "declarations": [
3522
- {
3523
- "kind": "function",
3524
- "name": "foundationAccordionTemplate",
3525
- "return": {
3526
- "type": {
3527
- "text": "ViewTemplate<Accordion>"
3528
- }
3529
- },
3530
- "parameters": [
3531
- {
3532
- "name": "context",
3533
- "type": {
3534
- "text": "ElementDefinitionContext"
3535
- }
3536
- },
3537
- {
3538
- "name": "definition",
3539
- "type": {
3540
- "text": "FoundationElementDefinition"
3541
- }
3542
- }
3543
- ]
3544
- }
3545
- ],
3546
- "exports": [
3547
- {
3548
- "kind": "js",
3549
- "name": "foundationAccordionTemplate",
3550
- "declaration": {
3551
- "name": "foundationAccordionTemplate",
3552
- "module": "src/accordion/accordion.template.ts"
3553
- }
3554
- }
3555
- ]
3556
- },
3557
- {
3558
- "kind": "javascript-module",
3559
- "path": "src/accordion/accordion.ts",
3560
- "declarations": [
3561
- {
3562
- "kind": "class",
3563
- "description": "",
3564
- "name": "Accordion",
3565
- "superclass": {
3566
- "name": "FASTAccordion",
3567
- "package": "@microsoft/fast-foundation"
3568
- },
3569
- "tagName": "%%prefix%%-accordion",
3570
- "customElement": true,
3571
- "attributes": [
3572
- {
3573
- "name": "expand-mode",
3574
- "type": {
3575
- "text": "AccordionExpandMode"
3576
- },
3577
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3578
- "fieldName": "expandmode",
3579
- "inheritedFrom": {
3580
- "name": "Accordion",
3581
- "module": "src/accordion/accordion.ts"
3582
- }
3583
- }
3584
- ],
3585
- "members": [
3586
- {
3587
- "kind": "field",
3588
- "name": "expandmode",
3589
- "type": {
3590
- "text": "AccordionExpandMode"
3591
- },
3592
- "privacy": "public",
3593
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3594
- "inheritedFrom": {
3595
- "name": "Accordion",
3596
- "module": "src/accordion/accordion.ts"
3597
- }
3598
- },
3599
- {
3600
- "kind": "field",
3601
- "name": "activeid",
3602
- "type": {
3603
- "text": "string | null"
3604
- },
3605
- "privacy": "private",
3606
- "inheritedFrom": {
3607
- "name": "Accordion",
3608
- "module": "src/accordion/accordion.ts"
3609
- }
3610
- },
3611
- {
3612
- "kind": "field",
3613
- "name": "activeItemIndex",
3614
- "type": {
3615
- "text": "number"
3616
- },
3617
- "privacy": "private",
3618
- "default": "0",
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3622
- }
3623
- },
3624
- {
3625
- "kind": "field",
3626
- "name": "accordionIds",
3627
- "type": {
3628
- "text": "Array<string | null>"
3629
- },
3630
- "privacy": "private",
3631
- "inheritedFrom": {
3632
- "name": "Accordion",
3633
- "module": "src/accordion/accordion.ts"
3634
- }
3635
- },
3636
- {
3637
- "kind": "field",
3638
- "name": "change",
3639
- "privacy": "private",
3640
- "inheritedFrom": {
3641
- "name": "Accordion",
3642
- "module": "src/accordion/accordion.ts"
3643
- }
3644
- },
3645
- {
3646
- "kind": "method",
3647
- "name": "findExpandedItem",
3648
- "privacy": "private",
3649
- "return": {
3650
- "type": {
3651
- "text": "AccordionItem | null"
3652
- }
3653
- },
3654
- "inheritedFrom": {
3655
- "name": "Accordion",
3656
- "module": "src/accordion/accordion.ts"
3615
+ "type": {
3616
+ "text": "ElementDefinitionContext"
3657
3617
  }
3658
3618
  },
3659
3619
  {
3660
- "kind": "field",
3661
- "name": "setItems",
3662
- "privacy": "private",
3663
- "inheritedFrom": {
3664
- "name": "Accordion",
3665
- "module": "src/accordion/accordion.ts"
3620
+ "name": "definition",
3621
+ "type": {
3622
+ "text": "FoundationElementDefinition"
3666
3623
  }
3667
- },
3624
+ }
3625
+ ]
3626
+ }
3627
+ ],
3628
+ "exports": [
3629
+ {
3630
+ "kind": "js",
3631
+ "name": "foundationAccordionItemStyles",
3632
+ "declaration": {
3633
+ "name": "foundationAccordionItemStyles",
3634
+ "module": "src/accordion-item/accordion-item.styles.ts"
3635
+ }
3636
+ }
3637
+ ]
3638
+ },
3639
+ {
3640
+ "kind": "javascript-module",
3641
+ "path": "src/accordion-item/accordion-item.template.ts",
3642
+ "declarations": [
3643
+ {
3644
+ "kind": "function",
3645
+ "name": "foundationAccordionItemTemplate",
3646
+ "return": {
3647
+ "type": {
3648
+ "text": "ViewTemplate<AccordionItem>"
3649
+ }
3650
+ },
3651
+ "parameters": [
3668
3652
  {
3669
- "kind": "method",
3670
- "name": "resetItems",
3671
- "privacy": "private",
3672
- "return": {
3673
- "type": {
3674
- "text": "void"
3675
- }
3676
- },
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3653
+ "name": "context",
3654
+ "type": {
3655
+ "text": "ElementDefinitionContext"
3680
3656
  }
3681
3657
  },
3682
3658
  {
3683
- "kind": "field",
3684
- "name": "removeItemListeners",
3685
- "privacy": "private",
3686
- "inheritedFrom": {
3687
- "name": "Accordion",
3688
- "module": "src/accordion/accordion.ts"
3659
+ "name": "definition",
3660
+ "type": {
3661
+ "text": "FoundationElementDefinition"
3689
3662
  }
3690
- },
3663
+ }
3664
+ ]
3665
+ }
3666
+ ],
3667
+ "exports": [
3668
+ {
3669
+ "kind": "js",
3670
+ "name": "foundationAccordionItemTemplate",
3671
+ "declaration": {
3672
+ "name": "foundationAccordionItemTemplate",
3673
+ "module": "src/accordion-item/accordion-item.template.ts"
3674
+ }
3675
+ }
3676
+ ]
3677
+ },
3678
+ {
3679
+ "kind": "javascript-module",
3680
+ "path": "src/accordion-item/accordion-item.ts",
3681
+ "declarations": [
3682
+ {
3683
+ "kind": "class",
3684
+ "description": "",
3685
+ "name": "AccordionItem",
3686
+ "superclass": {
3687
+ "name": "FASTAccordionItem",
3688
+ "package": "@microsoft/fast-components"
3689
+ },
3690
+ "tagName": "%%prefix%%-accordion-item",
3691
+ "customElement": true,
3692
+ "attributes": [
3691
3693
  {
3692
- "kind": "field",
3693
- "name": "activeItemChange",
3694
- "privacy": "private",
3694
+ "name": "heading-level",
3695
+ "type": {
3696
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3697
+ },
3698
+ "default": "2",
3699
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3700
+ "fieldName": "headinglevel",
3695
3701
  "inheritedFrom": {
3696
- "name": "Accordion",
3697
- "module": "src/accordion/accordion.ts"
3702
+ "name": "AccordionItem",
3703
+ "module": "src/accordion-item/accordion-item.ts"
3698
3704
  }
3699
3705
  },
3700
3706
  {
3701
- "kind": "method",
3702
- "name": "getItemIds",
3703
- "privacy": "private",
3704
- "return": {
3705
- "type": {
3706
- "text": "Array<string | null>"
3707
- }
3707
+ "type": {
3708
+ "text": "boolean"
3708
3709
  },
3710
+ "default": "false",
3711
+ "description": "Expands or collapses the item.",
3712
+ "fieldName": "expanded",
3709
3713
  "inheritedFrom": {
3710
- "name": "Accordion",
3711
- "module": "src/accordion/accordion.ts"
3714
+ "name": "AccordionItem",
3715
+ "module": "src/accordion-item/accordion-item.ts"
3712
3716
  }
3713
3717
  },
3714
3718
  {
3715
- "kind": "method",
3716
- "name": "isSingleExpandMode",
3717
- "privacy": "private",
3718
- "return": {
3719
- "type": {
3720
- "text": "boolean"
3721
- }
3719
+ "name": "id",
3720
+ "type": {
3721
+ "text": "string"
3722
3722
  },
3723
+ "description": "The item ID",
3724
+ "fieldName": "id",
3723
3725
  "inheritedFrom": {
3724
- "name": "Accordion",
3725
- "module": "src/accordion/accordion.ts"
3726
+ "name": "AccordionItem",
3727
+ "module": "src/accordion-item/accordion-item.ts"
3726
3728
  }
3727
- },
3729
+ }
3730
+ ],
3731
+ "members": [
3728
3732
  {
3729
3733
  "kind": "field",
3730
- "name": "handleItemKeyDown",
3731
- "privacy": "private",
3734
+ "name": "headinglevel",
3735
+ "type": {
3736
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3737
+ },
3738
+ "privacy": "public",
3739
+ "default": "2",
3740
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3732
3741
  "inheritedFrom": {
3733
- "name": "Accordion",
3734
- "module": "src/accordion/accordion.ts"
3742
+ "name": "AccordionItem",
3743
+ "module": "src/accordion-item/accordion-item.ts"
3735
3744
  }
3736
3745
  },
3737
3746
  {
3738
3747
  "kind": "field",
3739
- "name": "handleItemFocus",
3740
- "privacy": "private",
3748
+ "name": "expanded",
3749
+ "type": {
3750
+ "text": "boolean"
3751
+ },
3752
+ "privacy": "public",
3753
+ "default": "false",
3754
+ "description": "Expands or collapses the item.",
3741
3755
  "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3756
+ "name": "AccordionItem",
3757
+ "module": "src/accordion-item/accordion-item.ts"
3744
3758
  }
3745
3759
  },
3746
3760
  {
3747
- "kind": "method",
3748
- "name": "adjust",
3749
- "privacy": "private",
3750
- "return": {
3751
- "type": {
3752
- "text": "void"
3753
- }
3761
+ "kind": "field",
3762
+ "name": "id",
3763
+ "type": {
3764
+ "text": "string"
3754
3765
  },
3755
- "parameters": [
3756
- {
3757
- "name": "adjustment",
3758
- "type": {
3759
- "text": "number"
3760
- }
3761
- }
3762
- ],
3766
+ "privacy": "public",
3767
+ "description": "The item ID",
3763
3768
  "inheritedFrom": {
3764
- "name": "Accordion",
3765
- "module": "src/accordion/accordion.ts"
3769
+ "name": "AccordionItem",
3770
+ "module": "src/accordion-item/accordion-item.ts"
3766
3771
  }
3767
3772
  },
3768
3773
  {
3769
- "kind": "method",
3770
- "name": "focusItem",
3774
+ "kind": "field",
3775
+ "name": "change",
3771
3776
  "privacy": "private",
3772
- "return": {
3773
- "type": {
3774
- "text": "void"
3775
- }
3776
- },
3777
3777
  "inheritedFrom": {
3778
- "name": "Accordion",
3779
- "module": "src/accordion/accordion.ts"
3778
+ "name": "AccordionItem",
3779
+ "module": "src/accordion-item/accordion-item.ts"
3780
3780
  }
3781
3781
  },
3782
3782
  {
@@ -3893,18 +3893,18 @@
3893
3893
  ],
3894
3894
  "events": [
3895
3895
  {
3896
- "description": "Fires a custom 'change' event when the active item changes",
3896
+ "description": "Fires a custom 'change' event when the button is invoked",
3897
3897
  "name": "change",
3898
3898
  "inheritedFrom": {
3899
- "name": "Accordion",
3900
- "module": "src/accordion/accordion.ts"
3899
+ "name": "AccordionItem",
3900
+ "module": "src/accordion-item/accordion-item.ts"
3901
3901
  }
3902
3902
  }
3903
3903
  ]
3904
3904
  },
3905
3905
  {
3906
3906
  "kind": "variable",
3907
- "name": "foundationAccordionShadowOptions",
3907
+ "name": "foundationAccordionItemShadowOptions",
3908
3908
  "type": {
3909
3909
  "text": "ShadowRootInit"
3910
3910
  },
@@ -3912,57 +3912,57 @@
3912
3912
  },
3913
3913
  {
3914
3914
  "kind": "variable",
3915
- "name": "defaultAccordionConfig",
3915
+ "name": "defaultAccordionItemConfig",
3916
3916
  "type": {
3917
3917
  "text": "object"
3918
3918
  },
3919
- "default": "{}"
3919
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
3920
3920
  },
3921
3921
  {
3922
3922
  "kind": "variable",
3923
- "name": "foundationAccordion",
3924
- "description": "The Foundation Accordion",
3923
+ "name": "foundationAccordionItem",
3924
+ "description": "The Foundation Accordion Item",
3925
3925
  "privacy": "public"
3926
3926
  }
3927
3927
  ],
3928
3928
  "exports": [
3929
3929
  {
3930
3930
  "kind": "js",
3931
- "name": "Accordion",
3931
+ "name": "AccordionItem",
3932
3932
  "declaration": {
3933
- "name": "Accordion",
3934
- "module": "src/accordion/accordion.ts"
3933
+ "name": "AccordionItem",
3934
+ "module": "src/accordion-item/accordion-item.ts"
3935
3935
  }
3936
3936
  },
3937
3937
  {
3938
3938
  "kind": "js",
3939
- "name": "foundationAccordionShadowOptions",
3939
+ "name": "foundationAccordionItemShadowOptions",
3940
3940
  "declaration": {
3941
- "name": "foundationAccordionShadowOptions",
3942
- "module": "src/accordion/accordion.ts"
3941
+ "name": "foundationAccordionItemShadowOptions",
3942
+ "module": "src/accordion-item/accordion-item.ts"
3943
3943
  }
3944
3944
  },
3945
3945
  {
3946
3946
  "kind": "js",
3947
- "name": "defaultAccordionConfig",
3947
+ "name": "defaultAccordionItemConfig",
3948
3948
  "declaration": {
3949
- "name": "defaultAccordionConfig",
3950
- "module": "src/accordion/accordion.ts"
3949
+ "name": "defaultAccordionItemConfig",
3950
+ "module": "src/accordion-item/accordion-item.ts"
3951
3951
  }
3952
3952
  },
3953
3953
  {
3954
3954
  "kind": "js",
3955
- "name": "foundationAccordion",
3955
+ "name": "foundationAccordionItem",
3956
3956
  "declaration": {
3957
- "name": "foundationAccordion",
3958
- "module": "src/accordion/accordion.ts"
3957
+ "name": "foundationAccordionItem",
3958
+ "module": "src/accordion-item/accordion-item.ts"
3959
3959
  }
3960
3960
  }
3961
3961
  ]
3962
3962
  },
3963
3963
  {
3964
3964
  "kind": "javascript-module",
3965
- "path": "src/accordion/index.ts",
3965
+ "path": "src/accordion-item/index.ts",
3966
3966
  "declarations": [],
3967
3967
  "exports": [
3968
3968
  {
@@ -3970,7 +3970,7 @@
3970
3970
  "name": "*",
3971
3971
  "declaration": {
3972
3972
  "name": "*",
3973
- "package": "./accordion.template"
3973
+ "package": "./accordion-item.template"
3974
3974
  }
3975
3975
  },
3976
3976
  {
@@ -3978,7 +3978,7 @@
3978
3978
  "name": "*",
3979
3979
  "declaration": {
3980
3980
  "name": "*",
3981
- "package": "./accordion.styles"
3981
+ "package": "./accordion-item.styles"
3982
3982
  }
3983
3983
  },
3984
3984
  {
@@ -3986,7 +3986,7 @@
3986
3986
  "name": "*",
3987
3987
  "declaration": {
3988
3988
  "name": "*",
3989
- "package": "./accordion"
3989
+ "package": "./accordion-item"
3990
3990
  }
3991
3991
  }
3992
3992
  ]