@genesislcap/foundation-ui 14.482.1-alpha-c9fc44ab6.0 → 14.482.2-alpha-397d953.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1398,6 +1398,37 @@
1398
1398
  }
1399
1399
  ]
1400
1400
  },
1401
+ {
1402
+ "kind": "javascript-module",
1403
+ "path": "src/_config/index.ts",
1404
+ "declarations": [],
1405
+ "exports": [
1406
+ {
1407
+ "kind": "js",
1408
+ "name": "*",
1409
+ "declaration": {
1410
+ "name": "*",
1411
+ "package": "./styles"
1412
+ }
1413
+ },
1414
+ {
1415
+ "kind": "js",
1416
+ "name": "*",
1417
+ "declaration": {
1418
+ "name": "*",
1419
+ "package": "./tokens"
1420
+ }
1421
+ },
1422
+ {
1423
+ "kind": "js",
1424
+ "name": "*",
1425
+ "declaration": {
1426
+ "name": "*",
1427
+ "package": "./values"
1428
+ }
1429
+ }
1430
+ ]
1431
+ },
1401
1432
  {
1402
1433
  "kind": "javascript-module",
1403
1434
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1794,65 +1825,11 @@
1794
1825
  },
1795
1826
  {
1796
1827
  "kind": "javascript-module",
1797
- "path": "src/_config/index.ts",
1798
- "declarations": [],
1799
- "exports": [
1800
- {
1801
- "kind": "js",
1802
- "name": "*",
1803
- "declaration": {
1804
- "name": "*",
1805
- "package": "./styles"
1806
- }
1807
- },
1808
- {
1809
- "kind": "js",
1810
- "name": "*",
1811
- "declaration": {
1812
- "name": "*",
1813
- "package": "./tokens"
1814
- }
1815
- },
1816
- {
1817
- "kind": "js",
1818
- "name": "*",
1819
- "declaration": {
1820
- "name": "*",
1821
- "package": "./values"
1822
- }
1823
- }
1824
- ]
1825
- },
1826
- {
1827
- "kind": "javascript-module",
1828
- "path": "src/actions-menu/actions-menu.styles.ts",
1828
+ "path": "src/accordion/accordion.styles.ts",
1829
1829
  "declarations": [
1830
1830
  {
1831
1831
  "kind": "function",
1832
- "name": "actionsMenuBaseStyles",
1833
- "return": {
1834
- "type": {
1835
- "text": "ElementStyles"
1836
- }
1837
- },
1838
- "parameters": [
1839
- {
1840
- "name": "context",
1841
- "type": {
1842
- "text": "ElementDefinitionContext"
1843
- }
1844
- },
1845
- {
1846
- "name": "definition",
1847
- "type": {
1848
- "text": "FoundationElementDefinition"
1849
- }
1850
- }
1851
- ]
1852
- },
1853
- {
1854
- "kind": "function",
1855
- "name": "foundationActionsMenuStyles",
1832
+ "name": "foundationAccordionStyles",
1856
1833
  "return": {
1857
1834
  "type": {
1858
1835
  "text": "ElementStyles"
@@ -1877,269 +1854,277 @@
1877
1854
  "exports": [
1878
1855
  {
1879
1856
  "kind": "js",
1880
- "name": "actionsMenuBaseStyles",
1881
- "declaration": {
1882
- "name": "actionsMenuBaseStyles",
1883
- "module": "src/actions-menu/actions-menu.styles.ts"
1884
- }
1885
- },
1886
- {
1887
- "kind": "js",
1888
- "name": "foundationActionsMenuStyles",
1857
+ "name": "foundationAccordionStyles",
1889
1858
  "declaration": {
1890
- "name": "foundationActionsMenuStyles",
1891
- "module": "src/actions-menu/actions-menu.styles.ts"
1859
+ "name": "foundationAccordionStyles",
1860
+ "module": "src/accordion/accordion.styles.ts"
1892
1861
  }
1893
1862
  }
1894
1863
  ]
1895
1864
  },
1896
1865
  {
1897
1866
  "kind": "javascript-module",
1898
- "path": "src/actions-menu/actions-menu.template.ts",
1867
+ "path": "src/accordion/accordion.template.ts",
1899
1868
  "declarations": [
1900
1869
  {
1901
1870
  "kind": "function",
1902
- "name": "menuTemplate",
1871
+ "name": "foundationAccordionTemplate",
1872
+ "return": {
1873
+ "type": {
1874
+ "text": "ViewTemplate<Accordion>"
1875
+ }
1876
+ },
1903
1877
  "parameters": [
1904
1878
  {
1905
- "name": "prefix",
1879
+ "name": "context",
1906
1880
  "type": {
1907
- "text": "string"
1881
+ "text": "ElementDefinitionContext"
1908
1882
  }
1909
- }
1910
- ]
1911
- },
1912
- {
1913
- "kind": "function",
1914
- "name": "singleOptionTemplate",
1915
- "parameters": [
1883
+ },
1916
1884
  {
1917
- "name": "prefix",
1885
+ "name": "definition",
1918
1886
  "type": {
1919
- "text": "string"
1887
+ "text": "FoundationElementDefinition"
1920
1888
  }
1921
1889
  }
1922
1890
  ]
1923
- },
1924
- {
1925
- "kind": "variable",
1926
- "name": "foundationActionsMenuTemplate",
1927
- "type": {
1928
- "text": "ViewTemplate<ActionsMenu>"
1929
- },
1930
- "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`"
1931
1891
  }
1932
1892
  ],
1933
1893
  "exports": [
1934
1894
  {
1935
1895
  "kind": "js",
1936
- "name": "menuTemplate",
1937
- "declaration": {
1938
- "name": "menuTemplate",
1939
- "module": "src/actions-menu/actions-menu.template.ts"
1940
- }
1941
- },
1942
- {
1943
- "kind": "js",
1944
- "name": "singleOptionTemplate",
1945
- "declaration": {
1946
- "name": "singleOptionTemplate",
1947
- "module": "src/actions-menu/actions-menu.template.ts"
1948
- }
1949
- },
1950
- {
1951
- "kind": "js",
1952
- "name": "foundationActionsMenuTemplate",
1896
+ "name": "foundationAccordionTemplate",
1953
1897
  "declaration": {
1954
- "name": "foundationActionsMenuTemplate",
1955
- "module": "src/actions-menu/actions-menu.template.ts"
1898
+ "name": "foundationAccordionTemplate",
1899
+ "module": "src/accordion/accordion.template.ts"
1956
1900
  }
1957
1901
  }
1958
1902
  ]
1959
1903
  },
1960
1904
  {
1961
1905
  "kind": "javascript-module",
1962
- "path": "src/actions-menu/actions-menu.ts",
1906
+ "path": "src/accordion/accordion.ts",
1963
1907
  "declarations": [
1964
1908
  {
1965
1909
  "kind": "class",
1966
1910
  "description": "",
1967
- "name": "ActionsMenu",
1968
- "members": [
1911
+ "name": "Accordion",
1912
+ "superclass": {
1913
+ "name": "FASTAccordion",
1914
+ "package": "@microsoft/fast-foundation"
1915
+ },
1916
+ "tagName": "%%prefix%%-accordion",
1917
+ "customElement": true,
1918
+ "attributes": [
1969
1919
  {
1970
- "kind": "field",
1971
- "name": "actions",
1920
+ "name": "expand-mode",
1972
1921
  "type": {
1973
- "text": "ActionMenuItem[]"
1922
+ "text": "AccordionExpandMode"
1923
+ },
1924
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
+ "fieldName": "expandmode",
1926
+ "inheritedFrom": {
1927
+ "name": "Accordion",
1928
+ "module": "src/accordion/accordion.ts"
1974
1929
  }
1975
- },
1930
+ }
1931
+ ],
1932
+ "members": [
1976
1933
  {
1977
1934
  "kind": "field",
1978
- "name": "isVertical",
1935
+ "name": "expandmode",
1979
1936
  "type": {
1980
- "text": "boolean"
1937
+ "text": "AccordionExpandMode"
1981
1938
  },
1982
- "default": "false"
1939
+ "privacy": "public",
1940
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
+ "inheritedFrom": {
1942
+ "name": "Accordion",
1943
+ "module": "src/accordion/accordion.ts"
1944
+ }
1983
1945
  },
1984
1946
  {
1985
1947
  "kind": "field",
1986
- "name": "addDefaultActions",
1948
+ "name": "activeid",
1987
1949
  "type": {
1988
- "text": "boolean"
1950
+ "text": "string | null"
1989
1951
  },
1990
- "default": "true"
1952
+ "privacy": "private",
1953
+ "inheritedFrom": {
1954
+ "name": "Accordion",
1955
+ "module": "src/accordion/accordion.ts"
1956
+ }
1991
1957
  },
1992
1958
  {
1993
1959
  "kind": "field",
1994
- "name": "autoCloseOnAction",
1960
+ "name": "activeItemIndex",
1995
1961
  "type": {
1996
- "text": "boolean"
1962
+ "text": "number"
1997
1963
  },
1998
- "default": "true"
1999
- },
2000
- {
2001
- "kind": "field",
2002
- "name": "classNames",
2003
- "type": {
2004
- "text": "string"
1964
+ "privacy": "private",
1965
+ "default": "0",
1966
+ "inheritedFrom": {
1967
+ "name": "Accordion",
1968
+ "module": "src/accordion/accordion.ts"
2005
1969
  }
2006
1970
  },
2007
1971
  {
2008
1972
  "kind": "field",
2009
- "name": "definition",
1973
+ "name": "accordionIds",
2010
1974
  "type": {
2011
- "text": "any"
1975
+ "text": "Array<string | null>"
1976
+ },
1977
+ "privacy": "private",
1978
+ "inheritedFrom": {
1979
+ "name": "Accordion",
1980
+ "module": "src/accordion/accordion.ts"
2012
1981
  }
2013
1982
  },
2014
1983
  {
2015
1984
  "kind": "field",
2016
- "name": "name",
2017
- "type": {
2018
- "text": "string"
2019
- },
2020
- "default": "'Actions'"
1985
+ "name": "change",
1986
+ "privacy": "private",
1987
+ "inheritedFrom": {
1988
+ "name": "Accordion",
1989
+ "module": "src/accordion/accordion.ts"
1990
+ }
2021
1991
  },
2022
1992
  {
2023
- "kind": "field",
2024
- "name": "open",
2025
- "type": {
2026
- "text": "boolean"
1993
+ "kind": "method",
1994
+ "name": "findExpandedItem",
1995
+ "privacy": "private",
1996
+ "return": {
1997
+ "type": {
1998
+ "text": "AccordionItem | null"
1999
+ }
2027
2000
  },
2028
- "default": "false"
2029
- },
2030
- {
2031
- "kind": "field",
2032
- "name": "buttonAppearance",
2033
- "type": {
2034
- "text": "string"
2001
+ "inheritedFrom": {
2002
+ "name": "Accordion",
2003
+ "module": "src/accordion/accordion.ts"
2035
2004
  }
2036
2005
  },
2037
2006
  {
2038
2007
  "kind": "field",
2039
- "name": "hideDisabled",
2040
- "type": {
2041
- "text": "boolean"
2042
- },
2043
- "default": "false"
2008
+ "name": "setItems",
2009
+ "privacy": "private",
2010
+ "inheritedFrom": {
2011
+ "name": "Accordion",
2012
+ "module": "src/accordion/accordion.ts"
2013
+ }
2044
2014
  },
2045
2015
  {
2046
- "kind": "field",
2047
- "name": "hideMenuSingleOption",
2048
- "type": {
2049
- "text": "boolean"
2016
+ "kind": "method",
2017
+ "name": "resetItems",
2018
+ "privacy": "private",
2019
+ "return": {
2020
+ "type": {
2021
+ "text": "void"
2022
+ }
2050
2023
  },
2051
- "default": "false"
2024
+ "inheritedFrom": {
2025
+ "name": "Accordion",
2026
+ "module": "src/accordion/accordion.ts"
2027
+ }
2052
2028
  },
2053
2029
  {
2054
2030
  "kind": "field",
2055
- "name": "singleOption",
2056
- "type": {
2057
- "text": "ActionMenuItem"
2031
+ "name": "removeItemListeners",
2032
+ "privacy": "private",
2033
+ "inheritedFrom": {
2034
+ "name": "Accordion",
2035
+ "module": "src/accordion/accordion.ts"
2058
2036
  }
2059
2037
  },
2060
2038
  {
2061
2039
  "kind": "field",
2062
- "name": "actionsMenu",
2063
- "type": {
2064
- "text": "HTMLElement"
2040
+ "name": "activeItemChange",
2041
+ "privacy": "private",
2042
+ "inheritedFrom": {
2043
+ "name": "Accordion",
2044
+ "module": "src/accordion/accordion.ts"
2065
2045
  }
2066
2046
  },
2067
2047
  {
2068
2048
  "kind": "method",
2069
- "name": "definitionChanged",
2070
- "privacy": "protected",
2071
- "parameters": [
2072
- {
2073
- "name": "oldValue",
2074
- "type": {
2075
- "text": "any"
2076
- }
2077
- },
2078
- {
2079
- "name": "newValue",
2080
- "type": {
2081
- "text": "any"
2082
- }
2049
+ "name": "getItemIds",
2050
+ "privacy": "private",
2051
+ "return": {
2052
+ "type": {
2053
+ "text": "Array<string | null>"
2083
2054
  }
2084
- ]
2085
- },
2086
- {
2087
- "kind": "method",
2088
- "name": "openChanged",
2089
- "privacy": "protected"
2090
- },
2091
- {
2092
- "kind": "method",
2093
- "name": "toggleActionsMenuVisibility"
2055
+ },
2056
+ "inheritedFrom": {
2057
+ "name": "Accordion",
2058
+ "module": "src/accordion/accordion.ts"
2059
+ }
2094
2060
  },
2095
2061
  {
2096
2062
  "kind": "method",
2097
- "name": "onActionMenuItemClick",
2098
- "parameters": [
2099
- {
2100
- "name": "callback",
2101
- "type": {
2102
- "text": "(rowData) => void | any"
2103
- }
2063
+ "name": "isSingleExpandMode",
2064
+ "privacy": "private",
2065
+ "return": {
2066
+ "type": {
2067
+ "text": "boolean"
2104
2068
  }
2105
- ]
2069
+ },
2070
+ "inheritedFrom": {
2071
+ "name": "Accordion",
2072
+ "module": "src/accordion/accordion.ts"
2073
+ }
2106
2074
  },
2107
2075
  {
2108
2076
  "kind": "field",
2109
- "name": "allActions",
2110
- "type": {
2111
- "text": "ActionMenuItem[]"
2112
- },
2113
- "readonly": true
2077
+ "name": "handleItemKeyDown",
2078
+ "privacy": "private",
2079
+ "inheritedFrom": {
2080
+ "name": "Accordion",
2081
+ "module": "src/accordion/accordion.ts"
2082
+ }
2114
2083
  },
2115
2084
  {
2116
2085
  "kind": "field",
2117
- "name": "rowData",
2118
- "readonly": true
2086
+ "name": "handleItemFocus",
2087
+ "privacy": "private",
2088
+ "inheritedFrom": {
2089
+ "name": "Accordion",
2090
+ "module": "src/accordion/accordion.ts"
2091
+ }
2119
2092
  },
2120
2093
  {
2121
2094
  "kind": "method",
2122
- "name": "getLabel",
2095
+ "name": "adjust",
2096
+ "privacy": "private",
2097
+ "return": {
2098
+ "type": {
2099
+ "text": "void"
2100
+ }
2101
+ },
2123
2102
  "parameters": [
2124
2103
  {
2125
- "name": "name",
2104
+ "name": "adjustment",
2126
2105
  "type": {
2127
- "text": "string | ((rowData: any) => string)"
2106
+ "text": "number"
2128
2107
  }
2129
2108
  }
2130
- ]
2109
+ ],
2110
+ "inheritedFrom": {
2111
+ "name": "Accordion",
2112
+ "module": "src/accordion/accordion.ts"
2113
+ }
2131
2114
  },
2132
2115
  {
2133
2116
  "kind": "method",
2134
- "name": "getTemplate",
2135
- "parameters": [
2136
- {
2137
- "name": "prefix",
2138
- "type": {
2139
- "text": "string"
2140
- }
2117
+ "name": "focusItem",
2118
+ "privacy": "private",
2119
+ "return": {
2120
+ "type": {
2121
+ "text": "void"
2141
2122
  }
2142
- ]
2123
+ },
2124
+ "inheritedFrom": {
2125
+ "name": "Accordion",
2126
+ "module": "src/accordion/accordion.ts"
2127
+ }
2143
2128
  },
2144
2129
  {
2145
2130
  "kind": "field",
@@ -2253,107 +2238,78 @@
2253
2238
  }
2254
2239
  }
2255
2240
  ],
2256
- "attributes": [
2257
- {
2258
- "name": "is-vertical",
2259
- "type": {
2260
- "text": "boolean"
2261
- },
2262
- "default": "false",
2263
- "fieldName": "isVertical"
2264
- },
2265
- {
2266
- "name": "add-default-actions",
2267
- "type": {
2268
- "text": "boolean"
2269
- },
2270
- "default": "true",
2271
- "fieldName": "addDefaultActions"
2272
- },
2273
- {
2274
- "name": "auto-close-on-action",
2275
- "type": {
2276
- "text": "boolean"
2277
- },
2278
- "default": "true",
2279
- "fieldName": "autoCloseOnAction"
2280
- },
2281
- {
2282
- "name": "name",
2283
- "type": {
2284
- "text": "string"
2285
- },
2286
- "default": "'Actions'",
2287
- "fieldName": "name"
2288
- },
2289
- {
2290
- "name": "open",
2291
- "type": {
2292
- "text": "boolean"
2293
- },
2294
- "default": "false",
2295
- "fieldName": "open"
2296
- },
2297
- {
2298
- "name": "buttonAppearance",
2299
- "type": {
2300
- "text": "string"
2301
- },
2302
- "fieldName": "buttonAppearance"
2303
- },
2304
- {
2305
- "name": "hide-disabled",
2306
- "type": {
2307
- "text": "boolean"
2308
- },
2309
- "default": "false",
2310
- "fieldName": "hideDisabled"
2311
- },
2241
+ "events": [
2312
2242
  {
2313
- "name": "hide-menu-single-option",
2314
- "type": {
2315
- "text": "boolean"
2316
- },
2317
- "default": "false",
2318
- "fieldName": "hideMenuSingleOption"
2243
+ "description": "Fires a custom 'change' event when the active item changes",
2244
+ "name": "change",
2245
+ "inheritedFrom": {
2246
+ "name": "Accordion",
2247
+ "module": "src/accordion/accordion.ts"
2248
+ }
2319
2249
  }
2320
- ],
2321
- "superclass": {
2322
- "name": "FoundationElement",
2323
- "package": "@microsoft/fast-foundation"
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "variable",
2254
+ "name": "foundationAccordionShadowOptions",
2255
+ "type": {
2256
+ "text": "ShadowRootInit"
2324
2257
  },
2325
- "tagName": "%%prefix%%-actions-menu",
2326
- "customElement": true
2258
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2327
2259
  },
2328
2260
  {
2329
2261
  "kind": "variable",
2330
- "name": "foundationActionsMenu",
2331
- "description": "The Foundation Actions Menu",
2262
+ "name": "defaultAccordionConfig",
2263
+ "type": {
2264
+ "text": "object"
2265
+ },
2266
+ "default": "{}"
2267
+ },
2268
+ {
2269
+ "kind": "variable",
2270
+ "name": "foundationAccordion",
2271
+ "description": "The Foundation Accordion",
2332
2272
  "privacy": "public"
2333
2273
  }
2334
2274
  ],
2335
2275
  "exports": [
2336
2276
  {
2337
2277
  "kind": "js",
2338
- "name": "ActionsMenu",
2278
+ "name": "Accordion",
2339
2279
  "declaration": {
2340
- "name": "ActionsMenu",
2341
- "module": "src/actions-menu/actions-menu.ts"
2280
+ "name": "Accordion",
2281
+ "module": "src/accordion/accordion.ts"
2342
2282
  }
2343
2283
  },
2344
2284
  {
2345
2285
  "kind": "js",
2346
- "name": "foundationActionsMenu",
2286
+ "name": "foundationAccordionShadowOptions",
2347
2287
  "declaration": {
2348
- "name": "foundationActionsMenu",
2349
- "module": "src/actions-menu/actions-menu.ts"
2288
+ "name": "foundationAccordionShadowOptions",
2289
+ "module": "src/accordion/accordion.ts"
2290
+ }
2291
+ },
2292
+ {
2293
+ "kind": "js",
2294
+ "name": "defaultAccordionConfig",
2295
+ "declaration": {
2296
+ "name": "defaultAccordionConfig",
2297
+ "module": "src/accordion/accordion.ts"
2298
+ }
2299
+ },
2300
+ {
2301
+ "kind": "js",
2302
+ "name": "foundationAccordion",
2303
+ "declaration": {
2304
+ "name": "foundationAccordion",
2305
+ "module": "src/accordion/accordion.ts"
2350
2306
  }
2351
2307
  }
2352
2308
  ]
2353
2309
  },
2354
2310
  {
2355
2311
  "kind": "javascript-module",
2356
- "path": "src/actions-menu/index.ts",
2312
+ "path": "src/accordion/index.ts",
2357
2313
  "declarations": [],
2358
2314
  "exports": [
2359
2315
  {
@@ -2361,7 +2317,7 @@
2361
2317
  "name": "*",
2362
2318
  "declaration": {
2363
2319
  "name": "*",
2364
- "package": "./actions-menu.styles"
2320
+ "package": "./accordion.template"
2365
2321
  }
2366
2322
  },
2367
2323
  {
@@ -2369,7 +2325,7 @@
2369
2325
  "name": "*",
2370
2326
  "declaration": {
2371
2327
  "name": "*",
2372
- "package": "./actions-menu.template"
2328
+ "package": "./accordion.styles"
2373
2329
  }
2374
2330
  },
2375
2331
  {
@@ -2377,138 +2333,210 @@
2377
2333
  "name": "*",
2378
2334
  "declaration": {
2379
2335
  "name": "*",
2380
- "package": "./actions-menu"
2336
+ "package": "./accordion"
2381
2337
  }
2382
2338
  }
2383
2339
  ]
2384
2340
  },
2385
2341
  {
2386
2342
  "kind": "javascript-module",
2387
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2388
2344
  "declarations": [
2389
2345
  {
2390
- "kind": "variable",
2391
- "name": "foundationAiCriteriaSearchStyles",
2392
- "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`"
2346
+ "kind": "function",
2347
+ "name": "actionsMenuBaseStyles",
2348
+ "return": {
2349
+ "type": {
2350
+ "text": "ElementStyles"
2351
+ }
2352
+ },
2353
+ "parameters": [
2354
+ {
2355
+ "name": "context",
2356
+ "type": {
2357
+ "text": "ElementDefinitionContext"
2358
+ }
2359
+ },
2360
+ {
2361
+ "name": "definition",
2362
+ "type": {
2363
+ "text": "FoundationElementDefinition"
2364
+ }
2365
+ }
2366
+ ]
2367
+ },
2368
+ {
2369
+ "kind": "function",
2370
+ "name": "foundationActionsMenuStyles",
2371
+ "return": {
2372
+ "type": {
2373
+ "text": "ElementStyles"
2374
+ }
2375
+ },
2376
+ "parameters": [
2377
+ {
2378
+ "name": "context",
2379
+ "type": {
2380
+ "text": "ElementDefinitionContext"
2381
+ }
2382
+ },
2383
+ {
2384
+ "name": "definition",
2385
+ "type": {
2386
+ "text": "FoundationElementDefinition"
2387
+ }
2388
+ }
2389
+ ]
2393
2390
  }
2394
2391
  ],
2395
2392
  "exports": [
2396
2393
  {
2397
2394
  "kind": "js",
2398
- "name": "foundationAiCriteriaSearchStyles",
2395
+ "name": "actionsMenuBaseStyles",
2399
2396
  "declaration": {
2400
- "name": "foundationAiCriteriaSearchStyles",
2401
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2397
+ "name": "actionsMenuBaseStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2399
+ }
2400
+ },
2401
+ {
2402
+ "kind": "js",
2403
+ "name": "foundationActionsMenuStyles",
2404
+ "declaration": {
2405
+ "name": "foundationActionsMenuStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2402
2407
  }
2403
2408
  }
2404
2409
  ]
2405
2410
  },
2406
2411
  {
2407
2412
  "kind": "javascript-module",
2408
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2413
+ "path": "src/actions-menu/actions-menu.template.ts",
2409
2414
  "declarations": [
2415
+ {
2416
+ "kind": "function",
2417
+ "name": "menuTemplate",
2418
+ "parameters": [
2419
+ {
2420
+ "name": "prefix",
2421
+ "type": {
2422
+ "text": "string"
2423
+ }
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "singleOptionTemplate",
2430
+ "parameters": [
2431
+ {
2432
+ "name": "prefix",
2433
+ "type": {
2434
+ "text": "string"
2435
+ }
2436
+ }
2437
+ ]
2438
+ },
2410
2439
  {
2411
2440
  "kind": "variable",
2412
- "name": "foundationAiCriteriaSearchTemplate",
2441
+ "name": "foundationActionsMenuTemplate",
2413
2442
  "type": {
2414
- "text": "ViewTemplate<AiCriteriaSearch>"
2443
+ "text": "ViewTemplate<ActionsMenu>"
2415
2444
  },
2416
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2445
+ "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`"
2417
2446
  }
2418
2447
  ],
2419
2448
  "exports": [
2420
2449
  {
2421
2450
  "kind": "js",
2422
- "name": "foundationAiCriteriaSearchTemplate",
2451
+ "name": "menuTemplate",
2423
2452
  "declaration": {
2424
- "name": "foundationAiCriteriaSearchTemplate",
2425
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2453
+ "name": "menuTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2455
+ }
2456
+ },
2457
+ {
2458
+ "kind": "js",
2459
+ "name": "singleOptionTemplate",
2460
+ "declaration": {
2461
+ "name": "singleOptionTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "foundationActionsMenuTemplate",
2468
+ "declaration": {
2469
+ "name": "foundationActionsMenuTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2426
2471
  }
2427
2472
  }
2428
2473
  ]
2429
2474
  },
2430
2475
  {
2431
2476
  "kind": "javascript-module",
2432
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2477
+ "path": "src/actions-menu/actions-menu.ts",
2433
2478
  "declarations": [
2434
2479
  {
2435
2480
  "kind": "class",
2436
- "description": "Natural-language criteria search input with AI interpretation.",
2437
- "name": "AiCriteriaSearch",
2481
+ "description": "",
2482
+ "name": "ActionsMenu",
2438
2483
  "members": [
2439
2484
  {
2440
2485
  "kind": "field",
2441
- "name": "providerRegistry",
2486
+ "name": "actions",
2442
2487
  "type": {
2443
- "text": "AIProviderRegistry"
2488
+ "text": "ActionMenuItem[]"
2444
2489
  }
2445
2490
  },
2446
2491
  {
2447
2492
  "kind": "field",
2448
- "name": "placeholder",
2449
- "type": {
2450
- "text": "string"
2451
- },
2452
- "default": "'Describe your search criteria in natural language...'"
2453
- },
2454
- {
2455
- "kind": "field",
2456
- "name": "disabled",
2493
+ "name": "isVertical",
2457
2494
  "type": {
2458
2495
  "text": "boolean"
2459
- }
2460
- },
2461
- {
2462
- "kind": "field",
2463
- "name": "inputValue",
2464
- "type": {
2465
- "text": "string"
2466
2496
  },
2467
- "default": "''"
2497
+ "default": "false"
2468
2498
  },
2469
2499
  {
2470
2500
  "kind": "field",
2471
- "name": "isInterpreting",
2501
+ "name": "addDefaultActions",
2472
2502
  "type": {
2473
2503
  "text": "boolean"
2474
2504
  },
2475
- "default": "false"
2505
+ "default": "true"
2476
2506
  },
2477
2507
  {
2478
2508
  "kind": "field",
2479
- "name": "lastValidCriteria",
2509
+ "name": "autoCloseOnAction",
2480
2510
  "type": {
2481
- "text": "string | null"
2511
+ "text": "boolean"
2482
2512
  },
2483
- "default": "null"
2513
+ "default": "true"
2484
2514
  },
2485
2515
  {
2486
2516
  "kind": "field",
2487
- "name": "activeGroups",
2517
+ "name": "classNames",
2488
2518
  "type": {
2489
- "text": "CriteriaGroup[]"
2490
- },
2491
- "default": "[]"
2519
+ "text": "string"
2520
+ }
2492
2521
  },
2493
2522
  {
2494
2523
  "kind": "field",
2495
- "name": "showingChips",
2524
+ "name": "definition",
2496
2525
  "type": {
2497
- "text": "boolean"
2498
- },
2499
- "default": "false"
2526
+ "text": "any"
2527
+ }
2500
2528
  },
2501
2529
  {
2502
2530
  "kind": "field",
2503
- "name": "fieldMetadata",
2531
+ "name": "name",
2504
2532
  "type": {
2505
- "text": "MetadataDetail[] | string[]"
2533
+ "text": "string"
2506
2534
  },
2507
- "default": "[]"
2535
+ "default": "'Actions'"
2508
2536
  },
2509
2537
  {
2510
2538
  "kind": "field",
2511
- "name": "isRecording",
2539
+ "name": "open",
2512
2540
  "type": {
2513
2541
  "text": "boolean"
2514
2542
  },
@@ -2516,125 +2544,117 @@
2516
2544
  },
2517
2545
  {
2518
2546
  "kind": "field",
2519
- "name": "textAreaRef",
2547
+ "name": "buttonAppearance",
2520
2548
  "type": {
2521
- "text": "HTMLTextAreaElement"
2522
- },
2523
- "privacy": "public"
2549
+ "text": "string"
2550
+ }
2524
2551
  },
2525
2552
  {
2526
2553
  "kind": "field",
2527
- "name": "stopRecording",
2554
+ "name": "hideDisabled",
2528
2555
  "type": {
2529
- "text": "(() => void) | null"
2556
+ "text": "boolean"
2530
2557
  },
2531
- "privacy": "private",
2532
- "default": "null"
2558
+ "default": "false"
2533
2559
  },
2534
2560
  {
2535
2561
  "kind": "field",
2536
- "name": "speechApplyDebounceTimer",
2562
+ "name": "hideMenuSingleOption",
2537
2563
  "type": {
2538
- "text": "ReturnType<typeof setTimeout> | null"
2564
+ "text": "boolean"
2539
2565
  },
2540
- "privacy": "private",
2541
- "default": "null"
2566
+ "default": "false"
2542
2567
  },
2543
2568
  {
2544
2569
  "kind": "field",
2545
- "name": "speechAvailable",
2570
+ "name": "singleOption",
2546
2571
  "type": {
2547
- "text": "boolean"
2548
- },
2549
- "readonly": true
2572
+ "text": "ActionMenuItem"
2573
+ }
2550
2574
  },
2551
2575
  {
2552
2576
  "kind": "field",
2553
- "name": "criteriaChips",
2577
+ "name": "actionsMenu",
2554
2578
  "type": {
2555
- "text": "CriteriaChip[]"
2556
- },
2557
- "readonly": true
2558
- },
2559
- {
2560
- "kind": "method",
2561
- "name": "getFieldLabel",
2562
- "privacy": "private",
2563
- "return": {
2564
- "type": {
2565
- "text": "string"
2566
- }
2567
- },
2568
- "parameters": [
2569
- {
2570
- "name": "fieldName",
2571
- "type": {
2572
- "text": "string"
2573
- }
2574
- }
2575
- ]
2576
- },
2577
- {
2578
- "kind": "method",
2579
- "name": "toggleCriteriaView",
2580
- "return": {
2581
- "type": {
2582
- "text": "void"
2583
- }
2579
+ "text": "HTMLElement"
2584
2580
  }
2585
2581
  },
2586
2582
  {
2587
2583
  "kind": "method",
2588
- "name": "removeChip",
2589
- "return": {
2590
- "type": {
2591
- "text": "void"
2592
- }
2593
- },
2584
+ "name": "definitionChanged",
2585
+ "privacy": "protected",
2594
2586
  "parameters": [
2595
2587
  {
2596
- "name": "groupIndex",
2588
+ "name": "oldValue",
2597
2589
  "type": {
2598
- "text": "number"
2590
+ "text": "any"
2599
2591
  }
2600
2592
  },
2601
2593
  {
2602
- "name": "clauseIndex",
2594
+ "name": "newValue",
2603
2595
  "type": {
2604
- "text": "number"
2596
+ "text": "any"
2605
2597
  }
2606
2598
  }
2607
2599
  ]
2608
2600
  },
2609
2601
  {
2610
2602
  "kind": "method",
2611
- "name": "clearChips",
2612
- "return": {
2613
- "type": {
2614
- "text": "void"
2615
- }
2616
- }
2603
+ "name": "openChanged",
2604
+ "privacy": "protected"
2617
2605
  },
2618
2606
  {
2619
2607
  "kind": "method",
2620
- "name": "handleSubmit"
2608
+ "name": "toggleActionsMenuVisibility"
2621
2609
  },
2622
2610
  {
2623
2611
  "kind": "method",
2624
- "name": "handleBlur"
2612
+ "name": "onActionMenuItemClick",
2613
+ "parameters": [
2614
+ {
2615
+ "name": "callback",
2616
+ "type": {
2617
+ "text": "(rowData) => void | any"
2618
+ }
2619
+ }
2620
+ ]
2625
2621
  },
2626
2622
  {
2627
- "kind": "method",
2628
- "name": "clear"
2623
+ "kind": "field",
2624
+ "name": "allActions",
2625
+ "type": {
2626
+ "text": "ActionMenuItem[]"
2627
+ },
2628
+ "readonly": true
2629
+ },
2630
+ {
2631
+ "kind": "field",
2632
+ "name": "rowData",
2633
+ "readonly": true
2629
2634
  },
2630
2635
  {
2631
2636
  "kind": "method",
2632
- "name": "toggleSpeechInput"
2637
+ "name": "getLabel",
2638
+ "parameters": [
2639
+ {
2640
+ "name": "name",
2641
+ "type": {
2642
+ "text": "string | ((rowData: any) => string)"
2643
+ }
2644
+ }
2645
+ ]
2633
2646
  },
2634
2647
  {
2635
2648
  "kind": "method",
2636
- "name": "clearSpeechApplyDebounce",
2637
- "privacy": "private"
2649
+ "name": "getTemplate",
2650
+ "parameters": [
2651
+ {
2652
+ "name": "prefix",
2653
+ "type": {
2654
+ "text": "string"
2655
+ }
2656
+ }
2657
+ ]
2638
2658
  },
2639
2659
  {
2640
2660
  "kind": "field",
@@ -2748,154 +2768,115 @@
2748
2768
  }
2749
2769
  }
2750
2770
  ],
2751
- "events": [
2771
+ "attributes": [
2752
2772
  {
2753
- "description": "Fired when interpreted criteria is applied or cleared",
2754
- "name": "criteria-changed"
2773
+ "name": "is-vertical",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "false",
2778
+ "fieldName": "isVertical"
2755
2779
  },
2756
2780
  {
2757
- "description": "Fired when interpreted criteria contains invalid clauses",
2758
- "name": "validation-errors"
2759
- }
2760
- ],
2761
- "attributes": [
2781
+ "name": "add-default-actions",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "addDefaultActions"
2787
+ },
2762
2788
  {
2763
- "name": "placeholder",
2789
+ "name": "auto-close-on-action",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "autoCloseOnAction"
2795
+ },
2796
+ {
2797
+ "name": "name",
2764
2798
  "type": {
2765
2799
  "text": "string"
2766
2800
  },
2767
- "default": "'Describe your search criteria in natural language...'",
2768
- "fieldName": "placeholder"
2801
+ "default": "'Actions'",
2802
+ "fieldName": "name"
2769
2803
  },
2770
2804
  {
2805
+ "name": "open",
2771
2806
  "type": {
2772
2807
  "text": "boolean"
2773
2808
  },
2774
- "fieldName": "disabled"
2809
+ "default": "false",
2810
+ "fieldName": "open"
2811
+ },
2812
+ {
2813
+ "name": "buttonAppearance",
2814
+ "type": {
2815
+ "text": "string"
2816
+ },
2817
+ "fieldName": "buttonAppearance"
2818
+ },
2819
+ {
2820
+ "name": "hide-disabled",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "fieldName": "hideDisabled"
2826
+ },
2827
+ {
2828
+ "name": "hide-menu-single-option",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideMenuSingleOption"
2775
2834
  }
2776
2835
  ],
2777
2836
  "superclass": {
2778
2837
  "name": "FoundationElement",
2779
2838
  "package": "@microsoft/fast-foundation"
2780
2839
  },
2781
- "tagName": "%%prefix%%-ai-criteria-search",
2840
+ "tagName": "%%prefix%%-actions-menu",
2782
2841
  "customElement": true
2783
2842
  },
2784
2843
  {
2785
2844
  "kind": "variable",
2786
- "name": "foundationAiCriteriaSearchShadowOptions",
2787
- "type": {
2788
- "text": "ShadowRootInit"
2789
- },
2790
- "default": "undefined"
2791
- },
2792
- {
2793
- "kind": "variable",
2794
- "name": "defaultAiCriteriaSearchConfig",
2795
- "type": {
2796
- "text": "object"
2797
- },
2798
- "default": "{}"
2799
- },
2800
- {
2801
- "kind": "variable",
2802
- "name": "foundationAiCriteriaSearch"
2845
+ "name": "foundationActionsMenu",
2846
+ "description": "The Foundation Actions Menu",
2847
+ "privacy": "public"
2803
2848
  }
2804
2849
  ],
2805
2850
  "exports": [
2806
2851
  {
2807
2852
  "kind": "js",
2808
- "name": "AiCriteriaSearch",
2809
- "declaration": {
2810
- "name": "AiCriteriaSearch",
2811
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2812
- }
2813
- },
2814
- {
2815
- "kind": "js",
2816
- "name": "foundationAiCriteriaSearchShadowOptions",
2817
- "declaration": {
2818
- "name": "foundationAiCriteriaSearchShadowOptions",
2819
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2820
- }
2821
- },
2822
- {
2823
- "kind": "js",
2824
- "name": "defaultAiCriteriaSearchConfig",
2853
+ "name": "ActionsMenu",
2825
2854
  "declaration": {
2826
- "name": "defaultAiCriteriaSearchConfig",
2827
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2828
2857
  }
2829
2858
  },
2830
2859
  {
2831
2860
  "kind": "js",
2832
- "name": "foundationAiCriteriaSearch",
2861
+ "name": "foundationActionsMenu",
2833
2862
  "declaration": {
2834
- "name": "foundationAiCriteriaSearch",
2835
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2836
2865
  }
2837
2866
  }
2838
2867
  ]
2839
2868
  },
2840
2869
  {
2841
2870
  "kind": "javascript-module",
2842
- "path": "src/ai-criteria-search/index.ts",
2871
+ "path": "src/actions-menu/index.ts",
2843
2872
  "declarations": [],
2844
2873
  "exports": [
2845
- {
2846
- "kind": "js",
2847
- "name": "AiCriteriaSearch",
2848
- "declaration": {
2849
- "name": "AiCriteriaSearch",
2850
- "module": "./ai-criteria-search"
2851
- }
2852
- },
2853
- {
2854
- "kind": "js",
2855
- "name": "defaultAiCriteriaSearchConfig",
2856
- "declaration": {
2857
- "name": "defaultAiCriteriaSearchConfig",
2858
- "module": "./ai-criteria-search"
2859
- }
2860
- },
2861
- {
2862
- "kind": "js",
2863
- "name": "foundationAiCriteriaSearch",
2864
- "declaration": {
2865
- "name": "foundationAiCriteriaSearch",
2866
- "module": "./ai-criteria-search"
2867
- }
2868
- },
2869
- {
2870
- "kind": "js",
2871
- "name": "foundationAiCriteriaSearchShadowOptions",
2872
- "declaration": {
2873
- "name": "foundationAiCriteriaSearchShadowOptions",
2874
- "module": "./ai-criteria-search"
2875
- }
2876
- },
2877
- {
2878
- "kind": "js",
2879
- "name": "foundationAiCriteriaSearchStyles",
2880
- "declaration": {
2881
- "name": "foundationAiCriteriaSearchStyles",
2882
- "module": "./ai-criteria-search.styles"
2883
- }
2884
- },
2885
- {
2886
- "kind": "js",
2887
- "name": "foundationAiCriteriaSearchTemplate",
2888
- "declaration": {
2889
- "name": "foundationAiCriteriaSearchTemplate",
2890
- "module": "./ai-criteria-search.template"
2891
- }
2892
- },
2893
2874
  {
2894
2875
  "kind": "js",
2895
2876
  "name": "*",
2896
2877
  "declaration": {
2897
2878
  "name": "*",
2898
- "package": "./validation/criteria-ir"
2879
+ "package": "./actions-menu.styles"
2899
2880
  }
2900
2881
  },
2901
2882
  {
@@ -2903,7 +2884,7 @@
2903
2884
  "name": "*",
2904
2885
  "declaration": {
2905
2886
  "name": "*",
2906
- "package": "./validation/operator-map"
2887
+ "package": "./actions-menu.template"
2907
2888
  }
2908
2889
  },
2909
2890
  {
@@ -2911,357 +2892,215 @@
2911
2892
  "name": "*",
2912
2893
  "declaration": {
2913
2894
  "name": "*",
2914
- "package": "./validation/schema-validator"
2895
+ "package": "./actions-menu"
2915
2896
  }
2916
2897
  }
2917
2898
  ]
2918
2899
  },
2919
2900
  {
2920
2901
  "kind": "javascript-module",
2921
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2902
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2922
2903
  "declarations": [
2923
2904
  {
2924
- "kind": "function",
2925
- "name": "formatValidationErrors",
2926
- "return": {
2927
- "type": {
2928
- "text": "string"
2929
- }
2930
- },
2931
- "parameters": [
2932
- {
2933
- "name": "errors",
2934
- "type": {
2935
- "text": "ValidationError[]"
2936
- }
2937
- }
2938
- ],
2939
- "description": "Formats validation errors into a user-friendly message."
2940
- },
2941
- {
2942
- "kind": "function",
2943
- "name": "showCriteriaError",
2944
- "return": {
2945
- "type": {
2946
- "text": "void"
2947
- }
2948
- },
2949
- "parameters": [
2950
- {
2951
- "name": "title",
2952
- "type": {
2953
- "text": "string"
2954
- },
2955
- "description": "Notification title (e.g. \"Criteria validation error\")"
2956
- },
2957
- {
2958
- "name": "body",
2959
- "type": {
2960
- "text": "string"
2961
- },
2962
- "description": "Error message to display"
2963
- },
2964
- {
2965
- "name": "tagName",
2966
- "type": {
2967
- "text": "string"
2968
- },
2969
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2970
- }
2971
- ],
2972
- "description": "Shows a criteria error as a toast notification."
2905
+ "kind": "variable",
2906
+ "name": "foundationAiCriteriaSearchStyles",
2907
+ "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`"
2973
2908
  }
2974
2909
  ],
2975
2910
  "exports": [
2976
2911
  {
2977
2912
  "kind": "js",
2978
- "name": "formatValidationErrors",
2979
- "declaration": {
2980
- "name": "formatValidationErrors",
2981
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2982
- }
2983
- },
2984
- {
2985
- "kind": "js",
2986
- "name": "showCriteriaError",
2913
+ "name": "foundationAiCriteriaSearchStyles",
2987
2914
  "declaration": {
2988
- "name": "showCriteriaError",
2989
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2915
+ "name": "foundationAiCriteriaSearchStyles",
2916
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2990
2917
  }
2991
2918
  }
2992
2919
  ]
2993
2920
  },
2994
2921
  {
2995
2922
  "kind": "javascript-module",
2996
- "path": "src/accordion/accordion.styles.ts",
2923
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2997
2924
  "declarations": [
2998
2925
  {
2999
- "kind": "function",
3000
- "name": "foundationAccordionStyles",
3001
- "return": {
3002
- "type": {
3003
- "text": "ElementStyles"
3004
- }
2926
+ "kind": "variable",
2927
+ "name": "foundationAiCriteriaSearchTemplate",
2928
+ "type": {
2929
+ "text": "ViewTemplate<AiCriteriaSearch>"
3005
2930
  },
3006
- "parameters": [
3007
- {
3008
- "name": "context",
3009
- "type": {
3010
- "text": "ElementDefinitionContext"
3011
- }
3012
- },
3013
- {
3014
- "name": "definition",
3015
- "type": {
3016
- "text": "FoundationElementDefinition"
3017
- }
3018
- }
3019
- ]
2931
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3020
2932
  }
3021
2933
  ],
3022
2934
  "exports": [
3023
2935
  {
3024
2936
  "kind": "js",
3025
- "name": "foundationAccordionStyles",
2937
+ "name": "foundationAiCriteriaSearchTemplate",
3026
2938
  "declaration": {
3027
- "name": "foundationAccordionStyles",
3028
- "module": "src/accordion/accordion.styles.ts"
2939
+ "name": "foundationAiCriteriaSearchTemplate",
2940
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3029
2941
  }
3030
2942
  }
3031
2943
  ]
3032
2944
  },
3033
2945
  {
3034
2946
  "kind": "javascript-module",
3035
- "path": "src/accordion/accordion.template.ts",
2947
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3036
2948
  "declarations": [
3037
2949
  {
3038
- "kind": "function",
3039
- "name": "foundationAccordionTemplate",
3040
- "return": {
3041
- "type": {
3042
- "text": "ViewTemplate<Accordion>"
3043
- }
3044
- },
3045
- "parameters": [
2950
+ "kind": "class",
2951
+ "description": "Natural-language criteria search input with AI interpretation.",
2952
+ "name": "AiCriteriaSearch",
2953
+ "members": [
3046
2954
  {
3047
- "name": "context",
2955
+ "kind": "field",
2956
+ "name": "providerRegistry",
3048
2957
  "type": {
3049
- "text": "ElementDefinitionContext"
2958
+ "text": "AIProviderRegistry"
3050
2959
  }
3051
2960
  },
3052
2961
  {
3053
- "name": "definition",
2962
+ "kind": "field",
2963
+ "name": "placeholder",
3054
2964
  "type": {
3055
- "text": "FoundationElementDefinition"
2965
+ "text": "string"
2966
+ },
2967
+ "default": "'Describe your search criteria in natural language...'"
2968
+ },
2969
+ {
2970
+ "kind": "field",
2971
+ "name": "disabled",
2972
+ "type": {
2973
+ "text": "boolean"
3056
2974
  }
3057
- }
3058
- ]
3059
- }
3060
- ],
3061
- "exports": [
3062
- {
3063
- "kind": "js",
3064
- "name": "foundationAccordionTemplate",
3065
- "declaration": {
3066
- "name": "foundationAccordionTemplate",
3067
- "module": "src/accordion/accordion.template.ts"
3068
- }
3069
- }
3070
- ]
3071
- },
3072
- {
3073
- "kind": "javascript-module",
3074
- "path": "src/accordion/accordion.ts",
3075
- "declarations": [
3076
- {
3077
- "kind": "class",
3078
- "description": "",
3079
- "name": "Accordion",
3080
- "superclass": {
3081
- "name": "FASTAccordion",
3082
- "package": "@microsoft/fast-foundation"
3083
- },
3084
- "tagName": "%%prefix%%-accordion",
3085
- "customElement": true,
3086
- "attributes": [
2975
+ },
3087
2976
  {
3088
- "name": "expand-mode",
2977
+ "kind": "field",
2978
+ "name": "inputValue",
3089
2979
  "type": {
3090
- "text": "AccordionExpandMode"
2980
+ "text": "string"
3091
2981
  },
3092
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3093
- "fieldName": "expandmode",
3094
- "inheritedFrom": {
3095
- "name": "Accordion",
3096
- "module": "src/accordion/accordion.ts"
3097
- }
3098
- }
3099
- ],
3100
- "members": [
2982
+ "default": "''"
2983
+ },
3101
2984
  {
3102
2985
  "kind": "field",
3103
- "name": "expandmode",
2986
+ "name": "isInterpreting",
3104
2987
  "type": {
3105
- "text": "AccordionExpandMode"
2988
+ "text": "boolean"
3106
2989
  },
3107
- "privacy": "public",
3108
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3109
- "inheritedFrom": {
3110
- "name": "Accordion",
3111
- "module": "src/accordion/accordion.ts"
3112
- }
2990
+ "default": "false"
3113
2991
  },
3114
2992
  {
3115
2993
  "kind": "field",
3116
- "name": "activeid",
2994
+ "name": "lastValidCriteria",
3117
2995
  "type": {
3118
2996
  "text": "string | null"
3119
2997
  },
3120
- "privacy": "private",
3121
- "inheritedFrom": {
3122
- "name": "Accordion",
3123
- "module": "src/accordion/accordion.ts"
3124
- }
2998
+ "default": "null"
3125
2999
  },
3126
3000
  {
3127
3001
  "kind": "field",
3128
- "name": "activeItemIndex",
3002
+ "name": "activeGroups",
3129
3003
  "type": {
3130
- "text": "number"
3004
+ "text": "CriteriaGroup[]"
3131
3005
  },
3132
- "privacy": "private",
3133
- "default": "0",
3134
- "inheritedFrom": {
3135
- "name": "Accordion",
3136
- "module": "src/accordion/accordion.ts"
3137
- }
3006
+ "default": "[]"
3138
3007
  },
3139
3008
  {
3140
3009
  "kind": "field",
3141
- "name": "accordionIds",
3010
+ "name": "showingChips",
3142
3011
  "type": {
3143
- "text": "Array<string | null>"
3012
+ "text": "boolean"
3144
3013
  },
3145
- "privacy": "private",
3146
- "inheritedFrom": {
3147
- "name": "Accordion",
3148
- "module": "src/accordion/accordion.ts"
3149
- }
3014
+ "default": "false"
3150
3015
  },
3151
3016
  {
3152
3017
  "kind": "field",
3153
- "name": "change",
3154
- "privacy": "private",
3155
- "inheritedFrom": {
3156
- "name": "Accordion",
3157
- "module": "src/accordion/accordion.ts"
3158
- }
3018
+ "name": "fieldMetadata",
3019
+ "type": {
3020
+ "text": "MetadataDetail[] | string[]"
3021
+ },
3022
+ "default": "[]"
3159
3023
  },
3160
3024
  {
3161
- "kind": "method",
3162
- "name": "findExpandedItem",
3163
- "privacy": "private",
3164
- "return": {
3165
- "type": {
3166
- "text": "AccordionItem | null"
3167
- }
3025
+ "kind": "field",
3026
+ "name": "isRecording",
3027
+ "type": {
3028
+ "text": "boolean"
3168
3029
  },
3169
- "inheritedFrom": {
3170
- "name": "Accordion",
3171
- "module": "src/accordion/accordion.ts"
3172
- }
3030
+ "default": "false"
3173
3031
  },
3174
3032
  {
3175
3033
  "kind": "field",
3176
- "name": "setItems",
3177
- "privacy": "private",
3178
- "inheritedFrom": {
3179
- "name": "Accordion",
3180
- "module": "src/accordion/accordion.ts"
3181
- }
3034
+ "name": "textAreaRef",
3035
+ "type": {
3036
+ "text": "HTMLTextAreaElement"
3037
+ },
3038
+ "privacy": "public"
3182
3039
  },
3183
3040
  {
3184
- "kind": "method",
3185
- "name": "resetItems",
3186
- "privacy": "private",
3187
- "return": {
3188
- "type": {
3189
- "text": "void"
3190
- }
3041
+ "kind": "field",
3042
+ "name": "stopRecording",
3043
+ "type": {
3044
+ "text": "(() => void) | null"
3191
3045
  },
3192
- "inheritedFrom": {
3193
- "name": "Accordion",
3194
- "module": "src/accordion/accordion.ts"
3195
- }
3046
+ "privacy": "private",
3047
+ "default": "null"
3196
3048
  },
3197
3049
  {
3198
3050
  "kind": "field",
3199
- "name": "removeItemListeners",
3051
+ "name": "speechApplyDebounceTimer",
3052
+ "type": {
3053
+ "text": "ReturnType<typeof setTimeout> | null"
3054
+ },
3200
3055
  "privacy": "private",
3201
- "inheritedFrom": {
3202
- "name": "Accordion",
3203
- "module": "src/accordion/accordion.ts"
3204
- }
3056
+ "default": "null"
3205
3057
  },
3206
3058
  {
3207
3059
  "kind": "field",
3208
- "name": "activeItemChange",
3209
- "privacy": "private",
3210
- "inheritedFrom": {
3211
- "name": "Accordion",
3212
- "module": "src/accordion/accordion.ts"
3213
- }
3060
+ "name": "speechAvailable",
3061
+ "type": {
3062
+ "text": "boolean"
3063
+ },
3064
+ "readonly": true
3065
+ },
3066
+ {
3067
+ "kind": "field",
3068
+ "name": "criteriaChips",
3069
+ "type": {
3070
+ "text": "CriteriaChip[]"
3071
+ },
3072
+ "readonly": true
3214
3073
  },
3215
3074
  {
3216
3075
  "kind": "method",
3217
- "name": "getItemIds",
3076
+ "name": "getFieldLabel",
3218
3077
  "privacy": "private",
3219
3078
  "return": {
3220
3079
  "type": {
3221
- "text": "Array<string | null>"
3080
+ "text": "string"
3222
3081
  }
3223
3082
  },
3224
- "inheritedFrom": {
3225
- "name": "Accordion",
3226
- "module": "src/accordion/accordion.ts"
3227
- }
3083
+ "parameters": [
3084
+ {
3085
+ "name": "fieldName",
3086
+ "type": {
3087
+ "text": "string"
3088
+ }
3089
+ }
3090
+ ]
3228
3091
  },
3229
3092
  {
3230
3093
  "kind": "method",
3231
- "name": "isSingleExpandMode",
3232
- "privacy": "private",
3094
+ "name": "toggleCriteriaView",
3233
3095
  "return": {
3234
3096
  "type": {
3235
- "text": "boolean"
3097
+ "text": "void"
3236
3098
  }
3237
- },
3238
- "inheritedFrom": {
3239
- "name": "Accordion",
3240
- "module": "src/accordion/accordion.ts"
3241
- }
3242
- },
3243
- {
3244
- "kind": "field",
3245
- "name": "handleItemKeyDown",
3246
- "privacy": "private",
3247
- "inheritedFrom": {
3248
- "name": "Accordion",
3249
- "module": "src/accordion/accordion.ts"
3250
- }
3251
- },
3252
- {
3253
- "kind": "field",
3254
- "name": "handleItemFocus",
3255
- "privacy": "private",
3256
- "inheritedFrom": {
3257
- "name": "Accordion",
3258
- "module": "src/accordion/accordion.ts"
3259
3099
  }
3260
3100
  },
3261
3101
  {
3262
3102
  "kind": "method",
3263
- "name": "adjust",
3264
- "privacy": "private",
3103
+ "name": "removeChip",
3265
3104
  "return": {
3266
3105
  "type": {
3267
3106
  "text": "void"
@@ -3269,31 +3108,49 @@
3269
3108
  },
3270
3109
  "parameters": [
3271
3110
  {
3272
- "name": "adjustment",
3111
+ "name": "groupIndex",
3112
+ "type": {
3113
+ "text": "number"
3114
+ }
3115
+ },
3116
+ {
3117
+ "name": "clauseIndex",
3273
3118
  "type": {
3274
3119
  "text": "number"
3275
3120
  }
3276
3121
  }
3277
- ],
3278
- "inheritedFrom": {
3279
- "name": "Accordion",
3280
- "module": "src/accordion/accordion.ts"
3281
- }
3122
+ ]
3282
3123
  },
3283
3124
  {
3284
3125
  "kind": "method",
3285
- "name": "focusItem",
3286
- "privacy": "private",
3126
+ "name": "clearChips",
3287
3127
  "return": {
3288
3128
  "type": {
3289
3129
  "text": "void"
3290
3130
  }
3291
- },
3292
- "inheritedFrom": {
3293
- "name": "Accordion",
3294
- "module": "src/accordion/accordion.ts"
3295
3131
  }
3296
3132
  },
3133
+ {
3134
+ "kind": "method",
3135
+ "name": "handleSubmit"
3136
+ },
3137
+ {
3138
+ "kind": "method",
3139
+ "name": "handleBlur"
3140
+ },
3141
+ {
3142
+ "kind": "method",
3143
+ "name": "clear"
3144
+ },
3145
+ {
3146
+ "kind": "method",
3147
+ "name": "toggleSpeechInput"
3148
+ },
3149
+ {
3150
+ "kind": "method",
3151
+ "name": "clearSpeechApplyDebounce",
3152
+ "privacy": "private"
3153
+ },
3297
3154
  {
3298
3155
  "kind": "field",
3299
3156
  "name": "_presentation",
@@ -3408,26 +3265,48 @@
3408
3265
  ],
3409
3266
  "events": [
3410
3267
  {
3411
- "description": "Fires a custom 'change' event when the active item changes",
3412
- "name": "change",
3413
- "inheritedFrom": {
3414
- "name": "Accordion",
3415
- "module": "src/accordion/accordion.ts"
3416
- }
3268
+ "description": "Fired when interpreted criteria is applied or cleared",
3269
+ "name": "criteria-changed"
3270
+ },
3271
+ {
3272
+ "description": "Fired when interpreted criteria contains invalid clauses",
3273
+ "name": "validation-errors"
3417
3274
  }
3418
- ]
3275
+ ],
3276
+ "attributes": [
3277
+ {
3278
+ "name": "placeholder",
3279
+ "type": {
3280
+ "text": "string"
3281
+ },
3282
+ "default": "'Describe your search criteria in natural language...'",
3283
+ "fieldName": "placeholder"
3284
+ },
3285
+ {
3286
+ "type": {
3287
+ "text": "boolean"
3288
+ },
3289
+ "fieldName": "disabled"
3290
+ }
3291
+ ],
3292
+ "superclass": {
3293
+ "name": "FoundationElement",
3294
+ "package": "@microsoft/fast-foundation"
3295
+ },
3296
+ "tagName": "%%prefix%%-ai-criteria-search",
3297
+ "customElement": true
3419
3298
  },
3420
3299
  {
3421
3300
  "kind": "variable",
3422
- "name": "foundationAccordionShadowOptions",
3301
+ "name": "foundationAiCriteriaSearchShadowOptions",
3423
3302
  "type": {
3424
3303
  "text": "ShadowRootInit"
3425
3304
  },
3426
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3305
+ "default": "undefined"
3427
3306
  },
3428
3307
  {
3429
3308
  "kind": "variable",
3430
- "name": "defaultAccordionConfig",
3309
+ "name": "defaultAiCriteriaSearchConfig",
3431
3310
  "type": {
3432
3311
  "text": "object"
3433
3312
  },
@@ -3435,57 +3314,103 @@
3435
3314
  },
3436
3315
  {
3437
3316
  "kind": "variable",
3438
- "name": "foundationAccordion",
3439
- "description": "The Foundation Accordion",
3440
- "privacy": "public"
3317
+ "name": "foundationAiCriteriaSearch"
3441
3318
  }
3442
3319
  ],
3443
3320
  "exports": [
3444
3321
  {
3445
3322
  "kind": "js",
3446
- "name": "Accordion",
3323
+ "name": "AiCriteriaSearch",
3447
3324
  "declaration": {
3448
- "name": "Accordion",
3449
- "module": "src/accordion/accordion.ts"
3325
+ "name": "AiCriteriaSearch",
3326
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3450
3327
  }
3451
3328
  },
3452
3329
  {
3453
3330
  "kind": "js",
3454
- "name": "foundationAccordionShadowOptions",
3331
+ "name": "foundationAiCriteriaSearchShadowOptions",
3455
3332
  "declaration": {
3456
- "name": "foundationAccordionShadowOptions",
3457
- "module": "src/accordion/accordion.ts"
3333
+ "name": "foundationAiCriteriaSearchShadowOptions",
3334
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3458
3335
  }
3459
3336
  },
3460
3337
  {
3461
3338
  "kind": "js",
3462
- "name": "defaultAccordionConfig",
3339
+ "name": "defaultAiCriteriaSearchConfig",
3463
3340
  "declaration": {
3464
- "name": "defaultAccordionConfig",
3465
- "module": "src/accordion/accordion.ts"
3341
+ "name": "defaultAiCriteriaSearchConfig",
3342
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3466
3343
  }
3467
3344
  },
3468
3345
  {
3469
3346
  "kind": "js",
3470
- "name": "foundationAccordion",
3347
+ "name": "foundationAiCriteriaSearch",
3471
3348
  "declaration": {
3472
- "name": "foundationAccordion",
3473
- "module": "src/accordion/accordion.ts"
3349
+ "name": "foundationAiCriteriaSearch",
3350
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3474
3351
  }
3475
3352
  }
3476
3353
  ]
3477
3354
  },
3478
3355
  {
3479
3356
  "kind": "javascript-module",
3480
- "path": "src/accordion/index.ts",
3357
+ "path": "src/ai-criteria-search/index.ts",
3481
3358
  "declarations": [],
3482
3359
  "exports": [
3360
+ {
3361
+ "kind": "js",
3362
+ "name": "AiCriteriaSearch",
3363
+ "declaration": {
3364
+ "name": "AiCriteriaSearch",
3365
+ "module": "./ai-criteria-search"
3366
+ }
3367
+ },
3368
+ {
3369
+ "kind": "js",
3370
+ "name": "defaultAiCriteriaSearchConfig",
3371
+ "declaration": {
3372
+ "name": "defaultAiCriteriaSearchConfig",
3373
+ "module": "./ai-criteria-search"
3374
+ }
3375
+ },
3376
+ {
3377
+ "kind": "js",
3378
+ "name": "foundationAiCriteriaSearch",
3379
+ "declaration": {
3380
+ "name": "foundationAiCriteriaSearch",
3381
+ "module": "./ai-criteria-search"
3382
+ }
3383
+ },
3384
+ {
3385
+ "kind": "js",
3386
+ "name": "foundationAiCriteriaSearchShadowOptions",
3387
+ "declaration": {
3388
+ "name": "foundationAiCriteriaSearchShadowOptions",
3389
+ "module": "./ai-criteria-search"
3390
+ }
3391
+ },
3392
+ {
3393
+ "kind": "js",
3394
+ "name": "foundationAiCriteriaSearchStyles",
3395
+ "declaration": {
3396
+ "name": "foundationAiCriteriaSearchStyles",
3397
+ "module": "./ai-criteria-search.styles"
3398
+ }
3399
+ },
3400
+ {
3401
+ "kind": "js",
3402
+ "name": "foundationAiCriteriaSearchTemplate",
3403
+ "declaration": {
3404
+ "name": "foundationAiCriteriaSearchTemplate",
3405
+ "module": "./ai-criteria-search.template"
3406
+ }
3407
+ },
3483
3408
  {
3484
3409
  "kind": "js",
3485
3410
  "name": "*",
3486
3411
  "declaration": {
3487
3412
  "name": "*",
3488
- "package": "./accordion.template"
3413
+ "package": "./validation/criteria-ir"
3489
3414
  }
3490
3415
  },
3491
3416
  {
@@ -3493,7 +3418,7 @@
3493
3418
  "name": "*",
3494
3419
  "declaration": {
3495
3420
  "name": "*",
3496
- "package": "./accordion.styles"
3421
+ "package": "./validation/operator-map"
3497
3422
  }
3498
3423
  },
3499
3424
  {
@@ -3501,7 +3426,82 @@
3501
3426
  "name": "*",
3502
3427
  "declaration": {
3503
3428
  "name": "*",
3504
- "package": "./accordion"
3429
+ "package": "./validation/schema-validator"
3430
+ }
3431
+ }
3432
+ ]
3433
+ },
3434
+ {
3435
+ "kind": "javascript-module",
3436
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3437
+ "declarations": [
3438
+ {
3439
+ "kind": "function",
3440
+ "name": "formatValidationErrors",
3441
+ "return": {
3442
+ "type": {
3443
+ "text": "string"
3444
+ }
3445
+ },
3446
+ "parameters": [
3447
+ {
3448
+ "name": "errors",
3449
+ "type": {
3450
+ "text": "ValidationError[]"
3451
+ }
3452
+ }
3453
+ ],
3454
+ "description": "Formats validation errors into a user-friendly message."
3455
+ },
3456
+ {
3457
+ "kind": "function",
3458
+ "name": "showCriteriaError",
3459
+ "return": {
3460
+ "type": {
3461
+ "text": "void"
3462
+ }
3463
+ },
3464
+ "parameters": [
3465
+ {
3466
+ "name": "title",
3467
+ "type": {
3468
+ "text": "string"
3469
+ },
3470
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3471
+ },
3472
+ {
3473
+ "name": "body",
3474
+ "type": {
3475
+ "text": "string"
3476
+ },
3477
+ "description": "Error message to display"
3478
+ },
3479
+ {
3480
+ "name": "tagName",
3481
+ "type": {
3482
+ "text": "string"
3483
+ },
3484
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3485
+ }
3486
+ ],
3487
+ "description": "Shows a criteria error as a toast notification."
3488
+ }
3489
+ ],
3490
+ "exports": [
3491
+ {
3492
+ "kind": "js",
3493
+ "name": "formatValidationErrors",
3494
+ "declaration": {
3495
+ "name": "formatValidationErrors",
3496
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
+ }
3498
+ },
3499
+ {
3500
+ "kind": "js",
3501
+ "name": "showCriteriaError",
3502
+ "declaration": {
3503
+ "name": "showCriteriaError",
3504
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3505
3505
  }
3506
3506
  }
3507
3507
  ]
@@ -33889,6 +33889,16 @@
33889
33889
  "kind": "method",
33890
33890
  "name": "hasSeparatorWithoutDecimals"
33891
33891
  },
33892
+ {
33893
+ "kind": "method",
33894
+ "name": "restoreControlToCommittedValue",
33895
+ "privacy": "private",
33896
+ "return": {
33897
+ "type": {
33898
+ "text": "void"
33899
+ }
33900
+ }
33901
+ },
33892
33902
  {
33893
33903
  "kind": "method",
33894
33904
  "name": "handleTextInput",
@@ -34301,12 +34311,16 @@
34301
34311
  }
34302
34312
  },
34303
34313
  {
34304
- "name": "value",
34305
34314
  "type": {
34306
- "text": "string"
34315
+ "text": "number"
34307
34316
  },
34308
- "default": "''",
34309
- "fieldName": "value"
34317
+ "description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
34318
+ "fieldName": "hideStep",
34319
+ "default": "false",
34320
+ "inheritedFrom": {
34321
+ "name": "NumberField",
34322
+ "module": "src/number-field/number-field.ts"
34323
+ }
34310
34324
  },
34311
34325
  {
34312
34326
  "type": {
@@ -34499,6 +34513,143 @@
34499
34513
  }
34500
34514
  ]
34501
34515
  },
34516
+ {
34517
+ "kind": "function",
34518
+ "name": "normalizeLocaleNumberString",
34519
+ "return": {
34520
+ "type": {
34521
+ "text": "string"
34522
+ }
34523
+ },
34524
+ "parameters": [
34525
+ {
34526
+ "name": "inputVal",
34527
+ "type": {
34528
+ "text": "string"
34529
+ }
34530
+ },
34531
+ {
34532
+ "name": "locale",
34533
+ "type": {
34534
+ "text": "string"
34535
+ }
34536
+ }
34537
+ ],
34538
+ "description": "Strips locale grouping and normalizes the decimal separator to `.` without using `Number`\n(so integers beyond `Number.MAX_SAFE_INTEGER` keep every digit)."
34539
+ },
34540
+ {
34541
+ "kind": "function",
34542
+ "name": "countLocaleDecimalSeparators",
34543
+ "return": {
34544
+ "type": {
34545
+ "text": "number"
34546
+ }
34547
+ },
34548
+ "parameters": [
34549
+ {
34550
+ "name": "input",
34551
+ "type": {
34552
+ "text": "string"
34553
+ }
34554
+ },
34555
+ {
34556
+ "name": "locale",
34557
+ "type": {
34558
+ "text": "string"
34559
+ }
34560
+ }
34561
+ ],
34562
+ "description": "Counts locale decimal separator characters in the raw control text (ignores grouping)."
34563
+ },
34564
+ {
34565
+ "kind": "function",
34566
+ "name": "hasMultipleDecimalSeparators",
34567
+ "return": {
34568
+ "type": {
34569
+ "text": "boolean"
34570
+ }
34571
+ },
34572
+ "parameters": [
34573
+ {
34574
+ "name": "input",
34575
+ "type": {
34576
+ "text": "string"
34577
+ }
34578
+ },
34579
+ {
34580
+ "name": "locale",
34581
+ "type": {
34582
+ "text": "string"
34583
+ }
34584
+ }
34585
+ ]
34586
+ },
34587
+ {
34588
+ "kind": "function",
34589
+ "name": "isIntegerAtMaximumInputPrecision",
34590
+ "return": {
34591
+ "type": {
34592
+ "text": "boolean"
34593
+ }
34594
+ },
34595
+ "parameters": [
34596
+ {
34597
+ "name": "value",
34598
+ "type": {
34599
+ "text": "string"
34600
+ }
34601
+ },
34602
+ {
34603
+ "name": "locale",
34604
+ "type": {
34605
+ "text": "string"
34606
+ }
34607
+ },
34608
+ {
34609
+ "name": "precision",
34610
+ "type": {
34611
+ "text": "number"
34612
+ }
34613
+ }
34614
+ ],
34615
+ "description": "True when the committed value is a whole number already using the full significant-digit budget."
34616
+ },
34617
+ {
34618
+ "kind": "function",
34619
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
34620
+ "return": {
34621
+ "type": {
34622
+ "text": "boolean"
34623
+ }
34624
+ },
34625
+ "parameters": [
34626
+ {
34627
+ "name": "committedValue",
34628
+ "type": {
34629
+ "text": "string"
34630
+ }
34631
+ },
34632
+ {
34633
+ "name": "controlText",
34634
+ "type": {
34635
+ "text": "string"
34636
+ }
34637
+ },
34638
+ {
34639
+ "name": "locale",
34640
+ "type": {
34641
+ "text": "string"
34642
+ }
34643
+ },
34644
+ {
34645
+ "name": "precision",
34646
+ "type": {
34647
+ "text": "number"
34648
+ }
34649
+ }
34650
+ ],
34651
+ "description": "User typed a decimal separator while the integer part is already at max precision."
34652
+ },
34502
34653
  {
34503
34654
  "kind": "function",
34504
34655
  "name": "formatControlValue",
@@ -34695,6 +34846,13 @@
34695
34846
  "type": {
34696
34847
  "text": "number"
34697
34848
  }
34849
+ },
34850
+ {
34851
+ "name": "committedValue",
34852
+ "optional": true,
34853
+ "type": {
34854
+ "text": "string"
34855
+ }
34698
34856
  }
34699
34857
  ]
34700
34858
  },
@@ -34877,6 +35035,46 @@
34877
35035
  "module": "src/number-field/utils.ts"
34878
35036
  }
34879
35037
  },
35038
+ {
35039
+ "kind": "js",
35040
+ "name": "normalizeLocaleNumberString",
35041
+ "declaration": {
35042
+ "name": "normalizeLocaleNumberString",
35043
+ "module": "src/number-field/utils.ts"
35044
+ }
35045
+ },
35046
+ {
35047
+ "kind": "js",
35048
+ "name": "countLocaleDecimalSeparators",
35049
+ "declaration": {
35050
+ "name": "countLocaleDecimalSeparators",
35051
+ "module": "src/number-field/utils.ts"
35052
+ }
35053
+ },
35054
+ {
35055
+ "kind": "js",
35056
+ "name": "hasMultipleDecimalSeparators",
35057
+ "declaration": {
35058
+ "name": "hasMultipleDecimalSeparators",
35059
+ "module": "src/number-field/utils.ts"
35060
+ }
35061
+ },
35062
+ {
35063
+ "kind": "js",
35064
+ "name": "isIntegerAtMaximumInputPrecision",
35065
+ "declaration": {
35066
+ "name": "isIntegerAtMaximumInputPrecision",
35067
+ "module": "src/number-field/utils.ts"
35068
+ }
35069
+ },
35070
+ {
35071
+ "kind": "js",
35072
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
35073
+ "declaration": {
35074
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
35075
+ "module": "src/number-field/utils.ts"
35076
+ }
35077
+ },
34880
35078
  {
34881
35079
  "kind": "js",
34882
35080
  "name": "formatControlValue",