@genesislcap/foundation-ui 15.15.2-FUI-2603.6 → 15.15.2-FUI-2603.7

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.
@@ -1970,34 +1970,11 @@
1970
1970
  },
1971
1971
  {
1972
1972
  "kind": "javascript-module",
1973
- "path": "src/actions-menu/actions-menu.styles.ts",
1973
+ "path": "src/accordion-item/accordion-item.styles.ts",
1974
1974
  "declarations": [
1975
1975
  {
1976
1976
  "kind": "function",
1977
- "name": "actionsMenuBaseStyles",
1978
- "return": {
1979
- "type": {
1980
- "text": "ElementStyles"
1981
- }
1982
- },
1983
- "parameters": [
1984
- {
1985
- "name": "context",
1986
- "type": {
1987
- "text": "ElementDefinitionContext"
1988
- }
1989
- },
1990
- {
1991
- "name": "definition",
1992
- "type": {
1993
- "text": "FoundationElementDefinition"
1994
- }
1995
- }
1996
- ]
1997
- },
1998
- {
1999
- "kind": "function",
2000
- "name": "foundationActionsMenuStyles",
1977
+ "name": "foundationAccordionItemStyles",
2001
1978
  "return": {
2002
1979
  "type": {
2003
1980
  "text": "ElementStyles"
@@ -2022,346 +1999,221 @@
2022
1999
  "exports": [
2023
2000
  {
2024
2001
  "kind": "js",
2025
- "name": "actionsMenuBaseStyles",
2026
- "declaration": {
2027
- "name": "actionsMenuBaseStyles",
2028
- "module": "src/actions-menu/actions-menu.styles.ts"
2029
- }
2030
- },
2031
- {
2032
- "kind": "js",
2033
- "name": "foundationActionsMenuStyles",
2002
+ "name": "foundationAccordionItemStyles",
2034
2003
  "declaration": {
2035
- "name": "foundationActionsMenuStyles",
2036
- "module": "src/actions-menu/actions-menu.styles.ts"
2004
+ "name": "foundationAccordionItemStyles",
2005
+ "module": "src/accordion-item/accordion-item.styles.ts"
2037
2006
  }
2038
2007
  }
2039
2008
  ]
2040
2009
  },
2041
2010
  {
2042
2011
  "kind": "javascript-module",
2043
- "path": "src/actions-menu/actions-menu.template.ts",
2012
+ "path": "src/accordion-item/accordion-item.template.ts",
2044
2013
  "declarations": [
2045
2014
  {
2046
2015
  "kind": "function",
2047
- "name": "menuTemplate",
2016
+ "name": "foundationAccordionItemTemplate",
2017
+ "return": {
2018
+ "type": {
2019
+ "text": "ViewTemplate<AccordionItem>"
2020
+ }
2021
+ },
2048
2022
  "parameters": [
2049
2023
  {
2050
- "name": "prefix",
2024
+ "name": "context",
2051
2025
  "type": {
2052
- "text": "string"
2026
+ "text": "ElementDefinitionContext"
2053
2027
  }
2054
- }
2055
- ]
2056
- },
2057
- {
2058
- "kind": "function",
2059
- "name": "singleOptionTemplate",
2060
- "parameters": [
2028
+ },
2061
2029
  {
2062
- "name": "prefix",
2030
+ "name": "definition",
2063
2031
  "type": {
2064
- "text": "string"
2032
+ "text": "FoundationElementDefinition"
2065
2033
  }
2066
2034
  }
2067
2035
  ]
2068
- },
2069
- {
2070
- "kind": "variable",
2071
- "name": "foundationActionsMenuTemplate",
2072
- "type": {
2073
- "text": "ViewTemplate<ActionsMenu>"
2074
- },
2075
- "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`"
2076
2036
  }
2077
2037
  ],
2078
2038
  "exports": [
2079
2039
  {
2080
2040
  "kind": "js",
2081
- "name": "menuTemplate",
2082
- "declaration": {
2083
- "name": "menuTemplate",
2084
- "module": "src/actions-menu/actions-menu.template.ts"
2085
- }
2086
- },
2087
- {
2088
- "kind": "js",
2089
- "name": "singleOptionTemplate",
2090
- "declaration": {
2091
- "name": "singleOptionTemplate",
2092
- "module": "src/actions-menu/actions-menu.template.ts"
2093
- }
2094
- },
2095
- {
2096
- "kind": "js",
2097
- "name": "foundationActionsMenuTemplate",
2041
+ "name": "foundationAccordionItemTemplate",
2098
2042
  "declaration": {
2099
- "name": "foundationActionsMenuTemplate",
2100
- "module": "src/actions-menu/actions-menu.template.ts"
2043
+ "name": "foundationAccordionItemTemplate",
2044
+ "module": "src/accordion-item/accordion-item.template.ts"
2101
2045
  }
2102
2046
  }
2103
2047
  ]
2104
2048
  },
2105
2049
  {
2106
2050
  "kind": "javascript-module",
2107
- "path": "src/actions-menu/actions-menu.ts",
2051
+ "path": "src/accordion-item/accordion-item.ts",
2108
2052
  "declarations": [
2109
2053
  {
2110
2054
  "kind": "class",
2111
2055
  "description": "",
2112
- "name": "ActionsMenu",
2113
- "members": [
2056
+ "name": "AccordionItem",
2057
+ "superclass": {
2058
+ "name": "FASTAccordionItem",
2059
+ "package": "@microsoft/fast-components"
2060
+ },
2061
+ "tagName": "%%prefix%%-accordion-item",
2062
+ "customElement": true,
2063
+ "attributes": [
2114
2064
  {
2115
- "kind": "field",
2116
- "name": "actions",
2065
+ "name": "heading-level",
2117
2066
  "type": {
2118
- "text": "ActionMenuItem[]"
2067
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2068
+ },
2069
+ "default": "2",
2070
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2071
+ "fieldName": "headinglevel",
2072
+ "inheritedFrom": {
2073
+ "name": "AccordionItem",
2074
+ "module": "src/accordion-item/accordion-item.ts"
2119
2075
  }
2120
2076
  },
2121
2077
  {
2122
- "kind": "field",
2123
- "name": "isVertical",
2124
2078
  "type": {
2125
2079
  "text": "boolean"
2126
2080
  },
2127
- "default": "false"
2081
+ "default": "false",
2082
+ "description": "Expands or collapses the item.",
2083
+ "fieldName": "expanded",
2084
+ "inheritedFrom": {
2085
+ "name": "AccordionItem",
2086
+ "module": "src/accordion-item/accordion-item.ts"
2087
+ }
2128
2088
  },
2129
2089
  {
2130
- "kind": "field",
2131
- "name": "addDefaultActions",
2090
+ "name": "id",
2132
2091
  "type": {
2133
- "text": "boolean"
2092
+ "text": "string"
2134
2093
  },
2135
- "default": "true"
2136
- },
2094
+ "description": "The item ID",
2095
+ "fieldName": "id",
2096
+ "inheritedFrom": {
2097
+ "name": "AccordionItem",
2098
+ "module": "src/accordion-item/accordion-item.ts"
2099
+ }
2100
+ }
2101
+ ],
2102
+ "members": [
2137
2103
  {
2138
2104
  "kind": "field",
2139
- "name": "autoCloseOnAction",
2105
+ "name": "headinglevel",
2140
2106
  "type": {
2141
- "text": "boolean"
2107
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2142
2108
  },
2143
- "default": "true"
2144
- },
2145
- {
2146
- "kind": "field",
2147
- "name": "classNames",
2148
- "type": {
2149
- "text": "string"
2109
+ "privacy": "public",
2110
+ "default": "2",
2111
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2112
+ "inheritedFrom": {
2113
+ "name": "AccordionItem",
2114
+ "module": "src/accordion-item/accordion-item.ts"
2150
2115
  }
2151
2116
  },
2152
2117
  {
2153
2118
  "kind": "field",
2154
- "name": "definition",
2119
+ "name": "expanded",
2155
2120
  "type": {
2156
- "text": "any"
2121
+ "text": "boolean"
2122
+ },
2123
+ "privacy": "public",
2124
+ "default": "false",
2125
+ "description": "Expands or collapses the item.",
2126
+ "inheritedFrom": {
2127
+ "name": "AccordionItem",
2128
+ "module": "src/accordion-item/accordion-item.ts"
2157
2129
  }
2158
2130
  },
2159
2131
  {
2160
2132
  "kind": "field",
2161
- "name": "name",
2133
+ "name": "id",
2162
2134
  "type": {
2163
2135
  "text": "string"
2164
2136
  },
2165
- "default": "'Actions'"
2166
- },
2167
- {
2168
- "kind": "field",
2169
- "name": "open",
2170
- "type": {
2171
- "text": "boolean"
2172
- },
2173
- "default": "false"
2137
+ "privacy": "public",
2138
+ "description": "The item ID",
2139
+ "inheritedFrom": {
2140
+ "name": "AccordionItem",
2141
+ "module": "src/accordion-item/accordion-item.ts"
2142
+ }
2174
2143
  },
2175
2144
  {
2176
2145
  "kind": "field",
2177
- "name": "buttonAppearance",
2178
- "type": {
2179
- "text": "string"
2146
+ "name": "change",
2147
+ "privacy": "private",
2148
+ "inheritedFrom": {
2149
+ "name": "AccordionItem",
2150
+ "module": "src/accordion-item/accordion-item.ts"
2180
2151
  }
2181
2152
  },
2182
2153
  {
2183
2154
  "kind": "field",
2184
- "name": "hideDisabled",
2155
+ "name": "_presentation",
2185
2156
  "type": {
2186
- "text": "boolean"
2157
+ "text": "ComponentPresentation | null | undefined"
2187
2158
  },
2188
- "default": "false"
2159
+ "privacy": "private",
2160
+ "default": "void 0",
2161
+ "inheritedFrom": {
2162
+ "name": "FoundationElement",
2163
+ "module": "src/foundation-element/foundation-element.ts"
2164
+ }
2189
2165
  },
2190
2166
  {
2191
2167
  "kind": "field",
2192
- "name": "hideMenuSingleOption",
2168
+ "name": "$presentation",
2193
2169
  "type": {
2194
- "text": "boolean"
2170
+ "text": "ComponentPresentation | null"
2195
2171
  },
2196
- "default": "false"
2172
+ "privacy": "public",
2173
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2174
+ "inheritedFrom": {
2175
+ "name": "FoundationElement",
2176
+ "module": "src/foundation-element/foundation-element.ts"
2177
+ }
2197
2178
  },
2198
2179
  {
2199
2180
  "kind": "field",
2200
- "name": "singleOption",
2181
+ "name": "template",
2201
2182
  "type": {
2202
- "text": "ActionMenuItem"
2183
+ "text": "ElementViewTemplate | void | null"
2184
+ },
2185
+ "privacy": "public",
2186
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2187
+ "inheritedFrom": {
2188
+ "name": "FoundationElement",
2189
+ "module": "src/foundation-element/foundation-element.ts"
2203
2190
  }
2204
2191
  },
2205
2192
  {
2206
- "kind": "field",
2207
- "name": "actionsMenu",
2208
- "type": {
2209
- "text": "HTMLElement"
2193
+ "kind": "method",
2194
+ "name": "templateChanged",
2195
+ "privacy": "protected",
2196
+ "return": {
2197
+ "type": {
2198
+ "text": "void"
2199
+ }
2200
+ },
2201
+ "inheritedFrom": {
2202
+ "name": "FoundationElement",
2203
+ "module": "src/foundation-element/foundation-element.ts"
2210
2204
  }
2211
2205
  },
2212
2206
  {
2213
2207
  "kind": "field",
2214
- "name": "actionsOpener",
2208
+ "name": "styles",
2215
2209
  "type": {
2216
- "text": "HTMLElement"
2217
- }
2218
- },
2219
- {
2220
- "kind": "method",
2221
- "name": "updateMenuPosition",
2222
- "privacy": "private"
2223
- },
2224
- {
2225
- "kind": "method",
2226
- "name": "definitionChanged",
2227
- "privacy": "protected",
2228
- "parameters": [
2229
- {
2230
- "name": "oldValue",
2231
- "type": {
2232
- "text": "any"
2233
- }
2234
- },
2235
- {
2236
- "name": "newValue",
2237
- "type": {
2238
- "text": "any"
2239
- }
2240
- }
2241
- ]
2242
- },
2243
- {
2244
- "kind": "method",
2245
- "name": "openChanged",
2246
- "privacy": "protected"
2247
- },
2248
- {
2249
- "kind": "method",
2250
- "name": "toggleActionsMenuVisibility"
2251
- },
2252
- {
2253
- "kind": "method",
2254
- "name": "onActionMenuItemClick",
2255
- "parameters": [
2256
- {
2257
- "name": "callback",
2258
- "type": {
2259
- "text": "(rowData) => void | any"
2260
- }
2261
- }
2262
- ]
2263
- },
2264
- {
2265
- "kind": "field",
2266
- "name": "allActions",
2267
- "type": {
2268
- "text": "ActionMenuItem[]"
2269
- },
2270
- "readonly": true
2271
- },
2272
- {
2273
- "kind": "field",
2274
- "name": "rowData",
2275
- "readonly": true
2276
- },
2277
- {
2278
- "kind": "method",
2279
- "name": "getLabel",
2280
- "parameters": [
2281
- {
2282
- "name": "name",
2283
- "type": {
2284
- "text": "string | ((rowData: any) => string)"
2285
- }
2286
- }
2287
- ]
2288
- },
2289
- {
2290
- "kind": "method",
2291
- "name": "getTemplate",
2292
- "parameters": [
2293
- {
2294
- "name": "prefix",
2295
- "type": {
2296
- "text": "string"
2297
- }
2298
- }
2299
- ]
2300
- },
2301
- {
2302
- "kind": "field",
2303
- "name": "_presentation",
2304
- "type": {
2305
- "text": "ComponentPresentation | null | undefined"
2306
- },
2307
- "privacy": "private",
2308
- "default": "void 0",
2309
- "inheritedFrom": {
2310
- "name": "FoundationElement",
2311
- "module": "src/foundation-element/foundation-element.ts"
2312
- }
2313
- },
2314
- {
2315
- "kind": "field",
2316
- "name": "$presentation",
2317
- "type": {
2318
- "text": "ComponentPresentation | null"
2319
- },
2320
- "privacy": "public",
2321
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2322
- "inheritedFrom": {
2323
- "name": "FoundationElement",
2324
- "module": "src/foundation-element/foundation-element.ts"
2325
- }
2326
- },
2327
- {
2328
- "kind": "field",
2329
- "name": "template",
2330
- "type": {
2331
- "text": "ElementViewTemplate | void | null"
2332
- },
2333
- "privacy": "public",
2334
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2335
- "inheritedFrom": {
2336
- "name": "FoundationElement",
2337
- "module": "src/foundation-element/foundation-element.ts"
2338
- }
2339
- },
2340
- {
2341
- "kind": "method",
2342
- "name": "templateChanged",
2343
- "privacy": "protected",
2344
- "return": {
2345
- "type": {
2346
- "text": "void"
2347
- }
2348
- },
2349
- "inheritedFrom": {
2350
- "name": "FoundationElement",
2351
- "module": "src/foundation-element/foundation-element.ts"
2352
- }
2353
- },
2354
- {
2355
- "kind": "field",
2356
- "name": "styles",
2357
- "type": {
2358
- "text": "ElementStyles | void | null"
2359
- },
2360
- "privacy": "public",
2361
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2362
- "inheritedFrom": {
2363
- "name": "FoundationElement",
2364
- "module": "src/foundation-element/foundation-element.ts"
2210
+ "text": "ElementStyles | void | null"
2211
+ },
2212
+ "privacy": "public",
2213
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2214
+ "inheritedFrom": {
2215
+ "name": "FoundationElement",
2216
+ "module": "src/foundation-element/foundation-element.ts"
2365
2217
  }
2366
2218
  },
2367
2219
  {
@@ -2410,107 +2262,78 @@
2410
2262
  }
2411
2263
  }
2412
2264
  ],
2413
- "attributes": [
2414
- {
2415
- "name": "is-vertical",
2416
- "type": {
2417
- "text": "boolean"
2418
- },
2419
- "default": "false",
2420
- "fieldName": "isVertical"
2421
- },
2422
- {
2423
- "name": "add-default-actions",
2424
- "type": {
2425
- "text": "boolean"
2426
- },
2427
- "default": "true",
2428
- "fieldName": "addDefaultActions"
2429
- },
2430
- {
2431
- "name": "auto-close-on-action",
2432
- "type": {
2433
- "text": "boolean"
2434
- },
2435
- "default": "true",
2436
- "fieldName": "autoCloseOnAction"
2437
- },
2438
- {
2439
- "name": "name",
2440
- "type": {
2441
- "text": "string"
2442
- },
2443
- "default": "'Actions'",
2444
- "fieldName": "name"
2445
- },
2446
- {
2447
- "name": "open",
2448
- "type": {
2449
- "text": "boolean"
2450
- },
2451
- "default": "false",
2452
- "fieldName": "open"
2453
- },
2454
- {
2455
- "name": "buttonAppearance",
2456
- "type": {
2457
- "text": "string"
2458
- },
2459
- "fieldName": "buttonAppearance"
2460
- },
2461
- {
2462
- "name": "hide-disabled",
2463
- "type": {
2464
- "text": "boolean"
2465
- },
2466
- "default": "false",
2467
- "fieldName": "hideDisabled"
2468
- },
2265
+ "events": [
2469
2266
  {
2470
- "name": "hide-menu-single-option",
2471
- "type": {
2472
- "text": "boolean"
2473
- },
2474
- "default": "false",
2475
- "fieldName": "hideMenuSingleOption"
2267
+ "description": "Fires a custom 'change' event when the button is invoked",
2268
+ "name": "change",
2269
+ "inheritedFrom": {
2270
+ "name": "AccordionItem",
2271
+ "module": "src/accordion-item/accordion-item.ts"
2272
+ }
2476
2273
  }
2477
- ],
2478
- "superclass": {
2479
- "name": "FoundationElement",
2480
- "package": "@microsoft/fast-foundation"
2274
+ ]
2275
+ },
2276
+ {
2277
+ "kind": "variable",
2278
+ "name": "foundationAccordionItemShadowOptions",
2279
+ "type": {
2280
+ "text": "ShadowRootInit"
2481
2281
  },
2482
- "tagName": "%%prefix%%-actions-menu",
2483
- "customElement": true
2282
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2484
2283
  },
2485
2284
  {
2486
2285
  "kind": "variable",
2487
- "name": "foundationActionsMenu",
2488
- "description": "The Foundation Actions Menu",
2286
+ "name": "defaultAccordionItemConfig",
2287
+ "type": {
2288
+ "text": "object"
2289
+ },
2290
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2291
+ },
2292
+ {
2293
+ "kind": "variable",
2294
+ "name": "foundationAccordionItem",
2295
+ "description": "The Foundation Accordion Item",
2489
2296
  "privacy": "public"
2490
2297
  }
2491
2298
  ],
2492
2299
  "exports": [
2493
2300
  {
2494
2301
  "kind": "js",
2495
- "name": "ActionsMenu",
2302
+ "name": "AccordionItem",
2496
2303
  "declaration": {
2497
- "name": "ActionsMenu",
2498
- "module": "src/actions-menu/actions-menu.ts"
2304
+ "name": "AccordionItem",
2305
+ "module": "src/accordion-item/accordion-item.ts"
2499
2306
  }
2500
2307
  },
2501
2308
  {
2502
2309
  "kind": "js",
2503
- "name": "foundationActionsMenu",
2310
+ "name": "foundationAccordionItemShadowOptions",
2504
2311
  "declaration": {
2505
- "name": "foundationActionsMenu",
2506
- "module": "src/actions-menu/actions-menu.ts"
2312
+ "name": "foundationAccordionItemShadowOptions",
2313
+ "module": "src/accordion-item/accordion-item.ts"
2314
+ }
2315
+ },
2316
+ {
2317
+ "kind": "js",
2318
+ "name": "defaultAccordionItemConfig",
2319
+ "declaration": {
2320
+ "name": "defaultAccordionItemConfig",
2321
+ "module": "src/accordion-item/accordion-item.ts"
2322
+ }
2323
+ },
2324
+ {
2325
+ "kind": "js",
2326
+ "name": "foundationAccordionItem",
2327
+ "declaration": {
2328
+ "name": "foundationAccordionItem",
2329
+ "module": "src/accordion-item/accordion-item.ts"
2507
2330
  }
2508
2331
  }
2509
2332
  ]
2510
2333
  },
2511
2334
  {
2512
2335
  "kind": "javascript-module",
2513
- "path": "src/actions-menu/index.ts",
2336
+ "path": "src/accordion-item/index.ts",
2514
2337
  "declarations": [],
2515
2338
  "exports": [
2516
2339
  {
@@ -2518,7 +2341,7 @@
2518
2341
  "name": "*",
2519
2342
  "declaration": {
2520
2343
  "name": "*",
2521
- "package": "./actions-menu.styles"
2344
+ "package": "./accordion-item.template"
2522
2345
  }
2523
2346
  },
2524
2347
  {
@@ -2526,7 +2349,7 @@
2526
2349
  "name": "*",
2527
2350
  "declaration": {
2528
2351
  "name": "*",
2529
- "package": "./actions-menu.template"
2352
+ "package": "./accordion-item.styles"
2530
2353
  }
2531
2354
  },
2532
2355
  {
@@ -2534,7 +2357,7 @@
2534
2357
  "name": "*",
2535
2358
  "declaration": {
2536
2359
  "name": "*",
2537
- "package": "./actions-menu"
2360
+ "package": "./accordion-item"
2538
2361
  }
2539
2362
  }
2540
2363
  ]
@@ -3150,11 +2973,11 @@
3150
2973
  },
3151
2974
  {
3152
2975
  "kind": "javascript-module",
3153
- "path": "src/accordion-item/accordion-item.styles.ts",
2976
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3154
2977
  "declarations": [
3155
2978
  {
3156
2979
  "kind": "function",
3157
- "name": "foundationAccordionItemStyles",
2980
+ "name": "foundationAiIndicatorStyles",
3158
2981
  "return": {
3159
2982
  "type": {
3160
2983
  "text": "ElementStyles"
@@ -3179,155 +3002,224 @@
3179
3002
  "exports": [
3180
3003
  {
3181
3004
  "kind": "js",
3182
- "name": "foundationAccordionItemStyles",
3005
+ "name": "foundationAiIndicatorStyles",
3183
3006
  "declaration": {
3184
- "name": "foundationAccordionItemStyles",
3185
- "module": "src/accordion-item/accordion-item.styles.ts"
3007
+ "name": "foundationAiIndicatorStyles",
3008
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3186
3009
  }
3187
3010
  }
3188
3011
  ]
3189
3012
  },
3190
3013
  {
3191
3014
  "kind": "javascript-module",
3192
- "path": "src/accordion-item/accordion-item.template.ts",
3015
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3193
3016
  "declarations": [
3194
3017
  {
3195
- "kind": "function",
3196
- "name": "foundationAccordionItemTemplate",
3197
- "return": {
3198
- "type": {
3199
- "text": "ViewTemplate<AccordionItem>"
3200
- }
3018
+ "kind": "variable",
3019
+ "name": "foundationAiIndicatorTemplate",
3020
+ "type": {
3021
+ "text": "ViewTemplate<AiIndicator>"
3201
3022
  },
3202
- "parameters": [
3203
- {
3204
- "name": "context",
3205
- "type": {
3206
- "text": "ElementDefinitionContext"
3207
- }
3208
- },
3209
- {
3210
- "name": "definition",
3211
- "type": {
3212
- "text": "FoundationElementDefinition"
3213
- }
3214
- }
3215
- ]
3023
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3216
3024
  }
3217
3025
  ],
3218
3026
  "exports": [
3219
3027
  {
3220
3028
  "kind": "js",
3221
- "name": "foundationAccordionItemTemplate",
3029
+ "name": "foundationAiIndicatorTemplate",
3222
3030
  "declaration": {
3223
- "name": "foundationAccordionItemTemplate",
3224
- "module": "src/accordion-item/accordion-item.template.ts"
3031
+ "name": "foundationAiIndicatorTemplate",
3032
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3225
3033
  }
3226
3034
  }
3227
3035
  ]
3228
3036
  },
3229
3037
  {
3230
3038
  "kind": "javascript-module",
3231
- "path": "src/accordion-item/accordion-item.ts",
3039
+ "path": "src/ai-indicator/ai-indicator.ts",
3232
3040
  "declarations": [
3233
3041
  {
3234
3042
  "kind": "class",
3235
3043
  "description": "",
3236
- "name": "AccordionItem",
3237
- "superclass": {
3238
- "name": "FASTAccordionItem",
3239
- "package": "@microsoft/fast-components"
3240
- },
3241
- "tagName": "%%prefix%%-accordion-item",
3242
- "customElement": true,
3243
- "attributes": [
3044
+ "name": "AiIndicator",
3045
+ "members": [
3244
3046
  {
3245
- "name": "heading-level",
3047
+ "kind": "field",
3048
+ "name": "providerRegistry",
3246
3049
  "type": {
3247
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3248
- },
3249
- "default": "2",
3250
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3251
- "fieldName": "headinglevel",
3252
- "inheritedFrom": {
3253
- "name": "AccordionItem",
3254
- "module": "src/accordion-item/accordion-item.ts"
3050
+ "text": "AIProviderRegistry"
3255
3051
  }
3256
3052
  },
3257
3053
  {
3054
+ "kind": "field",
3055
+ "name": "aiProvider",
3056
+ "type": {
3057
+ "text": "AIProvider | undefined"
3058
+ },
3059
+ "privacy": "private",
3060
+ "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.",
3061
+ "readonly": true
3062
+ },
3063
+ {
3064
+ "kind": "field",
3065
+ "name": "status",
3066
+ "type": {
3067
+ "text": "AIStatus | null"
3068
+ },
3069
+ "default": "null"
3070
+ },
3071
+ {
3072
+ "kind": "field",
3073
+ "name": "open",
3258
3074
  "type": {
3259
3075
  "text": "boolean"
3260
3076
  },
3261
- "default": "false",
3262
- "description": "Expands or collapses the item.",
3263
- "fieldName": "expanded",
3264
- "inheritedFrom": {
3265
- "name": "AccordionItem",
3266
- "module": "src/accordion-item/accordion-item.ts"
3267
- }
3077
+ "default": "false"
3268
3078
  },
3269
3079
  {
3270
- "name": "id",
3080
+ "kind": "field",
3081
+ "name": "state",
3271
3082
  "type": {
3272
- "text": "string"
3083
+ "text": "AIIndicatorState"
3273
3084
  },
3274
- "description": "The item ID",
3275
- "fieldName": "id",
3276
- "inheritedFrom": {
3277
- "name": "AccordionItem",
3278
- "module": "src/accordion-item/accordion-item.ts"
3279
- }
3280
- }
3281
- ],
3282
- "members": [
3085
+ "default": "'none'"
3086
+ },
3283
3087
  {
3284
3088
  "kind": "field",
3285
- "name": "headinglevel",
3089
+ "name": "isInstalling",
3286
3090
  "type": {
3287
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3091
+ "text": "boolean"
3288
3092
  },
3289
- "privacy": "public",
3290
- "default": "2",
3291
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3292
- "inheritedFrom": {
3293
- "name": "AccordionItem",
3294
- "module": "src/accordion-item/accordion-item.ts"
3295
- }
3093
+ "default": "false"
3296
3094
  },
3297
3095
  {
3298
3096
  "kind": "field",
3299
- "name": "expanded",
3097
+ "name": "pollTimer",
3098
+ "type": {
3099
+ "text": "ReturnType<typeof setInterval> | null"
3100
+ },
3101
+ "privacy": "private",
3102
+ "default": "null"
3103
+ },
3104
+ {
3105
+ "kind": "field",
3106
+ "name": "clickOutside",
3107
+ "privacy": "private"
3108
+ },
3109
+ {
3110
+ "kind": "field",
3111
+ "name": "chromeStatusLabel",
3112
+ "type": {
3113
+ "text": "string | null"
3114
+ },
3115
+ "readonly": true
3116
+ },
3117
+ {
3118
+ "kind": "field",
3119
+ "name": "canInstall",
3300
3120
  "type": {
3301
3121
  "text": "boolean"
3302
3122
  },
3303
- "privacy": "public",
3304
- "default": "false",
3305
- "description": "Expands or collapses the item.",
3306
- "inheritedFrom": {
3307
- "name": "AccordionItem",
3308
- "module": "src/accordion-item/accordion-item.ts"
3309
- }
3123
+ "readonly": true
3310
3124
  },
3311
3125
  {
3312
3126
  "kind": "field",
3313
- "name": "id",
3127
+ "name": "isDownloading",
3314
3128
  "type": {
3315
- "text": "string"
3129
+ "text": "boolean"
3316
3130
  },
3317
- "privacy": "public",
3318
- "description": "The item ID",
3319
- "inheritedFrom": {
3320
- "name": "AccordionItem",
3321
- "module": "src/accordion-item/accordion-item.ts"
3131
+ "readonly": true
3132
+ },
3133
+ {
3134
+ "kind": "method",
3135
+ "name": "openChanged",
3136
+ "return": {
3137
+ "type": {
3138
+ "text": "void"
3139
+ }
3322
3140
  }
3323
3141
  },
3324
3142
  {
3325
- "kind": "field",
3326
- "name": "change",
3143
+ "kind": "method",
3144
+ "name": "handleClickOutside",
3327
3145
  "privacy": "private",
3328
- "inheritedFrom": {
3329
- "name": "AccordionItem",
3330
- "module": "src/accordion-item/accordion-item.ts"
3146
+ "parameters": [
3147
+ {
3148
+ "name": "event",
3149
+ "type": {
3150
+ "text": "MouseEvent"
3151
+ }
3152
+ }
3153
+ ]
3154
+ },
3155
+ {
3156
+ "kind": "method",
3157
+ "name": "toggleDropdown"
3158
+ },
3159
+ {
3160
+ "kind": "method",
3161
+ "name": "refreshStatus",
3162
+ "return": {
3163
+ "type": {
3164
+ "text": "Promise<void>"
3165
+ }
3166
+ }
3167
+ },
3168
+ {
3169
+ "kind": "method",
3170
+ "name": "deriveState",
3171
+ "privacy": "private",
3172
+ "return": {
3173
+ "type": {
3174
+ "text": "AIIndicatorState"
3175
+ }
3176
+ },
3177
+ "parameters": [
3178
+ {
3179
+ "name": "s",
3180
+ "type": {
3181
+ "text": "AIStatus | null"
3182
+ }
3183
+ }
3184
+ ]
3185
+ },
3186
+ {
3187
+ "kind": "method",
3188
+ "name": "maybeStartPolling",
3189
+ "privacy": "private",
3190
+ "return": {
3191
+ "type": {
3192
+ "text": "void"
3193
+ }
3194
+ }
3195
+ },
3196
+ {
3197
+ "kind": "method",
3198
+ "name": "startPolling",
3199
+ "privacy": "private",
3200
+ "return": {
3201
+ "type": {
3202
+ "text": "void"
3203
+ }
3204
+ }
3205
+ },
3206
+ {
3207
+ "kind": "method",
3208
+ "name": "stopPolling",
3209
+ "privacy": "private",
3210
+ "return": {
3211
+ "type": {
3212
+ "text": "void"
3213
+ }
3214
+ }
3215
+ },
3216
+ {
3217
+ "kind": "method",
3218
+ "name": "onInstall",
3219
+ "return": {
3220
+ "type": {
3221
+ "text": "Promise<void>"
3222
+ }
3331
3223
  }
3332
3224
  },
3333
3225
  {
@@ -3442,113 +3334,122 @@
3442
3334
  }
3443
3335
  }
3444
3336
  ],
3445
- "events": [
3446
- {
3447
- "description": "Fires a custom 'change' event when the button is invoked",
3448
- "name": "change",
3449
- "inheritedFrom": {
3450
- "name": "AccordionItem",
3451
- "module": "src/accordion-item/accordion-item.ts"
3452
- }
3453
- }
3454
- ]
3455
- },
3456
- {
3457
- "kind": "variable",
3458
- "name": "foundationAccordionItemShadowOptions",
3459
- "type": {
3460
- "text": "ShadowRootInit"
3461
- },
3462
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3463
- },
3464
- {
3465
- "kind": "variable",
3466
- "name": "defaultAccordionItemConfig",
3467
- "type": {
3468
- "text": "object"
3337
+ "superclass": {
3338
+ "name": "FoundationElement",
3339
+ "package": "@microsoft/fast-foundation"
3469
3340
  },
3470
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
3341
+ "tagName": "%%prefix%%-ai-indicator",
3342
+ "customElement": true
3471
3343
  },
3472
3344
  {
3473
3345
  "kind": "variable",
3474
- "name": "foundationAccordionItem",
3475
- "description": "The Foundation Accordion Item",
3476
- "privacy": "public"
3346
+ "name": "foundationAiIndicator"
3477
3347
  }
3478
3348
  ],
3479
3349
  "exports": [
3480
3350
  {
3481
3351
  "kind": "js",
3482
- "name": "AccordionItem",
3352
+ "name": "AiIndicator",
3483
3353
  "declaration": {
3484
- "name": "AccordionItem",
3485
- "module": "src/accordion-item/accordion-item.ts"
3354
+ "name": "AiIndicator",
3355
+ "module": "src/ai-indicator/ai-indicator.ts"
3486
3356
  }
3487
3357
  },
3488
3358
  {
3489
3359
  "kind": "js",
3490
- "name": "foundationAccordionItemShadowOptions",
3360
+ "name": "foundationAiIndicator",
3491
3361
  "declaration": {
3492
- "name": "foundationAccordionItemShadowOptions",
3493
- "module": "src/accordion-item/accordion-item.ts"
3362
+ "name": "foundationAiIndicator",
3363
+ "module": "src/ai-indicator/ai-indicator.ts"
3364
+ }
3365
+ }
3366
+ ]
3367
+ },
3368
+ {
3369
+ "kind": "javascript-module",
3370
+ "path": "src/ai-indicator/index.ts",
3371
+ "declarations": [],
3372
+ "exports": [
3373
+ {
3374
+ "kind": "js",
3375
+ "name": "AiIndicator",
3376
+ "declaration": {
3377
+ "name": "AiIndicator",
3378
+ "module": "./ai-indicator"
3494
3379
  }
3495
3380
  },
3496
3381
  {
3497
3382
  "kind": "js",
3498
- "name": "defaultAccordionItemConfig",
3383
+ "name": "foundationAiIndicator",
3499
3384
  "declaration": {
3500
- "name": "defaultAccordionItemConfig",
3501
- "module": "src/accordion-item/accordion-item.ts"
3385
+ "name": "foundationAiIndicator",
3386
+ "module": "./ai-indicator"
3502
3387
  }
3503
3388
  },
3504
3389
  {
3505
3390
  "kind": "js",
3506
- "name": "foundationAccordionItem",
3391
+ "name": "type",
3507
3392
  "declaration": {
3508
- "name": "foundationAccordionItem",
3509
- "module": "src/accordion-item/accordion-item.ts"
3393
+ "name": "type",
3394
+ "module": "./ai-indicator"
3510
3395
  }
3511
- }
3512
- ]
3513
- },
3514
- {
3515
- "kind": "javascript-module",
3516
- "path": "src/accordion-item/index.ts",
3517
- "declarations": [],
3518
- "exports": [
3396
+ },
3519
3397
  {
3520
3398
  "kind": "js",
3521
- "name": "*",
3399
+ "name": "AIIndicatorState",
3522
3400
  "declaration": {
3523
- "name": "*",
3524
- "package": "./accordion-item.template"
3401
+ "name": "AIIndicatorState",
3402
+ "module": "./ai-indicator"
3525
3403
  }
3526
3404
  },
3527
3405
  {
3528
3406
  "kind": "js",
3529
- "name": "*",
3407
+ "name": "foundationAiIndicatorTemplate",
3530
3408
  "declaration": {
3531
- "name": "*",
3532
- "package": "./accordion-item.styles"
3409
+ "name": "foundationAiIndicatorTemplate",
3410
+ "module": "./ai-indicator.template"
3533
3411
  }
3534
3412
  },
3535
3413
  {
3536
3414
  "kind": "js",
3537
- "name": "*",
3415
+ "name": "foundationAiIndicatorStyles",
3538
3416
  "declaration": {
3539
- "name": "*",
3540
- "package": "./accordion-item"
3417
+ "name": "foundationAiIndicatorStyles",
3418
+ "module": "./ai-indicator.styles"
3541
3419
  }
3542
3420
  }
3543
3421
  ]
3544
3422
  },
3545
3423
  {
3546
3424
  "kind": "javascript-module",
3547
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3425
+ "path": "src/actions-menu/actions-menu.styles.ts",
3548
3426
  "declarations": [
3549
3427
  {
3550
3428
  "kind": "function",
3551
- "name": "foundationAiIndicatorStyles",
3429
+ "name": "actionsMenuBaseStyles",
3430
+ "return": {
3431
+ "type": {
3432
+ "text": "ElementStyles"
3433
+ }
3434
+ },
3435
+ "parameters": [
3436
+ {
3437
+ "name": "context",
3438
+ "type": {
3439
+ "text": "ElementDefinitionContext"
3440
+ }
3441
+ },
3442
+ {
3443
+ "name": "definition",
3444
+ "type": {
3445
+ "text": "FoundationElementDefinition"
3446
+ }
3447
+ }
3448
+ ]
3449
+ },
3450
+ {
3451
+ "kind": "function",
3452
+ "name": "foundationActionsMenuStyles",
3552
3453
  "return": {
3553
3454
  "type": {
3554
3455
  "text": "ElementStyles"
@@ -3573,71 +3474,147 @@
3573
3474
  "exports": [
3574
3475
  {
3575
3476
  "kind": "js",
3576
- "name": "foundationAiIndicatorStyles",
3477
+ "name": "actionsMenuBaseStyles",
3577
3478
  "declaration": {
3578
- "name": "foundationAiIndicatorStyles",
3579
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3479
+ "name": "actionsMenuBaseStyles",
3480
+ "module": "src/actions-menu/actions-menu.styles.ts"
3481
+ }
3482
+ },
3483
+ {
3484
+ "kind": "js",
3485
+ "name": "foundationActionsMenuStyles",
3486
+ "declaration": {
3487
+ "name": "foundationActionsMenuStyles",
3488
+ "module": "src/actions-menu/actions-menu.styles.ts"
3580
3489
  }
3581
3490
  }
3582
3491
  ]
3583
3492
  },
3584
3493
  {
3585
3494
  "kind": "javascript-module",
3586
- "path": "src/ai-indicator/ai-indicator.template.ts",
3495
+ "path": "src/actions-menu/actions-menu.template.ts",
3587
3496
  "declarations": [
3497
+ {
3498
+ "kind": "function",
3499
+ "name": "menuTemplate",
3500
+ "parameters": [
3501
+ {
3502
+ "name": "prefix",
3503
+ "type": {
3504
+ "text": "string"
3505
+ }
3506
+ }
3507
+ ]
3508
+ },
3509
+ {
3510
+ "kind": "function",
3511
+ "name": "singleOptionTemplate",
3512
+ "parameters": [
3513
+ {
3514
+ "name": "prefix",
3515
+ "type": {
3516
+ "text": "string"
3517
+ }
3518
+ }
3519
+ ]
3520
+ },
3588
3521
  {
3589
3522
  "kind": "variable",
3590
- "name": "foundationAiIndicatorTemplate",
3523
+ "name": "foundationActionsMenuTemplate",
3591
3524
  "type": {
3592
- "text": "ViewTemplate<AiIndicator>"
3525
+ "text": "ViewTemplate<ActionsMenu>"
3593
3526
  },
3594
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3527
+ "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`"
3595
3528
  }
3596
3529
  ],
3597
3530
  "exports": [
3598
3531
  {
3599
3532
  "kind": "js",
3600
- "name": "foundationAiIndicatorTemplate",
3533
+ "name": "menuTemplate",
3601
3534
  "declaration": {
3602
- "name": "foundationAiIndicatorTemplate",
3603
- "module": "src/ai-indicator/ai-indicator.template.ts"
3535
+ "name": "menuTemplate",
3536
+ "module": "src/actions-menu/actions-menu.template.ts"
3537
+ }
3538
+ },
3539
+ {
3540
+ "kind": "js",
3541
+ "name": "singleOptionTemplate",
3542
+ "declaration": {
3543
+ "name": "singleOptionTemplate",
3544
+ "module": "src/actions-menu/actions-menu.template.ts"
3545
+ }
3546
+ },
3547
+ {
3548
+ "kind": "js",
3549
+ "name": "foundationActionsMenuTemplate",
3550
+ "declaration": {
3551
+ "name": "foundationActionsMenuTemplate",
3552
+ "module": "src/actions-menu/actions-menu.template.ts"
3604
3553
  }
3605
3554
  }
3606
3555
  ]
3607
3556
  },
3608
3557
  {
3609
3558
  "kind": "javascript-module",
3610
- "path": "src/ai-indicator/ai-indicator.ts",
3559
+ "path": "src/actions-menu/actions-menu.ts",
3611
3560
  "declarations": [
3612
3561
  {
3613
3562
  "kind": "class",
3614
3563
  "description": "",
3615
- "name": "AiIndicator",
3564
+ "name": "ActionsMenu",
3616
3565
  "members": [
3617
3566
  {
3618
3567
  "kind": "field",
3619
- "name": "providerRegistry",
3568
+ "name": "actions",
3620
3569
  "type": {
3621
- "text": "AIProviderRegistry"
3570
+ "text": "ActionMenuItem[]"
3622
3571
  }
3623
3572
  },
3624
3573
  {
3625
3574
  "kind": "field",
3626
- "name": "aiProvider",
3575
+ "name": "isVertical",
3627
3576
  "type": {
3628
- "text": "AIProvider | undefined"
3577
+ "text": "boolean"
3629
3578
  },
3630
- "privacy": "private",
3631
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3632
- "readonly": true
3579
+ "default": "false"
3633
3580
  },
3634
3581
  {
3635
3582
  "kind": "field",
3636
- "name": "status",
3583
+ "name": "addDefaultActions",
3637
3584
  "type": {
3638
- "text": "AIStatus | null"
3585
+ "text": "boolean"
3639
3586
  },
3640
- "default": "null"
3587
+ "default": "true"
3588
+ },
3589
+ {
3590
+ "kind": "field",
3591
+ "name": "autoCloseOnAction",
3592
+ "type": {
3593
+ "text": "boolean"
3594
+ },
3595
+ "default": "true"
3596
+ },
3597
+ {
3598
+ "kind": "field",
3599
+ "name": "classNames",
3600
+ "type": {
3601
+ "text": "string"
3602
+ }
3603
+ },
3604
+ {
3605
+ "kind": "field",
3606
+ "name": "definition",
3607
+ "type": {
3608
+ "text": "any"
3609
+ }
3610
+ },
3611
+ {
3612
+ "kind": "field",
3613
+ "name": "name",
3614
+ "type": {
3615
+ "text": "string"
3616
+ },
3617
+ "default": "'Actions'"
3641
3618
  },
3642
3619
  {
3643
3620
  "kind": "field",
@@ -3649,15 +3626,14 @@
3649
3626
  },
3650
3627
  {
3651
3628
  "kind": "field",
3652
- "name": "state",
3629
+ "name": "buttonAppearance",
3653
3630
  "type": {
3654
- "text": "AIIndicatorState"
3655
- },
3656
- "default": "'none'"
3631
+ "text": "string"
3632
+ }
3657
3633
  },
3658
3634
  {
3659
3635
  "kind": "field",
3660
- "name": "isInstalling",
3636
+ "name": "hideDisabled",
3661
3637
  "type": {
3662
3638
  "text": "boolean"
3663
3639
  },
@@ -3665,133 +3641,114 @@
3665
3641
  },
3666
3642
  {
3667
3643
  "kind": "field",
3668
- "name": "pollTimer",
3644
+ "name": "hideMenuSingleOption",
3669
3645
  "type": {
3670
- "text": "ReturnType<typeof setInterval> | null"
3646
+ "text": "boolean"
3671
3647
  },
3672
- "privacy": "private",
3673
- "default": "null"
3674
- },
3675
- {
3676
- "kind": "field",
3677
- "name": "clickOutside",
3678
- "privacy": "private"
3648
+ "default": "false"
3679
3649
  },
3680
3650
  {
3681
3651
  "kind": "field",
3682
- "name": "chromeStatusLabel",
3652
+ "name": "singleOption",
3683
3653
  "type": {
3684
- "text": "string | null"
3685
- },
3686
- "readonly": true
3654
+ "text": "ActionMenuItem"
3655
+ }
3687
3656
  },
3688
3657
  {
3689
3658
  "kind": "field",
3690
- "name": "canInstall",
3659
+ "name": "actionsMenu",
3691
3660
  "type": {
3692
- "text": "boolean"
3693
- },
3694
- "readonly": true
3661
+ "text": "HTMLElement"
3662
+ }
3695
3663
  },
3696
3664
  {
3697
3665
  "kind": "field",
3698
- "name": "isDownloading",
3666
+ "name": "actionsOpener",
3699
3667
  "type": {
3700
- "text": "boolean"
3701
- },
3702
- "readonly": true
3668
+ "text": "HTMLElement"
3669
+ }
3703
3670
  },
3704
3671
  {
3705
3672
  "kind": "method",
3706
- "name": "openChanged",
3707
- "return": {
3708
- "type": {
3709
- "text": "void"
3710
- }
3711
- }
3673
+ "name": "updateMenuPosition",
3674
+ "privacy": "private"
3712
3675
  },
3713
3676
  {
3714
3677
  "kind": "method",
3715
- "name": "handleClickOutside",
3716
- "privacy": "private",
3678
+ "name": "definitionChanged",
3679
+ "privacy": "protected",
3717
3680
  "parameters": [
3718
3681
  {
3719
- "name": "event",
3682
+ "name": "oldValue",
3720
3683
  "type": {
3721
- "text": "MouseEvent"
3684
+ "text": "any"
3685
+ }
3686
+ },
3687
+ {
3688
+ "name": "newValue",
3689
+ "type": {
3690
+ "text": "any"
3722
3691
  }
3723
3692
  }
3724
3693
  ]
3725
3694
  },
3726
3695
  {
3727
3696
  "kind": "method",
3728
- "name": "toggleDropdown"
3697
+ "name": "openChanged",
3698
+ "privacy": "protected"
3729
3699
  },
3730
3700
  {
3731
3701
  "kind": "method",
3732
- "name": "refreshStatus",
3733
- "return": {
3734
- "type": {
3735
- "text": "Promise<void>"
3736
- }
3737
- }
3702
+ "name": "toggleActionsMenuVisibility"
3738
3703
  },
3739
3704
  {
3740
3705
  "kind": "method",
3741
- "name": "deriveState",
3742
- "privacy": "private",
3743
- "return": {
3744
- "type": {
3745
- "text": "AIIndicatorState"
3746
- }
3747
- },
3706
+ "name": "onActionMenuItemClick",
3748
3707
  "parameters": [
3749
3708
  {
3750
- "name": "s",
3709
+ "name": "callback",
3751
3710
  "type": {
3752
- "text": "AIStatus | null"
3711
+ "text": "(rowData) => void | any"
3753
3712
  }
3754
3713
  }
3755
3714
  ]
3756
3715
  },
3757
3716
  {
3758
- "kind": "method",
3759
- "name": "maybeStartPolling",
3760
- "privacy": "private",
3761
- "return": {
3762
- "type": {
3763
- "text": "void"
3764
- }
3765
- }
3717
+ "kind": "field",
3718
+ "name": "allActions",
3719
+ "type": {
3720
+ "text": "ActionMenuItem[]"
3721
+ },
3722
+ "readonly": true
3766
3723
  },
3767
3724
  {
3768
- "kind": "method",
3769
- "name": "startPolling",
3770
- "privacy": "private",
3771
- "return": {
3772
- "type": {
3773
- "text": "void"
3774
- }
3775
- }
3725
+ "kind": "field",
3726
+ "name": "rowData",
3727
+ "readonly": true
3776
3728
  },
3777
3729
  {
3778
3730
  "kind": "method",
3779
- "name": "stopPolling",
3780
- "privacy": "private",
3781
- "return": {
3782
- "type": {
3783
- "text": "void"
3731
+ "name": "getLabel",
3732
+ "parameters": [
3733
+ {
3734
+ "name": "name",
3735
+ "type": {
3736
+ "text": "string | ((rowData: any) => string)"
3737
+ }
3784
3738
  }
3785
- }
3739
+ ]
3786
3740
  },
3787
3741
  {
3788
3742
  "kind": "method",
3789
- "name": "onInstall",
3790
- "return": {
3791
- "type": {
3792
- "text": "Promise<void>"
3743
+ "name": "getTemplate",
3744
+ "parameters": [
3745
+ {
3746
+ "name": "prefix",
3747
+ "type": {
3748
+ "text": "string"
3749
+ }
3793
3750
  }
3794
- }
3751
+ ]
3795
3752
  },
3796
3753
  {
3797
3754
  "kind": "field",
@@ -3905,88 +3862,131 @@
3905
3862
  }
3906
3863
  }
3907
3864
  ],
3865
+ "attributes": [
3866
+ {
3867
+ "name": "is-vertical",
3868
+ "type": {
3869
+ "text": "boolean"
3870
+ },
3871
+ "default": "false",
3872
+ "fieldName": "isVertical"
3873
+ },
3874
+ {
3875
+ "name": "add-default-actions",
3876
+ "type": {
3877
+ "text": "boolean"
3878
+ },
3879
+ "default": "true",
3880
+ "fieldName": "addDefaultActions"
3881
+ },
3882
+ {
3883
+ "name": "auto-close-on-action",
3884
+ "type": {
3885
+ "text": "boolean"
3886
+ },
3887
+ "default": "true",
3888
+ "fieldName": "autoCloseOnAction"
3889
+ },
3890
+ {
3891
+ "name": "name",
3892
+ "type": {
3893
+ "text": "string"
3894
+ },
3895
+ "default": "'Actions'",
3896
+ "fieldName": "name"
3897
+ },
3898
+ {
3899
+ "name": "open",
3900
+ "type": {
3901
+ "text": "boolean"
3902
+ },
3903
+ "default": "false",
3904
+ "fieldName": "open"
3905
+ },
3906
+ {
3907
+ "name": "buttonAppearance",
3908
+ "type": {
3909
+ "text": "string"
3910
+ },
3911
+ "fieldName": "buttonAppearance"
3912
+ },
3913
+ {
3914
+ "name": "hide-disabled",
3915
+ "type": {
3916
+ "text": "boolean"
3917
+ },
3918
+ "default": "false",
3919
+ "fieldName": "hideDisabled"
3920
+ },
3921
+ {
3922
+ "name": "hide-menu-single-option",
3923
+ "type": {
3924
+ "text": "boolean"
3925
+ },
3926
+ "default": "false",
3927
+ "fieldName": "hideMenuSingleOption"
3928
+ }
3929
+ ],
3908
3930
  "superclass": {
3909
3931
  "name": "FoundationElement",
3910
3932
  "package": "@microsoft/fast-foundation"
3911
3933
  },
3912
- "tagName": "%%prefix%%-ai-indicator",
3934
+ "tagName": "%%prefix%%-actions-menu",
3913
3935
  "customElement": true
3914
3936
  },
3915
3937
  {
3916
3938
  "kind": "variable",
3917
- "name": "foundationAiIndicator"
3939
+ "name": "foundationActionsMenu",
3940
+ "description": "The Foundation Actions Menu",
3941
+ "privacy": "public"
3918
3942
  }
3919
3943
  ],
3920
3944
  "exports": [
3921
3945
  {
3922
3946
  "kind": "js",
3923
- "name": "AiIndicator",
3947
+ "name": "ActionsMenu",
3924
3948
  "declaration": {
3925
- "name": "AiIndicator",
3926
- "module": "src/ai-indicator/ai-indicator.ts"
3949
+ "name": "ActionsMenu",
3950
+ "module": "src/actions-menu/actions-menu.ts"
3927
3951
  }
3928
3952
  },
3929
3953
  {
3930
3954
  "kind": "js",
3931
- "name": "foundationAiIndicator",
3955
+ "name": "foundationActionsMenu",
3932
3956
  "declaration": {
3933
- "name": "foundationAiIndicator",
3934
- "module": "src/ai-indicator/ai-indicator.ts"
3957
+ "name": "foundationActionsMenu",
3958
+ "module": "src/actions-menu/actions-menu.ts"
3935
3959
  }
3936
3960
  }
3937
3961
  ]
3938
3962
  },
3939
3963
  {
3940
3964
  "kind": "javascript-module",
3941
- "path": "src/ai-indicator/index.ts",
3965
+ "path": "src/actions-menu/index.ts",
3942
3966
  "declarations": [],
3943
3967
  "exports": [
3944
3968
  {
3945
3969
  "kind": "js",
3946
- "name": "AiIndicator",
3947
- "declaration": {
3948
- "name": "AiIndicator",
3949
- "module": "./ai-indicator"
3950
- }
3951
- },
3952
- {
3953
- "kind": "js",
3954
- "name": "foundationAiIndicator",
3955
- "declaration": {
3956
- "name": "foundationAiIndicator",
3957
- "module": "./ai-indicator"
3958
- }
3959
- },
3960
- {
3961
- "kind": "js",
3962
- "name": "type",
3963
- "declaration": {
3964
- "name": "type",
3965
- "module": "./ai-indicator"
3966
- }
3967
- },
3968
- {
3969
- "kind": "js",
3970
- "name": "AIIndicatorState",
3970
+ "name": "*",
3971
3971
  "declaration": {
3972
- "name": "AIIndicatorState",
3973
- "module": "./ai-indicator"
3972
+ "name": "*",
3973
+ "package": "./actions-menu.styles"
3974
3974
  }
3975
3975
  },
3976
3976
  {
3977
3977
  "kind": "js",
3978
- "name": "foundationAiIndicatorTemplate",
3978
+ "name": "*",
3979
3979
  "declaration": {
3980
- "name": "foundationAiIndicatorTemplate",
3981
- "module": "./ai-indicator.template"
3980
+ "name": "*",
3981
+ "package": "./actions-menu.template"
3982
3982
  }
3983
3983
  },
3984
3984
  {
3985
3985
  "kind": "js",
3986
- "name": "foundationAiIndicatorStyles",
3986
+ "name": "*",
3987
3987
  "declaration": {
3988
- "name": "foundationAiIndicatorStyles",
3989
- "module": "./ai-indicator.styles"
3988
+ "name": "*",
3989
+ "package": "./actions-menu"
3990
3990
  }
3991
3991
  }
3992
3992
  ]