@genesislcap/foundation-ui 14.430.2-FUI-2528.6 → 14.430.2-FUI-2528.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.
@@ -1398,37 +1398,6 @@
1398
1398
  }
1399
1399
  ]
1400
1400
  },
1401
- {
1402
- "kind": "javascript-module",
1403
- "path": "src/_config/index.ts",
1404
- "declarations": [],
1405
- "exports": [
1406
- {
1407
- "kind": "js",
1408
- "name": "*",
1409
- "declaration": {
1410
- "name": "*",
1411
- "package": "./styles"
1412
- }
1413
- },
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./tokens"
1420
- }
1421
- },
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./values"
1428
- }
1429
- }
1430
- ]
1431
- },
1432
1401
  {
1433
1402
  "kind": "javascript-module",
1434
1403
  "path": "src/accordion/accordion.styles.ts",
@@ -1946,34 +1915,42 @@
1946
1915
  },
1947
1916
  {
1948
1917
  "kind": "javascript-module",
1949
- "path": "src/actions-menu/actions-menu.styles.ts",
1950
- "declarations": [
1918
+ "path": "src/_config/index.ts",
1919
+ "declarations": [],
1920
+ "exports": [
1951
1921
  {
1952
- "kind": "function",
1953
- "name": "actionsMenuBaseStyles",
1954
- "return": {
1955
- "type": {
1956
- "text": "ElementStyles"
1957
- }
1958
- },
1959
- "parameters": [
1960
- {
1961
- "name": "context",
1962
- "type": {
1963
- "text": "ElementDefinitionContext"
1964
- }
1965
- },
1966
- {
1967
- "name": "definition",
1968
- "type": {
1969
- "text": "FoundationElementDefinition"
1970
- }
1971
- }
1972
- ]
1922
+ "kind": "js",
1923
+ "name": "*",
1924
+ "declaration": {
1925
+ "name": "*",
1926
+ "package": "./styles"
1927
+ }
1928
+ },
1929
+ {
1930
+ "kind": "js",
1931
+ "name": "*",
1932
+ "declaration": {
1933
+ "name": "*",
1934
+ "package": "./tokens"
1935
+ }
1973
1936
  },
1937
+ {
1938
+ "kind": "js",
1939
+ "name": "*",
1940
+ "declaration": {
1941
+ "name": "*",
1942
+ "package": "./values"
1943
+ }
1944
+ }
1945
+ ]
1946
+ },
1947
+ {
1948
+ "kind": "javascript-module",
1949
+ "path": "src/accordion-item/accordion-item.styles.ts",
1950
+ "declarations": [
1974
1951
  {
1975
1952
  "kind": "function",
1976
- "name": "foundationActionsMenuStyles",
1953
+ "name": "foundationAccordionItemStyles",
1977
1954
  "return": {
1978
1955
  "type": {
1979
1956
  "text": "ElementStyles"
@@ -1998,286 +1975,173 @@
1998
1975
  "exports": [
1999
1976
  {
2000
1977
  "kind": "js",
2001
- "name": "actionsMenuBaseStyles",
2002
- "declaration": {
2003
- "name": "actionsMenuBaseStyles",
2004
- "module": "src/actions-menu/actions-menu.styles.ts"
2005
- }
2006
- },
2007
- {
2008
- "kind": "js",
2009
- "name": "foundationActionsMenuStyles",
1978
+ "name": "foundationAccordionItemStyles",
2010
1979
  "declaration": {
2011
- "name": "foundationActionsMenuStyles",
2012
- "module": "src/actions-menu/actions-menu.styles.ts"
1980
+ "name": "foundationAccordionItemStyles",
1981
+ "module": "src/accordion-item/accordion-item.styles.ts"
2013
1982
  }
2014
1983
  }
2015
1984
  ]
2016
1985
  },
2017
1986
  {
2018
1987
  "kind": "javascript-module",
2019
- "path": "src/actions-menu/actions-menu.template.ts",
1988
+ "path": "src/accordion-item/accordion-item.template.ts",
2020
1989
  "declarations": [
2021
1990
  {
2022
1991
  "kind": "function",
2023
- "name": "menuTemplate",
1992
+ "name": "foundationAccordionItemTemplate",
1993
+ "return": {
1994
+ "type": {
1995
+ "text": "ViewTemplate<AccordionItem>"
1996
+ }
1997
+ },
2024
1998
  "parameters": [
2025
1999
  {
2026
- "name": "prefix",
2000
+ "name": "context",
2027
2001
  "type": {
2028
- "text": "string"
2002
+ "text": "ElementDefinitionContext"
2029
2003
  }
2030
- }
2031
- ]
2032
- },
2033
- {
2034
- "kind": "function",
2035
- "name": "singleOptionTemplate",
2036
- "parameters": [
2004
+ },
2037
2005
  {
2038
- "name": "prefix",
2006
+ "name": "definition",
2039
2007
  "type": {
2040
- "text": "string"
2008
+ "text": "FoundationElementDefinition"
2041
2009
  }
2042
2010
  }
2043
2011
  ]
2044
- },
2045
- {
2046
- "kind": "variable",
2047
- "name": "foundationActionsMenuTemplate",
2048
- "type": {
2049
- "text": "ViewTemplate<ActionsMenu>"
2050
- },
2051
- "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`"
2052
2012
  }
2053
2013
  ],
2054
2014
  "exports": [
2055
2015
  {
2056
2016
  "kind": "js",
2057
- "name": "menuTemplate",
2058
- "declaration": {
2059
- "name": "menuTemplate",
2060
- "module": "src/actions-menu/actions-menu.template.ts"
2061
- }
2062
- },
2063
- {
2064
- "kind": "js",
2065
- "name": "singleOptionTemplate",
2066
- "declaration": {
2067
- "name": "singleOptionTemplate",
2068
- "module": "src/actions-menu/actions-menu.template.ts"
2069
- }
2070
- },
2071
- {
2072
- "kind": "js",
2073
- "name": "foundationActionsMenuTemplate",
2017
+ "name": "foundationAccordionItemTemplate",
2074
2018
  "declaration": {
2075
- "name": "foundationActionsMenuTemplate",
2076
- "module": "src/actions-menu/actions-menu.template.ts"
2019
+ "name": "foundationAccordionItemTemplate",
2020
+ "module": "src/accordion-item/accordion-item.template.ts"
2077
2021
  }
2078
2022
  }
2079
2023
  ]
2080
2024
  },
2081
2025
  {
2082
2026
  "kind": "javascript-module",
2083
- "path": "src/actions-menu/actions-menu.ts",
2027
+ "path": "src/accordion-item/accordion-item.ts",
2084
2028
  "declarations": [
2085
2029
  {
2086
2030
  "kind": "class",
2087
2031
  "description": "",
2088
- "name": "ActionsMenu",
2089
- "members": [
2032
+ "name": "AccordionItem",
2033
+ "superclass": {
2034
+ "name": "FASTAccordionItem",
2035
+ "package": "@microsoft/fast-components"
2036
+ },
2037
+ "tagName": "%%prefix%%-accordion-item",
2038
+ "customElement": true,
2039
+ "attributes": [
2090
2040
  {
2091
- "kind": "field",
2092
- "name": "actions",
2041
+ "name": "heading-level",
2093
2042
  "type": {
2094
- "text": "ActionMenuItem[]"
2043
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2044
+ },
2045
+ "default": "2",
2046
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2047
+ "fieldName": "headinglevel",
2048
+ "inheritedFrom": {
2049
+ "name": "AccordionItem",
2050
+ "module": "src/accordion-item/accordion-item.ts"
2095
2051
  }
2096
2052
  },
2097
2053
  {
2098
- "kind": "field",
2099
- "name": "isVertical",
2100
2054
  "type": {
2101
2055
  "text": "boolean"
2102
2056
  },
2103
- "default": "false"
2057
+ "default": "false",
2058
+ "description": "Expands or collapses the item.",
2059
+ "fieldName": "expanded",
2060
+ "inheritedFrom": {
2061
+ "name": "AccordionItem",
2062
+ "module": "src/accordion-item/accordion-item.ts"
2063
+ }
2104
2064
  },
2065
+ {
2066
+ "name": "id",
2067
+ "type": {
2068
+ "text": "string"
2069
+ },
2070
+ "description": "The item ID",
2071
+ "fieldName": "id",
2072
+ "inheritedFrom": {
2073
+ "name": "AccordionItem",
2074
+ "module": "src/accordion-item/accordion-item.ts"
2075
+ }
2076
+ }
2077
+ ],
2078
+ "members": [
2105
2079
  {
2106
2080
  "kind": "field",
2107
- "name": "addDefaultActions",
2081
+ "name": "headinglevel",
2108
2082
  "type": {
2109
- "text": "boolean"
2083
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2110
2084
  },
2111
- "default": "true"
2085
+ "privacy": "public",
2086
+ "default": "2",
2087
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2088
+ "inheritedFrom": {
2089
+ "name": "AccordionItem",
2090
+ "module": "src/accordion-item/accordion-item.ts"
2091
+ }
2112
2092
  },
2113
2093
  {
2114
2094
  "kind": "field",
2115
- "name": "autoCloseOnAction",
2095
+ "name": "expanded",
2116
2096
  "type": {
2117
2097
  "text": "boolean"
2118
2098
  },
2119
- "default": "true"
2099
+ "privacy": "public",
2100
+ "default": "false",
2101
+ "description": "Expands or collapses the item.",
2102
+ "inheritedFrom": {
2103
+ "name": "AccordionItem",
2104
+ "module": "src/accordion-item/accordion-item.ts"
2105
+ }
2120
2106
  },
2121
2107
  {
2122
2108
  "kind": "field",
2123
- "name": "classNames",
2109
+ "name": "id",
2124
2110
  "type": {
2125
2111
  "text": "string"
2112
+ },
2113
+ "privacy": "public",
2114
+ "description": "The item ID",
2115
+ "inheritedFrom": {
2116
+ "name": "AccordionItem",
2117
+ "module": "src/accordion-item/accordion-item.ts"
2126
2118
  }
2127
2119
  },
2128
2120
  {
2129
2121
  "kind": "field",
2130
- "name": "definition",
2131
- "type": {
2132
- "text": "any"
2122
+ "name": "change",
2123
+ "privacy": "private",
2124
+ "inheritedFrom": {
2125
+ "name": "AccordionItem",
2126
+ "module": "src/accordion-item/accordion-item.ts"
2133
2127
  }
2134
2128
  },
2135
2129
  {
2136
2130
  "kind": "field",
2137
- "name": "name",
2131
+ "name": "_presentation",
2138
2132
  "type": {
2139
- "text": "string"
2133
+ "text": "ComponentPresentation | null | undefined"
2140
2134
  },
2141
- "default": "'Actions'"
2135
+ "privacy": "private",
2136
+ "default": "void 0",
2137
+ "inheritedFrom": {
2138
+ "name": "FoundationElement",
2139
+ "module": "src/foundation-element/foundation-element.ts"
2140
+ }
2142
2141
  },
2143
2142
  {
2144
2143
  "kind": "field",
2145
- "name": "open",
2146
- "type": {
2147
- "text": "boolean"
2148
- },
2149
- "default": "false"
2150
- },
2151
- {
2152
- "kind": "field",
2153
- "name": "buttonAppearance",
2154
- "type": {
2155
- "text": "string"
2156
- }
2157
- },
2158
- {
2159
- "kind": "field",
2160
- "name": "hideDisabled",
2161
- "type": {
2162
- "text": "boolean"
2163
- },
2164
- "default": "false"
2165
- },
2166
- {
2167
- "kind": "field",
2168
- "name": "hideMenuSingleOption",
2169
- "type": {
2170
- "text": "boolean"
2171
- },
2172
- "default": "false"
2173
- },
2174
- {
2175
- "kind": "field",
2176
- "name": "singleOption",
2177
- "type": {
2178
- "text": "ActionMenuItem"
2179
- }
2180
- },
2181
- {
2182
- "kind": "field",
2183
- "name": "actionsMenu",
2184
- "type": {
2185
- "text": "HTMLElement"
2186
- }
2187
- },
2188
- {
2189
- "kind": "method",
2190
- "name": "definitionChanged",
2191
- "privacy": "protected",
2192
- "parameters": [
2193
- {
2194
- "name": "oldValue",
2195
- "type": {
2196
- "text": "any"
2197
- }
2198
- },
2199
- {
2200
- "name": "newValue",
2201
- "type": {
2202
- "text": "any"
2203
- }
2204
- }
2205
- ]
2206
- },
2207
- {
2208
- "kind": "method",
2209
- "name": "openChanged",
2210
- "privacy": "protected"
2211
- },
2212
- {
2213
- "kind": "method",
2214
- "name": "toggleActionsMenuVisibility"
2215
- },
2216
- {
2217
- "kind": "method",
2218
- "name": "onActionMenuItemClick",
2219
- "parameters": [
2220
- {
2221
- "name": "callback",
2222
- "type": {
2223
- "text": "(rowData) => void | any"
2224
- }
2225
- }
2226
- ]
2227
- },
2228
- {
2229
- "kind": "field",
2230
- "name": "allActions",
2231
- "type": {
2232
- "text": "ActionMenuItem[]"
2233
- },
2234
- "readonly": true
2235
- },
2236
- {
2237
- "kind": "field",
2238
- "name": "rowData",
2239
- "readonly": true
2240
- },
2241
- {
2242
- "kind": "method",
2243
- "name": "getLabel",
2244
- "parameters": [
2245
- {
2246
- "name": "name",
2247
- "type": {
2248
- "text": "string | ((rowData: any) => string)"
2249
- }
2250
- }
2251
- ]
2252
- },
2253
- {
2254
- "kind": "method",
2255
- "name": "getTemplate",
2256
- "parameters": [
2257
- {
2258
- "name": "prefix",
2259
- "type": {
2260
- "text": "string"
2261
- }
2262
- }
2263
- ]
2264
- },
2265
- {
2266
- "kind": "field",
2267
- "name": "_presentation",
2268
- "type": {
2269
- "text": "ComponentPresentation | null | undefined"
2270
- },
2271
- "privacy": "private",
2272
- "default": "void 0",
2273
- "inheritedFrom": {
2274
- "name": "FoundationElement",
2275
- "module": "src/foundation-element/foundation-element.ts"
2276
- }
2277
- },
2278
- {
2279
- "kind": "field",
2280
- "name": "$presentation",
2144
+ "name": "$presentation",
2281
2145
  "type": {
2282
2146
  "text": "ComponentPresentation | null"
2283
2147
  },
@@ -2374,107 +2238,78 @@
2374
2238
  }
2375
2239
  }
2376
2240
  ],
2377
- "attributes": [
2378
- {
2379
- "name": "is-vertical",
2380
- "type": {
2381
- "text": "boolean"
2382
- },
2383
- "default": "false",
2384
- "fieldName": "isVertical"
2385
- },
2386
- {
2387
- "name": "add-default-actions",
2388
- "type": {
2389
- "text": "boolean"
2390
- },
2391
- "default": "true",
2392
- "fieldName": "addDefaultActions"
2393
- },
2394
- {
2395
- "name": "auto-close-on-action",
2396
- "type": {
2397
- "text": "boolean"
2398
- },
2399
- "default": "true",
2400
- "fieldName": "autoCloseOnAction"
2401
- },
2402
- {
2403
- "name": "name",
2404
- "type": {
2405
- "text": "string"
2406
- },
2407
- "default": "'Actions'",
2408
- "fieldName": "name"
2409
- },
2410
- {
2411
- "name": "open",
2412
- "type": {
2413
- "text": "boolean"
2414
- },
2415
- "default": "false",
2416
- "fieldName": "open"
2417
- },
2418
- {
2419
- "name": "buttonAppearance",
2420
- "type": {
2421
- "text": "string"
2422
- },
2423
- "fieldName": "buttonAppearance"
2424
- },
2425
- {
2426
- "name": "hide-disabled",
2427
- "type": {
2428
- "text": "boolean"
2429
- },
2430
- "default": "false",
2431
- "fieldName": "hideDisabled"
2432
- },
2241
+ "events": [
2433
2242
  {
2434
- "name": "hide-menu-single-option",
2435
- "type": {
2436
- "text": "boolean"
2437
- },
2438
- "default": "false",
2439
- "fieldName": "hideMenuSingleOption"
2243
+ "description": "Fires a custom 'change' event when the button is invoked",
2244
+ "name": "change",
2245
+ "inheritedFrom": {
2246
+ "name": "AccordionItem",
2247
+ "module": "src/accordion-item/accordion-item.ts"
2248
+ }
2440
2249
  }
2441
- ],
2442
- "superclass": {
2443
- "name": "FoundationElement",
2444
- "package": "@microsoft/fast-foundation"
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "variable",
2254
+ "name": "foundationAccordionItemShadowOptions",
2255
+ "type": {
2256
+ "text": "ShadowRootInit"
2445
2257
  },
2446
- "tagName": "%%prefix%%-actions-menu",
2447
- "customElement": true
2258
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2448
2259
  },
2449
2260
  {
2450
2261
  "kind": "variable",
2451
- "name": "foundationActionsMenu",
2452
- "description": "The Foundation Actions Menu",
2262
+ "name": "defaultAccordionItemConfig",
2263
+ "type": {
2264
+ "text": "object"
2265
+ },
2266
+ "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}"
2267
+ },
2268
+ {
2269
+ "kind": "variable",
2270
+ "name": "foundationAccordionItem",
2271
+ "description": "The Foundation Accordion Item",
2453
2272
  "privacy": "public"
2454
2273
  }
2455
2274
  ],
2456
2275
  "exports": [
2457
2276
  {
2458
2277
  "kind": "js",
2459
- "name": "ActionsMenu",
2278
+ "name": "AccordionItem",
2460
2279
  "declaration": {
2461
- "name": "ActionsMenu",
2462
- "module": "src/actions-menu/actions-menu.ts"
2280
+ "name": "AccordionItem",
2281
+ "module": "src/accordion-item/accordion-item.ts"
2463
2282
  }
2464
2283
  },
2465
2284
  {
2466
2285
  "kind": "js",
2467
- "name": "foundationActionsMenu",
2286
+ "name": "foundationAccordionItemShadowOptions",
2468
2287
  "declaration": {
2469
- "name": "foundationActionsMenu",
2470
- "module": "src/actions-menu/actions-menu.ts"
2288
+ "name": "foundationAccordionItemShadowOptions",
2289
+ "module": "src/accordion-item/accordion-item.ts"
2290
+ }
2291
+ },
2292
+ {
2293
+ "kind": "js",
2294
+ "name": "defaultAccordionItemConfig",
2295
+ "declaration": {
2296
+ "name": "defaultAccordionItemConfig",
2297
+ "module": "src/accordion-item/accordion-item.ts"
2298
+ }
2299
+ },
2300
+ {
2301
+ "kind": "js",
2302
+ "name": "foundationAccordionItem",
2303
+ "declaration": {
2304
+ "name": "foundationAccordionItem",
2305
+ "module": "src/accordion-item/accordion-item.ts"
2471
2306
  }
2472
2307
  }
2473
2308
  ]
2474
2309
  },
2475
2310
  {
2476
2311
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/index.ts",
2312
+ "path": "src/accordion-item/index.ts",
2478
2313
  "declarations": [],
2479
2314
  "exports": [
2480
2315
  {
@@ -2482,7 +2317,7 @@
2482
2317
  "name": "*",
2483
2318
  "declaration": {
2484
2319
  "name": "*",
2485
- "package": "./actions-menu.styles"
2320
+ "package": "./accordion-item.template"
2486
2321
  }
2487
2322
  },
2488
2323
  {
@@ -2490,7 +2325,7 @@
2490
2325
  "name": "*",
2491
2326
  "declaration": {
2492
2327
  "name": "*",
2493
- "package": "./actions-menu.template"
2328
+ "package": "./accordion-item.styles"
2494
2329
  }
2495
2330
  },
2496
2331
  {
@@ -2498,7 +2333,7 @@
2498
2333
  "name": "*",
2499
2334
  "declaration": {
2500
2335
  "name": "*",
2501
- "package": "./actions-menu"
2336
+ "package": "./accordion-item"
2502
2337
  }
2503
2338
  }
2504
2339
  ]
@@ -3553,11 +3388,34 @@
3553
3388
  },
3554
3389
  {
3555
3390
  "kind": "javascript-module",
3556
- "path": "src/accordion-item/accordion-item.styles.ts",
3391
+ "path": "src/actions-menu/actions-menu.styles.ts",
3557
3392
  "declarations": [
3558
3393
  {
3559
3394
  "kind": "function",
3560
- "name": "foundationAccordionItemStyles",
3395
+ "name": "actionsMenuBaseStyles",
3396
+ "return": {
3397
+ "type": {
3398
+ "text": "ElementStyles"
3399
+ }
3400
+ },
3401
+ "parameters": [
3402
+ {
3403
+ "name": "context",
3404
+ "type": {
3405
+ "text": "ElementDefinitionContext"
3406
+ }
3407
+ },
3408
+ {
3409
+ "name": "definition",
3410
+ "type": {
3411
+ "text": "FoundationElementDefinition"
3412
+ }
3413
+ }
3414
+ ]
3415
+ },
3416
+ {
3417
+ "kind": "function",
3418
+ "name": "foundationActionsMenuStyles",
3561
3419
  "return": {
3562
3420
  "type": {
3563
3421
  "text": "ElementStyles"
@@ -3582,156 +3440,269 @@
3582
3440
  "exports": [
3583
3441
  {
3584
3442
  "kind": "js",
3585
- "name": "foundationAccordionItemStyles",
3443
+ "name": "actionsMenuBaseStyles",
3586
3444
  "declaration": {
3587
- "name": "foundationAccordionItemStyles",
3588
- "module": "src/accordion-item/accordion-item.styles.ts"
3445
+ "name": "actionsMenuBaseStyles",
3446
+ "module": "src/actions-menu/actions-menu.styles.ts"
3447
+ }
3448
+ },
3449
+ {
3450
+ "kind": "js",
3451
+ "name": "foundationActionsMenuStyles",
3452
+ "declaration": {
3453
+ "name": "foundationActionsMenuStyles",
3454
+ "module": "src/actions-menu/actions-menu.styles.ts"
3589
3455
  }
3590
3456
  }
3591
3457
  ]
3592
3458
  },
3593
3459
  {
3594
3460
  "kind": "javascript-module",
3595
- "path": "src/accordion-item/accordion-item.template.ts",
3461
+ "path": "src/actions-menu/actions-menu.template.ts",
3596
3462
  "declarations": [
3597
3463
  {
3598
3464
  "kind": "function",
3599
- "name": "foundationAccordionItemTemplate",
3600
- "return": {
3601
- "type": {
3602
- "text": "ViewTemplate<AccordionItem>"
3603
- }
3604
- },
3465
+ "name": "menuTemplate",
3605
3466
  "parameters": [
3606
3467
  {
3607
- "name": "context",
3468
+ "name": "prefix",
3608
3469
  "type": {
3609
- "text": "ElementDefinitionContext"
3470
+ "text": "string"
3610
3471
  }
3611
- },
3472
+ }
3473
+ ]
3474
+ },
3475
+ {
3476
+ "kind": "function",
3477
+ "name": "singleOptionTemplate",
3478
+ "parameters": [
3612
3479
  {
3613
- "name": "definition",
3480
+ "name": "prefix",
3614
3481
  "type": {
3615
- "text": "FoundationElementDefinition"
3482
+ "text": "string"
3616
3483
  }
3617
3484
  }
3618
3485
  ]
3486
+ },
3487
+ {
3488
+ "kind": "variable",
3489
+ "name": "foundationActionsMenuTemplate",
3490
+ "type": {
3491
+ "text": "ViewTemplate<ActionsMenu>"
3492
+ },
3493
+ "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`"
3619
3494
  }
3620
3495
  ],
3621
3496
  "exports": [
3622
3497
  {
3623
3498
  "kind": "js",
3624
- "name": "foundationAccordionItemTemplate",
3499
+ "name": "menuTemplate",
3625
3500
  "declaration": {
3626
- "name": "foundationAccordionItemTemplate",
3627
- "module": "src/accordion-item/accordion-item.template.ts"
3501
+ "name": "menuTemplate",
3502
+ "module": "src/actions-menu/actions-menu.template.ts"
3503
+ }
3504
+ },
3505
+ {
3506
+ "kind": "js",
3507
+ "name": "singleOptionTemplate",
3508
+ "declaration": {
3509
+ "name": "singleOptionTemplate",
3510
+ "module": "src/actions-menu/actions-menu.template.ts"
3511
+ }
3512
+ },
3513
+ {
3514
+ "kind": "js",
3515
+ "name": "foundationActionsMenuTemplate",
3516
+ "declaration": {
3517
+ "name": "foundationActionsMenuTemplate",
3518
+ "module": "src/actions-menu/actions-menu.template.ts"
3628
3519
  }
3629
3520
  }
3630
3521
  ]
3631
3522
  },
3632
3523
  {
3633
3524
  "kind": "javascript-module",
3634
- "path": "src/accordion-item/accordion-item.ts",
3525
+ "path": "src/actions-menu/actions-menu.ts",
3635
3526
  "declarations": [
3636
3527
  {
3637
3528
  "kind": "class",
3638
3529
  "description": "",
3639
- "name": "AccordionItem",
3640
- "superclass": {
3641
- "name": "FASTAccordionItem",
3642
- "package": "@microsoft/fast-components"
3643
- },
3644
- "tagName": "%%prefix%%-accordion-item",
3645
- "customElement": true,
3646
- "attributes": [
3530
+ "name": "ActionsMenu",
3531
+ "members": [
3647
3532
  {
3648
- "name": "heading-level",
3533
+ "kind": "field",
3534
+ "name": "actions",
3649
3535
  "type": {
3650
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3536
+ "text": "ActionMenuItem[]"
3537
+ }
3538
+ },
3539
+ {
3540
+ "kind": "field",
3541
+ "name": "isVertical",
3542
+ "type": {
3543
+ "text": "boolean"
3651
3544
  },
3652
- "default": "2",
3653
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3654
- "fieldName": "headinglevel",
3655
- "inheritedFrom": {
3656
- "name": "AccordionItem",
3657
- "module": "src/accordion-item/accordion-item.ts"
3545
+ "default": "false"
3546
+ },
3547
+ {
3548
+ "kind": "field",
3549
+ "name": "addDefaultActions",
3550
+ "type": {
3551
+ "text": "boolean"
3552
+ },
3553
+ "default": "true"
3554
+ },
3555
+ {
3556
+ "kind": "field",
3557
+ "name": "autoCloseOnAction",
3558
+ "type": {
3559
+ "text": "boolean"
3560
+ },
3561
+ "default": "true"
3562
+ },
3563
+ {
3564
+ "kind": "field",
3565
+ "name": "classNames",
3566
+ "type": {
3567
+ "text": "string"
3568
+ }
3569
+ },
3570
+ {
3571
+ "kind": "field",
3572
+ "name": "definition",
3573
+ "type": {
3574
+ "text": "any"
3658
3575
  }
3659
3576
  },
3660
3577
  {
3578
+ "kind": "field",
3579
+ "name": "name",
3580
+ "type": {
3581
+ "text": "string"
3582
+ },
3583
+ "default": "'Actions'"
3584
+ },
3585
+ {
3586
+ "kind": "field",
3587
+ "name": "open",
3661
3588
  "type": {
3662
3589
  "text": "boolean"
3663
3590
  },
3664
- "default": "false",
3665
- "description": "Expands or collapses the item.",
3666
- "fieldName": "expanded",
3667
- "inheritedFrom": {
3668
- "name": "AccordionItem",
3669
- "module": "src/accordion-item/accordion-item.ts"
3591
+ "default": "false"
3592
+ },
3593
+ {
3594
+ "kind": "field",
3595
+ "name": "buttonAppearance",
3596
+ "type": {
3597
+ "text": "string"
3670
3598
  }
3671
3599
  },
3672
3600
  {
3673
- "name": "id",
3601
+ "kind": "field",
3602
+ "name": "hideDisabled",
3603
+ "type": {
3604
+ "text": "boolean"
3605
+ },
3606
+ "default": "false"
3607
+ },
3608
+ {
3609
+ "kind": "field",
3610
+ "name": "hideMenuSingleOption",
3674
3611
  "type": {
3675
- "text": "string"
3612
+ "text": "boolean"
3676
3613
  },
3677
- "description": "The item ID",
3678
- "fieldName": "id",
3679
- "inheritedFrom": {
3680
- "name": "AccordionItem",
3681
- "module": "src/accordion-item/accordion-item.ts"
3682
- }
3683
- }
3684
- ],
3685
- "members": [
3614
+ "default": "false"
3615
+ },
3686
3616
  {
3687
3617
  "kind": "field",
3688
- "name": "headinglevel",
3618
+ "name": "singleOption",
3689
3619
  "type": {
3690
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3691
- },
3692
- "privacy": "public",
3693
- "default": "2",
3694
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3695
- "inheritedFrom": {
3696
- "name": "AccordionItem",
3697
- "module": "src/accordion-item/accordion-item.ts"
3620
+ "text": "ActionMenuItem"
3698
3621
  }
3699
3622
  },
3700
3623
  {
3701
3624
  "kind": "field",
3702
- "name": "expanded",
3625
+ "name": "actionsMenu",
3703
3626
  "type": {
3704
- "text": "boolean"
3705
- },
3706
- "privacy": "public",
3707
- "default": "false",
3708
- "description": "Expands or collapses the item.",
3709
- "inheritedFrom": {
3710
- "name": "AccordionItem",
3711
- "module": "src/accordion-item/accordion-item.ts"
3627
+ "text": "HTMLElement"
3712
3628
  }
3713
3629
  },
3630
+ {
3631
+ "kind": "method",
3632
+ "name": "definitionChanged",
3633
+ "privacy": "protected",
3634
+ "parameters": [
3635
+ {
3636
+ "name": "oldValue",
3637
+ "type": {
3638
+ "text": "any"
3639
+ }
3640
+ },
3641
+ {
3642
+ "name": "newValue",
3643
+ "type": {
3644
+ "text": "any"
3645
+ }
3646
+ }
3647
+ ]
3648
+ },
3649
+ {
3650
+ "kind": "method",
3651
+ "name": "openChanged",
3652
+ "privacy": "protected"
3653
+ },
3654
+ {
3655
+ "kind": "method",
3656
+ "name": "toggleActionsMenuVisibility"
3657
+ },
3658
+ {
3659
+ "kind": "method",
3660
+ "name": "onActionMenuItemClick",
3661
+ "parameters": [
3662
+ {
3663
+ "name": "callback",
3664
+ "type": {
3665
+ "text": "(rowData) => void | any"
3666
+ }
3667
+ }
3668
+ ]
3669
+ },
3714
3670
  {
3715
3671
  "kind": "field",
3716
- "name": "id",
3672
+ "name": "allActions",
3717
3673
  "type": {
3718
- "text": "string"
3674
+ "text": "ActionMenuItem[]"
3719
3675
  },
3720
- "privacy": "public",
3721
- "description": "The item ID",
3722
- "inheritedFrom": {
3723
- "name": "AccordionItem",
3724
- "module": "src/accordion-item/accordion-item.ts"
3725
- }
3676
+ "readonly": true
3726
3677
  },
3727
3678
  {
3728
3679
  "kind": "field",
3729
- "name": "change",
3730
- "privacy": "private",
3731
- "inheritedFrom": {
3732
- "name": "AccordionItem",
3733
- "module": "src/accordion-item/accordion-item.ts"
3734
- }
3680
+ "name": "rowData",
3681
+ "readonly": true
3682
+ },
3683
+ {
3684
+ "kind": "method",
3685
+ "name": "getLabel",
3686
+ "parameters": [
3687
+ {
3688
+ "name": "name",
3689
+ "type": {
3690
+ "text": "string | ((rowData: any) => string)"
3691
+ }
3692
+ }
3693
+ ]
3694
+ },
3695
+ {
3696
+ "kind": "method",
3697
+ "name": "getTemplate",
3698
+ "parameters": [
3699
+ {
3700
+ "name": "prefix",
3701
+ "type": {
3702
+ "text": "string"
3703
+ }
3704
+ }
3705
+ ]
3735
3706
  },
3736
3707
  {
3737
3708
  "kind": "field",
@@ -3845,78 +3816,107 @@
3845
3816
  }
3846
3817
  }
3847
3818
  ],
3848
- "events": [
3819
+ "attributes": [
3849
3820
  {
3850
- "description": "Fires a custom 'change' event when the button is invoked",
3851
- "name": "change",
3852
- "inheritedFrom": {
3853
- "name": "AccordionItem",
3854
- "module": "src/accordion-item/accordion-item.ts"
3855
- }
3821
+ "name": "is-vertical",
3822
+ "type": {
3823
+ "text": "boolean"
3824
+ },
3825
+ "default": "false",
3826
+ "fieldName": "isVertical"
3827
+ },
3828
+ {
3829
+ "name": "add-default-actions",
3830
+ "type": {
3831
+ "text": "boolean"
3832
+ },
3833
+ "default": "true",
3834
+ "fieldName": "addDefaultActions"
3835
+ },
3836
+ {
3837
+ "name": "auto-close-on-action",
3838
+ "type": {
3839
+ "text": "boolean"
3840
+ },
3841
+ "default": "true",
3842
+ "fieldName": "autoCloseOnAction"
3843
+ },
3844
+ {
3845
+ "name": "name",
3846
+ "type": {
3847
+ "text": "string"
3848
+ },
3849
+ "default": "'Actions'",
3850
+ "fieldName": "name"
3851
+ },
3852
+ {
3853
+ "name": "open",
3854
+ "type": {
3855
+ "text": "boolean"
3856
+ },
3857
+ "default": "false",
3858
+ "fieldName": "open"
3859
+ },
3860
+ {
3861
+ "name": "buttonAppearance",
3862
+ "type": {
3863
+ "text": "string"
3864
+ },
3865
+ "fieldName": "buttonAppearance"
3866
+ },
3867
+ {
3868
+ "name": "hide-disabled",
3869
+ "type": {
3870
+ "text": "boolean"
3871
+ },
3872
+ "default": "false",
3873
+ "fieldName": "hideDisabled"
3874
+ },
3875
+ {
3876
+ "name": "hide-menu-single-option",
3877
+ "type": {
3878
+ "text": "boolean"
3879
+ },
3880
+ "default": "false",
3881
+ "fieldName": "hideMenuSingleOption"
3856
3882
  }
3857
- ]
3858
- },
3859
- {
3860
- "kind": "variable",
3861
- "name": "foundationAccordionItemShadowOptions",
3862
- "type": {
3863
- "text": "ShadowRootInit"
3864
- },
3865
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3866
- },
3867
- {
3868
- "kind": "variable",
3869
- "name": "defaultAccordionItemConfig",
3870
- "type": {
3871
- "text": "object"
3883
+ ],
3884
+ "superclass": {
3885
+ "name": "FoundationElement",
3886
+ "package": "@microsoft/fast-foundation"
3872
3887
  },
3873
- "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}"
3888
+ "tagName": "%%prefix%%-actions-menu",
3889
+ "customElement": true
3874
3890
  },
3875
3891
  {
3876
3892
  "kind": "variable",
3877
- "name": "foundationAccordionItem",
3878
- "description": "The Foundation Accordion Item",
3893
+ "name": "foundationActionsMenu",
3894
+ "description": "The Foundation Actions Menu",
3879
3895
  "privacy": "public"
3880
3896
  }
3881
3897
  ],
3882
3898
  "exports": [
3883
3899
  {
3884
3900
  "kind": "js",
3885
- "name": "AccordionItem",
3886
- "declaration": {
3887
- "name": "AccordionItem",
3888
- "module": "src/accordion-item/accordion-item.ts"
3889
- }
3890
- },
3891
- {
3892
- "kind": "js",
3893
- "name": "foundationAccordionItemShadowOptions",
3894
- "declaration": {
3895
- "name": "foundationAccordionItemShadowOptions",
3896
- "module": "src/accordion-item/accordion-item.ts"
3897
- }
3898
- },
3899
- {
3900
- "kind": "js",
3901
- "name": "defaultAccordionItemConfig",
3901
+ "name": "ActionsMenu",
3902
3902
  "declaration": {
3903
- "name": "defaultAccordionItemConfig",
3904
- "module": "src/accordion-item/accordion-item.ts"
3903
+ "name": "ActionsMenu",
3904
+ "module": "src/actions-menu/actions-menu.ts"
3905
3905
  }
3906
3906
  },
3907
3907
  {
3908
3908
  "kind": "js",
3909
- "name": "foundationAccordionItem",
3909
+ "name": "foundationActionsMenu",
3910
3910
  "declaration": {
3911
- "name": "foundationAccordionItem",
3912
- "module": "src/accordion-item/accordion-item.ts"
3911
+ "name": "foundationActionsMenu",
3912
+ "module": "src/actions-menu/actions-menu.ts"
3913
3913
  }
3914
3914
  }
3915
3915
  ]
3916
3916
  },
3917
3917
  {
3918
3918
  "kind": "javascript-module",
3919
- "path": "src/accordion-item/index.ts",
3919
+ "path": "src/actions-menu/index.ts",
3920
3920
  "declarations": [],
3921
3921
  "exports": [
3922
3922
  {
@@ -3924,7 +3924,7 @@
3924
3924
  "name": "*",
3925
3925
  "declaration": {
3926
3926
  "name": "*",
3927
- "package": "./accordion-item.template"
3927
+ "package": "./actions-menu.styles"
3928
3928
  }
3929
3929
  },
3930
3930
  {
@@ -3932,7 +3932,7 @@
3932
3932
  "name": "*",
3933
3933
  "declaration": {
3934
3934
  "name": "*",
3935
- "package": "./accordion-item.styles"
3935
+ "package": "./actions-menu.template"
3936
3936
  }
3937
3937
  },
3938
3938
  {
@@ -3940,7 +3940,7 @@
3940
3940
  "name": "*",
3941
3941
  "declaration": {
3942
3942
  "name": "*",
3943
- "package": "./accordion-item"
3943
+ "package": "./actions-menu"
3944
3944
  }
3945
3945
  }
3946
3946
  ]