@genesislcap/foundation-ui 15.46.5-FUI-2648.1 → 15.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2041,11 +2041,34 @@
2041
2041
  },
2042
2042
  {
2043
2043
  "kind": "javascript-module",
2044
- "path": "src/accordion-item/accordion-item.styles.ts",
2044
+ "path": "src/actions-menu/actions-menu.styles.ts",
2045
2045
  "declarations": [
2046
2046
  {
2047
2047
  "kind": "function",
2048
- "name": "foundationAccordionItemStyles",
2048
+ "name": "actionsMenuBaseStyles",
2049
+ "return": {
2050
+ "type": {
2051
+ "text": "ElementStyles"
2052
+ }
2053
+ },
2054
+ "parameters": [
2055
+ {
2056
+ "name": "context",
2057
+ "type": {
2058
+ "text": "ElementDefinitionContext"
2059
+ }
2060
+ },
2061
+ {
2062
+ "name": "definition",
2063
+ "type": {
2064
+ "text": "FoundationElementDefinition"
2065
+ }
2066
+ }
2067
+ ]
2068
+ },
2069
+ {
2070
+ "kind": "function",
2071
+ "name": "foundationActionsMenuStyles",
2049
2072
  "return": {
2050
2073
  "type": {
2051
2074
  "text": "ElementStyles"
@@ -2070,157 +2093,282 @@
2070
2093
  "exports": [
2071
2094
  {
2072
2095
  "kind": "js",
2073
- "name": "foundationAccordionItemStyles",
2096
+ "name": "actionsMenuBaseStyles",
2074
2097
  "declaration": {
2075
- "name": "foundationAccordionItemStyles",
2076
- "module": "src/accordion-item/accordion-item.styles.ts"
2098
+ "name": "actionsMenuBaseStyles",
2099
+ "module": "src/actions-menu/actions-menu.styles.ts"
2100
+ }
2101
+ },
2102
+ {
2103
+ "kind": "js",
2104
+ "name": "foundationActionsMenuStyles",
2105
+ "declaration": {
2106
+ "name": "foundationActionsMenuStyles",
2107
+ "module": "src/actions-menu/actions-menu.styles.ts"
2077
2108
  }
2078
2109
  }
2079
2110
  ]
2080
2111
  },
2081
2112
  {
2082
2113
  "kind": "javascript-module",
2083
- "path": "src/accordion-item/accordion-item.template.ts",
2114
+ "path": "src/actions-menu/actions-menu.template.ts",
2084
2115
  "declarations": [
2085
2116
  {
2086
2117
  "kind": "function",
2087
- "name": "foundationAccordionItemTemplate",
2088
- "return": {
2089
- "type": {
2090
- "text": "ViewTemplate<AccordionItem>"
2091
- }
2092
- },
2118
+ "name": "menuTemplate",
2093
2119
  "parameters": [
2094
2120
  {
2095
- "name": "context",
2121
+ "name": "prefix",
2096
2122
  "type": {
2097
- "text": "ElementDefinitionContext"
2123
+ "text": "string"
2098
2124
  }
2099
- },
2125
+ }
2126
+ ]
2127
+ },
2128
+ {
2129
+ "kind": "function",
2130
+ "name": "singleOptionTemplate",
2131
+ "parameters": [
2100
2132
  {
2101
- "name": "definition",
2133
+ "name": "prefix",
2102
2134
  "type": {
2103
- "text": "FoundationElementDefinition"
2135
+ "text": "string"
2104
2136
  }
2105
2137
  }
2106
2138
  ]
2139
+ },
2140
+ {
2141
+ "kind": "variable",
2142
+ "name": "foundationActionsMenuTemplate",
2143
+ "type": {
2144
+ "text": "ViewTemplate<ActionsMenu>"
2145
+ },
2146
+ "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`"
2107
2147
  }
2108
2148
  ],
2109
2149
  "exports": [
2110
2150
  {
2111
2151
  "kind": "js",
2112
- "name": "foundationAccordionItemTemplate",
2152
+ "name": "menuTemplate",
2113
2153
  "declaration": {
2114
- "name": "foundationAccordionItemTemplate",
2115
- "module": "src/accordion-item/accordion-item.template.ts"
2154
+ "name": "menuTemplate",
2155
+ "module": "src/actions-menu/actions-menu.template.ts"
2156
+ }
2157
+ },
2158
+ {
2159
+ "kind": "js",
2160
+ "name": "singleOptionTemplate",
2161
+ "declaration": {
2162
+ "name": "singleOptionTemplate",
2163
+ "module": "src/actions-menu/actions-menu.template.ts"
2164
+ }
2165
+ },
2166
+ {
2167
+ "kind": "js",
2168
+ "name": "foundationActionsMenuTemplate",
2169
+ "declaration": {
2170
+ "name": "foundationActionsMenuTemplate",
2171
+ "module": "src/actions-menu/actions-menu.template.ts"
2116
2172
  }
2117
2173
  }
2118
2174
  ]
2119
2175
  },
2120
2176
  {
2121
2177
  "kind": "javascript-module",
2122
- "path": "src/accordion-item/accordion-item.ts",
2178
+ "path": "src/actions-menu/actions-menu.ts",
2123
2179
  "declarations": [
2124
2180
  {
2125
2181
  "kind": "class",
2126
2182
  "description": "",
2127
- "name": "AccordionItem",
2128
- "superclass": {
2129
- "name": "FASTAccordionItem",
2130
- "package": "@microsoft/fast-components"
2131
- },
2132
- "tagName": "%%prefix%%-accordion-item",
2133
- "customElement": true,
2134
- "attributes": [
2183
+ "name": "ActionsMenu",
2184
+ "members": [
2135
2185
  {
2136
- "name": "heading-level",
2186
+ "kind": "field",
2187
+ "name": "actions",
2137
2188
  "type": {
2138
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2139
- },
2140
- "default": "2",
2141
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2142
- "fieldName": "headinglevel",
2143
- "inheritedFrom": {
2144
- "name": "AccordionItem",
2145
- "module": "src/accordion-item/accordion-item.ts"
2189
+ "text": "ActionMenuItem[]"
2146
2190
  }
2147
2191
  },
2148
2192
  {
2193
+ "kind": "field",
2194
+ "name": "isVertical",
2149
2195
  "type": {
2150
2196
  "text": "boolean"
2151
2197
  },
2152
- "default": "false",
2153
- "description": "Expands or collapses the item.",
2154
- "fieldName": "expanded",
2155
- "inheritedFrom": {
2156
- "name": "AccordionItem",
2157
- "module": "src/accordion-item/accordion-item.ts"
2198
+ "default": "false"
2199
+ },
2200
+ {
2201
+ "kind": "field",
2202
+ "name": "addDefaultActions",
2203
+ "type": {
2204
+ "text": "boolean"
2205
+ },
2206
+ "default": "true"
2207
+ },
2208
+ {
2209
+ "kind": "field",
2210
+ "name": "autoCloseOnAction",
2211
+ "type": {
2212
+ "text": "boolean"
2213
+ },
2214
+ "default": "true"
2215
+ },
2216
+ {
2217
+ "kind": "field",
2218
+ "name": "classNames",
2219
+ "type": {
2220
+ "text": "string"
2158
2221
  }
2159
2222
  },
2160
2223
  {
2161
- "name": "id",
2224
+ "kind": "field",
2225
+ "name": "definition",
2226
+ "type": {
2227
+ "text": "any"
2228
+ }
2229
+ },
2230
+ {
2231
+ "kind": "field",
2232
+ "name": "name",
2162
2233
  "type": {
2163
2234
  "text": "string"
2164
2235
  },
2165
- "description": "The item ID",
2166
- "fieldName": "id",
2167
- "inheritedFrom": {
2168
- "name": "AccordionItem",
2169
- "module": "src/accordion-item/accordion-item.ts"
2170
- }
2171
- }
2172
- ],
2173
- "members": [
2236
+ "default": "'Actions'"
2237
+ },
2174
2238
  {
2175
2239
  "kind": "field",
2176
- "name": "headinglevel",
2240
+ "name": "open",
2177
2241
  "type": {
2178
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2242
+ "text": "boolean"
2179
2243
  },
2180
- "privacy": "public",
2181
- "default": "2",
2182
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2183
- "inheritedFrom": {
2184
- "name": "AccordionItem",
2185
- "module": "src/accordion-item/accordion-item.ts"
2244
+ "default": "false"
2245
+ },
2246
+ {
2247
+ "kind": "field",
2248
+ "name": "buttonAppearance",
2249
+ "type": {
2250
+ "text": "string"
2186
2251
  }
2187
2252
  },
2188
2253
  {
2189
2254
  "kind": "field",
2190
- "name": "expanded",
2255
+ "name": "hideDisabled",
2191
2256
  "type": {
2192
2257
  "text": "boolean"
2193
2258
  },
2194
- "privacy": "public",
2195
- "default": "false",
2196
- "description": "Expands or collapses the item.",
2197
- "inheritedFrom": {
2198
- "name": "AccordionItem",
2199
- "module": "src/accordion-item/accordion-item.ts"
2200
- }
2259
+ "default": "false"
2201
2260
  },
2202
2261
  {
2203
2262
  "kind": "field",
2204
- "name": "id",
2263
+ "name": "hideMenuSingleOption",
2205
2264
  "type": {
2206
- "text": "string"
2265
+ "text": "boolean"
2207
2266
  },
2208
- "privacy": "public",
2209
- "description": "The item ID",
2210
- "inheritedFrom": {
2211
- "name": "AccordionItem",
2212
- "module": "src/accordion-item/accordion-item.ts"
2267
+ "default": "false"
2268
+ },
2269
+ {
2270
+ "kind": "field",
2271
+ "name": "singleOption",
2272
+ "type": {
2273
+ "text": "ActionMenuItem"
2213
2274
  }
2214
2275
  },
2215
2276
  {
2216
2277
  "kind": "field",
2217
- "name": "change",
2218
- "privacy": "private",
2219
- "inheritedFrom": {
2220
- "name": "AccordionItem",
2221
- "module": "src/accordion-item/accordion-item.ts"
2278
+ "name": "actionsMenu",
2279
+ "type": {
2280
+ "text": "HTMLElement"
2281
+ }
2282
+ },
2283
+ {
2284
+ "kind": "field",
2285
+ "name": "actionsOpener",
2286
+ "type": {
2287
+ "text": "HTMLElement"
2222
2288
  }
2223
2289
  },
2290
+ {
2291
+ "kind": "method",
2292
+ "name": "updateMenuPosition",
2293
+ "privacy": "private"
2294
+ },
2295
+ {
2296
+ "kind": "method",
2297
+ "name": "definitionChanged",
2298
+ "privacy": "protected",
2299
+ "parameters": [
2300
+ {
2301
+ "name": "oldValue",
2302
+ "type": {
2303
+ "text": "any"
2304
+ }
2305
+ },
2306
+ {
2307
+ "name": "newValue",
2308
+ "type": {
2309
+ "text": "any"
2310
+ }
2311
+ }
2312
+ ]
2313
+ },
2314
+ {
2315
+ "kind": "method",
2316
+ "name": "openChanged",
2317
+ "privacy": "protected"
2318
+ },
2319
+ {
2320
+ "kind": "method",
2321
+ "name": "toggleActionsMenuVisibility"
2322
+ },
2323
+ {
2324
+ "kind": "method",
2325
+ "name": "onActionMenuItemClick",
2326
+ "parameters": [
2327
+ {
2328
+ "name": "callback",
2329
+ "type": {
2330
+ "text": "(rowData) => void | any"
2331
+ }
2332
+ }
2333
+ ]
2334
+ },
2335
+ {
2336
+ "kind": "field",
2337
+ "name": "allActions",
2338
+ "type": {
2339
+ "text": "ActionMenuItem[]"
2340
+ },
2341
+ "readonly": true
2342
+ },
2343
+ {
2344
+ "kind": "field",
2345
+ "name": "rowData",
2346
+ "readonly": true
2347
+ },
2348
+ {
2349
+ "kind": "method",
2350
+ "name": "getLabel",
2351
+ "parameters": [
2352
+ {
2353
+ "name": "name",
2354
+ "type": {
2355
+ "text": "string | ((rowData: any) => string)"
2356
+ }
2357
+ }
2358
+ ]
2359
+ },
2360
+ {
2361
+ "kind": "method",
2362
+ "name": "getTemplate",
2363
+ "parameters": [
2364
+ {
2365
+ "name": "prefix",
2366
+ "type": {
2367
+ "text": "string"
2368
+ }
2369
+ }
2370
+ ]
2371
+ },
2224
2372
  {
2225
2373
  "kind": "field",
2226
2374
  "name": "_presentation",
@@ -2333,78 +2481,107 @@
2333
2481
  }
2334
2482
  }
2335
2483
  ],
2336
- "events": [
2484
+ "attributes": [
2337
2485
  {
2338
- "description": "Fires a custom 'change' event when the button is invoked",
2339
- "name": "change",
2340
- "inheritedFrom": {
2341
- "name": "AccordionItem",
2342
- "module": "src/accordion-item/accordion-item.ts"
2343
- }
2486
+ "name": "is-vertical",
2487
+ "type": {
2488
+ "text": "boolean"
2489
+ },
2490
+ "default": "false",
2491
+ "fieldName": "isVertical"
2492
+ },
2493
+ {
2494
+ "name": "add-default-actions",
2495
+ "type": {
2496
+ "text": "boolean"
2497
+ },
2498
+ "default": "true",
2499
+ "fieldName": "addDefaultActions"
2500
+ },
2501
+ {
2502
+ "name": "auto-close-on-action",
2503
+ "type": {
2504
+ "text": "boolean"
2505
+ },
2506
+ "default": "true",
2507
+ "fieldName": "autoCloseOnAction"
2508
+ },
2509
+ {
2510
+ "name": "name",
2511
+ "type": {
2512
+ "text": "string"
2513
+ },
2514
+ "default": "'Actions'",
2515
+ "fieldName": "name"
2516
+ },
2517
+ {
2518
+ "name": "open",
2519
+ "type": {
2520
+ "text": "boolean"
2521
+ },
2522
+ "default": "false",
2523
+ "fieldName": "open"
2524
+ },
2525
+ {
2526
+ "name": "buttonAppearance",
2527
+ "type": {
2528
+ "text": "string"
2529
+ },
2530
+ "fieldName": "buttonAppearance"
2531
+ },
2532
+ {
2533
+ "name": "hide-disabled",
2534
+ "type": {
2535
+ "text": "boolean"
2536
+ },
2537
+ "default": "false",
2538
+ "fieldName": "hideDisabled"
2539
+ },
2540
+ {
2541
+ "name": "hide-menu-single-option",
2542
+ "type": {
2543
+ "text": "boolean"
2544
+ },
2545
+ "default": "false",
2546
+ "fieldName": "hideMenuSingleOption"
2344
2547
  }
2345
- ]
2346
- },
2347
- {
2348
- "kind": "variable",
2349
- "name": "foundationAccordionItemShadowOptions",
2350
- "type": {
2351
- "text": "ShadowRootInit"
2352
- },
2353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2354
- },
2355
- {
2356
- "kind": "variable",
2357
- "name": "defaultAccordionItemConfig",
2358
- "type": {
2359
- "text": "object"
2548
+ ],
2549
+ "superclass": {
2550
+ "name": "FoundationElement",
2551
+ "package": "@microsoft/fast-foundation"
2360
2552
  },
2361
- "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}"
2553
+ "tagName": "%%prefix%%-actions-menu",
2554
+ "customElement": true
2362
2555
  },
2363
2556
  {
2364
2557
  "kind": "variable",
2365
- "name": "foundationAccordionItem",
2366
- "description": "The Foundation Accordion Item",
2558
+ "name": "foundationActionsMenu",
2559
+ "description": "The Foundation Actions Menu",
2367
2560
  "privacy": "public"
2368
2561
  }
2369
2562
  ],
2370
2563
  "exports": [
2371
2564
  {
2372
2565
  "kind": "js",
2373
- "name": "AccordionItem",
2374
- "declaration": {
2375
- "name": "AccordionItem",
2376
- "module": "src/accordion-item/accordion-item.ts"
2377
- }
2378
- },
2379
- {
2380
- "kind": "js",
2381
- "name": "foundationAccordionItemShadowOptions",
2382
- "declaration": {
2383
- "name": "foundationAccordionItemShadowOptions",
2384
- "module": "src/accordion-item/accordion-item.ts"
2385
- }
2386
- },
2387
- {
2388
- "kind": "js",
2389
- "name": "defaultAccordionItemConfig",
2566
+ "name": "ActionsMenu",
2390
2567
  "declaration": {
2391
- "name": "defaultAccordionItemConfig",
2392
- "module": "src/accordion-item/accordion-item.ts"
2568
+ "name": "ActionsMenu",
2569
+ "module": "src/actions-menu/actions-menu.ts"
2393
2570
  }
2394
2571
  },
2395
2572
  {
2396
2573
  "kind": "js",
2397
- "name": "foundationAccordionItem",
2574
+ "name": "foundationActionsMenu",
2398
2575
  "declaration": {
2399
- "name": "foundationAccordionItem",
2400
- "module": "src/accordion-item/accordion-item.ts"
2576
+ "name": "foundationActionsMenu",
2577
+ "module": "src/actions-menu/actions-menu.ts"
2401
2578
  }
2402
2579
  }
2403
2580
  ]
2404
2581
  },
2405
2582
  {
2406
2583
  "kind": "javascript-module",
2407
- "path": "src/accordion-item/index.ts",
2584
+ "path": "src/actions-menu/index.ts",
2408
2585
  "declarations": [],
2409
2586
  "exports": [
2410
2587
  {
@@ -2412,7 +2589,7 @@
2412
2589
  "name": "*",
2413
2590
  "declaration": {
2414
2591
  "name": "*",
2415
- "package": "./accordion-item.template"
2592
+ "package": "./actions-menu.styles"
2416
2593
  }
2417
2594
  },
2418
2595
  {
@@ -2420,7 +2597,7 @@
2420
2597
  "name": "*",
2421
2598
  "declaration": {
2422
2599
  "name": "*",
2423
- "package": "./accordion-item.styles"
2600
+ "package": "./actions-menu.template"
2424
2601
  }
2425
2602
  },
2426
2603
  {
@@ -2428,7 +2605,7 @@
2428
2605
  "name": "*",
2429
2606
  "declaration": {
2430
2607
  "name": "*",
2431
- "package": "./accordion-item"
2608
+ "package": "./actions-menu"
2432
2609
  }
2433
2610
  }
2434
2611
  ]
@@ -3493,34 +3670,11 @@
3493
3670
  },
3494
3671
  {
3495
3672
  "kind": "javascript-module",
3496
- "path": "src/actions-menu/actions-menu.styles.ts",
3673
+ "path": "src/accordion-item/accordion-item.styles.ts",
3497
3674
  "declarations": [
3498
3675
  {
3499
3676
  "kind": "function",
3500
- "name": "actionsMenuBaseStyles",
3501
- "return": {
3502
- "type": {
3503
- "text": "ElementStyles"
3504
- }
3505
- },
3506
- "parameters": [
3507
- {
3508
- "name": "context",
3509
- "type": {
3510
- "text": "ElementDefinitionContext"
3511
- }
3512
- },
3513
- {
3514
- "name": "definition",
3515
- "type": {
3516
- "text": "FoundationElementDefinition"
3517
- }
3518
- }
3519
- ]
3520
- },
3521
- {
3522
- "kind": "function",
3523
- "name": "foundationActionsMenuStyles",
3677
+ "name": "foundationAccordionItemStyles",
3524
3678
  "return": {
3525
3679
  "type": {
3526
3680
  "text": "ElementStyles"
@@ -3545,282 +3699,157 @@
3545
3699
  "exports": [
3546
3700
  {
3547
3701
  "kind": "js",
3548
- "name": "actionsMenuBaseStyles",
3549
- "declaration": {
3550
- "name": "actionsMenuBaseStyles",
3551
- "module": "src/actions-menu/actions-menu.styles.ts"
3552
- }
3553
- },
3554
- {
3555
- "kind": "js",
3556
- "name": "foundationActionsMenuStyles",
3702
+ "name": "foundationAccordionItemStyles",
3557
3703
  "declaration": {
3558
- "name": "foundationActionsMenuStyles",
3559
- "module": "src/actions-menu/actions-menu.styles.ts"
3704
+ "name": "foundationAccordionItemStyles",
3705
+ "module": "src/accordion-item/accordion-item.styles.ts"
3560
3706
  }
3561
3707
  }
3562
3708
  ]
3563
3709
  },
3564
3710
  {
3565
3711
  "kind": "javascript-module",
3566
- "path": "src/actions-menu/actions-menu.template.ts",
3712
+ "path": "src/accordion-item/accordion-item.template.ts",
3567
3713
  "declarations": [
3568
3714
  {
3569
3715
  "kind": "function",
3570
- "name": "menuTemplate",
3716
+ "name": "foundationAccordionItemTemplate",
3717
+ "return": {
3718
+ "type": {
3719
+ "text": "ViewTemplate<AccordionItem>"
3720
+ }
3721
+ },
3571
3722
  "parameters": [
3572
3723
  {
3573
- "name": "prefix",
3724
+ "name": "context",
3574
3725
  "type": {
3575
- "text": "string"
3726
+ "text": "ElementDefinitionContext"
3576
3727
  }
3577
- }
3578
- ]
3579
- },
3580
- {
3581
- "kind": "function",
3582
- "name": "singleOptionTemplate",
3583
- "parameters": [
3728
+ },
3584
3729
  {
3585
- "name": "prefix",
3730
+ "name": "definition",
3586
3731
  "type": {
3587
- "text": "string"
3732
+ "text": "FoundationElementDefinition"
3588
3733
  }
3589
3734
  }
3590
3735
  ]
3591
- },
3592
- {
3593
- "kind": "variable",
3594
- "name": "foundationActionsMenuTemplate",
3595
- "type": {
3596
- "text": "ViewTemplate<ActionsMenu>"
3597
- },
3598
- "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`"
3599
3736
  }
3600
3737
  ],
3601
3738
  "exports": [
3602
3739
  {
3603
3740
  "kind": "js",
3604
- "name": "menuTemplate",
3605
- "declaration": {
3606
- "name": "menuTemplate",
3607
- "module": "src/actions-menu/actions-menu.template.ts"
3608
- }
3609
- },
3610
- {
3611
- "kind": "js",
3612
- "name": "singleOptionTemplate",
3613
- "declaration": {
3614
- "name": "singleOptionTemplate",
3615
- "module": "src/actions-menu/actions-menu.template.ts"
3616
- }
3617
- },
3618
- {
3619
- "kind": "js",
3620
- "name": "foundationActionsMenuTemplate",
3741
+ "name": "foundationAccordionItemTemplate",
3621
3742
  "declaration": {
3622
- "name": "foundationActionsMenuTemplate",
3623
- "module": "src/actions-menu/actions-menu.template.ts"
3743
+ "name": "foundationAccordionItemTemplate",
3744
+ "module": "src/accordion-item/accordion-item.template.ts"
3624
3745
  }
3625
3746
  }
3626
3747
  ]
3627
3748
  },
3628
3749
  {
3629
3750
  "kind": "javascript-module",
3630
- "path": "src/actions-menu/actions-menu.ts",
3751
+ "path": "src/accordion-item/accordion-item.ts",
3631
3752
  "declarations": [
3632
3753
  {
3633
3754
  "kind": "class",
3634
3755
  "description": "",
3635
- "name": "ActionsMenu",
3636
- "members": [
3637
- {
3638
- "kind": "field",
3639
- "name": "actions",
3640
- "type": {
3641
- "text": "ActionMenuItem[]"
3642
- }
3643
- },
3644
- {
3645
- "kind": "field",
3646
- "name": "isVertical",
3647
- "type": {
3648
- "text": "boolean"
3649
- },
3650
- "default": "false"
3651
- },
3756
+ "name": "AccordionItem",
3757
+ "superclass": {
3758
+ "name": "FASTAccordionItem",
3759
+ "package": "@microsoft/fast-components"
3760
+ },
3761
+ "tagName": "%%prefix%%-accordion-item",
3762
+ "customElement": true,
3763
+ "attributes": [
3652
3764
  {
3653
- "kind": "field",
3654
- "name": "addDefaultActions",
3765
+ "name": "heading-level",
3655
3766
  "type": {
3656
- "text": "boolean"
3767
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3657
3768
  },
3658
- "default": "true"
3769
+ "default": "2",
3770
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3771
+ "fieldName": "headinglevel",
3772
+ "inheritedFrom": {
3773
+ "name": "AccordionItem",
3774
+ "module": "src/accordion-item/accordion-item.ts"
3775
+ }
3659
3776
  },
3660
3777
  {
3661
- "kind": "field",
3662
- "name": "autoCloseOnAction",
3663
3778
  "type": {
3664
3779
  "text": "boolean"
3665
3780
  },
3666
- "default": "true"
3667
- },
3668
- {
3669
- "kind": "field",
3670
- "name": "classNames",
3671
- "type": {
3672
- "text": "string"
3673
- }
3674
- },
3675
- {
3676
- "kind": "field",
3677
- "name": "definition",
3678
- "type": {
3679
- "text": "any"
3781
+ "default": "false",
3782
+ "description": "Expands or collapses the item.",
3783
+ "fieldName": "expanded",
3784
+ "inheritedFrom": {
3785
+ "name": "AccordionItem",
3786
+ "module": "src/accordion-item/accordion-item.ts"
3680
3787
  }
3681
3788
  },
3682
3789
  {
3683
- "kind": "field",
3684
- "name": "name",
3790
+ "name": "id",
3685
3791
  "type": {
3686
3792
  "text": "string"
3687
3793
  },
3688
- "default": "'Actions'"
3689
- },
3794
+ "description": "The item ID",
3795
+ "fieldName": "id",
3796
+ "inheritedFrom": {
3797
+ "name": "AccordionItem",
3798
+ "module": "src/accordion-item/accordion-item.ts"
3799
+ }
3800
+ }
3801
+ ],
3802
+ "members": [
3690
3803
  {
3691
3804
  "kind": "field",
3692
- "name": "open",
3805
+ "name": "headinglevel",
3693
3806
  "type": {
3694
- "text": "boolean"
3807
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3695
3808
  },
3696
- "default": "false"
3697
- },
3698
- {
3699
- "kind": "field",
3700
- "name": "buttonAppearance",
3701
- "type": {
3702
- "text": "string"
3809
+ "privacy": "public",
3810
+ "default": "2",
3811
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3812
+ "inheritedFrom": {
3813
+ "name": "AccordionItem",
3814
+ "module": "src/accordion-item/accordion-item.ts"
3703
3815
  }
3704
3816
  },
3705
3817
  {
3706
3818
  "kind": "field",
3707
- "name": "hideDisabled",
3819
+ "name": "expanded",
3708
3820
  "type": {
3709
3821
  "text": "boolean"
3710
3822
  },
3711
- "default": "false"
3823
+ "privacy": "public",
3824
+ "default": "false",
3825
+ "description": "Expands or collapses the item.",
3826
+ "inheritedFrom": {
3827
+ "name": "AccordionItem",
3828
+ "module": "src/accordion-item/accordion-item.ts"
3829
+ }
3712
3830
  },
3713
3831
  {
3714
3832
  "kind": "field",
3715
- "name": "hideMenuSingleOption",
3833
+ "name": "id",
3716
3834
  "type": {
3717
- "text": "boolean"
3835
+ "text": "string"
3718
3836
  },
3719
- "default": "false"
3720
- },
3721
- {
3722
- "kind": "field",
3723
- "name": "singleOption",
3724
- "type": {
3725
- "text": "ActionMenuItem"
3837
+ "privacy": "public",
3838
+ "description": "The item ID",
3839
+ "inheritedFrom": {
3840
+ "name": "AccordionItem",
3841
+ "module": "src/accordion-item/accordion-item.ts"
3726
3842
  }
3727
3843
  },
3728
3844
  {
3729
3845
  "kind": "field",
3730
- "name": "actionsMenu",
3731
- "type": {
3732
- "text": "HTMLElement"
3846
+ "name": "change",
3847
+ "privacy": "private",
3848
+ "inheritedFrom": {
3849
+ "name": "AccordionItem",
3850
+ "module": "src/accordion-item/accordion-item.ts"
3733
3851
  }
3734
3852
  },
3735
- {
3736
- "kind": "field",
3737
- "name": "actionsOpener",
3738
- "type": {
3739
- "text": "HTMLElement"
3740
- }
3741
- },
3742
- {
3743
- "kind": "method",
3744
- "name": "updateMenuPosition",
3745
- "privacy": "private"
3746
- },
3747
- {
3748
- "kind": "method",
3749
- "name": "definitionChanged",
3750
- "privacy": "protected",
3751
- "parameters": [
3752
- {
3753
- "name": "oldValue",
3754
- "type": {
3755
- "text": "any"
3756
- }
3757
- },
3758
- {
3759
- "name": "newValue",
3760
- "type": {
3761
- "text": "any"
3762
- }
3763
- }
3764
- ]
3765
- },
3766
- {
3767
- "kind": "method",
3768
- "name": "openChanged",
3769
- "privacy": "protected"
3770
- },
3771
- {
3772
- "kind": "method",
3773
- "name": "toggleActionsMenuVisibility"
3774
- },
3775
- {
3776
- "kind": "method",
3777
- "name": "onActionMenuItemClick",
3778
- "parameters": [
3779
- {
3780
- "name": "callback",
3781
- "type": {
3782
- "text": "(rowData) => void | any"
3783
- }
3784
- }
3785
- ]
3786
- },
3787
- {
3788
- "kind": "field",
3789
- "name": "allActions",
3790
- "type": {
3791
- "text": "ActionMenuItem[]"
3792
- },
3793
- "readonly": true
3794
- },
3795
- {
3796
- "kind": "field",
3797
- "name": "rowData",
3798
- "readonly": true
3799
- },
3800
- {
3801
- "kind": "method",
3802
- "name": "getLabel",
3803
- "parameters": [
3804
- {
3805
- "name": "name",
3806
- "type": {
3807
- "text": "string | ((rowData: any) => string)"
3808
- }
3809
- }
3810
- ]
3811
- },
3812
- {
3813
- "kind": "method",
3814
- "name": "getTemplate",
3815
- "parameters": [
3816
- {
3817
- "name": "prefix",
3818
- "type": {
3819
- "text": "string"
3820
- }
3821
- }
3822
- ]
3823
- },
3824
3853
  {
3825
3854
  "kind": "field",
3826
3855
  "name": "_presentation",
@@ -3933,107 +3962,78 @@
3933
3962
  }
3934
3963
  }
3935
3964
  ],
3936
- "attributes": [
3937
- {
3938
- "name": "is-vertical",
3939
- "type": {
3940
- "text": "boolean"
3941
- },
3942
- "default": "false",
3943
- "fieldName": "isVertical"
3944
- },
3945
- {
3946
- "name": "add-default-actions",
3947
- "type": {
3948
- "text": "boolean"
3949
- },
3950
- "default": "true",
3951
- "fieldName": "addDefaultActions"
3952
- },
3953
- {
3954
- "name": "auto-close-on-action",
3955
- "type": {
3956
- "text": "boolean"
3957
- },
3958
- "default": "true",
3959
- "fieldName": "autoCloseOnAction"
3960
- },
3961
- {
3962
- "name": "name",
3963
- "type": {
3964
- "text": "string"
3965
- },
3966
- "default": "'Actions'",
3967
- "fieldName": "name"
3968
- },
3969
- {
3970
- "name": "open",
3971
- "type": {
3972
- "text": "boolean"
3973
- },
3974
- "default": "false",
3975
- "fieldName": "open"
3976
- },
3977
- {
3978
- "name": "buttonAppearance",
3979
- "type": {
3980
- "text": "string"
3981
- },
3982
- "fieldName": "buttonAppearance"
3983
- },
3984
- {
3985
- "name": "hide-disabled",
3986
- "type": {
3987
- "text": "boolean"
3988
- },
3989
- "default": "false",
3990
- "fieldName": "hideDisabled"
3991
- },
3965
+ "events": [
3992
3966
  {
3993
- "name": "hide-menu-single-option",
3994
- "type": {
3995
- "text": "boolean"
3996
- },
3997
- "default": "false",
3998
- "fieldName": "hideMenuSingleOption"
3967
+ "description": "Fires a custom 'change' event when the button is invoked",
3968
+ "name": "change",
3969
+ "inheritedFrom": {
3970
+ "name": "AccordionItem",
3971
+ "module": "src/accordion-item/accordion-item.ts"
3972
+ }
3999
3973
  }
4000
- ],
4001
- "superclass": {
4002
- "name": "FoundationElement",
4003
- "package": "@microsoft/fast-foundation"
3974
+ ]
3975
+ },
3976
+ {
3977
+ "kind": "variable",
3978
+ "name": "foundationAccordionItemShadowOptions",
3979
+ "type": {
3980
+ "text": "ShadowRootInit"
4004
3981
  },
4005
- "tagName": "%%prefix%%-actions-menu",
4006
- "customElement": true
3982
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4007
3983
  },
4008
3984
  {
4009
3985
  "kind": "variable",
4010
- "name": "foundationActionsMenu",
4011
- "description": "The Foundation Actions Menu",
3986
+ "name": "defaultAccordionItemConfig",
3987
+ "type": {
3988
+ "text": "object"
3989
+ },
3990
+ "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}"
3991
+ },
3992
+ {
3993
+ "kind": "variable",
3994
+ "name": "foundationAccordionItem",
3995
+ "description": "The Foundation Accordion Item",
4012
3996
  "privacy": "public"
4013
3997
  }
4014
3998
  ],
4015
3999
  "exports": [
4016
4000
  {
4017
4001
  "kind": "js",
4018
- "name": "ActionsMenu",
4002
+ "name": "AccordionItem",
4019
4003
  "declaration": {
4020
- "name": "ActionsMenu",
4021
- "module": "src/actions-menu/actions-menu.ts"
4004
+ "name": "AccordionItem",
4005
+ "module": "src/accordion-item/accordion-item.ts"
4022
4006
  }
4023
4007
  },
4024
4008
  {
4025
4009
  "kind": "js",
4026
- "name": "foundationActionsMenu",
4010
+ "name": "foundationAccordionItemShadowOptions",
4027
4011
  "declaration": {
4028
- "name": "foundationActionsMenu",
4029
- "module": "src/actions-menu/actions-menu.ts"
4012
+ "name": "foundationAccordionItemShadowOptions",
4013
+ "module": "src/accordion-item/accordion-item.ts"
4014
+ }
4015
+ },
4016
+ {
4017
+ "kind": "js",
4018
+ "name": "defaultAccordionItemConfig",
4019
+ "declaration": {
4020
+ "name": "defaultAccordionItemConfig",
4021
+ "module": "src/accordion-item/accordion-item.ts"
4022
+ }
4023
+ },
4024
+ {
4025
+ "kind": "js",
4026
+ "name": "foundationAccordionItem",
4027
+ "declaration": {
4028
+ "name": "foundationAccordionItem",
4029
+ "module": "src/accordion-item/accordion-item.ts"
4030
4030
  }
4031
4031
  }
4032
4032
  ]
4033
4033
  },
4034
4034
  {
4035
4035
  "kind": "javascript-module",
4036
- "path": "src/actions-menu/index.ts",
4036
+ "path": "src/accordion-item/index.ts",
4037
4037
  "declarations": [],
4038
4038
  "exports": [
4039
4039
  {
@@ -4041,7 +4041,7 @@
4041
4041
  "name": "*",
4042
4042
  "declaration": {
4043
4043
  "name": "*",
4044
- "package": "./actions-menu.styles"
4044
+ "package": "./accordion-item.template"
4045
4045
  }
4046
4046
  },
4047
4047
  {
@@ -4049,7 +4049,7 @@
4049
4049
  "name": "*",
4050
4050
  "declaration": {
4051
4051
  "name": "*",
4052
- "package": "./actions-menu.template"
4052
+ "package": "./accordion-item.styles"
4053
4053
  }
4054
4054
  },
4055
4055
  {
@@ -4057,7 +4057,7 @@
4057
4057
  "name": "*",
4058
4058
  "declaration": {
4059
4059
  "name": "*",
4060
- "package": "./actions-menu"
4060
+ "package": "./accordion-item"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -50484,14 +50484,6 @@
50484
50484
  "text": "boolean"
50485
50485
  }
50486
50486
  },
50487
- {
50488
- "kind": "field",
50489
- "name": "hideProgress",
50490
- "type": {
50491
- "text": "boolean"
50492
- },
50493
- "default": "false"
50494
- },
50495
50487
  {
50496
50488
  "kind": "field",
50497
50489
  "name": "hideStepNumber",
@@ -51029,14 +51021,6 @@
51029
51021
  },
51030
51022
  "fieldName": "hideSubmitButton"
51031
51023
  },
51032
- {
51033
- "name": "hide-progress",
51034
- "type": {
51035
- "text": "boolean"
51036
- },
51037
- "default": "false",
51038
- "fieldName": "hideProgress"
51039
- },
51040
51024
  {
51041
51025
  "name": "hide-step-number",
51042
51026
  "type": {