@genesislcap/foundation-ui 15.79.1 → 15.80.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.
@@ -1920,11 +1920,11 @@
1920
1920
  },
1921
1921
  {
1922
1922
  "kind": "javascript-module",
1923
- "path": "src/accordion/accordion.styles.ts",
1923
+ "path": "src/actions-menu/actions-menu.styles.ts",
1924
1924
  "declarations": [
1925
1925
  {
1926
1926
  "kind": "function",
1927
- "name": "foundationAccordionStyles",
1927
+ "name": "actionsMenuBaseStyles",
1928
1928
  "return": {
1929
1929
  "type": {
1930
1930
  "text": "ElementStyles"
@@ -1944,29 +1944,13 @@
1944
1944
  }
1945
1945
  }
1946
1946
  ]
1947
- }
1948
- ],
1949
- "exports": [
1950
- {
1951
- "kind": "js",
1952
- "name": "foundationAccordionStyles",
1953
- "declaration": {
1954
- "name": "foundationAccordionStyles",
1955
- "module": "src/accordion/accordion.styles.ts"
1956
- }
1957
- }
1958
- ]
1959
- },
1960
- {
1961
- "kind": "javascript-module",
1962
- "path": "src/accordion/accordion.template.ts",
1963
- "declarations": [
1947
+ },
1964
1948
  {
1965
1949
  "kind": "function",
1966
- "name": "foundationAccordionTemplate",
1950
+ "name": "foundationActionsMenuStyles",
1967
1951
  "return": {
1968
1952
  "type": {
1969
- "text": "ViewTemplate<Accordion>"
1953
+ "text": "ElementStyles"
1970
1954
  }
1971
1955
  },
1972
1956
  "parameters": [
@@ -1988,238 +1972,376 @@
1988
1972
  "exports": [
1989
1973
  {
1990
1974
  "kind": "js",
1991
- "name": "foundationAccordionTemplate",
1975
+ "name": "actionsMenuBaseStyles",
1992
1976
  "declaration": {
1993
- "name": "foundationAccordionTemplate",
1994
- "module": "src/accordion/accordion.template.ts"
1977
+ "name": "actionsMenuBaseStyles",
1978
+ "module": "src/actions-menu/actions-menu.styles.ts"
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "js",
1983
+ "name": "foundationActionsMenuStyles",
1984
+ "declaration": {
1985
+ "name": "foundationActionsMenuStyles",
1986
+ "module": "src/actions-menu/actions-menu.styles.ts"
1995
1987
  }
1996
1988
  }
1997
1989
  ]
1998
1990
  },
1999
1991
  {
2000
1992
  "kind": "javascript-module",
2001
- "path": "src/accordion/accordion.ts",
1993
+ "path": "src/actions-menu/actions-menu.template.ts",
1994
+ "declarations": [
1995
+ {
1996
+ "kind": "variable",
1997
+ "name": "menuTemplate"
1998
+ },
1999
+ {
2000
+ "kind": "variable",
2001
+ "name": "singleOptionTemplate"
2002
+ },
2003
+ {
2004
+ "kind": "variable",
2005
+ "name": "foundationActionsMenuTemplate",
2006
+ "type": {
2007
+ "text": "ViewTemplate<ActionsMenu>"
2008
+ },
2009
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2010
+ }
2011
+ ],
2012
+ "exports": [
2013
+ {
2014
+ "kind": "js",
2015
+ "name": "menuTemplate",
2016
+ "declaration": {
2017
+ "name": "menuTemplate",
2018
+ "module": "src/actions-menu/actions-menu.template.ts"
2019
+ }
2020
+ },
2021
+ {
2022
+ "kind": "js",
2023
+ "name": "singleOptionTemplate",
2024
+ "declaration": {
2025
+ "name": "singleOptionTemplate",
2026
+ "module": "src/actions-menu/actions-menu.template.ts"
2027
+ }
2028
+ },
2029
+ {
2030
+ "kind": "js",
2031
+ "name": "foundationActionsMenuTemplate",
2032
+ "declaration": {
2033
+ "name": "foundationActionsMenuTemplate",
2034
+ "module": "src/actions-menu/actions-menu.template.ts"
2035
+ }
2036
+ }
2037
+ ]
2038
+ },
2039
+ {
2040
+ "kind": "javascript-module",
2041
+ "path": "src/actions-menu/actions-menu.ts",
2002
2042
  "declarations": [
2003
2043
  {
2004
2044
  "kind": "class",
2005
2045
  "description": "",
2006
- "name": "Accordion",
2007
- "superclass": {
2008
- "name": "FASTAccordion",
2009
- "package": "@microsoft/fast-foundation"
2010
- },
2011
- "tagName": "%%prefix%%-accordion",
2012
- "customElement": true,
2013
- "attributes": [
2046
+ "name": "ActionsMenu",
2047
+ "members": [
2014
2048
  {
2015
- "name": "expand-mode",
2049
+ "kind": "field",
2050
+ "name": "actions",
2016
2051
  "type": {
2017
- "text": "AccordionExpandMode"
2018
- },
2019
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
- "fieldName": "expandmode",
2021
- "inheritedFrom": {
2022
- "name": "Accordion",
2023
- "module": "src/accordion/accordion.ts"
2052
+ "text": "ActionMenuItem[]"
2024
2053
  }
2025
- }
2026
- ],
2027
- "members": [
2054
+ },
2028
2055
  {
2029
2056
  "kind": "field",
2030
- "name": "expandmode",
2057
+ "name": "actionsResolver",
2031
2058
  "type": {
2032
- "text": "AccordionExpandMode"
2059
+ "text": "ActionMenuItemsResolver | undefined"
2033
2060
  },
2034
- "privacy": "public",
2035
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2036
- "inheritedFrom": {
2037
- "name": "Accordion",
2038
- "module": "src/accordion/accordion.ts"
2039
- }
2061
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
2040
2062
  },
2041
2063
  {
2042
2064
  "kind": "field",
2043
- "name": "activeid",
2065
+ "name": "isVertical",
2044
2066
  "type": {
2045
- "text": "string | null"
2067
+ "text": "boolean"
2046
2068
  },
2047
- "privacy": "private",
2048
- "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2051
- }
2069
+ "default": "false"
2052
2070
  },
2053
2071
  {
2054
2072
  "kind": "field",
2055
- "name": "activeItemIndex",
2073
+ "name": "addDefaultActions",
2056
2074
  "type": {
2057
- "text": "number"
2075
+ "text": "boolean"
2058
2076
  },
2059
- "privacy": "private",
2060
- "default": "0",
2061
- "inheritedFrom": {
2062
- "name": "Accordion",
2063
- "module": "src/accordion/accordion.ts"
2064
- }
2077
+ "default": "true"
2065
2078
  },
2066
2079
  {
2067
2080
  "kind": "field",
2068
- "name": "accordionIds",
2081
+ "name": "autoCloseOnAction",
2069
2082
  "type": {
2070
- "text": "Array<string | null>"
2083
+ "text": "boolean"
2071
2084
  },
2072
- "privacy": "private",
2073
- "inheritedFrom": {
2074
- "name": "Accordion",
2075
- "module": "src/accordion/accordion.ts"
2085
+ "default": "true"
2086
+ },
2087
+ {
2088
+ "kind": "field",
2089
+ "name": "classNames",
2090
+ "type": {
2091
+ "text": "string"
2076
2092
  }
2077
2093
  },
2078
2094
  {
2079
2095
  "kind": "field",
2080
- "name": "change",
2081
- "privacy": "private",
2082
- "inheritedFrom": {
2083
- "name": "Accordion",
2084
- "module": "src/accordion/accordion.ts"
2096
+ "name": "definition",
2097
+ "type": {
2098
+ "text": "any"
2085
2099
  }
2086
2100
  },
2087
2101
  {
2088
- "kind": "method",
2089
- "name": "findExpandedItem",
2090
- "privacy": "private",
2091
- "return": {
2092
- "type": {
2093
- "text": "AccordionItem | null"
2094
- }
2102
+ "kind": "field",
2103
+ "name": "name",
2104
+ "type": {
2105
+ "text": "string"
2095
2106
  },
2096
- "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2099
- }
2107
+ "default": "'Actions'"
2100
2108
  },
2101
2109
  {
2102
2110
  "kind": "field",
2103
- "name": "setItems",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "Accordion",
2107
- "module": "src/accordion/accordion.ts"
2111
+ "name": "iconName",
2112
+ "type": {
2113
+ "text": "string"
2114
+ },
2115
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2116
+ },
2117
+ {
2118
+ "kind": "field",
2119
+ "name": "open",
2120
+ "type": {
2121
+ "text": "boolean"
2122
+ },
2123
+ "default": "false"
2124
+ },
2125
+ {
2126
+ "kind": "field",
2127
+ "name": "buttonAppearance",
2128
+ "type": {
2129
+ "text": "string"
2108
2130
  }
2109
2131
  },
2110
2132
  {
2111
- "kind": "method",
2112
- "name": "resetItems",
2113
- "privacy": "private",
2114
- "return": {
2115
- "type": {
2116
- "text": "void"
2117
- }
2133
+ "kind": "field",
2134
+ "name": "hideDisabled",
2135
+ "type": {
2136
+ "text": "boolean"
2118
2137
  },
2119
- "inheritedFrom": {
2120
- "name": "Accordion",
2121
- "module": "src/accordion/accordion.ts"
2138
+ "default": "false"
2139
+ },
2140
+ {
2141
+ "kind": "field",
2142
+ "name": "hideMenuSingleOption",
2143
+ "type": {
2144
+ "text": "boolean"
2145
+ },
2146
+ "default": "false"
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "singleOption",
2151
+ "type": {
2152
+ "text": "ActionMenuItem"
2122
2153
  }
2123
2154
  },
2124
2155
  {
2125
2156
  "kind": "field",
2126
- "name": "removeItemListeners",
2127
- "privacy": "private",
2128
- "inheritedFrom": {
2129
- "name": "Accordion",
2130
- "module": "src/accordion/accordion.ts"
2157
+ "name": "actionsMenu",
2158
+ "type": {
2159
+ "text": "HTMLElement"
2131
2160
  }
2132
2161
  },
2133
2162
  {
2134
2163
  "kind": "field",
2135
- "name": "activeItemChange",
2136
- "privacy": "private",
2137
- "inheritedFrom": {
2138
- "name": "Accordion",
2139
- "module": "src/accordion/accordion.ts"
2164
+ "name": "actionsOpener",
2165
+ "type": {
2166
+ "text": "HTMLElement"
2140
2167
  }
2141
2168
  },
2169
+ {
2170
+ "kind": "field",
2171
+ "name": "positionTracker",
2172
+ "type": {
2173
+ "text": "AnchoredPopoverPositionTracker | undefined"
2174
+ },
2175
+ "privacy": "private"
2176
+ },
2177
+ {
2178
+ "kind": "field",
2179
+ "name": "focusMenuOnOpen",
2180
+ "type": {
2181
+ "text": "boolean"
2182
+ },
2183
+ "privacy": "private",
2184
+ "default": "false",
2185
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2186
+ },
2187
+ {
2188
+ "kind": "method",
2189
+ "name": "updateMenuPosition",
2190
+ "privacy": "private"
2191
+ },
2192
+ {
2193
+ "kind": "method",
2194
+ "name": "startTrackingPosition",
2195
+ "privacy": "private"
2196
+ },
2197
+ {
2198
+ "kind": "method",
2199
+ "name": "stopTrackingPosition",
2200
+ "privacy": "private"
2201
+ },
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "definitionChanged",
2205
+ "privacy": "protected",
2206
+ "parameters": [
2207
+ {
2208
+ "name": "oldValue",
2209
+ "type": {
2210
+ "text": "any"
2211
+ }
2212
+ },
2213
+ {
2214
+ "name": "newValue",
2215
+ "type": {
2216
+ "text": "any"
2217
+ }
2218
+ }
2219
+ ]
2220
+ },
2221
+ {
2222
+ "kind": "method",
2223
+ "name": "openChanged",
2224
+ "privacy": "protected"
2225
+ },
2226
+ {
2227
+ "kind": "method",
2228
+ "name": "toggleActionsMenuVisibility"
2229
+ },
2230
+ {
2231
+ "kind": "method",
2232
+ "name": "onPopoverToggle",
2233
+ "parameters": [
2234
+ {
2235
+ "name": "event",
2236
+ "type": {
2237
+ "text": "Event"
2238
+ }
2239
+ }
2240
+ ],
2241
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2242
+ },
2243
+ {
2244
+ "kind": "method",
2245
+ "name": "onIconOpenerKeydown",
2246
+ "return": {
2247
+ "type": {
2248
+ "text": "boolean"
2249
+ }
2250
+ },
2251
+ "parameters": [
2252
+ {
2253
+ "name": "event",
2254
+ "type": {
2255
+ "text": "KeyboardEvent"
2256
+ }
2257
+ }
2258
+ ],
2259
+ "description": "Opens the icon-only opener from the keyboard, as a native button would."
2260
+ },
2142
2261
  {
2143
2262
  "kind": "method",
2144
- "name": "getItemIds",
2145
- "privacy": "private",
2146
- "return": {
2147
- "type": {
2148
- "text": "Array<string | null>"
2263
+ "name": "onActionMenuItemClick",
2264
+ "parameters": [
2265
+ {
2266
+ "name": "callback",
2267
+ "type": {
2268
+ "text": "(rowData) => void | any"
2269
+ }
2149
2270
  }
2150
- },
2151
- "inheritedFrom": {
2152
- "name": "Accordion",
2153
- "module": "src/accordion/accordion.ts"
2154
- }
2271
+ ]
2155
2272
  },
2156
2273
  {
2157
2274
  "kind": "method",
2158
- "name": "isSingleExpandMode",
2159
- "privacy": "private",
2275
+ "name": "isActionDisabled",
2160
2276
  "return": {
2161
2277
  "type": {
2162
2278
  "text": "boolean"
2163
2279
  }
2164
2280
  },
2165
- "inheritedFrom": {
2166
- "name": "Accordion",
2167
- "module": "src/accordion/accordion.ts"
2168
- }
2281
+ "parameters": [
2282
+ {
2283
+ "name": "action",
2284
+ "type": {
2285
+ "text": "ActionMenuItem"
2286
+ }
2287
+ }
2288
+ ],
2289
+ "description": "Resolves an action's `isDisabled` for the current row."
2169
2290
  },
2170
2291
  {
2171
2292
  "kind": "field",
2172
- "name": "handleItemKeyDown",
2173
- "privacy": "private",
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2177
- }
2293
+ "name": "resolvedActions",
2294
+ "type": {
2295
+ "text": "ActionMenuItem[]"
2296
+ },
2297
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2298
+ "readonly": true
2178
2299
  },
2179
2300
  {
2180
2301
  "kind": "field",
2181
- "name": "handleItemFocus",
2182
- "privacy": "private",
2183
- "inheritedFrom": {
2184
- "name": "Accordion",
2185
- "module": "src/accordion/accordion.ts"
2186
- }
2302
+ "name": "hasVisibleActions",
2303
+ "type": {
2304
+ "text": "boolean"
2305
+ },
2306
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2307
+ "readonly": true
2187
2308
  },
2188
2309
  {
2189
- "kind": "method",
2190
- "name": "adjust",
2191
- "privacy": "private",
2192
- "return": {
2193
- "type": {
2194
- "text": "void"
2195
- }
2310
+ "kind": "field",
2311
+ "name": "allActions",
2312
+ "type": {
2313
+ "text": "ActionMenuItem[]"
2196
2314
  },
2315
+ "readonly": true
2316
+ },
2317
+ {
2318
+ "kind": "field",
2319
+ "name": "rowData",
2320
+ "readonly": true
2321
+ },
2322
+ {
2323
+ "kind": "method",
2324
+ "name": "getLabel",
2197
2325
  "parameters": [
2198
2326
  {
2199
- "name": "adjustment",
2327
+ "name": "name",
2200
2328
  "type": {
2201
- "text": "number"
2329
+ "text": "string | ((rowData: any) => string)"
2202
2330
  }
2203
2331
  }
2204
- ],
2205
- "inheritedFrom": {
2206
- "name": "Accordion",
2207
- "module": "src/accordion/accordion.ts"
2208
- }
2332
+ ]
2209
2333
  },
2210
2334
  {
2211
2335
  "kind": "method",
2212
- "name": "focusItem",
2213
- "privacy": "private",
2214
- "return": {
2215
- "type": {
2216
- "text": "void"
2336
+ "name": "getTemplate",
2337
+ "parameters": [
2338
+ {
2339
+ "name": "prefix",
2340
+ "type": {
2341
+ "text": "string"
2342
+ }
2217
2343
  }
2218
- },
2219
- "inheritedFrom": {
2220
- "name": "Accordion",
2221
- "module": "src/accordion/accordion.ts"
2222
- }
2344
+ ]
2223
2345
  },
2224
2346
  {
2225
2347
  "kind": "field",
@@ -2333,78 +2455,158 @@
2333
2455
  }
2334
2456
  }
2335
2457
  ],
2336
- "events": [
2458
+ "attributes": [
2337
2459
  {
2338
- "description": "Fires a custom 'change' event when the active item changes",
2339
- "name": "change",
2340
- "inheritedFrom": {
2341
- "name": "Accordion",
2342
- "module": "src/accordion/accordion.ts"
2343
- }
2460
+ "name": "is-vertical",
2461
+ "type": {
2462
+ "text": "boolean"
2463
+ },
2464
+ "default": "false",
2465
+ "fieldName": "isVertical"
2466
+ },
2467
+ {
2468
+ "name": "add-default-actions",
2469
+ "type": {
2470
+ "text": "boolean"
2471
+ },
2472
+ "default": "true",
2473
+ "fieldName": "addDefaultActions"
2474
+ },
2475
+ {
2476
+ "name": "auto-close-on-action",
2477
+ "type": {
2478
+ "text": "boolean"
2479
+ },
2480
+ "default": "true",
2481
+ "fieldName": "autoCloseOnAction"
2482
+ },
2483
+ {
2484
+ "name": "name",
2485
+ "type": {
2486
+ "text": "string"
2487
+ },
2488
+ "default": "'Actions'",
2489
+ "fieldName": "name"
2490
+ },
2491
+ {
2492
+ "name": "icon-name",
2493
+ "type": {
2494
+ "text": "string"
2495
+ },
2496
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2497
+ "fieldName": "iconName"
2498
+ },
2499
+ {
2500
+ "name": "open",
2501
+ "type": {
2502
+ "text": "boolean"
2503
+ },
2504
+ "default": "false",
2505
+ "fieldName": "open"
2506
+ },
2507
+ {
2508
+ "name": "buttonAppearance",
2509
+ "type": {
2510
+ "text": "string"
2511
+ },
2512
+ "fieldName": "buttonAppearance"
2513
+ },
2514
+ {
2515
+ "name": "hide-disabled",
2516
+ "type": {
2517
+ "text": "boolean"
2518
+ },
2519
+ "default": "false",
2520
+ "fieldName": "hideDisabled"
2521
+ },
2522
+ {
2523
+ "name": "hide-menu-single-option",
2524
+ "type": {
2525
+ "text": "boolean"
2526
+ },
2527
+ "default": "false",
2528
+ "fieldName": "hideMenuSingleOption"
2344
2529
  }
2345
- ]
2346
- },
2347
- {
2348
- "kind": "variable",
2349
- "name": "foundationAccordionShadowOptions",
2350
- "type": {
2351
- "text": "ShadowRootInit"
2530
+ ],
2531
+ "superclass": {
2532
+ "name": "FoundationElement",
2533
+ "package": "@microsoft/fast-foundation"
2352
2534
  },
2353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2535
+ "tagName": "%%prefix%%-actions-menu",
2536
+ "customElement": true
2354
2537
  },
2355
2538
  {
2356
2539
  "kind": "variable",
2357
- "name": "defaultAccordionConfig",
2358
- "type": {
2359
- "text": "object"
2360
- },
2361
- "default": "{}"
2540
+ "name": "foundationActionsMenu",
2541
+ "description": "The Foundation Actions Menu",
2542
+ "privacy": "public"
2543
+ }
2544
+ ],
2545
+ "exports": [
2546
+ {
2547
+ "kind": "js",
2548
+ "name": "ActionsMenu",
2549
+ "declaration": {
2550
+ "name": "ActionsMenu",
2551
+ "module": "src/actions-menu/actions-menu.ts"
2552
+ }
2362
2553
  },
2363
2554
  {
2364
- "kind": "variable",
2365
- "name": "foundationAccordion",
2366
- "description": "The Foundation Accordion",
2555
+ "kind": "js",
2556
+ "name": "foundationActionsMenu",
2557
+ "declaration": {
2558
+ "name": "foundationActionsMenu",
2559
+ "module": "src/actions-menu/actions-menu.ts"
2560
+ }
2561
+ }
2562
+ ]
2563
+ },
2564
+ {
2565
+ "kind": "javascript-module",
2566
+ "path": "src/actions-menu/ag-menu.styles.ts",
2567
+ "declarations": [
2568
+ {
2569
+ "kind": "function",
2570
+ "name": "agMenuStyles",
2571
+ "return": {
2572
+ "type": {
2573
+ "text": ""
2574
+ }
2575
+ },
2576
+ "parameters": [
2577
+ {
2578
+ "name": "menuSelector",
2579
+ "type": {
2580
+ "text": "string"
2581
+ },
2582
+ "description": "Selects the menu surface. May be a selector list."
2583
+ },
2584
+ {
2585
+ "name": "itemSelector",
2586
+ "type": {
2587
+ "text": "string"
2588
+ },
2589
+ "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2590
+ }
2591
+ ],
2592
+ "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
2367
2593
  "privacy": "public"
2368
2594
  }
2369
2595
  ],
2370
2596
  "exports": [
2371
2597
  {
2372
2598
  "kind": "js",
2373
- "name": "Accordion",
2374
- "declaration": {
2375
- "name": "Accordion",
2376
- "module": "src/accordion/accordion.ts"
2377
- }
2378
- },
2379
- {
2380
- "kind": "js",
2381
- "name": "foundationAccordionShadowOptions",
2382
- "declaration": {
2383
- "name": "foundationAccordionShadowOptions",
2384
- "module": "src/accordion/accordion.ts"
2385
- }
2386
- },
2387
- {
2388
- "kind": "js",
2389
- "name": "defaultAccordionConfig",
2390
- "declaration": {
2391
- "name": "defaultAccordionConfig",
2392
- "module": "src/accordion/accordion.ts"
2393
- }
2394
- },
2395
- {
2396
- "kind": "js",
2397
- "name": "foundationAccordion",
2599
+ "name": "agMenuStyles",
2398
2600
  "declaration": {
2399
- "name": "foundationAccordion",
2400
- "module": "src/accordion/accordion.ts"
2601
+ "name": "agMenuStyles",
2602
+ "module": "src/actions-menu/ag-menu.styles.ts"
2401
2603
  }
2402
2604
  }
2403
2605
  ]
2404
2606
  },
2405
2607
  {
2406
2608
  "kind": "javascript-module",
2407
- "path": "src/accordion/index.ts",
2609
+ "path": "src/actions-menu/index.ts",
2408
2610
  "declarations": [],
2409
2611
  "exports": [
2410
2612
  {
@@ -2412,7 +2614,7 @@
2412
2614
  "name": "*",
2413
2615
  "declaration": {
2414
2616
  "name": "*",
2415
- "package": "./accordion.template"
2617
+ "package": "./actions-menu.styles"
2416
2618
  }
2417
2619
  },
2418
2620
  {
@@ -2420,7 +2622,7 @@
2420
2622
  "name": "*",
2421
2623
  "declaration": {
2422
2624
  "name": "*",
2423
- "package": "./accordion.styles"
2625
+ "package": "./actions-menu.template"
2424
2626
  }
2425
2627
  },
2426
2628
  {
@@ -2428,7 +2630,15 @@
2428
2630
  "name": "*",
2429
2631
  "declaration": {
2430
2632
  "name": "*",
2431
- "package": "./accordion"
2633
+ "package": "./actions-menu"
2634
+ }
2635
+ },
2636
+ {
2637
+ "kind": "js",
2638
+ "name": "*",
2639
+ "declaration": {
2640
+ "name": "*",
2641
+ "package": "./ag-menu.styles"
2432
2642
  }
2433
2643
  }
2434
2644
  ]
@@ -3044,34 +3254,11 @@
3044
3254
  },
3045
3255
  {
3046
3256
  "kind": "javascript-module",
3047
- "path": "src/actions-menu/actions-menu.styles.ts",
3257
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3048
3258
  "declarations": [
3049
3259
  {
3050
3260
  "kind": "function",
3051
- "name": "actionsMenuBaseStyles",
3052
- "return": {
3053
- "type": {
3054
- "text": "ElementStyles"
3055
- }
3056
- },
3057
- "parameters": [
3058
- {
3059
- "name": "context",
3060
- "type": {
3061
- "text": "ElementDefinitionContext"
3062
- }
3063
- },
3064
- {
3065
- "name": "definition",
3066
- "type": {
3067
- "text": "FoundationElementDefinition"
3068
- }
3069
- }
3070
- ]
3071
- },
3072
- {
3073
- "kind": "function",
3074
- "name": "foundationActionsMenuStyles",
3261
+ "name": "foundationAiIndicatorStyles",
3075
3262
  "return": {
3076
3263
  "type": {
3077
3264
  "text": "ElementStyles"
@@ -3096,147 +3283,71 @@
3096
3283
  "exports": [
3097
3284
  {
3098
3285
  "kind": "js",
3099
- "name": "actionsMenuBaseStyles",
3100
- "declaration": {
3101
- "name": "actionsMenuBaseStyles",
3102
- "module": "src/actions-menu/actions-menu.styles.ts"
3103
- }
3104
- },
3105
- {
3106
- "kind": "js",
3107
- "name": "foundationActionsMenuStyles",
3286
+ "name": "foundationAiIndicatorStyles",
3108
3287
  "declaration": {
3109
- "name": "foundationActionsMenuStyles",
3110
- "module": "src/actions-menu/actions-menu.styles.ts"
3288
+ "name": "foundationAiIndicatorStyles",
3289
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3111
3290
  }
3112
3291
  }
3113
3292
  ]
3114
3293
  },
3115
3294
  {
3116
3295
  "kind": "javascript-module",
3117
- "path": "src/actions-menu/actions-menu.template.ts",
3296
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3118
3297
  "declarations": [
3119
3298
  {
3120
3299
  "kind": "variable",
3121
- "name": "menuTemplate"
3122
- },
3123
- {
3124
- "kind": "variable",
3125
- "name": "singleOptionTemplate"
3126
- },
3127
- {
3128
- "kind": "variable",
3129
- "name": "foundationActionsMenuTemplate",
3300
+ "name": "foundationAiIndicatorTemplate",
3130
3301
  "type": {
3131
- "text": "ViewTemplate<ActionsMenu>"
3302
+ "text": "ViewTemplate<AiIndicator>"
3132
3303
  },
3133
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
3304
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3134
3305
  }
3135
3306
  ],
3136
3307
  "exports": [
3137
3308
  {
3138
3309
  "kind": "js",
3139
- "name": "menuTemplate",
3140
- "declaration": {
3141
- "name": "menuTemplate",
3142
- "module": "src/actions-menu/actions-menu.template.ts"
3143
- }
3144
- },
3145
- {
3146
- "kind": "js",
3147
- "name": "singleOptionTemplate",
3148
- "declaration": {
3149
- "name": "singleOptionTemplate",
3150
- "module": "src/actions-menu/actions-menu.template.ts"
3151
- }
3152
- },
3153
- {
3154
- "kind": "js",
3155
- "name": "foundationActionsMenuTemplate",
3310
+ "name": "foundationAiIndicatorTemplate",
3156
3311
  "declaration": {
3157
- "name": "foundationActionsMenuTemplate",
3158
- "module": "src/actions-menu/actions-menu.template.ts"
3312
+ "name": "foundationAiIndicatorTemplate",
3313
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3159
3314
  }
3160
3315
  }
3161
3316
  ]
3162
3317
  },
3163
3318
  {
3164
3319
  "kind": "javascript-module",
3165
- "path": "src/actions-menu/actions-menu.ts",
3320
+ "path": "src/ai-indicator/ai-indicator.ts",
3166
3321
  "declarations": [
3167
3322
  {
3168
3323
  "kind": "class",
3169
3324
  "description": "",
3170
- "name": "ActionsMenu",
3325
+ "name": "AiIndicator",
3171
3326
  "members": [
3172
3327
  {
3173
3328
  "kind": "field",
3174
- "name": "actions",
3175
- "type": {
3176
- "text": "ActionMenuItem[]"
3177
- }
3178
- },
3179
- {
3180
- "kind": "field",
3181
- "name": "actionsResolver",
3182
- "type": {
3183
- "text": "ActionMenuItemsResolver | undefined"
3184
- },
3185
- "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
3186
- },
3187
- {
3188
- "kind": "field",
3189
- "name": "isVertical",
3190
- "type": {
3191
- "text": "boolean"
3192
- },
3193
- "default": "false"
3194
- },
3195
- {
3196
- "kind": "field",
3197
- "name": "addDefaultActions",
3198
- "type": {
3199
- "text": "boolean"
3200
- },
3201
- "default": "true"
3202
- },
3203
- {
3204
- "kind": "field",
3205
- "name": "autoCloseOnAction",
3206
- "type": {
3207
- "text": "boolean"
3208
- },
3209
- "default": "true"
3210
- },
3211
- {
3212
- "kind": "field",
3213
- "name": "classNames",
3214
- "type": {
3215
- "text": "string"
3216
- }
3217
- },
3218
- {
3219
- "kind": "field",
3220
- "name": "definition",
3329
+ "name": "providerRegistry",
3221
3330
  "type": {
3222
- "text": "any"
3331
+ "text": "AIProviderRegistry"
3223
3332
  }
3224
3333
  },
3225
3334
  {
3226
3335
  "kind": "field",
3227
- "name": "name",
3336
+ "name": "aiProvider",
3228
3337
  "type": {
3229
- "text": "string"
3338
+ "text": "AIProvider | undefined"
3230
3339
  },
3231
- "default": "'Actions'"
3340
+ "privacy": "private",
3341
+ "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.",
3342
+ "readonly": true
3232
3343
  },
3233
3344
  {
3234
3345
  "kind": "field",
3235
- "name": "iconName",
3346
+ "name": "status",
3236
3347
  "type": {
3237
- "text": "string"
3348
+ "text": "AIStatus | null"
3238
3349
  },
3239
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
3350
+ "default": "null"
3240
3351
  },
3241
3352
  {
3242
3353
  "kind": "field",
@@ -3248,22 +3359,15 @@
3248
3359
  },
3249
3360
  {
3250
3361
  "kind": "field",
3251
- "name": "buttonAppearance",
3252
- "type": {
3253
- "text": "string"
3254
- }
3255
- },
3256
- {
3257
- "kind": "field",
3258
- "name": "hideDisabled",
3362
+ "name": "state",
3259
3363
  "type": {
3260
- "text": "boolean"
3364
+ "text": "AIIndicatorState"
3261
3365
  },
3262
- "default": "false"
3366
+ "default": "'none'"
3263
3367
  },
3264
3368
  {
3265
3369
  "kind": "field",
3266
- "name": "hideMenuSingleOption",
3370
+ "name": "isInstalling",
3267
3371
  "type": {
3268
3372
  "text": "boolean"
3269
3373
  },
@@ -3271,201 +3375,133 @@
3271
3375
  },
3272
3376
  {
3273
3377
  "kind": "field",
3274
- "name": "singleOption",
3275
- "type": {
3276
- "text": "ActionMenuItem"
3277
- }
3278
- },
3279
- {
3280
- "kind": "field",
3281
- "name": "actionsMenu",
3282
- "type": {
3283
- "text": "HTMLElement"
3284
- }
3285
- },
3286
- {
3287
- "kind": "field",
3288
- "name": "actionsOpener",
3378
+ "name": "pollTimer",
3289
3379
  "type": {
3290
- "text": "HTMLElement"
3291
- }
3380
+ "text": "ReturnType<typeof setInterval> | null"
3381
+ },
3382
+ "privacy": "private",
3383
+ "default": "null"
3292
3384
  },
3293
3385
  {
3294
3386
  "kind": "field",
3295
- "name": "positionTracker",
3296
- "type": {
3297
- "text": "AnchoredPopoverPositionTracker | undefined"
3298
- },
3387
+ "name": "clickOutside",
3299
3388
  "privacy": "private"
3300
3389
  },
3301
3390
  {
3302
3391
  "kind": "field",
3303
- "name": "focusMenuOnOpen",
3392
+ "name": "chromeStatusLabel",
3304
3393
  "type": {
3305
- "text": "boolean"
3394
+ "text": "string | null"
3306
3395
  },
3307
- "privacy": "private",
3308
- "default": "false",
3309
- "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
3396
+ "readonly": true
3310
3397
  },
3311
3398
  {
3312
- "kind": "method",
3313
- "name": "updateMenuPosition",
3314
- "privacy": "private"
3399
+ "kind": "field",
3400
+ "name": "canInstall",
3401
+ "type": {
3402
+ "text": "boolean"
3403
+ },
3404
+ "readonly": true
3315
3405
  },
3316
3406
  {
3317
- "kind": "method",
3318
- "name": "startTrackingPosition",
3319
- "privacy": "private"
3407
+ "kind": "field",
3408
+ "name": "isDownloading",
3409
+ "type": {
3410
+ "text": "boolean"
3411
+ },
3412
+ "readonly": true
3320
3413
  },
3321
3414
  {
3322
3415
  "kind": "method",
3323
- "name": "stopTrackingPosition",
3324
- "privacy": "private"
3416
+ "name": "openChanged",
3417
+ "return": {
3418
+ "type": {
3419
+ "text": "void"
3420
+ }
3421
+ }
3325
3422
  },
3326
3423
  {
3327
3424
  "kind": "method",
3328
- "name": "definitionChanged",
3329
- "privacy": "protected",
3425
+ "name": "handleClickOutside",
3426
+ "privacy": "private",
3330
3427
  "parameters": [
3331
3428
  {
3332
- "name": "oldValue",
3333
- "type": {
3334
- "text": "any"
3335
- }
3336
- },
3337
- {
3338
- "name": "newValue",
3429
+ "name": "event",
3339
3430
  "type": {
3340
- "text": "any"
3431
+ "text": "MouseEvent"
3341
3432
  }
3342
3433
  }
3343
3434
  ]
3344
3435
  },
3345
3436
  {
3346
3437
  "kind": "method",
3347
- "name": "openChanged",
3348
- "privacy": "protected"
3349
- },
3350
- {
3351
- "kind": "method",
3352
- "name": "toggleActionsMenuVisibility"
3438
+ "name": "toggleDropdown"
3353
3439
  },
3354
3440
  {
3355
3441
  "kind": "method",
3356
- "name": "onPopoverToggle",
3357
- "parameters": [
3358
- {
3359
- "name": "event",
3360
- "type": {
3361
- "text": "Event"
3362
- }
3442
+ "name": "refreshStatus",
3443
+ "return": {
3444
+ "type": {
3445
+ "text": "Promise<void>"
3363
3446
  }
3364
- ],
3365
- "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
3447
+ }
3366
3448
  },
3367
3449
  {
3368
3450
  "kind": "method",
3369
- "name": "onIconOpenerKeydown",
3451
+ "name": "deriveState",
3452
+ "privacy": "private",
3370
3453
  "return": {
3371
3454
  "type": {
3372
- "text": "boolean"
3455
+ "text": "AIIndicatorState"
3373
3456
  }
3374
3457
  },
3375
3458
  "parameters": [
3376
3459
  {
3377
- "name": "event",
3460
+ "name": "s",
3378
3461
  "type": {
3379
- "text": "KeyboardEvent"
3462
+ "text": "AIStatus | null"
3380
3463
  }
3381
3464
  }
3382
- ],
3383
- "description": "Opens the icon-only opener from the keyboard, as a native button would."
3465
+ ]
3384
3466
  },
3385
3467
  {
3386
3468
  "kind": "method",
3387
- "name": "onActionMenuItemClick",
3388
- "parameters": [
3389
- {
3390
- "name": "callback",
3391
- "type": {
3392
- "text": "(rowData) => void | any"
3393
- }
3469
+ "name": "maybeStartPolling",
3470
+ "privacy": "private",
3471
+ "return": {
3472
+ "type": {
3473
+ "text": "void"
3394
3474
  }
3395
- ]
3475
+ }
3396
3476
  },
3397
3477
  {
3398
3478
  "kind": "method",
3399
- "name": "isActionDisabled",
3479
+ "name": "startPolling",
3480
+ "privacy": "private",
3400
3481
  "return": {
3401
3482
  "type": {
3402
- "text": "boolean"
3403
- }
3404
- },
3405
- "parameters": [
3406
- {
3407
- "name": "action",
3408
- "type": {
3409
- "text": "ActionMenuItem"
3410
- }
3483
+ "text": "void"
3411
3484
  }
3412
- ],
3413
- "description": "Resolves an action's `isDisabled` for the current row."
3414
- },
3415
- {
3416
- "kind": "field",
3417
- "name": "resolvedActions",
3418
- "type": {
3419
- "text": "ActionMenuItem[]"
3420
- },
3421
- "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
3422
- "readonly": true
3423
- },
3424
- {
3425
- "kind": "field",
3426
- "name": "hasVisibleActions",
3427
- "type": {
3428
- "text": "boolean"
3429
- },
3430
- "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
3431
- "readonly": true
3432
- },
3433
- {
3434
- "kind": "field",
3435
- "name": "allActions",
3436
- "type": {
3437
- "text": "ActionMenuItem[]"
3438
- },
3439
- "readonly": true
3440
- },
3441
- {
3442
- "kind": "field",
3443
- "name": "rowData",
3444
- "readonly": true
3485
+ }
3445
3486
  },
3446
3487
  {
3447
3488
  "kind": "method",
3448
- "name": "getLabel",
3449
- "parameters": [
3450
- {
3451
- "name": "name",
3452
- "type": {
3453
- "text": "string | ((rowData: any) => string)"
3454
- }
3489
+ "name": "stopPolling",
3490
+ "privacy": "private",
3491
+ "return": {
3492
+ "type": {
3493
+ "text": "void"
3455
3494
  }
3456
- ]
3495
+ }
3457
3496
  },
3458
3497
  {
3459
3498
  "kind": "method",
3460
- "name": "getTemplate",
3461
- "parameters": [
3462
- {
3463
- "name": "prefix",
3464
- "type": {
3465
- "text": "string"
3466
- }
3499
+ "name": "onInstall",
3500
+ "return": {
3501
+ "type": {
3502
+ "text": "Promise<void>"
3467
3503
  }
3468
- ]
3504
+ }
3469
3505
  },
3470
3506
  {
3471
3507
  "kind": "field",
@@ -3539,241 +3575,139 @@
3539
3575
  "privacy": "protected",
3540
3576
  "return": {
3541
3577
  "type": {
3542
- "text": "void"
3543
- }
3544
- },
3545
- "inheritedFrom": {
3546
- "name": "FoundationElement",
3547
- "module": "src/foundation-element/foundation-element.ts"
3548
- }
3549
- },
3550
- {
3551
- "kind": "method",
3552
- "name": "compose",
3553
- "privacy": "public",
3554
- "static": true,
3555
- "return": {
3556
- "type": {
3557
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3558
- }
3559
- },
3560
- "parameters": [
3561
- {
3562
- "name": "this",
3563
- "type": {
3564
- "text": "K"
3565
- }
3566
- },
3567
- {
3568
- "name": "elementDefinition",
3569
- "type": {
3570
- "text": "T"
3571
- },
3572
- "description": "The definition of the element to create the registry\nfunction for."
3573
- }
3574
- ],
3575
- "description": "Defines an element registry function with a set of element definition defaults.",
3576
- "inheritedFrom": {
3577
- "name": "FoundationElement",
3578
- "module": "src/foundation-element/foundation-element.ts"
3579
- }
3580
- }
3581
- ],
3582
- "attributes": [
3583
- {
3584
- "name": "is-vertical",
3585
- "type": {
3586
- "text": "boolean"
3587
- },
3588
- "default": "false",
3589
- "fieldName": "isVertical"
3590
- },
3591
- {
3592
- "name": "add-default-actions",
3593
- "type": {
3594
- "text": "boolean"
3595
- },
3596
- "default": "true",
3597
- "fieldName": "addDefaultActions"
3598
- },
3599
- {
3600
- "name": "auto-close-on-action",
3601
- "type": {
3602
- "text": "boolean"
3603
- },
3604
- "default": "true",
3605
- "fieldName": "autoCloseOnAction"
3606
- },
3607
- {
3608
- "name": "name",
3609
- "type": {
3610
- "text": "string"
3611
- },
3612
- "default": "'Actions'",
3613
- "fieldName": "name"
3614
- },
3615
- {
3616
- "name": "icon-name",
3617
- "type": {
3618
- "text": "string"
3619
- },
3620
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
3621
- "fieldName": "iconName"
3622
- },
3623
- {
3624
- "name": "open",
3625
- "type": {
3626
- "text": "boolean"
3627
- },
3628
- "default": "false",
3629
- "fieldName": "open"
3630
- },
3631
- {
3632
- "name": "buttonAppearance",
3633
- "type": {
3634
- "text": "string"
3635
- },
3636
- "fieldName": "buttonAppearance"
3637
- },
3638
- {
3639
- "name": "hide-disabled",
3640
- "type": {
3641
- "text": "boolean"
3578
+ "text": "void"
3579
+ }
3642
3580
  },
3643
- "default": "false",
3644
- "fieldName": "hideDisabled"
3581
+ "inheritedFrom": {
3582
+ "name": "FoundationElement",
3583
+ "module": "src/foundation-element/foundation-element.ts"
3584
+ }
3645
3585
  },
3646
3586
  {
3647
- "name": "hide-menu-single-option",
3648
- "type": {
3649
- "text": "boolean"
3587
+ "kind": "method",
3588
+ "name": "compose",
3589
+ "privacy": "public",
3590
+ "static": true,
3591
+ "return": {
3592
+ "type": {
3593
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3594
+ }
3650
3595
  },
3651
- "default": "false",
3652
- "fieldName": "hideMenuSingleOption"
3596
+ "parameters": [
3597
+ {
3598
+ "name": "this",
3599
+ "type": {
3600
+ "text": "K"
3601
+ }
3602
+ },
3603
+ {
3604
+ "name": "elementDefinition",
3605
+ "type": {
3606
+ "text": "T"
3607
+ },
3608
+ "description": "The definition of the element to create the registry\nfunction for."
3609
+ }
3610
+ ],
3611
+ "description": "Defines an element registry function with a set of element definition defaults.",
3612
+ "inheritedFrom": {
3613
+ "name": "FoundationElement",
3614
+ "module": "src/foundation-element/foundation-element.ts"
3615
+ }
3653
3616
  }
3654
3617
  ],
3655
3618
  "superclass": {
3656
3619
  "name": "FoundationElement",
3657
3620
  "package": "@microsoft/fast-foundation"
3658
3621
  },
3659
- "tagName": "%%prefix%%-actions-menu",
3622
+ "tagName": "%%prefix%%-ai-indicator",
3660
3623
  "customElement": true
3661
3624
  },
3662
3625
  {
3663
3626
  "kind": "variable",
3664
- "name": "foundationActionsMenu",
3665
- "description": "The Foundation Actions Menu",
3666
- "privacy": "public"
3627
+ "name": "foundationAiIndicator"
3667
3628
  }
3668
3629
  ],
3669
3630
  "exports": [
3670
3631
  {
3671
3632
  "kind": "js",
3672
- "name": "ActionsMenu",
3633
+ "name": "AiIndicator",
3673
3634
  "declaration": {
3674
- "name": "ActionsMenu",
3675
- "module": "src/actions-menu/actions-menu.ts"
3635
+ "name": "AiIndicator",
3636
+ "module": "src/ai-indicator/ai-indicator.ts"
3676
3637
  }
3677
3638
  },
3678
3639
  {
3679
3640
  "kind": "js",
3680
- "name": "foundationActionsMenu",
3641
+ "name": "foundationAiIndicator",
3681
3642
  "declaration": {
3682
- "name": "foundationActionsMenu",
3683
- "module": "src/actions-menu/actions-menu.ts"
3643
+ "name": "foundationAiIndicator",
3644
+ "module": "src/ai-indicator/ai-indicator.ts"
3684
3645
  }
3685
3646
  }
3686
3647
  ]
3687
3648
  },
3688
3649
  {
3689
3650
  "kind": "javascript-module",
3690
- "path": "src/actions-menu/ag-menu.styles.ts",
3691
- "declarations": [
3692
- {
3693
- "kind": "function",
3694
- "name": "agMenuStyles",
3695
- "return": {
3696
- "type": {
3697
- "text": ""
3698
- }
3699
- },
3700
- "parameters": [
3701
- {
3702
- "name": "menuSelector",
3703
- "type": {
3704
- "text": "string"
3705
- },
3706
- "description": "Selects the menu surface. May be a selector list."
3707
- },
3708
- {
3709
- "name": "itemSelector",
3710
- "type": {
3711
- "text": "string"
3712
- },
3713
- "description": "Selects a menu item. Must be a single selector, as states are appended to it."
3714
- }
3715
- ],
3716
- "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
3717
- "privacy": "public"
3718
- }
3719
- ],
3651
+ "path": "src/ai-indicator/index.ts",
3652
+ "declarations": [],
3720
3653
  "exports": [
3721
3654
  {
3722
3655
  "kind": "js",
3723
- "name": "agMenuStyles",
3656
+ "name": "AiIndicator",
3724
3657
  "declaration": {
3725
- "name": "agMenuStyles",
3726
- "module": "src/actions-menu/ag-menu.styles.ts"
3658
+ "name": "AiIndicator",
3659
+ "module": "./ai-indicator"
3727
3660
  }
3728
- }
3729
- ]
3730
- },
3731
- {
3732
- "kind": "javascript-module",
3733
- "path": "src/actions-menu/index.ts",
3734
- "declarations": [],
3735
- "exports": [
3661
+ },
3736
3662
  {
3737
3663
  "kind": "js",
3738
- "name": "*",
3664
+ "name": "foundationAiIndicator",
3739
3665
  "declaration": {
3740
- "name": "*",
3741
- "package": "./actions-menu.styles"
3666
+ "name": "foundationAiIndicator",
3667
+ "module": "./ai-indicator"
3742
3668
  }
3743
3669
  },
3744
3670
  {
3745
3671
  "kind": "js",
3746
- "name": "*",
3672
+ "name": "type",
3747
3673
  "declaration": {
3748
- "name": "*",
3749
- "package": "./actions-menu.template"
3674
+ "name": "type",
3675
+ "module": "./ai-indicator"
3750
3676
  }
3751
3677
  },
3752
3678
  {
3753
3679
  "kind": "js",
3754
- "name": "*",
3680
+ "name": "AIIndicatorState",
3755
3681
  "declaration": {
3756
- "name": "*",
3757
- "package": "./actions-menu"
3682
+ "name": "AIIndicatorState",
3683
+ "module": "./ai-indicator"
3758
3684
  }
3759
3685
  },
3760
3686
  {
3761
3687
  "kind": "js",
3762
- "name": "*",
3688
+ "name": "foundationAiIndicatorTemplate",
3763
3689
  "declaration": {
3764
- "name": "*",
3765
- "package": "./ag-menu.styles"
3690
+ "name": "foundationAiIndicatorTemplate",
3691
+ "module": "./ai-indicator.template"
3692
+ }
3693
+ },
3694
+ {
3695
+ "kind": "js",
3696
+ "name": "foundationAiIndicatorStyles",
3697
+ "declaration": {
3698
+ "name": "foundationAiIndicatorStyles",
3699
+ "module": "./ai-indicator.styles"
3766
3700
  }
3767
3701
  }
3768
3702
  ]
3769
3703
  },
3770
3704
  {
3771
3705
  "kind": "javascript-module",
3772
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3706
+ "path": "src/accordion/accordion.styles.ts",
3773
3707
  "declarations": [
3774
3708
  {
3775
3709
  "kind": "function",
3776
- "name": "foundationAiIndicatorStyles",
3710
+ "name": "foundationAccordionStyles",
3777
3711
  "return": {
3778
3712
  "type": {
3779
3713
  "text": "ElementStyles"
@@ -3798,224 +3732,276 @@
3798
3732
  "exports": [
3799
3733
  {
3800
3734
  "kind": "js",
3801
- "name": "foundationAiIndicatorStyles",
3735
+ "name": "foundationAccordionStyles",
3802
3736
  "declaration": {
3803
- "name": "foundationAiIndicatorStyles",
3804
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3737
+ "name": "foundationAccordionStyles",
3738
+ "module": "src/accordion/accordion.styles.ts"
3805
3739
  }
3806
3740
  }
3807
3741
  ]
3808
3742
  },
3809
3743
  {
3810
3744
  "kind": "javascript-module",
3811
- "path": "src/ai-indicator/ai-indicator.template.ts",
3745
+ "path": "src/accordion/accordion.template.ts",
3812
3746
  "declarations": [
3813
3747
  {
3814
- "kind": "variable",
3815
- "name": "foundationAiIndicatorTemplate",
3816
- "type": {
3817
- "text": "ViewTemplate<AiIndicator>"
3748
+ "kind": "function",
3749
+ "name": "foundationAccordionTemplate",
3750
+ "return": {
3751
+ "type": {
3752
+ "text": "ViewTemplate<Accordion>"
3753
+ }
3818
3754
  },
3819
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3755
+ "parameters": [
3756
+ {
3757
+ "name": "context",
3758
+ "type": {
3759
+ "text": "ElementDefinitionContext"
3760
+ }
3761
+ },
3762
+ {
3763
+ "name": "definition",
3764
+ "type": {
3765
+ "text": "FoundationElementDefinition"
3766
+ }
3767
+ }
3768
+ ]
3820
3769
  }
3821
3770
  ],
3822
3771
  "exports": [
3823
3772
  {
3824
3773
  "kind": "js",
3825
- "name": "foundationAiIndicatorTemplate",
3774
+ "name": "foundationAccordionTemplate",
3826
3775
  "declaration": {
3827
- "name": "foundationAiIndicatorTemplate",
3828
- "module": "src/ai-indicator/ai-indicator.template.ts"
3776
+ "name": "foundationAccordionTemplate",
3777
+ "module": "src/accordion/accordion.template.ts"
3829
3778
  }
3830
3779
  }
3831
3780
  ]
3832
3781
  },
3833
3782
  {
3834
3783
  "kind": "javascript-module",
3835
- "path": "src/ai-indicator/ai-indicator.ts",
3784
+ "path": "src/accordion/accordion.ts",
3836
3785
  "declarations": [
3837
3786
  {
3838
3787
  "kind": "class",
3839
3788
  "description": "",
3840
- "name": "AiIndicator",
3841
- "members": [
3842
- {
3843
- "kind": "field",
3844
- "name": "providerRegistry",
3845
- "type": {
3846
- "text": "AIProviderRegistry"
3847
- }
3848
- },
3849
- {
3850
- "kind": "field",
3851
- "name": "aiProvider",
3852
- "type": {
3853
- "text": "AIProvider | undefined"
3854
- },
3855
- "privacy": "private",
3856
- "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.",
3857
- "readonly": true
3858
- },
3789
+ "name": "Accordion",
3790
+ "superclass": {
3791
+ "name": "FASTAccordion",
3792
+ "package": "@microsoft/fast-foundation"
3793
+ },
3794
+ "tagName": "%%prefix%%-accordion",
3795
+ "customElement": true,
3796
+ "attributes": [
3859
3797
  {
3860
- "kind": "field",
3861
- "name": "status",
3798
+ "name": "expand-mode",
3862
3799
  "type": {
3863
- "text": "AIStatus | null"
3800
+ "text": "AccordionExpandMode"
3864
3801
  },
3865
- "default": "null"
3866
- },
3802
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3803
+ "fieldName": "expandmode",
3804
+ "inheritedFrom": {
3805
+ "name": "Accordion",
3806
+ "module": "src/accordion/accordion.ts"
3807
+ }
3808
+ }
3809
+ ],
3810
+ "members": [
3867
3811
  {
3868
3812
  "kind": "field",
3869
- "name": "open",
3813
+ "name": "expandmode",
3870
3814
  "type": {
3871
- "text": "boolean"
3815
+ "text": "AccordionExpandMode"
3872
3816
  },
3873
- "default": "false"
3817
+ "privacy": "public",
3818
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3819
+ "inheritedFrom": {
3820
+ "name": "Accordion",
3821
+ "module": "src/accordion/accordion.ts"
3822
+ }
3874
3823
  },
3875
3824
  {
3876
3825
  "kind": "field",
3877
- "name": "state",
3826
+ "name": "activeid",
3878
3827
  "type": {
3879
- "text": "AIIndicatorState"
3828
+ "text": "string | null"
3880
3829
  },
3881
- "default": "'none'"
3830
+ "privacy": "private",
3831
+ "inheritedFrom": {
3832
+ "name": "Accordion",
3833
+ "module": "src/accordion/accordion.ts"
3834
+ }
3882
3835
  },
3883
3836
  {
3884
3837
  "kind": "field",
3885
- "name": "isInstalling",
3838
+ "name": "activeItemIndex",
3886
3839
  "type": {
3887
- "text": "boolean"
3840
+ "text": "number"
3888
3841
  },
3889
- "default": "false"
3842
+ "privacy": "private",
3843
+ "default": "0",
3844
+ "inheritedFrom": {
3845
+ "name": "Accordion",
3846
+ "module": "src/accordion/accordion.ts"
3847
+ }
3890
3848
  },
3891
3849
  {
3892
3850
  "kind": "field",
3893
- "name": "pollTimer",
3851
+ "name": "accordionIds",
3894
3852
  "type": {
3895
- "text": "ReturnType<typeof setInterval> | null"
3853
+ "text": "Array<string | null>"
3896
3854
  },
3897
3855
  "privacy": "private",
3898
- "default": "null"
3899
- },
3900
- {
3901
- "kind": "field",
3902
- "name": "clickOutside",
3903
- "privacy": "private"
3856
+ "inheritedFrom": {
3857
+ "name": "Accordion",
3858
+ "module": "src/accordion/accordion.ts"
3859
+ }
3904
3860
  },
3905
3861
  {
3906
3862
  "kind": "field",
3907
- "name": "chromeStatusLabel",
3908
- "type": {
3909
- "text": "string | null"
3910
- },
3911
- "readonly": true
3863
+ "name": "change",
3864
+ "privacy": "private",
3865
+ "inheritedFrom": {
3866
+ "name": "Accordion",
3867
+ "module": "src/accordion/accordion.ts"
3868
+ }
3912
3869
  },
3913
3870
  {
3914
- "kind": "field",
3915
- "name": "canInstall",
3916
- "type": {
3917
- "text": "boolean"
3871
+ "kind": "method",
3872
+ "name": "findExpandedItem",
3873
+ "privacy": "private",
3874
+ "return": {
3875
+ "type": {
3876
+ "text": "AccordionItem | null"
3877
+ }
3918
3878
  },
3919
- "readonly": true
3879
+ "inheritedFrom": {
3880
+ "name": "Accordion",
3881
+ "module": "src/accordion/accordion.ts"
3882
+ }
3920
3883
  },
3921
3884
  {
3922
3885
  "kind": "field",
3923
- "name": "isDownloading",
3924
- "type": {
3925
- "text": "boolean"
3926
- },
3927
- "readonly": true
3886
+ "name": "setItems",
3887
+ "privacy": "private",
3888
+ "inheritedFrom": {
3889
+ "name": "Accordion",
3890
+ "module": "src/accordion/accordion.ts"
3891
+ }
3928
3892
  },
3929
3893
  {
3930
3894
  "kind": "method",
3931
- "name": "openChanged",
3895
+ "name": "resetItems",
3896
+ "privacy": "private",
3932
3897
  "return": {
3933
3898
  "type": {
3934
3899
  "text": "void"
3935
3900
  }
3901
+ },
3902
+ "inheritedFrom": {
3903
+ "name": "Accordion",
3904
+ "module": "src/accordion/accordion.ts"
3936
3905
  }
3937
3906
  },
3938
3907
  {
3939
- "kind": "method",
3940
- "name": "handleClickOutside",
3908
+ "kind": "field",
3909
+ "name": "removeItemListeners",
3941
3910
  "privacy": "private",
3942
- "parameters": [
3943
- {
3944
- "name": "event",
3945
- "type": {
3946
- "text": "MouseEvent"
3947
- }
3948
- }
3949
- ]
3911
+ "inheritedFrom": {
3912
+ "name": "Accordion",
3913
+ "module": "src/accordion/accordion.ts"
3914
+ }
3950
3915
  },
3951
3916
  {
3952
- "kind": "method",
3953
- "name": "toggleDropdown"
3917
+ "kind": "field",
3918
+ "name": "activeItemChange",
3919
+ "privacy": "private",
3920
+ "inheritedFrom": {
3921
+ "name": "Accordion",
3922
+ "module": "src/accordion/accordion.ts"
3923
+ }
3954
3924
  },
3955
3925
  {
3956
3926
  "kind": "method",
3957
- "name": "refreshStatus",
3927
+ "name": "getItemIds",
3928
+ "privacy": "private",
3958
3929
  "return": {
3959
3930
  "type": {
3960
- "text": "Promise<void>"
3931
+ "text": "Array<string | null>"
3961
3932
  }
3933
+ },
3934
+ "inheritedFrom": {
3935
+ "name": "Accordion",
3936
+ "module": "src/accordion/accordion.ts"
3962
3937
  }
3963
3938
  },
3964
3939
  {
3965
3940
  "kind": "method",
3966
- "name": "deriveState",
3941
+ "name": "isSingleExpandMode",
3967
3942
  "privacy": "private",
3968
3943
  "return": {
3969
3944
  "type": {
3970
- "text": "AIIndicatorState"
3945
+ "text": "boolean"
3971
3946
  }
3972
3947
  },
3973
- "parameters": [
3974
- {
3975
- "name": "s",
3976
- "type": {
3977
- "text": "AIStatus | null"
3978
- }
3979
- }
3980
- ]
3948
+ "inheritedFrom": {
3949
+ "name": "Accordion",
3950
+ "module": "src/accordion/accordion.ts"
3951
+ }
3981
3952
  },
3982
3953
  {
3983
- "kind": "method",
3984
- "name": "maybeStartPolling",
3954
+ "kind": "field",
3955
+ "name": "handleItemKeyDown",
3985
3956
  "privacy": "private",
3986
- "return": {
3987
- "type": {
3988
- "text": "void"
3989
- }
3957
+ "inheritedFrom": {
3958
+ "name": "Accordion",
3959
+ "module": "src/accordion/accordion.ts"
3990
3960
  }
3991
3961
  },
3992
3962
  {
3993
- "kind": "method",
3994
- "name": "startPolling",
3963
+ "kind": "field",
3964
+ "name": "handleItemFocus",
3995
3965
  "privacy": "private",
3996
- "return": {
3997
- "type": {
3998
- "text": "void"
3999
- }
3966
+ "inheritedFrom": {
3967
+ "name": "Accordion",
3968
+ "module": "src/accordion/accordion.ts"
4000
3969
  }
4001
3970
  },
4002
3971
  {
4003
3972
  "kind": "method",
4004
- "name": "stopPolling",
3973
+ "name": "adjust",
4005
3974
  "privacy": "private",
4006
3975
  "return": {
4007
3976
  "type": {
4008
3977
  "text": "void"
4009
3978
  }
3979
+ },
3980
+ "parameters": [
3981
+ {
3982
+ "name": "adjustment",
3983
+ "type": {
3984
+ "text": "number"
3985
+ }
3986
+ }
3987
+ ],
3988
+ "inheritedFrom": {
3989
+ "name": "Accordion",
3990
+ "module": "src/accordion/accordion.ts"
4010
3991
  }
4011
3992
  },
4012
3993
  {
4013
3994
  "kind": "method",
4014
- "name": "onInstall",
3995
+ "name": "focusItem",
3996
+ "privacy": "private",
4015
3997
  "return": {
4016
3998
  "type": {
4017
- "text": "Promise<void>"
3999
+ "text": "void"
4018
4000
  }
4001
+ },
4002
+ "inheritedFrom": {
4003
+ "name": "Accordion",
4004
+ "module": "src/accordion/accordion.ts"
4019
4005
  }
4020
4006
  },
4021
4007
  {
@@ -4130,88 +4116,102 @@
4130
4116
  }
4131
4117
  }
4132
4118
  ],
4133
- "superclass": {
4134
- "name": "FoundationElement",
4135
- "package": "@microsoft/fast-foundation"
4119
+ "events": [
4120
+ {
4121
+ "description": "Fires a custom 'change' event when the active item changes",
4122
+ "name": "change",
4123
+ "inheritedFrom": {
4124
+ "name": "Accordion",
4125
+ "module": "src/accordion/accordion.ts"
4126
+ }
4127
+ }
4128
+ ]
4129
+ },
4130
+ {
4131
+ "kind": "variable",
4132
+ "name": "foundationAccordionShadowOptions",
4133
+ "type": {
4134
+ "text": "ShadowRootInit"
4136
4135
  },
4137
- "tagName": "%%prefix%%-ai-indicator",
4138
- "customElement": true
4136
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4139
4137
  },
4140
4138
  {
4141
4139
  "kind": "variable",
4142
- "name": "foundationAiIndicator"
4140
+ "name": "defaultAccordionConfig",
4141
+ "type": {
4142
+ "text": "object"
4143
+ },
4144
+ "default": "{}"
4145
+ },
4146
+ {
4147
+ "kind": "variable",
4148
+ "name": "foundationAccordion",
4149
+ "description": "The Foundation Accordion",
4150
+ "privacy": "public"
4143
4151
  }
4144
4152
  ],
4145
4153
  "exports": [
4146
4154
  {
4147
4155
  "kind": "js",
4148
- "name": "AiIndicator",
4156
+ "name": "Accordion",
4149
4157
  "declaration": {
4150
- "name": "AiIndicator",
4151
- "module": "src/ai-indicator/ai-indicator.ts"
4158
+ "name": "Accordion",
4159
+ "module": "src/accordion/accordion.ts"
4152
4160
  }
4153
4161
  },
4154
4162
  {
4155
4163
  "kind": "js",
4156
- "name": "foundationAiIndicator",
4157
- "declaration": {
4158
- "name": "foundationAiIndicator",
4159
- "module": "src/ai-indicator/ai-indicator.ts"
4160
- }
4161
- }
4162
- ]
4163
- },
4164
- {
4165
- "kind": "javascript-module",
4166
- "path": "src/ai-indicator/index.ts",
4167
- "declarations": [],
4168
- "exports": [
4169
- {
4170
- "kind": "js",
4171
- "name": "AiIndicator",
4164
+ "name": "foundationAccordionShadowOptions",
4172
4165
  "declaration": {
4173
- "name": "AiIndicator",
4174
- "module": "./ai-indicator"
4166
+ "name": "foundationAccordionShadowOptions",
4167
+ "module": "src/accordion/accordion.ts"
4175
4168
  }
4176
4169
  },
4177
4170
  {
4178
4171
  "kind": "js",
4179
- "name": "foundationAiIndicator",
4172
+ "name": "defaultAccordionConfig",
4180
4173
  "declaration": {
4181
- "name": "foundationAiIndicator",
4182
- "module": "./ai-indicator"
4174
+ "name": "defaultAccordionConfig",
4175
+ "module": "src/accordion/accordion.ts"
4183
4176
  }
4184
4177
  },
4185
4178
  {
4186
4179
  "kind": "js",
4187
- "name": "type",
4180
+ "name": "foundationAccordion",
4188
4181
  "declaration": {
4189
- "name": "type",
4190
- "module": "./ai-indicator"
4182
+ "name": "foundationAccordion",
4183
+ "module": "src/accordion/accordion.ts"
4191
4184
  }
4192
- },
4185
+ }
4186
+ ]
4187
+ },
4188
+ {
4189
+ "kind": "javascript-module",
4190
+ "path": "src/accordion/index.ts",
4191
+ "declarations": [],
4192
+ "exports": [
4193
4193
  {
4194
4194
  "kind": "js",
4195
- "name": "AIIndicatorState",
4195
+ "name": "*",
4196
4196
  "declaration": {
4197
- "name": "AIIndicatorState",
4198
- "module": "./ai-indicator"
4197
+ "name": "*",
4198
+ "package": "./accordion.template"
4199
4199
  }
4200
4200
  },
4201
4201
  {
4202
4202
  "kind": "js",
4203
- "name": "foundationAiIndicatorTemplate",
4203
+ "name": "*",
4204
4204
  "declaration": {
4205
- "name": "foundationAiIndicatorTemplate",
4206
- "module": "./ai-indicator.template"
4205
+ "name": "*",
4206
+ "package": "./accordion.styles"
4207
4207
  }
4208
4208
  },
4209
4209
  {
4210
4210
  "kind": "js",
4211
- "name": "foundationAiIndicatorStyles",
4211
+ "name": "*",
4212
4212
  "declaration": {
4213
- "name": "foundationAiIndicatorStyles",
4214
- "module": "./ai-indicator.styles"
4213
+ "name": "*",
4214
+ "package": "./accordion"
4215
4215
  }
4216
4216
  }
4217
4217
  ]