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