@genesislcap/foundation-ui 14.451.2-FUI-2550.5 → 14.451.2-FUI-2550.8

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,18 +2333,41 @@
2498
2333
  "name": "*",
2499
2334
  "declaration": {
2500
2335
  "name": "*",
2501
- "package": "./actions-menu"
2336
+ "package": "./accordion-item"
2502
2337
  }
2503
2338
  }
2504
2339
  ]
2505
2340
  },
2506
2341
  {
2507
2342
  "kind": "javascript-module",
2508
- "path": "src/accordion-item/accordion-item.styles.ts",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2509
2344
  "declarations": [
2510
2345
  {
2511
2346
  "kind": "function",
2512
- "name": "foundationAccordionItemStyles",
2347
+ "name": "actionsMenuBaseStyles",
2348
+ "return": {
2349
+ "type": {
2350
+ "text": "ElementStyles"
2351
+ }
2352
+ },
2353
+ "parameters": [
2354
+ {
2355
+ "name": "context",
2356
+ "type": {
2357
+ "text": "ElementDefinitionContext"
2358
+ }
2359
+ },
2360
+ {
2361
+ "name": "definition",
2362
+ "type": {
2363
+ "text": "FoundationElementDefinition"
2364
+ }
2365
+ }
2366
+ ]
2367
+ },
2368
+ {
2369
+ "kind": "function",
2370
+ "name": "foundationActionsMenuStyles",
2513
2371
  "return": {
2514
2372
  "type": {
2515
2373
  "text": "ElementStyles"
@@ -2534,156 +2392,269 @@
2534
2392
  "exports": [
2535
2393
  {
2536
2394
  "kind": "js",
2537
- "name": "foundationAccordionItemStyles",
2395
+ "name": "actionsMenuBaseStyles",
2538
2396
  "declaration": {
2539
- "name": "foundationAccordionItemStyles",
2540
- "module": "src/accordion-item/accordion-item.styles.ts"
2397
+ "name": "actionsMenuBaseStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2399
+ }
2400
+ },
2401
+ {
2402
+ "kind": "js",
2403
+ "name": "foundationActionsMenuStyles",
2404
+ "declaration": {
2405
+ "name": "foundationActionsMenuStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2541
2407
  }
2542
2408
  }
2543
2409
  ]
2544
2410
  },
2545
2411
  {
2546
2412
  "kind": "javascript-module",
2547
- "path": "src/accordion-item/accordion-item.template.ts",
2413
+ "path": "src/actions-menu/actions-menu.template.ts",
2548
2414
  "declarations": [
2549
2415
  {
2550
2416
  "kind": "function",
2551
- "name": "foundationAccordionItemTemplate",
2552
- "return": {
2553
- "type": {
2554
- "text": "ViewTemplate<AccordionItem>"
2555
- }
2556
- },
2417
+ "name": "menuTemplate",
2557
2418
  "parameters": [
2558
2419
  {
2559
- "name": "context",
2420
+ "name": "prefix",
2560
2421
  "type": {
2561
- "text": "ElementDefinitionContext"
2422
+ "text": "string"
2562
2423
  }
2563
- },
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "singleOptionTemplate",
2430
+ "parameters": [
2564
2431
  {
2565
- "name": "definition",
2432
+ "name": "prefix",
2566
2433
  "type": {
2567
- "text": "FoundationElementDefinition"
2434
+ "text": "string"
2568
2435
  }
2569
2436
  }
2570
2437
  ]
2438
+ },
2439
+ {
2440
+ "kind": "variable",
2441
+ "name": "foundationActionsMenuTemplate",
2442
+ "type": {
2443
+ "text": "ViewTemplate<ActionsMenu>"
2444
+ },
2445
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2571
2446
  }
2572
2447
  ],
2573
2448
  "exports": [
2574
2449
  {
2575
2450
  "kind": "js",
2576
- "name": "foundationAccordionItemTemplate",
2451
+ "name": "menuTemplate",
2577
2452
  "declaration": {
2578
- "name": "foundationAccordionItemTemplate",
2579
- "module": "src/accordion-item/accordion-item.template.ts"
2453
+ "name": "menuTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2455
+ }
2456
+ },
2457
+ {
2458
+ "kind": "js",
2459
+ "name": "singleOptionTemplate",
2460
+ "declaration": {
2461
+ "name": "singleOptionTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "foundationActionsMenuTemplate",
2468
+ "declaration": {
2469
+ "name": "foundationActionsMenuTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2580
2471
  }
2581
2472
  }
2582
2473
  ]
2583
2474
  },
2584
2475
  {
2585
2476
  "kind": "javascript-module",
2586
- "path": "src/accordion-item/accordion-item.ts",
2477
+ "path": "src/actions-menu/actions-menu.ts",
2587
2478
  "declarations": [
2588
2479
  {
2589
2480
  "kind": "class",
2590
2481
  "description": "",
2591
- "name": "AccordionItem",
2592
- "superclass": {
2593
- "name": "FASTAccordionItem",
2594
- "package": "@microsoft/fast-components"
2595
- },
2596
- "tagName": "%%prefix%%-accordion-item",
2597
- "customElement": true,
2598
- "attributes": [
2482
+ "name": "ActionsMenu",
2483
+ "members": [
2599
2484
  {
2600
- "name": "heading-level",
2485
+ "kind": "field",
2486
+ "name": "actions",
2601
2487
  "type": {
2602
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2488
+ "text": "ActionMenuItem[]"
2489
+ }
2490
+ },
2491
+ {
2492
+ "kind": "field",
2493
+ "name": "isVertical",
2494
+ "type": {
2495
+ "text": "boolean"
2603
2496
  },
2604
- "default": "2",
2605
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2606
- "fieldName": "headinglevel",
2607
- "inheritedFrom": {
2608
- "name": "AccordionItem",
2609
- "module": "src/accordion-item/accordion-item.ts"
2497
+ "default": "false"
2498
+ },
2499
+ {
2500
+ "kind": "field",
2501
+ "name": "addDefaultActions",
2502
+ "type": {
2503
+ "text": "boolean"
2504
+ },
2505
+ "default": "true"
2506
+ },
2507
+ {
2508
+ "kind": "field",
2509
+ "name": "autoCloseOnAction",
2510
+ "type": {
2511
+ "text": "boolean"
2512
+ },
2513
+ "default": "true"
2514
+ },
2515
+ {
2516
+ "kind": "field",
2517
+ "name": "classNames",
2518
+ "type": {
2519
+ "text": "string"
2520
+ }
2521
+ },
2522
+ {
2523
+ "kind": "field",
2524
+ "name": "definition",
2525
+ "type": {
2526
+ "text": "any"
2610
2527
  }
2611
2528
  },
2612
2529
  {
2530
+ "kind": "field",
2531
+ "name": "name",
2532
+ "type": {
2533
+ "text": "string"
2534
+ },
2535
+ "default": "'Actions'"
2536
+ },
2537
+ {
2538
+ "kind": "field",
2539
+ "name": "open",
2613
2540
  "type": {
2614
2541
  "text": "boolean"
2615
2542
  },
2616
- "default": "false",
2617
- "description": "Expands or collapses the item.",
2618
- "fieldName": "expanded",
2619
- "inheritedFrom": {
2620
- "name": "AccordionItem",
2621
- "module": "src/accordion-item/accordion-item.ts"
2543
+ "default": "false"
2544
+ },
2545
+ {
2546
+ "kind": "field",
2547
+ "name": "buttonAppearance",
2548
+ "type": {
2549
+ "text": "string"
2622
2550
  }
2623
2551
  },
2624
2552
  {
2625
- "name": "id",
2553
+ "kind": "field",
2554
+ "name": "hideDisabled",
2555
+ "type": {
2556
+ "text": "boolean"
2557
+ },
2558
+ "default": "false"
2559
+ },
2560
+ {
2561
+ "kind": "field",
2562
+ "name": "hideMenuSingleOption",
2626
2563
  "type": {
2627
- "text": "string"
2564
+ "text": "boolean"
2628
2565
  },
2629
- "description": "The item ID",
2630
- "fieldName": "id",
2631
- "inheritedFrom": {
2632
- "name": "AccordionItem",
2633
- "module": "src/accordion-item/accordion-item.ts"
2634
- }
2635
- }
2636
- ],
2637
- "members": [
2566
+ "default": "false"
2567
+ },
2638
2568
  {
2639
2569
  "kind": "field",
2640
- "name": "headinglevel",
2570
+ "name": "singleOption",
2641
2571
  "type": {
2642
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2643
- },
2644
- "privacy": "public",
2645
- "default": "2",
2646
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2647
- "inheritedFrom": {
2648
- "name": "AccordionItem",
2649
- "module": "src/accordion-item/accordion-item.ts"
2572
+ "text": "ActionMenuItem"
2650
2573
  }
2651
2574
  },
2652
2575
  {
2653
2576
  "kind": "field",
2654
- "name": "expanded",
2577
+ "name": "actionsMenu",
2655
2578
  "type": {
2656
- "text": "boolean"
2657
- },
2658
- "privacy": "public",
2659
- "default": "false",
2660
- "description": "Expands or collapses the item.",
2661
- "inheritedFrom": {
2662
- "name": "AccordionItem",
2663
- "module": "src/accordion-item/accordion-item.ts"
2579
+ "text": "HTMLElement"
2664
2580
  }
2665
2581
  },
2582
+ {
2583
+ "kind": "method",
2584
+ "name": "definitionChanged",
2585
+ "privacy": "protected",
2586
+ "parameters": [
2587
+ {
2588
+ "name": "oldValue",
2589
+ "type": {
2590
+ "text": "any"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "newValue",
2595
+ "type": {
2596
+ "text": "any"
2597
+ }
2598
+ }
2599
+ ]
2600
+ },
2601
+ {
2602
+ "kind": "method",
2603
+ "name": "openChanged",
2604
+ "privacy": "protected"
2605
+ },
2606
+ {
2607
+ "kind": "method",
2608
+ "name": "toggleActionsMenuVisibility"
2609
+ },
2610
+ {
2611
+ "kind": "method",
2612
+ "name": "onActionMenuItemClick",
2613
+ "parameters": [
2614
+ {
2615
+ "name": "callback",
2616
+ "type": {
2617
+ "text": "(rowData) => void | any"
2618
+ }
2619
+ }
2620
+ ]
2621
+ },
2666
2622
  {
2667
2623
  "kind": "field",
2668
- "name": "id",
2624
+ "name": "allActions",
2669
2625
  "type": {
2670
- "text": "string"
2626
+ "text": "ActionMenuItem[]"
2671
2627
  },
2672
- "privacy": "public",
2673
- "description": "The item ID",
2674
- "inheritedFrom": {
2675
- "name": "AccordionItem",
2676
- "module": "src/accordion-item/accordion-item.ts"
2677
- }
2628
+ "readonly": true
2678
2629
  },
2679
2630
  {
2680
2631
  "kind": "field",
2681
- "name": "change",
2682
- "privacy": "private",
2683
- "inheritedFrom": {
2684
- "name": "AccordionItem",
2685
- "module": "src/accordion-item/accordion-item.ts"
2686
- }
2632
+ "name": "rowData",
2633
+ "readonly": true
2634
+ },
2635
+ {
2636
+ "kind": "method",
2637
+ "name": "getLabel",
2638
+ "parameters": [
2639
+ {
2640
+ "name": "name",
2641
+ "type": {
2642
+ "text": "string | ((rowData: any) => string)"
2643
+ }
2644
+ }
2645
+ ]
2646
+ },
2647
+ {
2648
+ "kind": "method",
2649
+ "name": "getTemplate",
2650
+ "parameters": [
2651
+ {
2652
+ "name": "prefix",
2653
+ "type": {
2654
+ "text": "string"
2655
+ }
2656
+ }
2657
+ ]
2687
2658
  },
2688
2659
  {
2689
2660
  "kind": "field",
@@ -2797,78 +2768,107 @@
2797
2768
  }
2798
2769
  }
2799
2770
  ],
2800
- "events": [
2771
+ "attributes": [
2801
2772
  {
2802
- "description": "Fires a custom 'change' event when the button is invoked",
2803
- "name": "change",
2804
- "inheritedFrom": {
2805
- "name": "AccordionItem",
2806
- "module": "src/accordion-item/accordion-item.ts"
2807
- }
2773
+ "name": "is-vertical",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "false",
2778
+ "fieldName": "isVertical"
2779
+ },
2780
+ {
2781
+ "name": "add-default-actions",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "addDefaultActions"
2787
+ },
2788
+ {
2789
+ "name": "auto-close-on-action",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "autoCloseOnAction"
2795
+ },
2796
+ {
2797
+ "name": "name",
2798
+ "type": {
2799
+ "text": "string"
2800
+ },
2801
+ "default": "'Actions'",
2802
+ "fieldName": "name"
2803
+ },
2804
+ {
2805
+ "name": "open",
2806
+ "type": {
2807
+ "text": "boolean"
2808
+ },
2809
+ "default": "false",
2810
+ "fieldName": "open"
2811
+ },
2812
+ {
2813
+ "name": "buttonAppearance",
2814
+ "type": {
2815
+ "text": "string"
2816
+ },
2817
+ "fieldName": "buttonAppearance"
2818
+ },
2819
+ {
2820
+ "name": "hide-disabled",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "fieldName": "hideDisabled"
2826
+ },
2827
+ {
2828
+ "name": "hide-menu-single-option",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideMenuSingleOption"
2808
2834
  }
2809
- ]
2810
- },
2811
- {
2812
- "kind": "variable",
2813
- "name": "foundationAccordionItemShadowOptions",
2814
- "type": {
2815
- "text": "ShadowRootInit"
2816
- },
2817
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2818
- },
2819
- {
2820
- "kind": "variable",
2821
- "name": "defaultAccordionItemConfig",
2822
- "type": {
2823
- "text": "object"
2835
+ ],
2836
+ "superclass": {
2837
+ "name": "FoundationElement",
2838
+ "package": "@microsoft/fast-foundation"
2824
2839
  },
2825
- "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}"
2840
+ "tagName": "%%prefix%%-actions-menu",
2841
+ "customElement": true
2826
2842
  },
2827
2843
  {
2828
2844
  "kind": "variable",
2829
- "name": "foundationAccordionItem",
2830
- "description": "The Foundation Accordion Item",
2845
+ "name": "foundationActionsMenu",
2846
+ "description": "The Foundation Actions Menu",
2831
2847
  "privacy": "public"
2832
2848
  }
2833
2849
  ],
2834
2850
  "exports": [
2835
2851
  {
2836
2852
  "kind": "js",
2837
- "name": "AccordionItem",
2838
- "declaration": {
2839
- "name": "AccordionItem",
2840
- "module": "src/accordion-item/accordion-item.ts"
2841
- }
2842
- },
2843
- {
2844
- "kind": "js",
2845
- "name": "foundationAccordionItemShadowOptions",
2846
- "declaration": {
2847
- "name": "foundationAccordionItemShadowOptions",
2848
- "module": "src/accordion-item/accordion-item.ts"
2849
- }
2850
- },
2851
- {
2852
- "kind": "js",
2853
- "name": "defaultAccordionItemConfig",
2853
+ "name": "ActionsMenu",
2854
2854
  "declaration": {
2855
- "name": "defaultAccordionItemConfig",
2856
- "module": "src/accordion-item/accordion-item.ts"
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2857
2857
  }
2858
2858
  },
2859
2859
  {
2860
2860
  "kind": "js",
2861
- "name": "foundationAccordionItem",
2861
+ "name": "foundationActionsMenu",
2862
2862
  "declaration": {
2863
- "name": "foundationAccordionItem",
2864
- "module": "src/accordion-item/accordion-item.ts"
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2865
2865
  }
2866
2866
  }
2867
2867
  ]
2868
2868
  },
2869
2869
  {
2870
2870
  "kind": "javascript-module",
2871
- "path": "src/accordion-item/index.ts",
2871
+ "path": "src/actions-menu/index.ts",
2872
2872
  "declarations": [],
2873
2873
  "exports": [
2874
2874
  {
@@ -2876,7 +2876,7 @@
2876
2876
  "name": "*",
2877
2877
  "declaration": {
2878
2878
  "name": "*",
2879
- "package": "./accordion-item.template"
2879
+ "package": "./actions-menu.styles"
2880
2880
  }
2881
2881
  },
2882
2882
  {
@@ -2884,7 +2884,7 @@
2884
2884
  "name": "*",
2885
2885
  "declaration": {
2886
2886
  "name": "*",
2887
- "package": "./accordion-item.styles"
2887
+ "package": "./actions-menu.template"
2888
2888
  }
2889
2889
  },
2890
2890
  {
@@ -2892,7 +2892,7 @@
2892
2892
  "name": "*",
2893
2893
  "declaration": {
2894
2894
  "name": "*",
2895
- "package": "./accordion-item"
2895
+ "package": "./actions-menu"
2896
2896
  }
2897
2897
  }
2898
2898
  ]