@genesislcap/foundation-ui 14.264.0 → 14.264.1-alpha-62036fb.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 +1467 -1467
  2. package/package.json +18 -18
@@ -880,188 +880,6 @@
880
880
  }
881
881
  ]
882
882
  },
883
- {
884
- "kind": "javascript-module",
885
- "path": "src/accordion/accordion.styles.ts",
886
- "declarations": [
887
- {
888
- "kind": "function",
889
- "name": "foundationAccordionStyles",
890
- "return": {
891
- "type": {
892
- "text": "ElementStyles"
893
- }
894
- },
895
- "parameters": [
896
- {
897
- "name": "context",
898
- "type": {
899
- "text": "ElementDefinitionContext"
900
- }
901
- },
902
- {
903
- "name": "definition",
904
- "type": {
905
- "text": "FoundationElementDefinition"
906
- }
907
- }
908
- ]
909
- }
910
- ],
911
- "exports": [
912
- {
913
- "kind": "js",
914
- "name": "foundationAccordionStyles",
915
- "declaration": {
916
- "name": "foundationAccordionStyles",
917
- "module": "src/accordion/accordion.styles.ts"
918
- }
919
- }
920
- ]
921
- },
922
- {
923
- "kind": "javascript-module",
924
- "path": "src/accordion/accordion.template.ts",
925
- "declarations": [
926
- {
927
- "kind": "function",
928
- "name": "foundationAccordionTemplate",
929
- "return": {
930
- "type": {
931
- "text": "ViewTemplate<Accordion>"
932
- }
933
- },
934
- "parameters": [
935
- {
936
- "name": "context",
937
- "type": {
938
- "text": "ElementDefinitionContext"
939
- }
940
- },
941
- {
942
- "name": "definition",
943
- "type": {
944
- "text": "FoundationElementDefinition"
945
- }
946
- }
947
- ]
948
- }
949
- ],
950
- "exports": [
951
- {
952
- "kind": "js",
953
- "name": "foundationAccordionTemplate",
954
- "declaration": {
955
- "name": "foundationAccordionTemplate",
956
- "module": "src/accordion/accordion.template.ts"
957
- }
958
- }
959
- ]
960
- },
961
- {
962
- "kind": "javascript-module",
963
- "path": "src/accordion/accordion.ts",
964
- "declarations": [
965
- {
966
- "kind": "class",
967
- "description": "",
968
- "name": "Accordion",
969
- "superclass": {
970
- "name": "FASTAccordion",
971
- "package": "@microsoft/fast-foundation"
972
- },
973
- "tagName": "%%prefix%%-accordion",
974
- "customElement": true
975
- },
976
- {
977
- "kind": "variable",
978
- "name": "foundationAccordionShadowOptions",
979
- "type": {
980
- "text": "ShadowRootInit"
981
- },
982
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
983
- },
984
- {
985
- "kind": "variable",
986
- "name": "defaultAccordionConfig",
987
- "type": {
988
- "text": "object"
989
- },
990
- "default": "{}"
991
- },
992
- {
993
- "kind": "variable",
994
- "name": "foundationAccordion",
995
- "description": "The Foundation Accordion",
996
- "privacy": "public"
997
- }
998
- ],
999
- "exports": [
1000
- {
1001
- "kind": "js",
1002
- "name": "Accordion",
1003
- "declaration": {
1004
- "name": "Accordion",
1005
- "module": "src/accordion/accordion.ts"
1006
- }
1007
- },
1008
- {
1009
- "kind": "js",
1010
- "name": "foundationAccordionShadowOptions",
1011
- "declaration": {
1012
- "name": "foundationAccordionShadowOptions",
1013
- "module": "src/accordion/accordion.ts"
1014
- }
1015
- },
1016
- {
1017
- "kind": "js",
1018
- "name": "defaultAccordionConfig",
1019
- "declaration": {
1020
- "name": "defaultAccordionConfig",
1021
- "module": "src/accordion/accordion.ts"
1022
- }
1023
- },
1024
- {
1025
- "kind": "js",
1026
- "name": "foundationAccordion",
1027
- "declaration": {
1028
- "name": "foundationAccordion",
1029
- "module": "src/accordion/accordion.ts"
1030
- }
1031
- }
1032
- ]
1033
- },
1034
- {
1035
- "kind": "javascript-module",
1036
- "path": "src/accordion/index.ts",
1037
- "declarations": [],
1038
- "exports": [
1039
- {
1040
- "kind": "js",
1041
- "name": "*",
1042
- "declaration": {
1043
- "name": "*",
1044
- "package": "./accordion.template"
1045
- }
1046
- },
1047
- {
1048
- "kind": "js",
1049
- "name": "*",
1050
- "declaration": {
1051
- "name": "*",
1052
- "package": "./accordion.styles"
1053
- }
1054
- },
1055
- {
1056
- "kind": "js",
1057
- "name": "*",
1058
- "declaration": {
1059
- "name": "*",
1060
- "package": "./accordion"
1061
- }
1062
- }
1063
- ]
1064
- },
1065
883
  {
1066
884
  "kind": "javascript-module",
1067
885
  "path": "src/_config/index.ts",
@@ -1489,11 +1307,11 @@
1489
1307
  },
1490
1308
  {
1491
1309
  "kind": "javascript-module",
1492
- "path": "src/anchor/anchor.styles.ts",
1310
+ "path": "src/actions-menu/actions-menu.styles.ts",
1493
1311
  "declarations": [
1494
1312
  {
1495
1313
  "kind": "function",
1496
- "name": "foundationAnchorStyles",
1314
+ "name": "actionsMenuBaseStyles",
1497
1315
  "return": {
1498
1316
  "type": {
1499
1317
  "text": "ElementStyles"
@@ -1513,29 +1331,13 @@
1513
1331
  }
1514
1332
  }
1515
1333
  ]
1516
- }
1517
- ],
1518
- "exports": [
1519
- {
1520
- "kind": "js",
1521
- "name": "foundationAnchorStyles",
1522
- "declaration": {
1523
- "name": "foundationAnchorStyles",
1524
- "module": "src/anchor/anchor.styles.ts"
1525
- }
1526
- }
1527
- ]
1528
- },
1529
- {
1530
- "kind": "javascript-module",
1531
- "path": "src/anchor/anchor.template.ts",
1532
- "declarations": [
1334
+ },
1533
1335
  {
1534
1336
  "kind": "function",
1535
- "name": "foundationAnchorTemplate",
1337
+ "name": "foundationActionsMenuStyles",
1536
1338
  "return": {
1537
1339
  "type": {
1538
- "text": "ViewTemplate<Anchor>"
1340
+ "text": "ElementStyles"
1539
1341
  }
1540
1342
  },
1541
1343
  "parameters": [
@@ -1557,270 +1359,286 @@
1557
1359
  "exports": [
1558
1360
  {
1559
1361
  "kind": "js",
1560
- "name": "foundationAnchorTemplate",
1362
+ "name": "actionsMenuBaseStyles",
1561
1363
  "declaration": {
1562
- "name": "foundationAnchorTemplate",
1563
- "module": "src/anchor/anchor.template.ts"
1364
+ "name": "actionsMenuBaseStyles",
1365
+ "module": "src/actions-menu/actions-menu.styles.ts"
1366
+ }
1367
+ },
1368
+ {
1369
+ "kind": "js",
1370
+ "name": "foundationActionsMenuStyles",
1371
+ "declaration": {
1372
+ "name": "foundationActionsMenuStyles",
1373
+ "module": "src/actions-menu/actions-menu.styles.ts"
1564
1374
  }
1565
1375
  }
1566
1376
  ]
1567
1377
  },
1568
1378
  {
1569
1379
  "kind": "javascript-module",
1570
- "path": "src/anchor/anchor.ts",
1380
+ "path": "src/actions-menu/actions-menu.template.ts",
1571
1381
  "declarations": [
1572
1382
  {
1573
- "kind": "class",
1574
- "description": "",
1575
- "name": "Anchor",
1576
- "superclass": {
1577
- "name": "FASTAnchor",
1578
- "package": "@microsoft/fast-components"
1579
- },
1580
- "tagName": "%%prefix%%-anchor",
1581
- "customElement": true,
1582
- "attributes": [
1383
+ "kind": "function",
1384
+ "name": "menuTemplate",
1385
+ "parameters": [
1583
1386
  {
1584
- "name": "download",
1387
+ "name": "prefix",
1585
1388
  "type": {
1586
1389
  "text": "string"
1587
- },
1588
- "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.",
1589
- "fieldName": "download",
1590
- "inheritedFrom": {
1591
- "name": "Anchor",
1592
- "module": "src/anchor/anchor.ts"
1593
1390
  }
1594
- },
1391
+ }
1392
+ ]
1393
+ },
1394
+ {
1395
+ "kind": "function",
1396
+ "name": "singleOptionTemplate",
1397
+ "parameters": [
1595
1398
  {
1596
- "name": "href",
1399
+ "name": "prefix",
1597
1400
  "type": {
1598
1401
  "text": "string"
1599
- },
1600
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1601
- "fieldName": "href",
1602
- "inheritedFrom": {
1603
- "name": "Anchor",
1604
- "module": "src/anchor/anchor.ts"
1605
- }
1606
- },
1607
- {
1608
- "name": "hreflang",
1609
- "type": {
1610
- "text": "string"
1611
- },
1612
- "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.",
1613
- "fieldName": "hreflang",
1614
- "inheritedFrom": {
1615
- "name": "Anchor",
1616
- "module": "src/anchor/anchor.ts"
1617
1402
  }
1618
- },
1403
+ }
1404
+ ]
1405
+ },
1406
+ {
1407
+ "kind": "variable",
1408
+ "name": "foundationActionsMenuTemplate",
1409
+ "type": {
1410
+ "text": "ViewTemplate<ActionsMenu>"
1411
+ },
1412
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1413
+ }
1414
+ ],
1415
+ "exports": [
1416
+ {
1417
+ "kind": "js",
1418
+ "name": "menuTemplate",
1419
+ "declaration": {
1420
+ "name": "menuTemplate",
1421
+ "module": "src/actions-menu/actions-menu.template.ts"
1422
+ }
1423
+ },
1424
+ {
1425
+ "kind": "js",
1426
+ "name": "singleOptionTemplate",
1427
+ "declaration": {
1428
+ "name": "singleOptionTemplate",
1429
+ "module": "src/actions-menu/actions-menu.template.ts"
1430
+ }
1431
+ },
1432
+ {
1433
+ "kind": "js",
1434
+ "name": "foundationActionsMenuTemplate",
1435
+ "declaration": {
1436
+ "name": "foundationActionsMenuTemplate",
1437
+ "module": "src/actions-menu/actions-menu.template.ts"
1438
+ }
1439
+ }
1440
+ ]
1441
+ },
1442
+ {
1443
+ "kind": "javascript-module",
1444
+ "path": "src/actions-menu/actions-menu.ts",
1445
+ "declarations": [
1446
+ {
1447
+ "kind": "class",
1448
+ "description": "",
1449
+ "name": "ActionsMenu",
1450
+ "members": [
1619
1451
  {
1620
- "name": "ping",
1452
+ "kind": "field",
1453
+ "name": "actions",
1621
1454
  "type": {
1622
- "text": "string"
1623
- },
1624
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1625
- "fieldName": "ping",
1626
- "inheritedFrom": {
1627
- "name": "Anchor",
1628
- "module": "src/anchor/anchor.ts"
1455
+ "text": "ActionMenuItem[]"
1629
1456
  }
1630
1457
  },
1631
1458
  {
1632
- "name": "referrerpolicy",
1459
+ "kind": "field",
1460
+ "name": "isVertical",
1633
1461
  "type": {
1634
- "text": "string"
1462
+ "text": "boolean"
1635
1463
  },
1636
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1637
- "fieldName": "referrerpolicy",
1638
- "inheritedFrom": {
1639
- "name": "Anchor",
1640
- "module": "src/anchor/anchor.ts"
1641
- }
1464
+ "default": "false"
1642
1465
  },
1643
1466
  {
1644
- "name": "rel",
1467
+ "kind": "field",
1468
+ "name": "addDefaultActions",
1645
1469
  "type": {
1646
- "text": "string"
1470
+ "text": "boolean"
1647
1471
  },
1648
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1649
- "fieldName": "rel",
1650
- "inheritedFrom": {
1651
- "name": "Anchor",
1652
- "module": "src/anchor/anchor.ts"
1653
- }
1472
+ "default": "true"
1654
1473
  },
1655
1474
  {
1656
- "name": "target",
1475
+ "kind": "field",
1476
+ "name": "autoCloseOnAction",
1657
1477
  "type": {
1658
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1478
+ "text": "boolean"
1659
1479
  },
1660
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1661
- "fieldName": "target",
1662
- "inheritedFrom": {
1663
- "name": "Anchor",
1664
- "module": "src/anchor/anchor.ts"
1665
- }
1480
+ "default": "true"
1666
1481
  },
1667
- {
1668
- "name": "type",
1669
- "type": {
1670
- "text": "string"
1671
- },
1672
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1673
- "fieldName": "type",
1674
- "inheritedFrom": {
1675
- "name": "Anchor",
1676
- "module": "src/anchor/anchor.ts"
1677
- }
1678
- }
1679
- ],
1680
- "members": [
1681
1482
  {
1682
1483
  "kind": "field",
1683
- "name": "download",
1484
+ "name": "classNames",
1684
1485
  "type": {
1685
1486
  "text": "string"
1686
- },
1687
- "privacy": "public",
1688
- "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.",
1689
- "inheritedFrom": {
1690
- "name": "Anchor",
1691
- "module": "src/anchor/anchor.ts"
1692
1487
  }
1693
1488
  },
1694
1489
  {
1695
1490
  "kind": "field",
1696
- "name": "href",
1491
+ "name": "definition",
1697
1492
  "type": {
1698
- "text": "string"
1699
- },
1700
- "privacy": "public",
1701
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1702
- "inheritedFrom": {
1703
- "name": "Anchor",
1704
- "module": "src/anchor/anchor.ts"
1493
+ "text": "any"
1705
1494
  }
1706
1495
  },
1707
1496
  {
1708
1497
  "kind": "field",
1709
- "name": "hreflang",
1498
+ "name": "name",
1710
1499
  "type": {
1711
1500
  "text": "string"
1712
1501
  },
1713
- "privacy": "public",
1714
- "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.",
1715
- "inheritedFrom": {
1716
- "name": "Anchor",
1717
- "module": "src/anchor/anchor.ts"
1718
- }
1502
+ "default": "'Actions'"
1719
1503
  },
1720
1504
  {
1721
1505
  "kind": "field",
1722
- "name": "ping",
1506
+ "name": "open",
1723
1507
  "type": {
1724
- "text": "string"
1508
+ "text": "boolean"
1725
1509
  },
1726
- "privacy": "public",
1727
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1728
- "inheritedFrom": {
1729
- "name": "Anchor",
1730
- "module": "src/anchor/anchor.ts"
1731
- }
1510
+ "default": "false"
1732
1511
  },
1733
1512
  {
1734
1513
  "kind": "field",
1735
- "name": "referrerpolicy",
1514
+ "name": "buttonAppearance",
1736
1515
  "type": {
1737
1516
  "text": "string"
1738
- },
1739
- "privacy": "public",
1740
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1741
- "inheritedFrom": {
1742
- "name": "Anchor",
1743
- "module": "src/anchor/anchor.ts"
1744
1517
  }
1745
1518
  },
1746
1519
  {
1747
1520
  "kind": "field",
1748
- "name": "rel",
1521
+ "name": "hideDisabled",
1749
1522
  "type": {
1750
- "text": "string"
1523
+ "text": "boolean"
1751
1524
  },
1752
- "privacy": "public",
1753
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1754
- "inheritedFrom": {
1755
- "name": "Anchor",
1756
- "module": "src/anchor/anchor.ts"
1757
- }
1525
+ "default": "false"
1758
1526
  },
1759
1527
  {
1760
1528
  "kind": "field",
1761
- "name": "target",
1529
+ "name": "hideMenuSingleOption",
1762
1530
  "type": {
1763
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1531
+ "text": "boolean"
1764
1532
  },
1765
- "privacy": "public",
1766
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1767
- "inheritedFrom": {
1768
- "name": "Anchor",
1769
- "module": "src/anchor/anchor.ts"
1770
- }
1533
+ "default": "false"
1771
1534
  },
1772
1535
  {
1773
1536
  "kind": "field",
1774
- "name": "type",
1537
+ "name": "singleOption",
1775
1538
  "type": {
1776
- "text": "string"
1777
- },
1778
- "privacy": "public",
1779
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1780
- "inheritedFrom": {
1781
- "name": "Anchor",
1782
- "module": "src/anchor/anchor.ts"
1539
+ "text": "ActionMenuItem"
1783
1540
  }
1784
1541
  },
1785
1542
  {
1786
1543
  "kind": "field",
1787
- "name": "control",
1544
+ "name": "actionsMenu",
1788
1545
  "type": {
1789
- "text": "HTMLAnchorElement | undefined"
1790
- },
1791
- "privacy": "public",
1792
- "description": "References the root element",
1793
- "inheritedFrom": {
1794
- "name": "Anchor",
1795
- "module": "src/anchor/anchor.ts"
1546
+ "text": "HTMLElement"
1796
1547
  }
1797
1548
  },
1798
1549
  {
1799
- "kind": "field",
1800
- "name": "handleUnsupportedDelegatesFocus",
1801
- "privacy": "private",
1802
- "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",
1803
- "inheritedFrom": {
1804
- "name": "Anchor",
1805
- "module": "src/anchor/anchor.ts"
1806
- }
1550
+ "kind": "method",
1551
+ "name": "definitionChanged",
1552
+ "privacy": "protected",
1553
+ "parameters": [
1554
+ {
1555
+ "name": "oldValue",
1556
+ "type": {
1557
+ "text": "any"
1558
+ }
1559
+ },
1560
+ {
1561
+ "name": "newValue",
1562
+ "type": {
1563
+ "text": "any"
1564
+ }
1565
+ }
1566
+ ]
1807
1567
  },
1808
1568
  {
1809
- "kind": "field",
1810
- "name": "_presentation",
1811
- "type": {
1812
- "text": "ComponentPresentation | null | undefined"
1813
- },
1814
- "privacy": "private",
1815
- "default": "void 0",
1816
- "inheritedFrom": {
1817
- "name": "FoundationElement",
1818
- "module": "src/foundation-element/foundation-element.ts"
1819
- }
1569
+ "kind": "method",
1570
+ "name": "openChanged",
1571
+ "privacy": "protected"
1820
1572
  },
1821
1573
  {
1822
- "kind": "field",
1823
- "name": "$presentation",
1574
+ "kind": "method",
1575
+ "name": "toggleActionsMenuVisibility"
1576
+ },
1577
+ {
1578
+ "kind": "method",
1579
+ "name": "onActionMenuItemClick",
1580
+ "parameters": [
1581
+ {
1582
+ "name": "callback",
1583
+ "type": {
1584
+ "text": "(rowData) => void | any"
1585
+ }
1586
+ }
1587
+ ]
1588
+ },
1589
+ {
1590
+ "kind": "field",
1591
+ "name": "allActions",
1592
+ "type": {
1593
+ "text": "ActionMenuItem[]"
1594
+ },
1595
+ "readonly": true
1596
+ },
1597
+ {
1598
+ "kind": "field",
1599
+ "name": "rowData",
1600
+ "readonly": true
1601
+ },
1602
+ {
1603
+ "kind": "method",
1604
+ "name": "getLabel",
1605
+ "parameters": [
1606
+ {
1607
+ "name": "name",
1608
+ "type": {
1609
+ "text": "string | ((rowData: any) => string)"
1610
+ }
1611
+ }
1612
+ ]
1613
+ },
1614
+ {
1615
+ "kind": "method",
1616
+ "name": "getTemplate",
1617
+ "parameters": [
1618
+ {
1619
+ "name": "prefix",
1620
+ "type": {
1621
+ "text": "string"
1622
+ }
1623
+ }
1624
+ ]
1625
+ },
1626
+ {
1627
+ "kind": "field",
1628
+ "name": "_presentation",
1629
+ "type": {
1630
+ "text": "ComponentPresentation | null | undefined"
1631
+ },
1632
+ "privacy": "private",
1633
+ "default": "void 0",
1634
+ "inheritedFrom": {
1635
+ "name": "FoundationElement",
1636
+ "module": "src/foundation-element/foundation-element.ts"
1637
+ }
1638
+ },
1639
+ {
1640
+ "kind": "field",
1641
+ "name": "$presentation",
1824
1642
  "type": {
1825
1643
  "text": "ComponentPresentation | null"
1826
1644
  },
@@ -1916,69 +1734,108 @@
1916
1734
  "module": "src/foundation-element/foundation-element.ts"
1917
1735
  }
1918
1736
  }
1919
- ]
1920
- },
1921
- {
1922
- "kind": "variable",
1923
- "name": "foundationAnchorShadowOptions",
1924
- "type": {
1925
- "text": "ShadowRootInit"
1926
- },
1927
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1928
- },
1929
- {
1930
- "kind": "variable",
1931
- "name": "defaultAnchorConfig",
1932
- "type": {
1933
- "text": "object"
1737
+ ],
1738
+ "attributes": [
1739
+ {
1740
+ "name": "is-vertical",
1741
+ "type": {
1742
+ "text": "boolean"
1743
+ },
1744
+ "default": "false",
1745
+ "fieldName": "isVertical"
1746
+ },
1747
+ {
1748
+ "name": "add-default-actions",
1749
+ "type": {
1750
+ "text": "boolean"
1751
+ },
1752
+ "default": "true",
1753
+ "fieldName": "addDefaultActions"
1754
+ },
1755
+ {
1756
+ "name": "auto-close-on-action",
1757
+ "type": {
1758
+ "text": "boolean"
1759
+ },
1760
+ "default": "true",
1761
+ "fieldName": "autoCloseOnAction"
1762
+ },
1763
+ {
1764
+ "name": "name",
1765
+ "type": {
1766
+ "text": "string"
1767
+ },
1768
+ "default": "'Actions'",
1769
+ "fieldName": "name"
1770
+ },
1771
+ {
1772
+ "name": "open",
1773
+ "type": {
1774
+ "text": "boolean"
1775
+ },
1776
+ "default": "false",
1777
+ "fieldName": "open"
1778
+ },
1779
+ {
1780
+ "name": "buttonAppearance",
1781
+ "type": {
1782
+ "text": "string"
1783
+ },
1784
+ "fieldName": "buttonAppearance"
1785
+ },
1786
+ {
1787
+ "name": "hide-disabled",
1788
+ "type": {
1789
+ "text": "boolean"
1790
+ },
1791
+ "default": "false",
1792
+ "fieldName": "hideDisabled"
1793
+ },
1794
+ {
1795
+ "name": "hide-menu-single-option",
1796
+ "type": {
1797
+ "text": "boolean"
1798
+ },
1799
+ "default": "false",
1800
+ "fieldName": "hideMenuSingleOption"
1801
+ }
1802
+ ],
1803
+ "superclass": {
1804
+ "name": "FoundationElement",
1805
+ "package": "@microsoft/fast-foundation"
1934
1806
  },
1935
- "default": "{}"
1807
+ "tagName": "%%prefix%%-actions-menu",
1808
+ "customElement": true
1936
1809
  },
1937
1810
  {
1938
1811
  "kind": "variable",
1939
- "name": "foundationAnchor",
1940
- "description": "The Foundation Anchor",
1812
+ "name": "foundationActionsMenu",
1813
+ "description": "The Foundation Actions Menu",
1941
1814
  "privacy": "public"
1942
1815
  }
1943
1816
  ],
1944
1817
  "exports": [
1945
1818
  {
1946
1819
  "kind": "js",
1947
- "name": "Anchor",
1948
- "declaration": {
1949
- "name": "Anchor",
1950
- "module": "src/anchor/anchor.ts"
1951
- }
1952
- },
1953
- {
1954
- "kind": "js",
1955
- "name": "foundationAnchorShadowOptions",
1956
- "declaration": {
1957
- "name": "foundationAnchorShadowOptions",
1958
- "module": "src/anchor/anchor.ts"
1959
- }
1960
- },
1961
- {
1962
- "kind": "js",
1963
- "name": "defaultAnchorConfig",
1820
+ "name": "ActionsMenu",
1964
1821
  "declaration": {
1965
- "name": "defaultAnchorConfig",
1966
- "module": "src/anchor/anchor.ts"
1822
+ "name": "ActionsMenu",
1823
+ "module": "src/actions-menu/actions-menu.ts"
1967
1824
  }
1968
1825
  },
1969
1826
  {
1970
1827
  "kind": "js",
1971
- "name": "foundationAnchor",
1828
+ "name": "foundationActionsMenu",
1972
1829
  "declaration": {
1973
- "name": "foundationAnchor",
1974
- "module": "src/anchor/anchor.ts"
1830
+ "name": "foundationActionsMenu",
1831
+ "module": "src/actions-menu/actions-menu.ts"
1975
1832
  }
1976
1833
  }
1977
1834
  ]
1978
1835
  },
1979
1836
  {
1980
1837
  "kind": "javascript-module",
1981
- "path": "src/anchor/index.ts",
1838
+ "path": "src/actions-menu/index.ts",
1982
1839
  "declarations": [],
1983
1840
  "exports": [
1984
1841
  {
@@ -1986,7 +1843,7 @@
1986
1843
  "name": "*",
1987
1844
  "declaration": {
1988
1845
  "name": "*",
1989
- "package": "./anchor.template"
1846
+ "package": "./actions-menu.styles"
1990
1847
  }
1991
1848
  },
1992
1849
  {
@@ -1994,7 +1851,7 @@
1994
1851
  "name": "*",
1995
1852
  "declaration": {
1996
1853
  "name": "*",
1997
- "package": "./anchor.styles"
1854
+ "package": "./actions-menu.template"
1998
1855
  }
1999
1856
  },
2000
1857
  {
@@ -2002,21 +1859,21 @@
2002
1859
  "name": "*",
2003
1860
  "declaration": {
2004
1861
  "name": "*",
2005
- "package": "./anchor"
1862
+ "package": "./actions-menu"
2006
1863
  }
2007
1864
  }
2008
1865
  ]
2009
1866
  },
2010
1867
  {
2011
1868
  "kind": "javascript-module",
2012
- "path": "src/anchored-region/anchor-region.template.ts",
1869
+ "path": "src/anchor/anchor.styles.ts",
2013
1870
  "declarations": [
2014
1871
  {
2015
1872
  "kind": "function",
2016
- "name": "foundationAnchoredRegionTemplate",
1873
+ "name": "foundationAnchorStyles",
2017
1874
  "return": {
2018
1875
  "type": {
2019
- "text": "ViewTemplate<AnchoredRegion>"
1876
+ "text": "ElementStyles"
2020
1877
  }
2021
1878
  },
2022
1879
  "parameters": [
@@ -2038,24 +1895,24 @@
2038
1895
  "exports": [
2039
1896
  {
2040
1897
  "kind": "js",
2041
- "name": "foundationAnchoredRegionTemplate",
1898
+ "name": "foundationAnchorStyles",
2042
1899
  "declaration": {
2043
- "name": "foundationAnchoredRegionTemplate",
2044
- "module": "src/anchored-region/anchor-region.template.ts"
1900
+ "name": "foundationAnchorStyles",
1901
+ "module": "src/anchor/anchor.styles.ts"
2045
1902
  }
2046
1903
  }
2047
1904
  ]
2048
1905
  },
2049
1906
  {
2050
1907
  "kind": "javascript-module",
2051
- "path": "src/anchored-region/anchored-region.styles.ts",
1908
+ "path": "src/anchor/anchor.template.ts",
2052
1909
  "declarations": [
2053
1910
  {
2054
1911
  "kind": "function",
2055
- "name": "foundationAnchoredRegionStyles",
1912
+ "name": "foundationAnchorTemplate",
2056
1913
  "return": {
2057
1914
  "type": {
2058
- "text": "ElementStyles"
1915
+ "text": "ViewTemplate<Anchor>"
2059
1916
  }
2060
1917
  },
2061
1918
  "parameters": [
@@ -2077,580 +1934,948 @@
2077
1934
  "exports": [
2078
1935
  {
2079
1936
  "kind": "js",
2080
- "name": "foundationAnchoredRegionStyles",
1937
+ "name": "foundationAnchorTemplate",
2081
1938
  "declaration": {
2082
- "name": "foundationAnchoredRegionStyles",
2083
- "module": "src/anchored-region/anchored-region.styles.ts"
1939
+ "name": "foundationAnchorTemplate",
1940
+ "module": "src/anchor/anchor.template.ts"
2084
1941
  }
2085
1942
  }
2086
1943
  ]
2087
1944
  },
2088
1945
  {
2089
1946
  "kind": "javascript-module",
2090
- "path": "src/anchored-region/anchored-region.ts",
1947
+ "path": "src/anchor/anchor.ts",
2091
1948
  "declarations": [
2092
1949
  {
2093
1950
  "kind": "class",
2094
1951
  "description": "",
2095
- "name": "AnchoredRegion",
1952
+ "name": "Anchor",
2096
1953
  "superclass": {
2097
- "name": "FASTAnchoredRegion",
1954
+ "name": "FASTAnchor",
2098
1955
  "package": "@microsoft/fast-components"
2099
1956
  },
2100
- "tagName": "%%prefix%%-anchored-region",
1957
+ "tagName": "%%prefix%%-anchor",
2101
1958
  "customElement": true,
2102
1959
  "attributes": [
2103
1960
  {
2104
- "name": "anchor",
1961
+ "name": "download",
2105
1962
  "type": {
2106
1963
  "text": "string"
2107
1964
  },
2108
- "default": "\"\"",
2109
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2110
- "fieldName": "anchor",
1965
+ "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.",
1966
+ "fieldName": "download",
2111
1967
  "inheritedFrom": {
2112
- "name": "AnchoredRegion",
2113
- "module": "src/anchored-region/anchored-region.ts"
1968
+ "name": "Anchor",
1969
+ "module": "src/anchor/anchor.ts"
2114
1970
  }
2115
1971
  },
2116
1972
  {
2117
- "name": "viewport",
1973
+ "name": "href",
2118
1974
  "type": {
2119
1975
  "text": "string"
2120
1976
  },
2121
- "default": "\"\"",
2122
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2123
- "fieldName": "viewport",
1977
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1978
+ "fieldName": "href",
2124
1979
  "inheritedFrom": {
2125
- "name": "AnchoredRegion",
2126
- "module": "src/anchored-region/anchored-region.ts"
1980
+ "name": "Anchor",
1981
+ "module": "src/anchor/anchor.ts"
2127
1982
  }
2128
1983
  },
2129
1984
  {
2130
- "name": "horizontal-positioning-mode",
1985
+ "name": "hreflang",
2131
1986
  "type": {
2132
- "text": "AxisPositioningMode"
1987
+ "text": "string"
2133
1988
  },
2134
- "default": "\"uncontrolled\"",
2135
- "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",
2136
- "fieldName": "horizontalPositioningMode",
1989
+ "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.",
1990
+ "fieldName": "hreflang",
2137
1991
  "inheritedFrom": {
2138
- "name": "AnchoredRegion",
2139
- "module": "src/anchored-region/anchored-region.ts"
1992
+ "name": "Anchor",
1993
+ "module": "src/anchor/anchor.ts"
2140
1994
  }
2141
1995
  },
2142
1996
  {
2143
- "name": "horizontal-default-position",
1997
+ "name": "ping",
2144
1998
  "type": {
2145
- "text": "HorizontalPosition"
1999
+ "text": "string"
2146
2000
  },
2147
- "default": "\"unset\"",
2148
- "description": "The default horizontal position of the region relative to the anchor element",
2149
- "fieldName": "horizontalDefaultPosition",
2001
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2002
+ "fieldName": "ping",
2150
2003
  "inheritedFrom": {
2151
- "name": "AnchoredRegion",
2152
- "module": "src/anchored-region/anchored-region.ts"
2004
+ "name": "Anchor",
2005
+ "module": "src/anchor/anchor.ts"
2153
2006
  }
2154
2007
  },
2155
2008
  {
2156
- "name": "horizontal-viewport-lock",
2009
+ "name": "referrerpolicy",
2157
2010
  "type": {
2158
- "text": "boolean"
2011
+ "text": "string"
2159
2012
  },
2160
- "default": "false",
2161
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2162
- "fieldName": "horizontalViewportLock",
2013
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2014
+ "fieldName": "referrerpolicy",
2163
2015
  "inheritedFrom": {
2164
- "name": "AnchoredRegion",
2165
- "module": "src/anchored-region/anchored-region.ts"
2016
+ "name": "Anchor",
2017
+ "module": "src/anchor/anchor.ts"
2166
2018
  }
2167
2019
  },
2168
2020
  {
2169
- "name": "horizontal-inset",
2021
+ "name": "rel",
2170
2022
  "type": {
2171
- "text": "boolean"
2023
+ "text": "string"
2172
2024
  },
2173
- "default": "false",
2174
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2175
- "fieldName": "horizontalInset",
2025
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2026
+ "fieldName": "rel",
2176
2027
  "inheritedFrom": {
2177
- "name": "AnchoredRegion",
2178
- "module": "src/anchored-region/anchored-region.ts"
2028
+ "name": "Anchor",
2029
+ "module": "src/anchor/anchor.ts"
2179
2030
  }
2180
2031
  },
2181
2032
  {
2182
- "name": "horizontal-threshold",
2033
+ "name": "target",
2183
2034
  "type": {
2184
- "text": "number"
2035
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2185
2036
  },
2186
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2187
- "fieldName": "horizontalThreshold",
2037
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2038
+ "fieldName": "target",
2188
2039
  "inheritedFrom": {
2189
- "name": "AnchoredRegion",
2190
- "module": "src/anchored-region/anchored-region.ts"
2040
+ "name": "Anchor",
2041
+ "module": "src/anchor/anchor.ts"
2191
2042
  }
2192
2043
  },
2193
2044
  {
2194
- "name": "horizontal-scaling",
2045
+ "name": "type",
2195
2046
  "type": {
2196
- "text": "AxisScalingMode"
2047
+ "text": "string"
2197
2048
  },
2198
- "default": "\"content\"",
2199
- "description": "Defines how the width of the region is calculated",
2200
- "fieldName": "horizontalScaling",
2049
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2050
+ "fieldName": "type",
2201
2051
  "inheritedFrom": {
2202
- "name": "AnchoredRegion",
2203
- "module": "src/anchored-region/anchored-region.ts"
2052
+ "name": "Anchor",
2053
+ "module": "src/anchor/anchor.ts"
2204
2054
  }
2205
- },
2055
+ }
2056
+ ],
2057
+ "members": [
2206
2058
  {
2207
- "name": "vertical-positioning-mode",
2059
+ "kind": "field",
2060
+ "name": "download",
2208
2061
  "type": {
2209
- "text": "AxisPositioningMode"
2062
+ "text": "string"
2210
2063
  },
2211
- "default": "\"uncontrolled\"",
2212
- "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",
2213
- "fieldName": "verticalPositioningMode",
2064
+ "privacy": "public",
2065
+ "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.",
2214
2066
  "inheritedFrom": {
2215
- "name": "AnchoredRegion",
2216
- "module": "src/anchored-region/anchored-region.ts"
2067
+ "name": "Anchor",
2068
+ "module": "src/anchor/anchor.ts"
2217
2069
  }
2218
2070
  },
2219
2071
  {
2220
- "name": "vertical-default-position",
2072
+ "kind": "field",
2073
+ "name": "href",
2221
2074
  "type": {
2222
- "text": "VerticalPosition"
2075
+ "text": "string"
2223
2076
  },
2224
- "default": "\"unset\"",
2225
- "description": "The default vertical position of the region relative to the anchor element",
2226
- "fieldName": "verticalDefaultPosition",
2077
+ "privacy": "public",
2078
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2227
2079
  "inheritedFrom": {
2228
- "name": "AnchoredRegion",
2229
- "module": "src/anchored-region/anchored-region.ts"
2080
+ "name": "Anchor",
2081
+ "module": "src/anchor/anchor.ts"
2230
2082
  }
2231
2083
  },
2232
2084
  {
2233
- "name": "vertical-viewport-lock",
2085
+ "kind": "field",
2086
+ "name": "hreflang",
2234
2087
  "type": {
2235
- "text": "boolean"
2088
+ "text": "string"
2236
2089
  },
2237
- "default": "false",
2238
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2239
- "fieldName": "verticalViewportLock",
2090
+ "privacy": "public",
2091
+ "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.",
2240
2092
  "inheritedFrom": {
2241
- "name": "AnchoredRegion",
2242
- "module": "src/anchored-region/anchored-region.ts"
2093
+ "name": "Anchor",
2094
+ "module": "src/anchor/anchor.ts"
2243
2095
  }
2244
2096
  },
2245
2097
  {
2246
- "name": "vertical-inset",
2098
+ "kind": "field",
2099
+ "name": "ping",
2247
2100
  "type": {
2248
- "text": "boolean"
2101
+ "text": "string"
2249
2102
  },
2250
- "default": "false",
2251
- "description": "Whether the region overlaps the anchor on the vertical axis",
2252
- "fieldName": "verticalInset",
2103
+ "privacy": "public",
2104
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2253
2105
  "inheritedFrom": {
2254
- "name": "AnchoredRegion",
2255
- "module": "src/anchored-region/anchored-region.ts"
2106
+ "name": "Anchor",
2107
+ "module": "src/anchor/anchor.ts"
2256
2108
  }
2257
2109
  },
2258
2110
  {
2259
- "name": "vertical-threshold",
2111
+ "kind": "field",
2112
+ "name": "referrerpolicy",
2260
2113
  "type": {
2261
- "text": "number"
2114
+ "text": "string"
2262
2115
  },
2263
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2264
- "fieldName": "verticalThreshold",
2116
+ "privacy": "public",
2117
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2265
2118
  "inheritedFrom": {
2266
- "name": "AnchoredRegion",
2267
- "module": "src/anchored-region/anchored-region.ts"
2119
+ "name": "Anchor",
2120
+ "module": "src/anchor/anchor.ts"
2268
2121
  }
2269
2122
  },
2270
2123
  {
2271
- "name": "vertical-scaling",
2124
+ "kind": "field",
2125
+ "name": "rel",
2272
2126
  "type": {
2273
- "text": "AxisScalingMode"
2127
+ "text": "string"
2274
2128
  },
2275
- "default": "\"content\"",
2276
- "description": "Defines how the height of the region is calculated",
2277
- "fieldName": "verticalScaling",
2129
+ "privacy": "public",
2130
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2278
2131
  "inheritedFrom": {
2279
- "name": "AnchoredRegion",
2280
- "module": "src/anchored-region/anchored-region.ts"
2132
+ "name": "Anchor",
2133
+ "module": "src/anchor/anchor.ts"
2281
2134
  }
2282
2135
  },
2283
2136
  {
2284
- "name": "fixed-placement",
2137
+ "kind": "field",
2138
+ "name": "target",
2285
2139
  "type": {
2286
- "text": "boolean"
2140
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2287
2141
  },
2288
- "default": "false",
2289
- "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,",
2290
- "fieldName": "fixedPlacement",
2142
+ "privacy": "public",
2143
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2291
2144
  "inheritedFrom": {
2292
- "name": "AnchoredRegion",
2293
- "module": "src/anchored-region/anchored-region.ts"
2145
+ "name": "Anchor",
2146
+ "module": "src/anchor/anchor.ts"
2294
2147
  }
2295
2148
  },
2296
2149
  {
2297
- "name": "auto-update-mode",
2150
+ "kind": "field",
2151
+ "name": "type",
2298
2152
  "type": {
2299
- "text": "AutoUpdateMode"
2153
+ "text": "string"
2300
2154
  },
2301
- "default": "\"anchor\"",
2302
- "description": "Defines what triggers the anchored region to revaluate positioning",
2303
- "fieldName": "autoUpdateMode",
2155
+ "privacy": "public",
2156
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2304
2157
  "inheritedFrom": {
2305
- "name": "AnchoredRegion",
2306
- "module": "src/anchored-region/anchored-region.ts"
2158
+ "name": "Anchor",
2159
+ "module": "src/anchor/anchor.ts"
2307
2160
  }
2308
- }
2309
- ],
2310
- "members": [
2161
+ },
2311
2162
  {
2312
2163
  "kind": "field",
2313
- "name": "anchor",
2164
+ "name": "control",
2314
2165
  "type": {
2315
- "text": "string"
2166
+ "text": "HTMLAnchorElement | undefined"
2316
2167
  },
2317
2168
  "privacy": "public",
2318
- "default": "\"\"",
2319
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2169
+ "description": "References the root element",
2320
2170
  "inheritedFrom": {
2321
- "name": "AnchoredRegion",
2322
- "module": "src/anchored-region/anchored-region.ts"
2171
+ "name": "Anchor",
2172
+ "module": "src/anchor/anchor.ts"
2323
2173
  }
2324
2174
  },
2325
2175
  {
2326
- "kind": "method",
2327
- "name": "anchorChanged",
2176
+ "kind": "field",
2177
+ "name": "handleUnsupportedDelegatesFocus",
2328
2178
  "privacy": "private",
2329
- "return": {
2330
- "type": {
2331
- "text": "void"
2332
- }
2333
- },
2179
+ "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",
2334
2180
  "inheritedFrom": {
2335
- "name": "AnchoredRegion",
2336
- "module": "src/anchored-region/anchored-region.ts"
2181
+ "name": "Anchor",
2182
+ "module": "src/anchor/anchor.ts"
2337
2183
  }
2338
2184
  },
2339
2185
  {
2340
2186
  "kind": "field",
2341
- "name": "viewport",
2187
+ "name": "_presentation",
2342
2188
  "type": {
2343
- "text": "string"
2189
+ "text": "ComponentPresentation | null | undefined"
2344
2190
  },
2345
- "privacy": "public",
2346
- "default": "\"\"",
2347
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2191
+ "privacy": "private",
2192
+ "default": "void 0",
2348
2193
  "inheritedFrom": {
2349
- "name": "AnchoredRegion",
2350
- "module": "src/anchored-region/anchored-region.ts"
2194
+ "name": "FoundationElement",
2195
+ "module": "src/foundation-element/foundation-element.ts"
2351
2196
  }
2352
2197
  },
2353
2198
  {
2354
- "kind": "method",
2355
- "name": "viewportChanged",
2356
- "privacy": "private",
2357
- "return": {
2358
- "type": {
2359
- "text": "void"
2360
- }
2199
+ "kind": "field",
2200
+ "name": "$presentation",
2201
+ "type": {
2202
+ "text": "ComponentPresentation | null"
2361
2203
  },
2204
+ "privacy": "public",
2205
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2362
2206
  "inheritedFrom": {
2363
- "name": "AnchoredRegion",
2364
- "module": "src/anchored-region/anchored-region.ts"
2207
+ "name": "FoundationElement",
2208
+ "module": "src/foundation-element/foundation-element.ts"
2365
2209
  }
2366
2210
  },
2367
2211
  {
2368
2212
  "kind": "field",
2369
- "name": "horizontalPositioningMode",
2213
+ "name": "template",
2370
2214
  "type": {
2371
- "text": "AxisPositioningMode"
2215
+ "text": "ElementViewTemplate | void | null"
2372
2216
  },
2373
2217
  "privacy": "public",
2374
- "default": "\"uncontrolled\"",
2375
- "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",
2218
+ "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.",
2376
2219
  "inheritedFrom": {
2377
- "name": "AnchoredRegion",
2378
- "module": "src/anchored-region/anchored-region.ts"
2220
+ "name": "FoundationElement",
2221
+ "module": "src/foundation-element/foundation-element.ts"
2379
2222
  }
2380
2223
  },
2381
2224
  {
2382
2225
  "kind": "method",
2383
- "name": "horizontalPositioningModeChanged",
2384
- "privacy": "private",
2226
+ "name": "templateChanged",
2227
+ "privacy": "protected",
2385
2228
  "return": {
2386
2229
  "type": {
2387
2230
  "text": "void"
2388
2231
  }
2389
2232
  },
2390
2233
  "inheritedFrom": {
2391
- "name": "AnchoredRegion",
2392
- "module": "src/anchored-region/anchored-region.ts"
2234
+ "name": "FoundationElement",
2235
+ "module": "src/foundation-element/foundation-element.ts"
2393
2236
  }
2394
2237
  },
2395
2238
  {
2396
2239
  "kind": "field",
2397
- "name": "horizontalDefaultPosition",
2240
+ "name": "styles",
2398
2241
  "type": {
2399
- "text": "HorizontalPosition"
2242
+ "text": "ElementStyles | void | null"
2400
2243
  },
2401
2244
  "privacy": "public",
2402
- "default": "\"unset\"",
2403
- "description": "The default horizontal position of the region relative to the anchor element",
2245
+ "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.",
2404
2246
  "inheritedFrom": {
2405
- "name": "AnchoredRegion",
2406
- "module": "src/anchored-region/anchored-region.ts"
2247
+ "name": "FoundationElement",
2248
+ "module": "src/foundation-element/foundation-element.ts"
2407
2249
  }
2408
2250
  },
2409
2251
  {
2410
2252
  "kind": "method",
2411
- "name": "horizontalDefaultPositionChanged",
2412
- "privacy": "private",
2253
+ "name": "stylesChanged",
2254
+ "privacy": "protected",
2413
2255
  "return": {
2414
2256
  "type": {
2415
2257
  "text": "void"
2416
2258
  }
2417
2259
  },
2418
2260
  "inheritedFrom": {
2419
- "name": "AnchoredRegion",
2420
- "module": "src/anchored-region/anchored-region.ts"
2421
- }
2422
- },
2423
- {
2424
- "kind": "field",
2425
- "name": "horizontalViewportLock",
2426
- "type": {
2427
- "text": "boolean"
2428
- },
2429
- "privacy": "public",
2430
- "default": "false",
2431
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2432
- "inheritedFrom": {
2433
- "name": "AnchoredRegion",
2434
- "module": "src/anchored-region/anchored-region.ts"
2261
+ "name": "FoundationElement",
2262
+ "module": "src/foundation-element/foundation-element.ts"
2435
2263
  }
2436
2264
  },
2437
2265
  {
2438
2266
  "kind": "method",
2439
- "name": "horizontalViewportLockChanged",
2440
- "privacy": "private",
2267
+ "name": "compose",
2268
+ "privacy": "public",
2269
+ "static": true,
2441
2270
  "return": {
2442
2271
  "type": {
2443
- "text": "void"
2272
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2444
2273
  }
2445
2274
  },
2275
+ "parameters": [
2276
+ {
2277
+ "name": "this",
2278
+ "type": {
2279
+ "text": "K"
2280
+ }
2281
+ },
2282
+ {
2283
+ "name": "elementDefinition",
2284
+ "type": {
2285
+ "text": "T"
2286
+ },
2287
+ "description": "The definition of the element to create the registry\nfunction for."
2288
+ }
2289
+ ],
2290
+ "description": "Defines an element registry function with a set of element definition defaults.",
2446
2291
  "inheritedFrom": {
2447
- "name": "AnchoredRegion",
2448
- "module": "src/anchored-region/anchored-region.ts"
2292
+ "name": "FoundationElement",
2293
+ "module": "src/foundation-element/foundation-element.ts"
2449
2294
  }
2450
- },
2295
+ }
2296
+ ]
2297
+ },
2298
+ {
2299
+ "kind": "variable",
2300
+ "name": "foundationAnchorShadowOptions",
2301
+ "type": {
2302
+ "text": "ShadowRootInit"
2303
+ },
2304
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2305
+ },
2306
+ {
2307
+ "kind": "variable",
2308
+ "name": "defaultAnchorConfig",
2309
+ "type": {
2310
+ "text": "object"
2311
+ },
2312
+ "default": "{}"
2313
+ },
2314
+ {
2315
+ "kind": "variable",
2316
+ "name": "foundationAnchor",
2317
+ "description": "The Foundation Anchor",
2318
+ "privacy": "public"
2319
+ }
2320
+ ],
2321
+ "exports": [
2322
+ {
2323
+ "kind": "js",
2324
+ "name": "Anchor",
2325
+ "declaration": {
2326
+ "name": "Anchor",
2327
+ "module": "src/anchor/anchor.ts"
2328
+ }
2329
+ },
2330
+ {
2331
+ "kind": "js",
2332
+ "name": "foundationAnchorShadowOptions",
2333
+ "declaration": {
2334
+ "name": "foundationAnchorShadowOptions",
2335
+ "module": "src/anchor/anchor.ts"
2336
+ }
2337
+ },
2338
+ {
2339
+ "kind": "js",
2340
+ "name": "defaultAnchorConfig",
2341
+ "declaration": {
2342
+ "name": "defaultAnchorConfig",
2343
+ "module": "src/anchor/anchor.ts"
2344
+ }
2345
+ },
2346
+ {
2347
+ "kind": "js",
2348
+ "name": "foundationAnchor",
2349
+ "declaration": {
2350
+ "name": "foundationAnchor",
2351
+ "module": "src/anchor/anchor.ts"
2352
+ }
2353
+ }
2354
+ ]
2355
+ },
2356
+ {
2357
+ "kind": "javascript-module",
2358
+ "path": "src/anchor/index.ts",
2359
+ "declarations": [],
2360
+ "exports": [
2361
+ {
2362
+ "kind": "js",
2363
+ "name": "*",
2364
+ "declaration": {
2365
+ "name": "*",
2366
+ "package": "./anchor.template"
2367
+ }
2368
+ },
2369
+ {
2370
+ "kind": "js",
2371
+ "name": "*",
2372
+ "declaration": {
2373
+ "name": "*",
2374
+ "package": "./anchor.styles"
2375
+ }
2376
+ },
2377
+ {
2378
+ "kind": "js",
2379
+ "name": "*",
2380
+ "declaration": {
2381
+ "name": "*",
2382
+ "package": "./anchor"
2383
+ }
2384
+ }
2385
+ ]
2386
+ },
2387
+ {
2388
+ "kind": "javascript-module",
2389
+ "path": "src/accordion/accordion.styles.ts",
2390
+ "declarations": [
2391
+ {
2392
+ "kind": "function",
2393
+ "name": "foundationAccordionStyles",
2394
+ "return": {
2395
+ "type": {
2396
+ "text": "ElementStyles"
2397
+ }
2398
+ },
2399
+ "parameters": [
2451
2400
  {
2452
- "kind": "field",
2453
- "name": "horizontalInset",
2401
+ "name": "context",
2454
2402
  "type": {
2455
- "text": "boolean"
2456
- },
2457
- "privacy": "public",
2458
- "default": "false",
2459
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2460
- "inheritedFrom": {
2461
- "name": "AnchoredRegion",
2462
- "module": "src/anchored-region/anchored-region.ts"
2463
- }
2464
- },
2465
- {
2466
- "kind": "method",
2467
- "name": "horizontalInsetChanged",
2468
- "privacy": "private",
2469
- "return": {
2470
- "type": {
2471
- "text": "void"
2472
- }
2473
- },
2474
- "inheritedFrom": {
2475
- "name": "AnchoredRegion",
2476
- "module": "src/anchored-region/anchored-region.ts"
2403
+ "text": "ElementDefinitionContext"
2477
2404
  }
2478
2405
  },
2479
2406
  {
2480
- "kind": "field",
2481
- "name": "horizontalThreshold",
2407
+ "name": "definition",
2482
2408
  "type": {
2483
- "text": "number"
2484
- },
2485
- "privacy": "public",
2486
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2487
- "inheritedFrom": {
2488
- "name": "AnchoredRegion",
2489
- "module": "src/anchored-region/anchored-region.ts"
2409
+ "text": "FoundationElementDefinition"
2490
2410
  }
2491
- },
2411
+ }
2412
+ ]
2413
+ }
2414
+ ],
2415
+ "exports": [
2416
+ {
2417
+ "kind": "js",
2418
+ "name": "foundationAccordionStyles",
2419
+ "declaration": {
2420
+ "name": "foundationAccordionStyles",
2421
+ "module": "src/accordion/accordion.styles.ts"
2422
+ }
2423
+ }
2424
+ ]
2425
+ },
2426
+ {
2427
+ "kind": "javascript-module",
2428
+ "path": "src/accordion/accordion.template.ts",
2429
+ "declarations": [
2430
+ {
2431
+ "kind": "function",
2432
+ "name": "foundationAccordionTemplate",
2433
+ "return": {
2434
+ "type": {
2435
+ "text": "ViewTemplate<Accordion>"
2436
+ }
2437
+ },
2438
+ "parameters": [
2492
2439
  {
2493
- "kind": "method",
2494
- "name": "horizontalThresholdChanged",
2495
- "privacy": "private",
2496
- "return": {
2497
- "type": {
2498
- "text": "void"
2499
- }
2500
- },
2501
- "inheritedFrom": {
2502
- "name": "AnchoredRegion",
2503
- "module": "src/anchored-region/anchored-region.ts"
2440
+ "name": "context",
2441
+ "type": {
2442
+ "text": "ElementDefinitionContext"
2504
2443
  }
2505
2444
  },
2506
2445
  {
2507
- "kind": "field",
2508
- "name": "horizontalScaling",
2446
+ "name": "definition",
2509
2447
  "type": {
2510
- "text": "AxisScalingMode"
2448
+ "text": "FoundationElementDefinition"
2449
+ }
2450
+ }
2451
+ ]
2452
+ }
2453
+ ],
2454
+ "exports": [
2455
+ {
2456
+ "kind": "js",
2457
+ "name": "foundationAccordionTemplate",
2458
+ "declaration": {
2459
+ "name": "foundationAccordionTemplate",
2460
+ "module": "src/accordion/accordion.template.ts"
2461
+ }
2462
+ }
2463
+ ]
2464
+ },
2465
+ {
2466
+ "kind": "javascript-module",
2467
+ "path": "src/accordion/accordion.ts",
2468
+ "declarations": [
2469
+ {
2470
+ "kind": "class",
2471
+ "description": "",
2472
+ "name": "Accordion",
2473
+ "superclass": {
2474
+ "name": "FASTAccordion",
2475
+ "package": "@microsoft/fast-foundation"
2476
+ },
2477
+ "tagName": "%%prefix%%-accordion",
2478
+ "customElement": true
2479
+ },
2480
+ {
2481
+ "kind": "variable",
2482
+ "name": "foundationAccordionShadowOptions",
2483
+ "type": {
2484
+ "text": "ShadowRootInit"
2485
+ },
2486
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2487
+ },
2488
+ {
2489
+ "kind": "variable",
2490
+ "name": "defaultAccordionConfig",
2491
+ "type": {
2492
+ "text": "object"
2493
+ },
2494
+ "default": "{}"
2495
+ },
2496
+ {
2497
+ "kind": "variable",
2498
+ "name": "foundationAccordion",
2499
+ "description": "The Foundation Accordion",
2500
+ "privacy": "public"
2501
+ }
2502
+ ],
2503
+ "exports": [
2504
+ {
2505
+ "kind": "js",
2506
+ "name": "Accordion",
2507
+ "declaration": {
2508
+ "name": "Accordion",
2509
+ "module": "src/accordion/accordion.ts"
2510
+ }
2511
+ },
2512
+ {
2513
+ "kind": "js",
2514
+ "name": "foundationAccordionShadowOptions",
2515
+ "declaration": {
2516
+ "name": "foundationAccordionShadowOptions",
2517
+ "module": "src/accordion/accordion.ts"
2518
+ }
2519
+ },
2520
+ {
2521
+ "kind": "js",
2522
+ "name": "defaultAccordionConfig",
2523
+ "declaration": {
2524
+ "name": "defaultAccordionConfig",
2525
+ "module": "src/accordion/accordion.ts"
2526
+ }
2527
+ },
2528
+ {
2529
+ "kind": "js",
2530
+ "name": "foundationAccordion",
2531
+ "declaration": {
2532
+ "name": "foundationAccordion",
2533
+ "module": "src/accordion/accordion.ts"
2534
+ }
2535
+ }
2536
+ ]
2537
+ },
2538
+ {
2539
+ "kind": "javascript-module",
2540
+ "path": "src/accordion/index.ts",
2541
+ "declarations": [],
2542
+ "exports": [
2543
+ {
2544
+ "kind": "js",
2545
+ "name": "*",
2546
+ "declaration": {
2547
+ "name": "*",
2548
+ "package": "./accordion.template"
2549
+ }
2550
+ },
2551
+ {
2552
+ "kind": "js",
2553
+ "name": "*",
2554
+ "declaration": {
2555
+ "name": "*",
2556
+ "package": "./accordion.styles"
2557
+ }
2558
+ },
2559
+ {
2560
+ "kind": "js",
2561
+ "name": "*",
2562
+ "declaration": {
2563
+ "name": "*",
2564
+ "package": "./accordion"
2565
+ }
2566
+ }
2567
+ ]
2568
+ },
2569
+ {
2570
+ "kind": "javascript-module",
2571
+ "path": "src/anchored-region/anchor-region.template.ts",
2572
+ "declarations": [
2573
+ {
2574
+ "kind": "function",
2575
+ "name": "foundationAnchoredRegionTemplate",
2576
+ "return": {
2577
+ "type": {
2578
+ "text": "ViewTemplate<AnchoredRegion>"
2579
+ }
2580
+ },
2581
+ "parameters": [
2582
+ {
2583
+ "name": "context",
2584
+ "type": {
2585
+ "text": "ElementDefinitionContext"
2586
+ }
2587
+ },
2588
+ {
2589
+ "name": "definition",
2590
+ "type": {
2591
+ "text": "FoundationElementDefinition"
2592
+ }
2593
+ }
2594
+ ]
2595
+ }
2596
+ ],
2597
+ "exports": [
2598
+ {
2599
+ "kind": "js",
2600
+ "name": "foundationAnchoredRegionTemplate",
2601
+ "declaration": {
2602
+ "name": "foundationAnchoredRegionTemplate",
2603
+ "module": "src/anchored-region/anchor-region.template.ts"
2604
+ }
2605
+ }
2606
+ ]
2607
+ },
2608
+ {
2609
+ "kind": "javascript-module",
2610
+ "path": "src/anchored-region/anchored-region.styles.ts",
2611
+ "declarations": [
2612
+ {
2613
+ "kind": "function",
2614
+ "name": "foundationAnchoredRegionStyles",
2615
+ "return": {
2616
+ "type": {
2617
+ "text": "ElementStyles"
2618
+ }
2619
+ },
2620
+ "parameters": [
2621
+ {
2622
+ "name": "context",
2623
+ "type": {
2624
+ "text": "ElementDefinitionContext"
2625
+ }
2626
+ },
2627
+ {
2628
+ "name": "definition",
2629
+ "type": {
2630
+ "text": "FoundationElementDefinition"
2631
+ }
2632
+ }
2633
+ ]
2634
+ }
2635
+ ],
2636
+ "exports": [
2637
+ {
2638
+ "kind": "js",
2639
+ "name": "foundationAnchoredRegionStyles",
2640
+ "declaration": {
2641
+ "name": "foundationAnchoredRegionStyles",
2642
+ "module": "src/anchored-region/anchored-region.styles.ts"
2643
+ }
2644
+ }
2645
+ ]
2646
+ },
2647
+ {
2648
+ "kind": "javascript-module",
2649
+ "path": "src/anchored-region/anchored-region.ts",
2650
+ "declarations": [
2651
+ {
2652
+ "kind": "class",
2653
+ "description": "",
2654
+ "name": "AnchoredRegion",
2655
+ "superclass": {
2656
+ "name": "FASTAnchoredRegion",
2657
+ "package": "@microsoft/fast-components"
2658
+ },
2659
+ "tagName": "%%prefix%%-anchored-region",
2660
+ "customElement": true,
2661
+ "attributes": [
2662
+ {
2663
+ "name": "anchor",
2664
+ "type": {
2665
+ "text": "string"
2511
2666
  },
2512
- "privacy": "public",
2513
- "default": "\"content\"",
2514
- "description": "Defines how the width of the region is calculated",
2667
+ "default": "\"\"",
2668
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2669
+ "fieldName": "anchor",
2515
2670
  "inheritedFrom": {
2516
2671
  "name": "AnchoredRegion",
2517
2672
  "module": "src/anchored-region/anchored-region.ts"
2518
2673
  }
2519
2674
  },
2520
2675
  {
2521
- "kind": "method",
2522
- "name": "horizontalScalingChanged",
2523
- "privacy": "private",
2524
- "return": {
2525
- "type": {
2526
- "text": "void"
2527
- }
2676
+ "name": "viewport",
2677
+ "type": {
2678
+ "text": "string"
2528
2679
  },
2680
+ "default": "\"\"",
2681
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2682
+ "fieldName": "viewport",
2529
2683
  "inheritedFrom": {
2530
2684
  "name": "AnchoredRegion",
2531
2685
  "module": "src/anchored-region/anchored-region.ts"
2532
2686
  }
2533
2687
  },
2534
2688
  {
2535
- "kind": "field",
2536
- "name": "verticalPositioningMode",
2689
+ "name": "horizontal-positioning-mode",
2537
2690
  "type": {
2538
2691
  "text": "AxisPositioningMode"
2539
2692
  },
2540
- "privacy": "public",
2541
2693
  "default": "\"uncontrolled\"",
2542
- "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",
2694
+ "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",
2695
+ "fieldName": "horizontalPositioningMode",
2543
2696
  "inheritedFrom": {
2544
2697
  "name": "AnchoredRegion",
2545
2698
  "module": "src/anchored-region/anchored-region.ts"
2546
2699
  }
2547
2700
  },
2548
2701
  {
2549
- "kind": "method",
2550
- "name": "verticalPositioningModeChanged",
2551
- "privacy": "private",
2552
- "return": {
2553
- "type": {
2554
- "text": "void"
2555
- }
2702
+ "name": "horizontal-default-position",
2703
+ "type": {
2704
+ "text": "HorizontalPosition"
2556
2705
  },
2706
+ "default": "\"unset\"",
2707
+ "description": "The default horizontal position of the region relative to the anchor element",
2708
+ "fieldName": "horizontalDefaultPosition",
2557
2709
  "inheritedFrom": {
2558
2710
  "name": "AnchoredRegion",
2559
2711
  "module": "src/anchored-region/anchored-region.ts"
2560
2712
  }
2561
2713
  },
2562
2714
  {
2563
- "kind": "field",
2564
- "name": "verticalDefaultPosition",
2715
+ "name": "horizontal-viewport-lock",
2716
+ "type": {
2717
+ "text": "boolean"
2718
+ },
2719
+ "default": "false",
2720
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2721
+ "fieldName": "horizontalViewportLock",
2722
+ "inheritedFrom": {
2723
+ "name": "AnchoredRegion",
2724
+ "module": "src/anchored-region/anchored-region.ts"
2725
+ }
2726
+ },
2727
+ {
2728
+ "name": "horizontal-inset",
2729
+ "type": {
2730
+ "text": "boolean"
2731
+ },
2732
+ "default": "false",
2733
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2734
+ "fieldName": "horizontalInset",
2735
+ "inheritedFrom": {
2736
+ "name": "AnchoredRegion",
2737
+ "module": "src/anchored-region/anchored-region.ts"
2738
+ }
2739
+ },
2740
+ {
2741
+ "name": "horizontal-threshold",
2742
+ "type": {
2743
+ "text": "number"
2744
+ },
2745
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2746
+ "fieldName": "horizontalThreshold",
2747
+ "inheritedFrom": {
2748
+ "name": "AnchoredRegion",
2749
+ "module": "src/anchored-region/anchored-region.ts"
2750
+ }
2751
+ },
2752
+ {
2753
+ "name": "horizontal-scaling",
2754
+ "type": {
2755
+ "text": "AxisScalingMode"
2756
+ },
2757
+ "default": "\"content\"",
2758
+ "description": "Defines how the width of the region is calculated",
2759
+ "fieldName": "horizontalScaling",
2760
+ "inheritedFrom": {
2761
+ "name": "AnchoredRegion",
2762
+ "module": "src/anchored-region/anchored-region.ts"
2763
+ }
2764
+ },
2765
+ {
2766
+ "name": "vertical-positioning-mode",
2767
+ "type": {
2768
+ "text": "AxisPositioningMode"
2769
+ },
2770
+ "default": "\"uncontrolled\"",
2771
+ "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",
2772
+ "fieldName": "verticalPositioningMode",
2773
+ "inheritedFrom": {
2774
+ "name": "AnchoredRegion",
2775
+ "module": "src/anchored-region/anchored-region.ts"
2776
+ }
2777
+ },
2778
+ {
2779
+ "name": "vertical-default-position",
2565
2780
  "type": {
2566
2781
  "text": "VerticalPosition"
2567
2782
  },
2568
- "privacy": "public",
2569
2783
  "default": "\"unset\"",
2570
2784
  "description": "The default vertical position of the region relative to the anchor element",
2785
+ "fieldName": "verticalDefaultPosition",
2571
2786
  "inheritedFrom": {
2572
2787
  "name": "AnchoredRegion",
2573
2788
  "module": "src/anchored-region/anchored-region.ts"
2574
2789
  }
2575
2790
  },
2576
2791
  {
2577
- "kind": "method",
2578
- "name": "verticalDefaultPositionChanged",
2579
- "privacy": "private",
2580
- "return": {
2581
- "type": {
2582
- "text": "void"
2583
- }
2792
+ "name": "vertical-viewport-lock",
2793
+ "type": {
2794
+ "text": "boolean"
2584
2795
  },
2796
+ "default": "false",
2797
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2798
+ "fieldName": "verticalViewportLock",
2585
2799
  "inheritedFrom": {
2586
2800
  "name": "AnchoredRegion",
2587
2801
  "module": "src/anchored-region/anchored-region.ts"
2588
2802
  }
2589
2803
  },
2590
2804
  {
2591
- "kind": "field",
2592
- "name": "verticalViewportLock",
2805
+ "name": "vertical-inset",
2593
2806
  "type": {
2594
2807
  "text": "boolean"
2595
2808
  },
2596
- "privacy": "public",
2597
2809
  "default": "false",
2598
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2810
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2811
+ "fieldName": "verticalInset",
2599
2812
  "inheritedFrom": {
2600
2813
  "name": "AnchoredRegion",
2601
2814
  "module": "src/anchored-region/anchored-region.ts"
2602
2815
  }
2603
2816
  },
2604
2817
  {
2605
- "kind": "method",
2606
- "name": "verticalViewportLockChanged",
2607
- "privacy": "private",
2608
- "return": {
2609
- "type": {
2610
- "text": "void"
2611
- }
2818
+ "name": "vertical-threshold",
2819
+ "type": {
2820
+ "text": "number"
2612
2821
  },
2822
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2823
+ "fieldName": "verticalThreshold",
2613
2824
  "inheritedFrom": {
2614
2825
  "name": "AnchoredRegion",
2615
2826
  "module": "src/anchored-region/anchored-region.ts"
2616
2827
  }
2617
2828
  },
2618
2829
  {
2619
- "kind": "field",
2620
- "name": "verticalInset",
2830
+ "name": "vertical-scaling",
2831
+ "type": {
2832
+ "text": "AxisScalingMode"
2833
+ },
2834
+ "default": "\"content\"",
2835
+ "description": "Defines how the height of the region is calculated",
2836
+ "fieldName": "verticalScaling",
2837
+ "inheritedFrom": {
2838
+ "name": "AnchoredRegion",
2839
+ "module": "src/anchored-region/anchored-region.ts"
2840
+ }
2841
+ },
2842
+ {
2843
+ "name": "fixed-placement",
2621
2844
  "type": {
2622
2845
  "text": "boolean"
2623
2846
  },
2624
- "privacy": "public",
2625
2847
  "default": "false",
2626
- "description": "Whether the region overlaps the anchor on the vertical axis",
2848
+ "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,",
2849
+ "fieldName": "fixedPlacement",
2627
2850
  "inheritedFrom": {
2628
2851
  "name": "AnchoredRegion",
2629
2852
  "module": "src/anchored-region/anchored-region.ts"
2630
2853
  }
2631
2854
  },
2632
2855
  {
2633
- "kind": "method",
2634
- "name": "verticalInsetChanged",
2635
- "privacy": "private",
2636
- "return": {
2637
- "type": {
2638
- "text": "void"
2639
- }
2856
+ "name": "auto-update-mode",
2857
+ "type": {
2858
+ "text": "AutoUpdateMode"
2640
2859
  },
2860
+ "default": "\"anchor\"",
2861
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2862
+ "fieldName": "autoUpdateMode",
2641
2863
  "inheritedFrom": {
2642
2864
  "name": "AnchoredRegion",
2643
2865
  "module": "src/anchored-region/anchored-region.ts"
2644
2866
  }
2645
- },
2867
+ }
2868
+ ],
2869
+ "members": [
2646
2870
  {
2647
2871
  "kind": "field",
2648
- "name": "verticalThreshold",
2872
+ "name": "anchor",
2649
2873
  "type": {
2650
- "text": "number"
2874
+ "text": "string"
2651
2875
  },
2652
2876
  "privacy": "public",
2653
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2877
+ "default": "\"\"",
2878
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2654
2879
  "inheritedFrom": {
2655
2880
  "name": "AnchoredRegion",
2656
2881
  "module": "src/anchored-region/anchored-region.ts"
@@ -2658,7 +2883,7 @@
2658
2883
  },
2659
2884
  {
2660
2885
  "kind": "method",
2661
- "name": "verticalThresholdChanged",
2886
+ "name": "anchorChanged",
2662
2887
  "privacy": "private",
2663
2888
  "return": {
2664
2889
  "type": {
@@ -2672,13 +2897,13 @@
2672
2897
  },
2673
2898
  {
2674
2899
  "kind": "field",
2675
- "name": "verticalScaling",
2900
+ "name": "viewport",
2676
2901
  "type": {
2677
- "text": "AxisScalingMode"
2902
+ "text": "string"
2678
2903
  },
2679
2904
  "privacy": "public",
2680
- "default": "\"content\"",
2681
- "description": "Defines how the height of the region is calculated",
2905
+ "default": "\"\"",
2906
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2682
2907
  "inheritedFrom": {
2683
2908
  "name": "AnchoredRegion",
2684
2909
  "module": "src/anchored-region/anchored-region.ts"
@@ -2686,7 +2911,7 @@
2686
2911
  },
2687
2912
  {
2688
2913
  "kind": "method",
2689
- "name": "verticalScalingChanged",
2914
+ "name": "viewportChanged",
2690
2915
  "privacy": "private",
2691
2916
  "return": {
2692
2917
  "type": {
@@ -2700,13 +2925,13 @@
2700
2925
  },
2701
2926
  {
2702
2927
  "kind": "field",
2703
- "name": "fixedPlacement",
2928
+ "name": "horizontalPositioningMode",
2704
2929
  "type": {
2705
- "text": "boolean"
2930
+ "text": "AxisPositioningMode"
2706
2931
  },
2707
2932
  "privacy": "public",
2708
- "default": "false",
2709
- "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,",
2933
+ "default": "\"uncontrolled\"",
2934
+ "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",
2710
2935
  "inheritedFrom": {
2711
2936
  "name": "AnchoredRegion",
2712
2937
  "module": "src/anchored-region/anchored-region.ts"
@@ -2714,7 +2939,7 @@
2714
2939
  },
2715
2940
  {
2716
2941
  "kind": "method",
2717
- "name": "fixedPlacementChanged",
2942
+ "name": "horizontalPositioningModeChanged",
2718
2943
  "privacy": "private",
2719
2944
  "return": {
2720
2945
  "type": {
@@ -2728,13 +2953,13 @@
2728
2953
  },
2729
2954
  {
2730
2955
  "kind": "field",
2731
- "name": "autoUpdateMode",
2956
+ "name": "horizontalDefaultPosition",
2732
2957
  "type": {
2733
- "text": "AutoUpdateMode"
2958
+ "text": "HorizontalPosition"
2734
2959
  },
2735
2960
  "privacy": "public",
2736
- "default": "\"anchor\"",
2737
- "description": "Defines what triggers the anchored region to revaluate positioning",
2961
+ "default": "\"unset\"",
2962
+ "description": "The default horizontal position of the region relative to the anchor element",
2738
2963
  "inheritedFrom": {
2739
2964
  "name": "AnchoredRegion",
2740
2965
  "module": "src/anchored-region/anchored-region.ts"
@@ -2742,27 +2967,13 @@
2742
2967
  },
2743
2968
  {
2744
2969
  "kind": "method",
2745
- "name": "autoUpdateModeChanged",
2970
+ "name": "horizontalDefaultPositionChanged",
2746
2971
  "privacy": "private",
2747
2972
  "return": {
2748
2973
  "type": {
2749
2974
  "text": "void"
2750
2975
  }
2751
2976
  },
2752
- "parameters": [
2753
- {
2754
- "name": "prevMode",
2755
- "type": {
2756
- "text": "AutoUpdateMode"
2757
- }
2758
- },
2759
- {
2760
- "name": "newMode",
2761
- "type": {
2762
- "text": "AutoUpdateMode"
2763
- }
2764
- }
2765
- ],
2766
2977
  "inheritedFrom": {
2767
2978
  "name": "AnchoredRegion",
2768
2979
  "module": "src/anchored-region/anchored-region.ts"
@@ -2770,13 +2981,13 @@
2770
2981
  },
2771
2982
  {
2772
2983
  "kind": "field",
2773
- "name": "anchorElement",
2984
+ "name": "horizontalViewportLock",
2774
2985
  "type": {
2775
- "text": "HTMLElement | null"
2986
+ "text": "boolean"
2776
2987
  },
2777
2988
  "privacy": "public",
2778
- "default": "null",
2779
- "description": "The HTML element being used as the anchor",
2989
+ "default": "false",
2990
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2780
2991
  "inheritedFrom": {
2781
2992
  "name": "AnchoredRegion",
2782
2993
  "module": "src/anchored-region/anchored-region.ts"
@@ -2784,7 +2995,7 @@
2784
2995
  },
2785
2996
  {
2786
2997
  "kind": "method",
2787
- "name": "anchorElementChanged",
2998
+ "name": "horizontalViewportLockChanged",
2788
2999
  "privacy": "private",
2789
3000
  "return": {
2790
3001
  "type": {
@@ -2798,13 +3009,13 @@
2798
3009
  },
2799
3010
  {
2800
3011
  "kind": "field",
2801
- "name": "viewportElement",
3012
+ "name": "horizontalInset",
2802
3013
  "type": {
2803
- "text": "HTMLElement | null"
3014
+ "text": "boolean"
2804
3015
  },
2805
3016
  "privacy": "public",
2806
- "default": "null",
2807
- "description": "The HTML element being used as the viewport",
3017
+ "default": "false",
3018
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2808
3019
  "inheritedFrom": {
2809
3020
  "name": "AnchoredRegion",
2810
3021
  "module": "src/anchored-region/anchored-region.ts"
@@ -2812,7 +3023,7 @@
2812
3023
  },
2813
3024
  {
2814
3025
  "kind": "method",
2815
- "name": "viewportElementChanged",
3026
+ "name": "horizontalInsetChanged",
2816
3027
  "privacy": "private",
2817
3028
  "return": {
2818
3029
  "type": {
@@ -2826,50 +3037,26 @@
2826
3037
  },
2827
3038
  {
2828
3039
  "kind": "field",
2829
- "name": "verticalPosition",
2830
- "type": {
2831
- "text": "AnchoredRegionPositionLabel | undefined"
2832
- },
2833
- "privacy": "public",
2834
- "description": "indicates the current horizontal position of the region",
2835
- "inheritedFrom": {
2836
- "name": "AnchoredRegion",
2837
- "module": "src/anchored-region/anchored-region.ts"
2838
- }
2839
- },
2840
- {
2841
- "kind": "field",
2842
- "name": "horizontalPosition",
3040
+ "name": "horizontalThreshold",
2843
3041
  "type": {
2844
- "text": "AnchoredRegionPositionLabel | undefined"
3042
+ "text": "number"
2845
3043
  },
2846
3044
  "privacy": "public",
2847
- "description": "indicates the current vertical position of the region",
3045
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2848
3046
  "inheritedFrom": {
2849
3047
  "name": "AnchoredRegion",
2850
3048
  "module": "src/anchored-region/anchored-region.ts"
2851
3049
  }
2852
3050
  },
2853
3051
  {
2854
- "kind": "field",
2855
- "name": "translateX",
2856
- "type": {
2857
- "text": "number"
2858
- },
3052
+ "kind": "method",
3053
+ "name": "horizontalThresholdChanged",
2859
3054
  "privacy": "private",
2860
- "description": "values to be applied to the component's transform on render",
2861
- "inheritedFrom": {
2862
- "name": "AnchoredRegion",
2863
- "module": "src/anchored-region/anchored-region.ts"
2864
- }
2865
- },
2866
- {
2867
- "kind": "field",
2868
- "name": "translateY",
2869
- "type": {
2870
- "text": "number"
3055
+ "return": {
3056
+ "type": {
3057
+ "text": "void"
3058
+ }
2871
3059
  },
2872
- "privacy": "private",
2873
3060
  "inheritedFrom": {
2874
3061
  "name": "AnchoredRegion",
2875
3062
  "module": "src/anchored-region/anchored-region.ts"
@@ -2877,37 +3064,27 @@
2877
3064
  },
2878
3065
  {
2879
3066
  "kind": "field",
2880
- "name": "regionWidth",
3067
+ "name": "horizontalScaling",
2881
3068
  "type": {
2882
- "text": "string"
3069
+ "text": "AxisScalingMode"
2883
3070
  },
2884
- "privacy": "private",
2885
- "description": "the span to be applied to the region on each axis",
3071
+ "privacy": "public",
3072
+ "default": "\"content\"",
3073
+ "description": "Defines how the width of the region is calculated",
2886
3074
  "inheritedFrom": {
2887
3075
  "name": "AnchoredRegion",
2888
3076
  "module": "src/anchored-region/anchored-region.ts"
2889
3077
  }
2890
3078
  },
2891
3079
  {
2892
- "kind": "field",
2893
- "name": "regionHeight",
2894
- "type": {
2895
- "text": "string"
2896
- },
3080
+ "kind": "method",
3081
+ "name": "horizontalScalingChanged",
2897
3082
  "privacy": "private",
2898
- "inheritedFrom": {
2899
- "name": "AnchoredRegion",
2900
- "module": "src/anchored-region/anchored-region.ts"
2901
- }
2902
- },
2903
- {
2904
- "kind": "field",
2905
- "name": "resizeDetector",
2906
- "type": {
2907
- "text": "ResizeObserverClassDefinition | null"
3083
+ "return": {
3084
+ "type": {
3085
+ "text": "void"
3086
+ }
2908
3087
  },
2909
- "privacy": "private",
2910
- "default": "null",
2911
3088
  "inheritedFrom": {
2912
3089
  "name": "AnchoredRegion",
2913
3090
  "module": "src/anchored-region/anchored-region.ts"
@@ -2915,35 +3092,27 @@
2915
3092
  },
2916
3093
  {
2917
3094
  "kind": "field",
2918
- "name": "viewportRect",
3095
+ "name": "verticalPositioningMode",
2919
3096
  "type": {
2920
- "text": "ClientRect | DOMRect | undefined"
3097
+ "text": "AxisPositioningMode"
2921
3098
  },
2922
- "privacy": "private",
3099
+ "privacy": "public",
3100
+ "default": "\"uncontrolled\"",
3101
+ "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",
2923
3102
  "inheritedFrom": {
2924
3103
  "name": "AnchoredRegion",
2925
3104
  "module": "src/anchored-region/anchored-region.ts"
2926
3105
  }
2927
3106
  },
2928
3107
  {
2929
- "kind": "field",
2930
- "name": "anchorRect",
2931
- "type": {
2932
- "text": "ClientRect | DOMRect | undefined"
2933
- },
3108
+ "kind": "method",
3109
+ "name": "verticalPositioningModeChanged",
2934
3110
  "privacy": "private",
2935
- "inheritedFrom": {
2936
- "name": "AnchoredRegion",
2937
- "module": "src/anchored-region/anchored-region.ts"
2938
- }
2939
- },
2940
- {
2941
- "kind": "field",
2942
- "name": "regionRect",
2943
- "type": {
2944
- "text": "ClientRect | DOMRect | undefined"
3111
+ "return": {
3112
+ "type": {
3113
+ "text": "void"
3114
+ }
2945
3115
  },
2946
- "privacy": "private",
2947
3116
  "inheritedFrom": {
2948
3117
  "name": "AnchoredRegion",
2949
3118
  "module": "src/anchored-region/anchored-region.ts"
@@ -2951,39 +3120,27 @@
2951
3120
  },
2952
3121
  {
2953
3122
  "kind": "field",
2954
- "name": "baseHorizontalOffset",
3123
+ "name": "verticalDefaultPosition",
2955
3124
  "type": {
2956
- "text": "number"
3125
+ "text": "VerticalPosition"
2957
3126
  },
2958
- "privacy": "private",
2959
- "default": "0",
2960
- "description": "base offsets between the positioner's base position and the anchor's",
3127
+ "privacy": "public",
3128
+ "default": "\"unset\"",
3129
+ "description": "The default vertical position of the region relative to the anchor element",
2961
3130
  "inheritedFrom": {
2962
3131
  "name": "AnchoredRegion",
2963
3132
  "module": "src/anchored-region/anchored-region.ts"
2964
3133
  }
2965
3134
  },
2966
3135
  {
2967
- "kind": "field",
2968
- "name": "baseVerticalOffset",
2969
- "type": {
2970
- "text": "number"
2971
- },
3136
+ "kind": "method",
3137
+ "name": "verticalDefaultPositionChanged",
2972
3138
  "privacy": "private",
2973
- "default": "0",
2974
- "inheritedFrom": {
2975
- "name": "AnchoredRegion",
2976
- "module": "src/anchored-region/anchored-region.ts"
2977
- }
2978
- },
2979
- {
2980
- "kind": "field",
2981
- "name": "pendingPositioningUpdate",
2982
- "type": {
2983
- "text": "boolean"
3139
+ "return": {
3140
+ "type": {
3141
+ "text": "void"
3142
+ }
2984
3143
  },
2985
- "privacy": "private",
2986
- "default": "false",
2987
3144
  "inheritedFrom": {
2988
3145
  "name": "AnchoredRegion",
2989
3146
  "module": "src/anchored-region/anchored-region.ts"
@@ -2991,37 +3148,27 @@
2991
3148
  },
2992
3149
  {
2993
3150
  "kind": "field",
2994
- "name": "pendingReset",
3151
+ "name": "verticalViewportLock",
2995
3152
  "type": {
2996
3153
  "text": "boolean"
2997
3154
  },
2998
- "privacy": "private",
3155
+ "privacy": "public",
2999
3156
  "default": "false",
3157
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3000
3158
  "inheritedFrom": {
3001
3159
  "name": "AnchoredRegion",
3002
3160
  "module": "src/anchored-region/anchored-region.ts"
3003
3161
  }
3004
3162
  },
3005
3163
  {
3006
- "kind": "field",
3007
- "name": "currentDirection",
3008
- "type": {
3009
- "text": "Direction"
3010
- },
3164
+ "kind": "method",
3165
+ "name": "verticalViewportLockChanged",
3011
3166
  "privacy": "private",
3012
- "inheritedFrom": {
3013
- "name": "AnchoredRegion",
3014
- "module": "src/anchored-region/anchored-region.ts"
3015
- }
3016
- },
3017
- {
3018
- "kind": "field",
3019
- "name": "regionVisible",
3020
- "type": {
3021
- "text": "boolean"
3167
+ "return": {
3168
+ "type": {
3169
+ "text": "void"
3170
+ }
3022
3171
  },
3023
- "privacy": "private",
3024
- "default": "false",
3025
3172
  "inheritedFrom": {
3026
3173
  "name": "AnchoredRegion",
3027
3174
  "module": "src/anchored-region/anchored-region.ts"
@@ -3029,25 +3176,27 @@
3029
3176
  },
3030
3177
  {
3031
3178
  "kind": "field",
3032
- "name": "forceUpdate",
3179
+ "name": "verticalInset",
3033
3180
  "type": {
3034
3181
  "text": "boolean"
3035
3182
  },
3036
- "privacy": "private",
3183
+ "privacy": "public",
3037
3184
  "default": "false",
3185
+ "description": "Whether the region overlaps the anchor on the vertical axis",
3038
3186
  "inheritedFrom": {
3039
3187
  "name": "AnchoredRegion",
3040
3188
  "module": "src/anchored-region/anchored-region.ts"
3041
3189
  }
3042
3190
  },
3043
3191
  {
3044
- "kind": "field",
3045
- "name": "updateThreshold",
3046
- "type": {
3047
- "text": "number"
3048
- },
3192
+ "kind": "method",
3193
+ "name": "verticalInsetChanged",
3049
3194
  "privacy": "private",
3050
- "default": "0.5",
3195
+ "return": {
3196
+ "type": {
3197
+ "text": "void"
3198
+ }
3199
+ },
3051
3200
  "inheritedFrom": {
3052
3201
  "name": "AnchoredRegion",
3053
3202
  "module": "src/anchored-region/anchored-region.ts"
@@ -3055,23 +3204,12 @@
3055
3204
  },
3056
3205
  {
3057
3206
  "kind": "field",
3058
- "name": "intersectionService",
3207
+ "name": "verticalThreshold",
3059
3208
  "type": {
3060
- "text": "IntersectionService"
3209
+ "text": "number"
3061
3210
  },
3062
- "privacy": "private",
3063
- "static": true,
3064
- "default": "new IntersectionService()",
3065
- "inheritedFrom": {
3066
- "name": "AnchoredRegion",
3067
- "module": "src/anchored-region/anchored-region.ts"
3068
- }
3069
- },
3070
- {
3071
- "kind": "field",
3072
- "name": "update",
3073
3211
  "privacy": "public",
3074
- "description": "update position",
3212
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3075
3213
  "inheritedFrom": {
3076
3214
  "name": "AnchoredRegion",
3077
3215
  "module": "src/anchored-region/anchored-region.ts"
@@ -3079,29 +3217,27 @@
3079
3217
  },
3080
3218
  {
3081
3219
  "kind": "method",
3082
- "name": "disconnectResizeDetector",
3220
+ "name": "verticalThresholdChanged",
3083
3221
  "privacy": "private",
3084
3222
  "return": {
3085
3223
  "type": {
3086
3224
  "text": "void"
3087
3225
  }
3088
3226
  },
3089
- "description": "destroys the instance's resize observer",
3090
3227
  "inheritedFrom": {
3091
3228
  "name": "AnchoredRegion",
3092
3229
  "module": "src/anchored-region/anchored-region.ts"
3093
3230
  }
3094
3231
  },
3095
3232
  {
3096
- "kind": "method",
3097
- "name": "initializeResizeDetector",
3098
- "privacy": "private",
3099
- "return": {
3100
- "type": {
3101
- "text": "void"
3102
- }
3233
+ "kind": "field",
3234
+ "name": "verticalScaling",
3235
+ "type": {
3236
+ "text": "AxisScalingMode"
3103
3237
  },
3104
- "description": "initializes the instance's resize observer",
3238
+ "privacy": "public",
3239
+ "default": "\"content\"",
3240
+ "description": "Defines how the height of the region is calculated",
3105
3241
  "inheritedFrom": {
3106
3242
  "name": "AnchoredRegion",
3107
3243
  "module": "src/anchored-region/anchored-region.ts"
@@ -3109,29 +3245,27 @@
3109
3245
  },
3110
3246
  {
3111
3247
  "kind": "method",
3112
- "name": "updateForAttributeChange",
3248
+ "name": "verticalScalingChanged",
3113
3249
  "privacy": "private",
3114
3250
  "return": {
3115
3251
  "type": {
3116
3252
  "text": "void"
3117
3253
  }
3118
3254
  },
3119
- "description": "react to attribute changes that don't require a reset",
3120
3255
  "inheritedFrom": {
3121
3256
  "name": "AnchoredRegion",
3122
3257
  "module": "src/anchored-region/anchored-region.ts"
3123
3258
  }
3124
3259
  },
3125
3260
  {
3126
- "kind": "method",
3127
- "name": "initialize",
3128
- "privacy": "private",
3129
- "return": {
3130
- "type": {
3131
- "text": "void"
3132
- }
3261
+ "kind": "field",
3262
+ "name": "fixedPlacement",
3263
+ "type": {
3264
+ "text": "boolean"
3133
3265
  },
3134
- "description": "fully initializes the component",
3266
+ "privacy": "public",
3267
+ "default": "false",
3268
+ "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,",
3135
3269
  "inheritedFrom": {
3136
3270
  "name": "AnchoredRegion",
3137
3271
  "module": "src/anchored-region/anchored-region.ts"
@@ -3139,14 +3273,27 @@
3139
3273
  },
3140
3274
  {
3141
3275
  "kind": "method",
3142
- "name": "requestReset",
3276
+ "name": "fixedPlacementChanged",
3143
3277
  "privacy": "private",
3144
3278
  "return": {
3145
3279
  "type": {
3146
3280
  "text": "void"
3147
3281
  }
3148
3282
  },
3149
- "description": "Request a reset if there are currently no open requests",
3283
+ "inheritedFrom": {
3284
+ "name": "AnchoredRegion",
3285
+ "module": "src/anchored-region/anchored-region.ts"
3286
+ }
3287
+ },
3288
+ {
3289
+ "kind": "field",
3290
+ "name": "autoUpdateMode",
3291
+ "type": {
3292
+ "text": "AutoUpdateMode"
3293
+ },
3294
+ "privacy": "public",
3295
+ "default": "\"anchor\"",
3296
+ "description": "Defines what triggers the anchored region to revaluate positioning",
3150
3297
  "inheritedFrom": {
3151
3298
  "name": "AnchoredRegion",
3152
3299
  "module": "src/anchored-region/anchored-region.ts"
@@ -3154,14 +3301,27 @@
3154
3301
  },
3155
3302
  {
3156
3303
  "kind": "method",
3157
- "name": "setInitialState",
3304
+ "name": "autoUpdateModeChanged",
3158
3305
  "privacy": "private",
3159
3306
  "return": {
3160
3307
  "type": {
3161
3308
  "text": "void"
3162
3309
  }
3163
3310
  },
3164
- "description": "sets the starting configuration for component internal values",
3311
+ "parameters": [
3312
+ {
3313
+ "name": "prevMode",
3314
+ "type": {
3315
+ "text": "AutoUpdateMode"
3316
+ }
3317
+ },
3318
+ {
3319
+ "name": "newMode",
3320
+ "type": {
3321
+ "text": "AutoUpdateMode"
3322
+ }
3323
+ }
3324
+ ],
3165
3325
  "inheritedFrom": {
3166
3326
  "name": "AnchoredRegion",
3167
3327
  "module": "src/anchored-region/anchored-region.ts"
@@ -3169,19 +3329,27 @@
3169
3329
  },
3170
3330
  {
3171
3331
  "kind": "field",
3172
- "name": "startObservers",
3173
- "privacy": "private",
3174
- "description": "starts observers",
3332
+ "name": "anchorElement",
3333
+ "type": {
3334
+ "text": "HTMLElement | null"
3335
+ },
3336
+ "privacy": "public",
3337
+ "default": "null",
3338
+ "description": "The HTML element being used as the anchor",
3175
3339
  "inheritedFrom": {
3176
3340
  "name": "AnchoredRegion",
3177
3341
  "module": "src/anchored-region/anchored-region.ts"
3178
3342
  }
3179
3343
  },
3180
3344
  {
3181
- "kind": "field",
3182
- "name": "requestPositionUpdates",
3345
+ "kind": "method",
3346
+ "name": "anchorElementChanged",
3183
3347
  "privacy": "private",
3184
- "description": "get position updates",
3348
+ "return": {
3349
+ "type": {
3350
+ "text": "void"
3351
+ }
3352
+ },
3185
3353
  "inheritedFrom": {
3186
3354
  "name": "AnchoredRegion",
3187
3355
  "module": "src/anchored-region/anchored-region.ts"
@@ -3189,19 +3357,27 @@
3189
3357
  },
3190
3358
  {
3191
3359
  "kind": "field",
3192
- "name": "stopObservers",
3193
- "privacy": "private",
3194
- "description": "stops observers",
3360
+ "name": "viewportElement",
3361
+ "type": {
3362
+ "text": "HTMLElement | null"
3363
+ },
3364
+ "privacy": "public",
3365
+ "default": "null",
3366
+ "description": "The HTML element being used as the viewport",
3195
3367
  "inheritedFrom": {
3196
3368
  "name": "AnchoredRegion",
3197
3369
  "module": "src/anchored-region/anchored-region.ts"
3198
3370
  }
3199
3371
  },
3200
3372
  {
3201
- "kind": "field",
3202
- "name": "getViewport",
3373
+ "kind": "method",
3374
+ "name": "viewportElementChanged",
3203
3375
  "privacy": "private",
3204
- "description": "Gets the viewport element by id, or defaults to document root",
3376
+ "return": {
3377
+ "type": {
3378
+ "text": "void"
3379
+ }
3380
+ },
3205
3381
  "inheritedFrom": {
3206
3382
  "name": "AnchoredRegion",
3207
3383
  "module": "src/anchored-region/anchored-region.ts"
@@ -3209,9 +3385,12 @@
3209
3385
  },
3210
3386
  {
3211
3387
  "kind": "field",
3212
- "name": "getAnchor",
3213
- "privacy": "private",
3214
- "description": "Gets the anchor element by id",
3388
+ "name": "verticalPosition",
3389
+ "type": {
3390
+ "text": "AnchoredRegionPositionLabel | undefined"
3391
+ },
3392
+ "privacy": "public",
3393
+ "description": "indicates the current horizontal position of the region",
3215
3394
  "inheritedFrom": {
3216
3395
  "name": "AnchoredRegion",
3217
3396
  "module": "src/anchored-region/anchored-region.ts"
@@ -3219,9 +3398,12 @@
3219
3398
  },
3220
3399
  {
3221
3400
  "kind": "field",
3222
- "name": "handleIntersection",
3223
- "privacy": "private",
3224
- "description": "Handle intersections",
3401
+ "name": "horizontalPosition",
3402
+ "type": {
3403
+ "text": "AnchoredRegionPositionLabel | undefined"
3404
+ },
3405
+ "privacy": "public",
3406
+ "description": "indicates the current vertical position of the region",
3225
3407
  "inheritedFrom": {
3226
3408
  "name": "AnchoredRegion",
3227
3409
  "module": "src/anchored-region/anchored-region.ts"
@@ -3229,9 +3411,12 @@
3229
3411
  },
3230
3412
  {
3231
3413
  "kind": "field",
3232
- "name": "applyIntersectionEntries",
3414
+ "name": "translateX",
3415
+ "type": {
3416
+ "text": "number"
3417
+ },
3233
3418
  "privacy": "private",
3234
- "description": "iterate through intersection entries and apply data",
3419
+ "description": "values to be applied to the component's transform on render",
3235
3420
  "inheritedFrom": {
3236
3421
  "name": "AnchoredRegion",
3237
3422
  "module": "src/anchored-region/anchored-region.ts"
@@ -3239,9 +3424,11 @@
3239
3424
  },
3240
3425
  {
3241
3426
  "kind": "field",
3242
- "name": "updateRegionOffset",
3427
+ "name": "translateY",
3428
+ "type": {
3429
+ "text": "number"
3430
+ },
3243
3431
  "privacy": "private",
3244
- "description": "Update the offset values",
3245
3432
  "inheritedFrom": {
3246
3433
  "name": "AnchoredRegion",
3247
3434
  "module": "src/anchored-region/anchored-region.ts"
@@ -3249,9 +3436,12 @@
3249
3436
  },
3250
3437
  {
3251
3438
  "kind": "field",
3252
- "name": "isRectDifferent",
3439
+ "name": "regionWidth",
3440
+ "type": {
3441
+ "text": "string"
3442
+ },
3253
3443
  "privacy": "private",
3254
- "description": "compare rects to see if there is enough change to justify a DOM update",
3444
+ "description": "the span to be applied to the region on each axis",
3255
3445
  "inheritedFrom": {
3256
3446
  "name": "AnchoredRegion",
3257
3447
  "module": "src/anchored-region/anchored-region.ts"
@@ -3259,9 +3449,11 @@
3259
3449
  },
3260
3450
  {
3261
3451
  "kind": "field",
3262
- "name": "handleResize",
3452
+ "name": "regionHeight",
3453
+ "type": {
3454
+ "text": "string"
3455
+ },
3263
3456
  "privacy": "private",
3264
- "description": "Handle resize events",
3265
3457
  "inheritedFrom": {
3266
3458
  "name": "AnchoredRegion",
3267
3459
  "module": "src/anchored-region/anchored-region.ts"
@@ -3269,9 +3461,12 @@
3269
3461
  },
3270
3462
  {
3271
3463
  "kind": "field",
3272
- "name": "reset",
3464
+ "name": "resizeDetector",
3465
+ "type": {
3466
+ "text": "ResizeObserverClassDefinition | null"
3467
+ },
3273
3468
  "privacy": "private",
3274
- "description": "resets the component",
3469
+ "default": "null",
3275
3470
  "inheritedFrom": {
3276
3471
  "name": "AnchoredRegion",
3277
3472
  "module": "src/anchored-region/anchored-region.ts"
@@ -3279,9 +3474,11 @@
3279
3474
  },
3280
3475
  {
3281
3476
  "kind": "field",
3282
- "name": "updateLayout",
3477
+ "name": "viewportRect",
3478
+ "type": {
3479
+ "text": "ClientRect | DOMRect | undefined"
3480
+ },
3283
3481
  "privacy": "private",
3284
- "description": "Recalculate layout related state values",
3285
3482
  "inheritedFrom": {
3286
3483
  "name": "AnchoredRegion",
3287
3484
  "module": "src/anchored-region/anchored-region.ts"
@@ -3289,9 +3486,11 @@
3289
3486
  },
3290
3487
  {
3291
3488
  "kind": "field",
3292
- "name": "updateRegionStyle",
3489
+ "name": "anchorRect",
3490
+ "type": {
3491
+ "text": "ClientRect | DOMRect | undefined"
3492
+ },
3293
3493
  "privacy": "private",
3294
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3295
3494
  "inheritedFrom": {
3296
3495
  "name": "AnchoredRegion",
3297
3496
  "module": "src/anchored-region/anchored-region.ts"
@@ -3299,9 +3498,11 @@
3299
3498
  },
3300
3499
  {
3301
3500
  "kind": "field",
3302
- "name": "updatePositionClasses",
3501
+ "name": "regionRect",
3502
+ "type": {
3503
+ "text": "ClientRect | DOMRect | undefined"
3504
+ },
3303
3505
  "privacy": "private",
3304
- "description": "Updates the css classes that reflect the current position of the element",
3305
3506
  "inheritedFrom": {
3306
3507
  "name": "AnchoredRegion",
3307
3508
  "module": "src/anchored-region/anchored-region.ts"
@@ -3309,9 +3510,13 @@
3309
3510
  },
3310
3511
  {
3311
3512
  "kind": "field",
3312
- "name": "setHorizontalPosition",
3513
+ "name": "baseHorizontalOffset",
3514
+ "type": {
3515
+ "text": "number"
3516
+ },
3313
3517
  "privacy": "private",
3314
- "description": "Get horizontal positioning state based on desired position",
3518
+ "default": "0",
3519
+ "description": "base offsets between the positioner's base position and the anchor's",
3315
3520
  "inheritedFrom": {
3316
3521
  "name": "AnchoredRegion",
3317
3522
  "module": "src/anchored-region/anchored-region.ts"
@@ -3319,9 +3524,12 @@
3319
3524
  },
3320
3525
  {
3321
3526
  "kind": "field",
3322
- "name": "setVerticalPosition",
3527
+ "name": "baseVerticalOffset",
3528
+ "type": {
3529
+ "text": "number"
3530
+ },
3323
3531
  "privacy": "private",
3324
- "description": "Set vertical positioning state based on desired position",
3532
+ "default": "0",
3325
3533
  "inheritedFrom": {
3326
3534
  "name": "AnchoredRegion",
3327
3535
  "module": "src/anchored-region/anchored-region.ts"
@@ -3329,9 +3537,12 @@
3329
3537
  },
3330
3538
  {
3331
3539
  "kind": "field",
3332
- "name": "getPositioningOptions",
3540
+ "name": "pendingPositioningUpdate",
3541
+ "type": {
3542
+ "text": "boolean"
3543
+ },
3333
3544
  "privacy": "private",
3334
- "description": "Get available positions based on positioning mode",
3545
+ "default": "false",
3335
3546
  "inheritedFrom": {
3336
3547
  "name": "AnchoredRegion",
3337
3548
  "module": "src/anchored-region/anchored-region.ts"
@@ -3339,9 +3550,12 @@
3339
3550
  },
3340
3551
  {
3341
3552
  "kind": "field",
3342
- "name": "getAvailableSpace",
3553
+ "name": "pendingReset",
3554
+ "type": {
3555
+ "text": "boolean"
3556
+ },
3343
3557
  "privacy": "private",
3344
- "description": "Get the space available for a particular relative position",
3558
+ "default": "false",
3345
3559
  "inheritedFrom": {
3346
3560
  "name": "AnchoredRegion",
3347
3561
  "module": "src/anchored-region/anchored-region.ts"
@@ -3349,9 +3563,11 @@
3349
3563
  },
3350
3564
  {
3351
3565
  "kind": "field",
3352
- "name": "getNextRegionDimension",
3566
+ "name": "currentDirection",
3567
+ "type": {
3568
+ "text": "Direction"
3569
+ },
3353
3570
  "privacy": "private",
3354
- "description": "Get region dimensions",
3355
3571
  "inheritedFrom": {
3356
3572
  "name": "AnchoredRegion",
3357
3573
  "module": "src/anchored-region/anchored-region.ts"
@@ -3359,9 +3575,12 @@
3359
3575
  },
3360
3576
  {
3361
3577
  "kind": "field",
3362
- "name": "startAutoUpdateEventListeners",
3578
+ "name": "regionVisible",
3579
+ "type": {
3580
+ "text": "boolean"
3581
+ },
3363
3582
  "privacy": "private",
3364
- "description": "starts event listeners that can trigger auto updating",
3583
+ "default": "false",
3365
3584
  "inheritedFrom": {
3366
3585
  "name": "AnchoredRegion",
3367
3586
  "module": "src/anchored-region/anchored-region.ts"
@@ -3369,9 +3588,12 @@
3369
3588
  },
3370
3589
  {
3371
3590
  "kind": "field",
3372
- "name": "stopAutoUpdateEventListeners",
3591
+ "name": "forceUpdate",
3592
+ "type": {
3593
+ "text": "boolean"
3594
+ },
3373
3595
  "privacy": "private",
3374
- "description": "stops event listeners that can trigger auto updating",
3596
+ "default": "false",
3375
3597
  "inheritedFrom": {
3376
3598
  "name": "AnchoredRegion",
3377
3599
  "module": "src/anchored-region/anchored-region.ts"
@@ -3379,541 +3601,340 @@
3379
3601
  },
3380
3602
  {
3381
3603
  "kind": "field",
3382
- "name": "_presentation",
3604
+ "name": "updateThreshold",
3383
3605
  "type": {
3384
- "text": "ComponentPresentation | null | undefined"
3606
+ "text": "number"
3385
3607
  },
3386
3608
  "privacy": "private",
3387
- "default": "void 0",
3609
+ "default": "0.5",
3388
3610
  "inheritedFrom": {
3389
- "name": "FoundationElement",
3390
- "module": "src/foundation-element/foundation-element.ts"
3611
+ "name": "AnchoredRegion",
3612
+ "module": "src/anchored-region/anchored-region.ts"
3391
3613
  }
3392
3614
  },
3393
3615
  {
3394
3616
  "kind": "field",
3395
- "name": "$presentation",
3617
+ "name": "intersectionService",
3396
3618
  "type": {
3397
- "text": "ComponentPresentation | null"
3619
+ "text": "IntersectionService"
3398
3620
  },
3399
- "privacy": "public",
3400
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3621
+ "privacy": "private",
3622
+ "static": true,
3623
+ "default": "new IntersectionService()",
3401
3624
  "inheritedFrom": {
3402
- "name": "FoundationElement",
3403
- "module": "src/foundation-element/foundation-element.ts"
3625
+ "name": "AnchoredRegion",
3626
+ "module": "src/anchored-region/anchored-region.ts"
3404
3627
  }
3405
3628
  },
3406
3629
  {
3407
3630
  "kind": "field",
3408
- "name": "template",
3409
- "type": {
3410
- "text": "ElementViewTemplate | void | null"
3411
- },
3631
+ "name": "update",
3412
3632
  "privacy": "public",
3413
- "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.",
3633
+ "description": "update position",
3414
3634
  "inheritedFrom": {
3415
- "name": "FoundationElement",
3416
- "module": "src/foundation-element/foundation-element.ts"
3635
+ "name": "AnchoredRegion",
3636
+ "module": "src/anchored-region/anchored-region.ts"
3417
3637
  }
3418
3638
  },
3419
3639
  {
3420
3640
  "kind": "method",
3421
- "name": "templateChanged",
3422
- "privacy": "protected",
3641
+ "name": "disconnectResizeDetector",
3642
+ "privacy": "private",
3423
3643
  "return": {
3424
3644
  "type": {
3425
3645
  "text": "void"
3426
3646
  }
3427
3647
  },
3648
+ "description": "destroys the instance's resize observer",
3428
3649
  "inheritedFrom": {
3429
- "name": "FoundationElement",
3430
- "module": "src/foundation-element/foundation-element.ts"
3650
+ "name": "AnchoredRegion",
3651
+ "module": "src/anchored-region/anchored-region.ts"
3431
3652
  }
3432
3653
  },
3433
3654
  {
3434
- "kind": "field",
3435
- "name": "styles",
3436
- "type": {
3437
- "text": "ElementStyles | void | null"
3655
+ "kind": "method",
3656
+ "name": "initializeResizeDetector",
3657
+ "privacy": "private",
3658
+ "return": {
3659
+ "type": {
3660
+ "text": "void"
3661
+ }
3438
3662
  },
3439
- "privacy": "public",
3440
- "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.",
3663
+ "description": "initializes the instance's resize observer",
3441
3664
  "inheritedFrom": {
3442
- "name": "FoundationElement",
3443
- "module": "src/foundation-element/foundation-element.ts"
3665
+ "name": "AnchoredRegion",
3666
+ "module": "src/anchored-region/anchored-region.ts"
3444
3667
  }
3445
3668
  },
3446
3669
  {
3447
3670
  "kind": "method",
3448
- "name": "stylesChanged",
3449
- "privacy": "protected",
3671
+ "name": "updateForAttributeChange",
3672
+ "privacy": "private",
3450
3673
  "return": {
3451
3674
  "type": {
3452
3675
  "text": "void"
3453
3676
  }
3454
3677
  },
3678
+ "description": "react to attribute changes that don't require a reset",
3455
3679
  "inheritedFrom": {
3456
- "name": "FoundationElement",
3457
- "module": "src/foundation-element/foundation-element.ts"
3680
+ "name": "AnchoredRegion",
3681
+ "module": "src/anchored-region/anchored-region.ts"
3458
3682
  }
3459
3683
  },
3460
3684
  {
3461
3685
  "kind": "method",
3462
- "name": "compose",
3463
- "privacy": "public",
3464
- "static": true,
3686
+ "name": "initialize",
3687
+ "privacy": "private",
3465
3688
  "return": {
3466
3689
  "type": {
3467
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3690
+ "text": "void"
3468
3691
  }
3469
3692
  },
3470
- "parameters": [
3471
- {
3472
- "name": "this",
3473
- "type": {
3474
- "text": "K"
3475
- }
3476
- },
3477
- {
3478
- "name": "elementDefinition",
3479
- "type": {
3480
- "text": "T"
3481
- },
3482
- "description": "The definition of the element to create the registry\nfunction for."
3483
- }
3484
- ],
3485
- "description": "Defines an element registry function with a set of element definition defaults.",
3486
- "inheritedFrom": {
3487
- "name": "FoundationElement",
3488
- "module": "src/foundation-element/foundation-element.ts"
3489
- }
3490
- }
3491
- ],
3492
- "events": [
3493
- {
3494
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3495
- "name": "loaded",
3693
+ "description": "fully initializes the component",
3496
3694
  "inheritedFrom": {
3497
3695
  "name": "AnchoredRegion",
3498
3696
  "module": "src/anchored-region/anchored-region.ts"
3499
3697
  }
3500
3698
  },
3501
3699
  {
3502
- "description": "Fires a custom 'positionchange' event when the position has changed",
3503
- "name": "positionchange",
3700
+ "kind": "method",
3701
+ "name": "requestReset",
3702
+ "privacy": "private",
3703
+ "return": {
3704
+ "type": {
3705
+ "text": "void"
3706
+ }
3707
+ },
3708
+ "description": "Request a reset if there are currently no open requests",
3504
3709
  "inheritedFrom": {
3505
3710
  "name": "AnchoredRegion",
3506
3711
  "module": "src/anchored-region/anchored-region.ts"
3507
- }
3508
- }
3509
- ]
3510
- },
3511
- {
3512
- "kind": "variable",
3513
- "name": "foundationAnchoredRegionShadowOptions",
3514
- "type": {
3515
- "text": "ShadowRootInit"
3516
- },
3517
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3518
- },
3519
- {
3520
- "kind": "variable",
3521
- "name": "defaultAnchoredRegionConfig",
3522
- "type": {
3523
- "text": "object"
3524
- },
3525
- "default": "{}"
3526
- },
3527
- {
3528
- "kind": "variable",
3529
- "name": "foundationAnchoredRegion",
3530
- "description": "The Foundation Anchored Region",
3531
- "privacy": "public"
3532
- }
3533
- ],
3534
- "exports": [
3535
- {
3536
- "kind": "js",
3537
- "name": "AnchoredRegion",
3538
- "declaration": {
3539
- "name": "AnchoredRegion",
3540
- "module": "src/anchored-region/anchored-region.ts"
3541
- }
3542
- },
3543
- {
3544
- "kind": "js",
3545
- "name": "foundationAnchoredRegionShadowOptions",
3546
- "declaration": {
3547
- "name": "foundationAnchoredRegionShadowOptions",
3548
- "module": "src/anchored-region/anchored-region.ts"
3549
- }
3550
- },
3551
- {
3552
- "kind": "js",
3553
- "name": "defaultAnchoredRegionConfig",
3554
- "declaration": {
3555
- "name": "defaultAnchoredRegionConfig",
3556
- "module": "src/anchored-region/anchored-region.ts"
3557
- }
3558
- },
3559
- {
3560
- "kind": "js",
3561
- "name": "foundationAnchoredRegion",
3562
- "declaration": {
3563
- "name": "foundationAnchoredRegion",
3564
- "module": "src/anchored-region/anchored-region.ts"
3565
- }
3566
- }
3567
- ]
3568
- },
3569
- {
3570
- "kind": "javascript-module",
3571
- "path": "src/anchored-region/index.ts",
3572
- "declarations": [],
3573
- "exports": [
3574
- {
3575
- "kind": "js",
3576
- "name": "*",
3577
- "declaration": {
3578
- "name": "*",
3579
- "package": "./anchor-region.template"
3580
- }
3581
- },
3582
- {
3583
- "kind": "js",
3584
- "name": "*",
3585
- "declaration": {
3586
- "name": "*",
3587
- "package": "./anchored-region.styles"
3588
- }
3589
- },
3590
- {
3591
- "kind": "js",
3592
- "name": "*",
3593
- "declaration": {
3594
- "name": "*",
3595
- "package": "./anchored-region"
3596
- }
3597
- }
3598
- ]
3599
- },
3600
- {
3601
- "kind": "javascript-module",
3602
- "path": "src/actions-menu/actions-menu.styles.ts",
3603
- "declarations": [
3604
- {
3605
- "kind": "function",
3606
- "name": "actionsMenuBaseStyles",
3607
- "return": {
3608
- "type": {
3609
- "text": "ElementStyles"
3610
- }
3611
- },
3612
- "parameters": [
3613
- {
3614
- "name": "context",
3615
- "type": {
3616
- "text": "ElementDefinitionContext"
3617
- }
3618
- },
3619
- {
3620
- "name": "definition",
3621
- "type": {
3622
- "text": "FoundationElementDefinition"
3623
- }
3624
- }
3625
- ]
3626
- },
3627
- {
3628
- "kind": "function",
3629
- "name": "foundationActionsMenuStyles",
3630
- "return": {
3631
- "type": {
3632
- "text": "ElementStyles"
3633
- }
3634
- },
3635
- "parameters": [
3712
+ }
3713
+ },
3636
3714
  {
3637
- "name": "context",
3638
- "type": {
3639
- "text": "ElementDefinitionContext"
3715
+ "kind": "method",
3716
+ "name": "setInitialState",
3717
+ "privacy": "private",
3718
+ "return": {
3719
+ "type": {
3720
+ "text": "void"
3721
+ }
3722
+ },
3723
+ "description": "sets the starting configuration for component internal values",
3724
+ "inheritedFrom": {
3725
+ "name": "AnchoredRegion",
3726
+ "module": "src/anchored-region/anchored-region.ts"
3640
3727
  }
3641
3728
  },
3642
3729
  {
3643
- "name": "definition",
3644
- "type": {
3645
- "text": "FoundationElementDefinition"
3730
+ "kind": "field",
3731
+ "name": "startObservers",
3732
+ "privacy": "private",
3733
+ "description": "starts observers",
3734
+ "inheritedFrom": {
3735
+ "name": "AnchoredRegion",
3736
+ "module": "src/anchored-region/anchored-region.ts"
3646
3737
  }
3647
- }
3648
- ]
3649
- }
3650
- ],
3651
- "exports": [
3652
- {
3653
- "kind": "js",
3654
- "name": "actionsMenuBaseStyles",
3655
- "declaration": {
3656
- "name": "actionsMenuBaseStyles",
3657
- "module": "src/actions-menu/actions-menu.styles.ts"
3658
- }
3659
- },
3660
- {
3661
- "kind": "js",
3662
- "name": "foundationActionsMenuStyles",
3663
- "declaration": {
3664
- "name": "foundationActionsMenuStyles",
3665
- "module": "src/actions-menu/actions-menu.styles.ts"
3666
- }
3667
- }
3668
- ]
3669
- },
3670
- {
3671
- "kind": "javascript-module",
3672
- "path": "src/actions-menu/actions-menu.template.ts",
3673
- "declarations": [
3674
- {
3675
- "kind": "function",
3676
- "name": "menuTemplate",
3677
- "parameters": [
3738
+ },
3678
3739
  {
3679
- "name": "prefix",
3680
- "type": {
3681
- "text": "string"
3740
+ "kind": "field",
3741
+ "name": "requestPositionUpdates",
3742
+ "privacy": "private",
3743
+ "description": "get position updates",
3744
+ "inheritedFrom": {
3745
+ "name": "AnchoredRegion",
3746
+ "module": "src/anchored-region/anchored-region.ts"
3682
3747
  }
3683
- }
3684
- ]
3685
- },
3686
- {
3687
- "kind": "function",
3688
- "name": "singleOptionTemplate",
3689
- "parameters": [
3748
+ },
3690
3749
  {
3691
- "name": "prefix",
3692
- "type": {
3693
- "text": "string"
3750
+ "kind": "field",
3751
+ "name": "stopObservers",
3752
+ "privacy": "private",
3753
+ "description": "stops observers",
3754
+ "inheritedFrom": {
3755
+ "name": "AnchoredRegion",
3756
+ "module": "src/anchored-region/anchored-region.ts"
3694
3757
  }
3695
- }
3696
- ]
3697
- },
3698
- {
3699
- "kind": "variable",
3700
- "name": "foundationActionsMenuTemplate",
3701
- "type": {
3702
- "text": "ViewTemplate<ActionsMenu>"
3703
- },
3704
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
3705
- }
3706
- ],
3707
- "exports": [
3708
- {
3709
- "kind": "js",
3710
- "name": "menuTemplate",
3711
- "declaration": {
3712
- "name": "menuTemplate",
3713
- "module": "src/actions-menu/actions-menu.template.ts"
3714
- }
3715
- },
3716
- {
3717
- "kind": "js",
3718
- "name": "singleOptionTemplate",
3719
- "declaration": {
3720
- "name": "singleOptionTemplate",
3721
- "module": "src/actions-menu/actions-menu.template.ts"
3722
- }
3723
- },
3724
- {
3725
- "kind": "js",
3726
- "name": "foundationActionsMenuTemplate",
3727
- "declaration": {
3728
- "name": "foundationActionsMenuTemplate",
3729
- "module": "src/actions-menu/actions-menu.template.ts"
3730
- }
3731
- }
3732
- ]
3733
- },
3734
- {
3735
- "kind": "javascript-module",
3736
- "path": "src/actions-menu/actions-menu.ts",
3737
- "declarations": [
3738
- {
3739
- "kind": "class",
3740
- "description": "",
3741
- "name": "ActionsMenu",
3742
- "members": [
3758
+ },
3743
3759
  {
3744
3760
  "kind": "field",
3745
- "name": "actions",
3746
- "type": {
3747
- "text": "ActionMenuItem[]"
3761
+ "name": "getViewport",
3762
+ "privacy": "private",
3763
+ "description": "Gets the viewport element by id, or defaults to document root",
3764
+ "inheritedFrom": {
3765
+ "name": "AnchoredRegion",
3766
+ "module": "src/anchored-region/anchored-region.ts"
3748
3767
  }
3749
3768
  },
3750
3769
  {
3751
3770
  "kind": "field",
3752
- "name": "isVertical",
3753
- "type": {
3754
- "text": "boolean"
3755
- },
3756
- "default": "false"
3771
+ "name": "getAnchor",
3772
+ "privacy": "private",
3773
+ "description": "Gets the anchor element by id",
3774
+ "inheritedFrom": {
3775
+ "name": "AnchoredRegion",
3776
+ "module": "src/anchored-region/anchored-region.ts"
3777
+ }
3757
3778
  },
3758
3779
  {
3759
3780
  "kind": "field",
3760
- "name": "addDefaultActions",
3761
- "type": {
3762
- "text": "boolean"
3763
- },
3764
- "default": "true"
3781
+ "name": "handleIntersection",
3782
+ "privacy": "private",
3783
+ "description": "Handle intersections",
3784
+ "inheritedFrom": {
3785
+ "name": "AnchoredRegion",
3786
+ "module": "src/anchored-region/anchored-region.ts"
3787
+ }
3765
3788
  },
3766
3789
  {
3767
3790
  "kind": "field",
3768
- "name": "autoCloseOnAction",
3769
- "type": {
3770
- "text": "boolean"
3771
- },
3772
- "default": "true"
3791
+ "name": "applyIntersectionEntries",
3792
+ "privacy": "private",
3793
+ "description": "iterate through intersection entries and apply data",
3794
+ "inheritedFrom": {
3795
+ "name": "AnchoredRegion",
3796
+ "module": "src/anchored-region/anchored-region.ts"
3797
+ }
3773
3798
  },
3774
3799
  {
3775
3800
  "kind": "field",
3776
- "name": "classNames",
3777
- "type": {
3778
- "text": "string"
3801
+ "name": "updateRegionOffset",
3802
+ "privacy": "private",
3803
+ "description": "Update the offset values",
3804
+ "inheritedFrom": {
3805
+ "name": "AnchoredRegion",
3806
+ "module": "src/anchored-region/anchored-region.ts"
3779
3807
  }
3780
3808
  },
3781
3809
  {
3782
3810
  "kind": "field",
3783
- "name": "definition",
3784
- "type": {
3785
- "text": "any"
3811
+ "name": "isRectDifferent",
3812
+ "privacy": "private",
3813
+ "description": "compare rects to see if there is enough change to justify a DOM update",
3814
+ "inheritedFrom": {
3815
+ "name": "AnchoredRegion",
3816
+ "module": "src/anchored-region/anchored-region.ts"
3786
3817
  }
3787
3818
  },
3788
3819
  {
3789
3820
  "kind": "field",
3790
- "name": "name",
3791
- "type": {
3792
- "text": "string"
3793
- },
3794
- "default": "'Actions'"
3821
+ "name": "handleResize",
3822
+ "privacy": "private",
3823
+ "description": "Handle resize events",
3824
+ "inheritedFrom": {
3825
+ "name": "AnchoredRegion",
3826
+ "module": "src/anchored-region/anchored-region.ts"
3827
+ }
3795
3828
  },
3796
3829
  {
3797
3830
  "kind": "field",
3798
- "name": "open",
3799
- "type": {
3800
- "text": "boolean"
3801
- },
3802
- "default": "false"
3831
+ "name": "reset",
3832
+ "privacy": "private",
3833
+ "description": "resets the component",
3834
+ "inheritedFrom": {
3835
+ "name": "AnchoredRegion",
3836
+ "module": "src/anchored-region/anchored-region.ts"
3837
+ }
3803
3838
  },
3804
3839
  {
3805
3840
  "kind": "field",
3806
- "name": "buttonAppearance",
3807
- "type": {
3808
- "text": "string"
3841
+ "name": "updateLayout",
3842
+ "privacy": "private",
3843
+ "description": "Recalculate layout related state values",
3844
+ "inheritedFrom": {
3845
+ "name": "AnchoredRegion",
3846
+ "module": "src/anchored-region/anchored-region.ts"
3809
3847
  }
3810
3848
  },
3811
3849
  {
3812
3850
  "kind": "field",
3813
- "name": "hideDisabled",
3814
- "type": {
3815
- "text": "boolean"
3816
- },
3817
- "default": "false"
3851
+ "name": "updateRegionStyle",
3852
+ "privacy": "private",
3853
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3854
+ "inheritedFrom": {
3855
+ "name": "AnchoredRegion",
3856
+ "module": "src/anchored-region/anchored-region.ts"
3857
+ }
3818
3858
  },
3819
3859
  {
3820
3860
  "kind": "field",
3821
- "name": "hideMenuSingleOption",
3822
- "type": {
3823
- "text": "boolean"
3824
- },
3825
- "default": "false"
3861
+ "name": "updatePositionClasses",
3862
+ "privacy": "private",
3863
+ "description": "Updates the css classes that reflect the current position of the element",
3864
+ "inheritedFrom": {
3865
+ "name": "AnchoredRegion",
3866
+ "module": "src/anchored-region/anchored-region.ts"
3867
+ }
3826
3868
  },
3827
3869
  {
3828
3870
  "kind": "field",
3829
- "name": "singleOption",
3830
- "type": {
3831
- "text": "ActionMenuItem"
3871
+ "name": "setHorizontalPosition",
3872
+ "privacy": "private",
3873
+ "description": "Get horizontal positioning state based on desired position",
3874
+ "inheritedFrom": {
3875
+ "name": "AnchoredRegion",
3876
+ "module": "src/anchored-region/anchored-region.ts"
3832
3877
  }
3833
3878
  },
3834
3879
  {
3835
3880
  "kind": "field",
3836
- "name": "actionsMenu",
3837
- "type": {
3838
- "text": "HTMLElement"
3881
+ "name": "setVerticalPosition",
3882
+ "privacy": "private",
3883
+ "description": "Set vertical positioning state based on desired position",
3884
+ "inheritedFrom": {
3885
+ "name": "AnchoredRegion",
3886
+ "module": "src/anchored-region/anchored-region.ts"
3839
3887
  }
3840
3888
  },
3841
3889
  {
3842
- "kind": "method",
3843
- "name": "definitionChanged",
3844
- "privacy": "protected",
3845
- "parameters": [
3846
- {
3847
- "name": "oldValue",
3848
- "type": {
3849
- "text": "any"
3850
- }
3851
- },
3852
- {
3853
- "name": "newValue",
3854
- "type": {
3855
- "text": "any"
3856
- }
3857
- }
3858
- ]
3859
- },
3860
- {
3861
- "kind": "method",
3862
- "name": "openChanged",
3863
- "privacy": "protected"
3864
- },
3865
- {
3866
- "kind": "method",
3867
- "name": "toggleActionsMenuVisibility"
3868
- },
3869
- {
3870
- "kind": "method",
3871
- "name": "onActionMenuItemClick",
3872
- "parameters": [
3873
- {
3874
- "name": "callback",
3875
- "type": {
3876
- "text": "(rowData) => void | any"
3877
- }
3878
- }
3879
- ]
3890
+ "kind": "field",
3891
+ "name": "getPositioningOptions",
3892
+ "privacy": "private",
3893
+ "description": "Get available positions based on positioning mode",
3894
+ "inheritedFrom": {
3895
+ "name": "AnchoredRegion",
3896
+ "module": "src/anchored-region/anchored-region.ts"
3897
+ }
3880
3898
  },
3881
3899
  {
3882
3900
  "kind": "field",
3883
- "name": "allActions",
3884
- "type": {
3885
- "text": "ActionMenuItem[]"
3886
- },
3887
- "readonly": true
3901
+ "name": "getAvailableSpace",
3902
+ "privacy": "private",
3903
+ "description": "Get the space available for a particular relative position",
3904
+ "inheritedFrom": {
3905
+ "name": "AnchoredRegion",
3906
+ "module": "src/anchored-region/anchored-region.ts"
3907
+ }
3888
3908
  },
3889
3909
  {
3890
3910
  "kind": "field",
3891
- "name": "rowData",
3892
- "readonly": true
3911
+ "name": "getNextRegionDimension",
3912
+ "privacy": "private",
3913
+ "description": "Get region dimensions",
3914
+ "inheritedFrom": {
3915
+ "name": "AnchoredRegion",
3916
+ "module": "src/anchored-region/anchored-region.ts"
3917
+ }
3893
3918
  },
3894
3919
  {
3895
- "kind": "method",
3896
- "name": "getLabel",
3897
- "parameters": [
3898
- {
3899
- "name": "name",
3900
- "type": {
3901
- "text": "string | ((rowData: any) => string)"
3902
- }
3903
- }
3904
- ]
3920
+ "kind": "field",
3921
+ "name": "startAutoUpdateEventListeners",
3922
+ "privacy": "private",
3923
+ "description": "starts event listeners that can trigger auto updating",
3924
+ "inheritedFrom": {
3925
+ "name": "AnchoredRegion",
3926
+ "module": "src/anchored-region/anchored-region.ts"
3927
+ }
3905
3928
  },
3906
3929
  {
3907
- "kind": "method",
3908
- "name": "getTemplate",
3909
- "parameters": [
3910
- {
3911
- "name": "prefix",
3912
- "type": {
3913
- "text": "string"
3914
- }
3915
- }
3916
- ]
3930
+ "kind": "field",
3931
+ "name": "stopAutoUpdateEventListeners",
3932
+ "privacy": "private",
3933
+ "description": "stops event listeners that can trigger auto updating",
3934
+ "inheritedFrom": {
3935
+ "name": "AnchoredRegion",
3936
+ "module": "src/anchored-region/anchored-region.ts"
3937
+ }
3917
3938
  },
3918
3939
  {
3919
3940
  "kind": "field",
@@ -4027,107 +4048,86 @@
4027
4048
  }
4028
4049
  }
4029
4050
  ],
4030
- "attributes": [
4031
- {
4032
- "name": "is-vertical",
4033
- "type": {
4034
- "text": "boolean"
4035
- },
4036
- "default": "false",
4037
- "fieldName": "isVertical"
4038
- },
4039
- {
4040
- "name": "add-default-actions",
4041
- "type": {
4042
- "text": "boolean"
4043
- },
4044
- "default": "true",
4045
- "fieldName": "addDefaultActions"
4046
- },
4047
- {
4048
- "name": "auto-close-on-action",
4049
- "type": {
4050
- "text": "boolean"
4051
- },
4052
- "default": "true",
4053
- "fieldName": "autoCloseOnAction"
4054
- },
4055
- {
4056
- "name": "name",
4057
- "type": {
4058
- "text": "string"
4059
- },
4060
- "default": "'Actions'",
4061
- "fieldName": "name"
4062
- },
4063
- {
4064
- "name": "open",
4065
- "type": {
4066
- "text": "boolean"
4067
- },
4068
- "default": "false",
4069
- "fieldName": "open"
4070
- },
4071
- {
4072
- "name": "buttonAppearance",
4073
- "type": {
4074
- "text": "string"
4075
- },
4076
- "fieldName": "buttonAppearance"
4077
- },
4051
+ "events": [
4078
4052
  {
4079
- "name": "hide-disabled",
4080
- "type": {
4081
- "text": "boolean"
4082
- },
4083
- "default": "false",
4084
- "fieldName": "hideDisabled"
4053
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4054
+ "name": "loaded",
4055
+ "inheritedFrom": {
4056
+ "name": "AnchoredRegion",
4057
+ "module": "src/anchored-region/anchored-region.ts"
4058
+ }
4085
4059
  },
4086
4060
  {
4087
- "name": "hide-menu-single-option",
4088
- "type": {
4089
- "text": "boolean"
4090
- },
4091
- "default": "false",
4092
- "fieldName": "hideMenuSingleOption"
4061
+ "description": "Fires a custom 'positionchange' event when the position has changed",
4062
+ "name": "positionchange",
4063
+ "inheritedFrom": {
4064
+ "name": "AnchoredRegion",
4065
+ "module": "src/anchored-region/anchored-region.ts"
4066
+ }
4093
4067
  }
4094
- ],
4095
- "superclass": {
4096
- "name": "FoundationElement",
4097
- "package": "@microsoft/fast-foundation"
4068
+ ]
4069
+ },
4070
+ {
4071
+ "kind": "variable",
4072
+ "name": "foundationAnchoredRegionShadowOptions",
4073
+ "type": {
4074
+ "text": "ShadowRootInit"
4098
4075
  },
4099
- "tagName": "%%prefix%%-actions-menu",
4100
- "customElement": true
4076
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4101
4077
  },
4102
4078
  {
4103
4079
  "kind": "variable",
4104
- "name": "foundationActionsMenu",
4105
- "description": "The Foundation Actions Menu",
4080
+ "name": "defaultAnchoredRegionConfig",
4081
+ "type": {
4082
+ "text": "object"
4083
+ },
4084
+ "default": "{}"
4085
+ },
4086
+ {
4087
+ "kind": "variable",
4088
+ "name": "foundationAnchoredRegion",
4089
+ "description": "The Foundation Anchored Region",
4106
4090
  "privacy": "public"
4107
4091
  }
4108
4092
  ],
4109
4093
  "exports": [
4110
4094
  {
4111
4095
  "kind": "js",
4112
- "name": "ActionsMenu",
4096
+ "name": "AnchoredRegion",
4113
4097
  "declaration": {
4114
- "name": "ActionsMenu",
4115
- "module": "src/actions-menu/actions-menu.ts"
4098
+ "name": "AnchoredRegion",
4099
+ "module": "src/anchored-region/anchored-region.ts"
4116
4100
  }
4117
4101
  },
4118
4102
  {
4119
4103
  "kind": "js",
4120
- "name": "foundationActionsMenu",
4104
+ "name": "foundationAnchoredRegionShadowOptions",
4121
4105
  "declaration": {
4122
- "name": "foundationActionsMenu",
4123
- "module": "src/actions-menu/actions-menu.ts"
4106
+ "name": "foundationAnchoredRegionShadowOptions",
4107
+ "module": "src/anchored-region/anchored-region.ts"
4108
+ }
4109
+ },
4110
+ {
4111
+ "kind": "js",
4112
+ "name": "defaultAnchoredRegionConfig",
4113
+ "declaration": {
4114
+ "name": "defaultAnchoredRegionConfig",
4115
+ "module": "src/anchored-region/anchored-region.ts"
4116
+ }
4117
+ },
4118
+ {
4119
+ "kind": "js",
4120
+ "name": "foundationAnchoredRegion",
4121
+ "declaration": {
4122
+ "name": "foundationAnchoredRegion",
4123
+ "module": "src/anchored-region/anchored-region.ts"
4124
4124
  }
4125
4125
  }
4126
4126
  ]
4127
4127
  },
4128
4128
  {
4129
4129
  "kind": "javascript-module",
4130
- "path": "src/actions-menu/index.ts",
4130
+ "path": "src/anchored-region/index.ts",
4131
4131
  "declarations": [],
4132
4132
  "exports": [
4133
4133
  {
@@ -4135,7 +4135,7 @@
4135
4135
  "name": "*",
4136
4136
  "declaration": {
4137
4137
  "name": "*",
4138
- "package": "./actions-menu.styles"
4138
+ "package": "./anchor-region.template"
4139
4139
  }
4140
4140
  },
4141
4141
  {
@@ -4143,7 +4143,7 @@
4143
4143
  "name": "*",
4144
4144
  "declaration": {
4145
4145
  "name": "*",
4146
- "package": "./actions-menu.template"
4146
+ "package": "./anchored-region.styles"
4147
4147
  }
4148
4148
  },
4149
4149
  {
@@ -4151,7 +4151,7 @@
4151
4151
  "name": "*",
4152
4152
  "declaration": {
4153
4153
  "name": "*",
4154
- "package": "./actions-menu"
4154
+ "package": "./anchored-region"
4155
4155
  }
4156
4156
  }
4157
4157
  ]