@genesislcap/foundation-ui 15.7.1 → 15.7.2-FUI-2595.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.
@@ -1849,203 +1849,115 @@
1849
1849
  },
1850
1850
  {
1851
1851
  "kind": "javascript-module",
1852
- "path": "src/actions-menu/actions-menu.styles.ts",
1852
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1853
1853
  "declarations": [
1854
1854
  {
1855
- "kind": "function",
1856
- "name": "actionsMenuBaseStyles",
1857
- "return": {
1858
- "type": {
1859
- "text": "ElementStyles"
1860
- }
1861
- },
1862
- "parameters": [
1863
- {
1864
- "name": "context",
1865
- "type": {
1866
- "text": "ElementDefinitionContext"
1867
- }
1868
- },
1869
- {
1870
- "name": "definition",
1871
- "type": {
1872
- "text": "FoundationElementDefinition"
1873
- }
1874
- }
1875
- ]
1876
- },
1877
- {
1878
- "kind": "function",
1879
- "name": "foundationActionsMenuStyles",
1880
- "return": {
1881
- "type": {
1882
- "text": "ElementStyles"
1883
- }
1884
- },
1885
- "parameters": [
1886
- {
1887
- "name": "context",
1888
- "type": {
1889
- "text": "ElementDefinitionContext"
1890
- }
1891
- },
1892
- {
1893
- "name": "definition",
1894
- "type": {
1895
- "text": "FoundationElementDefinition"
1896
- }
1897
- }
1898
- ]
1855
+ "kind": "variable",
1856
+ "name": "foundationAiCriteriaSearchStyles",
1857
+ "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`"
1899
1858
  }
1900
1859
  ],
1901
1860
  "exports": [
1902
1861
  {
1903
1862
  "kind": "js",
1904
- "name": "actionsMenuBaseStyles",
1905
- "declaration": {
1906
- "name": "actionsMenuBaseStyles",
1907
- "module": "src/actions-menu/actions-menu.styles.ts"
1908
- }
1909
- },
1910
- {
1911
- "kind": "js",
1912
- "name": "foundationActionsMenuStyles",
1863
+ "name": "foundationAiCriteriaSearchStyles",
1913
1864
  "declaration": {
1914
- "name": "foundationActionsMenuStyles",
1915
- "module": "src/actions-menu/actions-menu.styles.ts"
1865
+ "name": "foundationAiCriteriaSearchStyles",
1866
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1916
1867
  }
1917
1868
  }
1918
1869
  ]
1919
1870
  },
1920
1871
  {
1921
1872
  "kind": "javascript-module",
1922
- "path": "src/actions-menu/actions-menu.template.ts",
1873
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1923
1874
  "declarations": [
1924
- {
1925
- "kind": "function",
1926
- "name": "menuTemplate",
1927
- "parameters": [
1928
- {
1929
- "name": "prefix",
1930
- "type": {
1931
- "text": "string"
1932
- }
1933
- }
1934
- ]
1935
- },
1936
- {
1937
- "kind": "function",
1938
- "name": "singleOptionTemplate",
1939
- "parameters": [
1940
- {
1941
- "name": "prefix",
1942
- "type": {
1943
- "text": "string"
1944
- }
1945
- }
1946
- ]
1947
- },
1948
1875
  {
1949
1876
  "kind": "variable",
1950
- "name": "foundationActionsMenuTemplate",
1877
+ "name": "foundationAiCriteriaSearchTemplate",
1951
1878
  "type": {
1952
- "text": "ViewTemplate<ActionsMenu>"
1879
+ "text": "ViewTemplate<AiCriteriaSearch>"
1953
1880
  },
1954
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1881
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1955
1882
  }
1956
1883
  ],
1957
1884
  "exports": [
1958
1885
  {
1959
1886
  "kind": "js",
1960
- "name": "menuTemplate",
1961
- "declaration": {
1962
- "name": "menuTemplate",
1963
- "module": "src/actions-menu/actions-menu.template.ts"
1964
- }
1965
- },
1966
- {
1967
- "kind": "js",
1968
- "name": "singleOptionTemplate",
1969
- "declaration": {
1970
- "name": "singleOptionTemplate",
1971
- "module": "src/actions-menu/actions-menu.template.ts"
1972
- }
1973
- },
1974
- {
1975
- "kind": "js",
1976
- "name": "foundationActionsMenuTemplate",
1887
+ "name": "foundationAiCriteriaSearchTemplate",
1977
1888
  "declaration": {
1978
- "name": "foundationActionsMenuTemplate",
1979
- "module": "src/actions-menu/actions-menu.template.ts"
1889
+ "name": "foundationAiCriteriaSearchTemplate",
1890
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1980
1891
  }
1981
1892
  }
1982
1893
  ]
1983
1894
  },
1984
1895
  {
1985
1896
  "kind": "javascript-module",
1986
- "path": "src/actions-menu/actions-menu.ts",
1897
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1987
1898
  "declarations": [
1988
1899
  {
1989
1900
  "kind": "class",
1990
- "description": "",
1991
- "name": "ActionsMenu",
1901
+ "description": "Natural-language criteria search input with AI interpretation.",
1902
+ "name": "AiCriteriaSearch",
1992
1903
  "members": [
1993
1904
  {
1994
1905
  "kind": "field",
1995
- "name": "actions",
1906
+ "name": "providerRegistry",
1996
1907
  "type": {
1997
- "text": "ActionMenuItem[]"
1908
+ "text": "AIProviderRegistry"
1998
1909
  }
1999
1910
  },
2000
1911
  {
2001
1912
  "kind": "field",
2002
- "name": "isVertical",
1913
+ "name": "placeholder",
2003
1914
  "type": {
2004
- "text": "boolean"
1915
+ "text": "string"
2005
1916
  },
2006
- "default": "false"
1917
+ "default": "'Describe your search criteria in natural language...'"
2007
1918
  },
2008
1919
  {
2009
1920
  "kind": "field",
2010
- "name": "addDefaultActions",
1921
+ "name": "disabled",
2011
1922
  "type": {
2012
1923
  "text": "boolean"
2013
- },
2014
- "default": "true"
1924
+ }
2015
1925
  },
2016
1926
  {
2017
1927
  "kind": "field",
2018
- "name": "autoCloseOnAction",
1928
+ "name": "inputValue",
2019
1929
  "type": {
2020
- "text": "boolean"
1930
+ "text": "string"
2021
1931
  },
2022
- "default": "true"
1932
+ "default": "''"
2023
1933
  },
2024
1934
  {
2025
1935
  "kind": "field",
2026
- "name": "classNames",
1936
+ "name": "isInterpreting",
2027
1937
  "type": {
2028
- "text": "string"
2029
- }
1938
+ "text": "boolean"
1939
+ },
1940
+ "default": "false"
2030
1941
  },
2031
1942
  {
2032
1943
  "kind": "field",
2033
- "name": "definition",
1944
+ "name": "lastValidCriteria",
2034
1945
  "type": {
2035
- "text": "any"
2036
- }
1946
+ "text": "string | null"
1947
+ },
1948
+ "default": "null"
2037
1949
  },
2038
1950
  {
2039
1951
  "kind": "field",
2040
- "name": "name",
1952
+ "name": "activeGroups",
2041
1953
  "type": {
2042
- "text": "string"
1954
+ "text": "CriteriaGroup[]"
2043
1955
  },
2044
- "default": "'Actions'"
1956
+ "default": "[]"
2045
1957
  },
2046
1958
  {
2047
1959
  "kind": "field",
2048
- "name": "open",
1960
+ "name": "showingChips",
2049
1961
  "type": {
2050
1962
  "text": "boolean"
2051
1963
  },
@@ -2053,14 +1965,15 @@
2053
1965
  },
2054
1966
  {
2055
1967
  "kind": "field",
2056
- "name": "buttonAppearance",
1968
+ "name": "fieldMetadata",
2057
1969
  "type": {
2058
- "text": "string"
2059
- }
1970
+ "text": "MetadataDetail[] | string[]"
1971
+ },
1972
+ "default": "[]"
2060
1973
  },
2061
1974
  {
2062
1975
  "kind": "field",
2063
- "name": "hideDisabled",
1976
+ "name": "isRecording",
2064
1977
  "type": {
2065
1978
  "text": "boolean"
2066
1979
  },
@@ -2068,114 +1981,125 @@
2068
1981
  },
2069
1982
  {
2070
1983
  "kind": "field",
2071
- "name": "hideMenuSingleOption",
1984
+ "name": "textAreaRef",
2072
1985
  "type": {
2073
- "text": "boolean"
1986
+ "text": "HTMLTextAreaElement"
2074
1987
  },
2075
- "default": "false"
1988
+ "privacy": "public"
2076
1989
  },
2077
1990
  {
2078
1991
  "kind": "field",
2079
- "name": "singleOption",
1992
+ "name": "stopRecording",
2080
1993
  "type": {
2081
- "text": "ActionMenuItem"
2082
- }
1994
+ "text": "(() => void) | null"
1995
+ },
1996
+ "privacy": "private",
1997
+ "default": "null"
2083
1998
  },
2084
1999
  {
2085
2000
  "kind": "field",
2086
- "name": "actionsMenu",
2001
+ "name": "speechApplyDebounceTimer",
2087
2002
  "type": {
2088
- "text": "HTMLElement"
2089
- }
2003
+ "text": "ReturnType<typeof setTimeout> | null"
2004
+ },
2005
+ "privacy": "private",
2006
+ "default": "null"
2090
2007
  },
2091
2008
  {
2092
2009
  "kind": "field",
2093
- "name": "actionsOpener",
2010
+ "name": "speechAvailable",
2094
2011
  "type": {
2095
- "text": "HTMLElement"
2096
- }
2012
+ "text": "boolean"
2013
+ },
2014
+ "readonly": true
2097
2015
  },
2098
2016
  {
2099
- "kind": "method",
2100
- "name": "updateMenuPosition",
2101
- "privacy": "private"
2017
+ "kind": "field",
2018
+ "name": "criteriaChips",
2019
+ "type": {
2020
+ "text": "CriteriaChip[]"
2021
+ },
2022
+ "readonly": true
2102
2023
  },
2103
2024
  {
2104
2025
  "kind": "method",
2105
- "name": "definitionChanged",
2106
- "privacy": "protected",
2026
+ "name": "getFieldLabel",
2027
+ "privacy": "private",
2028
+ "return": {
2029
+ "type": {
2030
+ "text": "string"
2031
+ }
2032
+ },
2107
2033
  "parameters": [
2108
2034
  {
2109
- "name": "oldValue",
2110
- "type": {
2111
- "text": "any"
2112
- }
2113
- },
2114
- {
2115
- "name": "newValue",
2035
+ "name": "fieldName",
2116
2036
  "type": {
2117
- "text": "any"
2037
+ "text": "string"
2118
2038
  }
2119
2039
  }
2120
2040
  ]
2121
2041
  },
2122
2042
  {
2123
2043
  "kind": "method",
2124
- "name": "openChanged",
2125
- "privacy": "protected"
2126
- },
2127
- {
2128
- "kind": "method",
2129
- "name": "toggleActionsMenuVisibility"
2044
+ "name": "toggleCriteriaView",
2045
+ "return": {
2046
+ "type": {
2047
+ "text": "void"
2048
+ }
2049
+ }
2130
2050
  },
2131
2051
  {
2132
2052
  "kind": "method",
2133
- "name": "onActionMenuItemClick",
2053
+ "name": "removeChip",
2054
+ "return": {
2055
+ "type": {
2056
+ "text": "void"
2057
+ }
2058
+ },
2134
2059
  "parameters": [
2135
2060
  {
2136
- "name": "callback",
2061
+ "name": "groupIndex",
2137
2062
  "type": {
2138
- "text": "(rowData) => void | any"
2063
+ "text": "number"
2139
2064
  }
2140
- }
2065
+ },
2066
+ {
2067
+ "name": "clauseIndex",
2068
+ "type": {
2069
+ "text": "number"
2070
+ }
2071
+ }
2141
2072
  ]
2142
2073
  },
2143
2074
  {
2144
- "kind": "field",
2145
- "name": "allActions",
2146
- "type": {
2147
- "text": "ActionMenuItem[]"
2148
- },
2149
- "readonly": true
2075
+ "kind": "method",
2076
+ "name": "clearChips",
2077
+ "return": {
2078
+ "type": {
2079
+ "text": "void"
2080
+ }
2081
+ }
2150
2082
  },
2151
2083
  {
2152
- "kind": "field",
2153
- "name": "rowData",
2154
- "readonly": true
2084
+ "kind": "method",
2085
+ "name": "handleSubmit"
2155
2086
  },
2156
2087
  {
2157
2088
  "kind": "method",
2158
- "name": "getLabel",
2159
- "parameters": [
2160
- {
2161
- "name": "name",
2162
- "type": {
2163
- "text": "string | ((rowData: any) => string)"
2164
- }
2165
- }
2166
- ]
2089
+ "name": "handleBlur"
2167
2090
  },
2168
2091
  {
2169
2092
  "kind": "method",
2170
- "name": "getTemplate",
2171
- "parameters": [
2172
- {
2173
- "name": "prefix",
2174
- "type": {
2175
- "text": "string"
2176
- }
2177
- }
2178
- ]
2093
+ "name": "clear"
2094
+ },
2095
+ {
2096
+ "kind": "method",
2097
+ "name": "toggleSpeechInput"
2098
+ },
2099
+ {
2100
+ "kind": "method",
2101
+ "name": "clearSpeechApplyDebounce",
2102
+ "privacy": "private"
2179
2103
  },
2180
2104
  {
2181
2105
  "kind": "field",
@@ -2289,115 +2213,154 @@
2289
2213
  }
2290
2214
  }
2291
2215
  ],
2292
- "attributes": [
2293
- {
2294
- "name": "is-vertical",
2295
- "type": {
2296
- "text": "boolean"
2297
- },
2298
- "default": "false",
2299
- "fieldName": "isVertical"
2300
- },
2301
- {
2302
- "name": "add-default-actions",
2303
- "type": {
2304
- "text": "boolean"
2305
- },
2306
- "default": "true",
2307
- "fieldName": "addDefaultActions"
2308
- },
2309
- {
2310
- "name": "auto-close-on-action",
2311
- "type": {
2312
- "text": "boolean"
2313
- },
2314
- "default": "true",
2315
- "fieldName": "autoCloseOnAction"
2316
- },
2216
+ "events": [
2317
2217
  {
2318
- "name": "name",
2319
- "type": {
2320
- "text": "string"
2321
- },
2322
- "default": "'Actions'",
2323
- "fieldName": "name"
2218
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2219
+ "name": "criteria-changed"
2324
2220
  },
2325
2221
  {
2326
- "name": "open",
2327
- "type": {
2328
- "text": "boolean"
2329
- },
2330
- "default": "false",
2331
- "fieldName": "open"
2332
- },
2222
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2223
+ "name": "validation-errors"
2224
+ }
2225
+ ],
2226
+ "attributes": [
2333
2227
  {
2334
- "name": "buttonAppearance",
2228
+ "name": "placeholder",
2335
2229
  "type": {
2336
2230
  "text": "string"
2337
2231
  },
2338
- "fieldName": "buttonAppearance"
2339
- },
2340
- {
2341
- "name": "hide-disabled",
2342
- "type": {
2343
- "text": "boolean"
2344
- },
2345
- "default": "false",
2346
- "fieldName": "hideDisabled"
2232
+ "default": "'Describe your search criteria in natural language...'",
2233
+ "fieldName": "placeholder"
2347
2234
  },
2348
2235
  {
2349
- "name": "hide-menu-single-option",
2350
2236
  "type": {
2351
2237
  "text": "boolean"
2352
2238
  },
2353
- "default": "false",
2354
- "fieldName": "hideMenuSingleOption"
2239
+ "fieldName": "disabled"
2355
2240
  }
2356
2241
  ],
2357
2242
  "superclass": {
2358
2243
  "name": "FoundationElement",
2359
2244
  "package": "@microsoft/fast-foundation"
2360
2245
  },
2361
- "tagName": "%%prefix%%-actions-menu",
2246
+ "tagName": "%%prefix%%-ai-criteria-search",
2362
2247
  "customElement": true
2363
2248
  },
2364
2249
  {
2365
2250
  "kind": "variable",
2366
- "name": "foundationActionsMenu",
2367
- "description": "The Foundation Actions Menu",
2368
- "privacy": "public"
2251
+ "name": "foundationAiCriteriaSearchShadowOptions",
2252
+ "type": {
2253
+ "text": "ShadowRootInit"
2254
+ },
2255
+ "default": "undefined"
2256
+ },
2257
+ {
2258
+ "kind": "variable",
2259
+ "name": "defaultAiCriteriaSearchConfig",
2260
+ "type": {
2261
+ "text": "object"
2262
+ },
2263
+ "default": "{}"
2264
+ },
2265
+ {
2266
+ "kind": "variable",
2267
+ "name": "foundationAiCriteriaSearch"
2369
2268
  }
2370
2269
  ],
2371
2270
  "exports": [
2372
2271
  {
2373
2272
  "kind": "js",
2374
- "name": "ActionsMenu",
2273
+ "name": "AiCriteriaSearch",
2375
2274
  "declaration": {
2376
- "name": "ActionsMenu",
2377
- "module": "src/actions-menu/actions-menu.ts"
2275
+ "name": "AiCriteriaSearch",
2276
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2378
2277
  }
2379
2278
  },
2380
2279
  {
2381
2280
  "kind": "js",
2382
- "name": "foundationActionsMenu",
2281
+ "name": "foundationAiCriteriaSearchShadowOptions",
2383
2282
  "declaration": {
2384
- "name": "foundationActionsMenu",
2385
- "module": "src/actions-menu/actions-menu.ts"
2283
+ "name": "foundationAiCriteriaSearchShadowOptions",
2284
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2285
+ }
2286
+ },
2287
+ {
2288
+ "kind": "js",
2289
+ "name": "defaultAiCriteriaSearchConfig",
2290
+ "declaration": {
2291
+ "name": "defaultAiCriteriaSearchConfig",
2292
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2293
+ }
2294
+ },
2295
+ {
2296
+ "kind": "js",
2297
+ "name": "foundationAiCriteriaSearch",
2298
+ "declaration": {
2299
+ "name": "foundationAiCriteriaSearch",
2300
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2386
2301
  }
2387
2302
  }
2388
2303
  ]
2389
2304
  },
2390
2305
  {
2391
2306
  "kind": "javascript-module",
2392
- "path": "src/actions-menu/index.ts",
2307
+ "path": "src/ai-criteria-search/index.ts",
2393
2308
  "declarations": [],
2394
2309
  "exports": [
2310
+ {
2311
+ "kind": "js",
2312
+ "name": "AiCriteriaSearch",
2313
+ "declaration": {
2314
+ "name": "AiCriteriaSearch",
2315
+ "module": "./ai-criteria-search"
2316
+ }
2317
+ },
2318
+ {
2319
+ "kind": "js",
2320
+ "name": "defaultAiCriteriaSearchConfig",
2321
+ "declaration": {
2322
+ "name": "defaultAiCriteriaSearchConfig",
2323
+ "module": "./ai-criteria-search"
2324
+ }
2325
+ },
2326
+ {
2327
+ "kind": "js",
2328
+ "name": "foundationAiCriteriaSearch",
2329
+ "declaration": {
2330
+ "name": "foundationAiCriteriaSearch",
2331
+ "module": "./ai-criteria-search"
2332
+ }
2333
+ },
2334
+ {
2335
+ "kind": "js",
2336
+ "name": "foundationAiCriteriaSearchShadowOptions",
2337
+ "declaration": {
2338
+ "name": "foundationAiCriteriaSearchShadowOptions",
2339
+ "module": "./ai-criteria-search"
2340
+ }
2341
+ },
2342
+ {
2343
+ "kind": "js",
2344
+ "name": "foundationAiCriteriaSearchStyles",
2345
+ "declaration": {
2346
+ "name": "foundationAiCriteriaSearchStyles",
2347
+ "module": "./ai-criteria-search.styles"
2348
+ }
2349
+ },
2350
+ {
2351
+ "kind": "js",
2352
+ "name": "foundationAiCriteriaSearchTemplate",
2353
+ "declaration": {
2354
+ "name": "foundationAiCriteriaSearchTemplate",
2355
+ "module": "./ai-criteria-search.template"
2356
+ }
2357
+ },
2395
2358
  {
2396
2359
  "kind": "js",
2397
2360
  "name": "*",
2398
2361
  "declaration": {
2399
2362
  "name": "*",
2400
- "package": "./actions-menu.styles"
2363
+ "package": "./validation/criteria-ir"
2401
2364
  }
2402
2365
  },
2403
2366
  {
@@ -2405,7 +2368,7 @@
2405
2368
  "name": "*",
2406
2369
  "declaration": {
2407
2370
  "name": "*",
2408
- "package": "./actions-menu.template"
2371
+ "package": "./validation/operator-map"
2409
2372
  }
2410
2373
  },
2411
2374
  {
@@ -2413,60 +2376,96 @@
2413
2376
  "name": "*",
2414
2377
  "declaration": {
2415
2378
  "name": "*",
2416
- "package": "./actions-menu"
2379
+ "package": "./validation/schema-validator"
2417
2380
  }
2418
2381
  }
2419
2382
  ]
2420
2383
  },
2421
2384
  {
2422
2385
  "kind": "javascript-module",
2423
- "path": "src/accordion/accordion.styles.ts",
2386
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2424
2387
  "declarations": [
2425
2388
  {
2426
2389
  "kind": "function",
2427
- "name": "foundationAccordionStyles",
2390
+ "name": "formatValidationErrors",
2428
2391
  "return": {
2429
2392
  "type": {
2430
- "text": "ElementStyles"
2393
+ "text": "string"
2431
2394
  }
2432
2395
  },
2433
2396
  "parameters": [
2434
2397
  {
2435
- "name": "context",
2398
+ "name": "errors",
2436
2399
  "type": {
2437
- "text": "ElementDefinitionContext"
2400
+ "text": "ValidationError[]"
2438
2401
  }
2402
+ }
2403
+ ],
2404
+ "description": "Formats validation errors into a user-friendly message."
2405
+ },
2406
+ {
2407
+ "kind": "function",
2408
+ "name": "showCriteriaError",
2409
+ "return": {
2410
+ "type": {
2411
+ "text": "void"
2412
+ }
2413
+ },
2414
+ "parameters": [
2415
+ {
2416
+ "name": "title",
2417
+ "type": {
2418
+ "text": "string"
2419
+ },
2420
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2439
2421
  },
2440
2422
  {
2441
- "name": "definition",
2423
+ "name": "body",
2442
2424
  "type": {
2443
- "text": "FoundationElementDefinition"
2444
- }
2425
+ "text": "string"
2426
+ },
2427
+ "description": "Error message to display"
2428
+ },
2429
+ {
2430
+ "name": "tagName",
2431
+ "type": {
2432
+ "text": "string"
2433
+ },
2434
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2445
2435
  }
2446
- ]
2436
+ ],
2437
+ "description": "Shows a criteria error as a toast notification."
2447
2438
  }
2448
2439
  ],
2449
2440
  "exports": [
2450
2441
  {
2451
2442
  "kind": "js",
2452
- "name": "foundationAccordionStyles",
2443
+ "name": "formatValidationErrors",
2453
2444
  "declaration": {
2454
- "name": "foundationAccordionStyles",
2455
- "module": "src/accordion/accordion.styles.ts"
2445
+ "name": "formatValidationErrors",
2446
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2447
+ }
2448
+ },
2449
+ {
2450
+ "kind": "js",
2451
+ "name": "showCriteriaError",
2452
+ "declaration": {
2453
+ "name": "showCriteriaError",
2454
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2456
2455
  }
2457
2456
  }
2458
2457
  ]
2459
2458
  },
2460
2459
  {
2461
2460
  "kind": "javascript-module",
2462
- "path": "src/accordion/accordion.template.ts",
2461
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2463
2462
  "declarations": [
2464
2463
  {
2465
2464
  "kind": "function",
2466
- "name": "foundationAccordionTemplate",
2465
+ "name": "foundationAiIndicatorStyles",
2467
2466
  "return": {
2468
2467
  "type": {
2469
- "text": "ViewTemplate<Accordion>"
2468
+ "text": "ElementStyles"
2470
2469
  }
2471
2470
  },
2472
2471
  "parameters": [
@@ -2488,237 +2487,224 @@
2488
2487
  "exports": [
2489
2488
  {
2490
2489
  "kind": "js",
2491
- "name": "foundationAccordionTemplate",
2490
+ "name": "foundationAiIndicatorStyles",
2492
2491
  "declaration": {
2493
- "name": "foundationAccordionTemplate",
2494
- "module": "src/accordion/accordion.template.ts"
2492
+ "name": "foundationAiIndicatorStyles",
2493
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2495
2494
  }
2496
2495
  }
2497
2496
  ]
2498
2497
  },
2499
2498
  {
2500
2499
  "kind": "javascript-module",
2501
- "path": "src/accordion/accordion.ts",
2500
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2501
+ "declarations": [
2502
+ {
2503
+ "kind": "variable",
2504
+ "name": "foundationAiIndicatorTemplate",
2505
+ "type": {
2506
+ "text": "ViewTemplate<AiIndicator>"
2507
+ },
2508
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2509
+ }
2510
+ ],
2511
+ "exports": [
2512
+ {
2513
+ "kind": "js",
2514
+ "name": "foundationAiIndicatorTemplate",
2515
+ "declaration": {
2516
+ "name": "foundationAiIndicatorTemplate",
2517
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2518
+ }
2519
+ }
2520
+ ]
2521
+ },
2522
+ {
2523
+ "kind": "javascript-module",
2524
+ "path": "src/ai-indicator/ai-indicator.ts",
2502
2525
  "declarations": [
2503
2526
  {
2504
2527
  "kind": "class",
2505
2528
  "description": "",
2506
- "name": "Accordion",
2507
- "superclass": {
2508
- "name": "FASTAccordion",
2509
- "package": "@microsoft/fast-foundation"
2510
- },
2511
- "tagName": "%%prefix%%-accordion",
2512
- "customElement": true,
2513
- "attributes": [
2529
+ "name": "AiIndicator",
2530
+ "members": [
2514
2531
  {
2515
- "name": "expand-mode",
2532
+ "kind": "field",
2533
+ "name": "providerRegistry",
2516
2534
  "type": {
2517
- "text": "AccordionExpandMode"
2518
- },
2519
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2520
- "fieldName": "expandmode",
2521
- "inheritedFrom": {
2522
- "name": "Accordion",
2523
- "module": "src/accordion/accordion.ts"
2535
+ "text": "AIProviderRegistry"
2524
2536
  }
2525
- }
2526
- ],
2527
- "members": [
2537
+ },
2528
2538
  {
2529
2539
  "kind": "field",
2530
- "name": "expandmode",
2540
+ "name": "aiProvider",
2531
2541
  "type": {
2532
- "text": "AccordionExpandMode"
2542
+ "text": "AIProvider | undefined"
2533
2543
  },
2534
- "privacy": "public",
2535
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2536
- "inheritedFrom": {
2537
- "name": "Accordion",
2538
- "module": "src/accordion/accordion.ts"
2539
- }
2544
+ "privacy": "private",
2545
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2546
+ "readonly": true
2540
2547
  },
2541
2548
  {
2542
2549
  "kind": "field",
2543
- "name": "activeid",
2550
+ "name": "status",
2544
2551
  "type": {
2545
- "text": "string | null"
2552
+ "text": "AIStatus | null"
2546
2553
  },
2547
- "privacy": "private",
2548
- "inheritedFrom": {
2549
- "name": "Accordion",
2550
- "module": "src/accordion/accordion.ts"
2551
- }
2554
+ "default": "null"
2552
2555
  },
2553
2556
  {
2554
2557
  "kind": "field",
2555
- "name": "activeItemIndex",
2558
+ "name": "open",
2556
2559
  "type": {
2557
- "text": "number"
2560
+ "text": "boolean"
2558
2561
  },
2559
- "privacy": "private",
2560
- "default": "0",
2561
- "inheritedFrom": {
2562
- "name": "Accordion",
2563
- "module": "src/accordion/accordion.ts"
2564
- }
2562
+ "default": "false"
2565
2563
  },
2566
2564
  {
2567
2565
  "kind": "field",
2568
- "name": "accordionIds",
2566
+ "name": "state",
2569
2567
  "type": {
2570
- "text": "Array<string | null>"
2568
+ "text": "AIIndicatorState"
2571
2569
  },
2572
- "privacy": "private",
2573
- "inheritedFrom": {
2574
- "name": "Accordion",
2575
- "module": "src/accordion/accordion.ts"
2576
- }
2570
+ "default": "'none'"
2577
2571
  },
2578
2572
  {
2579
2573
  "kind": "field",
2580
- "name": "change",
2581
- "privacy": "private",
2582
- "inheritedFrom": {
2583
- "name": "Accordion",
2584
- "module": "src/accordion/accordion.ts"
2585
- }
2574
+ "name": "isInstalling",
2575
+ "type": {
2576
+ "text": "boolean"
2577
+ },
2578
+ "default": "false"
2586
2579
  },
2587
2580
  {
2588
- "kind": "method",
2589
- "name": "findExpandedItem",
2581
+ "kind": "field",
2582
+ "name": "pollTimer",
2583
+ "type": {
2584
+ "text": "ReturnType<typeof setInterval> | null"
2585
+ },
2590
2586
  "privacy": "private",
2591
- "return": {
2592
- "type": {
2593
- "text": "AccordionItem | null"
2594
- }
2587
+ "default": "null"
2588
+ },
2589
+ {
2590
+ "kind": "field",
2591
+ "name": "clickOutside",
2592
+ "privacy": "private"
2593
+ },
2594
+ {
2595
+ "kind": "field",
2596
+ "name": "chromeStatusLabel",
2597
+ "type": {
2598
+ "text": "string | null"
2595
2599
  },
2596
- "inheritedFrom": {
2597
- "name": "Accordion",
2598
- "module": "src/accordion/accordion.ts"
2599
- }
2600
+ "readonly": true
2600
2601
  },
2601
2602
  {
2602
2603
  "kind": "field",
2603
- "name": "setItems",
2604
- "privacy": "private",
2605
- "inheritedFrom": {
2606
- "name": "Accordion",
2607
- "module": "src/accordion/accordion.ts"
2608
- }
2604
+ "name": "canInstall",
2605
+ "type": {
2606
+ "text": "boolean"
2607
+ },
2608
+ "readonly": true
2609
+ },
2610
+ {
2611
+ "kind": "field",
2612
+ "name": "isDownloading",
2613
+ "type": {
2614
+ "text": "boolean"
2615
+ },
2616
+ "readonly": true
2609
2617
  },
2610
2618
  {
2611
2619
  "kind": "method",
2612
- "name": "resetItems",
2613
- "privacy": "private",
2620
+ "name": "openChanged",
2614
2621
  "return": {
2615
2622
  "type": {
2616
2623
  "text": "void"
2617
2624
  }
2618
- },
2619
- "inheritedFrom": {
2620
- "name": "Accordion",
2621
- "module": "src/accordion/accordion.ts"
2622
2625
  }
2623
2626
  },
2624
2627
  {
2625
- "kind": "field",
2626
- "name": "removeItemListeners",
2628
+ "kind": "method",
2629
+ "name": "handleClickOutside",
2627
2630
  "privacy": "private",
2628
- "inheritedFrom": {
2629
- "name": "Accordion",
2630
- "module": "src/accordion/accordion.ts"
2631
- }
2631
+ "parameters": [
2632
+ {
2633
+ "name": "event",
2634
+ "type": {
2635
+ "text": "MouseEvent"
2636
+ }
2637
+ }
2638
+ ]
2632
2639
  },
2633
2640
  {
2634
- "kind": "field",
2635
- "name": "activeItemChange",
2636
- "privacy": "private",
2637
- "inheritedFrom": {
2638
- "name": "Accordion",
2639
- "module": "src/accordion/accordion.ts"
2640
- }
2641
+ "kind": "method",
2642
+ "name": "toggleDropdown"
2641
2643
  },
2642
2644
  {
2643
2645
  "kind": "method",
2644
- "name": "getItemIds",
2645
- "privacy": "private",
2646
+ "name": "refreshStatus",
2646
2647
  "return": {
2647
2648
  "type": {
2648
- "text": "Array<string | null>"
2649
+ "text": "Promise<void>"
2649
2650
  }
2650
- },
2651
- "inheritedFrom": {
2652
- "name": "Accordion",
2653
- "module": "src/accordion/accordion.ts"
2654
2651
  }
2655
2652
  },
2656
2653
  {
2657
2654
  "kind": "method",
2658
- "name": "isSingleExpandMode",
2655
+ "name": "deriveState",
2659
2656
  "privacy": "private",
2660
2657
  "return": {
2661
2658
  "type": {
2662
- "text": "boolean"
2659
+ "text": "AIIndicatorState"
2663
2660
  }
2664
2661
  },
2665
- "inheritedFrom": {
2666
- "name": "Accordion",
2667
- "module": "src/accordion/accordion.ts"
2668
- }
2662
+ "parameters": [
2663
+ {
2664
+ "name": "s",
2665
+ "type": {
2666
+ "text": "AIStatus | null"
2667
+ }
2668
+ }
2669
+ ]
2669
2670
  },
2670
2671
  {
2671
- "kind": "field",
2672
- "name": "handleItemKeyDown",
2672
+ "kind": "method",
2673
+ "name": "maybeStartPolling",
2673
2674
  "privacy": "private",
2674
- "inheritedFrom": {
2675
- "name": "Accordion",
2676
- "module": "src/accordion/accordion.ts"
2675
+ "return": {
2676
+ "type": {
2677
+ "text": "void"
2678
+ }
2677
2679
  }
2678
2680
  },
2679
2681
  {
2680
- "kind": "field",
2681
- "name": "handleItemFocus",
2682
+ "kind": "method",
2683
+ "name": "startPolling",
2682
2684
  "privacy": "private",
2683
- "inheritedFrom": {
2684
- "name": "Accordion",
2685
- "module": "src/accordion/accordion.ts"
2685
+ "return": {
2686
+ "type": {
2687
+ "text": "void"
2688
+ }
2686
2689
  }
2687
2690
  },
2688
2691
  {
2689
2692
  "kind": "method",
2690
- "name": "adjust",
2693
+ "name": "stopPolling",
2691
2694
  "privacy": "private",
2692
2695
  "return": {
2693
2696
  "type": {
2694
- "text": "void"
2695
- }
2696
- },
2697
- "parameters": [
2698
- {
2699
- "name": "adjustment",
2700
- "type": {
2701
- "text": "number"
2702
- }
2697
+ "text": "void"
2703
2698
  }
2704
- ],
2705
- "inheritedFrom": {
2706
- "name": "Accordion",
2707
- "module": "src/accordion/accordion.ts"
2708
2699
  }
2709
2700
  },
2710
2701
  {
2711
2702
  "kind": "method",
2712
- "name": "focusItem",
2713
- "privacy": "private",
2703
+ "name": "onInstall",
2714
2704
  "return": {
2715
2705
  "type": {
2716
- "text": "void"
2706
+ "text": "Promise<void>"
2717
2707
  }
2718
- },
2719
- "inheritedFrom": {
2720
- "name": "Accordion",
2721
- "module": "src/accordion/accordion.ts"
2722
2708
  }
2723
2709
  },
2724
2710
  {
@@ -2833,233 +2819,291 @@
2833
2819
  }
2834
2820
  }
2835
2821
  ],
2836
- "events": [
2837
- {
2838
- "description": "Fires a custom 'change' event when the active item changes",
2839
- "name": "change",
2840
- "inheritedFrom": {
2841
- "name": "Accordion",
2842
- "module": "src/accordion/accordion.ts"
2843
- }
2844
- }
2845
- ]
2846
- },
2847
- {
2848
- "kind": "variable",
2849
- "name": "foundationAccordionShadowOptions",
2850
- "type": {
2851
- "text": "ShadowRootInit"
2852
- },
2853
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2854
- },
2855
- {
2856
- "kind": "variable",
2857
- "name": "defaultAccordionConfig",
2858
- "type": {
2859
- "text": "object"
2822
+ "superclass": {
2823
+ "name": "FoundationElement",
2824
+ "package": "@microsoft/fast-foundation"
2860
2825
  },
2861
- "default": "{}"
2826
+ "tagName": "%%prefix%%-ai-indicator",
2827
+ "customElement": true
2862
2828
  },
2863
2829
  {
2864
2830
  "kind": "variable",
2865
- "name": "foundationAccordion",
2866
- "description": "The Foundation Accordion",
2867
- "privacy": "public"
2831
+ "name": "foundationAiIndicator"
2868
2832
  }
2869
2833
  ],
2870
2834
  "exports": [
2871
2835
  {
2872
2836
  "kind": "js",
2873
- "name": "Accordion",
2837
+ "name": "AiIndicator",
2874
2838
  "declaration": {
2875
- "name": "Accordion",
2876
- "module": "src/accordion/accordion.ts"
2839
+ "name": "AiIndicator",
2840
+ "module": "src/ai-indicator/ai-indicator.ts"
2877
2841
  }
2878
2842
  },
2879
2843
  {
2880
2844
  "kind": "js",
2881
- "name": "foundationAccordionShadowOptions",
2845
+ "name": "foundationAiIndicator",
2882
2846
  "declaration": {
2883
- "name": "foundationAccordionShadowOptions",
2884
- "module": "src/accordion/accordion.ts"
2847
+ "name": "foundationAiIndicator",
2848
+ "module": "src/ai-indicator/ai-indicator.ts"
2849
+ }
2850
+ }
2851
+ ]
2852
+ },
2853
+ {
2854
+ "kind": "javascript-module",
2855
+ "path": "src/ai-indicator/index.ts",
2856
+ "declarations": [],
2857
+ "exports": [
2858
+ {
2859
+ "kind": "js",
2860
+ "name": "AiIndicator",
2861
+ "declaration": {
2862
+ "name": "AiIndicator",
2863
+ "module": "./ai-indicator"
2885
2864
  }
2886
2865
  },
2887
2866
  {
2888
2867
  "kind": "js",
2889
- "name": "defaultAccordionConfig",
2868
+ "name": "foundationAiIndicator",
2890
2869
  "declaration": {
2891
- "name": "defaultAccordionConfig",
2892
- "module": "src/accordion/accordion.ts"
2870
+ "name": "foundationAiIndicator",
2871
+ "module": "./ai-indicator"
2893
2872
  }
2894
2873
  },
2895
2874
  {
2896
2875
  "kind": "js",
2897
- "name": "foundationAccordion",
2876
+ "name": "type",
2898
2877
  "declaration": {
2899
- "name": "foundationAccordion",
2900
- "module": "src/accordion/accordion.ts"
2878
+ "name": "type",
2879
+ "module": "./ai-indicator"
2901
2880
  }
2902
- }
2903
- ]
2904
- },
2905
- {
2906
- "kind": "javascript-module",
2907
- "path": "src/accordion/index.ts",
2908
- "declarations": [],
2909
- "exports": [
2881
+ },
2910
2882
  {
2911
2883
  "kind": "js",
2912
- "name": "*",
2884
+ "name": "AIIndicatorState",
2913
2885
  "declaration": {
2914
- "name": "*",
2915
- "package": "./accordion.template"
2886
+ "name": "AIIndicatorState",
2887
+ "module": "./ai-indicator"
2916
2888
  }
2917
2889
  },
2918
2890
  {
2919
2891
  "kind": "js",
2920
- "name": "*",
2892
+ "name": "foundationAiIndicatorTemplate",
2921
2893
  "declaration": {
2922
- "name": "*",
2923
- "package": "./accordion.styles"
2894
+ "name": "foundationAiIndicatorTemplate",
2895
+ "module": "./ai-indicator.template"
2924
2896
  }
2925
2897
  },
2926
2898
  {
2927
2899
  "kind": "js",
2928
- "name": "*",
2900
+ "name": "foundationAiIndicatorStyles",
2929
2901
  "declaration": {
2930
- "name": "*",
2931
- "package": "./accordion"
2902
+ "name": "foundationAiIndicatorStyles",
2903
+ "module": "./ai-indicator.styles"
2932
2904
  }
2933
2905
  }
2934
2906
  ]
2935
2907
  },
2936
2908
  {
2937
2909
  "kind": "javascript-module",
2938
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2910
+ "path": "src/actions-menu/actions-menu.styles.ts",
2939
2911
  "declarations": [
2940
2912
  {
2941
- "kind": "variable",
2942
- "name": "foundationAiCriteriaSearchStyles",
2943
- "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`"
2913
+ "kind": "function",
2914
+ "name": "actionsMenuBaseStyles",
2915
+ "return": {
2916
+ "type": {
2917
+ "text": "ElementStyles"
2918
+ }
2919
+ },
2920
+ "parameters": [
2921
+ {
2922
+ "name": "context",
2923
+ "type": {
2924
+ "text": "ElementDefinitionContext"
2925
+ }
2926
+ },
2927
+ {
2928
+ "name": "definition",
2929
+ "type": {
2930
+ "text": "FoundationElementDefinition"
2931
+ }
2932
+ }
2933
+ ]
2934
+ },
2935
+ {
2936
+ "kind": "function",
2937
+ "name": "foundationActionsMenuStyles",
2938
+ "return": {
2939
+ "type": {
2940
+ "text": "ElementStyles"
2941
+ }
2942
+ },
2943
+ "parameters": [
2944
+ {
2945
+ "name": "context",
2946
+ "type": {
2947
+ "text": "ElementDefinitionContext"
2948
+ }
2949
+ },
2950
+ {
2951
+ "name": "definition",
2952
+ "type": {
2953
+ "text": "FoundationElementDefinition"
2954
+ }
2955
+ }
2956
+ ]
2944
2957
  }
2945
2958
  ],
2946
2959
  "exports": [
2947
2960
  {
2948
2961
  "kind": "js",
2949
- "name": "foundationAiCriteriaSearchStyles",
2962
+ "name": "actionsMenuBaseStyles",
2950
2963
  "declaration": {
2951
- "name": "foundationAiCriteriaSearchStyles",
2952
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2964
+ "name": "actionsMenuBaseStyles",
2965
+ "module": "src/actions-menu/actions-menu.styles.ts"
2966
+ }
2967
+ },
2968
+ {
2969
+ "kind": "js",
2970
+ "name": "foundationActionsMenuStyles",
2971
+ "declaration": {
2972
+ "name": "foundationActionsMenuStyles",
2973
+ "module": "src/actions-menu/actions-menu.styles.ts"
2953
2974
  }
2954
2975
  }
2955
2976
  ]
2956
2977
  },
2957
2978
  {
2958
2979
  "kind": "javascript-module",
2959
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2980
+ "path": "src/actions-menu/actions-menu.template.ts",
2960
2981
  "declarations": [
2982
+ {
2983
+ "kind": "function",
2984
+ "name": "menuTemplate",
2985
+ "parameters": [
2986
+ {
2987
+ "name": "prefix",
2988
+ "type": {
2989
+ "text": "string"
2990
+ }
2991
+ }
2992
+ ]
2993
+ },
2994
+ {
2995
+ "kind": "function",
2996
+ "name": "singleOptionTemplate",
2997
+ "parameters": [
2998
+ {
2999
+ "name": "prefix",
3000
+ "type": {
3001
+ "text": "string"
3002
+ }
3003
+ }
3004
+ ]
3005
+ },
2961
3006
  {
2962
3007
  "kind": "variable",
2963
- "name": "foundationAiCriteriaSearchTemplate",
3008
+ "name": "foundationActionsMenuTemplate",
2964
3009
  "type": {
2965
- "text": "ViewTemplate<AiCriteriaSearch>"
3010
+ "text": "ViewTemplate<ActionsMenu>"
2966
3011
  },
2967
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3012
+ "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`"
2968
3013
  }
2969
3014
  ],
2970
3015
  "exports": [
2971
3016
  {
2972
3017
  "kind": "js",
2973
- "name": "foundationAiCriteriaSearchTemplate",
3018
+ "name": "menuTemplate",
2974
3019
  "declaration": {
2975
- "name": "foundationAiCriteriaSearchTemplate",
2976
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3020
+ "name": "menuTemplate",
3021
+ "module": "src/actions-menu/actions-menu.template.ts"
3022
+ }
3023
+ },
3024
+ {
3025
+ "kind": "js",
3026
+ "name": "singleOptionTemplate",
3027
+ "declaration": {
3028
+ "name": "singleOptionTemplate",
3029
+ "module": "src/actions-menu/actions-menu.template.ts"
3030
+ }
3031
+ },
3032
+ {
3033
+ "kind": "js",
3034
+ "name": "foundationActionsMenuTemplate",
3035
+ "declaration": {
3036
+ "name": "foundationActionsMenuTemplate",
3037
+ "module": "src/actions-menu/actions-menu.template.ts"
2977
3038
  }
2978
3039
  }
2979
3040
  ]
2980
3041
  },
2981
3042
  {
2982
3043
  "kind": "javascript-module",
2983
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3044
+ "path": "src/actions-menu/actions-menu.ts",
2984
3045
  "declarations": [
2985
3046
  {
2986
3047
  "kind": "class",
2987
- "description": "Natural-language criteria search input with AI interpretation.",
2988
- "name": "AiCriteriaSearch",
3048
+ "description": "",
3049
+ "name": "ActionsMenu",
2989
3050
  "members": [
2990
3051
  {
2991
3052
  "kind": "field",
2992
- "name": "providerRegistry",
2993
- "type": {
2994
- "text": "AIProviderRegistry"
2995
- }
2996
- },
2997
- {
2998
- "kind": "field",
2999
- "name": "placeholder",
3000
- "type": {
3001
- "text": "string"
3002
- },
3003
- "default": "'Describe your search criteria in natural language...'"
3004
- },
3005
- {
3006
- "kind": "field",
3007
- "name": "disabled",
3053
+ "name": "actions",
3008
3054
  "type": {
3009
- "text": "boolean"
3055
+ "text": "ActionMenuItem[]"
3010
3056
  }
3011
3057
  },
3012
3058
  {
3013
3059
  "kind": "field",
3014
- "name": "inputValue",
3060
+ "name": "isVertical",
3015
3061
  "type": {
3016
- "text": "string"
3062
+ "text": "boolean"
3017
3063
  },
3018
- "default": "''"
3064
+ "default": "false"
3019
3065
  },
3020
3066
  {
3021
3067
  "kind": "field",
3022
- "name": "isInterpreting",
3068
+ "name": "addDefaultActions",
3023
3069
  "type": {
3024
3070
  "text": "boolean"
3025
3071
  },
3026
- "default": "false"
3072
+ "default": "true"
3027
3073
  },
3028
3074
  {
3029
3075
  "kind": "field",
3030
- "name": "lastValidCriteria",
3076
+ "name": "autoCloseOnAction",
3031
3077
  "type": {
3032
- "text": "string | null"
3078
+ "text": "boolean"
3033
3079
  },
3034
- "default": "null"
3080
+ "default": "true"
3035
3081
  },
3036
3082
  {
3037
3083
  "kind": "field",
3038
- "name": "activeGroups",
3084
+ "name": "classNames",
3039
3085
  "type": {
3040
- "text": "CriteriaGroup[]"
3041
- },
3042
- "default": "[]"
3086
+ "text": "string"
3087
+ }
3043
3088
  },
3044
3089
  {
3045
3090
  "kind": "field",
3046
- "name": "showingChips",
3091
+ "name": "definition",
3047
3092
  "type": {
3048
- "text": "boolean"
3049
- },
3050
- "default": "false"
3093
+ "text": "any"
3094
+ }
3051
3095
  },
3052
3096
  {
3053
3097
  "kind": "field",
3054
- "name": "fieldMetadata",
3098
+ "name": "name",
3055
3099
  "type": {
3056
- "text": "MetadataDetail[] | string[]"
3100
+ "text": "string"
3057
3101
  },
3058
- "default": "[]"
3102
+ "default": "'Actions'"
3059
3103
  },
3060
3104
  {
3061
3105
  "kind": "field",
3062
- "name": "isRecording",
3106
+ "name": "open",
3063
3107
  "type": {
3064
3108
  "text": "boolean"
3065
3109
  },
@@ -3067,125 +3111,129 @@
3067
3111
  },
3068
3112
  {
3069
3113
  "kind": "field",
3070
- "name": "textAreaRef",
3114
+ "name": "buttonAppearance",
3071
3115
  "type": {
3072
- "text": "HTMLTextAreaElement"
3073
- },
3074
- "privacy": "public"
3116
+ "text": "string"
3117
+ }
3075
3118
  },
3076
3119
  {
3077
3120
  "kind": "field",
3078
- "name": "stopRecording",
3121
+ "name": "hideDisabled",
3079
3122
  "type": {
3080
- "text": "(() => void) | null"
3123
+ "text": "boolean"
3081
3124
  },
3082
- "privacy": "private",
3083
- "default": "null"
3125
+ "default": "false"
3084
3126
  },
3085
3127
  {
3086
3128
  "kind": "field",
3087
- "name": "speechApplyDebounceTimer",
3129
+ "name": "hideMenuSingleOption",
3088
3130
  "type": {
3089
- "text": "ReturnType<typeof setTimeout> | null"
3131
+ "text": "boolean"
3090
3132
  },
3091
- "privacy": "private",
3092
- "default": "null"
3133
+ "default": "false"
3093
3134
  },
3094
3135
  {
3095
3136
  "kind": "field",
3096
- "name": "speechAvailable",
3137
+ "name": "singleOption",
3097
3138
  "type": {
3098
- "text": "boolean"
3099
- },
3100
- "readonly": true
3139
+ "text": "ActionMenuItem"
3140
+ }
3101
3141
  },
3102
3142
  {
3103
3143
  "kind": "field",
3104
- "name": "criteriaChips",
3144
+ "name": "actionsMenu",
3105
3145
  "type": {
3106
- "text": "CriteriaChip[]"
3107
- },
3108
- "readonly": true
3146
+ "text": "HTMLElement"
3147
+ }
3109
3148
  },
3110
3149
  {
3111
- "kind": "method",
3112
- "name": "getFieldLabel",
3113
- "privacy": "private",
3114
- "return": {
3115
- "type": {
3116
- "text": "string"
3117
- }
3118
- },
3119
- "parameters": [
3120
- {
3121
- "name": "fieldName",
3122
- "type": {
3123
- "text": "string"
3124
- }
3125
- }
3126
- ]
3150
+ "kind": "field",
3151
+ "name": "actionsOpener",
3152
+ "type": {
3153
+ "text": "HTMLElement"
3154
+ }
3127
3155
  },
3128
3156
  {
3129
3157
  "kind": "method",
3130
- "name": "toggleCriteriaView",
3131
- "return": {
3132
- "type": {
3133
- "text": "void"
3134
- }
3135
- }
3158
+ "name": "updateMenuPosition",
3159
+ "privacy": "private"
3136
3160
  },
3137
3161
  {
3138
3162
  "kind": "method",
3139
- "name": "removeChip",
3140
- "return": {
3141
- "type": {
3142
- "text": "void"
3143
- }
3144
- },
3163
+ "name": "definitionChanged",
3164
+ "privacy": "protected",
3145
3165
  "parameters": [
3146
3166
  {
3147
- "name": "groupIndex",
3167
+ "name": "oldValue",
3148
3168
  "type": {
3149
- "text": "number"
3169
+ "text": "any"
3150
3170
  }
3151
3171
  },
3152
3172
  {
3153
- "name": "clauseIndex",
3173
+ "name": "newValue",
3154
3174
  "type": {
3155
- "text": "number"
3175
+ "text": "any"
3156
3176
  }
3157
3177
  }
3158
3178
  ]
3159
3179
  },
3160
3180
  {
3161
3181
  "kind": "method",
3162
- "name": "clearChips",
3163
- "return": {
3164
- "type": {
3165
- "text": "void"
3166
- }
3167
- }
3182
+ "name": "openChanged",
3183
+ "privacy": "protected"
3168
3184
  },
3169
3185
  {
3170
3186
  "kind": "method",
3171
- "name": "handleSubmit"
3187
+ "name": "toggleActionsMenuVisibility"
3172
3188
  },
3173
3189
  {
3174
3190
  "kind": "method",
3175
- "name": "handleBlur"
3191
+ "name": "onActionMenuItemClick",
3192
+ "parameters": [
3193
+ {
3194
+ "name": "callback",
3195
+ "type": {
3196
+ "text": "(rowData) => void | any"
3197
+ }
3198
+ }
3199
+ ]
3176
3200
  },
3177
3201
  {
3178
- "kind": "method",
3179
- "name": "clear"
3202
+ "kind": "field",
3203
+ "name": "allActions",
3204
+ "type": {
3205
+ "text": "ActionMenuItem[]"
3206
+ },
3207
+ "readonly": true
3208
+ },
3209
+ {
3210
+ "kind": "field",
3211
+ "name": "rowData",
3212
+ "readonly": true
3180
3213
  },
3181
3214
  {
3182
3215
  "kind": "method",
3183
- "name": "toggleSpeechInput"
3216
+ "name": "getLabel",
3217
+ "parameters": [
3218
+ {
3219
+ "name": "name",
3220
+ "type": {
3221
+ "text": "string | ((rowData: any) => string)"
3222
+ }
3223
+ }
3224
+ ]
3184
3225
  },
3185
3226
  {
3186
3227
  "kind": "method",
3187
- "name": "clearSpeechApplyDebounce",
3188
- "privacy": "private"
3228
+ "name": "getTemplate",
3229
+ "parameters": [
3230
+ {
3231
+ "name": "prefix",
3232
+ "type": {
3233
+ "text": "string"
3234
+ }
3235
+ }
3236
+ ]
3189
3237
  },
3190
3238
  {
3191
3239
  "kind": "field",
@@ -3299,154 +3347,115 @@
3299
3347
  }
3300
3348
  }
3301
3349
  ],
3302
- "events": [
3350
+ "attributes": [
3303
3351
  {
3304
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3305
- "name": "criteria-changed"
3352
+ "name": "is-vertical",
3353
+ "type": {
3354
+ "text": "boolean"
3355
+ },
3356
+ "default": "false",
3357
+ "fieldName": "isVertical"
3306
3358
  },
3307
3359
  {
3308
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3309
- "name": "validation-errors"
3310
- }
3311
- ],
3312
- "attributes": [
3360
+ "name": "add-default-actions",
3361
+ "type": {
3362
+ "text": "boolean"
3363
+ },
3364
+ "default": "true",
3365
+ "fieldName": "addDefaultActions"
3366
+ },
3313
3367
  {
3314
- "name": "placeholder",
3368
+ "name": "auto-close-on-action",
3369
+ "type": {
3370
+ "text": "boolean"
3371
+ },
3372
+ "default": "true",
3373
+ "fieldName": "autoCloseOnAction"
3374
+ },
3375
+ {
3376
+ "name": "name",
3315
3377
  "type": {
3316
3378
  "text": "string"
3317
3379
  },
3318
- "default": "'Describe your search criteria in natural language...'",
3319
- "fieldName": "placeholder"
3380
+ "default": "'Actions'",
3381
+ "fieldName": "name"
3320
3382
  },
3321
3383
  {
3384
+ "name": "open",
3322
3385
  "type": {
3323
3386
  "text": "boolean"
3324
3387
  },
3325
- "fieldName": "disabled"
3388
+ "default": "false",
3389
+ "fieldName": "open"
3390
+ },
3391
+ {
3392
+ "name": "buttonAppearance",
3393
+ "type": {
3394
+ "text": "string"
3395
+ },
3396
+ "fieldName": "buttonAppearance"
3397
+ },
3398
+ {
3399
+ "name": "hide-disabled",
3400
+ "type": {
3401
+ "text": "boolean"
3402
+ },
3403
+ "default": "false",
3404
+ "fieldName": "hideDisabled"
3405
+ },
3406
+ {
3407
+ "name": "hide-menu-single-option",
3408
+ "type": {
3409
+ "text": "boolean"
3410
+ },
3411
+ "default": "false",
3412
+ "fieldName": "hideMenuSingleOption"
3326
3413
  }
3327
3414
  ],
3328
3415
  "superclass": {
3329
3416
  "name": "FoundationElement",
3330
3417
  "package": "@microsoft/fast-foundation"
3331
3418
  },
3332
- "tagName": "%%prefix%%-ai-criteria-search",
3419
+ "tagName": "%%prefix%%-actions-menu",
3333
3420
  "customElement": true
3334
3421
  },
3335
3422
  {
3336
3423
  "kind": "variable",
3337
- "name": "foundationAiCriteriaSearchShadowOptions",
3338
- "type": {
3339
- "text": "ShadowRootInit"
3340
- },
3341
- "default": "undefined"
3342
- },
3343
- {
3344
- "kind": "variable",
3345
- "name": "defaultAiCriteriaSearchConfig",
3346
- "type": {
3347
- "text": "object"
3348
- },
3349
- "default": "{}"
3350
- },
3351
- {
3352
- "kind": "variable",
3353
- "name": "foundationAiCriteriaSearch"
3424
+ "name": "foundationActionsMenu",
3425
+ "description": "The Foundation Actions Menu",
3426
+ "privacy": "public"
3354
3427
  }
3355
3428
  ],
3356
3429
  "exports": [
3357
3430
  {
3358
3431
  "kind": "js",
3359
- "name": "AiCriteriaSearch",
3360
- "declaration": {
3361
- "name": "AiCriteriaSearch",
3362
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3363
- }
3364
- },
3365
- {
3366
- "kind": "js",
3367
- "name": "foundationAiCriteriaSearchShadowOptions",
3368
- "declaration": {
3369
- "name": "foundationAiCriteriaSearchShadowOptions",
3370
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3371
- }
3372
- },
3373
- {
3374
- "kind": "js",
3375
- "name": "defaultAiCriteriaSearchConfig",
3432
+ "name": "ActionsMenu",
3376
3433
  "declaration": {
3377
- "name": "defaultAiCriteriaSearchConfig",
3378
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3434
+ "name": "ActionsMenu",
3435
+ "module": "src/actions-menu/actions-menu.ts"
3379
3436
  }
3380
3437
  },
3381
3438
  {
3382
3439
  "kind": "js",
3383
- "name": "foundationAiCriteriaSearch",
3440
+ "name": "foundationActionsMenu",
3384
3441
  "declaration": {
3385
- "name": "foundationAiCriteriaSearch",
3386
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3442
+ "name": "foundationActionsMenu",
3443
+ "module": "src/actions-menu/actions-menu.ts"
3387
3444
  }
3388
3445
  }
3389
3446
  ]
3390
3447
  },
3391
3448
  {
3392
3449
  "kind": "javascript-module",
3393
- "path": "src/ai-criteria-search/index.ts",
3450
+ "path": "src/actions-menu/index.ts",
3394
3451
  "declarations": [],
3395
3452
  "exports": [
3396
- {
3397
- "kind": "js",
3398
- "name": "AiCriteriaSearch",
3399
- "declaration": {
3400
- "name": "AiCriteriaSearch",
3401
- "module": "./ai-criteria-search"
3402
- }
3403
- },
3404
- {
3405
- "kind": "js",
3406
- "name": "defaultAiCriteriaSearchConfig",
3407
- "declaration": {
3408
- "name": "defaultAiCriteriaSearchConfig",
3409
- "module": "./ai-criteria-search"
3410
- }
3411
- },
3412
- {
3413
- "kind": "js",
3414
- "name": "foundationAiCriteriaSearch",
3415
- "declaration": {
3416
- "name": "foundationAiCriteriaSearch",
3417
- "module": "./ai-criteria-search"
3418
- }
3419
- },
3420
- {
3421
- "kind": "js",
3422
- "name": "foundationAiCriteriaSearchShadowOptions",
3423
- "declaration": {
3424
- "name": "foundationAiCriteriaSearchShadowOptions",
3425
- "module": "./ai-criteria-search"
3426
- }
3427
- },
3428
- {
3429
- "kind": "js",
3430
- "name": "foundationAiCriteriaSearchStyles",
3431
- "declaration": {
3432
- "name": "foundationAiCriteriaSearchStyles",
3433
- "module": "./ai-criteria-search.styles"
3434
- }
3435
- },
3436
- {
3437
- "kind": "js",
3438
- "name": "foundationAiCriteriaSearchTemplate",
3439
- "declaration": {
3440
- "name": "foundationAiCriteriaSearchTemplate",
3441
- "module": "./ai-criteria-search.template"
3442
- }
3443
- },
3444
3453
  {
3445
3454
  "kind": "js",
3446
3455
  "name": "*",
3447
3456
  "declaration": {
3448
3457
  "name": "*",
3449
- "package": "./validation/criteria-ir"
3458
+ "package": "./actions-menu.styles"
3450
3459
  }
3451
3460
  },
3452
3461
  {
@@ -3454,7 +3463,7 @@
3454
3463
  "name": "*",
3455
3464
  "declaration": {
3456
3465
  "name": "*",
3457
- "package": "./validation/operator-map"
3466
+ "package": "./actions-menu.template"
3458
3467
  }
3459
3468
  },
3460
3469
  {
@@ -3462,96 +3471,60 @@
3462
3471
  "name": "*",
3463
3472
  "declaration": {
3464
3473
  "name": "*",
3465
- "package": "./validation/schema-validator"
3474
+ "package": "./actions-menu"
3466
3475
  }
3467
3476
  }
3468
3477
  ]
3469
3478
  },
3470
3479
  {
3471
3480
  "kind": "javascript-module",
3472
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3481
+ "path": "src/accordion/accordion.styles.ts",
3473
3482
  "declarations": [
3474
3483
  {
3475
3484
  "kind": "function",
3476
- "name": "formatValidationErrors",
3485
+ "name": "foundationAccordionStyles",
3477
3486
  "return": {
3478
3487
  "type": {
3479
- "text": "string"
3488
+ "text": "ElementStyles"
3480
3489
  }
3481
3490
  },
3482
3491
  "parameters": [
3483
3492
  {
3484
- "name": "errors",
3493
+ "name": "context",
3485
3494
  "type": {
3486
- "text": "ValidationError[]"
3495
+ "text": "ElementDefinitionContext"
3487
3496
  }
3488
- }
3489
- ],
3490
- "description": "Formats validation errors into a user-friendly message."
3491
- },
3492
- {
3493
- "kind": "function",
3494
- "name": "showCriteriaError",
3495
- "return": {
3496
- "type": {
3497
- "text": "void"
3498
- }
3499
- },
3500
- "parameters": [
3501
- {
3502
- "name": "title",
3503
- "type": {
3504
- "text": "string"
3505
- },
3506
- "description": "Notification title (e.g. \"Criteria validation error\")"
3507
- },
3508
- {
3509
- "name": "body",
3510
- "type": {
3511
- "text": "string"
3512
- },
3513
- "description": "Error message to display"
3514
3497
  },
3515
3498
  {
3516
- "name": "tagName",
3499
+ "name": "definition",
3517
3500
  "type": {
3518
- "text": "string"
3519
- },
3520
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3501
+ "text": "FoundationElementDefinition"
3502
+ }
3521
3503
  }
3522
- ],
3523
- "description": "Shows a criteria error as a toast notification."
3504
+ ]
3524
3505
  }
3525
3506
  ],
3526
3507
  "exports": [
3527
3508
  {
3528
3509
  "kind": "js",
3529
- "name": "formatValidationErrors",
3530
- "declaration": {
3531
- "name": "formatValidationErrors",
3532
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3533
- }
3534
- },
3535
- {
3536
- "kind": "js",
3537
- "name": "showCriteriaError",
3510
+ "name": "foundationAccordionStyles",
3538
3511
  "declaration": {
3539
- "name": "showCriteriaError",
3540
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3512
+ "name": "foundationAccordionStyles",
3513
+ "module": "src/accordion/accordion.styles.ts"
3541
3514
  }
3542
3515
  }
3543
3516
  ]
3544
3517
  },
3545
3518
  {
3546
3519
  "kind": "javascript-module",
3547
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3520
+ "path": "src/accordion/accordion.template.ts",
3548
3521
  "declarations": [
3549
3522
  {
3550
3523
  "kind": "function",
3551
- "name": "foundationAiIndicatorStyles",
3524
+ "name": "foundationAccordionTemplate",
3552
3525
  "return": {
3553
3526
  "type": {
3554
- "text": "ElementStyles"
3527
+ "text": "ViewTemplate<Accordion>"
3555
3528
  }
3556
3529
  },
3557
3530
  "parameters": [
@@ -3573,224 +3546,237 @@
3573
3546
  "exports": [
3574
3547
  {
3575
3548
  "kind": "js",
3576
- "name": "foundationAiIndicatorStyles",
3577
- "declaration": {
3578
- "name": "foundationAiIndicatorStyles",
3579
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3580
- }
3581
- }
3582
- ]
3583
- },
3584
- {
3585
- "kind": "javascript-module",
3586
- "path": "src/ai-indicator/ai-indicator.template.ts",
3587
- "declarations": [
3588
- {
3589
- "kind": "variable",
3590
- "name": "foundationAiIndicatorTemplate",
3591
- "type": {
3592
- "text": "ViewTemplate<AiIndicator>"
3593
- },
3594
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3595
- }
3596
- ],
3597
- "exports": [
3598
- {
3599
- "kind": "js",
3600
- "name": "foundationAiIndicatorTemplate",
3549
+ "name": "foundationAccordionTemplate",
3601
3550
  "declaration": {
3602
- "name": "foundationAiIndicatorTemplate",
3603
- "module": "src/ai-indicator/ai-indicator.template.ts"
3551
+ "name": "foundationAccordionTemplate",
3552
+ "module": "src/accordion/accordion.template.ts"
3604
3553
  }
3605
3554
  }
3606
3555
  ]
3607
3556
  },
3608
3557
  {
3609
3558
  "kind": "javascript-module",
3610
- "path": "src/ai-indicator/ai-indicator.ts",
3559
+ "path": "src/accordion/accordion.ts",
3611
3560
  "declarations": [
3612
3561
  {
3613
3562
  "kind": "class",
3614
3563
  "description": "",
3615
- "name": "AiIndicator",
3616
- "members": [
3617
- {
3618
- "kind": "field",
3619
- "name": "providerRegistry",
3620
- "type": {
3621
- "text": "AIProviderRegistry"
3622
- }
3623
- },
3624
- {
3625
- "kind": "field",
3626
- "name": "aiProvider",
3627
- "type": {
3628
- "text": "AIProvider | undefined"
3629
- },
3630
- "privacy": "private",
3631
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3632
- "readonly": true
3633
- },
3564
+ "name": "Accordion",
3565
+ "superclass": {
3566
+ "name": "FASTAccordion",
3567
+ "package": "@microsoft/fast-foundation"
3568
+ },
3569
+ "tagName": "%%prefix%%-accordion",
3570
+ "customElement": true,
3571
+ "attributes": [
3634
3572
  {
3635
- "kind": "field",
3636
- "name": "status",
3573
+ "name": "expand-mode",
3637
3574
  "type": {
3638
- "text": "AIStatus | null"
3575
+ "text": "AccordionExpandMode"
3639
3576
  },
3640
- "default": "null"
3641
- },
3577
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3578
+ "fieldName": "expandmode",
3579
+ "inheritedFrom": {
3580
+ "name": "Accordion",
3581
+ "module": "src/accordion/accordion.ts"
3582
+ }
3583
+ }
3584
+ ],
3585
+ "members": [
3642
3586
  {
3643
3587
  "kind": "field",
3644
- "name": "open",
3588
+ "name": "expandmode",
3645
3589
  "type": {
3646
- "text": "boolean"
3590
+ "text": "AccordionExpandMode"
3647
3591
  },
3648
- "default": "false"
3592
+ "privacy": "public",
3593
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3594
+ "inheritedFrom": {
3595
+ "name": "Accordion",
3596
+ "module": "src/accordion/accordion.ts"
3597
+ }
3649
3598
  },
3650
3599
  {
3651
3600
  "kind": "field",
3652
- "name": "state",
3601
+ "name": "activeid",
3653
3602
  "type": {
3654
- "text": "AIIndicatorState"
3603
+ "text": "string | null"
3655
3604
  },
3656
- "default": "'none'"
3605
+ "privacy": "private",
3606
+ "inheritedFrom": {
3607
+ "name": "Accordion",
3608
+ "module": "src/accordion/accordion.ts"
3609
+ }
3657
3610
  },
3658
3611
  {
3659
3612
  "kind": "field",
3660
- "name": "isInstalling",
3613
+ "name": "activeItemIndex",
3661
3614
  "type": {
3662
- "text": "boolean"
3615
+ "text": "number"
3663
3616
  },
3664
- "default": "false"
3617
+ "privacy": "private",
3618
+ "default": "0",
3619
+ "inheritedFrom": {
3620
+ "name": "Accordion",
3621
+ "module": "src/accordion/accordion.ts"
3622
+ }
3665
3623
  },
3666
3624
  {
3667
3625
  "kind": "field",
3668
- "name": "pollTimer",
3626
+ "name": "accordionIds",
3669
3627
  "type": {
3670
- "text": "ReturnType<typeof setInterval> | null"
3628
+ "text": "Array<string | null>"
3671
3629
  },
3672
3630
  "privacy": "private",
3673
- "default": "null"
3674
- },
3675
- {
3676
- "kind": "field",
3677
- "name": "clickOutside",
3678
- "privacy": "private"
3631
+ "inheritedFrom": {
3632
+ "name": "Accordion",
3633
+ "module": "src/accordion/accordion.ts"
3634
+ }
3679
3635
  },
3680
3636
  {
3681
3637
  "kind": "field",
3682
- "name": "chromeStatusLabel",
3683
- "type": {
3684
- "text": "string | null"
3685
- },
3686
- "readonly": true
3638
+ "name": "change",
3639
+ "privacy": "private",
3640
+ "inheritedFrom": {
3641
+ "name": "Accordion",
3642
+ "module": "src/accordion/accordion.ts"
3643
+ }
3687
3644
  },
3688
3645
  {
3689
- "kind": "field",
3690
- "name": "canInstall",
3691
- "type": {
3692
- "text": "boolean"
3646
+ "kind": "method",
3647
+ "name": "findExpandedItem",
3648
+ "privacy": "private",
3649
+ "return": {
3650
+ "type": {
3651
+ "text": "AccordionItem | null"
3652
+ }
3693
3653
  },
3694
- "readonly": true
3654
+ "inheritedFrom": {
3655
+ "name": "Accordion",
3656
+ "module": "src/accordion/accordion.ts"
3657
+ }
3695
3658
  },
3696
3659
  {
3697
3660
  "kind": "field",
3698
- "name": "isDownloading",
3699
- "type": {
3700
- "text": "boolean"
3701
- },
3702
- "readonly": true
3661
+ "name": "setItems",
3662
+ "privacy": "private",
3663
+ "inheritedFrom": {
3664
+ "name": "Accordion",
3665
+ "module": "src/accordion/accordion.ts"
3666
+ }
3703
3667
  },
3704
3668
  {
3705
3669
  "kind": "method",
3706
- "name": "openChanged",
3670
+ "name": "resetItems",
3671
+ "privacy": "private",
3707
3672
  "return": {
3708
3673
  "type": {
3709
3674
  "text": "void"
3710
3675
  }
3676
+ },
3677
+ "inheritedFrom": {
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3711
3680
  }
3712
3681
  },
3713
3682
  {
3714
- "kind": "method",
3715
- "name": "handleClickOutside",
3683
+ "kind": "field",
3684
+ "name": "removeItemListeners",
3716
3685
  "privacy": "private",
3717
- "parameters": [
3718
- {
3719
- "name": "event",
3720
- "type": {
3721
- "text": "MouseEvent"
3722
- }
3723
- }
3724
- ]
3686
+ "inheritedFrom": {
3687
+ "name": "Accordion",
3688
+ "module": "src/accordion/accordion.ts"
3689
+ }
3725
3690
  },
3726
3691
  {
3727
- "kind": "method",
3728
- "name": "toggleDropdown"
3692
+ "kind": "field",
3693
+ "name": "activeItemChange",
3694
+ "privacy": "private",
3695
+ "inheritedFrom": {
3696
+ "name": "Accordion",
3697
+ "module": "src/accordion/accordion.ts"
3698
+ }
3729
3699
  },
3730
3700
  {
3731
3701
  "kind": "method",
3732
- "name": "refreshStatus",
3702
+ "name": "getItemIds",
3703
+ "privacy": "private",
3733
3704
  "return": {
3734
3705
  "type": {
3735
- "text": "Promise<void>"
3706
+ "text": "Array<string | null>"
3736
3707
  }
3708
+ },
3709
+ "inheritedFrom": {
3710
+ "name": "Accordion",
3711
+ "module": "src/accordion/accordion.ts"
3737
3712
  }
3738
3713
  },
3739
3714
  {
3740
3715
  "kind": "method",
3741
- "name": "deriveState",
3716
+ "name": "isSingleExpandMode",
3742
3717
  "privacy": "private",
3743
3718
  "return": {
3744
3719
  "type": {
3745
- "text": "AIIndicatorState"
3720
+ "text": "boolean"
3746
3721
  }
3747
3722
  },
3748
- "parameters": [
3749
- {
3750
- "name": "s",
3751
- "type": {
3752
- "text": "AIStatus | null"
3753
- }
3754
- }
3755
- ]
3723
+ "inheritedFrom": {
3724
+ "name": "Accordion",
3725
+ "module": "src/accordion/accordion.ts"
3726
+ }
3756
3727
  },
3757
3728
  {
3758
- "kind": "method",
3759
- "name": "maybeStartPolling",
3729
+ "kind": "field",
3730
+ "name": "handleItemKeyDown",
3760
3731
  "privacy": "private",
3761
- "return": {
3762
- "type": {
3763
- "text": "void"
3764
- }
3732
+ "inheritedFrom": {
3733
+ "name": "Accordion",
3734
+ "module": "src/accordion/accordion.ts"
3765
3735
  }
3766
3736
  },
3767
3737
  {
3768
- "kind": "method",
3769
- "name": "startPolling",
3738
+ "kind": "field",
3739
+ "name": "handleItemFocus",
3770
3740
  "privacy": "private",
3771
- "return": {
3772
- "type": {
3773
- "text": "void"
3774
- }
3741
+ "inheritedFrom": {
3742
+ "name": "Accordion",
3743
+ "module": "src/accordion/accordion.ts"
3775
3744
  }
3776
3745
  },
3777
3746
  {
3778
3747
  "kind": "method",
3779
- "name": "stopPolling",
3748
+ "name": "adjust",
3780
3749
  "privacy": "private",
3781
3750
  "return": {
3782
3751
  "type": {
3783
3752
  "text": "void"
3784
3753
  }
3754
+ },
3755
+ "parameters": [
3756
+ {
3757
+ "name": "adjustment",
3758
+ "type": {
3759
+ "text": "number"
3760
+ }
3761
+ }
3762
+ ],
3763
+ "inheritedFrom": {
3764
+ "name": "Accordion",
3765
+ "module": "src/accordion/accordion.ts"
3785
3766
  }
3786
3767
  },
3787
3768
  {
3788
3769
  "kind": "method",
3789
- "name": "onInstall",
3770
+ "name": "focusItem",
3771
+ "privacy": "private",
3790
3772
  "return": {
3791
3773
  "type": {
3792
- "text": "Promise<void>"
3774
+ "text": "void"
3793
3775
  }
3776
+ },
3777
+ "inheritedFrom": {
3778
+ "name": "Accordion",
3779
+ "module": "src/accordion/accordion.ts"
3794
3780
  }
3795
3781
  },
3796
3782
  {
@@ -3905,88 +3891,102 @@
3905
3891
  }
3906
3892
  }
3907
3893
  ],
3908
- "superclass": {
3909
- "name": "FoundationElement",
3910
- "package": "@microsoft/fast-foundation"
3894
+ "events": [
3895
+ {
3896
+ "description": "Fires a custom 'change' event when the active item changes",
3897
+ "name": "change",
3898
+ "inheritedFrom": {
3899
+ "name": "Accordion",
3900
+ "module": "src/accordion/accordion.ts"
3901
+ }
3902
+ }
3903
+ ]
3904
+ },
3905
+ {
3906
+ "kind": "variable",
3907
+ "name": "foundationAccordionShadowOptions",
3908
+ "type": {
3909
+ "text": "ShadowRootInit"
3911
3910
  },
3912
- "tagName": "%%prefix%%-ai-indicator",
3913
- "customElement": true
3911
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3914
3912
  },
3915
3913
  {
3916
3914
  "kind": "variable",
3917
- "name": "foundationAiIndicator"
3915
+ "name": "defaultAccordionConfig",
3916
+ "type": {
3917
+ "text": "object"
3918
+ },
3919
+ "default": "{}"
3920
+ },
3921
+ {
3922
+ "kind": "variable",
3923
+ "name": "foundationAccordion",
3924
+ "description": "The Foundation Accordion",
3925
+ "privacy": "public"
3918
3926
  }
3919
3927
  ],
3920
3928
  "exports": [
3921
3929
  {
3922
3930
  "kind": "js",
3923
- "name": "AiIndicator",
3931
+ "name": "Accordion",
3924
3932
  "declaration": {
3925
- "name": "AiIndicator",
3926
- "module": "src/ai-indicator/ai-indicator.ts"
3933
+ "name": "Accordion",
3934
+ "module": "src/accordion/accordion.ts"
3927
3935
  }
3928
3936
  },
3929
3937
  {
3930
3938
  "kind": "js",
3931
- "name": "foundationAiIndicator",
3932
- "declaration": {
3933
- "name": "foundationAiIndicator",
3934
- "module": "src/ai-indicator/ai-indicator.ts"
3935
- }
3936
- }
3937
- ]
3938
- },
3939
- {
3940
- "kind": "javascript-module",
3941
- "path": "src/ai-indicator/index.ts",
3942
- "declarations": [],
3943
- "exports": [
3944
- {
3945
- "kind": "js",
3946
- "name": "AiIndicator",
3939
+ "name": "foundationAccordionShadowOptions",
3947
3940
  "declaration": {
3948
- "name": "AiIndicator",
3949
- "module": "./ai-indicator"
3941
+ "name": "foundationAccordionShadowOptions",
3942
+ "module": "src/accordion/accordion.ts"
3950
3943
  }
3951
3944
  },
3952
3945
  {
3953
3946
  "kind": "js",
3954
- "name": "foundationAiIndicator",
3947
+ "name": "defaultAccordionConfig",
3955
3948
  "declaration": {
3956
- "name": "foundationAiIndicator",
3957
- "module": "./ai-indicator"
3949
+ "name": "defaultAccordionConfig",
3950
+ "module": "src/accordion/accordion.ts"
3958
3951
  }
3959
3952
  },
3960
3953
  {
3961
3954
  "kind": "js",
3962
- "name": "type",
3955
+ "name": "foundationAccordion",
3963
3956
  "declaration": {
3964
- "name": "type",
3965
- "module": "./ai-indicator"
3957
+ "name": "foundationAccordion",
3958
+ "module": "src/accordion/accordion.ts"
3966
3959
  }
3967
- },
3960
+ }
3961
+ ]
3962
+ },
3963
+ {
3964
+ "kind": "javascript-module",
3965
+ "path": "src/accordion/index.ts",
3966
+ "declarations": [],
3967
+ "exports": [
3968
3968
  {
3969
3969
  "kind": "js",
3970
- "name": "AIIndicatorState",
3970
+ "name": "*",
3971
3971
  "declaration": {
3972
- "name": "AIIndicatorState",
3973
- "module": "./ai-indicator"
3972
+ "name": "*",
3973
+ "package": "./accordion.template"
3974
3974
  }
3975
3975
  },
3976
3976
  {
3977
3977
  "kind": "js",
3978
- "name": "foundationAiIndicatorTemplate",
3978
+ "name": "*",
3979
3979
  "declaration": {
3980
- "name": "foundationAiIndicatorTemplate",
3981
- "module": "./ai-indicator.template"
3980
+ "name": "*",
3981
+ "package": "./accordion.styles"
3982
3982
  }
3983
3983
  },
3984
3984
  {
3985
3985
  "kind": "js",
3986
- "name": "foundationAiIndicatorStyles",
3986
+ "name": "*",
3987
3987
  "declaration": {
3988
- "name": "foundationAiIndicatorStyles",
3989
- "module": "./ai-indicator.styles"
3988
+ "name": "*",
3989
+ "package": "./accordion"
3990
3990
  }
3991
3991
  }
3992
3992
  ]
@@ -17024,7 +17024,7 @@
17024
17024
  "type": {
17025
17025
  "text": "ElementStyles"
17026
17026
  },
17027
- "default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n z-index: var(--dialog-z-index, auto);\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n\n .content-container {\n box-sizing: border-box;\n }\n\n :host([resizable]) dialog {\n position: relative;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n }\n\n :host([resizable]) dialog[open] {\n display: flex;\n flex-direction: column;\n }\n\n /* Override design system max-width constraints for resizable dialogs */\n :host([resizable]) dialog .content-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n max-height: 100%;\n min-width: 100%;\n max-width: 100%;\n resize: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n :host([resizable]) .content-container {\n flex: 1 1 auto;\n overflow: auto;\n min-height: 0;\n box-sizing: border-box;\n }\n\n :host([resizable]) .top,\n :host([resizable]) .bottom {\n flex: 0 0 auto;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n /* Resize handles */\n .resize-handle {\n position: absolute;\n z-index: 10;\n }\n\n /* Edge handles */\n .resize-handle-n,\n .resize-handle-s {\n left: 0;\n right: 0;\n height: 8px;\n cursor: ns-resize;\n }\n\n .resize-handle-n {\n top: 0;\n }\n\n .resize-handle-s {\n bottom: 0;\n }\n\n .resize-handle-e,\n .resize-handle-w {\n top: 0;\n bottom: 0;\n width: 8px;\n cursor: ew-resize;\n }\n\n .resize-handle-e {\n right: 0;\n }\n\n .resize-handle-w {\n left: 0;\n }\n\n /* Corner handles */\n .resize-handle-ne,\n .resize-handle-nw,\n .resize-handle-se,\n .resize-handle-sw {\n width: 16px;\n height: 16px;\n }\n\n .resize-handle-ne {\n top: 0;\n right: 0;\n cursor: nesw-resize;\n }\n\n .resize-handle-nw {\n top: 0;\n left: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-se {\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-sw {\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n }\n\n /* Visual indicator for corner handles */\n .resize-handle-se::after,\n .resize-handle-sw::after,\n .resize-handle-ne::after,\n .resize-handle-nw::after {\n content: '';\n position: absolute;\n width: 8px;\n height: 8px;\n border-style: solid;\n border-color: var(--neutral-stroke-divider-rest);\n opacity: 50%;\n transition: opacity 0.2s;\n margin: 2px;\n }\n\n .resize-handle-se::after {\n bottom: 2px;\n right: 2px;\n border-width: 0 3px 3px 0;\n }\n\n .resize-handle-sw::after {\n bottom: 2px;\n left: 2px;\n border-width: 0 0 3px 3px;\n }\n\n .resize-handle-ne::after {\n top: 2px;\n right: 2px;\n border-width: 3px 3px 0 0;\n }\n\n .resize-handle-nw::after {\n top: 2px;\n left: 2px;\n border-width: 3px 0 0 3px;\n }\n\n /* Hover effect */\n .resize-handle:hover::after {\n opacity: 100%;\n }\n\n /* Resizing state */\n dialog.resizing {\n user-select: none;\n pointer-events: auto;\n }\n\n /* Fixed positioning support for resizable dialogs */\n dialog[style*='position: fixed'] {\n margin: 0;\n }\n`"
17027
+ "default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n /* The inner element is position:fixed, so it is never CLIPPED — but an 'auto' default leaves it\n in the normal paint tree at its tree position, where any later-in-DOM sibling paints over it\n (e.g. a non-modal dialog inside one FlexLayout tile disappears under the tiles below).\n 1001 clears app headers (999) and FlexLayout's drag chrome (1000) while staying under Flyout\n (2000/2001). Modal is unaffected: showModal() puts it in the top layer, above all of this. */\n z-index: var(--dialog-z-index, 1001);\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n\n .content-container {\n box-sizing: border-box;\n }\n\n :host([resizable]) dialog {\n position: relative;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n }\n\n :host([resizable]) dialog[open] {\n display: flex;\n flex-direction: column;\n }\n\n /* Override design system max-width constraints for resizable dialogs */\n :host([resizable]) dialog .content-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n max-height: 100%;\n min-width: 100%;\n max-width: 100%;\n resize: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n :host([resizable]) .content-container {\n flex: 1 1 auto;\n overflow: auto;\n min-height: 0;\n box-sizing: border-box;\n }\n\n :host([resizable]) .top,\n :host([resizable]) .bottom {\n flex: 0 0 auto;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n /* Resize handles */\n .resize-handle {\n position: absolute;\n z-index: 10;\n }\n\n /* Edge handles */\n .resize-handle-n,\n .resize-handle-s {\n left: 0;\n right: 0;\n height: 8px;\n cursor: ns-resize;\n }\n\n .resize-handle-n {\n top: 0;\n }\n\n .resize-handle-s {\n bottom: 0;\n }\n\n .resize-handle-e,\n .resize-handle-w {\n top: 0;\n bottom: 0;\n width: 8px;\n cursor: ew-resize;\n }\n\n .resize-handle-e {\n right: 0;\n }\n\n .resize-handle-w {\n left: 0;\n }\n\n /* Corner handles */\n .resize-handle-ne,\n .resize-handle-nw,\n .resize-handle-se,\n .resize-handle-sw {\n width: 16px;\n height: 16px;\n }\n\n .resize-handle-ne {\n top: 0;\n right: 0;\n cursor: nesw-resize;\n }\n\n .resize-handle-nw {\n top: 0;\n left: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-se {\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-sw {\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n }\n\n /* Visual indicator for corner handles */\n .resize-handle-se::after,\n .resize-handle-sw::after,\n .resize-handle-ne::after,\n .resize-handle-nw::after {\n content: '';\n position: absolute;\n width: 8px;\n height: 8px;\n border-style: solid;\n border-color: var(--neutral-stroke-divider-rest);\n opacity: 50%;\n transition: opacity 0.2s;\n margin: 2px;\n }\n\n .resize-handle-se::after {\n bottom: 2px;\n right: 2px;\n border-width: 0 3px 3px 0;\n }\n\n .resize-handle-sw::after {\n bottom: 2px;\n left: 2px;\n border-width: 0 0 3px 3px;\n }\n\n .resize-handle-ne::after {\n top: 2px;\n right: 2px;\n border-width: 3px 3px 0 0;\n }\n\n .resize-handle-nw::after {\n top: 2px;\n left: 2px;\n border-width: 3px 0 0 3px;\n }\n\n /* Hover effect */\n .resize-handle:hover::after {\n opacity: 100%;\n }\n\n /* Resizing state */\n dialog.resizing {\n user-select: none;\n pointer-events: auto;\n }\n\n /* Fixed positioning support for resizable dialogs */\n dialog[style*='position: fixed'] {\n margin: 0;\n }\n`"
17028
17028
  }
17029
17029
  ],
17030
17030
  "exports": [