@genesislcap/foundation-ui 15.46.2-FUI-2625.2 → 15.46.2-FUI-2625.3

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,34 +1920,11 @@
1920
1920
  },
1921
1921
  {
1922
1922
  "kind": "javascript-module",
1923
- "path": "src/actions-menu/actions-menu.styles.ts",
1923
+ "path": "src/accordion/accordion.styles.ts",
1924
1924
  "declarations": [
1925
1925
  {
1926
1926
  "kind": "function",
1927
- "name": "actionsMenuBaseStyles",
1928
- "return": {
1929
- "type": {
1930
- "text": "ElementStyles"
1931
- }
1932
- },
1933
- "parameters": [
1934
- {
1935
- "name": "context",
1936
- "type": {
1937
- "text": "ElementDefinitionContext"
1938
- }
1939
- },
1940
- {
1941
- "name": "definition",
1942
- "type": {
1943
- "text": "FoundationElementDefinition"
1944
- }
1945
- }
1946
- ]
1947
- },
1948
- {
1949
- "kind": "function",
1950
- "name": "foundationActionsMenuStyles",
1927
+ "name": "foundationAccordionStyles",
1951
1928
  "return": {
1952
1929
  "type": {
1953
1930
  "text": "ElementStyles"
@@ -1972,281 +1949,277 @@
1972
1949
  "exports": [
1973
1950
  {
1974
1951
  "kind": "js",
1975
- "name": "actionsMenuBaseStyles",
1976
- "declaration": {
1977
- "name": "actionsMenuBaseStyles",
1978
- "module": "src/actions-menu/actions-menu.styles.ts"
1979
- }
1980
- },
1981
- {
1982
- "kind": "js",
1983
- "name": "foundationActionsMenuStyles",
1952
+ "name": "foundationAccordionStyles",
1984
1953
  "declaration": {
1985
- "name": "foundationActionsMenuStyles",
1986
- "module": "src/actions-menu/actions-menu.styles.ts"
1954
+ "name": "foundationAccordionStyles",
1955
+ "module": "src/accordion/accordion.styles.ts"
1987
1956
  }
1988
1957
  }
1989
1958
  ]
1990
1959
  },
1991
1960
  {
1992
1961
  "kind": "javascript-module",
1993
- "path": "src/actions-menu/actions-menu.template.ts",
1962
+ "path": "src/accordion/accordion.template.ts",
1994
1963
  "declarations": [
1995
1964
  {
1996
1965
  "kind": "function",
1997
- "name": "menuTemplate",
1966
+ "name": "foundationAccordionTemplate",
1967
+ "return": {
1968
+ "type": {
1969
+ "text": "ViewTemplate<Accordion>"
1970
+ }
1971
+ },
1998
1972
  "parameters": [
1999
1973
  {
2000
- "name": "prefix",
1974
+ "name": "context",
2001
1975
  "type": {
2002
- "text": "string"
1976
+ "text": "ElementDefinitionContext"
2003
1977
  }
2004
- }
2005
- ]
2006
- },
2007
- {
2008
- "kind": "function",
2009
- "name": "singleOptionTemplate",
2010
- "parameters": [
1978
+ },
2011
1979
  {
2012
- "name": "prefix",
1980
+ "name": "definition",
2013
1981
  "type": {
2014
- "text": "string"
1982
+ "text": "FoundationElementDefinition"
2015
1983
  }
2016
1984
  }
2017
1985
  ]
2018
- },
2019
- {
2020
- "kind": "variable",
2021
- "name": "foundationActionsMenuTemplate",
2022
- "type": {
2023
- "text": "ViewTemplate<ActionsMenu>"
2024
- },
2025
- "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`"
2026
1986
  }
2027
1987
  ],
2028
1988
  "exports": [
2029
1989
  {
2030
1990
  "kind": "js",
2031
- "name": "menuTemplate",
2032
- "declaration": {
2033
- "name": "menuTemplate",
2034
- "module": "src/actions-menu/actions-menu.template.ts"
2035
- }
2036
- },
2037
- {
2038
- "kind": "js",
2039
- "name": "singleOptionTemplate",
2040
- "declaration": {
2041
- "name": "singleOptionTemplate",
2042
- "module": "src/actions-menu/actions-menu.template.ts"
2043
- }
2044
- },
2045
- {
2046
- "kind": "js",
2047
- "name": "foundationActionsMenuTemplate",
1991
+ "name": "foundationAccordionTemplate",
2048
1992
  "declaration": {
2049
- "name": "foundationActionsMenuTemplate",
2050
- "module": "src/actions-menu/actions-menu.template.ts"
1993
+ "name": "foundationAccordionTemplate",
1994
+ "module": "src/accordion/accordion.template.ts"
2051
1995
  }
2052
1996
  }
2053
1997
  ]
2054
1998
  },
2055
1999
  {
2056
2000
  "kind": "javascript-module",
2057
- "path": "src/actions-menu/actions-menu.ts",
2001
+ "path": "src/accordion/accordion.ts",
2058
2002
  "declarations": [
2059
2003
  {
2060
2004
  "kind": "class",
2061
2005
  "description": "",
2062
- "name": "ActionsMenu",
2063
- "members": [
2006
+ "name": "Accordion",
2007
+ "superclass": {
2008
+ "name": "FASTAccordion",
2009
+ "package": "@microsoft/fast-foundation"
2010
+ },
2011
+ "tagName": "%%prefix%%-accordion",
2012
+ "customElement": true,
2013
+ "attributes": [
2064
2014
  {
2065
- "kind": "field",
2066
- "name": "actions",
2015
+ "name": "expand-mode",
2067
2016
  "type": {
2068
- "text": "ActionMenuItem[]"
2017
+ "text": "AccordionExpandMode"
2018
+ },
2019
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
+ "fieldName": "expandmode",
2021
+ "inheritedFrom": {
2022
+ "name": "Accordion",
2023
+ "module": "src/accordion/accordion.ts"
2069
2024
  }
2070
- },
2025
+ }
2026
+ ],
2027
+ "members": [
2071
2028
  {
2072
2029
  "kind": "field",
2073
- "name": "isVertical",
2030
+ "name": "expandmode",
2074
2031
  "type": {
2075
- "text": "boolean"
2032
+ "text": "AccordionExpandMode"
2076
2033
  },
2077
- "default": "false"
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
+ }
2078
2040
  },
2079
2041
  {
2080
2042
  "kind": "field",
2081
- "name": "addDefaultActions",
2043
+ "name": "activeid",
2082
2044
  "type": {
2083
- "text": "boolean"
2045
+ "text": "string | null"
2084
2046
  },
2085
- "default": "true"
2047
+ "privacy": "private",
2048
+ "inheritedFrom": {
2049
+ "name": "Accordion",
2050
+ "module": "src/accordion/accordion.ts"
2051
+ }
2086
2052
  },
2087
2053
  {
2088
2054
  "kind": "field",
2089
- "name": "autoCloseOnAction",
2055
+ "name": "activeItemIndex",
2090
2056
  "type": {
2091
- "text": "boolean"
2057
+ "text": "number"
2092
2058
  },
2093
- "default": "true"
2094
- },
2095
- {
2096
- "kind": "field",
2097
- "name": "classNames",
2098
- "type": {
2099
- "text": "string"
2059
+ "privacy": "private",
2060
+ "default": "0",
2061
+ "inheritedFrom": {
2062
+ "name": "Accordion",
2063
+ "module": "src/accordion/accordion.ts"
2100
2064
  }
2101
2065
  },
2102
2066
  {
2103
2067
  "kind": "field",
2104
- "name": "definition",
2068
+ "name": "accordionIds",
2105
2069
  "type": {
2106
- "text": "any"
2070
+ "text": "Array<string | null>"
2071
+ },
2072
+ "privacy": "private",
2073
+ "inheritedFrom": {
2074
+ "name": "Accordion",
2075
+ "module": "src/accordion/accordion.ts"
2107
2076
  }
2108
2077
  },
2109
2078
  {
2110
2079
  "kind": "field",
2111
- "name": "name",
2112
- "type": {
2113
- "text": "string"
2114
- },
2115
- "default": "'Actions'"
2080
+ "name": "change",
2081
+ "privacy": "private",
2082
+ "inheritedFrom": {
2083
+ "name": "Accordion",
2084
+ "module": "src/accordion/accordion.ts"
2085
+ }
2116
2086
  },
2117
2087
  {
2118
- "kind": "field",
2119
- "name": "open",
2120
- "type": {
2121
- "text": "boolean"
2088
+ "kind": "method",
2089
+ "name": "findExpandedItem",
2090
+ "privacy": "private",
2091
+ "return": {
2092
+ "type": {
2093
+ "text": "AccordionItem | null"
2094
+ }
2122
2095
  },
2123
- "default": "false"
2124
- },
2125
- {
2126
- "kind": "field",
2127
- "name": "buttonAppearance",
2128
- "type": {
2129
- "text": "string"
2096
+ "inheritedFrom": {
2097
+ "name": "Accordion",
2098
+ "module": "src/accordion/accordion.ts"
2130
2099
  }
2131
2100
  },
2132
2101
  {
2133
2102
  "kind": "field",
2134
- "name": "hideDisabled",
2135
- "type": {
2136
- "text": "boolean"
2137
- },
2138
- "default": "false"
2103
+ "name": "setItems",
2104
+ "privacy": "private",
2105
+ "inheritedFrom": {
2106
+ "name": "Accordion",
2107
+ "module": "src/accordion/accordion.ts"
2108
+ }
2139
2109
  },
2140
2110
  {
2141
- "kind": "field",
2142
- "name": "hideMenuSingleOption",
2143
- "type": {
2144
- "text": "boolean"
2111
+ "kind": "method",
2112
+ "name": "resetItems",
2113
+ "privacy": "private",
2114
+ "return": {
2115
+ "type": {
2116
+ "text": "void"
2117
+ }
2145
2118
  },
2146
- "default": "false"
2147
- },
2148
- {
2149
- "kind": "field",
2150
- "name": "singleOption",
2151
- "type": {
2152
- "text": "ActionMenuItem"
2119
+ "inheritedFrom": {
2120
+ "name": "Accordion",
2121
+ "module": "src/accordion/accordion.ts"
2153
2122
  }
2154
2123
  },
2155
2124
  {
2156
2125
  "kind": "field",
2157
- "name": "actionsMenu",
2158
- "type": {
2159
- "text": "HTMLElement"
2126
+ "name": "removeItemListeners",
2127
+ "privacy": "private",
2128
+ "inheritedFrom": {
2129
+ "name": "Accordion",
2130
+ "module": "src/accordion/accordion.ts"
2160
2131
  }
2161
2132
  },
2162
2133
  {
2163
2134
  "kind": "field",
2164
- "name": "actionsOpener",
2165
- "type": {
2166
- "text": "HTMLElement"
2135
+ "name": "activeItemChange",
2136
+ "privacy": "private",
2137
+ "inheritedFrom": {
2138
+ "name": "Accordion",
2139
+ "module": "src/accordion/accordion.ts"
2167
2140
  }
2168
2141
  },
2169
2142
  {
2170
2143
  "kind": "method",
2171
- "name": "updateMenuPosition",
2172
- "privacy": "private"
2173
- },
2174
- {
2175
- "kind": "method",
2176
- "name": "definitionChanged",
2177
- "privacy": "protected",
2178
- "parameters": [
2179
- {
2180
- "name": "oldValue",
2181
- "type": {
2182
- "text": "any"
2183
- }
2184
- },
2185
- {
2186
- "name": "newValue",
2187
- "type": {
2188
- "text": "any"
2189
- }
2144
+ "name": "getItemIds",
2145
+ "privacy": "private",
2146
+ "return": {
2147
+ "type": {
2148
+ "text": "Array<string | null>"
2190
2149
  }
2191
- ]
2192
- },
2193
- {
2194
- "kind": "method",
2195
- "name": "openChanged",
2196
- "privacy": "protected"
2197
- },
2198
- {
2199
- "kind": "method",
2200
- "name": "toggleActionsMenuVisibility"
2150
+ },
2151
+ "inheritedFrom": {
2152
+ "name": "Accordion",
2153
+ "module": "src/accordion/accordion.ts"
2154
+ }
2201
2155
  },
2202
2156
  {
2203
2157
  "kind": "method",
2204
- "name": "onActionMenuItemClick",
2205
- "parameters": [
2206
- {
2207
- "name": "callback",
2208
- "type": {
2209
- "text": "(rowData) => void | any"
2210
- }
2158
+ "name": "isSingleExpandMode",
2159
+ "privacy": "private",
2160
+ "return": {
2161
+ "type": {
2162
+ "text": "boolean"
2211
2163
  }
2212
- ]
2164
+ },
2165
+ "inheritedFrom": {
2166
+ "name": "Accordion",
2167
+ "module": "src/accordion/accordion.ts"
2168
+ }
2213
2169
  },
2214
2170
  {
2215
2171
  "kind": "field",
2216
- "name": "allActions",
2217
- "type": {
2218
- "text": "ActionMenuItem[]"
2219
- },
2220
- "readonly": true
2172
+ "name": "handleItemKeyDown",
2173
+ "privacy": "private",
2174
+ "inheritedFrom": {
2175
+ "name": "Accordion",
2176
+ "module": "src/accordion/accordion.ts"
2177
+ }
2221
2178
  },
2222
2179
  {
2223
2180
  "kind": "field",
2224
- "name": "rowData",
2225
- "readonly": true
2181
+ "name": "handleItemFocus",
2182
+ "privacy": "private",
2183
+ "inheritedFrom": {
2184
+ "name": "Accordion",
2185
+ "module": "src/accordion/accordion.ts"
2186
+ }
2226
2187
  },
2227
2188
  {
2228
2189
  "kind": "method",
2229
- "name": "getLabel",
2190
+ "name": "adjust",
2191
+ "privacy": "private",
2192
+ "return": {
2193
+ "type": {
2194
+ "text": "void"
2195
+ }
2196
+ },
2230
2197
  "parameters": [
2231
2198
  {
2232
- "name": "name",
2199
+ "name": "adjustment",
2233
2200
  "type": {
2234
- "text": "string | ((rowData: any) => string)"
2201
+ "text": "number"
2235
2202
  }
2236
2203
  }
2237
- ]
2204
+ ],
2205
+ "inheritedFrom": {
2206
+ "name": "Accordion",
2207
+ "module": "src/accordion/accordion.ts"
2208
+ }
2238
2209
  },
2239
2210
  {
2240
2211
  "kind": "method",
2241
- "name": "getTemplate",
2242
- "parameters": [
2243
- {
2244
- "name": "prefix",
2245
- "type": {
2246
- "text": "string"
2247
- }
2212
+ "name": "focusItem",
2213
+ "privacy": "private",
2214
+ "return": {
2215
+ "type": {
2216
+ "text": "void"
2248
2217
  }
2249
- ]
2218
+ },
2219
+ "inheritedFrom": {
2220
+ "name": "Accordion",
2221
+ "module": "src/accordion/accordion.ts"
2222
+ }
2250
2223
  },
2251
2224
  {
2252
2225
  "kind": "field",
@@ -2360,107 +2333,78 @@
2360
2333
  }
2361
2334
  }
2362
2335
  ],
2363
- "attributes": [
2364
- {
2365
- "name": "is-vertical",
2366
- "type": {
2367
- "text": "boolean"
2368
- },
2369
- "default": "false",
2370
- "fieldName": "isVertical"
2371
- },
2372
- {
2373
- "name": "add-default-actions",
2374
- "type": {
2375
- "text": "boolean"
2376
- },
2377
- "default": "true",
2378
- "fieldName": "addDefaultActions"
2379
- },
2380
- {
2381
- "name": "auto-close-on-action",
2382
- "type": {
2383
- "text": "boolean"
2384
- },
2385
- "default": "true",
2386
- "fieldName": "autoCloseOnAction"
2387
- },
2388
- {
2389
- "name": "name",
2390
- "type": {
2391
- "text": "string"
2392
- },
2393
- "default": "'Actions'",
2394
- "fieldName": "name"
2395
- },
2396
- {
2397
- "name": "open",
2398
- "type": {
2399
- "text": "boolean"
2400
- },
2401
- "default": "false",
2402
- "fieldName": "open"
2403
- },
2404
- {
2405
- "name": "buttonAppearance",
2406
- "type": {
2407
- "text": "string"
2408
- },
2409
- "fieldName": "buttonAppearance"
2410
- },
2411
- {
2412
- "name": "hide-disabled",
2413
- "type": {
2414
- "text": "boolean"
2415
- },
2416
- "default": "false",
2417
- "fieldName": "hideDisabled"
2418
- },
2336
+ "events": [
2419
2337
  {
2420
- "name": "hide-menu-single-option",
2421
- "type": {
2422
- "text": "boolean"
2423
- },
2424
- "default": "false",
2425
- "fieldName": "hideMenuSingleOption"
2338
+ "description": "Fires a custom 'change' event when the active item changes",
2339
+ "name": "change",
2340
+ "inheritedFrom": {
2341
+ "name": "Accordion",
2342
+ "module": "src/accordion/accordion.ts"
2343
+ }
2426
2344
  }
2427
- ],
2428
- "superclass": {
2429
- "name": "FoundationElement",
2430
- "package": "@microsoft/fast-foundation"
2345
+ ]
2346
+ },
2347
+ {
2348
+ "kind": "variable",
2349
+ "name": "foundationAccordionShadowOptions",
2350
+ "type": {
2351
+ "text": "ShadowRootInit"
2431
2352
  },
2432
- "tagName": "%%prefix%%-actions-menu",
2433
- "customElement": true
2353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2434
2354
  },
2435
2355
  {
2436
2356
  "kind": "variable",
2437
- "name": "foundationActionsMenu",
2438
- "description": "The Foundation Actions Menu",
2357
+ "name": "defaultAccordionConfig",
2358
+ "type": {
2359
+ "text": "object"
2360
+ },
2361
+ "default": "{}"
2362
+ },
2363
+ {
2364
+ "kind": "variable",
2365
+ "name": "foundationAccordion",
2366
+ "description": "The Foundation Accordion",
2439
2367
  "privacy": "public"
2440
2368
  }
2441
2369
  ],
2442
2370
  "exports": [
2443
2371
  {
2444
2372
  "kind": "js",
2445
- "name": "ActionsMenu",
2373
+ "name": "Accordion",
2446
2374
  "declaration": {
2447
- "name": "ActionsMenu",
2448
- "module": "src/actions-menu/actions-menu.ts"
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"
2449
2393
  }
2450
2394
  },
2451
2395
  {
2452
2396
  "kind": "js",
2453
- "name": "foundationActionsMenu",
2397
+ "name": "foundationAccordion",
2454
2398
  "declaration": {
2455
- "name": "foundationActionsMenu",
2456
- "module": "src/actions-menu/actions-menu.ts"
2399
+ "name": "foundationAccordion",
2400
+ "module": "src/accordion/accordion.ts"
2457
2401
  }
2458
2402
  }
2459
2403
  ]
2460
2404
  },
2461
2405
  {
2462
2406
  "kind": "javascript-module",
2463
- "path": "src/actions-menu/index.ts",
2407
+ "path": "src/accordion/index.ts",
2464
2408
  "declarations": [],
2465
2409
  "exports": [
2466
2410
  {
@@ -2468,7 +2412,7 @@
2468
2412
  "name": "*",
2469
2413
  "declaration": {
2470
2414
  "name": "*",
2471
- "package": "./actions-menu.styles"
2415
+ "package": "./accordion.template"
2472
2416
  }
2473
2417
  },
2474
2418
  {
@@ -2476,7 +2420,7 @@
2476
2420
  "name": "*",
2477
2421
  "declaration": {
2478
2422
  "name": "*",
2479
- "package": "./actions-menu.template"
2423
+ "package": "./accordion.styles"
2480
2424
  }
2481
2425
  },
2482
2426
  {
@@ -2484,18 +2428,41 @@
2484
2428
  "name": "*",
2485
2429
  "declaration": {
2486
2430
  "name": "*",
2487
- "package": "./actions-menu"
2431
+ "package": "./accordion"
2488
2432
  }
2489
2433
  }
2490
2434
  ]
2491
2435
  },
2492
2436
  {
2493
2437
  "kind": "javascript-module",
2494
- "path": "src/accordion/accordion.styles.ts",
2438
+ "path": "src/actions-menu/actions-menu.styles.ts",
2495
2439
  "declarations": [
2496
2440
  {
2497
2441
  "kind": "function",
2498
- "name": "foundationAccordionStyles",
2442
+ "name": "actionsMenuBaseStyles",
2443
+ "return": {
2444
+ "type": {
2445
+ "text": "ElementStyles"
2446
+ }
2447
+ },
2448
+ "parameters": [
2449
+ {
2450
+ "name": "context",
2451
+ "type": {
2452
+ "text": "ElementDefinitionContext"
2453
+ }
2454
+ },
2455
+ {
2456
+ "name": "definition",
2457
+ "type": {
2458
+ "text": "FoundationElementDefinition"
2459
+ }
2460
+ }
2461
+ ]
2462
+ },
2463
+ {
2464
+ "kind": "function",
2465
+ "name": "foundationActionsMenuStyles",
2499
2466
  "return": {
2500
2467
  "type": {
2501
2468
  "text": "ElementStyles"
@@ -2520,277 +2487,281 @@
2520
2487
  "exports": [
2521
2488
  {
2522
2489
  "kind": "js",
2523
- "name": "foundationAccordionStyles",
2490
+ "name": "actionsMenuBaseStyles",
2524
2491
  "declaration": {
2525
- "name": "foundationAccordionStyles",
2526
- "module": "src/accordion/accordion.styles.ts"
2492
+ "name": "actionsMenuBaseStyles",
2493
+ "module": "src/actions-menu/actions-menu.styles.ts"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "js",
2498
+ "name": "foundationActionsMenuStyles",
2499
+ "declaration": {
2500
+ "name": "foundationActionsMenuStyles",
2501
+ "module": "src/actions-menu/actions-menu.styles.ts"
2527
2502
  }
2528
2503
  }
2529
2504
  ]
2530
2505
  },
2531
2506
  {
2532
2507
  "kind": "javascript-module",
2533
- "path": "src/accordion/accordion.template.ts",
2508
+ "path": "src/actions-menu/actions-menu.template.ts",
2534
2509
  "declarations": [
2535
2510
  {
2536
2511
  "kind": "function",
2537
- "name": "foundationAccordionTemplate",
2538
- "return": {
2539
- "type": {
2540
- "text": "ViewTemplate<Accordion>"
2541
- }
2542
- },
2512
+ "name": "menuTemplate",
2543
2513
  "parameters": [
2544
2514
  {
2545
- "name": "context",
2515
+ "name": "prefix",
2546
2516
  "type": {
2547
- "text": "ElementDefinitionContext"
2517
+ "text": "string"
2548
2518
  }
2549
- },
2519
+ }
2520
+ ]
2521
+ },
2522
+ {
2523
+ "kind": "function",
2524
+ "name": "singleOptionTemplate",
2525
+ "parameters": [
2550
2526
  {
2551
- "name": "definition",
2527
+ "name": "prefix",
2552
2528
  "type": {
2553
- "text": "FoundationElementDefinition"
2529
+ "text": "string"
2554
2530
  }
2555
2531
  }
2556
2532
  ]
2533
+ },
2534
+ {
2535
+ "kind": "variable",
2536
+ "name": "foundationActionsMenuTemplate",
2537
+ "type": {
2538
+ "text": "ViewTemplate<ActionsMenu>"
2539
+ },
2540
+ "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`"
2557
2541
  }
2558
2542
  ],
2559
2543
  "exports": [
2560
2544
  {
2561
2545
  "kind": "js",
2562
- "name": "foundationAccordionTemplate",
2546
+ "name": "menuTemplate",
2563
2547
  "declaration": {
2564
- "name": "foundationAccordionTemplate",
2565
- "module": "src/accordion/accordion.template.ts"
2548
+ "name": "menuTemplate",
2549
+ "module": "src/actions-menu/actions-menu.template.ts"
2550
+ }
2551
+ },
2552
+ {
2553
+ "kind": "js",
2554
+ "name": "singleOptionTemplate",
2555
+ "declaration": {
2556
+ "name": "singleOptionTemplate",
2557
+ "module": "src/actions-menu/actions-menu.template.ts"
2558
+ }
2559
+ },
2560
+ {
2561
+ "kind": "js",
2562
+ "name": "foundationActionsMenuTemplate",
2563
+ "declaration": {
2564
+ "name": "foundationActionsMenuTemplate",
2565
+ "module": "src/actions-menu/actions-menu.template.ts"
2566
2566
  }
2567
2567
  }
2568
2568
  ]
2569
2569
  },
2570
2570
  {
2571
2571
  "kind": "javascript-module",
2572
- "path": "src/accordion/accordion.ts",
2572
+ "path": "src/actions-menu/actions-menu.ts",
2573
2573
  "declarations": [
2574
2574
  {
2575
2575
  "kind": "class",
2576
2576
  "description": "",
2577
- "name": "Accordion",
2578
- "superclass": {
2579
- "name": "FASTAccordion",
2580
- "package": "@microsoft/fast-foundation"
2581
- },
2582
- "tagName": "%%prefix%%-accordion",
2583
- "customElement": true,
2584
- "attributes": [
2577
+ "name": "ActionsMenu",
2578
+ "members": [
2585
2579
  {
2586
- "name": "expand-mode",
2580
+ "kind": "field",
2581
+ "name": "actions",
2587
2582
  "type": {
2588
- "text": "AccordionExpandMode"
2589
- },
2590
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2591
- "fieldName": "expandmode",
2592
- "inheritedFrom": {
2593
- "name": "Accordion",
2594
- "module": "src/accordion/accordion.ts"
2583
+ "text": "ActionMenuItem[]"
2595
2584
  }
2596
- }
2597
- ],
2598
- "members": [
2585
+ },
2599
2586
  {
2600
2587
  "kind": "field",
2601
- "name": "expandmode",
2588
+ "name": "isVertical",
2602
2589
  "type": {
2603
- "text": "AccordionExpandMode"
2590
+ "text": "boolean"
2604
2591
  },
2605
- "privacy": "public",
2606
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2607
- "inheritedFrom": {
2608
- "name": "Accordion",
2609
- "module": "src/accordion/accordion.ts"
2610
- }
2592
+ "default": "false"
2611
2593
  },
2612
2594
  {
2613
2595
  "kind": "field",
2614
- "name": "activeid",
2596
+ "name": "addDefaultActions",
2615
2597
  "type": {
2616
- "text": "string | null"
2598
+ "text": "boolean"
2617
2599
  },
2618
- "privacy": "private",
2619
- "inheritedFrom": {
2620
- "name": "Accordion",
2621
- "module": "src/accordion/accordion.ts"
2622
- }
2600
+ "default": "true"
2623
2601
  },
2624
2602
  {
2625
2603
  "kind": "field",
2626
- "name": "activeItemIndex",
2604
+ "name": "autoCloseOnAction",
2627
2605
  "type": {
2628
- "text": "number"
2606
+ "text": "boolean"
2629
2607
  },
2630
- "privacy": "private",
2631
- "default": "0",
2632
- "inheritedFrom": {
2633
- "name": "Accordion",
2634
- "module": "src/accordion/accordion.ts"
2635
- }
2608
+ "default": "true"
2636
2609
  },
2637
2610
  {
2638
2611
  "kind": "field",
2639
- "name": "accordionIds",
2612
+ "name": "classNames",
2640
2613
  "type": {
2641
- "text": "Array<string | null>"
2642
- },
2643
- "privacy": "private",
2644
- "inheritedFrom": {
2645
- "name": "Accordion",
2646
- "module": "src/accordion/accordion.ts"
2614
+ "text": "string"
2647
2615
  }
2648
2616
  },
2649
2617
  {
2650
2618
  "kind": "field",
2651
- "name": "change",
2652
- "privacy": "private",
2653
- "inheritedFrom": {
2654
- "name": "Accordion",
2655
- "module": "src/accordion/accordion.ts"
2619
+ "name": "definition",
2620
+ "type": {
2621
+ "text": "any"
2656
2622
  }
2657
2623
  },
2658
2624
  {
2659
- "kind": "method",
2660
- "name": "findExpandedItem",
2661
- "privacy": "private",
2662
- "return": {
2663
- "type": {
2664
- "text": "AccordionItem | null"
2665
- }
2625
+ "kind": "field",
2626
+ "name": "name",
2627
+ "type": {
2628
+ "text": "string"
2666
2629
  },
2667
- "inheritedFrom": {
2668
- "name": "Accordion",
2669
- "module": "src/accordion/accordion.ts"
2670
- }
2630
+ "default": "'Actions'"
2671
2631
  },
2672
2632
  {
2673
2633
  "kind": "field",
2674
- "name": "setItems",
2675
- "privacy": "private",
2676
- "inheritedFrom": {
2677
- "name": "Accordion",
2678
- "module": "src/accordion/accordion.ts"
2634
+ "name": "open",
2635
+ "type": {
2636
+ "text": "boolean"
2637
+ },
2638
+ "default": "false"
2639
+ },
2640
+ {
2641
+ "kind": "field",
2642
+ "name": "buttonAppearance",
2643
+ "type": {
2644
+ "text": "string"
2679
2645
  }
2680
2646
  },
2681
2647
  {
2682
- "kind": "method",
2683
- "name": "resetItems",
2684
- "privacy": "private",
2685
- "return": {
2686
- "type": {
2687
- "text": "void"
2688
- }
2648
+ "kind": "field",
2649
+ "name": "hideDisabled",
2650
+ "type": {
2651
+ "text": "boolean"
2689
2652
  },
2690
- "inheritedFrom": {
2691
- "name": "Accordion",
2692
- "module": "src/accordion/accordion.ts"
2653
+ "default": "false"
2654
+ },
2655
+ {
2656
+ "kind": "field",
2657
+ "name": "hideMenuSingleOption",
2658
+ "type": {
2659
+ "text": "boolean"
2660
+ },
2661
+ "default": "false"
2662
+ },
2663
+ {
2664
+ "kind": "field",
2665
+ "name": "singleOption",
2666
+ "type": {
2667
+ "text": "ActionMenuItem"
2668
+ }
2669
+ },
2670
+ {
2671
+ "kind": "field",
2672
+ "name": "actionsMenu",
2673
+ "type": {
2674
+ "text": "HTMLElement"
2693
2675
  }
2694
2676
  },
2695
2677
  {
2696
2678
  "kind": "field",
2697
- "name": "removeItemListeners",
2698
- "privacy": "private",
2699
- "inheritedFrom": {
2700
- "name": "Accordion",
2701
- "module": "src/accordion/accordion.ts"
2679
+ "name": "actionsOpener",
2680
+ "type": {
2681
+ "text": "HTMLElement"
2702
2682
  }
2703
2683
  },
2704
2684
  {
2705
- "kind": "field",
2706
- "name": "activeItemChange",
2707
- "privacy": "private",
2708
- "inheritedFrom": {
2709
- "name": "Accordion",
2710
- "module": "src/accordion/accordion.ts"
2711
- }
2685
+ "kind": "method",
2686
+ "name": "updateMenuPosition",
2687
+ "privacy": "private"
2712
2688
  },
2713
2689
  {
2714
2690
  "kind": "method",
2715
- "name": "getItemIds",
2716
- "privacy": "private",
2717
- "return": {
2718
- "type": {
2719
- "text": "Array<string | null>"
2691
+ "name": "definitionChanged",
2692
+ "privacy": "protected",
2693
+ "parameters": [
2694
+ {
2695
+ "name": "oldValue",
2696
+ "type": {
2697
+ "text": "any"
2698
+ }
2699
+ },
2700
+ {
2701
+ "name": "newValue",
2702
+ "type": {
2703
+ "text": "any"
2704
+ }
2720
2705
  }
2721
- },
2722
- "inheritedFrom": {
2723
- "name": "Accordion",
2724
- "module": "src/accordion/accordion.ts"
2725
- }
2706
+ ]
2726
2707
  },
2727
2708
  {
2728
2709
  "kind": "method",
2729
- "name": "isSingleExpandMode",
2730
- "privacy": "private",
2731
- "return": {
2732
- "type": {
2733
- "text": "boolean"
2710
+ "name": "openChanged",
2711
+ "privacy": "protected"
2712
+ },
2713
+ {
2714
+ "kind": "method",
2715
+ "name": "toggleActionsMenuVisibility"
2716
+ },
2717
+ {
2718
+ "kind": "method",
2719
+ "name": "onActionMenuItemClick",
2720
+ "parameters": [
2721
+ {
2722
+ "name": "callback",
2723
+ "type": {
2724
+ "text": "(rowData) => void | any"
2725
+ }
2734
2726
  }
2735
- },
2736
- "inheritedFrom": {
2737
- "name": "Accordion",
2738
- "module": "src/accordion/accordion.ts"
2739
- }
2727
+ ]
2740
2728
  },
2741
2729
  {
2742
2730
  "kind": "field",
2743
- "name": "handleItemKeyDown",
2744
- "privacy": "private",
2745
- "inheritedFrom": {
2746
- "name": "Accordion",
2747
- "module": "src/accordion/accordion.ts"
2748
- }
2731
+ "name": "allActions",
2732
+ "type": {
2733
+ "text": "ActionMenuItem[]"
2734
+ },
2735
+ "readonly": true
2749
2736
  },
2750
2737
  {
2751
2738
  "kind": "field",
2752
- "name": "handleItemFocus",
2753
- "privacy": "private",
2754
- "inheritedFrom": {
2755
- "name": "Accordion",
2756
- "module": "src/accordion/accordion.ts"
2757
- }
2739
+ "name": "rowData",
2740
+ "readonly": true
2758
2741
  },
2759
2742
  {
2760
2743
  "kind": "method",
2761
- "name": "adjust",
2762
- "privacy": "private",
2763
- "return": {
2764
- "type": {
2765
- "text": "void"
2766
- }
2767
- },
2744
+ "name": "getLabel",
2768
2745
  "parameters": [
2769
2746
  {
2770
- "name": "adjustment",
2747
+ "name": "name",
2771
2748
  "type": {
2772
- "text": "number"
2749
+ "text": "string | ((rowData: any) => string)"
2773
2750
  }
2774
2751
  }
2775
- ],
2776
- "inheritedFrom": {
2777
- "name": "Accordion",
2778
- "module": "src/accordion/accordion.ts"
2779
- }
2752
+ ]
2780
2753
  },
2781
2754
  {
2782
2755
  "kind": "method",
2783
- "name": "focusItem",
2784
- "privacy": "private",
2785
- "return": {
2786
- "type": {
2787
- "text": "void"
2756
+ "name": "getTemplate",
2757
+ "parameters": [
2758
+ {
2759
+ "name": "prefix",
2760
+ "type": {
2761
+ "text": "string"
2762
+ }
2788
2763
  }
2789
- },
2790
- "inheritedFrom": {
2791
- "name": "Accordion",
2792
- "module": "src/accordion/accordion.ts"
2793
- }
2764
+ ]
2794
2765
  },
2795
2766
  {
2796
2767
  "kind": "field",
@@ -2904,78 +2875,107 @@
2904
2875
  }
2905
2876
  }
2906
2877
  ],
2907
- "events": [
2878
+ "attributes": [
2908
2879
  {
2909
- "description": "Fires a custom 'change' event when the active item changes",
2910
- "name": "change",
2911
- "inheritedFrom": {
2912
- "name": "Accordion",
2913
- "module": "src/accordion/accordion.ts"
2914
- }
2880
+ "name": "is-vertical",
2881
+ "type": {
2882
+ "text": "boolean"
2883
+ },
2884
+ "default": "false",
2885
+ "fieldName": "isVertical"
2886
+ },
2887
+ {
2888
+ "name": "add-default-actions",
2889
+ "type": {
2890
+ "text": "boolean"
2891
+ },
2892
+ "default": "true",
2893
+ "fieldName": "addDefaultActions"
2894
+ },
2895
+ {
2896
+ "name": "auto-close-on-action",
2897
+ "type": {
2898
+ "text": "boolean"
2899
+ },
2900
+ "default": "true",
2901
+ "fieldName": "autoCloseOnAction"
2902
+ },
2903
+ {
2904
+ "name": "name",
2905
+ "type": {
2906
+ "text": "string"
2907
+ },
2908
+ "default": "'Actions'",
2909
+ "fieldName": "name"
2910
+ },
2911
+ {
2912
+ "name": "open",
2913
+ "type": {
2914
+ "text": "boolean"
2915
+ },
2916
+ "default": "false",
2917
+ "fieldName": "open"
2918
+ },
2919
+ {
2920
+ "name": "buttonAppearance",
2921
+ "type": {
2922
+ "text": "string"
2923
+ },
2924
+ "fieldName": "buttonAppearance"
2925
+ },
2926
+ {
2927
+ "name": "hide-disabled",
2928
+ "type": {
2929
+ "text": "boolean"
2930
+ },
2931
+ "default": "false",
2932
+ "fieldName": "hideDisabled"
2933
+ },
2934
+ {
2935
+ "name": "hide-menu-single-option",
2936
+ "type": {
2937
+ "text": "boolean"
2938
+ },
2939
+ "default": "false",
2940
+ "fieldName": "hideMenuSingleOption"
2915
2941
  }
2916
- ]
2917
- },
2918
- {
2919
- "kind": "variable",
2920
- "name": "foundationAccordionShadowOptions",
2921
- "type": {
2922
- "text": "ShadowRootInit"
2923
- },
2924
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2925
- },
2926
- {
2927
- "kind": "variable",
2928
- "name": "defaultAccordionConfig",
2929
- "type": {
2930
- "text": "object"
2942
+ ],
2943
+ "superclass": {
2944
+ "name": "FoundationElement",
2945
+ "package": "@microsoft/fast-foundation"
2931
2946
  },
2932
- "default": "{}"
2947
+ "tagName": "%%prefix%%-actions-menu",
2948
+ "customElement": true
2933
2949
  },
2934
2950
  {
2935
2951
  "kind": "variable",
2936
- "name": "foundationAccordion",
2937
- "description": "The Foundation Accordion",
2952
+ "name": "foundationActionsMenu",
2953
+ "description": "The Foundation Actions Menu",
2938
2954
  "privacy": "public"
2939
2955
  }
2940
2956
  ],
2941
2957
  "exports": [
2942
2958
  {
2943
2959
  "kind": "js",
2944
- "name": "Accordion",
2945
- "declaration": {
2946
- "name": "Accordion",
2947
- "module": "src/accordion/accordion.ts"
2948
- }
2949
- },
2950
- {
2951
- "kind": "js",
2952
- "name": "foundationAccordionShadowOptions",
2953
- "declaration": {
2954
- "name": "foundationAccordionShadowOptions",
2955
- "module": "src/accordion/accordion.ts"
2956
- }
2957
- },
2958
- {
2959
- "kind": "js",
2960
- "name": "defaultAccordionConfig",
2960
+ "name": "ActionsMenu",
2961
2961
  "declaration": {
2962
- "name": "defaultAccordionConfig",
2963
- "module": "src/accordion/accordion.ts"
2962
+ "name": "ActionsMenu",
2963
+ "module": "src/actions-menu/actions-menu.ts"
2964
2964
  }
2965
2965
  },
2966
2966
  {
2967
2967
  "kind": "js",
2968
- "name": "foundationAccordion",
2968
+ "name": "foundationActionsMenu",
2969
2969
  "declaration": {
2970
- "name": "foundationAccordion",
2971
- "module": "src/accordion/accordion.ts"
2970
+ "name": "foundationActionsMenu",
2971
+ "module": "src/actions-menu/actions-menu.ts"
2972
2972
  }
2973
2973
  }
2974
2974
  ]
2975
2975
  },
2976
2976
  {
2977
2977
  "kind": "javascript-module",
2978
- "path": "src/accordion/index.ts",
2978
+ "path": "src/actions-menu/index.ts",
2979
2979
  "declarations": [],
2980
2980
  "exports": [
2981
2981
  {
@@ -2983,7 +2983,7 @@
2983
2983
  "name": "*",
2984
2984
  "declaration": {
2985
2985
  "name": "*",
2986
- "package": "./accordion.template"
2986
+ "package": "./actions-menu.styles"
2987
2987
  }
2988
2988
  },
2989
2989
  {
@@ -2991,7 +2991,7 @@
2991
2991
  "name": "*",
2992
2992
  "declaration": {
2993
2993
  "name": "*",
2994
- "package": "./accordion.styles"
2994
+ "package": "./actions-menu.template"
2995
2995
  }
2996
2996
  },
2997
2997
  {
@@ -2999,7 +2999,7 @@
2999
2999
  "name": "*",
3000
3000
  "declaration": {
3001
3001
  "name": "*",
3002
- "package": "./accordion"
3002
+ "package": "./actions-menu"
3003
3003
  }
3004
3004
  }
3005
3005
  ]