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