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