@genesislcap/foundation-ui 14.402.1-alpha-36d4e79d7.0 → 14.402.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +663 -663
  2. package/package.json +19 -19
@@ -1287,219 +1287,6 @@
1287
1287
  }
1288
1288
  ]
1289
1289
  },
1290
- {
1291
- "kind": "javascript-module",
1292
- "path": "src/accordion/accordion.styles.ts",
1293
- "declarations": [
1294
- {
1295
- "kind": "function",
1296
- "name": "foundationAccordionStyles",
1297
- "return": {
1298
- "type": {
1299
- "text": "ElementStyles"
1300
- }
1301
- },
1302
- "parameters": [
1303
- {
1304
- "name": "context",
1305
- "type": {
1306
- "text": "ElementDefinitionContext"
1307
- }
1308
- },
1309
- {
1310
- "name": "definition",
1311
- "type": {
1312
- "text": "FoundationElementDefinition"
1313
- }
1314
- }
1315
- ]
1316
- }
1317
- ],
1318
- "exports": [
1319
- {
1320
- "kind": "js",
1321
- "name": "foundationAccordionStyles",
1322
- "declaration": {
1323
- "name": "foundationAccordionStyles",
1324
- "module": "src/accordion/accordion.styles.ts"
1325
- }
1326
- }
1327
- ]
1328
- },
1329
- {
1330
- "kind": "javascript-module",
1331
- "path": "src/accordion/accordion.template.ts",
1332
- "declarations": [
1333
- {
1334
- "kind": "function",
1335
- "name": "foundationAccordionTemplate",
1336
- "return": {
1337
- "type": {
1338
- "text": "ViewTemplate<Accordion>"
1339
- }
1340
- },
1341
- "parameters": [
1342
- {
1343
- "name": "context",
1344
- "type": {
1345
- "text": "ElementDefinitionContext"
1346
- }
1347
- },
1348
- {
1349
- "name": "definition",
1350
- "type": {
1351
- "text": "FoundationElementDefinition"
1352
- }
1353
- }
1354
- ]
1355
- }
1356
- ],
1357
- "exports": [
1358
- {
1359
- "kind": "js",
1360
- "name": "foundationAccordionTemplate",
1361
- "declaration": {
1362
- "name": "foundationAccordionTemplate",
1363
- "module": "src/accordion/accordion.template.ts"
1364
- }
1365
- }
1366
- ]
1367
- },
1368
- {
1369
- "kind": "javascript-module",
1370
- "path": "src/accordion/accordion.ts",
1371
- "declarations": [
1372
- {
1373
- "kind": "class",
1374
- "description": "",
1375
- "name": "Accordion",
1376
- "superclass": {
1377
- "name": "FASTAccordion",
1378
- "package": "@microsoft/fast-foundation"
1379
- },
1380
- "tagName": "%%prefix%%-accordion",
1381
- "customElement": true
1382
- },
1383
- {
1384
- "kind": "variable",
1385
- "name": "foundationAccordionShadowOptions",
1386
- "type": {
1387
- "text": "ShadowRootInit"
1388
- },
1389
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1390
- },
1391
- {
1392
- "kind": "variable",
1393
- "name": "defaultAccordionConfig",
1394
- "type": {
1395
- "text": "object"
1396
- },
1397
- "default": "{}"
1398
- },
1399
- {
1400
- "kind": "variable",
1401
- "name": "foundationAccordion",
1402
- "description": "The Foundation Accordion",
1403
- "privacy": "public"
1404
- }
1405
- ],
1406
- "exports": [
1407
- {
1408
- "kind": "js",
1409
- "name": "Accordion",
1410
- "declaration": {
1411
- "name": "Accordion",
1412
- "module": "src/accordion/accordion.ts"
1413
- }
1414
- },
1415
- {
1416
- "kind": "js",
1417
- "name": "foundationAccordionShadowOptions",
1418
- "declaration": {
1419
- "name": "foundationAccordionShadowOptions",
1420
- "module": "src/accordion/accordion.ts"
1421
- }
1422
- },
1423
- {
1424
- "kind": "js",
1425
- "name": "defaultAccordionConfig",
1426
- "declaration": {
1427
- "name": "defaultAccordionConfig",
1428
- "module": "src/accordion/accordion.ts"
1429
- }
1430
- },
1431
- {
1432
- "kind": "js",
1433
- "name": "foundationAccordion",
1434
- "declaration": {
1435
- "name": "foundationAccordion",
1436
- "module": "src/accordion/accordion.ts"
1437
- }
1438
- }
1439
- ]
1440
- },
1441
- {
1442
- "kind": "javascript-module",
1443
- "path": "src/accordion/index.ts",
1444
- "declarations": [],
1445
- "exports": [
1446
- {
1447
- "kind": "js",
1448
- "name": "*",
1449
- "declaration": {
1450
- "name": "*",
1451
- "package": "./accordion.template"
1452
- }
1453
- },
1454
- {
1455
- "kind": "js",
1456
- "name": "*",
1457
- "declaration": {
1458
- "name": "*",
1459
- "package": "./accordion.styles"
1460
- }
1461
- },
1462
- {
1463
- "kind": "js",
1464
- "name": "*",
1465
- "declaration": {
1466
- "name": "*",
1467
- "package": "./accordion"
1468
- }
1469
- }
1470
- ]
1471
- },
1472
- {
1473
- "kind": "javascript-module",
1474
- "path": "src/_config/index.ts",
1475
- "declarations": [],
1476
- "exports": [
1477
- {
1478
- "kind": "js",
1479
- "name": "*",
1480
- "declaration": {
1481
- "name": "*",
1482
- "package": "./styles"
1483
- }
1484
- },
1485
- {
1486
- "kind": "js",
1487
- "name": "*",
1488
- "declaration": {
1489
- "name": "*",
1490
- "package": "./tokens"
1491
- }
1492
- },
1493
- {
1494
- "kind": "js",
1495
- "name": "*",
1496
- "declaration": {
1497
- "name": "*",
1498
- "package": "./values"
1499
- }
1500
- }
1501
- ]
1502
- },
1503
1290
  {
1504
1291
  "kind": "javascript-module",
1505
1292
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2061,191 +1848,216 @@
2061
1848
  },
2062
1849
  {
2063
1850
  "kind": "javascript-module",
2064
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2065
- "declarations": [
2066
- {
2067
- "kind": "variable",
2068
- "name": "foundationAiCriteriaSearchStyles",
2069
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2070
- }
2071
- ],
1851
+ "path": "src/_config/index.ts",
1852
+ "declarations": [],
2072
1853
  "exports": [
2073
1854
  {
2074
1855
  "kind": "js",
2075
- "name": "foundationAiCriteriaSearchStyles",
1856
+ "name": "*",
2076
1857
  "declaration": {
2077
- "name": "foundationAiCriteriaSearchStyles",
2078
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1858
+ "name": "*",
1859
+ "package": "./styles"
1860
+ }
1861
+ },
1862
+ {
1863
+ "kind": "js",
1864
+ "name": "*",
1865
+ "declaration": {
1866
+ "name": "*",
1867
+ "package": "./tokens"
1868
+ }
1869
+ },
1870
+ {
1871
+ "kind": "js",
1872
+ "name": "*",
1873
+ "declaration": {
1874
+ "name": "*",
1875
+ "package": "./values"
2079
1876
  }
2080
1877
  }
2081
1878
  ]
2082
1879
  },
2083
1880
  {
2084
1881
  "kind": "javascript-module",
2085
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1882
+ "path": "src/accordion-item/accordion-item.styles.ts",
2086
1883
  "declarations": [
2087
1884
  {
2088
- "kind": "variable",
2089
- "name": "foundationAiCriteriaSearchTemplate",
2090
- "type": {
2091
- "text": "ViewTemplate<AiCriteriaSearch>"
2092
- },
2093
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2094
- }
2095
- ],
2096
- "exports": [
1885
+ "kind": "function",
1886
+ "name": "foundationAccordionItemStyles",
1887
+ "return": {
1888
+ "type": {
1889
+ "text": "ElementStyles"
1890
+ }
1891
+ },
1892
+ "parameters": [
1893
+ {
1894
+ "name": "context",
1895
+ "type": {
1896
+ "text": "ElementDefinitionContext"
1897
+ }
1898
+ },
1899
+ {
1900
+ "name": "definition",
1901
+ "type": {
1902
+ "text": "FoundationElementDefinition"
1903
+ }
1904
+ }
1905
+ ]
1906
+ }
1907
+ ],
1908
+ "exports": [
2097
1909
  {
2098
1910
  "kind": "js",
2099
- "name": "foundationAiCriteriaSearchTemplate",
1911
+ "name": "foundationAccordionItemStyles",
2100
1912
  "declaration": {
2101
- "name": "foundationAiCriteriaSearchTemplate",
2102
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1913
+ "name": "foundationAccordionItemStyles",
1914
+ "module": "src/accordion-item/accordion-item.styles.ts"
2103
1915
  }
2104
1916
  }
2105
1917
  ]
2106
1918
  },
2107
1919
  {
2108
1920
  "kind": "javascript-module",
2109
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1921
+ "path": "src/accordion-item/accordion-item.template.ts",
2110
1922
  "declarations": [
2111
1923
  {
2112
- "kind": "class",
2113
- "description": "",
2114
- "name": "AiCriteriaSearch",
2115
- "members": [
1924
+ "kind": "function",
1925
+ "name": "foundationAccordionItemTemplate",
1926
+ "return": {
1927
+ "type": {
1928
+ "text": "ViewTemplate<AccordionItem>"
1929
+ }
1930
+ },
1931
+ "parameters": [
2116
1932
  {
2117
- "kind": "field",
2118
- "name": "aiProvider",
1933
+ "name": "context",
2119
1934
  "type": {
2120
- "text": "AIProvider"
1935
+ "text": "ElementDefinitionContext"
2121
1936
  }
2122
1937
  },
2123
1938
  {
2124
- "kind": "field",
2125
- "name": "placeholder",
2126
- "type": {
2127
- "text": "string"
2128
- },
2129
- "default": "'Describe your search criteria in natural language...'"
2130
- },
2131
- {
2132
- "kind": "field",
2133
- "name": "disabled",
1939
+ "name": "definition",
2134
1940
  "type": {
2135
- "text": "boolean"
1941
+ "text": "FoundationElementDefinition"
2136
1942
  }
2137
- },
2138
- {
2139
- "kind": "field",
2140
- "name": "mode",
2141
- "type": {
2142
- "text": "'append' | 'replace'"
2143
- },
2144
- "default": "'replace'"
2145
- },
1943
+ }
1944
+ ]
1945
+ }
1946
+ ],
1947
+ "exports": [
1948
+ {
1949
+ "kind": "js",
1950
+ "name": "foundationAccordionItemTemplate",
1951
+ "declaration": {
1952
+ "name": "foundationAccordionItemTemplate",
1953
+ "module": "src/accordion-item/accordion-item.template.ts"
1954
+ }
1955
+ }
1956
+ ]
1957
+ },
1958
+ {
1959
+ "kind": "javascript-module",
1960
+ "path": "src/accordion-item/accordion-item.ts",
1961
+ "declarations": [
1962
+ {
1963
+ "kind": "class",
1964
+ "description": "",
1965
+ "name": "AccordionItem",
1966
+ "superclass": {
1967
+ "name": "FASTAccordionItem",
1968
+ "package": "@microsoft/fast-components"
1969
+ },
1970
+ "tagName": "%%prefix%%-accordion-item",
1971
+ "customElement": true,
1972
+ "attributes": [
2146
1973
  {
2147
- "kind": "field",
2148
- "name": "inputValue",
1974
+ "name": "heading-level",
2149
1975
  "type": {
2150
- "text": "string"
1976
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2151
1977
  },
2152
- "default": "''"
1978
+ "default": "2",
1979
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1980
+ "fieldName": "headinglevel",
1981
+ "inheritedFrom": {
1982
+ "name": "AccordionItem",
1983
+ "module": "src/accordion-item/accordion-item.ts"
1984
+ }
2153
1985
  },
2154
1986
  {
2155
- "kind": "field",
2156
- "name": "isInterpreting",
2157
1987
  "type": {
2158
1988
  "text": "boolean"
2159
1989
  },
2160
- "default": "false"
1990
+ "default": "false",
1991
+ "description": "Expands or collapses the item.",
1992
+ "fieldName": "expanded",
1993
+ "inheritedFrom": {
1994
+ "name": "AccordionItem",
1995
+ "module": "src/accordion-item/accordion-item.ts"
1996
+ }
2161
1997
  },
2162
1998
  {
2163
- "kind": "field",
2164
- "name": "lastValidCriteria",
1999
+ "name": "id",
2165
2000
  "type": {
2166
- "text": "string | null"
2001
+ "text": "string"
2167
2002
  },
2168
- "default": "null"
2169
- },
2003
+ "description": "The item ID",
2004
+ "fieldName": "id",
2005
+ "inheritedFrom": {
2006
+ "name": "AccordionItem",
2007
+ "module": "src/accordion-item/accordion-item.ts"
2008
+ }
2009
+ }
2010
+ ],
2011
+ "members": [
2170
2012
  {
2171
2013
  "kind": "field",
2172
- "name": "fieldMetadata",
2014
+ "name": "headinglevel",
2173
2015
  "type": {
2174
- "text": "MetadataDetail[] | string[]"
2016
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2175
2017
  },
2176
- "default": "[]"
2018
+ "privacy": "public",
2019
+ "default": "2",
2020
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2021
+ "inheritedFrom": {
2022
+ "name": "AccordionItem",
2023
+ "module": "src/accordion-item/accordion-item.ts"
2024
+ }
2177
2025
  },
2178
2026
  {
2179
2027
  "kind": "field",
2180
- "name": "isRecording",
2028
+ "name": "expanded",
2181
2029
  "type": {
2182
2030
  "text": "boolean"
2183
2031
  },
2184
- "default": "false"
2185
- },
2186
- {
2187
- "kind": "field",
2188
- "name": "textAreaRef",
2189
- "type": {
2190
- "text": "HTMLTextAreaElement"
2191
- },
2192
- "privacy": "public"
2193
- },
2194
- {
2195
- "kind": "field",
2196
- "name": "stopRecording",
2197
- "type": {
2198
- "text": "(() => void) | null"
2199
- },
2200
- "privacy": "private",
2201
- "default": "null"
2202
- },
2203
- {
2204
- "kind": "field",
2205
- "name": "speechApplyDebounceTimer",
2206
- "type": {
2207
- "text": "ReturnType<typeof setTimeout> | null"
2208
- },
2209
- "privacy": "private",
2210
- "default": "null"
2032
+ "privacy": "public",
2033
+ "default": "false",
2034
+ "description": "Expands or collapses the item.",
2035
+ "inheritedFrom": {
2036
+ "name": "AccordionItem",
2037
+ "module": "src/accordion-item/accordion-item.ts"
2038
+ }
2211
2039
  },
2212
2040
  {
2213
2041
  "kind": "field",
2214
- "name": "baseInputForAppend",
2042
+ "name": "id",
2215
2043
  "type": {
2216
2044
  "text": "string"
2217
2045
  },
2218
- "privacy": "private",
2219
- "default": "''"
2046
+ "privacy": "public",
2047
+ "description": "The item ID",
2048
+ "inheritedFrom": {
2049
+ "name": "AccordionItem",
2050
+ "module": "src/accordion-item/accordion-item.ts"
2051
+ }
2220
2052
  },
2221
2053
  {
2222
2054
  "kind": "field",
2223
- "name": "speechAvailable",
2224
- "type": {
2225
- "text": "boolean"
2226
- },
2227
- "readonly": true
2228
- },
2229
- {
2230
- "kind": "method",
2231
- "name": "handleSubmit"
2232
- },
2233
- {
2234
- "kind": "method",
2235
- "name": "handleBlur"
2236
- },
2237
- {
2238
- "kind": "method",
2239
- "name": "clear"
2240
- },
2241
- {
2242
- "kind": "method",
2243
- "name": "toggleSpeechInput"
2244
- },
2245
- {
2246
- "kind": "method",
2247
- "name": "clearSpeechApplyDebounce",
2248
- "privacy": "private"
2055
+ "name": "change",
2056
+ "privacy": "private",
2057
+ "inheritedFrom": {
2058
+ "name": "AccordionItem",
2059
+ "module": "src/accordion-item/accordion-item.ts"
2060
+ }
2249
2061
  },
2250
2062
  {
2251
2063
  "kind": "field",
@@ -2359,152 +2171,86 @@
2359
2171
  }
2360
2172
  }
2361
2173
  ],
2362
- "attributes": [
2363
- {
2364
- "name": "placeholder",
2365
- "type": {
2366
- "text": "string"
2367
- },
2368
- "default": "'Describe your search criteria in natural language...'",
2369
- "fieldName": "placeholder"
2370
- },
2371
- {
2372
- "type": {
2373
- "text": "boolean"
2374
- },
2375
- "fieldName": "disabled"
2376
- },
2174
+ "events": [
2377
2175
  {
2378
- "name": "mode",
2379
- "type": {
2380
- "text": "'append' | 'replace'"
2381
- },
2382
- "default": "'replace'",
2383
- "fieldName": "mode"
2384
- }
2385
- ],
2386
- "superclass": {
2387
- "name": "FoundationElement",
2388
- "package": "@microsoft/fast-foundation"
2389
- },
2390
- "tagName": "%%prefix%%-ai-criteria-search",
2391
- "customElement": true
2176
+ "description": "Fires a custom 'change' event when the button is invoked",
2177
+ "name": "change",
2178
+ "inheritedFrom": {
2179
+ "name": "AccordionItem",
2180
+ "module": "src/accordion-item/accordion-item.ts"
2181
+ }
2182
+ }
2183
+ ]
2392
2184
  },
2393
2185
  {
2394
2186
  "kind": "variable",
2395
- "name": "foundationAiCriteriaSearchShadowOptions",
2187
+ "name": "foundationAccordionItemShadowOptions",
2396
2188
  "type": {
2397
2189
  "text": "ShadowRootInit"
2398
2190
  },
2399
- "default": "undefined"
2191
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2400
2192
  },
2401
2193
  {
2402
2194
  "kind": "variable",
2403
- "name": "defaultAiCriteriaSearchConfig",
2195
+ "name": "defaultAccordionItemConfig",
2404
2196
  "type": {
2405
2197
  "text": "object"
2406
2198
  },
2407
- "default": "{}"
2199
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2408
2200
  },
2409
2201
  {
2410
2202
  "kind": "variable",
2411
- "name": "foundationAiCriteriaSearch"
2203
+ "name": "foundationAccordionItem",
2204
+ "description": "The Foundation Accordion Item",
2205
+ "privacy": "public"
2412
2206
  }
2413
2207
  ],
2414
2208
  "exports": [
2415
2209
  {
2416
2210
  "kind": "js",
2417
- "name": "AiCriteriaSearch",
2211
+ "name": "AccordionItem",
2418
2212
  "declaration": {
2419
- "name": "AiCriteriaSearch",
2420
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2213
+ "name": "AccordionItem",
2214
+ "module": "src/accordion-item/accordion-item.ts"
2421
2215
  }
2422
2216
  },
2423
2217
  {
2424
2218
  "kind": "js",
2425
- "name": "foundationAiCriteriaSearchShadowOptions",
2219
+ "name": "foundationAccordionItemShadowOptions",
2426
2220
  "declaration": {
2427
- "name": "foundationAiCriteriaSearchShadowOptions",
2428
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2221
+ "name": "foundationAccordionItemShadowOptions",
2222
+ "module": "src/accordion-item/accordion-item.ts"
2429
2223
  }
2430
2224
  },
2431
2225
  {
2432
2226
  "kind": "js",
2433
- "name": "defaultAiCriteriaSearchConfig",
2227
+ "name": "defaultAccordionItemConfig",
2434
2228
  "declaration": {
2435
- "name": "defaultAiCriteriaSearchConfig",
2436
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2229
+ "name": "defaultAccordionItemConfig",
2230
+ "module": "src/accordion-item/accordion-item.ts"
2437
2231
  }
2438
2232
  },
2439
2233
  {
2440
2234
  "kind": "js",
2441
- "name": "foundationAiCriteriaSearch",
2235
+ "name": "foundationAccordionItem",
2442
2236
  "declaration": {
2443
- "name": "foundationAiCriteriaSearch",
2444
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2237
+ "name": "foundationAccordionItem",
2238
+ "module": "src/accordion-item/accordion-item.ts"
2445
2239
  }
2446
2240
  }
2447
2241
  ]
2448
2242
  },
2449
2243
  {
2450
2244
  "kind": "javascript-module",
2451
- "path": "src/ai-criteria-search/index.ts",
2245
+ "path": "src/accordion-item/index.ts",
2452
2246
  "declarations": [],
2453
2247
  "exports": [
2454
- {
2455
- "kind": "js",
2456
- "name": "AiCriteriaSearch",
2457
- "declaration": {
2458
- "name": "AiCriteriaSearch",
2459
- "module": "./ai-criteria-search"
2460
- }
2461
- },
2462
- {
2463
- "kind": "js",
2464
- "name": "defaultAiCriteriaSearchConfig",
2465
- "declaration": {
2466
- "name": "defaultAiCriteriaSearchConfig",
2467
- "module": "./ai-criteria-search"
2468
- }
2469
- },
2470
- {
2471
- "kind": "js",
2472
- "name": "foundationAiCriteriaSearch",
2473
- "declaration": {
2474
- "name": "foundationAiCriteriaSearch",
2475
- "module": "./ai-criteria-search"
2476
- }
2477
- },
2478
- {
2479
- "kind": "js",
2480
- "name": "foundationAiCriteriaSearchShadowOptions",
2481
- "declaration": {
2482
- "name": "foundationAiCriteriaSearchShadowOptions",
2483
- "module": "./ai-criteria-search"
2484
- }
2485
- },
2486
- {
2487
- "kind": "js",
2488
- "name": "foundationAiCriteriaSearchStyles",
2489
- "declaration": {
2490
- "name": "foundationAiCriteriaSearchStyles",
2491
- "module": "./ai-criteria-search.styles"
2492
- }
2493
- },
2494
- {
2495
- "kind": "js",
2496
- "name": "foundationAiCriteriaSearchTemplate",
2497
- "declaration": {
2498
- "name": "foundationAiCriteriaSearchTemplate",
2499
- "module": "./ai-criteria-search.template"
2500
- }
2501
- },
2502
2248
  {
2503
2249
  "kind": "js",
2504
2250
  "name": "*",
2505
2251
  "declaration": {
2506
2252
  "name": "*",
2507
- "package": "./validation/criteria-ir"
2253
+ "package": "./accordion-item.template"
2508
2254
  }
2509
2255
  },
2510
2256
  {
@@ -2512,7 +2258,7 @@
2512
2258
  "name": "*",
2513
2259
  "declaration": {
2514
2260
  "name": "*",
2515
- "package": "./validation/operator-map"
2261
+ "package": "./accordion-item.styles"
2516
2262
  }
2517
2263
  },
2518
2264
  {
@@ -2520,267 +2266,198 @@
2520
2266
  "name": "*",
2521
2267
  "declaration": {
2522
2268
  "name": "*",
2523
- "package": "./validation/schema-validator"
2269
+ "package": "./accordion-item"
2524
2270
  }
2525
2271
  }
2526
2272
  ]
2527
2273
  },
2528
2274
  {
2529
2275
  "kind": "javascript-module",
2530
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2276
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2531
2277
  "declarations": [
2532
2278
  {
2533
- "kind": "function",
2534
- "name": "formatValidationErrors",
2535
- "return": {
2536
- "type": {
2537
- "text": "string"
2538
- }
2539
- },
2540
- "parameters": [
2541
- {
2542
- "name": "errors",
2543
- "type": {
2544
- "text": "ValidationError[]"
2545
- }
2546
- }
2547
- ],
2548
- "description": "Formats validation errors into a user-friendly message."
2549
- },
2550
- {
2551
- "kind": "function",
2552
- "name": "showCriteriaError",
2553
- "return": {
2554
- "type": {
2555
- "text": "void"
2556
- }
2557
- },
2558
- "parameters": [
2559
- {
2560
- "name": "title",
2561
- "type": {
2562
- "text": "string"
2563
- },
2564
- "description": "Notification title (e.g. \"Criteria validation error\")"
2565
- },
2566
- {
2567
- "name": "body",
2568
- "type": {
2569
- "text": "string"
2570
- },
2571
- "description": "Error message to display"
2572
- },
2573
- {
2574
- "name": "tagName",
2575
- "type": {
2576
- "text": "string"
2577
- },
2578
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2579
- }
2580
- ],
2581
- "description": "Shows a criteria error as a toast notification."
2279
+ "kind": "variable",
2280
+ "name": "foundationAiCriteriaSearchStyles",
2281
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2582
2282
  }
2583
2283
  ],
2584
2284
  "exports": [
2585
2285
  {
2586
2286
  "kind": "js",
2587
- "name": "formatValidationErrors",
2588
- "declaration": {
2589
- "name": "formatValidationErrors",
2590
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2591
- }
2592
- },
2593
- {
2594
- "kind": "js",
2595
- "name": "showCriteriaError",
2287
+ "name": "foundationAiCriteriaSearchStyles",
2596
2288
  "declaration": {
2597
- "name": "showCriteriaError",
2598
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2289
+ "name": "foundationAiCriteriaSearchStyles",
2290
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2599
2291
  }
2600
2292
  }
2601
2293
  ]
2602
2294
  },
2603
2295
  {
2604
2296
  "kind": "javascript-module",
2605
- "path": "src/accordion-item/accordion-item.styles.ts",
2297
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2606
2298
  "declarations": [
2607
2299
  {
2608
- "kind": "function",
2609
- "name": "foundationAccordionItemStyles",
2610
- "return": {
2611
- "type": {
2612
- "text": "ElementStyles"
2613
- }
2300
+ "kind": "variable",
2301
+ "name": "foundationAiCriteriaSearchTemplate",
2302
+ "type": {
2303
+ "text": "ViewTemplate<AiCriteriaSearch>"
2614
2304
  },
2615
- "parameters": [
2616
- {
2617
- "name": "context",
2618
- "type": {
2619
- "text": "ElementDefinitionContext"
2620
- }
2621
- },
2622
- {
2623
- "name": "definition",
2624
- "type": {
2625
- "text": "FoundationElementDefinition"
2626
- }
2627
- }
2628
- ]
2305
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2629
2306
  }
2630
2307
  ],
2631
2308
  "exports": [
2632
2309
  {
2633
2310
  "kind": "js",
2634
- "name": "foundationAccordionItemStyles",
2311
+ "name": "foundationAiCriteriaSearchTemplate",
2635
2312
  "declaration": {
2636
- "name": "foundationAccordionItemStyles",
2637
- "module": "src/accordion-item/accordion-item.styles.ts"
2313
+ "name": "foundationAiCriteriaSearchTemplate",
2314
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2638
2315
  }
2639
2316
  }
2640
2317
  ]
2641
2318
  },
2642
2319
  {
2643
2320
  "kind": "javascript-module",
2644
- "path": "src/accordion-item/accordion-item.template.ts",
2321
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2645
2322
  "declarations": [
2646
2323
  {
2647
- "kind": "function",
2648
- "name": "foundationAccordionItemTemplate",
2649
- "return": {
2650
- "type": {
2651
- "text": "ViewTemplate<AccordionItem>"
2652
- }
2653
- },
2654
- "parameters": [
2324
+ "kind": "class",
2325
+ "description": "",
2326
+ "name": "AiCriteriaSearch",
2327
+ "members": [
2655
2328
  {
2656
- "name": "context",
2329
+ "kind": "field",
2330
+ "name": "aiProvider",
2657
2331
  "type": {
2658
- "text": "ElementDefinitionContext"
2332
+ "text": "AIProvider"
2659
2333
  }
2660
2334
  },
2661
2335
  {
2662
- "name": "definition",
2336
+ "kind": "field",
2337
+ "name": "placeholder",
2663
2338
  "type": {
2664
- "text": "FoundationElementDefinition"
2339
+ "text": "string"
2340
+ },
2341
+ "default": "'Describe your search criteria in natural language...'"
2342
+ },
2343
+ {
2344
+ "kind": "field",
2345
+ "name": "disabled",
2346
+ "type": {
2347
+ "text": "boolean"
2665
2348
  }
2666
- }
2667
- ]
2668
- }
2669
- ],
2670
- "exports": [
2671
- {
2672
- "kind": "js",
2673
- "name": "foundationAccordionItemTemplate",
2674
- "declaration": {
2675
- "name": "foundationAccordionItemTemplate",
2676
- "module": "src/accordion-item/accordion-item.template.ts"
2677
- }
2678
- }
2679
- ]
2680
- },
2681
- {
2682
- "kind": "javascript-module",
2683
- "path": "src/accordion-item/accordion-item.ts",
2684
- "declarations": [
2685
- {
2686
- "kind": "class",
2687
- "description": "",
2688
- "name": "AccordionItem",
2689
- "superclass": {
2690
- "name": "FASTAccordionItem",
2691
- "package": "@microsoft/fast-components"
2692
- },
2693
- "tagName": "%%prefix%%-accordion-item",
2694
- "customElement": true,
2695
- "attributes": [
2349
+ },
2696
2350
  {
2697
- "name": "heading-level",
2351
+ "kind": "field",
2352
+ "name": "mode",
2353
+ "type": {
2354
+ "text": "'append' | 'replace'"
2355
+ },
2356
+ "default": "'replace'"
2357
+ },
2358
+ {
2359
+ "kind": "field",
2360
+ "name": "inputValue",
2361
+ "type": {
2362
+ "text": "string"
2363
+ },
2364
+ "default": "''"
2365
+ },
2366
+ {
2367
+ "kind": "field",
2368
+ "name": "isInterpreting",
2369
+ "type": {
2370
+ "text": "boolean"
2371
+ },
2372
+ "default": "false"
2373
+ },
2374
+ {
2375
+ "kind": "field",
2376
+ "name": "lastValidCriteria",
2377
+ "type": {
2378
+ "text": "string | null"
2379
+ },
2380
+ "default": "null"
2381
+ },
2382
+ {
2383
+ "kind": "field",
2384
+ "name": "fieldMetadata",
2698
2385
  "type": {
2699
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2386
+ "text": "MetadataDetail[] | string[]"
2700
2387
  },
2701
- "default": "2",
2702
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2703
- "fieldName": "headinglevel",
2704
- "inheritedFrom": {
2705
- "name": "AccordionItem",
2706
- "module": "src/accordion-item/accordion-item.ts"
2707
- }
2388
+ "default": "[]"
2708
2389
  },
2709
2390
  {
2391
+ "kind": "field",
2392
+ "name": "isRecording",
2710
2393
  "type": {
2711
2394
  "text": "boolean"
2712
2395
  },
2713
- "default": "false",
2714
- "description": "Expands or collapses the item.",
2715
- "fieldName": "expanded",
2716
- "inheritedFrom": {
2717
- "name": "AccordionItem",
2718
- "module": "src/accordion-item/accordion-item.ts"
2719
- }
2396
+ "default": "false"
2720
2397
  },
2721
2398
  {
2722
- "name": "id",
2399
+ "kind": "field",
2400
+ "name": "textAreaRef",
2723
2401
  "type": {
2724
- "text": "string"
2402
+ "text": "HTMLTextAreaElement"
2725
2403
  },
2726
- "description": "The item ID",
2727
- "fieldName": "id",
2728
- "inheritedFrom": {
2729
- "name": "AccordionItem",
2730
- "module": "src/accordion-item/accordion-item.ts"
2731
- }
2732
- }
2733
- ],
2734
- "members": [
2404
+ "privacy": "public"
2405
+ },
2735
2406
  {
2736
2407
  "kind": "field",
2737
- "name": "headinglevel",
2408
+ "name": "stopRecording",
2738
2409
  "type": {
2739
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2410
+ "text": "(() => void) | null"
2740
2411
  },
2741
- "privacy": "public",
2742
- "default": "2",
2743
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2744
- "inheritedFrom": {
2745
- "name": "AccordionItem",
2746
- "module": "src/accordion-item/accordion-item.ts"
2747
- }
2412
+ "privacy": "private",
2413
+ "default": "null"
2748
2414
  },
2749
2415
  {
2750
2416
  "kind": "field",
2751
- "name": "expanded",
2417
+ "name": "speechApplyDebounceTimer",
2752
2418
  "type": {
2753
- "text": "boolean"
2419
+ "text": "ReturnType<typeof setTimeout> | null"
2754
2420
  },
2755
- "privacy": "public",
2756
- "default": "false",
2757
- "description": "Expands or collapses the item.",
2758
- "inheritedFrom": {
2759
- "name": "AccordionItem",
2760
- "module": "src/accordion-item/accordion-item.ts"
2761
- }
2421
+ "privacy": "private",
2422
+ "default": "null"
2762
2423
  },
2763
2424
  {
2764
2425
  "kind": "field",
2765
- "name": "id",
2426
+ "name": "baseInputForAppend",
2766
2427
  "type": {
2767
2428
  "text": "string"
2768
2429
  },
2769
- "privacy": "public",
2770
- "description": "The item ID",
2771
- "inheritedFrom": {
2772
- "name": "AccordionItem",
2773
- "module": "src/accordion-item/accordion-item.ts"
2774
- }
2430
+ "privacy": "private",
2431
+ "default": "''"
2775
2432
  },
2776
2433
  {
2777
2434
  "kind": "field",
2778
- "name": "change",
2779
- "privacy": "private",
2780
- "inheritedFrom": {
2781
- "name": "AccordionItem",
2782
- "module": "src/accordion-item/accordion-item.ts"
2783
- }
2435
+ "name": "speechAvailable",
2436
+ "type": {
2437
+ "text": "boolean"
2438
+ },
2439
+ "readonly": true
2440
+ },
2441
+ {
2442
+ "kind": "method",
2443
+ "name": "handleSubmit"
2444
+ },
2445
+ {
2446
+ "kind": "method",
2447
+ "name": "handleBlur"
2448
+ },
2449
+ {
2450
+ "kind": "method",
2451
+ "name": "clear"
2452
+ },
2453
+ {
2454
+ "kind": "method",
2455
+ "name": "toggleSpeechInput"
2456
+ },
2457
+ {
2458
+ "kind": "method",
2459
+ "name": "clearSpeechApplyDebounce",
2460
+ "privacy": "private"
2784
2461
  },
2785
2462
  {
2786
2463
  "kind": "field",
@@ -2894,102 +2571,243 @@
2894
2571
  }
2895
2572
  }
2896
2573
  ],
2897
- "events": [
2574
+ "attributes": [
2898
2575
  {
2899
- "description": "Fires a custom 'change' event when the button is invoked",
2900
- "name": "change",
2901
- "inheritedFrom": {
2902
- "name": "AccordionItem",
2903
- "module": "src/accordion-item/accordion-item.ts"
2904
- }
2576
+ "name": "placeholder",
2577
+ "type": {
2578
+ "text": "string"
2579
+ },
2580
+ "default": "'Describe your search criteria in natural language...'",
2581
+ "fieldName": "placeholder"
2582
+ },
2583
+ {
2584
+ "type": {
2585
+ "text": "boolean"
2586
+ },
2587
+ "fieldName": "disabled"
2588
+ },
2589
+ {
2590
+ "name": "mode",
2591
+ "type": {
2592
+ "text": "'append' | 'replace'"
2593
+ },
2594
+ "default": "'replace'",
2595
+ "fieldName": "mode"
2905
2596
  }
2906
- ]
2597
+ ],
2598
+ "superclass": {
2599
+ "name": "FoundationElement",
2600
+ "package": "@microsoft/fast-foundation"
2601
+ },
2602
+ "tagName": "%%prefix%%-ai-criteria-search",
2603
+ "customElement": true
2907
2604
  },
2908
2605
  {
2909
2606
  "kind": "variable",
2910
- "name": "foundationAccordionItemShadowOptions",
2607
+ "name": "foundationAiCriteriaSearchShadowOptions",
2911
2608
  "type": {
2912
2609
  "text": "ShadowRootInit"
2913
2610
  },
2914
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2611
+ "default": "undefined"
2915
2612
  },
2916
2613
  {
2917
2614
  "kind": "variable",
2918
- "name": "defaultAccordionItemConfig",
2615
+ "name": "defaultAiCriteriaSearchConfig",
2919
2616
  "type": {
2920
2617
  "text": "object"
2921
2618
  },
2922
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2619
+ "default": "{}"
2923
2620
  },
2924
2621
  {
2925
2622
  "kind": "variable",
2926
- "name": "foundationAccordionItem",
2927
- "description": "The Foundation Accordion Item",
2928
- "privacy": "public"
2623
+ "name": "foundationAiCriteriaSearch"
2929
2624
  }
2930
2625
  ],
2931
2626
  "exports": [
2932
2627
  {
2933
2628
  "kind": "js",
2934
- "name": "AccordionItem",
2629
+ "name": "AiCriteriaSearch",
2935
2630
  "declaration": {
2936
- "name": "AccordionItem",
2937
- "module": "src/accordion-item/accordion-item.ts"
2631
+ "name": "AiCriteriaSearch",
2632
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2938
2633
  }
2939
2634
  },
2940
2635
  {
2941
2636
  "kind": "js",
2942
- "name": "foundationAccordionItemShadowOptions",
2637
+ "name": "foundationAiCriteriaSearchShadowOptions",
2943
2638
  "declaration": {
2944
- "name": "foundationAccordionItemShadowOptions",
2945
- "module": "src/accordion-item/accordion-item.ts"
2639
+ "name": "foundationAiCriteriaSearchShadowOptions",
2640
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2946
2641
  }
2947
2642
  },
2948
2643
  {
2949
2644
  "kind": "js",
2950
- "name": "defaultAccordionItemConfig",
2645
+ "name": "defaultAiCriteriaSearchConfig",
2951
2646
  "declaration": {
2952
- "name": "defaultAccordionItemConfig",
2953
- "module": "src/accordion-item/accordion-item.ts"
2647
+ "name": "defaultAiCriteriaSearchConfig",
2648
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2954
2649
  }
2955
2650
  },
2956
2651
  {
2957
2652
  "kind": "js",
2958
- "name": "foundationAccordionItem",
2653
+ "name": "foundationAiCriteriaSearch",
2959
2654
  "declaration": {
2960
- "name": "foundationAccordionItem",
2961
- "module": "src/accordion-item/accordion-item.ts"
2655
+ "name": "foundationAiCriteriaSearch",
2656
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2657
+ }
2658
+ }
2659
+ ]
2660
+ },
2661
+ {
2662
+ "kind": "javascript-module",
2663
+ "path": "src/ai-criteria-search/index.ts",
2664
+ "declarations": [],
2665
+ "exports": [
2666
+ {
2667
+ "kind": "js",
2668
+ "name": "AiCriteriaSearch",
2669
+ "declaration": {
2670
+ "name": "AiCriteriaSearch",
2671
+ "module": "./ai-criteria-search"
2672
+ }
2673
+ },
2674
+ {
2675
+ "kind": "js",
2676
+ "name": "defaultAiCriteriaSearchConfig",
2677
+ "declaration": {
2678
+ "name": "defaultAiCriteriaSearchConfig",
2679
+ "module": "./ai-criteria-search"
2680
+ }
2681
+ },
2682
+ {
2683
+ "kind": "js",
2684
+ "name": "foundationAiCriteriaSearch",
2685
+ "declaration": {
2686
+ "name": "foundationAiCriteriaSearch",
2687
+ "module": "./ai-criteria-search"
2688
+ }
2689
+ },
2690
+ {
2691
+ "kind": "js",
2692
+ "name": "foundationAiCriteriaSearchShadowOptions",
2693
+ "declaration": {
2694
+ "name": "foundationAiCriteriaSearchShadowOptions",
2695
+ "module": "./ai-criteria-search"
2696
+ }
2697
+ },
2698
+ {
2699
+ "kind": "js",
2700
+ "name": "foundationAiCriteriaSearchStyles",
2701
+ "declaration": {
2702
+ "name": "foundationAiCriteriaSearchStyles",
2703
+ "module": "./ai-criteria-search.styles"
2704
+ }
2705
+ },
2706
+ {
2707
+ "kind": "js",
2708
+ "name": "foundationAiCriteriaSearchTemplate",
2709
+ "declaration": {
2710
+ "name": "foundationAiCriteriaSearchTemplate",
2711
+ "module": "./ai-criteria-search.template"
2712
+ }
2713
+ },
2714
+ {
2715
+ "kind": "js",
2716
+ "name": "*",
2717
+ "declaration": {
2718
+ "name": "*",
2719
+ "package": "./validation/criteria-ir"
2720
+ }
2721
+ },
2722
+ {
2723
+ "kind": "js",
2724
+ "name": "*",
2725
+ "declaration": {
2726
+ "name": "*",
2727
+ "package": "./validation/operator-map"
2728
+ }
2729
+ },
2730
+ {
2731
+ "kind": "js",
2732
+ "name": "*",
2733
+ "declaration": {
2734
+ "name": "*",
2735
+ "package": "./validation/schema-validator"
2962
2736
  }
2963
2737
  }
2964
2738
  ]
2965
2739
  },
2966
2740
  {
2967
2741
  "kind": "javascript-module",
2968
- "path": "src/accordion-item/index.ts",
2969
- "declarations": [],
2970
- "exports": [
2742
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2743
+ "declarations": [
2971
2744
  {
2972
- "kind": "js",
2973
- "name": "*",
2974
- "declaration": {
2975
- "name": "*",
2976
- "package": "./accordion-item.template"
2977
- }
2745
+ "kind": "function",
2746
+ "name": "formatValidationErrors",
2747
+ "return": {
2748
+ "type": {
2749
+ "text": "string"
2750
+ }
2751
+ },
2752
+ "parameters": [
2753
+ {
2754
+ "name": "errors",
2755
+ "type": {
2756
+ "text": "ValidationError[]"
2757
+ }
2758
+ }
2759
+ ],
2760
+ "description": "Formats validation errors into a user-friendly message."
2978
2761
  },
2762
+ {
2763
+ "kind": "function",
2764
+ "name": "showCriteriaError",
2765
+ "return": {
2766
+ "type": {
2767
+ "text": "void"
2768
+ }
2769
+ },
2770
+ "parameters": [
2771
+ {
2772
+ "name": "title",
2773
+ "type": {
2774
+ "text": "string"
2775
+ },
2776
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2777
+ },
2778
+ {
2779
+ "name": "body",
2780
+ "type": {
2781
+ "text": "string"
2782
+ },
2783
+ "description": "Error message to display"
2784
+ },
2785
+ {
2786
+ "name": "tagName",
2787
+ "type": {
2788
+ "text": "string"
2789
+ },
2790
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2791
+ }
2792
+ ],
2793
+ "description": "Shows a criteria error as a toast notification."
2794
+ }
2795
+ ],
2796
+ "exports": [
2979
2797
  {
2980
2798
  "kind": "js",
2981
- "name": "*",
2799
+ "name": "formatValidationErrors",
2982
2800
  "declaration": {
2983
- "name": "*",
2984
- "package": "./accordion-item.styles"
2801
+ "name": "formatValidationErrors",
2802
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2985
2803
  }
2986
2804
  },
2987
2805
  {
2988
2806
  "kind": "js",
2989
- "name": "*",
2807
+ "name": "showCriteriaError",
2990
2808
  "declaration": {
2991
- "name": "*",
2992
- "package": "./accordion-item"
2809
+ "name": "showCriteriaError",
2810
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2993
2811
  }
2994
2812
  }
2995
2813
  ]
@@ -3433,6 +3251,188 @@
3433
3251
  }
3434
3252
  ]
3435
3253
  },
3254
+ {
3255
+ "kind": "javascript-module",
3256
+ "path": "src/accordion/accordion.styles.ts",
3257
+ "declarations": [
3258
+ {
3259
+ "kind": "function",
3260
+ "name": "foundationAccordionStyles",
3261
+ "return": {
3262
+ "type": {
3263
+ "text": "ElementStyles"
3264
+ }
3265
+ },
3266
+ "parameters": [
3267
+ {
3268
+ "name": "context",
3269
+ "type": {
3270
+ "text": "ElementDefinitionContext"
3271
+ }
3272
+ },
3273
+ {
3274
+ "name": "definition",
3275
+ "type": {
3276
+ "text": "FoundationElementDefinition"
3277
+ }
3278
+ }
3279
+ ]
3280
+ }
3281
+ ],
3282
+ "exports": [
3283
+ {
3284
+ "kind": "js",
3285
+ "name": "foundationAccordionStyles",
3286
+ "declaration": {
3287
+ "name": "foundationAccordionStyles",
3288
+ "module": "src/accordion/accordion.styles.ts"
3289
+ }
3290
+ }
3291
+ ]
3292
+ },
3293
+ {
3294
+ "kind": "javascript-module",
3295
+ "path": "src/accordion/accordion.template.ts",
3296
+ "declarations": [
3297
+ {
3298
+ "kind": "function",
3299
+ "name": "foundationAccordionTemplate",
3300
+ "return": {
3301
+ "type": {
3302
+ "text": "ViewTemplate<Accordion>"
3303
+ }
3304
+ },
3305
+ "parameters": [
3306
+ {
3307
+ "name": "context",
3308
+ "type": {
3309
+ "text": "ElementDefinitionContext"
3310
+ }
3311
+ },
3312
+ {
3313
+ "name": "definition",
3314
+ "type": {
3315
+ "text": "FoundationElementDefinition"
3316
+ }
3317
+ }
3318
+ ]
3319
+ }
3320
+ ],
3321
+ "exports": [
3322
+ {
3323
+ "kind": "js",
3324
+ "name": "foundationAccordionTemplate",
3325
+ "declaration": {
3326
+ "name": "foundationAccordionTemplate",
3327
+ "module": "src/accordion/accordion.template.ts"
3328
+ }
3329
+ }
3330
+ ]
3331
+ },
3332
+ {
3333
+ "kind": "javascript-module",
3334
+ "path": "src/accordion/accordion.ts",
3335
+ "declarations": [
3336
+ {
3337
+ "kind": "class",
3338
+ "description": "",
3339
+ "name": "Accordion",
3340
+ "superclass": {
3341
+ "name": "FASTAccordion",
3342
+ "package": "@microsoft/fast-foundation"
3343
+ },
3344
+ "tagName": "%%prefix%%-accordion",
3345
+ "customElement": true
3346
+ },
3347
+ {
3348
+ "kind": "variable",
3349
+ "name": "foundationAccordionShadowOptions",
3350
+ "type": {
3351
+ "text": "ShadowRootInit"
3352
+ },
3353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3354
+ },
3355
+ {
3356
+ "kind": "variable",
3357
+ "name": "defaultAccordionConfig",
3358
+ "type": {
3359
+ "text": "object"
3360
+ },
3361
+ "default": "{}"
3362
+ },
3363
+ {
3364
+ "kind": "variable",
3365
+ "name": "foundationAccordion",
3366
+ "description": "The Foundation Accordion",
3367
+ "privacy": "public"
3368
+ }
3369
+ ],
3370
+ "exports": [
3371
+ {
3372
+ "kind": "js",
3373
+ "name": "Accordion",
3374
+ "declaration": {
3375
+ "name": "Accordion",
3376
+ "module": "src/accordion/accordion.ts"
3377
+ }
3378
+ },
3379
+ {
3380
+ "kind": "js",
3381
+ "name": "foundationAccordionShadowOptions",
3382
+ "declaration": {
3383
+ "name": "foundationAccordionShadowOptions",
3384
+ "module": "src/accordion/accordion.ts"
3385
+ }
3386
+ },
3387
+ {
3388
+ "kind": "js",
3389
+ "name": "defaultAccordionConfig",
3390
+ "declaration": {
3391
+ "name": "defaultAccordionConfig",
3392
+ "module": "src/accordion/accordion.ts"
3393
+ }
3394
+ },
3395
+ {
3396
+ "kind": "js",
3397
+ "name": "foundationAccordion",
3398
+ "declaration": {
3399
+ "name": "foundationAccordion",
3400
+ "module": "src/accordion/accordion.ts"
3401
+ }
3402
+ }
3403
+ ]
3404
+ },
3405
+ {
3406
+ "kind": "javascript-module",
3407
+ "path": "src/accordion/index.ts",
3408
+ "declarations": [],
3409
+ "exports": [
3410
+ {
3411
+ "kind": "js",
3412
+ "name": "*",
3413
+ "declaration": {
3414
+ "name": "*",
3415
+ "package": "./accordion.template"
3416
+ }
3417
+ },
3418
+ {
3419
+ "kind": "js",
3420
+ "name": "*",
3421
+ "declaration": {
3422
+ "name": "*",
3423
+ "package": "./accordion.styles"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "*",
3429
+ "declaration": {
3430
+ "name": "*",
3431
+ "package": "./accordion"
3432
+ }
3433
+ }
3434
+ ]
3435
+ },
3436
3436
  {
3437
3437
  "kind": "javascript-module",
3438
3438
  "path": "src/anchor/anchor.styles.ts",