@genesislcap/foundation-ui 14.426.0 → 14.426.1-alpha-79840b9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -836,6 +836,14 @@
836
836
  "package": "./utils/base-datasource"
837
837
  }
838
838
  },
839
+ {
840
+ "kind": "js",
841
+ "name": "*",
842
+ "declaration": {
843
+ "name": "*",
844
+ "package": "./utils/editable-elements"
845
+ }
846
+ },
839
847
  {
840
848
  "kind": "js",
841
849
  "name": "getDesignSystemPrefix",
@@ -1390,37 +1398,6 @@
1390
1398
  }
1391
1399
  ]
1392
1400
  },
1393
- {
1394
- "kind": "javascript-module",
1395
- "path": "src/_config/index.ts",
1396
- "declarations": [],
1397
- "exports": [
1398
- {
1399
- "kind": "js",
1400
- "name": "*",
1401
- "declaration": {
1402
- "name": "*",
1403
- "package": "./styles"
1404
- }
1405
- },
1406
- {
1407
- "kind": "js",
1408
- "name": "*",
1409
- "declaration": {
1410
- "name": "*",
1411
- "package": "./tokens"
1412
- }
1413
- },
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./values"
1420
- }
1421
- }
1422
- ]
1423
- },
1424
1401
  {
1425
1402
  "kind": "javascript-module",
1426
1403
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1817,306 +1794,222 @@
1817
1794
  },
1818
1795
  {
1819
1796
  "kind": "javascript-module",
1820
- "path": "src/accordion/accordion.styles.ts",
1797
+ "path": "src/_config/index.ts",
1798
+ "declarations": [],
1799
+ "exports": [
1800
+ {
1801
+ "kind": "js",
1802
+ "name": "*",
1803
+ "declaration": {
1804
+ "name": "*",
1805
+ "package": "./styles"
1806
+ }
1807
+ },
1808
+ {
1809
+ "kind": "js",
1810
+ "name": "*",
1811
+ "declaration": {
1812
+ "name": "*",
1813
+ "package": "./tokens"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "*",
1819
+ "declaration": {
1820
+ "name": "*",
1821
+ "package": "./values"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1826
+ {
1827
+ "kind": "javascript-module",
1828
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1821
1829
  "declarations": [
1822
1830
  {
1823
- "kind": "function",
1824
- "name": "foundationAccordionStyles",
1825
- "return": {
1826
- "type": {
1827
- "text": "ElementStyles"
1828
- }
1829
- },
1830
- "parameters": [
1831
- {
1832
- "name": "context",
1833
- "type": {
1834
- "text": "ElementDefinitionContext"
1835
- }
1836
- },
1837
- {
1838
- "name": "definition",
1839
- "type": {
1840
- "text": "FoundationElementDefinition"
1841
- }
1842
- }
1843
- ]
1831
+ "kind": "variable",
1832
+ "name": "foundationAiCriteriaSearchStyles",
1833
+ "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`"
1844
1834
  }
1845
1835
  ],
1846
1836
  "exports": [
1847
1837
  {
1848
1838
  "kind": "js",
1849
- "name": "foundationAccordionStyles",
1839
+ "name": "foundationAiCriteriaSearchStyles",
1850
1840
  "declaration": {
1851
- "name": "foundationAccordionStyles",
1852
- "module": "src/accordion/accordion.styles.ts"
1841
+ "name": "foundationAiCriteriaSearchStyles",
1842
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1853
1843
  }
1854
1844
  }
1855
1845
  ]
1856
1846
  },
1857
1847
  {
1858
1848
  "kind": "javascript-module",
1859
- "path": "src/accordion/accordion.template.ts",
1849
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1860
1850
  "declarations": [
1861
1851
  {
1862
- "kind": "function",
1863
- "name": "foundationAccordionTemplate",
1864
- "return": {
1865
- "type": {
1866
- "text": "ViewTemplate<Accordion>"
1867
- }
1852
+ "kind": "variable",
1853
+ "name": "foundationAiCriteriaSearchTemplate",
1854
+ "type": {
1855
+ "text": "ViewTemplate<AiCriteriaSearch>"
1868
1856
  },
1869
- "parameters": [
1870
- {
1871
- "name": "context",
1872
- "type": {
1873
- "text": "ElementDefinitionContext"
1874
- }
1875
- },
1876
- {
1877
- "name": "definition",
1878
- "type": {
1879
- "text": "FoundationElementDefinition"
1880
- }
1881
- }
1882
- ]
1857
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1883
1858
  }
1884
1859
  ],
1885
1860
  "exports": [
1886
1861
  {
1887
1862
  "kind": "js",
1888
- "name": "foundationAccordionTemplate",
1863
+ "name": "foundationAiCriteriaSearchTemplate",
1889
1864
  "declaration": {
1890
- "name": "foundationAccordionTemplate",
1891
- "module": "src/accordion/accordion.template.ts"
1865
+ "name": "foundationAiCriteriaSearchTemplate",
1866
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1892
1867
  }
1893
1868
  }
1894
1869
  ]
1895
1870
  },
1896
1871
  {
1897
1872
  "kind": "javascript-module",
1898
- "path": "src/accordion/accordion.ts",
1873
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1899
1874
  "declarations": [
1900
1875
  {
1901
1876
  "kind": "class",
1902
- "description": "",
1903
- "name": "Accordion",
1904
- "superclass": {
1905
- "name": "FASTAccordion",
1906
- "package": "@microsoft/fast-foundation"
1907
- },
1908
- "tagName": "%%prefix%%-accordion",
1909
- "customElement": true,
1910
- "attributes": [
1877
+ "description": "Natural-language criteria search input with AI interpretation.",
1878
+ "name": "AiCriteriaSearch",
1879
+ "members": [
1911
1880
  {
1912
- "name": "expand-mode",
1881
+ "kind": "field",
1882
+ "name": "aiProvider",
1913
1883
  "type": {
1914
- "text": "AccordionExpandMode"
1915
- },
1916
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1917
- "fieldName": "expandmode",
1918
- "inheritedFrom": {
1919
- "name": "Accordion",
1920
- "module": "src/accordion/accordion.ts"
1884
+ "text": "AIProvider"
1921
1885
  }
1922
- }
1923
- ],
1924
- "members": [
1886
+ },
1925
1887
  {
1926
1888
  "kind": "field",
1927
- "name": "expandmode",
1889
+ "name": "placeholder",
1928
1890
  "type": {
1929
- "text": "AccordionExpandMode"
1891
+ "text": "string"
1930
1892
  },
1931
- "privacy": "public",
1932
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1933
- "inheritedFrom": {
1934
- "name": "Accordion",
1935
- "module": "src/accordion/accordion.ts"
1893
+ "default": "'Describe your search criteria in natural language...'"
1894
+ },
1895
+ {
1896
+ "kind": "field",
1897
+ "name": "disabled",
1898
+ "type": {
1899
+ "text": "boolean"
1936
1900
  }
1937
1901
  },
1938
1902
  {
1939
1903
  "kind": "field",
1940
- "name": "activeid",
1904
+ "name": "mode",
1941
1905
  "type": {
1942
- "text": "string | null"
1906
+ "text": "'append' | 'replace'"
1943
1907
  },
1944
- "privacy": "private",
1945
- "inheritedFrom": {
1946
- "name": "Accordion",
1947
- "module": "src/accordion/accordion.ts"
1948
- }
1908
+ "default": "'replace'"
1949
1909
  },
1950
1910
  {
1951
1911
  "kind": "field",
1952
- "name": "activeItemIndex",
1912
+ "name": "inputValue",
1953
1913
  "type": {
1954
- "text": "number"
1914
+ "text": "string"
1955
1915
  },
1956
- "privacy": "private",
1957
- "default": "0",
1958
- "inheritedFrom": {
1959
- "name": "Accordion",
1960
- "module": "src/accordion/accordion.ts"
1961
- }
1916
+ "default": "''"
1962
1917
  },
1963
1918
  {
1964
1919
  "kind": "field",
1965
- "name": "accordionIds",
1920
+ "name": "isInterpreting",
1966
1921
  "type": {
1967
- "text": "Array<string | null>"
1922
+ "text": "boolean"
1968
1923
  },
1969
- "privacy": "private",
1970
- "inheritedFrom": {
1971
- "name": "Accordion",
1972
- "module": "src/accordion/accordion.ts"
1973
- }
1924
+ "default": "false"
1974
1925
  },
1975
1926
  {
1976
1927
  "kind": "field",
1977
- "name": "change",
1978
- "privacy": "private",
1979
- "inheritedFrom": {
1980
- "name": "Accordion",
1981
- "module": "src/accordion/accordion.ts"
1982
- }
1928
+ "name": "lastValidCriteria",
1929
+ "type": {
1930
+ "text": "string | null"
1931
+ },
1932
+ "default": "null"
1983
1933
  },
1984
1934
  {
1985
- "kind": "method",
1986
- "name": "findExpandedItem",
1987
- "privacy": "private",
1988
- "return": {
1989
- "type": {
1990
- "text": "AccordionItem | null"
1991
- }
1935
+ "kind": "field",
1936
+ "name": "fieldMetadata",
1937
+ "type": {
1938
+ "text": "MetadataDetail[] | string[]"
1992
1939
  },
1993
- "inheritedFrom": {
1994
- "name": "Accordion",
1995
- "module": "src/accordion/accordion.ts"
1996
- }
1940
+ "default": "[]"
1997
1941
  },
1998
1942
  {
1999
1943
  "kind": "field",
2000
- "name": "setItems",
2001
- "privacy": "private",
2002
- "inheritedFrom": {
2003
- "name": "Accordion",
2004
- "module": "src/accordion/accordion.ts"
2005
- }
1944
+ "name": "isRecording",
1945
+ "type": {
1946
+ "text": "boolean"
1947
+ },
1948
+ "default": "false"
2006
1949
  },
2007
1950
  {
2008
- "kind": "method",
2009
- "name": "resetItems",
2010
- "privacy": "private",
2011
- "return": {
2012
- "type": {
2013
- "text": "void"
2014
- }
1951
+ "kind": "field",
1952
+ "name": "textAreaRef",
1953
+ "type": {
1954
+ "text": "HTMLTextAreaElement"
2015
1955
  },
2016
- "inheritedFrom": {
2017
- "name": "Accordion",
2018
- "module": "src/accordion/accordion.ts"
2019
- }
1956
+ "privacy": "public"
2020
1957
  },
2021
1958
  {
2022
1959
  "kind": "field",
2023
- "name": "removeItemListeners",
1960
+ "name": "stopRecording",
1961
+ "type": {
1962
+ "text": "(() => void) | null"
1963
+ },
2024
1964
  "privacy": "private",
2025
- "inheritedFrom": {
2026
- "name": "Accordion",
2027
- "module": "src/accordion/accordion.ts"
2028
- }
1965
+ "default": "null"
2029
1966
  },
2030
1967
  {
2031
1968
  "kind": "field",
2032
- "name": "activeItemChange",
1969
+ "name": "speechApplyDebounceTimer",
1970
+ "type": {
1971
+ "text": "ReturnType<typeof setTimeout> | null"
1972
+ },
2033
1973
  "privacy": "private",
2034
- "inheritedFrom": {
2035
- "name": "Accordion",
2036
- "module": "src/accordion/accordion.ts"
2037
- }
1974
+ "default": "null"
2038
1975
  },
2039
1976
  {
2040
- "kind": "method",
2041
- "name": "getItemIds",
1977
+ "kind": "field",
1978
+ "name": "baseInputForAppend",
1979
+ "type": {
1980
+ "text": "string"
1981
+ },
2042
1982
  "privacy": "private",
2043
- "return": {
2044
- "type": {
2045
- "text": "Array<string | null>"
2046
- }
1983
+ "default": "''"
1984
+ },
1985
+ {
1986
+ "kind": "field",
1987
+ "name": "speechAvailable",
1988
+ "type": {
1989
+ "text": "boolean"
2047
1990
  },
2048
- "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2051
- }
1991
+ "readonly": true
2052
1992
  },
2053
1993
  {
2054
1994
  "kind": "method",
2055
- "name": "isSingleExpandMode",
2056
- "privacy": "private",
2057
- "return": {
2058
- "type": {
2059
- "text": "boolean"
2060
- }
2061
- },
2062
- "inheritedFrom": {
2063
- "name": "Accordion",
2064
- "module": "src/accordion/accordion.ts"
2065
- }
1995
+ "name": "handleSubmit"
2066
1996
  },
2067
1997
  {
2068
- "kind": "field",
2069
- "name": "handleItemKeyDown",
2070
- "privacy": "private",
2071
- "inheritedFrom": {
2072
- "name": "Accordion",
2073
- "module": "src/accordion/accordion.ts"
2074
- }
1998
+ "kind": "method",
1999
+ "name": "handleBlur"
2075
2000
  },
2076
2001
  {
2077
- "kind": "field",
2078
- "name": "handleItemFocus",
2079
- "privacy": "private",
2080
- "inheritedFrom": {
2081
- "name": "Accordion",
2082
- "module": "src/accordion/accordion.ts"
2083
- }
2002
+ "kind": "method",
2003
+ "name": "clear"
2084
2004
  },
2085
2005
  {
2086
2006
  "kind": "method",
2087
- "name": "adjust",
2088
- "privacy": "private",
2089
- "return": {
2090
- "type": {
2091
- "text": "void"
2092
- }
2093
- },
2094
- "parameters": [
2095
- {
2096
- "name": "adjustment",
2097
- "type": {
2098
- "text": "number"
2099
- }
2100
- }
2101
- ],
2102
- "inheritedFrom": {
2103
- "name": "Accordion",
2104
- "module": "src/accordion/accordion.ts"
2105
- }
2007
+ "name": "toggleSpeechInput"
2106
2008
  },
2107
2009
  {
2108
2010
  "kind": "method",
2109
- "name": "focusItem",
2110
- "privacy": "private",
2111
- "return": {
2112
- "type": {
2113
- "text": "void"
2114
- }
2115
- },
2116
- "inheritedFrom": {
2117
- "name": "Accordion",
2118
- "module": "src/accordion/accordion.ts"
2119
- }
2011
+ "name": "clearSpeechApplyDebounce",
2012
+ "privacy": "private"
2120
2013
  },
2121
2014
  {
2122
2015
  "kind": "field",
@@ -2232,26 +2125,56 @@
2232
2125
  ],
2233
2126
  "events": [
2234
2127
  {
2235
- "description": "Fires a custom 'change' event when the active item changes",
2236
- "name": "change",
2237
- "inheritedFrom": {
2238
- "name": "Accordion",
2239
- "module": "src/accordion/accordion.ts"
2240
- }
2128
+ "description": "Fired when interpreted criteria is applied or cleared",
2129
+ "name": "criteria-changed"
2130
+ },
2131
+ {
2132
+ "description": "Fired when interpreted criteria contains invalid clauses",
2133
+ "name": "validation-errors"
2241
2134
  }
2242
- ]
2135
+ ],
2136
+ "attributes": [
2137
+ {
2138
+ "name": "placeholder",
2139
+ "type": {
2140
+ "text": "string"
2141
+ },
2142
+ "default": "'Describe your search criteria in natural language...'",
2143
+ "fieldName": "placeholder"
2144
+ },
2145
+ {
2146
+ "type": {
2147
+ "text": "boolean"
2148
+ },
2149
+ "fieldName": "disabled"
2150
+ },
2151
+ {
2152
+ "name": "mode",
2153
+ "type": {
2154
+ "text": "'append' | 'replace'"
2155
+ },
2156
+ "default": "'replace'",
2157
+ "fieldName": "mode"
2158
+ }
2159
+ ],
2160
+ "superclass": {
2161
+ "name": "FoundationElement",
2162
+ "package": "@microsoft/fast-foundation"
2163
+ },
2164
+ "tagName": "%%prefix%%-ai-criteria-search",
2165
+ "customElement": true
2243
2166
  },
2244
2167
  {
2245
2168
  "kind": "variable",
2246
- "name": "foundationAccordionShadowOptions",
2169
+ "name": "foundationAiCriteriaSearchShadowOptions",
2247
2170
  "type": {
2248
2171
  "text": "ShadowRootInit"
2249
2172
  },
2250
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2173
+ "default": "undefined"
2251
2174
  },
2252
2175
  {
2253
2176
  "kind": "variable",
2254
- "name": "defaultAccordionConfig",
2177
+ "name": "defaultAiCriteriaSearchConfig",
2255
2178
  "type": {
2256
2179
  "text": "object"
2257
2180
  },
@@ -2259,57 +2182,103 @@
2259
2182
  },
2260
2183
  {
2261
2184
  "kind": "variable",
2262
- "name": "foundationAccordion",
2263
- "description": "The Foundation Accordion",
2264
- "privacy": "public"
2185
+ "name": "foundationAiCriteriaSearch"
2265
2186
  }
2266
2187
  ],
2267
2188
  "exports": [
2268
2189
  {
2269
2190
  "kind": "js",
2270
- "name": "Accordion",
2191
+ "name": "AiCriteriaSearch",
2271
2192
  "declaration": {
2272
- "name": "Accordion",
2273
- "module": "src/accordion/accordion.ts"
2193
+ "name": "AiCriteriaSearch",
2194
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2274
2195
  }
2275
2196
  },
2276
2197
  {
2277
2198
  "kind": "js",
2278
- "name": "foundationAccordionShadowOptions",
2199
+ "name": "foundationAiCriteriaSearchShadowOptions",
2279
2200
  "declaration": {
2280
- "name": "foundationAccordionShadowOptions",
2281
- "module": "src/accordion/accordion.ts"
2201
+ "name": "foundationAiCriteriaSearchShadowOptions",
2202
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2282
2203
  }
2283
2204
  },
2284
2205
  {
2285
2206
  "kind": "js",
2286
- "name": "defaultAccordionConfig",
2207
+ "name": "defaultAiCriteriaSearchConfig",
2287
2208
  "declaration": {
2288
- "name": "defaultAccordionConfig",
2289
- "module": "src/accordion/accordion.ts"
2209
+ "name": "defaultAiCriteriaSearchConfig",
2210
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2290
2211
  }
2291
2212
  },
2292
2213
  {
2293
2214
  "kind": "js",
2294
- "name": "foundationAccordion",
2215
+ "name": "foundationAiCriteriaSearch",
2295
2216
  "declaration": {
2296
- "name": "foundationAccordion",
2297
- "module": "src/accordion/accordion.ts"
2217
+ "name": "foundationAiCriteriaSearch",
2218
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2298
2219
  }
2299
2220
  }
2300
2221
  ]
2301
2222
  },
2302
2223
  {
2303
2224
  "kind": "javascript-module",
2304
- "path": "src/accordion/index.ts",
2225
+ "path": "src/ai-criteria-search/index.ts",
2305
2226
  "declarations": [],
2306
2227
  "exports": [
2228
+ {
2229
+ "kind": "js",
2230
+ "name": "AiCriteriaSearch",
2231
+ "declaration": {
2232
+ "name": "AiCriteriaSearch",
2233
+ "module": "./ai-criteria-search"
2234
+ }
2235
+ },
2236
+ {
2237
+ "kind": "js",
2238
+ "name": "defaultAiCriteriaSearchConfig",
2239
+ "declaration": {
2240
+ "name": "defaultAiCriteriaSearchConfig",
2241
+ "module": "./ai-criteria-search"
2242
+ }
2243
+ },
2244
+ {
2245
+ "kind": "js",
2246
+ "name": "foundationAiCriteriaSearch",
2247
+ "declaration": {
2248
+ "name": "foundationAiCriteriaSearch",
2249
+ "module": "./ai-criteria-search"
2250
+ }
2251
+ },
2252
+ {
2253
+ "kind": "js",
2254
+ "name": "foundationAiCriteriaSearchShadowOptions",
2255
+ "declaration": {
2256
+ "name": "foundationAiCriteriaSearchShadowOptions",
2257
+ "module": "./ai-criteria-search"
2258
+ }
2259
+ },
2260
+ {
2261
+ "kind": "js",
2262
+ "name": "foundationAiCriteriaSearchStyles",
2263
+ "declaration": {
2264
+ "name": "foundationAiCriteriaSearchStyles",
2265
+ "module": "./ai-criteria-search.styles"
2266
+ }
2267
+ },
2268
+ {
2269
+ "kind": "js",
2270
+ "name": "foundationAiCriteriaSearchTemplate",
2271
+ "declaration": {
2272
+ "name": "foundationAiCriteriaSearchTemplate",
2273
+ "module": "./ai-criteria-search.template"
2274
+ }
2275
+ },
2307
2276
  {
2308
2277
  "kind": "js",
2309
2278
  "name": "*",
2310
2279
  "declaration": {
2311
2280
  "name": "*",
2312
- "package": "./accordion.template"
2281
+ "package": "./validation/criteria-ir"
2313
2282
  }
2314
2283
  },
2315
2284
  {
@@ -2317,7 +2286,7 @@
2317
2286
  "name": "*",
2318
2287
  "declaration": {
2319
2288
  "name": "*",
2320
- "package": "./accordion.styles"
2289
+ "package": "./validation/operator-map"
2321
2290
  }
2322
2291
  },
2323
2292
  {
@@ -2325,7 +2294,82 @@
2325
2294
  "name": "*",
2326
2295
  "declaration": {
2327
2296
  "name": "*",
2328
- "package": "./accordion"
2297
+ "package": "./validation/schema-validator"
2298
+ }
2299
+ }
2300
+ ]
2301
+ },
2302
+ {
2303
+ "kind": "javascript-module",
2304
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2305
+ "declarations": [
2306
+ {
2307
+ "kind": "function",
2308
+ "name": "formatValidationErrors",
2309
+ "return": {
2310
+ "type": {
2311
+ "text": "string"
2312
+ }
2313
+ },
2314
+ "parameters": [
2315
+ {
2316
+ "name": "errors",
2317
+ "type": {
2318
+ "text": "ValidationError[]"
2319
+ }
2320
+ }
2321
+ ],
2322
+ "description": "Formats validation errors into a user-friendly message."
2323
+ },
2324
+ {
2325
+ "kind": "function",
2326
+ "name": "showCriteriaError",
2327
+ "return": {
2328
+ "type": {
2329
+ "text": "void"
2330
+ }
2331
+ },
2332
+ "parameters": [
2333
+ {
2334
+ "name": "title",
2335
+ "type": {
2336
+ "text": "string"
2337
+ },
2338
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2339
+ },
2340
+ {
2341
+ "name": "body",
2342
+ "type": {
2343
+ "text": "string"
2344
+ },
2345
+ "description": "Error message to display"
2346
+ },
2347
+ {
2348
+ "name": "tagName",
2349
+ "type": {
2350
+ "text": "string"
2351
+ },
2352
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2353
+ }
2354
+ ],
2355
+ "description": "Shows a criteria error as a toast notification."
2356
+ }
2357
+ ],
2358
+ "exports": [
2359
+ {
2360
+ "kind": "js",
2361
+ "name": "formatValidationErrors",
2362
+ "declaration": {
2363
+ "name": "formatValidationErrors",
2364
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2365
+ }
2366
+ },
2367
+ {
2368
+ "kind": "js",
2369
+ "name": "showCriteriaError",
2370
+ "declaration": {
2371
+ "name": "showCriteriaError",
2372
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2329
2373
  }
2330
2374
  }
2331
2375
  ]
@@ -2891,57 +2935,75 @@
2891
2935
  },
2892
2936
  {
2893
2937
  "kind": "javascript-module",
2894
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2938
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2895
2939
  "declarations": [
2896
2940
  {
2897
- "kind": "variable",
2898
- "name": "foundationAiCriteriaSearchStyles",
2899
- "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`"
2941
+ "kind": "function",
2942
+ "name": "foundationAiIndicatorStyles",
2943
+ "return": {
2944
+ "type": {
2945
+ "text": "ElementStyles"
2946
+ }
2947
+ },
2948
+ "parameters": [
2949
+ {
2950
+ "name": "context",
2951
+ "type": {
2952
+ "text": "ElementDefinitionContext"
2953
+ }
2954
+ },
2955
+ {
2956
+ "name": "definition",
2957
+ "type": {
2958
+ "text": "FoundationElementDefinition"
2959
+ }
2960
+ }
2961
+ ]
2900
2962
  }
2901
2963
  ],
2902
2964
  "exports": [
2903
2965
  {
2904
2966
  "kind": "js",
2905
- "name": "foundationAiCriteriaSearchStyles",
2967
+ "name": "foundationAiIndicatorStyles",
2906
2968
  "declaration": {
2907
- "name": "foundationAiCriteriaSearchStyles",
2908
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2969
+ "name": "foundationAiIndicatorStyles",
2970
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2909
2971
  }
2910
2972
  }
2911
2973
  ]
2912
2974
  },
2913
2975
  {
2914
2976
  "kind": "javascript-module",
2915
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2977
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2916
2978
  "declarations": [
2917
2979
  {
2918
2980
  "kind": "variable",
2919
- "name": "foundationAiCriteriaSearchTemplate",
2981
+ "name": "foundationAiIndicatorTemplate",
2920
2982
  "type": {
2921
- "text": "ViewTemplate<AiCriteriaSearch>"
2983
+ "text": "ViewTemplate<AiIndicator>"
2922
2984
  },
2923
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2985
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2924
2986
  }
2925
2987
  ],
2926
2988
  "exports": [
2927
2989
  {
2928
2990
  "kind": "js",
2929
- "name": "foundationAiCriteriaSearchTemplate",
2991
+ "name": "foundationAiIndicatorTemplate",
2930
2992
  "declaration": {
2931
- "name": "foundationAiCriteriaSearchTemplate",
2932
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2993
+ "name": "foundationAiIndicatorTemplate",
2994
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2933
2995
  }
2934
2996
  }
2935
2997
  ]
2936
2998
  },
2937
2999
  {
2938
3000
  "kind": "javascript-module",
2939
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3001
+ "path": "src/ai-indicator/ai-indicator.ts",
2940
3002
  "declarations": [
2941
3003
  {
2942
3004
  "kind": "class",
2943
- "description": "Natural-language criteria search input with AI interpretation.",
2944
- "name": "AiCriteriaSearch",
3005
+ "description": "",
3006
+ "name": "AiIndicator",
2945
3007
  "members": [
2946
3008
  {
2947
3009
  "kind": "field",
@@ -2952,38 +3014,31 @@
2952
3014
  },
2953
3015
  {
2954
3016
  "kind": "field",
2955
- "name": "placeholder",
3017
+ "name": "status",
2956
3018
  "type": {
2957
- "text": "string"
3019
+ "text": "AIStatus | null"
2958
3020
  },
2959
- "default": "'Describe your search criteria in natural language...'"
3021
+ "default": "null"
2960
3022
  },
2961
3023
  {
2962
3024
  "kind": "field",
2963
- "name": "disabled",
3025
+ "name": "open",
2964
3026
  "type": {
2965
3027
  "text": "boolean"
2966
- }
2967
- },
2968
- {
2969
- "kind": "field",
2970
- "name": "mode",
2971
- "type": {
2972
- "text": "'append' | 'replace'"
2973
3028
  },
2974
- "default": "'replace'"
3029
+ "default": "false"
2975
3030
  },
2976
3031
  {
2977
3032
  "kind": "field",
2978
- "name": "inputValue",
3033
+ "name": "state",
2979
3034
  "type": {
2980
- "text": "string"
3035
+ "text": "AIIndicatorState"
2981
3036
  },
2982
- "default": "''"
3037
+ "default": "'none'"
2983
3038
  },
2984
3039
  {
2985
3040
  "kind": "field",
2986
- "name": "isInterpreting",
3041
+ "name": "isInstalling",
2987
3042
  "type": {
2988
3043
  "text": "boolean"
2989
3044
  },
@@ -2991,91 +3046,133 @@
2991
3046
  },
2992
3047
  {
2993
3048
  "kind": "field",
2994
- "name": "lastValidCriteria",
3049
+ "name": "pollTimer",
2995
3050
  "type": {
2996
- "text": "string | null"
3051
+ "text": "ReturnType<typeof setInterval> | null"
2997
3052
  },
3053
+ "privacy": "private",
2998
3054
  "default": "null"
2999
3055
  },
3000
3056
  {
3001
3057
  "kind": "field",
3002
- "name": "fieldMetadata",
3003
- "type": {
3004
- "text": "MetadataDetail[] | string[]"
3005
- },
3006
- "default": "[]"
3058
+ "name": "clickOutside",
3059
+ "privacy": "private"
3007
3060
  },
3008
3061
  {
3009
3062
  "kind": "field",
3010
- "name": "isRecording",
3063
+ "name": "chromeStatusLabel",
3011
3064
  "type": {
3012
- "text": "boolean"
3065
+ "text": "string | null"
3013
3066
  },
3014
- "default": "false"
3067
+ "readonly": true
3015
3068
  },
3016
3069
  {
3017
3070
  "kind": "field",
3018
- "name": "textAreaRef",
3071
+ "name": "canInstall",
3019
3072
  "type": {
3020
- "text": "HTMLTextAreaElement"
3073
+ "text": "boolean"
3021
3074
  },
3022
- "privacy": "public"
3075
+ "readonly": true
3023
3076
  },
3024
3077
  {
3025
3078
  "kind": "field",
3026
- "name": "stopRecording",
3079
+ "name": "isDownloading",
3027
3080
  "type": {
3028
- "text": "(() => void) | null"
3081
+ "text": "boolean"
3029
3082
  },
3030
- "privacy": "private",
3031
- "default": "null"
3083
+ "readonly": true
3032
3084
  },
3033
3085
  {
3034
- "kind": "field",
3035
- "name": "speechApplyDebounceTimer",
3036
- "type": {
3037
- "text": "ReturnType<typeof setTimeout> | null"
3038
- },
3039
- "privacy": "private",
3040
- "default": "null"
3086
+ "kind": "method",
3087
+ "name": "openChanged",
3088
+ "return": {
3089
+ "type": {
3090
+ "text": "void"
3091
+ }
3092
+ }
3041
3093
  },
3042
3094
  {
3043
- "kind": "field",
3044
- "name": "baseInputForAppend",
3045
- "type": {
3046
- "text": "string"
3047
- },
3095
+ "kind": "method",
3096
+ "name": "handleClickOutside",
3048
3097
  "privacy": "private",
3049
- "default": "''"
3098
+ "parameters": [
3099
+ {
3100
+ "name": "event",
3101
+ "type": {
3102
+ "text": "MouseEvent"
3103
+ }
3104
+ }
3105
+ ]
3050
3106
  },
3051
3107
  {
3052
- "kind": "field",
3053
- "name": "speechAvailable",
3054
- "type": {
3055
- "text": "boolean"
3056
- },
3057
- "readonly": true
3108
+ "kind": "method",
3109
+ "name": "toggleDropdown"
3058
3110
  },
3059
3111
  {
3060
3112
  "kind": "method",
3061
- "name": "handleSubmit"
3113
+ "name": "refreshStatus",
3114
+ "return": {
3115
+ "type": {
3116
+ "text": "Promise<void>"
3117
+ }
3118
+ }
3062
3119
  },
3063
3120
  {
3064
3121
  "kind": "method",
3065
- "name": "handleBlur"
3122
+ "name": "deriveState",
3123
+ "privacy": "private",
3124
+ "return": {
3125
+ "type": {
3126
+ "text": "AIIndicatorState"
3127
+ }
3128
+ },
3129
+ "parameters": [
3130
+ {
3131
+ "name": "s",
3132
+ "type": {
3133
+ "text": "AIStatus | null"
3134
+ }
3135
+ }
3136
+ ]
3066
3137
  },
3067
3138
  {
3068
3139
  "kind": "method",
3069
- "name": "clear"
3140
+ "name": "maybeStartPolling",
3141
+ "privacy": "private",
3142
+ "return": {
3143
+ "type": {
3144
+ "text": "void"
3145
+ }
3146
+ }
3070
3147
  },
3071
3148
  {
3072
3149
  "kind": "method",
3073
- "name": "toggleSpeechInput"
3150
+ "name": "startPolling",
3151
+ "privacy": "private",
3152
+ "return": {
3153
+ "type": {
3154
+ "text": "void"
3155
+ }
3156
+ }
3074
3157
  },
3075
3158
  {
3076
3159
  "kind": "method",
3077
- "name": "clearSpeechApplyDebounce",
3078
- "privacy": "private"
3160
+ "name": "stopPolling",
3161
+ "privacy": "private",
3162
+ "return": {
3163
+ "type": {
3164
+ "text": "void"
3165
+ }
3166
+ }
3167
+ },
3168
+ {
3169
+ "kind": "method",
3170
+ "name": "onInstall",
3171
+ "return": {
3172
+ "type": {
3173
+ "text": "Promise<void>"
3174
+ }
3175
+ }
3079
3176
  },
3080
3177
  {
3081
3178
  "kind": "field",
@@ -3189,264 +3286,99 @@
3189
3286
  }
3190
3287
  }
3191
3288
  ],
3192
- "events": [
3193
- {
3194
- "description": "Fired when interpreted criteria is applied or cleared",
3195
- "name": "criteria-changed"
3196
- },
3197
- {
3198
- "description": "Fired when interpreted criteria contains invalid clauses",
3199
- "name": "validation-errors"
3200
- }
3201
- ],
3202
- "attributes": [
3203
- {
3204
- "name": "placeholder",
3205
- "type": {
3206
- "text": "string"
3207
- },
3208
- "default": "'Describe your search criteria in natural language...'",
3209
- "fieldName": "placeholder"
3210
- },
3211
- {
3212
- "type": {
3213
- "text": "boolean"
3214
- },
3215
- "fieldName": "disabled"
3216
- },
3217
- {
3218
- "name": "mode",
3219
- "type": {
3220
- "text": "'append' | 'replace'"
3221
- },
3222
- "default": "'replace'",
3223
- "fieldName": "mode"
3224
- }
3225
- ],
3226
3289
  "superclass": {
3227
3290
  "name": "FoundationElement",
3228
3291
  "package": "@microsoft/fast-foundation"
3229
3292
  },
3230
- "tagName": "%%prefix%%-ai-criteria-search",
3293
+ "tagName": "%%prefix%%-ai-indicator",
3231
3294
  "customElement": true
3232
3295
  },
3233
3296
  {
3234
3297
  "kind": "variable",
3235
- "name": "foundationAiCriteriaSearchShadowOptions",
3236
- "type": {
3237
- "text": "ShadowRootInit"
3238
- },
3239
- "default": "undefined"
3240
- },
3241
- {
3242
- "kind": "variable",
3243
- "name": "defaultAiCriteriaSearchConfig",
3244
- "type": {
3245
- "text": "object"
3246
- },
3247
- "default": "{}"
3248
- },
3249
- {
3250
- "kind": "variable",
3251
- "name": "foundationAiCriteriaSearch"
3298
+ "name": "foundationAiIndicator"
3252
3299
  }
3253
3300
  ],
3254
3301
  "exports": [
3255
3302
  {
3256
3303
  "kind": "js",
3257
- "name": "AiCriteriaSearch",
3258
- "declaration": {
3259
- "name": "AiCriteriaSearch",
3260
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3261
- }
3262
- },
3263
- {
3264
- "kind": "js",
3265
- "name": "foundationAiCriteriaSearchShadowOptions",
3266
- "declaration": {
3267
- "name": "foundationAiCriteriaSearchShadowOptions",
3268
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3269
- }
3270
- },
3271
- {
3272
- "kind": "js",
3273
- "name": "defaultAiCriteriaSearchConfig",
3304
+ "name": "AiIndicator",
3274
3305
  "declaration": {
3275
- "name": "defaultAiCriteriaSearchConfig",
3276
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3306
+ "name": "AiIndicator",
3307
+ "module": "src/ai-indicator/ai-indicator.ts"
3277
3308
  }
3278
3309
  },
3279
3310
  {
3280
3311
  "kind": "js",
3281
- "name": "foundationAiCriteriaSearch",
3312
+ "name": "foundationAiIndicator",
3282
3313
  "declaration": {
3283
- "name": "foundationAiCriteriaSearch",
3284
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3314
+ "name": "foundationAiIndicator",
3315
+ "module": "src/ai-indicator/ai-indicator.ts"
3285
3316
  }
3286
3317
  }
3287
3318
  ]
3288
3319
  },
3289
3320
  {
3290
3321
  "kind": "javascript-module",
3291
- "path": "src/ai-criteria-search/index.ts",
3322
+ "path": "src/ai-indicator/index.ts",
3292
3323
  "declarations": [],
3293
3324
  "exports": [
3294
3325
  {
3295
3326
  "kind": "js",
3296
- "name": "AiCriteriaSearch",
3297
- "declaration": {
3298
- "name": "AiCriteriaSearch",
3299
- "module": "./ai-criteria-search"
3300
- }
3301
- },
3302
- {
3303
- "kind": "js",
3304
- "name": "defaultAiCriteriaSearchConfig",
3305
- "declaration": {
3306
- "name": "defaultAiCriteriaSearchConfig",
3307
- "module": "./ai-criteria-search"
3308
- }
3309
- },
3310
- {
3311
- "kind": "js",
3312
- "name": "foundationAiCriteriaSearch",
3313
- "declaration": {
3314
- "name": "foundationAiCriteriaSearch",
3315
- "module": "./ai-criteria-search"
3316
- }
3317
- },
3318
- {
3319
- "kind": "js",
3320
- "name": "foundationAiCriteriaSearchShadowOptions",
3321
- "declaration": {
3322
- "name": "foundationAiCriteriaSearchShadowOptions",
3323
- "module": "./ai-criteria-search"
3324
- }
3325
- },
3326
- {
3327
- "kind": "js",
3328
- "name": "foundationAiCriteriaSearchStyles",
3329
- "declaration": {
3330
- "name": "foundationAiCriteriaSearchStyles",
3331
- "module": "./ai-criteria-search.styles"
3332
- }
3333
- },
3334
- {
3335
- "kind": "js",
3336
- "name": "foundationAiCriteriaSearchTemplate",
3327
+ "name": "AiIndicator",
3337
3328
  "declaration": {
3338
- "name": "foundationAiCriteriaSearchTemplate",
3339
- "module": "./ai-criteria-search.template"
3329
+ "name": "AiIndicator",
3330
+ "module": "./ai-indicator"
3340
3331
  }
3341
3332
  },
3342
3333
  {
3343
3334
  "kind": "js",
3344
- "name": "*",
3335
+ "name": "foundationAiIndicator",
3345
3336
  "declaration": {
3346
- "name": "*",
3347
- "package": "./validation/criteria-ir"
3337
+ "name": "foundationAiIndicator",
3338
+ "module": "./ai-indicator"
3348
3339
  }
3349
3340
  },
3350
3341
  {
3351
3342
  "kind": "js",
3352
- "name": "*",
3343
+ "name": "type",
3353
3344
  "declaration": {
3354
- "name": "*",
3355
- "package": "./validation/operator-map"
3345
+ "name": "type",
3346
+ "module": "./ai-indicator"
3356
3347
  }
3357
3348
  },
3358
3349
  {
3359
3350
  "kind": "js",
3360
- "name": "*",
3351
+ "name": "AIIndicatorState",
3361
3352
  "declaration": {
3362
- "name": "*",
3363
- "package": "./validation/schema-validator"
3353
+ "name": "AIIndicatorState",
3354
+ "module": "./ai-indicator"
3364
3355
  }
3365
- }
3366
- ]
3367
- },
3368
- {
3369
- "kind": "javascript-module",
3370
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3371
- "declarations": [
3372
- {
3373
- "kind": "function",
3374
- "name": "formatValidationErrors",
3375
- "return": {
3376
- "type": {
3377
- "text": "string"
3378
- }
3379
- },
3380
- "parameters": [
3381
- {
3382
- "name": "errors",
3383
- "type": {
3384
- "text": "ValidationError[]"
3385
- }
3386
- }
3387
- ],
3388
- "description": "Formats validation errors into a user-friendly message."
3389
3356
  },
3390
- {
3391
- "kind": "function",
3392
- "name": "showCriteriaError",
3393
- "return": {
3394
- "type": {
3395
- "text": "void"
3396
- }
3397
- },
3398
- "parameters": [
3399
- {
3400
- "name": "title",
3401
- "type": {
3402
- "text": "string"
3403
- },
3404
- "description": "Notification title (e.g. \"Criteria validation error\")"
3405
- },
3406
- {
3407
- "name": "body",
3408
- "type": {
3409
- "text": "string"
3410
- },
3411
- "description": "Error message to display"
3412
- },
3413
- {
3414
- "name": "tagName",
3415
- "type": {
3416
- "text": "string"
3417
- },
3418
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3419
- }
3420
- ],
3421
- "description": "Shows a criteria error as a toast notification."
3422
- }
3423
- ],
3424
- "exports": [
3425
3357
  {
3426
3358
  "kind": "js",
3427
- "name": "formatValidationErrors",
3359
+ "name": "foundationAiIndicatorTemplate",
3428
3360
  "declaration": {
3429
- "name": "formatValidationErrors",
3430
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3361
+ "name": "foundationAiIndicatorTemplate",
3362
+ "module": "./ai-indicator.template"
3431
3363
  }
3432
3364
  },
3433
3365
  {
3434
3366
  "kind": "js",
3435
- "name": "showCriteriaError",
3367
+ "name": "foundationAiIndicatorStyles",
3436
3368
  "declaration": {
3437
- "name": "showCriteriaError",
3438
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3369
+ "name": "foundationAiIndicatorStyles",
3370
+ "module": "./ai-indicator.styles"
3439
3371
  }
3440
3372
  }
3441
3373
  ]
3442
3374
  },
3443
3375
  {
3444
3376
  "kind": "javascript-module",
3445
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3377
+ "path": "src/accordion/accordion.styles.ts",
3446
3378
  "declarations": [
3447
3379
  {
3448
3380
  "kind": "function",
3449
- "name": "foundationAiIndicatorStyles",
3381
+ "name": "foundationAccordionStyles",
3450
3382
  "return": {
3451
3383
  "type": {
3452
3384
  "text": "ElementStyles"
@@ -3471,214 +3403,276 @@
3471
3403
  "exports": [
3472
3404
  {
3473
3405
  "kind": "js",
3474
- "name": "foundationAiIndicatorStyles",
3406
+ "name": "foundationAccordionStyles",
3475
3407
  "declaration": {
3476
- "name": "foundationAiIndicatorStyles",
3477
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3408
+ "name": "foundationAccordionStyles",
3409
+ "module": "src/accordion/accordion.styles.ts"
3478
3410
  }
3479
3411
  }
3480
3412
  ]
3481
3413
  },
3482
3414
  {
3483
3415
  "kind": "javascript-module",
3484
- "path": "src/ai-indicator/ai-indicator.template.ts",
3416
+ "path": "src/accordion/accordion.template.ts",
3485
3417
  "declarations": [
3486
3418
  {
3487
- "kind": "variable",
3488
- "name": "foundationAiIndicatorTemplate",
3489
- "type": {
3490
- "text": "ViewTemplate<AiIndicator>"
3419
+ "kind": "function",
3420
+ "name": "foundationAccordionTemplate",
3421
+ "return": {
3422
+ "type": {
3423
+ "text": "ViewTemplate<Accordion>"
3424
+ }
3491
3425
  },
3492
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3426
+ "parameters": [
3427
+ {
3428
+ "name": "context",
3429
+ "type": {
3430
+ "text": "ElementDefinitionContext"
3431
+ }
3432
+ },
3433
+ {
3434
+ "name": "definition",
3435
+ "type": {
3436
+ "text": "FoundationElementDefinition"
3437
+ }
3438
+ }
3439
+ ]
3493
3440
  }
3494
3441
  ],
3495
3442
  "exports": [
3496
3443
  {
3497
3444
  "kind": "js",
3498
- "name": "foundationAiIndicatorTemplate",
3445
+ "name": "foundationAccordionTemplate",
3499
3446
  "declaration": {
3500
- "name": "foundationAiIndicatorTemplate",
3501
- "module": "src/ai-indicator/ai-indicator.template.ts"
3447
+ "name": "foundationAccordionTemplate",
3448
+ "module": "src/accordion/accordion.template.ts"
3502
3449
  }
3503
3450
  }
3504
3451
  ]
3505
3452
  },
3506
3453
  {
3507
3454
  "kind": "javascript-module",
3508
- "path": "src/ai-indicator/ai-indicator.ts",
3455
+ "path": "src/accordion/accordion.ts",
3509
3456
  "declarations": [
3510
3457
  {
3511
3458
  "kind": "class",
3512
3459
  "description": "",
3513
- "name": "AiIndicator",
3514
- "members": [
3515
- {
3516
- "kind": "field",
3517
- "name": "aiProvider",
3518
- "type": {
3519
- "text": "AIProvider"
3520
- }
3521
- },
3460
+ "name": "Accordion",
3461
+ "superclass": {
3462
+ "name": "FASTAccordion",
3463
+ "package": "@microsoft/fast-foundation"
3464
+ },
3465
+ "tagName": "%%prefix%%-accordion",
3466
+ "customElement": true,
3467
+ "attributes": [
3522
3468
  {
3523
- "kind": "field",
3524
- "name": "status",
3469
+ "name": "expand-mode",
3525
3470
  "type": {
3526
- "text": "AIStatus | null"
3471
+ "text": "AccordionExpandMode"
3527
3472
  },
3528
- "default": "null"
3529
- },
3473
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3474
+ "fieldName": "expandmode",
3475
+ "inheritedFrom": {
3476
+ "name": "Accordion",
3477
+ "module": "src/accordion/accordion.ts"
3478
+ }
3479
+ }
3480
+ ],
3481
+ "members": [
3530
3482
  {
3531
3483
  "kind": "field",
3532
- "name": "open",
3484
+ "name": "expandmode",
3533
3485
  "type": {
3534
- "text": "boolean"
3486
+ "text": "AccordionExpandMode"
3535
3487
  },
3536
- "default": "false"
3488
+ "privacy": "public",
3489
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3490
+ "inheritedFrom": {
3491
+ "name": "Accordion",
3492
+ "module": "src/accordion/accordion.ts"
3493
+ }
3537
3494
  },
3538
3495
  {
3539
3496
  "kind": "field",
3540
- "name": "state",
3497
+ "name": "activeid",
3541
3498
  "type": {
3542
- "text": "AIIndicatorState"
3499
+ "text": "string | null"
3543
3500
  },
3544
- "default": "'none'"
3501
+ "privacy": "private",
3502
+ "inheritedFrom": {
3503
+ "name": "Accordion",
3504
+ "module": "src/accordion/accordion.ts"
3505
+ }
3545
3506
  },
3546
3507
  {
3547
3508
  "kind": "field",
3548
- "name": "isInstalling",
3509
+ "name": "activeItemIndex",
3549
3510
  "type": {
3550
- "text": "boolean"
3511
+ "text": "number"
3551
3512
  },
3552
- "default": "false"
3513
+ "privacy": "private",
3514
+ "default": "0",
3515
+ "inheritedFrom": {
3516
+ "name": "Accordion",
3517
+ "module": "src/accordion/accordion.ts"
3518
+ }
3553
3519
  },
3554
3520
  {
3555
3521
  "kind": "field",
3556
- "name": "pollTimer",
3522
+ "name": "accordionIds",
3557
3523
  "type": {
3558
- "text": "ReturnType<typeof setInterval> | null"
3524
+ "text": "Array<string | null>"
3559
3525
  },
3560
3526
  "privacy": "private",
3561
- "default": "null"
3562
- },
3563
- {
3564
- "kind": "field",
3565
- "name": "clickOutside",
3566
- "privacy": "private"
3527
+ "inheritedFrom": {
3528
+ "name": "Accordion",
3529
+ "module": "src/accordion/accordion.ts"
3530
+ }
3567
3531
  },
3568
3532
  {
3569
3533
  "kind": "field",
3570
- "name": "chromeStatusLabel",
3571
- "type": {
3572
- "text": "string | null"
3573
- },
3574
- "readonly": true
3534
+ "name": "change",
3535
+ "privacy": "private",
3536
+ "inheritedFrom": {
3537
+ "name": "Accordion",
3538
+ "module": "src/accordion/accordion.ts"
3539
+ }
3575
3540
  },
3576
3541
  {
3577
- "kind": "field",
3578
- "name": "canInstall",
3579
- "type": {
3580
- "text": "boolean"
3542
+ "kind": "method",
3543
+ "name": "findExpandedItem",
3544
+ "privacy": "private",
3545
+ "return": {
3546
+ "type": {
3547
+ "text": "AccordionItem | null"
3548
+ }
3581
3549
  },
3582
- "readonly": true
3550
+ "inheritedFrom": {
3551
+ "name": "Accordion",
3552
+ "module": "src/accordion/accordion.ts"
3553
+ }
3583
3554
  },
3584
3555
  {
3585
3556
  "kind": "field",
3586
- "name": "isDownloading",
3587
- "type": {
3588
- "text": "boolean"
3589
- },
3590
- "readonly": true
3557
+ "name": "setItems",
3558
+ "privacy": "private",
3559
+ "inheritedFrom": {
3560
+ "name": "Accordion",
3561
+ "module": "src/accordion/accordion.ts"
3562
+ }
3591
3563
  },
3592
3564
  {
3593
3565
  "kind": "method",
3594
- "name": "openChanged",
3566
+ "name": "resetItems",
3567
+ "privacy": "private",
3595
3568
  "return": {
3596
3569
  "type": {
3597
3570
  "text": "void"
3598
3571
  }
3572
+ },
3573
+ "inheritedFrom": {
3574
+ "name": "Accordion",
3575
+ "module": "src/accordion/accordion.ts"
3599
3576
  }
3600
3577
  },
3601
3578
  {
3602
- "kind": "method",
3603
- "name": "handleClickOutside",
3579
+ "kind": "field",
3580
+ "name": "removeItemListeners",
3604
3581
  "privacy": "private",
3605
- "parameters": [
3606
- {
3607
- "name": "event",
3608
- "type": {
3609
- "text": "MouseEvent"
3610
- }
3611
- }
3612
- ]
3582
+ "inheritedFrom": {
3583
+ "name": "Accordion",
3584
+ "module": "src/accordion/accordion.ts"
3585
+ }
3613
3586
  },
3614
3587
  {
3615
- "kind": "method",
3616
- "name": "toggleDropdown"
3588
+ "kind": "field",
3589
+ "name": "activeItemChange",
3590
+ "privacy": "private",
3591
+ "inheritedFrom": {
3592
+ "name": "Accordion",
3593
+ "module": "src/accordion/accordion.ts"
3594
+ }
3617
3595
  },
3618
3596
  {
3619
3597
  "kind": "method",
3620
- "name": "refreshStatus",
3598
+ "name": "getItemIds",
3599
+ "privacy": "private",
3621
3600
  "return": {
3622
3601
  "type": {
3623
- "text": "Promise<void>"
3602
+ "text": "Array<string | null>"
3624
3603
  }
3604
+ },
3605
+ "inheritedFrom": {
3606
+ "name": "Accordion",
3607
+ "module": "src/accordion/accordion.ts"
3625
3608
  }
3626
3609
  },
3627
3610
  {
3628
3611
  "kind": "method",
3629
- "name": "deriveState",
3612
+ "name": "isSingleExpandMode",
3630
3613
  "privacy": "private",
3631
3614
  "return": {
3632
3615
  "type": {
3633
- "text": "AIIndicatorState"
3616
+ "text": "boolean"
3634
3617
  }
3635
3618
  },
3636
- "parameters": [
3637
- {
3638
- "name": "s",
3639
- "type": {
3640
- "text": "AIStatus | null"
3641
- }
3642
- }
3643
- ]
3619
+ "inheritedFrom": {
3620
+ "name": "Accordion",
3621
+ "module": "src/accordion/accordion.ts"
3622
+ }
3644
3623
  },
3645
3624
  {
3646
- "kind": "method",
3647
- "name": "maybeStartPolling",
3625
+ "kind": "field",
3626
+ "name": "handleItemKeyDown",
3648
3627
  "privacy": "private",
3649
- "return": {
3650
- "type": {
3651
- "text": "void"
3652
- }
3628
+ "inheritedFrom": {
3629
+ "name": "Accordion",
3630
+ "module": "src/accordion/accordion.ts"
3653
3631
  }
3654
3632
  },
3655
3633
  {
3656
- "kind": "method",
3657
- "name": "startPolling",
3634
+ "kind": "field",
3635
+ "name": "handleItemFocus",
3658
3636
  "privacy": "private",
3659
- "return": {
3660
- "type": {
3661
- "text": "void"
3662
- }
3637
+ "inheritedFrom": {
3638
+ "name": "Accordion",
3639
+ "module": "src/accordion/accordion.ts"
3663
3640
  }
3664
3641
  },
3665
3642
  {
3666
3643
  "kind": "method",
3667
- "name": "stopPolling",
3644
+ "name": "adjust",
3668
3645
  "privacy": "private",
3669
3646
  "return": {
3670
3647
  "type": {
3671
3648
  "text": "void"
3672
3649
  }
3650
+ },
3651
+ "parameters": [
3652
+ {
3653
+ "name": "adjustment",
3654
+ "type": {
3655
+ "text": "number"
3656
+ }
3657
+ }
3658
+ ],
3659
+ "inheritedFrom": {
3660
+ "name": "Accordion",
3661
+ "module": "src/accordion/accordion.ts"
3673
3662
  }
3674
3663
  },
3675
3664
  {
3676
3665
  "kind": "method",
3677
- "name": "onInstall",
3666
+ "name": "focusItem",
3667
+ "privacy": "private",
3678
3668
  "return": {
3679
3669
  "type": {
3680
- "text": "Promise<void>"
3670
+ "text": "void"
3681
3671
  }
3672
+ },
3673
+ "inheritedFrom": {
3674
+ "name": "Accordion",
3675
+ "module": "src/accordion/accordion.ts"
3682
3676
  }
3683
3677
  },
3684
3678
  {
@@ -3793,88 +3787,102 @@
3793
3787
  }
3794
3788
  }
3795
3789
  ],
3796
- "superclass": {
3797
- "name": "FoundationElement",
3798
- "package": "@microsoft/fast-foundation"
3790
+ "events": [
3791
+ {
3792
+ "description": "Fires a custom 'change' event when the active item changes",
3793
+ "name": "change",
3794
+ "inheritedFrom": {
3795
+ "name": "Accordion",
3796
+ "module": "src/accordion/accordion.ts"
3797
+ }
3798
+ }
3799
+ ]
3800
+ },
3801
+ {
3802
+ "kind": "variable",
3803
+ "name": "foundationAccordionShadowOptions",
3804
+ "type": {
3805
+ "text": "ShadowRootInit"
3799
3806
  },
3800
- "tagName": "%%prefix%%-ai-indicator",
3801
- "customElement": true
3807
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3802
3808
  },
3803
3809
  {
3804
3810
  "kind": "variable",
3805
- "name": "foundationAiIndicator"
3811
+ "name": "defaultAccordionConfig",
3812
+ "type": {
3813
+ "text": "object"
3814
+ },
3815
+ "default": "{}"
3816
+ },
3817
+ {
3818
+ "kind": "variable",
3819
+ "name": "foundationAccordion",
3820
+ "description": "The Foundation Accordion",
3821
+ "privacy": "public"
3806
3822
  }
3807
3823
  ],
3808
3824
  "exports": [
3809
3825
  {
3810
3826
  "kind": "js",
3811
- "name": "AiIndicator",
3827
+ "name": "Accordion",
3812
3828
  "declaration": {
3813
- "name": "AiIndicator",
3814
- "module": "src/ai-indicator/ai-indicator.ts"
3829
+ "name": "Accordion",
3830
+ "module": "src/accordion/accordion.ts"
3815
3831
  }
3816
3832
  },
3817
3833
  {
3818
3834
  "kind": "js",
3819
- "name": "foundationAiIndicator",
3820
- "declaration": {
3821
- "name": "foundationAiIndicator",
3822
- "module": "src/ai-indicator/ai-indicator.ts"
3823
- }
3824
- }
3825
- ]
3826
- },
3827
- {
3828
- "kind": "javascript-module",
3829
- "path": "src/ai-indicator/index.ts",
3830
- "declarations": [],
3831
- "exports": [
3832
- {
3833
- "kind": "js",
3834
- "name": "AiIndicator",
3835
+ "name": "foundationAccordionShadowOptions",
3835
3836
  "declaration": {
3836
- "name": "AiIndicator",
3837
- "module": "./ai-indicator"
3837
+ "name": "foundationAccordionShadowOptions",
3838
+ "module": "src/accordion/accordion.ts"
3838
3839
  }
3839
3840
  },
3840
3841
  {
3841
3842
  "kind": "js",
3842
- "name": "foundationAiIndicator",
3843
+ "name": "defaultAccordionConfig",
3843
3844
  "declaration": {
3844
- "name": "foundationAiIndicator",
3845
- "module": "./ai-indicator"
3845
+ "name": "defaultAccordionConfig",
3846
+ "module": "src/accordion/accordion.ts"
3846
3847
  }
3847
3848
  },
3848
3849
  {
3849
3850
  "kind": "js",
3850
- "name": "type",
3851
+ "name": "foundationAccordion",
3851
3852
  "declaration": {
3852
- "name": "type",
3853
- "module": "./ai-indicator"
3853
+ "name": "foundationAccordion",
3854
+ "module": "src/accordion/accordion.ts"
3854
3855
  }
3855
- },
3856
+ }
3857
+ ]
3858
+ },
3859
+ {
3860
+ "kind": "javascript-module",
3861
+ "path": "src/accordion/index.ts",
3862
+ "declarations": [],
3863
+ "exports": [
3856
3864
  {
3857
3865
  "kind": "js",
3858
- "name": "AIIndicatorState",
3866
+ "name": "*",
3859
3867
  "declaration": {
3860
- "name": "AIIndicatorState",
3861
- "module": "./ai-indicator"
3868
+ "name": "*",
3869
+ "package": "./accordion.template"
3862
3870
  }
3863
3871
  },
3864
3872
  {
3865
3873
  "kind": "js",
3866
- "name": "foundationAiIndicatorTemplate",
3874
+ "name": "*",
3867
3875
  "declaration": {
3868
- "name": "foundationAiIndicatorTemplate",
3869
- "module": "./ai-indicator.template"
3876
+ "name": "*",
3877
+ "package": "./accordion.styles"
3870
3878
  }
3871
3879
  },
3872
3880
  {
3873
3881
  "kind": "js",
3874
- "name": "foundationAiIndicatorStyles",
3882
+ "name": "*",
3875
3883
  "declaration": {
3876
- "name": "foundationAiIndicatorStyles",
3877
- "module": "./ai-indicator.styles"
3884
+ "name": "*",
3885
+ "package": "./accordion"
3878
3886
  }
3879
3887
  }
3880
3888
  ]
@@ -56115,6 +56123,37 @@
56115
56123
  }
56116
56124
  ]
56117
56125
  },
56126
+ {
56127
+ "kind": "javascript-module",
56128
+ "path": "src/utils/editable-elements.ts",
56129
+ "declarations": [],
56130
+ "exports": [
56131
+ {
56132
+ "kind": "js",
56133
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
56134
+ "declaration": {
56135
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
56136
+ "package": "@genesislcap/foundation-utils"
56137
+ }
56138
+ },
56139
+ {
56140
+ "kind": "js",
56141
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
56142
+ "declaration": {
56143
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
56144
+ "package": "@genesislcap/foundation-utils"
56145
+ }
56146
+ },
56147
+ {
56148
+ "kind": "js",
56149
+ "name": "buildEditableElementSelector",
56150
+ "declaration": {
56151
+ "name": "buildEditableElementSelector",
56152
+ "package": "@genesislcap/foundation-utils"
56153
+ }
56154
+ }
56155
+ ]
56156
+ },
56118
56157
  {
56119
56158
  "kind": "javascript-module",
56120
56159
  "path": "src/utils/index.ts",