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