@genesislcap/foundation-ui 14.409.0-FUI-2495.4 → 14.409.0-FUI-2495.6

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +825 -825
  2. package/package.json +19 -19
@@ -1714,11 +1714,11 @@
1714
1714
  },
1715
1715
  {
1716
1716
  "kind": "javascript-module",
1717
- "path": "src/accordion/accordion.styles.ts",
1717
+ "path": "src/actions-menu/actions-menu.styles.ts",
1718
1718
  "declarations": [
1719
1719
  {
1720
1720
  "kind": "function",
1721
- "name": "foundationAccordionStyles",
1721
+ "name": "actionsMenuBaseStyles",
1722
1722
  "return": {
1723
1723
  "type": {
1724
1724
  "text": "ElementStyles"
@@ -1738,29 +1738,13 @@
1738
1738
  }
1739
1739
  }
1740
1740
  ]
1741
- }
1742
- ],
1743
- "exports": [
1744
- {
1745
- "kind": "js",
1746
- "name": "foundationAccordionStyles",
1747
- "declaration": {
1748
- "name": "foundationAccordionStyles",
1749
- "module": "src/accordion/accordion.styles.ts"
1750
- }
1751
- }
1752
- ]
1753
- },
1754
- {
1755
- "kind": "javascript-module",
1756
- "path": "src/accordion/accordion.template.ts",
1757
- "declarations": [
1741
+ },
1758
1742
  {
1759
1743
  "kind": "function",
1760
- "name": "foundationAccordionTemplate",
1744
+ "name": "foundationActionsMenuStyles",
1761
1745
  "return": {
1762
1746
  "type": {
1763
- "text": "ViewTemplate<Accordion>"
1747
+ "text": "ElementStyles"
1764
1748
  }
1765
1749
  },
1766
1750
  "parameters": [
@@ -1782,237 +1766,166 @@
1782
1766
  "exports": [
1783
1767
  {
1784
1768
  "kind": "js",
1785
- "name": "foundationAccordionTemplate",
1769
+ "name": "actionsMenuBaseStyles",
1786
1770
  "declaration": {
1787
- "name": "foundationAccordionTemplate",
1788
- "module": "src/accordion/accordion.template.ts"
1771
+ "name": "actionsMenuBaseStyles",
1772
+ "module": "src/actions-menu/actions-menu.styles.ts"
1773
+ }
1774
+ },
1775
+ {
1776
+ "kind": "js",
1777
+ "name": "foundationActionsMenuStyles",
1778
+ "declaration": {
1779
+ "name": "foundationActionsMenuStyles",
1780
+ "module": "src/actions-menu/actions-menu.styles.ts"
1789
1781
  }
1790
1782
  }
1791
1783
  ]
1792
1784
  },
1793
1785
  {
1794
1786
  "kind": "javascript-module",
1795
- "path": "src/accordion/accordion.ts",
1787
+ "path": "src/actions-menu/actions-menu.template.ts",
1796
1788
  "declarations": [
1797
1789
  {
1798
- "kind": "class",
1799
- "description": "",
1800
- "name": "Accordion",
1801
- "superclass": {
1802
- "name": "FASTAccordion",
1803
- "package": "@microsoft/fast-foundation"
1804
- },
1805
- "tagName": "%%prefix%%-accordion",
1806
- "customElement": true
1790
+ "kind": "function",
1791
+ "name": "menuTemplate",
1792
+ "parameters": [
1793
+ {
1794
+ "name": "prefix",
1795
+ "type": {
1796
+ "text": "string"
1797
+ }
1798
+ }
1799
+ ]
1807
1800
  },
1808
1801
  {
1809
- "kind": "variable",
1810
- "name": "foundationAccordionShadowOptions",
1811
- "type": {
1812
- "text": "ShadowRootInit"
1813
- },
1814
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1802
+ "kind": "function",
1803
+ "name": "singleOptionTemplate",
1804
+ "parameters": [
1805
+ {
1806
+ "name": "prefix",
1807
+ "type": {
1808
+ "text": "string"
1809
+ }
1810
+ }
1811
+ ]
1815
1812
  },
1816
1813
  {
1817
1814
  "kind": "variable",
1818
- "name": "defaultAccordionConfig",
1815
+ "name": "foundationActionsMenuTemplate",
1819
1816
  "type": {
1820
- "text": "object"
1817
+ "text": "ViewTemplate<ActionsMenu>"
1821
1818
  },
1822
- "default": "{}"
1823
- },
1824
- {
1825
- "kind": "variable",
1826
- "name": "foundationAccordion",
1827
- "description": "The Foundation Accordion",
1828
- "privacy": "public"
1819
+ "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`"
1829
1820
  }
1830
1821
  ],
1831
1822
  "exports": [
1832
1823
  {
1833
1824
  "kind": "js",
1834
- "name": "Accordion",
1835
- "declaration": {
1836
- "name": "Accordion",
1837
- "module": "src/accordion/accordion.ts"
1838
- }
1839
- },
1840
- {
1841
- "kind": "js",
1842
- "name": "foundationAccordionShadowOptions",
1843
- "declaration": {
1844
- "name": "foundationAccordionShadowOptions",
1845
- "module": "src/accordion/accordion.ts"
1846
- }
1847
- },
1848
- {
1849
- "kind": "js",
1850
- "name": "defaultAccordionConfig",
1851
- "declaration": {
1852
- "name": "defaultAccordionConfig",
1853
- "module": "src/accordion/accordion.ts"
1854
- }
1855
- },
1856
- {
1857
- "kind": "js",
1858
- "name": "foundationAccordion",
1859
- "declaration": {
1860
- "name": "foundationAccordion",
1861
- "module": "src/accordion/accordion.ts"
1862
- }
1863
- }
1864
- ]
1865
- },
1866
- {
1867
- "kind": "javascript-module",
1868
- "path": "src/accordion/index.ts",
1869
- "declarations": [],
1870
- "exports": [
1871
- {
1872
- "kind": "js",
1873
- "name": "*",
1825
+ "name": "menuTemplate",
1874
1826
  "declaration": {
1875
- "name": "*",
1876
- "package": "./accordion.template"
1827
+ "name": "menuTemplate",
1828
+ "module": "src/actions-menu/actions-menu.template.ts"
1877
1829
  }
1878
1830
  },
1879
1831
  {
1880
1832
  "kind": "js",
1881
- "name": "*",
1833
+ "name": "singleOptionTemplate",
1882
1834
  "declaration": {
1883
- "name": "*",
1884
- "package": "./accordion.styles"
1835
+ "name": "singleOptionTemplate",
1836
+ "module": "src/actions-menu/actions-menu.template.ts"
1885
1837
  }
1886
1838
  },
1887
1839
  {
1888
1840
  "kind": "js",
1889
- "name": "*",
1890
- "declaration": {
1891
- "name": "*",
1892
- "package": "./accordion"
1893
- }
1894
- }
1895
- ]
1896
- },
1897
- {
1898
- "kind": "javascript-module",
1899
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1900
- "declarations": [
1901
- {
1902
- "kind": "variable",
1903
- "name": "foundationAiCriteriaSearchStyles",
1904
- "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
1905
- }
1906
- ],
1907
- "exports": [
1908
- {
1909
- "kind": "js",
1910
- "name": "foundationAiCriteriaSearchStyles",
1911
- "declaration": {
1912
- "name": "foundationAiCriteriaSearchStyles",
1913
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1914
- }
1915
- }
1916
- ]
1917
- },
1918
- {
1919
- "kind": "javascript-module",
1920
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1921
- "declarations": [
1922
- {
1923
- "kind": "variable",
1924
- "name": "foundationAiCriteriaSearchTemplate",
1925
- "type": {
1926
- "text": "ViewTemplate<AiCriteriaSearch>"
1927
- },
1928
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1929
- }
1930
- ],
1931
- "exports": [
1932
- {
1933
- "kind": "js",
1934
- "name": "foundationAiCriteriaSearchTemplate",
1841
+ "name": "foundationActionsMenuTemplate",
1935
1842
  "declaration": {
1936
- "name": "foundationAiCriteriaSearchTemplate",
1937
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1843
+ "name": "foundationActionsMenuTemplate",
1844
+ "module": "src/actions-menu/actions-menu.template.ts"
1938
1845
  }
1939
1846
  }
1940
1847
  ]
1941
1848
  },
1942
1849
  {
1943
1850
  "kind": "javascript-module",
1944
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1851
+ "path": "src/actions-menu/actions-menu.ts",
1945
1852
  "declarations": [
1946
1853
  {
1947
1854
  "kind": "class",
1948
1855
  "description": "",
1949
- "name": "AiCriteriaSearch",
1856
+ "name": "ActionsMenu",
1950
1857
  "members": [
1951
1858
  {
1952
1859
  "kind": "field",
1953
- "name": "aiProvider",
1860
+ "name": "actions",
1954
1861
  "type": {
1955
- "text": "AIProvider"
1862
+ "text": "ActionMenuItem[]"
1956
1863
  }
1957
1864
  },
1958
1865
  {
1959
1866
  "kind": "field",
1960
- "name": "placeholder",
1867
+ "name": "isVertical",
1961
1868
  "type": {
1962
- "text": "string"
1869
+ "text": "boolean"
1963
1870
  },
1964
- "default": "'Describe your search criteria in natural language...'"
1871
+ "default": "false"
1965
1872
  },
1966
1873
  {
1967
1874
  "kind": "field",
1968
- "name": "disabled",
1875
+ "name": "addDefaultActions",
1969
1876
  "type": {
1970
1877
  "text": "boolean"
1971
- }
1878
+ },
1879
+ "default": "true"
1972
1880
  },
1973
1881
  {
1974
1882
  "kind": "field",
1975
- "name": "mode",
1883
+ "name": "autoCloseOnAction",
1976
1884
  "type": {
1977
- "text": "'append' | 'replace'"
1885
+ "text": "boolean"
1978
1886
  },
1979
- "default": "'replace'"
1887
+ "default": "true"
1980
1888
  },
1981
1889
  {
1982
1890
  "kind": "field",
1983
- "name": "inputValue",
1891
+ "name": "classNames",
1984
1892
  "type": {
1985
1893
  "text": "string"
1986
- },
1987
- "default": "''"
1894
+ }
1988
1895
  },
1989
1896
  {
1990
1897
  "kind": "field",
1991
- "name": "isInterpreting",
1898
+ "name": "definition",
1992
1899
  "type": {
1993
- "text": "boolean"
1994
- },
1995
- "default": "false"
1900
+ "text": "any"
1901
+ }
1996
1902
  },
1997
1903
  {
1998
1904
  "kind": "field",
1999
- "name": "lastValidCriteria",
1905
+ "name": "name",
2000
1906
  "type": {
2001
- "text": "string | null"
1907
+ "text": "string"
2002
1908
  },
2003
- "default": "null"
1909
+ "default": "'Actions'"
2004
1910
  },
2005
1911
  {
2006
1912
  "kind": "field",
2007
- "name": "fieldMetadata",
1913
+ "name": "open",
2008
1914
  "type": {
2009
- "text": "MetadataDetail[] | string[]"
1915
+ "text": "boolean"
2010
1916
  },
2011
- "default": "[]"
1917
+ "default": "false"
2012
1918
  },
2013
1919
  {
2014
1920
  "kind": "field",
2015
- "name": "isRecording",
1921
+ "name": "buttonAppearance",
1922
+ "type": {
1923
+ "text": "string"
1924
+ }
1925
+ },
1926
+ {
1927
+ "kind": "field",
1928
+ "name": "hideDisabled",
2016
1929
  "type": {
2017
1930
  "text": "boolean"
2018
1931
  },
@@ -2020,67 +1933,102 @@
2020
1933
  },
2021
1934
  {
2022
1935
  "kind": "field",
2023
- "name": "textAreaRef",
1936
+ "name": "hideMenuSingleOption",
2024
1937
  "type": {
2025
- "text": "HTMLTextAreaElement"
1938
+ "text": "boolean"
2026
1939
  },
2027
- "privacy": "public"
1940
+ "default": "false"
2028
1941
  },
2029
1942
  {
2030
1943
  "kind": "field",
2031
- "name": "stopRecording",
1944
+ "name": "singleOption",
2032
1945
  "type": {
2033
- "text": "(() => void) | null"
2034
- },
2035
- "privacy": "private",
2036
- "default": "null"
1946
+ "text": "ActionMenuItem"
1947
+ }
2037
1948
  },
2038
1949
  {
2039
1950
  "kind": "field",
2040
- "name": "speechApplyDebounceTimer",
1951
+ "name": "actionsMenu",
2041
1952
  "type": {
2042
- "text": "ReturnType<typeof setTimeout> | null"
2043
- },
2044
- "privacy": "private",
2045
- "default": "null"
1953
+ "text": "HTMLElement"
1954
+ }
2046
1955
  },
2047
1956
  {
2048
- "kind": "field",
2049
- "name": "baseInputForAppend",
2050
- "type": {
2051
- "text": "string"
2052
- },
2053
- "privacy": "private",
2054
- "default": "''"
1957
+ "kind": "method",
1958
+ "name": "definitionChanged",
1959
+ "privacy": "protected",
1960
+ "parameters": [
1961
+ {
1962
+ "name": "oldValue",
1963
+ "type": {
1964
+ "text": "any"
1965
+ }
1966
+ },
1967
+ {
1968
+ "name": "newValue",
1969
+ "type": {
1970
+ "text": "any"
1971
+ }
1972
+ }
1973
+ ]
2055
1974
  },
2056
1975
  {
2057
- "kind": "field",
2058
- "name": "speechAvailable",
2059
- "type": {
2060
- "text": "boolean"
2061
- },
2062
- "readonly": true
1976
+ "kind": "method",
1977
+ "name": "openChanged",
1978
+ "privacy": "protected"
2063
1979
  },
2064
1980
  {
2065
1981
  "kind": "method",
2066
- "name": "handleSubmit"
1982
+ "name": "toggleActionsMenuVisibility"
2067
1983
  },
2068
1984
  {
2069
1985
  "kind": "method",
2070
- "name": "handleBlur"
1986
+ "name": "onActionMenuItemClick",
1987
+ "parameters": [
1988
+ {
1989
+ "name": "callback",
1990
+ "type": {
1991
+ "text": "(rowData) => void | any"
1992
+ }
1993
+ }
1994
+ ]
2071
1995
  },
2072
1996
  {
2073
- "kind": "method",
2074
- "name": "clear"
1997
+ "kind": "field",
1998
+ "name": "allActions",
1999
+ "type": {
2000
+ "text": "ActionMenuItem[]"
2001
+ },
2002
+ "readonly": true
2003
+ },
2004
+ {
2005
+ "kind": "field",
2006
+ "name": "rowData",
2007
+ "readonly": true
2075
2008
  },
2076
2009
  {
2077
2010
  "kind": "method",
2078
- "name": "toggleSpeechInput"
2011
+ "name": "getLabel",
2012
+ "parameters": [
2013
+ {
2014
+ "name": "name",
2015
+ "type": {
2016
+ "text": "string | ((rowData: any) => string)"
2017
+ }
2018
+ }
2019
+ ]
2079
2020
  },
2080
2021
  {
2081
2022
  "kind": "method",
2082
- "name": "clearSpeechApplyDebounce",
2083
- "privacy": "private"
2023
+ "name": "getTemplate",
2024
+ "parameters": [
2025
+ {
2026
+ "name": "prefix",
2027
+ "type": {
2028
+ "text": "string"
2029
+ }
2030
+ }
2031
+ ]
2084
2032
  },
2085
2033
  {
2086
2034
  "kind": "field",
@@ -2196,335 +2144,228 @@
2196
2144
  ],
2197
2145
  "attributes": [
2198
2146
  {
2199
- "name": "placeholder",
2147
+ "name": "is-vertical",
2148
+ "type": {
2149
+ "text": "boolean"
2150
+ },
2151
+ "default": "false",
2152
+ "fieldName": "isVertical"
2153
+ },
2154
+ {
2155
+ "name": "add-default-actions",
2156
+ "type": {
2157
+ "text": "boolean"
2158
+ },
2159
+ "default": "true",
2160
+ "fieldName": "addDefaultActions"
2161
+ },
2162
+ {
2163
+ "name": "auto-close-on-action",
2164
+ "type": {
2165
+ "text": "boolean"
2166
+ },
2167
+ "default": "true",
2168
+ "fieldName": "autoCloseOnAction"
2169
+ },
2170
+ {
2171
+ "name": "name",
2200
2172
  "type": {
2201
2173
  "text": "string"
2202
2174
  },
2203
- "default": "'Describe your search criteria in natural language...'",
2204
- "fieldName": "placeholder"
2175
+ "default": "'Actions'",
2176
+ "fieldName": "name"
2205
2177
  },
2206
2178
  {
2179
+ "name": "open",
2207
2180
  "type": {
2208
2181
  "text": "boolean"
2209
2182
  },
2210
- "fieldName": "disabled"
2183
+ "default": "false",
2184
+ "fieldName": "open"
2211
2185
  },
2212
2186
  {
2213
- "name": "mode",
2187
+ "name": "buttonAppearance",
2214
2188
  "type": {
2215
- "text": "'append' | 'replace'"
2189
+ "text": "string"
2216
2190
  },
2217
- "default": "'replace'",
2218
- "fieldName": "mode"
2191
+ "fieldName": "buttonAppearance"
2192
+ },
2193
+ {
2194
+ "name": "hide-disabled",
2195
+ "type": {
2196
+ "text": "boolean"
2197
+ },
2198
+ "default": "false",
2199
+ "fieldName": "hideDisabled"
2200
+ },
2201
+ {
2202
+ "name": "hide-menu-single-option",
2203
+ "type": {
2204
+ "text": "boolean"
2205
+ },
2206
+ "default": "false",
2207
+ "fieldName": "hideMenuSingleOption"
2219
2208
  }
2220
2209
  ],
2221
2210
  "superclass": {
2222
2211
  "name": "FoundationElement",
2223
2212
  "package": "@microsoft/fast-foundation"
2224
2213
  },
2225
- "tagName": "%%prefix%%-ai-criteria-search",
2214
+ "tagName": "%%prefix%%-actions-menu",
2226
2215
  "customElement": true
2227
2216
  },
2228
2217
  {
2229
2218
  "kind": "variable",
2230
- "name": "foundationAiCriteriaSearchShadowOptions",
2231
- "type": {
2232
- "text": "ShadowRootInit"
2233
- },
2234
- "default": "undefined"
2235
- },
2236
- {
2237
- "kind": "variable",
2238
- "name": "defaultAiCriteriaSearchConfig",
2239
- "type": {
2240
- "text": "object"
2241
- },
2242
- "default": "{}"
2243
- },
2244
- {
2245
- "kind": "variable",
2246
- "name": "foundationAiCriteriaSearch"
2219
+ "name": "foundationActionsMenu",
2220
+ "description": "The Foundation Actions Menu",
2221
+ "privacy": "public"
2247
2222
  }
2248
2223
  ],
2249
2224
  "exports": [
2250
2225
  {
2251
2226
  "kind": "js",
2252
- "name": "AiCriteriaSearch",
2253
- "declaration": {
2254
- "name": "AiCriteriaSearch",
2255
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2256
- }
2257
- },
2258
- {
2259
- "kind": "js",
2260
- "name": "foundationAiCriteriaSearchShadowOptions",
2261
- "declaration": {
2262
- "name": "foundationAiCriteriaSearchShadowOptions",
2263
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2264
- }
2265
- },
2266
- {
2267
- "kind": "js",
2268
- "name": "defaultAiCriteriaSearchConfig",
2227
+ "name": "ActionsMenu",
2269
2228
  "declaration": {
2270
- "name": "defaultAiCriteriaSearchConfig",
2271
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2229
+ "name": "ActionsMenu",
2230
+ "module": "src/actions-menu/actions-menu.ts"
2272
2231
  }
2273
2232
  },
2274
2233
  {
2275
2234
  "kind": "js",
2276
- "name": "foundationAiCriteriaSearch",
2235
+ "name": "foundationActionsMenu",
2277
2236
  "declaration": {
2278
- "name": "foundationAiCriteriaSearch",
2279
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2237
+ "name": "foundationActionsMenu",
2238
+ "module": "src/actions-menu/actions-menu.ts"
2280
2239
  }
2281
2240
  }
2282
2241
  ]
2283
2242
  },
2284
2243
  {
2285
2244
  "kind": "javascript-module",
2286
- "path": "src/ai-criteria-search/index.ts",
2245
+ "path": "src/actions-menu/index.ts",
2287
2246
  "declarations": [],
2288
2247
  "exports": [
2289
2248
  {
2290
2249
  "kind": "js",
2291
- "name": "AiCriteriaSearch",
2250
+ "name": "*",
2292
2251
  "declaration": {
2293
- "name": "AiCriteriaSearch",
2294
- "module": "./ai-criteria-search"
2252
+ "name": "*",
2253
+ "package": "./actions-menu.styles"
2295
2254
  }
2296
2255
  },
2297
2256
  {
2298
2257
  "kind": "js",
2299
- "name": "defaultAiCriteriaSearchConfig",
2258
+ "name": "*",
2300
2259
  "declaration": {
2301
- "name": "defaultAiCriteriaSearchConfig",
2302
- "module": "./ai-criteria-search"
2260
+ "name": "*",
2261
+ "package": "./actions-menu.template"
2303
2262
  }
2304
2263
  },
2305
2264
  {
2306
2265
  "kind": "js",
2307
- "name": "foundationAiCriteriaSearch",
2266
+ "name": "*",
2308
2267
  "declaration": {
2309
- "name": "foundationAiCriteriaSearch",
2310
- "module": "./ai-criteria-search"
2268
+ "name": "*",
2269
+ "package": "./actions-menu"
2311
2270
  }
2312
- },
2271
+ }
2272
+ ]
2273
+ },
2274
+ {
2275
+ "kind": "javascript-module",
2276
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2277
+ "declarations": [
2313
2278
  {
2314
- "kind": "js",
2315
- "name": "foundationAiCriteriaSearchShadowOptions",
2316
- "declaration": {
2317
- "name": "foundationAiCriteriaSearchShadowOptions",
2318
- "module": "./ai-criteria-search"
2319
- }
2320
- },
2279
+ "kind": "variable",
2280
+ "name": "foundationAiCriteriaSearchStyles",
2281
+ "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2282
+ }
2283
+ ],
2284
+ "exports": [
2321
2285
  {
2322
2286
  "kind": "js",
2323
2287
  "name": "foundationAiCriteriaSearchStyles",
2324
2288
  "declaration": {
2325
2289
  "name": "foundationAiCriteriaSearchStyles",
2326
- "module": "./ai-criteria-search.styles"
2290
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2327
2291
  }
2328
- },
2292
+ }
2293
+ ]
2294
+ },
2295
+ {
2296
+ "kind": "javascript-module",
2297
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2298
+ "declarations": [
2329
2299
  {
2330
- "kind": "js",
2300
+ "kind": "variable",
2331
2301
  "name": "foundationAiCriteriaSearchTemplate",
2332
- "declaration": {
2333
- "name": "foundationAiCriteriaSearchTemplate",
2334
- "module": "./ai-criteria-search.template"
2335
- }
2336
- },
2337
- {
2338
- "kind": "js",
2339
- "name": "*",
2340
- "declaration": {
2341
- "name": "*",
2342
- "package": "./validation/criteria-ir"
2343
- }
2344
- },
2345
- {
2346
- "kind": "js",
2347
- "name": "*",
2348
- "declaration": {
2349
- "name": "*",
2350
- "package": "./validation/operator-map"
2351
- }
2352
- },
2302
+ "type": {
2303
+ "text": "ViewTemplate<AiCriteriaSearch>"
2304
+ },
2305
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2306
+ }
2307
+ ],
2308
+ "exports": [
2353
2309
  {
2354
2310
  "kind": "js",
2355
- "name": "*",
2311
+ "name": "foundationAiCriteriaSearchTemplate",
2356
2312
  "declaration": {
2357
- "name": "*",
2358
- "package": "./validation/schema-validator"
2313
+ "name": "foundationAiCriteriaSearchTemplate",
2314
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2359
2315
  }
2360
2316
  }
2361
2317
  ]
2362
2318
  },
2363
2319
  {
2364
2320
  "kind": "javascript-module",
2365
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2321
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2366
2322
  "declarations": [
2367
2323
  {
2368
- "kind": "function",
2369
- "name": "formatValidationErrors",
2370
- "return": {
2371
- "type": {
2372
- "text": "string"
2373
- }
2374
- },
2375
- "parameters": [
2324
+ "kind": "class",
2325
+ "description": "",
2326
+ "name": "AiCriteriaSearch",
2327
+ "members": [
2376
2328
  {
2377
- "name": "errors",
2329
+ "kind": "field",
2330
+ "name": "aiProvider",
2378
2331
  "type": {
2379
- "text": "ValidationError[]"
2332
+ "text": "AIProvider"
2380
2333
  }
2381
- }
2382
- ],
2383
- "description": "Formats validation errors into a user-friendly message."
2384
- },
2385
- {
2386
- "kind": "function",
2387
- "name": "showCriteriaError",
2388
- "return": {
2389
- "type": {
2390
- "text": "void"
2391
- }
2392
- },
2393
- "parameters": [
2394
- {
2395
- "name": "title",
2396
- "type": {
2397
- "text": "string"
2398
- },
2399
- "description": "Notification title (e.g. \"Criteria validation error\")"
2400
2334
  },
2401
2335
  {
2402
- "name": "body",
2336
+ "kind": "field",
2337
+ "name": "placeholder",
2403
2338
  "type": {
2404
2339
  "text": "string"
2405
2340
  },
2406
- "description": "Error message to display"
2341
+ "default": "'Describe your search criteria in natural language...'"
2407
2342
  },
2408
2343
  {
2409
- "name": "tagName",
2410
- "type": {
2411
- "text": "string"
2412
- },
2413
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2414
- }
2415
- ],
2416
- "description": "Shows a criteria error as a toast notification."
2417
- }
2418
- ],
2419
- "exports": [
2420
- {
2421
- "kind": "js",
2422
- "name": "formatValidationErrors",
2423
- "declaration": {
2424
- "name": "formatValidationErrors",
2425
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2426
- }
2427
- },
2428
- {
2429
- "kind": "js",
2430
- "name": "showCriteriaError",
2431
- "declaration": {
2432
- "name": "showCriteriaError",
2433
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2434
- }
2435
- }
2436
- ]
2437
- },
2438
- {
2439
- "kind": "javascript-module",
2440
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2441
- "declarations": [
2442
- {
2443
- "kind": "function",
2444
- "name": "foundationAiIndicatorStyles",
2445
- "return": {
2446
- "type": {
2447
- "text": "ElementStyles"
2448
- }
2449
- },
2450
- "parameters": [
2451
- {
2452
- "name": "context",
2344
+ "kind": "field",
2345
+ "name": "disabled",
2453
2346
  "type": {
2454
- "text": "ElementDefinitionContext"
2347
+ "text": "boolean"
2455
2348
  }
2456
2349
  },
2457
- {
2458
- "name": "definition",
2459
- "type": {
2460
- "text": "FoundationElementDefinition"
2461
- }
2462
- }
2463
- ]
2464
- }
2465
- ],
2466
- "exports": [
2467
- {
2468
- "kind": "js",
2469
- "name": "foundationAiIndicatorStyles",
2470
- "declaration": {
2471
- "name": "foundationAiIndicatorStyles",
2472
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2473
- }
2474
- }
2475
- ]
2476
- },
2477
- {
2478
- "kind": "javascript-module",
2479
- "path": "src/ai-indicator/ai-indicator.template.ts",
2480
- "declarations": [
2481
- {
2482
- "kind": "variable",
2483
- "name": "foundationAiIndicatorTemplate",
2484
- "type": {
2485
- "text": "ViewTemplate<AiIndicator>"
2486
- },
2487
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2488
- }
2489
- ],
2490
- "exports": [
2491
- {
2492
- "kind": "js",
2493
- "name": "foundationAiIndicatorTemplate",
2494
- "declaration": {
2495
- "name": "foundationAiIndicatorTemplate",
2496
- "module": "src/ai-indicator/ai-indicator.template.ts"
2497
- }
2498
- }
2499
- ]
2500
- },
2501
- {
2502
- "kind": "javascript-module",
2503
- "path": "src/ai-indicator/ai-indicator.ts",
2504
- "declarations": [
2505
- {
2506
- "kind": "class",
2507
- "description": "",
2508
- "name": "AiIndicator",
2509
- "members": [
2510
2350
  {
2511
2351
  "kind": "field",
2512
- "name": "aiProvider",
2352
+ "name": "mode",
2513
2353
  "type": {
2514
- "text": "AIProvider"
2515
- }
2354
+ "text": "'append' | 'replace'"
2355
+ },
2356
+ "default": "'replace'"
2516
2357
  },
2517
2358
  {
2518
2359
  "kind": "field",
2519
- "name": "status",
2360
+ "name": "inputValue",
2520
2361
  "type": {
2521
- "text": "AIStatus | null"
2362
+ "text": "string"
2522
2363
  },
2523
- "default": "null"
2364
+ "default": "''"
2524
2365
  },
2525
2366
  {
2526
2367
  "kind": "field",
2527
- "name": "open",
2368
+ "name": "isInterpreting",
2528
2369
  "type": {
2529
2370
  "text": "boolean"
2530
2371
  },
@@ -2532,15 +2373,23 @@
2532
2373
  },
2533
2374
  {
2534
2375
  "kind": "field",
2535
- "name": "state",
2376
+ "name": "lastValidCriteria",
2536
2377
  "type": {
2537
- "text": "AIIndicatorState"
2378
+ "text": "string | null"
2538
2379
  },
2539
- "default": "'none'"
2380
+ "default": "null"
2540
2381
  },
2541
2382
  {
2542
2383
  "kind": "field",
2543
- "name": "isInstalling",
2384
+ "name": "fieldMetadata",
2385
+ "type": {
2386
+ "text": "MetadataDetail[] | string[]"
2387
+ },
2388
+ "default": "[]"
2389
+ },
2390
+ {
2391
+ "kind": "field",
2392
+ "name": "isRecording",
2544
2393
  "type": {
2545
2394
  "text": "boolean"
2546
2395
  },
@@ -2548,37 +2397,42 @@
2548
2397
  },
2549
2398
  {
2550
2399
  "kind": "field",
2551
- "name": "pollTimer",
2400
+ "name": "textAreaRef",
2552
2401
  "type": {
2553
- "text": "ReturnType<typeof setInterval> | null"
2402
+ "text": "HTMLTextAreaElement"
2554
2403
  },
2555
- "privacy": "private",
2556
- "default": "null"
2404
+ "privacy": "public"
2557
2405
  },
2558
2406
  {
2559
2407
  "kind": "field",
2560
- "name": "clickOutside",
2561
- "privacy": "private"
2408
+ "name": "stopRecording",
2409
+ "type": {
2410
+ "text": "(() => void) | null"
2411
+ },
2412
+ "privacy": "private",
2413
+ "default": "null"
2562
2414
  },
2563
2415
  {
2564
2416
  "kind": "field",
2565
- "name": "chromeStatusLabel",
2417
+ "name": "speechApplyDebounceTimer",
2566
2418
  "type": {
2567
- "text": "string | null"
2419
+ "text": "ReturnType<typeof setTimeout> | null"
2568
2420
  },
2569
- "readonly": true
2421
+ "privacy": "private",
2422
+ "default": "null"
2570
2423
  },
2571
2424
  {
2572
2425
  "kind": "field",
2573
- "name": "canInstall",
2426
+ "name": "baseInputForAppend",
2574
2427
  "type": {
2575
- "text": "boolean"
2428
+ "text": "string"
2576
2429
  },
2577
- "readonly": true
2430
+ "privacy": "private",
2431
+ "default": "''"
2578
2432
  },
2579
2433
  {
2580
2434
  "kind": "field",
2581
- "name": "isDownloading",
2435
+ "name": "speechAvailable",
2582
2436
  "type": {
2583
2437
  "text": "boolean"
2584
2438
  },
@@ -2586,95 +2440,24 @@
2586
2440
  },
2587
2441
  {
2588
2442
  "kind": "method",
2589
- "name": "openChanged",
2590
- "return": {
2591
- "type": {
2592
- "text": "void"
2593
- }
2594
- }
2443
+ "name": "handleSubmit"
2595
2444
  },
2596
2445
  {
2597
2446
  "kind": "method",
2598
- "name": "handleClickOutside",
2599
- "privacy": "private",
2600
- "parameters": [
2601
- {
2602
- "name": "event",
2603
- "type": {
2604
- "text": "MouseEvent"
2605
- }
2606
- }
2607
- ]
2447
+ "name": "handleBlur"
2608
2448
  },
2609
2449
  {
2610
2450
  "kind": "method",
2611
- "name": "toggleDropdown"
2612
- },
2613
- {
2614
- "kind": "method",
2615
- "name": "refreshStatus",
2616
- "return": {
2617
- "type": {
2618
- "text": "Promise<void>"
2619
- }
2620
- }
2621
- },
2622
- {
2623
- "kind": "method",
2624
- "name": "deriveState",
2625
- "privacy": "private",
2626
- "return": {
2627
- "type": {
2628
- "text": "AIIndicatorState"
2629
- }
2630
- },
2631
- "parameters": [
2632
- {
2633
- "name": "s",
2634
- "type": {
2635
- "text": "AIStatus | null"
2636
- }
2637
- }
2638
- ]
2639
- },
2640
- {
2641
- "kind": "method",
2642
- "name": "maybeStartPolling",
2643
- "privacy": "private",
2644
- "return": {
2645
- "type": {
2646
- "text": "void"
2647
- }
2648
- }
2649
- },
2650
- {
2651
- "kind": "method",
2652
- "name": "startPolling",
2653
- "privacy": "private",
2654
- "return": {
2655
- "type": {
2656
- "text": "void"
2657
- }
2658
- }
2451
+ "name": "clear"
2659
2452
  },
2660
2453
  {
2661
2454
  "kind": "method",
2662
- "name": "stopPolling",
2663
- "privacy": "private",
2664
- "return": {
2665
- "type": {
2666
- "text": "void"
2667
- }
2668
- }
2455
+ "name": "toggleSpeechInput"
2669
2456
  },
2670
2457
  {
2671
2458
  "kind": "method",
2672
- "name": "onInstall",
2673
- "return": {
2674
- "type": {
2675
- "text": "Promise<void>"
2676
- }
2677
- }
2459
+ "name": "clearSpeechApplyDebounce",
2460
+ "privacy": "private"
2678
2461
  },
2679
2462
  {
2680
2463
  "kind": "field",
@@ -2787,123 +2570,437 @@
2787
2570
  "module": "src/foundation-element/foundation-element.ts"
2788
2571
  }
2789
2572
  }
2790
- ],
2573
+ ],
2574
+ "attributes": [
2575
+ {
2576
+ "name": "placeholder",
2577
+ "type": {
2578
+ "text": "string"
2579
+ },
2580
+ "default": "'Describe your search criteria in natural language...'",
2581
+ "fieldName": "placeholder"
2582
+ },
2583
+ {
2584
+ "type": {
2585
+ "text": "boolean"
2586
+ },
2587
+ "fieldName": "disabled"
2588
+ },
2589
+ {
2590
+ "name": "mode",
2591
+ "type": {
2592
+ "text": "'append' | 'replace'"
2593
+ },
2594
+ "default": "'replace'",
2595
+ "fieldName": "mode"
2596
+ }
2597
+ ],
2598
+ "superclass": {
2599
+ "name": "FoundationElement",
2600
+ "package": "@microsoft/fast-foundation"
2601
+ },
2602
+ "tagName": "%%prefix%%-ai-criteria-search",
2603
+ "customElement": true
2604
+ },
2605
+ {
2606
+ "kind": "variable",
2607
+ "name": "foundationAiCriteriaSearchShadowOptions",
2608
+ "type": {
2609
+ "text": "ShadowRootInit"
2610
+ },
2611
+ "default": "undefined"
2612
+ },
2613
+ {
2614
+ "kind": "variable",
2615
+ "name": "defaultAiCriteriaSearchConfig",
2616
+ "type": {
2617
+ "text": "object"
2618
+ },
2619
+ "default": "{}"
2620
+ },
2621
+ {
2622
+ "kind": "variable",
2623
+ "name": "foundationAiCriteriaSearch"
2624
+ }
2625
+ ],
2626
+ "exports": [
2627
+ {
2628
+ "kind": "js",
2629
+ "name": "AiCriteriaSearch",
2630
+ "declaration": {
2631
+ "name": "AiCriteriaSearch",
2632
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2633
+ }
2634
+ },
2635
+ {
2636
+ "kind": "js",
2637
+ "name": "foundationAiCriteriaSearchShadowOptions",
2638
+ "declaration": {
2639
+ "name": "foundationAiCriteriaSearchShadowOptions",
2640
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2641
+ }
2642
+ },
2643
+ {
2644
+ "kind": "js",
2645
+ "name": "defaultAiCriteriaSearchConfig",
2646
+ "declaration": {
2647
+ "name": "defaultAiCriteriaSearchConfig",
2648
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2649
+ }
2650
+ },
2651
+ {
2652
+ "kind": "js",
2653
+ "name": "foundationAiCriteriaSearch",
2654
+ "declaration": {
2655
+ "name": "foundationAiCriteriaSearch",
2656
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2657
+ }
2658
+ }
2659
+ ]
2660
+ },
2661
+ {
2662
+ "kind": "javascript-module",
2663
+ "path": "src/ai-criteria-search/index.ts",
2664
+ "declarations": [],
2665
+ "exports": [
2666
+ {
2667
+ "kind": "js",
2668
+ "name": "AiCriteriaSearch",
2669
+ "declaration": {
2670
+ "name": "AiCriteriaSearch",
2671
+ "module": "./ai-criteria-search"
2672
+ }
2673
+ },
2674
+ {
2675
+ "kind": "js",
2676
+ "name": "defaultAiCriteriaSearchConfig",
2677
+ "declaration": {
2678
+ "name": "defaultAiCriteriaSearchConfig",
2679
+ "module": "./ai-criteria-search"
2680
+ }
2681
+ },
2682
+ {
2683
+ "kind": "js",
2684
+ "name": "foundationAiCriteriaSearch",
2685
+ "declaration": {
2686
+ "name": "foundationAiCriteriaSearch",
2687
+ "module": "./ai-criteria-search"
2688
+ }
2689
+ },
2690
+ {
2691
+ "kind": "js",
2692
+ "name": "foundationAiCriteriaSearchShadowOptions",
2693
+ "declaration": {
2694
+ "name": "foundationAiCriteriaSearchShadowOptions",
2695
+ "module": "./ai-criteria-search"
2696
+ }
2697
+ },
2698
+ {
2699
+ "kind": "js",
2700
+ "name": "foundationAiCriteriaSearchStyles",
2701
+ "declaration": {
2702
+ "name": "foundationAiCriteriaSearchStyles",
2703
+ "module": "./ai-criteria-search.styles"
2704
+ }
2705
+ },
2706
+ {
2707
+ "kind": "js",
2708
+ "name": "foundationAiCriteriaSearchTemplate",
2709
+ "declaration": {
2710
+ "name": "foundationAiCriteriaSearchTemplate",
2711
+ "module": "./ai-criteria-search.template"
2712
+ }
2713
+ },
2714
+ {
2715
+ "kind": "js",
2716
+ "name": "*",
2717
+ "declaration": {
2718
+ "name": "*",
2719
+ "package": "./validation/criteria-ir"
2720
+ }
2721
+ },
2722
+ {
2723
+ "kind": "js",
2724
+ "name": "*",
2725
+ "declaration": {
2726
+ "name": "*",
2727
+ "package": "./validation/operator-map"
2728
+ }
2729
+ },
2730
+ {
2731
+ "kind": "js",
2732
+ "name": "*",
2733
+ "declaration": {
2734
+ "name": "*",
2735
+ "package": "./validation/schema-validator"
2736
+ }
2737
+ }
2738
+ ]
2739
+ },
2740
+ {
2741
+ "kind": "javascript-module",
2742
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2743
+ "declarations": [
2744
+ {
2745
+ "kind": "function",
2746
+ "name": "formatValidationErrors",
2747
+ "return": {
2748
+ "type": {
2749
+ "text": "string"
2750
+ }
2751
+ },
2752
+ "parameters": [
2753
+ {
2754
+ "name": "errors",
2755
+ "type": {
2756
+ "text": "ValidationError[]"
2757
+ }
2758
+ }
2759
+ ],
2760
+ "description": "Formats validation errors into a user-friendly message."
2761
+ },
2762
+ {
2763
+ "kind": "function",
2764
+ "name": "showCriteriaError",
2765
+ "return": {
2766
+ "type": {
2767
+ "text": "void"
2768
+ }
2769
+ },
2770
+ "parameters": [
2771
+ {
2772
+ "name": "title",
2773
+ "type": {
2774
+ "text": "string"
2775
+ },
2776
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2777
+ },
2778
+ {
2779
+ "name": "body",
2780
+ "type": {
2781
+ "text": "string"
2782
+ },
2783
+ "description": "Error message to display"
2784
+ },
2785
+ {
2786
+ "name": "tagName",
2787
+ "type": {
2788
+ "text": "string"
2789
+ },
2790
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2791
+ }
2792
+ ],
2793
+ "description": "Shows a criteria error as a toast notification."
2794
+ }
2795
+ ],
2796
+ "exports": [
2797
+ {
2798
+ "kind": "js",
2799
+ "name": "formatValidationErrors",
2800
+ "declaration": {
2801
+ "name": "formatValidationErrors",
2802
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2803
+ }
2804
+ },
2805
+ {
2806
+ "kind": "js",
2807
+ "name": "showCriteriaError",
2808
+ "declaration": {
2809
+ "name": "showCriteriaError",
2810
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2811
+ }
2812
+ }
2813
+ ]
2814
+ },
2815
+ {
2816
+ "kind": "javascript-module",
2817
+ "path": "src/accordion/accordion.styles.ts",
2818
+ "declarations": [
2819
+ {
2820
+ "kind": "function",
2821
+ "name": "foundationAccordionStyles",
2822
+ "return": {
2823
+ "type": {
2824
+ "text": "ElementStyles"
2825
+ }
2826
+ },
2827
+ "parameters": [
2828
+ {
2829
+ "name": "context",
2830
+ "type": {
2831
+ "text": "ElementDefinitionContext"
2832
+ }
2833
+ },
2834
+ {
2835
+ "name": "definition",
2836
+ "type": {
2837
+ "text": "FoundationElementDefinition"
2838
+ }
2839
+ }
2840
+ ]
2841
+ }
2842
+ ],
2843
+ "exports": [
2844
+ {
2845
+ "kind": "js",
2846
+ "name": "foundationAccordionStyles",
2847
+ "declaration": {
2848
+ "name": "foundationAccordionStyles",
2849
+ "module": "src/accordion/accordion.styles.ts"
2850
+ }
2851
+ }
2852
+ ]
2853
+ },
2854
+ {
2855
+ "kind": "javascript-module",
2856
+ "path": "src/accordion/accordion.template.ts",
2857
+ "declarations": [
2858
+ {
2859
+ "kind": "function",
2860
+ "name": "foundationAccordionTemplate",
2861
+ "return": {
2862
+ "type": {
2863
+ "text": "ViewTemplate<Accordion>"
2864
+ }
2865
+ },
2866
+ "parameters": [
2867
+ {
2868
+ "name": "context",
2869
+ "type": {
2870
+ "text": "ElementDefinitionContext"
2871
+ }
2872
+ },
2873
+ {
2874
+ "name": "definition",
2875
+ "type": {
2876
+ "text": "FoundationElementDefinition"
2877
+ }
2878
+ }
2879
+ ]
2880
+ }
2881
+ ],
2882
+ "exports": [
2883
+ {
2884
+ "kind": "js",
2885
+ "name": "foundationAccordionTemplate",
2886
+ "declaration": {
2887
+ "name": "foundationAccordionTemplate",
2888
+ "module": "src/accordion/accordion.template.ts"
2889
+ }
2890
+ }
2891
+ ]
2892
+ },
2893
+ {
2894
+ "kind": "javascript-module",
2895
+ "path": "src/accordion/accordion.ts",
2896
+ "declarations": [
2897
+ {
2898
+ "kind": "class",
2899
+ "description": "",
2900
+ "name": "Accordion",
2791
2901
  "superclass": {
2792
- "name": "FoundationElement",
2902
+ "name": "FASTAccordion",
2793
2903
  "package": "@microsoft/fast-foundation"
2794
2904
  },
2795
- "tagName": "%%prefix%%-ai-indicator",
2905
+ "tagName": "%%prefix%%-accordion",
2796
2906
  "customElement": true
2797
2907
  },
2798
2908
  {
2799
2909
  "kind": "variable",
2800
- "name": "foundationAiIndicator"
2910
+ "name": "foundationAccordionShadowOptions",
2911
+ "type": {
2912
+ "text": "ShadowRootInit"
2913
+ },
2914
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2915
+ },
2916
+ {
2917
+ "kind": "variable",
2918
+ "name": "defaultAccordionConfig",
2919
+ "type": {
2920
+ "text": "object"
2921
+ },
2922
+ "default": "{}"
2923
+ },
2924
+ {
2925
+ "kind": "variable",
2926
+ "name": "foundationAccordion",
2927
+ "description": "The Foundation Accordion",
2928
+ "privacy": "public"
2801
2929
  }
2802
2930
  ],
2803
2931
  "exports": [
2804
2932
  {
2805
2933
  "kind": "js",
2806
- "name": "AiIndicator",
2934
+ "name": "Accordion",
2807
2935
  "declaration": {
2808
- "name": "AiIndicator",
2809
- "module": "src/ai-indicator/ai-indicator.ts"
2936
+ "name": "Accordion",
2937
+ "module": "src/accordion/accordion.ts"
2810
2938
  }
2811
2939
  },
2812
2940
  {
2813
2941
  "kind": "js",
2814
- "name": "foundationAiIndicator",
2815
- "declaration": {
2816
- "name": "foundationAiIndicator",
2817
- "module": "src/ai-indicator/ai-indicator.ts"
2818
- }
2819
- }
2820
- ]
2821
- },
2822
- {
2823
- "kind": "javascript-module",
2824
- "path": "src/ai-indicator/index.ts",
2825
- "declarations": [],
2826
- "exports": [
2827
- {
2828
- "kind": "js",
2829
- "name": "AiIndicator",
2942
+ "name": "foundationAccordionShadowOptions",
2830
2943
  "declaration": {
2831
- "name": "AiIndicator",
2832
- "module": "./ai-indicator"
2944
+ "name": "foundationAccordionShadowOptions",
2945
+ "module": "src/accordion/accordion.ts"
2833
2946
  }
2834
2947
  },
2835
2948
  {
2836
2949
  "kind": "js",
2837
- "name": "foundationAiIndicator",
2950
+ "name": "defaultAccordionConfig",
2838
2951
  "declaration": {
2839
- "name": "foundationAiIndicator",
2840
- "module": "./ai-indicator"
2952
+ "name": "defaultAccordionConfig",
2953
+ "module": "src/accordion/accordion.ts"
2841
2954
  }
2842
2955
  },
2843
2956
  {
2844
2957
  "kind": "js",
2845
- "name": "type",
2958
+ "name": "foundationAccordion",
2846
2959
  "declaration": {
2847
- "name": "type",
2848
- "module": "./ai-indicator"
2960
+ "name": "foundationAccordion",
2961
+ "module": "src/accordion/accordion.ts"
2849
2962
  }
2850
- },
2963
+ }
2964
+ ]
2965
+ },
2966
+ {
2967
+ "kind": "javascript-module",
2968
+ "path": "src/accordion/index.ts",
2969
+ "declarations": [],
2970
+ "exports": [
2851
2971
  {
2852
2972
  "kind": "js",
2853
- "name": "AIIndicatorState",
2973
+ "name": "*",
2854
2974
  "declaration": {
2855
- "name": "AIIndicatorState",
2856
- "module": "./ai-indicator"
2975
+ "name": "*",
2976
+ "package": "./accordion.template"
2857
2977
  }
2858
2978
  },
2859
2979
  {
2860
2980
  "kind": "js",
2861
- "name": "foundationAiIndicatorTemplate",
2981
+ "name": "*",
2862
2982
  "declaration": {
2863
- "name": "foundationAiIndicatorTemplate",
2864
- "module": "./ai-indicator.template"
2983
+ "name": "*",
2984
+ "package": "./accordion.styles"
2865
2985
  }
2866
2986
  },
2867
2987
  {
2868
2988
  "kind": "js",
2869
- "name": "foundationAiIndicatorStyles",
2989
+ "name": "*",
2870
2990
  "declaration": {
2871
- "name": "foundationAiIndicatorStyles",
2872
- "module": "./ai-indicator.styles"
2991
+ "name": "*",
2992
+ "package": "./accordion"
2873
2993
  }
2874
2994
  }
2875
2995
  ]
2876
2996
  },
2877
2997
  {
2878
2998
  "kind": "javascript-module",
2879
- "path": "src/actions-menu/actions-menu.styles.ts",
2999
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2880
3000
  "declarations": [
2881
3001
  {
2882
3002
  "kind": "function",
2883
- "name": "actionsMenuBaseStyles",
2884
- "return": {
2885
- "type": {
2886
- "text": "ElementStyles"
2887
- }
2888
- },
2889
- "parameters": [
2890
- {
2891
- "name": "context",
2892
- "type": {
2893
- "text": "ElementDefinitionContext"
2894
- }
2895
- },
2896
- {
2897
- "name": "definition",
2898
- "type": {
2899
- "text": "FoundationElementDefinition"
2900
- }
2901
- }
2902
- ]
2903
- },
2904
- {
2905
- "kind": "function",
2906
- "name": "foundationActionsMenuStyles",
3003
+ "name": "foundationAiIndicatorStyles",
2907
3004
  "return": {
2908
3005
  "type": {
2909
3006
  "text": "ElementStyles"
@@ -2928,151 +3025,81 @@
2928
3025
  "exports": [
2929
3026
  {
2930
3027
  "kind": "js",
2931
- "name": "actionsMenuBaseStyles",
2932
- "declaration": {
2933
- "name": "actionsMenuBaseStyles",
2934
- "module": "src/actions-menu/actions-menu.styles.ts"
2935
- }
2936
- },
2937
- {
2938
- "kind": "js",
2939
- "name": "foundationActionsMenuStyles",
3028
+ "name": "foundationAiIndicatorStyles",
2940
3029
  "declaration": {
2941
- "name": "foundationActionsMenuStyles",
2942
- "module": "src/actions-menu/actions-menu.styles.ts"
3030
+ "name": "foundationAiIndicatorStyles",
3031
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2943
3032
  }
2944
3033
  }
2945
3034
  ]
2946
3035
  },
2947
3036
  {
2948
3037
  "kind": "javascript-module",
2949
- "path": "src/actions-menu/actions-menu.template.ts",
3038
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2950
3039
  "declarations": [
2951
- {
2952
- "kind": "function",
2953
- "name": "menuTemplate",
2954
- "parameters": [
2955
- {
2956
- "name": "prefix",
2957
- "type": {
2958
- "text": "string"
2959
- }
2960
- }
2961
- ]
2962
- },
2963
- {
2964
- "kind": "function",
2965
- "name": "singleOptionTemplate",
2966
- "parameters": [
2967
- {
2968
- "name": "prefix",
2969
- "type": {
2970
- "text": "string"
2971
- }
2972
- }
2973
- ]
2974
- },
2975
3040
  {
2976
3041
  "kind": "variable",
2977
- "name": "foundationActionsMenuTemplate",
3042
+ "name": "foundationAiIndicatorTemplate",
2978
3043
  "type": {
2979
- "text": "ViewTemplate<ActionsMenu>"
3044
+ "text": "ViewTemplate<AiIndicator>"
2980
3045
  },
2981
- "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`"
3046
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2982
3047
  }
2983
3048
  ],
2984
3049
  "exports": [
2985
3050
  {
2986
3051
  "kind": "js",
2987
- "name": "menuTemplate",
2988
- "declaration": {
2989
- "name": "menuTemplate",
2990
- "module": "src/actions-menu/actions-menu.template.ts"
2991
- }
2992
- },
2993
- {
2994
- "kind": "js",
2995
- "name": "singleOptionTemplate",
2996
- "declaration": {
2997
- "name": "singleOptionTemplate",
2998
- "module": "src/actions-menu/actions-menu.template.ts"
2999
- }
3000
- },
3001
- {
3002
- "kind": "js",
3003
- "name": "foundationActionsMenuTemplate",
3052
+ "name": "foundationAiIndicatorTemplate",
3004
3053
  "declaration": {
3005
- "name": "foundationActionsMenuTemplate",
3006
- "module": "src/actions-menu/actions-menu.template.ts"
3054
+ "name": "foundationAiIndicatorTemplate",
3055
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3007
3056
  }
3008
3057
  }
3009
3058
  ]
3010
3059
  },
3011
3060
  {
3012
3061
  "kind": "javascript-module",
3013
- "path": "src/actions-menu/actions-menu.ts",
3062
+ "path": "src/ai-indicator/ai-indicator.ts",
3014
3063
  "declarations": [
3015
3064
  {
3016
3065
  "kind": "class",
3017
3066
  "description": "",
3018
- "name": "ActionsMenu",
3067
+ "name": "AiIndicator",
3019
3068
  "members": [
3020
3069
  {
3021
3070
  "kind": "field",
3022
- "name": "actions",
3071
+ "name": "aiProvider",
3023
3072
  "type": {
3024
- "text": "ActionMenuItem[]"
3073
+ "text": "AIProvider"
3025
3074
  }
3026
3075
  },
3027
3076
  {
3028
3077
  "kind": "field",
3029
- "name": "isVertical",
3030
- "type": {
3031
- "text": "boolean"
3032
- },
3033
- "default": "false"
3034
- },
3035
- {
3036
- "kind": "field",
3037
- "name": "addDefaultActions",
3078
+ "name": "status",
3038
3079
  "type": {
3039
- "text": "boolean"
3080
+ "text": "AIStatus | null"
3040
3081
  },
3041
- "default": "true"
3082
+ "default": "null"
3042
3083
  },
3043
3084
  {
3044
3085
  "kind": "field",
3045
- "name": "autoCloseOnAction",
3086
+ "name": "open",
3046
3087
  "type": {
3047
3088
  "text": "boolean"
3048
3089
  },
3049
- "default": "true"
3050
- },
3051
- {
3052
- "kind": "field",
3053
- "name": "classNames",
3054
- "type": {
3055
- "text": "string"
3056
- }
3057
- },
3058
- {
3059
- "kind": "field",
3060
- "name": "definition",
3061
- "type": {
3062
- "text": "any"
3063
- }
3090
+ "default": "false"
3064
3091
  },
3065
3092
  {
3066
3093
  "kind": "field",
3067
- "name": "name",
3094
+ "name": "state",
3068
3095
  "type": {
3069
- "text": "string"
3096
+ "text": "AIIndicatorState"
3070
3097
  },
3071
- "default": "'Actions'"
3098
+ "default": "'none'"
3072
3099
  },
3073
3100
  {
3074
3101
  "kind": "field",
3075
- "name": "open",
3102
+ "name": "isInstalling",
3076
3103
  "type": {
3077
3104
  "text": "boolean"
3078
3105
  },
@@ -3080,117 +3107,133 @@
3080
3107
  },
3081
3108
  {
3082
3109
  "kind": "field",
3083
- "name": "buttonAppearance",
3110
+ "name": "pollTimer",
3084
3111
  "type": {
3085
- "text": "string"
3086
- }
3112
+ "text": "ReturnType<typeof setInterval> | null"
3113
+ },
3114
+ "privacy": "private",
3115
+ "default": "null"
3087
3116
  },
3088
3117
  {
3089
3118
  "kind": "field",
3090
- "name": "hideDisabled",
3119
+ "name": "clickOutside",
3120
+ "privacy": "private"
3121
+ },
3122
+ {
3123
+ "kind": "field",
3124
+ "name": "chromeStatusLabel",
3091
3125
  "type": {
3092
- "text": "boolean"
3126
+ "text": "string | null"
3093
3127
  },
3094
- "default": "false"
3128
+ "readonly": true
3095
3129
  },
3096
3130
  {
3097
3131
  "kind": "field",
3098
- "name": "hideMenuSingleOption",
3132
+ "name": "canInstall",
3099
3133
  "type": {
3100
3134
  "text": "boolean"
3101
3135
  },
3102
- "default": "false"
3136
+ "readonly": true
3103
3137
  },
3104
3138
  {
3105
3139
  "kind": "field",
3106
- "name": "singleOption",
3140
+ "name": "isDownloading",
3107
3141
  "type": {
3108
- "text": "ActionMenuItem"
3109
- }
3142
+ "text": "boolean"
3143
+ },
3144
+ "readonly": true
3110
3145
  },
3111
3146
  {
3112
- "kind": "field",
3113
- "name": "actionsMenu",
3114
- "type": {
3115
- "text": "HTMLElement"
3147
+ "kind": "method",
3148
+ "name": "openChanged",
3149
+ "return": {
3150
+ "type": {
3151
+ "text": "void"
3152
+ }
3116
3153
  }
3117
3154
  },
3118
3155
  {
3119
3156
  "kind": "method",
3120
- "name": "definitionChanged",
3121
- "privacy": "protected",
3157
+ "name": "handleClickOutside",
3158
+ "privacy": "private",
3122
3159
  "parameters": [
3123
3160
  {
3124
- "name": "oldValue",
3125
- "type": {
3126
- "text": "any"
3127
- }
3128
- },
3129
- {
3130
- "name": "newValue",
3161
+ "name": "event",
3131
3162
  "type": {
3132
- "text": "any"
3163
+ "text": "MouseEvent"
3133
3164
  }
3134
3165
  }
3135
3166
  ]
3136
3167
  },
3137
3168
  {
3138
3169
  "kind": "method",
3139
- "name": "openChanged",
3140
- "privacy": "protected"
3170
+ "name": "toggleDropdown"
3141
3171
  },
3142
3172
  {
3143
3173
  "kind": "method",
3144
- "name": "toggleActionsMenuVisibility"
3174
+ "name": "refreshStatus",
3175
+ "return": {
3176
+ "type": {
3177
+ "text": "Promise<void>"
3178
+ }
3179
+ }
3145
3180
  },
3146
3181
  {
3147
3182
  "kind": "method",
3148
- "name": "onActionMenuItemClick",
3183
+ "name": "deriveState",
3184
+ "privacy": "private",
3185
+ "return": {
3186
+ "type": {
3187
+ "text": "AIIndicatorState"
3188
+ }
3189
+ },
3149
3190
  "parameters": [
3150
3191
  {
3151
- "name": "callback",
3192
+ "name": "s",
3152
3193
  "type": {
3153
- "text": "(rowData) => void | any"
3194
+ "text": "AIStatus | null"
3154
3195
  }
3155
3196
  }
3156
3197
  ]
3157
3198
  },
3158
3199
  {
3159
- "kind": "field",
3160
- "name": "allActions",
3161
- "type": {
3162
- "text": "ActionMenuItem[]"
3163
- },
3164
- "readonly": true
3200
+ "kind": "method",
3201
+ "name": "maybeStartPolling",
3202
+ "privacy": "private",
3203
+ "return": {
3204
+ "type": {
3205
+ "text": "void"
3206
+ }
3207
+ }
3165
3208
  },
3166
3209
  {
3167
- "kind": "field",
3168
- "name": "rowData",
3169
- "readonly": true
3210
+ "kind": "method",
3211
+ "name": "startPolling",
3212
+ "privacy": "private",
3213
+ "return": {
3214
+ "type": {
3215
+ "text": "void"
3216
+ }
3217
+ }
3170
3218
  },
3171
3219
  {
3172
3220
  "kind": "method",
3173
- "name": "getLabel",
3174
- "parameters": [
3175
- {
3176
- "name": "name",
3177
- "type": {
3178
- "text": "string | ((rowData: any) => string)"
3179
- }
3221
+ "name": "stopPolling",
3222
+ "privacy": "private",
3223
+ "return": {
3224
+ "type": {
3225
+ "text": "void"
3180
3226
  }
3181
- ]
3227
+ }
3182
3228
  },
3183
3229
  {
3184
3230
  "kind": "method",
3185
- "name": "getTemplate",
3186
- "parameters": [
3187
- {
3188
- "name": "prefix",
3189
- "type": {
3190
- "text": "string"
3191
- }
3231
+ "name": "onInstall",
3232
+ "return": {
3233
+ "type": {
3234
+ "text": "Promise<void>"
3192
3235
  }
3193
- ]
3236
+ }
3194
3237
  },
3195
3238
  {
3196
3239
  "kind": "field",
@@ -3304,131 +3347,88 @@
3304
3347
  }
3305
3348
  }
3306
3349
  ],
3307
- "attributes": [
3308
- {
3309
- "name": "is-vertical",
3310
- "type": {
3311
- "text": "boolean"
3312
- },
3313
- "default": "false",
3314
- "fieldName": "isVertical"
3315
- },
3316
- {
3317
- "name": "add-default-actions",
3318
- "type": {
3319
- "text": "boolean"
3320
- },
3321
- "default": "true",
3322
- "fieldName": "addDefaultActions"
3323
- },
3324
- {
3325
- "name": "auto-close-on-action",
3326
- "type": {
3327
- "text": "boolean"
3328
- },
3329
- "default": "true",
3330
- "fieldName": "autoCloseOnAction"
3331
- },
3332
- {
3333
- "name": "name",
3334
- "type": {
3335
- "text": "string"
3336
- },
3337
- "default": "'Actions'",
3338
- "fieldName": "name"
3339
- },
3340
- {
3341
- "name": "open",
3342
- "type": {
3343
- "text": "boolean"
3344
- },
3345
- "default": "false",
3346
- "fieldName": "open"
3347
- },
3348
- {
3349
- "name": "buttonAppearance",
3350
- "type": {
3351
- "text": "string"
3352
- },
3353
- "fieldName": "buttonAppearance"
3354
- },
3355
- {
3356
- "name": "hide-disabled",
3357
- "type": {
3358
- "text": "boolean"
3359
- },
3360
- "default": "false",
3361
- "fieldName": "hideDisabled"
3362
- },
3363
- {
3364
- "name": "hide-menu-single-option",
3365
- "type": {
3366
- "text": "boolean"
3367
- },
3368
- "default": "false",
3369
- "fieldName": "hideMenuSingleOption"
3370
- }
3371
- ],
3372
3350
  "superclass": {
3373
3351
  "name": "FoundationElement",
3374
3352
  "package": "@microsoft/fast-foundation"
3375
3353
  },
3376
- "tagName": "%%prefix%%-actions-menu",
3354
+ "tagName": "%%prefix%%-ai-indicator",
3377
3355
  "customElement": true
3378
3356
  },
3379
3357
  {
3380
3358
  "kind": "variable",
3381
- "name": "foundationActionsMenu",
3382
- "description": "The Foundation Actions Menu",
3383
- "privacy": "public"
3359
+ "name": "foundationAiIndicator"
3384
3360
  }
3385
3361
  ],
3386
3362
  "exports": [
3387
3363
  {
3388
3364
  "kind": "js",
3389
- "name": "ActionsMenu",
3365
+ "name": "AiIndicator",
3390
3366
  "declaration": {
3391
- "name": "ActionsMenu",
3392
- "module": "src/actions-menu/actions-menu.ts"
3367
+ "name": "AiIndicator",
3368
+ "module": "src/ai-indicator/ai-indicator.ts"
3393
3369
  }
3394
3370
  },
3395
3371
  {
3396
3372
  "kind": "js",
3397
- "name": "foundationActionsMenu",
3373
+ "name": "foundationAiIndicator",
3398
3374
  "declaration": {
3399
- "name": "foundationActionsMenu",
3400
- "module": "src/actions-menu/actions-menu.ts"
3375
+ "name": "foundationAiIndicator",
3376
+ "module": "src/ai-indicator/ai-indicator.ts"
3401
3377
  }
3402
3378
  }
3403
3379
  ]
3404
3380
  },
3405
3381
  {
3406
3382
  "kind": "javascript-module",
3407
- "path": "src/actions-menu/index.ts",
3383
+ "path": "src/ai-indicator/index.ts",
3408
3384
  "declarations": [],
3409
3385
  "exports": [
3410
3386
  {
3411
3387
  "kind": "js",
3412
- "name": "*",
3388
+ "name": "AiIndicator",
3413
3389
  "declaration": {
3414
- "name": "*",
3415
- "package": "./actions-menu.styles"
3390
+ "name": "AiIndicator",
3391
+ "module": "./ai-indicator"
3416
3392
  }
3417
3393
  },
3418
3394
  {
3419
3395
  "kind": "js",
3420
- "name": "*",
3396
+ "name": "foundationAiIndicator",
3421
3397
  "declaration": {
3422
- "name": "*",
3423
- "package": "./actions-menu.template"
3398
+ "name": "foundationAiIndicator",
3399
+ "module": "./ai-indicator"
3424
3400
  }
3425
3401
  },
3426
3402
  {
3427
3403
  "kind": "js",
3428
- "name": "*",
3404
+ "name": "type",
3429
3405
  "declaration": {
3430
- "name": "*",
3431
- "package": "./actions-menu"
3406
+ "name": "type",
3407
+ "module": "./ai-indicator"
3408
+ }
3409
+ },
3410
+ {
3411
+ "kind": "js",
3412
+ "name": "AIIndicatorState",
3413
+ "declaration": {
3414
+ "name": "AIIndicatorState",
3415
+ "module": "./ai-indicator"
3416
+ }
3417
+ },
3418
+ {
3419
+ "kind": "js",
3420
+ "name": "foundationAiIndicatorTemplate",
3421
+ "declaration": {
3422
+ "name": "foundationAiIndicatorTemplate",
3423
+ "module": "./ai-indicator.template"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "foundationAiIndicatorStyles",
3429
+ "declaration": {
3430
+ "name": "foundationAiIndicatorStyles",
3431
+ "module": "./ai-indicator.styles"
3432
3432
  }
3433
3433
  }
3434
3434
  ]