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