@genesislcap/foundation-ui 15.75.0 → 15.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1493,37 +1493,6 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
- {
1497
- "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1499
- "declarations": [],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "*",
1504
- "declaration": {
1505
- "name": "*",
1506
- "package": "./styles"
1507
- }
1508
- },
1509
- {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "*",
1520
- "declaration": {
1521
- "name": "*",
1522
- "package": "./values"
1523
- }
1524
- }
1525
- ]
1526
- },
1527
1496
  {
1528
1497
  "kind": "javascript-module",
1529
1498
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1920,34 +1889,42 @@
1920
1889
  },
1921
1890
  {
1922
1891
  "kind": "javascript-module",
1923
- "path": "src/actions-menu/actions-menu.styles.ts",
1924
- "declarations": [
1892
+ "path": "src/_config/index.ts",
1893
+ "declarations": [],
1894
+ "exports": [
1925
1895
  {
1926
- "kind": "function",
1927
- "name": "actionsMenuBaseStyles",
1928
- "return": {
1929
- "type": {
1930
- "text": "ElementStyles"
1931
- }
1932
- },
1933
- "parameters": [
1934
- {
1935
- "name": "context",
1936
- "type": {
1937
- "text": "ElementDefinitionContext"
1938
- }
1939
- },
1940
- {
1941
- "name": "definition",
1942
- "type": {
1943
- "text": "FoundationElementDefinition"
1944
- }
1945
- }
1946
- ]
1896
+ "kind": "js",
1897
+ "name": "*",
1898
+ "declaration": {
1899
+ "name": "*",
1900
+ "package": "./styles"
1901
+ }
1902
+ },
1903
+ {
1904
+ "kind": "js",
1905
+ "name": "*",
1906
+ "declaration": {
1907
+ "name": "*",
1908
+ "package": "./tokens"
1909
+ }
1947
1910
  },
1911
+ {
1912
+ "kind": "js",
1913
+ "name": "*",
1914
+ "declaration": {
1915
+ "name": "*",
1916
+ "package": "./values"
1917
+ }
1918
+ }
1919
+ ]
1920
+ },
1921
+ {
1922
+ "kind": "javascript-module",
1923
+ "path": "src/accordion/accordion.styles.ts",
1924
+ "declarations": [
1948
1925
  {
1949
1926
  "kind": "function",
1950
- "name": "foundationActionsMenuStyles",
1927
+ "name": "foundationAccordionStyles",
1951
1928
  "return": {
1952
1929
  "type": {
1953
1930
  "text": "ElementStyles"
@@ -1972,281 +1949,277 @@
1972
1949
  "exports": [
1973
1950
  {
1974
1951
  "kind": "js",
1975
- "name": "actionsMenuBaseStyles",
1976
- "declaration": {
1977
- "name": "actionsMenuBaseStyles",
1978
- "module": "src/actions-menu/actions-menu.styles.ts"
1979
- }
1980
- },
1981
- {
1982
- "kind": "js",
1983
- "name": "foundationActionsMenuStyles",
1952
+ "name": "foundationAccordionStyles",
1984
1953
  "declaration": {
1985
- "name": "foundationActionsMenuStyles",
1986
- "module": "src/actions-menu/actions-menu.styles.ts"
1954
+ "name": "foundationAccordionStyles",
1955
+ "module": "src/accordion/accordion.styles.ts"
1987
1956
  }
1988
1957
  }
1989
1958
  ]
1990
1959
  },
1991
1960
  {
1992
1961
  "kind": "javascript-module",
1993
- "path": "src/actions-menu/actions-menu.template.ts",
1962
+ "path": "src/accordion/accordion.template.ts",
1994
1963
  "declarations": [
1995
1964
  {
1996
1965
  "kind": "function",
1997
- "name": "menuTemplate",
1966
+ "name": "foundationAccordionTemplate",
1967
+ "return": {
1968
+ "type": {
1969
+ "text": "ViewTemplate<Accordion>"
1970
+ }
1971
+ },
1998
1972
  "parameters": [
1999
1973
  {
2000
- "name": "prefix",
1974
+ "name": "context",
2001
1975
  "type": {
2002
- "text": "string"
1976
+ "text": "ElementDefinitionContext"
2003
1977
  }
2004
- }
2005
- ]
2006
- },
2007
- {
2008
- "kind": "function",
2009
- "name": "singleOptionTemplate",
2010
- "parameters": [
1978
+ },
2011
1979
  {
2012
- "name": "prefix",
1980
+ "name": "definition",
2013
1981
  "type": {
2014
- "text": "string"
1982
+ "text": "FoundationElementDefinition"
2015
1983
  }
2016
1984
  }
2017
1985
  ]
2018
- },
2019
- {
2020
- "kind": "variable",
2021
- "name": "foundationActionsMenuTemplate",
2022
- "type": {
2023
- "text": "ViewTemplate<ActionsMenu>"
2024
- },
2025
- "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`"
2026
1986
  }
2027
1987
  ],
2028
1988
  "exports": [
2029
1989
  {
2030
1990
  "kind": "js",
2031
- "name": "menuTemplate",
2032
- "declaration": {
2033
- "name": "menuTemplate",
2034
- "module": "src/actions-menu/actions-menu.template.ts"
2035
- }
2036
- },
2037
- {
2038
- "kind": "js",
2039
- "name": "singleOptionTemplate",
2040
- "declaration": {
2041
- "name": "singleOptionTemplate",
2042
- "module": "src/actions-menu/actions-menu.template.ts"
2043
- }
2044
- },
2045
- {
2046
- "kind": "js",
2047
- "name": "foundationActionsMenuTemplate",
1991
+ "name": "foundationAccordionTemplate",
2048
1992
  "declaration": {
2049
- "name": "foundationActionsMenuTemplate",
2050
- "module": "src/actions-menu/actions-menu.template.ts"
1993
+ "name": "foundationAccordionTemplate",
1994
+ "module": "src/accordion/accordion.template.ts"
2051
1995
  }
2052
1996
  }
2053
1997
  ]
2054
1998
  },
2055
1999
  {
2056
2000
  "kind": "javascript-module",
2057
- "path": "src/actions-menu/actions-menu.ts",
2001
+ "path": "src/accordion/accordion.ts",
2058
2002
  "declarations": [
2059
2003
  {
2060
2004
  "kind": "class",
2061
2005
  "description": "",
2062
- "name": "ActionsMenu",
2063
- "members": [
2006
+ "name": "Accordion",
2007
+ "superclass": {
2008
+ "name": "FASTAccordion",
2009
+ "package": "@microsoft/fast-foundation"
2010
+ },
2011
+ "tagName": "%%prefix%%-accordion",
2012
+ "customElement": true,
2013
+ "attributes": [
2064
2014
  {
2065
- "kind": "field",
2066
- "name": "actions",
2015
+ "name": "expand-mode",
2067
2016
  "type": {
2068
- "text": "ActionMenuItem[]"
2017
+ "text": "AccordionExpandMode"
2018
+ },
2019
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
+ "fieldName": "expandmode",
2021
+ "inheritedFrom": {
2022
+ "name": "Accordion",
2023
+ "module": "src/accordion/accordion.ts"
2069
2024
  }
2070
- },
2025
+ }
2026
+ ],
2027
+ "members": [
2071
2028
  {
2072
2029
  "kind": "field",
2073
- "name": "isVertical",
2030
+ "name": "expandmode",
2074
2031
  "type": {
2075
- "text": "boolean"
2032
+ "text": "AccordionExpandMode"
2076
2033
  },
2077
- "default": "false"
2034
+ "privacy": "public",
2035
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2036
+ "inheritedFrom": {
2037
+ "name": "Accordion",
2038
+ "module": "src/accordion/accordion.ts"
2039
+ }
2078
2040
  },
2079
2041
  {
2080
2042
  "kind": "field",
2081
- "name": "addDefaultActions",
2043
+ "name": "activeid",
2082
2044
  "type": {
2083
- "text": "boolean"
2045
+ "text": "string | null"
2084
2046
  },
2085
- "default": "true"
2047
+ "privacy": "private",
2048
+ "inheritedFrom": {
2049
+ "name": "Accordion",
2050
+ "module": "src/accordion/accordion.ts"
2051
+ }
2086
2052
  },
2087
2053
  {
2088
2054
  "kind": "field",
2089
- "name": "autoCloseOnAction",
2055
+ "name": "activeItemIndex",
2090
2056
  "type": {
2091
- "text": "boolean"
2057
+ "text": "number"
2092
2058
  },
2093
- "default": "true"
2094
- },
2095
- {
2096
- "kind": "field",
2097
- "name": "classNames",
2098
- "type": {
2099
- "text": "string"
2059
+ "privacy": "private",
2060
+ "default": "0",
2061
+ "inheritedFrom": {
2062
+ "name": "Accordion",
2063
+ "module": "src/accordion/accordion.ts"
2100
2064
  }
2101
2065
  },
2102
2066
  {
2103
2067
  "kind": "field",
2104
- "name": "definition",
2068
+ "name": "accordionIds",
2105
2069
  "type": {
2106
- "text": "any"
2070
+ "text": "Array<string | null>"
2071
+ },
2072
+ "privacy": "private",
2073
+ "inheritedFrom": {
2074
+ "name": "Accordion",
2075
+ "module": "src/accordion/accordion.ts"
2107
2076
  }
2108
2077
  },
2109
2078
  {
2110
2079
  "kind": "field",
2111
- "name": "name",
2112
- "type": {
2113
- "text": "string"
2114
- },
2115
- "default": "'Actions'"
2080
+ "name": "change",
2081
+ "privacy": "private",
2082
+ "inheritedFrom": {
2083
+ "name": "Accordion",
2084
+ "module": "src/accordion/accordion.ts"
2085
+ }
2116
2086
  },
2117
2087
  {
2118
- "kind": "field",
2119
- "name": "open",
2120
- "type": {
2121
- "text": "boolean"
2088
+ "kind": "method",
2089
+ "name": "findExpandedItem",
2090
+ "privacy": "private",
2091
+ "return": {
2092
+ "type": {
2093
+ "text": "AccordionItem | null"
2094
+ }
2122
2095
  },
2123
- "default": "false"
2124
- },
2125
- {
2126
- "kind": "field",
2127
- "name": "buttonAppearance",
2128
- "type": {
2129
- "text": "string"
2096
+ "inheritedFrom": {
2097
+ "name": "Accordion",
2098
+ "module": "src/accordion/accordion.ts"
2130
2099
  }
2131
2100
  },
2132
2101
  {
2133
2102
  "kind": "field",
2134
- "name": "hideDisabled",
2135
- "type": {
2136
- "text": "boolean"
2137
- },
2138
- "default": "false"
2103
+ "name": "setItems",
2104
+ "privacy": "private",
2105
+ "inheritedFrom": {
2106
+ "name": "Accordion",
2107
+ "module": "src/accordion/accordion.ts"
2108
+ }
2139
2109
  },
2140
2110
  {
2141
- "kind": "field",
2142
- "name": "hideMenuSingleOption",
2143
- "type": {
2144
- "text": "boolean"
2111
+ "kind": "method",
2112
+ "name": "resetItems",
2113
+ "privacy": "private",
2114
+ "return": {
2115
+ "type": {
2116
+ "text": "void"
2117
+ }
2145
2118
  },
2146
- "default": "false"
2147
- },
2148
- {
2149
- "kind": "field",
2150
- "name": "singleOption",
2151
- "type": {
2152
- "text": "ActionMenuItem"
2119
+ "inheritedFrom": {
2120
+ "name": "Accordion",
2121
+ "module": "src/accordion/accordion.ts"
2153
2122
  }
2154
2123
  },
2155
2124
  {
2156
2125
  "kind": "field",
2157
- "name": "actionsMenu",
2158
- "type": {
2159
- "text": "HTMLElement"
2126
+ "name": "removeItemListeners",
2127
+ "privacy": "private",
2128
+ "inheritedFrom": {
2129
+ "name": "Accordion",
2130
+ "module": "src/accordion/accordion.ts"
2160
2131
  }
2161
2132
  },
2162
2133
  {
2163
2134
  "kind": "field",
2164
- "name": "actionsOpener",
2165
- "type": {
2166
- "text": "HTMLElement"
2135
+ "name": "activeItemChange",
2136
+ "privacy": "private",
2137
+ "inheritedFrom": {
2138
+ "name": "Accordion",
2139
+ "module": "src/accordion/accordion.ts"
2167
2140
  }
2168
2141
  },
2169
2142
  {
2170
2143
  "kind": "method",
2171
- "name": "updateMenuPosition",
2172
- "privacy": "private"
2173
- },
2174
- {
2175
- "kind": "method",
2176
- "name": "definitionChanged",
2177
- "privacy": "protected",
2178
- "parameters": [
2179
- {
2180
- "name": "oldValue",
2181
- "type": {
2182
- "text": "any"
2183
- }
2184
- },
2185
- {
2186
- "name": "newValue",
2187
- "type": {
2188
- "text": "any"
2189
- }
2144
+ "name": "getItemIds",
2145
+ "privacy": "private",
2146
+ "return": {
2147
+ "type": {
2148
+ "text": "Array<string | null>"
2190
2149
  }
2191
- ]
2192
- },
2193
- {
2194
- "kind": "method",
2195
- "name": "openChanged",
2196
- "privacy": "protected"
2197
- },
2198
- {
2199
- "kind": "method",
2200
- "name": "toggleActionsMenuVisibility"
2150
+ },
2151
+ "inheritedFrom": {
2152
+ "name": "Accordion",
2153
+ "module": "src/accordion/accordion.ts"
2154
+ }
2201
2155
  },
2202
2156
  {
2203
2157
  "kind": "method",
2204
- "name": "onActionMenuItemClick",
2205
- "parameters": [
2206
- {
2207
- "name": "callback",
2208
- "type": {
2209
- "text": "(rowData) => void | any"
2210
- }
2158
+ "name": "isSingleExpandMode",
2159
+ "privacy": "private",
2160
+ "return": {
2161
+ "type": {
2162
+ "text": "boolean"
2211
2163
  }
2212
- ]
2164
+ },
2165
+ "inheritedFrom": {
2166
+ "name": "Accordion",
2167
+ "module": "src/accordion/accordion.ts"
2168
+ }
2213
2169
  },
2214
2170
  {
2215
2171
  "kind": "field",
2216
- "name": "allActions",
2217
- "type": {
2218
- "text": "ActionMenuItem[]"
2219
- },
2220
- "readonly": true
2172
+ "name": "handleItemKeyDown",
2173
+ "privacy": "private",
2174
+ "inheritedFrom": {
2175
+ "name": "Accordion",
2176
+ "module": "src/accordion/accordion.ts"
2177
+ }
2221
2178
  },
2222
2179
  {
2223
2180
  "kind": "field",
2224
- "name": "rowData",
2225
- "readonly": true
2181
+ "name": "handleItemFocus",
2182
+ "privacy": "private",
2183
+ "inheritedFrom": {
2184
+ "name": "Accordion",
2185
+ "module": "src/accordion/accordion.ts"
2186
+ }
2226
2187
  },
2227
2188
  {
2228
2189
  "kind": "method",
2229
- "name": "getLabel",
2190
+ "name": "adjust",
2191
+ "privacy": "private",
2192
+ "return": {
2193
+ "type": {
2194
+ "text": "void"
2195
+ }
2196
+ },
2230
2197
  "parameters": [
2231
2198
  {
2232
- "name": "name",
2199
+ "name": "adjustment",
2233
2200
  "type": {
2234
- "text": "string | ((rowData: any) => string)"
2201
+ "text": "number"
2235
2202
  }
2236
2203
  }
2237
- ]
2204
+ ],
2205
+ "inheritedFrom": {
2206
+ "name": "Accordion",
2207
+ "module": "src/accordion/accordion.ts"
2208
+ }
2238
2209
  },
2239
2210
  {
2240
2211
  "kind": "method",
2241
- "name": "getTemplate",
2242
- "parameters": [
2243
- {
2244
- "name": "prefix",
2245
- "type": {
2246
- "text": "string"
2247
- }
2212
+ "name": "focusItem",
2213
+ "privacy": "private",
2214
+ "return": {
2215
+ "type": {
2216
+ "text": "void"
2248
2217
  }
2249
- ]
2218
+ },
2219
+ "inheritedFrom": {
2220
+ "name": "Accordion",
2221
+ "module": "src/accordion/accordion.ts"
2222
+ }
2250
2223
  },
2251
2224
  {
2252
2225
  "kind": "field",
@@ -2360,107 +2333,78 @@
2360
2333
  }
2361
2334
  }
2362
2335
  ],
2363
- "attributes": [
2364
- {
2365
- "name": "is-vertical",
2366
- "type": {
2367
- "text": "boolean"
2368
- },
2369
- "default": "false",
2370
- "fieldName": "isVertical"
2371
- },
2372
- {
2373
- "name": "add-default-actions",
2374
- "type": {
2375
- "text": "boolean"
2376
- },
2377
- "default": "true",
2378
- "fieldName": "addDefaultActions"
2379
- },
2380
- {
2381
- "name": "auto-close-on-action",
2382
- "type": {
2383
- "text": "boolean"
2384
- },
2385
- "default": "true",
2386
- "fieldName": "autoCloseOnAction"
2387
- },
2388
- {
2389
- "name": "name",
2390
- "type": {
2391
- "text": "string"
2392
- },
2393
- "default": "'Actions'",
2394
- "fieldName": "name"
2395
- },
2396
- {
2397
- "name": "open",
2398
- "type": {
2399
- "text": "boolean"
2400
- },
2401
- "default": "false",
2402
- "fieldName": "open"
2403
- },
2404
- {
2405
- "name": "buttonAppearance",
2406
- "type": {
2407
- "text": "string"
2408
- },
2409
- "fieldName": "buttonAppearance"
2410
- },
2411
- {
2412
- "name": "hide-disabled",
2413
- "type": {
2414
- "text": "boolean"
2415
- },
2416
- "default": "false",
2417
- "fieldName": "hideDisabled"
2418
- },
2336
+ "events": [
2419
2337
  {
2420
- "name": "hide-menu-single-option",
2421
- "type": {
2422
- "text": "boolean"
2423
- },
2424
- "default": "false",
2425
- "fieldName": "hideMenuSingleOption"
2338
+ "description": "Fires a custom 'change' event when the active item changes",
2339
+ "name": "change",
2340
+ "inheritedFrom": {
2341
+ "name": "Accordion",
2342
+ "module": "src/accordion/accordion.ts"
2343
+ }
2426
2344
  }
2427
- ],
2428
- "superclass": {
2429
- "name": "FoundationElement",
2430
- "package": "@microsoft/fast-foundation"
2431
- },
2432
- "tagName": "%%prefix%%-actions-menu",
2433
- "customElement": true
2345
+ ]
2434
2346
  },
2435
2347
  {
2436
2348
  "kind": "variable",
2437
- "name": "foundationActionsMenu",
2438
- "description": "The Foundation Actions Menu",
2439
- "privacy": "public"
2440
- }
2441
- ],
2442
- "exports": [
2349
+ "name": "foundationAccordionShadowOptions",
2350
+ "type": {
2351
+ "text": "ShadowRootInit"
2352
+ },
2353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2354
+ },
2443
2355
  {
2444
- "kind": "js",
2445
- "name": "ActionsMenu",
2356
+ "kind": "variable",
2357
+ "name": "defaultAccordionConfig",
2358
+ "type": {
2359
+ "text": "object"
2360
+ },
2361
+ "default": "{}"
2362
+ },
2363
+ {
2364
+ "kind": "variable",
2365
+ "name": "foundationAccordion",
2366
+ "description": "The Foundation Accordion",
2367
+ "privacy": "public"
2368
+ }
2369
+ ],
2370
+ "exports": [
2371
+ {
2372
+ "kind": "js",
2373
+ "name": "Accordion",
2446
2374
  "declaration": {
2447
- "name": "ActionsMenu",
2448
- "module": "src/actions-menu/actions-menu.ts"
2375
+ "name": "Accordion",
2376
+ "module": "src/accordion/accordion.ts"
2449
2377
  }
2450
2378
  },
2451
2379
  {
2452
2380
  "kind": "js",
2453
- "name": "foundationActionsMenu",
2381
+ "name": "foundationAccordionShadowOptions",
2454
2382
  "declaration": {
2455
- "name": "foundationActionsMenu",
2456
- "module": "src/actions-menu/actions-menu.ts"
2383
+ "name": "foundationAccordionShadowOptions",
2384
+ "module": "src/accordion/accordion.ts"
2385
+ }
2386
+ },
2387
+ {
2388
+ "kind": "js",
2389
+ "name": "defaultAccordionConfig",
2390
+ "declaration": {
2391
+ "name": "defaultAccordionConfig",
2392
+ "module": "src/accordion/accordion.ts"
2393
+ }
2394
+ },
2395
+ {
2396
+ "kind": "js",
2397
+ "name": "foundationAccordion",
2398
+ "declaration": {
2399
+ "name": "foundationAccordion",
2400
+ "module": "src/accordion/accordion.ts"
2457
2401
  }
2458
2402
  }
2459
2403
  ]
2460
2404
  },
2461
2405
  {
2462
2406
  "kind": "javascript-module",
2463
- "path": "src/actions-menu/index.ts",
2407
+ "path": "src/accordion/index.ts",
2464
2408
  "declarations": [],
2465
2409
  "exports": [
2466
2410
  {
@@ -2468,7 +2412,7 @@
2468
2412
  "name": "*",
2469
2413
  "declaration": {
2470
2414
  "name": "*",
2471
- "package": "./actions-menu.styles"
2415
+ "package": "./accordion.template"
2472
2416
  }
2473
2417
  },
2474
2418
  {
@@ -2476,7 +2420,7 @@
2476
2420
  "name": "*",
2477
2421
  "declaration": {
2478
2422
  "name": "*",
2479
- "package": "./actions-menu.template"
2423
+ "package": "./accordion.styles"
2480
2424
  }
2481
2425
  },
2482
2426
  {
@@ -2484,122 +2428,210 @@
2484
2428
  "name": "*",
2485
2429
  "declaration": {
2486
2430
  "name": "*",
2487
- "package": "./actions-menu"
2431
+ "package": "./accordion"
2488
2432
  }
2489
2433
  }
2490
2434
  ]
2491
2435
  },
2492
2436
  {
2493
2437
  "kind": "javascript-module",
2494
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2438
+ "path": "src/actions-menu/actions-menu.styles.ts",
2495
2439
  "declarations": [
2496
2440
  {
2497
- "kind": "variable",
2498
- "name": "foundationAiCriteriaSearchStyles",
2499
- "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`"
2441
+ "kind": "function",
2442
+ "name": "actionsMenuBaseStyles",
2443
+ "return": {
2444
+ "type": {
2445
+ "text": "ElementStyles"
2446
+ }
2447
+ },
2448
+ "parameters": [
2449
+ {
2450
+ "name": "context",
2451
+ "type": {
2452
+ "text": "ElementDefinitionContext"
2453
+ }
2454
+ },
2455
+ {
2456
+ "name": "definition",
2457
+ "type": {
2458
+ "text": "FoundationElementDefinition"
2459
+ }
2460
+ }
2461
+ ]
2462
+ },
2463
+ {
2464
+ "kind": "function",
2465
+ "name": "foundationActionsMenuStyles",
2466
+ "return": {
2467
+ "type": {
2468
+ "text": "ElementStyles"
2469
+ }
2470
+ },
2471
+ "parameters": [
2472
+ {
2473
+ "name": "context",
2474
+ "type": {
2475
+ "text": "ElementDefinitionContext"
2476
+ }
2477
+ },
2478
+ {
2479
+ "name": "definition",
2480
+ "type": {
2481
+ "text": "FoundationElementDefinition"
2482
+ }
2483
+ }
2484
+ ]
2500
2485
  }
2501
2486
  ],
2502
2487
  "exports": [
2503
2488
  {
2504
2489
  "kind": "js",
2505
- "name": "foundationAiCriteriaSearchStyles",
2490
+ "name": "actionsMenuBaseStyles",
2506
2491
  "declaration": {
2507
- "name": "foundationAiCriteriaSearchStyles",
2508
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2492
+ "name": "actionsMenuBaseStyles",
2493
+ "module": "src/actions-menu/actions-menu.styles.ts"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "js",
2498
+ "name": "foundationActionsMenuStyles",
2499
+ "declaration": {
2500
+ "name": "foundationActionsMenuStyles",
2501
+ "module": "src/actions-menu/actions-menu.styles.ts"
2509
2502
  }
2510
2503
  }
2511
2504
  ]
2512
2505
  },
2513
2506
  {
2514
2507
  "kind": "javascript-module",
2515
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2508
+ "path": "src/actions-menu/actions-menu.template.ts",
2516
2509
  "declarations": [
2517
2510
  {
2518
2511
  "kind": "variable",
2519
- "name": "foundationAiCriteriaSearchTemplate",
2512
+ "name": "menuTemplate"
2513
+ },
2514
+ {
2515
+ "kind": "variable",
2516
+ "name": "singleOptionTemplate"
2517
+ },
2518
+ {
2519
+ "kind": "variable",
2520
+ "name": "foundationActionsMenuTemplate",
2520
2521
  "type": {
2521
- "text": "ViewTemplate<AiCriteriaSearch>"
2522
+ "text": "ViewTemplate<ActionsMenu>"
2522
2523
  },
2523
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2524
+ "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`"
2524
2525
  }
2525
2526
  ],
2526
2527
  "exports": [
2527
2528
  {
2528
2529
  "kind": "js",
2529
- "name": "foundationAiCriteriaSearchTemplate",
2530
+ "name": "menuTemplate",
2530
2531
  "declaration": {
2531
- "name": "foundationAiCriteriaSearchTemplate",
2532
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2532
+ "name": "menuTemplate",
2533
+ "module": "src/actions-menu/actions-menu.template.ts"
2534
+ }
2535
+ },
2536
+ {
2537
+ "kind": "js",
2538
+ "name": "singleOptionTemplate",
2539
+ "declaration": {
2540
+ "name": "singleOptionTemplate",
2541
+ "module": "src/actions-menu/actions-menu.template.ts"
2542
+ }
2543
+ },
2544
+ {
2545
+ "kind": "js",
2546
+ "name": "foundationActionsMenuTemplate",
2547
+ "declaration": {
2548
+ "name": "foundationActionsMenuTemplate",
2549
+ "module": "src/actions-menu/actions-menu.template.ts"
2533
2550
  }
2534
2551
  }
2535
2552
  ]
2536
2553
  },
2537
2554
  {
2538
2555
  "kind": "javascript-module",
2539
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2556
+ "path": "src/actions-menu/actions-menu.ts",
2540
2557
  "declarations": [
2541
2558
  {
2542
2559
  "kind": "class",
2543
- "description": "Natural-language criteria search input with AI interpretation.",
2544
- "name": "AiCriteriaSearch",
2560
+ "description": "",
2561
+ "name": "ActionsMenu",
2545
2562
  "members": [
2546
2563
  {
2547
2564
  "kind": "field",
2548
- "name": "providerRegistry",
2565
+ "name": "actions",
2549
2566
  "type": {
2550
- "text": "AIProviderRegistry"
2567
+ "text": "ActionMenuItem[]"
2551
2568
  }
2552
2569
  },
2553
2570
  {
2554
2571
  "kind": "field",
2555
- "name": "placeholder",
2572
+ "name": "actionsResolver",
2556
2573
  "type": {
2557
- "text": "string"
2574
+ "text": "ActionMenuItemsResolver | undefined"
2558
2575
  },
2559
- "default": "'Describe your search criteria in natural language...'"
2576
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
2560
2577
  },
2561
2578
  {
2562
2579
  "kind": "field",
2563
- "name": "disabled",
2580
+ "name": "isVertical",
2564
2581
  "type": {
2565
2582
  "text": "boolean"
2566
- }
2583
+ },
2584
+ "default": "false"
2567
2585
  },
2568
2586
  {
2569
2587
  "kind": "field",
2570
- "name": "inputValue",
2588
+ "name": "addDefaultActions",
2571
2589
  "type": {
2572
- "text": "string"
2590
+ "text": "boolean"
2573
2591
  },
2574
- "default": "''"
2592
+ "default": "true"
2575
2593
  },
2576
2594
  {
2577
2595
  "kind": "field",
2578
- "name": "isInterpreting",
2596
+ "name": "autoCloseOnAction",
2579
2597
  "type": {
2580
2598
  "text": "boolean"
2581
2599
  },
2582
- "default": "false"
2600
+ "default": "true"
2583
2601
  },
2584
2602
  {
2585
2603
  "kind": "field",
2586
- "name": "lastValidCriteria",
2604
+ "name": "classNames",
2587
2605
  "type": {
2588
- "text": "string | null"
2606
+ "text": "string"
2607
+ }
2608
+ },
2609
+ {
2610
+ "kind": "field",
2611
+ "name": "definition",
2612
+ "type": {
2613
+ "text": "any"
2614
+ }
2615
+ },
2616
+ {
2617
+ "kind": "field",
2618
+ "name": "name",
2619
+ "type": {
2620
+ "text": "string"
2589
2621
  },
2590
- "default": "null"
2622
+ "default": "'Actions'"
2591
2623
  },
2592
2624
  {
2593
2625
  "kind": "field",
2594
- "name": "activeGroups",
2626
+ "name": "iconName",
2595
2627
  "type": {
2596
- "text": "CriteriaGroup[]"
2628
+ "text": "string"
2597
2629
  },
2598
- "default": "[]"
2630
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2599
2631
  },
2600
2632
  {
2601
2633
  "kind": "field",
2602
- "name": "showingChips",
2634
+ "name": "open",
2603
2635
  "type": {
2604
2636
  "text": "boolean"
2605
2637
  },
@@ -2607,15 +2639,14 @@
2607
2639
  },
2608
2640
  {
2609
2641
  "kind": "field",
2610
- "name": "fieldMetadata",
2642
+ "name": "buttonAppearance",
2611
2643
  "type": {
2612
- "text": "MetadataDetail[] | string[]"
2613
- },
2614
- "default": "[]"
2644
+ "text": "string"
2645
+ }
2615
2646
  },
2616
2647
  {
2617
2648
  "kind": "field",
2618
- "name": "isRecording",
2649
+ "name": "hideDisabled",
2619
2650
  "type": {
2620
2651
  "text": "boolean"
2621
2652
  },
@@ -2623,125 +2654,209 @@
2623
2654
  },
2624
2655
  {
2625
2656
  "kind": "field",
2626
- "name": "textAreaRef",
2657
+ "name": "hideMenuSingleOption",
2627
2658
  "type": {
2628
- "text": "HTMLTextAreaElement"
2659
+ "text": "boolean"
2629
2660
  },
2630
- "privacy": "public"
2661
+ "default": "false"
2631
2662
  },
2632
2663
  {
2633
2664
  "kind": "field",
2634
- "name": "stopRecording",
2665
+ "name": "singleOption",
2635
2666
  "type": {
2636
- "text": "(() => void) | null"
2637
- },
2638
- "privacy": "private",
2639
- "default": "null"
2667
+ "text": "ActionMenuItem"
2668
+ }
2640
2669
  },
2641
2670
  {
2642
2671
  "kind": "field",
2643
- "name": "speechApplyDebounceTimer",
2672
+ "name": "actionsMenu",
2644
2673
  "type": {
2645
- "text": "ReturnType<typeof setTimeout> | null"
2646
- },
2647
- "privacy": "private",
2648
- "default": "null"
2674
+ "text": "HTMLElement"
2675
+ }
2649
2676
  },
2650
2677
  {
2651
2678
  "kind": "field",
2652
- "name": "speechAvailable",
2679
+ "name": "actionsOpener",
2653
2680
  "type": {
2654
- "text": "boolean"
2681
+ "text": "HTMLElement"
2682
+ }
2683
+ },
2684
+ {
2685
+ "kind": "field",
2686
+ "name": "positionTracker",
2687
+ "type": {
2688
+ "text": "AnchoredPopoverPositionTracker | undefined"
2655
2689
  },
2656
- "readonly": true
2690
+ "privacy": "private"
2657
2691
  },
2658
2692
  {
2659
2693
  "kind": "field",
2660
- "name": "criteriaChips",
2694
+ "name": "focusMenuOnOpen",
2661
2695
  "type": {
2662
- "text": "CriteriaChip[]"
2696
+ "text": "boolean"
2663
2697
  },
2664
- "readonly": true
2698
+ "privacy": "private",
2699
+ "default": "false",
2700
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2665
2701
  },
2666
2702
  {
2667
2703
  "kind": "method",
2668
- "name": "getFieldLabel",
2669
- "privacy": "private",
2670
- "return": {
2671
- "type": {
2672
- "text": "string"
2673
- }
2674
- },
2704
+ "name": "updateMenuPosition",
2705
+ "privacy": "private"
2706
+ },
2707
+ {
2708
+ "kind": "method",
2709
+ "name": "startTrackingPosition",
2710
+ "privacy": "private"
2711
+ },
2712
+ {
2713
+ "kind": "method",
2714
+ "name": "stopTrackingPosition",
2715
+ "privacy": "private"
2716
+ },
2717
+ {
2718
+ "kind": "method",
2719
+ "name": "definitionChanged",
2720
+ "privacy": "protected",
2675
2721
  "parameters": [
2676
2722
  {
2677
- "name": "fieldName",
2723
+ "name": "oldValue",
2678
2724
  "type": {
2679
- "text": "string"
2725
+ "text": "any"
2726
+ }
2727
+ },
2728
+ {
2729
+ "name": "newValue",
2730
+ "type": {
2731
+ "text": "any"
2680
2732
  }
2681
2733
  }
2682
2734
  ]
2683
2735
  },
2684
2736
  {
2685
2737
  "kind": "method",
2686
- "name": "toggleCriteriaView",
2687
- "return": {
2688
- "type": {
2689
- "text": "void"
2738
+ "name": "openChanged",
2739
+ "privacy": "protected"
2740
+ },
2741
+ {
2742
+ "kind": "method",
2743
+ "name": "toggleActionsMenuVisibility"
2744
+ },
2745
+ {
2746
+ "kind": "method",
2747
+ "name": "onPopoverToggle",
2748
+ "parameters": [
2749
+ {
2750
+ "name": "event",
2751
+ "type": {
2752
+ "text": "Event"
2753
+ }
2690
2754
  }
2691
- }
2755
+ ],
2756
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2692
2757
  },
2693
2758
  {
2694
2759
  "kind": "method",
2695
- "name": "removeChip",
2760
+ "name": "onIconOpenerKeydown",
2696
2761
  "return": {
2697
2762
  "type": {
2698
- "text": "void"
2763
+ "text": "boolean"
2699
2764
  }
2700
2765
  },
2701
2766
  "parameters": [
2702
2767
  {
2703
- "name": "groupIndex",
2768
+ "name": "event",
2704
2769
  "type": {
2705
- "text": "number"
2770
+ "text": "KeyboardEvent"
2706
2771
  }
2707
- },
2772
+ }
2773
+ ],
2774
+ "description": "Opens the icon-only opener from the keyboard, as a native button would."
2775
+ },
2776
+ {
2777
+ "kind": "method",
2778
+ "name": "onActionMenuItemClick",
2779
+ "parameters": [
2708
2780
  {
2709
- "name": "clauseIndex",
2781
+ "name": "callback",
2710
2782
  "type": {
2711
- "text": "number"
2783
+ "text": "(rowData) => void | any"
2712
2784
  }
2713
2785
  }
2714
2786
  ]
2715
2787
  },
2716
2788
  {
2717
2789
  "kind": "method",
2718
- "name": "clearChips",
2790
+ "name": "isActionDisabled",
2719
2791
  "return": {
2720
2792
  "type": {
2721
- "text": "void"
2793
+ "text": "boolean"
2722
2794
  }
2723
- }
2795
+ },
2796
+ "parameters": [
2797
+ {
2798
+ "name": "action",
2799
+ "type": {
2800
+ "text": "ActionMenuItem"
2801
+ }
2802
+ }
2803
+ ],
2804
+ "description": "Resolves an action's `isDisabled` for the current row."
2724
2805
  },
2725
2806
  {
2726
- "kind": "method",
2727
- "name": "handleSubmit"
2807
+ "kind": "field",
2808
+ "name": "resolvedActions",
2809
+ "type": {
2810
+ "text": "ActionMenuItem[]"
2811
+ },
2812
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2813
+ "readonly": true
2728
2814
  },
2729
2815
  {
2730
- "kind": "method",
2731
- "name": "handleBlur"
2816
+ "kind": "field",
2817
+ "name": "hasVisibleActions",
2818
+ "type": {
2819
+ "text": "boolean"
2820
+ },
2821
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2822
+ "readonly": true
2732
2823
  },
2733
2824
  {
2734
- "kind": "method",
2735
- "name": "clear"
2825
+ "kind": "field",
2826
+ "name": "allActions",
2827
+ "type": {
2828
+ "text": "ActionMenuItem[]"
2829
+ },
2830
+ "readonly": true
2831
+ },
2832
+ {
2833
+ "kind": "field",
2834
+ "name": "rowData",
2835
+ "readonly": true
2736
2836
  },
2737
2837
  {
2738
2838
  "kind": "method",
2739
- "name": "toggleSpeechInput"
2839
+ "name": "getLabel",
2840
+ "parameters": [
2841
+ {
2842
+ "name": "name",
2843
+ "type": {
2844
+ "text": "string | ((rowData: any) => string)"
2845
+ }
2846
+ }
2847
+ ]
2740
2848
  },
2741
2849
  {
2742
2850
  "kind": "method",
2743
- "name": "clearSpeechApplyDebounce",
2744
- "privacy": "private"
2851
+ "name": "getTemplate",
2852
+ "parameters": [
2853
+ {
2854
+ "name": "prefix",
2855
+ "type": {
2856
+ "text": "string"
2857
+ }
2858
+ }
2859
+ ]
2745
2860
  },
2746
2861
  {
2747
2862
  "kind": "field",
@@ -2855,154 +2970,166 @@
2855
2970
  }
2856
2971
  }
2857
2972
  ],
2858
- "events": [
2973
+ "attributes": [
2859
2974
  {
2860
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2861
- "name": "criteria-changed"
2975
+ "name": "is-vertical",
2976
+ "type": {
2977
+ "text": "boolean"
2978
+ },
2979
+ "default": "false",
2980
+ "fieldName": "isVertical"
2862
2981
  },
2863
2982
  {
2864
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2865
- "name": "validation-errors"
2866
- }
2867
- ],
2868
- "attributes": [
2983
+ "name": "add-default-actions",
2984
+ "type": {
2985
+ "text": "boolean"
2986
+ },
2987
+ "default": "true",
2988
+ "fieldName": "addDefaultActions"
2989
+ },
2869
2990
  {
2870
- "name": "placeholder",
2991
+ "name": "auto-close-on-action",
2992
+ "type": {
2993
+ "text": "boolean"
2994
+ },
2995
+ "default": "true",
2996
+ "fieldName": "autoCloseOnAction"
2997
+ },
2998
+ {
2999
+ "name": "name",
2871
3000
  "type": {
2872
3001
  "text": "string"
2873
3002
  },
2874
- "default": "'Describe your search criteria in natural language...'",
2875
- "fieldName": "placeholder"
3003
+ "default": "'Actions'",
3004
+ "fieldName": "name"
3005
+ },
3006
+ {
3007
+ "name": "icon-name",
3008
+ "type": {
3009
+ "text": "string"
3010
+ },
3011
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
3012
+ "fieldName": "iconName"
2876
3013
  },
2877
3014
  {
3015
+ "name": "open",
2878
3016
  "type": {
2879
3017
  "text": "boolean"
2880
3018
  },
2881
- "fieldName": "disabled"
3019
+ "default": "false",
3020
+ "fieldName": "open"
3021
+ },
3022
+ {
3023
+ "name": "buttonAppearance",
3024
+ "type": {
3025
+ "text": "string"
3026
+ },
3027
+ "fieldName": "buttonAppearance"
3028
+ },
3029
+ {
3030
+ "name": "hide-disabled",
3031
+ "type": {
3032
+ "text": "boolean"
3033
+ },
3034
+ "default": "false",
3035
+ "fieldName": "hideDisabled"
3036
+ },
3037
+ {
3038
+ "name": "hide-menu-single-option",
3039
+ "type": {
3040
+ "text": "boolean"
3041
+ },
3042
+ "default": "false",
3043
+ "fieldName": "hideMenuSingleOption"
2882
3044
  }
2883
3045
  ],
2884
3046
  "superclass": {
2885
3047
  "name": "FoundationElement",
2886
3048
  "package": "@microsoft/fast-foundation"
2887
3049
  },
2888
- "tagName": "%%prefix%%-ai-criteria-search",
3050
+ "tagName": "%%prefix%%-actions-menu",
2889
3051
  "customElement": true
2890
3052
  },
2891
3053
  {
2892
3054
  "kind": "variable",
2893
- "name": "foundationAiCriteriaSearchShadowOptions",
2894
- "type": {
2895
- "text": "ShadowRootInit"
2896
- },
2897
- "default": "undefined"
2898
- },
2899
- {
2900
- "kind": "variable",
2901
- "name": "defaultAiCriteriaSearchConfig",
2902
- "type": {
2903
- "text": "object"
2904
- },
2905
- "default": "{}"
2906
- },
2907
- {
2908
- "kind": "variable",
2909
- "name": "foundationAiCriteriaSearch"
3055
+ "name": "foundationActionsMenu",
3056
+ "description": "The Foundation Actions Menu",
3057
+ "privacy": "public"
2910
3058
  }
2911
3059
  ],
2912
3060
  "exports": [
2913
3061
  {
2914
3062
  "kind": "js",
2915
- "name": "AiCriteriaSearch",
3063
+ "name": "ActionsMenu",
2916
3064
  "declaration": {
2917
- "name": "AiCriteriaSearch",
2918
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3065
+ "name": "ActionsMenu",
3066
+ "module": "src/actions-menu/actions-menu.ts"
2919
3067
  }
2920
3068
  },
2921
3069
  {
2922
3070
  "kind": "js",
2923
- "name": "foundationAiCriteriaSearchShadowOptions",
3071
+ "name": "foundationActionsMenu",
2924
3072
  "declaration": {
2925
- "name": "foundationAiCriteriaSearchShadowOptions",
2926
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3073
+ "name": "foundationActionsMenu",
3074
+ "module": "src/actions-menu/actions-menu.ts"
2927
3075
  }
2928
- },
3076
+ }
3077
+ ]
3078
+ },
3079
+ {
3080
+ "kind": "javascript-module",
3081
+ "path": "src/actions-menu/ag-menu.styles.ts",
3082
+ "declarations": [
2929
3083
  {
2930
- "kind": "js",
2931
- "name": "defaultAiCriteriaSearchConfig",
2932
- "declaration": {
2933
- "name": "defaultAiCriteriaSearchConfig",
2934
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2935
- }
2936
- },
3084
+ "kind": "function",
3085
+ "name": "agMenuStyles",
3086
+ "return": {
3087
+ "type": {
3088
+ "text": ""
3089
+ }
3090
+ },
3091
+ "parameters": [
3092
+ {
3093
+ "name": "menuSelector",
3094
+ "type": {
3095
+ "text": "string"
3096
+ },
3097
+ "description": "Selects the menu surface. May be a selector list."
3098
+ },
3099
+ {
3100
+ "name": "itemSelector",
3101
+ "type": {
3102
+ "text": "string"
3103
+ },
3104
+ "description": "Selects a menu item. Must be a single selector, as states are appended to it."
3105
+ }
3106
+ ],
3107
+ "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
3108
+ "privacy": "public"
3109
+ }
3110
+ ],
3111
+ "exports": [
2937
3112
  {
2938
3113
  "kind": "js",
2939
- "name": "foundationAiCriteriaSearch",
3114
+ "name": "agMenuStyles",
2940
3115
  "declaration": {
2941
- "name": "foundationAiCriteriaSearch",
2942
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3116
+ "name": "agMenuStyles",
3117
+ "module": "src/actions-menu/ag-menu.styles.ts"
2943
3118
  }
2944
3119
  }
2945
3120
  ]
2946
3121
  },
2947
3122
  {
2948
3123
  "kind": "javascript-module",
2949
- "path": "src/ai-criteria-search/index.ts",
3124
+ "path": "src/actions-menu/index.ts",
2950
3125
  "declarations": [],
2951
3126
  "exports": [
2952
- {
2953
- "kind": "js",
2954
- "name": "AiCriteriaSearch",
2955
- "declaration": {
2956
- "name": "AiCriteriaSearch",
2957
- "module": "./ai-criteria-search"
2958
- }
2959
- },
2960
- {
2961
- "kind": "js",
2962
- "name": "defaultAiCriteriaSearchConfig",
2963
- "declaration": {
2964
- "name": "defaultAiCriteriaSearchConfig",
2965
- "module": "./ai-criteria-search"
2966
- }
2967
- },
2968
- {
2969
- "kind": "js",
2970
- "name": "foundationAiCriteriaSearch",
2971
- "declaration": {
2972
- "name": "foundationAiCriteriaSearch",
2973
- "module": "./ai-criteria-search"
2974
- }
2975
- },
2976
- {
2977
- "kind": "js",
2978
- "name": "foundationAiCriteriaSearchShadowOptions",
2979
- "declaration": {
2980
- "name": "foundationAiCriteriaSearchShadowOptions",
2981
- "module": "./ai-criteria-search"
2982
- }
2983
- },
2984
- {
2985
- "kind": "js",
2986
- "name": "foundationAiCriteriaSearchStyles",
2987
- "declaration": {
2988
- "name": "foundationAiCriteriaSearchStyles",
2989
- "module": "./ai-criteria-search.styles"
2990
- }
2991
- },
2992
- {
2993
- "kind": "js",
2994
- "name": "foundationAiCriteriaSearchTemplate",
2995
- "declaration": {
2996
- "name": "foundationAiCriteriaSearchTemplate",
2997
- "module": "./ai-criteria-search.template"
2998
- }
2999
- },
3000
3127
  {
3001
3128
  "kind": "js",
3002
3129
  "name": "*",
3003
3130
  "declaration": {
3004
3131
  "name": "*",
3005
- "package": "./validation/criteria-ir"
3132
+ "package": "./actions-menu.styles"
3006
3133
  }
3007
3134
  },
3008
3135
  {
@@ -3010,7 +3137,7 @@
3010
3137
  "name": "*",
3011
3138
  "declaration": {
3012
3139
  "name": "*",
3013
- "package": "./validation/operator-map"
3140
+ "package": "./actions-menu.template"
3014
3141
  }
3015
3142
  },
3016
3143
  {
@@ -3018,357 +3145,223 @@
3018
3145
  "name": "*",
3019
3146
  "declaration": {
3020
3147
  "name": "*",
3021
- "package": "./validation/schema-validator"
3022
- }
3023
- }
3024
- ]
3025
- },
3026
- {
3027
- "kind": "javascript-module",
3028
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3029
- "declarations": [
3030
- {
3031
- "kind": "function",
3032
- "name": "formatValidationErrors",
3033
- "return": {
3034
- "type": {
3035
- "text": "string"
3036
- }
3037
- },
3038
- "parameters": [
3039
- {
3040
- "name": "errors",
3041
- "type": {
3042
- "text": "ValidationError[]"
3043
- }
3044
- }
3045
- ],
3046
- "description": "Formats validation errors into a user-friendly message."
3047
- },
3048
- {
3049
- "kind": "function",
3050
- "name": "showCriteriaError",
3051
- "return": {
3052
- "type": {
3053
- "text": "void"
3054
- }
3055
- },
3056
- "parameters": [
3057
- {
3058
- "name": "title",
3059
- "type": {
3060
- "text": "string"
3061
- },
3062
- "description": "Notification title (e.g. \"Criteria validation error\")"
3063
- },
3064
- {
3065
- "name": "body",
3066
- "type": {
3067
- "text": "string"
3068
- },
3069
- "description": "Error message to display"
3070
- },
3071
- {
3072
- "name": "tagName",
3073
- "type": {
3074
- "text": "string"
3075
- },
3076
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3077
- }
3078
- ],
3079
- "description": "Shows a criteria error as a toast notification."
3080
- }
3081
- ],
3082
- "exports": [
3083
- {
3084
- "kind": "js",
3085
- "name": "formatValidationErrors",
3086
- "declaration": {
3087
- "name": "formatValidationErrors",
3088
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3148
+ "package": "./actions-menu"
3089
3149
  }
3090
3150
  },
3091
3151
  {
3092
3152
  "kind": "js",
3093
- "name": "showCriteriaError",
3153
+ "name": "*",
3094
3154
  "declaration": {
3095
- "name": "showCriteriaError",
3096
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3155
+ "name": "*",
3156
+ "package": "./ag-menu.styles"
3097
3157
  }
3098
3158
  }
3099
3159
  ]
3100
3160
  },
3101
3161
  {
3102
3162
  "kind": "javascript-module",
3103
- "path": "src/accordion/accordion.styles.ts",
3104
- "declarations": [
3105
- {
3106
- "kind": "function",
3107
- "name": "foundationAccordionStyles",
3108
- "return": {
3109
- "type": {
3110
- "text": "ElementStyles"
3111
- }
3112
- },
3113
- "parameters": [
3114
- {
3115
- "name": "context",
3116
- "type": {
3117
- "text": "ElementDefinitionContext"
3118
- }
3119
- },
3120
- {
3121
- "name": "definition",
3122
- "type": {
3123
- "text": "FoundationElementDefinition"
3124
- }
3125
- }
3126
- ]
3163
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3164
+ "declarations": [
3165
+ {
3166
+ "kind": "variable",
3167
+ "name": "foundationAiCriteriaSearchStyles",
3168
+ "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`"
3127
3169
  }
3128
3170
  ],
3129
3171
  "exports": [
3130
3172
  {
3131
3173
  "kind": "js",
3132
- "name": "foundationAccordionStyles",
3174
+ "name": "foundationAiCriteriaSearchStyles",
3133
3175
  "declaration": {
3134
- "name": "foundationAccordionStyles",
3135
- "module": "src/accordion/accordion.styles.ts"
3176
+ "name": "foundationAiCriteriaSearchStyles",
3177
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3136
3178
  }
3137
3179
  }
3138
3180
  ]
3139
3181
  },
3140
3182
  {
3141
3183
  "kind": "javascript-module",
3142
- "path": "src/accordion/accordion.template.ts",
3184
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3143
3185
  "declarations": [
3144
3186
  {
3145
- "kind": "function",
3146
- "name": "foundationAccordionTemplate",
3147
- "return": {
3148
- "type": {
3149
- "text": "ViewTemplate<Accordion>"
3150
- }
3187
+ "kind": "variable",
3188
+ "name": "foundationAiCriteriaSearchTemplate",
3189
+ "type": {
3190
+ "text": "ViewTemplate<AiCriteriaSearch>"
3151
3191
  },
3152
- "parameters": [
3153
- {
3154
- "name": "context",
3155
- "type": {
3156
- "text": "ElementDefinitionContext"
3157
- }
3158
- },
3159
- {
3160
- "name": "definition",
3161
- "type": {
3162
- "text": "FoundationElementDefinition"
3163
- }
3164
- }
3165
- ]
3192
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3166
3193
  }
3167
3194
  ],
3168
3195
  "exports": [
3169
3196
  {
3170
3197
  "kind": "js",
3171
- "name": "foundationAccordionTemplate",
3198
+ "name": "foundationAiCriteriaSearchTemplate",
3172
3199
  "declaration": {
3173
- "name": "foundationAccordionTemplate",
3174
- "module": "src/accordion/accordion.template.ts"
3200
+ "name": "foundationAiCriteriaSearchTemplate",
3201
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3175
3202
  }
3176
3203
  }
3177
3204
  ]
3178
3205
  },
3179
3206
  {
3180
3207
  "kind": "javascript-module",
3181
- "path": "src/accordion/accordion.ts",
3208
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3182
3209
  "declarations": [
3183
3210
  {
3184
3211
  "kind": "class",
3185
- "description": "",
3186
- "name": "Accordion",
3187
- "superclass": {
3188
- "name": "FASTAccordion",
3189
- "package": "@microsoft/fast-foundation"
3190
- },
3191
- "tagName": "%%prefix%%-accordion",
3192
- "customElement": true,
3193
- "attributes": [
3212
+ "description": "Natural-language criteria search input with AI interpretation.",
3213
+ "name": "AiCriteriaSearch",
3214
+ "members": [
3194
3215
  {
3195
- "name": "expand-mode",
3216
+ "kind": "field",
3217
+ "name": "providerRegistry",
3196
3218
  "type": {
3197
- "text": "AccordionExpandMode"
3198
- },
3199
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3200
- "fieldName": "expandmode",
3201
- "inheritedFrom": {
3202
- "name": "Accordion",
3203
- "module": "src/accordion/accordion.ts"
3219
+ "text": "AIProviderRegistry"
3204
3220
  }
3205
- }
3206
- ],
3207
- "members": [
3221
+ },
3208
3222
  {
3209
3223
  "kind": "field",
3210
- "name": "expandmode",
3224
+ "name": "placeholder",
3211
3225
  "type": {
3212
- "text": "AccordionExpandMode"
3226
+ "text": "string"
3213
3227
  },
3214
- "privacy": "public",
3215
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3216
- "inheritedFrom": {
3217
- "name": "Accordion",
3218
- "module": "src/accordion/accordion.ts"
3228
+ "default": "'Describe your search criteria in natural language...'"
3229
+ },
3230
+ {
3231
+ "kind": "field",
3232
+ "name": "disabled",
3233
+ "type": {
3234
+ "text": "boolean"
3219
3235
  }
3220
3236
  },
3221
3237
  {
3222
3238
  "kind": "field",
3223
- "name": "activeid",
3239
+ "name": "inputValue",
3224
3240
  "type": {
3225
- "text": "string | null"
3241
+ "text": "string"
3226
3242
  },
3227
- "privacy": "private",
3228
- "inheritedFrom": {
3229
- "name": "Accordion",
3230
- "module": "src/accordion/accordion.ts"
3231
- }
3243
+ "default": "''"
3232
3244
  },
3233
3245
  {
3234
3246
  "kind": "field",
3235
- "name": "activeItemIndex",
3247
+ "name": "isInterpreting",
3236
3248
  "type": {
3237
- "text": "number"
3249
+ "text": "boolean"
3238
3250
  },
3239
- "privacy": "private",
3240
- "default": "0",
3241
- "inheritedFrom": {
3242
- "name": "Accordion",
3243
- "module": "src/accordion/accordion.ts"
3244
- }
3251
+ "default": "false"
3245
3252
  },
3246
3253
  {
3247
3254
  "kind": "field",
3248
- "name": "accordionIds",
3255
+ "name": "lastValidCriteria",
3249
3256
  "type": {
3250
- "text": "Array<string | null>"
3257
+ "text": "string | null"
3251
3258
  },
3252
- "privacy": "private",
3253
- "inheritedFrom": {
3254
- "name": "Accordion",
3255
- "module": "src/accordion/accordion.ts"
3256
- }
3259
+ "default": "null"
3257
3260
  },
3258
3261
  {
3259
3262
  "kind": "field",
3260
- "name": "change",
3261
- "privacy": "private",
3262
- "inheritedFrom": {
3263
- "name": "Accordion",
3264
- "module": "src/accordion/accordion.ts"
3265
- }
3263
+ "name": "activeGroups",
3264
+ "type": {
3265
+ "text": "CriteriaGroup[]"
3266
+ },
3267
+ "default": "[]"
3266
3268
  },
3267
3269
  {
3268
- "kind": "method",
3269
- "name": "findExpandedItem",
3270
- "privacy": "private",
3271
- "return": {
3272
- "type": {
3273
- "text": "AccordionItem | null"
3274
- }
3270
+ "kind": "field",
3271
+ "name": "showingChips",
3272
+ "type": {
3273
+ "text": "boolean"
3275
3274
  },
3276
- "inheritedFrom": {
3277
- "name": "Accordion",
3278
- "module": "src/accordion/accordion.ts"
3279
- }
3275
+ "default": "false"
3280
3276
  },
3281
3277
  {
3282
3278
  "kind": "field",
3283
- "name": "setItems",
3284
- "privacy": "private",
3285
- "inheritedFrom": {
3286
- "name": "Accordion",
3287
- "module": "src/accordion/accordion.ts"
3288
- }
3279
+ "name": "fieldMetadata",
3280
+ "type": {
3281
+ "text": "MetadataDetail[] | string[]"
3282
+ },
3283
+ "default": "[]"
3289
3284
  },
3290
3285
  {
3291
- "kind": "method",
3292
- "name": "resetItems",
3293
- "privacy": "private",
3294
- "return": {
3295
- "type": {
3296
- "text": "void"
3297
- }
3286
+ "kind": "field",
3287
+ "name": "isRecording",
3288
+ "type": {
3289
+ "text": "boolean"
3298
3290
  },
3299
- "inheritedFrom": {
3300
- "name": "Accordion",
3301
- "module": "src/accordion/accordion.ts"
3302
- }
3291
+ "default": "false"
3303
3292
  },
3304
3293
  {
3305
3294
  "kind": "field",
3306
- "name": "removeItemListeners",
3295
+ "name": "textAreaRef",
3296
+ "type": {
3297
+ "text": "HTMLTextAreaElement"
3298
+ },
3299
+ "privacy": "public"
3300
+ },
3301
+ {
3302
+ "kind": "field",
3303
+ "name": "stopRecording",
3304
+ "type": {
3305
+ "text": "(() => void) | null"
3306
+ },
3307
3307
  "privacy": "private",
3308
- "inheritedFrom": {
3309
- "name": "Accordion",
3310
- "module": "src/accordion/accordion.ts"
3311
- }
3308
+ "default": "null"
3312
3309
  },
3313
3310
  {
3314
3311
  "kind": "field",
3315
- "name": "activeItemChange",
3312
+ "name": "speechApplyDebounceTimer",
3313
+ "type": {
3314
+ "text": "ReturnType<typeof setTimeout> | null"
3315
+ },
3316
3316
  "privacy": "private",
3317
- "inheritedFrom": {
3318
- "name": "Accordion",
3319
- "module": "src/accordion/accordion.ts"
3320
- }
3317
+ "default": "null"
3318
+ },
3319
+ {
3320
+ "kind": "field",
3321
+ "name": "speechAvailable",
3322
+ "type": {
3323
+ "text": "boolean"
3324
+ },
3325
+ "readonly": true
3326
+ },
3327
+ {
3328
+ "kind": "field",
3329
+ "name": "criteriaChips",
3330
+ "type": {
3331
+ "text": "CriteriaChip[]"
3332
+ },
3333
+ "readonly": true
3321
3334
  },
3322
3335
  {
3323
3336
  "kind": "method",
3324
- "name": "getItemIds",
3337
+ "name": "getFieldLabel",
3325
3338
  "privacy": "private",
3326
3339
  "return": {
3327
3340
  "type": {
3328
- "text": "Array<string | null>"
3341
+ "text": "string"
3329
3342
  }
3330
3343
  },
3331
- "inheritedFrom": {
3332
- "name": "Accordion",
3333
- "module": "src/accordion/accordion.ts"
3334
- }
3344
+ "parameters": [
3345
+ {
3346
+ "name": "fieldName",
3347
+ "type": {
3348
+ "text": "string"
3349
+ }
3350
+ }
3351
+ ]
3335
3352
  },
3336
3353
  {
3337
3354
  "kind": "method",
3338
- "name": "isSingleExpandMode",
3339
- "privacy": "private",
3355
+ "name": "toggleCriteriaView",
3340
3356
  "return": {
3341
3357
  "type": {
3342
- "text": "boolean"
3358
+ "text": "void"
3343
3359
  }
3344
- },
3345
- "inheritedFrom": {
3346
- "name": "Accordion",
3347
- "module": "src/accordion/accordion.ts"
3348
- }
3349
- },
3350
- {
3351
- "kind": "field",
3352
- "name": "handleItemKeyDown",
3353
- "privacy": "private",
3354
- "inheritedFrom": {
3355
- "name": "Accordion",
3356
- "module": "src/accordion/accordion.ts"
3357
- }
3358
- },
3359
- {
3360
- "kind": "field",
3361
- "name": "handleItemFocus",
3362
- "privacy": "private",
3363
- "inheritedFrom": {
3364
- "name": "Accordion",
3365
- "module": "src/accordion/accordion.ts"
3366
3360
  }
3367
3361
  },
3368
3362
  {
3369
3363
  "kind": "method",
3370
- "name": "adjust",
3371
- "privacy": "private",
3364
+ "name": "removeChip",
3372
3365
  "return": {
3373
3366
  "type": {
3374
3367
  "text": "void"
@@ -3376,31 +3369,49 @@
3376
3369
  },
3377
3370
  "parameters": [
3378
3371
  {
3379
- "name": "adjustment",
3372
+ "name": "groupIndex",
3373
+ "type": {
3374
+ "text": "number"
3375
+ }
3376
+ },
3377
+ {
3378
+ "name": "clauseIndex",
3380
3379
  "type": {
3381
3380
  "text": "number"
3382
3381
  }
3383
3382
  }
3384
- ],
3385
- "inheritedFrom": {
3386
- "name": "Accordion",
3387
- "module": "src/accordion/accordion.ts"
3388
- }
3383
+ ]
3389
3384
  },
3390
3385
  {
3391
3386
  "kind": "method",
3392
- "name": "focusItem",
3393
- "privacy": "private",
3387
+ "name": "clearChips",
3394
3388
  "return": {
3395
3389
  "type": {
3396
3390
  "text": "void"
3397
3391
  }
3398
- },
3399
- "inheritedFrom": {
3400
- "name": "Accordion",
3401
- "module": "src/accordion/accordion.ts"
3402
3392
  }
3403
3393
  },
3394
+ {
3395
+ "kind": "method",
3396
+ "name": "handleSubmit"
3397
+ },
3398
+ {
3399
+ "kind": "method",
3400
+ "name": "handleBlur"
3401
+ },
3402
+ {
3403
+ "kind": "method",
3404
+ "name": "clear"
3405
+ },
3406
+ {
3407
+ "kind": "method",
3408
+ "name": "toggleSpeechInput"
3409
+ },
3410
+ {
3411
+ "kind": "method",
3412
+ "name": "clearSpeechApplyDebounce",
3413
+ "privacy": "private"
3414
+ },
3404
3415
  {
3405
3416
  "kind": "field",
3406
3417
  "name": "_presentation",
@@ -3515,26 +3526,48 @@
3515
3526
  ],
3516
3527
  "events": [
3517
3528
  {
3518
- "description": "Fires a custom 'change' event when the active item changes",
3519
- "name": "change",
3520
- "inheritedFrom": {
3521
- "name": "Accordion",
3522
- "module": "src/accordion/accordion.ts"
3523
- }
3529
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3530
+ "name": "criteria-changed"
3531
+ },
3532
+ {
3533
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3534
+ "name": "validation-errors"
3524
3535
  }
3525
- ]
3536
+ ],
3537
+ "attributes": [
3538
+ {
3539
+ "name": "placeholder",
3540
+ "type": {
3541
+ "text": "string"
3542
+ },
3543
+ "default": "'Describe your search criteria in natural language...'",
3544
+ "fieldName": "placeholder"
3545
+ },
3546
+ {
3547
+ "type": {
3548
+ "text": "boolean"
3549
+ },
3550
+ "fieldName": "disabled"
3551
+ }
3552
+ ],
3553
+ "superclass": {
3554
+ "name": "FoundationElement",
3555
+ "package": "@microsoft/fast-foundation"
3556
+ },
3557
+ "tagName": "%%prefix%%-ai-criteria-search",
3558
+ "customElement": true
3526
3559
  },
3527
3560
  {
3528
3561
  "kind": "variable",
3529
- "name": "foundationAccordionShadowOptions",
3562
+ "name": "foundationAiCriteriaSearchShadowOptions",
3530
3563
  "type": {
3531
3564
  "text": "ShadowRootInit"
3532
3565
  },
3533
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3566
+ "default": "undefined"
3534
3567
  },
3535
3568
  {
3536
3569
  "kind": "variable",
3537
- "name": "defaultAccordionConfig",
3570
+ "name": "defaultAiCriteriaSearchConfig",
3538
3571
  "type": {
3539
3572
  "text": "object"
3540
3573
  },
@@ -3542,57 +3575,103 @@
3542
3575
  },
3543
3576
  {
3544
3577
  "kind": "variable",
3545
- "name": "foundationAccordion",
3546
- "description": "The Foundation Accordion",
3547
- "privacy": "public"
3578
+ "name": "foundationAiCriteriaSearch"
3548
3579
  }
3549
3580
  ],
3550
3581
  "exports": [
3551
3582
  {
3552
3583
  "kind": "js",
3553
- "name": "Accordion",
3584
+ "name": "AiCriteriaSearch",
3554
3585
  "declaration": {
3555
- "name": "Accordion",
3556
- "module": "src/accordion/accordion.ts"
3586
+ "name": "AiCriteriaSearch",
3587
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3557
3588
  }
3558
3589
  },
3559
3590
  {
3560
3591
  "kind": "js",
3561
- "name": "foundationAccordionShadowOptions",
3592
+ "name": "foundationAiCriteriaSearchShadowOptions",
3562
3593
  "declaration": {
3563
- "name": "foundationAccordionShadowOptions",
3564
- "module": "src/accordion/accordion.ts"
3594
+ "name": "foundationAiCriteriaSearchShadowOptions",
3595
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3565
3596
  }
3566
3597
  },
3567
3598
  {
3568
3599
  "kind": "js",
3569
- "name": "defaultAccordionConfig",
3600
+ "name": "defaultAiCriteriaSearchConfig",
3570
3601
  "declaration": {
3571
- "name": "defaultAccordionConfig",
3572
- "module": "src/accordion/accordion.ts"
3602
+ "name": "defaultAiCriteriaSearchConfig",
3603
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3573
3604
  }
3574
3605
  },
3575
3606
  {
3576
3607
  "kind": "js",
3577
- "name": "foundationAccordion",
3608
+ "name": "foundationAiCriteriaSearch",
3578
3609
  "declaration": {
3579
- "name": "foundationAccordion",
3580
- "module": "src/accordion/accordion.ts"
3610
+ "name": "foundationAiCriteriaSearch",
3611
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3581
3612
  }
3582
3613
  }
3583
3614
  ]
3584
3615
  },
3585
3616
  {
3586
3617
  "kind": "javascript-module",
3587
- "path": "src/accordion/index.ts",
3618
+ "path": "src/ai-criteria-search/index.ts",
3588
3619
  "declarations": [],
3589
3620
  "exports": [
3621
+ {
3622
+ "kind": "js",
3623
+ "name": "AiCriteriaSearch",
3624
+ "declaration": {
3625
+ "name": "AiCriteriaSearch",
3626
+ "module": "./ai-criteria-search"
3627
+ }
3628
+ },
3629
+ {
3630
+ "kind": "js",
3631
+ "name": "defaultAiCriteriaSearchConfig",
3632
+ "declaration": {
3633
+ "name": "defaultAiCriteriaSearchConfig",
3634
+ "module": "./ai-criteria-search"
3635
+ }
3636
+ },
3637
+ {
3638
+ "kind": "js",
3639
+ "name": "foundationAiCriteriaSearch",
3640
+ "declaration": {
3641
+ "name": "foundationAiCriteriaSearch",
3642
+ "module": "./ai-criteria-search"
3643
+ }
3644
+ },
3645
+ {
3646
+ "kind": "js",
3647
+ "name": "foundationAiCriteriaSearchShadowOptions",
3648
+ "declaration": {
3649
+ "name": "foundationAiCriteriaSearchShadowOptions",
3650
+ "module": "./ai-criteria-search"
3651
+ }
3652
+ },
3653
+ {
3654
+ "kind": "js",
3655
+ "name": "foundationAiCriteriaSearchStyles",
3656
+ "declaration": {
3657
+ "name": "foundationAiCriteriaSearchStyles",
3658
+ "module": "./ai-criteria-search.styles"
3659
+ }
3660
+ },
3661
+ {
3662
+ "kind": "js",
3663
+ "name": "foundationAiCriteriaSearchTemplate",
3664
+ "declaration": {
3665
+ "name": "foundationAiCriteriaSearchTemplate",
3666
+ "module": "./ai-criteria-search.template"
3667
+ }
3668
+ },
3590
3669
  {
3591
3670
  "kind": "js",
3592
3671
  "name": "*",
3593
3672
  "declaration": {
3594
3673
  "name": "*",
3595
- "package": "./accordion.template"
3674
+ "package": "./validation/criteria-ir"
3596
3675
  }
3597
3676
  },
3598
3677
  {
@@ -3600,7 +3679,7 @@
3600
3679
  "name": "*",
3601
3680
  "declaration": {
3602
3681
  "name": "*",
3603
- "package": "./accordion.styles"
3682
+ "package": "./validation/operator-map"
3604
3683
  }
3605
3684
  },
3606
3685
  {
@@ -3608,7 +3687,82 @@
3608
3687
  "name": "*",
3609
3688
  "declaration": {
3610
3689
  "name": "*",
3611
- "package": "./accordion"
3690
+ "package": "./validation/schema-validator"
3691
+ }
3692
+ }
3693
+ ]
3694
+ },
3695
+ {
3696
+ "kind": "javascript-module",
3697
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3698
+ "declarations": [
3699
+ {
3700
+ "kind": "function",
3701
+ "name": "formatValidationErrors",
3702
+ "return": {
3703
+ "type": {
3704
+ "text": "string"
3705
+ }
3706
+ },
3707
+ "parameters": [
3708
+ {
3709
+ "name": "errors",
3710
+ "type": {
3711
+ "text": "ValidationError[]"
3712
+ }
3713
+ }
3714
+ ],
3715
+ "description": "Formats validation errors into a user-friendly message."
3716
+ },
3717
+ {
3718
+ "kind": "function",
3719
+ "name": "showCriteriaError",
3720
+ "return": {
3721
+ "type": {
3722
+ "text": "void"
3723
+ }
3724
+ },
3725
+ "parameters": [
3726
+ {
3727
+ "name": "title",
3728
+ "type": {
3729
+ "text": "string"
3730
+ },
3731
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3732
+ },
3733
+ {
3734
+ "name": "body",
3735
+ "type": {
3736
+ "text": "string"
3737
+ },
3738
+ "description": "Error message to display"
3739
+ },
3740
+ {
3741
+ "name": "tagName",
3742
+ "type": {
3743
+ "text": "string"
3744
+ },
3745
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3746
+ }
3747
+ ],
3748
+ "description": "Shows a criteria error as a toast notification."
3749
+ }
3750
+ ],
3751
+ "exports": [
3752
+ {
3753
+ "kind": "js",
3754
+ "name": "formatValidationErrors",
3755
+ "declaration": {
3756
+ "name": "formatValidationErrors",
3757
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3758
+ }
3759
+ },
3760
+ {
3761
+ "kind": "js",
3762
+ "name": "showCriteriaError",
3763
+ "declaration": {
3764
+ "name": "showCriteriaError",
3765
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3612
3766
  }
3613
3767
  }
3614
3768
  ]
@@ -59719,6 +59873,12 @@
59719
59873
  }
59720
59874
  ]
59721
59875
  },
59876
+ {
59877
+ "kind": "javascript-module",
59878
+ "path": "src/utils/popover-position.ts",
59879
+ "declarations": [],
59880
+ "exports": []
59881
+ },
59722
59882
  {
59723
59883
  "kind": "javascript-module",
59724
59884
  "path": "src/utils/tooltip.ts",