@genesislcap/foundation-ui 15.6.0 → 15.6.2-GENC-1475.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1818,34 +1818,11 @@
1818
1818
  },
1819
1819
  {
1820
1820
  "kind": "javascript-module",
1821
- "path": "src/actions-menu/actions-menu.styles.ts",
1821
+ "path": "src/accordion/accordion.styles.ts",
1822
1822
  "declarations": [
1823
1823
  {
1824
1824
  "kind": "function",
1825
- "name": "actionsMenuBaseStyles",
1826
- "return": {
1827
- "type": {
1828
- "text": "ElementStyles"
1829
- }
1830
- },
1831
- "parameters": [
1832
- {
1833
- "name": "context",
1834
- "type": {
1835
- "text": "ElementDefinitionContext"
1836
- }
1837
- },
1838
- {
1839
- "name": "definition",
1840
- "type": {
1841
- "text": "FoundationElementDefinition"
1842
- }
1843
- }
1844
- ]
1845
- },
1846
- {
1847
- "kind": "function",
1848
- "name": "foundationActionsMenuStyles",
1825
+ "name": "foundationAccordionStyles",
1849
1826
  "return": {
1850
1827
  "type": {
1851
1828
  "text": "ElementStyles"
@@ -1870,281 +1847,277 @@
1870
1847
  "exports": [
1871
1848
  {
1872
1849
  "kind": "js",
1873
- "name": "actionsMenuBaseStyles",
1874
- "declaration": {
1875
- "name": "actionsMenuBaseStyles",
1876
- "module": "src/actions-menu/actions-menu.styles.ts"
1877
- }
1878
- },
1879
- {
1880
- "kind": "js",
1881
- "name": "foundationActionsMenuStyles",
1850
+ "name": "foundationAccordionStyles",
1882
1851
  "declaration": {
1883
- "name": "foundationActionsMenuStyles",
1884
- "module": "src/actions-menu/actions-menu.styles.ts"
1852
+ "name": "foundationAccordionStyles",
1853
+ "module": "src/accordion/accordion.styles.ts"
1885
1854
  }
1886
1855
  }
1887
1856
  ]
1888
1857
  },
1889
1858
  {
1890
1859
  "kind": "javascript-module",
1891
- "path": "src/actions-menu/actions-menu.template.ts",
1860
+ "path": "src/accordion/accordion.template.ts",
1892
1861
  "declarations": [
1893
1862
  {
1894
1863
  "kind": "function",
1895
- "name": "menuTemplate",
1864
+ "name": "foundationAccordionTemplate",
1865
+ "return": {
1866
+ "type": {
1867
+ "text": "ViewTemplate<Accordion>"
1868
+ }
1869
+ },
1896
1870
  "parameters": [
1897
1871
  {
1898
- "name": "prefix",
1872
+ "name": "context",
1899
1873
  "type": {
1900
- "text": "string"
1874
+ "text": "ElementDefinitionContext"
1901
1875
  }
1902
- }
1903
- ]
1904
- },
1905
- {
1906
- "kind": "function",
1907
- "name": "singleOptionTemplate",
1908
- "parameters": [
1876
+ },
1909
1877
  {
1910
- "name": "prefix",
1878
+ "name": "definition",
1911
1879
  "type": {
1912
- "text": "string"
1880
+ "text": "FoundationElementDefinition"
1913
1881
  }
1914
1882
  }
1915
1883
  ]
1916
- },
1917
- {
1918
- "kind": "variable",
1919
- "name": "foundationActionsMenuTemplate",
1920
- "type": {
1921
- "text": "ViewTemplate<ActionsMenu>"
1922
- },
1923
- "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`"
1924
1884
  }
1925
1885
  ],
1926
1886
  "exports": [
1927
1887
  {
1928
1888
  "kind": "js",
1929
- "name": "menuTemplate",
1930
- "declaration": {
1931
- "name": "menuTemplate",
1932
- "module": "src/actions-menu/actions-menu.template.ts"
1933
- }
1934
- },
1935
- {
1936
- "kind": "js",
1937
- "name": "singleOptionTemplate",
1938
- "declaration": {
1939
- "name": "singleOptionTemplate",
1940
- "module": "src/actions-menu/actions-menu.template.ts"
1941
- }
1942
- },
1943
- {
1944
- "kind": "js",
1945
- "name": "foundationActionsMenuTemplate",
1889
+ "name": "foundationAccordionTemplate",
1946
1890
  "declaration": {
1947
- "name": "foundationActionsMenuTemplate",
1948
- "module": "src/actions-menu/actions-menu.template.ts"
1891
+ "name": "foundationAccordionTemplate",
1892
+ "module": "src/accordion/accordion.template.ts"
1949
1893
  }
1950
1894
  }
1951
1895
  ]
1952
1896
  },
1953
1897
  {
1954
1898
  "kind": "javascript-module",
1955
- "path": "src/actions-menu/actions-menu.ts",
1899
+ "path": "src/accordion/accordion.ts",
1956
1900
  "declarations": [
1957
1901
  {
1958
1902
  "kind": "class",
1959
1903
  "description": "",
1960
- "name": "ActionsMenu",
1961
- "members": [
1904
+ "name": "Accordion",
1905
+ "superclass": {
1906
+ "name": "FASTAccordion",
1907
+ "package": "@microsoft/fast-foundation"
1908
+ },
1909
+ "tagName": "%%prefix%%-accordion",
1910
+ "customElement": true,
1911
+ "attributes": [
1962
1912
  {
1963
- "kind": "field",
1964
- "name": "actions",
1913
+ "name": "expand-mode",
1965
1914
  "type": {
1966
- "text": "ActionMenuItem[]"
1915
+ "text": "AccordionExpandMode"
1916
+ },
1917
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1918
+ "fieldName": "expandmode",
1919
+ "inheritedFrom": {
1920
+ "name": "Accordion",
1921
+ "module": "src/accordion/accordion.ts"
1967
1922
  }
1968
- },
1923
+ }
1924
+ ],
1925
+ "members": [
1969
1926
  {
1970
1927
  "kind": "field",
1971
- "name": "isVertical",
1928
+ "name": "expandmode",
1972
1929
  "type": {
1973
- "text": "boolean"
1930
+ "text": "AccordionExpandMode"
1974
1931
  },
1975
- "default": "false"
1932
+ "privacy": "public",
1933
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1934
+ "inheritedFrom": {
1935
+ "name": "Accordion",
1936
+ "module": "src/accordion/accordion.ts"
1937
+ }
1976
1938
  },
1977
1939
  {
1978
1940
  "kind": "field",
1979
- "name": "addDefaultActions",
1941
+ "name": "activeid",
1980
1942
  "type": {
1981
- "text": "boolean"
1943
+ "text": "string | null"
1982
1944
  },
1983
- "default": "true"
1945
+ "privacy": "private",
1946
+ "inheritedFrom": {
1947
+ "name": "Accordion",
1948
+ "module": "src/accordion/accordion.ts"
1949
+ }
1984
1950
  },
1985
1951
  {
1986
1952
  "kind": "field",
1987
- "name": "autoCloseOnAction",
1953
+ "name": "activeItemIndex",
1988
1954
  "type": {
1989
- "text": "boolean"
1955
+ "text": "number"
1990
1956
  },
1991
- "default": "true"
1992
- },
1993
- {
1994
- "kind": "field",
1995
- "name": "classNames",
1996
- "type": {
1997
- "text": "string"
1957
+ "privacy": "private",
1958
+ "default": "0",
1959
+ "inheritedFrom": {
1960
+ "name": "Accordion",
1961
+ "module": "src/accordion/accordion.ts"
1998
1962
  }
1999
1963
  },
2000
1964
  {
2001
1965
  "kind": "field",
2002
- "name": "definition",
1966
+ "name": "accordionIds",
2003
1967
  "type": {
2004
- "text": "any"
1968
+ "text": "Array<string | null>"
1969
+ },
1970
+ "privacy": "private",
1971
+ "inheritedFrom": {
1972
+ "name": "Accordion",
1973
+ "module": "src/accordion/accordion.ts"
2005
1974
  }
2006
1975
  },
2007
1976
  {
2008
1977
  "kind": "field",
2009
- "name": "name",
2010
- "type": {
2011
- "text": "string"
2012
- },
2013
- "default": "'Actions'"
1978
+ "name": "change",
1979
+ "privacy": "private",
1980
+ "inheritedFrom": {
1981
+ "name": "Accordion",
1982
+ "module": "src/accordion/accordion.ts"
1983
+ }
2014
1984
  },
2015
1985
  {
2016
- "kind": "field",
2017
- "name": "open",
2018
- "type": {
2019
- "text": "boolean"
1986
+ "kind": "method",
1987
+ "name": "findExpandedItem",
1988
+ "privacy": "private",
1989
+ "return": {
1990
+ "type": {
1991
+ "text": "AccordionItem | null"
1992
+ }
2020
1993
  },
2021
- "default": "false"
2022
- },
2023
- {
2024
- "kind": "field",
2025
- "name": "buttonAppearance",
2026
- "type": {
2027
- "text": "string"
1994
+ "inheritedFrom": {
1995
+ "name": "Accordion",
1996
+ "module": "src/accordion/accordion.ts"
2028
1997
  }
2029
1998
  },
2030
1999
  {
2031
2000
  "kind": "field",
2032
- "name": "hideDisabled",
2033
- "type": {
2034
- "text": "boolean"
2035
- },
2036
- "default": "false"
2001
+ "name": "setItems",
2002
+ "privacy": "private",
2003
+ "inheritedFrom": {
2004
+ "name": "Accordion",
2005
+ "module": "src/accordion/accordion.ts"
2006
+ }
2037
2007
  },
2038
2008
  {
2039
- "kind": "field",
2040
- "name": "hideMenuSingleOption",
2041
- "type": {
2042
- "text": "boolean"
2009
+ "kind": "method",
2010
+ "name": "resetItems",
2011
+ "privacy": "private",
2012
+ "return": {
2013
+ "type": {
2014
+ "text": "void"
2015
+ }
2043
2016
  },
2044
- "default": "false"
2045
- },
2046
- {
2047
- "kind": "field",
2048
- "name": "singleOption",
2049
- "type": {
2050
- "text": "ActionMenuItem"
2017
+ "inheritedFrom": {
2018
+ "name": "Accordion",
2019
+ "module": "src/accordion/accordion.ts"
2051
2020
  }
2052
2021
  },
2053
2022
  {
2054
2023
  "kind": "field",
2055
- "name": "actionsMenu",
2056
- "type": {
2057
- "text": "HTMLElement"
2024
+ "name": "removeItemListeners",
2025
+ "privacy": "private",
2026
+ "inheritedFrom": {
2027
+ "name": "Accordion",
2028
+ "module": "src/accordion/accordion.ts"
2058
2029
  }
2059
2030
  },
2060
2031
  {
2061
2032
  "kind": "field",
2062
- "name": "actionsOpener",
2063
- "type": {
2064
- "text": "HTMLElement"
2033
+ "name": "activeItemChange",
2034
+ "privacy": "private",
2035
+ "inheritedFrom": {
2036
+ "name": "Accordion",
2037
+ "module": "src/accordion/accordion.ts"
2065
2038
  }
2066
2039
  },
2067
2040
  {
2068
2041
  "kind": "method",
2069
- "name": "updateMenuPosition",
2070
- "privacy": "private"
2071
- },
2072
- {
2073
- "kind": "method",
2074
- "name": "definitionChanged",
2075
- "privacy": "protected",
2076
- "parameters": [
2077
- {
2078
- "name": "oldValue",
2079
- "type": {
2080
- "text": "any"
2081
- }
2082
- },
2083
- {
2084
- "name": "newValue",
2085
- "type": {
2086
- "text": "any"
2087
- }
2042
+ "name": "getItemIds",
2043
+ "privacy": "private",
2044
+ "return": {
2045
+ "type": {
2046
+ "text": "Array<string | null>"
2088
2047
  }
2089
- ]
2090
- },
2091
- {
2092
- "kind": "method",
2093
- "name": "openChanged",
2094
- "privacy": "protected"
2095
- },
2096
- {
2097
- "kind": "method",
2098
- "name": "toggleActionsMenuVisibility"
2048
+ },
2049
+ "inheritedFrom": {
2050
+ "name": "Accordion",
2051
+ "module": "src/accordion/accordion.ts"
2052
+ }
2099
2053
  },
2100
2054
  {
2101
2055
  "kind": "method",
2102
- "name": "onActionMenuItemClick",
2103
- "parameters": [
2104
- {
2105
- "name": "callback",
2106
- "type": {
2107
- "text": "(rowData) => void | any"
2108
- }
2056
+ "name": "isSingleExpandMode",
2057
+ "privacy": "private",
2058
+ "return": {
2059
+ "type": {
2060
+ "text": "boolean"
2109
2061
  }
2110
- ]
2062
+ },
2063
+ "inheritedFrom": {
2064
+ "name": "Accordion",
2065
+ "module": "src/accordion/accordion.ts"
2066
+ }
2111
2067
  },
2112
2068
  {
2113
2069
  "kind": "field",
2114
- "name": "allActions",
2115
- "type": {
2116
- "text": "ActionMenuItem[]"
2117
- },
2118
- "readonly": true
2070
+ "name": "handleItemKeyDown",
2071
+ "privacy": "private",
2072
+ "inheritedFrom": {
2073
+ "name": "Accordion",
2074
+ "module": "src/accordion/accordion.ts"
2075
+ }
2119
2076
  },
2120
2077
  {
2121
2078
  "kind": "field",
2122
- "name": "rowData",
2123
- "readonly": true
2079
+ "name": "handleItemFocus",
2080
+ "privacy": "private",
2081
+ "inheritedFrom": {
2082
+ "name": "Accordion",
2083
+ "module": "src/accordion/accordion.ts"
2084
+ }
2124
2085
  },
2125
2086
  {
2126
2087
  "kind": "method",
2127
- "name": "getLabel",
2128
- "parameters": [
2129
- {
2130
- "name": "name",
2131
- "type": {
2132
- "text": "string | ((rowData: any) => string)"
2133
- }
2088
+ "name": "adjust",
2089
+ "privacy": "private",
2090
+ "return": {
2091
+ "type": {
2092
+ "text": "void"
2134
2093
  }
2135
- ]
2136
- },
2137
- {
2138
- "kind": "method",
2139
- "name": "getTemplate",
2094
+ },
2140
2095
  "parameters": [
2141
2096
  {
2142
- "name": "prefix",
2097
+ "name": "adjustment",
2143
2098
  "type": {
2144
- "text": "string"
2099
+ "text": "number"
2145
2100
  }
2146
2101
  }
2147
- ]
2102
+ ],
2103
+ "inheritedFrom": {
2104
+ "name": "Accordion",
2105
+ "module": "src/accordion/accordion.ts"
2106
+ }
2107
+ },
2108
+ {
2109
+ "kind": "method",
2110
+ "name": "focusItem",
2111
+ "privacy": "private",
2112
+ "return": {
2113
+ "type": {
2114
+ "text": "void"
2115
+ }
2116
+ },
2117
+ "inheritedFrom": {
2118
+ "name": "Accordion",
2119
+ "module": "src/accordion/accordion.ts"
2120
+ }
2148
2121
  },
2149
2122
  {
2150
2123
  "kind": "field",
@@ -2258,107 +2231,78 @@
2258
2231
  }
2259
2232
  }
2260
2233
  ],
2261
- "attributes": [
2262
- {
2263
- "name": "is-vertical",
2264
- "type": {
2265
- "text": "boolean"
2266
- },
2267
- "default": "false",
2268
- "fieldName": "isVertical"
2269
- },
2270
- {
2271
- "name": "add-default-actions",
2272
- "type": {
2273
- "text": "boolean"
2274
- },
2275
- "default": "true",
2276
- "fieldName": "addDefaultActions"
2277
- },
2278
- {
2279
- "name": "auto-close-on-action",
2280
- "type": {
2281
- "text": "boolean"
2282
- },
2283
- "default": "true",
2284
- "fieldName": "autoCloseOnAction"
2285
- },
2286
- {
2287
- "name": "name",
2288
- "type": {
2289
- "text": "string"
2290
- },
2291
- "default": "'Actions'",
2292
- "fieldName": "name"
2293
- },
2294
- {
2295
- "name": "open",
2296
- "type": {
2297
- "text": "boolean"
2298
- },
2299
- "default": "false",
2300
- "fieldName": "open"
2301
- },
2302
- {
2303
- "name": "buttonAppearance",
2304
- "type": {
2305
- "text": "string"
2306
- },
2307
- "fieldName": "buttonAppearance"
2308
- },
2309
- {
2310
- "name": "hide-disabled",
2311
- "type": {
2312
- "text": "boolean"
2313
- },
2314
- "default": "false",
2315
- "fieldName": "hideDisabled"
2316
- },
2234
+ "events": [
2317
2235
  {
2318
- "name": "hide-menu-single-option",
2319
- "type": {
2320
- "text": "boolean"
2321
- },
2322
- "default": "false",
2323
- "fieldName": "hideMenuSingleOption"
2236
+ "description": "Fires a custom 'change' event when the active item changes",
2237
+ "name": "change",
2238
+ "inheritedFrom": {
2239
+ "name": "Accordion",
2240
+ "module": "src/accordion/accordion.ts"
2241
+ }
2324
2242
  }
2325
- ],
2326
- "superclass": {
2327
- "name": "FoundationElement",
2328
- "package": "@microsoft/fast-foundation"
2243
+ ]
2244
+ },
2245
+ {
2246
+ "kind": "variable",
2247
+ "name": "foundationAccordionShadowOptions",
2248
+ "type": {
2249
+ "text": "ShadowRootInit"
2329
2250
  },
2330
- "tagName": "%%prefix%%-actions-menu",
2331
- "customElement": true
2251
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2332
2252
  },
2333
2253
  {
2334
2254
  "kind": "variable",
2335
- "name": "foundationActionsMenu",
2336
- "description": "The Foundation Actions Menu",
2255
+ "name": "defaultAccordionConfig",
2256
+ "type": {
2257
+ "text": "object"
2258
+ },
2259
+ "default": "{}"
2260
+ },
2261
+ {
2262
+ "kind": "variable",
2263
+ "name": "foundationAccordion",
2264
+ "description": "The Foundation Accordion",
2337
2265
  "privacy": "public"
2338
2266
  }
2339
2267
  ],
2340
2268
  "exports": [
2341
2269
  {
2342
2270
  "kind": "js",
2343
- "name": "ActionsMenu",
2271
+ "name": "Accordion",
2344
2272
  "declaration": {
2345
- "name": "ActionsMenu",
2346
- "module": "src/actions-menu/actions-menu.ts"
2273
+ "name": "Accordion",
2274
+ "module": "src/accordion/accordion.ts"
2347
2275
  }
2348
2276
  },
2349
2277
  {
2350
2278
  "kind": "js",
2351
- "name": "foundationActionsMenu",
2279
+ "name": "foundationAccordionShadowOptions",
2352
2280
  "declaration": {
2353
- "name": "foundationActionsMenu",
2354
- "module": "src/actions-menu/actions-menu.ts"
2281
+ "name": "foundationAccordionShadowOptions",
2282
+ "module": "src/accordion/accordion.ts"
2283
+ }
2284
+ },
2285
+ {
2286
+ "kind": "js",
2287
+ "name": "defaultAccordionConfig",
2288
+ "declaration": {
2289
+ "name": "defaultAccordionConfig",
2290
+ "module": "src/accordion/accordion.ts"
2291
+ }
2292
+ },
2293
+ {
2294
+ "kind": "js",
2295
+ "name": "foundationAccordion",
2296
+ "declaration": {
2297
+ "name": "foundationAccordion",
2298
+ "module": "src/accordion/accordion.ts"
2355
2299
  }
2356
2300
  }
2357
2301
  ]
2358
2302
  },
2359
2303
  {
2360
2304
  "kind": "javascript-module",
2361
- "path": "src/actions-menu/index.ts",
2305
+ "path": "src/accordion/index.ts",
2362
2306
  "declarations": [],
2363
2307
  "exports": [
2364
2308
  {
@@ -2366,7 +2310,7 @@
2366
2310
  "name": "*",
2367
2311
  "declaration": {
2368
2312
  "name": "*",
2369
- "package": "./actions-menu.styles"
2313
+ "package": "./accordion.template"
2370
2314
  }
2371
2315
  },
2372
2316
  {
@@ -2374,7 +2318,7 @@
2374
2318
  "name": "*",
2375
2319
  "declaration": {
2376
2320
  "name": "*",
2377
- "package": "./actions-menu.template"
2321
+ "package": "./accordion.styles"
2378
2322
  }
2379
2323
  },
2380
2324
  {
@@ -2382,111 +2326,153 @@
2382
2326
  "name": "*",
2383
2327
  "declaration": {
2384
2328
  "name": "*",
2385
- "package": "./actions-menu"
2329
+ "package": "./accordion"
2386
2330
  }
2387
2331
  }
2388
2332
  ]
2389
2333
  },
2390
2334
  {
2391
2335
  "kind": "javascript-module",
2392
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2336
+ "path": "src/_config/index.ts",
2337
+ "declarations": [],
2338
+ "exports": [
2339
+ {
2340
+ "kind": "js",
2341
+ "name": "*",
2342
+ "declaration": {
2343
+ "name": "*",
2344
+ "package": "./styles"
2345
+ }
2346
+ },
2347
+ {
2348
+ "kind": "js",
2349
+ "name": "*",
2350
+ "declaration": {
2351
+ "name": "*",
2352
+ "package": "./tokens"
2353
+ }
2354
+ },
2355
+ {
2356
+ "kind": "js",
2357
+ "name": "*",
2358
+ "declaration": {
2359
+ "name": "*",
2360
+ "package": "./values"
2361
+ }
2362
+ }
2363
+ ]
2364
+ },
2365
+ {
2366
+ "kind": "javascript-module",
2367
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2393
2368
  "declarations": [
2394
2369
  {
2395
- "kind": "function",
2396
- "name": "foundationAiIndicatorStyles",
2397
- "return": {
2398
- "type": {
2399
- "text": "ElementStyles"
2400
- }
2401
- },
2402
- "parameters": [
2403
- {
2404
- "name": "context",
2405
- "type": {
2406
- "text": "ElementDefinitionContext"
2407
- }
2408
- },
2409
- {
2410
- "name": "definition",
2411
- "type": {
2412
- "text": "FoundationElementDefinition"
2413
- }
2414
- }
2415
- ]
2370
+ "kind": "variable",
2371
+ "name": "foundationAiCriteriaSearchStyles",
2372
+ "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`"
2416
2373
  }
2417
2374
  ],
2418
2375
  "exports": [
2419
2376
  {
2420
2377
  "kind": "js",
2421
- "name": "foundationAiIndicatorStyles",
2378
+ "name": "foundationAiCriteriaSearchStyles",
2422
2379
  "declaration": {
2423
- "name": "foundationAiIndicatorStyles",
2424
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2380
+ "name": "foundationAiCriteriaSearchStyles",
2381
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2425
2382
  }
2426
2383
  }
2427
2384
  ]
2428
2385
  },
2429
2386
  {
2430
2387
  "kind": "javascript-module",
2431
- "path": "src/ai-indicator/ai-indicator.template.ts",
2388
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2432
2389
  "declarations": [
2433
2390
  {
2434
2391
  "kind": "variable",
2435
- "name": "foundationAiIndicatorTemplate",
2392
+ "name": "foundationAiCriteriaSearchTemplate",
2436
2393
  "type": {
2437
- "text": "ViewTemplate<AiIndicator>"
2394
+ "text": "ViewTemplate<AiCriteriaSearch>"
2438
2395
  },
2439
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2396
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2440
2397
  }
2441
2398
  ],
2442
2399
  "exports": [
2443
2400
  {
2444
2401
  "kind": "js",
2445
- "name": "foundationAiIndicatorTemplate",
2402
+ "name": "foundationAiCriteriaSearchTemplate",
2446
2403
  "declaration": {
2447
- "name": "foundationAiIndicatorTemplate",
2448
- "module": "src/ai-indicator/ai-indicator.template.ts"
2404
+ "name": "foundationAiCriteriaSearchTemplate",
2405
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2449
2406
  }
2450
2407
  }
2451
2408
  ]
2452
2409
  },
2453
2410
  {
2454
2411
  "kind": "javascript-module",
2455
- "path": "src/ai-indicator/ai-indicator.ts",
2412
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2456
2413
  "declarations": [
2457
2414
  {
2458
2415
  "kind": "class",
2459
- "description": "",
2460
- "name": "AiIndicator",
2416
+ "description": "Natural-language criteria search input with AI interpretation.",
2417
+ "name": "AiCriteriaSearch",
2461
2418
  "members": [
2462
2419
  {
2463
2420
  "kind": "field",
2464
- "name": "providerRegistry",
2421
+ "name": "providerRegistry",
2422
+ "type": {
2423
+ "text": "AIProviderRegistry"
2424
+ }
2425
+ },
2426
+ {
2427
+ "kind": "field",
2428
+ "name": "placeholder",
2429
+ "type": {
2430
+ "text": "string"
2431
+ },
2432
+ "default": "'Describe your search criteria in natural language...'"
2433
+ },
2434
+ {
2435
+ "kind": "field",
2436
+ "name": "disabled",
2437
+ "type": {
2438
+ "text": "boolean"
2439
+ }
2440
+ },
2441
+ {
2442
+ "kind": "field",
2443
+ "name": "inputValue",
2444
+ "type": {
2445
+ "text": "string"
2446
+ },
2447
+ "default": "''"
2448
+ },
2449
+ {
2450
+ "kind": "field",
2451
+ "name": "isInterpreting",
2465
2452
  "type": {
2466
- "text": "AIProviderRegistry"
2467
- }
2453
+ "text": "boolean"
2454
+ },
2455
+ "default": "false"
2468
2456
  },
2469
2457
  {
2470
2458
  "kind": "field",
2471
- "name": "aiProvider",
2459
+ "name": "lastValidCriteria",
2472
2460
  "type": {
2473
- "text": "AIProvider | undefined"
2461
+ "text": "string | null"
2474
2462
  },
2475
- "privacy": "private",
2476
- "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.",
2477
- "readonly": true
2463
+ "default": "null"
2478
2464
  },
2479
2465
  {
2480
2466
  "kind": "field",
2481
- "name": "status",
2467
+ "name": "activeGroups",
2482
2468
  "type": {
2483
- "text": "AIStatus | null"
2469
+ "text": "CriteriaGroup[]"
2484
2470
  },
2485
- "default": "null"
2471
+ "default": "[]"
2486
2472
  },
2487
2473
  {
2488
2474
  "kind": "field",
2489
- "name": "open",
2475
+ "name": "showingChips",
2490
2476
  "type": {
2491
2477
  "text": "boolean"
2492
2478
  },
@@ -2494,15 +2480,15 @@
2494
2480
  },
2495
2481
  {
2496
2482
  "kind": "field",
2497
- "name": "state",
2483
+ "name": "fieldMetadata",
2498
2484
  "type": {
2499
- "text": "AIIndicatorState"
2485
+ "text": "MetadataDetail[] | string[]"
2500
2486
  },
2501
- "default": "'none'"
2487
+ "default": "[]"
2502
2488
  },
2503
2489
  {
2504
2490
  "kind": "field",
2505
- "name": "isInstalling",
2491
+ "name": "isRecording",
2506
2492
  "type": {
2507
2493
  "text": "boolean"
2508
2494
  },
@@ -2510,29 +2496,33 @@
2510
2496
  },
2511
2497
  {
2512
2498
  "kind": "field",
2513
- "name": "pollTimer",
2499
+ "name": "textAreaRef",
2514
2500
  "type": {
2515
- "text": "ReturnType<typeof setInterval> | null"
2501
+ "text": "HTMLTextAreaElement"
2516
2502
  },
2517
- "privacy": "private",
2518
- "default": "null"
2503
+ "privacy": "public"
2519
2504
  },
2520
2505
  {
2521
2506
  "kind": "field",
2522
- "name": "clickOutside",
2523
- "privacy": "private"
2507
+ "name": "stopRecording",
2508
+ "type": {
2509
+ "text": "(() => void) | null"
2510
+ },
2511
+ "privacy": "private",
2512
+ "default": "null"
2524
2513
  },
2525
2514
  {
2526
2515
  "kind": "field",
2527
- "name": "chromeStatusLabel",
2516
+ "name": "speechApplyDebounceTimer",
2528
2517
  "type": {
2529
- "text": "string | null"
2518
+ "text": "ReturnType<typeof setTimeout> | null"
2530
2519
  },
2531
- "readonly": true
2520
+ "privacy": "private",
2521
+ "default": "null"
2532
2522
  },
2533
2523
  {
2534
2524
  "kind": "field",
2535
- "name": "canInstall",
2525
+ "name": "speechAvailable",
2536
2526
  "type": {
2537
2527
  "text": "boolean"
2538
2528
  },
@@ -2540,69 +2530,65 @@
2540
2530
  },
2541
2531
  {
2542
2532
  "kind": "field",
2543
- "name": "isDownloading",
2533
+ "name": "criteriaChips",
2544
2534
  "type": {
2545
- "text": "boolean"
2535
+ "text": "CriteriaChip[]"
2546
2536
  },
2547
2537
  "readonly": true
2548
2538
  },
2549
2539
  {
2550
2540
  "kind": "method",
2551
- "name": "openChanged",
2541
+ "name": "getFieldLabel",
2542
+ "privacy": "private",
2552
2543
  "return": {
2553
2544
  "type": {
2554
- "text": "void"
2545
+ "text": "string"
2555
2546
  }
2556
- }
2557
- },
2558
- {
2559
- "kind": "method",
2560
- "name": "handleClickOutside",
2561
- "privacy": "private",
2547
+ },
2562
2548
  "parameters": [
2563
2549
  {
2564
- "name": "event",
2550
+ "name": "fieldName",
2565
2551
  "type": {
2566
- "text": "MouseEvent"
2552
+ "text": "string"
2567
2553
  }
2568
2554
  }
2569
2555
  ]
2570
2556
  },
2571
2557
  {
2572
2558
  "kind": "method",
2573
- "name": "toggleDropdown"
2574
- },
2575
- {
2576
- "kind": "method",
2577
- "name": "refreshStatus",
2559
+ "name": "toggleCriteriaView",
2578
2560
  "return": {
2579
2561
  "type": {
2580
- "text": "Promise<void>"
2562
+ "text": "void"
2581
2563
  }
2582
2564
  }
2583
2565
  },
2584
2566
  {
2585
2567
  "kind": "method",
2586
- "name": "deriveState",
2587
- "privacy": "private",
2568
+ "name": "removeChip",
2588
2569
  "return": {
2589
2570
  "type": {
2590
- "text": "AIIndicatorState"
2571
+ "text": "void"
2591
2572
  }
2592
2573
  },
2593
2574
  "parameters": [
2594
2575
  {
2595
- "name": "s",
2576
+ "name": "groupIndex",
2596
2577
  "type": {
2597
- "text": "AIStatus | null"
2578
+ "text": "number"
2579
+ }
2580
+ },
2581
+ {
2582
+ "name": "clauseIndex",
2583
+ "type": {
2584
+ "text": "number"
2598
2585
  }
2599
2586
  }
2600
2587
  ]
2601
2588
  },
2602
2589
  {
2603
2590
  "kind": "method",
2604
- "name": "maybeStartPolling",
2605
- "privacy": "private",
2591
+ "name": "clearChips",
2606
2592
  "return": {
2607
2593
  "type": {
2608
2594
  "text": "void"
@@ -2611,32 +2597,24 @@
2611
2597
  },
2612
2598
  {
2613
2599
  "kind": "method",
2614
- "name": "startPolling",
2615
- "privacy": "private",
2616
- "return": {
2617
- "type": {
2618
- "text": "void"
2619
- }
2620
- }
2600
+ "name": "handleSubmit"
2621
2601
  },
2622
2602
  {
2623
2603
  "kind": "method",
2624
- "name": "stopPolling",
2625
- "privacy": "private",
2626
- "return": {
2627
- "type": {
2628
- "text": "void"
2629
- }
2630
- }
2604
+ "name": "handleBlur"
2631
2605
  },
2632
2606
  {
2633
2607
  "kind": "method",
2634
- "name": "onInstall",
2635
- "return": {
2636
- "type": {
2637
- "text": "Promise<void>"
2638
- }
2639
- }
2608
+ "name": "clear"
2609
+ },
2610
+ {
2611
+ "kind": "method",
2612
+ "name": "toggleSpeechInput"
2613
+ },
2614
+ {
2615
+ "kind": "method",
2616
+ "name": "clearSpeechApplyDebounce",
2617
+ "privacy": "private"
2640
2618
  },
2641
2619
  {
2642
2620
  "kind": "field",
@@ -2750,176 +2728,320 @@
2750
2728
  }
2751
2729
  }
2752
2730
  ],
2731
+ "events": [
2732
+ {
2733
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2734
+ "name": "criteria-changed"
2735
+ },
2736
+ {
2737
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2738
+ "name": "validation-errors"
2739
+ }
2740
+ ],
2741
+ "attributes": [
2742
+ {
2743
+ "name": "placeholder",
2744
+ "type": {
2745
+ "text": "string"
2746
+ },
2747
+ "default": "'Describe your search criteria in natural language...'",
2748
+ "fieldName": "placeholder"
2749
+ },
2750
+ {
2751
+ "type": {
2752
+ "text": "boolean"
2753
+ },
2754
+ "fieldName": "disabled"
2755
+ }
2756
+ ],
2753
2757
  "superclass": {
2754
2758
  "name": "FoundationElement",
2755
2759
  "package": "@microsoft/fast-foundation"
2756
2760
  },
2757
- "tagName": "%%prefix%%-ai-indicator",
2761
+ "tagName": "%%prefix%%-ai-criteria-search",
2758
2762
  "customElement": true
2759
2763
  },
2760
2764
  {
2761
2765
  "kind": "variable",
2762
- "name": "foundationAiIndicator"
2766
+ "name": "foundationAiCriteriaSearchShadowOptions",
2767
+ "type": {
2768
+ "text": "ShadowRootInit"
2769
+ },
2770
+ "default": "undefined"
2771
+ },
2772
+ {
2773
+ "kind": "variable",
2774
+ "name": "defaultAiCriteriaSearchConfig",
2775
+ "type": {
2776
+ "text": "object"
2777
+ },
2778
+ "default": "{}"
2779
+ },
2780
+ {
2781
+ "kind": "variable",
2782
+ "name": "foundationAiCriteriaSearch"
2763
2783
  }
2764
2784
  ],
2765
2785
  "exports": [
2766
2786
  {
2767
2787
  "kind": "js",
2768
- "name": "AiIndicator",
2788
+ "name": "AiCriteriaSearch",
2769
2789
  "declaration": {
2770
- "name": "AiIndicator",
2771
- "module": "src/ai-indicator/ai-indicator.ts"
2790
+ "name": "AiCriteriaSearch",
2791
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2772
2792
  }
2773
2793
  },
2774
2794
  {
2775
2795
  "kind": "js",
2776
- "name": "foundationAiIndicator",
2796
+ "name": "foundationAiCriteriaSearchShadowOptions",
2777
2797
  "declaration": {
2778
- "name": "foundationAiIndicator",
2779
- "module": "src/ai-indicator/ai-indicator.ts"
2798
+ "name": "foundationAiCriteriaSearchShadowOptions",
2799
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2800
+ }
2801
+ },
2802
+ {
2803
+ "kind": "js",
2804
+ "name": "defaultAiCriteriaSearchConfig",
2805
+ "declaration": {
2806
+ "name": "defaultAiCriteriaSearchConfig",
2807
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2808
+ }
2809
+ },
2810
+ {
2811
+ "kind": "js",
2812
+ "name": "foundationAiCriteriaSearch",
2813
+ "declaration": {
2814
+ "name": "foundationAiCriteriaSearch",
2815
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2780
2816
  }
2781
2817
  }
2782
2818
  ]
2783
2819
  },
2784
2820
  {
2785
2821
  "kind": "javascript-module",
2786
- "path": "src/ai-indicator/index.ts",
2822
+ "path": "src/ai-criteria-search/index.ts",
2787
2823
  "declarations": [],
2788
2824
  "exports": [
2789
2825
  {
2790
2826
  "kind": "js",
2791
- "name": "AiIndicator",
2827
+ "name": "AiCriteriaSearch",
2792
2828
  "declaration": {
2793
- "name": "AiIndicator",
2794
- "module": "./ai-indicator"
2829
+ "name": "AiCriteriaSearch",
2830
+ "module": "./ai-criteria-search"
2795
2831
  }
2796
2832
  },
2797
2833
  {
2798
2834
  "kind": "js",
2799
- "name": "foundationAiIndicator",
2835
+ "name": "defaultAiCriteriaSearchConfig",
2800
2836
  "declaration": {
2801
- "name": "foundationAiIndicator",
2802
- "module": "./ai-indicator"
2837
+ "name": "defaultAiCriteriaSearchConfig",
2838
+ "module": "./ai-criteria-search"
2803
2839
  }
2804
2840
  },
2805
2841
  {
2806
2842
  "kind": "js",
2807
- "name": "type",
2843
+ "name": "foundationAiCriteriaSearch",
2808
2844
  "declaration": {
2809
- "name": "type",
2810
- "module": "./ai-indicator"
2845
+ "name": "foundationAiCriteriaSearch",
2846
+ "module": "./ai-criteria-search"
2811
2847
  }
2812
2848
  },
2813
2849
  {
2814
2850
  "kind": "js",
2815
- "name": "AIIndicatorState",
2851
+ "name": "foundationAiCriteriaSearchShadowOptions",
2852
+ "declaration": {
2853
+ "name": "foundationAiCriteriaSearchShadowOptions",
2854
+ "module": "./ai-criteria-search"
2855
+ }
2856
+ },
2857
+ {
2858
+ "kind": "js",
2859
+ "name": "foundationAiCriteriaSearchStyles",
2860
+ "declaration": {
2861
+ "name": "foundationAiCriteriaSearchStyles",
2862
+ "module": "./ai-criteria-search.styles"
2863
+ }
2864
+ },
2865
+ {
2866
+ "kind": "js",
2867
+ "name": "foundationAiCriteriaSearchTemplate",
2868
+ "declaration": {
2869
+ "name": "foundationAiCriteriaSearchTemplate",
2870
+ "module": "./ai-criteria-search.template"
2871
+ }
2872
+ },
2873
+ {
2874
+ "kind": "js",
2875
+ "name": "*",
2816
2876
  "declaration": {
2817
- "name": "AIIndicatorState",
2818
- "module": "./ai-indicator"
2877
+ "name": "*",
2878
+ "package": "./validation/criteria-ir"
2819
2879
  }
2820
2880
  },
2821
2881
  {
2822
2882
  "kind": "js",
2823
- "name": "foundationAiIndicatorTemplate",
2883
+ "name": "*",
2824
2884
  "declaration": {
2825
- "name": "foundationAiIndicatorTemplate",
2826
- "module": "./ai-indicator.template"
2885
+ "name": "*",
2886
+ "package": "./validation/operator-map"
2827
2887
  }
2828
2888
  },
2829
2889
  {
2830
2890
  "kind": "js",
2831
- "name": "foundationAiIndicatorStyles",
2891
+ "name": "*",
2832
2892
  "declaration": {
2833
- "name": "foundationAiIndicatorStyles",
2834
- "module": "./ai-indicator.styles"
2893
+ "name": "*",
2894
+ "package": "./validation/schema-validator"
2835
2895
  }
2836
2896
  }
2837
2897
  ]
2838
2898
  },
2839
2899
  {
2840
2900
  "kind": "javascript-module",
2841
- "path": "src/_config/index.ts",
2842
- "declarations": [],
2843
- "exports": [
2901
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2902
+ "declarations": [
2844
2903
  {
2845
- "kind": "js",
2846
- "name": "*",
2847
- "declaration": {
2848
- "name": "*",
2849
- "package": "./styles"
2850
- }
2904
+ "kind": "function",
2905
+ "name": "formatValidationErrors",
2906
+ "return": {
2907
+ "type": {
2908
+ "text": "string"
2909
+ }
2910
+ },
2911
+ "parameters": [
2912
+ {
2913
+ "name": "errors",
2914
+ "type": {
2915
+ "text": "ValidationError[]"
2916
+ }
2917
+ }
2918
+ ],
2919
+ "description": "Formats validation errors into a user-friendly message."
2851
2920
  },
2921
+ {
2922
+ "kind": "function",
2923
+ "name": "showCriteriaError",
2924
+ "return": {
2925
+ "type": {
2926
+ "text": "void"
2927
+ }
2928
+ },
2929
+ "parameters": [
2930
+ {
2931
+ "name": "title",
2932
+ "type": {
2933
+ "text": "string"
2934
+ },
2935
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2936
+ },
2937
+ {
2938
+ "name": "body",
2939
+ "type": {
2940
+ "text": "string"
2941
+ },
2942
+ "description": "Error message to display"
2943
+ },
2944
+ {
2945
+ "name": "tagName",
2946
+ "type": {
2947
+ "text": "string"
2948
+ },
2949
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2950
+ }
2951
+ ],
2952
+ "description": "Shows a criteria error as a toast notification."
2953
+ }
2954
+ ],
2955
+ "exports": [
2852
2956
  {
2853
2957
  "kind": "js",
2854
- "name": "*",
2958
+ "name": "formatValidationErrors",
2855
2959
  "declaration": {
2856
- "name": "*",
2857
- "package": "./tokens"
2960
+ "name": "formatValidationErrors",
2961
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2858
2962
  }
2859
2963
  },
2860
2964
  {
2861
2965
  "kind": "js",
2862
- "name": "*",
2966
+ "name": "showCriteriaError",
2863
2967
  "declaration": {
2864
- "name": "*",
2865
- "package": "./values"
2968
+ "name": "showCriteriaError",
2969
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2866
2970
  }
2867
2971
  }
2868
2972
  ]
2869
2973
  },
2870
2974
  {
2871
2975
  "kind": "javascript-module",
2872
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2976
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2873
2977
  "declarations": [
2874
2978
  {
2875
- "kind": "variable",
2876
- "name": "foundationAiCriteriaSearchStyles",
2877
- "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`"
2979
+ "kind": "function",
2980
+ "name": "foundationAiIndicatorStyles",
2981
+ "return": {
2982
+ "type": {
2983
+ "text": "ElementStyles"
2984
+ }
2985
+ },
2986
+ "parameters": [
2987
+ {
2988
+ "name": "context",
2989
+ "type": {
2990
+ "text": "ElementDefinitionContext"
2991
+ }
2992
+ },
2993
+ {
2994
+ "name": "definition",
2995
+ "type": {
2996
+ "text": "FoundationElementDefinition"
2997
+ }
2998
+ }
2999
+ ]
2878
3000
  }
2879
3001
  ],
2880
3002
  "exports": [
2881
3003
  {
2882
3004
  "kind": "js",
2883
- "name": "foundationAiCriteriaSearchStyles",
3005
+ "name": "foundationAiIndicatorStyles",
2884
3006
  "declaration": {
2885
- "name": "foundationAiCriteriaSearchStyles",
2886
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3007
+ "name": "foundationAiIndicatorStyles",
3008
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2887
3009
  }
2888
3010
  }
2889
3011
  ]
2890
3012
  },
2891
3013
  {
2892
3014
  "kind": "javascript-module",
2893
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3015
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2894
3016
  "declarations": [
2895
3017
  {
2896
3018
  "kind": "variable",
2897
- "name": "foundationAiCriteriaSearchTemplate",
3019
+ "name": "foundationAiIndicatorTemplate",
2898
3020
  "type": {
2899
- "text": "ViewTemplate<AiCriteriaSearch>"
3021
+ "text": "ViewTemplate<AiIndicator>"
2900
3022
  },
2901
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3023
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2902
3024
  }
2903
3025
  ],
2904
3026
  "exports": [
2905
3027
  {
2906
3028
  "kind": "js",
2907
- "name": "foundationAiCriteriaSearchTemplate",
3029
+ "name": "foundationAiIndicatorTemplate",
2908
3030
  "declaration": {
2909
- "name": "foundationAiCriteriaSearchTemplate",
2910
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3031
+ "name": "foundationAiIndicatorTemplate",
3032
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2911
3033
  }
2912
3034
  }
2913
3035
  ]
2914
3036
  },
2915
3037
  {
2916
3038
  "kind": "javascript-module",
2917
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3039
+ "path": "src/ai-indicator/ai-indicator.ts",
2918
3040
  "declarations": [
2919
3041
  {
2920
3042
  "kind": "class",
2921
- "description": "Natural-language criteria search input with AI interpretation.",
2922
- "name": "AiCriteriaSearch",
3043
+ "description": "",
3044
+ "name": "AiIndicator",
2923
3045
  "members": [
2924
3046
  {
2925
3047
  "kind": "field",
@@ -2930,30 +3052,25 @@
2930
3052
  },
2931
3053
  {
2932
3054
  "kind": "field",
2933
- "name": "placeholder",
3055
+ "name": "aiProvider",
2934
3056
  "type": {
2935
- "text": "string"
3057
+ "text": "AIProvider | undefined"
2936
3058
  },
2937
- "default": "'Describe your search criteria in natural language...'"
2938
- },
2939
- {
2940
- "kind": "field",
2941
- "name": "disabled",
2942
- "type": {
2943
- "text": "boolean"
2944
- }
3059
+ "privacy": "private",
3060
+ "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.",
3061
+ "readonly": true
2945
3062
  },
2946
3063
  {
2947
3064
  "kind": "field",
2948
- "name": "inputValue",
3065
+ "name": "status",
2949
3066
  "type": {
2950
- "text": "string"
3067
+ "text": "AIStatus | null"
2951
3068
  },
2952
- "default": "''"
3069
+ "default": "null"
2953
3070
  },
2954
3071
  {
2955
3072
  "kind": "field",
2956
- "name": "isInterpreting",
3073
+ "name": "open",
2957
3074
  "type": {
2958
3075
  "text": "boolean"
2959
3076
  },
@@ -2961,23 +3078,15 @@
2961
3078
  },
2962
3079
  {
2963
3080
  "kind": "field",
2964
- "name": "lastValidCriteria",
2965
- "type": {
2966
- "text": "string | null"
2967
- },
2968
- "default": "null"
2969
- },
2970
- {
2971
- "kind": "field",
2972
- "name": "activeGroups",
3081
+ "name": "state",
2973
3082
  "type": {
2974
- "text": "CriteriaGroup[]"
3083
+ "text": "AIIndicatorState"
2975
3084
  },
2976
- "default": "[]"
3085
+ "default": "'none'"
2977
3086
  },
2978
3087
  {
2979
3088
  "kind": "field",
2980
- "name": "showingChips",
3089
+ "name": "isInstalling",
2981
3090
  "type": {
2982
3091
  "text": "boolean"
2983
3092
  },
@@ -2985,83 +3094,99 @@
2985
3094
  },
2986
3095
  {
2987
3096
  "kind": "field",
2988
- "name": "fieldMetadata",
3097
+ "name": "pollTimer",
2989
3098
  "type": {
2990
- "text": "MetadataDetail[] | string[]"
3099
+ "text": "ReturnType<typeof setInterval> | null"
2991
3100
  },
2992
- "default": "[]"
3101
+ "privacy": "private",
3102
+ "default": "null"
2993
3103
  },
2994
3104
  {
2995
3105
  "kind": "field",
2996
- "name": "isRecording",
2997
- "type": {
2998
- "text": "boolean"
2999
- },
3000
- "default": "false"
3106
+ "name": "clickOutside",
3107
+ "privacy": "private"
3001
3108
  },
3002
3109
  {
3003
3110
  "kind": "field",
3004
- "name": "textAreaRef",
3111
+ "name": "chromeStatusLabel",
3005
3112
  "type": {
3006
- "text": "HTMLTextAreaElement"
3113
+ "text": "string | null"
3007
3114
  },
3008
- "privacy": "public"
3115
+ "readonly": true
3009
3116
  },
3010
3117
  {
3011
3118
  "kind": "field",
3012
- "name": "stopRecording",
3119
+ "name": "canInstall",
3013
3120
  "type": {
3014
- "text": "(() => void) | null"
3121
+ "text": "boolean"
3015
3122
  },
3016
- "privacy": "private",
3017
- "default": "null"
3123
+ "readonly": true
3018
3124
  },
3019
3125
  {
3020
3126
  "kind": "field",
3021
- "name": "speechApplyDebounceTimer",
3127
+ "name": "isDownloading",
3022
3128
  "type": {
3023
- "text": "ReturnType<typeof setTimeout> | null"
3129
+ "text": "boolean"
3024
3130
  },
3131
+ "readonly": true
3132
+ },
3133
+ {
3134
+ "kind": "method",
3135
+ "name": "openChanged",
3136
+ "return": {
3137
+ "type": {
3138
+ "text": "void"
3139
+ }
3140
+ }
3141
+ },
3142
+ {
3143
+ "kind": "method",
3144
+ "name": "handleClickOutside",
3025
3145
  "privacy": "private",
3026
- "default": "null"
3146
+ "parameters": [
3147
+ {
3148
+ "name": "event",
3149
+ "type": {
3150
+ "text": "MouseEvent"
3151
+ }
3152
+ }
3153
+ ]
3027
3154
  },
3028
3155
  {
3029
- "kind": "field",
3030
- "name": "speechAvailable",
3031
- "type": {
3032
- "text": "boolean"
3033
- },
3034
- "readonly": true
3156
+ "kind": "method",
3157
+ "name": "toggleDropdown"
3035
3158
  },
3036
3159
  {
3037
- "kind": "field",
3038
- "name": "criteriaChips",
3039
- "type": {
3040
- "text": "CriteriaChip[]"
3041
- },
3042
- "readonly": true
3160
+ "kind": "method",
3161
+ "name": "refreshStatus",
3162
+ "return": {
3163
+ "type": {
3164
+ "text": "Promise<void>"
3165
+ }
3166
+ }
3043
3167
  },
3044
3168
  {
3045
3169
  "kind": "method",
3046
- "name": "getFieldLabel",
3170
+ "name": "deriveState",
3047
3171
  "privacy": "private",
3048
3172
  "return": {
3049
3173
  "type": {
3050
- "text": "string"
3174
+ "text": "AIIndicatorState"
3051
3175
  }
3052
3176
  },
3053
3177
  "parameters": [
3054
3178
  {
3055
- "name": "fieldName",
3179
+ "name": "s",
3056
3180
  "type": {
3057
- "text": "string"
3181
+ "text": "AIStatus | null"
3058
3182
  }
3059
3183
  }
3060
3184
  ]
3061
3185
  },
3062
3186
  {
3063
3187
  "kind": "method",
3064
- "name": "toggleCriteriaView",
3188
+ "name": "maybeStartPolling",
3189
+ "privacy": "private",
3065
3190
  "return": {
3066
3191
  "type": {
3067
3192
  "text": "void"
@@ -3070,30 +3195,18 @@
3070
3195
  },
3071
3196
  {
3072
3197
  "kind": "method",
3073
- "name": "removeChip",
3198
+ "name": "startPolling",
3199
+ "privacy": "private",
3074
3200
  "return": {
3075
3201
  "type": {
3076
3202
  "text": "void"
3077
3203
  }
3078
- },
3079
- "parameters": [
3080
- {
3081
- "name": "groupIndex",
3082
- "type": {
3083
- "text": "number"
3084
- }
3085
- },
3086
- {
3087
- "name": "clauseIndex",
3088
- "type": {
3089
- "text": "number"
3090
- }
3091
- }
3092
- ]
3204
+ }
3093
3205
  },
3094
3206
  {
3095
3207
  "kind": "method",
3096
- "name": "clearChips",
3208
+ "name": "stopPolling",
3209
+ "privacy": "private",
3097
3210
  "return": {
3098
3211
  "type": {
3099
3212
  "text": "void"
@@ -3102,24 +3215,12 @@
3102
3215
  },
3103
3216
  {
3104
3217
  "kind": "method",
3105
- "name": "handleSubmit"
3106
- },
3107
- {
3108
- "kind": "method",
3109
- "name": "handleBlur"
3110
- },
3111
- {
3112
- "kind": "method",
3113
- "name": "clear"
3114
- },
3115
- {
3116
- "kind": "method",
3117
- "name": "toggleSpeechInput"
3118
- },
3119
- {
3120
- "kind": "method",
3121
- "name": "clearSpeechApplyDebounce",
3122
- "privacy": "private"
3218
+ "name": "onInstall",
3219
+ "return": {
3220
+ "type": {
3221
+ "text": "Promise<void>"
3222
+ }
3223
+ }
3123
3224
  },
3124
3225
  {
3125
3226
  "kind": "field",
@@ -3233,256 +3334,122 @@
3233
3334
  }
3234
3335
  }
3235
3336
  ],
3236
- "events": [
3237
- {
3238
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3239
- "name": "criteria-changed"
3240
- },
3241
- {
3242
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3243
- "name": "validation-errors"
3244
- }
3245
- ],
3246
- "attributes": [
3247
- {
3248
- "name": "placeholder",
3249
- "type": {
3250
- "text": "string"
3251
- },
3252
- "default": "'Describe your search criteria in natural language...'",
3253
- "fieldName": "placeholder"
3254
- },
3255
- {
3256
- "type": {
3257
- "text": "boolean"
3258
- },
3259
- "fieldName": "disabled"
3260
- }
3261
- ],
3262
3337
  "superclass": {
3263
3338
  "name": "FoundationElement",
3264
3339
  "package": "@microsoft/fast-foundation"
3265
3340
  },
3266
- "tagName": "%%prefix%%-ai-criteria-search",
3341
+ "tagName": "%%prefix%%-ai-indicator",
3267
3342
  "customElement": true
3268
3343
  },
3269
3344
  {
3270
3345
  "kind": "variable",
3271
- "name": "foundationAiCriteriaSearchShadowOptions",
3272
- "type": {
3273
- "text": "ShadowRootInit"
3274
- },
3275
- "default": "undefined"
3276
- },
3277
- {
3278
- "kind": "variable",
3279
- "name": "defaultAiCriteriaSearchConfig",
3280
- "type": {
3281
- "text": "object"
3282
- },
3283
- "default": "{}"
3284
- },
3285
- {
3286
- "kind": "variable",
3287
- "name": "foundationAiCriteriaSearch"
3346
+ "name": "foundationAiIndicator"
3288
3347
  }
3289
3348
  ],
3290
3349
  "exports": [
3291
3350
  {
3292
3351
  "kind": "js",
3293
- "name": "AiCriteriaSearch",
3294
- "declaration": {
3295
- "name": "AiCriteriaSearch",
3296
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3297
- }
3298
- },
3299
- {
3300
- "kind": "js",
3301
- "name": "foundationAiCriteriaSearchShadowOptions",
3302
- "declaration": {
3303
- "name": "foundationAiCriteriaSearchShadowOptions",
3304
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3305
- }
3306
- },
3307
- {
3308
- "kind": "js",
3309
- "name": "defaultAiCriteriaSearchConfig",
3352
+ "name": "AiIndicator",
3310
3353
  "declaration": {
3311
- "name": "defaultAiCriteriaSearchConfig",
3312
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3354
+ "name": "AiIndicator",
3355
+ "module": "src/ai-indicator/ai-indicator.ts"
3313
3356
  }
3314
3357
  },
3315
3358
  {
3316
3359
  "kind": "js",
3317
- "name": "foundationAiCriteriaSearch",
3360
+ "name": "foundationAiIndicator",
3318
3361
  "declaration": {
3319
- "name": "foundationAiCriteriaSearch",
3320
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3362
+ "name": "foundationAiIndicator",
3363
+ "module": "src/ai-indicator/ai-indicator.ts"
3321
3364
  }
3322
3365
  }
3323
3366
  ]
3324
3367
  },
3325
3368
  {
3326
3369
  "kind": "javascript-module",
3327
- "path": "src/ai-criteria-search/index.ts",
3370
+ "path": "src/ai-indicator/index.ts",
3328
3371
  "declarations": [],
3329
3372
  "exports": [
3330
3373
  {
3331
3374
  "kind": "js",
3332
- "name": "AiCriteriaSearch",
3333
- "declaration": {
3334
- "name": "AiCriteriaSearch",
3335
- "module": "./ai-criteria-search"
3336
- }
3337
- },
3338
- {
3339
- "kind": "js",
3340
- "name": "defaultAiCriteriaSearchConfig",
3341
- "declaration": {
3342
- "name": "defaultAiCriteriaSearchConfig",
3343
- "module": "./ai-criteria-search"
3344
- }
3345
- },
3346
- {
3347
- "kind": "js",
3348
- "name": "foundationAiCriteriaSearch",
3349
- "declaration": {
3350
- "name": "foundationAiCriteriaSearch",
3351
- "module": "./ai-criteria-search"
3352
- }
3353
- },
3354
- {
3355
- "kind": "js",
3356
- "name": "foundationAiCriteriaSearchShadowOptions",
3357
- "declaration": {
3358
- "name": "foundationAiCriteriaSearchShadowOptions",
3359
- "module": "./ai-criteria-search"
3360
- }
3361
- },
3362
- {
3363
- "kind": "js",
3364
- "name": "foundationAiCriteriaSearchStyles",
3365
- "declaration": {
3366
- "name": "foundationAiCriteriaSearchStyles",
3367
- "module": "./ai-criteria-search.styles"
3368
- }
3369
- },
3370
- {
3371
- "kind": "js",
3372
- "name": "foundationAiCriteriaSearchTemplate",
3375
+ "name": "AiIndicator",
3373
3376
  "declaration": {
3374
- "name": "foundationAiCriteriaSearchTemplate",
3375
- "module": "./ai-criteria-search.template"
3377
+ "name": "AiIndicator",
3378
+ "module": "./ai-indicator"
3376
3379
  }
3377
3380
  },
3378
3381
  {
3379
3382
  "kind": "js",
3380
- "name": "*",
3383
+ "name": "foundationAiIndicator",
3381
3384
  "declaration": {
3382
- "name": "*",
3383
- "package": "./validation/criteria-ir"
3385
+ "name": "foundationAiIndicator",
3386
+ "module": "./ai-indicator"
3384
3387
  }
3385
3388
  },
3386
3389
  {
3387
3390
  "kind": "js",
3388
- "name": "*",
3391
+ "name": "type",
3389
3392
  "declaration": {
3390
- "name": "*",
3391
- "package": "./validation/operator-map"
3393
+ "name": "type",
3394
+ "module": "./ai-indicator"
3392
3395
  }
3393
3396
  },
3394
3397
  {
3395
3398
  "kind": "js",
3396
- "name": "*",
3399
+ "name": "AIIndicatorState",
3397
3400
  "declaration": {
3398
- "name": "*",
3399
- "package": "./validation/schema-validator"
3400
- }
3401
- }
3402
- ]
3403
- },
3404
- {
3405
- "kind": "javascript-module",
3406
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3407
- "declarations": [
3408
- {
3409
- "kind": "function",
3410
- "name": "formatValidationErrors",
3411
- "return": {
3412
- "type": {
3413
- "text": "string"
3414
- }
3415
- },
3416
- "parameters": [
3417
- {
3418
- "name": "errors",
3419
- "type": {
3420
- "text": "ValidationError[]"
3421
- }
3422
- }
3423
- ],
3424
- "description": "Formats validation errors into a user-friendly message."
3425
- },
3426
- {
3427
- "kind": "function",
3428
- "name": "showCriteriaError",
3429
- "return": {
3430
- "type": {
3431
- "text": "void"
3432
- }
3433
- },
3434
- "parameters": [
3435
- {
3436
- "name": "title",
3437
- "type": {
3438
- "text": "string"
3439
- },
3440
- "description": "Notification title (e.g. \"Criteria validation error\")"
3441
- },
3442
- {
3443
- "name": "body",
3444
- "type": {
3445
- "text": "string"
3446
- },
3447
- "description": "Error message to display"
3448
- },
3449
- {
3450
- "name": "tagName",
3451
- "type": {
3452
- "text": "string"
3453
- },
3454
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3455
- }
3456
- ],
3457
- "description": "Shows a criteria error as a toast notification."
3458
- }
3459
- ],
3460
- "exports": [
3401
+ "name": "AIIndicatorState",
3402
+ "module": "./ai-indicator"
3403
+ }
3404
+ },
3461
3405
  {
3462
3406
  "kind": "js",
3463
- "name": "formatValidationErrors",
3407
+ "name": "foundationAiIndicatorTemplate",
3464
3408
  "declaration": {
3465
- "name": "formatValidationErrors",
3466
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3409
+ "name": "foundationAiIndicatorTemplate",
3410
+ "module": "./ai-indicator.template"
3467
3411
  }
3468
3412
  },
3469
3413
  {
3470
3414
  "kind": "js",
3471
- "name": "showCriteriaError",
3415
+ "name": "foundationAiIndicatorStyles",
3472
3416
  "declaration": {
3473
- "name": "showCriteriaError",
3474
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3417
+ "name": "foundationAiIndicatorStyles",
3418
+ "module": "./ai-indicator.styles"
3475
3419
  }
3476
3420
  }
3477
3421
  ]
3478
3422
  },
3479
3423
  {
3480
3424
  "kind": "javascript-module",
3481
- "path": "src/accordion/accordion.styles.ts",
3425
+ "path": "src/actions-menu/actions-menu.styles.ts",
3482
3426
  "declarations": [
3483
3427
  {
3484
3428
  "kind": "function",
3485
- "name": "foundationAccordionStyles",
3429
+ "name": "actionsMenuBaseStyles",
3430
+ "return": {
3431
+ "type": {
3432
+ "text": "ElementStyles"
3433
+ }
3434
+ },
3435
+ "parameters": [
3436
+ {
3437
+ "name": "context",
3438
+ "type": {
3439
+ "text": "ElementDefinitionContext"
3440
+ }
3441
+ },
3442
+ {
3443
+ "name": "definition",
3444
+ "type": {
3445
+ "text": "FoundationElementDefinition"
3446
+ }
3447
+ }
3448
+ ]
3449
+ },
3450
+ {
3451
+ "kind": "function",
3452
+ "name": "foundationActionsMenuStyles",
3486
3453
  "return": {
3487
3454
  "type": {
3488
3455
  "text": "ElementStyles"
@@ -3507,277 +3474,281 @@
3507
3474
  "exports": [
3508
3475
  {
3509
3476
  "kind": "js",
3510
- "name": "foundationAccordionStyles",
3477
+ "name": "actionsMenuBaseStyles",
3511
3478
  "declaration": {
3512
- "name": "foundationAccordionStyles",
3513
- "module": "src/accordion/accordion.styles.ts"
3479
+ "name": "actionsMenuBaseStyles",
3480
+ "module": "src/actions-menu/actions-menu.styles.ts"
3481
+ }
3482
+ },
3483
+ {
3484
+ "kind": "js",
3485
+ "name": "foundationActionsMenuStyles",
3486
+ "declaration": {
3487
+ "name": "foundationActionsMenuStyles",
3488
+ "module": "src/actions-menu/actions-menu.styles.ts"
3514
3489
  }
3515
3490
  }
3516
3491
  ]
3517
3492
  },
3518
3493
  {
3519
3494
  "kind": "javascript-module",
3520
- "path": "src/accordion/accordion.template.ts",
3495
+ "path": "src/actions-menu/actions-menu.template.ts",
3521
3496
  "declarations": [
3522
3497
  {
3523
3498
  "kind": "function",
3524
- "name": "foundationAccordionTemplate",
3525
- "return": {
3526
- "type": {
3527
- "text": "ViewTemplate<Accordion>"
3528
- }
3529
- },
3499
+ "name": "menuTemplate",
3530
3500
  "parameters": [
3531
3501
  {
3532
- "name": "context",
3502
+ "name": "prefix",
3533
3503
  "type": {
3534
- "text": "ElementDefinitionContext"
3504
+ "text": "string"
3535
3505
  }
3536
- },
3506
+ }
3507
+ ]
3508
+ },
3509
+ {
3510
+ "kind": "function",
3511
+ "name": "singleOptionTemplate",
3512
+ "parameters": [
3537
3513
  {
3538
- "name": "definition",
3514
+ "name": "prefix",
3539
3515
  "type": {
3540
- "text": "FoundationElementDefinition"
3516
+ "text": "string"
3541
3517
  }
3542
3518
  }
3543
3519
  ]
3520
+ },
3521
+ {
3522
+ "kind": "variable",
3523
+ "name": "foundationActionsMenuTemplate",
3524
+ "type": {
3525
+ "text": "ViewTemplate<ActionsMenu>"
3526
+ },
3527
+ "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`"
3544
3528
  }
3545
3529
  ],
3546
3530
  "exports": [
3547
3531
  {
3548
3532
  "kind": "js",
3549
- "name": "foundationAccordionTemplate",
3533
+ "name": "menuTemplate",
3550
3534
  "declaration": {
3551
- "name": "foundationAccordionTemplate",
3552
- "module": "src/accordion/accordion.template.ts"
3535
+ "name": "menuTemplate",
3536
+ "module": "src/actions-menu/actions-menu.template.ts"
3537
+ }
3538
+ },
3539
+ {
3540
+ "kind": "js",
3541
+ "name": "singleOptionTemplate",
3542
+ "declaration": {
3543
+ "name": "singleOptionTemplate",
3544
+ "module": "src/actions-menu/actions-menu.template.ts"
3545
+ }
3546
+ },
3547
+ {
3548
+ "kind": "js",
3549
+ "name": "foundationActionsMenuTemplate",
3550
+ "declaration": {
3551
+ "name": "foundationActionsMenuTemplate",
3552
+ "module": "src/actions-menu/actions-menu.template.ts"
3553
3553
  }
3554
3554
  }
3555
3555
  ]
3556
3556
  },
3557
3557
  {
3558
3558
  "kind": "javascript-module",
3559
- "path": "src/accordion/accordion.ts",
3559
+ "path": "src/actions-menu/actions-menu.ts",
3560
3560
  "declarations": [
3561
3561
  {
3562
3562
  "kind": "class",
3563
3563
  "description": "",
3564
- "name": "Accordion",
3565
- "superclass": {
3566
- "name": "FASTAccordion",
3567
- "package": "@microsoft/fast-foundation"
3568
- },
3569
- "tagName": "%%prefix%%-accordion",
3570
- "customElement": true,
3571
- "attributes": [
3564
+ "name": "ActionsMenu",
3565
+ "members": [
3572
3566
  {
3573
- "name": "expand-mode",
3567
+ "kind": "field",
3568
+ "name": "actions",
3574
3569
  "type": {
3575
- "text": "AccordionExpandMode"
3576
- },
3577
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3578
- "fieldName": "expandmode",
3579
- "inheritedFrom": {
3580
- "name": "Accordion",
3581
- "module": "src/accordion/accordion.ts"
3570
+ "text": "ActionMenuItem[]"
3582
3571
  }
3583
- }
3584
- ],
3585
- "members": [
3572
+ },
3586
3573
  {
3587
3574
  "kind": "field",
3588
- "name": "expandmode",
3575
+ "name": "isVertical",
3589
3576
  "type": {
3590
- "text": "AccordionExpandMode"
3577
+ "text": "boolean"
3591
3578
  },
3592
- "privacy": "public",
3593
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3594
- "inheritedFrom": {
3595
- "name": "Accordion",
3596
- "module": "src/accordion/accordion.ts"
3597
- }
3579
+ "default": "false"
3598
3580
  },
3599
3581
  {
3600
3582
  "kind": "field",
3601
- "name": "activeid",
3583
+ "name": "addDefaultActions",
3602
3584
  "type": {
3603
- "text": "string | null"
3585
+ "text": "boolean"
3604
3586
  },
3605
- "privacy": "private",
3606
- "inheritedFrom": {
3607
- "name": "Accordion",
3608
- "module": "src/accordion/accordion.ts"
3609
- }
3587
+ "default": "true"
3610
3588
  },
3611
3589
  {
3612
3590
  "kind": "field",
3613
- "name": "activeItemIndex",
3591
+ "name": "autoCloseOnAction",
3614
3592
  "type": {
3615
- "text": "number"
3593
+ "text": "boolean"
3616
3594
  },
3617
- "privacy": "private",
3618
- "default": "0",
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3622
- }
3595
+ "default": "true"
3623
3596
  },
3624
3597
  {
3625
3598
  "kind": "field",
3626
- "name": "accordionIds",
3599
+ "name": "classNames",
3627
3600
  "type": {
3628
- "text": "Array<string | null>"
3629
- },
3630
- "privacy": "private",
3631
- "inheritedFrom": {
3632
- "name": "Accordion",
3633
- "module": "src/accordion/accordion.ts"
3601
+ "text": "string"
3634
3602
  }
3635
3603
  },
3636
3604
  {
3637
3605
  "kind": "field",
3638
- "name": "change",
3639
- "privacy": "private",
3640
- "inheritedFrom": {
3641
- "name": "Accordion",
3642
- "module": "src/accordion/accordion.ts"
3606
+ "name": "definition",
3607
+ "type": {
3608
+ "text": "any"
3643
3609
  }
3644
3610
  },
3645
3611
  {
3646
- "kind": "method",
3647
- "name": "findExpandedItem",
3648
- "privacy": "private",
3649
- "return": {
3650
- "type": {
3651
- "text": "AccordionItem | null"
3652
- }
3612
+ "kind": "field",
3613
+ "name": "name",
3614
+ "type": {
3615
+ "text": "string"
3653
3616
  },
3654
- "inheritedFrom": {
3655
- "name": "Accordion",
3656
- "module": "src/accordion/accordion.ts"
3657
- }
3617
+ "default": "'Actions'"
3658
3618
  },
3659
3619
  {
3660
3620
  "kind": "field",
3661
- "name": "setItems",
3662
- "privacy": "private",
3663
- "inheritedFrom": {
3664
- "name": "Accordion",
3665
- "module": "src/accordion/accordion.ts"
3621
+ "name": "open",
3622
+ "type": {
3623
+ "text": "boolean"
3624
+ },
3625
+ "default": "false"
3626
+ },
3627
+ {
3628
+ "kind": "field",
3629
+ "name": "buttonAppearance",
3630
+ "type": {
3631
+ "text": "string"
3666
3632
  }
3667
3633
  },
3668
3634
  {
3669
- "kind": "method",
3670
- "name": "resetItems",
3671
- "privacy": "private",
3672
- "return": {
3673
- "type": {
3674
- "text": "void"
3675
- }
3635
+ "kind": "field",
3636
+ "name": "hideDisabled",
3637
+ "type": {
3638
+ "text": "boolean"
3676
3639
  },
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3640
+ "default": "false"
3641
+ },
3642
+ {
3643
+ "kind": "field",
3644
+ "name": "hideMenuSingleOption",
3645
+ "type": {
3646
+ "text": "boolean"
3647
+ },
3648
+ "default": "false"
3649
+ },
3650
+ {
3651
+ "kind": "field",
3652
+ "name": "singleOption",
3653
+ "type": {
3654
+ "text": "ActionMenuItem"
3655
+ }
3656
+ },
3657
+ {
3658
+ "kind": "field",
3659
+ "name": "actionsMenu",
3660
+ "type": {
3661
+ "text": "HTMLElement"
3680
3662
  }
3681
3663
  },
3682
3664
  {
3683
3665
  "kind": "field",
3684
- "name": "removeItemListeners",
3685
- "privacy": "private",
3686
- "inheritedFrom": {
3687
- "name": "Accordion",
3688
- "module": "src/accordion/accordion.ts"
3666
+ "name": "actionsOpener",
3667
+ "type": {
3668
+ "text": "HTMLElement"
3689
3669
  }
3690
3670
  },
3691
3671
  {
3692
- "kind": "field",
3693
- "name": "activeItemChange",
3694
- "privacy": "private",
3695
- "inheritedFrom": {
3696
- "name": "Accordion",
3697
- "module": "src/accordion/accordion.ts"
3698
- }
3672
+ "kind": "method",
3673
+ "name": "updateMenuPosition",
3674
+ "privacy": "private"
3699
3675
  },
3700
3676
  {
3701
3677
  "kind": "method",
3702
- "name": "getItemIds",
3703
- "privacy": "private",
3704
- "return": {
3705
- "type": {
3706
- "text": "Array<string | null>"
3678
+ "name": "definitionChanged",
3679
+ "privacy": "protected",
3680
+ "parameters": [
3681
+ {
3682
+ "name": "oldValue",
3683
+ "type": {
3684
+ "text": "any"
3685
+ }
3686
+ },
3687
+ {
3688
+ "name": "newValue",
3689
+ "type": {
3690
+ "text": "any"
3691
+ }
3707
3692
  }
3708
- },
3709
- "inheritedFrom": {
3710
- "name": "Accordion",
3711
- "module": "src/accordion/accordion.ts"
3712
- }
3693
+ ]
3713
3694
  },
3714
3695
  {
3715
3696
  "kind": "method",
3716
- "name": "isSingleExpandMode",
3717
- "privacy": "private",
3718
- "return": {
3719
- "type": {
3720
- "text": "boolean"
3697
+ "name": "openChanged",
3698
+ "privacy": "protected"
3699
+ },
3700
+ {
3701
+ "kind": "method",
3702
+ "name": "toggleActionsMenuVisibility"
3703
+ },
3704
+ {
3705
+ "kind": "method",
3706
+ "name": "onActionMenuItemClick",
3707
+ "parameters": [
3708
+ {
3709
+ "name": "callback",
3710
+ "type": {
3711
+ "text": "(rowData) => void | any"
3712
+ }
3721
3713
  }
3722
- },
3723
- "inheritedFrom": {
3724
- "name": "Accordion",
3725
- "module": "src/accordion/accordion.ts"
3726
- }
3714
+ ]
3727
3715
  },
3728
3716
  {
3729
3717
  "kind": "field",
3730
- "name": "handleItemKeyDown",
3731
- "privacy": "private",
3732
- "inheritedFrom": {
3733
- "name": "Accordion",
3734
- "module": "src/accordion/accordion.ts"
3735
- }
3718
+ "name": "allActions",
3719
+ "type": {
3720
+ "text": "ActionMenuItem[]"
3721
+ },
3722
+ "readonly": true
3736
3723
  },
3737
3724
  {
3738
3725
  "kind": "field",
3739
- "name": "handleItemFocus",
3740
- "privacy": "private",
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3744
- }
3726
+ "name": "rowData",
3727
+ "readonly": true
3745
3728
  },
3746
3729
  {
3747
3730
  "kind": "method",
3748
- "name": "adjust",
3749
- "privacy": "private",
3750
- "return": {
3751
- "type": {
3752
- "text": "void"
3753
- }
3754
- },
3731
+ "name": "getLabel",
3755
3732
  "parameters": [
3756
3733
  {
3757
- "name": "adjustment",
3734
+ "name": "name",
3758
3735
  "type": {
3759
- "text": "number"
3736
+ "text": "string | ((rowData: any) => string)"
3760
3737
  }
3761
3738
  }
3762
- ],
3763
- "inheritedFrom": {
3764
- "name": "Accordion",
3765
- "module": "src/accordion/accordion.ts"
3766
- }
3739
+ ]
3767
3740
  },
3768
3741
  {
3769
3742
  "kind": "method",
3770
- "name": "focusItem",
3771
- "privacy": "private",
3772
- "return": {
3773
- "type": {
3774
- "text": "void"
3743
+ "name": "getTemplate",
3744
+ "parameters": [
3745
+ {
3746
+ "name": "prefix",
3747
+ "type": {
3748
+ "text": "string"
3749
+ }
3775
3750
  }
3776
- },
3777
- "inheritedFrom": {
3778
- "name": "Accordion",
3779
- "module": "src/accordion/accordion.ts"
3780
- }
3751
+ ]
3781
3752
  },
3782
3753
  {
3783
3754
  "kind": "field",
@@ -3891,78 +3862,107 @@
3891
3862
  }
3892
3863
  }
3893
3864
  ],
3894
- "events": [
3865
+ "attributes": [
3895
3866
  {
3896
- "description": "Fires a custom 'change' event when the active item changes",
3897
- "name": "change",
3898
- "inheritedFrom": {
3899
- "name": "Accordion",
3900
- "module": "src/accordion/accordion.ts"
3901
- }
3867
+ "name": "is-vertical",
3868
+ "type": {
3869
+ "text": "boolean"
3870
+ },
3871
+ "default": "false",
3872
+ "fieldName": "isVertical"
3873
+ },
3874
+ {
3875
+ "name": "add-default-actions",
3876
+ "type": {
3877
+ "text": "boolean"
3878
+ },
3879
+ "default": "true",
3880
+ "fieldName": "addDefaultActions"
3881
+ },
3882
+ {
3883
+ "name": "auto-close-on-action",
3884
+ "type": {
3885
+ "text": "boolean"
3886
+ },
3887
+ "default": "true",
3888
+ "fieldName": "autoCloseOnAction"
3889
+ },
3890
+ {
3891
+ "name": "name",
3892
+ "type": {
3893
+ "text": "string"
3894
+ },
3895
+ "default": "'Actions'",
3896
+ "fieldName": "name"
3897
+ },
3898
+ {
3899
+ "name": "open",
3900
+ "type": {
3901
+ "text": "boolean"
3902
+ },
3903
+ "default": "false",
3904
+ "fieldName": "open"
3905
+ },
3906
+ {
3907
+ "name": "buttonAppearance",
3908
+ "type": {
3909
+ "text": "string"
3910
+ },
3911
+ "fieldName": "buttonAppearance"
3912
+ },
3913
+ {
3914
+ "name": "hide-disabled",
3915
+ "type": {
3916
+ "text": "boolean"
3917
+ },
3918
+ "default": "false",
3919
+ "fieldName": "hideDisabled"
3920
+ },
3921
+ {
3922
+ "name": "hide-menu-single-option",
3923
+ "type": {
3924
+ "text": "boolean"
3925
+ },
3926
+ "default": "false",
3927
+ "fieldName": "hideMenuSingleOption"
3902
3928
  }
3903
- ]
3904
- },
3905
- {
3906
- "kind": "variable",
3907
- "name": "foundationAccordionShadowOptions",
3908
- "type": {
3909
- "text": "ShadowRootInit"
3910
- },
3911
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3912
- },
3913
- {
3914
- "kind": "variable",
3915
- "name": "defaultAccordionConfig",
3916
- "type": {
3917
- "text": "object"
3929
+ ],
3930
+ "superclass": {
3931
+ "name": "FoundationElement",
3932
+ "package": "@microsoft/fast-foundation"
3918
3933
  },
3919
- "default": "{}"
3934
+ "tagName": "%%prefix%%-actions-menu",
3935
+ "customElement": true
3920
3936
  },
3921
3937
  {
3922
3938
  "kind": "variable",
3923
- "name": "foundationAccordion",
3924
- "description": "The Foundation Accordion",
3939
+ "name": "foundationActionsMenu",
3940
+ "description": "The Foundation Actions Menu",
3925
3941
  "privacy": "public"
3926
3942
  }
3927
3943
  ],
3928
3944
  "exports": [
3929
3945
  {
3930
3946
  "kind": "js",
3931
- "name": "Accordion",
3932
- "declaration": {
3933
- "name": "Accordion",
3934
- "module": "src/accordion/accordion.ts"
3935
- }
3936
- },
3937
- {
3938
- "kind": "js",
3939
- "name": "foundationAccordionShadowOptions",
3940
- "declaration": {
3941
- "name": "foundationAccordionShadowOptions",
3942
- "module": "src/accordion/accordion.ts"
3943
- }
3944
- },
3945
- {
3946
- "kind": "js",
3947
- "name": "defaultAccordionConfig",
3947
+ "name": "ActionsMenu",
3948
3948
  "declaration": {
3949
- "name": "defaultAccordionConfig",
3950
- "module": "src/accordion/accordion.ts"
3949
+ "name": "ActionsMenu",
3950
+ "module": "src/actions-menu/actions-menu.ts"
3951
3951
  }
3952
3952
  },
3953
3953
  {
3954
3954
  "kind": "js",
3955
- "name": "foundationAccordion",
3955
+ "name": "foundationActionsMenu",
3956
3956
  "declaration": {
3957
- "name": "foundationAccordion",
3958
- "module": "src/accordion/accordion.ts"
3957
+ "name": "foundationActionsMenu",
3958
+ "module": "src/actions-menu/actions-menu.ts"
3959
3959
  }
3960
3960
  }
3961
3961
  ]
3962
3962
  },
3963
3963
  {
3964
3964
  "kind": "javascript-module",
3965
- "path": "src/accordion/index.ts",
3965
+ "path": "src/actions-menu/index.ts",
3966
3966
  "declarations": [],
3967
3967
  "exports": [
3968
3968
  {
@@ -3970,7 +3970,7 @@
3970
3970
  "name": "*",
3971
3971
  "declaration": {
3972
3972
  "name": "*",
3973
- "package": "./accordion.template"
3973
+ "package": "./actions-menu.styles"
3974
3974
  }
3975
3975
  },
3976
3976
  {
@@ -3978,7 +3978,7 @@
3978
3978
  "name": "*",
3979
3979
  "declaration": {
3980
3980
  "name": "*",
3981
- "package": "./accordion.styles"
3981
+ "package": "./actions-menu.template"
3982
3982
  }
3983
3983
  },
3984
3984
  {
@@ -3986,7 +3986,7 @@
3986
3986
  "name": "*",
3987
3987
  "declaration": {
3988
3988
  "name": "*",
3989
- "package": "./accordion"
3989
+ "package": "./actions-menu"
3990
3990
  }
3991
3991
  }
3992
3992
  ]