@genesislcap/foundation-ui 15.9.1 → 15.10.0-GENC-1480.2

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