@genesislcap/foundation-ui 14.451.2-FUI-2550.2 → 14.451.2-FUI-2550.5

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.
@@ -1431,11 +1431,11 @@
1431
1431
  },
1432
1432
  {
1433
1433
  "kind": "javascript-module",
1434
- "path": "src/accordion-item/accordion-item.styles.ts",
1434
+ "path": "src/accordion/accordion.styles.ts",
1435
1435
  "declarations": [
1436
1436
  {
1437
1437
  "kind": "function",
1438
- "name": "foundationAccordionItemStyles",
1438
+ "name": "foundationAccordionStyles",
1439
1439
  "return": {
1440
1440
  "type": {
1441
1441
  "text": "ElementStyles"
@@ -1460,24 +1460,24 @@
1460
1460
  "exports": [
1461
1461
  {
1462
1462
  "kind": "js",
1463
- "name": "foundationAccordionItemStyles",
1463
+ "name": "foundationAccordionStyles",
1464
1464
  "declaration": {
1465
- "name": "foundationAccordionItemStyles",
1466
- "module": "src/accordion-item/accordion-item.styles.ts"
1465
+ "name": "foundationAccordionStyles",
1466
+ "module": "src/accordion/accordion.styles.ts"
1467
1467
  }
1468
1468
  }
1469
1469
  ]
1470
1470
  },
1471
1471
  {
1472
1472
  "kind": "javascript-module",
1473
- "path": "src/accordion-item/accordion-item.template.ts",
1473
+ "path": "src/accordion/accordion.template.ts",
1474
1474
  "declarations": [
1475
1475
  {
1476
1476
  "kind": "function",
1477
- "name": "foundationAccordionItemTemplate",
1477
+ "name": "foundationAccordionTemplate",
1478
1478
  "return": {
1479
1479
  "type": {
1480
- "text": "ViewTemplate<AccordionItem>"
1480
+ "text": "ViewTemplate<Accordion>"
1481
1481
  }
1482
1482
  },
1483
1483
  "parameters": [
@@ -1499,116 +1499,237 @@
1499
1499
  "exports": [
1500
1500
  {
1501
1501
  "kind": "js",
1502
- "name": "foundationAccordionItemTemplate",
1502
+ "name": "foundationAccordionTemplate",
1503
1503
  "declaration": {
1504
- "name": "foundationAccordionItemTemplate",
1505
- "module": "src/accordion-item/accordion-item.template.ts"
1504
+ "name": "foundationAccordionTemplate",
1505
+ "module": "src/accordion/accordion.template.ts"
1506
1506
  }
1507
1507
  }
1508
1508
  ]
1509
1509
  },
1510
1510
  {
1511
1511
  "kind": "javascript-module",
1512
- "path": "src/accordion-item/accordion-item.ts",
1512
+ "path": "src/accordion/accordion.ts",
1513
1513
  "declarations": [
1514
1514
  {
1515
1515
  "kind": "class",
1516
1516
  "description": "",
1517
- "name": "AccordionItem",
1517
+ "name": "Accordion",
1518
1518
  "superclass": {
1519
- "name": "FASTAccordionItem",
1520
- "package": "@microsoft/fast-components"
1519
+ "name": "FASTAccordion",
1520
+ "package": "@microsoft/fast-foundation"
1521
1521
  },
1522
- "tagName": "%%prefix%%-accordion-item",
1522
+ "tagName": "%%prefix%%-accordion",
1523
1523
  "customElement": true,
1524
1524
  "attributes": [
1525
1525
  {
1526
- "name": "heading-level",
1526
+ "name": "expand-mode",
1527
1527
  "type": {
1528
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1528
+ "text": "AccordionExpandMode"
1529
1529
  },
1530
- "default": "2",
1531
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1532
- "fieldName": "headinglevel",
1530
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1531
+ "fieldName": "expandmode",
1533
1532
  "inheritedFrom": {
1534
- "name": "AccordionItem",
1535
- "module": "src/accordion-item/accordion-item.ts"
1533
+ "name": "Accordion",
1534
+ "module": "src/accordion/accordion.ts"
1536
1535
  }
1537
- },
1536
+ }
1537
+ ],
1538
+ "members": [
1538
1539
  {
1540
+ "kind": "field",
1541
+ "name": "expandmode",
1539
1542
  "type": {
1540
- "text": "boolean"
1543
+ "text": "AccordionExpandMode"
1541
1544
  },
1542
- "default": "false",
1543
- "description": "Expands or collapses the item.",
1544
- "fieldName": "expanded",
1545
+ "privacy": "public",
1546
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1545
1547
  "inheritedFrom": {
1546
- "name": "AccordionItem",
1547
- "module": "src/accordion-item/accordion-item.ts"
1548
+ "name": "Accordion",
1549
+ "module": "src/accordion/accordion.ts"
1548
1550
  }
1549
1551
  },
1550
1552
  {
1551
- "name": "id",
1553
+ "kind": "field",
1554
+ "name": "activeid",
1552
1555
  "type": {
1553
- "text": "string"
1556
+ "text": "string | null"
1554
1557
  },
1555
- "description": "The item ID",
1556
- "fieldName": "id",
1558
+ "privacy": "private",
1557
1559
  "inheritedFrom": {
1558
- "name": "AccordionItem",
1559
- "module": "src/accordion-item/accordion-item.ts"
1560
+ "name": "Accordion",
1561
+ "module": "src/accordion/accordion.ts"
1560
1562
  }
1561
- }
1562
- ],
1563
- "members": [
1563
+ },
1564
1564
  {
1565
1565
  "kind": "field",
1566
- "name": "headinglevel",
1566
+ "name": "activeItemIndex",
1567
1567
  "type": {
1568
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1568
+ "text": "number"
1569
1569
  },
1570
- "privacy": "public",
1571
- "default": "2",
1572
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1570
+ "privacy": "private",
1571
+ "default": "0",
1573
1572
  "inheritedFrom": {
1574
- "name": "AccordionItem",
1575
- "module": "src/accordion-item/accordion-item.ts"
1573
+ "name": "Accordion",
1574
+ "module": "src/accordion/accordion.ts"
1576
1575
  }
1577
1576
  },
1578
1577
  {
1579
1578
  "kind": "field",
1580
- "name": "expanded",
1579
+ "name": "accordionIds",
1581
1580
  "type": {
1582
- "text": "boolean"
1581
+ "text": "Array<string | null>"
1583
1582
  },
1584
- "privacy": "public",
1585
- "default": "false",
1586
- "description": "Expands or collapses the item.",
1583
+ "privacy": "private",
1587
1584
  "inheritedFrom": {
1588
- "name": "AccordionItem",
1589
- "module": "src/accordion-item/accordion-item.ts"
1585
+ "name": "Accordion",
1586
+ "module": "src/accordion/accordion.ts"
1590
1587
  }
1591
1588
  },
1592
1589
  {
1593
1590
  "kind": "field",
1594
- "name": "id",
1595
- "type": {
1596
- "text": "string"
1591
+ "name": "change",
1592
+ "privacy": "private",
1593
+ "inheritedFrom": {
1594
+ "name": "Accordion",
1595
+ "module": "src/accordion/accordion.ts"
1596
+ }
1597
+ },
1598
+ {
1599
+ "kind": "method",
1600
+ "name": "findExpandedItem",
1601
+ "privacy": "private",
1602
+ "return": {
1603
+ "type": {
1604
+ "text": "AccordionItem | null"
1605
+ }
1597
1606
  },
1598
- "privacy": "public",
1599
- "description": "The item ID",
1600
1607
  "inheritedFrom": {
1601
- "name": "AccordionItem",
1602
- "module": "src/accordion-item/accordion-item.ts"
1608
+ "name": "Accordion",
1609
+ "module": "src/accordion/accordion.ts"
1603
1610
  }
1604
1611
  },
1605
1612
  {
1606
1613
  "kind": "field",
1607
- "name": "change",
1614
+ "name": "setItems",
1608
1615
  "privacy": "private",
1609
1616
  "inheritedFrom": {
1610
- "name": "AccordionItem",
1611
- "module": "src/accordion-item/accordion-item.ts"
1617
+ "name": "Accordion",
1618
+ "module": "src/accordion/accordion.ts"
1619
+ }
1620
+ },
1621
+ {
1622
+ "kind": "method",
1623
+ "name": "resetItems",
1624
+ "privacy": "private",
1625
+ "return": {
1626
+ "type": {
1627
+ "text": "void"
1628
+ }
1629
+ },
1630
+ "inheritedFrom": {
1631
+ "name": "Accordion",
1632
+ "module": "src/accordion/accordion.ts"
1633
+ }
1634
+ },
1635
+ {
1636
+ "kind": "field",
1637
+ "name": "removeItemListeners",
1638
+ "privacy": "private",
1639
+ "inheritedFrom": {
1640
+ "name": "Accordion",
1641
+ "module": "src/accordion/accordion.ts"
1642
+ }
1643
+ },
1644
+ {
1645
+ "kind": "field",
1646
+ "name": "activeItemChange",
1647
+ "privacy": "private",
1648
+ "inheritedFrom": {
1649
+ "name": "Accordion",
1650
+ "module": "src/accordion/accordion.ts"
1651
+ }
1652
+ },
1653
+ {
1654
+ "kind": "method",
1655
+ "name": "getItemIds",
1656
+ "privacy": "private",
1657
+ "return": {
1658
+ "type": {
1659
+ "text": "Array<string | null>"
1660
+ }
1661
+ },
1662
+ "inheritedFrom": {
1663
+ "name": "Accordion",
1664
+ "module": "src/accordion/accordion.ts"
1665
+ }
1666
+ },
1667
+ {
1668
+ "kind": "method",
1669
+ "name": "isSingleExpandMode",
1670
+ "privacy": "private",
1671
+ "return": {
1672
+ "type": {
1673
+ "text": "boolean"
1674
+ }
1675
+ },
1676
+ "inheritedFrom": {
1677
+ "name": "Accordion",
1678
+ "module": "src/accordion/accordion.ts"
1679
+ }
1680
+ },
1681
+ {
1682
+ "kind": "field",
1683
+ "name": "handleItemKeyDown",
1684
+ "privacy": "private",
1685
+ "inheritedFrom": {
1686
+ "name": "Accordion",
1687
+ "module": "src/accordion/accordion.ts"
1688
+ }
1689
+ },
1690
+ {
1691
+ "kind": "field",
1692
+ "name": "handleItemFocus",
1693
+ "privacy": "private",
1694
+ "inheritedFrom": {
1695
+ "name": "Accordion",
1696
+ "module": "src/accordion/accordion.ts"
1697
+ }
1698
+ },
1699
+ {
1700
+ "kind": "method",
1701
+ "name": "adjust",
1702
+ "privacy": "private",
1703
+ "return": {
1704
+ "type": {
1705
+ "text": "void"
1706
+ }
1707
+ },
1708
+ "parameters": [
1709
+ {
1710
+ "name": "adjustment",
1711
+ "type": {
1712
+ "text": "number"
1713
+ }
1714
+ }
1715
+ ],
1716
+ "inheritedFrom": {
1717
+ "name": "Accordion",
1718
+ "module": "src/accordion/accordion.ts"
1719
+ }
1720
+ },
1721
+ {
1722
+ "kind": "method",
1723
+ "name": "focusItem",
1724
+ "privacy": "private",
1725
+ "return": {
1726
+ "type": {
1727
+ "text": "void"
1728
+ }
1729
+ },
1730
+ "inheritedFrom": {
1731
+ "name": "Accordion",
1732
+ "module": "src/accordion/accordion.ts"
1612
1733
  }
1613
1734
  },
1614
1735
  {
@@ -1725,18 +1846,18 @@
1725
1846
  ],
1726
1847
  "events": [
1727
1848
  {
1728
- "description": "Fires a custom 'change' event when the button is invoked",
1849
+ "description": "Fires a custom 'change' event when the active item changes",
1729
1850
  "name": "change",
1730
1851
  "inheritedFrom": {
1731
- "name": "AccordionItem",
1732
- "module": "src/accordion-item/accordion-item.ts"
1852
+ "name": "Accordion",
1853
+ "module": "src/accordion/accordion.ts"
1733
1854
  }
1734
1855
  }
1735
1856
  ]
1736
1857
  },
1737
1858
  {
1738
1859
  "kind": "variable",
1739
- "name": "foundationAccordionItemShadowOptions",
1860
+ "name": "foundationAccordionShadowOptions",
1740
1861
  "type": {
1741
1862
  "text": "ShadowRootInit"
1742
1863
  },
@@ -1744,57 +1865,57 @@
1744
1865
  },
1745
1866
  {
1746
1867
  "kind": "variable",
1747
- "name": "defaultAccordionItemConfig",
1868
+ "name": "defaultAccordionConfig",
1748
1869
  "type": {
1749
1870
  "text": "object"
1750
1871
  },
1751
- "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}"
1872
+ "default": "{}"
1752
1873
  },
1753
1874
  {
1754
1875
  "kind": "variable",
1755
- "name": "foundationAccordionItem",
1756
- "description": "The Foundation Accordion Item",
1876
+ "name": "foundationAccordion",
1877
+ "description": "The Foundation Accordion",
1757
1878
  "privacy": "public"
1758
1879
  }
1759
1880
  ],
1760
1881
  "exports": [
1761
1882
  {
1762
1883
  "kind": "js",
1763
- "name": "AccordionItem",
1884
+ "name": "Accordion",
1764
1885
  "declaration": {
1765
- "name": "AccordionItem",
1766
- "module": "src/accordion-item/accordion-item.ts"
1886
+ "name": "Accordion",
1887
+ "module": "src/accordion/accordion.ts"
1767
1888
  }
1768
1889
  },
1769
1890
  {
1770
1891
  "kind": "js",
1771
- "name": "foundationAccordionItemShadowOptions",
1892
+ "name": "foundationAccordionShadowOptions",
1772
1893
  "declaration": {
1773
- "name": "foundationAccordionItemShadowOptions",
1774
- "module": "src/accordion-item/accordion-item.ts"
1894
+ "name": "foundationAccordionShadowOptions",
1895
+ "module": "src/accordion/accordion.ts"
1775
1896
  }
1776
1897
  },
1777
1898
  {
1778
1899
  "kind": "js",
1779
- "name": "defaultAccordionItemConfig",
1900
+ "name": "defaultAccordionConfig",
1780
1901
  "declaration": {
1781
- "name": "defaultAccordionItemConfig",
1782
- "module": "src/accordion-item/accordion-item.ts"
1902
+ "name": "defaultAccordionConfig",
1903
+ "module": "src/accordion/accordion.ts"
1783
1904
  }
1784
1905
  },
1785
1906
  {
1786
1907
  "kind": "js",
1787
- "name": "foundationAccordionItem",
1908
+ "name": "foundationAccordion",
1788
1909
  "declaration": {
1789
- "name": "foundationAccordionItem",
1790
- "module": "src/accordion-item/accordion-item.ts"
1910
+ "name": "foundationAccordion",
1911
+ "module": "src/accordion/accordion.ts"
1791
1912
  }
1792
1913
  }
1793
1914
  ]
1794
1915
  },
1795
1916
  {
1796
1917
  "kind": "javascript-module",
1797
- "path": "src/accordion-item/index.ts",
1918
+ "path": "src/accordion/index.ts",
1798
1919
  "declarations": [],
1799
1920
  "exports": [
1800
1921
  {
@@ -1802,7 +1923,7 @@
1802
1923
  "name": "*",
1803
1924
  "declaration": {
1804
1925
  "name": "*",
1805
- "package": "./accordion-item.template"
1926
+ "package": "./accordion.template"
1806
1927
  }
1807
1928
  },
1808
1929
  {
@@ -1810,7 +1931,7 @@
1810
1931
  "name": "*",
1811
1932
  "declaration": {
1812
1933
  "name": "*",
1813
- "package": "./accordion-item.styles"
1934
+ "package": "./accordion.styles"
1814
1935
  }
1815
1936
  },
1816
1937
  {
@@ -1818,18 +1939,41 @@
1818
1939
  "name": "*",
1819
1940
  "declaration": {
1820
1941
  "name": "*",
1821
- "package": "./accordion-item"
1942
+ "package": "./accordion"
1822
1943
  }
1823
1944
  }
1824
1945
  ]
1825
1946
  },
1826
1947
  {
1827
1948
  "kind": "javascript-module",
1828
- "path": "src/accordion/accordion.styles.ts",
1949
+ "path": "src/actions-menu/actions-menu.styles.ts",
1829
1950
  "declarations": [
1830
1951
  {
1831
1952
  "kind": "function",
1832
- "name": "foundationAccordionStyles",
1953
+ "name": "actionsMenuBaseStyles",
1954
+ "return": {
1955
+ "type": {
1956
+ "text": "ElementStyles"
1957
+ }
1958
+ },
1959
+ "parameters": [
1960
+ {
1961
+ "name": "context",
1962
+ "type": {
1963
+ "text": "ElementDefinitionContext"
1964
+ }
1965
+ },
1966
+ {
1967
+ "name": "definition",
1968
+ "type": {
1969
+ "text": "FoundationElementDefinition"
1970
+ }
1971
+ }
1972
+ ]
1973
+ },
1974
+ {
1975
+ "kind": "function",
1976
+ "name": "foundationActionsMenuStyles",
1833
1977
  "return": {
1834
1978
  "type": {
1835
1979
  "text": "ElementStyles"
@@ -1854,277 +1998,269 @@
1854
1998
  "exports": [
1855
1999
  {
1856
2000
  "kind": "js",
1857
- "name": "foundationAccordionStyles",
2001
+ "name": "actionsMenuBaseStyles",
1858
2002
  "declaration": {
1859
- "name": "foundationAccordionStyles",
1860
- "module": "src/accordion/accordion.styles.ts"
2003
+ "name": "actionsMenuBaseStyles",
2004
+ "module": "src/actions-menu/actions-menu.styles.ts"
2005
+ }
2006
+ },
2007
+ {
2008
+ "kind": "js",
2009
+ "name": "foundationActionsMenuStyles",
2010
+ "declaration": {
2011
+ "name": "foundationActionsMenuStyles",
2012
+ "module": "src/actions-menu/actions-menu.styles.ts"
1861
2013
  }
1862
2014
  }
1863
2015
  ]
1864
2016
  },
1865
2017
  {
1866
2018
  "kind": "javascript-module",
1867
- "path": "src/accordion/accordion.template.ts",
2019
+ "path": "src/actions-menu/actions-menu.template.ts",
1868
2020
  "declarations": [
1869
2021
  {
1870
2022
  "kind": "function",
1871
- "name": "foundationAccordionTemplate",
1872
- "return": {
1873
- "type": {
1874
- "text": "ViewTemplate<Accordion>"
1875
- }
1876
- },
2023
+ "name": "menuTemplate",
1877
2024
  "parameters": [
1878
2025
  {
1879
- "name": "context",
2026
+ "name": "prefix",
1880
2027
  "type": {
1881
- "text": "ElementDefinitionContext"
2028
+ "text": "string"
1882
2029
  }
1883
- },
2030
+ }
2031
+ ]
2032
+ },
2033
+ {
2034
+ "kind": "function",
2035
+ "name": "singleOptionTemplate",
2036
+ "parameters": [
1884
2037
  {
1885
- "name": "definition",
2038
+ "name": "prefix",
1886
2039
  "type": {
1887
- "text": "FoundationElementDefinition"
2040
+ "text": "string"
1888
2041
  }
1889
2042
  }
1890
2043
  ]
2044
+ },
2045
+ {
2046
+ "kind": "variable",
2047
+ "name": "foundationActionsMenuTemplate",
2048
+ "type": {
2049
+ "text": "ViewTemplate<ActionsMenu>"
2050
+ },
2051
+ "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`"
1891
2052
  }
1892
2053
  ],
1893
2054
  "exports": [
1894
2055
  {
1895
2056
  "kind": "js",
1896
- "name": "foundationAccordionTemplate",
2057
+ "name": "menuTemplate",
1897
2058
  "declaration": {
1898
- "name": "foundationAccordionTemplate",
1899
- "module": "src/accordion/accordion.template.ts"
2059
+ "name": "menuTemplate",
2060
+ "module": "src/actions-menu/actions-menu.template.ts"
2061
+ }
2062
+ },
2063
+ {
2064
+ "kind": "js",
2065
+ "name": "singleOptionTemplate",
2066
+ "declaration": {
2067
+ "name": "singleOptionTemplate",
2068
+ "module": "src/actions-menu/actions-menu.template.ts"
2069
+ }
2070
+ },
2071
+ {
2072
+ "kind": "js",
2073
+ "name": "foundationActionsMenuTemplate",
2074
+ "declaration": {
2075
+ "name": "foundationActionsMenuTemplate",
2076
+ "module": "src/actions-menu/actions-menu.template.ts"
1900
2077
  }
1901
2078
  }
1902
2079
  ]
1903
2080
  },
1904
2081
  {
1905
2082
  "kind": "javascript-module",
1906
- "path": "src/accordion/accordion.ts",
2083
+ "path": "src/actions-menu/actions-menu.ts",
1907
2084
  "declarations": [
1908
2085
  {
1909
2086
  "kind": "class",
1910
2087
  "description": "",
1911
- "name": "Accordion",
1912
- "superclass": {
1913
- "name": "FASTAccordion",
1914
- "package": "@microsoft/fast-foundation"
1915
- },
1916
- "tagName": "%%prefix%%-accordion",
1917
- "customElement": true,
1918
- "attributes": [
2088
+ "name": "ActionsMenu",
2089
+ "members": [
1919
2090
  {
1920
- "name": "expand-mode",
2091
+ "kind": "field",
2092
+ "name": "actions",
1921
2093
  "type": {
1922
- "text": "AccordionExpandMode"
1923
- },
1924
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
- "fieldName": "expandmode",
1926
- "inheritedFrom": {
1927
- "name": "Accordion",
1928
- "module": "src/accordion/accordion.ts"
2094
+ "text": "ActionMenuItem[]"
1929
2095
  }
1930
- }
1931
- ],
1932
- "members": [
2096
+ },
1933
2097
  {
1934
2098
  "kind": "field",
1935
- "name": "expandmode",
2099
+ "name": "isVertical",
1936
2100
  "type": {
1937
- "text": "AccordionExpandMode"
2101
+ "text": "boolean"
1938
2102
  },
1939
- "privacy": "public",
1940
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
- "inheritedFrom": {
1942
- "name": "Accordion",
1943
- "module": "src/accordion/accordion.ts"
1944
- }
2103
+ "default": "false"
1945
2104
  },
1946
2105
  {
1947
2106
  "kind": "field",
1948
- "name": "activeid",
2107
+ "name": "addDefaultActions",
1949
2108
  "type": {
1950
- "text": "string | null"
2109
+ "text": "boolean"
1951
2110
  },
1952
- "privacy": "private",
1953
- "inheritedFrom": {
1954
- "name": "Accordion",
1955
- "module": "src/accordion/accordion.ts"
1956
- }
2111
+ "default": "true"
1957
2112
  },
1958
2113
  {
1959
2114
  "kind": "field",
1960
- "name": "activeItemIndex",
2115
+ "name": "autoCloseOnAction",
1961
2116
  "type": {
1962
- "text": "number"
2117
+ "text": "boolean"
1963
2118
  },
1964
- "privacy": "private",
1965
- "default": "0",
1966
- "inheritedFrom": {
1967
- "name": "Accordion",
1968
- "module": "src/accordion/accordion.ts"
1969
- }
2119
+ "default": "true"
1970
2120
  },
1971
2121
  {
1972
2122
  "kind": "field",
1973
- "name": "accordionIds",
2123
+ "name": "classNames",
1974
2124
  "type": {
1975
- "text": "Array<string | null>"
1976
- },
1977
- "privacy": "private",
1978
- "inheritedFrom": {
1979
- "name": "Accordion",
1980
- "module": "src/accordion/accordion.ts"
2125
+ "text": "string"
1981
2126
  }
1982
2127
  },
1983
2128
  {
1984
2129
  "kind": "field",
1985
- "name": "change",
1986
- "privacy": "private",
1987
- "inheritedFrom": {
1988
- "name": "Accordion",
1989
- "module": "src/accordion/accordion.ts"
2130
+ "name": "definition",
2131
+ "type": {
2132
+ "text": "any"
1990
2133
  }
1991
2134
  },
1992
2135
  {
1993
- "kind": "method",
1994
- "name": "findExpandedItem",
1995
- "privacy": "private",
1996
- "return": {
1997
- "type": {
1998
- "text": "AccordionItem | null"
1999
- }
2136
+ "kind": "field",
2137
+ "name": "name",
2138
+ "type": {
2139
+ "text": "string"
2000
2140
  },
2001
- "inheritedFrom": {
2002
- "name": "Accordion",
2003
- "module": "src/accordion/accordion.ts"
2004
- }
2141
+ "default": "'Actions'"
2005
2142
  },
2006
2143
  {
2007
2144
  "kind": "field",
2008
- "name": "setItems",
2009
- "privacy": "private",
2010
- "inheritedFrom": {
2011
- "name": "Accordion",
2012
- "module": "src/accordion/accordion.ts"
2013
- }
2145
+ "name": "open",
2146
+ "type": {
2147
+ "text": "boolean"
2148
+ },
2149
+ "default": "false"
2014
2150
  },
2015
2151
  {
2016
- "kind": "method",
2017
- "name": "resetItems",
2018
- "privacy": "private",
2019
- "return": {
2020
- "type": {
2021
- "text": "void"
2022
- }
2023
- },
2024
- "inheritedFrom": {
2025
- "name": "Accordion",
2026
- "module": "src/accordion/accordion.ts"
2152
+ "kind": "field",
2153
+ "name": "buttonAppearance",
2154
+ "type": {
2155
+ "text": "string"
2027
2156
  }
2028
2157
  },
2029
2158
  {
2030
2159
  "kind": "field",
2031
- "name": "removeItemListeners",
2032
- "privacy": "private",
2033
- "inheritedFrom": {
2034
- "name": "Accordion",
2035
- "module": "src/accordion/accordion.ts"
2160
+ "name": "hideDisabled",
2161
+ "type": {
2162
+ "text": "boolean"
2163
+ },
2164
+ "default": "false"
2165
+ },
2166
+ {
2167
+ "kind": "field",
2168
+ "name": "hideMenuSingleOption",
2169
+ "type": {
2170
+ "text": "boolean"
2171
+ },
2172
+ "default": "false"
2173
+ },
2174
+ {
2175
+ "kind": "field",
2176
+ "name": "singleOption",
2177
+ "type": {
2178
+ "text": "ActionMenuItem"
2036
2179
  }
2037
2180
  },
2038
2181
  {
2039
2182
  "kind": "field",
2040
- "name": "activeItemChange",
2041
- "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2183
+ "name": "actionsMenu",
2184
+ "type": {
2185
+ "text": "HTMLElement"
2045
2186
  }
2046
2187
  },
2047
2188
  {
2048
2189
  "kind": "method",
2049
- "name": "getItemIds",
2050
- "privacy": "private",
2051
- "return": {
2052
- "type": {
2053
- "text": "Array<string | null>"
2190
+ "name": "definitionChanged",
2191
+ "privacy": "protected",
2192
+ "parameters": [
2193
+ {
2194
+ "name": "oldValue",
2195
+ "type": {
2196
+ "text": "any"
2197
+ }
2198
+ },
2199
+ {
2200
+ "name": "newValue",
2201
+ "type": {
2202
+ "text": "any"
2203
+ }
2054
2204
  }
2055
- },
2056
- "inheritedFrom": {
2057
- "name": "Accordion",
2058
- "module": "src/accordion/accordion.ts"
2059
- }
2205
+ ]
2060
2206
  },
2061
2207
  {
2062
2208
  "kind": "method",
2063
- "name": "isSingleExpandMode",
2064
- "privacy": "private",
2065
- "return": {
2066
- "type": {
2067
- "text": "boolean"
2209
+ "name": "openChanged",
2210
+ "privacy": "protected"
2211
+ },
2212
+ {
2213
+ "kind": "method",
2214
+ "name": "toggleActionsMenuVisibility"
2215
+ },
2216
+ {
2217
+ "kind": "method",
2218
+ "name": "onActionMenuItemClick",
2219
+ "parameters": [
2220
+ {
2221
+ "name": "callback",
2222
+ "type": {
2223
+ "text": "(rowData) => void | any"
2224
+ }
2068
2225
  }
2069
- },
2070
- "inheritedFrom": {
2071
- "name": "Accordion",
2072
- "module": "src/accordion/accordion.ts"
2073
- }
2226
+ ]
2074
2227
  },
2075
2228
  {
2076
2229
  "kind": "field",
2077
- "name": "handleItemKeyDown",
2078
- "privacy": "private",
2079
- "inheritedFrom": {
2080
- "name": "Accordion",
2081
- "module": "src/accordion/accordion.ts"
2082
- }
2230
+ "name": "allActions",
2231
+ "type": {
2232
+ "text": "ActionMenuItem[]"
2233
+ },
2234
+ "readonly": true
2083
2235
  },
2084
2236
  {
2085
2237
  "kind": "field",
2086
- "name": "handleItemFocus",
2087
- "privacy": "private",
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2091
- }
2238
+ "name": "rowData",
2239
+ "readonly": true
2092
2240
  },
2093
2241
  {
2094
2242
  "kind": "method",
2095
- "name": "adjust",
2096
- "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2101
- },
2243
+ "name": "getLabel",
2102
2244
  "parameters": [
2103
2245
  {
2104
- "name": "adjustment",
2246
+ "name": "name",
2105
2247
  "type": {
2106
- "text": "number"
2248
+ "text": "string | ((rowData: any) => string)"
2107
2249
  }
2108
2250
  }
2109
- ],
2110
- "inheritedFrom": {
2111
- "name": "Accordion",
2112
- "module": "src/accordion/accordion.ts"
2113
- }
2251
+ ]
2114
2252
  },
2115
2253
  {
2116
2254
  "kind": "method",
2117
- "name": "focusItem",
2118
- "privacy": "private",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
2255
+ "name": "getTemplate",
2256
+ "parameters": [
2257
+ {
2258
+ "name": "prefix",
2259
+ "type": {
2260
+ "text": "string"
2261
+ }
2122
2262
  }
2123
- },
2124
- "inheritedFrom": {
2125
- "name": "Accordion",
2126
- "module": "src/accordion/accordion.ts"
2127
- }
2263
+ ]
2128
2264
  },
2129
2265
  {
2130
2266
  "kind": "field",
@@ -2238,78 +2374,107 @@
2238
2374
  }
2239
2375
  }
2240
2376
  ],
2241
- "events": [
2377
+ "attributes": [
2242
2378
  {
2243
- "description": "Fires a custom 'change' event when the active item changes",
2244
- "name": "change",
2245
- "inheritedFrom": {
2246
- "name": "Accordion",
2247
- "module": "src/accordion/accordion.ts"
2248
- }
2379
+ "name": "is-vertical",
2380
+ "type": {
2381
+ "text": "boolean"
2382
+ },
2383
+ "default": "false",
2384
+ "fieldName": "isVertical"
2385
+ },
2386
+ {
2387
+ "name": "add-default-actions",
2388
+ "type": {
2389
+ "text": "boolean"
2390
+ },
2391
+ "default": "true",
2392
+ "fieldName": "addDefaultActions"
2393
+ },
2394
+ {
2395
+ "name": "auto-close-on-action",
2396
+ "type": {
2397
+ "text": "boolean"
2398
+ },
2399
+ "default": "true",
2400
+ "fieldName": "autoCloseOnAction"
2401
+ },
2402
+ {
2403
+ "name": "name",
2404
+ "type": {
2405
+ "text": "string"
2406
+ },
2407
+ "default": "'Actions'",
2408
+ "fieldName": "name"
2409
+ },
2410
+ {
2411
+ "name": "open",
2412
+ "type": {
2413
+ "text": "boolean"
2414
+ },
2415
+ "default": "false",
2416
+ "fieldName": "open"
2417
+ },
2418
+ {
2419
+ "name": "buttonAppearance",
2420
+ "type": {
2421
+ "text": "string"
2422
+ },
2423
+ "fieldName": "buttonAppearance"
2424
+ },
2425
+ {
2426
+ "name": "hide-disabled",
2427
+ "type": {
2428
+ "text": "boolean"
2429
+ },
2430
+ "default": "false",
2431
+ "fieldName": "hideDisabled"
2432
+ },
2433
+ {
2434
+ "name": "hide-menu-single-option",
2435
+ "type": {
2436
+ "text": "boolean"
2437
+ },
2438
+ "default": "false",
2439
+ "fieldName": "hideMenuSingleOption"
2249
2440
  }
2250
- ]
2251
- },
2252
- {
2253
- "kind": "variable",
2254
- "name": "foundationAccordionShadowOptions",
2255
- "type": {
2256
- "text": "ShadowRootInit"
2257
- },
2258
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2259
- },
2260
- {
2261
- "kind": "variable",
2262
- "name": "defaultAccordionConfig",
2263
- "type": {
2264
- "text": "object"
2441
+ ],
2442
+ "superclass": {
2443
+ "name": "FoundationElement",
2444
+ "package": "@microsoft/fast-foundation"
2265
2445
  },
2266
- "default": "{}"
2446
+ "tagName": "%%prefix%%-actions-menu",
2447
+ "customElement": true
2267
2448
  },
2268
2449
  {
2269
2450
  "kind": "variable",
2270
- "name": "foundationAccordion",
2271
- "description": "The Foundation Accordion",
2451
+ "name": "foundationActionsMenu",
2452
+ "description": "The Foundation Actions Menu",
2272
2453
  "privacy": "public"
2273
2454
  }
2274
2455
  ],
2275
2456
  "exports": [
2276
2457
  {
2277
2458
  "kind": "js",
2278
- "name": "Accordion",
2279
- "declaration": {
2280
- "name": "Accordion",
2281
- "module": "src/accordion/accordion.ts"
2282
- }
2283
- },
2284
- {
2285
- "kind": "js",
2286
- "name": "foundationAccordionShadowOptions",
2287
- "declaration": {
2288
- "name": "foundationAccordionShadowOptions",
2289
- "module": "src/accordion/accordion.ts"
2290
- }
2291
- },
2292
- {
2293
- "kind": "js",
2294
- "name": "defaultAccordionConfig",
2459
+ "name": "ActionsMenu",
2295
2460
  "declaration": {
2296
- "name": "defaultAccordionConfig",
2297
- "module": "src/accordion/accordion.ts"
2461
+ "name": "ActionsMenu",
2462
+ "module": "src/actions-menu/actions-menu.ts"
2298
2463
  }
2299
2464
  },
2300
2465
  {
2301
2466
  "kind": "js",
2302
- "name": "foundationAccordion",
2467
+ "name": "foundationActionsMenu",
2303
2468
  "declaration": {
2304
- "name": "foundationAccordion",
2305
- "module": "src/accordion/accordion.ts"
2469
+ "name": "foundationActionsMenu",
2470
+ "module": "src/actions-menu/actions-menu.ts"
2306
2471
  }
2307
2472
  }
2308
2473
  ]
2309
2474
  },
2310
2475
  {
2311
2476
  "kind": "javascript-module",
2312
- "path": "src/accordion/index.ts",
2477
+ "path": "src/actions-menu/index.ts",
2313
2478
  "declarations": [],
2314
2479
  "exports": [
2315
2480
  {
@@ -2317,7 +2482,7 @@
2317
2482
  "name": "*",
2318
2483
  "declaration": {
2319
2484
  "name": "*",
2320
- "package": "./accordion.template"
2485
+ "package": "./actions-menu.styles"
2321
2486
  }
2322
2487
  },
2323
2488
  {
@@ -2325,7 +2490,7 @@
2325
2490
  "name": "*",
2326
2491
  "declaration": {
2327
2492
  "name": "*",
2328
- "package": "./accordion.styles"
2493
+ "package": "./actions-menu.template"
2329
2494
  }
2330
2495
  },
2331
2496
  {
@@ -2333,41 +2498,18 @@
2333
2498
  "name": "*",
2334
2499
  "declaration": {
2335
2500
  "name": "*",
2336
- "package": "./accordion"
2501
+ "package": "./actions-menu"
2337
2502
  }
2338
2503
  }
2339
2504
  ]
2340
2505
  },
2341
2506
  {
2342
2507
  "kind": "javascript-module",
2343
- "path": "src/actions-menu/actions-menu.styles.ts",
2508
+ "path": "src/accordion-item/accordion-item.styles.ts",
2344
2509
  "declarations": [
2345
2510
  {
2346
2511
  "kind": "function",
2347
- "name": "actionsMenuBaseStyles",
2348
- "return": {
2349
- "type": {
2350
- "text": "ElementStyles"
2351
- }
2352
- },
2353
- "parameters": [
2354
- {
2355
- "name": "context",
2356
- "type": {
2357
- "text": "ElementDefinitionContext"
2358
- }
2359
- },
2360
- {
2361
- "name": "definition",
2362
- "type": {
2363
- "text": "FoundationElementDefinition"
2364
- }
2365
- }
2366
- ]
2367
- },
2368
- {
2369
- "kind": "function",
2370
- "name": "foundationActionsMenuStyles",
2512
+ "name": "foundationAccordionItemStyles",
2371
2513
  "return": {
2372
2514
  "type": {
2373
2515
  "text": "ElementStyles"
@@ -2392,269 +2534,156 @@
2392
2534
  "exports": [
2393
2535
  {
2394
2536
  "kind": "js",
2395
- "name": "actionsMenuBaseStyles",
2396
- "declaration": {
2397
- "name": "actionsMenuBaseStyles",
2398
- "module": "src/actions-menu/actions-menu.styles.ts"
2399
- }
2400
- },
2401
- {
2402
- "kind": "js",
2403
- "name": "foundationActionsMenuStyles",
2537
+ "name": "foundationAccordionItemStyles",
2404
2538
  "declaration": {
2405
- "name": "foundationActionsMenuStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2539
+ "name": "foundationAccordionItemStyles",
2540
+ "module": "src/accordion-item/accordion-item.styles.ts"
2407
2541
  }
2408
2542
  }
2409
2543
  ]
2410
2544
  },
2411
2545
  {
2412
2546
  "kind": "javascript-module",
2413
- "path": "src/actions-menu/actions-menu.template.ts",
2547
+ "path": "src/accordion-item/accordion-item.template.ts",
2414
2548
  "declarations": [
2415
2549
  {
2416
2550
  "kind": "function",
2417
- "name": "menuTemplate",
2551
+ "name": "foundationAccordionItemTemplate",
2552
+ "return": {
2553
+ "type": {
2554
+ "text": "ViewTemplate<AccordionItem>"
2555
+ }
2556
+ },
2418
2557
  "parameters": [
2419
2558
  {
2420
- "name": "prefix",
2559
+ "name": "context",
2421
2560
  "type": {
2422
- "text": "string"
2561
+ "text": "ElementDefinitionContext"
2423
2562
  }
2424
- }
2425
- ]
2426
- },
2427
- {
2428
- "kind": "function",
2429
- "name": "singleOptionTemplate",
2430
- "parameters": [
2563
+ },
2431
2564
  {
2432
- "name": "prefix",
2565
+ "name": "definition",
2433
2566
  "type": {
2434
- "text": "string"
2567
+ "text": "FoundationElementDefinition"
2435
2568
  }
2436
2569
  }
2437
2570
  ]
2438
- },
2439
- {
2440
- "kind": "variable",
2441
- "name": "foundationActionsMenuTemplate",
2442
- "type": {
2443
- "text": "ViewTemplate<ActionsMenu>"
2444
- },
2445
- "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`"
2446
2571
  }
2447
2572
  ],
2448
2573
  "exports": [
2449
2574
  {
2450
2575
  "kind": "js",
2451
- "name": "menuTemplate",
2452
- "declaration": {
2453
- "name": "menuTemplate",
2454
- "module": "src/actions-menu/actions-menu.template.ts"
2455
- }
2456
- },
2457
- {
2458
- "kind": "js",
2459
- "name": "singleOptionTemplate",
2460
- "declaration": {
2461
- "name": "singleOptionTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2463
- }
2464
- },
2465
- {
2466
- "kind": "js",
2467
- "name": "foundationActionsMenuTemplate",
2576
+ "name": "foundationAccordionItemTemplate",
2468
2577
  "declaration": {
2469
- "name": "foundationActionsMenuTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2578
+ "name": "foundationAccordionItemTemplate",
2579
+ "module": "src/accordion-item/accordion-item.template.ts"
2471
2580
  }
2472
2581
  }
2473
2582
  ]
2474
2583
  },
2475
2584
  {
2476
2585
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.ts",
2586
+ "path": "src/accordion-item/accordion-item.ts",
2478
2587
  "declarations": [
2479
2588
  {
2480
2589
  "kind": "class",
2481
2590
  "description": "",
2482
- "name": "ActionsMenu",
2483
- "members": [
2484
- {
2485
- "kind": "field",
2486
- "name": "actions",
2487
- "type": {
2488
- "text": "ActionMenuItem[]"
2489
- }
2490
- },
2491
- {
2492
- "kind": "field",
2493
- "name": "isVertical",
2494
- "type": {
2495
- "text": "boolean"
2496
- },
2497
- "default": "false"
2498
- },
2499
- {
2500
- "kind": "field",
2501
- "name": "addDefaultActions",
2502
- "type": {
2503
- "text": "boolean"
2504
- },
2505
- "default": "true"
2506
- },
2507
- {
2508
- "kind": "field",
2509
- "name": "autoCloseOnAction",
2510
- "type": {
2511
- "text": "boolean"
2512
- },
2513
- "default": "true"
2514
- },
2515
- {
2516
- "kind": "field",
2517
- "name": "classNames",
2518
- "type": {
2519
- "text": "string"
2520
- }
2521
- },
2522
- {
2523
- "kind": "field",
2524
- "name": "definition",
2525
- "type": {
2526
- "text": "any"
2527
- }
2528
- },
2529
- {
2530
- "kind": "field",
2531
- "name": "name",
2532
- "type": {
2533
- "text": "string"
2534
- },
2535
- "default": "'Actions'"
2536
- },
2591
+ "name": "AccordionItem",
2592
+ "superclass": {
2593
+ "name": "FASTAccordionItem",
2594
+ "package": "@microsoft/fast-components"
2595
+ },
2596
+ "tagName": "%%prefix%%-accordion-item",
2597
+ "customElement": true,
2598
+ "attributes": [
2537
2599
  {
2538
- "kind": "field",
2539
- "name": "open",
2600
+ "name": "heading-level",
2540
2601
  "type": {
2541
- "text": "boolean"
2602
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2542
2603
  },
2543
- "default": "false"
2544
- },
2545
- {
2546
- "kind": "field",
2547
- "name": "buttonAppearance",
2548
- "type": {
2549
- "text": "string"
2604
+ "default": "2",
2605
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2606
+ "fieldName": "headinglevel",
2607
+ "inheritedFrom": {
2608
+ "name": "AccordionItem",
2609
+ "module": "src/accordion-item/accordion-item.ts"
2550
2610
  }
2551
2611
  },
2552
2612
  {
2553
- "kind": "field",
2554
- "name": "hideDisabled",
2555
2613
  "type": {
2556
2614
  "text": "boolean"
2557
2615
  },
2558
- "default": "false"
2616
+ "default": "false",
2617
+ "description": "Expands or collapses the item.",
2618
+ "fieldName": "expanded",
2619
+ "inheritedFrom": {
2620
+ "name": "AccordionItem",
2621
+ "module": "src/accordion-item/accordion-item.ts"
2622
+ }
2559
2623
  },
2560
2624
  {
2561
- "kind": "field",
2562
- "name": "hideMenuSingleOption",
2625
+ "name": "id",
2563
2626
  "type": {
2564
- "text": "boolean"
2627
+ "text": "string"
2565
2628
  },
2566
- "default": "false"
2567
- },
2629
+ "description": "The item ID",
2630
+ "fieldName": "id",
2631
+ "inheritedFrom": {
2632
+ "name": "AccordionItem",
2633
+ "module": "src/accordion-item/accordion-item.ts"
2634
+ }
2635
+ }
2636
+ ],
2637
+ "members": [
2568
2638
  {
2569
2639
  "kind": "field",
2570
- "name": "singleOption",
2640
+ "name": "headinglevel",
2571
2641
  "type": {
2572
- "text": "ActionMenuItem"
2642
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2643
+ },
2644
+ "privacy": "public",
2645
+ "default": "2",
2646
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2647
+ "inheritedFrom": {
2648
+ "name": "AccordionItem",
2649
+ "module": "src/accordion-item/accordion-item.ts"
2573
2650
  }
2574
2651
  },
2575
2652
  {
2576
2653
  "kind": "field",
2577
- "name": "actionsMenu",
2654
+ "name": "expanded",
2578
2655
  "type": {
2579
- "text": "HTMLElement"
2656
+ "text": "boolean"
2657
+ },
2658
+ "privacy": "public",
2659
+ "default": "false",
2660
+ "description": "Expands or collapses the item.",
2661
+ "inheritedFrom": {
2662
+ "name": "AccordionItem",
2663
+ "module": "src/accordion-item/accordion-item.ts"
2580
2664
  }
2581
2665
  },
2582
- {
2583
- "kind": "method",
2584
- "name": "definitionChanged",
2585
- "privacy": "protected",
2586
- "parameters": [
2587
- {
2588
- "name": "oldValue",
2589
- "type": {
2590
- "text": "any"
2591
- }
2592
- },
2593
- {
2594
- "name": "newValue",
2595
- "type": {
2596
- "text": "any"
2597
- }
2598
- }
2599
- ]
2600
- },
2601
- {
2602
- "kind": "method",
2603
- "name": "openChanged",
2604
- "privacy": "protected"
2605
- },
2606
- {
2607
- "kind": "method",
2608
- "name": "toggleActionsMenuVisibility"
2609
- },
2610
- {
2611
- "kind": "method",
2612
- "name": "onActionMenuItemClick",
2613
- "parameters": [
2614
- {
2615
- "name": "callback",
2616
- "type": {
2617
- "text": "(rowData) => void | any"
2618
- }
2619
- }
2620
- ]
2621
- },
2622
2666
  {
2623
2667
  "kind": "field",
2624
- "name": "allActions",
2668
+ "name": "id",
2625
2669
  "type": {
2626
- "text": "ActionMenuItem[]"
2670
+ "text": "string"
2627
2671
  },
2628
- "readonly": true
2672
+ "privacy": "public",
2673
+ "description": "The item ID",
2674
+ "inheritedFrom": {
2675
+ "name": "AccordionItem",
2676
+ "module": "src/accordion-item/accordion-item.ts"
2677
+ }
2629
2678
  },
2630
2679
  {
2631
2680
  "kind": "field",
2632
- "name": "rowData",
2633
- "readonly": true
2634
- },
2635
- {
2636
- "kind": "method",
2637
- "name": "getLabel",
2638
- "parameters": [
2639
- {
2640
- "name": "name",
2641
- "type": {
2642
- "text": "string | ((rowData: any) => string)"
2643
- }
2644
- }
2645
- ]
2646
- },
2647
- {
2648
- "kind": "method",
2649
- "name": "getTemplate",
2650
- "parameters": [
2651
- {
2652
- "name": "prefix",
2653
- "type": {
2654
- "text": "string"
2655
- }
2656
- }
2657
- ]
2681
+ "name": "change",
2682
+ "privacy": "private",
2683
+ "inheritedFrom": {
2684
+ "name": "AccordionItem",
2685
+ "module": "src/accordion-item/accordion-item.ts"
2686
+ }
2658
2687
  },
2659
2688
  {
2660
2689
  "kind": "field",
@@ -2768,107 +2797,78 @@
2768
2797
  }
2769
2798
  }
2770
2799
  ],
2771
- "attributes": [
2772
- {
2773
- "name": "is-vertical",
2774
- "type": {
2775
- "text": "boolean"
2776
- },
2777
- "default": "false",
2778
- "fieldName": "isVertical"
2779
- },
2780
- {
2781
- "name": "add-default-actions",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "true",
2786
- "fieldName": "addDefaultActions"
2787
- },
2788
- {
2789
- "name": "auto-close-on-action",
2790
- "type": {
2791
- "text": "boolean"
2792
- },
2793
- "default": "true",
2794
- "fieldName": "autoCloseOnAction"
2795
- },
2796
- {
2797
- "name": "name",
2798
- "type": {
2799
- "text": "string"
2800
- },
2801
- "default": "'Actions'",
2802
- "fieldName": "name"
2803
- },
2804
- {
2805
- "name": "open",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "default": "false",
2810
- "fieldName": "open"
2811
- },
2812
- {
2813
- "name": "buttonAppearance",
2814
- "type": {
2815
- "text": "string"
2816
- },
2817
- "fieldName": "buttonAppearance"
2818
- },
2819
- {
2820
- "name": "hide-disabled",
2821
- "type": {
2822
- "text": "boolean"
2823
- },
2824
- "default": "false",
2825
- "fieldName": "hideDisabled"
2826
- },
2800
+ "events": [
2827
2801
  {
2828
- "name": "hide-menu-single-option",
2829
- "type": {
2830
- "text": "boolean"
2831
- },
2832
- "default": "false",
2833
- "fieldName": "hideMenuSingleOption"
2802
+ "description": "Fires a custom 'change' event when the button is invoked",
2803
+ "name": "change",
2804
+ "inheritedFrom": {
2805
+ "name": "AccordionItem",
2806
+ "module": "src/accordion-item/accordion-item.ts"
2807
+ }
2834
2808
  }
2835
- ],
2836
- "superclass": {
2837
- "name": "FoundationElement",
2838
- "package": "@microsoft/fast-foundation"
2809
+ ]
2810
+ },
2811
+ {
2812
+ "kind": "variable",
2813
+ "name": "foundationAccordionItemShadowOptions",
2814
+ "type": {
2815
+ "text": "ShadowRootInit"
2839
2816
  },
2840
- "tagName": "%%prefix%%-actions-menu",
2841
- "customElement": true
2817
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2842
2818
  },
2843
2819
  {
2844
2820
  "kind": "variable",
2845
- "name": "foundationActionsMenu",
2846
- "description": "The Foundation Actions Menu",
2821
+ "name": "defaultAccordionItemConfig",
2822
+ "type": {
2823
+ "text": "object"
2824
+ },
2825
+ "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}"
2826
+ },
2827
+ {
2828
+ "kind": "variable",
2829
+ "name": "foundationAccordionItem",
2830
+ "description": "The Foundation Accordion Item",
2847
2831
  "privacy": "public"
2848
2832
  }
2849
2833
  ],
2850
2834
  "exports": [
2851
2835
  {
2852
2836
  "kind": "js",
2853
- "name": "ActionsMenu",
2837
+ "name": "AccordionItem",
2854
2838
  "declaration": {
2855
- "name": "ActionsMenu",
2856
- "module": "src/actions-menu/actions-menu.ts"
2839
+ "name": "AccordionItem",
2840
+ "module": "src/accordion-item/accordion-item.ts"
2857
2841
  }
2858
2842
  },
2859
2843
  {
2860
2844
  "kind": "js",
2861
- "name": "foundationActionsMenu",
2845
+ "name": "foundationAccordionItemShadowOptions",
2862
2846
  "declaration": {
2863
- "name": "foundationActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2847
+ "name": "foundationAccordionItemShadowOptions",
2848
+ "module": "src/accordion-item/accordion-item.ts"
2849
+ }
2850
+ },
2851
+ {
2852
+ "kind": "js",
2853
+ "name": "defaultAccordionItemConfig",
2854
+ "declaration": {
2855
+ "name": "defaultAccordionItemConfig",
2856
+ "module": "src/accordion-item/accordion-item.ts"
2857
+ }
2858
+ },
2859
+ {
2860
+ "kind": "js",
2861
+ "name": "foundationAccordionItem",
2862
+ "declaration": {
2863
+ "name": "foundationAccordionItem",
2864
+ "module": "src/accordion-item/accordion-item.ts"
2865
2865
  }
2866
2866
  }
2867
2867
  ]
2868
2868
  },
2869
2869
  {
2870
2870
  "kind": "javascript-module",
2871
- "path": "src/actions-menu/index.ts",
2871
+ "path": "src/accordion-item/index.ts",
2872
2872
  "declarations": [],
2873
2873
  "exports": [
2874
2874
  {
@@ -2876,7 +2876,7 @@
2876
2876
  "name": "*",
2877
2877
  "declaration": {
2878
2878
  "name": "*",
2879
- "package": "./actions-menu.styles"
2879
+ "package": "./accordion-item.template"
2880
2880
  }
2881
2881
  },
2882
2882
  {
@@ -2884,7 +2884,7 @@
2884
2884
  "name": "*",
2885
2885
  "declaration": {
2886
2886
  "name": "*",
2887
- "package": "./actions-menu.template"
2887
+ "package": "./accordion-item.styles"
2888
2888
  }
2889
2889
  },
2890
2890
  {
@@ -2892,7 +2892,7 @@
2892
2892
  "name": "*",
2893
2893
  "declaration": {
2894
2894
  "name": "*",
2895
- "package": "./actions-menu"
2895
+ "package": "./accordion-item"
2896
2896
  }
2897
2897
  }
2898
2898
  ]