@genesislcap/foundation-ui 14.421.1 → 14.422.0

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