@genesislcap/foundation-ui 14.456.1 → 14.456.3-alpha-d42d86c.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.
@@ -1400,11 +1400,11 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/accordion-item/accordion-item.styles.ts",
1403
+ "path": "src/accordion/accordion.styles.ts",
1404
1404
  "declarations": [
1405
1405
  {
1406
1406
  "kind": "function",
1407
- "name": "foundationAccordionItemStyles",
1407
+ "name": "foundationAccordionStyles",
1408
1408
  "return": {
1409
1409
  "type": {
1410
1410
  "text": "ElementStyles"
@@ -1429,24 +1429,24 @@
1429
1429
  "exports": [
1430
1430
  {
1431
1431
  "kind": "js",
1432
- "name": "foundationAccordionItemStyles",
1432
+ "name": "foundationAccordionStyles",
1433
1433
  "declaration": {
1434
- "name": "foundationAccordionItemStyles",
1435
- "module": "src/accordion-item/accordion-item.styles.ts"
1434
+ "name": "foundationAccordionStyles",
1435
+ "module": "src/accordion/accordion.styles.ts"
1436
1436
  }
1437
1437
  }
1438
1438
  ]
1439
1439
  },
1440
1440
  {
1441
1441
  "kind": "javascript-module",
1442
- "path": "src/accordion-item/accordion-item.template.ts",
1442
+ "path": "src/accordion/accordion.template.ts",
1443
1443
  "declarations": [
1444
1444
  {
1445
1445
  "kind": "function",
1446
- "name": "foundationAccordionItemTemplate",
1446
+ "name": "foundationAccordionTemplate",
1447
1447
  "return": {
1448
1448
  "type": {
1449
- "text": "ViewTemplate<AccordionItem>"
1449
+ "text": "ViewTemplate<Accordion>"
1450
1450
  }
1451
1451
  },
1452
1452
  "parameters": [
@@ -1468,116 +1468,237 @@
1468
1468
  "exports": [
1469
1469
  {
1470
1470
  "kind": "js",
1471
- "name": "foundationAccordionItemTemplate",
1471
+ "name": "foundationAccordionTemplate",
1472
1472
  "declaration": {
1473
- "name": "foundationAccordionItemTemplate",
1474
- "module": "src/accordion-item/accordion-item.template.ts"
1473
+ "name": "foundationAccordionTemplate",
1474
+ "module": "src/accordion/accordion.template.ts"
1475
1475
  }
1476
1476
  }
1477
1477
  ]
1478
1478
  },
1479
1479
  {
1480
1480
  "kind": "javascript-module",
1481
- "path": "src/accordion-item/accordion-item.ts",
1481
+ "path": "src/accordion/accordion.ts",
1482
1482
  "declarations": [
1483
1483
  {
1484
1484
  "kind": "class",
1485
1485
  "description": "",
1486
- "name": "AccordionItem",
1486
+ "name": "Accordion",
1487
1487
  "superclass": {
1488
- "name": "FASTAccordionItem",
1489
- "package": "@microsoft/fast-components"
1488
+ "name": "FASTAccordion",
1489
+ "package": "@microsoft/fast-foundation"
1490
1490
  },
1491
- "tagName": "%%prefix%%-accordion-item",
1491
+ "tagName": "%%prefix%%-accordion",
1492
1492
  "customElement": true,
1493
1493
  "attributes": [
1494
1494
  {
1495
- "name": "heading-level",
1495
+ "name": "expand-mode",
1496
1496
  "type": {
1497
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1497
+ "text": "AccordionExpandMode"
1498
1498
  },
1499
- "default": "2",
1500
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1501
- "fieldName": "headinglevel",
1499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1500
+ "fieldName": "expandmode",
1502
1501
  "inheritedFrom": {
1503
- "name": "AccordionItem",
1504
- "module": "src/accordion-item/accordion-item.ts"
1502
+ "name": "Accordion",
1503
+ "module": "src/accordion/accordion.ts"
1505
1504
  }
1506
- },
1505
+ }
1506
+ ],
1507
+ "members": [
1507
1508
  {
1509
+ "kind": "field",
1510
+ "name": "expandmode",
1508
1511
  "type": {
1509
- "text": "boolean"
1512
+ "text": "AccordionExpandMode"
1510
1513
  },
1511
- "default": "false",
1512
- "description": "Expands or collapses the item.",
1513
- "fieldName": "expanded",
1514
+ "privacy": "public",
1515
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1514
1516
  "inheritedFrom": {
1515
- "name": "AccordionItem",
1516
- "module": "src/accordion-item/accordion-item.ts"
1517
+ "name": "Accordion",
1518
+ "module": "src/accordion/accordion.ts"
1517
1519
  }
1518
1520
  },
1519
1521
  {
1520
- "name": "id",
1522
+ "kind": "field",
1523
+ "name": "activeid",
1521
1524
  "type": {
1522
- "text": "string"
1525
+ "text": "string | null"
1523
1526
  },
1524
- "description": "The item ID",
1525
- "fieldName": "id",
1527
+ "privacy": "private",
1526
1528
  "inheritedFrom": {
1527
- "name": "AccordionItem",
1528
- "module": "src/accordion-item/accordion-item.ts"
1529
+ "name": "Accordion",
1530
+ "module": "src/accordion/accordion.ts"
1529
1531
  }
1530
- }
1531
- ],
1532
- "members": [
1532
+ },
1533
1533
  {
1534
1534
  "kind": "field",
1535
- "name": "headinglevel",
1535
+ "name": "activeItemIndex",
1536
1536
  "type": {
1537
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1537
+ "text": "number"
1538
1538
  },
1539
- "privacy": "public",
1540
- "default": "2",
1541
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1539
+ "privacy": "private",
1540
+ "default": "0",
1542
1541
  "inheritedFrom": {
1543
- "name": "AccordionItem",
1544
- "module": "src/accordion-item/accordion-item.ts"
1542
+ "name": "Accordion",
1543
+ "module": "src/accordion/accordion.ts"
1545
1544
  }
1546
1545
  },
1547
1546
  {
1548
1547
  "kind": "field",
1549
- "name": "expanded",
1548
+ "name": "accordionIds",
1550
1549
  "type": {
1551
- "text": "boolean"
1550
+ "text": "Array<string | null>"
1552
1551
  },
1553
- "privacy": "public",
1554
- "default": "false",
1555
- "description": "Expands or collapses the item.",
1552
+ "privacy": "private",
1556
1553
  "inheritedFrom": {
1557
- "name": "AccordionItem",
1558
- "module": "src/accordion-item/accordion-item.ts"
1554
+ "name": "Accordion",
1555
+ "module": "src/accordion/accordion.ts"
1559
1556
  }
1560
1557
  },
1561
1558
  {
1562
1559
  "kind": "field",
1563
- "name": "id",
1564
- "type": {
1565
- "text": "string"
1560
+ "name": "change",
1561
+ "privacy": "private",
1562
+ "inheritedFrom": {
1563
+ "name": "Accordion",
1564
+ "module": "src/accordion/accordion.ts"
1565
+ }
1566
+ },
1567
+ {
1568
+ "kind": "method",
1569
+ "name": "findExpandedItem",
1570
+ "privacy": "private",
1571
+ "return": {
1572
+ "type": {
1573
+ "text": "AccordionItem | null"
1574
+ }
1566
1575
  },
1567
- "privacy": "public",
1568
- "description": "The item ID",
1569
1576
  "inheritedFrom": {
1570
- "name": "AccordionItem",
1571
- "module": "src/accordion-item/accordion-item.ts"
1577
+ "name": "Accordion",
1578
+ "module": "src/accordion/accordion.ts"
1572
1579
  }
1573
1580
  },
1574
1581
  {
1575
1582
  "kind": "field",
1576
- "name": "change",
1583
+ "name": "setItems",
1577
1584
  "privacy": "private",
1578
1585
  "inheritedFrom": {
1579
- "name": "AccordionItem",
1580
- "module": "src/accordion-item/accordion-item.ts"
1586
+ "name": "Accordion",
1587
+ "module": "src/accordion/accordion.ts"
1588
+ }
1589
+ },
1590
+ {
1591
+ "kind": "method",
1592
+ "name": "resetItems",
1593
+ "privacy": "private",
1594
+ "return": {
1595
+ "type": {
1596
+ "text": "void"
1597
+ }
1598
+ },
1599
+ "inheritedFrom": {
1600
+ "name": "Accordion",
1601
+ "module": "src/accordion/accordion.ts"
1602
+ }
1603
+ },
1604
+ {
1605
+ "kind": "field",
1606
+ "name": "removeItemListeners",
1607
+ "privacy": "private",
1608
+ "inheritedFrom": {
1609
+ "name": "Accordion",
1610
+ "module": "src/accordion/accordion.ts"
1611
+ }
1612
+ },
1613
+ {
1614
+ "kind": "field",
1615
+ "name": "activeItemChange",
1616
+ "privacy": "private",
1617
+ "inheritedFrom": {
1618
+ "name": "Accordion",
1619
+ "module": "src/accordion/accordion.ts"
1620
+ }
1621
+ },
1622
+ {
1623
+ "kind": "method",
1624
+ "name": "getItemIds",
1625
+ "privacy": "private",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": "Array<string | null>"
1629
+ }
1630
+ },
1631
+ "inheritedFrom": {
1632
+ "name": "Accordion",
1633
+ "module": "src/accordion/accordion.ts"
1634
+ }
1635
+ },
1636
+ {
1637
+ "kind": "method",
1638
+ "name": "isSingleExpandMode",
1639
+ "privacy": "private",
1640
+ "return": {
1641
+ "type": {
1642
+ "text": "boolean"
1643
+ }
1644
+ },
1645
+ "inheritedFrom": {
1646
+ "name": "Accordion",
1647
+ "module": "src/accordion/accordion.ts"
1648
+ }
1649
+ },
1650
+ {
1651
+ "kind": "field",
1652
+ "name": "handleItemKeyDown",
1653
+ "privacy": "private",
1654
+ "inheritedFrom": {
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1657
+ }
1658
+ },
1659
+ {
1660
+ "kind": "field",
1661
+ "name": "handleItemFocus",
1662
+ "privacy": "private",
1663
+ "inheritedFrom": {
1664
+ "name": "Accordion",
1665
+ "module": "src/accordion/accordion.ts"
1666
+ }
1667
+ },
1668
+ {
1669
+ "kind": "method",
1670
+ "name": "adjust",
1671
+ "privacy": "private",
1672
+ "return": {
1673
+ "type": {
1674
+ "text": "void"
1675
+ }
1676
+ },
1677
+ "parameters": [
1678
+ {
1679
+ "name": "adjustment",
1680
+ "type": {
1681
+ "text": "number"
1682
+ }
1683
+ }
1684
+ ],
1685
+ "inheritedFrom": {
1686
+ "name": "Accordion",
1687
+ "module": "src/accordion/accordion.ts"
1688
+ }
1689
+ },
1690
+ {
1691
+ "kind": "method",
1692
+ "name": "focusItem",
1693
+ "privacy": "private",
1694
+ "return": {
1695
+ "type": {
1696
+ "text": "void"
1697
+ }
1698
+ },
1699
+ "inheritedFrom": {
1700
+ "name": "Accordion",
1701
+ "module": "src/accordion/accordion.ts"
1581
1702
  }
1582
1703
  },
1583
1704
  {
@@ -1694,18 +1815,18 @@
1694
1815
  ],
1695
1816
  "events": [
1696
1817
  {
1697
- "description": "Fires a custom 'change' event when the button is invoked",
1818
+ "description": "Fires a custom 'change' event when the active item changes",
1698
1819
  "name": "change",
1699
1820
  "inheritedFrom": {
1700
- "name": "AccordionItem",
1701
- "module": "src/accordion-item/accordion-item.ts"
1821
+ "name": "Accordion",
1822
+ "module": "src/accordion/accordion.ts"
1702
1823
  }
1703
1824
  }
1704
1825
  ]
1705
1826
  },
1706
1827
  {
1707
1828
  "kind": "variable",
1708
- "name": "foundationAccordionItemShadowOptions",
1829
+ "name": "foundationAccordionShadowOptions",
1709
1830
  "type": {
1710
1831
  "text": "ShadowRootInit"
1711
1832
  },
@@ -1713,57 +1834,57 @@
1713
1834
  },
1714
1835
  {
1715
1836
  "kind": "variable",
1716
- "name": "defaultAccordionItemConfig",
1837
+ "name": "defaultAccordionConfig",
1717
1838
  "type": {
1718
1839
  "text": "object"
1719
1840
  },
1720
- "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}"
1841
+ "default": "{}"
1721
1842
  },
1722
1843
  {
1723
1844
  "kind": "variable",
1724
- "name": "foundationAccordionItem",
1725
- "description": "The Foundation Accordion Item",
1845
+ "name": "foundationAccordion",
1846
+ "description": "The Foundation Accordion",
1726
1847
  "privacy": "public"
1727
1848
  }
1728
1849
  ],
1729
1850
  "exports": [
1730
1851
  {
1731
1852
  "kind": "js",
1732
- "name": "AccordionItem",
1853
+ "name": "Accordion",
1733
1854
  "declaration": {
1734
- "name": "AccordionItem",
1735
- "module": "src/accordion-item/accordion-item.ts"
1855
+ "name": "Accordion",
1856
+ "module": "src/accordion/accordion.ts"
1736
1857
  }
1737
1858
  },
1738
1859
  {
1739
1860
  "kind": "js",
1740
- "name": "foundationAccordionItemShadowOptions",
1861
+ "name": "foundationAccordionShadowOptions",
1741
1862
  "declaration": {
1742
- "name": "foundationAccordionItemShadowOptions",
1743
- "module": "src/accordion-item/accordion-item.ts"
1863
+ "name": "foundationAccordionShadowOptions",
1864
+ "module": "src/accordion/accordion.ts"
1744
1865
  }
1745
1866
  },
1746
1867
  {
1747
1868
  "kind": "js",
1748
- "name": "defaultAccordionItemConfig",
1869
+ "name": "defaultAccordionConfig",
1749
1870
  "declaration": {
1750
- "name": "defaultAccordionItemConfig",
1751
- "module": "src/accordion-item/accordion-item.ts"
1871
+ "name": "defaultAccordionConfig",
1872
+ "module": "src/accordion/accordion.ts"
1752
1873
  }
1753
1874
  },
1754
1875
  {
1755
1876
  "kind": "js",
1756
- "name": "foundationAccordionItem",
1877
+ "name": "foundationAccordion",
1757
1878
  "declaration": {
1758
- "name": "foundationAccordionItem",
1759
- "module": "src/accordion-item/accordion-item.ts"
1879
+ "name": "foundationAccordion",
1880
+ "module": "src/accordion/accordion.ts"
1760
1881
  }
1761
1882
  }
1762
1883
  ]
1763
1884
  },
1764
1885
  {
1765
1886
  "kind": "javascript-module",
1766
- "path": "src/accordion-item/index.ts",
1887
+ "path": "src/accordion/index.ts",
1767
1888
  "declarations": [],
1768
1889
  "exports": [
1769
1890
  {
@@ -1771,7 +1892,7 @@
1771
1892
  "name": "*",
1772
1893
  "declaration": {
1773
1894
  "name": "*",
1774
- "package": "./accordion-item.template"
1895
+ "package": "./accordion.template"
1775
1896
  }
1776
1897
  },
1777
1898
  {
@@ -1779,7 +1900,7 @@
1779
1900
  "name": "*",
1780
1901
  "declaration": {
1781
1902
  "name": "*",
1782
- "package": "./accordion-item.styles"
1903
+ "package": "./accordion.styles"
1783
1904
  }
1784
1905
  },
1785
1906
  {
@@ -1787,41 +1908,49 @@
1787
1908
  "name": "*",
1788
1909
  "declaration": {
1789
1910
  "name": "*",
1790
- "package": "./accordion-item"
1911
+ "package": "./accordion"
1791
1912
  }
1792
1913
  }
1793
1914
  ]
1794
1915
  },
1795
1916
  {
1796
1917
  "kind": "javascript-module",
1797
- "path": "src/actions-menu/actions-menu.styles.ts",
1798
- "declarations": [
1918
+ "path": "src/_config/index.ts",
1919
+ "declarations": [],
1920
+ "exports": [
1799
1921
  {
1800
- "kind": "function",
1801
- "name": "actionsMenuBaseStyles",
1802
- "return": {
1803
- "type": {
1804
- "text": "ElementStyles"
1805
- }
1806
- },
1807
- "parameters": [
1808
- {
1809
- "name": "context",
1810
- "type": {
1811
- "text": "ElementDefinitionContext"
1812
- }
1813
- },
1814
- {
1815
- "name": "definition",
1816
- "type": {
1817
- "text": "FoundationElementDefinition"
1818
- }
1819
- }
1820
- ]
1922
+ "kind": "js",
1923
+ "name": "*",
1924
+ "declaration": {
1925
+ "name": "*",
1926
+ "package": "./styles"
1927
+ }
1928
+ },
1929
+ {
1930
+ "kind": "js",
1931
+ "name": "*",
1932
+ "declaration": {
1933
+ "name": "*",
1934
+ "package": "./tokens"
1935
+ }
1821
1936
  },
1937
+ {
1938
+ "kind": "js",
1939
+ "name": "*",
1940
+ "declaration": {
1941
+ "name": "*",
1942
+ "package": "./values"
1943
+ }
1944
+ }
1945
+ ]
1946
+ },
1947
+ {
1948
+ "kind": "javascript-module",
1949
+ "path": "src/accordion-item/accordion-item.styles.ts",
1950
+ "declarations": [
1822
1951
  {
1823
1952
  "kind": "function",
1824
- "name": "foundationActionsMenuStyles",
1953
+ "name": "foundationAccordionItemStyles",
1825
1954
  "return": {
1826
1955
  "type": {
1827
1956
  "text": "ElementStyles"
@@ -1846,270 +1975,157 @@
1846
1975
  "exports": [
1847
1976
  {
1848
1977
  "kind": "js",
1849
- "name": "actionsMenuBaseStyles",
1850
- "declaration": {
1851
- "name": "actionsMenuBaseStyles",
1852
- "module": "src/actions-menu/actions-menu.styles.ts"
1853
- }
1854
- },
1855
- {
1856
- "kind": "js",
1857
- "name": "foundationActionsMenuStyles",
1978
+ "name": "foundationAccordionItemStyles",
1858
1979
  "declaration": {
1859
- "name": "foundationActionsMenuStyles",
1860
- "module": "src/actions-menu/actions-menu.styles.ts"
1980
+ "name": "foundationAccordionItemStyles",
1981
+ "module": "src/accordion-item/accordion-item.styles.ts"
1861
1982
  }
1862
1983
  }
1863
1984
  ]
1864
1985
  },
1865
1986
  {
1866
1987
  "kind": "javascript-module",
1867
- "path": "src/actions-menu/actions-menu.template.ts",
1988
+ "path": "src/accordion-item/accordion-item.template.ts",
1868
1989
  "declarations": [
1869
1990
  {
1870
1991
  "kind": "function",
1871
- "name": "menuTemplate",
1992
+ "name": "foundationAccordionItemTemplate",
1993
+ "return": {
1994
+ "type": {
1995
+ "text": "ViewTemplate<AccordionItem>"
1996
+ }
1997
+ },
1872
1998
  "parameters": [
1873
1999
  {
1874
- "name": "prefix",
2000
+ "name": "context",
1875
2001
  "type": {
1876
- "text": "string"
2002
+ "text": "ElementDefinitionContext"
1877
2003
  }
1878
- }
1879
- ]
1880
- },
1881
- {
1882
- "kind": "function",
1883
- "name": "singleOptionTemplate",
1884
- "parameters": [
2004
+ },
1885
2005
  {
1886
- "name": "prefix",
2006
+ "name": "definition",
1887
2007
  "type": {
1888
- "text": "string"
2008
+ "text": "FoundationElementDefinition"
1889
2009
  }
1890
2010
  }
1891
2011
  ]
1892
- },
1893
- {
1894
- "kind": "variable",
1895
- "name": "foundationActionsMenuTemplate",
1896
- "type": {
1897
- "text": "ViewTemplate<ActionsMenu>"
1898
- },
1899
- "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`"
1900
2012
  }
1901
2013
  ],
1902
2014
  "exports": [
1903
2015
  {
1904
2016
  "kind": "js",
1905
- "name": "menuTemplate",
1906
- "declaration": {
1907
- "name": "menuTemplate",
1908
- "module": "src/actions-menu/actions-menu.template.ts"
1909
- }
1910
- },
1911
- {
1912
- "kind": "js",
1913
- "name": "singleOptionTemplate",
1914
- "declaration": {
1915
- "name": "singleOptionTemplate",
1916
- "module": "src/actions-menu/actions-menu.template.ts"
1917
- }
1918
- },
1919
- {
1920
- "kind": "js",
1921
- "name": "foundationActionsMenuTemplate",
2017
+ "name": "foundationAccordionItemTemplate",
1922
2018
  "declaration": {
1923
- "name": "foundationActionsMenuTemplate",
1924
- "module": "src/actions-menu/actions-menu.template.ts"
2019
+ "name": "foundationAccordionItemTemplate",
2020
+ "module": "src/accordion-item/accordion-item.template.ts"
1925
2021
  }
1926
2022
  }
1927
2023
  ]
1928
2024
  },
1929
2025
  {
1930
2026
  "kind": "javascript-module",
1931
- "path": "src/actions-menu/actions-menu.ts",
2027
+ "path": "src/accordion-item/accordion-item.ts",
1932
2028
  "declarations": [
1933
2029
  {
1934
2030
  "kind": "class",
1935
2031
  "description": "",
1936
- "name": "ActionsMenu",
1937
- "members": [
1938
- {
1939
- "kind": "field",
1940
- "name": "actions",
1941
- "type": {
1942
- "text": "ActionMenuItem[]"
1943
- }
1944
- },
1945
- {
1946
- "kind": "field",
1947
- "name": "isVertical",
1948
- "type": {
1949
- "text": "boolean"
1950
- },
1951
- "default": "false"
1952
- },
2032
+ "name": "AccordionItem",
2033
+ "superclass": {
2034
+ "name": "FASTAccordionItem",
2035
+ "package": "@microsoft/fast-components"
2036
+ },
2037
+ "tagName": "%%prefix%%-accordion-item",
2038
+ "customElement": true,
2039
+ "attributes": [
1953
2040
  {
1954
- "kind": "field",
1955
- "name": "addDefaultActions",
2041
+ "name": "heading-level",
1956
2042
  "type": {
1957
- "text": "boolean"
2043
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1958
2044
  },
1959
- "default": "true"
2045
+ "default": "2",
2046
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2047
+ "fieldName": "headinglevel",
2048
+ "inheritedFrom": {
2049
+ "name": "AccordionItem",
2050
+ "module": "src/accordion-item/accordion-item.ts"
2051
+ }
1960
2052
  },
1961
2053
  {
1962
- "kind": "field",
1963
- "name": "autoCloseOnAction",
1964
2054
  "type": {
1965
2055
  "text": "boolean"
1966
2056
  },
1967
- "default": "true"
1968
- },
1969
- {
1970
- "kind": "field",
1971
- "name": "classNames",
1972
- "type": {
1973
- "text": "string"
1974
- }
1975
- },
1976
- {
1977
- "kind": "field",
1978
- "name": "definition",
1979
- "type": {
1980
- "text": "any"
2057
+ "default": "false",
2058
+ "description": "Expands or collapses the item.",
2059
+ "fieldName": "expanded",
2060
+ "inheritedFrom": {
2061
+ "name": "AccordionItem",
2062
+ "module": "src/accordion-item/accordion-item.ts"
1981
2063
  }
1982
2064
  },
1983
2065
  {
1984
- "kind": "field",
1985
- "name": "name",
2066
+ "name": "id",
1986
2067
  "type": {
1987
2068
  "text": "string"
1988
2069
  },
1989
- "default": "'Actions'"
1990
- },
2070
+ "description": "The item ID",
2071
+ "fieldName": "id",
2072
+ "inheritedFrom": {
2073
+ "name": "AccordionItem",
2074
+ "module": "src/accordion-item/accordion-item.ts"
2075
+ }
2076
+ }
2077
+ ],
2078
+ "members": [
1991
2079
  {
1992
2080
  "kind": "field",
1993
- "name": "open",
2081
+ "name": "headinglevel",
1994
2082
  "type": {
1995
- "text": "boolean"
2083
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1996
2084
  },
1997
- "default": "false"
1998
- },
1999
- {
2000
- "kind": "field",
2001
- "name": "buttonAppearance",
2002
- "type": {
2003
- "text": "string"
2085
+ "privacy": "public",
2086
+ "default": "2",
2087
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2088
+ "inheritedFrom": {
2089
+ "name": "AccordionItem",
2090
+ "module": "src/accordion-item/accordion-item.ts"
2004
2091
  }
2005
2092
  },
2006
2093
  {
2007
2094
  "kind": "field",
2008
- "name": "hideDisabled",
2095
+ "name": "expanded",
2009
2096
  "type": {
2010
2097
  "text": "boolean"
2011
2098
  },
2012
- "default": "false"
2099
+ "privacy": "public",
2100
+ "default": "false",
2101
+ "description": "Expands or collapses the item.",
2102
+ "inheritedFrom": {
2103
+ "name": "AccordionItem",
2104
+ "module": "src/accordion-item/accordion-item.ts"
2105
+ }
2013
2106
  },
2014
2107
  {
2015
2108
  "kind": "field",
2016
- "name": "hideMenuSingleOption",
2109
+ "name": "id",
2017
2110
  "type": {
2018
- "text": "boolean"
2111
+ "text": "string"
2019
2112
  },
2020
- "default": "false"
2021
- },
2022
- {
2023
- "kind": "field",
2024
- "name": "singleOption",
2025
- "type": {
2026
- "text": "ActionMenuItem"
2113
+ "privacy": "public",
2114
+ "description": "The item ID",
2115
+ "inheritedFrom": {
2116
+ "name": "AccordionItem",
2117
+ "module": "src/accordion-item/accordion-item.ts"
2027
2118
  }
2028
2119
  },
2029
2120
  {
2030
2121
  "kind": "field",
2031
- "name": "actionsMenu",
2032
- "type": {
2033
- "text": "HTMLElement"
2122
+ "name": "change",
2123
+ "privacy": "private",
2124
+ "inheritedFrom": {
2125
+ "name": "AccordionItem",
2126
+ "module": "src/accordion-item/accordion-item.ts"
2034
2127
  }
2035
2128
  },
2036
- {
2037
- "kind": "method",
2038
- "name": "definitionChanged",
2039
- "privacy": "protected",
2040
- "parameters": [
2041
- {
2042
- "name": "oldValue",
2043
- "type": {
2044
- "text": "any"
2045
- }
2046
- },
2047
- {
2048
- "name": "newValue",
2049
- "type": {
2050
- "text": "any"
2051
- }
2052
- }
2053
- ]
2054
- },
2055
- {
2056
- "kind": "method",
2057
- "name": "openChanged",
2058
- "privacy": "protected"
2059
- },
2060
- {
2061
- "kind": "method",
2062
- "name": "toggleActionsMenuVisibility"
2063
- },
2064
- {
2065
- "kind": "method",
2066
- "name": "onActionMenuItemClick",
2067
- "parameters": [
2068
- {
2069
- "name": "callback",
2070
- "type": {
2071
- "text": "(rowData) => void | any"
2072
- }
2073
- }
2074
- ]
2075
- },
2076
- {
2077
- "kind": "field",
2078
- "name": "allActions",
2079
- "type": {
2080
- "text": "ActionMenuItem[]"
2081
- },
2082
- "readonly": true
2083
- },
2084
- {
2085
- "kind": "field",
2086
- "name": "rowData",
2087
- "readonly": true
2088
- },
2089
- {
2090
- "kind": "method",
2091
- "name": "getLabel",
2092
- "parameters": [
2093
- {
2094
- "name": "name",
2095
- "type": {
2096
- "text": "string | ((rowData: any) => string)"
2097
- }
2098
- }
2099
- ]
2100
- },
2101
- {
2102
- "kind": "method",
2103
- "name": "getTemplate",
2104
- "parameters": [
2105
- {
2106
- "name": "prefix",
2107
- "type": {
2108
- "text": "string"
2109
- }
2110
- }
2111
- ]
2112
- },
2113
2129
  {
2114
2130
  "kind": "field",
2115
2131
  "name": "_presentation",
@@ -2222,138 +2238,78 @@
2222
2238
  }
2223
2239
  }
2224
2240
  ],
2225
- "attributes": [
2226
- {
2227
- "name": "is-vertical",
2228
- "type": {
2229
- "text": "boolean"
2230
- },
2231
- "default": "false",
2232
- "fieldName": "isVertical"
2233
- },
2234
- {
2235
- "name": "add-default-actions",
2236
- "type": {
2237
- "text": "boolean"
2238
- },
2239
- "default": "true",
2240
- "fieldName": "addDefaultActions"
2241
- },
2242
- {
2243
- "name": "auto-close-on-action",
2244
- "type": {
2245
- "text": "boolean"
2246
- },
2247
- "default": "true",
2248
- "fieldName": "autoCloseOnAction"
2249
- },
2250
- {
2251
- "name": "name",
2252
- "type": {
2253
- "text": "string"
2254
- },
2255
- "default": "'Actions'",
2256
- "fieldName": "name"
2257
- },
2258
- {
2259
- "name": "open",
2260
- "type": {
2261
- "text": "boolean"
2262
- },
2263
- "default": "false",
2264
- "fieldName": "open"
2265
- },
2266
- {
2267
- "name": "buttonAppearance",
2268
- "type": {
2269
- "text": "string"
2270
- },
2271
- "fieldName": "buttonAppearance"
2272
- },
2273
- {
2274
- "name": "hide-disabled",
2275
- "type": {
2276
- "text": "boolean"
2277
- },
2278
- "default": "false",
2279
- "fieldName": "hideDisabled"
2280
- },
2241
+ "events": [
2281
2242
  {
2282
- "name": "hide-menu-single-option",
2283
- "type": {
2284
- "text": "boolean"
2285
- },
2286
- "default": "false",
2287
- "fieldName": "hideMenuSingleOption"
2243
+ "description": "Fires a custom 'change' event when the button is invoked",
2244
+ "name": "change",
2245
+ "inheritedFrom": {
2246
+ "name": "AccordionItem",
2247
+ "module": "src/accordion-item/accordion-item.ts"
2248
+ }
2288
2249
  }
2289
- ],
2290
- "superclass": {
2291
- "name": "FoundationElement",
2292
- "package": "@microsoft/fast-foundation"
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "variable",
2254
+ "name": "foundationAccordionItemShadowOptions",
2255
+ "type": {
2256
+ "text": "ShadowRootInit"
2293
2257
  },
2294
- "tagName": "%%prefix%%-actions-menu",
2295
- "customElement": true
2258
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2296
2259
  },
2297
2260
  {
2298
2261
  "kind": "variable",
2299
- "name": "foundationActionsMenu",
2300
- "description": "The Foundation Actions Menu",
2262
+ "name": "defaultAccordionItemConfig",
2263
+ "type": {
2264
+ "text": "object"
2265
+ },
2266
+ "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}"
2267
+ },
2268
+ {
2269
+ "kind": "variable",
2270
+ "name": "foundationAccordionItem",
2271
+ "description": "The Foundation Accordion Item",
2301
2272
  "privacy": "public"
2302
2273
  }
2303
2274
  ],
2304
2275
  "exports": [
2305
2276
  {
2306
2277
  "kind": "js",
2307
- "name": "ActionsMenu",
2308
- "declaration": {
2309
- "name": "ActionsMenu",
2310
- "module": "src/actions-menu/actions-menu.ts"
2311
- }
2312
- },
2313
- {
2314
- "kind": "js",
2315
- "name": "foundationActionsMenu",
2278
+ "name": "AccordionItem",
2316
2279
  "declaration": {
2317
- "name": "foundationActionsMenu",
2318
- "module": "src/actions-menu/actions-menu.ts"
2319
- }
2320
- }
2321
- ]
2322
- },
2323
- {
2324
- "kind": "javascript-module",
2325
- "path": "src/actions-menu/index.ts",
2326
- "declarations": [],
2327
- "exports": [
2280
+ "name": "AccordionItem",
2281
+ "module": "src/accordion-item/accordion-item.ts"
2282
+ }
2283
+ },
2328
2284
  {
2329
2285
  "kind": "js",
2330
- "name": "*",
2286
+ "name": "foundationAccordionItemShadowOptions",
2331
2287
  "declaration": {
2332
- "name": "*",
2333
- "package": "./actions-menu.styles"
2288
+ "name": "foundationAccordionItemShadowOptions",
2289
+ "module": "src/accordion-item/accordion-item.ts"
2334
2290
  }
2335
2291
  },
2336
2292
  {
2337
2293
  "kind": "js",
2338
- "name": "*",
2294
+ "name": "defaultAccordionItemConfig",
2339
2295
  "declaration": {
2340
- "name": "*",
2341
- "package": "./actions-menu.template"
2296
+ "name": "defaultAccordionItemConfig",
2297
+ "module": "src/accordion-item/accordion-item.ts"
2342
2298
  }
2343
2299
  },
2344
2300
  {
2345
2301
  "kind": "js",
2346
- "name": "*",
2302
+ "name": "foundationAccordionItem",
2347
2303
  "declaration": {
2348
- "name": "*",
2349
- "package": "./actions-menu"
2304
+ "name": "foundationAccordionItem",
2305
+ "module": "src/accordion-item/accordion-item.ts"
2350
2306
  }
2351
2307
  }
2352
2308
  ]
2353
2309
  },
2354
2310
  {
2355
2311
  "kind": "javascript-module",
2356
- "path": "src/_config/index.ts",
2312
+ "path": "src/accordion-item/index.ts",
2357
2313
  "declarations": [],
2358
2314
  "exports": [
2359
2315
  {
@@ -2361,7 +2317,7 @@
2361
2317
  "name": "*",
2362
2318
  "declaration": {
2363
2319
  "name": "*",
2364
- "package": "./styles"
2320
+ "package": "./accordion-item.template"
2365
2321
  }
2366
2322
  },
2367
2323
  {
@@ -2369,7 +2325,7 @@
2369
2325
  "name": "*",
2370
2326
  "declaration": {
2371
2327
  "name": "*",
2372
- "package": "./tokens"
2328
+ "package": "./accordion-item.styles"
2373
2329
  }
2374
2330
  },
2375
2331
  {
@@ -2377,7 +2333,7 @@
2377
2333
  "name": "*",
2378
2334
  "declaration": {
2379
2335
  "name": "*",
2380
- "package": "./values"
2336
+ "package": "./accordion-item"
2381
2337
  }
2382
2338
  }
2383
2339
  ]
@@ -3442,11 +3398,34 @@
3442
3398
  },
3443
3399
  {
3444
3400
  "kind": "javascript-module",
3445
- "path": "src/accordion/accordion.styles.ts",
3401
+ "path": "src/actions-menu/actions-menu.styles.ts",
3446
3402
  "declarations": [
3447
3403
  {
3448
3404
  "kind": "function",
3449
- "name": "foundationAccordionStyles",
3405
+ "name": "actionsMenuBaseStyles",
3406
+ "return": {
3407
+ "type": {
3408
+ "text": "ElementStyles"
3409
+ }
3410
+ },
3411
+ "parameters": [
3412
+ {
3413
+ "name": "context",
3414
+ "type": {
3415
+ "text": "ElementDefinitionContext"
3416
+ }
3417
+ },
3418
+ {
3419
+ "name": "definition",
3420
+ "type": {
3421
+ "text": "FoundationElementDefinition"
3422
+ }
3423
+ }
3424
+ ]
3425
+ },
3426
+ {
3427
+ "kind": "function",
3428
+ "name": "foundationActionsMenuStyles",
3450
3429
  "return": {
3451
3430
  "type": {
3452
3431
  "text": "ElementStyles"
@@ -3471,277 +3450,269 @@
3471
3450
  "exports": [
3472
3451
  {
3473
3452
  "kind": "js",
3474
- "name": "foundationAccordionStyles",
3453
+ "name": "actionsMenuBaseStyles",
3475
3454
  "declaration": {
3476
- "name": "foundationAccordionStyles",
3477
- "module": "src/accordion/accordion.styles.ts"
3455
+ "name": "actionsMenuBaseStyles",
3456
+ "module": "src/actions-menu/actions-menu.styles.ts"
3457
+ }
3458
+ },
3459
+ {
3460
+ "kind": "js",
3461
+ "name": "foundationActionsMenuStyles",
3462
+ "declaration": {
3463
+ "name": "foundationActionsMenuStyles",
3464
+ "module": "src/actions-menu/actions-menu.styles.ts"
3478
3465
  }
3479
3466
  }
3480
3467
  ]
3481
3468
  },
3482
3469
  {
3483
3470
  "kind": "javascript-module",
3484
- "path": "src/accordion/accordion.template.ts",
3471
+ "path": "src/actions-menu/actions-menu.template.ts",
3485
3472
  "declarations": [
3486
3473
  {
3487
3474
  "kind": "function",
3488
- "name": "foundationAccordionTemplate",
3489
- "return": {
3490
- "type": {
3491
- "text": "ViewTemplate<Accordion>"
3492
- }
3493
- },
3475
+ "name": "menuTemplate",
3494
3476
  "parameters": [
3495
3477
  {
3496
- "name": "context",
3478
+ "name": "prefix",
3497
3479
  "type": {
3498
- "text": "ElementDefinitionContext"
3480
+ "text": "string"
3499
3481
  }
3500
- },
3482
+ }
3483
+ ]
3484
+ },
3485
+ {
3486
+ "kind": "function",
3487
+ "name": "singleOptionTemplate",
3488
+ "parameters": [
3501
3489
  {
3502
- "name": "definition",
3490
+ "name": "prefix",
3503
3491
  "type": {
3504
- "text": "FoundationElementDefinition"
3492
+ "text": "string"
3505
3493
  }
3506
3494
  }
3507
3495
  ]
3496
+ },
3497
+ {
3498
+ "kind": "variable",
3499
+ "name": "foundationActionsMenuTemplate",
3500
+ "type": {
3501
+ "text": "ViewTemplate<ActionsMenu>"
3502
+ },
3503
+ "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`"
3508
3504
  }
3509
3505
  ],
3510
3506
  "exports": [
3511
3507
  {
3512
3508
  "kind": "js",
3513
- "name": "foundationAccordionTemplate",
3509
+ "name": "menuTemplate",
3514
3510
  "declaration": {
3515
- "name": "foundationAccordionTemplate",
3516
- "module": "src/accordion/accordion.template.ts"
3511
+ "name": "menuTemplate",
3512
+ "module": "src/actions-menu/actions-menu.template.ts"
3513
+ }
3514
+ },
3515
+ {
3516
+ "kind": "js",
3517
+ "name": "singleOptionTemplate",
3518
+ "declaration": {
3519
+ "name": "singleOptionTemplate",
3520
+ "module": "src/actions-menu/actions-menu.template.ts"
3521
+ }
3522
+ },
3523
+ {
3524
+ "kind": "js",
3525
+ "name": "foundationActionsMenuTemplate",
3526
+ "declaration": {
3527
+ "name": "foundationActionsMenuTemplate",
3528
+ "module": "src/actions-menu/actions-menu.template.ts"
3517
3529
  }
3518
3530
  }
3519
3531
  ]
3520
3532
  },
3521
3533
  {
3522
3534
  "kind": "javascript-module",
3523
- "path": "src/accordion/accordion.ts",
3535
+ "path": "src/actions-menu/actions-menu.ts",
3524
3536
  "declarations": [
3525
3537
  {
3526
3538
  "kind": "class",
3527
3539
  "description": "",
3528
- "name": "Accordion",
3529
- "superclass": {
3530
- "name": "FASTAccordion",
3531
- "package": "@microsoft/fast-foundation"
3532
- },
3533
- "tagName": "%%prefix%%-accordion",
3534
- "customElement": true,
3535
- "attributes": [
3540
+ "name": "ActionsMenu",
3541
+ "members": [
3536
3542
  {
3537
- "name": "expand-mode",
3543
+ "kind": "field",
3544
+ "name": "actions",
3538
3545
  "type": {
3539
- "text": "AccordionExpandMode"
3540
- },
3541
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
- "fieldName": "expandmode",
3543
- "inheritedFrom": {
3544
- "name": "Accordion",
3545
- "module": "src/accordion/accordion.ts"
3546
+ "text": "ActionMenuItem[]"
3546
3547
  }
3547
- }
3548
- ],
3549
- "members": [
3548
+ },
3550
3549
  {
3551
3550
  "kind": "field",
3552
- "name": "expandmode",
3551
+ "name": "isVertical",
3553
3552
  "type": {
3554
- "text": "AccordionExpandMode"
3553
+ "text": "boolean"
3555
3554
  },
3556
- "privacy": "public",
3557
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
- "inheritedFrom": {
3559
- "name": "Accordion",
3560
- "module": "src/accordion/accordion.ts"
3561
- }
3555
+ "default": "false"
3562
3556
  },
3563
3557
  {
3564
3558
  "kind": "field",
3565
- "name": "activeid",
3559
+ "name": "addDefaultActions",
3566
3560
  "type": {
3567
- "text": "string | null"
3561
+ "text": "boolean"
3568
3562
  },
3569
- "privacy": "private",
3570
- "inheritedFrom": {
3571
- "name": "Accordion",
3572
- "module": "src/accordion/accordion.ts"
3573
- }
3563
+ "default": "true"
3574
3564
  },
3575
3565
  {
3576
3566
  "kind": "field",
3577
- "name": "activeItemIndex",
3567
+ "name": "autoCloseOnAction",
3578
3568
  "type": {
3579
- "text": "number"
3569
+ "text": "boolean"
3580
3570
  },
3581
- "privacy": "private",
3582
- "default": "0",
3583
- "inheritedFrom": {
3584
- "name": "Accordion",
3585
- "module": "src/accordion/accordion.ts"
3586
- }
3571
+ "default": "true"
3587
3572
  },
3588
3573
  {
3589
3574
  "kind": "field",
3590
- "name": "accordionIds",
3575
+ "name": "classNames",
3591
3576
  "type": {
3592
- "text": "Array<string | null>"
3593
- },
3594
- "privacy": "private",
3595
- "inheritedFrom": {
3596
- "name": "Accordion",
3597
- "module": "src/accordion/accordion.ts"
3577
+ "text": "string"
3598
3578
  }
3599
3579
  },
3600
3580
  {
3601
3581
  "kind": "field",
3602
- "name": "change",
3603
- "privacy": "private",
3604
- "inheritedFrom": {
3605
- "name": "Accordion",
3606
- "module": "src/accordion/accordion.ts"
3582
+ "name": "definition",
3583
+ "type": {
3584
+ "text": "any"
3607
3585
  }
3608
3586
  },
3609
3587
  {
3610
- "kind": "method",
3611
- "name": "findExpandedItem",
3612
- "privacy": "private",
3613
- "return": {
3614
- "type": {
3615
- "text": "AccordionItem | null"
3616
- }
3588
+ "kind": "field",
3589
+ "name": "name",
3590
+ "type": {
3591
+ "text": "string"
3617
3592
  },
3618
- "inheritedFrom": {
3619
- "name": "Accordion",
3620
- "module": "src/accordion/accordion.ts"
3621
- }
3593
+ "default": "'Actions'"
3622
3594
  },
3623
3595
  {
3624
3596
  "kind": "field",
3625
- "name": "setItems",
3626
- "privacy": "private",
3627
- "inheritedFrom": {
3628
- "name": "Accordion",
3629
- "module": "src/accordion/accordion.ts"
3597
+ "name": "open",
3598
+ "type": {
3599
+ "text": "boolean"
3600
+ },
3601
+ "default": "false"
3602
+ },
3603
+ {
3604
+ "kind": "field",
3605
+ "name": "buttonAppearance",
3606
+ "type": {
3607
+ "text": "string"
3630
3608
  }
3631
3609
  },
3632
3610
  {
3633
- "kind": "method",
3634
- "name": "resetItems",
3635
- "privacy": "private",
3636
- "return": {
3637
- "type": {
3638
- "text": "void"
3639
- }
3611
+ "kind": "field",
3612
+ "name": "hideDisabled",
3613
+ "type": {
3614
+ "text": "boolean"
3640
3615
  },
3641
- "inheritedFrom": {
3642
- "name": "Accordion",
3643
- "module": "src/accordion/accordion.ts"
3644
- }
3616
+ "default": "false"
3617
+ },
3618
+ {
3619
+ "kind": "field",
3620
+ "name": "hideMenuSingleOption",
3621
+ "type": {
3622
+ "text": "boolean"
3623
+ },
3624
+ "default": "false"
3645
3625
  },
3646
3626
  {
3647
3627
  "kind": "field",
3648
- "name": "removeItemListeners",
3649
- "privacy": "private",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3628
+ "name": "singleOption",
3629
+ "type": {
3630
+ "text": "ActionMenuItem"
3653
3631
  }
3654
3632
  },
3655
3633
  {
3656
3634
  "kind": "field",
3657
- "name": "activeItemChange",
3658
- "privacy": "private",
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3635
+ "name": "actionsMenu",
3636
+ "type": {
3637
+ "text": "HTMLElement"
3662
3638
  }
3663
3639
  },
3664
3640
  {
3665
3641
  "kind": "method",
3666
- "name": "getItemIds",
3667
- "privacy": "private",
3668
- "return": {
3669
- "type": {
3670
- "text": "Array<string | null>"
3642
+ "name": "definitionChanged",
3643
+ "privacy": "protected",
3644
+ "parameters": [
3645
+ {
3646
+ "name": "oldValue",
3647
+ "type": {
3648
+ "text": "any"
3649
+ }
3650
+ },
3651
+ {
3652
+ "name": "newValue",
3653
+ "type": {
3654
+ "text": "any"
3655
+ }
3671
3656
  }
3672
- },
3673
- "inheritedFrom": {
3674
- "name": "Accordion",
3675
- "module": "src/accordion/accordion.ts"
3676
- }
3657
+ ]
3677
3658
  },
3678
3659
  {
3679
3660
  "kind": "method",
3680
- "name": "isSingleExpandMode",
3681
- "privacy": "private",
3682
- "return": {
3683
- "type": {
3684
- "text": "boolean"
3661
+ "name": "openChanged",
3662
+ "privacy": "protected"
3663
+ },
3664
+ {
3665
+ "kind": "method",
3666
+ "name": "toggleActionsMenuVisibility"
3667
+ },
3668
+ {
3669
+ "kind": "method",
3670
+ "name": "onActionMenuItemClick",
3671
+ "parameters": [
3672
+ {
3673
+ "name": "callback",
3674
+ "type": {
3675
+ "text": "(rowData) => void | any"
3676
+ }
3685
3677
  }
3686
- },
3687
- "inheritedFrom": {
3688
- "name": "Accordion",
3689
- "module": "src/accordion/accordion.ts"
3690
- }
3678
+ ]
3691
3679
  },
3692
3680
  {
3693
3681
  "kind": "field",
3694
- "name": "handleItemKeyDown",
3695
- "privacy": "private",
3696
- "inheritedFrom": {
3697
- "name": "Accordion",
3698
- "module": "src/accordion/accordion.ts"
3699
- }
3682
+ "name": "allActions",
3683
+ "type": {
3684
+ "text": "ActionMenuItem[]"
3685
+ },
3686
+ "readonly": true
3700
3687
  },
3701
3688
  {
3702
3689
  "kind": "field",
3703
- "name": "handleItemFocus",
3704
- "privacy": "private",
3705
- "inheritedFrom": {
3706
- "name": "Accordion",
3707
- "module": "src/accordion/accordion.ts"
3708
- }
3690
+ "name": "rowData",
3691
+ "readonly": true
3709
3692
  },
3710
3693
  {
3711
3694
  "kind": "method",
3712
- "name": "adjust",
3713
- "privacy": "private",
3714
- "return": {
3715
- "type": {
3716
- "text": "void"
3717
- }
3718
- },
3695
+ "name": "getLabel",
3719
3696
  "parameters": [
3720
3697
  {
3721
- "name": "adjustment",
3698
+ "name": "name",
3722
3699
  "type": {
3723
- "text": "number"
3700
+ "text": "string | ((rowData: any) => string)"
3724
3701
  }
3725
3702
  }
3726
- ],
3727
- "inheritedFrom": {
3728
- "name": "Accordion",
3729
- "module": "src/accordion/accordion.ts"
3730
- }
3703
+ ]
3731
3704
  },
3732
3705
  {
3733
3706
  "kind": "method",
3734
- "name": "focusItem",
3735
- "privacy": "private",
3736
- "return": {
3737
- "type": {
3738
- "text": "void"
3707
+ "name": "getTemplate",
3708
+ "parameters": [
3709
+ {
3710
+ "name": "prefix",
3711
+ "type": {
3712
+ "text": "string"
3713
+ }
3739
3714
  }
3740
- },
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3744
- }
3715
+ ]
3745
3716
  },
3746
3717
  {
3747
3718
  "kind": "field",
@@ -3855,78 +3826,107 @@
3855
3826
  }
3856
3827
  }
3857
3828
  ],
3858
- "events": [
3829
+ "attributes": [
3859
3830
  {
3860
- "description": "Fires a custom 'change' event when the active item changes",
3861
- "name": "change",
3862
- "inheritedFrom": {
3863
- "name": "Accordion",
3864
- "module": "src/accordion/accordion.ts"
3865
- }
3831
+ "name": "is-vertical",
3832
+ "type": {
3833
+ "text": "boolean"
3834
+ },
3835
+ "default": "false",
3836
+ "fieldName": "isVertical"
3837
+ },
3838
+ {
3839
+ "name": "add-default-actions",
3840
+ "type": {
3841
+ "text": "boolean"
3842
+ },
3843
+ "default": "true",
3844
+ "fieldName": "addDefaultActions"
3845
+ },
3846
+ {
3847
+ "name": "auto-close-on-action",
3848
+ "type": {
3849
+ "text": "boolean"
3850
+ },
3851
+ "default": "true",
3852
+ "fieldName": "autoCloseOnAction"
3853
+ },
3854
+ {
3855
+ "name": "name",
3856
+ "type": {
3857
+ "text": "string"
3858
+ },
3859
+ "default": "'Actions'",
3860
+ "fieldName": "name"
3861
+ },
3862
+ {
3863
+ "name": "open",
3864
+ "type": {
3865
+ "text": "boolean"
3866
+ },
3867
+ "default": "false",
3868
+ "fieldName": "open"
3869
+ },
3870
+ {
3871
+ "name": "buttonAppearance",
3872
+ "type": {
3873
+ "text": "string"
3874
+ },
3875
+ "fieldName": "buttonAppearance"
3876
+ },
3877
+ {
3878
+ "name": "hide-disabled",
3879
+ "type": {
3880
+ "text": "boolean"
3881
+ },
3882
+ "default": "false",
3883
+ "fieldName": "hideDisabled"
3884
+ },
3885
+ {
3886
+ "name": "hide-menu-single-option",
3887
+ "type": {
3888
+ "text": "boolean"
3889
+ },
3890
+ "default": "false",
3891
+ "fieldName": "hideMenuSingleOption"
3866
3892
  }
3867
- ]
3868
- },
3869
- {
3870
- "kind": "variable",
3871
- "name": "foundationAccordionShadowOptions",
3872
- "type": {
3873
- "text": "ShadowRootInit"
3874
- },
3875
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3876
- },
3877
- {
3878
- "kind": "variable",
3879
- "name": "defaultAccordionConfig",
3880
- "type": {
3881
- "text": "object"
3893
+ ],
3894
+ "superclass": {
3895
+ "name": "FoundationElement",
3896
+ "package": "@microsoft/fast-foundation"
3882
3897
  },
3883
- "default": "{}"
3898
+ "tagName": "%%prefix%%-actions-menu",
3899
+ "customElement": true
3884
3900
  },
3885
3901
  {
3886
3902
  "kind": "variable",
3887
- "name": "foundationAccordion",
3888
- "description": "The Foundation Accordion",
3903
+ "name": "foundationActionsMenu",
3904
+ "description": "The Foundation Actions Menu",
3889
3905
  "privacy": "public"
3890
3906
  }
3891
3907
  ],
3892
3908
  "exports": [
3893
3909
  {
3894
3910
  "kind": "js",
3895
- "name": "Accordion",
3896
- "declaration": {
3897
- "name": "Accordion",
3898
- "module": "src/accordion/accordion.ts"
3899
- }
3900
- },
3901
- {
3902
- "kind": "js",
3903
- "name": "foundationAccordionShadowOptions",
3904
- "declaration": {
3905
- "name": "foundationAccordionShadowOptions",
3906
- "module": "src/accordion/accordion.ts"
3907
- }
3908
- },
3909
- {
3910
- "kind": "js",
3911
- "name": "defaultAccordionConfig",
3911
+ "name": "ActionsMenu",
3912
3912
  "declaration": {
3913
- "name": "defaultAccordionConfig",
3914
- "module": "src/accordion/accordion.ts"
3913
+ "name": "ActionsMenu",
3914
+ "module": "src/actions-menu/actions-menu.ts"
3915
3915
  }
3916
3916
  },
3917
3917
  {
3918
3918
  "kind": "js",
3919
- "name": "foundationAccordion",
3919
+ "name": "foundationActionsMenu",
3920
3920
  "declaration": {
3921
- "name": "foundationAccordion",
3922
- "module": "src/accordion/accordion.ts"
3921
+ "name": "foundationActionsMenu",
3922
+ "module": "src/actions-menu/actions-menu.ts"
3923
3923
  }
3924
3924
  }
3925
3925
  ]
3926
3926
  },
3927
3927
  {
3928
3928
  "kind": "javascript-module",
3929
- "path": "src/accordion/index.ts",
3929
+ "path": "src/actions-menu/index.ts",
3930
3930
  "declarations": [],
3931
3931
  "exports": [
3932
3932
  {
@@ -3934,7 +3934,7 @@
3934
3934
  "name": "*",
3935
3935
  "declaration": {
3936
3936
  "name": "*",
3937
- "package": "./accordion.template"
3937
+ "package": "./actions-menu.styles"
3938
3938
  }
3939
3939
  },
3940
3940
  {
@@ -3942,7 +3942,7 @@
3942
3942
  "name": "*",
3943
3943
  "declaration": {
3944
3944
  "name": "*",
3945
- "package": "./accordion.styles"
3945
+ "package": "./actions-menu.template"
3946
3946
  }
3947
3947
  },
3948
3948
  {
@@ -3950,7 +3950,7 @@
3950
3950
  "name": "*",
3951
3951
  "declaration": {
3952
3952
  "name": "*",
3953
- "package": "./accordion"
3953
+ "package": "./actions-menu"
3954
3954
  }
3955
3955
  }
3956
3956
  ]