@genesislcap/foundation-ui 14.172.2 → 14.172.3

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