@genesislcap/foundation-ui 14.479.0 → 14.479.1-alpha-af2aa5c.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.
@@ -1431,34 +1431,11 @@
1431
1431
  },
1432
1432
  {
1433
1433
  "kind": "javascript-module",
1434
- "path": "src/actions-menu/actions-menu.styles.ts",
1434
+ "path": "src/accordion-item/accordion-item.styles.ts",
1435
1435
  "declarations": [
1436
1436
  {
1437
1437
  "kind": "function",
1438
- "name": "actionsMenuBaseStyles",
1439
- "return": {
1440
- "type": {
1441
- "text": "ElementStyles"
1442
- }
1443
- },
1444
- "parameters": [
1445
- {
1446
- "name": "context",
1447
- "type": {
1448
- "text": "ElementDefinitionContext"
1449
- }
1450
- },
1451
- {
1452
- "name": "definition",
1453
- "type": {
1454
- "text": "FoundationElementDefinition"
1455
- }
1456
- }
1457
- ]
1458
- },
1459
- {
1460
- "kind": "function",
1461
- "name": "foundationActionsMenuStyles",
1438
+ "name": "foundationAccordionItemStyles",
1462
1439
  "return": {
1463
1440
  "type": {
1464
1441
  "text": "ElementStyles"
@@ -1483,270 +1460,157 @@
1483
1460
  "exports": [
1484
1461
  {
1485
1462
  "kind": "js",
1486
- "name": "actionsMenuBaseStyles",
1487
- "declaration": {
1488
- "name": "actionsMenuBaseStyles",
1489
- "module": "src/actions-menu/actions-menu.styles.ts"
1490
- }
1491
- },
1492
- {
1493
- "kind": "js",
1494
- "name": "foundationActionsMenuStyles",
1463
+ "name": "foundationAccordionItemStyles",
1495
1464
  "declaration": {
1496
- "name": "foundationActionsMenuStyles",
1497
- "module": "src/actions-menu/actions-menu.styles.ts"
1465
+ "name": "foundationAccordionItemStyles",
1466
+ "module": "src/accordion-item/accordion-item.styles.ts"
1498
1467
  }
1499
1468
  }
1500
1469
  ]
1501
1470
  },
1502
1471
  {
1503
1472
  "kind": "javascript-module",
1504
- "path": "src/actions-menu/actions-menu.template.ts",
1473
+ "path": "src/accordion-item/accordion-item.template.ts",
1505
1474
  "declarations": [
1506
1475
  {
1507
1476
  "kind": "function",
1508
- "name": "menuTemplate",
1477
+ "name": "foundationAccordionItemTemplate",
1478
+ "return": {
1479
+ "type": {
1480
+ "text": "ViewTemplate<AccordionItem>"
1481
+ }
1482
+ },
1509
1483
  "parameters": [
1510
1484
  {
1511
- "name": "prefix",
1485
+ "name": "context",
1512
1486
  "type": {
1513
- "text": "string"
1487
+ "text": "ElementDefinitionContext"
1514
1488
  }
1515
- }
1516
- ]
1517
- },
1518
- {
1519
- "kind": "function",
1520
- "name": "singleOptionTemplate",
1521
- "parameters": [
1489
+ },
1522
1490
  {
1523
- "name": "prefix",
1491
+ "name": "definition",
1524
1492
  "type": {
1525
- "text": "string"
1493
+ "text": "FoundationElementDefinition"
1526
1494
  }
1527
1495
  }
1528
1496
  ]
1529
- },
1530
- {
1531
- "kind": "variable",
1532
- "name": "foundationActionsMenuTemplate",
1533
- "type": {
1534
- "text": "ViewTemplate<ActionsMenu>"
1535
- },
1536
- "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`"
1537
1497
  }
1538
1498
  ],
1539
1499
  "exports": [
1540
1500
  {
1541
1501
  "kind": "js",
1542
- "name": "menuTemplate",
1543
- "declaration": {
1544
- "name": "menuTemplate",
1545
- "module": "src/actions-menu/actions-menu.template.ts"
1546
- }
1547
- },
1548
- {
1549
- "kind": "js",
1550
- "name": "singleOptionTemplate",
1551
- "declaration": {
1552
- "name": "singleOptionTemplate",
1553
- "module": "src/actions-menu/actions-menu.template.ts"
1554
- }
1555
- },
1556
- {
1557
- "kind": "js",
1558
- "name": "foundationActionsMenuTemplate",
1502
+ "name": "foundationAccordionItemTemplate",
1559
1503
  "declaration": {
1560
- "name": "foundationActionsMenuTemplate",
1561
- "module": "src/actions-menu/actions-menu.template.ts"
1504
+ "name": "foundationAccordionItemTemplate",
1505
+ "module": "src/accordion-item/accordion-item.template.ts"
1562
1506
  }
1563
1507
  }
1564
1508
  ]
1565
1509
  },
1566
1510
  {
1567
1511
  "kind": "javascript-module",
1568
- "path": "src/actions-menu/actions-menu.ts",
1512
+ "path": "src/accordion-item/accordion-item.ts",
1569
1513
  "declarations": [
1570
1514
  {
1571
1515
  "kind": "class",
1572
1516
  "description": "",
1573
- "name": "ActionsMenu",
1574
- "members": [
1575
- {
1576
- "kind": "field",
1577
- "name": "actions",
1578
- "type": {
1579
- "text": "ActionMenuItem[]"
1580
- }
1581
- },
1582
- {
1583
- "kind": "field",
1584
- "name": "isVertical",
1585
- "type": {
1586
- "text": "boolean"
1587
- },
1588
- "default": "false"
1589
- },
1517
+ "name": "AccordionItem",
1518
+ "superclass": {
1519
+ "name": "FASTAccordionItem",
1520
+ "package": "@microsoft/fast-components"
1521
+ },
1522
+ "tagName": "%%prefix%%-accordion-item",
1523
+ "customElement": true,
1524
+ "attributes": [
1590
1525
  {
1591
- "kind": "field",
1592
- "name": "addDefaultActions",
1526
+ "name": "heading-level",
1593
1527
  "type": {
1594
- "text": "boolean"
1528
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1595
1529
  },
1596
- "default": "true"
1530
+ "default": "2",
1531
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1532
+ "fieldName": "headinglevel",
1533
+ "inheritedFrom": {
1534
+ "name": "AccordionItem",
1535
+ "module": "src/accordion-item/accordion-item.ts"
1536
+ }
1597
1537
  },
1598
1538
  {
1599
- "kind": "field",
1600
- "name": "autoCloseOnAction",
1601
1539
  "type": {
1602
1540
  "text": "boolean"
1603
1541
  },
1604
- "default": "true"
1605
- },
1606
- {
1607
- "kind": "field",
1608
- "name": "classNames",
1609
- "type": {
1610
- "text": "string"
1611
- }
1612
- },
1613
- {
1614
- "kind": "field",
1615
- "name": "definition",
1616
- "type": {
1617
- "text": "any"
1542
+ "default": "false",
1543
+ "description": "Expands or collapses the item.",
1544
+ "fieldName": "expanded",
1545
+ "inheritedFrom": {
1546
+ "name": "AccordionItem",
1547
+ "module": "src/accordion-item/accordion-item.ts"
1618
1548
  }
1619
1549
  },
1620
1550
  {
1621
- "kind": "field",
1622
- "name": "name",
1551
+ "name": "id",
1623
1552
  "type": {
1624
1553
  "text": "string"
1625
1554
  },
1626
- "default": "'Actions'"
1627
- },
1555
+ "description": "The item ID",
1556
+ "fieldName": "id",
1557
+ "inheritedFrom": {
1558
+ "name": "AccordionItem",
1559
+ "module": "src/accordion-item/accordion-item.ts"
1560
+ }
1561
+ }
1562
+ ],
1563
+ "members": [
1628
1564
  {
1629
1565
  "kind": "field",
1630
- "name": "open",
1566
+ "name": "headinglevel",
1631
1567
  "type": {
1632
- "text": "boolean"
1568
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1633
1569
  },
1634
- "default": "false"
1635
- },
1636
- {
1637
- "kind": "field",
1638
- "name": "buttonAppearance",
1639
- "type": {
1640
- "text": "string"
1570
+ "privacy": "public",
1571
+ "default": "2",
1572
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1573
+ "inheritedFrom": {
1574
+ "name": "AccordionItem",
1575
+ "module": "src/accordion-item/accordion-item.ts"
1641
1576
  }
1642
1577
  },
1643
1578
  {
1644
1579
  "kind": "field",
1645
- "name": "hideDisabled",
1580
+ "name": "expanded",
1646
1581
  "type": {
1647
1582
  "text": "boolean"
1648
1583
  },
1649
- "default": "false"
1584
+ "privacy": "public",
1585
+ "default": "false",
1586
+ "description": "Expands or collapses the item.",
1587
+ "inheritedFrom": {
1588
+ "name": "AccordionItem",
1589
+ "module": "src/accordion-item/accordion-item.ts"
1590
+ }
1650
1591
  },
1651
1592
  {
1652
1593
  "kind": "field",
1653
- "name": "hideMenuSingleOption",
1594
+ "name": "id",
1654
1595
  "type": {
1655
- "text": "boolean"
1596
+ "text": "string"
1656
1597
  },
1657
- "default": "false"
1658
- },
1659
- {
1660
- "kind": "field",
1661
- "name": "singleOption",
1662
- "type": {
1663
- "text": "ActionMenuItem"
1598
+ "privacy": "public",
1599
+ "description": "The item ID",
1600
+ "inheritedFrom": {
1601
+ "name": "AccordionItem",
1602
+ "module": "src/accordion-item/accordion-item.ts"
1664
1603
  }
1665
1604
  },
1666
1605
  {
1667
1606
  "kind": "field",
1668
- "name": "actionsMenu",
1669
- "type": {
1670
- "text": "HTMLElement"
1607
+ "name": "change",
1608
+ "privacy": "private",
1609
+ "inheritedFrom": {
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1671
1612
  }
1672
1613
  },
1673
- {
1674
- "kind": "method",
1675
- "name": "definitionChanged",
1676
- "privacy": "protected",
1677
- "parameters": [
1678
- {
1679
- "name": "oldValue",
1680
- "type": {
1681
- "text": "any"
1682
- }
1683
- },
1684
- {
1685
- "name": "newValue",
1686
- "type": {
1687
- "text": "any"
1688
- }
1689
- }
1690
- ]
1691
- },
1692
- {
1693
- "kind": "method",
1694
- "name": "openChanged",
1695
- "privacy": "protected"
1696
- },
1697
- {
1698
- "kind": "method",
1699
- "name": "toggleActionsMenuVisibility"
1700
- },
1701
- {
1702
- "kind": "method",
1703
- "name": "onActionMenuItemClick",
1704
- "parameters": [
1705
- {
1706
- "name": "callback",
1707
- "type": {
1708
- "text": "(rowData) => void | any"
1709
- }
1710
- }
1711
- ]
1712
- },
1713
- {
1714
- "kind": "field",
1715
- "name": "allActions",
1716
- "type": {
1717
- "text": "ActionMenuItem[]"
1718
- },
1719
- "readonly": true
1720
- },
1721
- {
1722
- "kind": "field",
1723
- "name": "rowData",
1724
- "readonly": true
1725
- },
1726
- {
1727
- "kind": "method",
1728
- "name": "getLabel",
1729
- "parameters": [
1730
- {
1731
- "name": "name",
1732
- "type": {
1733
- "text": "string | ((rowData: any) => string)"
1734
- }
1735
- }
1736
- ]
1737
- },
1738
- {
1739
- "kind": "method",
1740
- "name": "getTemplate",
1741
- "parameters": [
1742
- {
1743
- "name": "prefix",
1744
- "type": {
1745
- "text": "string"
1746
- }
1747
- }
1748
- ]
1749
- },
1750
1614
  {
1751
1615
  "kind": "field",
1752
1616
  "name": "_presentation",
@@ -1859,107 +1723,78 @@
1859
1723
  }
1860
1724
  }
1861
1725
  ],
1862
- "attributes": [
1863
- {
1864
- "name": "is-vertical",
1865
- "type": {
1866
- "text": "boolean"
1867
- },
1868
- "default": "false",
1869
- "fieldName": "isVertical"
1870
- },
1871
- {
1872
- "name": "add-default-actions",
1873
- "type": {
1874
- "text": "boolean"
1875
- },
1876
- "default": "true",
1877
- "fieldName": "addDefaultActions"
1878
- },
1879
- {
1880
- "name": "auto-close-on-action",
1881
- "type": {
1882
- "text": "boolean"
1883
- },
1884
- "default": "true",
1885
- "fieldName": "autoCloseOnAction"
1886
- },
1887
- {
1888
- "name": "name",
1889
- "type": {
1890
- "text": "string"
1891
- },
1892
- "default": "'Actions'",
1893
- "fieldName": "name"
1894
- },
1895
- {
1896
- "name": "open",
1897
- "type": {
1898
- "text": "boolean"
1899
- },
1900
- "default": "false",
1901
- "fieldName": "open"
1902
- },
1903
- {
1904
- "name": "buttonAppearance",
1905
- "type": {
1906
- "text": "string"
1907
- },
1908
- "fieldName": "buttonAppearance"
1909
- },
1910
- {
1911
- "name": "hide-disabled",
1912
- "type": {
1913
- "text": "boolean"
1914
- },
1915
- "default": "false",
1916
- "fieldName": "hideDisabled"
1917
- },
1726
+ "events": [
1918
1727
  {
1919
- "name": "hide-menu-single-option",
1920
- "type": {
1921
- "text": "boolean"
1922
- },
1923
- "default": "false",
1924
- "fieldName": "hideMenuSingleOption"
1728
+ "description": "Fires a custom 'change' event when the button is invoked",
1729
+ "name": "change",
1730
+ "inheritedFrom": {
1731
+ "name": "AccordionItem",
1732
+ "module": "src/accordion-item/accordion-item.ts"
1733
+ }
1925
1734
  }
1926
- ],
1927
- "superclass": {
1928
- "name": "FoundationElement",
1929
- "package": "@microsoft/fast-foundation"
1735
+ ]
1736
+ },
1737
+ {
1738
+ "kind": "variable",
1739
+ "name": "foundationAccordionItemShadowOptions",
1740
+ "type": {
1741
+ "text": "ShadowRootInit"
1930
1742
  },
1931
- "tagName": "%%prefix%%-actions-menu",
1932
- "customElement": true
1743
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1933
1744
  },
1934
1745
  {
1935
1746
  "kind": "variable",
1936
- "name": "foundationActionsMenu",
1937
- "description": "The Foundation Actions Menu",
1747
+ "name": "defaultAccordionItemConfig",
1748
+ "type": {
1749
+ "text": "object"
1750
+ },
1751
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1752
+ },
1753
+ {
1754
+ "kind": "variable",
1755
+ "name": "foundationAccordionItem",
1756
+ "description": "The Foundation Accordion Item",
1938
1757
  "privacy": "public"
1939
1758
  }
1940
1759
  ],
1941
1760
  "exports": [
1942
1761
  {
1943
1762
  "kind": "js",
1944
- "name": "ActionsMenu",
1763
+ "name": "AccordionItem",
1945
1764
  "declaration": {
1946
- "name": "ActionsMenu",
1947
- "module": "src/actions-menu/actions-menu.ts"
1765
+ "name": "AccordionItem",
1766
+ "module": "src/accordion-item/accordion-item.ts"
1948
1767
  }
1949
1768
  },
1950
1769
  {
1951
1770
  "kind": "js",
1952
- "name": "foundationActionsMenu",
1771
+ "name": "foundationAccordionItemShadowOptions",
1953
1772
  "declaration": {
1954
- "name": "foundationActionsMenu",
1955
- "module": "src/actions-menu/actions-menu.ts"
1773
+ "name": "foundationAccordionItemShadowOptions",
1774
+ "module": "src/accordion-item/accordion-item.ts"
1775
+ }
1776
+ },
1777
+ {
1778
+ "kind": "js",
1779
+ "name": "defaultAccordionItemConfig",
1780
+ "declaration": {
1781
+ "name": "defaultAccordionItemConfig",
1782
+ "module": "src/accordion-item/accordion-item.ts"
1783
+ }
1784
+ },
1785
+ {
1786
+ "kind": "js",
1787
+ "name": "foundationAccordionItem",
1788
+ "declaration": {
1789
+ "name": "foundationAccordionItem",
1790
+ "module": "src/accordion-item/accordion-item.ts"
1956
1791
  }
1957
1792
  }
1958
1793
  ]
1959
1794
  },
1960
1795
  {
1961
1796
  "kind": "javascript-module",
1962
- "path": "src/actions-menu/index.ts",
1797
+ "path": "src/accordion-item/index.ts",
1963
1798
  "declarations": [],
1964
1799
  "exports": [
1965
1800
  {
@@ -1967,7 +1802,7 @@
1967
1802
  "name": "*",
1968
1803
  "declaration": {
1969
1804
  "name": "*",
1970
- "package": "./actions-menu.styles"
1805
+ "package": "./accordion-item.template"
1971
1806
  }
1972
1807
  },
1973
1808
  {
@@ -1975,7 +1810,7 @@
1975
1810
  "name": "*",
1976
1811
  "declaration": {
1977
1812
  "name": "*",
1978
- "package": "./actions-menu.template"
1813
+ "package": "./accordion-item.styles"
1979
1814
  }
1980
1815
  },
1981
1816
  {
@@ -1983,18 +1818,18 @@
1983
1818
  "name": "*",
1984
1819
  "declaration": {
1985
1820
  "name": "*",
1986
- "package": "./actions-menu"
1821
+ "package": "./accordion-item"
1987
1822
  }
1988
1823
  }
1989
1824
  ]
1990
1825
  },
1991
1826
  {
1992
1827
  "kind": "javascript-module",
1993
- "path": "src/accordion-item/accordion-item.styles.ts",
1828
+ "path": "src/accordion/accordion.styles.ts",
1994
1829
  "declarations": [
1995
1830
  {
1996
1831
  "kind": "function",
1997
- "name": "foundationAccordionItemStyles",
1832
+ "name": "foundationAccordionStyles",
1998
1833
  "return": {
1999
1834
  "type": {
2000
1835
  "text": "ElementStyles"
@@ -2019,24 +1854,24 @@
2019
1854
  "exports": [
2020
1855
  {
2021
1856
  "kind": "js",
2022
- "name": "foundationAccordionItemStyles",
1857
+ "name": "foundationAccordionStyles",
2023
1858
  "declaration": {
2024
- "name": "foundationAccordionItemStyles",
2025
- "module": "src/accordion-item/accordion-item.styles.ts"
1859
+ "name": "foundationAccordionStyles",
1860
+ "module": "src/accordion/accordion.styles.ts"
2026
1861
  }
2027
1862
  }
2028
1863
  ]
2029
1864
  },
2030
1865
  {
2031
1866
  "kind": "javascript-module",
2032
- "path": "src/accordion-item/accordion-item.template.ts",
1867
+ "path": "src/accordion/accordion.template.ts",
2033
1868
  "declarations": [
2034
1869
  {
2035
1870
  "kind": "function",
2036
- "name": "foundationAccordionItemTemplate",
1871
+ "name": "foundationAccordionTemplate",
2037
1872
  "return": {
2038
1873
  "type": {
2039
- "text": "ViewTemplate<AccordionItem>"
1874
+ "text": "ViewTemplate<Accordion>"
2040
1875
  }
2041
1876
  },
2042
1877
  "parameters": [
@@ -2058,116 +1893,237 @@
2058
1893
  "exports": [
2059
1894
  {
2060
1895
  "kind": "js",
2061
- "name": "foundationAccordionItemTemplate",
1896
+ "name": "foundationAccordionTemplate",
2062
1897
  "declaration": {
2063
- "name": "foundationAccordionItemTemplate",
2064
- "module": "src/accordion-item/accordion-item.template.ts"
1898
+ "name": "foundationAccordionTemplate",
1899
+ "module": "src/accordion/accordion.template.ts"
2065
1900
  }
2066
1901
  }
2067
1902
  ]
2068
1903
  },
2069
1904
  {
2070
1905
  "kind": "javascript-module",
2071
- "path": "src/accordion-item/accordion-item.ts",
1906
+ "path": "src/accordion/accordion.ts",
2072
1907
  "declarations": [
2073
1908
  {
2074
1909
  "kind": "class",
2075
1910
  "description": "",
2076
- "name": "AccordionItem",
1911
+ "name": "Accordion",
2077
1912
  "superclass": {
2078
- "name": "FASTAccordionItem",
2079
- "package": "@microsoft/fast-components"
1913
+ "name": "FASTAccordion",
1914
+ "package": "@microsoft/fast-foundation"
2080
1915
  },
2081
- "tagName": "%%prefix%%-accordion-item",
1916
+ "tagName": "%%prefix%%-accordion",
2082
1917
  "customElement": true,
2083
1918
  "attributes": [
2084
1919
  {
2085
- "name": "heading-level",
1920
+ "name": "expand-mode",
2086
1921
  "type": {
2087
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1922
+ "text": "AccordionExpandMode"
2088
1923
  },
2089
- "default": "2",
2090
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2091
- "fieldName": "headinglevel",
1924
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
+ "fieldName": "expandmode",
2092
1926
  "inheritedFrom": {
2093
- "name": "AccordionItem",
2094
- "module": "src/accordion-item/accordion-item.ts"
1927
+ "name": "Accordion",
1928
+ "module": "src/accordion/accordion.ts"
2095
1929
  }
2096
- },
1930
+ }
1931
+ ],
1932
+ "members": [
2097
1933
  {
1934
+ "kind": "field",
1935
+ "name": "expandmode",
2098
1936
  "type": {
2099
- "text": "boolean"
1937
+ "text": "AccordionExpandMode"
2100
1938
  },
2101
- "default": "false",
2102
- "description": "Expands or collapses the item.",
2103
- "fieldName": "expanded",
1939
+ "privacy": "public",
1940
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2104
1941
  "inheritedFrom": {
2105
- "name": "AccordionItem",
2106
- "module": "src/accordion-item/accordion-item.ts"
1942
+ "name": "Accordion",
1943
+ "module": "src/accordion/accordion.ts"
2107
1944
  }
2108
1945
  },
2109
1946
  {
2110
- "name": "id",
1947
+ "kind": "field",
1948
+ "name": "activeid",
2111
1949
  "type": {
2112
- "text": "string"
1950
+ "text": "string | null"
2113
1951
  },
2114
- "description": "The item ID",
2115
- "fieldName": "id",
1952
+ "privacy": "private",
2116
1953
  "inheritedFrom": {
2117
- "name": "AccordionItem",
2118
- "module": "src/accordion-item/accordion-item.ts"
1954
+ "name": "Accordion",
1955
+ "module": "src/accordion/accordion.ts"
2119
1956
  }
2120
- }
2121
- ],
2122
- "members": [
1957
+ },
2123
1958
  {
2124
1959
  "kind": "field",
2125
- "name": "headinglevel",
1960
+ "name": "activeItemIndex",
2126
1961
  "type": {
2127
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1962
+ "text": "number"
2128
1963
  },
2129
- "privacy": "public",
2130
- "default": "2",
2131
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1964
+ "privacy": "private",
1965
+ "default": "0",
2132
1966
  "inheritedFrom": {
2133
- "name": "AccordionItem",
2134
- "module": "src/accordion-item/accordion-item.ts"
1967
+ "name": "Accordion",
1968
+ "module": "src/accordion/accordion.ts"
2135
1969
  }
2136
1970
  },
2137
1971
  {
2138
1972
  "kind": "field",
2139
- "name": "expanded",
1973
+ "name": "accordionIds",
2140
1974
  "type": {
2141
- "text": "boolean"
1975
+ "text": "Array<string | null>"
2142
1976
  },
2143
- "privacy": "public",
2144
- "default": "false",
2145
- "description": "Expands or collapses the item.",
1977
+ "privacy": "private",
2146
1978
  "inheritedFrom": {
2147
- "name": "AccordionItem",
2148
- "module": "src/accordion-item/accordion-item.ts"
1979
+ "name": "Accordion",
1980
+ "module": "src/accordion/accordion.ts"
2149
1981
  }
2150
1982
  },
2151
1983
  {
2152
1984
  "kind": "field",
2153
- "name": "id",
2154
- "type": {
2155
- "text": "string"
1985
+ "name": "change",
1986
+ "privacy": "private",
1987
+ "inheritedFrom": {
1988
+ "name": "Accordion",
1989
+ "module": "src/accordion/accordion.ts"
1990
+ }
1991
+ },
1992
+ {
1993
+ "kind": "method",
1994
+ "name": "findExpandedItem",
1995
+ "privacy": "private",
1996
+ "return": {
1997
+ "type": {
1998
+ "text": "AccordionItem | null"
1999
+ }
2156
2000
  },
2157
- "privacy": "public",
2158
- "description": "The item ID",
2159
2001
  "inheritedFrom": {
2160
- "name": "AccordionItem",
2161
- "module": "src/accordion-item/accordion-item.ts"
2002
+ "name": "Accordion",
2003
+ "module": "src/accordion/accordion.ts"
2162
2004
  }
2163
2005
  },
2164
2006
  {
2165
2007
  "kind": "field",
2166
- "name": "change",
2008
+ "name": "setItems",
2167
2009
  "privacy": "private",
2168
2010
  "inheritedFrom": {
2169
- "name": "AccordionItem",
2170
- "module": "src/accordion-item/accordion-item.ts"
2011
+ "name": "Accordion",
2012
+ "module": "src/accordion/accordion.ts"
2013
+ }
2014
+ },
2015
+ {
2016
+ "kind": "method",
2017
+ "name": "resetItems",
2018
+ "privacy": "private",
2019
+ "return": {
2020
+ "type": {
2021
+ "text": "void"
2022
+ }
2023
+ },
2024
+ "inheritedFrom": {
2025
+ "name": "Accordion",
2026
+ "module": "src/accordion/accordion.ts"
2027
+ }
2028
+ },
2029
+ {
2030
+ "kind": "field",
2031
+ "name": "removeItemListeners",
2032
+ "privacy": "private",
2033
+ "inheritedFrom": {
2034
+ "name": "Accordion",
2035
+ "module": "src/accordion/accordion.ts"
2036
+ }
2037
+ },
2038
+ {
2039
+ "kind": "field",
2040
+ "name": "activeItemChange",
2041
+ "privacy": "private",
2042
+ "inheritedFrom": {
2043
+ "name": "Accordion",
2044
+ "module": "src/accordion/accordion.ts"
2045
+ }
2046
+ },
2047
+ {
2048
+ "kind": "method",
2049
+ "name": "getItemIds",
2050
+ "privacy": "private",
2051
+ "return": {
2052
+ "type": {
2053
+ "text": "Array<string | null>"
2054
+ }
2055
+ },
2056
+ "inheritedFrom": {
2057
+ "name": "Accordion",
2058
+ "module": "src/accordion/accordion.ts"
2059
+ }
2060
+ },
2061
+ {
2062
+ "kind": "method",
2063
+ "name": "isSingleExpandMode",
2064
+ "privacy": "private",
2065
+ "return": {
2066
+ "type": {
2067
+ "text": "boolean"
2068
+ }
2069
+ },
2070
+ "inheritedFrom": {
2071
+ "name": "Accordion",
2072
+ "module": "src/accordion/accordion.ts"
2073
+ }
2074
+ },
2075
+ {
2076
+ "kind": "field",
2077
+ "name": "handleItemKeyDown",
2078
+ "privacy": "private",
2079
+ "inheritedFrom": {
2080
+ "name": "Accordion",
2081
+ "module": "src/accordion/accordion.ts"
2082
+ }
2083
+ },
2084
+ {
2085
+ "kind": "field",
2086
+ "name": "handleItemFocus",
2087
+ "privacy": "private",
2088
+ "inheritedFrom": {
2089
+ "name": "Accordion",
2090
+ "module": "src/accordion/accordion.ts"
2091
+ }
2092
+ },
2093
+ {
2094
+ "kind": "method",
2095
+ "name": "adjust",
2096
+ "privacy": "private",
2097
+ "return": {
2098
+ "type": {
2099
+ "text": "void"
2100
+ }
2101
+ },
2102
+ "parameters": [
2103
+ {
2104
+ "name": "adjustment",
2105
+ "type": {
2106
+ "text": "number"
2107
+ }
2108
+ }
2109
+ ],
2110
+ "inheritedFrom": {
2111
+ "name": "Accordion",
2112
+ "module": "src/accordion/accordion.ts"
2113
+ }
2114
+ },
2115
+ {
2116
+ "kind": "method",
2117
+ "name": "focusItem",
2118
+ "privacy": "private",
2119
+ "return": {
2120
+ "type": {
2121
+ "text": "void"
2122
+ }
2123
+ },
2124
+ "inheritedFrom": {
2125
+ "name": "Accordion",
2126
+ "module": "src/accordion/accordion.ts"
2171
2127
  }
2172
2128
  },
2173
2129
  {
@@ -2284,18 +2240,18 @@
2284
2240
  ],
2285
2241
  "events": [
2286
2242
  {
2287
- "description": "Fires a custom 'change' event when the button is invoked",
2243
+ "description": "Fires a custom 'change' event when the active item changes",
2288
2244
  "name": "change",
2289
2245
  "inheritedFrom": {
2290
- "name": "AccordionItem",
2291
- "module": "src/accordion-item/accordion-item.ts"
2246
+ "name": "Accordion",
2247
+ "module": "src/accordion/accordion.ts"
2292
2248
  }
2293
2249
  }
2294
2250
  ]
2295
2251
  },
2296
2252
  {
2297
2253
  "kind": "variable",
2298
- "name": "foundationAccordionItemShadowOptions",
2254
+ "name": "foundationAccordionShadowOptions",
2299
2255
  "type": {
2300
2256
  "text": "ShadowRootInit"
2301
2257
  },
@@ -2303,57 +2259,57 @@
2303
2259
  },
2304
2260
  {
2305
2261
  "kind": "variable",
2306
- "name": "defaultAccordionItemConfig",
2262
+ "name": "defaultAccordionConfig",
2307
2263
  "type": {
2308
2264
  "text": "object"
2309
2265
  },
2310
- "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}"
2266
+ "default": "{}"
2311
2267
  },
2312
2268
  {
2313
2269
  "kind": "variable",
2314
- "name": "foundationAccordionItem",
2315
- "description": "The Foundation Accordion Item",
2270
+ "name": "foundationAccordion",
2271
+ "description": "The Foundation Accordion",
2316
2272
  "privacy": "public"
2317
2273
  }
2318
2274
  ],
2319
2275
  "exports": [
2320
2276
  {
2321
2277
  "kind": "js",
2322
- "name": "AccordionItem",
2278
+ "name": "Accordion",
2323
2279
  "declaration": {
2324
- "name": "AccordionItem",
2325
- "module": "src/accordion-item/accordion-item.ts"
2280
+ "name": "Accordion",
2281
+ "module": "src/accordion/accordion.ts"
2326
2282
  }
2327
2283
  },
2328
2284
  {
2329
2285
  "kind": "js",
2330
- "name": "foundationAccordionItemShadowOptions",
2286
+ "name": "foundationAccordionShadowOptions",
2331
2287
  "declaration": {
2332
- "name": "foundationAccordionItemShadowOptions",
2333
- "module": "src/accordion-item/accordion-item.ts"
2288
+ "name": "foundationAccordionShadowOptions",
2289
+ "module": "src/accordion/accordion.ts"
2334
2290
  }
2335
2291
  },
2336
2292
  {
2337
2293
  "kind": "js",
2338
- "name": "defaultAccordionItemConfig",
2294
+ "name": "defaultAccordionConfig",
2339
2295
  "declaration": {
2340
- "name": "defaultAccordionItemConfig",
2341
- "module": "src/accordion-item/accordion-item.ts"
2296
+ "name": "defaultAccordionConfig",
2297
+ "module": "src/accordion/accordion.ts"
2342
2298
  }
2343
2299
  },
2344
2300
  {
2345
2301
  "kind": "js",
2346
- "name": "foundationAccordionItem",
2302
+ "name": "foundationAccordion",
2347
2303
  "declaration": {
2348
- "name": "foundationAccordionItem",
2349
- "module": "src/accordion-item/accordion-item.ts"
2304
+ "name": "foundationAccordion",
2305
+ "module": "src/accordion/accordion.ts"
2350
2306
  }
2351
2307
  }
2352
2308
  ]
2353
2309
  },
2354
2310
  {
2355
2311
  "kind": "javascript-module",
2356
- "path": "src/accordion-item/index.ts",
2312
+ "path": "src/accordion/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": "./accordion-item.template"
2320
+ "package": "./accordion.template"
2365
2321
  }
2366
2322
  },
2367
2323
  {
@@ -2369,7 +2325,7 @@
2369
2325
  "name": "*",
2370
2326
  "declaration": {
2371
2327
  "name": "*",
2372
- "package": "./accordion-item.styles"
2328
+ "package": "./accordion.styles"
2373
2329
  }
2374
2330
  },
2375
2331
  {
@@ -2377,7 +2333,7 @@
2377
2333
  "name": "*",
2378
2334
  "declaration": {
2379
2335
  "name": "*",
2380
- "package": "./accordion-item"
2336
+ "package": "./accordion"
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
  ]