@genesislcap/foundation-ui 14.430.2-FUI-2528.6 → 14.430.2-FUI-2528.8

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,11 +1431,11 @@
1431
1431
  },
1432
1432
  {
1433
1433
  "kind": "javascript-module",
1434
- "path": "src/accordion/accordion.styles.ts",
1434
+ "path": "src/accordion-item/accordion-item.styles.ts",
1435
1435
  "declarations": [
1436
1436
  {
1437
1437
  "kind": "function",
1438
- "name": "foundationAccordionStyles",
1438
+ "name": "foundationAccordionItemStyles",
1439
1439
  "return": {
1440
1440
  "type": {
1441
1441
  "text": "ElementStyles"
@@ -1460,24 +1460,24 @@
1460
1460
  "exports": [
1461
1461
  {
1462
1462
  "kind": "js",
1463
- "name": "foundationAccordionStyles",
1463
+ "name": "foundationAccordionItemStyles",
1464
1464
  "declaration": {
1465
- "name": "foundationAccordionStyles",
1466
- "module": "src/accordion/accordion.styles.ts"
1465
+ "name": "foundationAccordionItemStyles",
1466
+ "module": "src/accordion-item/accordion-item.styles.ts"
1467
1467
  }
1468
1468
  }
1469
1469
  ]
1470
1470
  },
1471
1471
  {
1472
1472
  "kind": "javascript-module",
1473
- "path": "src/accordion/accordion.template.ts",
1473
+ "path": "src/accordion-item/accordion-item.template.ts",
1474
1474
  "declarations": [
1475
1475
  {
1476
1476
  "kind": "function",
1477
- "name": "foundationAccordionTemplate",
1477
+ "name": "foundationAccordionItemTemplate",
1478
1478
  "return": {
1479
1479
  "type": {
1480
- "text": "ViewTemplate<Accordion>"
1480
+ "text": "ViewTemplate<AccordionItem>"
1481
1481
  }
1482
1482
  },
1483
1483
  "parameters": [
@@ -1499,237 +1499,116 @@
1499
1499
  "exports": [
1500
1500
  {
1501
1501
  "kind": "js",
1502
- "name": "foundationAccordionTemplate",
1502
+ "name": "foundationAccordionItemTemplate",
1503
1503
  "declaration": {
1504
- "name": "foundationAccordionTemplate",
1505
- "module": "src/accordion/accordion.template.ts"
1504
+ "name": "foundationAccordionItemTemplate",
1505
+ "module": "src/accordion-item/accordion-item.template.ts"
1506
1506
  }
1507
1507
  }
1508
1508
  ]
1509
1509
  },
1510
1510
  {
1511
1511
  "kind": "javascript-module",
1512
- "path": "src/accordion/accordion.ts",
1512
+ "path": "src/accordion-item/accordion-item.ts",
1513
1513
  "declarations": [
1514
1514
  {
1515
1515
  "kind": "class",
1516
1516
  "description": "",
1517
- "name": "Accordion",
1517
+ "name": "AccordionItem",
1518
1518
  "superclass": {
1519
- "name": "FASTAccordion",
1520
- "package": "@microsoft/fast-foundation"
1519
+ "name": "FASTAccordionItem",
1520
+ "package": "@microsoft/fast-components"
1521
1521
  },
1522
- "tagName": "%%prefix%%-accordion",
1522
+ "tagName": "%%prefix%%-accordion-item",
1523
1523
  "customElement": true,
1524
1524
  "attributes": [
1525
1525
  {
1526
- "name": "expand-mode",
1527
- "type": {
1528
- "text": "AccordionExpandMode"
1529
- },
1530
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1531
- "fieldName": "expandmode",
1532
- "inheritedFrom": {
1533
- "name": "Accordion",
1534
- "module": "src/accordion/accordion.ts"
1535
- }
1536
- }
1537
- ],
1538
- "members": [
1539
- {
1540
- "kind": "field",
1541
- "name": "expandmode",
1526
+ "name": "heading-level",
1542
1527
  "type": {
1543
- "text": "AccordionExpandMode"
1528
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1544
1529
  },
1545
- "privacy": "public",
1546
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
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",
1547
1533
  "inheritedFrom": {
1548
- "name": "Accordion",
1549
- "module": "src/accordion/accordion.ts"
1534
+ "name": "AccordionItem",
1535
+ "module": "src/accordion-item/accordion-item.ts"
1550
1536
  }
1551
1537
  },
1552
1538
  {
1553
- "kind": "field",
1554
- "name": "activeid",
1555
1539
  "type": {
1556
- "text": "string | null"
1540
+ "text": "boolean"
1557
1541
  },
1558
- "privacy": "private",
1542
+ "default": "false",
1543
+ "description": "Expands or collapses the item.",
1544
+ "fieldName": "expanded",
1559
1545
  "inheritedFrom": {
1560
- "name": "Accordion",
1561
- "module": "src/accordion/accordion.ts"
1546
+ "name": "AccordionItem",
1547
+ "module": "src/accordion-item/accordion-item.ts"
1562
1548
  }
1563
1549
  },
1564
1550
  {
1565
- "kind": "field",
1566
- "name": "activeItemIndex",
1551
+ "name": "id",
1567
1552
  "type": {
1568
- "text": "number"
1553
+ "text": "string"
1569
1554
  },
1570
- "privacy": "private",
1571
- "default": "0",
1555
+ "description": "The item ID",
1556
+ "fieldName": "id",
1572
1557
  "inheritedFrom": {
1573
- "name": "Accordion",
1574
- "module": "src/accordion/accordion.ts"
1558
+ "name": "AccordionItem",
1559
+ "module": "src/accordion-item/accordion-item.ts"
1575
1560
  }
1576
- },
1561
+ }
1562
+ ],
1563
+ "members": [
1577
1564
  {
1578
1565
  "kind": "field",
1579
- "name": "accordionIds",
1566
+ "name": "headinglevel",
1580
1567
  "type": {
1581
- "text": "Array<string | null>"
1582
- },
1583
- "privacy": "private",
1584
- "inheritedFrom": {
1585
- "name": "Accordion",
1586
- "module": "src/accordion/accordion.ts"
1587
- }
1588
- },
1589
- {
1590
- "kind": "field",
1591
- "name": "change",
1592
- "privacy": "private",
1593
- "inheritedFrom": {
1594
- "name": "Accordion",
1595
- "module": "src/accordion/accordion.ts"
1596
- }
1597
- },
1598
- {
1599
- "kind": "method",
1600
- "name": "findExpandedItem",
1601
- "privacy": "private",
1602
- "return": {
1603
- "type": {
1604
- "text": "AccordionItem | null"
1605
- }
1568
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1606
1569
  },
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.",
1607
1573
  "inheritedFrom": {
1608
- "name": "Accordion",
1609
- "module": "src/accordion/accordion.ts"
1574
+ "name": "AccordionItem",
1575
+ "module": "src/accordion-item/accordion-item.ts"
1610
1576
  }
1611
1577
  },
1612
1578
  {
1613
1579
  "kind": "field",
1614
- "name": "setItems",
1615
- "privacy": "private",
1616
- "inheritedFrom": {
1617
- "name": "Accordion",
1618
- "module": "src/accordion/accordion.ts"
1619
- }
1620
- },
1621
- {
1622
- "kind": "method",
1623
- "name": "resetItems",
1624
- "privacy": "private",
1625
- "return": {
1626
- "type": {
1627
- "text": "void"
1628
- }
1580
+ "name": "expanded",
1581
+ "type": {
1582
+ "text": "boolean"
1629
1583
  },
1584
+ "privacy": "public",
1585
+ "default": "false",
1586
+ "description": "Expands or collapses the item.",
1630
1587
  "inheritedFrom": {
1631
- "name": "Accordion",
1632
- "module": "src/accordion/accordion.ts"
1633
- }
1634
- },
1635
- {
1636
- "kind": "field",
1637
- "name": "removeItemListeners",
1638
- "privacy": "private",
1639
- "inheritedFrom": {
1640
- "name": "Accordion",
1641
- "module": "src/accordion/accordion.ts"
1588
+ "name": "AccordionItem",
1589
+ "module": "src/accordion-item/accordion-item.ts"
1642
1590
  }
1643
1591
  },
1644
1592
  {
1645
1593
  "kind": "field",
1646
- "name": "activeItemChange",
1647
- "privacy": "private",
1648
- "inheritedFrom": {
1649
- "name": "Accordion",
1650
- "module": "src/accordion/accordion.ts"
1651
- }
1652
- },
1653
- {
1654
- "kind": "method",
1655
- "name": "getItemIds",
1656
- "privacy": "private",
1657
- "return": {
1658
- "type": {
1659
- "text": "Array<string | null>"
1660
- }
1661
- },
1662
- "inheritedFrom": {
1663
- "name": "Accordion",
1664
- "module": "src/accordion/accordion.ts"
1665
- }
1666
- },
1667
- {
1668
- "kind": "method",
1669
- "name": "isSingleExpandMode",
1670
- "privacy": "private",
1671
- "return": {
1672
- "type": {
1673
- "text": "boolean"
1674
- }
1594
+ "name": "id",
1595
+ "type": {
1596
+ "text": "string"
1675
1597
  },
1598
+ "privacy": "public",
1599
+ "description": "The item ID",
1676
1600
  "inheritedFrom": {
1677
- "name": "Accordion",
1678
- "module": "src/accordion/accordion.ts"
1679
- }
1680
- },
1681
- {
1682
- "kind": "field",
1683
- "name": "handleItemKeyDown",
1684
- "privacy": "private",
1685
- "inheritedFrom": {
1686
- "name": "Accordion",
1687
- "module": "src/accordion/accordion.ts"
1601
+ "name": "AccordionItem",
1602
+ "module": "src/accordion-item/accordion-item.ts"
1688
1603
  }
1689
1604
  },
1690
1605
  {
1691
1606
  "kind": "field",
1692
- "name": "handleItemFocus",
1693
- "privacy": "private",
1694
- "inheritedFrom": {
1695
- "name": "Accordion",
1696
- "module": "src/accordion/accordion.ts"
1697
- }
1698
- },
1699
- {
1700
- "kind": "method",
1701
- "name": "adjust",
1702
- "privacy": "private",
1703
- "return": {
1704
- "type": {
1705
- "text": "void"
1706
- }
1707
- },
1708
- "parameters": [
1709
- {
1710
- "name": "adjustment",
1711
- "type": {
1712
- "text": "number"
1713
- }
1714
- }
1715
- ],
1716
- "inheritedFrom": {
1717
- "name": "Accordion",
1718
- "module": "src/accordion/accordion.ts"
1719
- }
1720
- },
1721
- {
1722
- "kind": "method",
1723
- "name": "focusItem",
1607
+ "name": "change",
1724
1608
  "privacy": "private",
1725
- "return": {
1726
- "type": {
1727
- "text": "void"
1728
- }
1729
- },
1730
1609
  "inheritedFrom": {
1731
- "name": "Accordion",
1732
- "module": "src/accordion/accordion.ts"
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1733
1612
  }
1734
1613
  },
1735
1614
  {
@@ -1846,18 +1725,18 @@
1846
1725
  ],
1847
1726
  "events": [
1848
1727
  {
1849
- "description": "Fires a custom 'change' event when the active item changes",
1728
+ "description": "Fires a custom 'change' event when the button is invoked",
1850
1729
  "name": "change",
1851
1730
  "inheritedFrom": {
1852
- "name": "Accordion",
1853
- "module": "src/accordion/accordion.ts"
1731
+ "name": "AccordionItem",
1732
+ "module": "src/accordion-item/accordion-item.ts"
1854
1733
  }
1855
1734
  }
1856
1735
  ]
1857
1736
  },
1858
1737
  {
1859
1738
  "kind": "variable",
1860
- "name": "foundationAccordionShadowOptions",
1739
+ "name": "foundationAccordionItemShadowOptions",
1861
1740
  "type": {
1862
1741
  "text": "ShadowRootInit"
1863
1742
  },
@@ -1865,57 +1744,57 @@
1865
1744
  },
1866
1745
  {
1867
1746
  "kind": "variable",
1868
- "name": "defaultAccordionConfig",
1747
+ "name": "defaultAccordionItemConfig",
1869
1748
  "type": {
1870
1749
  "text": "object"
1871
1750
  },
1872
- "default": "{}"
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}"
1873
1752
  },
1874
1753
  {
1875
1754
  "kind": "variable",
1876
- "name": "foundationAccordion",
1877
- "description": "The Foundation Accordion",
1755
+ "name": "foundationAccordionItem",
1756
+ "description": "The Foundation Accordion Item",
1878
1757
  "privacy": "public"
1879
1758
  }
1880
1759
  ],
1881
1760
  "exports": [
1882
1761
  {
1883
1762
  "kind": "js",
1884
- "name": "Accordion",
1763
+ "name": "AccordionItem",
1885
1764
  "declaration": {
1886
- "name": "Accordion",
1887
- "module": "src/accordion/accordion.ts"
1765
+ "name": "AccordionItem",
1766
+ "module": "src/accordion-item/accordion-item.ts"
1888
1767
  }
1889
1768
  },
1890
1769
  {
1891
1770
  "kind": "js",
1892
- "name": "foundationAccordionShadowOptions",
1771
+ "name": "foundationAccordionItemShadowOptions",
1893
1772
  "declaration": {
1894
- "name": "foundationAccordionShadowOptions",
1895
- "module": "src/accordion/accordion.ts"
1773
+ "name": "foundationAccordionItemShadowOptions",
1774
+ "module": "src/accordion-item/accordion-item.ts"
1896
1775
  }
1897
1776
  },
1898
1777
  {
1899
1778
  "kind": "js",
1900
- "name": "defaultAccordionConfig",
1779
+ "name": "defaultAccordionItemConfig",
1901
1780
  "declaration": {
1902
- "name": "defaultAccordionConfig",
1903
- "module": "src/accordion/accordion.ts"
1781
+ "name": "defaultAccordionItemConfig",
1782
+ "module": "src/accordion-item/accordion-item.ts"
1904
1783
  }
1905
1784
  },
1906
1785
  {
1907
1786
  "kind": "js",
1908
- "name": "foundationAccordion",
1787
+ "name": "foundationAccordionItem",
1909
1788
  "declaration": {
1910
- "name": "foundationAccordion",
1911
- "module": "src/accordion/accordion.ts"
1789
+ "name": "foundationAccordionItem",
1790
+ "module": "src/accordion-item/accordion-item.ts"
1912
1791
  }
1913
1792
  }
1914
1793
  ]
1915
1794
  },
1916
1795
  {
1917
1796
  "kind": "javascript-module",
1918
- "path": "src/accordion/index.ts",
1797
+ "path": "src/accordion-item/index.ts",
1919
1798
  "declarations": [],
1920
1799
  "exports": [
1921
1800
  {
@@ -1923,7 +1802,7 @@
1923
1802
  "name": "*",
1924
1803
  "declaration": {
1925
1804
  "name": "*",
1926
- "package": "./accordion.template"
1805
+ "package": "./accordion-item.template"
1927
1806
  }
1928
1807
  },
1929
1808
  {
@@ -1931,7 +1810,7 @@
1931
1810
  "name": "*",
1932
1811
  "declaration": {
1933
1812
  "name": "*",
1934
- "package": "./accordion.styles"
1813
+ "package": "./accordion-item.styles"
1935
1814
  }
1936
1815
  },
1937
1816
  {
@@ -1939,41 +1818,18 @@
1939
1818
  "name": "*",
1940
1819
  "declaration": {
1941
1820
  "name": "*",
1942
- "package": "./accordion"
1821
+ "package": "./accordion-item"
1943
1822
  }
1944
1823
  }
1945
1824
  ]
1946
1825
  },
1947
1826
  {
1948
1827
  "kind": "javascript-module",
1949
- "path": "src/actions-menu/actions-menu.styles.ts",
1828
+ "path": "src/accordion/accordion.styles.ts",
1950
1829
  "declarations": [
1951
1830
  {
1952
1831
  "kind": "function",
1953
- "name": "actionsMenuBaseStyles",
1954
- "return": {
1955
- "type": {
1956
- "text": "ElementStyles"
1957
- }
1958
- },
1959
- "parameters": [
1960
- {
1961
- "name": "context",
1962
- "type": {
1963
- "text": "ElementDefinitionContext"
1964
- }
1965
- },
1966
- {
1967
- "name": "definition",
1968
- "type": {
1969
- "text": "FoundationElementDefinition"
1970
- }
1971
- }
1972
- ]
1973
- },
1974
- {
1975
- "kind": "function",
1976
- "name": "foundationActionsMenuStyles",
1832
+ "name": "foundationAccordionStyles",
1977
1833
  "return": {
1978
1834
  "type": {
1979
1835
  "text": "ElementStyles"
@@ -1998,269 +1854,277 @@
1998
1854
  "exports": [
1999
1855
  {
2000
1856
  "kind": "js",
2001
- "name": "actionsMenuBaseStyles",
2002
- "declaration": {
2003
- "name": "actionsMenuBaseStyles",
2004
- "module": "src/actions-menu/actions-menu.styles.ts"
2005
- }
2006
- },
2007
- {
2008
- "kind": "js",
2009
- "name": "foundationActionsMenuStyles",
1857
+ "name": "foundationAccordionStyles",
2010
1858
  "declaration": {
2011
- "name": "foundationActionsMenuStyles",
2012
- "module": "src/actions-menu/actions-menu.styles.ts"
1859
+ "name": "foundationAccordionStyles",
1860
+ "module": "src/accordion/accordion.styles.ts"
2013
1861
  }
2014
1862
  }
2015
1863
  ]
2016
1864
  },
2017
1865
  {
2018
1866
  "kind": "javascript-module",
2019
- "path": "src/actions-menu/actions-menu.template.ts",
1867
+ "path": "src/accordion/accordion.template.ts",
2020
1868
  "declarations": [
2021
1869
  {
2022
1870
  "kind": "function",
2023
- "name": "menuTemplate",
1871
+ "name": "foundationAccordionTemplate",
1872
+ "return": {
1873
+ "type": {
1874
+ "text": "ViewTemplate<Accordion>"
1875
+ }
1876
+ },
2024
1877
  "parameters": [
2025
1878
  {
2026
- "name": "prefix",
1879
+ "name": "context",
2027
1880
  "type": {
2028
- "text": "string"
1881
+ "text": "ElementDefinitionContext"
2029
1882
  }
2030
- }
2031
- ]
2032
- },
2033
- {
2034
- "kind": "function",
2035
- "name": "singleOptionTemplate",
2036
- "parameters": [
1883
+ },
2037
1884
  {
2038
- "name": "prefix",
1885
+ "name": "definition",
2039
1886
  "type": {
2040
- "text": "string"
1887
+ "text": "FoundationElementDefinition"
2041
1888
  }
2042
1889
  }
2043
1890
  ]
2044
- },
2045
- {
2046
- "kind": "variable",
2047
- "name": "foundationActionsMenuTemplate",
2048
- "type": {
2049
- "text": "ViewTemplate<ActionsMenu>"
2050
- },
2051
- "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`"
2052
1891
  }
2053
1892
  ],
2054
1893
  "exports": [
2055
1894
  {
2056
1895
  "kind": "js",
2057
- "name": "menuTemplate",
2058
- "declaration": {
2059
- "name": "menuTemplate",
2060
- "module": "src/actions-menu/actions-menu.template.ts"
2061
- }
2062
- },
2063
- {
2064
- "kind": "js",
2065
- "name": "singleOptionTemplate",
2066
- "declaration": {
2067
- "name": "singleOptionTemplate",
2068
- "module": "src/actions-menu/actions-menu.template.ts"
2069
- }
2070
- },
2071
- {
2072
- "kind": "js",
2073
- "name": "foundationActionsMenuTemplate",
1896
+ "name": "foundationAccordionTemplate",
2074
1897
  "declaration": {
2075
- "name": "foundationActionsMenuTemplate",
2076
- "module": "src/actions-menu/actions-menu.template.ts"
1898
+ "name": "foundationAccordionTemplate",
1899
+ "module": "src/accordion/accordion.template.ts"
2077
1900
  }
2078
1901
  }
2079
1902
  ]
2080
1903
  },
2081
1904
  {
2082
1905
  "kind": "javascript-module",
2083
- "path": "src/actions-menu/actions-menu.ts",
1906
+ "path": "src/accordion/accordion.ts",
2084
1907
  "declarations": [
2085
1908
  {
2086
1909
  "kind": "class",
2087
1910
  "description": "",
2088
- "name": "ActionsMenu",
2089
- "members": [
1911
+ "name": "Accordion",
1912
+ "superclass": {
1913
+ "name": "FASTAccordion",
1914
+ "package": "@microsoft/fast-foundation"
1915
+ },
1916
+ "tagName": "%%prefix%%-accordion",
1917
+ "customElement": true,
1918
+ "attributes": [
2090
1919
  {
2091
- "kind": "field",
2092
- "name": "actions",
1920
+ "name": "expand-mode",
2093
1921
  "type": {
2094
- "text": "ActionMenuItem[]"
1922
+ "text": "AccordionExpandMode"
1923
+ },
1924
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
+ "fieldName": "expandmode",
1926
+ "inheritedFrom": {
1927
+ "name": "Accordion",
1928
+ "module": "src/accordion/accordion.ts"
2095
1929
  }
2096
- },
1930
+ }
1931
+ ],
1932
+ "members": [
2097
1933
  {
2098
1934
  "kind": "field",
2099
- "name": "isVertical",
1935
+ "name": "expandmode",
2100
1936
  "type": {
2101
- "text": "boolean"
1937
+ "text": "AccordionExpandMode"
2102
1938
  },
2103
- "default": "false"
1939
+ "privacy": "public",
1940
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
+ "inheritedFrom": {
1942
+ "name": "Accordion",
1943
+ "module": "src/accordion/accordion.ts"
1944
+ }
2104
1945
  },
2105
1946
  {
2106
1947
  "kind": "field",
2107
- "name": "addDefaultActions",
1948
+ "name": "activeid",
2108
1949
  "type": {
2109
- "text": "boolean"
1950
+ "text": "string | null"
2110
1951
  },
2111
- "default": "true"
1952
+ "privacy": "private",
1953
+ "inheritedFrom": {
1954
+ "name": "Accordion",
1955
+ "module": "src/accordion/accordion.ts"
1956
+ }
2112
1957
  },
2113
1958
  {
2114
1959
  "kind": "field",
2115
- "name": "autoCloseOnAction",
1960
+ "name": "activeItemIndex",
2116
1961
  "type": {
2117
- "text": "boolean"
1962
+ "text": "number"
2118
1963
  },
2119
- "default": "true"
1964
+ "privacy": "private",
1965
+ "default": "0",
1966
+ "inheritedFrom": {
1967
+ "name": "Accordion",
1968
+ "module": "src/accordion/accordion.ts"
1969
+ }
2120
1970
  },
2121
1971
  {
2122
1972
  "kind": "field",
2123
- "name": "classNames",
1973
+ "name": "accordionIds",
2124
1974
  "type": {
2125
- "text": "string"
1975
+ "text": "Array<string | null>"
1976
+ },
1977
+ "privacy": "private",
1978
+ "inheritedFrom": {
1979
+ "name": "Accordion",
1980
+ "module": "src/accordion/accordion.ts"
2126
1981
  }
2127
1982
  },
2128
1983
  {
2129
1984
  "kind": "field",
2130
- "name": "definition",
2131
- "type": {
2132
- "text": "any"
1985
+ "name": "change",
1986
+ "privacy": "private",
1987
+ "inheritedFrom": {
1988
+ "name": "Accordion",
1989
+ "module": "src/accordion/accordion.ts"
2133
1990
  }
2134
1991
  },
2135
1992
  {
2136
- "kind": "field",
2137
- "name": "name",
2138
- "type": {
2139
- "text": "string"
1993
+ "kind": "method",
1994
+ "name": "findExpandedItem",
1995
+ "privacy": "private",
1996
+ "return": {
1997
+ "type": {
1998
+ "text": "AccordionItem | null"
1999
+ }
2140
2000
  },
2141
- "default": "'Actions'"
2001
+ "inheritedFrom": {
2002
+ "name": "Accordion",
2003
+ "module": "src/accordion/accordion.ts"
2004
+ }
2142
2005
  },
2143
2006
  {
2144
2007
  "kind": "field",
2145
- "name": "open",
2146
- "type": {
2147
- "text": "boolean"
2148
- },
2149
- "default": "false"
2008
+ "name": "setItems",
2009
+ "privacy": "private",
2010
+ "inheritedFrom": {
2011
+ "name": "Accordion",
2012
+ "module": "src/accordion/accordion.ts"
2013
+ }
2150
2014
  },
2151
2015
  {
2152
- "kind": "field",
2153
- "name": "buttonAppearance",
2154
- "type": {
2155
- "text": "string"
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"
2156
2027
  }
2157
2028
  },
2158
2029
  {
2159
2030
  "kind": "field",
2160
- "name": "hideDisabled",
2161
- "type": {
2162
- "text": "boolean"
2163
- },
2164
- "default": "false"
2165
- },
2166
- {
2167
- "kind": "field",
2168
- "name": "hideMenuSingleOption",
2169
- "type": {
2170
- "text": "boolean"
2171
- },
2172
- "default": "false"
2173
- },
2174
- {
2175
- "kind": "field",
2176
- "name": "singleOption",
2177
- "type": {
2178
- "text": "ActionMenuItem"
2031
+ "name": "removeItemListeners",
2032
+ "privacy": "private",
2033
+ "inheritedFrom": {
2034
+ "name": "Accordion",
2035
+ "module": "src/accordion/accordion.ts"
2179
2036
  }
2180
2037
  },
2181
2038
  {
2182
2039
  "kind": "field",
2183
- "name": "actionsMenu",
2184
- "type": {
2185
- "text": "HTMLElement"
2040
+ "name": "activeItemChange",
2041
+ "privacy": "private",
2042
+ "inheritedFrom": {
2043
+ "name": "Accordion",
2044
+ "module": "src/accordion/accordion.ts"
2186
2045
  }
2187
2046
  },
2188
2047
  {
2189
2048
  "kind": "method",
2190
- "name": "definitionChanged",
2191
- "privacy": "protected",
2192
- "parameters": [
2193
- {
2194
- "name": "oldValue",
2195
- "type": {
2196
- "text": "any"
2197
- }
2198
- },
2199
- {
2200
- "name": "newValue",
2201
- "type": {
2202
- "text": "any"
2203
- }
2049
+ "name": "getItemIds",
2050
+ "privacy": "private",
2051
+ "return": {
2052
+ "type": {
2053
+ "text": "Array<string | null>"
2204
2054
  }
2205
- ]
2206
- },
2207
- {
2208
- "kind": "method",
2209
- "name": "openChanged",
2210
- "privacy": "protected"
2211
- },
2212
- {
2213
- "kind": "method",
2214
- "name": "toggleActionsMenuVisibility"
2055
+ },
2056
+ "inheritedFrom": {
2057
+ "name": "Accordion",
2058
+ "module": "src/accordion/accordion.ts"
2059
+ }
2215
2060
  },
2216
2061
  {
2217
2062
  "kind": "method",
2218
- "name": "onActionMenuItemClick",
2219
- "parameters": [
2220
- {
2221
- "name": "callback",
2222
- "type": {
2223
- "text": "(rowData) => void | any"
2224
- }
2063
+ "name": "isSingleExpandMode",
2064
+ "privacy": "private",
2065
+ "return": {
2066
+ "type": {
2067
+ "text": "boolean"
2225
2068
  }
2226
- ]
2069
+ },
2070
+ "inheritedFrom": {
2071
+ "name": "Accordion",
2072
+ "module": "src/accordion/accordion.ts"
2073
+ }
2227
2074
  },
2228
2075
  {
2229
2076
  "kind": "field",
2230
- "name": "allActions",
2231
- "type": {
2232
- "text": "ActionMenuItem[]"
2233
- },
2234
- "readonly": true
2077
+ "name": "handleItemKeyDown",
2078
+ "privacy": "private",
2079
+ "inheritedFrom": {
2080
+ "name": "Accordion",
2081
+ "module": "src/accordion/accordion.ts"
2082
+ }
2235
2083
  },
2236
2084
  {
2237
2085
  "kind": "field",
2238
- "name": "rowData",
2239
- "readonly": true
2086
+ "name": "handleItemFocus",
2087
+ "privacy": "private",
2088
+ "inheritedFrom": {
2089
+ "name": "Accordion",
2090
+ "module": "src/accordion/accordion.ts"
2091
+ }
2240
2092
  },
2241
2093
  {
2242
2094
  "kind": "method",
2243
- "name": "getLabel",
2095
+ "name": "adjust",
2096
+ "privacy": "private",
2097
+ "return": {
2098
+ "type": {
2099
+ "text": "void"
2100
+ }
2101
+ },
2244
2102
  "parameters": [
2245
2103
  {
2246
- "name": "name",
2104
+ "name": "adjustment",
2247
2105
  "type": {
2248
- "text": "string | ((rowData: any) => string)"
2106
+ "text": "number"
2249
2107
  }
2250
2108
  }
2251
- ]
2109
+ ],
2110
+ "inheritedFrom": {
2111
+ "name": "Accordion",
2112
+ "module": "src/accordion/accordion.ts"
2113
+ }
2252
2114
  },
2253
2115
  {
2254
2116
  "kind": "method",
2255
- "name": "getTemplate",
2256
- "parameters": [
2257
- {
2258
- "name": "prefix",
2259
- "type": {
2260
- "text": "string"
2261
- }
2117
+ "name": "focusItem",
2118
+ "privacy": "private",
2119
+ "return": {
2120
+ "type": {
2121
+ "text": "void"
2262
2122
  }
2263
- ]
2123
+ },
2124
+ "inheritedFrom": {
2125
+ "name": "Accordion",
2126
+ "module": "src/accordion/accordion.ts"
2127
+ }
2264
2128
  },
2265
2129
  {
2266
2130
  "kind": "field",
@@ -2374,123 +2238,86 @@
2374
2238
  }
2375
2239
  }
2376
2240
  ],
2377
- "attributes": [
2378
- {
2379
- "name": "is-vertical",
2380
- "type": {
2381
- "text": "boolean"
2382
- },
2383
- "default": "false",
2384
- "fieldName": "isVertical"
2385
- },
2386
- {
2387
- "name": "add-default-actions",
2388
- "type": {
2389
- "text": "boolean"
2390
- },
2391
- "default": "true",
2392
- "fieldName": "addDefaultActions"
2393
- },
2394
- {
2395
- "name": "auto-close-on-action",
2396
- "type": {
2397
- "text": "boolean"
2398
- },
2399
- "default": "true",
2400
- "fieldName": "autoCloseOnAction"
2401
- },
2402
- {
2403
- "name": "name",
2404
- "type": {
2405
- "text": "string"
2406
- },
2407
- "default": "'Actions'",
2408
- "fieldName": "name"
2409
- },
2410
- {
2411
- "name": "open",
2412
- "type": {
2413
- "text": "boolean"
2414
- },
2415
- "default": "false",
2416
- "fieldName": "open"
2417
- },
2418
- {
2419
- "name": "buttonAppearance",
2420
- "type": {
2421
- "text": "string"
2422
- },
2423
- "fieldName": "buttonAppearance"
2424
- },
2425
- {
2426
- "name": "hide-disabled",
2427
- "type": {
2428
- "text": "boolean"
2429
- },
2430
- "default": "false",
2431
- "fieldName": "hideDisabled"
2432
- },
2241
+ "events": [
2433
2242
  {
2434
- "name": "hide-menu-single-option",
2435
- "type": {
2436
- "text": "boolean"
2437
- },
2438
- "default": "false",
2439
- "fieldName": "hideMenuSingleOption"
2243
+ "description": "Fires a custom 'change' event when the active item changes",
2244
+ "name": "change",
2245
+ "inheritedFrom": {
2246
+ "name": "Accordion",
2247
+ "module": "src/accordion/accordion.ts"
2248
+ }
2440
2249
  }
2441
- ],
2442
- "superclass": {
2443
- "name": "FoundationElement",
2444
- "package": "@microsoft/fast-foundation"
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "variable",
2254
+ "name": "foundationAccordionShadowOptions",
2255
+ "type": {
2256
+ "text": "ShadowRootInit"
2445
2257
  },
2446
- "tagName": "%%prefix%%-actions-menu",
2447
- "customElement": true
2258
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2448
2259
  },
2449
2260
  {
2450
2261
  "kind": "variable",
2451
- "name": "foundationActionsMenu",
2452
- "description": "The Foundation Actions Menu",
2262
+ "name": "defaultAccordionConfig",
2263
+ "type": {
2264
+ "text": "object"
2265
+ },
2266
+ "default": "{}"
2267
+ },
2268
+ {
2269
+ "kind": "variable",
2270
+ "name": "foundationAccordion",
2271
+ "description": "The Foundation Accordion",
2453
2272
  "privacy": "public"
2454
2273
  }
2455
2274
  ],
2456
2275
  "exports": [
2457
2276
  {
2458
2277
  "kind": "js",
2459
- "name": "ActionsMenu",
2278
+ "name": "Accordion",
2460
2279
  "declaration": {
2461
- "name": "ActionsMenu",
2462
- "module": "src/actions-menu/actions-menu.ts"
2280
+ "name": "Accordion",
2281
+ "module": "src/accordion/accordion.ts"
2463
2282
  }
2464
2283
  },
2465
2284
  {
2466
2285
  "kind": "js",
2467
- "name": "foundationActionsMenu",
2286
+ "name": "foundationAccordionShadowOptions",
2468
2287
  "declaration": {
2469
- "name": "foundationActionsMenu",
2470
- "module": "src/actions-menu/actions-menu.ts"
2288
+ "name": "foundationAccordionShadowOptions",
2289
+ "module": "src/accordion/accordion.ts"
2471
2290
  }
2472
- }
2473
- ]
2474
- },
2475
- {
2476
- "kind": "javascript-module",
2477
- "path": "src/actions-menu/index.ts",
2478
- "declarations": [],
2479
- "exports": [
2291
+ },
2480
2292
  {
2481
2293
  "kind": "js",
2482
- "name": "*",
2294
+ "name": "defaultAccordionConfig",
2483
2295
  "declaration": {
2484
- "name": "*",
2485
- "package": "./actions-menu.styles"
2296
+ "name": "defaultAccordionConfig",
2297
+ "module": "src/accordion/accordion.ts"
2486
2298
  }
2487
2299
  },
2300
+ {
2301
+ "kind": "js",
2302
+ "name": "foundationAccordion",
2303
+ "declaration": {
2304
+ "name": "foundationAccordion",
2305
+ "module": "src/accordion/accordion.ts"
2306
+ }
2307
+ }
2308
+ ]
2309
+ },
2310
+ {
2311
+ "kind": "javascript-module",
2312
+ "path": "src/accordion/index.ts",
2313
+ "declarations": [],
2314
+ "exports": [
2488
2315
  {
2489
2316
  "kind": "js",
2490
2317
  "name": "*",
2491
2318
  "declaration": {
2492
2319
  "name": "*",
2493
- "package": "./actions-menu.template"
2320
+ "package": "./accordion.template"
2494
2321
  }
2495
2322
  },
2496
2323
  {
@@ -2498,138 +2325,218 @@
2498
2325
  "name": "*",
2499
2326
  "declaration": {
2500
2327
  "name": "*",
2501
- "package": "./actions-menu"
2328
+ "package": "./accordion.styles"
2329
+ }
2330
+ },
2331
+ {
2332
+ "kind": "js",
2333
+ "name": "*",
2334
+ "declaration": {
2335
+ "name": "*",
2336
+ "package": "./accordion"
2502
2337
  }
2503
2338
  }
2504
2339
  ]
2505
2340
  },
2506
2341
  {
2507
2342
  "kind": "javascript-module",
2508
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2509
2344
  "declarations": [
2510
2345
  {
2511
- "kind": "variable",
2512
- "name": "foundationAiCriteriaSearchStyles",
2513
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2346
+ "kind": "function",
2347
+ "name": "actionsMenuBaseStyles",
2348
+ "return": {
2349
+ "type": {
2350
+ "text": "ElementStyles"
2351
+ }
2352
+ },
2353
+ "parameters": [
2354
+ {
2355
+ "name": "context",
2356
+ "type": {
2357
+ "text": "ElementDefinitionContext"
2358
+ }
2359
+ },
2360
+ {
2361
+ "name": "definition",
2362
+ "type": {
2363
+ "text": "FoundationElementDefinition"
2364
+ }
2365
+ }
2366
+ ]
2367
+ },
2368
+ {
2369
+ "kind": "function",
2370
+ "name": "foundationActionsMenuStyles",
2371
+ "return": {
2372
+ "type": {
2373
+ "text": "ElementStyles"
2374
+ }
2375
+ },
2376
+ "parameters": [
2377
+ {
2378
+ "name": "context",
2379
+ "type": {
2380
+ "text": "ElementDefinitionContext"
2381
+ }
2382
+ },
2383
+ {
2384
+ "name": "definition",
2385
+ "type": {
2386
+ "text": "FoundationElementDefinition"
2387
+ }
2388
+ }
2389
+ ]
2514
2390
  }
2515
2391
  ],
2516
2392
  "exports": [
2517
2393
  {
2518
2394
  "kind": "js",
2519
- "name": "foundationAiCriteriaSearchStyles",
2395
+ "name": "actionsMenuBaseStyles",
2520
2396
  "declaration": {
2521
- "name": "foundationAiCriteriaSearchStyles",
2522
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2397
+ "name": "actionsMenuBaseStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2399
+ }
2400
+ },
2401
+ {
2402
+ "kind": "js",
2403
+ "name": "foundationActionsMenuStyles",
2404
+ "declaration": {
2405
+ "name": "foundationActionsMenuStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2523
2407
  }
2524
2408
  }
2525
2409
  ]
2526
2410
  },
2527
2411
  {
2528
2412
  "kind": "javascript-module",
2529
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2413
+ "path": "src/actions-menu/actions-menu.template.ts",
2530
2414
  "declarations": [
2415
+ {
2416
+ "kind": "function",
2417
+ "name": "menuTemplate",
2418
+ "parameters": [
2419
+ {
2420
+ "name": "prefix",
2421
+ "type": {
2422
+ "text": "string"
2423
+ }
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "singleOptionTemplate",
2430
+ "parameters": [
2431
+ {
2432
+ "name": "prefix",
2433
+ "type": {
2434
+ "text": "string"
2435
+ }
2436
+ }
2437
+ ]
2438
+ },
2531
2439
  {
2532
2440
  "kind": "variable",
2533
- "name": "foundationAiCriteriaSearchTemplate",
2441
+ "name": "foundationActionsMenuTemplate",
2534
2442
  "type": {
2535
- "text": "ViewTemplate<AiCriteriaSearch>"
2443
+ "text": "ViewTemplate<ActionsMenu>"
2536
2444
  },
2537
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2445
+ "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`"
2538
2446
  }
2539
2447
  ],
2540
2448
  "exports": [
2541
2449
  {
2542
2450
  "kind": "js",
2543
- "name": "foundationAiCriteriaSearchTemplate",
2451
+ "name": "menuTemplate",
2544
2452
  "declaration": {
2545
- "name": "foundationAiCriteriaSearchTemplate",
2546
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2453
+ "name": "menuTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2455
+ }
2456
+ },
2457
+ {
2458
+ "kind": "js",
2459
+ "name": "singleOptionTemplate",
2460
+ "declaration": {
2461
+ "name": "singleOptionTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "foundationActionsMenuTemplate",
2468
+ "declaration": {
2469
+ "name": "foundationActionsMenuTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2547
2471
  }
2548
2472
  }
2549
2473
  ]
2550
2474
  },
2551
2475
  {
2552
2476
  "kind": "javascript-module",
2553
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2477
+ "path": "src/actions-menu/actions-menu.ts",
2554
2478
  "declarations": [
2555
2479
  {
2556
2480
  "kind": "class",
2557
- "description": "Natural-language criteria search input with AI interpretation.",
2558
- "name": "AiCriteriaSearch",
2481
+ "description": "",
2482
+ "name": "ActionsMenu",
2559
2483
  "members": [
2560
2484
  {
2561
2485
  "kind": "field",
2562
- "name": "aiProvider",
2486
+ "name": "actions",
2563
2487
  "type": {
2564
- "text": "AIProvider"
2488
+ "text": "ActionMenuItem[]"
2565
2489
  }
2566
2490
  },
2567
2491
  {
2568
2492
  "kind": "field",
2569
- "name": "placeholder",
2570
- "type": {
2571
- "text": "string"
2572
- },
2573
- "default": "'Describe your search criteria in natural language...'"
2574
- },
2575
- {
2576
- "kind": "field",
2577
- "name": "disabled",
2493
+ "name": "isVertical",
2578
2494
  "type": {
2579
2495
  "text": "boolean"
2580
- }
2581
- },
2582
- {
2583
- "kind": "field",
2584
- "name": "inputValue",
2585
- "type": {
2586
- "text": "string"
2587
2496
  },
2588
- "default": "''"
2497
+ "default": "false"
2589
2498
  },
2590
2499
  {
2591
2500
  "kind": "field",
2592
- "name": "isInterpreting",
2501
+ "name": "addDefaultActions",
2593
2502
  "type": {
2594
2503
  "text": "boolean"
2595
2504
  },
2596
- "default": "false"
2505
+ "default": "true"
2597
2506
  },
2598
2507
  {
2599
2508
  "kind": "field",
2600
- "name": "lastValidCriteria",
2509
+ "name": "autoCloseOnAction",
2601
2510
  "type": {
2602
- "text": "string | null"
2511
+ "text": "boolean"
2603
2512
  },
2604
- "default": "null"
2513
+ "default": "true"
2605
2514
  },
2606
2515
  {
2607
2516
  "kind": "field",
2608
- "name": "activeGroups",
2517
+ "name": "classNames",
2609
2518
  "type": {
2610
- "text": "CriteriaGroup[]"
2611
- },
2612
- "default": "[]"
2519
+ "text": "string"
2520
+ }
2613
2521
  },
2614
2522
  {
2615
2523
  "kind": "field",
2616
- "name": "showingChips",
2524
+ "name": "definition",
2617
2525
  "type": {
2618
- "text": "boolean"
2619
- },
2620
- "default": "false"
2526
+ "text": "any"
2527
+ }
2621
2528
  },
2622
2529
  {
2623
2530
  "kind": "field",
2624
- "name": "fieldMetadata",
2531
+ "name": "name",
2625
2532
  "type": {
2626
- "text": "MetadataDetail[] | string[]"
2533
+ "text": "string"
2627
2534
  },
2628
- "default": "[]"
2535
+ "default": "'Actions'"
2629
2536
  },
2630
2537
  {
2631
2538
  "kind": "field",
2632
- "name": "isRecording",
2539
+ "name": "open",
2633
2540
  "type": {
2634
2541
  "text": "boolean"
2635
2542
  },
@@ -2637,125 +2544,117 @@
2637
2544
  },
2638
2545
  {
2639
2546
  "kind": "field",
2640
- "name": "textAreaRef",
2547
+ "name": "buttonAppearance",
2641
2548
  "type": {
2642
- "text": "HTMLTextAreaElement"
2643
- },
2644
- "privacy": "public"
2549
+ "text": "string"
2550
+ }
2645
2551
  },
2646
2552
  {
2647
2553
  "kind": "field",
2648
- "name": "stopRecording",
2554
+ "name": "hideDisabled",
2649
2555
  "type": {
2650
- "text": "(() => void) | null"
2556
+ "text": "boolean"
2651
2557
  },
2652
- "privacy": "private",
2653
- "default": "null"
2558
+ "default": "false"
2654
2559
  },
2655
2560
  {
2656
2561
  "kind": "field",
2657
- "name": "speechApplyDebounceTimer",
2562
+ "name": "hideMenuSingleOption",
2658
2563
  "type": {
2659
- "text": "ReturnType<typeof setTimeout> | null"
2564
+ "text": "boolean"
2660
2565
  },
2661
- "privacy": "private",
2662
- "default": "null"
2566
+ "default": "false"
2663
2567
  },
2664
2568
  {
2665
2569
  "kind": "field",
2666
- "name": "speechAvailable",
2570
+ "name": "singleOption",
2667
2571
  "type": {
2668
- "text": "boolean"
2669
- },
2670
- "readonly": true
2572
+ "text": "ActionMenuItem"
2573
+ }
2671
2574
  },
2672
2575
  {
2673
2576
  "kind": "field",
2674
- "name": "criteriaChips",
2577
+ "name": "actionsMenu",
2675
2578
  "type": {
2676
- "text": "CriteriaChip[]"
2677
- },
2678
- "readonly": true
2679
- },
2680
- {
2681
- "kind": "method",
2682
- "name": "getFieldLabel",
2683
- "privacy": "private",
2684
- "return": {
2685
- "type": {
2686
- "text": "string"
2687
- }
2688
- },
2689
- "parameters": [
2690
- {
2691
- "name": "fieldName",
2692
- "type": {
2693
- "text": "string"
2694
- }
2695
- }
2696
- ]
2697
- },
2698
- {
2699
- "kind": "method",
2700
- "name": "toggleCriteriaView",
2701
- "return": {
2702
- "type": {
2703
- "text": "void"
2704
- }
2579
+ "text": "HTMLElement"
2705
2580
  }
2706
2581
  },
2707
2582
  {
2708
2583
  "kind": "method",
2709
- "name": "removeChip",
2710
- "return": {
2711
- "type": {
2712
- "text": "void"
2713
- }
2714
- },
2584
+ "name": "definitionChanged",
2585
+ "privacy": "protected",
2715
2586
  "parameters": [
2716
2587
  {
2717
- "name": "groupIndex",
2588
+ "name": "oldValue",
2718
2589
  "type": {
2719
- "text": "number"
2590
+ "text": "any"
2720
2591
  }
2721
2592
  },
2722
2593
  {
2723
- "name": "clauseIndex",
2594
+ "name": "newValue",
2724
2595
  "type": {
2725
- "text": "number"
2596
+ "text": "any"
2726
2597
  }
2727
2598
  }
2728
2599
  ]
2729
2600
  },
2730
2601
  {
2731
2602
  "kind": "method",
2732
- "name": "clearChips",
2733
- "return": {
2734
- "type": {
2735
- "text": "void"
2736
- }
2737
- }
2603
+ "name": "openChanged",
2604
+ "privacy": "protected"
2738
2605
  },
2739
2606
  {
2740
2607
  "kind": "method",
2741
- "name": "handleSubmit"
2608
+ "name": "toggleActionsMenuVisibility"
2742
2609
  },
2743
2610
  {
2744
2611
  "kind": "method",
2745
- "name": "handleBlur"
2612
+ "name": "onActionMenuItemClick",
2613
+ "parameters": [
2614
+ {
2615
+ "name": "callback",
2616
+ "type": {
2617
+ "text": "(rowData) => void | any"
2618
+ }
2619
+ }
2620
+ ]
2746
2621
  },
2747
2622
  {
2748
- "kind": "method",
2749
- "name": "clear"
2623
+ "kind": "field",
2624
+ "name": "allActions",
2625
+ "type": {
2626
+ "text": "ActionMenuItem[]"
2627
+ },
2628
+ "readonly": true
2629
+ },
2630
+ {
2631
+ "kind": "field",
2632
+ "name": "rowData",
2633
+ "readonly": true
2750
2634
  },
2751
2635
  {
2752
2636
  "kind": "method",
2753
- "name": "toggleSpeechInput"
2637
+ "name": "getLabel",
2638
+ "parameters": [
2639
+ {
2640
+ "name": "name",
2641
+ "type": {
2642
+ "text": "string | ((rowData: any) => string)"
2643
+ }
2644
+ }
2645
+ ]
2754
2646
  },
2755
2647
  {
2756
2648
  "kind": "method",
2757
- "name": "clearSpeechApplyDebounce",
2758
- "privacy": "private"
2649
+ "name": "getTemplate",
2650
+ "parameters": [
2651
+ {
2652
+ "name": "prefix",
2653
+ "type": {
2654
+ "text": "string"
2655
+ }
2656
+ }
2657
+ ]
2759
2658
  },
2760
2659
  {
2761
2660
  "kind": "field",
@@ -2869,320 +2768,188 @@
2869
2768
  }
2870
2769
  }
2871
2770
  ],
2872
- "events": [
2771
+ "attributes": [
2873
2772
  {
2874
- "description": "Fired when interpreted criteria is applied or cleared",
2875
- "name": "criteria-changed"
2773
+ "name": "is-vertical",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "false",
2778
+ "fieldName": "isVertical"
2876
2779
  },
2877
2780
  {
2878
- "description": "Fired when interpreted criteria contains invalid clauses",
2879
- "name": "validation-errors"
2880
- }
2881
- ],
2882
- "attributes": [
2781
+ "name": "add-default-actions",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "addDefaultActions"
2787
+ },
2883
2788
  {
2884
- "name": "placeholder",
2789
+ "name": "auto-close-on-action",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "autoCloseOnAction"
2795
+ },
2796
+ {
2797
+ "name": "name",
2885
2798
  "type": {
2886
2799
  "text": "string"
2887
2800
  },
2888
- "default": "'Describe your search criteria in natural language...'",
2889
- "fieldName": "placeholder"
2801
+ "default": "'Actions'",
2802
+ "fieldName": "name"
2890
2803
  },
2891
2804
  {
2805
+ "name": "open",
2892
2806
  "type": {
2893
2807
  "text": "boolean"
2894
2808
  },
2895
- "fieldName": "disabled"
2809
+ "default": "false",
2810
+ "fieldName": "open"
2811
+ },
2812
+ {
2813
+ "name": "buttonAppearance",
2814
+ "type": {
2815
+ "text": "string"
2816
+ },
2817
+ "fieldName": "buttonAppearance"
2818
+ },
2819
+ {
2820
+ "name": "hide-disabled",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "fieldName": "hideDisabled"
2826
+ },
2827
+ {
2828
+ "name": "hide-menu-single-option",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideMenuSingleOption"
2896
2834
  }
2897
2835
  ],
2898
2836
  "superclass": {
2899
2837
  "name": "FoundationElement",
2900
2838
  "package": "@microsoft/fast-foundation"
2901
2839
  },
2902
- "tagName": "%%prefix%%-ai-criteria-search",
2840
+ "tagName": "%%prefix%%-actions-menu",
2903
2841
  "customElement": true
2904
2842
  },
2905
2843
  {
2906
2844
  "kind": "variable",
2907
- "name": "foundationAiCriteriaSearchShadowOptions",
2908
- "type": {
2909
- "text": "ShadowRootInit"
2910
- },
2911
- "default": "undefined"
2912
- },
2913
- {
2914
- "kind": "variable",
2915
- "name": "defaultAiCriteriaSearchConfig",
2916
- "type": {
2917
- "text": "object"
2918
- },
2919
- "default": "{}"
2920
- },
2921
- {
2922
- "kind": "variable",
2923
- "name": "foundationAiCriteriaSearch"
2845
+ "name": "foundationActionsMenu",
2846
+ "description": "The Foundation Actions Menu",
2847
+ "privacy": "public"
2924
2848
  }
2925
2849
  ],
2926
2850
  "exports": [
2927
2851
  {
2928
2852
  "kind": "js",
2929
- "name": "AiCriteriaSearch",
2930
- "declaration": {
2931
- "name": "AiCriteriaSearch",
2932
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2933
- }
2934
- },
2935
- {
2936
- "kind": "js",
2937
- "name": "foundationAiCriteriaSearchShadowOptions",
2938
- "declaration": {
2939
- "name": "foundationAiCriteriaSearchShadowOptions",
2940
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2941
- }
2942
- },
2943
- {
2944
- "kind": "js",
2945
- "name": "defaultAiCriteriaSearchConfig",
2946
- "declaration": {
2947
- "name": "defaultAiCriteriaSearchConfig",
2948
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2949
- }
2950
- },
2951
- {
2952
- "kind": "js",
2953
- "name": "foundationAiCriteriaSearch",
2954
- "declaration": {
2955
- "name": "foundationAiCriteriaSearch",
2956
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2957
- }
2958
- }
2959
- ]
2960
- },
2961
- {
2962
- "kind": "javascript-module",
2963
- "path": "src/ai-criteria-search/index.ts",
2964
- "declarations": [],
2965
- "exports": [
2966
- {
2967
- "kind": "js",
2968
- "name": "AiCriteriaSearch",
2969
- "declaration": {
2970
- "name": "AiCriteriaSearch",
2971
- "module": "./ai-criteria-search"
2972
- }
2973
- },
2974
- {
2975
- "kind": "js",
2976
- "name": "defaultAiCriteriaSearchConfig",
2977
- "declaration": {
2978
- "name": "defaultAiCriteriaSearchConfig",
2979
- "module": "./ai-criteria-search"
2980
- }
2981
- },
2982
- {
2983
- "kind": "js",
2984
- "name": "foundationAiCriteriaSearch",
2985
- "declaration": {
2986
- "name": "foundationAiCriteriaSearch",
2987
- "module": "./ai-criteria-search"
2988
- }
2989
- },
2990
- {
2991
- "kind": "js",
2992
- "name": "foundationAiCriteriaSearchShadowOptions",
2993
- "declaration": {
2994
- "name": "foundationAiCriteriaSearchShadowOptions",
2995
- "module": "./ai-criteria-search"
2996
- }
2997
- },
2998
- {
2999
- "kind": "js",
3000
- "name": "foundationAiCriteriaSearchStyles",
3001
- "declaration": {
3002
- "name": "foundationAiCriteriaSearchStyles",
3003
- "module": "./ai-criteria-search.styles"
3004
- }
3005
- },
3006
- {
3007
- "kind": "js",
3008
- "name": "foundationAiCriteriaSearchTemplate",
3009
- "declaration": {
3010
- "name": "foundationAiCriteriaSearchTemplate",
3011
- "module": "./ai-criteria-search.template"
3012
- }
3013
- },
3014
- {
3015
- "kind": "js",
3016
- "name": "*",
3017
- "declaration": {
3018
- "name": "*",
3019
- "package": "./validation/criteria-ir"
3020
- }
3021
- },
3022
- {
3023
- "kind": "js",
3024
- "name": "*",
2853
+ "name": "ActionsMenu",
3025
2854
  "declaration": {
3026
- "name": "*",
3027
- "package": "./validation/operator-map"
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
3028
2857
  }
3029
2858
  },
3030
2859
  {
3031
2860
  "kind": "js",
3032
- "name": "*",
2861
+ "name": "foundationActionsMenu",
3033
2862
  "declaration": {
3034
- "name": "*",
3035
- "package": "./validation/schema-validator"
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
3036
2865
  }
3037
2866
  }
3038
2867
  ]
3039
- },
3040
- {
3041
- "kind": "javascript-module",
3042
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3043
- "declarations": [
3044
- {
3045
- "kind": "function",
3046
- "name": "formatValidationErrors",
3047
- "return": {
3048
- "type": {
3049
- "text": "string"
3050
- }
3051
- },
3052
- "parameters": [
3053
- {
3054
- "name": "errors",
3055
- "type": {
3056
- "text": "ValidationError[]"
3057
- }
3058
- }
3059
- ],
3060
- "description": "Formats validation errors into a user-friendly message."
3061
- },
3062
- {
3063
- "kind": "function",
3064
- "name": "showCriteriaError",
3065
- "return": {
3066
- "type": {
3067
- "text": "void"
3068
- }
3069
- },
3070
- "parameters": [
3071
- {
3072
- "name": "title",
3073
- "type": {
3074
- "text": "string"
3075
- },
3076
- "description": "Notification title (e.g. \"Criteria validation error\")"
3077
- },
3078
- {
3079
- "name": "body",
3080
- "type": {
3081
- "text": "string"
3082
- },
3083
- "description": "Error message to display"
3084
- },
3085
- {
3086
- "name": "tagName",
3087
- "type": {
3088
- "text": "string"
3089
- },
3090
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3091
- }
3092
- ],
3093
- "description": "Shows a criteria error as a toast notification."
3094
- }
3095
- ],
2868
+ },
2869
+ {
2870
+ "kind": "javascript-module",
2871
+ "path": "src/actions-menu/index.ts",
2872
+ "declarations": [],
3096
2873
  "exports": [
3097
2874
  {
3098
2875
  "kind": "js",
3099
- "name": "formatValidationErrors",
2876
+ "name": "*",
3100
2877
  "declaration": {
3101
- "name": "formatValidationErrors",
3102
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2878
+ "name": "*",
2879
+ "package": "./actions-menu.styles"
3103
2880
  }
3104
2881
  },
3105
2882
  {
3106
2883
  "kind": "js",
3107
- "name": "showCriteriaError",
2884
+ "name": "*",
3108
2885
  "declaration": {
3109
- "name": "showCriteriaError",
3110
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2886
+ "name": "*",
2887
+ "package": "./actions-menu.template"
2888
+ }
2889
+ },
2890
+ {
2891
+ "kind": "js",
2892
+ "name": "*",
2893
+ "declaration": {
2894
+ "name": "*",
2895
+ "package": "./actions-menu"
3111
2896
  }
3112
2897
  }
3113
2898
  ]
3114
2899
  },
3115
2900
  {
3116
2901
  "kind": "javascript-module",
3117
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2902
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3118
2903
  "declarations": [
3119
2904
  {
3120
- "kind": "function",
3121
- "name": "foundationAiIndicatorStyles",
3122
- "return": {
3123
- "type": {
3124
- "text": "ElementStyles"
3125
- }
3126
- },
3127
- "parameters": [
3128
- {
3129
- "name": "context",
3130
- "type": {
3131
- "text": "ElementDefinitionContext"
3132
- }
3133
- },
3134
- {
3135
- "name": "definition",
3136
- "type": {
3137
- "text": "FoundationElementDefinition"
3138
- }
3139
- }
3140
- ]
2905
+ "kind": "variable",
2906
+ "name": "foundationAiCriteriaSearchStyles",
2907
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3141
2908
  }
3142
2909
  ],
3143
2910
  "exports": [
3144
2911
  {
3145
2912
  "kind": "js",
3146
- "name": "foundationAiIndicatorStyles",
2913
+ "name": "foundationAiCriteriaSearchStyles",
3147
2914
  "declaration": {
3148
- "name": "foundationAiIndicatorStyles",
3149
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2915
+ "name": "foundationAiCriteriaSearchStyles",
2916
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3150
2917
  }
3151
2918
  }
3152
2919
  ]
3153
2920
  },
3154
2921
  {
3155
2922
  "kind": "javascript-module",
3156
- "path": "src/ai-indicator/ai-indicator.template.ts",
2923
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3157
2924
  "declarations": [
3158
2925
  {
3159
2926
  "kind": "variable",
3160
- "name": "foundationAiIndicatorTemplate",
2927
+ "name": "foundationAiCriteriaSearchTemplate",
3161
2928
  "type": {
3162
- "text": "ViewTemplate<AiIndicator>"
2929
+ "text": "ViewTemplate<AiCriteriaSearch>"
3163
2930
  },
3164
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2931
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3165
2932
  }
3166
2933
  ],
3167
2934
  "exports": [
3168
2935
  {
3169
2936
  "kind": "js",
3170
- "name": "foundationAiIndicatorTemplate",
2937
+ "name": "foundationAiCriteriaSearchTemplate",
3171
2938
  "declaration": {
3172
- "name": "foundationAiIndicatorTemplate",
3173
- "module": "src/ai-indicator/ai-indicator.template.ts"
2939
+ "name": "foundationAiCriteriaSearchTemplate",
2940
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3174
2941
  }
3175
2942
  }
3176
2943
  ]
3177
2944
  },
3178
2945
  {
3179
2946
  "kind": "javascript-module",
3180
- "path": "src/ai-indicator/ai-indicator.ts",
2947
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3181
2948
  "declarations": [
3182
2949
  {
3183
2950
  "kind": "class",
3184
- "description": "",
3185
- "name": "AiIndicator",
2951
+ "description": "Natural-language criteria search input with AI interpretation.",
2952
+ "name": "AiCriteriaSearch",
3186
2953
  "members": [
3187
2954
  {
3188
2955
  "kind": "field",
@@ -3193,15 +2960,54 @@
3193
2960
  },
3194
2961
  {
3195
2962
  "kind": "field",
3196
- "name": "status",
2963
+ "name": "placeholder",
3197
2964
  "type": {
3198
- "text": "AIStatus | null"
2965
+ "text": "string"
2966
+ },
2967
+ "default": "'Describe your search criteria in natural language...'"
2968
+ },
2969
+ {
2970
+ "kind": "field",
2971
+ "name": "disabled",
2972
+ "type": {
2973
+ "text": "boolean"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "inputValue",
2979
+ "type": {
2980
+ "text": "string"
2981
+ },
2982
+ "default": "''"
2983
+ },
2984
+ {
2985
+ "kind": "field",
2986
+ "name": "isInterpreting",
2987
+ "type": {
2988
+ "text": "boolean"
2989
+ },
2990
+ "default": "false"
2991
+ },
2992
+ {
2993
+ "kind": "field",
2994
+ "name": "lastValidCriteria",
2995
+ "type": {
2996
+ "text": "string | null"
3199
2997
  },
3200
2998
  "default": "null"
3201
2999
  },
3202
3000
  {
3203
3001
  "kind": "field",
3204
- "name": "open",
3002
+ "name": "activeGroups",
3003
+ "type": {
3004
+ "text": "CriteriaGroup[]"
3005
+ },
3006
+ "default": "[]"
3007
+ },
3008
+ {
3009
+ "kind": "field",
3010
+ "name": "showingChips",
3205
3011
  "type": {
3206
3012
  "text": "boolean"
3207
3013
  },
@@ -3209,15 +3015,15 @@
3209
3015
  },
3210
3016
  {
3211
3017
  "kind": "field",
3212
- "name": "state",
3018
+ "name": "fieldMetadata",
3213
3019
  "type": {
3214
- "text": "AIIndicatorState"
3020
+ "text": "MetadataDetail[] | string[]"
3215
3021
  },
3216
- "default": "'none'"
3022
+ "default": "[]"
3217
3023
  },
3218
3024
  {
3219
3025
  "kind": "field",
3220
- "name": "isInstalling",
3026
+ "name": "isRecording",
3221
3027
  "type": {
3222
3028
  "text": "boolean"
3223
3029
  },
@@ -3225,29 +3031,33 @@
3225
3031
  },
3226
3032
  {
3227
3033
  "kind": "field",
3228
- "name": "pollTimer",
3034
+ "name": "textAreaRef",
3229
3035
  "type": {
3230
- "text": "ReturnType<typeof setInterval> | null"
3036
+ "text": "HTMLTextAreaElement"
3231
3037
  },
3232
- "privacy": "private",
3233
- "default": "null"
3038
+ "privacy": "public"
3234
3039
  },
3235
3040
  {
3236
3041
  "kind": "field",
3237
- "name": "clickOutside",
3238
- "privacy": "private"
3042
+ "name": "stopRecording",
3043
+ "type": {
3044
+ "text": "(() => void) | null"
3045
+ },
3046
+ "privacy": "private",
3047
+ "default": "null"
3239
3048
  },
3240
3049
  {
3241
3050
  "kind": "field",
3242
- "name": "chromeStatusLabel",
3051
+ "name": "speechApplyDebounceTimer",
3243
3052
  "type": {
3244
- "text": "string | null"
3053
+ "text": "ReturnType<typeof setTimeout> | null"
3245
3054
  },
3246
- "readonly": true
3055
+ "privacy": "private",
3056
+ "default": "null"
3247
3057
  },
3248
3058
  {
3249
3059
  "kind": "field",
3250
- "name": "canInstall",
3060
+ "name": "speechAvailable",
3251
3061
  "type": {
3252
3062
  "text": "boolean"
3253
3063
  },
@@ -3255,69 +3065,65 @@
3255
3065
  },
3256
3066
  {
3257
3067
  "kind": "field",
3258
- "name": "isDownloading",
3068
+ "name": "criteriaChips",
3259
3069
  "type": {
3260
- "text": "boolean"
3070
+ "text": "CriteriaChip[]"
3261
3071
  },
3262
3072
  "readonly": true
3263
3073
  },
3264
3074
  {
3265
3075
  "kind": "method",
3266
- "name": "openChanged",
3076
+ "name": "getFieldLabel",
3077
+ "privacy": "private",
3267
3078
  "return": {
3268
3079
  "type": {
3269
- "text": "void"
3080
+ "text": "string"
3270
3081
  }
3271
- }
3272
- },
3273
- {
3274
- "kind": "method",
3275
- "name": "handleClickOutside",
3276
- "privacy": "private",
3082
+ },
3277
3083
  "parameters": [
3278
3084
  {
3279
- "name": "event",
3085
+ "name": "fieldName",
3280
3086
  "type": {
3281
- "text": "MouseEvent"
3087
+ "text": "string"
3282
3088
  }
3283
3089
  }
3284
3090
  ]
3285
3091
  },
3286
3092
  {
3287
3093
  "kind": "method",
3288
- "name": "toggleDropdown"
3289
- },
3290
- {
3291
- "kind": "method",
3292
- "name": "refreshStatus",
3094
+ "name": "toggleCriteriaView",
3293
3095
  "return": {
3294
3096
  "type": {
3295
- "text": "Promise<void>"
3097
+ "text": "void"
3296
3098
  }
3297
3099
  }
3298
3100
  },
3299
3101
  {
3300
3102
  "kind": "method",
3301
- "name": "deriveState",
3302
- "privacy": "private",
3103
+ "name": "removeChip",
3303
3104
  "return": {
3304
3105
  "type": {
3305
- "text": "AIIndicatorState"
3106
+ "text": "void"
3306
3107
  }
3307
3108
  },
3308
3109
  "parameters": [
3309
3110
  {
3310
- "name": "s",
3111
+ "name": "groupIndex",
3311
3112
  "type": {
3312
- "text": "AIStatus | null"
3113
+ "text": "number"
3114
+ }
3115
+ },
3116
+ {
3117
+ "name": "clauseIndex",
3118
+ "type": {
3119
+ "text": "number"
3313
3120
  }
3314
3121
  }
3315
3122
  ]
3316
3123
  },
3317
3124
  {
3318
3125
  "kind": "method",
3319
- "name": "maybeStartPolling",
3320
- "privacy": "private",
3126
+ "name": "clearChips",
3321
3127
  "return": {
3322
3128
  "type": {
3323
3129
  "text": "void"
@@ -3326,32 +3132,24 @@
3326
3132
  },
3327
3133
  {
3328
3134
  "kind": "method",
3329
- "name": "startPolling",
3330
- "privacy": "private",
3331
- "return": {
3332
- "type": {
3333
- "text": "void"
3334
- }
3335
- }
3135
+ "name": "handleSubmit"
3336
3136
  },
3337
3137
  {
3338
3138
  "kind": "method",
3339
- "name": "stopPolling",
3340
- "privacy": "private",
3341
- "return": {
3342
- "type": {
3343
- "text": "void"
3344
- }
3345
- }
3139
+ "name": "handleBlur"
3346
3140
  },
3347
3141
  {
3348
3142
  "kind": "method",
3349
- "name": "onInstall",
3350
- "return": {
3351
- "type": {
3352
- "text": "Promise<void>"
3353
- }
3354
- }
3143
+ "name": "clear"
3144
+ },
3145
+ {
3146
+ "kind": "method",
3147
+ "name": "toggleSpeechInput"
3148
+ },
3149
+ {
3150
+ "kind": "method",
3151
+ "name": "clearSpeechApplyDebounce",
3152
+ "privacy": "private"
3355
3153
  },
3356
3154
  {
3357
3155
  "kind": "field",
@@ -3465,141 +3263,259 @@
3465
3263
  }
3466
3264
  }
3467
3265
  ],
3266
+ "events": [
3267
+ {
3268
+ "description": "Fired when interpreted criteria is applied or cleared",
3269
+ "name": "criteria-changed"
3270
+ },
3271
+ {
3272
+ "description": "Fired when interpreted criteria contains invalid clauses",
3273
+ "name": "validation-errors"
3274
+ }
3275
+ ],
3276
+ "attributes": [
3277
+ {
3278
+ "name": "placeholder",
3279
+ "type": {
3280
+ "text": "string"
3281
+ },
3282
+ "default": "'Describe your search criteria in natural language...'",
3283
+ "fieldName": "placeholder"
3284
+ },
3285
+ {
3286
+ "type": {
3287
+ "text": "boolean"
3288
+ },
3289
+ "fieldName": "disabled"
3290
+ }
3291
+ ],
3468
3292
  "superclass": {
3469
3293
  "name": "FoundationElement",
3470
3294
  "package": "@microsoft/fast-foundation"
3471
3295
  },
3472
- "tagName": "%%prefix%%-ai-indicator",
3296
+ "tagName": "%%prefix%%-ai-criteria-search",
3473
3297
  "customElement": true
3474
3298
  },
3475
3299
  {
3476
3300
  "kind": "variable",
3477
- "name": "foundationAiIndicator"
3301
+ "name": "foundationAiCriteriaSearchShadowOptions",
3302
+ "type": {
3303
+ "text": "ShadowRootInit"
3304
+ },
3305
+ "default": "undefined"
3306
+ },
3307
+ {
3308
+ "kind": "variable",
3309
+ "name": "defaultAiCriteriaSearchConfig",
3310
+ "type": {
3311
+ "text": "object"
3312
+ },
3313
+ "default": "{}"
3314
+ },
3315
+ {
3316
+ "kind": "variable",
3317
+ "name": "foundationAiCriteriaSearch"
3478
3318
  }
3479
3319
  ],
3480
3320
  "exports": [
3481
3321
  {
3482
3322
  "kind": "js",
3483
- "name": "AiIndicator",
3323
+ "name": "AiCriteriaSearch",
3484
3324
  "declaration": {
3485
- "name": "AiIndicator",
3486
- "module": "src/ai-indicator/ai-indicator.ts"
3325
+ "name": "AiCriteriaSearch",
3326
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3487
3327
  }
3488
3328
  },
3489
3329
  {
3490
3330
  "kind": "js",
3491
- "name": "foundationAiIndicator",
3331
+ "name": "foundationAiCriteriaSearchShadowOptions",
3492
3332
  "declaration": {
3493
- "name": "foundationAiIndicator",
3494
- "module": "src/ai-indicator/ai-indicator.ts"
3333
+ "name": "foundationAiCriteriaSearchShadowOptions",
3334
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
+ }
3336
+ },
3337
+ {
3338
+ "kind": "js",
3339
+ "name": "defaultAiCriteriaSearchConfig",
3340
+ "declaration": {
3341
+ "name": "defaultAiCriteriaSearchConfig",
3342
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3343
+ }
3344
+ },
3345
+ {
3346
+ "kind": "js",
3347
+ "name": "foundationAiCriteriaSearch",
3348
+ "declaration": {
3349
+ "name": "foundationAiCriteriaSearch",
3350
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3495
3351
  }
3496
3352
  }
3497
3353
  ]
3498
3354
  },
3499
3355
  {
3500
3356
  "kind": "javascript-module",
3501
- "path": "src/ai-indicator/index.ts",
3357
+ "path": "src/ai-criteria-search/index.ts",
3502
3358
  "declarations": [],
3503
3359
  "exports": [
3504
3360
  {
3505
3361
  "kind": "js",
3506
- "name": "AiIndicator",
3362
+ "name": "AiCriteriaSearch",
3507
3363
  "declaration": {
3508
- "name": "AiIndicator",
3509
- "module": "./ai-indicator"
3364
+ "name": "AiCriteriaSearch",
3365
+ "module": "./ai-criteria-search"
3510
3366
  }
3511
3367
  },
3512
3368
  {
3513
3369
  "kind": "js",
3514
- "name": "foundationAiIndicator",
3370
+ "name": "defaultAiCriteriaSearchConfig",
3515
3371
  "declaration": {
3516
- "name": "foundationAiIndicator",
3517
- "module": "./ai-indicator"
3372
+ "name": "defaultAiCriteriaSearchConfig",
3373
+ "module": "./ai-criteria-search"
3518
3374
  }
3519
3375
  },
3520
3376
  {
3521
3377
  "kind": "js",
3522
- "name": "type",
3378
+ "name": "foundationAiCriteriaSearch",
3523
3379
  "declaration": {
3524
- "name": "type",
3525
- "module": "./ai-indicator"
3380
+ "name": "foundationAiCriteriaSearch",
3381
+ "module": "./ai-criteria-search"
3526
3382
  }
3527
3383
  },
3528
3384
  {
3529
3385
  "kind": "js",
3530
- "name": "AIIndicatorState",
3386
+ "name": "foundationAiCriteriaSearchShadowOptions",
3531
3387
  "declaration": {
3532
- "name": "AIIndicatorState",
3533
- "module": "./ai-indicator"
3388
+ "name": "foundationAiCriteriaSearchShadowOptions",
3389
+ "module": "./ai-criteria-search"
3534
3390
  }
3535
3391
  },
3536
3392
  {
3537
3393
  "kind": "js",
3538
- "name": "foundationAiIndicatorTemplate",
3394
+ "name": "foundationAiCriteriaSearchStyles",
3539
3395
  "declaration": {
3540
- "name": "foundationAiIndicatorTemplate",
3541
- "module": "./ai-indicator.template"
3396
+ "name": "foundationAiCriteriaSearchStyles",
3397
+ "module": "./ai-criteria-search.styles"
3542
3398
  }
3543
3399
  },
3544
3400
  {
3545
3401
  "kind": "js",
3546
- "name": "foundationAiIndicatorStyles",
3402
+ "name": "foundationAiCriteriaSearchTemplate",
3547
3403
  "declaration": {
3548
- "name": "foundationAiIndicatorStyles",
3549
- "module": "./ai-indicator.styles"
3404
+ "name": "foundationAiCriteriaSearchTemplate",
3405
+ "module": "./ai-criteria-search.template"
3406
+ }
3407
+ },
3408
+ {
3409
+ "kind": "js",
3410
+ "name": "*",
3411
+ "declaration": {
3412
+ "name": "*",
3413
+ "package": "./validation/criteria-ir"
3414
+ }
3415
+ },
3416
+ {
3417
+ "kind": "js",
3418
+ "name": "*",
3419
+ "declaration": {
3420
+ "name": "*",
3421
+ "package": "./validation/operator-map"
3422
+ }
3423
+ },
3424
+ {
3425
+ "kind": "js",
3426
+ "name": "*",
3427
+ "declaration": {
3428
+ "name": "*",
3429
+ "package": "./validation/schema-validator"
3550
3430
  }
3551
3431
  }
3552
3432
  ]
3553
3433
  },
3554
3434
  {
3555
3435
  "kind": "javascript-module",
3556
- "path": "src/accordion-item/accordion-item.styles.ts",
3436
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3557
3437
  "declarations": [
3558
3438
  {
3559
3439
  "kind": "function",
3560
- "name": "foundationAccordionItemStyles",
3440
+ "name": "formatValidationErrors",
3561
3441
  "return": {
3562
3442
  "type": {
3563
- "text": "ElementStyles"
3443
+ "text": "string"
3564
3444
  }
3565
3445
  },
3566
3446
  "parameters": [
3567
3447
  {
3568
- "name": "context",
3448
+ "name": "errors",
3569
3449
  "type": {
3570
- "text": "ElementDefinitionContext"
3450
+ "text": "ValidationError[]"
3571
3451
  }
3452
+ }
3453
+ ],
3454
+ "description": "Formats validation errors into a user-friendly message."
3455
+ },
3456
+ {
3457
+ "kind": "function",
3458
+ "name": "showCriteriaError",
3459
+ "return": {
3460
+ "type": {
3461
+ "text": "void"
3462
+ }
3463
+ },
3464
+ "parameters": [
3465
+ {
3466
+ "name": "title",
3467
+ "type": {
3468
+ "text": "string"
3469
+ },
3470
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3572
3471
  },
3573
3472
  {
3574
- "name": "definition",
3473
+ "name": "body",
3575
3474
  "type": {
3576
- "text": "FoundationElementDefinition"
3577
- }
3475
+ "text": "string"
3476
+ },
3477
+ "description": "Error message to display"
3478
+ },
3479
+ {
3480
+ "name": "tagName",
3481
+ "type": {
3482
+ "text": "string"
3483
+ },
3484
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3578
3485
  }
3579
- ]
3486
+ ],
3487
+ "description": "Shows a criteria error as a toast notification."
3580
3488
  }
3581
3489
  ],
3582
3490
  "exports": [
3583
3491
  {
3584
3492
  "kind": "js",
3585
- "name": "foundationAccordionItemStyles",
3493
+ "name": "formatValidationErrors",
3586
3494
  "declaration": {
3587
- "name": "foundationAccordionItemStyles",
3588
- "module": "src/accordion-item/accordion-item.styles.ts"
3495
+ "name": "formatValidationErrors",
3496
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
+ }
3498
+ },
3499
+ {
3500
+ "kind": "js",
3501
+ "name": "showCriteriaError",
3502
+ "declaration": {
3503
+ "name": "showCriteriaError",
3504
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3589
3505
  }
3590
3506
  }
3591
3507
  ]
3592
3508
  },
3593
3509
  {
3594
3510
  "kind": "javascript-module",
3595
- "path": "src/accordion-item/accordion-item.template.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3596
3512
  "declarations": [
3597
3513
  {
3598
3514
  "kind": "function",
3599
- "name": "foundationAccordionItemTemplate",
3515
+ "name": "foundationAiIndicatorStyles",
3600
3516
  "return": {
3601
3517
  "type": {
3602
- "text": "ViewTemplate<AccordionItem>"
3518
+ "text": "ElementStyles"
3603
3519
  }
3604
3520
  },
3605
3521
  "parameters": [
@@ -3621,116 +3537,214 @@
3621
3537
  "exports": [
3622
3538
  {
3623
3539
  "kind": "js",
3624
- "name": "foundationAccordionItemTemplate",
3540
+ "name": "foundationAiIndicatorStyles",
3625
3541
  "declaration": {
3626
- "name": "foundationAccordionItemTemplate",
3627
- "module": "src/accordion-item/accordion-item.template.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3628
3544
  }
3629
3545
  }
3630
3546
  ]
3631
3547
  },
3632
3548
  {
3633
3549
  "kind": "javascript-module",
3634
- "path": "src/accordion-item/accordion-item.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3551
+ "declarations": [
3552
+ {
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3557
+ },
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
+ }
3560
+ ],
3561
+ "exports": [
3562
+ {
3563
+ "kind": "js",
3564
+ "name": "foundationAiIndicatorTemplate",
3565
+ "declaration": {
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3568
+ }
3569
+ }
3570
+ ]
3571
+ },
3572
+ {
3573
+ "kind": "javascript-module",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3635
3575
  "declarations": [
3636
3576
  {
3637
3577
  "kind": "class",
3638
3578
  "description": "",
3639
- "name": "AccordionItem",
3640
- "superclass": {
3641
- "name": "FASTAccordionItem",
3642
- "package": "@microsoft/fast-components"
3643
- },
3644
- "tagName": "%%prefix%%-accordion-item",
3645
- "customElement": true,
3646
- "attributes": [
3579
+ "name": "AiIndicator",
3580
+ "members": [
3647
3581
  {
3648
- "name": "heading-level",
3582
+ "kind": "field",
3583
+ "name": "aiProvider",
3649
3584
  "type": {
3650
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3651
- },
3652
- "default": "2",
3653
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3654
- "fieldName": "headinglevel",
3655
- "inheritedFrom": {
3656
- "name": "AccordionItem",
3657
- "module": "src/accordion-item/accordion-item.ts"
3585
+ "text": "AIProvider"
3658
3586
  }
3659
3587
  },
3660
3588
  {
3589
+ "kind": "field",
3590
+ "name": "status",
3591
+ "type": {
3592
+ "text": "AIStatus | null"
3593
+ },
3594
+ "default": "null"
3595
+ },
3596
+ {
3597
+ "kind": "field",
3598
+ "name": "open",
3599
+ "type": {
3600
+ "text": "boolean"
3601
+ },
3602
+ "default": "false"
3603
+ },
3604
+ {
3605
+ "kind": "field",
3606
+ "name": "state",
3607
+ "type": {
3608
+ "text": "AIIndicatorState"
3609
+ },
3610
+ "default": "'none'"
3611
+ },
3612
+ {
3613
+ "kind": "field",
3614
+ "name": "isInstalling",
3661
3615
  "type": {
3662
3616
  "text": "boolean"
3663
3617
  },
3664
- "default": "false",
3665
- "description": "Expands or collapses the item.",
3666
- "fieldName": "expanded",
3667
- "inheritedFrom": {
3668
- "name": "AccordionItem",
3669
- "module": "src/accordion-item/accordion-item.ts"
3670
- }
3618
+ "default": "false"
3671
3619
  },
3672
3620
  {
3673
- "name": "id",
3621
+ "kind": "field",
3622
+ "name": "pollTimer",
3674
3623
  "type": {
3675
- "text": "string"
3624
+ "text": "ReturnType<typeof setInterval> | null"
3676
3625
  },
3677
- "description": "The item ID",
3678
- "fieldName": "id",
3679
- "inheritedFrom": {
3680
- "name": "AccordionItem",
3681
- "module": "src/accordion-item/accordion-item.ts"
3682
- }
3683
- }
3684
- ],
3685
- "members": [
3626
+ "privacy": "private",
3627
+ "default": "null"
3628
+ },
3686
3629
  {
3687
3630
  "kind": "field",
3688
- "name": "headinglevel",
3631
+ "name": "clickOutside",
3632
+ "privacy": "private"
3633
+ },
3634
+ {
3635
+ "kind": "field",
3636
+ "name": "chromeStatusLabel",
3689
3637
  "type": {
3690
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3638
+ "text": "string | null"
3691
3639
  },
3692
- "privacy": "public",
3693
- "default": "2",
3694
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3695
- "inheritedFrom": {
3696
- "name": "AccordionItem",
3697
- "module": "src/accordion-item/accordion-item.ts"
3698
- }
3640
+ "readonly": true
3699
3641
  },
3700
3642
  {
3701
3643
  "kind": "field",
3702
- "name": "expanded",
3644
+ "name": "canInstall",
3703
3645
  "type": {
3704
3646
  "text": "boolean"
3705
3647
  },
3706
- "privacy": "public",
3707
- "default": "false",
3708
- "description": "Expands or collapses the item.",
3709
- "inheritedFrom": {
3710
- "name": "AccordionItem",
3711
- "module": "src/accordion-item/accordion-item.ts"
3712
- }
3648
+ "readonly": true
3713
3649
  },
3714
3650
  {
3715
3651
  "kind": "field",
3716
- "name": "id",
3652
+ "name": "isDownloading",
3717
3653
  "type": {
3718
- "text": "string"
3654
+ "text": "boolean"
3719
3655
  },
3720
- "privacy": "public",
3721
- "description": "The item ID",
3722
- "inheritedFrom": {
3723
- "name": "AccordionItem",
3724
- "module": "src/accordion-item/accordion-item.ts"
3656
+ "readonly": true
3657
+ },
3658
+ {
3659
+ "kind": "method",
3660
+ "name": "openChanged",
3661
+ "return": {
3662
+ "type": {
3663
+ "text": "void"
3664
+ }
3725
3665
  }
3726
3666
  },
3727
3667
  {
3728
- "kind": "field",
3729
- "name": "change",
3668
+ "kind": "method",
3669
+ "name": "handleClickOutside",
3730
3670
  "privacy": "private",
3731
- "inheritedFrom": {
3732
- "name": "AccordionItem",
3733
- "module": "src/accordion-item/accordion-item.ts"
3671
+ "parameters": [
3672
+ {
3673
+ "name": "event",
3674
+ "type": {
3675
+ "text": "MouseEvent"
3676
+ }
3677
+ }
3678
+ ]
3679
+ },
3680
+ {
3681
+ "kind": "method",
3682
+ "name": "toggleDropdown"
3683
+ },
3684
+ {
3685
+ "kind": "method",
3686
+ "name": "refreshStatus",
3687
+ "return": {
3688
+ "type": {
3689
+ "text": "Promise<void>"
3690
+ }
3691
+ }
3692
+ },
3693
+ {
3694
+ "kind": "method",
3695
+ "name": "deriveState",
3696
+ "privacy": "private",
3697
+ "return": {
3698
+ "type": {
3699
+ "text": "AIIndicatorState"
3700
+ }
3701
+ },
3702
+ "parameters": [
3703
+ {
3704
+ "name": "s",
3705
+ "type": {
3706
+ "text": "AIStatus | null"
3707
+ }
3708
+ }
3709
+ ]
3710
+ },
3711
+ {
3712
+ "kind": "method",
3713
+ "name": "maybeStartPolling",
3714
+ "privacy": "private",
3715
+ "return": {
3716
+ "type": {
3717
+ "text": "void"
3718
+ }
3719
+ }
3720
+ },
3721
+ {
3722
+ "kind": "method",
3723
+ "name": "startPolling",
3724
+ "privacy": "private",
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3729
+ }
3730
+ },
3731
+ {
3732
+ "kind": "method",
3733
+ "name": "stopPolling",
3734
+ "privacy": "private",
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3739
+ }
3740
+ },
3741
+ {
3742
+ "kind": "method",
3743
+ "name": "onInstall",
3744
+ "return": {
3745
+ "type": {
3746
+ "text": "Promise<void>"
3747
+ }
3734
3748
  }
3735
3749
  },
3736
3750
  {
@@ -3845,102 +3859,88 @@
3845
3859
  }
3846
3860
  }
3847
3861
  ],
3848
- "events": [
3849
- {
3850
- "description": "Fires a custom 'change' event when the button is invoked",
3851
- "name": "change",
3852
- "inheritedFrom": {
3853
- "name": "AccordionItem",
3854
- "module": "src/accordion-item/accordion-item.ts"
3855
- }
3856
- }
3857
- ]
3858
- },
3859
- {
3860
- "kind": "variable",
3861
- "name": "foundationAccordionItemShadowOptions",
3862
- "type": {
3863
- "text": "ShadowRootInit"
3864
- },
3865
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3866
- },
3867
- {
3868
- "kind": "variable",
3869
- "name": "defaultAccordionItemConfig",
3870
- "type": {
3871
- "text": "object"
3862
+ "superclass": {
3863
+ "name": "FoundationElement",
3864
+ "package": "@microsoft/fast-foundation"
3872
3865
  },
3873
- "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}"
3866
+ "tagName": "%%prefix%%-ai-indicator",
3867
+ "customElement": true
3874
3868
  },
3875
3869
  {
3876
3870
  "kind": "variable",
3877
- "name": "foundationAccordionItem",
3878
- "description": "The Foundation Accordion Item",
3879
- "privacy": "public"
3871
+ "name": "foundationAiIndicator"
3880
3872
  }
3881
3873
  ],
3882
3874
  "exports": [
3883
3875
  {
3884
3876
  "kind": "js",
3885
- "name": "AccordionItem",
3877
+ "name": "AiIndicator",
3886
3878
  "declaration": {
3887
- "name": "AccordionItem",
3888
- "module": "src/accordion-item/accordion-item.ts"
3879
+ "name": "AiIndicator",
3880
+ "module": "src/ai-indicator/ai-indicator.ts"
3889
3881
  }
3890
3882
  },
3891
3883
  {
3892
3884
  "kind": "js",
3893
- "name": "foundationAccordionItemShadowOptions",
3885
+ "name": "foundationAiIndicator",
3894
3886
  "declaration": {
3895
- "name": "foundationAccordionItemShadowOptions",
3896
- "module": "src/accordion-item/accordion-item.ts"
3887
+ "name": "foundationAiIndicator",
3888
+ "module": "src/ai-indicator/ai-indicator.ts"
3889
+ }
3890
+ }
3891
+ ]
3892
+ },
3893
+ {
3894
+ "kind": "javascript-module",
3895
+ "path": "src/ai-indicator/index.ts",
3896
+ "declarations": [],
3897
+ "exports": [
3898
+ {
3899
+ "kind": "js",
3900
+ "name": "AiIndicator",
3901
+ "declaration": {
3902
+ "name": "AiIndicator",
3903
+ "module": "./ai-indicator"
3897
3904
  }
3898
3905
  },
3899
3906
  {
3900
3907
  "kind": "js",
3901
- "name": "defaultAccordionItemConfig",
3908
+ "name": "foundationAiIndicator",
3902
3909
  "declaration": {
3903
- "name": "defaultAccordionItemConfig",
3904
- "module": "src/accordion-item/accordion-item.ts"
3910
+ "name": "foundationAiIndicator",
3911
+ "module": "./ai-indicator"
3905
3912
  }
3906
3913
  },
3907
3914
  {
3908
3915
  "kind": "js",
3909
- "name": "foundationAccordionItem",
3916
+ "name": "type",
3910
3917
  "declaration": {
3911
- "name": "foundationAccordionItem",
3912
- "module": "src/accordion-item/accordion-item.ts"
3918
+ "name": "type",
3919
+ "module": "./ai-indicator"
3913
3920
  }
3914
- }
3915
- ]
3916
- },
3917
- {
3918
- "kind": "javascript-module",
3919
- "path": "src/accordion-item/index.ts",
3920
- "declarations": [],
3921
- "exports": [
3921
+ },
3922
3922
  {
3923
3923
  "kind": "js",
3924
- "name": "*",
3924
+ "name": "AIIndicatorState",
3925
3925
  "declaration": {
3926
- "name": "*",
3927
- "package": "./accordion-item.template"
3926
+ "name": "AIIndicatorState",
3927
+ "module": "./ai-indicator"
3928
3928
  }
3929
3929
  },
3930
3930
  {
3931
3931
  "kind": "js",
3932
- "name": "*",
3932
+ "name": "foundationAiIndicatorTemplate",
3933
3933
  "declaration": {
3934
- "name": "*",
3935
- "package": "./accordion-item.styles"
3934
+ "name": "foundationAiIndicatorTemplate",
3935
+ "module": "./ai-indicator.template"
3936
3936
  }
3937
3937
  },
3938
3938
  {
3939
3939
  "kind": "js",
3940
- "name": "*",
3940
+ "name": "foundationAiIndicatorStyles",
3941
3941
  "declaration": {
3942
- "name": "*",
3943
- "package": "./accordion-item"
3942
+ "name": "foundationAiIndicatorStyles",
3943
+ "module": "./ai-indicator.styles"
3944
3944
  }
3945
3945
  }
3946
3946
  ]