@genesislcap/foundation-ui 14.361.0 → 14.361.2-alpha-d8ac5e3.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1293 -1293
  2. package/package.json +18 -18
@@ -1265,7 +1265,158 @@
1265
1265
  },
1266
1266
  {
1267
1267
  "kind": "javascript-module",
1268
- "path": "src/_config/index.ts",
1268
+ "path": "src/accordion/accordion.styles.ts",
1269
+ "declarations": [
1270
+ {
1271
+ "kind": "function",
1272
+ "name": "foundationAccordionStyles",
1273
+ "return": {
1274
+ "type": {
1275
+ "text": "ElementStyles"
1276
+ }
1277
+ },
1278
+ "parameters": [
1279
+ {
1280
+ "name": "context",
1281
+ "type": {
1282
+ "text": "ElementDefinitionContext"
1283
+ }
1284
+ },
1285
+ {
1286
+ "name": "definition",
1287
+ "type": {
1288
+ "text": "FoundationElementDefinition"
1289
+ }
1290
+ }
1291
+ ]
1292
+ }
1293
+ ],
1294
+ "exports": [
1295
+ {
1296
+ "kind": "js",
1297
+ "name": "foundationAccordionStyles",
1298
+ "declaration": {
1299
+ "name": "foundationAccordionStyles",
1300
+ "module": "src/accordion/accordion.styles.ts"
1301
+ }
1302
+ }
1303
+ ]
1304
+ },
1305
+ {
1306
+ "kind": "javascript-module",
1307
+ "path": "src/accordion/accordion.template.ts",
1308
+ "declarations": [
1309
+ {
1310
+ "kind": "function",
1311
+ "name": "foundationAccordionTemplate",
1312
+ "return": {
1313
+ "type": {
1314
+ "text": "ViewTemplate<Accordion>"
1315
+ }
1316
+ },
1317
+ "parameters": [
1318
+ {
1319
+ "name": "context",
1320
+ "type": {
1321
+ "text": "ElementDefinitionContext"
1322
+ }
1323
+ },
1324
+ {
1325
+ "name": "definition",
1326
+ "type": {
1327
+ "text": "FoundationElementDefinition"
1328
+ }
1329
+ }
1330
+ ]
1331
+ }
1332
+ ],
1333
+ "exports": [
1334
+ {
1335
+ "kind": "js",
1336
+ "name": "foundationAccordionTemplate",
1337
+ "declaration": {
1338
+ "name": "foundationAccordionTemplate",
1339
+ "module": "src/accordion/accordion.template.ts"
1340
+ }
1341
+ }
1342
+ ]
1343
+ },
1344
+ {
1345
+ "kind": "javascript-module",
1346
+ "path": "src/accordion/accordion.ts",
1347
+ "declarations": [
1348
+ {
1349
+ "kind": "class",
1350
+ "description": "",
1351
+ "name": "Accordion",
1352
+ "superclass": {
1353
+ "name": "FASTAccordion",
1354
+ "package": "@microsoft/fast-foundation"
1355
+ },
1356
+ "tagName": "%%prefix%%-accordion",
1357
+ "customElement": true
1358
+ },
1359
+ {
1360
+ "kind": "variable",
1361
+ "name": "foundationAccordionShadowOptions",
1362
+ "type": {
1363
+ "text": "ShadowRootInit"
1364
+ },
1365
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1366
+ },
1367
+ {
1368
+ "kind": "variable",
1369
+ "name": "defaultAccordionConfig",
1370
+ "type": {
1371
+ "text": "object"
1372
+ },
1373
+ "default": "{}"
1374
+ },
1375
+ {
1376
+ "kind": "variable",
1377
+ "name": "foundationAccordion",
1378
+ "description": "The Foundation Accordion",
1379
+ "privacy": "public"
1380
+ }
1381
+ ],
1382
+ "exports": [
1383
+ {
1384
+ "kind": "js",
1385
+ "name": "Accordion",
1386
+ "declaration": {
1387
+ "name": "Accordion",
1388
+ "module": "src/accordion/accordion.ts"
1389
+ }
1390
+ },
1391
+ {
1392
+ "kind": "js",
1393
+ "name": "foundationAccordionShadowOptions",
1394
+ "declaration": {
1395
+ "name": "foundationAccordionShadowOptions",
1396
+ "module": "src/accordion/accordion.ts"
1397
+ }
1398
+ },
1399
+ {
1400
+ "kind": "js",
1401
+ "name": "defaultAccordionConfig",
1402
+ "declaration": {
1403
+ "name": "defaultAccordionConfig",
1404
+ "module": "src/accordion/accordion.ts"
1405
+ }
1406
+ },
1407
+ {
1408
+ "kind": "js",
1409
+ "name": "foundationAccordion",
1410
+ "declaration": {
1411
+ "name": "foundationAccordion",
1412
+ "module": "src/accordion/accordion.ts"
1413
+ }
1414
+ }
1415
+ ]
1416
+ },
1417
+ {
1418
+ "kind": "javascript-module",
1419
+ "path": "src/accordion/index.ts",
1269
1420
  "declarations": [],
1270
1421
  "exports": [
1271
1422
  {
@@ -1273,7 +1424,7 @@
1273
1424
  "name": "*",
1274
1425
  "declaration": {
1275
1426
  "name": "*",
1276
- "package": "./styles"
1427
+ "package": "./accordion.template"
1277
1428
  }
1278
1429
  },
1279
1430
  {
@@ -1281,7 +1432,7 @@
1281
1432
  "name": "*",
1282
1433
  "declaration": {
1283
1434
  "name": "*",
1284
- "package": "./tokens"
1435
+ "package": "./accordion.styles"
1285
1436
  }
1286
1437
  },
1287
1438
  {
@@ -1289,7 +1440,7 @@
1289
1440
  "name": "*",
1290
1441
  "declaration": {
1291
1442
  "name": "*",
1292
- "package": "./values"
1443
+ "package": "./accordion"
1293
1444
  }
1294
1445
  }
1295
1446
  ]
@@ -1688,6 +1839,37 @@
1688
1839
  }
1689
1840
  ]
1690
1841
  },
1842
+ {
1843
+ "kind": "javascript-module",
1844
+ "path": "src/_config/index.ts",
1845
+ "declarations": [],
1846
+ "exports": [
1847
+ {
1848
+ "kind": "js",
1849
+ "name": "*",
1850
+ "declaration": {
1851
+ "name": "*",
1852
+ "package": "./styles"
1853
+ }
1854
+ },
1855
+ {
1856
+ "kind": "js",
1857
+ "name": "*",
1858
+ "declaration": {
1859
+ "name": "*",
1860
+ "package": "./tokens"
1861
+ }
1862
+ },
1863
+ {
1864
+ "kind": "js",
1865
+ "name": "*",
1866
+ "declaration": {
1867
+ "name": "*",
1868
+ "package": "./values"
1869
+ }
1870
+ }
1871
+ ]
1872
+ },
1691
1873
  {
1692
1874
  "kind": "javascript-module",
1693
1875
  "path": "src/anchor/anchor.styles.ts",
@@ -2210,14 +2392,14 @@
2210
2392
  },
2211
2393
  {
2212
2394
  "kind": "javascript-module",
2213
- "path": "src/actions-menu/actions-menu.styles.ts",
2395
+ "path": "src/anchored-region/anchor-region.template.ts",
2214
2396
  "declarations": [
2215
2397
  {
2216
2398
  "kind": "function",
2217
- "name": "actionsMenuBaseStyles",
2399
+ "name": "foundationAnchoredRegionTemplate",
2218
2400
  "return": {
2219
2401
  "type": {
2220
- "text": "ElementStyles"
2402
+ "text": "ViewTemplate<AnchoredRegion>"
2221
2403
  }
2222
2404
  },
2223
2405
  "parameters": [
@@ -2234,10 +2416,26 @@
2234
2416
  }
2235
2417
  }
2236
2418
  ]
2237
- },
2419
+ }
2420
+ ],
2421
+ "exports": [
2422
+ {
2423
+ "kind": "js",
2424
+ "name": "foundationAnchoredRegionTemplate",
2425
+ "declaration": {
2426
+ "name": "foundationAnchoredRegionTemplate",
2427
+ "module": "src/anchored-region/anchor-region.template.ts"
2428
+ }
2429
+ }
2430
+ ]
2431
+ },
2432
+ {
2433
+ "kind": "javascript-module",
2434
+ "path": "src/anchored-region/anchored-region.styles.ts",
2435
+ "declarations": [
2238
2436
  {
2239
2437
  "kind": "function",
2240
- "name": "foundationActionsMenuStyles",
2438
+ "name": "foundationAnchoredRegionStyles",
2241
2439
  "return": {
2242
2440
  "type": {
2243
2441
  "text": "ElementStyles"
@@ -2262,1003 +2460,580 @@
2262
2460
  "exports": [
2263
2461
  {
2264
2462
  "kind": "js",
2265
- "name": "actionsMenuBaseStyles",
2266
- "declaration": {
2267
- "name": "actionsMenuBaseStyles",
2268
- "module": "src/actions-menu/actions-menu.styles.ts"
2269
- }
2270
- },
2271
- {
2272
- "kind": "js",
2273
- "name": "foundationActionsMenuStyles",
2463
+ "name": "foundationAnchoredRegionStyles",
2274
2464
  "declaration": {
2275
- "name": "foundationActionsMenuStyles",
2276
- "module": "src/actions-menu/actions-menu.styles.ts"
2465
+ "name": "foundationAnchoredRegionStyles",
2466
+ "module": "src/anchored-region/anchored-region.styles.ts"
2277
2467
  }
2278
2468
  }
2279
2469
  ]
2280
2470
  },
2281
2471
  {
2282
2472
  "kind": "javascript-module",
2283
- "path": "src/actions-menu/actions-menu.template.ts",
2473
+ "path": "src/anchored-region/anchored-region.ts",
2284
2474
  "declarations": [
2285
2475
  {
2286
- "kind": "function",
2287
- "name": "menuTemplate",
2288
- "parameters": [
2476
+ "kind": "class",
2477
+ "description": "",
2478
+ "name": "AnchoredRegion",
2479
+ "superclass": {
2480
+ "name": "FASTAnchoredRegion",
2481
+ "package": "@microsoft/fast-components"
2482
+ },
2483
+ "tagName": "%%prefix%%-anchored-region",
2484
+ "customElement": true,
2485
+ "attributes": [
2289
2486
  {
2290
- "name": "prefix",
2487
+ "name": "anchor",
2291
2488
  "type": {
2292
2489
  "text": "string"
2490
+ },
2491
+ "default": "\"\"",
2492
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2493
+ "fieldName": "anchor",
2494
+ "inheritedFrom": {
2495
+ "name": "AnchoredRegion",
2496
+ "module": "src/anchored-region/anchored-region.ts"
2293
2497
  }
2294
- }
2295
- ]
2296
- },
2297
- {
2298
- "kind": "function",
2299
- "name": "singleOptionTemplate",
2300
- "parameters": [
2498
+ },
2301
2499
  {
2302
- "name": "prefix",
2500
+ "name": "viewport",
2303
2501
  "type": {
2304
2502
  "text": "string"
2503
+ },
2504
+ "default": "\"\"",
2505
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2506
+ "fieldName": "viewport",
2507
+ "inheritedFrom": {
2508
+ "name": "AnchoredRegion",
2509
+ "module": "src/anchored-region/anchored-region.ts"
2305
2510
  }
2306
- }
2307
- ]
2308
- },
2309
- {
2310
- "kind": "variable",
2311
- "name": "foundationActionsMenuTemplate",
2312
- "type": {
2313
- "text": "ViewTemplate<ActionsMenu>"
2314
- },
2315
- "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`"
2316
- }
2317
- ],
2318
- "exports": [
2319
- {
2320
- "kind": "js",
2321
- "name": "menuTemplate",
2322
- "declaration": {
2323
- "name": "menuTemplate",
2324
- "module": "src/actions-menu/actions-menu.template.ts"
2325
- }
2326
- },
2327
- {
2328
- "kind": "js",
2329
- "name": "singleOptionTemplate",
2330
- "declaration": {
2331
- "name": "singleOptionTemplate",
2332
- "module": "src/actions-menu/actions-menu.template.ts"
2333
- }
2334
- },
2335
- {
2336
- "kind": "js",
2337
- "name": "foundationActionsMenuTemplate",
2338
- "declaration": {
2339
- "name": "foundationActionsMenuTemplate",
2340
- "module": "src/actions-menu/actions-menu.template.ts"
2341
- }
2342
- }
2343
- ]
2344
- },
2345
- {
2346
- "kind": "javascript-module",
2347
- "path": "src/actions-menu/actions-menu.ts",
2348
- "declarations": [
2349
- {
2350
- "kind": "class",
2351
- "description": "",
2352
- "name": "ActionsMenu",
2353
- "members": [
2511
+ },
2354
2512
  {
2355
- "kind": "field",
2356
- "name": "actions",
2513
+ "name": "horizontal-positioning-mode",
2357
2514
  "type": {
2358
- "text": "ActionMenuItem[]"
2515
+ "text": "AxisPositioningMode"
2516
+ },
2517
+ "default": "\"uncontrolled\"",
2518
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2519
+ "fieldName": "horizontalPositioningMode",
2520
+ "inheritedFrom": {
2521
+ "name": "AnchoredRegion",
2522
+ "module": "src/anchored-region/anchored-region.ts"
2359
2523
  }
2360
2524
  },
2361
2525
  {
2362
- "kind": "field",
2363
- "name": "isVertical",
2526
+ "name": "horizontal-default-position",
2364
2527
  "type": {
2365
- "text": "boolean"
2528
+ "text": "HorizontalPosition"
2366
2529
  },
2367
- "default": "false"
2530
+ "default": "\"unset\"",
2531
+ "description": "The default horizontal position of the region relative to the anchor element",
2532
+ "fieldName": "horizontalDefaultPosition",
2533
+ "inheritedFrom": {
2534
+ "name": "AnchoredRegion",
2535
+ "module": "src/anchored-region/anchored-region.ts"
2536
+ }
2368
2537
  },
2369
2538
  {
2370
- "kind": "field",
2371
- "name": "addDefaultActions",
2539
+ "name": "horizontal-viewport-lock",
2372
2540
  "type": {
2373
2541
  "text": "boolean"
2374
2542
  },
2375
- "default": "true"
2543
+ "default": "false",
2544
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2545
+ "fieldName": "horizontalViewportLock",
2546
+ "inheritedFrom": {
2547
+ "name": "AnchoredRegion",
2548
+ "module": "src/anchored-region/anchored-region.ts"
2549
+ }
2376
2550
  },
2377
2551
  {
2378
- "kind": "field",
2379
- "name": "autoCloseOnAction",
2552
+ "name": "horizontal-inset",
2380
2553
  "type": {
2381
2554
  "text": "boolean"
2382
2555
  },
2383
- "default": "true"
2556
+ "default": "false",
2557
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2558
+ "fieldName": "horizontalInset",
2559
+ "inheritedFrom": {
2560
+ "name": "AnchoredRegion",
2561
+ "module": "src/anchored-region/anchored-region.ts"
2562
+ }
2384
2563
  },
2385
2564
  {
2386
- "kind": "field",
2387
- "name": "classNames",
2565
+ "name": "horizontal-threshold",
2388
2566
  "type": {
2389
- "text": "string"
2567
+ "text": "number"
2568
+ },
2569
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2570
+ "fieldName": "horizontalThreshold",
2571
+ "inheritedFrom": {
2572
+ "name": "AnchoredRegion",
2573
+ "module": "src/anchored-region/anchored-region.ts"
2390
2574
  }
2391
2575
  },
2392
2576
  {
2393
- "kind": "field",
2394
- "name": "definition",
2577
+ "name": "horizontal-scaling",
2395
2578
  "type": {
2396
- "text": "any"
2579
+ "text": "AxisScalingMode"
2580
+ },
2581
+ "default": "\"content\"",
2582
+ "description": "Defines how the width of the region is calculated",
2583
+ "fieldName": "horizontalScaling",
2584
+ "inheritedFrom": {
2585
+ "name": "AnchoredRegion",
2586
+ "module": "src/anchored-region/anchored-region.ts"
2397
2587
  }
2398
2588
  },
2399
2589
  {
2400
- "kind": "field",
2401
- "name": "name",
2590
+ "name": "vertical-positioning-mode",
2402
2591
  "type": {
2403
- "text": "string"
2592
+ "text": "AxisPositioningMode"
2404
2593
  },
2405
- "default": "'Actions'"
2594
+ "default": "\"uncontrolled\"",
2595
+ "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
2596
+ "fieldName": "verticalPositioningMode",
2597
+ "inheritedFrom": {
2598
+ "name": "AnchoredRegion",
2599
+ "module": "src/anchored-region/anchored-region.ts"
2600
+ }
2406
2601
  },
2407
2602
  {
2408
- "kind": "field",
2409
- "name": "open",
2603
+ "name": "vertical-default-position",
2410
2604
  "type": {
2411
- "text": "boolean"
2605
+ "text": "VerticalPosition"
2412
2606
  },
2413
- "default": "false"
2607
+ "default": "\"unset\"",
2608
+ "description": "The default vertical position of the region relative to the anchor element",
2609
+ "fieldName": "verticalDefaultPosition",
2610
+ "inheritedFrom": {
2611
+ "name": "AnchoredRegion",
2612
+ "module": "src/anchored-region/anchored-region.ts"
2613
+ }
2414
2614
  },
2415
2615
  {
2416
- "kind": "field",
2417
- "name": "buttonAppearance",
2616
+ "name": "vertical-viewport-lock",
2418
2617
  "type": {
2419
- "text": "string"
2618
+ "text": "boolean"
2619
+ },
2620
+ "default": "false",
2621
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2622
+ "fieldName": "verticalViewportLock",
2623
+ "inheritedFrom": {
2624
+ "name": "AnchoredRegion",
2625
+ "module": "src/anchored-region/anchored-region.ts"
2420
2626
  }
2421
2627
  },
2422
2628
  {
2423
- "kind": "field",
2424
- "name": "hideDisabled",
2629
+ "name": "vertical-inset",
2425
2630
  "type": {
2426
2631
  "text": "boolean"
2427
2632
  },
2428
- "default": "false"
2633
+ "default": "false",
2634
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2635
+ "fieldName": "verticalInset",
2636
+ "inheritedFrom": {
2637
+ "name": "AnchoredRegion",
2638
+ "module": "src/anchored-region/anchored-region.ts"
2639
+ }
2429
2640
  },
2430
2641
  {
2431
- "kind": "field",
2432
- "name": "hideMenuSingleOption",
2642
+ "name": "vertical-threshold",
2433
2643
  "type": {
2434
- "text": "boolean"
2644
+ "text": "number"
2435
2645
  },
2436
- "default": "false"
2646
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2647
+ "fieldName": "verticalThreshold",
2648
+ "inheritedFrom": {
2649
+ "name": "AnchoredRegion",
2650
+ "module": "src/anchored-region/anchored-region.ts"
2651
+ }
2437
2652
  },
2438
2653
  {
2439
- "kind": "field",
2440
- "name": "singleOption",
2654
+ "name": "vertical-scaling",
2441
2655
  "type": {
2442
- "text": "ActionMenuItem"
2656
+ "text": "AxisScalingMode"
2657
+ },
2658
+ "default": "\"content\"",
2659
+ "description": "Defines how the height of the region is calculated",
2660
+ "fieldName": "verticalScaling",
2661
+ "inheritedFrom": {
2662
+ "name": "AnchoredRegion",
2663
+ "module": "src/anchored-region/anchored-region.ts"
2664
+ }
2665
+ },
2666
+ {
2667
+ "name": "fixed-placement",
2668
+ "type": {
2669
+ "text": "boolean"
2670
+ },
2671
+ "default": "false",
2672
+ "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
2673
+ "fieldName": "fixedPlacement",
2674
+ "inheritedFrom": {
2675
+ "name": "AnchoredRegion",
2676
+ "module": "src/anchored-region/anchored-region.ts"
2443
2677
  }
2444
2678
  },
2679
+ {
2680
+ "name": "auto-update-mode",
2681
+ "type": {
2682
+ "text": "AutoUpdateMode"
2683
+ },
2684
+ "default": "\"anchor\"",
2685
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2686
+ "fieldName": "autoUpdateMode",
2687
+ "inheritedFrom": {
2688
+ "name": "AnchoredRegion",
2689
+ "module": "src/anchored-region/anchored-region.ts"
2690
+ }
2691
+ }
2692
+ ],
2693
+ "members": [
2445
2694
  {
2446
2695
  "kind": "field",
2447
- "name": "actionsMenu",
2696
+ "name": "anchor",
2448
2697
  "type": {
2449
- "text": "HTMLElement"
2698
+ "text": "string"
2699
+ },
2700
+ "privacy": "public",
2701
+ "default": "\"\"",
2702
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2703
+ "inheritedFrom": {
2704
+ "name": "AnchoredRegion",
2705
+ "module": "src/anchored-region/anchored-region.ts"
2450
2706
  }
2451
2707
  },
2452
2708
  {
2453
2709
  "kind": "method",
2454
- "name": "definitionChanged",
2455
- "privacy": "protected",
2456
- "parameters": [
2457
- {
2458
- "name": "oldValue",
2459
- "type": {
2460
- "text": "any"
2461
- }
2462
- },
2463
- {
2464
- "name": "newValue",
2465
- "type": {
2466
- "text": "any"
2467
- }
2710
+ "name": "anchorChanged",
2711
+ "privacy": "private",
2712
+ "return": {
2713
+ "type": {
2714
+ "text": "void"
2468
2715
  }
2469
- ]
2470
- },
2471
- {
2472
- "kind": "method",
2473
- "name": "openChanged",
2474
- "privacy": "protected"
2716
+ },
2717
+ "inheritedFrom": {
2718
+ "name": "AnchoredRegion",
2719
+ "module": "src/anchored-region/anchored-region.ts"
2720
+ }
2475
2721
  },
2476
2722
  {
2477
- "kind": "method",
2478
- "name": "toggleActionsMenuVisibility"
2723
+ "kind": "field",
2724
+ "name": "viewport",
2725
+ "type": {
2726
+ "text": "string"
2727
+ },
2728
+ "privacy": "public",
2729
+ "default": "\"\"",
2730
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2731
+ "inheritedFrom": {
2732
+ "name": "AnchoredRegion",
2733
+ "module": "src/anchored-region/anchored-region.ts"
2734
+ }
2479
2735
  },
2480
2736
  {
2481
2737
  "kind": "method",
2482
- "name": "onActionMenuItemClick",
2483
- "parameters": [
2484
- {
2485
- "name": "callback",
2486
- "type": {
2487
- "text": "(rowData) => void | any"
2488
- }
2738
+ "name": "viewportChanged",
2739
+ "privacy": "private",
2740
+ "return": {
2741
+ "type": {
2742
+ "text": "void"
2489
2743
  }
2490
- ]
2744
+ },
2745
+ "inheritedFrom": {
2746
+ "name": "AnchoredRegion",
2747
+ "module": "src/anchored-region/anchored-region.ts"
2748
+ }
2491
2749
  },
2492
2750
  {
2493
2751
  "kind": "field",
2494
- "name": "allActions",
2752
+ "name": "horizontalPositioningMode",
2495
2753
  "type": {
2496
- "text": "ActionMenuItem[]"
2754
+ "text": "AxisPositioningMode"
2497
2755
  },
2498
- "readonly": true
2499
- },
2500
- {
2501
- "kind": "field",
2502
- "name": "rowData",
2503
- "readonly": true
2504
- },
2505
- {
2506
- "kind": "method",
2507
- "name": "getLabel",
2508
- "parameters": [
2509
- {
2510
- "name": "name",
2511
- "type": {
2512
- "text": "string | ((rowData: any) => string)"
2513
- }
2514
- }
2515
- ]
2756
+ "privacy": "public",
2757
+ "default": "\"uncontrolled\"",
2758
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2759
+ "inheritedFrom": {
2760
+ "name": "AnchoredRegion",
2761
+ "module": "src/anchored-region/anchored-region.ts"
2762
+ }
2516
2763
  },
2517
2764
  {
2518
2765
  "kind": "method",
2519
- "name": "getTemplate",
2520
- "parameters": [
2521
- {
2522
- "name": "prefix",
2523
- "type": {
2524
- "text": "string"
2525
- }
2766
+ "name": "horizontalPositioningModeChanged",
2767
+ "privacy": "private",
2768
+ "return": {
2769
+ "type": {
2770
+ "text": "void"
2526
2771
  }
2527
- ]
2772
+ },
2773
+ "inheritedFrom": {
2774
+ "name": "AnchoredRegion",
2775
+ "module": "src/anchored-region/anchored-region.ts"
2776
+ }
2528
2777
  },
2529
2778
  {
2530
2779
  "kind": "field",
2531
- "name": "_presentation",
2780
+ "name": "horizontalDefaultPosition",
2532
2781
  "type": {
2533
- "text": "ComponentPresentation | null | undefined"
2782
+ "text": "HorizontalPosition"
2534
2783
  },
2535
- "privacy": "private",
2536
- "default": "void 0",
2784
+ "privacy": "public",
2785
+ "default": "\"unset\"",
2786
+ "description": "The default horizontal position of the region relative to the anchor element",
2537
2787
  "inheritedFrom": {
2538
- "name": "FoundationElement",
2539
- "module": "src/foundation-element/foundation-element.ts"
2788
+ "name": "AnchoredRegion",
2789
+ "module": "src/anchored-region/anchored-region.ts"
2540
2790
  }
2541
2791
  },
2542
2792
  {
2543
- "kind": "field",
2544
- "name": "$presentation",
2545
- "type": {
2546
- "text": "ComponentPresentation | null"
2793
+ "kind": "method",
2794
+ "name": "horizontalDefaultPositionChanged",
2795
+ "privacy": "private",
2796
+ "return": {
2797
+ "type": {
2798
+ "text": "void"
2799
+ }
2547
2800
  },
2548
- "privacy": "public",
2549
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2550
2801
  "inheritedFrom": {
2551
- "name": "FoundationElement",
2552
- "module": "src/foundation-element/foundation-element.ts"
2802
+ "name": "AnchoredRegion",
2803
+ "module": "src/anchored-region/anchored-region.ts"
2553
2804
  }
2554
2805
  },
2555
2806
  {
2556
2807
  "kind": "field",
2557
- "name": "template",
2808
+ "name": "horizontalViewportLock",
2558
2809
  "type": {
2559
- "text": "ElementViewTemplate | void | null"
2810
+ "text": "boolean"
2560
2811
  },
2561
2812
  "privacy": "public",
2562
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2813
+ "default": "false",
2814
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2563
2815
  "inheritedFrom": {
2564
- "name": "FoundationElement",
2565
- "module": "src/foundation-element/foundation-element.ts"
2816
+ "name": "AnchoredRegion",
2817
+ "module": "src/anchored-region/anchored-region.ts"
2566
2818
  }
2567
2819
  },
2568
2820
  {
2569
2821
  "kind": "method",
2570
- "name": "templateChanged",
2571
- "privacy": "protected",
2822
+ "name": "horizontalViewportLockChanged",
2823
+ "privacy": "private",
2572
2824
  "return": {
2573
2825
  "type": {
2574
2826
  "text": "void"
2575
2827
  }
2576
2828
  },
2577
2829
  "inheritedFrom": {
2578
- "name": "FoundationElement",
2579
- "module": "src/foundation-element/foundation-element.ts"
2830
+ "name": "AnchoredRegion",
2831
+ "module": "src/anchored-region/anchored-region.ts"
2580
2832
  }
2581
2833
  },
2582
2834
  {
2583
2835
  "kind": "field",
2584
- "name": "styles",
2836
+ "name": "horizontalInset",
2585
2837
  "type": {
2586
- "text": "ElementStyles | void | null"
2838
+ "text": "boolean"
2587
2839
  },
2588
2840
  "privacy": "public",
2589
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2841
+ "default": "false",
2842
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2590
2843
  "inheritedFrom": {
2591
- "name": "FoundationElement",
2592
- "module": "src/foundation-element/foundation-element.ts"
2844
+ "name": "AnchoredRegion",
2845
+ "module": "src/anchored-region/anchored-region.ts"
2593
2846
  }
2594
2847
  },
2595
2848
  {
2596
2849
  "kind": "method",
2597
- "name": "stylesChanged",
2598
- "privacy": "protected",
2850
+ "name": "horizontalInsetChanged",
2851
+ "privacy": "private",
2599
2852
  "return": {
2600
2853
  "type": {
2601
2854
  "text": "void"
2602
2855
  }
2603
2856
  },
2604
2857
  "inheritedFrom": {
2605
- "name": "FoundationElement",
2606
- "module": "src/foundation-element/foundation-element.ts"
2858
+ "name": "AnchoredRegion",
2859
+ "module": "src/anchored-region/anchored-region.ts"
2607
2860
  }
2608
2861
  },
2609
2862
  {
2610
- "kind": "method",
2611
- "name": "compose",
2863
+ "kind": "field",
2864
+ "name": "horizontalThreshold",
2865
+ "type": {
2866
+ "text": "number"
2867
+ },
2612
2868
  "privacy": "public",
2613
- "static": true,
2869
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2870
+ "inheritedFrom": {
2871
+ "name": "AnchoredRegion",
2872
+ "module": "src/anchored-region/anchored-region.ts"
2873
+ }
2874
+ },
2875
+ {
2876
+ "kind": "method",
2877
+ "name": "horizontalThresholdChanged",
2878
+ "privacy": "private",
2614
2879
  "return": {
2615
2880
  "type": {
2616
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2881
+ "text": "void"
2617
2882
  }
2618
2883
  },
2619
- "parameters": [
2620
- {
2621
- "name": "this",
2622
- "type": {
2623
- "text": "K"
2624
- }
2625
- },
2626
- {
2627
- "name": "elementDefinition",
2628
- "type": {
2629
- "text": "T"
2630
- },
2631
- "description": "The definition of the element to create the registry\nfunction for."
2632
- }
2633
- ],
2634
- "description": "Defines an element registry function with a set of element definition defaults.",
2635
2884
  "inheritedFrom": {
2636
- "name": "FoundationElement",
2637
- "module": "src/foundation-element/foundation-element.ts"
2885
+ "name": "AnchoredRegion",
2886
+ "module": "src/anchored-region/anchored-region.ts"
2638
2887
  }
2639
- }
2640
- ],
2641
- "attributes": [
2888
+ },
2642
2889
  {
2643
- "name": "is-vertical",
2890
+ "kind": "field",
2891
+ "name": "horizontalScaling",
2644
2892
  "type": {
2645
- "text": "boolean"
2893
+ "text": "AxisScalingMode"
2646
2894
  },
2647
- "default": "false",
2648
- "fieldName": "isVertical"
2895
+ "privacy": "public",
2896
+ "default": "\"content\"",
2897
+ "description": "Defines how the width of the region is calculated",
2898
+ "inheritedFrom": {
2899
+ "name": "AnchoredRegion",
2900
+ "module": "src/anchored-region/anchored-region.ts"
2901
+ }
2649
2902
  },
2650
2903
  {
2651
- "name": "add-default-actions",
2652
- "type": {
2653
- "text": "boolean"
2904
+ "kind": "method",
2905
+ "name": "horizontalScalingChanged",
2906
+ "privacy": "private",
2907
+ "return": {
2908
+ "type": {
2909
+ "text": "void"
2910
+ }
2654
2911
  },
2655
- "default": "true",
2656
- "fieldName": "addDefaultActions"
2912
+ "inheritedFrom": {
2913
+ "name": "AnchoredRegion",
2914
+ "module": "src/anchored-region/anchored-region.ts"
2915
+ }
2657
2916
  },
2658
2917
  {
2659
- "name": "auto-close-on-action",
2918
+ "kind": "field",
2919
+ "name": "verticalPositioningMode",
2660
2920
  "type": {
2661
- "text": "boolean"
2921
+ "text": "AxisPositioningMode"
2662
2922
  },
2663
- "default": "true",
2664
- "fieldName": "autoCloseOnAction"
2923
+ "privacy": "public",
2924
+ "default": "\"uncontrolled\"",
2925
+ "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
2926
+ "inheritedFrom": {
2927
+ "name": "AnchoredRegion",
2928
+ "module": "src/anchored-region/anchored-region.ts"
2929
+ }
2665
2930
  },
2666
2931
  {
2667
- "name": "name",
2668
- "type": {
2669
- "text": "string"
2670
- },
2671
- "default": "'Actions'",
2672
- "fieldName": "name"
2673
- },
2674
- {
2675
- "name": "open",
2676
- "type": {
2677
- "text": "boolean"
2678
- },
2679
- "default": "false",
2680
- "fieldName": "open"
2681
- },
2682
- {
2683
- "name": "buttonAppearance",
2684
- "type": {
2685
- "text": "string"
2686
- },
2687
- "fieldName": "buttonAppearance"
2688
- },
2689
- {
2690
- "name": "hide-disabled",
2691
- "type": {
2692
- "text": "boolean"
2693
- },
2694
- "default": "false",
2695
- "fieldName": "hideDisabled"
2696
- },
2697
- {
2698
- "name": "hide-menu-single-option",
2699
- "type": {
2700
- "text": "boolean"
2701
- },
2702
- "default": "false",
2703
- "fieldName": "hideMenuSingleOption"
2704
- }
2705
- ],
2706
- "superclass": {
2707
- "name": "FoundationElement",
2708
- "package": "@microsoft/fast-foundation"
2709
- },
2710
- "tagName": "%%prefix%%-actions-menu",
2711
- "customElement": true
2712
- },
2713
- {
2714
- "kind": "variable",
2715
- "name": "foundationActionsMenu",
2716
- "description": "The Foundation Actions Menu",
2717
- "privacy": "public"
2718
- }
2719
- ],
2720
- "exports": [
2721
- {
2722
- "kind": "js",
2723
- "name": "ActionsMenu",
2724
- "declaration": {
2725
- "name": "ActionsMenu",
2726
- "module": "src/actions-menu/actions-menu.ts"
2727
- }
2728
- },
2729
- {
2730
- "kind": "js",
2731
- "name": "foundationActionsMenu",
2732
- "declaration": {
2733
- "name": "foundationActionsMenu",
2734
- "module": "src/actions-menu/actions-menu.ts"
2735
- }
2736
- }
2737
- ]
2738
- },
2739
- {
2740
- "kind": "javascript-module",
2741
- "path": "src/actions-menu/index.ts",
2742
- "declarations": [],
2743
- "exports": [
2744
- {
2745
- "kind": "js",
2746
- "name": "*",
2747
- "declaration": {
2748
- "name": "*",
2749
- "package": "./actions-menu.styles"
2750
- }
2751
- },
2752
- {
2753
- "kind": "js",
2754
- "name": "*",
2755
- "declaration": {
2756
- "name": "*",
2757
- "package": "./actions-menu.template"
2758
- }
2759
- },
2760
- {
2761
- "kind": "js",
2762
- "name": "*",
2763
- "declaration": {
2764
- "name": "*",
2765
- "package": "./actions-menu"
2766
- }
2767
- }
2768
- ]
2769
- },
2770
- {
2771
- "kind": "javascript-module",
2772
- "path": "src/accordion/accordion.styles.ts",
2773
- "declarations": [
2774
- {
2775
- "kind": "function",
2776
- "name": "foundationAccordionStyles",
2777
- "return": {
2778
- "type": {
2779
- "text": "ElementStyles"
2780
- }
2781
- },
2782
- "parameters": [
2783
- {
2784
- "name": "context",
2785
- "type": {
2786
- "text": "ElementDefinitionContext"
2787
- }
2788
- },
2789
- {
2790
- "name": "definition",
2791
- "type": {
2792
- "text": "FoundationElementDefinition"
2793
- }
2794
- }
2795
- ]
2796
- }
2797
- ],
2798
- "exports": [
2799
- {
2800
- "kind": "js",
2801
- "name": "foundationAccordionStyles",
2802
- "declaration": {
2803
- "name": "foundationAccordionStyles",
2804
- "module": "src/accordion/accordion.styles.ts"
2805
- }
2806
- }
2807
- ]
2808
- },
2809
- {
2810
- "kind": "javascript-module",
2811
- "path": "src/accordion/accordion.template.ts",
2812
- "declarations": [
2813
- {
2814
- "kind": "function",
2815
- "name": "foundationAccordionTemplate",
2816
- "return": {
2817
- "type": {
2818
- "text": "ViewTemplate<Accordion>"
2819
- }
2820
- },
2821
- "parameters": [
2822
- {
2823
- "name": "context",
2824
- "type": {
2825
- "text": "ElementDefinitionContext"
2826
- }
2827
- },
2828
- {
2829
- "name": "definition",
2830
- "type": {
2831
- "text": "FoundationElementDefinition"
2832
- }
2833
- }
2834
- ]
2835
- }
2836
- ],
2837
- "exports": [
2838
- {
2839
- "kind": "js",
2840
- "name": "foundationAccordionTemplate",
2841
- "declaration": {
2842
- "name": "foundationAccordionTemplate",
2843
- "module": "src/accordion/accordion.template.ts"
2844
- }
2845
- }
2846
- ]
2847
- },
2848
- {
2849
- "kind": "javascript-module",
2850
- "path": "src/accordion/accordion.ts",
2851
- "declarations": [
2852
- {
2853
- "kind": "class",
2854
- "description": "",
2855
- "name": "Accordion",
2856
- "superclass": {
2857
- "name": "FASTAccordion",
2858
- "package": "@microsoft/fast-foundation"
2859
- },
2860
- "tagName": "%%prefix%%-accordion",
2861
- "customElement": true
2862
- },
2863
- {
2864
- "kind": "variable",
2865
- "name": "foundationAccordionShadowOptions",
2866
- "type": {
2867
- "text": "ShadowRootInit"
2868
- },
2869
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2870
- },
2871
- {
2872
- "kind": "variable",
2873
- "name": "defaultAccordionConfig",
2874
- "type": {
2875
- "text": "object"
2876
- },
2877
- "default": "{}"
2878
- },
2879
- {
2880
- "kind": "variable",
2881
- "name": "foundationAccordion",
2882
- "description": "The Foundation Accordion",
2883
- "privacy": "public"
2884
- }
2885
- ],
2886
- "exports": [
2887
- {
2888
- "kind": "js",
2889
- "name": "Accordion",
2890
- "declaration": {
2891
- "name": "Accordion",
2892
- "module": "src/accordion/accordion.ts"
2893
- }
2894
- },
2895
- {
2896
- "kind": "js",
2897
- "name": "foundationAccordionShadowOptions",
2898
- "declaration": {
2899
- "name": "foundationAccordionShadowOptions",
2900
- "module": "src/accordion/accordion.ts"
2901
- }
2902
- },
2903
- {
2904
- "kind": "js",
2905
- "name": "defaultAccordionConfig",
2906
- "declaration": {
2907
- "name": "defaultAccordionConfig",
2908
- "module": "src/accordion/accordion.ts"
2909
- }
2910
- },
2911
- {
2912
- "kind": "js",
2913
- "name": "foundationAccordion",
2914
- "declaration": {
2915
- "name": "foundationAccordion",
2916
- "module": "src/accordion/accordion.ts"
2917
- }
2918
- }
2919
- ]
2920
- },
2921
- {
2922
- "kind": "javascript-module",
2923
- "path": "src/accordion/index.ts",
2924
- "declarations": [],
2925
- "exports": [
2926
- {
2927
- "kind": "js",
2928
- "name": "*",
2929
- "declaration": {
2930
- "name": "*",
2931
- "package": "./accordion.template"
2932
- }
2933
- },
2934
- {
2935
- "kind": "js",
2936
- "name": "*",
2937
- "declaration": {
2938
- "name": "*",
2939
- "package": "./accordion.styles"
2940
- }
2941
- },
2942
- {
2943
- "kind": "js",
2944
- "name": "*",
2945
- "declaration": {
2946
- "name": "*",
2947
- "package": "./accordion"
2948
- }
2949
- }
2950
- ]
2951
- },
2952
- {
2953
- "kind": "javascript-module",
2954
- "path": "src/anchored-region/anchor-region.template.ts",
2955
- "declarations": [
2956
- {
2957
- "kind": "function",
2958
- "name": "foundationAnchoredRegionTemplate",
2959
- "return": {
2960
- "type": {
2961
- "text": "ViewTemplate<AnchoredRegion>"
2962
- }
2963
- },
2964
- "parameters": [
2965
- {
2966
- "name": "context",
2967
- "type": {
2968
- "text": "ElementDefinitionContext"
2969
- }
2970
- },
2971
- {
2972
- "name": "definition",
2973
- "type": {
2974
- "text": "FoundationElementDefinition"
2975
- }
2976
- }
2977
- ]
2978
- }
2979
- ],
2980
- "exports": [
2981
- {
2982
- "kind": "js",
2983
- "name": "foundationAnchoredRegionTemplate",
2984
- "declaration": {
2985
- "name": "foundationAnchoredRegionTemplate",
2986
- "module": "src/anchored-region/anchor-region.template.ts"
2987
- }
2988
- }
2989
- ]
2990
- },
2991
- {
2992
- "kind": "javascript-module",
2993
- "path": "src/anchored-region/anchored-region.styles.ts",
2994
- "declarations": [
2995
- {
2996
- "kind": "function",
2997
- "name": "foundationAnchoredRegionStyles",
2998
- "return": {
2999
- "type": {
3000
- "text": "ElementStyles"
3001
- }
3002
- },
3003
- "parameters": [
3004
- {
3005
- "name": "context",
3006
- "type": {
3007
- "text": "ElementDefinitionContext"
3008
- }
3009
- },
3010
- {
3011
- "name": "definition",
3012
- "type": {
3013
- "text": "FoundationElementDefinition"
3014
- }
3015
- }
3016
- ]
3017
- }
3018
- ],
3019
- "exports": [
3020
- {
3021
- "kind": "js",
3022
- "name": "foundationAnchoredRegionStyles",
3023
- "declaration": {
3024
- "name": "foundationAnchoredRegionStyles",
3025
- "module": "src/anchored-region/anchored-region.styles.ts"
3026
- }
3027
- }
3028
- ]
3029
- },
3030
- {
3031
- "kind": "javascript-module",
3032
- "path": "src/anchored-region/anchored-region.ts",
3033
- "declarations": [
3034
- {
3035
- "kind": "class",
3036
- "description": "",
3037
- "name": "AnchoredRegion",
3038
- "superclass": {
3039
- "name": "FASTAnchoredRegion",
3040
- "package": "@microsoft/fast-components"
3041
- },
3042
- "tagName": "%%prefix%%-anchored-region",
3043
- "customElement": true,
3044
- "attributes": [
3045
- {
3046
- "name": "anchor",
3047
- "type": {
3048
- "text": "string"
3049
- },
3050
- "default": "\"\"",
3051
- "description": "The HTML ID of the anchor element this region is positioned relative to",
3052
- "fieldName": "anchor",
3053
- "inheritedFrom": {
3054
- "name": "AnchoredRegion",
3055
- "module": "src/anchored-region/anchored-region.ts"
3056
- }
3057
- },
3058
- {
3059
- "name": "viewport",
3060
- "type": {
3061
- "text": "string"
3062
- },
3063
- "default": "\"\"",
3064
- "description": "The HTML ID of the viewport element this region is positioned relative to",
3065
- "fieldName": "viewport",
3066
- "inheritedFrom": {
3067
- "name": "AnchoredRegion",
3068
- "module": "src/anchored-region/anchored-region.ts"
3069
- }
3070
- },
3071
- {
3072
- "name": "horizontal-positioning-mode",
3073
- "type": {
3074
- "text": "AxisPositioningMode"
3075
- },
3076
- "default": "\"uncontrolled\"",
3077
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
3078
- "fieldName": "horizontalPositioningMode",
3079
- "inheritedFrom": {
3080
- "name": "AnchoredRegion",
3081
- "module": "src/anchored-region/anchored-region.ts"
3082
- }
3083
- },
3084
- {
3085
- "name": "horizontal-default-position",
3086
- "type": {
3087
- "text": "HorizontalPosition"
3088
- },
3089
- "default": "\"unset\"",
3090
- "description": "The default horizontal position of the region relative to the anchor element",
3091
- "fieldName": "horizontalDefaultPosition",
3092
- "inheritedFrom": {
3093
- "name": "AnchoredRegion",
3094
- "module": "src/anchored-region/anchored-region.ts"
3095
- }
3096
- },
3097
- {
3098
- "name": "horizontal-viewport-lock",
3099
- "type": {
3100
- "text": "boolean"
3101
- },
3102
- "default": "false",
3103
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3104
- "fieldName": "horizontalViewportLock",
3105
- "inheritedFrom": {
3106
- "name": "AnchoredRegion",
3107
- "module": "src/anchored-region/anchored-region.ts"
3108
- }
3109
- },
3110
- {
3111
- "name": "horizontal-inset",
3112
- "type": {
3113
- "text": "boolean"
3114
- },
3115
- "default": "false",
3116
- "description": "Whether the region overlaps the anchor on the horizontal axis",
3117
- "fieldName": "horizontalInset",
3118
- "inheritedFrom": {
3119
- "name": "AnchoredRegion",
3120
- "module": "src/anchored-region/anchored-region.ts"
3121
- }
3122
- },
3123
- {
3124
- "name": "horizontal-threshold",
3125
- "type": {
3126
- "text": "number"
3127
- },
3128
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3129
- "fieldName": "horizontalThreshold",
3130
- "inheritedFrom": {
3131
- "name": "AnchoredRegion",
3132
- "module": "src/anchored-region/anchored-region.ts"
3133
- }
3134
- },
3135
- {
3136
- "name": "horizontal-scaling",
3137
- "type": {
3138
- "text": "AxisScalingMode"
3139
- },
3140
- "default": "\"content\"",
3141
- "description": "Defines how the width of the region is calculated",
3142
- "fieldName": "horizontalScaling",
3143
- "inheritedFrom": {
3144
- "name": "AnchoredRegion",
3145
- "module": "src/anchored-region/anchored-region.ts"
3146
- }
3147
- },
3148
- {
3149
- "name": "vertical-positioning-mode",
3150
- "type": {
3151
- "text": "AxisPositioningMode"
2932
+ "kind": "method",
2933
+ "name": "verticalPositioningModeChanged",
2934
+ "privacy": "private",
2935
+ "return": {
2936
+ "type": {
2937
+ "text": "void"
2938
+ }
3152
2939
  },
3153
- "default": "\"uncontrolled\"",
3154
- "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
3155
- "fieldName": "verticalPositioningMode",
3156
2940
  "inheritedFrom": {
3157
2941
  "name": "AnchoredRegion",
3158
2942
  "module": "src/anchored-region/anchored-region.ts"
3159
2943
  }
3160
2944
  },
3161
2945
  {
3162
- "name": "vertical-default-position",
2946
+ "kind": "field",
2947
+ "name": "verticalDefaultPosition",
3163
2948
  "type": {
3164
2949
  "text": "VerticalPosition"
3165
2950
  },
2951
+ "privacy": "public",
3166
2952
  "default": "\"unset\"",
3167
2953
  "description": "The default vertical position of the region relative to the anchor element",
3168
- "fieldName": "verticalDefaultPosition",
3169
2954
  "inheritedFrom": {
3170
2955
  "name": "AnchoredRegion",
3171
2956
  "module": "src/anchored-region/anchored-region.ts"
3172
2957
  }
3173
2958
  },
3174
2959
  {
3175
- "name": "vertical-viewport-lock",
3176
- "type": {
3177
- "text": "boolean"
2960
+ "kind": "method",
2961
+ "name": "verticalDefaultPositionChanged",
2962
+ "privacy": "private",
2963
+ "return": {
2964
+ "type": {
2965
+ "text": "void"
2966
+ }
3178
2967
  },
3179
- "default": "false",
3180
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3181
- "fieldName": "verticalViewportLock",
3182
2968
  "inheritedFrom": {
3183
2969
  "name": "AnchoredRegion",
3184
2970
  "module": "src/anchored-region/anchored-region.ts"
3185
2971
  }
3186
2972
  },
3187
2973
  {
3188
- "name": "vertical-inset",
2974
+ "kind": "field",
2975
+ "name": "verticalViewportLock",
3189
2976
  "type": {
3190
2977
  "text": "boolean"
3191
2978
  },
2979
+ "privacy": "public",
3192
2980
  "default": "false",
3193
- "description": "Whether the region overlaps the anchor on the vertical axis",
3194
- "fieldName": "verticalInset",
3195
- "inheritedFrom": {
3196
- "name": "AnchoredRegion",
3197
- "module": "src/anchored-region/anchored-region.ts"
3198
- }
3199
- },
3200
- {
3201
- "name": "vertical-threshold",
3202
- "type": {
3203
- "text": "number"
3204
- },
3205
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3206
- "fieldName": "verticalThreshold",
2981
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3207
2982
  "inheritedFrom": {
3208
2983
  "name": "AnchoredRegion",
3209
2984
  "module": "src/anchored-region/anchored-region.ts"
3210
2985
  }
3211
2986
  },
3212
2987
  {
3213
- "name": "vertical-scaling",
3214
- "type": {
3215
- "text": "AxisScalingMode"
2988
+ "kind": "method",
2989
+ "name": "verticalViewportLockChanged",
2990
+ "privacy": "private",
2991
+ "return": {
2992
+ "type": {
2993
+ "text": "void"
2994
+ }
3216
2995
  },
3217
- "default": "\"content\"",
3218
- "description": "Defines how the height of the region is calculated",
3219
- "fieldName": "verticalScaling",
3220
2996
  "inheritedFrom": {
3221
2997
  "name": "AnchoredRegion",
3222
2998
  "module": "src/anchored-region/anchored-region.ts"
3223
2999
  }
3224
3000
  },
3225
3001
  {
3226
- "name": "fixed-placement",
3002
+ "kind": "field",
3003
+ "name": "verticalInset",
3227
3004
  "type": {
3228
3005
  "text": "boolean"
3229
3006
  },
3007
+ "privacy": "public",
3230
3008
  "default": "false",
3231
- "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
3232
- "fieldName": "fixedPlacement",
3009
+ "description": "Whether the region overlaps the anchor on the vertical axis",
3233
3010
  "inheritedFrom": {
3234
3011
  "name": "AnchoredRegion",
3235
3012
  "module": "src/anchored-region/anchored-region.ts"
3236
3013
  }
3237
3014
  },
3238
3015
  {
3239
- "name": "auto-update-mode",
3240
- "type": {
3241
- "text": "AutoUpdateMode"
3016
+ "kind": "method",
3017
+ "name": "verticalInsetChanged",
3018
+ "privacy": "private",
3019
+ "return": {
3020
+ "type": {
3021
+ "text": "void"
3022
+ }
3242
3023
  },
3243
- "default": "\"anchor\"",
3244
- "description": "Defines what triggers the anchored region to revaluate positioning",
3245
- "fieldName": "autoUpdateMode",
3246
3024
  "inheritedFrom": {
3247
3025
  "name": "AnchoredRegion",
3248
3026
  "module": "src/anchored-region/anchored-region.ts"
3249
3027
  }
3250
- }
3251
- ],
3252
- "members": [
3028
+ },
3253
3029
  {
3254
3030
  "kind": "field",
3255
- "name": "anchor",
3031
+ "name": "verticalThreshold",
3256
3032
  "type": {
3257
- "text": "string"
3033
+ "text": "number"
3258
3034
  },
3259
3035
  "privacy": "public",
3260
- "default": "\"\"",
3261
- "description": "The HTML ID of the anchor element this region is positioned relative to",
3036
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3262
3037
  "inheritedFrom": {
3263
3038
  "name": "AnchoredRegion",
3264
3039
  "module": "src/anchored-region/anchored-region.ts"
@@ -3266,7 +3041,7 @@
3266
3041
  },
3267
3042
  {
3268
3043
  "kind": "method",
3269
- "name": "anchorChanged",
3044
+ "name": "verticalThresholdChanged",
3270
3045
  "privacy": "private",
3271
3046
  "return": {
3272
3047
  "type": {
@@ -3280,13 +3055,13 @@
3280
3055
  },
3281
3056
  {
3282
3057
  "kind": "field",
3283
- "name": "viewport",
3058
+ "name": "verticalScaling",
3284
3059
  "type": {
3285
- "text": "string"
3060
+ "text": "AxisScalingMode"
3286
3061
  },
3287
3062
  "privacy": "public",
3288
- "default": "\"\"",
3289
- "description": "The HTML ID of the viewport element this region is positioned relative to",
3063
+ "default": "\"content\"",
3064
+ "description": "Defines how the height of the region is calculated",
3290
3065
  "inheritedFrom": {
3291
3066
  "name": "AnchoredRegion",
3292
3067
  "module": "src/anchored-region/anchored-region.ts"
@@ -3294,7 +3069,7 @@
3294
3069
  },
3295
3070
  {
3296
3071
  "kind": "method",
3297
- "name": "viewportChanged",
3072
+ "name": "verticalScalingChanged",
3298
3073
  "privacy": "private",
3299
3074
  "return": {
3300
3075
  "type": {
@@ -3308,13 +3083,13 @@
3308
3083
  },
3309
3084
  {
3310
3085
  "kind": "field",
3311
- "name": "horizontalPositioningMode",
3086
+ "name": "fixedPlacement",
3312
3087
  "type": {
3313
- "text": "AxisPositioningMode"
3088
+ "text": "boolean"
3314
3089
  },
3315
3090
  "privacy": "public",
3316
- "default": "\"uncontrolled\"",
3317
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
3091
+ "default": "false",
3092
+ "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
3318
3093
  "inheritedFrom": {
3319
3094
  "name": "AnchoredRegion",
3320
3095
  "module": "src/anchored-region/anchored-region.ts"
@@ -3322,7 +3097,7 @@
3322
3097
  },
3323
3098
  {
3324
3099
  "kind": "method",
3325
- "name": "horizontalPositioningModeChanged",
3100
+ "name": "fixedPlacementChanged",
3326
3101
  "privacy": "private",
3327
3102
  "return": {
3328
3103
  "type": {
@@ -3336,13 +3111,13 @@
3336
3111
  },
3337
3112
  {
3338
3113
  "kind": "field",
3339
- "name": "horizontalDefaultPosition",
3114
+ "name": "autoUpdateMode",
3340
3115
  "type": {
3341
- "text": "HorizontalPosition"
3116
+ "text": "AutoUpdateMode"
3342
3117
  },
3343
3118
  "privacy": "public",
3344
- "default": "\"unset\"",
3345
- "description": "The default horizontal position of the region relative to the anchor element",
3119
+ "default": "\"anchor\"",
3120
+ "description": "Defines what triggers the anchored region to revaluate positioning",
3346
3121
  "inheritedFrom": {
3347
3122
  "name": "AnchoredRegion",
3348
3123
  "module": "src/anchored-region/anchored-region.ts"
@@ -3350,13 +3125,27 @@
3350
3125
  },
3351
3126
  {
3352
3127
  "kind": "method",
3353
- "name": "horizontalDefaultPositionChanged",
3128
+ "name": "autoUpdateModeChanged",
3354
3129
  "privacy": "private",
3355
3130
  "return": {
3356
3131
  "type": {
3357
3132
  "text": "void"
3358
3133
  }
3359
3134
  },
3135
+ "parameters": [
3136
+ {
3137
+ "name": "prevMode",
3138
+ "type": {
3139
+ "text": "AutoUpdateMode"
3140
+ }
3141
+ },
3142
+ {
3143
+ "name": "newMode",
3144
+ "type": {
3145
+ "text": "AutoUpdateMode"
3146
+ }
3147
+ }
3148
+ ],
3360
3149
  "inheritedFrom": {
3361
3150
  "name": "AnchoredRegion",
3362
3151
  "module": "src/anchored-region/anchored-region.ts"
@@ -3364,13 +3153,13 @@
3364
3153
  },
3365
3154
  {
3366
3155
  "kind": "field",
3367
- "name": "horizontalViewportLock",
3156
+ "name": "anchorElement",
3368
3157
  "type": {
3369
- "text": "boolean"
3158
+ "text": "HTMLElement | null"
3370
3159
  },
3371
3160
  "privacy": "public",
3372
- "default": "false",
3373
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3161
+ "default": "null",
3162
+ "description": "The HTML element being used as the anchor",
3374
3163
  "inheritedFrom": {
3375
3164
  "name": "AnchoredRegion",
3376
3165
  "module": "src/anchored-region/anchored-region.ts"
@@ -3378,7 +3167,7 @@
3378
3167
  },
3379
3168
  {
3380
3169
  "kind": "method",
3381
- "name": "horizontalViewportLockChanged",
3170
+ "name": "anchorElementChanged",
3382
3171
  "privacy": "private",
3383
3172
  "return": {
3384
3173
  "type": {
@@ -3392,13 +3181,13 @@
3392
3181
  },
3393
3182
  {
3394
3183
  "kind": "field",
3395
- "name": "horizontalInset",
3184
+ "name": "viewportElement",
3396
3185
  "type": {
3397
- "text": "boolean"
3186
+ "text": "HTMLElement | null"
3398
3187
  },
3399
3188
  "privacy": "public",
3400
- "default": "false",
3401
- "description": "Whether the region overlaps the anchor on the horizontal axis",
3189
+ "default": "null",
3190
+ "description": "The HTML element being used as the viewport",
3402
3191
  "inheritedFrom": {
3403
3192
  "name": "AnchoredRegion",
3404
3193
  "module": "src/anchored-region/anchored-region.ts"
@@ -3406,7 +3195,7 @@
3406
3195
  },
3407
3196
  {
3408
3197
  "kind": "method",
3409
- "name": "horizontalInsetChanged",
3198
+ "name": "viewportElementChanged",
3410
3199
  "privacy": "private",
3411
3200
  "return": {
3412
3201
  "type": {
@@ -3420,26 +3209,25 @@
3420
3209
  },
3421
3210
  {
3422
3211
  "kind": "field",
3423
- "name": "horizontalThreshold",
3212
+ "name": "verticalPosition",
3424
3213
  "type": {
3425
- "text": "number"
3214
+ "text": "AnchoredRegionPositionLabel | undefined"
3426
3215
  },
3427
3216
  "privacy": "public",
3428
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3217
+ "description": "indicates the current horizontal position of the region",
3429
3218
  "inheritedFrom": {
3430
3219
  "name": "AnchoredRegion",
3431
3220
  "module": "src/anchored-region/anchored-region.ts"
3432
3221
  }
3433
3222
  },
3434
3223
  {
3435
- "kind": "method",
3436
- "name": "horizontalThresholdChanged",
3437
- "privacy": "private",
3438
- "return": {
3439
- "type": {
3440
- "text": "void"
3441
- }
3224
+ "kind": "field",
3225
+ "name": "horizontalPosition",
3226
+ "type": {
3227
+ "text": "AnchoredRegionPositionLabel | undefined"
3442
3228
  },
3229
+ "privacy": "public",
3230
+ "description": "indicates the current vertical position of the region",
3443
3231
  "inheritedFrom": {
3444
3232
  "name": "AnchoredRegion",
3445
3233
  "module": "src/anchored-region/anchored-region.ts"
@@ -3447,27 +3235,37 @@
3447
3235
  },
3448
3236
  {
3449
3237
  "kind": "field",
3450
- "name": "horizontalScaling",
3238
+ "name": "translateX",
3451
3239
  "type": {
3452
- "text": "AxisScalingMode"
3240
+ "text": "number"
3453
3241
  },
3454
- "privacy": "public",
3455
- "default": "\"content\"",
3456
- "description": "Defines how the width of the region is calculated",
3242
+ "privacy": "private",
3243
+ "description": "values to be applied to the component's transform on render",
3457
3244
  "inheritedFrom": {
3458
3245
  "name": "AnchoredRegion",
3459
3246
  "module": "src/anchored-region/anchored-region.ts"
3460
3247
  }
3461
3248
  },
3462
3249
  {
3463
- "kind": "method",
3464
- "name": "horizontalScalingChanged",
3250
+ "kind": "field",
3251
+ "name": "translateY",
3252
+ "type": {
3253
+ "text": "number"
3254
+ },
3465
3255
  "privacy": "private",
3466
- "return": {
3467
- "type": {
3468
- "text": "void"
3469
- }
3256
+ "inheritedFrom": {
3257
+ "name": "AnchoredRegion",
3258
+ "module": "src/anchored-region/anchored-region.ts"
3259
+ }
3260
+ },
3261
+ {
3262
+ "kind": "field",
3263
+ "name": "regionWidth",
3264
+ "type": {
3265
+ "text": "string"
3470
3266
  },
3267
+ "privacy": "private",
3268
+ "description": "the span to be applied to the region on each axis",
3471
3269
  "inheritedFrom": {
3472
3270
  "name": "AnchoredRegion",
3473
3271
  "module": "src/anchored-region/anchored-region.ts"
@@ -3475,27 +3273,36 @@
3475
3273
  },
3476
3274
  {
3477
3275
  "kind": "field",
3478
- "name": "verticalPositioningMode",
3276
+ "name": "regionHeight",
3479
3277
  "type": {
3480
- "text": "AxisPositioningMode"
3278
+ "text": "string"
3481
3279
  },
3482
- "privacy": "public",
3483
- "default": "\"uncontrolled\"",
3484
- "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
3280
+ "privacy": "private",
3485
3281
  "inheritedFrom": {
3486
3282
  "name": "AnchoredRegion",
3487
3283
  "module": "src/anchored-region/anchored-region.ts"
3488
3284
  }
3489
3285
  },
3490
3286
  {
3491
- "kind": "method",
3492
- "name": "verticalPositioningModeChanged",
3287
+ "kind": "field",
3288
+ "name": "resizeDetector",
3289
+ "type": {
3290
+ "text": "ResizeObserverClassDefinition | null"
3291
+ },
3493
3292
  "privacy": "private",
3494
- "return": {
3495
- "type": {
3496
- "text": "void"
3497
- }
3293
+ "default": "null",
3294
+ "inheritedFrom": {
3295
+ "name": "AnchoredRegion",
3296
+ "module": "src/anchored-region/anchored-region.ts"
3297
+ }
3298
+ },
3299
+ {
3300
+ "kind": "field",
3301
+ "name": "viewportRect",
3302
+ "type": {
3303
+ "text": "ClientRect | DOMRect | undefined"
3498
3304
  },
3305
+ "privacy": "private",
3499
3306
  "inheritedFrom": {
3500
3307
  "name": "AnchoredRegion",
3501
3308
  "module": "src/anchored-region/anchored-region.ts"
@@ -3503,27 +3310,37 @@
3503
3310
  },
3504
3311
  {
3505
3312
  "kind": "field",
3506
- "name": "verticalDefaultPosition",
3313
+ "name": "anchorRect",
3507
3314
  "type": {
3508
- "text": "VerticalPosition"
3315
+ "text": "ClientRect | DOMRect | undefined"
3509
3316
  },
3510
- "privacy": "public",
3511
- "default": "\"unset\"",
3512
- "description": "The default vertical position of the region relative to the anchor element",
3317
+ "privacy": "private",
3513
3318
  "inheritedFrom": {
3514
3319
  "name": "AnchoredRegion",
3515
3320
  "module": "src/anchored-region/anchored-region.ts"
3516
3321
  }
3517
3322
  },
3518
3323
  {
3519
- "kind": "method",
3520
- "name": "verticalDefaultPositionChanged",
3324
+ "kind": "field",
3325
+ "name": "regionRect",
3326
+ "type": {
3327
+ "text": "ClientRect | DOMRect | undefined"
3328
+ },
3521
3329
  "privacy": "private",
3522
- "return": {
3523
- "type": {
3524
- "text": "void"
3525
- }
3330
+ "inheritedFrom": {
3331
+ "name": "AnchoredRegion",
3332
+ "module": "src/anchored-region/anchored-region.ts"
3333
+ }
3334
+ },
3335
+ {
3336
+ "kind": "field",
3337
+ "name": "baseHorizontalOffset",
3338
+ "type": {
3339
+ "text": "number"
3526
3340
  },
3341
+ "privacy": "private",
3342
+ "default": "0",
3343
+ "description": "base offsets between the positioner's base position and the anchor's",
3527
3344
  "inheritedFrom": {
3528
3345
  "name": "AnchoredRegion",
3529
3346
  "module": "src/anchored-region/anchored-region.ts"
@@ -3531,27 +3348,50 @@
3531
3348
  },
3532
3349
  {
3533
3350
  "kind": "field",
3534
- "name": "verticalViewportLock",
3351
+ "name": "baseVerticalOffset",
3352
+ "type": {
3353
+ "text": "number"
3354
+ },
3355
+ "privacy": "private",
3356
+ "default": "0",
3357
+ "inheritedFrom": {
3358
+ "name": "AnchoredRegion",
3359
+ "module": "src/anchored-region/anchored-region.ts"
3360
+ }
3361
+ },
3362
+ {
3363
+ "kind": "field",
3364
+ "name": "pendingPositioningUpdate",
3535
3365
  "type": {
3536
3366
  "text": "boolean"
3537
3367
  },
3538
- "privacy": "public",
3368
+ "privacy": "private",
3539
3369
  "default": "false",
3540
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3541
3370
  "inheritedFrom": {
3542
3371
  "name": "AnchoredRegion",
3543
3372
  "module": "src/anchored-region/anchored-region.ts"
3544
3373
  }
3545
3374
  },
3546
3375
  {
3547
- "kind": "method",
3548
- "name": "verticalViewportLockChanged",
3376
+ "kind": "field",
3377
+ "name": "pendingReset",
3378
+ "type": {
3379
+ "text": "boolean"
3380
+ },
3549
3381
  "privacy": "private",
3550
- "return": {
3551
- "type": {
3552
- "text": "void"
3553
- }
3382
+ "default": "false",
3383
+ "inheritedFrom": {
3384
+ "name": "AnchoredRegion",
3385
+ "module": "src/anchored-region/anchored-region.ts"
3386
+ }
3387
+ },
3388
+ {
3389
+ "kind": "field",
3390
+ "name": "currentDirection",
3391
+ "type": {
3392
+ "text": "Direction"
3554
3393
  },
3394
+ "privacy": "private",
3555
3395
  "inheritedFrom": {
3556
3396
  "name": "AnchoredRegion",
3557
3397
  "module": "src/anchored-region/anchored-region.ts"
@@ -3559,27 +3399,25 @@
3559
3399
  },
3560
3400
  {
3561
3401
  "kind": "field",
3562
- "name": "verticalInset",
3402
+ "name": "regionVisible",
3563
3403
  "type": {
3564
3404
  "text": "boolean"
3565
3405
  },
3566
- "privacy": "public",
3406
+ "privacy": "private",
3567
3407
  "default": "false",
3568
- "description": "Whether the region overlaps the anchor on the vertical axis",
3569
3408
  "inheritedFrom": {
3570
3409
  "name": "AnchoredRegion",
3571
3410
  "module": "src/anchored-region/anchored-region.ts"
3572
3411
  }
3573
3412
  },
3574
3413
  {
3575
- "kind": "method",
3576
- "name": "verticalInsetChanged",
3577
- "privacy": "private",
3578
- "return": {
3579
- "type": {
3580
- "text": "void"
3581
- }
3414
+ "kind": "field",
3415
+ "name": "forceUpdate",
3416
+ "type": {
3417
+ "text": "boolean"
3582
3418
  },
3419
+ "privacy": "private",
3420
+ "default": "false",
3583
3421
  "inheritedFrom": {
3584
3422
  "name": "AnchoredRegion",
3585
3423
  "module": "src/anchored-region/anchored-region.ts"
@@ -3587,26 +3425,26 @@
3587
3425
  },
3588
3426
  {
3589
3427
  "kind": "field",
3590
- "name": "verticalThreshold",
3428
+ "name": "updateThreshold",
3591
3429
  "type": {
3592
3430
  "text": "number"
3593
3431
  },
3594
- "privacy": "public",
3595
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3432
+ "privacy": "private",
3433
+ "default": "0.5",
3596
3434
  "inheritedFrom": {
3597
3435
  "name": "AnchoredRegion",
3598
3436
  "module": "src/anchored-region/anchored-region.ts"
3599
3437
  }
3600
3438
  },
3601
3439
  {
3602
- "kind": "method",
3603
- "name": "verticalThresholdChanged",
3604
- "privacy": "private",
3605
- "return": {
3606
- "type": {
3607
- "text": "void"
3608
- }
3440
+ "kind": "field",
3441
+ "name": "intersectionService",
3442
+ "type": {
3443
+ "text": "IntersectionService"
3609
3444
  },
3445
+ "privacy": "private",
3446
+ "static": true,
3447
+ "default": "new IntersectionService()",
3610
3448
  "inheritedFrom": {
3611
3449
  "name": "AnchoredRegion",
3612
3450
  "module": "src/anchored-region/anchored-region.ts"
@@ -3614,13 +3452,9 @@
3614
3452
  },
3615
3453
  {
3616
3454
  "kind": "field",
3617
- "name": "verticalScaling",
3618
- "type": {
3619
- "text": "AxisScalingMode"
3620
- },
3455
+ "name": "update",
3621
3456
  "privacy": "public",
3622
- "default": "\"content\"",
3623
- "description": "Defines how the height of the region is calculated",
3457
+ "description": "update position",
3624
3458
  "inheritedFrom": {
3625
3459
  "name": "AnchoredRegion",
3626
3460
  "module": "src/anchored-region/anchored-region.ts"
@@ -3628,27 +3462,29 @@
3628
3462
  },
3629
3463
  {
3630
3464
  "kind": "method",
3631
- "name": "verticalScalingChanged",
3465
+ "name": "disconnectResizeDetector",
3632
3466
  "privacy": "private",
3633
3467
  "return": {
3634
3468
  "type": {
3635
3469
  "text": "void"
3636
3470
  }
3637
3471
  },
3472
+ "description": "destroys the instance's resize observer",
3638
3473
  "inheritedFrom": {
3639
3474
  "name": "AnchoredRegion",
3640
3475
  "module": "src/anchored-region/anchored-region.ts"
3641
3476
  }
3642
3477
  },
3643
3478
  {
3644
- "kind": "field",
3645
- "name": "fixedPlacement",
3646
- "type": {
3647
- "text": "boolean"
3479
+ "kind": "method",
3480
+ "name": "initializeResizeDetector",
3481
+ "privacy": "private",
3482
+ "return": {
3483
+ "type": {
3484
+ "text": "void"
3485
+ }
3648
3486
  },
3649
- "privacy": "public",
3650
- "default": "false",
3651
- "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
3487
+ "description": "initializes the instance's resize observer",
3652
3488
  "inheritedFrom": {
3653
3489
  "name": "AnchoredRegion",
3654
3490
  "module": "src/anchored-region/anchored-region.ts"
@@ -3656,27 +3492,29 @@
3656
3492
  },
3657
3493
  {
3658
3494
  "kind": "method",
3659
- "name": "fixedPlacementChanged",
3495
+ "name": "updateForAttributeChange",
3660
3496
  "privacy": "private",
3661
3497
  "return": {
3662
3498
  "type": {
3663
3499
  "text": "void"
3664
3500
  }
3665
3501
  },
3502
+ "description": "react to attribute changes that don't require a reset",
3666
3503
  "inheritedFrom": {
3667
3504
  "name": "AnchoredRegion",
3668
3505
  "module": "src/anchored-region/anchored-region.ts"
3669
3506
  }
3670
3507
  },
3671
3508
  {
3672
- "kind": "field",
3673
- "name": "autoUpdateMode",
3674
- "type": {
3675
- "text": "AutoUpdateMode"
3509
+ "kind": "method",
3510
+ "name": "initialize",
3511
+ "privacy": "private",
3512
+ "return": {
3513
+ "type": {
3514
+ "text": "void"
3515
+ }
3676
3516
  },
3677
- "privacy": "public",
3678
- "default": "\"anchor\"",
3679
- "description": "Defines what triggers the anchored region to revaluate positioning",
3517
+ "description": "fully initializes the component",
3680
3518
  "inheritedFrom": {
3681
3519
  "name": "AnchoredRegion",
3682
3520
  "module": "src/anchored-region/anchored-region.ts"
@@ -3684,27 +3522,29 @@
3684
3522
  },
3685
3523
  {
3686
3524
  "kind": "method",
3687
- "name": "autoUpdateModeChanged",
3525
+ "name": "requestReset",
3688
3526
  "privacy": "private",
3689
3527
  "return": {
3690
3528
  "type": {
3691
3529
  "text": "void"
3692
3530
  }
3693
3531
  },
3694
- "parameters": [
3695
- {
3696
- "name": "prevMode",
3697
- "type": {
3698
- "text": "AutoUpdateMode"
3699
- }
3700
- },
3701
- {
3702
- "name": "newMode",
3703
- "type": {
3704
- "text": "AutoUpdateMode"
3705
- }
3532
+ "description": "Request a reset if there are currently no open requests",
3533
+ "inheritedFrom": {
3534
+ "name": "AnchoredRegion",
3535
+ "module": "src/anchored-region/anchored-region.ts"
3536
+ }
3537
+ },
3538
+ {
3539
+ "kind": "method",
3540
+ "name": "setInitialState",
3541
+ "privacy": "private",
3542
+ "return": {
3543
+ "type": {
3544
+ "text": "void"
3706
3545
  }
3707
- ],
3546
+ },
3547
+ "description": "sets the starting configuration for component internal values",
3708
3548
  "inheritedFrom": {
3709
3549
  "name": "AnchoredRegion",
3710
3550
  "module": "src/anchored-region/anchored-region.ts"
@@ -3712,27 +3552,19 @@
3712
3552
  },
3713
3553
  {
3714
3554
  "kind": "field",
3715
- "name": "anchorElement",
3716
- "type": {
3717
- "text": "HTMLElement | null"
3718
- },
3719
- "privacy": "public",
3720
- "default": "null",
3721
- "description": "The HTML element being used as the anchor",
3555
+ "name": "startObservers",
3556
+ "privacy": "private",
3557
+ "description": "starts observers",
3722
3558
  "inheritedFrom": {
3723
3559
  "name": "AnchoredRegion",
3724
3560
  "module": "src/anchored-region/anchored-region.ts"
3725
3561
  }
3726
3562
  },
3727
3563
  {
3728
- "kind": "method",
3729
- "name": "anchorElementChanged",
3564
+ "kind": "field",
3565
+ "name": "requestPositionUpdates",
3730
3566
  "privacy": "private",
3731
- "return": {
3732
- "type": {
3733
- "text": "void"
3734
- }
3735
- },
3567
+ "description": "get position updates",
3736
3568
  "inheritedFrom": {
3737
3569
  "name": "AnchoredRegion",
3738
3570
  "module": "src/anchored-region/anchored-region.ts"
@@ -3740,27 +3572,19 @@
3740
3572
  },
3741
3573
  {
3742
3574
  "kind": "field",
3743
- "name": "viewportElement",
3744
- "type": {
3745
- "text": "HTMLElement | null"
3746
- },
3747
- "privacy": "public",
3748
- "default": "null",
3749
- "description": "The HTML element being used as the viewport",
3575
+ "name": "stopObservers",
3576
+ "privacy": "private",
3577
+ "description": "stops observers",
3750
3578
  "inheritedFrom": {
3751
3579
  "name": "AnchoredRegion",
3752
3580
  "module": "src/anchored-region/anchored-region.ts"
3753
3581
  }
3754
3582
  },
3755
3583
  {
3756
- "kind": "method",
3757
- "name": "viewportElementChanged",
3584
+ "kind": "field",
3585
+ "name": "getViewport",
3758
3586
  "privacy": "private",
3759
- "return": {
3760
- "type": {
3761
- "text": "void"
3762
- }
3763
- },
3587
+ "description": "Gets the viewport element by id, or defaults to document root",
3764
3588
  "inheritedFrom": {
3765
3589
  "name": "AnchoredRegion",
3766
3590
  "module": "src/anchored-region/anchored-region.ts"
@@ -3768,12 +3592,9 @@
3768
3592
  },
3769
3593
  {
3770
3594
  "kind": "field",
3771
- "name": "verticalPosition",
3772
- "type": {
3773
- "text": "AnchoredRegionPositionLabel | undefined"
3774
- },
3775
- "privacy": "public",
3776
- "description": "indicates the current horizontal position of the region",
3595
+ "name": "getAnchor",
3596
+ "privacy": "private",
3597
+ "description": "Gets the anchor element by id",
3777
3598
  "inheritedFrom": {
3778
3599
  "name": "AnchoredRegion",
3779
3600
  "module": "src/anchored-region/anchored-region.ts"
@@ -3781,12 +3602,9 @@
3781
3602
  },
3782
3603
  {
3783
3604
  "kind": "field",
3784
- "name": "horizontalPosition",
3785
- "type": {
3786
- "text": "AnchoredRegionPositionLabel | undefined"
3787
- },
3788
- "privacy": "public",
3789
- "description": "indicates the current vertical position of the region",
3605
+ "name": "handleIntersection",
3606
+ "privacy": "private",
3607
+ "description": "Handle intersections",
3790
3608
  "inheritedFrom": {
3791
3609
  "name": "AnchoredRegion",
3792
3610
  "module": "src/anchored-region/anchored-region.ts"
@@ -3794,12 +3612,9 @@
3794
3612
  },
3795
3613
  {
3796
3614
  "kind": "field",
3797
- "name": "translateX",
3798
- "type": {
3799
- "text": "number"
3800
- },
3615
+ "name": "applyIntersectionEntries",
3801
3616
  "privacy": "private",
3802
- "description": "values to be applied to the component's transform on render",
3617
+ "description": "iterate through intersection entries and apply data",
3803
3618
  "inheritedFrom": {
3804
3619
  "name": "AnchoredRegion",
3805
3620
  "module": "src/anchored-region/anchored-region.ts"
@@ -3807,11 +3622,9 @@
3807
3622
  },
3808
3623
  {
3809
3624
  "kind": "field",
3810
- "name": "translateY",
3811
- "type": {
3812
- "text": "number"
3813
- },
3625
+ "name": "updateRegionOffset",
3814
3626
  "privacy": "private",
3627
+ "description": "Update the offset values",
3815
3628
  "inheritedFrom": {
3816
3629
  "name": "AnchoredRegion",
3817
3630
  "module": "src/anchored-region/anchored-region.ts"
@@ -3819,12 +3632,9 @@
3819
3632
  },
3820
3633
  {
3821
3634
  "kind": "field",
3822
- "name": "regionWidth",
3823
- "type": {
3824
- "text": "string"
3825
- },
3635
+ "name": "isRectDifferent",
3826
3636
  "privacy": "private",
3827
- "description": "the span to be applied to the region on each axis",
3637
+ "description": "compare rects to see if there is enough change to justify a DOM update",
3828
3638
  "inheritedFrom": {
3829
3639
  "name": "AnchoredRegion",
3830
3640
  "module": "src/anchored-region/anchored-region.ts"
@@ -3832,11 +3642,9 @@
3832
3642
  },
3833
3643
  {
3834
3644
  "kind": "field",
3835
- "name": "regionHeight",
3836
- "type": {
3837
- "text": "string"
3838
- },
3645
+ "name": "handleResize",
3839
3646
  "privacy": "private",
3647
+ "description": "Handle resize events",
3840
3648
  "inheritedFrom": {
3841
3649
  "name": "AnchoredRegion",
3842
3650
  "module": "src/anchored-region/anchored-region.ts"
@@ -3844,12 +3652,9 @@
3844
3652
  },
3845
3653
  {
3846
3654
  "kind": "field",
3847
- "name": "resizeDetector",
3848
- "type": {
3849
- "text": "ResizeObserverClassDefinition | null"
3850
- },
3655
+ "name": "reset",
3851
3656
  "privacy": "private",
3852
- "default": "null",
3657
+ "description": "resets the component",
3853
3658
  "inheritedFrom": {
3854
3659
  "name": "AnchoredRegion",
3855
3660
  "module": "src/anchored-region/anchored-region.ts"
@@ -3857,11 +3662,9 @@
3857
3662
  },
3858
3663
  {
3859
3664
  "kind": "field",
3860
- "name": "viewportRect",
3861
- "type": {
3862
- "text": "ClientRect | DOMRect | undefined"
3863
- },
3665
+ "name": "updateLayout",
3864
3666
  "privacy": "private",
3667
+ "description": "Recalculate layout related state values",
3865
3668
  "inheritedFrom": {
3866
3669
  "name": "AnchoredRegion",
3867
3670
  "module": "src/anchored-region/anchored-region.ts"
@@ -3869,11 +3672,9 @@
3869
3672
  },
3870
3673
  {
3871
3674
  "kind": "field",
3872
- "name": "anchorRect",
3873
- "type": {
3874
- "text": "ClientRect | DOMRect | undefined"
3875
- },
3675
+ "name": "updateRegionStyle",
3876
3676
  "privacy": "private",
3677
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3877
3678
  "inheritedFrom": {
3878
3679
  "name": "AnchoredRegion",
3879
3680
  "module": "src/anchored-region/anchored-region.ts"
@@ -3881,11 +3682,9 @@
3881
3682
  },
3882
3683
  {
3883
3684
  "kind": "field",
3884
- "name": "regionRect",
3885
- "type": {
3886
- "text": "ClientRect | DOMRect | undefined"
3887
- },
3685
+ "name": "updatePositionClasses",
3888
3686
  "privacy": "private",
3687
+ "description": "Updates the css classes that reflect the current position of the element",
3889
3688
  "inheritedFrom": {
3890
3689
  "name": "AnchoredRegion",
3891
3690
  "module": "src/anchored-region/anchored-region.ts"
@@ -3893,13 +3692,9 @@
3893
3692
  },
3894
3693
  {
3895
3694
  "kind": "field",
3896
- "name": "baseHorizontalOffset",
3897
- "type": {
3898
- "text": "number"
3899
- },
3695
+ "name": "setHorizontalPosition",
3900
3696
  "privacy": "private",
3901
- "default": "0",
3902
- "description": "base offsets between the positioner's base position and the anchor's",
3697
+ "description": "Get horizontal positioning state based on desired position",
3903
3698
  "inheritedFrom": {
3904
3699
  "name": "AnchoredRegion",
3905
3700
  "module": "src/anchored-region/anchored-region.ts"
@@ -3907,12 +3702,9 @@
3907
3702
  },
3908
3703
  {
3909
3704
  "kind": "field",
3910
- "name": "baseVerticalOffset",
3911
- "type": {
3912
- "text": "number"
3913
- },
3705
+ "name": "setVerticalPosition",
3914
3706
  "privacy": "private",
3915
- "default": "0",
3707
+ "description": "Set vertical positioning state based on desired position",
3916
3708
  "inheritedFrom": {
3917
3709
  "name": "AnchoredRegion",
3918
3710
  "module": "src/anchored-region/anchored-region.ts"
@@ -3920,12 +3712,9 @@
3920
3712
  },
3921
3713
  {
3922
3714
  "kind": "field",
3923
- "name": "pendingPositioningUpdate",
3924
- "type": {
3925
- "text": "boolean"
3926
- },
3715
+ "name": "getPositioningOptions",
3927
3716
  "privacy": "private",
3928
- "default": "false",
3717
+ "description": "Get available positions based on positioning mode",
3929
3718
  "inheritedFrom": {
3930
3719
  "name": "AnchoredRegion",
3931
3720
  "module": "src/anchored-region/anchored-region.ts"
@@ -3933,12 +3722,9 @@
3933
3722
  },
3934
3723
  {
3935
3724
  "kind": "field",
3936
- "name": "pendingReset",
3937
- "type": {
3938
- "text": "boolean"
3939
- },
3725
+ "name": "getAvailableSpace",
3940
3726
  "privacy": "private",
3941
- "default": "false",
3727
+ "description": "Get the space available for a particular relative position",
3942
3728
  "inheritedFrom": {
3943
3729
  "name": "AnchoredRegion",
3944
3730
  "module": "src/anchored-region/anchored-region.ts"
@@ -3946,11 +3732,9 @@
3946
3732
  },
3947
3733
  {
3948
3734
  "kind": "field",
3949
- "name": "currentDirection",
3950
- "type": {
3951
- "text": "Direction"
3952
- },
3735
+ "name": "getNextRegionDimension",
3953
3736
  "privacy": "private",
3737
+ "description": "Get region dimensions",
3954
3738
  "inheritedFrom": {
3955
3739
  "name": "AnchoredRegion",
3956
3740
  "module": "src/anchored-region/anchored-region.ts"
@@ -3958,12 +3742,9 @@
3958
3742
  },
3959
3743
  {
3960
3744
  "kind": "field",
3961
- "name": "regionVisible",
3962
- "type": {
3963
- "text": "boolean"
3964
- },
3745
+ "name": "startAutoUpdateEventListeners",
3965
3746
  "privacy": "private",
3966
- "default": "false",
3747
+ "description": "starts event listeners that can trigger auto updating",
3967
3748
  "inheritedFrom": {
3968
3749
  "name": "AnchoredRegion",
3969
3750
  "module": "src/anchored-region/anchored-region.ts"
@@ -3971,12 +3752,9 @@
3971
3752
  },
3972
3753
  {
3973
3754
  "kind": "field",
3974
- "name": "forceUpdate",
3975
- "type": {
3976
- "text": "boolean"
3977
- },
3755
+ "name": "stopAutoUpdateEventListeners",
3978
3756
  "privacy": "private",
3979
- "default": "false",
3757
+ "description": "stops event listeners that can trigger auto updating",
3980
3758
  "inheritedFrom": {
3981
3759
  "name": "AnchoredRegion",
3982
3760
  "module": "src/anchored-region/anchored-region.ts"
@@ -3984,340 +3762,541 @@
3984
3762
  },
3985
3763
  {
3986
3764
  "kind": "field",
3987
- "name": "updateThreshold",
3765
+ "name": "_presentation",
3988
3766
  "type": {
3989
- "text": "number"
3767
+ "text": "ComponentPresentation | null | undefined"
3990
3768
  },
3991
3769
  "privacy": "private",
3992
- "default": "0.5",
3770
+ "default": "void 0",
3993
3771
  "inheritedFrom": {
3994
- "name": "AnchoredRegion",
3995
- "module": "src/anchored-region/anchored-region.ts"
3772
+ "name": "FoundationElement",
3773
+ "module": "src/foundation-element/foundation-element.ts"
3996
3774
  }
3997
3775
  },
3998
3776
  {
3999
3777
  "kind": "field",
4000
- "name": "intersectionService",
3778
+ "name": "$presentation",
4001
3779
  "type": {
4002
- "text": "IntersectionService"
3780
+ "text": "ComponentPresentation | null"
4003
3781
  },
4004
- "privacy": "private",
4005
- "static": true,
4006
- "default": "new IntersectionService()",
3782
+ "privacy": "public",
3783
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4007
3784
  "inheritedFrom": {
4008
- "name": "AnchoredRegion",
4009
- "module": "src/anchored-region/anchored-region.ts"
3785
+ "name": "FoundationElement",
3786
+ "module": "src/foundation-element/foundation-element.ts"
4010
3787
  }
4011
3788
  },
4012
3789
  {
4013
3790
  "kind": "field",
4014
- "name": "update",
3791
+ "name": "template",
3792
+ "type": {
3793
+ "text": "ElementViewTemplate | void | null"
3794
+ },
4015
3795
  "privacy": "public",
4016
- "description": "update position",
3796
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
4017
3797
  "inheritedFrom": {
4018
- "name": "AnchoredRegion",
4019
- "module": "src/anchored-region/anchored-region.ts"
3798
+ "name": "FoundationElement",
3799
+ "module": "src/foundation-element/foundation-element.ts"
4020
3800
  }
4021
3801
  },
4022
3802
  {
4023
3803
  "kind": "method",
4024
- "name": "disconnectResizeDetector",
4025
- "privacy": "private",
3804
+ "name": "templateChanged",
3805
+ "privacy": "protected",
4026
3806
  "return": {
4027
3807
  "type": {
4028
3808
  "text": "void"
4029
3809
  }
4030
3810
  },
4031
- "description": "destroys the instance's resize observer",
4032
3811
  "inheritedFrom": {
4033
- "name": "AnchoredRegion",
4034
- "module": "src/anchored-region/anchored-region.ts"
3812
+ "name": "FoundationElement",
3813
+ "module": "src/foundation-element/foundation-element.ts"
4035
3814
  }
4036
3815
  },
4037
3816
  {
4038
- "kind": "method",
4039
- "name": "initializeResizeDetector",
4040
- "privacy": "private",
4041
- "return": {
4042
- "type": {
4043
- "text": "void"
4044
- }
3817
+ "kind": "field",
3818
+ "name": "styles",
3819
+ "type": {
3820
+ "text": "ElementStyles | void | null"
4045
3821
  },
4046
- "description": "initializes the instance's resize observer",
3822
+ "privacy": "public",
3823
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
4047
3824
  "inheritedFrom": {
4048
- "name": "AnchoredRegion",
4049
- "module": "src/anchored-region/anchored-region.ts"
3825
+ "name": "FoundationElement",
3826
+ "module": "src/foundation-element/foundation-element.ts"
4050
3827
  }
4051
3828
  },
4052
3829
  {
4053
3830
  "kind": "method",
4054
- "name": "updateForAttributeChange",
4055
- "privacy": "private",
3831
+ "name": "stylesChanged",
3832
+ "privacy": "protected",
4056
3833
  "return": {
4057
3834
  "type": {
4058
3835
  "text": "void"
4059
3836
  }
4060
3837
  },
4061
- "description": "react to attribute changes that don't require a reset",
4062
3838
  "inheritedFrom": {
4063
- "name": "AnchoredRegion",
4064
- "module": "src/anchored-region/anchored-region.ts"
3839
+ "name": "FoundationElement",
3840
+ "module": "src/foundation-element/foundation-element.ts"
4065
3841
  }
4066
3842
  },
4067
3843
  {
4068
3844
  "kind": "method",
4069
- "name": "initialize",
4070
- "privacy": "private",
3845
+ "name": "compose",
3846
+ "privacy": "public",
3847
+ "static": true,
4071
3848
  "return": {
4072
3849
  "type": {
4073
- "text": "void"
3850
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4074
3851
  }
4075
3852
  },
4076
- "description": "fully initializes the component",
3853
+ "parameters": [
3854
+ {
3855
+ "name": "this",
3856
+ "type": {
3857
+ "text": "K"
3858
+ }
3859
+ },
3860
+ {
3861
+ "name": "elementDefinition",
3862
+ "type": {
3863
+ "text": "T"
3864
+ },
3865
+ "description": "The definition of the element to create the registry\nfunction for."
3866
+ }
3867
+ ],
3868
+ "description": "Defines an element registry function with a set of element definition defaults.",
3869
+ "inheritedFrom": {
3870
+ "name": "FoundationElement",
3871
+ "module": "src/foundation-element/foundation-element.ts"
3872
+ }
3873
+ }
3874
+ ],
3875
+ "events": [
3876
+ {
3877
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3878
+ "name": "loaded",
4077
3879
  "inheritedFrom": {
4078
3880
  "name": "AnchoredRegion",
4079
3881
  "module": "src/anchored-region/anchored-region.ts"
4080
3882
  }
4081
3883
  },
4082
3884
  {
4083
- "kind": "method",
4084
- "name": "requestReset",
4085
- "privacy": "private",
4086
- "return": {
4087
- "type": {
4088
- "text": "void"
4089
- }
4090
- },
4091
- "description": "Request a reset if there are currently no open requests",
3885
+ "description": "Fires a custom 'positionchange' event when the position has changed",
3886
+ "name": "positionchange",
4092
3887
  "inheritedFrom": {
4093
3888
  "name": "AnchoredRegion",
4094
3889
  "module": "src/anchored-region/anchored-region.ts"
4095
3890
  }
3891
+ }
3892
+ ]
3893
+ },
3894
+ {
3895
+ "kind": "variable",
3896
+ "name": "foundationAnchoredRegionShadowOptions",
3897
+ "type": {
3898
+ "text": "ShadowRootInit"
3899
+ },
3900
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3901
+ },
3902
+ {
3903
+ "kind": "variable",
3904
+ "name": "defaultAnchoredRegionConfig",
3905
+ "type": {
3906
+ "text": "object"
3907
+ },
3908
+ "default": "{}"
3909
+ },
3910
+ {
3911
+ "kind": "variable",
3912
+ "name": "foundationAnchoredRegion",
3913
+ "description": "The Foundation Anchored Region",
3914
+ "privacy": "public"
3915
+ }
3916
+ ],
3917
+ "exports": [
3918
+ {
3919
+ "kind": "js",
3920
+ "name": "AnchoredRegion",
3921
+ "declaration": {
3922
+ "name": "AnchoredRegion",
3923
+ "module": "src/anchored-region/anchored-region.ts"
3924
+ }
3925
+ },
3926
+ {
3927
+ "kind": "js",
3928
+ "name": "foundationAnchoredRegionShadowOptions",
3929
+ "declaration": {
3930
+ "name": "foundationAnchoredRegionShadowOptions",
3931
+ "module": "src/anchored-region/anchored-region.ts"
3932
+ }
3933
+ },
3934
+ {
3935
+ "kind": "js",
3936
+ "name": "defaultAnchoredRegionConfig",
3937
+ "declaration": {
3938
+ "name": "defaultAnchoredRegionConfig",
3939
+ "module": "src/anchored-region/anchored-region.ts"
3940
+ }
3941
+ },
3942
+ {
3943
+ "kind": "js",
3944
+ "name": "foundationAnchoredRegion",
3945
+ "declaration": {
3946
+ "name": "foundationAnchoredRegion",
3947
+ "module": "src/anchored-region/anchored-region.ts"
3948
+ }
3949
+ }
3950
+ ]
3951
+ },
3952
+ {
3953
+ "kind": "javascript-module",
3954
+ "path": "src/anchored-region/index.ts",
3955
+ "declarations": [],
3956
+ "exports": [
3957
+ {
3958
+ "kind": "js",
3959
+ "name": "*",
3960
+ "declaration": {
3961
+ "name": "*",
3962
+ "package": "./anchor-region.template"
3963
+ }
3964
+ },
3965
+ {
3966
+ "kind": "js",
3967
+ "name": "*",
3968
+ "declaration": {
3969
+ "name": "*",
3970
+ "package": "./anchored-region.styles"
3971
+ }
3972
+ },
3973
+ {
3974
+ "kind": "js",
3975
+ "name": "*",
3976
+ "declaration": {
3977
+ "name": "*",
3978
+ "package": "./anchored-region"
3979
+ }
3980
+ }
3981
+ ]
3982
+ },
3983
+ {
3984
+ "kind": "javascript-module",
3985
+ "path": "src/actions-menu/actions-menu.styles.ts",
3986
+ "declarations": [
3987
+ {
3988
+ "kind": "function",
3989
+ "name": "actionsMenuBaseStyles",
3990
+ "return": {
3991
+ "type": {
3992
+ "text": "ElementStyles"
3993
+ }
3994
+ },
3995
+ "parameters": [
3996
+ {
3997
+ "name": "context",
3998
+ "type": {
3999
+ "text": "ElementDefinitionContext"
4000
+ }
4096
4001
  },
4097
4002
  {
4098
- "kind": "method",
4099
- "name": "setInitialState",
4100
- "privacy": "private",
4101
- "return": {
4102
- "type": {
4103
- "text": "void"
4104
- }
4105
- },
4106
- "description": "sets the starting configuration for component internal values",
4107
- "inheritedFrom": {
4108
- "name": "AnchoredRegion",
4109
- "module": "src/anchored-region/anchored-region.ts"
4003
+ "name": "definition",
4004
+ "type": {
4005
+ "text": "FoundationElementDefinition"
4006
+ }
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "function",
4012
+ "name": "foundationActionsMenuStyles",
4013
+ "return": {
4014
+ "type": {
4015
+ "text": "ElementStyles"
4016
+ }
4017
+ },
4018
+ "parameters": [
4019
+ {
4020
+ "name": "context",
4021
+ "type": {
4022
+ "text": "ElementDefinitionContext"
4110
4023
  }
4111
4024
  },
4112
4025
  {
4113
- "kind": "field",
4114
- "name": "startObservers",
4115
- "privacy": "private",
4116
- "description": "starts observers",
4117
- "inheritedFrom": {
4118
- "name": "AnchoredRegion",
4119
- "module": "src/anchored-region/anchored-region.ts"
4026
+ "name": "definition",
4027
+ "type": {
4028
+ "text": "FoundationElementDefinition"
4120
4029
  }
4121
- },
4030
+ }
4031
+ ]
4032
+ }
4033
+ ],
4034
+ "exports": [
4035
+ {
4036
+ "kind": "js",
4037
+ "name": "actionsMenuBaseStyles",
4038
+ "declaration": {
4039
+ "name": "actionsMenuBaseStyles",
4040
+ "module": "src/actions-menu/actions-menu.styles.ts"
4041
+ }
4042
+ },
4043
+ {
4044
+ "kind": "js",
4045
+ "name": "foundationActionsMenuStyles",
4046
+ "declaration": {
4047
+ "name": "foundationActionsMenuStyles",
4048
+ "module": "src/actions-menu/actions-menu.styles.ts"
4049
+ }
4050
+ }
4051
+ ]
4052
+ },
4053
+ {
4054
+ "kind": "javascript-module",
4055
+ "path": "src/actions-menu/actions-menu.template.ts",
4056
+ "declarations": [
4057
+ {
4058
+ "kind": "function",
4059
+ "name": "menuTemplate",
4060
+ "parameters": [
4122
4061
  {
4123
- "kind": "field",
4124
- "name": "requestPositionUpdates",
4125
- "privacy": "private",
4126
- "description": "get position updates",
4127
- "inheritedFrom": {
4128
- "name": "AnchoredRegion",
4129
- "module": "src/anchored-region/anchored-region.ts"
4062
+ "name": "prefix",
4063
+ "type": {
4064
+ "text": "string"
4130
4065
  }
4131
- },
4066
+ }
4067
+ ]
4068
+ },
4069
+ {
4070
+ "kind": "function",
4071
+ "name": "singleOptionTemplate",
4072
+ "parameters": [
4132
4073
  {
4133
- "kind": "field",
4134
- "name": "stopObservers",
4135
- "privacy": "private",
4136
- "description": "stops observers",
4137
- "inheritedFrom": {
4138
- "name": "AnchoredRegion",
4139
- "module": "src/anchored-region/anchored-region.ts"
4074
+ "name": "prefix",
4075
+ "type": {
4076
+ "text": "string"
4140
4077
  }
4141
- },
4078
+ }
4079
+ ]
4080
+ },
4081
+ {
4082
+ "kind": "variable",
4083
+ "name": "foundationActionsMenuTemplate",
4084
+ "type": {
4085
+ "text": "ViewTemplate<ActionsMenu>"
4086
+ },
4087
+ "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`"
4088
+ }
4089
+ ],
4090
+ "exports": [
4091
+ {
4092
+ "kind": "js",
4093
+ "name": "menuTemplate",
4094
+ "declaration": {
4095
+ "name": "menuTemplate",
4096
+ "module": "src/actions-menu/actions-menu.template.ts"
4097
+ }
4098
+ },
4099
+ {
4100
+ "kind": "js",
4101
+ "name": "singleOptionTemplate",
4102
+ "declaration": {
4103
+ "name": "singleOptionTemplate",
4104
+ "module": "src/actions-menu/actions-menu.template.ts"
4105
+ }
4106
+ },
4107
+ {
4108
+ "kind": "js",
4109
+ "name": "foundationActionsMenuTemplate",
4110
+ "declaration": {
4111
+ "name": "foundationActionsMenuTemplate",
4112
+ "module": "src/actions-menu/actions-menu.template.ts"
4113
+ }
4114
+ }
4115
+ ]
4116
+ },
4117
+ {
4118
+ "kind": "javascript-module",
4119
+ "path": "src/actions-menu/actions-menu.ts",
4120
+ "declarations": [
4121
+ {
4122
+ "kind": "class",
4123
+ "description": "",
4124
+ "name": "ActionsMenu",
4125
+ "members": [
4142
4126
  {
4143
4127
  "kind": "field",
4144
- "name": "getViewport",
4145
- "privacy": "private",
4146
- "description": "Gets the viewport element by id, or defaults to document root",
4147
- "inheritedFrom": {
4148
- "name": "AnchoredRegion",
4149
- "module": "src/anchored-region/anchored-region.ts"
4128
+ "name": "actions",
4129
+ "type": {
4130
+ "text": "ActionMenuItem[]"
4150
4131
  }
4151
4132
  },
4152
4133
  {
4153
4134
  "kind": "field",
4154
- "name": "getAnchor",
4155
- "privacy": "private",
4156
- "description": "Gets the anchor element by id",
4157
- "inheritedFrom": {
4158
- "name": "AnchoredRegion",
4159
- "module": "src/anchored-region/anchored-region.ts"
4160
- }
4135
+ "name": "isVertical",
4136
+ "type": {
4137
+ "text": "boolean"
4138
+ },
4139
+ "default": "false"
4161
4140
  },
4162
4141
  {
4163
4142
  "kind": "field",
4164
- "name": "handleIntersection",
4165
- "privacy": "private",
4166
- "description": "Handle intersections",
4167
- "inheritedFrom": {
4168
- "name": "AnchoredRegion",
4169
- "module": "src/anchored-region/anchored-region.ts"
4170
- }
4143
+ "name": "addDefaultActions",
4144
+ "type": {
4145
+ "text": "boolean"
4146
+ },
4147
+ "default": "true"
4171
4148
  },
4172
4149
  {
4173
4150
  "kind": "field",
4174
- "name": "applyIntersectionEntries",
4175
- "privacy": "private",
4176
- "description": "iterate through intersection entries and apply data",
4177
- "inheritedFrom": {
4178
- "name": "AnchoredRegion",
4179
- "module": "src/anchored-region/anchored-region.ts"
4180
- }
4151
+ "name": "autoCloseOnAction",
4152
+ "type": {
4153
+ "text": "boolean"
4154
+ },
4155
+ "default": "true"
4181
4156
  },
4182
4157
  {
4183
4158
  "kind": "field",
4184
- "name": "updateRegionOffset",
4185
- "privacy": "private",
4186
- "description": "Update the offset values",
4187
- "inheritedFrom": {
4188
- "name": "AnchoredRegion",
4189
- "module": "src/anchored-region/anchored-region.ts"
4159
+ "name": "classNames",
4160
+ "type": {
4161
+ "text": "string"
4190
4162
  }
4191
4163
  },
4192
4164
  {
4193
4165
  "kind": "field",
4194
- "name": "isRectDifferent",
4195
- "privacy": "private",
4196
- "description": "compare rects to see if there is enough change to justify a DOM update",
4197
- "inheritedFrom": {
4198
- "name": "AnchoredRegion",
4199
- "module": "src/anchored-region/anchored-region.ts"
4166
+ "name": "definition",
4167
+ "type": {
4168
+ "text": "any"
4200
4169
  }
4201
4170
  },
4202
4171
  {
4203
4172
  "kind": "field",
4204
- "name": "handleResize",
4205
- "privacy": "private",
4206
- "description": "Handle resize events",
4207
- "inheritedFrom": {
4208
- "name": "AnchoredRegion",
4209
- "module": "src/anchored-region/anchored-region.ts"
4210
- }
4173
+ "name": "name",
4174
+ "type": {
4175
+ "text": "string"
4176
+ },
4177
+ "default": "'Actions'"
4211
4178
  },
4212
4179
  {
4213
4180
  "kind": "field",
4214
- "name": "reset",
4215
- "privacy": "private",
4216
- "description": "resets the component",
4217
- "inheritedFrom": {
4218
- "name": "AnchoredRegion",
4219
- "module": "src/anchored-region/anchored-region.ts"
4220
- }
4181
+ "name": "open",
4182
+ "type": {
4183
+ "text": "boolean"
4184
+ },
4185
+ "default": "false"
4221
4186
  },
4222
4187
  {
4223
4188
  "kind": "field",
4224
- "name": "updateLayout",
4225
- "privacy": "private",
4226
- "description": "Recalculate layout related state values",
4227
- "inheritedFrom": {
4228
- "name": "AnchoredRegion",
4229
- "module": "src/anchored-region/anchored-region.ts"
4189
+ "name": "buttonAppearance",
4190
+ "type": {
4191
+ "text": "string"
4230
4192
  }
4231
4193
  },
4232
4194
  {
4233
4195
  "kind": "field",
4234
- "name": "updateRegionStyle",
4235
- "privacy": "private",
4236
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
4237
- "inheritedFrom": {
4238
- "name": "AnchoredRegion",
4239
- "module": "src/anchored-region/anchored-region.ts"
4240
- }
4196
+ "name": "hideDisabled",
4197
+ "type": {
4198
+ "text": "boolean"
4199
+ },
4200
+ "default": "false"
4241
4201
  },
4242
4202
  {
4243
4203
  "kind": "field",
4244
- "name": "updatePositionClasses",
4245
- "privacy": "private",
4246
- "description": "Updates the css classes that reflect the current position of the element",
4247
- "inheritedFrom": {
4248
- "name": "AnchoredRegion",
4249
- "module": "src/anchored-region/anchored-region.ts"
4250
- }
4204
+ "name": "hideMenuSingleOption",
4205
+ "type": {
4206
+ "text": "boolean"
4207
+ },
4208
+ "default": "false"
4251
4209
  },
4252
4210
  {
4253
4211
  "kind": "field",
4254
- "name": "setHorizontalPosition",
4255
- "privacy": "private",
4256
- "description": "Get horizontal positioning state based on desired position",
4257
- "inheritedFrom": {
4258
- "name": "AnchoredRegion",
4259
- "module": "src/anchored-region/anchored-region.ts"
4212
+ "name": "singleOption",
4213
+ "type": {
4214
+ "text": "ActionMenuItem"
4260
4215
  }
4261
4216
  },
4262
4217
  {
4263
4218
  "kind": "field",
4264
- "name": "setVerticalPosition",
4265
- "privacy": "private",
4266
- "description": "Set vertical positioning state based on desired position",
4267
- "inheritedFrom": {
4268
- "name": "AnchoredRegion",
4269
- "module": "src/anchored-region/anchored-region.ts"
4219
+ "name": "actionsMenu",
4220
+ "type": {
4221
+ "text": "HTMLElement"
4270
4222
  }
4271
4223
  },
4272
4224
  {
4273
- "kind": "field",
4274
- "name": "getPositioningOptions",
4275
- "privacy": "private",
4276
- "description": "Get available positions based on positioning mode",
4277
- "inheritedFrom": {
4278
- "name": "AnchoredRegion",
4279
- "module": "src/anchored-region/anchored-region.ts"
4280
- }
4225
+ "kind": "method",
4226
+ "name": "definitionChanged",
4227
+ "privacy": "protected",
4228
+ "parameters": [
4229
+ {
4230
+ "name": "oldValue",
4231
+ "type": {
4232
+ "text": "any"
4233
+ }
4234
+ },
4235
+ {
4236
+ "name": "newValue",
4237
+ "type": {
4238
+ "text": "any"
4239
+ }
4240
+ }
4241
+ ]
4281
4242
  },
4282
4243
  {
4283
- "kind": "field",
4284
- "name": "getAvailableSpace",
4285
- "privacy": "private",
4286
- "description": "Get the space available for a particular relative position",
4287
- "inheritedFrom": {
4288
- "name": "AnchoredRegion",
4289
- "module": "src/anchored-region/anchored-region.ts"
4290
- }
4244
+ "kind": "method",
4245
+ "name": "openChanged",
4246
+ "privacy": "protected"
4291
4247
  },
4292
4248
  {
4293
- "kind": "field",
4294
- "name": "getNextRegionDimension",
4295
- "privacy": "private",
4296
- "description": "Get region dimensions",
4297
- "inheritedFrom": {
4298
- "name": "AnchoredRegion",
4299
- "module": "src/anchored-region/anchored-region.ts"
4300
- }
4249
+ "kind": "method",
4250
+ "name": "toggleActionsMenuVisibility"
4251
+ },
4252
+ {
4253
+ "kind": "method",
4254
+ "name": "onActionMenuItemClick",
4255
+ "parameters": [
4256
+ {
4257
+ "name": "callback",
4258
+ "type": {
4259
+ "text": "(rowData) => void | any"
4260
+ }
4261
+ }
4262
+ ]
4301
4263
  },
4302
4264
  {
4303
4265
  "kind": "field",
4304
- "name": "startAutoUpdateEventListeners",
4305
- "privacy": "private",
4306
- "description": "starts event listeners that can trigger auto updating",
4307
- "inheritedFrom": {
4308
- "name": "AnchoredRegion",
4309
- "module": "src/anchored-region/anchored-region.ts"
4310
- }
4266
+ "name": "allActions",
4267
+ "type": {
4268
+ "text": "ActionMenuItem[]"
4269
+ },
4270
+ "readonly": true
4311
4271
  },
4312
4272
  {
4313
4273
  "kind": "field",
4314
- "name": "stopAutoUpdateEventListeners",
4315
- "privacy": "private",
4316
- "description": "stops event listeners that can trigger auto updating",
4317
- "inheritedFrom": {
4318
- "name": "AnchoredRegion",
4319
- "module": "src/anchored-region/anchored-region.ts"
4320
- }
4274
+ "name": "rowData",
4275
+ "readonly": true
4276
+ },
4277
+ {
4278
+ "kind": "method",
4279
+ "name": "getLabel",
4280
+ "parameters": [
4281
+ {
4282
+ "name": "name",
4283
+ "type": {
4284
+ "text": "string | ((rowData: any) => string)"
4285
+ }
4286
+ }
4287
+ ]
4288
+ },
4289
+ {
4290
+ "kind": "method",
4291
+ "name": "getTemplate",
4292
+ "parameters": [
4293
+ {
4294
+ "name": "prefix",
4295
+ "type": {
4296
+ "text": "string"
4297
+ }
4298
+ }
4299
+ ]
4321
4300
  },
4322
4301
  {
4323
4302
  "kind": "field",
@@ -4431,86 +4410,107 @@
4431
4410
  }
4432
4411
  }
4433
4412
  ],
4434
- "events": [
4413
+ "attributes": [
4435
4414
  {
4436
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4437
- "name": "loaded",
4438
- "inheritedFrom": {
4439
- "name": "AnchoredRegion",
4440
- "module": "src/anchored-region/anchored-region.ts"
4441
- }
4415
+ "name": "is-vertical",
4416
+ "type": {
4417
+ "text": "boolean"
4418
+ },
4419
+ "default": "false",
4420
+ "fieldName": "isVertical"
4442
4421
  },
4443
4422
  {
4444
- "description": "Fires a custom 'positionchange' event when the position has changed",
4445
- "name": "positionchange",
4446
- "inheritedFrom": {
4447
- "name": "AnchoredRegion",
4448
- "module": "src/anchored-region/anchored-region.ts"
4449
- }
4423
+ "name": "add-default-actions",
4424
+ "type": {
4425
+ "text": "boolean"
4426
+ },
4427
+ "default": "true",
4428
+ "fieldName": "addDefaultActions"
4429
+ },
4430
+ {
4431
+ "name": "auto-close-on-action",
4432
+ "type": {
4433
+ "text": "boolean"
4434
+ },
4435
+ "default": "true",
4436
+ "fieldName": "autoCloseOnAction"
4437
+ },
4438
+ {
4439
+ "name": "name",
4440
+ "type": {
4441
+ "text": "string"
4442
+ },
4443
+ "default": "'Actions'",
4444
+ "fieldName": "name"
4445
+ },
4446
+ {
4447
+ "name": "open",
4448
+ "type": {
4449
+ "text": "boolean"
4450
+ },
4451
+ "default": "false",
4452
+ "fieldName": "open"
4453
+ },
4454
+ {
4455
+ "name": "buttonAppearance",
4456
+ "type": {
4457
+ "text": "string"
4458
+ },
4459
+ "fieldName": "buttonAppearance"
4460
+ },
4461
+ {
4462
+ "name": "hide-disabled",
4463
+ "type": {
4464
+ "text": "boolean"
4465
+ },
4466
+ "default": "false",
4467
+ "fieldName": "hideDisabled"
4468
+ },
4469
+ {
4470
+ "name": "hide-menu-single-option",
4471
+ "type": {
4472
+ "text": "boolean"
4473
+ },
4474
+ "default": "false",
4475
+ "fieldName": "hideMenuSingleOption"
4450
4476
  }
4451
- ]
4452
- },
4453
- {
4454
- "kind": "variable",
4455
- "name": "foundationAnchoredRegionShadowOptions",
4456
- "type": {
4457
- "text": "ShadowRootInit"
4458
- },
4459
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4460
- },
4461
- {
4462
- "kind": "variable",
4463
- "name": "defaultAnchoredRegionConfig",
4464
- "type": {
4465
- "text": "object"
4477
+ ],
4478
+ "superclass": {
4479
+ "name": "FoundationElement",
4480
+ "package": "@microsoft/fast-foundation"
4466
4481
  },
4467
- "default": "{}"
4482
+ "tagName": "%%prefix%%-actions-menu",
4483
+ "customElement": true
4468
4484
  },
4469
4485
  {
4470
4486
  "kind": "variable",
4471
- "name": "foundationAnchoredRegion",
4472
- "description": "The Foundation Anchored Region",
4487
+ "name": "foundationActionsMenu",
4488
+ "description": "The Foundation Actions Menu",
4473
4489
  "privacy": "public"
4474
4490
  }
4475
4491
  ],
4476
4492
  "exports": [
4477
4493
  {
4478
4494
  "kind": "js",
4479
- "name": "AnchoredRegion",
4480
- "declaration": {
4481
- "name": "AnchoredRegion",
4482
- "module": "src/anchored-region/anchored-region.ts"
4483
- }
4484
- },
4485
- {
4486
- "kind": "js",
4487
- "name": "foundationAnchoredRegionShadowOptions",
4488
- "declaration": {
4489
- "name": "foundationAnchoredRegionShadowOptions",
4490
- "module": "src/anchored-region/anchored-region.ts"
4491
- }
4492
- },
4493
- {
4494
- "kind": "js",
4495
- "name": "defaultAnchoredRegionConfig",
4495
+ "name": "ActionsMenu",
4496
4496
  "declaration": {
4497
- "name": "defaultAnchoredRegionConfig",
4498
- "module": "src/anchored-region/anchored-region.ts"
4497
+ "name": "ActionsMenu",
4498
+ "module": "src/actions-menu/actions-menu.ts"
4499
4499
  }
4500
4500
  },
4501
4501
  {
4502
4502
  "kind": "js",
4503
- "name": "foundationAnchoredRegion",
4503
+ "name": "foundationActionsMenu",
4504
4504
  "declaration": {
4505
- "name": "foundationAnchoredRegion",
4506
- "module": "src/anchored-region/anchored-region.ts"
4505
+ "name": "foundationActionsMenu",
4506
+ "module": "src/actions-menu/actions-menu.ts"
4507
4507
  }
4508
4508
  }
4509
4509
  ]
4510
4510
  },
4511
4511
  {
4512
4512
  "kind": "javascript-module",
4513
- "path": "src/anchored-region/index.ts",
4513
+ "path": "src/actions-menu/index.ts",
4514
4514
  "declarations": [],
4515
4515
  "exports": [
4516
4516
  {
@@ -4518,7 +4518,7 @@
4518
4518
  "name": "*",
4519
4519
  "declaration": {
4520
4520
  "name": "*",
4521
- "package": "./anchor-region.template"
4521
+ "package": "./actions-menu.styles"
4522
4522
  }
4523
4523
  },
4524
4524
  {
@@ -4526,7 +4526,7 @@
4526
4526
  "name": "*",
4527
4527
  "declaration": {
4528
4528
  "name": "*",
4529
- "package": "./anchored-region.styles"
4529
+ "package": "./actions-menu.template"
4530
4530
  }
4531
4531
  },
4532
4532
  {
@@ -4534,7 +4534,7 @@
4534
4534
  "name": "*",
4535
4535
  "declaration": {
4536
4536
  "name": "*",
4537
- "package": "./anchored-region"
4537
+ "package": "./actions-menu"
4538
4538
  }
4539
4539
  }
4540
4540
  ]