@genesislcap/foundation-ui 15.3.0 → 15.3.1

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.
@@ -1422,37 +1422,6 @@
1422
1422
  }
1423
1423
  ]
1424
1424
  },
1425
- {
1426
- "kind": "javascript-module",
1427
- "path": "src/_config/index.ts",
1428
- "declarations": [],
1429
- "exports": [
1430
- {
1431
- "kind": "js",
1432
- "name": "*",
1433
- "declaration": {
1434
- "name": "*",
1435
- "package": "./styles"
1436
- }
1437
- },
1438
- {
1439
- "kind": "js",
1440
- "name": "*",
1441
- "declaration": {
1442
- "name": "*",
1443
- "package": "./tokens"
1444
- }
1445
- },
1446
- {
1447
- "kind": "js",
1448
- "name": "*",
1449
- "declaration": {
1450
- "name": "*",
1451
- "package": "./values"
1452
- }
1453
- }
1454
- ]
1455
- },
1456
1425
  {
1457
1426
  "kind": "javascript-module",
1458
1427
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1849,11 +1818,65 @@
1849
1818
  },
1850
1819
  {
1851
1820
  "kind": "javascript-module",
1852
- "path": "src/accordion/accordion.styles.ts",
1821
+ "path": "src/_config/index.ts",
1822
+ "declarations": [],
1823
+ "exports": [
1824
+ {
1825
+ "kind": "js",
1826
+ "name": "*",
1827
+ "declaration": {
1828
+ "name": "*",
1829
+ "package": "./styles"
1830
+ }
1831
+ },
1832
+ {
1833
+ "kind": "js",
1834
+ "name": "*",
1835
+ "declaration": {
1836
+ "name": "*",
1837
+ "package": "./tokens"
1838
+ }
1839
+ },
1840
+ {
1841
+ "kind": "js",
1842
+ "name": "*",
1843
+ "declaration": {
1844
+ "name": "*",
1845
+ "package": "./values"
1846
+ }
1847
+ }
1848
+ ]
1849
+ },
1850
+ {
1851
+ "kind": "javascript-module",
1852
+ "path": "src/actions-menu/actions-menu.styles.ts",
1853
1853
  "declarations": [
1854
1854
  {
1855
1855
  "kind": "function",
1856
- "name": "foundationAccordionStyles",
1856
+ "name": "actionsMenuBaseStyles",
1857
+ "return": {
1858
+ "type": {
1859
+ "text": "ElementStyles"
1860
+ }
1861
+ },
1862
+ "parameters": [
1863
+ {
1864
+ "name": "context",
1865
+ "type": {
1866
+ "text": "ElementDefinitionContext"
1867
+ }
1868
+ },
1869
+ {
1870
+ "name": "definition",
1871
+ "type": {
1872
+ "text": "FoundationElementDefinition"
1873
+ }
1874
+ }
1875
+ ]
1876
+ },
1877
+ {
1878
+ "kind": "function",
1879
+ "name": "foundationActionsMenuStyles",
1857
1880
  "return": {
1858
1881
  "type": {
1859
1882
  "text": "ElementStyles"
@@ -1878,277 +1901,269 @@
1878
1901
  "exports": [
1879
1902
  {
1880
1903
  "kind": "js",
1881
- "name": "foundationAccordionStyles",
1904
+ "name": "actionsMenuBaseStyles",
1882
1905
  "declaration": {
1883
- "name": "foundationAccordionStyles",
1884
- "module": "src/accordion/accordion.styles.ts"
1906
+ "name": "actionsMenuBaseStyles",
1907
+ "module": "src/actions-menu/actions-menu.styles.ts"
1908
+ }
1909
+ },
1910
+ {
1911
+ "kind": "js",
1912
+ "name": "foundationActionsMenuStyles",
1913
+ "declaration": {
1914
+ "name": "foundationActionsMenuStyles",
1915
+ "module": "src/actions-menu/actions-menu.styles.ts"
1885
1916
  }
1886
1917
  }
1887
1918
  ]
1888
1919
  },
1889
1920
  {
1890
1921
  "kind": "javascript-module",
1891
- "path": "src/accordion/accordion.template.ts",
1922
+ "path": "src/actions-menu/actions-menu.template.ts",
1892
1923
  "declarations": [
1893
1924
  {
1894
1925
  "kind": "function",
1895
- "name": "foundationAccordionTemplate",
1896
- "return": {
1897
- "type": {
1898
- "text": "ViewTemplate<Accordion>"
1899
- }
1900
- },
1926
+ "name": "menuTemplate",
1901
1927
  "parameters": [
1902
1928
  {
1903
- "name": "context",
1929
+ "name": "prefix",
1904
1930
  "type": {
1905
- "text": "ElementDefinitionContext"
1931
+ "text": "string"
1906
1932
  }
1907
- },
1933
+ }
1934
+ ]
1935
+ },
1936
+ {
1937
+ "kind": "function",
1938
+ "name": "singleOptionTemplate",
1939
+ "parameters": [
1908
1940
  {
1909
- "name": "definition",
1941
+ "name": "prefix",
1910
1942
  "type": {
1911
- "text": "FoundationElementDefinition"
1943
+ "text": "string"
1912
1944
  }
1913
1945
  }
1914
1946
  ]
1947
+ },
1948
+ {
1949
+ "kind": "variable",
1950
+ "name": "foundationActionsMenuTemplate",
1951
+ "type": {
1952
+ "text": "ViewTemplate<ActionsMenu>"
1953
+ },
1954
+ "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`"
1915
1955
  }
1916
1956
  ],
1917
1957
  "exports": [
1918
1958
  {
1919
1959
  "kind": "js",
1920
- "name": "foundationAccordionTemplate",
1960
+ "name": "menuTemplate",
1921
1961
  "declaration": {
1922
- "name": "foundationAccordionTemplate",
1923
- "module": "src/accordion/accordion.template.ts"
1962
+ "name": "menuTemplate",
1963
+ "module": "src/actions-menu/actions-menu.template.ts"
1964
+ }
1965
+ },
1966
+ {
1967
+ "kind": "js",
1968
+ "name": "singleOptionTemplate",
1969
+ "declaration": {
1970
+ "name": "singleOptionTemplate",
1971
+ "module": "src/actions-menu/actions-menu.template.ts"
1972
+ }
1973
+ },
1974
+ {
1975
+ "kind": "js",
1976
+ "name": "foundationActionsMenuTemplate",
1977
+ "declaration": {
1978
+ "name": "foundationActionsMenuTemplate",
1979
+ "module": "src/actions-menu/actions-menu.template.ts"
1924
1980
  }
1925
1981
  }
1926
1982
  ]
1927
1983
  },
1928
1984
  {
1929
1985
  "kind": "javascript-module",
1930
- "path": "src/accordion/accordion.ts",
1986
+ "path": "src/actions-menu/actions-menu.ts",
1931
1987
  "declarations": [
1932
1988
  {
1933
1989
  "kind": "class",
1934
1990
  "description": "",
1935
- "name": "Accordion",
1936
- "superclass": {
1937
- "name": "FASTAccordion",
1938
- "package": "@microsoft/fast-foundation"
1939
- },
1940
- "tagName": "%%prefix%%-accordion",
1941
- "customElement": true,
1942
- "attributes": [
1991
+ "name": "ActionsMenu",
1992
+ "members": [
1943
1993
  {
1944
- "name": "expand-mode",
1994
+ "kind": "field",
1995
+ "name": "actions",
1945
1996
  "type": {
1946
- "text": "AccordionExpandMode"
1947
- },
1948
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1949
- "fieldName": "expandmode",
1950
- "inheritedFrom": {
1951
- "name": "Accordion",
1952
- "module": "src/accordion/accordion.ts"
1997
+ "text": "ActionMenuItem[]"
1953
1998
  }
1954
- }
1955
- ],
1956
- "members": [
1999
+ },
1957
2000
  {
1958
2001
  "kind": "field",
1959
- "name": "expandmode",
2002
+ "name": "isVertical",
1960
2003
  "type": {
1961
- "text": "AccordionExpandMode"
2004
+ "text": "boolean"
1962
2005
  },
1963
- "privacy": "public",
1964
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1965
- "inheritedFrom": {
1966
- "name": "Accordion",
1967
- "module": "src/accordion/accordion.ts"
1968
- }
2006
+ "default": "false"
1969
2007
  },
1970
2008
  {
1971
2009
  "kind": "field",
1972
- "name": "activeid",
2010
+ "name": "addDefaultActions",
1973
2011
  "type": {
1974
- "text": "string | null"
2012
+ "text": "boolean"
1975
2013
  },
1976
- "privacy": "private",
1977
- "inheritedFrom": {
1978
- "name": "Accordion",
1979
- "module": "src/accordion/accordion.ts"
1980
- }
2014
+ "default": "true"
1981
2015
  },
1982
2016
  {
1983
2017
  "kind": "field",
1984
- "name": "activeItemIndex",
2018
+ "name": "autoCloseOnAction",
1985
2019
  "type": {
1986
- "text": "number"
2020
+ "text": "boolean"
1987
2021
  },
1988
- "privacy": "private",
1989
- "default": "0",
1990
- "inheritedFrom": {
1991
- "name": "Accordion",
1992
- "module": "src/accordion/accordion.ts"
1993
- }
2022
+ "default": "true"
1994
2023
  },
1995
2024
  {
1996
2025
  "kind": "field",
1997
- "name": "accordionIds",
2026
+ "name": "classNames",
1998
2027
  "type": {
1999
- "text": "Array<string | null>"
2000
- },
2001
- "privacy": "private",
2002
- "inheritedFrom": {
2003
- "name": "Accordion",
2004
- "module": "src/accordion/accordion.ts"
2028
+ "text": "string"
2005
2029
  }
2006
2030
  },
2007
2031
  {
2008
2032
  "kind": "field",
2009
- "name": "change",
2010
- "privacy": "private",
2011
- "inheritedFrom": {
2012
- "name": "Accordion",
2013
- "module": "src/accordion/accordion.ts"
2033
+ "name": "definition",
2034
+ "type": {
2035
+ "text": "any"
2014
2036
  }
2015
2037
  },
2016
2038
  {
2017
- "kind": "method",
2018
- "name": "findExpandedItem",
2019
- "privacy": "private",
2020
- "return": {
2021
- "type": {
2022
- "text": "AccordionItem | null"
2023
- }
2039
+ "kind": "field",
2040
+ "name": "name",
2041
+ "type": {
2042
+ "text": "string"
2024
2043
  },
2025
- "inheritedFrom": {
2026
- "name": "Accordion",
2027
- "module": "src/accordion/accordion.ts"
2028
- }
2044
+ "default": "'Actions'"
2029
2045
  },
2030
2046
  {
2031
2047
  "kind": "field",
2032
- "name": "setItems",
2033
- "privacy": "private",
2034
- "inheritedFrom": {
2035
- "name": "Accordion",
2036
- "module": "src/accordion/accordion.ts"
2037
- }
2048
+ "name": "open",
2049
+ "type": {
2050
+ "text": "boolean"
2051
+ },
2052
+ "default": "false"
2038
2053
  },
2039
2054
  {
2040
- "kind": "method",
2041
- "name": "resetItems",
2042
- "privacy": "private",
2043
- "return": {
2044
- "type": {
2045
- "text": "void"
2046
- }
2047
- },
2048
- "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2055
+ "kind": "field",
2056
+ "name": "buttonAppearance",
2057
+ "type": {
2058
+ "text": "string"
2051
2059
  }
2052
2060
  },
2053
2061
  {
2054
2062
  "kind": "field",
2055
- "name": "removeItemListeners",
2056
- "privacy": "private",
2057
- "inheritedFrom": {
2058
- "name": "Accordion",
2059
- "module": "src/accordion/accordion.ts"
2063
+ "name": "hideDisabled",
2064
+ "type": {
2065
+ "text": "boolean"
2066
+ },
2067
+ "default": "false"
2068
+ },
2069
+ {
2070
+ "kind": "field",
2071
+ "name": "hideMenuSingleOption",
2072
+ "type": {
2073
+ "text": "boolean"
2074
+ },
2075
+ "default": "false"
2076
+ },
2077
+ {
2078
+ "kind": "field",
2079
+ "name": "singleOption",
2080
+ "type": {
2081
+ "text": "ActionMenuItem"
2060
2082
  }
2061
2083
  },
2062
2084
  {
2063
2085
  "kind": "field",
2064
- "name": "activeItemChange",
2065
- "privacy": "private",
2066
- "inheritedFrom": {
2067
- "name": "Accordion",
2068
- "module": "src/accordion/accordion.ts"
2086
+ "name": "actionsMenu",
2087
+ "type": {
2088
+ "text": "HTMLElement"
2069
2089
  }
2070
2090
  },
2071
2091
  {
2072
2092
  "kind": "method",
2073
- "name": "getItemIds",
2074
- "privacy": "private",
2075
- "return": {
2076
- "type": {
2077
- "text": "Array<string | null>"
2093
+ "name": "definitionChanged",
2094
+ "privacy": "protected",
2095
+ "parameters": [
2096
+ {
2097
+ "name": "oldValue",
2098
+ "type": {
2099
+ "text": "any"
2100
+ }
2101
+ },
2102
+ {
2103
+ "name": "newValue",
2104
+ "type": {
2105
+ "text": "any"
2106
+ }
2078
2107
  }
2079
- },
2080
- "inheritedFrom": {
2081
- "name": "Accordion",
2082
- "module": "src/accordion/accordion.ts"
2083
- }
2108
+ ]
2084
2109
  },
2085
2110
  {
2086
2111
  "kind": "method",
2087
- "name": "isSingleExpandMode",
2088
- "privacy": "private",
2089
- "return": {
2090
- "type": {
2091
- "text": "boolean"
2112
+ "name": "openChanged",
2113
+ "privacy": "protected"
2114
+ },
2115
+ {
2116
+ "kind": "method",
2117
+ "name": "toggleActionsMenuVisibility"
2118
+ },
2119
+ {
2120
+ "kind": "method",
2121
+ "name": "onActionMenuItemClick",
2122
+ "parameters": [
2123
+ {
2124
+ "name": "callback",
2125
+ "type": {
2126
+ "text": "(rowData) => void | any"
2127
+ }
2092
2128
  }
2093
- },
2094
- "inheritedFrom": {
2095
- "name": "Accordion",
2096
- "module": "src/accordion/accordion.ts"
2097
- }
2129
+ ]
2098
2130
  },
2099
2131
  {
2100
2132
  "kind": "field",
2101
- "name": "handleItemKeyDown",
2102
- "privacy": "private",
2103
- "inheritedFrom": {
2104
- "name": "Accordion",
2105
- "module": "src/accordion/accordion.ts"
2106
- }
2133
+ "name": "allActions",
2134
+ "type": {
2135
+ "text": "ActionMenuItem[]"
2136
+ },
2137
+ "readonly": true
2107
2138
  },
2108
2139
  {
2109
2140
  "kind": "field",
2110
- "name": "handleItemFocus",
2111
- "privacy": "private",
2112
- "inheritedFrom": {
2113
- "name": "Accordion",
2114
- "module": "src/accordion/accordion.ts"
2115
- }
2141
+ "name": "rowData",
2142
+ "readonly": true
2116
2143
  },
2117
2144
  {
2118
2145
  "kind": "method",
2119
- "name": "adjust",
2120
- "privacy": "private",
2121
- "return": {
2122
- "type": {
2123
- "text": "void"
2124
- }
2125
- },
2146
+ "name": "getLabel",
2126
2147
  "parameters": [
2127
2148
  {
2128
- "name": "adjustment",
2149
+ "name": "name",
2129
2150
  "type": {
2130
- "text": "number"
2151
+ "text": "string | ((rowData: any) => string)"
2131
2152
  }
2132
2153
  }
2133
- ],
2134
- "inheritedFrom": {
2135
- "name": "Accordion",
2136
- "module": "src/accordion/accordion.ts"
2137
- }
2154
+ ]
2138
2155
  },
2139
2156
  {
2140
2157
  "kind": "method",
2141
- "name": "focusItem",
2142
- "privacy": "private",
2143
- "return": {
2144
- "type": {
2145
- "text": "void"
2158
+ "name": "getTemplate",
2159
+ "parameters": [
2160
+ {
2161
+ "name": "prefix",
2162
+ "type": {
2163
+ "text": "string"
2164
+ }
2146
2165
  }
2147
- },
2148
- "inheritedFrom": {
2149
- "name": "Accordion",
2150
- "module": "src/accordion/accordion.ts"
2151
- }
2166
+ ]
2152
2167
  },
2153
2168
  {
2154
2169
  "kind": "field",
@@ -2262,78 +2277,107 @@
2262
2277
  }
2263
2278
  }
2264
2279
  ],
2265
- "events": [
2280
+ "attributes": [
2266
2281
  {
2267
- "description": "Fires a custom 'change' event when the active item changes",
2268
- "name": "change",
2269
- "inheritedFrom": {
2270
- "name": "Accordion",
2271
- "module": "src/accordion/accordion.ts"
2272
- }
2282
+ "name": "is-vertical",
2283
+ "type": {
2284
+ "text": "boolean"
2285
+ },
2286
+ "default": "false",
2287
+ "fieldName": "isVertical"
2288
+ },
2289
+ {
2290
+ "name": "add-default-actions",
2291
+ "type": {
2292
+ "text": "boolean"
2293
+ },
2294
+ "default": "true",
2295
+ "fieldName": "addDefaultActions"
2296
+ },
2297
+ {
2298
+ "name": "auto-close-on-action",
2299
+ "type": {
2300
+ "text": "boolean"
2301
+ },
2302
+ "default": "true",
2303
+ "fieldName": "autoCloseOnAction"
2304
+ },
2305
+ {
2306
+ "name": "name",
2307
+ "type": {
2308
+ "text": "string"
2309
+ },
2310
+ "default": "'Actions'",
2311
+ "fieldName": "name"
2312
+ },
2313
+ {
2314
+ "name": "open",
2315
+ "type": {
2316
+ "text": "boolean"
2317
+ },
2318
+ "default": "false",
2319
+ "fieldName": "open"
2320
+ },
2321
+ {
2322
+ "name": "buttonAppearance",
2323
+ "type": {
2324
+ "text": "string"
2325
+ },
2326
+ "fieldName": "buttonAppearance"
2327
+ },
2328
+ {
2329
+ "name": "hide-disabled",
2330
+ "type": {
2331
+ "text": "boolean"
2332
+ },
2333
+ "default": "false",
2334
+ "fieldName": "hideDisabled"
2335
+ },
2336
+ {
2337
+ "name": "hide-menu-single-option",
2338
+ "type": {
2339
+ "text": "boolean"
2340
+ },
2341
+ "default": "false",
2342
+ "fieldName": "hideMenuSingleOption"
2273
2343
  }
2274
- ]
2275
- },
2276
- {
2277
- "kind": "variable",
2278
- "name": "foundationAccordionShadowOptions",
2279
- "type": {
2280
- "text": "ShadowRootInit"
2281
- },
2282
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2283
- },
2284
- {
2285
- "kind": "variable",
2286
- "name": "defaultAccordionConfig",
2287
- "type": {
2288
- "text": "object"
2344
+ ],
2345
+ "superclass": {
2346
+ "name": "FoundationElement",
2347
+ "package": "@microsoft/fast-foundation"
2289
2348
  },
2290
- "default": "{}"
2349
+ "tagName": "%%prefix%%-actions-menu",
2350
+ "customElement": true
2291
2351
  },
2292
2352
  {
2293
2353
  "kind": "variable",
2294
- "name": "foundationAccordion",
2295
- "description": "The Foundation Accordion",
2354
+ "name": "foundationActionsMenu",
2355
+ "description": "The Foundation Actions Menu",
2296
2356
  "privacy": "public"
2297
2357
  }
2298
2358
  ],
2299
2359
  "exports": [
2300
2360
  {
2301
2361
  "kind": "js",
2302
- "name": "Accordion",
2362
+ "name": "ActionsMenu",
2303
2363
  "declaration": {
2304
- "name": "Accordion",
2305
- "module": "src/accordion/accordion.ts"
2306
- }
2307
- },
2308
- {
2309
- "kind": "js",
2310
- "name": "foundationAccordionShadowOptions",
2311
- "declaration": {
2312
- "name": "foundationAccordionShadowOptions",
2313
- "module": "src/accordion/accordion.ts"
2314
- }
2315
- },
2316
- {
2317
- "kind": "js",
2318
- "name": "defaultAccordionConfig",
2319
- "declaration": {
2320
- "name": "defaultAccordionConfig",
2321
- "module": "src/accordion/accordion.ts"
2364
+ "name": "ActionsMenu",
2365
+ "module": "src/actions-menu/actions-menu.ts"
2322
2366
  }
2323
2367
  },
2324
2368
  {
2325
2369
  "kind": "js",
2326
- "name": "foundationAccordion",
2370
+ "name": "foundationActionsMenu",
2327
2371
  "declaration": {
2328
- "name": "foundationAccordion",
2329
- "module": "src/accordion/accordion.ts"
2372
+ "name": "foundationActionsMenu",
2373
+ "module": "src/actions-menu/actions-menu.ts"
2330
2374
  }
2331
2375
  }
2332
2376
  ]
2333
2377
  },
2334
2378
  {
2335
2379
  "kind": "javascript-module",
2336
- "path": "src/accordion/index.ts",
2380
+ "path": "src/actions-menu/index.ts",
2337
2381
  "declarations": [],
2338
2382
  "exports": [
2339
2383
  {
@@ -2341,7 +2385,7 @@
2341
2385
  "name": "*",
2342
2386
  "declaration": {
2343
2387
  "name": "*",
2344
- "package": "./accordion.template"
2388
+ "package": "./actions-menu.styles"
2345
2389
  }
2346
2390
  },
2347
2391
  {
@@ -2349,7 +2393,7 @@
2349
2393
  "name": "*",
2350
2394
  "declaration": {
2351
2395
  "name": "*",
2352
- "package": "./accordion.styles"
2396
+ "package": "./actions-menu.template"
2353
2397
  }
2354
2398
  },
2355
2399
  {
@@ -2357,210 +2401,122 @@
2357
2401
  "name": "*",
2358
2402
  "declaration": {
2359
2403
  "name": "*",
2360
- "package": "./accordion"
2404
+ "package": "./actions-menu"
2361
2405
  }
2362
2406
  }
2363
2407
  ]
2364
2408
  },
2365
2409
  {
2366
2410
  "kind": "javascript-module",
2367
- "path": "src/actions-menu/actions-menu.styles.ts",
2411
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2368
2412
  "declarations": [
2369
2413
  {
2370
- "kind": "function",
2371
- "name": "actionsMenuBaseStyles",
2372
- "return": {
2373
- "type": {
2374
- "text": "ElementStyles"
2375
- }
2376
- },
2377
- "parameters": [
2378
- {
2379
- "name": "context",
2380
- "type": {
2381
- "text": "ElementDefinitionContext"
2382
- }
2383
- },
2384
- {
2385
- "name": "definition",
2386
- "type": {
2387
- "text": "FoundationElementDefinition"
2388
- }
2389
- }
2390
- ]
2391
- },
2392
- {
2393
- "kind": "function",
2394
- "name": "foundationActionsMenuStyles",
2395
- "return": {
2396
- "type": {
2397
- "text": "ElementStyles"
2398
- }
2399
- },
2400
- "parameters": [
2401
- {
2402
- "name": "context",
2403
- "type": {
2404
- "text": "ElementDefinitionContext"
2405
- }
2406
- },
2407
- {
2408
- "name": "definition",
2409
- "type": {
2410
- "text": "FoundationElementDefinition"
2411
- }
2412
- }
2413
- ]
2414
+ "kind": "variable",
2415
+ "name": "foundationAiCriteriaSearchStyles",
2416
+ "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`"
2414
2417
  }
2415
2418
  ],
2416
2419
  "exports": [
2417
2420
  {
2418
2421
  "kind": "js",
2419
- "name": "actionsMenuBaseStyles",
2420
- "declaration": {
2421
- "name": "actionsMenuBaseStyles",
2422
- "module": "src/actions-menu/actions-menu.styles.ts"
2423
- }
2424
- },
2425
- {
2426
- "kind": "js",
2427
- "name": "foundationActionsMenuStyles",
2422
+ "name": "foundationAiCriteriaSearchStyles",
2428
2423
  "declaration": {
2429
- "name": "foundationActionsMenuStyles",
2430
- "module": "src/actions-menu/actions-menu.styles.ts"
2424
+ "name": "foundationAiCriteriaSearchStyles",
2425
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2431
2426
  }
2432
2427
  }
2433
2428
  ]
2434
2429
  },
2435
2430
  {
2436
2431
  "kind": "javascript-module",
2437
- "path": "src/actions-menu/actions-menu.template.ts",
2432
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2438
2433
  "declarations": [
2439
- {
2440
- "kind": "function",
2441
- "name": "menuTemplate",
2442
- "parameters": [
2443
- {
2444
- "name": "prefix",
2445
- "type": {
2446
- "text": "string"
2447
- }
2448
- }
2449
- ]
2450
- },
2451
- {
2452
- "kind": "function",
2453
- "name": "singleOptionTemplate",
2454
- "parameters": [
2455
- {
2456
- "name": "prefix",
2457
- "type": {
2458
- "text": "string"
2459
- }
2460
- }
2461
- ]
2462
- },
2463
2434
  {
2464
2435
  "kind": "variable",
2465
- "name": "foundationActionsMenuTemplate",
2436
+ "name": "foundationAiCriteriaSearchTemplate",
2466
2437
  "type": {
2467
- "text": "ViewTemplate<ActionsMenu>"
2438
+ "text": "ViewTemplate<AiCriteriaSearch>"
2468
2439
  },
2469
- "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`"
2440
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2470
2441
  }
2471
2442
  ],
2472
2443
  "exports": [
2473
2444
  {
2474
2445
  "kind": "js",
2475
- "name": "menuTemplate",
2476
- "declaration": {
2477
- "name": "menuTemplate",
2478
- "module": "src/actions-menu/actions-menu.template.ts"
2479
- }
2480
- },
2481
- {
2482
- "kind": "js",
2483
- "name": "singleOptionTemplate",
2484
- "declaration": {
2485
- "name": "singleOptionTemplate",
2486
- "module": "src/actions-menu/actions-menu.template.ts"
2487
- }
2488
- },
2489
- {
2490
- "kind": "js",
2491
- "name": "foundationActionsMenuTemplate",
2446
+ "name": "foundationAiCriteriaSearchTemplate",
2492
2447
  "declaration": {
2493
- "name": "foundationActionsMenuTemplate",
2494
- "module": "src/actions-menu/actions-menu.template.ts"
2448
+ "name": "foundationAiCriteriaSearchTemplate",
2449
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2495
2450
  }
2496
2451
  }
2497
2452
  ]
2498
2453
  },
2499
2454
  {
2500
2455
  "kind": "javascript-module",
2501
- "path": "src/actions-menu/actions-menu.ts",
2456
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2502
2457
  "declarations": [
2503
2458
  {
2504
2459
  "kind": "class",
2505
- "description": "",
2506
- "name": "ActionsMenu",
2460
+ "description": "Natural-language criteria search input with AI interpretation.",
2461
+ "name": "AiCriteriaSearch",
2507
2462
  "members": [
2508
2463
  {
2509
2464
  "kind": "field",
2510
- "name": "actions",
2465
+ "name": "providerRegistry",
2511
2466
  "type": {
2512
- "text": "ActionMenuItem[]"
2467
+ "text": "AIProviderRegistry"
2513
2468
  }
2514
2469
  },
2515
2470
  {
2516
2471
  "kind": "field",
2517
- "name": "isVertical",
2472
+ "name": "placeholder",
2518
2473
  "type": {
2519
- "text": "boolean"
2474
+ "text": "string"
2520
2475
  },
2521
- "default": "false"
2476
+ "default": "'Describe your search criteria in natural language...'"
2522
2477
  },
2523
2478
  {
2524
2479
  "kind": "field",
2525
- "name": "addDefaultActions",
2480
+ "name": "disabled",
2526
2481
  "type": {
2527
2482
  "text": "boolean"
2528
- },
2529
- "default": "true"
2483
+ }
2530
2484
  },
2531
2485
  {
2532
2486
  "kind": "field",
2533
- "name": "autoCloseOnAction",
2487
+ "name": "inputValue",
2534
2488
  "type": {
2535
- "text": "boolean"
2489
+ "text": "string"
2536
2490
  },
2537
- "default": "true"
2491
+ "default": "''"
2538
2492
  },
2539
2493
  {
2540
2494
  "kind": "field",
2541
- "name": "classNames",
2495
+ "name": "isInterpreting",
2542
2496
  "type": {
2543
- "text": "string"
2544
- }
2497
+ "text": "boolean"
2498
+ },
2499
+ "default": "false"
2545
2500
  },
2546
2501
  {
2547
2502
  "kind": "field",
2548
- "name": "definition",
2503
+ "name": "lastValidCriteria",
2549
2504
  "type": {
2550
- "text": "any"
2551
- }
2505
+ "text": "string | null"
2506
+ },
2507
+ "default": "null"
2552
2508
  },
2553
2509
  {
2554
2510
  "kind": "field",
2555
- "name": "name",
2511
+ "name": "activeGroups",
2556
2512
  "type": {
2557
- "text": "string"
2513
+ "text": "CriteriaGroup[]"
2558
2514
  },
2559
- "default": "'Actions'"
2515
+ "default": "[]"
2560
2516
  },
2561
2517
  {
2562
2518
  "kind": "field",
2563
- "name": "open",
2519
+ "name": "showingChips",
2564
2520
  "type": {
2565
2521
  "text": "boolean"
2566
2522
  },
@@ -2568,14 +2524,15 @@
2568
2524
  },
2569
2525
  {
2570
2526
  "kind": "field",
2571
- "name": "buttonAppearance",
2527
+ "name": "fieldMetadata",
2572
2528
  "type": {
2573
- "text": "string"
2574
- }
2529
+ "text": "MetadataDetail[] | string[]"
2530
+ },
2531
+ "default": "[]"
2575
2532
  },
2576
2533
  {
2577
2534
  "kind": "field",
2578
- "name": "hideDisabled",
2535
+ "name": "isRecording",
2579
2536
  "type": {
2580
2537
  "text": "boolean"
2581
2538
  },
@@ -2583,102 +2540,125 @@
2583
2540
  },
2584
2541
  {
2585
2542
  "kind": "field",
2586
- "name": "hideMenuSingleOption",
2543
+ "name": "textAreaRef",
2587
2544
  "type": {
2588
- "text": "boolean"
2545
+ "text": "HTMLTextAreaElement"
2589
2546
  },
2590
- "default": "false"
2547
+ "privacy": "public"
2591
2548
  },
2592
2549
  {
2593
2550
  "kind": "field",
2594
- "name": "singleOption",
2551
+ "name": "stopRecording",
2595
2552
  "type": {
2596
- "text": "ActionMenuItem"
2597
- }
2553
+ "text": "(() => void) | null"
2554
+ },
2555
+ "privacy": "private",
2556
+ "default": "null"
2598
2557
  },
2599
2558
  {
2600
2559
  "kind": "field",
2601
- "name": "actionsMenu",
2560
+ "name": "speechApplyDebounceTimer",
2602
2561
  "type": {
2603
- "text": "HTMLElement"
2604
- }
2562
+ "text": "ReturnType<typeof setTimeout> | null"
2563
+ },
2564
+ "privacy": "private",
2565
+ "default": "null"
2566
+ },
2567
+ {
2568
+ "kind": "field",
2569
+ "name": "speechAvailable",
2570
+ "type": {
2571
+ "text": "boolean"
2572
+ },
2573
+ "readonly": true
2574
+ },
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "criteriaChips",
2578
+ "type": {
2579
+ "text": "CriteriaChip[]"
2580
+ },
2581
+ "readonly": true
2605
2582
  },
2606
2583
  {
2607
2584
  "kind": "method",
2608
- "name": "definitionChanged",
2609
- "privacy": "protected",
2585
+ "name": "getFieldLabel",
2586
+ "privacy": "private",
2587
+ "return": {
2588
+ "type": {
2589
+ "text": "string"
2590
+ }
2591
+ },
2610
2592
  "parameters": [
2611
2593
  {
2612
- "name": "oldValue",
2613
- "type": {
2614
- "text": "any"
2615
- }
2616
- },
2617
- {
2618
- "name": "newValue",
2594
+ "name": "fieldName",
2619
2595
  "type": {
2620
- "text": "any"
2596
+ "text": "string"
2621
2597
  }
2622
2598
  }
2623
2599
  ]
2624
2600
  },
2625
2601
  {
2626
2602
  "kind": "method",
2627
- "name": "openChanged",
2628
- "privacy": "protected"
2629
- },
2630
- {
2631
- "kind": "method",
2632
- "name": "toggleActionsMenuVisibility"
2603
+ "name": "toggleCriteriaView",
2604
+ "return": {
2605
+ "type": {
2606
+ "text": "void"
2607
+ }
2608
+ }
2633
2609
  },
2634
2610
  {
2635
2611
  "kind": "method",
2636
- "name": "onActionMenuItemClick",
2612
+ "name": "removeChip",
2613
+ "return": {
2614
+ "type": {
2615
+ "text": "void"
2616
+ }
2617
+ },
2637
2618
  "parameters": [
2638
2619
  {
2639
- "name": "callback",
2620
+ "name": "groupIndex",
2640
2621
  "type": {
2641
- "text": "(rowData) => void | any"
2622
+ "text": "number"
2623
+ }
2624
+ },
2625
+ {
2626
+ "name": "clauseIndex",
2627
+ "type": {
2628
+ "text": "number"
2642
2629
  }
2643
2630
  }
2644
2631
  ]
2645
2632
  },
2646
2633
  {
2647
- "kind": "field",
2648
- "name": "allActions",
2649
- "type": {
2650
- "text": "ActionMenuItem[]"
2651
- },
2652
- "readonly": true
2634
+ "kind": "method",
2635
+ "name": "clearChips",
2636
+ "return": {
2637
+ "type": {
2638
+ "text": "void"
2639
+ }
2640
+ }
2653
2641
  },
2654
2642
  {
2655
- "kind": "field",
2656
- "name": "rowData",
2657
- "readonly": true
2643
+ "kind": "method",
2644
+ "name": "handleSubmit"
2658
2645
  },
2659
2646
  {
2660
2647
  "kind": "method",
2661
- "name": "getLabel",
2662
- "parameters": [
2663
- {
2664
- "name": "name",
2665
- "type": {
2666
- "text": "string | ((rowData: any) => string)"
2667
- }
2668
- }
2669
- ]
2648
+ "name": "handleBlur"
2670
2649
  },
2671
2650
  {
2672
2651
  "kind": "method",
2673
- "name": "getTemplate",
2674
- "parameters": [
2675
- {
2676
- "name": "prefix",
2677
- "type": {
2678
- "text": "string"
2679
- }
2680
- }
2681
- ]
2652
+ "name": "clear"
2653
+ },
2654
+ {
2655
+ "kind": "method",
2656
+ "name": "toggleSpeechInput"
2657
+ },
2658
+ {
2659
+ "kind": "method",
2660
+ "name": "clearSpeechApplyDebounce",
2661
+ "privacy": "private"
2682
2662
  },
2683
2663
  {
2684
2664
  "kind": "field",
@@ -2792,115 +2772,154 @@
2792
2772
  }
2793
2773
  }
2794
2774
  ],
2795
- "attributes": [
2796
- {
2797
- "name": "is-vertical",
2798
- "type": {
2799
- "text": "boolean"
2800
- },
2801
- "default": "false",
2802
- "fieldName": "isVertical"
2803
- },
2804
- {
2805
- "name": "add-default-actions",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "default": "true",
2810
- "fieldName": "addDefaultActions"
2811
- },
2812
- {
2813
- "name": "auto-close-on-action",
2814
- "type": {
2815
- "text": "boolean"
2816
- },
2817
- "default": "true",
2818
- "fieldName": "autoCloseOnAction"
2819
- },
2775
+ "events": [
2820
2776
  {
2821
- "name": "name",
2822
- "type": {
2823
- "text": "string"
2824
- },
2825
- "default": "'Actions'",
2826
- "fieldName": "name"
2777
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2778
+ "name": "criteria-changed"
2827
2779
  },
2828
2780
  {
2829
- "name": "open",
2830
- "type": {
2831
- "text": "boolean"
2832
- },
2833
- "default": "false",
2834
- "fieldName": "open"
2835
- },
2781
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2782
+ "name": "validation-errors"
2783
+ }
2784
+ ],
2785
+ "attributes": [
2836
2786
  {
2837
- "name": "buttonAppearance",
2787
+ "name": "placeholder",
2838
2788
  "type": {
2839
2789
  "text": "string"
2840
2790
  },
2841
- "fieldName": "buttonAppearance"
2842
- },
2843
- {
2844
- "name": "hide-disabled",
2845
- "type": {
2846
- "text": "boolean"
2847
- },
2848
- "default": "false",
2849
- "fieldName": "hideDisabled"
2791
+ "default": "'Describe your search criteria in natural language...'",
2792
+ "fieldName": "placeholder"
2850
2793
  },
2851
2794
  {
2852
- "name": "hide-menu-single-option",
2853
2795
  "type": {
2854
2796
  "text": "boolean"
2855
2797
  },
2856
- "default": "false",
2857
- "fieldName": "hideMenuSingleOption"
2798
+ "fieldName": "disabled"
2858
2799
  }
2859
2800
  ],
2860
2801
  "superclass": {
2861
2802
  "name": "FoundationElement",
2862
2803
  "package": "@microsoft/fast-foundation"
2863
2804
  },
2864
- "tagName": "%%prefix%%-actions-menu",
2805
+ "tagName": "%%prefix%%-ai-criteria-search",
2865
2806
  "customElement": true
2866
2807
  },
2867
2808
  {
2868
2809
  "kind": "variable",
2869
- "name": "foundationActionsMenu",
2870
- "description": "The Foundation Actions Menu",
2871
- "privacy": "public"
2810
+ "name": "foundationAiCriteriaSearchShadowOptions",
2811
+ "type": {
2812
+ "text": "ShadowRootInit"
2813
+ },
2814
+ "default": "undefined"
2815
+ },
2816
+ {
2817
+ "kind": "variable",
2818
+ "name": "defaultAiCriteriaSearchConfig",
2819
+ "type": {
2820
+ "text": "object"
2821
+ },
2822
+ "default": "{}"
2823
+ },
2824
+ {
2825
+ "kind": "variable",
2826
+ "name": "foundationAiCriteriaSearch"
2872
2827
  }
2873
2828
  ],
2874
2829
  "exports": [
2875
2830
  {
2876
2831
  "kind": "js",
2877
- "name": "ActionsMenu",
2832
+ "name": "AiCriteriaSearch",
2878
2833
  "declaration": {
2879
- "name": "ActionsMenu",
2880
- "module": "src/actions-menu/actions-menu.ts"
2834
+ "name": "AiCriteriaSearch",
2835
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2881
2836
  }
2882
2837
  },
2883
2838
  {
2884
2839
  "kind": "js",
2885
- "name": "foundationActionsMenu",
2840
+ "name": "foundationAiCriteriaSearchShadowOptions",
2886
2841
  "declaration": {
2887
- "name": "foundationActionsMenu",
2888
- "module": "src/actions-menu/actions-menu.ts"
2842
+ "name": "foundationAiCriteriaSearchShadowOptions",
2843
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2844
+ }
2845
+ },
2846
+ {
2847
+ "kind": "js",
2848
+ "name": "defaultAiCriteriaSearchConfig",
2849
+ "declaration": {
2850
+ "name": "defaultAiCriteriaSearchConfig",
2851
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2852
+ }
2853
+ },
2854
+ {
2855
+ "kind": "js",
2856
+ "name": "foundationAiCriteriaSearch",
2857
+ "declaration": {
2858
+ "name": "foundationAiCriteriaSearch",
2859
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2889
2860
  }
2890
2861
  }
2891
2862
  ]
2892
2863
  },
2893
2864
  {
2894
2865
  "kind": "javascript-module",
2895
- "path": "src/actions-menu/index.ts",
2866
+ "path": "src/ai-criteria-search/index.ts",
2896
2867
  "declarations": [],
2897
2868
  "exports": [
2869
+ {
2870
+ "kind": "js",
2871
+ "name": "AiCriteriaSearch",
2872
+ "declaration": {
2873
+ "name": "AiCriteriaSearch",
2874
+ "module": "./ai-criteria-search"
2875
+ }
2876
+ },
2877
+ {
2878
+ "kind": "js",
2879
+ "name": "defaultAiCriteriaSearchConfig",
2880
+ "declaration": {
2881
+ "name": "defaultAiCriteriaSearchConfig",
2882
+ "module": "./ai-criteria-search"
2883
+ }
2884
+ },
2885
+ {
2886
+ "kind": "js",
2887
+ "name": "foundationAiCriteriaSearch",
2888
+ "declaration": {
2889
+ "name": "foundationAiCriteriaSearch",
2890
+ "module": "./ai-criteria-search"
2891
+ }
2892
+ },
2893
+ {
2894
+ "kind": "js",
2895
+ "name": "foundationAiCriteriaSearchShadowOptions",
2896
+ "declaration": {
2897
+ "name": "foundationAiCriteriaSearchShadowOptions",
2898
+ "module": "./ai-criteria-search"
2899
+ }
2900
+ },
2901
+ {
2902
+ "kind": "js",
2903
+ "name": "foundationAiCriteriaSearchStyles",
2904
+ "declaration": {
2905
+ "name": "foundationAiCriteriaSearchStyles",
2906
+ "module": "./ai-criteria-search.styles"
2907
+ }
2908
+ },
2909
+ {
2910
+ "kind": "js",
2911
+ "name": "foundationAiCriteriaSearchTemplate",
2912
+ "declaration": {
2913
+ "name": "foundationAiCriteriaSearchTemplate",
2914
+ "module": "./ai-criteria-search.template"
2915
+ }
2916
+ },
2898
2917
  {
2899
2918
  "kind": "js",
2900
2919
  "name": "*",
2901
2920
  "declaration": {
2902
2921
  "name": "*",
2903
- "package": "./actions-menu.styles"
2922
+ "package": "./validation/criteria-ir"
2904
2923
  }
2905
2924
  },
2906
2925
  {
@@ -2908,7 +2927,7 @@
2908
2927
  "name": "*",
2909
2928
  "declaration": {
2910
2929
  "name": "*",
2911
- "package": "./actions-menu.template"
2930
+ "package": "./validation/operator-map"
2912
2931
  }
2913
2932
  },
2914
2933
  {
@@ -2916,215 +2935,357 @@
2916
2935
  "name": "*",
2917
2936
  "declaration": {
2918
2937
  "name": "*",
2919
- "package": "./actions-menu"
2938
+ "package": "./validation/schema-validator"
2920
2939
  }
2921
2940
  }
2922
2941
  ]
2923
2942
  },
2924
2943
  {
2925
2944
  "kind": "javascript-module",
2926
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2945
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2927
2946
  "declarations": [
2928
2947
  {
2929
- "kind": "variable",
2930
- "name": "foundationAiCriteriaSearchStyles",
2931
- "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`"
2948
+ "kind": "function",
2949
+ "name": "formatValidationErrors",
2950
+ "return": {
2951
+ "type": {
2952
+ "text": "string"
2953
+ }
2954
+ },
2955
+ "parameters": [
2956
+ {
2957
+ "name": "errors",
2958
+ "type": {
2959
+ "text": "ValidationError[]"
2960
+ }
2961
+ }
2962
+ ],
2963
+ "description": "Formats validation errors into a user-friendly message."
2964
+ },
2965
+ {
2966
+ "kind": "function",
2967
+ "name": "showCriteriaError",
2968
+ "return": {
2969
+ "type": {
2970
+ "text": "void"
2971
+ }
2972
+ },
2973
+ "parameters": [
2974
+ {
2975
+ "name": "title",
2976
+ "type": {
2977
+ "text": "string"
2978
+ },
2979
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2980
+ },
2981
+ {
2982
+ "name": "body",
2983
+ "type": {
2984
+ "text": "string"
2985
+ },
2986
+ "description": "Error message to display"
2987
+ },
2988
+ {
2989
+ "name": "tagName",
2990
+ "type": {
2991
+ "text": "string"
2992
+ },
2993
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2994
+ }
2995
+ ],
2996
+ "description": "Shows a criteria error as a toast notification."
2932
2997
  }
2933
2998
  ],
2934
2999
  "exports": [
2935
3000
  {
2936
3001
  "kind": "js",
2937
- "name": "foundationAiCriteriaSearchStyles",
3002
+ "name": "formatValidationErrors",
2938
3003
  "declaration": {
2939
- "name": "foundationAiCriteriaSearchStyles",
2940
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3004
+ "name": "formatValidationErrors",
3005
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3006
+ }
3007
+ },
3008
+ {
3009
+ "kind": "js",
3010
+ "name": "showCriteriaError",
3011
+ "declaration": {
3012
+ "name": "showCriteriaError",
3013
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2941
3014
  }
2942
3015
  }
2943
3016
  ]
2944
3017
  },
2945
3018
  {
2946
3019
  "kind": "javascript-module",
2947
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3020
+ "path": "src/accordion/accordion.styles.ts",
2948
3021
  "declarations": [
2949
3022
  {
2950
- "kind": "variable",
2951
- "name": "foundationAiCriteriaSearchTemplate",
2952
- "type": {
2953
- "text": "ViewTemplate<AiCriteriaSearch>"
3023
+ "kind": "function",
3024
+ "name": "foundationAccordionStyles",
3025
+ "return": {
3026
+ "type": {
3027
+ "text": "ElementStyles"
3028
+ }
2954
3029
  },
2955
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3030
+ "parameters": [
3031
+ {
3032
+ "name": "context",
3033
+ "type": {
3034
+ "text": "ElementDefinitionContext"
3035
+ }
3036
+ },
3037
+ {
3038
+ "name": "definition",
3039
+ "type": {
3040
+ "text": "FoundationElementDefinition"
3041
+ }
3042
+ }
3043
+ ]
2956
3044
  }
2957
3045
  ],
2958
3046
  "exports": [
2959
3047
  {
2960
3048
  "kind": "js",
2961
- "name": "foundationAiCriteriaSearchTemplate",
3049
+ "name": "foundationAccordionStyles",
2962
3050
  "declaration": {
2963
- "name": "foundationAiCriteriaSearchTemplate",
2964
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3051
+ "name": "foundationAccordionStyles",
3052
+ "module": "src/accordion/accordion.styles.ts"
2965
3053
  }
2966
3054
  }
2967
3055
  ]
2968
3056
  },
2969
3057
  {
2970
3058
  "kind": "javascript-module",
2971
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3059
+ "path": "src/accordion/accordion.template.ts",
2972
3060
  "declarations": [
2973
3061
  {
2974
- "kind": "class",
2975
- "description": "Natural-language criteria search input with AI interpretation.",
2976
- "name": "AiCriteriaSearch",
2977
- "members": [
3062
+ "kind": "function",
3063
+ "name": "foundationAccordionTemplate",
3064
+ "return": {
3065
+ "type": {
3066
+ "text": "ViewTemplate<Accordion>"
3067
+ }
3068
+ },
3069
+ "parameters": [
2978
3070
  {
2979
- "kind": "field",
2980
- "name": "providerRegistry",
3071
+ "name": "context",
2981
3072
  "type": {
2982
- "text": "AIProviderRegistry"
3073
+ "text": "ElementDefinitionContext"
2983
3074
  }
2984
3075
  },
2985
3076
  {
2986
- "kind": "field",
2987
- "name": "placeholder",
2988
- "type": {
2989
- "text": "string"
2990
- },
2991
- "default": "'Describe your search criteria in natural language...'"
2992
- },
2993
- {
2994
- "kind": "field",
2995
- "name": "disabled",
3077
+ "name": "definition",
2996
3078
  "type": {
2997
- "text": "boolean"
3079
+ "text": "FoundationElementDefinition"
2998
3080
  }
2999
- },
3081
+ }
3082
+ ]
3083
+ }
3084
+ ],
3085
+ "exports": [
3086
+ {
3087
+ "kind": "js",
3088
+ "name": "foundationAccordionTemplate",
3089
+ "declaration": {
3090
+ "name": "foundationAccordionTemplate",
3091
+ "module": "src/accordion/accordion.template.ts"
3092
+ }
3093
+ }
3094
+ ]
3095
+ },
3096
+ {
3097
+ "kind": "javascript-module",
3098
+ "path": "src/accordion/accordion.ts",
3099
+ "declarations": [
3100
+ {
3101
+ "kind": "class",
3102
+ "description": "",
3103
+ "name": "Accordion",
3104
+ "superclass": {
3105
+ "name": "FASTAccordion",
3106
+ "package": "@microsoft/fast-foundation"
3107
+ },
3108
+ "tagName": "%%prefix%%-accordion",
3109
+ "customElement": true,
3110
+ "attributes": [
3000
3111
  {
3001
- "kind": "field",
3002
- "name": "inputValue",
3112
+ "name": "expand-mode",
3003
3113
  "type": {
3004
- "text": "string"
3114
+ "text": "AccordionExpandMode"
3005
3115
  },
3006
- "default": "''"
3007
- },
3116
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3117
+ "fieldName": "expandmode",
3118
+ "inheritedFrom": {
3119
+ "name": "Accordion",
3120
+ "module": "src/accordion/accordion.ts"
3121
+ }
3122
+ }
3123
+ ],
3124
+ "members": [
3008
3125
  {
3009
3126
  "kind": "field",
3010
- "name": "isInterpreting",
3127
+ "name": "expandmode",
3011
3128
  "type": {
3012
- "text": "boolean"
3129
+ "text": "AccordionExpandMode"
3013
3130
  },
3014
- "default": "false"
3131
+ "privacy": "public",
3132
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3133
+ "inheritedFrom": {
3134
+ "name": "Accordion",
3135
+ "module": "src/accordion/accordion.ts"
3136
+ }
3015
3137
  },
3016
3138
  {
3017
3139
  "kind": "field",
3018
- "name": "lastValidCriteria",
3140
+ "name": "activeid",
3019
3141
  "type": {
3020
3142
  "text": "string | null"
3021
3143
  },
3022
- "default": "null"
3023
- },
3024
- {
3025
- "kind": "field",
3026
- "name": "activeGroups",
3027
- "type": {
3028
- "text": "CriteriaGroup[]"
3029
- },
3030
- "default": "[]"
3144
+ "privacy": "private",
3145
+ "inheritedFrom": {
3146
+ "name": "Accordion",
3147
+ "module": "src/accordion/accordion.ts"
3148
+ }
3031
3149
  },
3032
3150
  {
3033
3151
  "kind": "field",
3034
- "name": "showingChips",
3152
+ "name": "activeItemIndex",
3035
3153
  "type": {
3036
- "text": "boolean"
3154
+ "text": "number"
3037
3155
  },
3038
- "default": "false"
3156
+ "privacy": "private",
3157
+ "default": "0",
3158
+ "inheritedFrom": {
3159
+ "name": "Accordion",
3160
+ "module": "src/accordion/accordion.ts"
3161
+ }
3039
3162
  },
3040
3163
  {
3041
3164
  "kind": "field",
3042
- "name": "fieldMetadata",
3165
+ "name": "accordionIds",
3043
3166
  "type": {
3044
- "text": "MetadataDetail[] | string[]"
3167
+ "text": "Array<string | null>"
3045
3168
  },
3046
- "default": "[]"
3169
+ "privacy": "private",
3170
+ "inheritedFrom": {
3171
+ "name": "Accordion",
3172
+ "module": "src/accordion/accordion.ts"
3173
+ }
3047
3174
  },
3048
3175
  {
3049
3176
  "kind": "field",
3050
- "name": "isRecording",
3051
- "type": {
3052
- "text": "boolean"
3053
- },
3054
- "default": "false"
3177
+ "name": "change",
3178
+ "privacy": "private",
3179
+ "inheritedFrom": {
3180
+ "name": "Accordion",
3181
+ "module": "src/accordion/accordion.ts"
3182
+ }
3055
3183
  },
3056
3184
  {
3057
- "kind": "field",
3058
- "name": "textAreaRef",
3059
- "type": {
3060
- "text": "HTMLTextAreaElement"
3185
+ "kind": "method",
3186
+ "name": "findExpandedItem",
3187
+ "privacy": "private",
3188
+ "return": {
3189
+ "type": {
3190
+ "text": "AccordionItem | null"
3191
+ }
3061
3192
  },
3062
- "privacy": "public"
3193
+ "inheritedFrom": {
3194
+ "name": "Accordion",
3195
+ "module": "src/accordion/accordion.ts"
3196
+ }
3063
3197
  },
3064
3198
  {
3065
3199
  "kind": "field",
3066
- "name": "stopRecording",
3067
- "type": {
3068
- "text": "(() => void) | null"
3069
- },
3200
+ "name": "setItems",
3070
3201
  "privacy": "private",
3071
- "default": "null"
3202
+ "inheritedFrom": {
3203
+ "name": "Accordion",
3204
+ "module": "src/accordion/accordion.ts"
3205
+ }
3072
3206
  },
3073
3207
  {
3074
- "kind": "field",
3075
- "name": "speechApplyDebounceTimer",
3076
- "type": {
3077
- "text": "ReturnType<typeof setTimeout> | null"
3078
- },
3208
+ "kind": "method",
3209
+ "name": "resetItems",
3079
3210
  "privacy": "private",
3080
- "default": "null"
3211
+ "return": {
3212
+ "type": {
3213
+ "text": "void"
3214
+ }
3215
+ },
3216
+ "inheritedFrom": {
3217
+ "name": "Accordion",
3218
+ "module": "src/accordion/accordion.ts"
3219
+ }
3081
3220
  },
3082
3221
  {
3083
3222
  "kind": "field",
3084
- "name": "speechAvailable",
3085
- "type": {
3086
- "text": "boolean"
3087
- },
3088
- "readonly": true
3223
+ "name": "removeItemListeners",
3224
+ "privacy": "private",
3225
+ "inheritedFrom": {
3226
+ "name": "Accordion",
3227
+ "module": "src/accordion/accordion.ts"
3228
+ }
3089
3229
  },
3090
3230
  {
3091
3231
  "kind": "field",
3092
- "name": "criteriaChips",
3093
- "type": {
3094
- "text": "CriteriaChip[]"
3095
- },
3096
- "readonly": true
3232
+ "name": "activeItemChange",
3233
+ "privacy": "private",
3234
+ "inheritedFrom": {
3235
+ "name": "Accordion",
3236
+ "module": "src/accordion/accordion.ts"
3237
+ }
3097
3238
  },
3098
3239
  {
3099
3240
  "kind": "method",
3100
- "name": "getFieldLabel",
3241
+ "name": "getItemIds",
3101
3242
  "privacy": "private",
3102
3243
  "return": {
3103
3244
  "type": {
3104
- "text": "string"
3245
+ "text": "Array<string | null>"
3105
3246
  }
3106
3247
  },
3107
- "parameters": [
3108
- {
3109
- "name": "fieldName",
3110
- "type": {
3111
- "text": "string"
3112
- }
3113
- }
3114
- ]
3248
+ "inheritedFrom": {
3249
+ "name": "Accordion",
3250
+ "module": "src/accordion/accordion.ts"
3251
+ }
3115
3252
  },
3116
3253
  {
3117
3254
  "kind": "method",
3118
- "name": "toggleCriteriaView",
3255
+ "name": "isSingleExpandMode",
3256
+ "privacy": "private",
3119
3257
  "return": {
3120
3258
  "type": {
3121
- "text": "void"
3259
+ "text": "boolean"
3122
3260
  }
3261
+ },
3262
+ "inheritedFrom": {
3263
+ "name": "Accordion",
3264
+ "module": "src/accordion/accordion.ts"
3265
+ }
3266
+ },
3267
+ {
3268
+ "kind": "field",
3269
+ "name": "handleItemKeyDown",
3270
+ "privacy": "private",
3271
+ "inheritedFrom": {
3272
+ "name": "Accordion",
3273
+ "module": "src/accordion/accordion.ts"
3274
+ }
3275
+ },
3276
+ {
3277
+ "kind": "field",
3278
+ "name": "handleItemFocus",
3279
+ "privacy": "private",
3280
+ "inheritedFrom": {
3281
+ "name": "Accordion",
3282
+ "module": "src/accordion/accordion.ts"
3123
3283
  }
3124
3284
  },
3125
3285
  {
3126
3286
  "kind": "method",
3127
- "name": "removeChip",
3287
+ "name": "adjust",
3288
+ "privacy": "private",
3128
3289
  "return": {
3129
3290
  "type": {
3130
3291
  "text": "void"
@@ -3132,49 +3293,31 @@
3132
3293
  },
3133
3294
  "parameters": [
3134
3295
  {
3135
- "name": "groupIndex",
3136
- "type": {
3137
- "text": "number"
3138
- }
3139
- },
3140
- {
3141
- "name": "clauseIndex",
3296
+ "name": "adjustment",
3142
3297
  "type": {
3143
3298
  "text": "number"
3144
3299
  }
3145
3300
  }
3146
- ]
3301
+ ],
3302
+ "inheritedFrom": {
3303
+ "name": "Accordion",
3304
+ "module": "src/accordion/accordion.ts"
3305
+ }
3147
3306
  },
3148
3307
  {
3149
3308
  "kind": "method",
3150
- "name": "clearChips",
3309
+ "name": "focusItem",
3310
+ "privacy": "private",
3151
3311
  "return": {
3152
3312
  "type": {
3153
3313
  "text": "void"
3154
3314
  }
3315
+ },
3316
+ "inheritedFrom": {
3317
+ "name": "Accordion",
3318
+ "module": "src/accordion/accordion.ts"
3155
3319
  }
3156
3320
  },
3157
- {
3158
- "kind": "method",
3159
- "name": "handleSubmit"
3160
- },
3161
- {
3162
- "kind": "method",
3163
- "name": "handleBlur"
3164
- },
3165
- {
3166
- "kind": "method",
3167
- "name": "clear"
3168
- },
3169
- {
3170
- "kind": "method",
3171
- "name": "toggleSpeechInput"
3172
- },
3173
- {
3174
- "kind": "method",
3175
- "name": "clearSpeechApplyDebounce",
3176
- "privacy": "private"
3177
- },
3178
3321
  {
3179
3322
  "kind": "field",
3180
3323
  "name": "_presentation",
@@ -3289,48 +3432,26 @@
3289
3432
  ],
3290
3433
  "events": [
3291
3434
  {
3292
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3293
- "name": "criteria-changed"
3294
- },
3295
- {
3296
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3297
- "name": "validation-errors"
3298
- }
3299
- ],
3300
- "attributes": [
3301
- {
3302
- "name": "placeholder",
3303
- "type": {
3304
- "text": "string"
3305
- },
3306
- "default": "'Describe your search criteria in natural language...'",
3307
- "fieldName": "placeholder"
3308
- },
3309
- {
3310
- "type": {
3311
- "text": "boolean"
3312
- },
3313
- "fieldName": "disabled"
3435
+ "description": "Fires a custom 'change' event when the active item changes",
3436
+ "name": "change",
3437
+ "inheritedFrom": {
3438
+ "name": "Accordion",
3439
+ "module": "src/accordion/accordion.ts"
3440
+ }
3314
3441
  }
3315
- ],
3316
- "superclass": {
3317
- "name": "FoundationElement",
3318
- "package": "@microsoft/fast-foundation"
3319
- },
3320
- "tagName": "%%prefix%%-ai-criteria-search",
3321
- "customElement": true
3442
+ ]
3322
3443
  },
3323
3444
  {
3324
3445
  "kind": "variable",
3325
- "name": "foundationAiCriteriaSearchShadowOptions",
3446
+ "name": "foundationAccordionShadowOptions",
3326
3447
  "type": {
3327
3448
  "text": "ShadowRootInit"
3328
3449
  },
3329
- "default": "undefined"
3450
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3330
3451
  },
3331
3452
  {
3332
3453
  "kind": "variable",
3333
- "name": "defaultAiCriteriaSearchConfig",
3454
+ "name": "defaultAccordionConfig",
3334
3455
  "type": {
3335
3456
  "text": "object"
3336
3457
  },
@@ -3338,103 +3459,57 @@
3338
3459
  },
3339
3460
  {
3340
3461
  "kind": "variable",
3341
- "name": "foundationAiCriteriaSearch"
3462
+ "name": "foundationAccordion",
3463
+ "description": "The Foundation Accordion",
3464
+ "privacy": "public"
3342
3465
  }
3343
3466
  ],
3344
3467
  "exports": [
3345
3468
  {
3346
3469
  "kind": "js",
3347
- "name": "AiCriteriaSearch",
3470
+ "name": "Accordion",
3348
3471
  "declaration": {
3349
- "name": "AiCriteriaSearch",
3350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3472
+ "name": "Accordion",
3473
+ "module": "src/accordion/accordion.ts"
3351
3474
  }
3352
3475
  },
3353
3476
  {
3354
3477
  "kind": "js",
3355
- "name": "foundationAiCriteriaSearchShadowOptions",
3478
+ "name": "foundationAccordionShadowOptions",
3356
3479
  "declaration": {
3357
- "name": "foundationAiCriteriaSearchShadowOptions",
3358
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3480
+ "name": "foundationAccordionShadowOptions",
3481
+ "module": "src/accordion/accordion.ts"
3359
3482
  }
3360
3483
  },
3361
3484
  {
3362
3485
  "kind": "js",
3363
- "name": "defaultAiCriteriaSearchConfig",
3486
+ "name": "defaultAccordionConfig",
3364
3487
  "declaration": {
3365
- "name": "defaultAiCriteriaSearchConfig",
3366
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3488
+ "name": "defaultAccordionConfig",
3489
+ "module": "src/accordion/accordion.ts"
3367
3490
  }
3368
3491
  },
3369
3492
  {
3370
3493
  "kind": "js",
3371
- "name": "foundationAiCriteriaSearch",
3494
+ "name": "foundationAccordion",
3372
3495
  "declaration": {
3373
- "name": "foundationAiCriteriaSearch",
3374
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3496
+ "name": "foundationAccordion",
3497
+ "module": "src/accordion/accordion.ts"
3375
3498
  }
3376
3499
  }
3377
3500
  ]
3378
3501
  },
3379
3502
  {
3380
3503
  "kind": "javascript-module",
3381
- "path": "src/ai-criteria-search/index.ts",
3504
+ "path": "src/accordion/index.ts",
3382
3505
  "declarations": [],
3383
3506
  "exports": [
3384
- {
3385
- "kind": "js",
3386
- "name": "AiCriteriaSearch",
3387
- "declaration": {
3388
- "name": "AiCriteriaSearch",
3389
- "module": "./ai-criteria-search"
3390
- }
3391
- },
3392
- {
3393
- "kind": "js",
3394
- "name": "defaultAiCriteriaSearchConfig",
3395
- "declaration": {
3396
- "name": "defaultAiCriteriaSearchConfig",
3397
- "module": "./ai-criteria-search"
3398
- }
3399
- },
3400
- {
3401
- "kind": "js",
3402
- "name": "foundationAiCriteriaSearch",
3403
- "declaration": {
3404
- "name": "foundationAiCriteriaSearch",
3405
- "module": "./ai-criteria-search"
3406
- }
3407
- },
3408
- {
3409
- "kind": "js",
3410
- "name": "foundationAiCriteriaSearchShadowOptions",
3411
- "declaration": {
3412
- "name": "foundationAiCriteriaSearchShadowOptions",
3413
- "module": "./ai-criteria-search"
3414
- }
3415
- },
3416
- {
3417
- "kind": "js",
3418
- "name": "foundationAiCriteriaSearchStyles",
3419
- "declaration": {
3420
- "name": "foundationAiCriteriaSearchStyles",
3421
- "module": "./ai-criteria-search.styles"
3422
- }
3423
- },
3424
- {
3425
- "kind": "js",
3426
- "name": "foundationAiCriteriaSearchTemplate",
3427
- "declaration": {
3428
- "name": "foundationAiCriteriaSearchTemplate",
3429
- "module": "./ai-criteria-search.template"
3430
- }
3431
- },
3432
3507
  {
3433
3508
  "kind": "js",
3434
3509
  "name": "*",
3435
3510
  "declaration": {
3436
3511
  "name": "*",
3437
- "package": "./validation/criteria-ir"
3512
+ "package": "./accordion.template"
3438
3513
  }
3439
3514
  },
3440
3515
  {
@@ -3442,7 +3517,7 @@
3442
3517
  "name": "*",
3443
3518
  "declaration": {
3444
3519
  "name": "*",
3445
- "package": "./validation/operator-map"
3520
+ "package": "./accordion.styles"
3446
3521
  }
3447
3522
  },
3448
3523
  {
@@ -3450,82 +3525,7 @@
3450
3525
  "name": "*",
3451
3526
  "declaration": {
3452
3527
  "name": "*",
3453
- "package": "./validation/schema-validator"
3454
- }
3455
- }
3456
- ]
3457
- },
3458
- {
3459
- "kind": "javascript-module",
3460
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3461
- "declarations": [
3462
- {
3463
- "kind": "function",
3464
- "name": "formatValidationErrors",
3465
- "return": {
3466
- "type": {
3467
- "text": "string"
3468
- }
3469
- },
3470
- "parameters": [
3471
- {
3472
- "name": "errors",
3473
- "type": {
3474
- "text": "ValidationError[]"
3475
- }
3476
- }
3477
- ],
3478
- "description": "Formats validation errors into a user-friendly message."
3479
- },
3480
- {
3481
- "kind": "function",
3482
- "name": "showCriteriaError",
3483
- "return": {
3484
- "type": {
3485
- "text": "void"
3486
- }
3487
- },
3488
- "parameters": [
3489
- {
3490
- "name": "title",
3491
- "type": {
3492
- "text": "string"
3493
- },
3494
- "description": "Notification title (e.g. \"Criteria validation error\")"
3495
- },
3496
- {
3497
- "name": "body",
3498
- "type": {
3499
- "text": "string"
3500
- },
3501
- "description": "Error message to display"
3502
- },
3503
- {
3504
- "name": "tagName",
3505
- "type": {
3506
- "text": "string"
3507
- },
3508
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3509
- }
3510
- ],
3511
- "description": "Shows a criteria error as a toast notification."
3512
- }
3513
- ],
3514
- "exports": [
3515
- {
3516
- "kind": "js",
3517
- "name": "formatValidationErrors",
3518
- "declaration": {
3519
- "name": "formatValidationErrors",
3520
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3521
- }
3522
- },
3523
- {
3524
- "kind": "js",
3525
- "name": "showCriteriaError",
3526
- "declaration": {
3527
- "name": "showCriteriaError",
3528
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3528
+ "package": "./accordion"
3529
3529
  }
3530
3530
  }
3531
3531
  ]