@genesislcap/foundation-ui 14.463.0 → 14.464.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.
@@ -1825,11 +1825,34 @@
1825
1825
  },
1826
1826
  {
1827
1827
  "kind": "javascript-module",
1828
- "path": "src/accordion/accordion.styles.ts",
1828
+ "path": "src/actions-menu/actions-menu.styles.ts",
1829
1829
  "declarations": [
1830
1830
  {
1831
1831
  "kind": "function",
1832
- "name": "foundationAccordionStyles",
1832
+ "name": "actionsMenuBaseStyles",
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
+ ]
1852
+ },
1853
+ {
1854
+ "kind": "function",
1855
+ "name": "foundationActionsMenuStyles",
1833
1856
  "return": {
1834
1857
  "type": {
1835
1858
  "text": "ElementStyles"
@@ -1854,277 +1877,269 @@
1854
1877
  "exports": [
1855
1878
  {
1856
1879
  "kind": "js",
1857
- "name": "foundationAccordionStyles",
1880
+ "name": "actionsMenuBaseStyles",
1858
1881
  "declaration": {
1859
- "name": "foundationAccordionStyles",
1860
- "module": "src/accordion/accordion.styles.ts"
1882
+ "name": "actionsMenuBaseStyles",
1883
+ "module": "src/actions-menu/actions-menu.styles.ts"
1884
+ }
1885
+ },
1886
+ {
1887
+ "kind": "js",
1888
+ "name": "foundationActionsMenuStyles",
1889
+ "declaration": {
1890
+ "name": "foundationActionsMenuStyles",
1891
+ "module": "src/actions-menu/actions-menu.styles.ts"
1861
1892
  }
1862
1893
  }
1863
1894
  ]
1864
1895
  },
1865
1896
  {
1866
1897
  "kind": "javascript-module",
1867
- "path": "src/accordion/accordion.template.ts",
1898
+ "path": "src/actions-menu/actions-menu.template.ts",
1868
1899
  "declarations": [
1869
1900
  {
1870
1901
  "kind": "function",
1871
- "name": "foundationAccordionTemplate",
1872
- "return": {
1873
- "type": {
1874
- "text": "ViewTemplate<Accordion>"
1875
- }
1876
- },
1902
+ "name": "menuTemplate",
1877
1903
  "parameters": [
1878
1904
  {
1879
- "name": "context",
1905
+ "name": "prefix",
1880
1906
  "type": {
1881
- "text": "ElementDefinitionContext"
1907
+ "text": "string"
1882
1908
  }
1883
- },
1909
+ }
1910
+ ]
1911
+ },
1912
+ {
1913
+ "kind": "function",
1914
+ "name": "singleOptionTemplate",
1915
+ "parameters": [
1884
1916
  {
1885
- "name": "definition",
1917
+ "name": "prefix",
1886
1918
  "type": {
1887
- "text": "FoundationElementDefinition"
1919
+ "text": "string"
1888
1920
  }
1889
1921
  }
1890
1922
  ]
1923
+ },
1924
+ {
1925
+ "kind": "variable",
1926
+ "name": "foundationActionsMenuTemplate",
1927
+ "type": {
1928
+ "text": "ViewTemplate<ActionsMenu>"
1929
+ },
1930
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1891
1931
  }
1892
1932
  ],
1893
1933
  "exports": [
1894
1934
  {
1895
1935
  "kind": "js",
1896
- "name": "foundationAccordionTemplate",
1936
+ "name": "menuTemplate",
1897
1937
  "declaration": {
1898
- "name": "foundationAccordionTemplate",
1899
- "module": "src/accordion/accordion.template.ts"
1938
+ "name": "menuTemplate",
1939
+ "module": "src/actions-menu/actions-menu.template.ts"
1940
+ }
1941
+ },
1942
+ {
1943
+ "kind": "js",
1944
+ "name": "singleOptionTemplate",
1945
+ "declaration": {
1946
+ "name": "singleOptionTemplate",
1947
+ "module": "src/actions-menu/actions-menu.template.ts"
1948
+ }
1949
+ },
1950
+ {
1951
+ "kind": "js",
1952
+ "name": "foundationActionsMenuTemplate",
1953
+ "declaration": {
1954
+ "name": "foundationActionsMenuTemplate",
1955
+ "module": "src/actions-menu/actions-menu.template.ts"
1900
1956
  }
1901
1957
  }
1902
1958
  ]
1903
1959
  },
1904
1960
  {
1905
1961
  "kind": "javascript-module",
1906
- "path": "src/accordion/accordion.ts",
1962
+ "path": "src/actions-menu/actions-menu.ts",
1907
1963
  "declarations": [
1908
1964
  {
1909
1965
  "kind": "class",
1910
1966
  "description": "",
1911
- "name": "Accordion",
1912
- "superclass": {
1913
- "name": "FASTAccordion",
1914
- "package": "@microsoft/fast-foundation"
1915
- },
1916
- "tagName": "%%prefix%%-accordion",
1917
- "customElement": true,
1918
- "attributes": [
1967
+ "name": "ActionsMenu",
1968
+ "members": [
1919
1969
  {
1920
- "name": "expand-mode",
1970
+ "kind": "field",
1971
+ "name": "actions",
1921
1972
  "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"
1973
+ "text": "ActionMenuItem[]"
1929
1974
  }
1930
- }
1931
- ],
1932
- "members": [
1975
+ },
1933
1976
  {
1934
1977
  "kind": "field",
1935
- "name": "expandmode",
1978
+ "name": "isVertical",
1936
1979
  "type": {
1937
- "text": "AccordionExpandMode"
1980
+ "text": "boolean"
1938
1981
  },
1939
- "privacy": "public",
1940
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
- "inheritedFrom": {
1942
- "name": "Accordion",
1943
- "module": "src/accordion/accordion.ts"
1944
- }
1982
+ "default": "false"
1945
1983
  },
1946
1984
  {
1947
1985
  "kind": "field",
1948
- "name": "activeid",
1986
+ "name": "addDefaultActions",
1949
1987
  "type": {
1950
- "text": "string | null"
1988
+ "text": "boolean"
1951
1989
  },
1952
- "privacy": "private",
1953
- "inheritedFrom": {
1954
- "name": "Accordion",
1955
- "module": "src/accordion/accordion.ts"
1956
- }
1990
+ "default": "true"
1957
1991
  },
1958
1992
  {
1959
1993
  "kind": "field",
1960
- "name": "activeItemIndex",
1994
+ "name": "autoCloseOnAction",
1961
1995
  "type": {
1962
- "text": "number"
1996
+ "text": "boolean"
1963
1997
  },
1964
- "privacy": "private",
1965
- "default": "0",
1966
- "inheritedFrom": {
1967
- "name": "Accordion",
1968
- "module": "src/accordion/accordion.ts"
1969
- }
1998
+ "default": "true"
1970
1999
  },
1971
2000
  {
1972
2001
  "kind": "field",
1973
- "name": "accordionIds",
2002
+ "name": "classNames",
1974
2003
  "type": {
1975
- "text": "Array<string | null>"
1976
- },
1977
- "privacy": "private",
1978
- "inheritedFrom": {
1979
- "name": "Accordion",
1980
- "module": "src/accordion/accordion.ts"
2004
+ "text": "string"
1981
2005
  }
1982
2006
  },
1983
2007
  {
1984
2008
  "kind": "field",
1985
- "name": "change",
1986
- "privacy": "private",
1987
- "inheritedFrom": {
1988
- "name": "Accordion",
1989
- "module": "src/accordion/accordion.ts"
2009
+ "name": "definition",
2010
+ "type": {
2011
+ "text": "any"
1990
2012
  }
1991
2013
  },
1992
2014
  {
1993
- "kind": "method",
1994
- "name": "findExpandedItem",
1995
- "privacy": "private",
1996
- "return": {
1997
- "type": {
1998
- "text": "AccordionItem | null"
1999
- }
2015
+ "kind": "field",
2016
+ "name": "name",
2017
+ "type": {
2018
+ "text": "string"
2000
2019
  },
2001
- "inheritedFrom": {
2002
- "name": "Accordion",
2003
- "module": "src/accordion/accordion.ts"
2004
- }
2020
+ "default": "'Actions'"
2005
2021
  },
2006
2022
  {
2007
2023
  "kind": "field",
2008
- "name": "setItems",
2009
- "privacy": "private",
2010
- "inheritedFrom": {
2011
- "name": "Accordion",
2012
- "module": "src/accordion/accordion.ts"
2024
+ "name": "open",
2025
+ "type": {
2026
+ "text": "boolean"
2027
+ },
2028
+ "default": "false"
2029
+ },
2030
+ {
2031
+ "kind": "field",
2032
+ "name": "buttonAppearance",
2033
+ "type": {
2034
+ "text": "string"
2013
2035
  }
2014
2036
  },
2015
2037
  {
2016
- "kind": "method",
2017
- "name": "resetItems",
2018
- "privacy": "private",
2019
- "return": {
2020
- "type": {
2021
- "text": "void"
2022
- }
2038
+ "kind": "field",
2039
+ "name": "hideDisabled",
2040
+ "type": {
2041
+ "text": "boolean"
2023
2042
  },
2024
- "inheritedFrom": {
2025
- "name": "Accordion",
2026
- "module": "src/accordion/accordion.ts"
2027
- }
2043
+ "default": "false"
2028
2044
  },
2029
2045
  {
2030
2046
  "kind": "field",
2031
- "name": "removeItemListeners",
2032
- "privacy": "private",
2033
- "inheritedFrom": {
2034
- "name": "Accordion",
2035
- "module": "src/accordion/accordion.ts"
2047
+ "name": "hideMenuSingleOption",
2048
+ "type": {
2049
+ "text": "boolean"
2050
+ },
2051
+ "default": "false"
2052
+ },
2053
+ {
2054
+ "kind": "field",
2055
+ "name": "singleOption",
2056
+ "type": {
2057
+ "text": "ActionMenuItem"
2036
2058
  }
2037
2059
  },
2038
2060
  {
2039
2061
  "kind": "field",
2040
- "name": "activeItemChange",
2041
- "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2062
+ "name": "actionsMenu",
2063
+ "type": {
2064
+ "text": "HTMLElement"
2045
2065
  }
2046
2066
  },
2047
2067
  {
2048
2068
  "kind": "method",
2049
- "name": "getItemIds",
2050
- "privacy": "private",
2051
- "return": {
2052
- "type": {
2053
- "text": "Array<string | null>"
2069
+ "name": "definitionChanged",
2070
+ "privacy": "protected",
2071
+ "parameters": [
2072
+ {
2073
+ "name": "oldValue",
2074
+ "type": {
2075
+ "text": "any"
2076
+ }
2077
+ },
2078
+ {
2079
+ "name": "newValue",
2080
+ "type": {
2081
+ "text": "any"
2082
+ }
2054
2083
  }
2055
- },
2056
- "inheritedFrom": {
2057
- "name": "Accordion",
2058
- "module": "src/accordion/accordion.ts"
2059
- }
2084
+ ]
2060
2085
  },
2061
2086
  {
2062
2087
  "kind": "method",
2063
- "name": "isSingleExpandMode",
2064
- "privacy": "private",
2065
- "return": {
2066
- "type": {
2067
- "text": "boolean"
2088
+ "name": "openChanged",
2089
+ "privacy": "protected"
2090
+ },
2091
+ {
2092
+ "kind": "method",
2093
+ "name": "toggleActionsMenuVisibility"
2094
+ },
2095
+ {
2096
+ "kind": "method",
2097
+ "name": "onActionMenuItemClick",
2098
+ "parameters": [
2099
+ {
2100
+ "name": "callback",
2101
+ "type": {
2102
+ "text": "(rowData) => void | any"
2103
+ }
2068
2104
  }
2069
- },
2070
- "inheritedFrom": {
2071
- "name": "Accordion",
2072
- "module": "src/accordion/accordion.ts"
2073
- }
2105
+ ]
2074
2106
  },
2075
2107
  {
2076
2108
  "kind": "field",
2077
- "name": "handleItemKeyDown",
2078
- "privacy": "private",
2079
- "inheritedFrom": {
2080
- "name": "Accordion",
2081
- "module": "src/accordion/accordion.ts"
2082
- }
2109
+ "name": "allActions",
2110
+ "type": {
2111
+ "text": "ActionMenuItem[]"
2112
+ },
2113
+ "readonly": true
2083
2114
  },
2084
2115
  {
2085
2116
  "kind": "field",
2086
- "name": "handleItemFocus",
2087
- "privacy": "private",
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2091
- }
2117
+ "name": "rowData",
2118
+ "readonly": true
2092
2119
  },
2093
2120
  {
2094
2121
  "kind": "method",
2095
- "name": "adjust",
2096
- "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2101
- },
2122
+ "name": "getLabel",
2102
2123
  "parameters": [
2103
2124
  {
2104
- "name": "adjustment",
2125
+ "name": "name",
2105
2126
  "type": {
2106
- "text": "number"
2127
+ "text": "string | ((rowData: any) => string)"
2107
2128
  }
2108
2129
  }
2109
- ],
2110
- "inheritedFrom": {
2111
- "name": "Accordion",
2112
- "module": "src/accordion/accordion.ts"
2113
- }
2130
+ ]
2114
2131
  },
2115
2132
  {
2116
2133
  "kind": "method",
2117
- "name": "focusItem",
2118
- "privacy": "private",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
2134
+ "name": "getTemplate",
2135
+ "parameters": [
2136
+ {
2137
+ "name": "prefix",
2138
+ "type": {
2139
+ "text": "string"
2140
+ }
2122
2141
  }
2123
- },
2124
- "inheritedFrom": {
2125
- "name": "Accordion",
2126
- "module": "src/accordion/accordion.ts"
2127
- }
2142
+ ]
2128
2143
  },
2129
2144
  {
2130
2145
  "kind": "field",
@@ -2238,78 +2253,107 @@
2238
2253
  }
2239
2254
  }
2240
2255
  ],
2241
- "events": [
2242
- {
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
- }
2249
- }
2250
- ]
2251
- },
2252
- {
2253
- "kind": "variable",
2254
- "name": "foundationAccordionShadowOptions",
2255
- "type": {
2256
- "text": "ShadowRootInit"
2257
- },
2258
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2259
- },
2260
- {
2261
- "kind": "variable",
2262
- "name": "defaultAccordionConfig",
2263
- "type": {
2264
- "text": "object"
2256
+ "attributes": [
2257
+ {
2258
+ "name": "is-vertical",
2259
+ "type": {
2260
+ "text": "boolean"
2261
+ },
2262
+ "default": "false",
2263
+ "fieldName": "isVertical"
2264
+ },
2265
+ {
2266
+ "name": "add-default-actions",
2267
+ "type": {
2268
+ "text": "boolean"
2269
+ },
2270
+ "default": "true",
2271
+ "fieldName": "addDefaultActions"
2272
+ },
2273
+ {
2274
+ "name": "auto-close-on-action",
2275
+ "type": {
2276
+ "text": "boolean"
2277
+ },
2278
+ "default": "true",
2279
+ "fieldName": "autoCloseOnAction"
2280
+ },
2281
+ {
2282
+ "name": "name",
2283
+ "type": {
2284
+ "text": "string"
2285
+ },
2286
+ "default": "'Actions'",
2287
+ "fieldName": "name"
2288
+ },
2289
+ {
2290
+ "name": "open",
2291
+ "type": {
2292
+ "text": "boolean"
2293
+ },
2294
+ "default": "false",
2295
+ "fieldName": "open"
2296
+ },
2297
+ {
2298
+ "name": "buttonAppearance",
2299
+ "type": {
2300
+ "text": "string"
2301
+ },
2302
+ "fieldName": "buttonAppearance"
2303
+ },
2304
+ {
2305
+ "name": "hide-disabled",
2306
+ "type": {
2307
+ "text": "boolean"
2308
+ },
2309
+ "default": "false",
2310
+ "fieldName": "hideDisabled"
2311
+ },
2312
+ {
2313
+ "name": "hide-menu-single-option",
2314
+ "type": {
2315
+ "text": "boolean"
2316
+ },
2317
+ "default": "false",
2318
+ "fieldName": "hideMenuSingleOption"
2319
+ }
2320
+ ],
2321
+ "superclass": {
2322
+ "name": "FoundationElement",
2323
+ "package": "@microsoft/fast-foundation"
2265
2324
  },
2266
- "default": "{}"
2325
+ "tagName": "%%prefix%%-actions-menu",
2326
+ "customElement": true
2267
2327
  },
2268
2328
  {
2269
2329
  "kind": "variable",
2270
- "name": "foundationAccordion",
2271
- "description": "The Foundation Accordion",
2330
+ "name": "foundationActionsMenu",
2331
+ "description": "The Foundation Actions Menu",
2272
2332
  "privacy": "public"
2273
2333
  }
2274
2334
  ],
2275
2335
  "exports": [
2276
2336
  {
2277
2337
  "kind": "js",
2278
- "name": "Accordion",
2279
- "declaration": {
2280
- "name": "Accordion",
2281
- "module": "src/accordion/accordion.ts"
2282
- }
2283
- },
2284
- {
2285
- "kind": "js",
2286
- "name": "foundationAccordionShadowOptions",
2287
- "declaration": {
2288
- "name": "foundationAccordionShadowOptions",
2289
- "module": "src/accordion/accordion.ts"
2290
- }
2291
- },
2292
- {
2293
- "kind": "js",
2294
- "name": "defaultAccordionConfig",
2338
+ "name": "ActionsMenu",
2295
2339
  "declaration": {
2296
- "name": "defaultAccordionConfig",
2297
- "module": "src/accordion/accordion.ts"
2340
+ "name": "ActionsMenu",
2341
+ "module": "src/actions-menu/actions-menu.ts"
2298
2342
  }
2299
2343
  },
2300
2344
  {
2301
2345
  "kind": "js",
2302
- "name": "foundationAccordion",
2346
+ "name": "foundationActionsMenu",
2303
2347
  "declaration": {
2304
- "name": "foundationAccordion",
2305
- "module": "src/accordion/accordion.ts"
2348
+ "name": "foundationActionsMenu",
2349
+ "module": "src/actions-menu/actions-menu.ts"
2306
2350
  }
2307
2351
  }
2308
2352
  ]
2309
2353
  },
2310
2354
  {
2311
2355
  "kind": "javascript-module",
2312
- "path": "src/accordion/index.ts",
2356
+ "path": "src/actions-menu/index.ts",
2313
2357
  "declarations": [],
2314
2358
  "exports": [
2315
2359
  {
@@ -2317,7 +2361,7 @@
2317
2361
  "name": "*",
2318
2362
  "declaration": {
2319
2363
  "name": "*",
2320
- "package": "./accordion.template"
2364
+ "package": "./actions-menu.styles"
2321
2365
  }
2322
2366
  },
2323
2367
  {
@@ -2325,7 +2369,7 @@
2325
2369
  "name": "*",
2326
2370
  "declaration": {
2327
2371
  "name": "*",
2328
- "package": "./accordion.styles"
2372
+ "package": "./actions-menu.template"
2329
2373
  }
2330
2374
  },
2331
2375
  {
@@ -2333,41 +2377,18 @@
2333
2377
  "name": "*",
2334
2378
  "declaration": {
2335
2379
  "name": "*",
2336
- "package": "./accordion"
2380
+ "package": "./actions-menu"
2337
2381
  }
2338
2382
  }
2339
2383
  ]
2340
2384
  },
2341
2385
  {
2342
2386
  "kind": "javascript-module",
2343
- "path": "src/actions-menu/actions-menu.styles.ts",
2387
+ "path": "src/accordion/accordion.styles.ts",
2344
2388
  "declarations": [
2345
2389
  {
2346
2390
  "kind": "function",
2347
- "name": "actionsMenuBaseStyles",
2348
- "return": {
2349
- "type": {
2350
- "text": "ElementStyles"
2351
- }
2352
- },
2353
- "parameters": [
2354
- {
2355
- "name": "context",
2356
- "type": {
2357
- "text": "ElementDefinitionContext"
2358
- }
2359
- },
2360
- {
2361
- "name": "definition",
2362
- "type": {
2363
- "text": "FoundationElementDefinition"
2364
- }
2365
- }
2366
- ]
2367
- },
2368
- {
2369
- "kind": "function",
2370
- "name": "foundationActionsMenuStyles",
2391
+ "name": "foundationAccordionStyles",
2371
2392
  "return": {
2372
2393
  "type": {
2373
2394
  "text": "ElementStyles"
@@ -2392,269 +2413,277 @@
2392
2413
  "exports": [
2393
2414
  {
2394
2415
  "kind": "js",
2395
- "name": "actionsMenuBaseStyles",
2396
- "declaration": {
2397
- "name": "actionsMenuBaseStyles",
2398
- "module": "src/actions-menu/actions-menu.styles.ts"
2399
- }
2400
- },
2401
- {
2402
- "kind": "js",
2403
- "name": "foundationActionsMenuStyles",
2416
+ "name": "foundationAccordionStyles",
2404
2417
  "declaration": {
2405
- "name": "foundationActionsMenuStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2418
+ "name": "foundationAccordionStyles",
2419
+ "module": "src/accordion/accordion.styles.ts"
2407
2420
  }
2408
2421
  }
2409
2422
  ]
2410
2423
  },
2411
2424
  {
2412
2425
  "kind": "javascript-module",
2413
- "path": "src/actions-menu/actions-menu.template.ts",
2426
+ "path": "src/accordion/accordion.template.ts",
2414
2427
  "declarations": [
2415
2428
  {
2416
2429
  "kind": "function",
2417
- "name": "menuTemplate",
2430
+ "name": "foundationAccordionTemplate",
2431
+ "return": {
2432
+ "type": {
2433
+ "text": "ViewTemplate<Accordion>"
2434
+ }
2435
+ },
2418
2436
  "parameters": [
2419
2437
  {
2420
- "name": "prefix",
2438
+ "name": "context",
2421
2439
  "type": {
2422
- "text": "string"
2440
+ "text": "ElementDefinitionContext"
2423
2441
  }
2424
- }
2425
- ]
2426
- },
2427
- {
2428
- "kind": "function",
2429
- "name": "singleOptionTemplate",
2430
- "parameters": [
2442
+ },
2431
2443
  {
2432
- "name": "prefix",
2444
+ "name": "definition",
2433
2445
  "type": {
2434
- "text": "string"
2446
+ "text": "FoundationElementDefinition"
2435
2447
  }
2436
2448
  }
2437
2449
  ]
2438
- },
2439
- {
2440
- "kind": "variable",
2441
- "name": "foundationActionsMenuTemplate",
2442
- "type": {
2443
- "text": "ViewTemplate<ActionsMenu>"
2444
- },
2445
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2446
2450
  }
2447
2451
  ],
2448
2452
  "exports": [
2449
2453
  {
2450
2454
  "kind": "js",
2451
- "name": "menuTemplate",
2452
- "declaration": {
2453
- "name": "menuTemplate",
2454
- "module": "src/actions-menu/actions-menu.template.ts"
2455
- }
2456
- },
2457
- {
2458
- "kind": "js",
2459
- "name": "singleOptionTemplate",
2460
- "declaration": {
2461
- "name": "singleOptionTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2463
- }
2464
- },
2465
- {
2466
- "kind": "js",
2467
- "name": "foundationActionsMenuTemplate",
2455
+ "name": "foundationAccordionTemplate",
2468
2456
  "declaration": {
2469
- "name": "foundationActionsMenuTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2457
+ "name": "foundationAccordionTemplate",
2458
+ "module": "src/accordion/accordion.template.ts"
2471
2459
  }
2472
2460
  }
2473
2461
  ]
2474
2462
  },
2475
2463
  {
2476
2464
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.ts",
2465
+ "path": "src/accordion/accordion.ts",
2478
2466
  "declarations": [
2479
2467
  {
2480
2468
  "kind": "class",
2481
2469
  "description": "",
2482
- "name": "ActionsMenu",
2483
- "members": [
2484
- {
2485
- "kind": "field",
2486
- "name": "actions",
2487
- "type": {
2488
- "text": "ActionMenuItem[]"
2489
- }
2490
- },
2491
- {
2492
- "kind": "field",
2493
- "name": "isVertical",
2494
- "type": {
2495
- "text": "boolean"
2496
- },
2497
- "default": "false"
2498
- },
2499
- {
2500
- "kind": "field",
2501
- "name": "addDefaultActions",
2502
- "type": {
2503
- "text": "boolean"
2504
- },
2505
- "default": "true"
2506
- },
2470
+ "name": "Accordion",
2471
+ "superclass": {
2472
+ "name": "FASTAccordion",
2473
+ "package": "@microsoft/fast-foundation"
2474
+ },
2475
+ "tagName": "%%prefix%%-accordion",
2476
+ "customElement": true,
2477
+ "attributes": [
2507
2478
  {
2508
- "kind": "field",
2509
- "name": "autoCloseOnAction",
2479
+ "name": "expand-mode",
2510
2480
  "type": {
2511
- "text": "boolean"
2481
+ "text": "AccordionExpandMode"
2512
2482
  },
2513
- "default": "true"
2514
- },
2515
- {
2516
- "kind": "field",
2517
- "name": "classNames",
2518
- "type": {
2519
- "text": "string"
2520
- }
2521
- },
2522
- {
2523
- "kind": "field",
2524
- "name": "definition",
2525
- "type": {
2526
- "text": "any"
2483
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2484
+ "fieldName": "expandmode",
2485
+ "inheritedFrom": {
2486
+ "name": "Accordion",
2487
+ "module": "src/accordion/accordion.ts"
2527
2488
  }
2528
- },
2489
+ }
2490
+ ],
2491
+ "members": [
2529
2492
  {
2530
2493
  "kind": "field",
2531
- "name": "name",
2494
+ "name": "expandmode",
2532
2495
  "type": {
2533
- "text": "string"
2496
+ "text": "AccordionExpandMode"
2534
2497
  },
2535
- "default": "'Actions'"
2498
+ "privacy": "public",
2499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2500
+ "inheritedFrom": {
2501
+ "name": "Accordion",
2502
+ "module": "src/accordion/accordion.ts"
2503
+ }
2536
2504
  },
2537
2505
  {
2538
2506
  "kind": "field",
2539
- "name": "open",
2507
+ "name": "activeid",
2540
2508
  "type": {
2541
- "text": "boolean"
2509
+ "text": "string | null"
2542
2510
  },
2543
- "default": "false"
2511
+ "privacy": "private",
2512
+ "inheritedFrom": {
2513
+ "name": "Accordion",
2514
+ "module": "src/accordion/accordion.ts"
2515
+ }
2544
2516
  },
2545
2517
  {
2546
2518
  "kind": "field",
2547
- "name": "buttonAppearance",
2519
+ "name": "activeItemIndex",
2548
2520
  "type": {
2549
- "text": "string"
2521
+ "text": "number"
2522
+ },
2523
+ "privacy": "private",
2524
+ "default": "0",
2525
+ "inheritedFrom": {
2526
+ "name": "Accordion",
2527
+ "module": "src/accordion/accordion.ts"
2550
2528
  }
2551
2529
  },
2552
2530
  {
2553
2531
  "kind": "field",
2554
- "name": "hideDisabled",
2532
+ "name": "accordionIds",
2555
2533
  "type": {
2556
- "text": "boolean"
2534
+ "text": "Array<string | null>"
2557
2535
  },
2558
- "default": "false"
2536
+ "privacy": "private",
2537
+ "inheritedFrom": {
2538
+ "name": "Accordion",
2539
+ "module": "src/accordion/accordion.ts"
2540
+ }
2559
2541
  },
2560
2542
  {
2561
2543
  "kind": "field",
2562
- "name": "hideMenuSingleOption",
2563
- "type": {
2564
- "text": "boolean"
2565
- },
2566
- "default": "false"
2544
+ "name": "change",
2545
+ "privacy": "private",
2546
+ "inheritedFrom": {
2547
+ "name": "Accordion",
2548
+ "module": "src/accordion/accordion.ts"
2549
+ }
2567
2550
  },
2568
2551
  {
2569
- "kind": "field",
2570
- "name": "singleOption",
2571
- "type": {
2572
- "text": "ActionMenuItem"
2552
+ "kind": "method",
2553
+ "name": "findExpandedItem",
2554
+ "privacy": "private",
2555
+ "return": {
2556
+ "type": {
2557
+ "text": "AccordionItem | null"
2558
+ }
2559
+ },
2560
+ "inheritedFrom": {
2561
+ "name": "Accordion",
2562
+ "module": "src/accordion/accordion.ts"
2573
2563
  }
2574
2564
  },
2575
2565
  {
2576
2566
  "kind": "field",
2577
- "name": "actionsMenu",
2578
- "type": {
2579
- "text": "HTMLElement"
2567
+ "name": "setItems",
2568
+ "privacy": "private",
2569
+ "inheritedFrom": {
2570
+ "name": "Accordion",
2571
+ "module": "src/accordion/accordion.ts"
2580
2572
  }
2581
2573
  },
2582
2574
  {
2583
2575
  "kind": "method",
2584
- "name": "definitionChanged",
2585
- "privacy": "protected",
2586
- "parameters": [
2587
- {
2588
- "name": "oldValue",
2589
- "type": {
2590
- "text": "any"
2591
- }
2592
- },
2593
- {
2594
- "name": "newValue",
2595
- "type": {
2596
- "text": "any"
2597
- }
2576
+ "name": "resetItems",
2577
+ "privacy": "private",
2578
+ "return": {
2579
+ "type": {
2580
+ "text": "void"
2598
2581
  }
2599
- ]
2582
+ },
2583
+ "inheritedFrom": {
2584
+ "name": "Accordion",
2585
+ "module": "src/accordion/accordion.ts"
2586
+ }
2600
2587
  },
2601
2588
  {
2602
- "kind": "method",
2603
- "name": "openChanged",
2604
- "privacy": "protected"
2589
+ "kind": "field",
2590
+ "name": "removeItemListeners",
2591
+ "privacy": "private",
2592
+ "inheritedFrom": {
2593
+ "name": "Accordion",
2594
+ "module": "src/accordion/accordion.ts"
2595
+ }
2596
+ },
2597
+ {
2598
+ "kind": "field",
2599
+ "name": "activeItemChange",
2600
+ "privacy": "private",
2601
+ "inheritedFrom": {
2602
+ "name": "Accordion",
2603
+ "module": "src/accordion/accordion.ts"
2604
+ }
2605
2605
  },
2606
2606
  {
2607
2607
  "kind": "method",
2608
- "name": "toggleActionsMenuVisibility"
2608
+ "name": "getItemIds",
2609
+ "privacy": "private",
2610
+ "return": {
2611
+ "type": {
2612
+ "text": "Array<string | null>"
2613
+ }
2614
+ },
2615
+ "inheritedFrom": {
2616
+ "name": "Accordion",
2617
+ "module": "src/accordion/accordion.ts"
2618
+ }
2609
2619
  },
2610
2620
  {
2611
2621
  "kind": "method",
2612
- "name": "onActionMenuItemClick",
2613
- "parameters": [
2614
- {
2615
- "name": "callback",
2616
- "type": {
2617
- "text": "(rowData) => void | any"
2618
- }
2622
+ "name": "isSingleExpandMode",
2623
+ "privacy": "private",
2624
+ "return": {
2625
+ "type": {
2626
+ "text": "boolean"
2619
2627
  }
2620
- ]
2628
+ },
2629
+ "inheritedFrom": {
2630
+ "name": "Accordion",
2631
+ "module": "src/accordion/accordion.ts"
2632
+ }
2621
2633
  },
2622
2634
  {
2623
2635
  "kind": "field",
2624
- "name": "allActions",
2625
- "type": {
2626
- "text": "ActionMenuItem[]"
2627
- },
2628
- "readonly": true
2636
+ "name": "handleItemKeyDown",
2637
+ "privacy": "private",
2638
+ "inheritedFrom": {
2639
+ "name": "Accordion",
2640
+ "module": "src/accordion/accordion.ts"
2641
+ }
2629
2642
  },
2630
2643
  {
2631
2644
  "kind": "field",
2632
- "name": "rowData",
2633
- "readonly": true
2645
+ "name": "handleItemFocus",
2646
+ "privacy": "private",
2647
+ "inheritedFrom": {
2648
+ "name": "Accordion",
2649
+ "module": "src/accordion/accordion.ts"
2650
+ }
2634
2651
  },
2635
2652
  {
2636
2653
  "kind": "method",
2637
- "name": "getLabel",
2654
+ "name": "adjust",
2655
+ "privacy": "private",
2656
+ "return": {
2657
+ "type": {
2658
+ "text": "void"
2659
+ }
2660
+ },
2638
2661
  "parameters": [
2639
2662
  {
2640
- "name": "name",
2663
+ "name": "adjustment",
2641
2664
  "type": {
2642
- "text": "string | ((rowData: any) => string)"
2665
+ "text": "number"
2643
2666
  }
2644
2667
  }
2645
- ]
2668
+ ],
2669
+ "inheritedFrom": {
2670
+ "name": "Accordion",
2671
+ "module": "src/accordion/accordion.ts"
2672
+ }
2646
2673
  },
2647
2674
  {
2648
2675
  "kind": "method",
2649
- "name": "getTemplate",
2650
- "parameters": [
2651
- {
2652
- "name": "prefix",
2653
- "type": {
2654
- "text": "string"
2655
- }
2676
+ "name": "focusItem",
2677
+ "privacy": "private",
2678
+ "return": {
2679
+ "type": {
2680
+ "text": "void"
2656
2681
  }
2657
- ]
2682
+ },
2683
+ "inheritedFrom": {
2684
+ "name": "Accordion",
2685
+ "module": "src/accordion/accordion.ts"
2686
+ }
2658
2687
  },
2659
2688
  {
2660
2689
  "kind": "field",
@@ -2754,121 +2783,92 @@
2754
2783
  }
2755
2784
  },
2756
2785
  {
2757
- "name": "elementDefinition",
2758
- "type": {
2759
- "text": "T"
2760
- },
2761
- "description": "The definition of the element to create the registry\nfunction for."
2762
- }
2763
- ],
2764
- "description": "Defines an element registry function with a set of element definition defaults.",
2765
- "inheritedFrom": {
2766
- "name": "FoundationElement",
2767
- "module": "src/foundation-element/foundation-element.ts"
2768
- }
2769
- }
2770
- ],
2771
- "attributes": [
2772
- {
2773
- "name": "is-vertical",
2774
- "type": {
2775
- "text": "boolean"
2776
- },
2777
- "default": "false",
2778
- "fieldName": "isVertical"
2779
- },
2780
- {
2781
- "name": "add-default-actions",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "true",
2786
- "fieldName": "addDefaultActions"
2787
- },
2788
- {
2789
- "name": "auto-close-on-action",
2790
- "type": {
2791
- "text": "boolean"
2792
- },
2793
- "default": "true",
2794
- "fieldName": "autoCloseOnAction"
2795
- },
2796
- {
2797
- "name": "name",
2798
- "type": {
2799
- "text": "string"
2800
- },
2801
- "default": "'Actions'",
2802
- "fieldName": "name"
2803
- },
2804
- {
2805
- "name": "open",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "default": "false",
2810
- "fieldName": "open"
2811
- },
2812
- {
2813
- "name": "buttonAppearance",
2814
- "type": {
2815
- "text": "string"
2816
- },
2817
- "fieldName": "buttonAppearance"
2818
- },
2819
- {
2820
- "name": "hide-disabled",
2821
- "type": {
2822
- "text": "boolean"
2823
- },
2824
- "default": "false",
2825
- "fieldName": "hideDisabled"
2826
- },
2827
- {
2828
- "name": "hide-menu-single-option",
2829
- "type": {
2830
- "text": "boolean"
2831
- },
2832
- "default": "false",
2833
- "fieldName": "hideMenuSingleOption"
2786
+ "name": "elementDefinition",
2787
+ "type": {
2788
+ "text": "T"
2789
+ },
2790
+ "description": "The definition of the element to create the registry\nfunction for."
2791
+ }
2792
+ ],
2793
+ "description": "Defines an element registry function with a set of element definition defaults.",
2794
+ "inheritedFrom": {
2795
+ "name": "FoundationElement",
2796
+ "module": "src/foundation-element/foundation-element.ts"
2797
+ }
2834
2798
  }
2835
2799
  ],
2836
- "superclass": {
2837
- "name": "FoundationElement",
2838
- "package": "@microsoft/fast-foundation"
2800
+ "events": [
2801
+ {
2802
+ "description": "Fires a custom 'change' event when the active item changes",
2803
+ "name": "change",
2804
+ "inheritedFrom": {
2805
+ "name": "Accordion",
2806
+ "module": "src/accordion/accordion.ts"
2807
+ }
2808
+ }
2809
+ ]
2810
+ },
2811
+ {
2812
+ "kind": "variable",
2813
+ "name": "foundationAccordionShadowOptions",
2814
+ "type": {
2815
+ "text": "ShadowRootInit"
2839
2816
  },
2840
- "tagName": "%%prefix%%-actions-menu",
2841
- "customElement": true
2817
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2842
2818
  },
2843
2819
  {
2844
2820
  "kind": "variable",
2845
- "name": "foundationActionsMenu",
2846
- "description": "The Foundation Actions Menu",
2821
+ "name": "defaultAccordionConfig",
2822
+ "type": {
2823
+ "text": "object"
2824
+ },
2825
+ "default": "{}"
2826
+ },
2827
+ {
2828
+ "kind": "variable",
2829
+ "name": "foundationAccordion",
2830
+ "description": "The Foundation Accordion",
2847
2831
  "privacy": "public"
2848
2832
  }
2849
2833
  ],
2850
2834
  "exports": [
2851
2835
  {
2852
2836
  "kind": "js",
2853
- "name": "ActionsMenu",
2837
+ "name": "Accordion",
2854
2838
  "declaration": {
2855
- "name": "ActionsMenu",
2856
- "module": "src/actions-menu/actions-menu.ts"
2839
+ "name": "Accordion",
2840
+ "module": "src/accordion/accordion.ts"
2857
2841
  }
2858
2842
  },
2859
2843
  {
2860
2844
  "kind": "js",
2861
- "name": "foundationActionsMenu",
2845
+ "name": "foundationAccordionShadowOptions",
2862
2846
  "declaration": {
2863
- "name": "foundationActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2847
+ "name": "foundationAccordionShadowOptions",
2848
+ "module": "src/accordion/accordion.ts"
2849
+ }
2850
+ },
2851
+ {
2852
+ "kind": "js",
2853
+ "name": "defaultAccordionConfig",
2854
+ "declaration": {
2855
+ "name": "defaultAccordionConfig",
2856
+ "module": "src/accordion/accordion.ts"
2857
+ }
2858
+ },
2859
+ {
2860
+ "kind": "js",
2861
+ "name": "foundationAccordion",
2862
+ "declaration": {
2863
+ "name": "foundationAccordion",
2864
+ "module": "src/accordion/accordion.ts"
2865
2865
  }
2866
2866
  }
2867
2867
  ]
2868
2868
  },
2869
2869
  {
2870
2870
  "kind": "javascript-module",
2871
- "path": "src/actions-menu/index.ts",
2871
+ "path": "src/accordion/index.ts",
2872
2872
  "declarations": [],
2873
2873
  "exports": [
2874
2874
  {
@@ -2876,7 +2876,7 @@
2876
2876
  "name": "*",
2877
2877
  "declaration": {
2878
2878
  "name": "*",
2879
- "package": "./actions-menu.styles"
2879
+ "package": "./accordion.template"
2880
2880
  }
2881
2881
  },
2882
2882
  {
@@ -2884,7 +2884,7 @@
2884
2884
  "name": "*",
2885
2885
  "declaration": {
2886
2886
  "name": "*",
2887
- "package": "./actions-menu.template"
2887
+ "package": "./accordion.styles"
2888
2888
  }
2889
2889
  },
2890
2890
  {
@@ -2892,64 +2892,82 @@
2892
2892
  "name": "*",
2893
2893
  "declaration": {
2894
2894
  "name": "*",
2895
- "package": "./actions-menu"
2895
+ "package": "./accordion"
2896
2896
  }
2897
2897
  }
2898
2898
  ]
2899
2899
  },
2900
2900
  {
2901
2901
  "kind": "javascript-module",
2902
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2902
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2903
2903
  "declarations": [
2904
2904
  {
2905
- "kind": "variable",
2906
- "name": "foundationAiCriteriaSearchStyles",
2907
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2905
+ "kind": "function",
2906
+ "name": "foundationAiIndicatorStyles",
2907
+ "return": {
2908
+ "type": {
2909
+ "text": "ElementStyles"
2910
+ }
2911
+ },
2912
+ "parameters": [
2913
+ {
2914
+ "name": "context",
2915
+ "type": {
2916
+ "text": "ElementDefinitionContext"
2917
+ }
2918
+ },
2919
+ {
2920
+ "name": "definition",
2921
+ "type": {
2922
+ "text": "FoundationElementDefinition"
2923
+ }
2924
+ }
2925
+ ]
2908
2926
  }
2909
2927
  ],
2910
2928
  "exports": [
2911
2929
  {
2912
2930
  "kind": "js",
2913
- "name": "foundationAiCriteriaSearchStyles",
2931
+ "name": "foundationAiIndicatorStyles",
2914
2932
  "declaration": {
2915
- "name": "foundationAiCriteriaSearchStyles",
2916
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2933
+ "name": "foundationAiIndicatorStyles",
2934
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2917
2935
  }
2918
2936
  }
2919
2937
  ]
2920
2938
  },
2921
2939
  {
2922
2940
  "kind": "javascript-module",
2923
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2941
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2924
2942
  "declarations": [
2925
2943
  {
2926
2944
  "kind": "variable",
2927
- "name": "foundationAiCriteriaSearchTemplate",
2945
+ "name": "foundationAiIndicatorTemplate",
2928
2946
  "type": {
2929
- "text": "ViewTemplate<AiCriteriaSearch>"
2947
+ "text": "ViewTemplate<AiIndicator>"
2930
2948
  },
2931
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2949
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2932
2950
  }
2933
2951
  ],
2934
2952
  "exports": [
2935
2953
  {
2936
2954
  "kind": "js",
2937
- "name": "foundationAiCriteriaSearchTemplate",
2955
+ "name": "foundationAiIndicatorTemplate",
2938
2956
  "declaration": {
2939
- "name": "foundationAiCriteriaSearchTemplate",
2940
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2957
+ "name": "foundationAiIndicatorTemplate",
2958
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2941
2959
  }
2942
2960
  }
2943
2961
  ]
2944
2962
  },
2945
2963
  {
2946
2964
  "kind": "javascript-module",
2947
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2965
+ "path": "src/ai-indicator/ai-indicator.ts",
2948
2966
  "declarations": [
2949
2967
  {
2950
2968
  "kind": "class",
2951
- "description": "Natural-language criteria search input with AI interpretation.",
2952
- "name": "AiCriteriaSearch",
2969
+ "description": "",
2970
+ "name": "AiIndicator",
2953
2971
  "members": [
2954
2972
  {
2955
2973
  "kind": "field",
@@ -2960,30 +2978,25 @@
2960
2978
  },
2961
2979
  {
2962
2980
  "kind": "field",
2963
- "name": "placeholder",
2981
+ "name": "aiProvider",
2964
2982
  "type": {
2965
- "text": "string"
2983
+ "text": "AIProvider | undefined"
2966
2984
  },
2967
- "default": "'Describe your search criteria in natural language...'"
2968
- },
2969
- {
2970
- "kind": "field",
2971
- "name": "disabled",
2972
- "type": {
2973
- "text": "boolean"
2974
- }
2985
+ "privacy": "private",
2986
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2987
+ "readonly": true
2975
2988
  },
2976
2989
  {
2977
2990
  "kind": "field",
2978
- "name": "inputValue",
2991
+ "name": "status",
2979
2992
  "type": {
2980
- "text": "string"
2993
+ "text": "AIStatus | null"
2981
2994
  },
2982
- "default": "''"
2995
+ "default": "null"
2983
2996
  },
2984
2997
  {
2985
2998
  "kind": "field",
2986
- "name": "isInterpreting",
2999
+ "name": "open",
2987
3000
  "type": {
2988
3001
  "text": "boolean"
2989
3002
  },
@@ -2991,23 +3004,15 @@
2991
3004
  },
2992
3005
  {
2993
3006
  "kind": "field",
2994
- "name": "lastValidCriteria",
2995
- "type": {
2996
- "text": "string | null"
2997
- },
2998
- "default": "null"
2999
- },
3000
- {
3001
- "kind": "field",
3002
- "name": "activeGroups",
3007
+ "name": "state",
3003
3008
  "type": {
3004
- "text": "CriteriaGroup[]"
3009
+ "text": "AIIndicatorState"
3005
3010
  },
3006
- "default": "[]"
3011
+ "default": "'none'"
3007
3012
  },
3008
3013
  {
3009
3014
  "kind": "field",
3010
- "name": "showingChips",
3015
+ "name": "isInstalling",
3011
3016
  "type": {
3012
3017
  "text": "boolean"
3013
3018
  },
@@ -3015,83 +3020,99 @@
3015
3020
  },
3016
3021
  {
3017
3022
  "kind": "field",
3018
- "name": "fieldMetadata",
3023
+ "name": "pollTimer",
3019
3024
  "type": {
3020
- "text": "MetadataDetail[] | string[]"
3025
+ "text": "ReturnType<typeof setInterval> | null"
3021
3026
  },
3022
- "default": "[]"
3027
+ "privacy": "private",
3028
+ "default": "null"
3023
3029
  },
3024
3030
  {
3025
3031
  "kind": "field",
3026
- "name": "isRecording",
3027
- "type": {
3028
- "text": "boolean"
3029
- },
3030
- "default": "false"
3032
+ "name": "clickOutside",
3033
+ "privacy": "private"
3031
3034
  },
3032
3035
  {
3033
3036
  "kind": "field",
3034
- "name": "textAreaRef",
3037
+ "name": "chromeStatusLabel",
3035
3038
  "type": {
3036
- "text": "HTMLTextAreaElement"
3039
+ "text": "string | null"
3037
3040
  },
3038
- "privacy": "public"
3041
+ "readonly": true
3039
3042
  },
3040
3043
  {
3041
3044
  "kind": "field",
3042
- "name": "stopRecording",
3045
+ "name": "canInstall",
3043
3046
  "type": {
3044
- "text": "(() => void) | null"
3047
+ "text": "boolean"
3045
3048
  },
3046
- "privacy": "private",
3047
- "default": "null"
3049
+ "readonly": true
3048
3050
  },
3049
3051
  {
3050
3052
  "kind": "field",
3051
- "name": "speechApplyDebounceTimer",
3053
+ "name": "isDownloading",
3052
3054
  "type": {
3053
- "text": "ReturnType<typeof setTimeout> | null"
3055
+ "text": "boolean"
3054
3056
  },
3057
+ "readonly": true
3058
+ },
3059
+ {
3060
+ "kind": "method",
3061
+ "name": "openChanged",
3062
+ "return": {
3063
+ "type": {
3064
+ "text": "void"
3065
+ }
3066
+ }
3067
+ },
3068
+ {
3069
+ "kind": "method",
3070
+ "name": "handleClickOutside",
3055
3071
  "privacy": "private",
3056
- "default": "null"
3072
+ "parameters": [
3073
+ {
3074
+ "name": "event",
3075
+ "type": {
3076
+ "text": "MouseEvent"
3077
+ }
3078
+ }
3079
+ ]
3057
3080
  },
3058
3081
  {
3059
- "kind": "field",
3060
- "name": "speechAvailable",
3061
- "type": {
3062
- "text": "boolean"
3063
- },
3064
- "readonly": true
3082
+ "kind": "method",
3083
+ "name": "toggleDropdown"
3065
3084
  },
3066
3085
  {
3067
- "kind": "field",
3068
- "name": "criteriaChips",
3069
- "type": {
3070
- "text": "CriteriaChip[]"
3071
- },
3072
- "readonly": true
3086
+ "kind": "method",
3087
+ "name": "refreshStatus",
3088
+ "return": {
3089
+ "type": {
3090
+ "text": "Promise<void>"
3091
+ }
3092
+ }
3073
3093
  },
3074
3094
  {
3075
3095
  "kind": "method",
3076
- "name": "getFieldLabel",
3096
+ "name": "deriveState",
3077
3097
  "privacy": "private",
3078
3098
  "return": {
3079
3099
  "type": {
3080
- "text": "string"
3100
+ "text": "AIIndicatorState"
3081
3101
  }
3082
3102
  },
3083
3103
  "parameters": [
3084
3104
  {
3085
- "name": "fieldName",
3105
+ "name": "s",
3086
3106
  "type": {
3087
- "text": "string"
3107
+ "text": "AIStatus | null"
3088
3108
  }
3089
3109
  }
3090
3110
  ]
3091
3111
  },
3092
3112
  {
3093
3113
  "kind": "method",
3094
- "name": "toggleCriteriaView",
3114
+ "name": "maybeStartPolling",
3115
+ "privacy": "private",
3095
3116
  "return": {
3096
3117
  "type": {
3097
3118
  "text": "void"
@@ -3100,30 +3121,18 @@
3100
3121
  },
3101
3122
  {
3102
3123
  "kind": "method",
3103
- "name": "removeChip",
3124
+ "name": "startPolling",
3125
+ "privacy": "private",
3104
3126
  "return": {
3105
3127
  "type": {
3106
3128
  "text": "void"
3107
3129
  }
3108
- },
3109
- "parameters": [
3110
- {
3111
- "name": "groupIndex",
3112
- "type": {
3113
- "text": "number"
3114
- }
3115
- },
3116
- {
3117
- "name": "clauseIndex",
3118
- "type": {
3119
- "text": "number"
3120
- }
3121
- }
3122
- ]
3130
+ }
3123
3131
  },
3124
3132
  {
3125
3133
  "kind": "method",
3126
- "name": "clearChips",
3134
+ "name": "stopPolling",
3135
+ "privacy": "private",
3127
3136
  "return": {
3128
3137
  "type": {
3129
3138
  "text": "void"
@@ -3132,24 +3141,12 @@
3132
3141
  },
3133
3142
  {
3134
3143
  "kind": "method",
3135
- "name": "handleSubmit"
3136
- },
3137
- {
3138
- "kind": "method",
3139
- "name": "handleBlur"
3140
- },
3141
- {
3142
- "kind": "method",
3143
- "name": "clear"
3144
- },
3145
- {
3146
- "kind": "method",
3147
- "name": "toggleSpeechInput"
3148
- },
3149
- {
3150
- "kind": "method",
3151
- "name": "clearSpeechApplyDebounce",
3152
- "privacy": "private"
3144
+ "name": "onInstall",
3145
+ "return": {
3146
+ "type": {
3147
+ "text": "Promise<void>"
3148
+ }
3149
+ }
3153
3150
  },
3154
3151
  {
3155
3152
  "kind": "field",
@@ -3263,320 +3260,145 @@
3263
3260
  }
3264
3261
  }
3265
3262
  ],
3266
- "events": [
3267
- {
3268
- "description": "Fired when interpreted criteria is applied or cleared",
3269
- "name": "criteria-changed"
3270
- },
3271
- {
3272
- "description": "Fired when interpreted criteria contains invalid clauses",
3273
- "name": "validation-errors"
3274
- }
3275
- ],
3276
- "attributes": [
3277
- {
3278
- "name": "placeholder",
3279
- "type": {
3280
- "text": "string"
3281
- },
3282
- "default": "'Describe your search criteria in natural language...'",
3283
- "fieldName": "placeholder"
3284
- },
3285
- {
3286
- "type": {
3287
- "text": "boolean"
3288
- },
3289
- "fieldName": "disabled"
3290
- }
3291
- ],
3292
3263
  "superclass": {
3293
3264
  "name": "FoundationElement",
3294
3265
  "package": "@microsoft/fast-foundation"
3295
3266
  },
3296
- "tagName": "%%prefix%%-ai-criteria-search",
3267
+ "tagName": "%%prefix%%-ai-indicator",
3297
3268
  "customElement": true
3298
3269
  },
3299
3270
  {
3300
3271
  "kind": "variable",
3301
- "name": "foundationAiCriteriaSearchShadowOptions",
3302
- "type": {
3303
- "text": "ShadowRootInit"
3304
- },
3305
- "default": "undefined"
3306
- },
3307
- {
3308
- "kind": "variable",
3309
- "name": "defaultAiCriteriaSearchConfig",
3310
- "type": {
3311
- "text": "object"
3312
- },
3313
- "default": "{}"
3314
- },
3315
- {
3316
- "kind": "variable",
3317
- "name": "foundationAiCriteriaSearch"
3272
+ "name": "foundationAiIndicator"
3318
3273
  }
3319
3274
  ],
3320
3275
  "exports": [
3321
3276
  {
3322
3277
  "kind": "js",
3323
- "name": "AiCriteriaSearch",
3324
- "declaration": {
3325
- "name": "AiCriteriaSearch",
3326
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3327
- }
3328
- },
3329
- {
3330
- "kind": "js",
3331
- "name": "foundationAiCriteriaSearchShadowOptions",
3332
- "declaration": {
3333
- "name": "foundationAiCriteriaSearchShadowOptions",
3334
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
- }
3336
- },
3337
- {
3338
- "kind": "js",
3339
- "name": "defaultAiCriteriaSearchConfig",
3278
+ "name": "AiIndicator",
3340
3279
  "declaration": {
3341
- "name": "defaultAiCriteriaSearchConfig",
3342
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3280
+ "name": "AiIndicator",
3281
+ "module": "src/ai-indicator/ai-indicator.ts"
3343
3282
  }
3344
3283
  },
3345
3284
  {
3346
3285
  "kind": "js",
3347
- "name": "foundationAiCriteriaSearch",
3286
+ "name": "foundationAiIndicator",
3348
3287
  "declaration": {
3349
- "name": "foundationAiCriteriaSearch",
3350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3288
+ "name": "foundationAiIndicator",
3289
+ "module": "src/ai-indicator/ai-indicator.ts"
3351
3290
  }
3352
3291
  }
3353
3292
  ]
3354
3293
  },
3355
3294
  {
3356
3295
  "kind": "javascript-module",
3357
- "path": "src/ai-criteria-search/index.ts",
3296
+ "path": "src/ai-indicator/index.ts",
3358
3297
  "declarations": [],
3359
3298
  "exports": [
3360
3299
  {
3361
3300
  "kind": "js",
3362
- "name": "AiCriteriaSearch",
3363
- "declaration": {
3364
- "name": "AiCriteriaSearch",
3365
- "module": "./ai-criteria-search"
3366
- }
3367
- },
3368
- {
3369
- "kind": "js",
3370
- "name": "defaultAiCriteriaSearchConfig",
3371
- "declaration": {
3372
- "name": "defaultAiCriteriaSearchConfig",
3373
- "module": "./ai-criteria-search"
3374
- }
3375
- },
3376
- {
3377
- "kind": "js",
3378
- "name": "foundationAiCriteriaSearch",
3379
- "declaration": {
3380
- "name": "foundationAiCriteriaSearch",
3381
- "module": "./ai-criteria-search"
3382
- }
3383
- },
3384
- {
3385
- "kind": "js",
3386
- "name": "foundationAiCriteriaSearchShadowOptions",
3387
- "declaration": {
3388
- "name": "foundationAiCriteriaSearchShadowOptions",
3389
- "module": "./ai-criteria-search"
3390
- }
3391
- },
3392
- {
3393
- "kind": "js",
3394
- "name": "foundationAiCriteriaSearchStyles",
3395
- "declaration": {
3396
- "name": "foundationAiCriteriaSearchStyles",
3397
- "module": "./ai-criteria-search.styles"
3398
- }
3399
- },
3400
- {
3401
- "kind": "js",
3402
- "name": "foundationAiCriteriaSearchTemplate",
3403
- "declaration": {
3404
- "name": "foundationAiCriteriaSearchTemplate",
3405
- "module": "./ai-criteria-search.template"
3406
- }
3407
- },
3408
- {
3409
- "kind": "js",
3410
- "name": "*",
3411
- "declaration": {
3412
- "name": "*",
3413
- "package": "./validation/criteria-ir"
3414
- }
3415
- },
3416
- {
3417
- "kind": "js",
3418
- "name": "*",
3419
- "declaration": {
3420
- "name": "*",
3421
- "package": "./validation/operator-map"
3422
- }
3423
- },
3424
- {
3425
- "kind": "js",
3426
- "name": "*",
3301
+ "name": "AiIndicator",
3427
3302
  "declaration": {
3428
- "name": "*",
3429
- "package": "./validation/schema-validator"
3430
- }
3431
- }
3432
- ]
3433
- },
3434
- {
3435
- "kind": "javascript-module",
3436
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3437
- "declarations": [
3438
- {
3439
- "kind": "function",
3440
- "name": "formatValidationErrors",
3441
- "return": {
3442
- "type": {
3443
- "text": "string"
3444
- }
3445
- },
3446
- "parameters": [
3447
- {
3448
- "name": "errors",
3449
- "type": {
3450
- "text": "ValidationError[]"
3451
- }
3452
- }
3453
- ],
3454
- "description": "Formats validation errors into a user-friendly message."
3455
- },
3456
- {
3457
- "kind": "function",
3458
- "name": "showCriteriaError",
3459
- "return": {
3460
- "type": {
3461
- "text": "void"
3462
- }
3463
- },
3464
- "parameters": [
3465
- {
3466
- "name": "title",
3467
- "type": {
3468
- "text": "string"
3469
- },
3470
- "description": "Notification title (e.g. \"Criteria validation error\")"
3471
- },
3472
- {
3473
- "name": "body",
3474
- "type": {
3475
- "text": "string"
3476
- },
3477
- "description": "Error message to display"
3478
- },
3479
- {
3480
- "name": "tagName",
3481
- "type": {
3482
- "text": "string"
3483
- },
3484
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3485
- }
3486
- ],
3487
- "description": "Shows a criteria error as a toast notification."
3488
- }
3489
- ],
3490
- "exports": [
3303
+ "name": "AiIndicator",
3304
+ "module": "./ai-indicator"
3305
+ }
3306
+ },
3491
3307
  {
3492
3308
  "kind": "js",
3493
- "name": "formatValidationErrors",
3309
+ "name": "foundationAiIndicator",
3494
3310
  "declaration": {
3495
- "name": "formatValidationErrors",
3496
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3311
+ "name": "foundationAiIndicator",
3312
+ "module": "./ai-indicator"
3497
3313
  }
3498
3314
  },
3499
3315
  {
3500
3316
  "kind": "js",
3501
- "name": "showCriteriaError",
3317
+ "name": "type",
3502
3318
  "declaration": {
3503
- "name": "showCriteriaError",
3504
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3319
+ "name": "type",
3320
+ "module": "./ai-indicator"
3321
+ }
3322
+ },
3323
+ {
3324
+ "kind": "js",
3325
+ "name": "AIIndicatorState",
3326
+ "declaration": {
3327
+ "name": "AIIndicatorState",
3328
+ "module": "./ai-indicator"
3329
+ }
3330
+ },
3331
+ {
3332
+ "kind": "js",
3333
+ "name": "foundationAiIndicatorTemplate",
3334
+ "declaration": {
3335
+ "name": "foundationAiIndicatorTemplate",
3336
+ "module": "./ai-indicator.template"
3337
+ }
3338
+ },
3339
+ {
3340
+ "kind": "js",
3341
+ "name": "foundationAiIndicatorStyles",
3342
+ "declaration": {
3343
+ "name": "foundationAiIndicatorStyles",
3344
+ "module": "./ai-indicator.styles"
3505
3345
  }
3506
3346
  }
3507
3347
  ]
3508
3348
  },
3509
3349
  {
3510
3350
  "kind": "javascript-module",
3511
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3351
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3512
3352
  "declarations": [
3513
3353
  {
3514
- "kind": "function",
3515
- "name": "foundationAiIndicatorStyles",
3516
- "return": {
3517
- "type": {
3518
- "text": "ElementStyles"
3519
- }
3520
- },
3521
- "parameters": [
3522
- {
3523
- "name": "context",
3524
- "type": {
3525
- "text": "ElementDefinitionContext"
3526
- }
3527
- },
3528
- {
3529
- "name": "definition",
3530
- "type": {
3531
- "text": "FoundationElementDefinition"
3532
- }
3533
- }
3534
- ]
3354
+ "kind": "variable",
3355
+ "name": "foundationAiCriteriaSearchStyles",
3356
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3535
3357
  }
3536
3358
  ],
3537
3359
  "exports": [
3538
3360
  {
3539
3361
  "kind": "js",
3540
- "name": "foundationAiIndicatorStyles",
3362
+ "name": "foundationAiCriteriaSearchStyles",
3541
3363
  "declaration": {
3542
- "name": "foundationAiIndicatorStyles",
3543
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3364
+ "name": "foundationAiCriteriaSearchStyles",
3365
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3544
3366
  }
3545
3367
  }
3546
3368
  ]
3547
3369
  },
3548
3370
  {
3549
3371
  "kind": "javascript-module",
3550
- "path": "src/ai-indicator/ai-indicator.template.ts",
3372
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3551
3373
  "declarations": [
3552
3374
  {
3553
3375
  "kind": "variable",
3554
- "name": "foundationAiIndicatorTemplate",
3376
+ "name": "foundationAiCriteriaSearchTemplate",
3555
3377
  "type": {
3556
- "text": "ViewTemplate<AiIndicator>"
3378
+ "text": "ViewTemplate<AiCriteriaSearch>"
3557
3379
  },
3558
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3380
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3559
3381
  }
3560
3382
  ],
3561
3383
  "exports": [
3562
3384
  {
3563
3385
  "kind": "js",
3564
- "name": "foundationAiIndicatorTemplate",
3386
+ "name": "foundationAiCriteriaSearchTemplate",
3565
3387
  "declaration": {
3566
- "name": "foundationAiIndicatorTemplate",
3567
- "module": "src/ai-indicator/ai-indicator.template.ts"
3388
+ "name": "foundationAiCriteriaSearchTemplate",
3389
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3568
3390
  }
3569
3391
  }
3570
3392
  ]
3571
3393
  },
3572
3394
  {
3573
3395
  "kind": "javascript-module",
3574
- "path": "src/ai-indicator/ai-indicator.ts",
3396
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3575
3397
  "declarations": [
3576
3398
  {
3577
3399
  "kind": "class",
3578
- "description": "",
3579
- "name": "AiIndicator",
3400
+ "description": "Natural-language criteria search input with AI interpretation.",
3401
+ "name": "AiCriteriaSearch",
3580
3402
  "members": [
3581
3403
  {
3582
3404
  "kind": "field",
@@ -3587,25 +3409,54 @@
3587
3409
  },
3588
3410
  {
3589
3411
  "kind": "field",
3590
- "name": "aiProvider",
3412
+ "name": "placeholder",
3591
3413
  "type": {
3592
- "text": "AIProvider | undefined"
3414
+ "text": "string"
3593
3415
  },
3594
- "privacy": "private",
3595
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
- "readonly": true
3416
+ "default": "'Describe your search criteria in natural language...'"
3597
3417
  },
3598
3418
  {
3599
3419
  "kind": "field",
3600
- "name": "status",
3420
+ "name": "disabled",
3601
3421
  "type": {
3602
- "text": "AIStatus | null"
3422
+ "text": "boolean"
3423
+ }
3424
+ },
3425
+ {
3426
+ "kind": "field",
3427
+ "name": "inputValue",
3428
+ "type": {
3429
+ "text": "string"
3430
+ },
3431
+ "default": "''"
3432
+ },
3433
+ {
3434
+ "kind": "field",
3435
+ "name": "isInterpreting",
3436
+ "type": {
3437
+ "text": "boolean"
3438
+ },
3439
+ "default": "false"
3440
+ },
3441
+ {
3442
+ "kind": "field",
3443
+ "name": "lastValidCriteria",
3444
+ "type": {
3445
+ "text": "string | null"
3603
3446
  },
3604
3447
  "default": "null"
3605
3448
  },
3606
3449
  {
3607
3450
  "kind": "field",
3608
- "name": "open",
3451
+ "name": "activeGroups",
3452
+ "type": {
3453
+ "text": "CriteriaGroup[]"
3454
+ },
3455
+ "default": "[]"
3456
+ },
3457
+ {
3458
+ "kind": "field",
3459
+ "name": "showingChips",
3609
3460
  "type": {
3610
3461
  "text": "boolean"
3611
3462
  },
@@ -3613,15 +3464,15 @@
3613
3464
  },
3614
3465
  {
3615
3466
  "kind": "field",
3616
- "name": "state",
3467
+ "name": "fieldMetadata",
3617
3468
  "type": {
3618
- "text": "AIIndicatorState"
3469
+ "text": "MetadataDetail[] | string[]"
3619
3470
  },
3620
- "default": "'none'"
3471
+ "default": "[]"
3621
3472
  },
3622
3473
  {
3623
3474
  "kind": "field",
3624
- "name": "isInstalling",
3475
+ "name": "isRecording",
3625
3476
  "type": {
3626
3477
  "text": "boolean"
3627
3478
  },
@@ -3629,29 +3480,33 @@
3629
3480
  },
3630
3481
  {
3631
3482
  "kind": "field",
3632
- "name": "pollTimer",
3483
+ "name": "textAreaRef",
3633
3484
  "type": {
3634
- "text": "ReturnType<typeof setInterval> | null"
3485
+ "text": "HTMLTextAreaElement"
3635
3486
  },
3636
- "privacy": "private",
3637
- "default": "null"
3487
+ "privacy": "public"
3638
3488
  },
3639
3489
  {
3640
3490
  "kind": "field",
3641
- "name": "clickOutside",
3642
- "privacy": "private"
3491
+ "name": "stopRecording",
3492
+ "type": {
3493
+ "text": "(() => void) | null"
3494
+ },
3495
+ "privacy": "private",
3496
+ "default": "null"
3643
3497
  },
3644
3498
  {
3645
3499
  "kind": "field",
3646
- "name": "chromeStatusLabel",
3500
+ "name": "speechApplyDebounceTimer",
3647
3501
  "type": {
3648
- "text": "string | null"
3502
+ "text": "ReturnType<typeof setTimeout> | null"
3649
3503
  },
3650
- "readonly": true
3504
+ "privacy": "private",
3505
+ "default": "null"
3651
3506
  },
3652
3507
  {
3653
3508
  "kind": "field",
3654
- "name": "canInstall",
3509
+ "name": "speechAvailable",
3655
3510
  "type": {
3656
3511
  "text": "boolean"
3657
3512
  },
@@ -3659,69 +3514,65 @@
3659
3514
  },
3660
3515
  {
3661
3516
  "kind": "field",
3662
- "name": "isDownloading",
3517
+ "name": "criteriaChips",
3663
3518
  "type": {
3664
- "text": "boolean"
3519
+ "text": "CriteriaChip[]"
3665
3520
  },
3666
3521
  "readonly": true
3667
3522
  },
3668
3523
  {
3669
3524
  "kind": "method",
3670
- "name": "openChanged",
3525
+ "name": "getFieldLabel",
3526
+ "privacy": "private",
3671
3527
  "return": {
3672
3528
  "type": {
3673
- "text": "void"
3529
+ "text": "string"
3674
3530
  }
3675
- }
3676
- },
3677
- {
3678
- "kind": "method",
3679
- "name": "handleClickOutside",
3680
- "privacy": "private",
3531
+ },
3681
3532
  "parameters": [
3682
3533
  {
3683
- "name": "event",
3534
+ "name": "fieldName",
3684
3535
  "type": {
3685
- "text": "MouseEvent"
3536
+ "text": "string"
3686
3537
  }
3687
3538
  }
3688
3539
  ]
3689
3540
  },
3690
3541
  {
3691
3542
  "kind": "method",
3692
- "name": "toggleDropdown"
3693
- },
3694
- {
3695
- "kind": "method",
3696
- "name": "refreshStatus",
3543
+ "name": "toggleCriteriaView",
3697
3544
  "return": {
3698
3545
  "type": {
3699
- "text": "Promise<void>"
3546
+ "text": "void"
3700
3547
  }
3701
3548
  }
3702
3549
  },
3703
3550
  {
3704
3551
  "kind": "method",
3705
- "name": "deriveState",
3706
- "privacy": "private",
3552
+ "name": "removeChip",
3707
3553
  "return": {
3708
3554
  "type": {
3709
- "text": "AIIndicatorState"
3555
+ "text": "void"
3710
3556
  }
3711
3557
  },
3712
3558
  "parameters": [
3713
3559
  {
3714
- "name": "s",
3560
+ "name": "groupIndex",
3715
3561
  "type": {
3716
- "text": "AIStatus | null"
3562
+ "text": "number"
3563
+ }
3564
+ },
3565
+ {
3566
+ "name": "clauseIndex",
3567
+ "type": {
3568
+ "text": "number"
3717
3569
  }
3718
3570
  }
3719
3571
  ]
3720
3572
  },
3721
3573
  {
3722
3574
  "kind": "method",
3723
- "name": "maybeStartPolling",
3724
- "privacy": "private",
3575
+ "name": "clearChips",
3725
3576
  "return": {
3726
3577
  "type": {
3727
3578
  "text": "void"
@@ -3730,32 +3581,24 @@
3730
3581
  },
3731
3582
  {
3732
3583
  "kind": "method",
3733
- "name": "startPolling",
3734
- "privacy": "private",
3735
- "return": {
3736
- "type": {
3737
- "text": "void"
3738
- }
3739
- }
3584
+ "name": "handleSubmit"
3740
3585
  },
3741
3586
  {
3742
3587
  "kind": "method",
3743
- "name": "stopPolling",
3744
- "privacy": "private",
3745
- "return": {
3746
- "type": {
3747
- "text": "void"
3748
- }
3749
- }
3588
+ "name": "handleBlur"
3750
3589
  },
3751
3590
  {
3752
3591
  "kind": "method",
3753
- "name": "onInstall",
3754
- "return": {
3755
- "type": {
3756
- "text": "Promise<void>"
3757
- }
3758
- }
3592
+ "name": "clear"
3593
+ },
3594
+ {
3595
+ "kind": "method",
3596
+ "name": "toggleSpeechInput"
3597
+ },
3598
+ {
3599
+ "kind": "method",
3600
+ "name": "clearSpeechApplyDebounce",
3601
+ "privacy": "private"
3759
3602
  },
3760
3603
  {
3761
3604
  "kind": "field",
@@ -3869,88 +3712,245 @@
3869
3712
  }
3870
3713
  }
3871
3714
  ],
3715
+ "events": [
3716
+ {
3717
+ "description": "Fired when interpreted criteria is applied or cleared",
3718
+ "name": "criteria-changed"
3719
+ },
3720
+ {
3721
+ "description": "Fired when interpreted criteria contains invalid clauses",
3722
+ "name": "validation-errors"
3723
+ }
3724
+ ],
3725
+ "attributes": [
3726
+ {
3727
+ "name": "placeholder",
3728
+ "type": {
3729
+ "text": "string"
3730
+ },
3731
+ "default": "'Describe your search criteria in natural language...'",
3732
+ "fieldName": "placeholder"
3733
+ },
3734
+ {
3735
+ "type": {
3736
+ "text": "boolean"
3737
+ },
3738
+ "fieldName": "disabled"
3739
+ }
3740
+ ],
3872
3741
  "superclass": {
3873
3742
  "name": "FoundationElement",
3874
3743
  "package": "@microsoft/fast-foundation"
3875
3744
  },
3876
- "tagName": "%%prefix%%-ai-indicator",
3745
+ "tagName": "%%prefix%%-ai-criteria-search",
3877
3746
  "customElement": true
3878
3747
  },
3879
3748
  {
3880
3749
  "kind": "variable",
3881
- "name": "foundationAiIndicator"
3750
+ "name": "foundationAiCriteriaSearchShadowOptions",
3751
+ "type": {
3752
+ "text": "ShadowRootInit"
3753
+ },
3754
+ "default": "undefined"
3755
+ },
3756
+ {
3757
+ "kind": "variable",
3758
+ "name": "defaultAiCriteriaSearchConfig",
3759
+ "type": {
3760
+ "text": "object"
3761
+ },
3762
+ "default": "{}"
3763
+ },
3764
+ {
3765
+ "kind": "variable",
3766
+ "name": "foundationAiCriteriaSearch"
3882
3767
  }
3883
3768
  ],
3884
3769
  "exports": [
3885
3770
  {
3886
3771
  "kind": "js",
3887
- "name": "AiIndicator",
3772
+ "name": "AiCriteriaSearch",
3888
3773
  "declaration": {
3889
- "name": "AiIndicator",
3890
- "module": "src/ai-indicator/ai-indicator.ts"
3774
+ "name": "AiCriteriaSearch",
3775
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3891
3776
  }
3892
3777
  },
3893
3778
  {
3894
3779
  "kind": "js",
3895
- "name": "foundationAiIndicator",
3780
+ "name": "foundationAiCriteriaSearchShadowOptions",
3896
3781
  "declaration": {
3897
- "name": "foundationAiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3782
+ "name": "foundationAiCriteriaSearchShadowOptions",
3783
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3784
+ }
3785
+ },
3786
+ {
3787
+ "kind": "js",
3788
+ "name": "defaultAiCriteriaSearchConfig",
3789
+ "declaration": {
3790
+ "name": "defaultAiCriteriaSearchConfig",
3791
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3792
+ }
3793
+ },
3794
+ {
3795
+ "kind": "js",
3796
+ "name": "foundationAiCriteriaSearch",
3797
+ "declaration": {
3798
+ "name": "foundationAiCriteriaSearch",
3799
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3899
3800
  }
3900
3801
  }
3901
3802
  ]
3902
3803
  },
3903
3804
  {
3904
3805
  "kind": "javascript-module",
3905
- "path": "src/ai-indicator/index.ts",
3806
+ "path": "src/ai-criteria-search/index.ts",
3906
3807
  "declarations": [],
3907
3808
  "exports": [
3908
3809
  {
3909
3810
  "kind": "js",
3910
- "name": "AiIndicator",
3811
+ "name": "AiCriteriaSearch",
3911
3812
  "declaration": {
3912
- "name": "AiIndicator",
3913
- "module": "./ai-indicator"
3813
+ "name": "AiCriteriaSearch",
3814
+ "module": "./ai-criteria-search"
3914
3815
  }
3915
3816
  },
3916
3817
  {
3917
3818
  "kind": "js",
3918
- "name": "foundationAiIndicator",
3819
+ "name": "defaultAiCriteriaSearchConfig",
3919
3820
  "declaration": {
3920
- "name": "foundationAiIndicator",
3921
- "module": "./ai-indicator"
3821
+ "name": "defaultAiCriteriaSearchConfig",
3822
+ "module": "./ai-criteria-search"
3922
3823
  }
3923
3824
  },
3924
3825
  {
3925
3826
  "kind": "js",
3926
- "name": "type",
3827
+ "name": "foundationAiCriteriaSearch",
3927
3828
  "declaration": {
3928
- "name": "type",
3929
- "module": "./ai-indicator"
3829
+ "name": "foundationAiCriteriaSearch",
3830
+ "module": "./ai-criteria-search"
3930
3831
  }
3931
3832
  },
3932
3833
  {
3933
3834
  "kind": "js",
3934
- "name": "AIIndicatorState",
3835
+ "name": "foundationAiCriteriaSearchShadowOptions",
3935
3836
  "declaration": {
3936
- "name": "AIIndicatorState",
3937
- "module": "./ai-indicator"
3837
+ "name": "foundationAiCriteriaSearchShadowOptions",
3838
+ "module": "./ai-criteria-search"
3938
3839
  }
3939
3840
  },
3940
3841
  {
3941
3842
  "kind": "js",
3942
- "name": "foundationAiIndicatorTemplate",
3843
+ "name": "foundationAiCriteriaSearchStyles",
3943
3844
  "declaration": {
3944
- "name": "foundationAiIndicatorTemplate",
3945
- "module": "./ai-indicator.template"
3845
+ "name": "foundationAiCriteriaSearchStyles",
3846
+ "module": "./ai-criteria-search.styles"
3946
3847
  }
3947
3848
  },
3948
3849
  {
3949
3850
  "kind": "js",
3950
- "name": "foundationAiIndicatorStyles",
3851
+ "name": "foundationAiCriteriaSearchTemplate",
3951
3852
  "declaration": {
3952
- "name": "foundationAiIndicatorStyles",
3953
- "module": "./ai-indicator.styles"
3853
+ "name": "foundationAiCriteriaSearchTemplate",
3854
+ "module": "./ai-criteria-search.template"
3855
+ }
3856
+ },
3857
+ {
3858
+ "kind": "js",
3859
+ "name": "*",
3860
+ "declaration": {
3861
+ "name": "*",
3862
+ "package": "./validation/criteria-ir"
3863
+ }
3864
+ },
3865
+ {
3866
+ "kind": "js",
3867
+ "name": "*",
3868
+ "declaration": {
3869
+ "name": "*",
3870
+ "package": "./validation/operator-map"
3871
+ }
3872
+ },
3873
+ {
3874
+ "kind": "js",
3875
+ "name": "*",
3876
+ "declaration": {
3877
+ "name": "*",
3878
+ "package": "./validation/schema-validator"
3879
+ }
3880
+ }
3881
+ ]
3882
+ },
3883
+ {
3884
+ "kind": "javascript-module",
3885
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3886
+ "declarations": [
3887
+ {
3888
+ "kind": "function",
3889
+ "name": "formatValidationErrors",
3890
+ "return": {
3891
+ "type": {
3892
+ "text": "string"
3893
+ }
3894
+ },
3895
+ "parameters": [
3896
+ {
3897
+ "name": "errors",
3898
+ "type": {
3899
+ "text": "ValidationError[]"
3900
+ }
3901
+ }
3902
+ ],
3903
+ "description": "Formats validation errors into a user-friendly message."
3904
+ },
3905
+ {
3906
+ "kind": "function",
3907
+ "name": "showCriteriaError",
3908
+ "return": {
3909
+ "type": {
3910
+ "text": "void"
3911
+ }
3912
+ },
3913
+ "parameters": [
3914
+ {
3915
+ "name": "title",
3916
+ "type": {
3917
+ "text": "string"
3918
+ },
3919
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3920
+ },
3921
+ {
3922
+ "name": "body",
3923
+ "type": {
3924
+ "text": "string"
3925
+ },
3926
+ "description": "Error message to display"
3927
+ },
3928
+ {
3929
+ "name": "tagName",
3930
+ "type": {
3931
+ "text": "string"
3932
+ },
3933
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3934
+ }
3935
+ ],
3936
+ "description": "Shows a criteria error as a toast notification."
3937
+ }
3938
+ ],
3939
+ "exports": [
3940
+ {
3941
+ "kind": "js",
3942
+ "name": "formatValidationErrors",
3943
+ "declaration": {
3944
+ "name": "formatValidationErrors",
3945
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3946
+ }
3947
+ },
3948
+ {
3949
+ "kind": "js",
3950
+ "name": "showCriteriaError",
3951
+ "declaration": {
3952
+ "name": "showCriteriaError",
3953
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -6067,11 +6067,11 @@
6067
6067
  },
6068
6068
  {
6069
6069
  "kind": "javascript-module",
6070
- "path": "src/badge/badge.styles.ts",
6070
+ "path": "src/avatar/avatar.styles.ts",
6071
6071
  "declarations": [
6072
6072
  {
6073
6073
  "kind": "function",
6074
- "name": "foundationBadgeStyles",
6074
+ "name": "foundationAvatarStyles",
6075
6075
  "return": {
6076
6076
  "type": {
6077
6077
  "text": "ElementStyles"
@@ -6096,24 +6096,24 @@
6096
6096
  "exports": [
6097
6097
  {
6098
6098
  "kind": "js",
6099
- "name": "foundationBadgeStyles",
6099
+ "name": "foundationAvatarStyles",
6100
6100
  "declaration": {
6101
- "name": "foundationBadgeStyles",
6102
- "module": "src/badge/badge.styles.ts"
6101
+ "name": "foundationAvatarStyles",
6102
+ "module": "src/avatar/avatar.styles.ts"
6103
6103
  }
6104
6104
  }
6105
6105
  ]
6106
6106
  },
6107
6107
  {
6108
6108
  "kind": "javascript-module",
6109
- "path": "src/badge/badge.template.ts",
6109
+ "path": "src/avatar/avatar.template.ts",
6110
6110
  "declarations": [
6111
6111
  {
6112
6112
  "kind": "function",
6113
- "name": "foundationBadgeTemplate",
6113
+ "name": "foundationAvatarTemplate",
6114
6114
  "return": {
6115
6115
  "type": {
6116
- "text": "ViewTemplate<Badge>"
6116
+ "text": "ViewTemplate<Avatar>"
6117
6117
  }
6118
6118
  },
6119
6119
  "parameters": [
@@ -6130,32 +6130,45 @@
6130
6130
  }
6131
6131
  }
6132
6132
  ]
6133
+ },
6134
+ {
6135
+ "kind": "variable",
6136
+ "name": "media",
6137
+ "default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
6133
6138
  }
6134
6139
  ],
6135
6140
  "exports": [
6136
6141
  {
6137
6142
  "kind": "js",
6138
- "name": "foundationBadgeTemplate",
6143
+ "name": "foundationAvatarTemplate",
6139
6144
  "declaration": {
6140
- "name": "foundationBadgeTemplate",
6141
- "module": "src/badge/badge.template.ts"
6145
+ "name": "foundationAvatarTemplate",
6146
+ "module": "src/avatar/avatar.template.ts"
6147
+ }
6148
+ },
6149
+ {
6150
+ "kind": "js",
6151
+ "name": "media",
6152
+ "declaration": {
6153
+ "name": "media",
6154
+ "module": "src/avatar/avatar.template.ts"
6142
6155
  }
6143
6156
  }
6144
6157
  ]
6145
6158
  },
6146
6159
  {
6147
6160
  "kind": "javascript-module",
6148
- "path": "src/badge/badge.ts",
6161
+ "path": "src/avatar/avatar.ts",
6149
6162
  "declarations": [
6150
6163
  {
6151
6164
  "kind": "class",
6152
6165
  "description": "",
6153
- "name": "Badge",
6166
+ "name": "Avatar",
6154
6167
  "superclass": {
6155
- "name": "FASTBadge",
6168
+ "name": "FASTAvatar",
6156
6169
  "package": "@microsoft/fast-components"
6157
6170
  },
6158
- "tagName": "%%prefix%%-badge",
6171
+ "tagName": "%%prefix%%-avatar",
6159
6172
  "customElement": true,
6160
6173
  "attributes": [
6161
6174
  {
@@ -6163,34 +6176,47 @@
6163
6176
  "type": {
6164
6177
  "text": "string"
6165
6178
  },
6166
- "description": "Indicates the badge should have a filled style.",
6179
+ "description": "Indicates the Avatar should have a color fill.",
6167
6180
  "fieldName": "fill",
6168
6181
  "inheritedFrom": {
6169
- "name": "Badge",
6170
- "module": "src/badge/badge.ts"
6182
+ "name": "Avatar",
6183
+ "module": "src/avatar/avatar.ts"
6184
+ }
6185
+ },
6186
+ {
6187
+ "name": "color",
6188
+ "type": {
6189
+ "text": "string"
6190
+ },
6191
+ "description": "Indicates the Avatar should have a text color.",
6192
+ "fieldName": "color",
6193
+ "inheritedFrom": {
6194
+ "name": "Avatar",
6195
+ "module": "src/avatar/avatar.ts"
6171
6196
  }
6172
6197
  },
6173
6198
  {
6174
- "name": "color",
6199
+ "name": "link",
6175
6200
  "type": {
6176
6201
  "text": "string"
6177
6202
  },
6178
- "description": "Indicates the badge should have a filled style.",
6179
- "fieldName": "color",
6203
+ "description": "Indicates the Avatar should have url link",
6204
+ "fieldName": "link",
6180
6205
  "inheritedFrom": {
6181
- "name": "Badge",
6182
- "module": "src/badge/badge.ts"
6206
+ "name": "Avatar",
6207
+ "module": "src/avatar/avatar.ts"
6183
6208
  }
6184
6209
  },
6185
6210
  {
6211
+ "name": "shape",
6186
6212
  "type": {
6187
- "text": "boolean"
6213
+ "text": "AvatarShape"
6188
6214
  },
6189
- "description": "Indicates the element should be circular",
6190
- "fieldName": "circular",
6215
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6216
+ "fieldName": "shape",
6191
6217
  "inheritedFrom": {
6192
- "name": "Badge",
6193
- "module": "src/badge/badge.ts"
6218
+ "name": "Avatar",
6219
+ "module": "src/avatar/avatar.ts"
6194
6220
  }
6195
6221
  }
6196
6222
  ],
@@ -6202,10 +6228,10 @@
6202
6228
  "text": "string"
6203
6229
  },
6204
6230
  "privacy": "public",
6205
- "description": "Indicates the badge should have a filled style.",
6231
+ "description": "Indicates the Avatar should have a color fill.",
6206
6232
  "inheritedFrom": {
6207
- "name": "Badge",
6208
- "module": "src/badge/badge.ts"
6233
+ "name": "Avatar",
6234
+ "module": "src/avatar/avatar.ts"
6209
6235
  }
6210
6236
  },
6211
6237
  {
@@ -6215,32 +6241,36 @@
6215
6241
  "text": "string"
6216
6242
  },
6217
6243
  "privacy": "public",
6218
- "description": "Indicates the badge should have a filled style.",
6244
+ "description": "Indicates the Avatar should have a text color.",
6219
6245
  "inheritedFrom": {
6220
- "name": "Badge",
6221
- "module": "src/badge/badge.ts"
6246
+ "name": "Avatar",
6247
+ "module": "src/avatar/avatar.ts"
6222
6248
  }
6223
6249
  },
6224
6250
  {
6225
6251
  "kind": "field",
6226
- "name": "circular",
6252
+ "name": "link",
6227
6253
  "type": {
6228
- "text": "boolean"
6254
+ "text": "string"
6229
6255
  },
6230
6256
  "privacy": "public",
6231
- "description": "Indicates the element should be circular",
6257
+ "description": "Indicates the Avatar should have url link",
6232
6258
  "inheritedFrom": {
6233
- "name": "Badge",
6234
- "module": "src/badge/badge.ts"
6259
+ "name": "Avatar",
6260
+ "module": "src/avatar/avatar.ts"
6235
6261
  }
6236
6262
  },
6237
6263
  {
6238
6264
  "kind": "field",
6239
- "name": "generateBadgeStyle",
6265
+ "name": "shape",
6266
+ "type": {
6267
+ "text": "AvatarShape"
6268
+ },
6240
6269
  "privacy": "public",
6270
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6241
6271
  "inheritedFrom": {
6242
- "name": "Badge",
6243
- "module": "src/badge/badge.ts"
6272
+ "name": "Avatar",
6273
+ "module": "src/avatar/avatar.ts"
6244
6274
  }
6245
6275
  },
6246
6276
  {
@@ -6358,65 +6388,65 @@
6358
6388
  },
6359
6389
  {
6360
6390
  "kind": "variable",
6361
- "name": "foundationBadgeShadowOptions",
6391
+ "name": "foundationAvatarShadowOptions",
6362
6392
  "type": {
6363
6393
  "text": "ShadowRootInit"
6364
6394
  },
6365
- "default": "undefined"
6395
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
6366
6396
  },
6367
6397
  {
6368
6398
  "kind": "variable",
6369
- "name": "defaultBadgeConfig",
6399
+ "name": "defaultAvatarConfig",
6370
6400
  "type": {
6371
6401
  "text": "object"
6372
6402
  },
6373
- "default": "{}"
6403
+ "default": "{\n media: mediaTemplate,\n}"
6374
6404
  },
6375
6405
  {
6376
6406
  "kind": "variable",
6377
- "name": "foundationBadge",
6378
- "description": "The Foundation Badge",
6407
+ "name": "foundationAvatar",
6408
+ "description": "The Foundation Avatar",
6379
6409
  "privacy": "public"
6380
6410
  }
6381
6411
  ],
6382
6412
  "exports": [
6383
6413
  {
6384
6414
  "kind": "js",
6385
- "name": "Badge",
6415
+ "name": "Avatar",
6386
6416
  "declaration": {
6387
- "name": "Badge",
6388
- "module": "src/badge/badge.ts"
6417
+ "name": "Avatar",
6418
+ "module": "src/avatar/avatar.ts"
6389
6419
  }
6390
6420
  },
6391
6421
  {
6392
6422
  "kind": "js",
6393
- "name": "foundationBadgeShadowOptions",
6423
+ "name": "foundationAvatarShadowOptions",
6394
6424
  "declaration": {
6395
- "name": "foundationBadgeShadowOptions",
6396
- "module": "src/badge/badge.ts"
6425
+ "name": "foundationAvatarShadowOptions",
6426
+ "module": "src/avatar/avatar.ts"
6397
6427
  }
6398
6428
  },
6399
6429
  {
6400
6430
  "kind": "js",
6401
- "name": "defaultBadgeConfig",
6431
+ "name": "defaultAvatarConfig",
6402
6432
  "declaration": {
6403
- "name": "defaultBadgeConfig",
6404
- "module": "src/badge/badge.ts"
6433
+ "name": "defaultAvatarConfig",
6434
+ "module": "src/avatar/avatar.ts"
6405
6435
  }
6406
6436
  },
6407
6437
  {
6408
6438
  "kind": "js",
6409
- "name": "foundationBadge",
6439
+ "name": "foundationAvatar",
6410
6440
  "declaration": {
6411
- "name": "foundationBadge",
6412
- "module": "src/badge/badge.ts"
6441
+ "name": "foundationAvatar",
6442
+ "module": "src/avatar/avatar.ts"
6413
6443
  }
6414
6444
  }
6415
6445
  ]
6416
6446
  },
6417
6447
  {
6418
6448
  "kind": "javascript-module",
6419
- "path": "src/badge/index.ts",
6449
+ "path": "src/avatar/index.ts",
6420
6450
  "declarations": [],
6421
6451
  "exports": [
6422
6452
  {
@@ -6424,7 +6454,7 @@
6424
6454
  "name": "*",
6425
6455
  "declaration": {
6426
6456
  "name": "*",
6427
- "package": "./badge.template"
6457
+ "package": "./avatar.template"
6428
6458
  }
6429
6459
  },
6430
6460
  {
@@ -6432,7 +6462,7 @@
6432
6462
  "name": "*",
6433
6463
  "declaration": {
6434
6464
  "name": "*",
6435
- "package": "./badge.styles"
6465
+ "package": "./avatar.styles"
6436
6466
  }
6437
6467
  },
6438
6468
  {
@@ -6440,18 +6470,18 @@
6440
6470
  "name": "*",
6441
6471
  "declaration": {
6442
6472
  "name": "*",
6443
- "package": "./badge"
6473
+ "package": "./avatar"
6444
6474
  }
6445
6475
  }
6446
6476
  ]
6447
6477
  },
6448
6478
  {
6449
6479
  "kind": "javascript-module",
6450
- "path": "src/avatar/avatar.styles.ts",
6480
+ "path": "src/badge/badge.styles.ts",
6451
6481
  "declarations": [
6452
6482
  {
6453
6483
  "kind": "function",
6454
- "name": "foundationAvatarStyles",
6484
+ "name": "foundationBadgeStyles",
6455
6485
  "return": {
6456
6486
  "type": {
6457
6487
  "text": "ElementStyles"
@@ -6476,24 +6506,24 @@
6476
6506
  "exports": [
6477
6507
  {
6478
6508
  "kind": "js",
6479
- "name": "foundationAvatarStyles",
6509
+ "name": "foundationBadgeStyles",
6480
6510
  "declaration": {
6481
- "name": "foundationAvatarStyles",
6482
- "module": "src/avatar/avatar.styles.ts"
6511
+ "name": "foundationBadgeStyles",
6512
+ "module": "src/badge/badge.styles.ts"
6483
6513
  }
6484
6514
  }
6485
6515
  ]
6486
6516
  },
6487
6517
  {
6488
6518
  "kind": "javascript-module",
6489
- "path": "src/avatar/avatar.template.ts",
6519
+ "path": "src/badge/badge.template.ts",
6490
6520
  "declarations": [
6491
6521
  {
6492
6522
  "kind": "function",
6493
- "name": "foundationAvatarTemplate",
6523
+ "name": "foundationBadgeTemplate",
6494
6524
  "return": {
6495
6525
  "type": {
6496
- "text": "ViewTemplate<Avatar>"
6526
+ "text": "ViewTemplate<Badge>"
6497
6527
  }
6498
6528
  },
6499
6529
  "parameters": [
@@ -6510,45 +6540,32 @@
6510
6540
  }
6511
6541
  }
6512
6542
  ]
6513
- },
6514
- {
6515
- "kind": "variable",
6516
- "name": "media",
6517
- "default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
6518
6543
  }
6519
6544
  ],
6520
6545
  "exports": [
6521
6546
  {
6522
6547
  "kind": "js",
6523
- "name": "foundationAvatarTemplate",
6524
- "declaration": {
6525
- "name": "foundationAvatarTemplate",
6526
- "module": "src/avatar/avatar.template.ts"
6527
- }
6528
- },
6529
- {
6530
- "kind": "js",
6531
- "name": "media",
6548
+ "name": "foundationBadgeTemplate",
6532
6549
  "declaration": {
6533
- "name": "media",
6534
- "module": "src/avatar/avatar.template.ts"
6550
+ "name": "foundationBadgeTemplate",
6551
+ "module": "src/badge/badge.template.ts"
6535
6552
  }
6536
6553
  }
6537
6554
  ]
6538
6555
  },
6539
6556
  {
6540
6557
  "kind": "javascript-module",
6541
- "path": "src/avatar/avatar.ts",
6558
+ "path": "src/badge/badge.ts",
6542
6559
  "declarations": [
6543
6560
  {
6544
6561
  "kind": "class",
6545
6562
  "description": "",
6546
- "name": "Avatar",
6563
+ "name": "Badge",
6547
6564
  "superclass": {
6548
- "name": "FASTAvatar",
6565
+ "name": "FASTBadge",
6549
6566
  "package": "@microsoft/fast-components"
6550
6567
  },
6551
- "tagName": "%%prefix%%-avatar",
6568
+ "tagName": "%%prefix%%-badge",
6552
6569
  "customElement": true,
6553
6570
  "attributes": [
6554
6571
  {
@@ -6556,11 +6573,11 @@
6556
6573
  "type": {
6557
6574
  "text": "string"
6558
6575
  },
6559
- "description": "Indicates the Avatar should have a color fill.",
6576
+ "description": "Indicates the badge should have a filled style.",
6560
6577
  "fieldName": "fill",
6561
6578
  "inheritedFrom": {
6562
- "name": "Avatar",
6563
- "module": "src/avatar/avatar.ts"
6579
+ "name": "Badge",
6580
+ "module": "src/badge/badge.ts"
6564
6581
  }
6565
6582
  },
6566
6583
  {
@@ -6568,35 +6585,22 @@
6568
6585
  "type": {
6569
6586
  "text": "string"
6570
6587
  },
6571
- "description": "Indicates the Avatar should have a text color.",
6588
+ "description": "Indicates the badge should have a filled style.",
6572
6589
  "fieldName": "color",
6573
6590
  "inheritedFrom": {
6574
- "name": "Avatar",
6575
- "module": "src/avatar/avatar.ts"
6576
- }
6577
- },
6578
- {
6579
- "name": "link",
6580
- "type": {
6581
- "text": "string"
6582
- },
6583
- "description": "Indicates the Avatar should have url link",
6584
- "fieldName": "link",
6585
- "inheritedFrom": {
6586
- "name": "Avatar",
6587
- "module": "src/avatar/avatar.ts"
6591
+ "name": "Badge",
6592
+ "module": "src/badge/badge.ts"
6588
6593
  }
6589
6594
  },
6590
6595
  {
6591
- "name": "shape",
6592
6596
  "type": {
6593
- "text": "AvatarShape"
6597
+ "text": "boolean"
6594
6598
  },
6595
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6596
- "fieldName": "shape",
6599
+ "description": "Indicates the element should be circular",
6600
+ "fieldName": "circular",
6597
6601
  "inheritedFrom": {
6598
- "name": "Avatar",
6599
- "module": "src/avatar/avatar.ts"
6602
+ "name": "Badge",
6603
+ "module": "src/badge/badge.ts"
6600
6604
  }
6601
6605
  }
6602
6606
  ],
@@ -6608,10 +6612,10 @@
6608
6612
  "text": "string"
6609
6613
  },
6610
6614
  "privacy": "public",
6611
- "description": "Indicates the Avatar should have a color fill.",
6615
+ "description": "Indicates the badge should have a filled style.",
6612
6616
  "inheritedFrom": {
6613
- "name": "Avatar",
6614
- "module": "src/avatar/avatar.ts"
6617
+ "name": "Badge",
6618
+ "module": "src/badge/badge.ts"
6615
6619
  }
6616
6620
  },
6617
6621
  {
@@ -6621,36 +6625,32 @@
6621
6625
  "text": "string"
6622
6626
  },
6623
6627
  "privacy": "public",
6624
- "description": "Indicates the Avatar should have a text color.",
6628
+ "description": "Indicates the badge should have a filled style.",
6625
6629
  "inheritedFrom": {
6626
- "name": "Avatar",
6627
- "module": "src/avatar/avatar.ts"
6630
+ "name": "Badge",
6631
+ "module": "src/badge/badge.ts"
6628
6632
  }
6629
6633
  },
6630
6634
  {
6631
6635
  "kind": "field",
6632
- "name": "link",
6636
+ "name": "circular",
6633
6637
  "type": {
6634
- "text": "string"
6638
+ "text": "boolean"
6635
6639
  },
6636
6640
  "privacy": "public",
6637
- "description": "Indicates the Avatar should have url link",
6641
+ "description": "Indicates the element should be circular",
6638
6642
  "inheritedFrom": {
6639
- "name": "Avatar",
6640
- "module": "src/avatar/avatar.ts"
6643
+ "name": "Badge",
6644
+ "module": "src/badge/badge.ts"
6641
6645
  }
6642
6646
  },
6643
6647
  {
6644
6648
  "kind": "field",
6645
- "name": "shape",
6646
- "type": {
6647
- "text": "AvatarShape"
6648
- },
6649
+ "name": "generateBadgeStyle",
6649
6650
  "privacy": "public",
6650
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6651
6651
  "inheritedFrom": {
6652
- "name": "Avatar",
6653
- "module": "src/avatar/avatar.ts"
6652
+ "name": "Badge",
6653
+ "module": "src/badge/badge.ts"
6654
6654
  }
6655
6655
  },
6656
6656
  {
@@ -6768,65 +6768,65 @@
6768
6768
  },
6769
6769
  {
6770
6770
  "kind": "variable",
6771
- "name": "foundationAvatarShadowOptions",
6771
+ "name": "foundationBadgeShadowOptions",
6772
6772
  "type": {
6773
6773
  "text": "ShadowRootInit"
6774
6774
  },
6775
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
6775
+ "default": "undefined"
6776
6776
  },
6777
6777
  {
6778
6778
  "kind": "variable",
6779
- "name": "defaultAvatarConfig",
6779
+ "name": "defaultBadgeConfig",
6780
6780
  "type": {
6781
6781
  "text": "object"
6782
6782
  },
6783
- "default": "{\n media: mediaTemplate,\n}"
6783
+ "default": "{}"
6784
6784
  },
6785
6785
  {
6786
6786
  "kind": "variable",
6787
- "name": "foundationAvatar",
6788
- "description": "The Foundation Avatar",
6787
+ "name": "foundationBadge",
6788
+ "description": "The Foundation Badge",
6789
6789
  "privacy": "public"
6790
6790
  }
6791
6791
  ],
6792
6792
  "exports": [
6793
6793
  {
6794
6794
  "kind": "js",
6795
- "name": "Avatar",
6795
+ "name": "Badge",
6796
6796
  "declaration": {
6797
- "name": "Avatar",
6798
- "module": "src/avatar/avatar.ts"
6797
+ "name": "Badge",
6798
+ "module": "src/badge/badge.ts"
6799
6799
  }
6800
6800
  },
6801
6801
  {
6802
6802
  "kind": "js",
6803
- "name": "foundationAvatarShadowOptions",
6803
+ "name": "foundationBadgeShadowOptions",
6804
6804
  "declaration": {
6805
- "name": "foundationAvatarShadowOptions",
6806
- "module": "src/avatar/avatar.ts"
6805
+ "name": "foundationBadgeShadowOptions",
6806
+ "module": "src/badge/badge.ts"
6807
6807
  }
6808
6808
  },
6809
6809
  {
6810
6810
  "kind": "js",
6811
- "name": "defaultAvatarConfig",
6811
+ "name": "defaultBadgeConfig",
6812
6812
  "declaration": {
6813
- "name": "defaultAvatarConfig",
6814
- "module": "src/avatar/avatar.ts"
6813
+ "name": "defaultBadgeConfig",
6814
+ "module": "src/badge/badge.ts"
6815
6815
  }
6816
6816
  },
6817
6817
  {
6818
6818
  "kind": "js",
6819
- "name": "foundationAvatar",
6819
+ "name": "foundationBadge",
6820
6820
  "declaration": {
6821
- "name": "foundationAvatar",
6822
- "module": "src/avatar/avatar.ts"
6821
+ "name": "foundationBadge",
6822
+ "module": "src/badge/badge.ts"
6823
6823
  }
6824
6824
  }
6825
6825
  ]
6826
6826
  },
6827
6827
  {
6828
6828
  "kind": "javascript-module",
6829
- "path": "src/avatar/index.ts",
6829
+ "path": "src/badge/index.ts",
6830
6830
  "declarations": [],
6831
6831
  "exports": [
6832
6832
  {
@@ -6834,7 +6834,7 @@
6834
6834
  "name": "*",
6835
6835
  "declaration": {
6836
6836
  "name": "*",
6837
- "package": "./avatar.template"
6837
+ "package": "./badge.template"
6838
6838
  }
6839
6839
  },
6840
6840
  {
@@ -6842,7 +6842,7 @@
6842
6842
  "name": "*",
6843
6843
  "declaration": {
6844
6844
  "name": "*",
6845
- "package": "./avatar.styles"
6845
+ "package": "./badge.styles"
6846
6846
  }
6847
6847
  },
6848
6848
  {
@@ -6850,7 +6850,7 @@
6850
6850
  "name": "*",
6851
6851
  "declaration": {
6852
6852
  "name": "*",
6853
- "package": "./avatar"
6853
+ "package": "./badge"
6854
6854
  }
6855
6855
  }
6856
6856
  ]