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