@genesislcap/foundation-ui 15.24.2 → 15.25.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.
@@ -1495,42 +1495,11 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1499
- "declarations": [],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "*",
1504
- "declaration": {
1505
- "name": "*",
1506
- "package": "./styles"
1507
- }
1508
- },
1509
- {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "*",
1520
- "declaration": {
1521
- "name": "*",
1522
- "package": "./values"
1523
- }
1524
- }
1525
- ]
1526
- },
1527
- {
1528
- "kind": "javascript-module",
1529
- "path": "src/accordion/accordion.styles.ts",
1498
+ "path": "src/accordion-item/accordion-item.styles.ts",
1530
1499
  "declarations": [
1531
1500
  {
1532
1501
  "kind": "function",
1533
- "name": "foundationAccordionStyles",
1502
+ "name": "foundationAccordionItemStyles",
1534
1503
  "return": {
1535
1504
  "type": {
1536
1505
  "text": "ElementStyles"
@@ -1555,24 +1524,24 @@
1555
1524
  "exports": [
1556
1525
  {
1557
1526
  "kind": "js",
1558
- "name": "foundationAccordionStyles",
1527
+ "name": "foundationAccordionItemStyles",
1559
1528
  "declaration": {
1560
- "name": "foundationAccordionStyles",
1561
- "module": "src/accordion/accordion.styles.ts"
1529
+ "name": "foundationAccordionItemStyles",
1530
+ "module": "src/accordion-item/accordion-item.styles.ts"
1562
1531
  }
1563
1532
  }
1564
1533
  ]
1565
1534
  },
1566
1535
  {
1567
1536
  "kind": "javascript-module",
1568
- "path": "src/accordion/accordion.template.ts",
1537
+ "path": "src/accordion-item/accordion-item.template.ts",
1569
1538
  "declarations": [
1570
1539
  {
1571
1540
  "kind": "function",
1572
- "name": "foundationAccordionTemplate",
1541
+ "name": "foundationAccordionItemTemplate",
1573
1542
  "return": {
1574
1543
  "type": {
1575
- "text": "ViewTemplate<Accordion>"
1544
+ "text": "ViewTemplate<AccordionItem>"
1576
1545
  }
1577
1546
  },
1578
1547
  "parameters": [
@@ -1594,365 +1563,244 @@
1594
1563
  "exports": [
1595
1564
  {
1596
1565
  "kind": "js",
1597
- "name": "foundationAccordionTemplate",
1566
+ "name": "foundationAccordionItemTemplate",
1598
1567
  "declaration": {
1599
- "name": "foundationAccordionTemplate",
1600
- "module": "src/accordion/accordion.template.ts"
1568
+ "name": "foundationAccordionItemTemplate",
1569
+ "module": "src/accordion-item/accordion-item.template.ts"
1601
1570
  }
1602
1571
  }
1603
1572
  ]
1604
1573
  },
1605
1574
  {
1606
1575
  "kind": "javascript-module",
1607
- "path": "src/accordion/accordion.ts",
1576
+ "path": "src/accordion-item/accordion-item.ts",
1608
1577
  "declarations": [
1609
1578
  {
1610
1579
  "kind": "class",
1611
1580
  "description": "",
1612
- "name": "Accordion",
1581
+ "name": "AccordionItem",
1613
1582
  "superclass": {
1614
- "name": "FASTAccordion",
1615
- "package": "@microsoft/fast-foundation"
1583
+ "name": "FASTAccordionItem",
1584
+ "package": "@microsoft/fast-components"
1616
1585
  },
1617
- "tagName": "%%prefix%%-accordion",
1586
+ "tagName": "%%prefix%%-accordion-item",
1618
1587
  "customElement": true,
1619
1588
  "attributes": [
1620
1589
  {
1621
- "name": "expand-mode",
1590
+ "name": "heading-level",
1622
1591
  "type": {
1623
- "text": "AccordionExpandMode"
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1624
1593
  },
1625
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1626
- "fieldName": "expandmode",
1594
+ "default": "2",
1595
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
+ "fieldName": "headinglevel",
1627
1597
  "inheritedFrom": {
1628
- "name": "Accordion",
1629
- "module": "src/accordion/accordion.ts"
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1600
+ }
1601
+ },
1602
+ {
1603
+ "type": {
1604
+ "text": "boolean"
1605
+ },
1606
+ "default": "false",
1607
+ "description": "Expands or collapses the item.",
1608
+ "fieldName": "expanded",
1609
+ "inheritedFrom": {
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1612
+ }
1613
+ },
1614
+ {
1615
+ "name": "id",
1616
+ "type": {
1617
+ "text": "string"
1618
+ },
1619
+ "description": "The item ID",
1620
+ "fieldName": "id",
1621
+ "inheritedFrom": {
1622
+ "name": "AccordionItem",
1623
+ "module": "src/accordion-item/accordion-item.ts"
1630
1624
  }
1631
1625
  }
1632
1626
  ],
1633
1627
  "members": [
1634
1628
  {
1635
1629
  "kind": "field",
1636
- "name": "expandmode",
1630
+ "name": "headinglevel",
1637
1631
  "type": {
1638
- "text": "AccordionExpandMode"
1632
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1639
1633
  },
1640
1634
  "privacy": "public",
1641
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1635
+ "default": "2",
1636
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1642
1637
  "inheritedFrom": {
1643
- "name": "Accordion",
1644
- "module": "src/accordion/accordion.ts"
1638
+ "name": "AccordionItem",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1645
1640
  }
1646
1641
  },
1647
1642
  {
1648
1643
  "kind": "field",
1649
- "name": "activeid",
1644
+ "name": "expanded",
1650
1645
  "type": {
1651
- "text": "string | null"
1646
+ "text": "boolean"
1652
1647
  },
1653
- "privacy": "private",
1648
+ "privacy": "public",
1649
+ "default": "false",
1650
+ "description": "Expands or collapses the item.",
1654
1651
  "inheritedFrom": {
1655
- "name": "Accordion",
1656
- "module": "src/accordion/accordion.ts"
1652
+ "name": "AccordionItem",
1653
+ "module": "src/accordion-item/accordion-item.ts"
1657
1654
  }
1658
1655
  },
1659
1656
  {
1660
1657
  "kind": "field",
1661
- "name": "activeItemIndex",
1658
+ "name": "id",
1662
1659
  "type": {
1663
- "text": "number"
1660
+ "text": "string"
1664
1661
  },
1665
- "privacy": "private",
1666
- "default": "0",
1662
+ "privacy": "public",
1663
+ "description": "The item ID",
1667
1664
  "inheritedFrom": {
1668
- "name": "Accordion",
1669
- "module": "src/accordion/accordion.ts"
1665
+ "name": "AccordionItem",
1666
+ "module": "src/accordion-item/accordion-item.ts"
1670
1667
  }
1671
1668
  },
1672
1669
  {
1673
1670
  "kind": "field",
1674
- "name": "accordionIds",
1675
- "type": {
1676
- "text": "Array<string | null>"
1677
- },
1671
+ "name": "change",
1678
1672
  "privacy": "private",
1679
1673
  "inheritedFrom": {
1680
- "name": "Accordion",
1681
- "module": "src/accordion/accordion.ts"
1674
+ "name": "AccordionItem",
1675
+ "module": "src/accordion-item/accordion-item.ts"
1682
1676
  }
1683
1677
  },
1684
1678
  {
1685
1679
  "kind": "field",
1686
- "name": "change",
1680
+ "name": "_presentation",
1681
+ "type": {
1682
+ "text": "ComponentPresentation | null | undefined"
1683
+ },
1687
1684
  "privacy": "private",
1685
+ "default": "void 0",
1688
1686
  "inheritedFrom": {
1689
- "name": "Accordion",
1690
- "module": "src/accordion/accordion.ts"
1687
+ "name": "FoundationElement",
1688
+ "module": "src/foundation-element/foundation-element.ts"
1691
1689
  }
1692
1690
  },
1693
1691
  {
1694
- "kind": "method",
1695
- "name": "findExpandedItem",
1696
- "privacy": "private",
1697
- "return": {
1698
- "type": {
1699
- "text": "AccordionItem | null"
1700
- }
1692
+ "kind": "field",
1693
+ "name": "$presentation",
1694
+ "type": {
1695
+ "text": "ComponentPresentation | null"
1701
1696
  },
1697
+ "privacy": "public",
1698
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1702
1699
  "inheritedFrom": {
1703
- "name": "Accordion",
1704
- "module": "src/accordion/accordion.ts"
1700
+ "name": "FoundationElement",
1701
+ "module": "src/foundation-element/foundation-element.ts"
1705
1702
  }
1706
1703
  },
1707
1704
  {
1708
1705
  "kind": "field",
1709
- "name": "setItems",
1710
- "privacy": "private",
1706
+ "name": "template",
1707
+ "type": {
1708
+ "text": "ElementViewTemplate | void | null"
1709
+ },
1710
+ "privacy": "public",
1711
+ "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.",
1711
1712
  "inheritedFrom": {
1712
- "name": "Accordion",
1713
- "module": "src/accordion/accordion.ts"
1713
+ "name": "FoundationElement",
1714
+ "module": "src/foundation-element/foundation-element.ts"
1714
1715
  }
1715
1716
  },
1716
1717
  {
1717
1718
  "kind": "method",
1718
- "name": "resetItems",
1719
- "privacy": "private",
1719
+ "name": "templateChanged",
1720
+ "privacy": "protected",
1720
1721
  "return": {
1721
1722
  "type": {
1722
1723
  "text": "void"
1723
1724
  }
1724
1725
  },
1725
1726
  "inheritedFrom": {
1726
- "name": "Accordion",
1727
- "module": "src/accordion/accordion.ts"
1728
- }
1729
- },
1730
- {
1731
- "kind": "field",
1732
- "name": "removeItemListeners",
1733
- "privacy": "private",
1734
- "inheritedFrom": {
1735
- "name": "Accordion",
1736
- "module": "src/accordion/accordion.ts"
1727
+ "name": "FoundationElement",
1728
+ "module": "src/foundation-element/foundation-element.ts"
1737
1729
  }
1738
1730
  },
1739
1731
  {
1740
1732
  "kind": "field",
1741
- "name": "activeItemChange",
1742
- "privacy": "private",
1733
+ "name": "styles",
1734
+ "type": {
1735
+ "text": "ElementStyles | void | null"
1736
+ },
1737
+ "privacy": "public",
1738
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1743
1739
  "inheritedFrom": {
1744
- "name": "Accordion",
1745
- "module": "src/accordion/accordion.ts"
1740
+ "name": "FoundationElement",
1741
+ "module": "src/foundation-element/foundation-element.ts"
1746
1742
  }
1747
1743
  },
1748
1744
  {
1749
1745
  "kind": "method",
1750
- "name": "getItemIds",
1751
- "privacy": "private",
1746
+ "name": "stylesChanged",
1747
+ "privacy": "protected",
1752
1748
  "return": {
1753
1749
  "type": {
1754
- "text": "Array<string | null>"
1750
+ "text": "void"
1755
1751
  }
1756
1752
  },
1757
1753
  "inheritedFrom": {
1758
- "name": "Accordion",
1759
- "module": "src/accordion/accordion.ts"
1754
+ "name": "FoundationElement",
1755
+ "module": "src/foundation-element/foundation-element.ts"
1760
1756
  }
1761
1757
  },
1762
1758
  {
1763
1759
  "kind": "method",
1764
- "name": "isSingleExpandMode",
1765
- "privacy": "private",
1760
+ "name": "compose",
1761
+ "privacy": "public",
1762
+ "static": true,
1766
1763
  "return": {
1767
1764
  "type": {
1768
- "text": "boolean"
1765
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1769
1766
  }
1770
1767
  },
1768
+ "parameters": [
1769
+ {
1770
+ "name": "this",
1771
+ "type": {
1772
+ "text": "K"
1773
+ }
1774
+ },
1775
+ {
1776
+ "name": "elementDefinition",
1777
+ "type": {
1778
+ "text": "T"
1779
+ },
1780
+ "description": "The definition of the element to create the registry\nfunction for."
1781
+ }
1782
+ ],
1783
+ "description": "Defines an element registry function with a set of element definition defaults.",
1771
1784
  "inheritedFrom": {
1772
- "name": "Accordion",
1773
- "module": "src/accordion/accordion.ts"
1785
+ "name": "FoundationElement",
1786
+ "module": "src/foundation-element/foundation-element.ts"
1774
1787
  }
1775
- },
1788
+ }
1789
+ ],
1790
+ "events": [
1776
1791
  {
1777
- "kind": "field",
1778
- "name": "handleItemKeyDown",
1779
- "privacy": "private",
1780
- "inheritedFrom": {
1781
- "name": "Accordion",
1782
- "module": "src/accordion/accordion.ts"
1783
- }
1784
- },
1785
- {
1786
- "kind": "field",
1787
- "name": "handleItemFocus",
1788
- "privacy": "private",
1789
- "inheritedFrom": {
1790
- "name": "Accordion",
1791
- "module": "src/accordion/accordion.ts"
1792
- }
1793
- },
1794
- {
1795
- "kind": "method",
1796
- "name": "adjust",
1797
- "privacy": "private",
1798
- "return": {
1799
- "type": {
1800
- "text": "void"
1801
- }
1802
- },
1803
- "parameters": [
1804
- {
1805
- "name": "adjustment",
1806
- "type": {
1807
- "text": "number"
1808
- }
1809
- }
1810
- ],
1811
- "inheritedFrom": {
1812
- "name": "Accordion",
1813
- "module": "src/accordion/accordion.ts"
1814
- }
1815
- },
1816
- {
1817
- "kind": "method",
1818
- "name": "focusItem",
1819
- "privacy": "private",
1820
- "return": {
1821
- "type": {
1822
- "text": "void"
1823
- }
1824
- },
1825
- "inheritedFrom": {
1826
- "name": "Accordion",
1827
- "module": "src/accordion/accordion.ts"
1828
- }
1829
- },
1830
- {
1831
- "kind": "field",
1832
- "name": "_presentation",
1833
- "type": {
1834
- "text": "ComponentPresentation | null | undefined"
1835
- },
1836
- "privacy": "private",
1837
- "default": "void 0",
1838
- "inheritedFrom": {
1839
- "name": "FoundationElement",
1840
- "module": "src/foundation-element/foundation-element.ts"
1841
- }
1842
- },
1843
- {
1844
- "kind": "field",
1845
- "name": "$presentation",
1846
- "type": {
1847
- "text": "ComponentPresentation | null"
1848
- },
1849
- "privacy": "public",
1850
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1851
- "inheritedFrom": {
1852
- "name": "FoundationElement",
1853
- "module": "src/foundation-element/foundation-element.ts"
1854
- }
1855
- },
1856
- {
1857
- "kind": "field",
1858
- "name": "template",
1859
- "type": {
1860
- "text": "ElementViewTemplate | void | null"
1861
- },
1862
- "privacy": "public",
1863
- "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.",
1864
- "inheritedFrom": {
1865
- "name": "FoundationElement",
1866
- "module": "src/foundation-element/foundation-element.ts"
1867
- }
1868
- },
1869
- {
1870
- "kind": "method",
1871
- "name": "templateChanged",
1872
- "privacy": "protected",
1873
- "return": {
1874
- "type": {
1875
- "text": "void"
1876
- }
1877
- },
1878
- "inheritedFrom": {
1879
- "name": "FoundationElement",
1880
- "module": "src/foundation-element/foundation-element.ts"
1881
- }
1882
- },
1883
- {
1884
- "kind": "field",
1885
- "name": "styles",
1886
- "type": {
1887
- "text": "ElementStyles | void | null"
1888
- },
1889
- "privacy": "public",
1890
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1891
- "inheritedFrom": {
1892
- "name": "FoundationElement",
1893
- "module": "src/foundation-element/foundation-element.ts"
1894
- }
1895
- },
1896
- {
1897
- "kind": "method",
1898
- "name": "stylesChanged",
1899
- "privacy": "protected",
1900
- "return": {
1901
- "type": {
1902
- "text": "void"
1903
- }
1904
- },
1905
- "inheritedFrom": {
1906
- "name": "FoundationElement",
1907
- "module": "src/foundation-element/foundation-element.ts"
1908
- }
1909
- },
1910
- {
1911
- "kind": "method",
1912
- "name": "compose",
1913
- "privacy": "public",
1914
- "static": true,
1915
- "return": {
1916
- "type": {
1917
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1918
- }
1919
- },
1920
- "parameters": [
1921
- {
1922
- "name": "this",
1923
- "type": {
1924
- "text": "K"
1925
- }
1926
- },
1927
- {
1928
- "name": "elementDefinition",
1929
- "type": {
1930
- "text": "T"
1931
- },
1932
- "description": "The definition of the element to create the registry\nfunction for."
1933
- }
1934
- ],
1935
- "description": "Defines an element registry function with a set of element definition defaults.",
1936
- "inheritedFrom": {
1937
- "name": "FoundationElement",
1938
- "module": "src/foundation-element/foundation-element.ts"
1939
- }
1940
- }
1941
- ],
1942
- "events": [
1943
- {
1944
- "description": "Fires a custom 'change' event when the active item changes",
1792
+ "description": "Fires a custom 'change' event when the button is invoked",
1945
1793
  "name": "change",
1946
1794
  "inheritedFrom": {
1947
- "name": "Accordion",
1948
- "module": "src/accordion/accordion.ts"
1795
+ "name": "AccordionItem",
1796
+ "module": "src/accordion-item/accordion-item.ts"
1949
1797
  }
1950
1798
  }
1951
1799
  ]
1952
1800
  },
1953
1801
  {
1954
1802
  "kind": "variable",
1955
- "name": "foundationAccordionShadowOptions",
1803
+ "name": "foundationAccordionItemShadowOptions",
1956
1804
  "type": {
1957
1805
  "text": "ShadowRootInit"
1958
1806
  },
@@ -1960,57 +1808,57 @@
1960
1808
  },
1961
1809
  {
1962
1810
  "kind": "variable",
1963
- "name": "defaultAccordionConfig",
1811
+ "name": "defaultAccordionItemConfig",
1964
1812
  "type": {
1965
1813
  "text": "object"
1966
1814
  },
1967
- "default": "{}"
1815
+ "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}"
1968
1816
  },
1969
1817
  {
1970
1818
  "kind": "variable",
1971
- "name": "foundationAccordion",
1972
- "description": "The Foundation Accordion",
1819
+ "name": "foundationAccordionItem",
1820
+ "description": "The Foundation Accordion Item",
1973
1821
  "privacy": "public"
1974
1822
  }
1975
1823
  ],
1976
1824
  "exports": [
1977
1825
  {
1978
1826
  "kind": "js",
1979
- "name": "Accordion",
1827
+ "name": "AccordionItem",
1980
1828
  "declaration": {
1981
- "name": "Accordion",
1982
- "module": "src/accordion/accordion.ts"
1829
+ "name": "AccordionItem",
1830
+ "module": "src/accordion-item/accordion-item.ts"
1983
1831
  }
1984
1832
  },
1985
1833
  {
1986
1834
  "kind": "js",
1987
- "name": "foundationAccordionShadowOptions",
1835
+ "name": "foundationAccordionItemShadowOptions",
1988
1836
  "declaration": {
1989
- "name": "foundationAccordionShadowOptions",
1990
- "module": "src/accordion/accordion.ts"
1837
+ "name": "foundationAccordionItemShadowOptions",
1838
+ "module": "src/accordion-item/accordion-item.ts"
1991
1839
  }
1992
1840
  },
1993
1841
  {
1994
1842
  "kind": "js",
1995
- "name": "defaultAccordionConfig",
1843
+ "name": "defaultAccordionItemConfig",
1996
1844
  "declaration": {
1997
- "name": "defaultAccordionConfig",
1998
- "module": "src/accordion/accordion.ts"
1845
+ "name": "defaultAccordionItemConfig",
1846
+ "module": "src/accordion-item/accordion-item.ts"
1999
1847
  }
2000
1848
  },
2001
1849
  {
2002
1850
  "kind": "js",
2003
- "name": "foundationAccordion",
1851
+ "name": "foundationAccordionItem",
2004
1852
  "declaration": {
2005
- "name": "foundationAccordion",
2006
- "module": "src/accordion/accordion.ts"
1853
+ "name": "foundationAccordionItem",
1854
+ "module": "src/accordion-item/accordion-item.ts"
2007
1855
  }
2008
1856
  }
2009
1857
  ]
2010
1858
  },
2011
1859
  {
2012
1860
  "kind": "javascript-module",
2013
- "path": "src/accordion/index.ts",
1861
+ "path": "src/accordion-item/index.ts",
2014
1862
  "declarations": [],
2015
1863
  "exports": [
2016
1864
  {
@@ -2018,7 +1866,7 @@
2018
1866
  "name": "*",
2019
1867
  "declaration": {
2020
1868
  "name": "*",
2021
- "package": "./accordion.template"
1869
+ "package": "./accordion-item.template"
2022
1870
  }
2023
1871
  },
2024
1872
  {
@@ -2026,7 +1874,7 @@
2026
1874
  "name": "*",
2027
1875
  "declaration": {
2028
1876
  "name": "*",
2029
- "package": "./accordion.styles"
1877
+ "package": "./accordion-item.styles"
2030
1878
  }
2031
1879
  },
2032
1880
  {
@@ -2034,18 +1882,72 @@
2034
1882
  "name": "*",
2035
1883
  "declaration": {
2036
1884
  "name": "*",
2037
- "package": "./accordion"
1885
+ "package": "./accordion-item"
2038
1886
  }
2039
1887
  }
2040
1888
  ]
2041
1889
  },
2042
1890
  {
2043
1891
  "kind": "javascript-module",
2044
- "path": "src/accordion-item/accordion-item.styles.ts",
1892
+ "path": "src/_config/index.ts",
1893
+ "declarations": [],
1894
+ "exports": [
1895
+ {
1896
+ "kind": "js",
1897
+ "name": "*",
1898
+ "declaration": {
1899
+ "name": "*",
1900
+ "package": "./styles"
1901
+ }
1902
+ },
1903
+ {
1904
+ "kind": "js",
1905
+ "name": "*",
1906
+ "declaration": {
1907
+ "name": "*",
1908
+ "package": "./tokens"
1909
+ }
1910
+ },
1911
+ {
1912
+ "kind": "js",
1913
+ "name": "*",
1914
+ "declaration": {
1915
+ "name": "*",
1916
+ "package": "./values"
1917
+ }
1918
+ }
1919
+ ]
1920
+ },
1921
+ {
1922
+ "kind": "javascript-module",
1923
+ "path": "src/actions-menu/actions-menu.styles.ts",
2045
1924
  "declarations": [
2046
1925
  {
2047
1926
  "kind": "function",
2048
- "name": "foundationAccordionItemStyles",
1927
+ "name": "actionsMenuBaseStyles",
1928
+ "return": {
1929
+ "type": {
1930
+ "text": "ElementStyles"
1931
+ }
1932
+ },
1933
+ "parameters": [
1934
+ {
1935
+ "name": "context",
1936
+ "type": {
1937
+ "text": "ElementDefinitionContext"
1938
+ }
1939
+ },
1940
+ {
1941
+ "name": "definition",
1942
+ "type": {
1943
+ "text": "FoundationElementDefinition"
1944
+ }
1945
+ }
1946
+ ]
1947
+ },
1948
+ {
1949
+ "kind": "function",
1950
+ "name": "foundationActionsMenuStyles",
2049
1951
  "return": {
2050
1952
  "type": {
2051
1953
  "text": "ElementStyles"
@@ -2070,156 +1972,281 @@
2070
1972
  "exports": [
2071
1973
  {
2072
1974
  "kind": "js",
2073
- "name": "foundationAccordionItemStyles",
1975
+ "name": "actionsMenuBaseStyles",
2074
1976
  "declaration": {
2075
- "name": "foundationAccordionItemStyles",
2076
- "module": "src/accordion-item/accordion-item.styles.ts"
1977
+ "name": "actionsMenuBaseStyles",
1978
+ "module": "src/actions-menu/actions-menu.styles.ts"
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "js",
1983
+ "name": "foundationActionsMenuStyles",
1984
+ "declaration": {
1985
+ "name": "foundationActionsMenuStyles",
1986
+ "module": "src/actions-menu/actions-menu.styles.ts"
2077
1987
  }
2078
1988
  }
2079
1989
  ]
2080
1990
  },
2081
1991
  {
2082
1992
  "kind": "javascript-module",
2083
- "path": "src/accordion-item/accordion-item.template.ts",
1993
+ "path": "src/actions-menu/actions-menu.template.ts",
2084
1994
  "declarations": [
2085
1995
  {
2086
1996
  "kind": "function",
2087
- "name": "foundationAccordionItemTemplate",
2088
- "return": {
2089
- "type": {
2090
- "text": "ViewTemplate<AccordionItem>"
2091
- }
2092
- },
1997
+ "name": "menuTemplate",
2093
1998
  "parameters": [
2094
1999
  {
2095
- "name": "context",
2000
+ "name": "prefix",
2096
2001
  "type": {
2097
- "text": "ElementDefinitionContext"
2002
+ "text": "string"
2098
2003
  }
2099
- },
2004
+ }
2005
+ ]
2006
+ },
2007
+ {
2008
+ "kind": "function",
2009
+ "name": "singleOptionTemplate",
2010
+ "parameters": [
2100
2011
  {
2101
- "name": "definition",
2012
+ "name": "prefix",
2102
2013
  "type": {
2103
- "text": "FoundationElementDefinition"
2014
+ "text": "string"
2104
2015
  }
2105
2016
  }
2106
2017
  ]
2018
+ },
2019
+ {
2020
+ "kind": "variable",
2021
+ "name": "foundationActionsMenuTemplate",
2022
+ "type": {
2023
+ "text": "ViewTemplate<ActionsMenu>"
2024
+ },
2025
+ "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`"
2107
2026
  }
2108
2027
  ],
2109
2028
  "exports": [
2110
2029
  {
2111
2030
  "kind": "js",
2112
- "name": "foundationAccordionItemTemplate",
2031
+ "name": "menuTemplate",
2113
2032
  "declaration": {
2114
- "name": "foundationAccordionItemTemplate",
2115
- "module": "src/accordion-item/accordion-item.template.ts"
2033
+ "name": "menuTemplate",
2034
+ "module": "src/actions-menu/actions-menu.template.ts"
2035
+ }
2036
+ },
2037
+ {
2038
+ "kind": "js",
2039
+ "name": "singleOptionTemplate",
2040
+ "declaration": {
2041
+ "name": "singleOptionTemplate",
2042
+ "module": "src/actions-menu/actions-menu.template.ts"
2043
+ }
2044
+ },
2045
+ {
2046
+ "kind": "js",
2047
+ "name": "foundationActionsMenuTemplate",
2048
+ "declaration": {
2049
+ "name": "foundationActionsMenuTemplate",
2050
+ "module": "src/actions-menu/actions-menu.template.ts"
2116
2051
  }
2117
2052
  }
2118
2053
  ]
2119
2054
  },
2120
2055
  {
2121
2056
  "kind": "javascript-module",
2122
- "path": "src/accordion-item/accordion-item.ts",
2057
+ "path": "src/actions-menu/actions-menu.ts",
2123
2058
  "declarations": [
2124
2059
  {
2125
2060
  "kind": "class",
2126
2061
  "description": "",
2127
- "name": "AccordionItem",
2128
- "superclass": {
2129
- "name": "FASTAccordionItem",
2130
- "package": "@microsoft/fast-components"
2131
- },
2132
- "tagName": "%%prefix%%-accordion-item",
2133
- "customElement": true,
2134
- "attributes": [
2062
+ "name": "ActionsMenu",
2063
+ "members": [
2135
2064
  {
2136
- "name": "heading-level",
2065
+ "kind": "field",
2066
+ "name": "actions",
2137
2067
  "type": {
2138
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2068
+ "text": "ActionMenuItem[]"
2069
+ }
2070
+ },
2071
+ {
2072
+ "kind": "field",
2073
+ "name": "isVertical",
2074
+ "type": {
2075
+ "text": "boolean"
2139
2076
  },
2140
- "default": "2",
2141
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2142
- "fieldName": "headinglevel",
2143
- "inheritedFrom": {
2144
- "name": "AccordionItem",
2145
- "module": "src/accordion-item/accordion-item.ts"
2077
+ "default": "false"
2078
+ },
2079
+ {
2080
+ "kind": "field",
2081
+ "name": "addDefaultActions",
2082
+ "type": {
2083
+ "text": "boolean"
2084
+ },
2085
+ "default": "true"
2086
+ },
2087
+ {
2088
+ "kind": "field",
2089
+ "name": "autoCloseOnAction",
2090
+ "type": {
2091
+ "text": "boolean"
2092
+ },
2093
+ "default": "true"
2094
+ },
2095
+ {
2096
+ "kind": "field",
2097
+ "name": "classNames",
2098
+ "type": {
2099
+ "text": "string"
2100
+ }
2101
+ },
2102
+ {
2103
+ "kind": "field",
2104
+ "name": "definition",
2105
+ "type": {
2106
+ "text": "any"
2107
+ }
2108
+ },
2109
+ {
2110
+ "kind": "field",
2111
+ "name": "name",
2112
+ "type": {
2113
+ "text": "string"
2114
+ },
2115
+ "default": "'Actions'"
2116
+ },
2117
+ {
2118
+ "kind": "field",
2119
+ "name": "open",
2120
+ "type": {
2121
+ "text": "boolean"
2122
+ },
2123
+ "default": "false"
2124
+ },
2125
+ {
2126
+ "kind": "field",
2127
+ "name": "buttonAppearance",
2128
+ "type": {
2129
+ "text": "string"
2130
+ }
2131
+ },
2132
+ {
2133
+ "kind": "field",
2134
+ "name": "hideDisabled",
2135
+ "type": {
2136
+ "text": "boolean"
2137
+ },
2138
+ "default": "false"
2139
+ },
2140
+ {
2141
+ "kind": "field",
2142
+ "name": "hideMenuSingleOption",
2143
+ "type": {
2144
+ "text": "boolean"
2145
+ },
2146
+ "default": "false"
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "singleOption",
2151
+ "type": {
2152
+ "text": "ActionMenuItem"
2153
+ }
2154
+ },
2155
+ {
2156
+ "kind": "field",
2157
+ "name": "actionsMenu",
2158
+ "type": {
2159
+ "text": "HTMLElement"
2146
2160
  }
2147
2161
  },
2148
2162
  {
2149
- "type": {
2150
- "text": "boolean"
2151
- },
2152
- "default": "false",
2153
- "description": "Expands or collapses the item.",
2154
- "fieldName": "expanded",
2155
- "inheritedFrom": {
2156
- "name": "AccordionItem",
2157
- "module": "src/accordion-item/accordion-item.ts"
2158
- }
2163
+ "kind": "field",
2164
+ "name": "actionsOpener",
2165
+ "type": {
2166
+ "text": "HTMLElement"
2167
+ }
2168
+ },
2169
+ {
2170
+ "kind": "method",
2171
+ "name": "updateMenuPosition",
2172
+ "privacy": "private"
2173
+ },
2174
+ {
2175
+ "kind": "method",
2176
+ "name": "definitionChanged",
2177
+ "privacy": "protected",
2178
+ "parameters": [
2179
+ {
2180
+ "name": "oldValue",
2181
+ "type": {
2182
+ "text": "any"
2183
+ }
2184
+ },
2185
+ {
2186
+ "name": "newValue",
2187
+ "type": {
2188
+ "text": "any"
2189
+ }
2190
+ }
2191
+ ]
2192
+ },
2193
+ {
2194
+ "kind": "method",
2195
+ "name": "openChanged",
2196
+ "privacy": "protected"
2159
2197
  },
2160
2198
  {
2161
- "name": "id",
2162
- "type": {
2163
- "text": "string"
2164
- },
2165
- "description": "The item ID",
2166
- "fieldName": "id",
2167
- "inheritedFrom": {
2168
- "name": "AccordionItem",
2169
- "module": "src/accordion-item/accordion-item.ts"
2170
- }
2171
- }
2172
- ],
2173
- "members": [
2199
+ "kind": "method",
2200
+ "name": "toggleActionsMenuVisibility"
2201
+ },
2174
2202
  {
2175
- "kind": "field",
2176
- "name": "headinglevel",
2177
- "type": {
2178
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2179
- },
2180
- "privacy": "public",
2181
- "default": "2",
2182
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2183
- "inheritedFrom": {
2184
- "name": "AccordionItem",
2185
- "module": "src/accordion-item/accordion-item.ts"
2186
- }
2203
+ "kind": "method",
2204
+ "name": "onActionMenuItemClick",
2205
+ "parameters": [
2206
+ {
2207
+ "name": "callback",
2208
+ "type": {
2209
+ "text": "(rowData) => void | any"
2210
+ }
2211
+ }
2212
+ ]
2187
2213
  },
2188
2214
  {
2189
2215
  "kind": "field",
2190
- "name": "expanded",
2216
+ "name": "allActions",
2191
2217
  "type": {
2192
- "text": "boolean"
2218
+ "text": "ActionMenuItem[]"
2193
2219
  },
2194
- "privacy": "public",
2195
- "default": "false",
2196
- "description": "Expands or collapses the item.",
2197
- "inheritedFrom": {
2198
- "name": "AccordionItem",
2199
- "module": "src/accordion-item/accordion-item.ts"
2200
- }
2220
+ "readonly": true
2201
2221
  },
2202
2222
  {
2203
2223
  "kind": "field",
2204
- "name": "id",
2205
- "type": {
2206
- "text": "string"
2207
- },
2208
- "privacy": "public",
2209
- "description": "The item ID",
2210
- "inheritedFrom": {
2211
- "name": "AccordionItem",
2212
- "module": "src/accordion-item/accordion-item.ts"
2213
- }
2224
+ "name": "rowData",
2225
+ "readonly": true
2214
2226
  },
2215
2227
  {
2216
- "kind": "field",
2217
- "name": "change",
2218
- "privacy": "private",
2219
- "inheritedFrom": {
2220
- "name": "AccordionItem",
2221
- "module": "src/accordion-item/accordion-item.ts"
2222
- }
2228
+ "kind": "method",
2229
+ "name": "getLabel",
2230
+ "parameters": [
2231
+ {
2232
+ "name": "name",
2233
+ "type": {
2234
+ "text": "string | ((rowData: any) => string)"
2235
+ }
2236
+ }
2237
+ ]
2238
+ },
2239
+ {
2240
+ "kind": "method",
2241
+ "name": "getTemplate",
2242
+ "parameters": [
2243
+ {
2244
+ "name": "prefix",
2245
+ "type": {
2246
+ "text": "string"
2247
+ }
2248
+ }
2249
+ ]
2223
2250
  },
2224
2251
  {
2225
2252
  "kind": "field",
@@ -2333,78 +2360,107 @@
2333
2360
  }
2334
2361
  }
2335
2362
  ],
2336
- "events": [
2363
+ "attributes": [
2337
2364
  {
2338
- "description": "Fires a custom 'change' event when the button is invoked",
2339
- "name": "change",
2340
- "inheritedFrom": {
2341
- "name": "AccordionItem",
2342
- "module": "src/accordion-item/accordion-item.ts"
2343
- }
2365
+ "name": "is-vertical",
2366
+ "type": {
2367
+ "text": "boolean"
2368
+ },
2369
+ "default": "false",
2370
+ "fieldName": "isVertical"
2371
+ },
2372
+ {
2373
+ "name": "add-default-actions",
2374
+ "type": {
2375
+ "text": "boolean"
2376
+ },
2377
+ "default": "true",
2378
+ "fieldName": "addDefaultActions"
2379
+ },
2380
+ {
2381
+ "name": "auto-close-on-action",
2382
+ "type": {
2383
+ "text": "boolean"
2384
+ },
2385
+ "default": "true",
2386
+ "fieldName": "autoCloseOnAction"
2387
+ },
2388
+ {
2389
+ "name": "name",
2390
+ "type": {
2391
+ "text": "string"
2392
+ },
2393
+ "default": "'Actions'",
2394
+ "fieldName": "name"
2395
+ },
2396
+ {
2397
+ "name": "open",
2398
+ "type": {
2399
+ "text": "boolean"
2400
+ },
2401
+ "default": "false",
2402
+ "fieldName": "open"
2403
+ },
2404
+ {
2405
+ "name": "buttonAppearance",
2406
+ "type": {
2407
+ "text": "string"
2408
+ },
2409
+ "fieldName": "buttonAppearance"
2410
+ },
2411
+ {
2412
+ "name": "hide-disabled",
2413
+ "type": {
2414
+ "text": "boolean"
2415
+ },
2416
+ "default": "false",
2417
+ "fieldName": "hideDisabled"
2418
+ },
2419
+ {
2420
+ "name": "hide-menu-single-option",
2421
+ "type": {
2422
+ "text": "boolean"
2423
+ },
2424
+ "default": "false",
2425
+ "fieldName": "hideMenuSingleOption"
2344
2426
  }
2345
- ]
2346
- },
2347
- {
2348
- "kind": "variable",
2349
- "name": "foundationAccordionItemShadowOptions",
2350
- "type": {
2351
- "text": "ShadowRootInit"
2352
- },
2353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2354
- },
2355
- {
2356
- "kind": "variable",
2357
- "name": "defaultAccordionItemConfig",
2358
- "type": {
2359
- "text": "object"
2427
+ ],
2428
+ "superclass": {
2429
+ "name": "FoundationElement",
2430
+ "package": "@microsoft/fast-foundation"
2360
2431
  },
2361
- "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}"
2432
+ "tagName": "%%prefix%%-actions-menu",
2433
+ "customElement": true
2362
2434
  },
2363
2435
  {
2364
2436
  "kind": "variable",
2365
- "name": "foundationAccordionItem",
2366
- "description": "The Foundation Accordion Item",
2437
+ "name": "foundationActionsMenu",
2438
+ "description": "The Foundation Actions Menu",
2367
2439
  "privacy": "public"
2368
2440
  }
2369
2441
  ],
2370
2442
  "exports": [
2371
2443
  {
2372
2444
  "kind": "js",
2373
- "name": "AccordionItem",
2374
- "declaration": {
2375
- "name": "AccordionItem",
2376
- "module": "src/accordion-item/accordion-item.ts"
2377
- }
2378
- },
2379
- {
2380
- "kind": "js",
2381
- "name": "foundationAccordionItemShadowOptions",
2382
- "declaration": {
2383
- "name": "foundationAccordionItemShadowOptions",
2384
- "module": "src/accordion-item/accordion-item.ts"
2385
- }
2386
- },
2387
- {
2388
- "kind": "js",
2389
- "name": "defaultAccordionItemConfig",
2445
+ "name": "ActionsMenu",
2390
2446
  "declaration": {
2391
- "name": "defaultAccordionItemConfig",
2392
- "module": "src/accordion-item/accordion-item.ts"
2447
+ "name": "ActionsMenu",
2448
+ "module": "src/actions-menu/actions-menu.ts"
2393
2449
  }
2394
2450
  },
2395
2451
  {
2396
2452
  "kind": "js",
2397
- "name": "foundationAccordionItem",
2453
+ "name": "foundationActionsMenu",
2398
2454
  "declaration": {
2399
- "name": "foundationAccordionItem",
2400
- "module": "src/accordion-item/accordion-item.ts"
2455
+ "name": "foundationActionsMenu",
2456
+ "module": "src/actions-menu/actions-menu.ts"
2401
2457
  }
2402
2458
  }
2403
2459
  ]
2404
2460
  },
2405
2461
  {
2406
2462
  "kind": "javascript-module",
2407
- "path": "src/accordion-item/index.ts",
2463
+ "path": "src/actions-menu/index.ts",
2408
2464
  "declarations": [],
2409
2465
  "exports": [
2410
2466
  {
@@ -2412,7 +2468,7 @@
2412
2468
  "name": "*",
2413
2469
  "declaration": {
2414
2470
  "name": "*",
2415
- "package": "./accordion-item.template"
2471
+ "package": "./actions-menu.styles"
2416
2472
  }
2417
2473
  },
2418
2474
  {
@@ -2420,7 +2476,7 @@
2420
2476
  "name": "*",
2421
2477
  "declaration": {
2422
2478
  "name": "*",
2423
- "package": "./accordion-item.styles"
2479
+ "package": "./actions-menu.template"
2424
2480
  }
2425
2481
  },
2426
2482
  {
@@ -2428,7 +2484,7 @@
2428
2484
  "name": "*",
2429
2485
  "declaration": {
2430
2486
  "name": "*",
2431
- "package": "./accordion-item"
2487
+ "package": "./actions-menu"
2432
2488
  }
2433
2489
  }
2434
2490
  ]
@@ -3044,11 +3100,11 @@
3044
3100
  },
3045
3101
  {
3046
3102
  "kind": "javascript-module",
3047
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3103
+ "path": "src/accordion/accordion.styles.ts",
3048
3104
  "declarations": [
3049
3105
  {
3050
3106
  "kind": "function",
3051
- "name": "foundationAiIndicatorStyles",
3107
+ "name": "foundationAccordionStyles",
3052
3108
  "return": {
3053
3109
  "type": {
3054
3110
  "text": "ElementStyles"
@@ -3073,224 +3129,276 @@
3073
3129
  "exports": [
3074
3130
  {
3075
3131
  "kind": "js",
3076
- "name": "foundationAiIndicatorStyles",
3132
+ "name": "foundationAccordionStyles",
3077
3133
  "declaration": {
3078
- "name": "foundationAiIndicatorStyles",
3079
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3134
+ "name": "foundationAccordionStyles",
3135
+ "module": "src/accordion/accordion.styles.ts"
3080
3136
  }
3081
3137
  }
3082
3138
  ]
3083
3139
  },
3084
3140
  {
3085
3141
  "kind": "javascript-module",
3086
- "path": "src/ai-indicator/ai-indicator.template.ts",
3142
+ "path": "src/accordion/accordion.template.ts",
3087
3143
  "declarations": [
3088
3144
  {
3089
- "kind": "variable",
3090
- "name": "foundationAiIndicatorTemplate",
3091
- "type": {
3092
- "text": "ViewTemplate<AiIndicator>"
3145
+ "kind": "function",
3146
+ "name": "foundationAccordionTemplate",
3147
+ "return": {
3148
+ "type": {
3149
+ "text": "ViewTemplate<Accordion>"
3150
+ }
3093
3151
  },
3094
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3152
+ "parameters": [
3153
+ {
3154
+ "name": "context",
3155
+ "type": {
3156
+ "text": "ElementDefinitionContext"
3157
+ }
3158
+ },
3159
+ {
3160
+ "name": "definition",
3161
+ "type": {
3162
+ "text": "FoundationElementDefinition"
3163
+ }
3164
+ }
3165
+ ]
3095
3166
  }
3096
3167
  ],
3097
3168
  "exports": [
3098
3169
  {
3099
3170
  "kind": "js",
3100
- "name": "foundationAiIndicatorTemplate",
3171
+ "name": "foundationAccordionTemplate",
3101
3172
  "declaration": {
3102
- "name": "foundationAiIndicatorTemplate",
3103
- "module": "src/ai-indicator/ai-indicator.template.ts"
3173
+ "name": "foundationAccordionTemplate",
3174
+ "module": "src/accordion/accordion.template.ts"
3104
3175
  }
3105
3176
  }
3106
3177
  ]
3107
3178
  },
3108
3179
  {
3109
3180
  "kind": "javascript-module",
3110
- "path": "src/ai-indicator/ai-indicator.ts",
3181
+ "path": "src/accordion/accordion.ts",
3111
3182
  "declarations": [
3112
3183
  {
3113
3184
  "kind": "class",
3114
3185
  "description": "",
3115
- "name": "AiIndicator",
3116
- "members": [
3117
- {
3118
- "kind": "field",
3119
- "name": "providerRegistry",
3120
- "type": {
3121
- "text": "AIProviderRegistry"
3122
- }
3123
- },
3124
- {
3125
- "kind": "field",
3126
- "name": "aiProvider",
3127
- "type": {
3128
- "text": "AIProvider | undefined"
3129
- },
3130
- "privacy": "private",
3131
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3132
- "readonly": true
3133
- },
3186
+ "name": "Accordion",
3187
+ "superclass": {
3188
+ "name": "FASTAccordion",
3189
+ "package": "@microsoft/fast-foundation"
3190
+ },
3191
+ "tagName": "%%prefix%%-accordion",
3192
+ "customElement": true,
3193
+ "attributes": [
3134
3194
  {
3135
- "kind": "field",
3136
- "name": "status",
3195
+ "name": "expand-mode",
3137
3196
  "type": {
3138
- "text": "AIStatus | null"
3197
+ "text": "AccordionExpandMode"
3139
3198
  },
3140
- "default": "null"
3141
- },
3199
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3200
+ "fieldName": "expandmode",
3201
+ "inheritedFrom": {
3202
+ "name": "Accordion",
3203
+ "module": "src/accordion/accordion.ts"
3204
+ }
3205
+ }
3206
+ ],
3207
+ "members": [
3142
3208
  {
3143
3209
  "kind": "field",
3144
- "name": "open",
3210
+ "name": "expandmode",
3145
3211
  "type": {
3146
- "text": "boolean"
3212
+ "text": "AccordionExpandMode"
3147
3213
  },
3148
- "default": "false"
3214
+ "privacy": "public",
3215
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3216
+ "inheritedFrom": {
3217
+ "name": "Accordion",
3218
+ "module": "src/accordion/accordion.ts"
3219
+ }
3149
3220
  },
3150
3221
  {
3151
3222
  "kind": "field",
3152
- "name": "state",
3223
+ "name": "activeid",
3153
3224
  "type": {
3154
- "text": "AIIndicatorState"
3225
+ "text": "string | null"
3155
3226
  },
3156
- "default": "'none'"
3227
+ "privacy": "private",
3228
+ "inheritedFrom": {
3229
+ "name": "Accordion",
3230
+ "module": "src/accordion/accordion.ts"
3231
+ }
3157
3232
  },
3158
3233
  {
3159
3234
  "kind": "field",
3160
- "name": "isInstalling",
3235
+ "name": "activeItemIndex",
3161
3236
  "type": {
3162
- "text": "boolean"
3237
+ "text": "number"
3163
3238
  },
3164
- "default": "false"
3239
+ "privacy": "private",
3240
+ "default": "0",
3241
+ "inheritedFrom": {
3242
+ "name": "Accordion",
3243
+ "module": "src/accordion/accordion.ts"
3244
+ }
3165
3245
  },
3166
3246
  {
3167
3247
  "kind": "field",
3168
- "name": "pollTimer",
3248
+ "name": "accordionIds",
3169
3249
  "type": {
3170
- "text": "ReturnType<typeof setInterval> | null"
3250
+ "text": "Array<string | null>"
3171
3251
  },
3172
3252
  "privacy": "private",
3173
- "default": "null"
3174
- },
3175
- {
3176
- "kind": "field",
3177
- "name": "clickOutside",
3178
- "privacy": "private"
3253
+ "inheritedFrom": {
3254
+ "name": "Accordion",
3255
+ "module": "src/accordion/accordion.ts"
3256
+ }
3179
3257
  },
3180
3258
  {
3181
3259
  "kind": "field",
3182
- "name": "chromeStatusLabel",
3183
- "type": {
3184
- "text": "string | null"
3185
- },
3186
- "readonly": true
3260
+ "name": "change",
3261
+ "privacy": "private",
3262
+ "inheritedFrom": {
3263
+ "name": "Accordion",
3264
+ "module": "src/accordion/accordion.ts"
3265
+ }
3187
3266
  },
3188
3267
  {
3189
- "kind": "field",
3190
- "name": "canInstall",
3191
- "type": {
3192
- "text": "boolean"
3268
+ "kind": "method",
3269
+ "name": "findExpandedItem",
3270
+ "privacy": "private",
3271
+ "return": {
3272
+ "type": {
3273
+ "text": "AccordionItem | null"
3274
+ }
3193
3275
  },
3194
- "readonly": true
3276
+ "inheritedFrom": {
3277
+ "name": "Accordion",
3278
+ "module": "src/accordion/accordion.ts"
3279
+ }
3195
3280
  },
3196
3281
  {
3197
3282
  "kind": "field",
3198
- "name": "isDownloading",
3199
- "type": {
3200
- "text": "boolean"
3201
- },
3202
- "readonly": true
3283
+ "name": "setItems",
3284
+ "privacy": "private",
3285
+ "inheritedFrom": {
3286
+ "name": "Accordion",
3287
+ "module": "src/accordion/accordion.ts"
3288
+ }
3203
3289
  },
3204
3290
  {
3205
3291
  "kind": "method",
3206
- "name": "openChanged",
3292
+ "name": "resetItems",
3293
+ "privacy": "private",
3207
3294
  "return": {
3208
3295
  "type": {
3209
3296
  "text": "void"
3210
3297
  }
3298
+ },
3299
+ "inheritedFrom": {
3300
+ "name": "Accordion",
3301
+ "module": "src/accordion/accordion.ts"
3211
3302
  }
3212
3303
  },
3213
3304
  {
3214
- "kind": "method",
3215
- "name": "handleClickOutside",
3305
+ "kind": "field",
3306
+ "name": "removeItemListeners",
3216
3307
  "privacy": "private",
3217
- "parameters": [
3218
- {
3219
- "name": "event",
3220
- "type": {
3221
- "text": "MouseEvent"
3222
- }
3223
- }
3224
- ]
3308
+ "inheritedFrom": {
3309
+ "name": "Accordion",
3310
+ "module": "src/accordion/accordion.ts"
3311
+ }
3225
3312
  },
3226
3313
  {
3227
- "kind": "method",
3228
- "name": "toggleDropdown"
3314
+ "kind": "field",
3315
+ "name": "activeItemChange",
3316
+ "privacy": "private",
3317
+ "inheritedFrom": {
3318
+ "name": "Accordion",
3319
+ "module": "src/accordion/accordion.ts"
3320
+ }
3229
3321
  },
3230
3322
  {
3231
3323
  "kind": "method",
3232
- "name": "refreshStatus",
3324
+ "name": "getItemIds",
3325
+ "privacy": "private",
3233
3326
  "return": {
3234
3327
  "type": {
3235
- "text": "Promise<void>"
3328
+ "text": "Array<string | null>"
3236
3329
  }
3330
+ },
3331
+ "inheritedFrom": {
3332
+ "name": "Accordion",
3333
+ "module": "src/accordion/accordion.ts"
3237
3334
  }
3238
3335
  },
3239
3336
  {
3240
3337
  "kind": "method",
3241
- "name": "deriveState",
3338
+ "name": "isSingleExpandMode",
3242
3339
  "privacy": "private",
3243
3340
  "return": {
3244
3341
  "type": {
3245
- "text": "AIIndicatorState"
3342
+ "text": "boolean"
3246
3343
  }
3247
3344
  },
3248
- "parameters": [
3249
- {
3250
- "name": "s",
3251
- "type": {
3252
- "text": "AIStatus | null"
3253
- }
3254
- }
3255
- ]
3345
+ "inheritedFrom": {
3346
+ "name": "Accordion",
3347
+ "module": "src/accordion/accordion.ts"
3348
+ }
3256
3349
  },
3257
3350
  {
3258
- "kind": "method",
3259
- "name": "maybeStartPolling",
3351
+ "kind": "field",
3352
+ "name": "handleItemKeyDown",
3260
3353
  "privacy": "private",
3261
- "return": {
3262
- "type": {
3263
- "text": "void"
3264
- }
3354
+ "inheritedFrom": {
3355
+ "name": "Accordion",
3356
+ "module": "src/accordion/accordion.ts"
3265
3357
  }
3266
3358
  },
3267
3359
  {
3268
- "kind": "method",
3269
- "name": "startPolling",
3360
+ "kind": "field",
3361
+ "name": "handleItemFocus",
3270
3362
  "privacy": "private",
3271
- "return": {
3272
- "type": {
3273
- "text": "void"
3274
- }
3363
+ "inheritedFrom": {
3364
+ "name": "Accordion",
3365
+ "module": "src/accordion/accordion.ts"
3275
3366
  }
3276
3367
  },
3277
3368
  {
3278
3369
  "kind": "method",
3279
- "name": "stopPolling",
3370
+ "name": "adjust",
3280
3371
  "privacy": "private",
3281
3372
  "return": {
3282
3373
  "type": {
3283
3374
  "text": "void"
3284
3375
  }
3376
+ },
3377
+ "parameters": [
3378
+ {
3379
+ "name": "adjustment",
3380
+ "type": {
3381
+ "text": "number"
3382
+ }
3383
+ }
3384
+ ],
3385
+ "inheritedFrom": {
3386
+ "name": "Accordion",
3387
+ "module": "src/accordion/accordion.ts"
3285
3388
  }
3286
3389
  },
3287
3390
  {
3288
3391
  "kind": "method",
3289
- "name": "onInstall",
3392
+ "name": "focusItem",
3393
+ "privacy": "private",
3290
3394
  "return": {
3291
3395
  "type": {
3292
- "text": "Promise<void>"
3396
+ "text": "void"
3293
3397
  }
3398
+ },
3399
+ "inheritedFrom": {
3400
+ "name": "Accordion",
3401
+ "module": "src/accordion/accordion.ts"
3294
3402
  }
3295
3403
  },
3296
3404
  {
@@ -3405,122 +3513,113 @@
3405
3513
  }
3406
3514
  }
3407
3515
  ],
3408
- "superclass": {
3409
- "name": "FoundationElement",
3410
- "package": "@microsoft/fast-foundation"
3516
+ "events": [
3517
+ {
3518
+ "description": "Fires a custom 'change' event when the active item changes",
3519
+ "name": "change",
3520
+ "inheritedFrom": {
3521
+ "name": "Accordion",
3522
+ "module": "src/accordion/accordion.ts"
3523
+ }
3524
+ }
3525
+ ]
3526
+ },
3527
+ {
3528
+ "kind": "variable",
3529
+ "name": "foundationAccordionShadowOptions",
3530
+ "type": {
3531
+ "text": "ShadowRootInit"
3411
3532
  },
3412
- "tagName": "%%prefix%%-ai-indicator",
3413
- "customElement": true
3533
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3414
3534
  },
3415
3535
  {
3416
3536
  "kind": "variable",
3417
- "name": "foundationAiIndicator"
3537
+ "name": "defaultAccordionConfig",
3538
+ "type": {
3539
+ "text": "object"
3540
+ },
3541
+ "default": "{}"
3542
+ },
3543
+ {
3544
+ "kind": "variable",
3545
+ "name": "foundationAccordion",
3546
+ "description": "The Foundation Accordion",
3547
+ "privacy": "public"
3418
3548
  }
3419
3549
  ],
3420
3550
  "exports": [
3421
3551
  {
3422
3552
  "kind": "js",
3423
- "name": "AiIndicator",
3553
+ "name": "Accordion",
3424
3554
  "declaration": {
3425
- "name": "AiIndicator",
3426
- "module": "src/ai-indicator/ai-indicator.ts"
3555
+ "name": "Accordion",
3556
+ "module": "src/accordion/accordion.ts"
3427
3557
  }
3428
3558
  },
3429
3559
  {
3430
3560
  "kind": "js",
3431
- "name": "foundationAiIndicator",
3432
- "declaration": {
3433
- "name": "foundationAiIndicator",
3434
- "module": "src/ai-indicator/ai-indicator.ts"
3435
- }
3436
- }
3437
- ]
3438
- },
3439
- {
3440
- "kind": "javascript-module",
3441
- "path": "src/ai-indicator/index.ts",
3442
- "declarations": [],
3443
- "exports": [
3444
- {
3445
- "kind": "js",
3446
- "name": "AiIndicator",
3561
+ "name": "foundationAccordionShadowOptions",
3447
3562
  "declaration": {
3448
- "name": "AiIndicator",
3449
- "module": "./ai-indicator"
3563
+ "name": "foundationAccordionShadowOptions",
3564
+ "module": "src/accordion/accordion.ts"
3450
3565
  }
3451
3566
  },
3452
3567
  {
3453
3568
  "kind": "js",
3454
- "name": "foundationAiIndicator",
3569
+ "name": "defaultAccordionConfig",
3455
3570
  "declaration": {
3456
- "name": "foundationAiIndicator",
3457
- "module": "./ai-indicator"
3571
+ "name": "defaultAccordionConfig",
3572
+ "module": "src/accordion/accordion.ts"
3458
3573
  }
3459
3574
  },
3460
3575
  {
3461
3576
  "kind": "js",
3462
- "name": "type",
3577
+ "name": "foundationAccordion",
3463
3578
  "declaration": {
3464
- "name": "type",
3465
- "module": "./ai-indicator"
3579
+ "name": "foundationAccordion",
3580
+ "module": "src/accordion/accordion.ts"
3466
3581
  }
3467
- },
3582
+ }
3583
+ ]
3584
+ },
3585
+ {
3586
+ "kind": "javascript-module",
3587
+ "path": "src/accordion/index.ts",
3588
+ "declarations": [],
3589
+ "exports": [
3468
3590
  {
3469
3591
  "kind": "js",
3470
- "name": "AIIndicatorState",
3592
+ "name": "*",
3471
3593
  "declaration": {
3472
- "name": "AIIndicatorState",
3473
- "module": "./ai-indicator"
3594
+ "name": "*",
3595
+ "package": "./accordion.template"
3474
3596
  }
3475
3597
  },
3476
3598
  {
3477
3599
  "kind": "js",
3478
- "name": "foundationAiIndicatorTemplate",
3600
+ "name": "*",
3479
3601
  "declaration": {
3480
- "name": "foundationAiIndicatorTemplate",
3481
- "module": "./ai-indicator.template"
3602
+ "name": "*",
3603
+ "package": "./accordion.styles"
3482
3604
  }
3483
3605
  },
3484
3606
  {
3485
3607
  "kind": "js",
3486
- "name": "foundationAiIndicatorStyles",
3608
+ "name": "*",
3487
3609
  "declaration": {
3488
- "name": "foundationAiIndicatorStyles",
3489
- "module": "./ai-indicator.styles"
3610
+ "name": "*",
3611
+ "package": "./accordion"
3490
3612
  }
3491
3613
  }
3492
3614
  ]
3493
3615
  },
3494
3616
  {
3495
3617
  "kind": "javascript-module",
3496
- "path": "src/actions-menu/actions-menu.styles.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3497
3619
  "declarations": [
3498
3620
  {
3499
3621
  "kind": "function",
3500
- "name": "actionsMenuBaseStyles",
3501
- "return": {
3502
- "type": {
3503
- "text": "ElementStyles"
3504
- }
3505
- },
3506
- "parameters": [
3507
- {
3508
- "name": "context",
3509
- "type": {
3510
- "text": "ElementDefinitionContext"
3511
- }
3512
- },
3513
- {
3514
- "name": "definition",
3515
- "type": {
3516
- "text": "FoundationElementDefinition"
3517
- }
3518
- }
3519
- ]
3520
- },
3521
- {
3522
- "kind": "function",
3523
- "name": "foundationActionsMenuStyles",
3622
+ "name": "foundationAiIndicatorStyles",
3524
3623
  "return": {
3525
3624
  "type": {
3526
3625
  "text": "ElementStyles"
@@ -3545,147 +3644,71 @@
3545
3644
  "exports": [
3546
3645
  {
3547
3646
  "kind": "js",
3548
- "name": "actionsMenuBaseStyles",
3549
- "declaration": {
3550
- "name": "actionsMenuBaseStyles",
3551
- "module": "src/actions-menu/actions-menu.styles.ts"
3552
- }
3553
- },
3554
- {
3555
- "kind": "js",
3556
- "name": "foundationActionsMenuStyles",
3647
+ "name": "foundationAiIndicatorStyles",
3557
3648
  "declaration": {
3558
- "name": "foundationActionsMenuStyles",
3559
- "module": "src/actions-menu/actions-menu.styles.ts"
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3560
3651
  }
3561
3652
  }
3562
3653
  ]
3563
3654
  },
3564
3655
  {
3565
3656
  "kind": "javascript-module",
3566
- "path": "src/actions-menu/actions-menu.template.ts",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3567
3658
  "declarations": [
3568
- {
3569
- "kind": "function",
3570
- "name": "menuTemplate",
3571
- "parameters": [
3572
- {
3573
- "name": "prefix",
3574
- "type": {
3575
- "text": "string"
3576
- }
3577
- }
3578
- ]
3579
- },
3580
- {
3581
- "kind": "function",
3582
- "name": "singleOptionTemplate",
3583
- "parameters": [
3584
- {
3585
- "name": "prefix",
3586
- "type": {
3587
- "text": "string"
3588
- }
3589
- }
3590
- ]
3591
- },
3592
3659
  {
3593
3660
  "kind": "variable",
3594
- "name": "foundationActionsMenuTemplate",
3661
+ "name": "foundationAiIndicatorTemplate",
3595
3662
  "type": {
3596
- "text": "ViewTemplate<ActionsMenu>"
3663
+ "text": "ViewTemplate<AiIndicator>"
3597
3664
  },
3598
- "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`"
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3599
3666
  }
3600
3667
  ],
3601
3668
  "exports": [
3602
3669
  {
3603
3670
  "kind": "js",
3604
- "name": "menuTemplate",
3605
- "declaration": {
3606
- "name": "menuTemplate",
3607
- "module": "src/actions-menu/actions-menu.template.ts"
3608
- }
3609
- },
3610
- {
3611
- "kind": "js",
3612
- "name": "singleOptionTemplate",
3613
- "declaration": {
3614
- "name": "singleOptionTemplate",
3615
- "module": "src/actions-menu/actions-menu.template.ts"
3616
- }
3617
- },
3618
- {
3619
- "kind": "js",
3620
- "name": "foundationActionsMenuTemplate",
3671
+ "name": "foundationAiIndicatorTemplate",
3621
3672
  "declaration": {
3622
- "name": "foundationActionsMenuTemplate",
3623
- "module": "src/actions-menu/actions-menu.template.ts"
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3624
3675
  }
3625
3676
  }
3626
3677
  ]
3627
3678
  },
3628
3679
  {
3629
3680
  "kind": "javascript-module",
3630
- "path": "src/actions-menu/actions-menu.ts",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3631
3682
  "declarations": [
3632
3683
  {
3633
3684
  "kind": "class",
3634
3685
  "description": "",
3635
- "name": "ActionsMenu",
3686
+ "name": "AiIndicator",
3636
3687
  "members": [
3637
3688
  {
3638
3689
  "kind": "field",
3639
- "name": "actions",
3690
+ "name": "providerRegistry",
3640
3691
  "type": {
3641
- "text": "ActionMenuItem[]"
3692
+ "text": "AIProviderRegistry"
3642
3693
  }
3643
3694
  },
3644
3695
  {
3645
3696
  "kind": "field",
3646
- "name": "isVertical",
3647
- "type": {
3648
- "text": "boolean"
3649
- },
3650
- "default": "false"
3651
- },
3652
- {
3653
- "kind": "field",
3654
- "name": "addDefaultActions",
3655
- "type": {
3656
- "text": "boolean"
3657
- },
3658
- "default": "true"
3659
- },
3660
- {
3661
- "kind": "field",
3662
- "name": "autoCloseOnAction",
3697
+ "name": "aiProvider",
3663
3698
  "type": {
3664
- "text": "boolean"
3699
+ "text": "AIProvider | undefined"
3665
3700
  },
3666
- "default": "true"
3667
- },
3668
- {
3669
- "kind": "field",
3670
- "name": "classNames",
3671
- "type": {
3672
- "text": "string"
3673
- }
3674
- },
3675
- {
3676
- "kind": "field",
3677
- "name": "definition",
3678
- "type": {
3679
- "text": "any"
3680
- }
3701
+ "privacy": "private",
3702
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3703
+ "readonly": true
3681
3704
  },
3682
3705
  {
3683
3706
  "kind": "field",
3684
- "name": "name",
3707
+ "name": "status",
3685
3708
  "type": {
3686
- "text": "string"
3709
+ "text": "AIStatus | null"
3687
3710
  },
3688
- "default": "'Actions'"
3711
+ "default": "null"
3689
3712
  },
3690
3713
  {
3691
3714
  "kind": "field",
@@ -3697,14 +3720,15 @@
3697
3720
  },
3698
3721
  {
3699
3722
  "kind": "field",
3700
- "name": "buttonAppearance",
3723
+ "name": "state",
3701
3724
  "type": {
3702
- "text": "string"
3703
- }
3725
+ "text": "AIIndicatorState"
3726
+ },
3727
+ "default": "'none'"
3704
3728
  },
3705
3729
  {
3706
3730
  "kind": "field",
3707
- "name": "hideDisabled",
3731
+ "name": "isInstalling",
3708
3732
  "type": {
3709
3733
  "text": "boolean"
3710
3734
  },
@@ -3712,114 +3736,133 @@
3712
3736
  },
3713
3737
  {
3714
3738
  "kind": "field",
3715
- "name": "hideMenuSingleOption",
3739
+ "name": "pollTimer",
3716
3740
  "type": {
3717
- "text": "boolean"
3741
+ "text": "ReturnType<typeof setInterval> | null"
3718
3742
  },
3719
- "default": "false"
3743
+ "privacy": "private",
3744
+ "default": "null"
3720
3745
  },
3721
3746
  {
3722
3747
  "kind": "field",
3723
- "name": "singleOption",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3724
3754
  "type": {
3725
- "text": "ActionMenuItem"
3726
- }
3755
+ "text": "string | null"
3756
+ },
3757
+ "readonly": true
3727
3758
  },
3728
3759
  {
3729
3760
  "kind": "field",
3730
- "name": "actionsMenu",
3761
+ "name": "canInstall",
3731
3762
  "type": {
3732
- "text": "HTMLElement"
3733
- }
3763
+ "text": "boolean"
3764
+ },
3765
+ "readonly": true
3734
3766
  },
3735
3767
  {
3736
3768
  "kind": "field",
3737
- "name": "actionsOpener",
3769
+ "name": "isDownloading",
3738
3770
  "type": {
3739
- "text": "HTMLElement"
3740
- }
3771
+ "text": "boolean"
3772
+ },
3773
+ "readonly": true
3741
3774
  },
3742
3775
  {
3743
3776
  "kind": "method",
3744
- "name": "updateMenuPosition",
3745
- "privacy": "private"
3777
+ "name": "openChanged",
3778
+ "return": {
3779
+ "type": {
3780
+ "text": "void"
3781
+ }
3782
+ }
3746
3783
  },
3747
3784
  {
3748
3785
  "kind": "method",
3749
- "name": "definitionChanged",
3750
- "privacy": "protected",
3786
+ "name": "handleClickOutside",
3787
+ "privacy": "private",
3751
3788
  "parameters": [
3752
3789
  {
3753
- "name": "oldValue",
3754
- "type": {
3755
- "text": "any"
3756
- }
3757
- },
3758
- {
3759
- "name": "newValue",
3790
+ "name": "event",
3760
3791
  "type": {
3761
- "text": "any"
3792
+ "text": "MouseEvent"
3762
3793
  }
3763
3794
  }
3764
3795
  ]
3765
3796
  },
3766
3797
  {
3767
3798
  "kind": "method",
3768
- "name": "openChanged",
3769
- "privacy": "protected"
3799
+ "name": "toggleDropdown"
3770
3800
  },
3771
3801
  {
3772
3802
  "kind": "method",
3773
- "name": "toggleActionsMenuVisibility"
3803
+ "name": "refreshStatus",
3804
+ "return": {
3805
+ "type": {
3806
+ "text": "Promise<void>"
3807
+ }
3808
+ }
3774
3809
  },
3775
3810
  {
3776
3811
  "kind": "method",
3777
- "name": "onActionMenuItemClick",
3812
+ "name": "deriveState",
3813
+ "privacy": "private",
3814
+ "return": {
3815
+ "type": {
3816
+ "text": "AIIndicatorState"
3817
+ }
3818
+ },
3778
3819
  "parameters": [
3779
3820
  {
3780
- "name": "callback",
3821
+ "name": "s",
3781
3822
  "type": {
3782
- "text": "(rowData) => void | any"
3823
+ "text": "AIStatus | null"
3783
3824
  }
3784
3825
  }
3785
3826
  ]
3786
3827
  },
3787
3828
  {
3788
- "kind": "field",
3789
- "name": "allActions",
3790
- "type": {
3791
- "text": "ActionMenuItem[]"
3792
- },
3793
- "readonly": true
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3831
+ "privacy": "private",
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3836
+ }
3794
3837
  },
3795
3838
  {
3796
- "kind": "field",
3797
- "name": "rowData",
3798
- "readonly": true
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3841
+ "privacy": "private",
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3846
+ }
3799
3847
  },
3800
3848
  {
3801
3849
  "kind": "method",
3802
- "name": "getLabel",
3803
- "parameters": [
3804
- {
3805
- "name": "name",
3806
- "type": {
3807
- "text": "string | ((rowData: any) => string)"
3808
- }
3850
+ "name": "stopPolling",
3851
+ "privacy": "private",
3852
+ "return": {
3853
+ "type": {
3854
+ "text": "void"
3809
3855
  }
3810
- ]
3856
+ }
3811
3857
  },
3812
3858
  {
3813
3859
  "kind": "method",
3814
- "name": "getTemplate",
3815
- "parameters": [
3816
- {
3817
- "name": "prefix",
3818
- "type": {
3819
- "text": "string"
3820
- }
3860
+ "name": "onInstall",
3861
+ "return": {
3862
+ "type": {
3863
+ "text": "Promise<void>"
3821
3864
  }
3822
- ]
3865
+ }
3823
3866
  },
3824
3867
  {
3825
3868
  "kind": "field",
@@ -3933,131 +3976,88 @@
3933
3976
  }
3934
3977
  }
3935
3978
  ],
3936
- "attributes": [
3937
- {
3938
- "name": "is-vertical",
3939
- "type": {
3940
- "text": "boolean"
3941
- },
3942
- "default": "false",
3943
- "fieldName": "isVertical"
3944
- },
3945
- {
3946
- "name": "add-default-actions",
3947
- "type": {
3948
- "text": "boolean"
3949
- },
3950
- "default": "true",
3951
- "fieldName": "addDefaultActions"
3952
- },
3953
- {
3954
- "name": "auto-close-on-action",
3955
- "type": {
3956
- "text": "boolean"
3957
- },
3958
- "default": "true",
3959
- "fieldName": "autoCloseOnAction"
3960
- },
3961
- {
3962
- "name": "name",
3963
- "type": {
3964
- "text": "string"
3965
- },
3966
- "default": "'Actions'",
3967
- "fieldName": "name"
3968
- },
3969
- {
3970
- "name": "open",
3971
- "type": {
3972
- "text": "boolean"
3973
- },
3974
- "default": "false",
3975
- "fieldName": "open"
3976
- },
3977
- {
3978
- "name": "buttonAppearance",
3979
- "type": {
3980
- "text": "string"
3981
- },
3982
- "fieldName": "buttonAppearance"
3983
- },
3984
- {
3985
- "name": "hide-disabled",
3986
- "type": {
3987
- "text": "boolean"
3988
- },
3989
- "default": "false",
3990
- "fieldName": "hideDisabled"
3991
- },
3992
- {
3993
- "name": "hide-menu-single-option",
3994
- "type": {
3995
- "text": "boolean"
3996
- },
3997
- "default": "false",
3998
- "fieldName": "hideMenuSingleOption"
3999
- }
4000
- ],
4001
3979
  "superclass": {
4002
3980
  "name": "FoundationElement",
4003
3981
  "package": "@microsoft/fast-foundation"
4004
3982
  },
4005
- "tagName": "%%prefix%%-actions-menu",
3983
+ "tagName": "%%prefix%%-ai-indicator",
4006
3984
  "customElement": true
4007
3985
  },
4008
3986
  {
4009
3987
  "kind": "variable",
4010
- "name": "foundationActionsMenu",
4011
- "description": "The Foundation Actions Menu",
4012
- "privacy": "public"
3988
+ "name": "foundationAiIndicator"
4013
3989
  }
4014
3990
  ],
4015
3991
  "exports": [
4016
3992
  {
4017
3993
  "kind": "js",
4018
- "name": "ActionsMenu",
3994
+ "name": "AiIndicator",
4019
3995
  "declaration": {
4020
- "name": "ActionsMenu",
4021
- "module": "src/actions-menu/actions-menu.ts"
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
4022
3998
  }
4023
3999
  },
4024
4000
  {
4025
4001
  "kind": "js",
4026
- "name": "foundationActionsMenu",
4002
+ "name": "foundationAiIndicator",
4027
4003
  "declaration": {
4028
- "name": "foundationActionsMenu",
4029
- "module": "src/actions-menu/actions-menu.ts"
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
4030
4006
  }
4031
4007
  }
4032
4008
  ]
4033
4009
  },
4034
4010
  {
4035
4011
  "kind": "javascript-module",
4036
- "path": "src/actions-menu/index.ts",
4012
+ "path": "src/ai-indicator/index.ts",
4037
4013
  "declarations": [],
4038
4014
  "exports": [
4039
4015
  {
4040
4016
  "kind": "js",
4041
- "name": "*",
4017
+ "name": "AiIndicator",
4042
4018
  "declaration": {
4043
- "name": "*",
4044
- "package": "./actions-menu.styles"
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4045
4021
  }
4046
4022
  },
4047
4023
  {
4048
4024
  "kind": "js",
4049
- "name": "*",
4025
+ "name": "foundationAiIndicator",
4050
4026
  "declaration": {
4051
- "name": "*",
4052
- "package": "./actions-menu.template"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4053
4029
  }
4054
4030
  },
4055
4031
  {
4056
4032
  "kind": "js",
4057
- "name": "*",
4033
+ "name": "type",
4058
4034
  "declaration": {
4059
- "name": "*",
4060
- "package": "./actions-menu"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4037
+ }
4038
+ },
4039
+ {
4040
+ "kind": "js",
4041
+ "name": "AIIndicatorState",
4042
+ "declaration": {
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
+ }
4046
+ },
4047
+ {
4048
+ "kind": "js",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
+ "declaration": {
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
+ }
4054
+ },
4055
+ {
4056
+ "kind": "js",
4057
+ "name": "foundationAiIndicatorStyles",
4058
+ "declaration": {
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]