@genesislcap/foundation-ui 15.46.3 → 15.46.4

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.
@@ -1493,6 +1493,37 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
+ {
1497
+ "kind": "javascript-module",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1496
1527
  {
1497
1528
  "kind": "javascript-module",
1498
1529
  "path": "src/accordion/accordion.styles.ts",
@@ -2010,65 +2041,11 @@
2010
2041
  },
2011
2042
  {
2012
2043
  "kind": "javascript-module",
2013
- "path": "src/_config/index.ts",
2014
- "declarations": [],
2015
- "exports": [
2016
- {
2017
- "kind": "js",
2018
- "name": "*",
2019
- "declaration": {
2020
- "name": "*",
2021
- "package": "./styles"
2022
- }
2023
- },
2024
- {
2025
- "kind": "js",
2026
- "name": "*",
2027
- "declaration": {
2028
- "name": "*",
2029
- "package": "./tokens"
2030
- }
2031
- },
2032
- {
2033
- "kind": "js",
2034
- "name": "*",
2035
- "declaration": {
2036
- "name": "*",
2037
- "package": "./values"
2038
- }
2039
- }
2040
- ]
2041
- },
2042
- {
2043
- "kind": "javascript-module",
2044
- "path": "src/actions-menu/actions-menu.styles.ts",
2044
+ "path": "src/accordion-item/accordion-item.styles.ts",
2045
2045
  "declarations": [
2046
2046
  {
2047
2047
  "kind": "function",
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",
2048
+ "name": "foundationAccordionItemStyles",
2072
2049
  "return": {
2073
2050
  "type": {
2074
2051
  "text": "ElementStyles"
@@ -2093,282 +2070,157 @@
2093
2070
  "exports": [
2094
2071
  {
2095
2072
  "kind": "js",
2096
- "name": "actionsMenuBaseStyles",
2097
- "declaration": {
2098
- "name": "actionsMenuBaseStyles",
2099
- "module": "src/actions-menu/actions-menu.styles.ts"
2100
- }
2101
- },
2102
- {
2103
- "kind": "js",
2104
- "name": "foundationActionsMenuStyles",
2073
+ "name": "foundationAccordionItemStyles",
2105
2074
  "declaration": {
2106
- "name": "foundationActionsMenuStyles",
2107
- "module": "src/actions-menu/actions-menu.styles.ts"
2075
+ "name": "foundationAccordionItemStyles",
2076
+ "module": "src/accordion-item/accordion-item.styles.ts"
2108
2077
  }
2109
2078
  }
2110
2079
  ]
2111
2080
  },
2112
2081
  {
2113
2082
  "kind": "javascript-module",
2114
- "path": "src/actions-menu/actions-menu.template.ts",
2083
+ "path": "src/accordion-item/accordion-item.template.ts",
2115
2084
  "declarations": [
2116
2085
  {
2117
2086
  "kind": "function",
2118
- "name": "menuTemplate",
2087
+ "name": "foundationAccordionItemTemplate",
2088
+ "return": {
2089
+ "type": {
2090
+ "text": "ViewTemplate<AccordionItem>"
2091
+ }
2092
+ },
2119
2093
  "parameters": [
2120
2094
  {
2121
- "name": "prefix",
2095
+ "name": "context",
2122
2096
  "type": {
2123
- "text": "string"
2097
+ "text": "ElementDefinitionContext"
2124
2098
  }
2125
- }
2126
- ]
2127
- },
2128
- {
2129
- "kind": "function",
2130
- "name": "singleOptionTemplate",
2131
- "parameters": [
2099
+ },
2132
2100
  {
2133
- "name": "prefix",
2101
+ "name": "definition",
2134
2102
  "type": {
2135
- "text": "string"
2103
+ "text": "FoundationElementDefinition"
2136
2104
  }
2137
2105
  }
2138
2106
  ]
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`"
2147
2107
  }
2148
2108
  ],
2149
2109
  "exports": [
2150
2110
  {
2151
2111
  "kind": "js",
2152
- "name": "menuTemplate",
2153
- "declaration": {
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",
2112
+ "name": "foundationAccordionItemTemplate",
2169
2113
  "declaration": {
2170
- "name": "foundationActionsMenuTemplate",
2171
- "module": "src/actions-menu/actions-menu.template.ts"
2114
+ "name": "foundationAccordionItemTemplate",
2115
+ "module": "src/accordion-item/accordion-item.template.ts"
2172
2116
  }
2173
2117
  }
2174
2118
  ]
2175
2119
  },
2176
2120
  {
2177
2121
  "kind": "javascript-module",
2178
- "path": "src/actions-menu/actions-menu.ts",
2122
+ "path": "src/accordion-item/accordion-item.ts",
2179
2123
  "declarations": [
2180
2124
  {
2181
2125
  "kind": "class",
2182
2126
  "description": "",
2183
- "name": "ActionsMenu",
2184
- "members": [
2185
- {
2186
- "kind": "field",
2187
- "name": "actions",
2188
- "type": {
2189
- "text": "ActionMenuItem[]"
2190
- }
2191
- },
2192
- {
2193
- "kind": "field",
2194
- "name": "isVertical",
2195
- "type": {
2196
- "text": "boolean"
2197
- },
2198
- "default": "false"
2199
- },
2127
+ "name": "AccordionItem",
2128
+ "superclass": {
2129
+ "name": "FASTAccordionItem",
2130
+ "package": "@microsoft/fast-components"
2131
+ },
2132
+ "tagName": "%%prefix%%-accordion-item",
2133
+ "customElement": true,
2134
+ "attributes": [
2200
2135
  {
2201
- "kind": "field",
2202
- "name": "addDefaultActions",
2136
+ "name": "heading-level",
2203
2137
  "type": {
2204
- "text": "boolean"
2138
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2205
2139
  },
2206
- "default": "true"
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"
2146
+ }
2207
2147
  },
2208
2148
  {
2209
- "kind": "field",
2210
- "name": "autoCloseOnAction",
2211
2149
  "type": {
2212
2150
  "text": "boolean"
2213
2151
  },
2214
- "default": "true"
2215
- },
2216
- {
2217
- "kind": "field",
2218
- "name": "classNames",
2219
- "type": {
2220
- "text": "string"
2221
- }
2222
- },
2223
- {
2224
- "kind": "field",
2225
- "name": "definition",
2226
- "type": {
2227
- "text": "any"
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"
2228
2158
  }
2229
2159
  },
2230
2160
  {
2231
- "kind": "field",
2232
- "name": "name",
2161
+ "name": "id",
2233
2162
  "type": {
2234
2163
  "text": "string"
2235
2164
  },
2236
- "default": "'Actions'"
2237
- },
2238
- {
2239
- "kind": "field",
2240
- "name": "open",
2241
- "type": {
2242
- "text": "boolean"
2243
- },
2244
- "default": "false"
2245
- },
2246
- {
2247
- "kind": "field",
2248
- "name": "buttonAppearance",
2249
- "type": {
2250
- "text": "string"
2165
+ "description": "The item ID",
2166
+ "fieldName": "id",
2167
+ "inheritedFrom": {
2168
+ "name": "AccordionItem",
2169
+ "module": "src/accordion-item/accordion-item.ts"
2251
2170
  }
2252
- },
2171
+ }
2172
+ ],
2173
+ "members": [
2253
2174
  {
2254
2175
  "kind": "field",
2255
- "name": "hideDisabled",
2176
+ "name": "headinglevel",
2256
2177
  "type": {
2257
- "text": "boolean"
2178
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2258
2179
  },
2259
- "default": "false"
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"
2186
+ }
2260
2187
  },
2261
2188
  {
2262
2189
  "kind": "field",
2263
- "name": "hideMenuSingleOption",
2190
+ "name": "expanded",
2264
2191
  "type": {
2265
2192
  "text": "boolean"
2266
2193
  },
2267
- "default": "false"
2268
- },
2269
- {
2270
- "kind": "field",
2271
- "name": "singleOption",
2272
- "type": {
2273
- "text": "ActionMenuItem"
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"
2274
2200
  }
2275
2201
  },
2276
2202
  {
2277
2203
  "kind": "field",
2278
- "name": "actionsMenu",
2204
+ "name": "id",
2279
2205
  "type": {
2280
- "text": "HTMLElement"
2206
+ "text": "string"
2207
+ },
2208
+ "privacy": "public",
2209
+ "description": "The item ID",
2210
+ "inheritedFrom": {
2211
+ "name": "AccordionItem",
2212
+ "module": "src/accordion-item/accordion-item.ts"
2281
2213
  }
2282
2214
  },
2283
2215
  {
2284
2216
  "kind": "field",
2285
- "name": "actionsOpener",
2286
- "type": {
2287
- "text": "HTMLElement"
2217
+ "name": "change",
2218
+ "privacy": "private",
2219
+ "inheritedFrom": {
2220
+ "name": "AccordionItem",
2221
+ "module": "src/accordion-item/accordion-item.ts"
2288
2222
  }
2289
2223
  },
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
- },
2372
2224
  {
2373
2225
  "kind": "field",
2374
2226
  "name": "_presentation",
@@ -2481,107 +2333,78 @@
2481
2333
  }
2482
2334
  }
2483
2335
  ],
2484
- "attributes": [
2485
- {
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
- },
2336
+ "events": [
2540
2337
  {
2541
- "name": "hide-menu-single-option",
2542
- "type": {
2543
- "text": "boolean"
2544
- },
2545
- "default": "false",
2546
- "fieldName": "hideMenuSingleOption"
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
+ }
2547
2344
  }
2548
- ],
2549
- "superclass": {
2550
- "name": "FoundationElement",
2551
- "package": "@microsoft/fast-foundation"
2345
+ ]
2346
+ },
2347
+ {
2348
+ "kind": "variable",
2349
+ "name": "foundationAccordionItemShadowOptions",
2350
+ "type": {
2351
+ "text": "ShadowRootInit"
2552
2352
  },
2553
- "tagName": "%%prefix%%-actions-menu",
2554
- "customElement": true
2353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2555
2354
  },
2556
2355
  {
2557
2356
  "kind": "variable",
2558
- "name": "foundationActionsMenu",
2559
- "description": "The Foundation Actions Menu",
2357
+ "name": "defaultAccordionItemConfig",
2358
+ "type": {
2359
+ "text": "object"
2360
+ },
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}"
2362
+ },
2363
+ {
2364
+ "kind": "variable",
2365
+ "name": "foundationAccordionItem",
2366
+ "description": "The Foundation Accordion Item",
2560
2367
  "privacy": "public"
2561
2368
  }
2562
2369
  ],
2563
2370
  "exports": [
2564
2371
  {
2565
2372
  "kind": "js",
2566
- "name": "ActionsMenu",
2373
+ "name": "AccordionItem",
2567
2374
  "declaration": {
2568
- "name": "ActionsMenu",
2569
- "module": "src/actions-menu/actions-menu.ts"
2375
+ "name": "AccordionItem",
2376
+ "module": "src/accordion-item/accordion-item.ts"
2570
2377
  }
2571
2378
  },
2572
2379
  {
2573
2380
  "kind": "js",
2574
- "name": "foundationActionsMenu",
2381
+ "name": "foundationAccordionItemShadowOptions",
2575
2382
  "declaration": {
2576
- "name": "foundationActionsMenu",
2577
- "module": "src/actions-menu/actions-menu.ts"
2383
+ "name": "foundationAccordionItemShadowOptions",
2384
+ "module": "src/accordion-item/accordion-item.ts"
2385
+ }
2386
+ },
2387
+ {
2388
+ "kind": "js",
2389
+ "name": "defaultAccordionItemConfig",
2390
+ "declaration": {
2391
+ "name": "defaultAccordionItemConfig",
2392
+ "module": "src/accordion-item/accordion-item.ts"
2393
+ }
2394
+ },
2395
+ {
2396
+ "kind": "js",
2397
+ "name": "foundationAccordionItem",
2398
+ "declaration": {
2399
+ "name": "foundationAccordionItem",
2400
+ "module": "src/accordion-item/accordion-item.ts"
2578
2401
  }
2579
2402
  }
2580
2403
  ]
2581
2404
  },
2582
2405
  {
2583
2406
  "kind": "javascript-module",
2584
- "path": "src/actions-menu/index.ts",
2407
+ "path": "src/accordion-item/index.ts",
2585
2408
  "declarations": [],
2586
2409
  "exports": [
2587
2410
  {
@@ -2589,7 +2412,7 @@
2589
2412
  "name": "*",
2590
2413
  "declaration": {
2591
2414
  "name": "*",
2592
- "package": "./actions-menu.styles"
2415
+ "package": "./accordion-item.template"
2593
2416
  }
2594
2417
  },
2595
2418
  {
@@ -2597,7 +2420,7 @@
2597
2420
  "name": "*",
2598
2421
  "declaration": {
2599
2422
  "name": "*",
2600
- "package": "./actions-menu.template"
2423
+ "package": "./accordion-item.styles"
2601
2424
  }
2602
2425
  },
2603
2426
  {
@@ -2605,18 +2428,41 @@
2605
2428
  "name": "*",
2606
2429
  "declaration": {
2607
2430
  "name": "*",
2608
- "package": "./actions-menu"
2431
+ "package": "./accordion-item"
2609
2432
  }
2610
2433
  }
2611
2434
  ]
2612
2435
  },
2613
2436
  {
2614
2437
  "kind": "javascript-module",
2615
- "path": "src/accordion-item/accordion-item.styles.ts",
2438
+ "path": "src/actions-menu/actions-menu.styles.ts",
2616
2439
  "declarations": [
2617
2440
  {
2618
2441
  "kind": "function",
2619
- "name": "foundationAccordionItemStyles",
2442
+ "name": "actionsMenuBaseStyles",
2443
+ "return": {
2444
+ "type": {
2445
+ "text": "ElementStyles"
2446
+ }
2447
+ },
2448
+ "parameters": [
2449
+ {
2450
+ "name": "context",
2451
+ "type": {
2452
+ "text": "ElementDefinitionContext"
2453
+ }
2454
+ },
2455
+ {
2456
+ "name": "definition",
2457
+ "type": {
2458
+ "text": "FoundationElementDefinition"
2459
+ }
2460
+ }
2461
+ ]
2462
+ },
2463
+ {
2464
+ "kind": "function",
2465
+ "name": "foundationActionsMenuStyles",
2620
2466
  "return": {
2621
2467
  "type": {
2622
2468
  "text": "ElementStyles"
@@ -2641,157 +2487,282 @@
2641
2487
  "exports": [
2642
2488
  {
2643
2489
  "kind": "js",
2644
- "name": "foundationAccordionItemStyles",
2490
+ "name": "actionsMenuBaseStyles",
2645
2491
  "declaration": {
2646
- "name": "foundationAccordionItemStyles",
2647
- "module": "src/accordion-item/accordion-item.styles.ts"
2492
+ "name": "actionsMenuBaseStyles",
2493
+ "module": "src/actions-menu/actions-menu.styles.ts"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "js",
2498
+ "name": "foundationActionsMenuStyles",
2499
+ "declaration": {
2500
+ "name": "foundationActionsMenuStyles",
2501
+ "module": "src/actions-menu/actions-menu.styles.ts"
2648
2502
  }
2649
2503
  }
2650
2504
  ]
2651
2505
  },
2652
2506
  {
2653
2507
  "kind": "javascript-module",
2654
- "path": "src/accordion-item/accordion-item.template.ts",
2508
+ "path": "src/actions-menu/actions-menu.template.ts",
2655
2509
  "declarations": [
2656
2510
  {
2657
2511
  "kind": "function",
2658
- "name": "foundationAccordionItemTemplate",
2659
- "return": {
2660
- "type": {
2661
- "text": "ViewTemplate<AccordionItem>"
2662
- }
2663
- },
2512
+ "name": "menuTemplate",
2664
2513
  "parameters": [
2665
2514
  {
2666
- "name": "context",
2515
+ "name": "prefix",
2667
2516
  "type": {
2668
- "text": "ElementDefinitionContext"
2517
+ "text": "string"
2669
2518
  }
2670
- },
2519
+ }
2520
+ ]
2521
+ },
2522
+ {
2523
+ "kind": "function",
2524
+ "name": "singleOptionTemplate",
2525
+ "parameters": [
2671
2526
  {
2672
- "name": "definition",
2527
+ "name": "prefix",
2673
2528
  "type": {
2674
- "text": "FoundationElementDefinition"
2529
+ "text": "string"
2675
2530
  }
2676
2531
  }
2677
2532
  ]
2533
+ },
2534
+ {
2535
+ "kind": "variable",
2536
+ "name": "foundationActionsMenuTemplate",
2537
+ "type": {
2538
+ "text": "ViewTemplate<ActionsMenu>"
2539
+ },
2540
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2678
2541
  }
2679
2542
  ],
2680
2543
  "exports": [
2681
2544
  {
2682
2545
  "kind": "js",
2683
- "name": "foundationAccordionItemTemplate",
2546
+ "name": "menuTemplate",
2684
2547
  "declaration": {
2685
- "name": "foundationAccordionItemTemplate",
2686
- "module": "src/accordion-item/accordion-item.template.ts"
2548
+ "name": "menuTemplate",
2549
+ "module": "src/actions-menu/actions-menu.template.ts"
2550
+ }
2551
+ },
2552
+ {
2553
+ "kind": "js",
2554
+ "name": "singleOptionTemplate",
2555
+ "declaration": {
2556
+ "name": "singleOptionTemplate",
2557
+ "module": "src/actions-menu/actions-menu.template.ts"
2558
+ }
2559
+ },
2560
+ {
2561
+ "kind": "js",
2562
+ "name": "foundationActionsMenuTemplate",
2563
+ "declaration": {
2564
+ "name": "foundationActionsMenuTemplate",
2565
+ "module": "src/actions-menu/actions-menu.template.ts"
2687
2566
  }
2688
2567
  }
2689
2568
  ]
2690
2569
  },
2691
2570
  {
2692
2571
  "kind": "javascript-module",
2693
- "path": "src/accordion-item/accordion-item.ts",
2572
+ "path": "src/actions-menu/actions-menu.ts",
2694
2573
  "declarations": [
2695
2574
  {
2696
2575
  "kind": "class",
2697
2576
  "description": "",
2698
- "name": "AccordionItem",
2699
- "superclass": {
2700
- "name": "FASTAccordionItem",
2701
- "package": "@microsoft/fast-components"
2702
- },
2703
- "tagName": "%%prefix%%-accordion-item",
2704
- "customElement": true,
2705
- "attributes": [
2577
+ "name": "ActionsMenu",
2578
+ "members": [
2706
2579
  {
2707
- "name": "heading-level",
2580
+ "kind": "field",
2581
+ "name": "actions",
2708
2582
  "type": {
2709
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2710
- },
2711
- "default": "2",
2712
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2713
- "fieldName": "headinglevel",
2714
- "inheritedFrom": {
2715
- "name": "AccordionItem",
2716
- "module": "src/accordion-item/accordion-item.ts"
2583
+ "text": "ActionMenuItem[]"
2717
2584
  }
2718
2585
  },
2719
2586
  {
2587
+ "kind": "field",
2588
+ "name": "isVertical",
2720
2589
  "type": {
2721
2590
  "text": "boolean"
2722
2591
  },
2723
- "default": "false",
2724
- "description": "Expands or collapses the item.",
2725
- "fieldName": "expanded",
2726
- "inheritedFrom": {
2727
- "name": "AccordionItem",
2728
- "module": "src/accordion-item/accordion-item.ts"
2592
+ "default": "false"
2593
+ },
2594
+ {
2595
+ "kind": "field",
2596
+ "name": "addDefaultActions",
2597
+ "type": {
2598
+ "text": "boolean"
2599
+ },
2600
+ "default": "true"
2601
+ },
2602
+ {
2603
+ "kind": "field",
2604
+ "name": "autoCloseOnAction",
2605
+ "type": {
2606
+ "text": "boolean"
2607
+ },
2608
+ "default": "true"
2609
+ },
2610
+ {
2611
+ "kind": "field",
2612
+ "name": "classNames",
2613
+ "type": {
2614
+ "text": "string"
2729
2615
  }
2730
2616
  },
2731
2617
  {
2732
- "name": "id",
2618
+ "kind": "field",
2619
+ "name": "definition",
2620
+ "type": {
2621
+ "text": "any"
2622
+ }
2623
+ },
2624
+ {
2625
+ "kind": "field",
2626
+ "name": "name",
2733
2627
  "type": {
2734
2628
  "text": "string"
2735
2629
  },
2736
- "description": "The item ID",
2737
- "fieldName": "id",
2738
- "inheritedFrom": {
2739
- "name": "AccordionItem",
2740
- "module": "src/accordion-item/accordion-item.ts"
2741
- }
2742
- }
2743
- ],
2744
- "members": [
2630
+ "default": "'Actions'"
2631
+ },
2745
2632
  {
2746
2633
  "kind": "field",
2747
- "name": "headinglevel",
2634
+ "name": "open",
2748
2635
  "type": {
2749
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2636
+ "text": "boolean"
2750
2637
  },
2751
- "privacy": "public",
2752
- "default": "2",
2753
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2754
- "inheritedFrom": {
2755
- "name": "AccordionItem",
2756
- "module": "src/accordion-item/accordion-item.ts"
2638
+ "default": "false"
2639
+ },
2640
+ {
2641
+ "kind": "field",
2642
+ "name": "buttonAppearance",
2643
+ "type": {
2644
+ "text": "string"
2757
2645
  }
2758
2646
  },
2759
2647
  {
2760
2648
  "kind": "field",
2761
- "name": "expanded",
2649
+ "name": "hideDisabled",
2762
2650
  "type": {
2763
2651
  "text": "boolean"
2764
2652
  },
2765
- "privacy": "public",
2766
- "default": "false",
2767
- "description": "Expands or collapses the item.",
2768
- "inheritedFrom": {
2769
- "name": "AccordionItem",
2770
- "module": "src/accordion-item/accordion-item.ts"
2771
- }
2653
+ "default": "false"
2772
2654
  },
2773
2655
  {
2774
2656
  "kind": "field",
2775
- "name": "id",
2657
+ "name": "hideMenuSingleOption",
2776
2658
  "type": {
2777
- "text": "string"
2659
+ "text": "boolean"
2778
2660
  },
2779
- "privacy": "public",
2780
- "description": "The item ID",
2781
- "inheritedFrom": {
2782
- "name": "AccordionItem",
2783
- "module": "src/accordion-item/accordion-item.ts"
2661
+ "default": "false"
2662
+ },
2663
+ {
2664
+ "kind": "field",
2665
+ "name": "singleOption",
2666
+ "type": {
2667
+ "text": "ActionMenuItem"
2784
2668
  }
2785
2669
  },
2786
2670
  {
2787
2671
  "kind": "field",
2788
- "name": "change",
2789
- "privacy": "private",
2790
- "inheritedFrom": {
2791
- "name": "AccordionItem",
2792
- "module": "src/accordion-item/accordion-item.ts"
2672
+ "name": "actionsMenu",
2673
+ "type": {
2674
+ "text": "HTMLElement"
2793
2675
  }
2794
2676
  },
2677
+ {
2678
+ "kind": "field",
2679
+ "name": "actionsOpener",
2680
+ "type": {
2681
+ "text": "HTMLElement"
2682
+ }
2683
+ },
2684
+ {
2685
+ "kind": "method",
2686
+ "name": "updateMenuPosition",
2687
+ "privacy": "private"
2688
+ },
2689
+ {
2690
+ "kind": "method",
2691
+ "name": "definitionChanged",
2692
+ "privacy": "protected",
2693
+ "parameters": [
2694
+ {
2695
+ "name": "oldValue",
2696
+ "type": {
2697
+ "text": "any"
2698
+ }
2699
+ },
2700
+ {
2701
+ "name": "newValue",
2702
+ "type": {
2703
+ "text": "any"
2704
+ }
2705
+ }
2706
+ ]
2707
+ },
2708
+ {
2709
+ "kind": "method",
2710
+ "name": "openChanged",
2711
+ "privacy": "protected"
2712
+ },
2713
+ {
2714
+ "kind": "method",
2715
+ "name": "toggleActionsMenuVisibility"
2716
+ },
2717
+ {
2718
+ "kind": "method",
2719
+ "name": "onActionMenuItemClick",
2720
+ "parameters": [
2721
+ {
2722
+ "name": "callback",
2723
+ "type": {
2724
+ "text": "(rowData) => void | any"
2725
+ }
2726
+ }
2727
+ ]
2728
+ },
2729
+ {
2730
+ "kind": "field",
2731
+ "name": "allActions",
2732
+ "type": {
2733
+ "text": "ActionMenuItem[]"
2734
+ },
2735
+ "readonly": true
2736
+ },
2737
+ {
2738
+ "kind": "field",
2739
+ "name": "rowData",
2740
+ "readonly": true
2741
+ },
2742
+ {
2743
+ "kind": "method",
2744
+ "name": "getLabel",
2745
+ "parameters": [
2746
+ {
2747
+ "name": "name",
2748
+ "type": {
2749
+ "text": "string | ((rowData: any) => string)"
2750
+ }
2751
+ }
2752
+ ]
2753
+ },
2754
+ {
2755
+ "kind": "method",
2756
+ "name": "getTemplate",
2757
+ "parameters": [
2758
+ {
2759
+ "name": "prefix",
2760
+ "type": {
2761
+ "text": "string"
2762
+ }
2763
+ }
2764
+ ]
2765
+ },
2795
2766
  {
2796
2767
  "kind": "field",
2797
2768
  "name": "_presentation",
@@ -2904,78 +2875,107 @@
2904
2875
  }
2905
2876
  }
2906
2877
  ],
2907
- "events": [
2878
+ "attributes": [
2908
2879
  {
2909
- "description": "Fires a custom 'change' event when the button is invoked",
2910
- "name": "change",
2911
- "inheritedFrom": {
2912
- "name": "AccordionItem",
2913
- "module": "src/accordion-item/accordion-item.ts"
2914
- }
2880
+ "name": "is-vertical",
2881
+ "type": {
2882
+ "text": "boolean"
2883
+ },
2884
+ "default": "false",
2885
+ "fieldName": "isVertical"
2886
+ },
2887
+ {
2888
+ "name": "add-default-actions",
2889
+ "type": {
2890
+ "text": "boolean"
2891
+ },
2892
+ "default": "true",
2893
+ "fieldName": "addDefaultActions"
2894
+ },
2895
+ {
2896
+ "name": "auto-close-on-action",
2897
+ "type": {
2898
+ "text": "boolean"
2899
+ },
2900
+ "default": "true",
2901
+ "fieldName": "autoCloseOnAction"
2902
+ },
2903
+ {
2904
+ "name": "name",
2905
+ "type": {
2906
+ "text": "string"
2907
+ },
2908
+ "default": "'Actions'",
2909
+ "fieldName": "name"
2910
+ },
2911
+ {
2912
+ "name": "open",
2913
+ "type": {
2914
+ "text": "boolean"
2915
+ },
2916
+ "default": "false",
2917
+ "fieldName": "open"
2918
+ },
2919
+ {
2920
+ "name": "buttonAppearance",
2921
+ "type": {
2922
+ "text": "string"
2923
+ },
2924
+ "fieldName": "buttonAppearance"
2925
+ },
2926
+ {
2927
+ "name": "hide-disabled",
2928
+ "type": {
2929
+ "text": "boolean"
2930
+ },
2931
+ "default": "false",
2932
+ "fieldName": "hideDisabled"
2933
+ },
2934
+ {
2935
+ "name": "hide-menu-single-option",
2936
+ "type": {
2937
+ "text": "boolean"
2938
+ },
2939
+ "default": "false",
2940
+ "fieldName": "hideMenuSingleOption"
2915
2941
  }
2916
- ]
2917
- },
2918
- {
2919
- "kind": "variable",
2920
- "name": "foundationAccordionItemShadowOptions",
2921
- "type": {
2922
- "text": "ShadowRootInit"
2923
- },
2924
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2925
- },
2926
- {
2927
- "kind": "variable",
2928
- "name": "defaultAccordionItemConfig",
2929
- "type": {
2930
- "text": "object"
2942
+ ],
2943
+ "superclass": {
2944
+ "name": "FoundationElement",
2945
+ "package": "@microsoft/fast-foundation"
2931
2946
  },
2932
- "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}"
2947
+ "tagName": "%%prefix%%-actions-menu",
2948
+ "customElement": true
2933
2949
  },
2934
2950
  {
2935
2951
  "kind": "variable",
2936
- "name": "foundationAccordionItem",
2937
- "description": "The Foundation Accordion Item",
2952
+ "name": "foundationActionsMenu",
2953
+ "description": "The Foundation Actions Menu",
2938
2954
  "privacy": "public"
2939
2955
  }
2940
2956
  ],
2941
2957
  "exports": [
2942
2958
  {
2943
2959
  "kind": "js",
2944
- "name": "AccordionItem",
2945
- "declaration": {
2946
- "name": "AccordionItem",
2947
- "module": "src/accordion-item/accordion-item.ts"
2948
- }
2949
- },
2950
- {
2951
- "kind": "js",
2952
- "name": "foundationAccordionItemShadowOptions",
2953
- "declaration": {
2954
- "name": "foundationAccordionItemShadowOptions",
2955
- "module": "src/accordion-item/accordion-item.ts"
2956
- }
2957
- },
2958
- {
2959
- "kind": "js",
2960
- "name": "defaultAccordionItemConfig",
2960
+ "name": "ActionsMenu",
2961
2961
  "declaration": {
2962
- "name": "defaultAccordionItemConfig",
2963
- "module": "src/accordion-item/accordion-item.ts"
2962
+ "name": "ActionsMenu",
2963
+ "module": "src/actions-menu/actions-menu.ts"
2964
2964
  }
2965
2965
  },
2966
2966
  {
2967
2967
  "kind": "js",
2968
- "name": "foundationAccordionItem",
2968
+ "name": "foundationActionsMenu",
2969
2969
  "declaration": {
2970
- "name": "foundationAccordionItem",
2971
- "module": "src/accordion-item/accordion-item.ts"
2970
+ "name": "foundationActionsMenu",
2971
+ "module": "src/actions-menu/actions-menu.ts"
2972
2972
  }
2973
2973
  }
2974
2974
  ]
2975
2975
  },
2976
2976
  {
2977
2977
  "kind": "javascript-module",
2978
- "path": "src/accordion-item/index.ts",
2978
+ "path": "src/actions-menu/index.ts",
2979
2979
  "declarations": [],
2980
2980
  "exports": [
2981
2981
  {
@@ -2983,7 +2983,7 @@
2983
2983
  "name": "*",
2984
2984
  "declaration": {
2985
2985
  "name": "*",
2986
- "package": "./accordion-item.template"
2986
+ "package": "./actions-menu.styles"
2987
2987
  }
2988
2988
  },
2989
2989
  {
@@ -2991,7 +2991,7 @@
2991
2991
  "name": "*",
2992
2992
  "declaration": {
2993
2993
  "name": "*",
2994
- "package": "./accordion-item.styles"
2994
+ "package": "./actions-menu.template"
2995
2995
  }
2996
2996
  },
2997
2997
  {
@@ -2999,7 +2999,7 @@
2999
2999
  "name": "*",
3000
3000
  "declaration": {
3001
3001
  "name": "*",
3002
- "package": "./accordion-item"
3002
+ "package": "./actions-menu"
3003
3003
  }
3004
3004
  }
3005
3005
  ]
@@ -34224,6 +34224,25 @@
34224
34224
  "kind": "method",
34225
34225
  "name": "hasSeparatorWithoutDecimals"
34226
34226
  },
34227
+ {
34228
+ "kind": "method",
34229
+ "name": "writeControlValue",
34230
+ "privacy": "private",
34231
+ "return": {
34232
+ "type": {
34233
+ "text": "void"
34234
+ }
34235
+ },
34236
+ "parameters": [
34237
+ {
34238
+ "name": "next",
34239
+ "type": {
34240
+ "text": "string"
34241
+ }
34242
+ }
34243
+ ],
34244
+ "description": "Writes text the user is editing back to the control, keeping the caret next to the same\nvalue characters instead of letting the assignment move it to the end."
34245
+ },
34227
34246
  {
34228
34247
  "kind": "method",
34229
34248
  "name": "restoreControlToCommittedValue",
@@ -34234,6 +34253,25 @@
34234
34253
  }
34235
34254
  }
34236
34255
  },
34256
+ {
34257
+ "kind": "method",
34258
+ "name": "skipGroupSeparator",
34259
+ "privacy": "private",
34260
+ "return": {
34261
+ "type": {
34262
+ "text": "void"
34263
+ }
34264
+ },
34265
+ "parameters": [
34266
+ {
34267
+ "name": "e",
34268
+ "type": {
34269
+ "text": "KeyboardEvent"
34270
+ }
34271
+ }
34272
+ ],
34273
+ "description": "Backspace/Delete next to a group separator would only delete the separator, which\nreformatting puts straight back. Step the caret over it so the key deletes the digit."
34274
+ },
34237
34275
  {
34238
34276
  "kind": "method",
34239
34277
  "name": "handleKeyDown",
@@ -34847,7 +34885,7 @@
34847
34885
  "name": "getSeparatorsFromParser",
34848
34886
  "return": {
34849
34887
  "type": {
34850
- "text": "{ decimalSeparator: string }"
34888
+ "text": "{ decimalSeparator: string; groupSeparator: string }"
34851
34889
  }
34852
34890
  },
34853
34891
  "parameters": [
@@ -34865,6 +34903,42 @@
34865
34903
  }
34866
34904
  ]
34867
34905
  },
34906
+ {
34907
+ "kind": "function",
34908
+ "name": "calculateCursorPosition",
34909
+ "return": {
34910
+ "type": {
34911
+ "text": "number"
34912
+ }
34913
+ },
34914
+ "parameters": [
34915
+ {
34916
+ "name": "oldValue",
34917
+ "type": {
34918
+ "text": "string"
34919
+ }
34920
+ },
34921
+ {
34922
+ "name": "newValue",
34923
+ "type": {
34924
+ "text": "string"
34925
+ }
34926
+ },
34927
+ {
34928
+ "name": "oldCursor",
34929
+ "type": {
34930
+ "text": "number"
34931
+ }
34932
+ },
34933
+ {
34934
+ "name": "locale",
34935
+ "type": {
34936
+ "text": "string"
34937
+ }
34938
+ }
34939
+ ],
34940
+ "description": "Maps a caret position in `oldValue` (the raw control text) to the equivalent position in\n`newValue` (the text after formatting or restoring), keeping the caret next to the same\nvalue characters."
34941
+ },
34868
34942
  {
34869
34943
  "kind": "function",
34870
34944
  "name": "normalizeLocaleNumberString",
@@ -35387,6 +35461,14 @@
35387
35461
  "module": "src/number-field/utils.ts"
35388
35462
  }
35389
35463
  },
35464
+ {
35465
+ "kind": "js",
35466
+ "name": "calculateCursorPosition",
35467
+ "declaration": {
35468
+ "name": "calculateCursorPosition",
35469
+ "module": "src/number-field/utils.ts"
35470
+ }
35471
+ },
35390
35472
  {
35391
35473
  "kind": "js",
35392
35474
  "name": "normalizeLocaleNumberString",