@genesislcap/foundation-ui 15.34.0 → 15.34.1

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