@genesislcap/rapid-design-system 14.366.2-alpha-11da8b5.0 → 14.367.1

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 +1126 -1126
  2. package/package.json +11 -11
@@ -764,154 +764,6 @@
764
764
  }
765
765
  ]
766
766
  },
767
- {
768
- "kind": "javascript-module",
769
- "path": "src/accordion/accordion.styles.ts",
770
- "declarations": [
771
- {
772
- "kind": "function",
773
- "name": "rapidAccordionStyles",
774
- "return": {
775
- "type": {
776
- "text": "ElementStyles"
777
- }
778
- },
779
- "parameters": [
780
- {
781
- "name": "context",
782
- "type": {
783
- "text": "ElementDefinitionContext"
784
- }
785
- },
786
- {
787
- "name": "definition",
788
- "type": {
789
- "text": "FoundationElementDefinition"
790
- }
791
- }
792
- ]
793
- }
794
- ],
795
- "exports": [
796
- {
797
- "kind": "js",
798
- "name": "rapidAccordionStyles",
799
- "declaration": {
800
- "name": "rapidAccordionStyles",
801
- "module": "src/accordion/accordion.styles.ts"
802
- }
803
- }
804
- ]
805
- },
806
- {
807
- "kind": "javascript-module",
808
- "path": "src/accordion/accordion.template.ts",
809
- "declarations": [
810
- {
811
- "kind": "function",
812
- "name": "rapidAccordionTemplate",
813
- "return": {
814
- "type": {
815
- "text": "ViewTemplate<Accordion>"
816
- }
817
- },
818
- "parameters": [
819
- {
820
- "name": "context",
821
- "type": {
822
- "text": "ElementDefinitionContext"
823
- }
824
- },
825
- {
826
- "name": "definition",
827
- "type": {
828
- "text": "FoundationElementDefinition"
829
- }
830
- }
831
- ]
832
- }
833
- ],
834
- "exports": [
835
- {
836
- "kind": "js",
837
- "name": "rapidAccordionTemplate",
838
- "declaration": {
839
- "name": "rapidAccordionTemplate",
840
- "module": "src/accordion/accordion.template.ts"
841
- }
842
- }
843
- ]
844
- },
845
- {
846
- "kind": "javascript-module",
847
- "path": "src/accordion/accordion.ts",
848
- "declarations": [
849
- {
850
- "kind": "class",
851
- "description": "",
852
- "name": "Accordion",
853
- "superclass": {
854
- "name": "foundationAccordion",
855
- "package": "@genesislcap/foundation-ui"
856
- },
857
- "tagName": "%%prefix%%-accordion",
858
- "customElement": true
859
- },
860
- {
861
- "kind": "variable",
862
- "name": "rapidAccordion"
863
- }
864
- ],
865
- "exports": [
866
- {
867
- "kind": "js",
868
- "name": "Accordion",
869
- "declaration": {
870
- "name": "Accordion",
871
- "module": "src/accordion/accordion.ts"
872
- }
873
- },
874
- {
875
- "kind": "js",
876
- "name": "rapidAccordion",
877
- "declaration": {
878
- "name": "rapidAccordion",
879
- "module": "src/accordion/accordion.ts"
880
- }
881
- }
882
- ]
883
- },
884
- {
885
- "kind": "javascript-module",
886
- "path": "src/accordion/index.ts",
887
- "declarations": [],
888
- "exports": [
889
- {
890
- "kind": "js",
891
- "name": "*",
892
- "declaration": {
893
- "name": "*",
894
- "package": "./accordion"
895
- }
896
- },
897
- {
898
- "kind": "js",
899
- "name": "*",
900
- "declaration": {
901
- "name": "*",
902
- "package": "./accordion.styles"
903
- }
904
- },
905
- {
906
- "kind": "js",
907
- "name": "*",
908
- "declaration": {
909
- "name": "*",
910
- "package": "./accordion.template"
911
- }
912
- }
913
- ]
914
- },
915
767
  {
916
768
  "kind": "javascript-module",
917
769
  "path": "src/_config/index.ts",
@@ -1665,11 +1517,11 @@
1665
1517
  },
1666
1518
  {
1667
1519
  "kind": "javascript-module",
1668
- "path": "src/anchored-region/anchored-region.styles.ts",
1520
+ "path": "src/accordion/accordion.styles.ts",
1669
1521
  "declarations": [
1670
1522
  {
1671
1523
  "kind": "function",
1672
- "name": "rapidAnchoredRegionStyles",
1524
+ "name": "rapidAccordionStyles",
1673
1525
  "return": {
1674
1526
  "type": {
1675
1527
  "text": "ElementStyles"
@@ -1694,24 +1546,24 @@
1694
1546
  "exports": [
1695
1547
  {
1696
1548
  "kind": "js",
1697
- "name": "rapidAnchoredRegionStyles",
1549
+ "name": "rapidAccordionStyles",
1698
1550
  "declaration": {
1699
- "name": "rapidAnchoredRegionStyles",
1700
- "module": "src/anchored-region/anchored-region.styles.ts"
1551
+ "name": "rapidAccordionStyles",
1552
+ "module": "src/accordion/accordion.styles.ts"
1701
1553
  }
1702
1554
  }
1703
1555
  ]
1704
1556
  },
1705
1557
  {
1706
1558
  "kind": "javascript-module",
1707
- "path": "src/anchored-region/anchored-region.template.ts",
1559
+ "path": "src/accordion/accordion.template.ts",
1708
1560
  "declarations": [
1709
1561
  {
1710
1562
  "kind": "function",
1711
- "name": "rapidAnchoredRegionTemplate",
1563
+ "name": "rapidAccordionTemplate",
1712
1564
  "return": {
1713
1565
  "type": {
1714
- "text": "ViewTemplate<AnchoredRegion>"
1566
+ "text": "ViewTemplate<Accordion>"
1715
1567
  }
1716
1568
  },
1717
1569
  "parameters": [
@@ -1733,812 +1585,894 @@
1733
1585
  "exports": [
1734
1586
  {
1735
1587
  "kind": "js",
1736
- "name": "rapidAnchoredRegionTemplate",
1588
+ "name": "rapidAccordionTemplate",
1737
1589
  "declaration": {
1738
- "name": "rapidAnchoredRegionTemplate",
1739
- "module": "src/anchored-region/anchored-region.template.ts"
1590
+ "name": "rapidAccordionTemplate",
1591
+ "module": "src/accordion/accordion.template.ts"
1740
1592
  }
1741
1593
  }
1742
1594
  ]
1743
1595
  },
1744
1596
  {
1745
1597
  "kind": "javascript-module",
1746
- "path": "src/anchored-region/anchored-region.ts",
1598
+ "path": "src/accordion/accordion.ts",
1747
1599
  "declarations": [
1748
1600
  {
1749
1601
  "kind": "class",
1750
1602
  "description": "",
1751
- "name": "AnchoredRegion",
1603
+ "name": "Accordion",
1752
1604
  "superclass": {
1753
- "name": "FoundationAnchoredRegion",
1605
+ "name": "foundationAccordion",
1754
1606
  "package": "@genesislcap/foundation-ui"
1755
1607
  },
1756
- "tagName": "%%prefix%%-anchored-region",
1757
- "customElement": true,
1758
- "attributes": [
1608
+ "tagName": "%%prefix%%-accordion",
1609
+ "customElement": true
1610
+ },
1611
+ {
1612
+ "kind": "variable",
1613
+ "name": "rapidAccordion"
1614
+ }
1615
+ ],
1616
+ "exports": [
1617
+ {
1618
+ "kind": "js",
1619
+ "name": "Accordion",
1620
+ "declaration": {
1621
+ "name": "Accordion",
1622
+ "module": "src/accordion/accordion.ts"
1623
+ }
1624
+ },
1625
+ {
1626
+ "kind": "js",
1627
+ "name": "rapidAccordion",
1628
+ "declaration": {
1629
+ "name": "rapidAccordion",
1630
+ "module": "src/accordion/accordion.ts"
1631
+ }
1632
+ }
1633
+ ]
1634
+ },
1635
+ {
1636
+ "kind": "javascript-module",
1637
+ "path": "src/accordion/index.ts",
1638
+ "declarations": [],
1639
+ "exports": [
1640
+ {
1641
+ "kind": "js",
1642
+ "name": "*",
1643
+ "declaration": {
1644
+ "name": "*",
1645
+ "package": "./accordion"
1646
+ }
1647
+ },
1648
+ {
1649
+ "kind": "js",
1650
+ "name": "*",
1651
+ "declaration": {
1652
+ "name": "*",
1653
+ "package": "./accordion.styles"
1654
+ }
1655
+ },
1656
+ {
1657
+ "kind": "js",
1658
+ "name": "*",
1659
+ "declaration": {
1660
+ "name": "*",
1661
+ "package": "./accordion.template"
1662
+ }
1663
+ }
1664
+ ]
1665
+ },
1666
+ {
1667
+ "kind": "javascript-module",
1668
+ "path": "src/anchor/anchor.styles.ts",
1669
+ "declarations": [
1670
+ {
1671
+ "kind": "function",
1672
+ "name": "rapidAnchorStyles",
1673
+ "return": {
1674
+ "type": {
1675
+ "text": "ElementStyles"
1676
+ }
1677
+ },
1678
+ "parameters": [
1759
1679
  {
1760
- "name": "anchor",
1680
+ "name": "context",
1761
1681
  "type": {
1762
- "text": "string"
1763
- },
1764
- "default": "\"\"",
1765
- "description": "The HTML ID of the anchor element this region is positioned relative to",
1766
- "fieldName": "anchor",
1767
- "inheritedFrom": {
1768
- "name": "AnchoredRegion",
1769
- "module": "src/anchored-region/anchored-region.ts"
1682
+ "text": "ElementDefinitionContext"
1770
1683
  }
1771
1684
  },
1772
1685
  {
1773
- "name": "viewport",
1686
+ "name": "definition",
1774
1687
  "type": {
1775
- "text": "string"
1776
- },
1777
- "default": "\"\"",
1778
- "description": "The HTML ID of the viewport element this region is positioned relative to",
1779
- "fieldName": "viewport",
1780
- "inheritedFrom": {
1781
- "name": "AnchoredRegion",
1782
- "module": "src/anchored-region/anchored-region.ts"
1688
+ "text": "FoundationElementDefinition"
1783
1689
  }
1784
- },
1690
+ }
1691
+ ]
1692
+ }
1693
+ ],
1694
+ "exports": [
1695
+ {
1696
+ "kind": "js",
1697
+ "name": "rapidAnchorStyles",
1698
+ "declaration": {
1699
+ "name": "rapidAnchorStyles",
1700
+ "module": "src/anchor/anchor.styles.ts"
1701
+ }
1702
+ }
1703
+ ]
1704
+ },
1705
+ {
1706
+ "kind": "javascript-module",
1707
+ "path": "src/anchor/anchor.template.ts",
1708
+ "declarations": [
1709
+ {
1710
+ "kind": "function",
1711
+ "name": "rapidAnchorTemplate",
1712
+ "return": {
1713
+ "type": {
1714
+ "text": "ViewTemplate<Anchor>"
1715
+ }
1716
+ },
1717
+ "parameters": [
1785
1718
  {
1786
- "name": "horizontal-positioning-mode",
1719
+ "name": "context",
1787
1720
  "type": {
1788
- "text": "AxisPositioningMode"
1789
- },
1790
- "default": "\"uncontrolled\"",
1791
- "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",
1792
- "fieldName": "horizontalPositioningMode",
1793
- "inheritedFrom": {
1794
- "name": "AnchoredRegion",
1795
- "module": "src/anchored-region/anchored-region.ts"
1721
+ "text": "ElementDefinitionContext"
1796
1722
  }
1797
1723
  },
1798
1724
  {
1799
- "name": "horizontal-default-position",
1725
+ "name": "definition",
1800
1726
  "type": {
1801
- "text": "HorizontalPosition"
1727
+ "text": "FoundationElementDefinition"
1728
+ }
1729
+ }
1730
+ ]
1731
+ }
1732
+ ],
1733
+ "exports": [
1734
+ {
1735
+ "kind": "js",
1736
+ "name": "rapidAnchorTemplate",
1737
+ "declaration": {
1738
+ "name": "rapidAnchorTemplate",
1739
+ "module": "src/anchor/anchor.template.ts"
1740
+ }
1741
+ }
1742
+ ]
1743
+ },
1744
+ {
1745
+ "kind": "javascript-module",
1746
+ "path": "src/anchor/anchor.ts",
1747
+ "declarations": [
1748
+ {
1749
+ "kind": "class",
1750
+ "description": "",
1751
+ "name": "Anchor",
1752
+ "superclass": {
1753
+ "name": "FoundationAnchor",
1754
+ "package": "@genesislcap/foundation-ui"
1755
+ },
1756
+ "tagName": "%%prefix%%-anchor",
1757
+ "customElement": true,
1758
+ "attributes": [
1759
+ {
1760
+ "name": "download",
1761
+ "type": {
1762
+ "text": "string"
1802
1763
  },
1803
- "default": "\"unset\"",
1804
- "description": "The default horizontal position of the region relative to the anchor element",
1805
- "fieldName": "horizontalDefaultPosition",
1764
+ "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.",
1765
+ "fieldName": "download",
1806
1766
  "inheritedFrom": {
1807
- "name": "AnchoredRegion",
1808
- "module": "src/anchored-region/anchored-region.ts"
1767
+ "name": "Anchor",
1768
+ "module": "src/anchor/anchor.ts"
1809
1769
  }
1810
1770
  },
1811
1771
  {
1812
- "name": "horizontal-viewport-lock",
1772
+ "name": "href",
1813
1773
  "type": {
1814
- "text": "boolean"
1774
+ "text": "string"
1815
1775
  },
1816
- "default": "false",
1817
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
1818
- "fieldName": "horizontalViewportLock",
1776
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1777
+ "fieldName": "href",
1819
1778
  "inheritedFrom": {
1820
- "name": "AnchoredRegion",
1821
- "module": "src/anchored-region/anchored-region.ts"
1779
+ "name": "Anchor",
1780
+ "module": "src/anchor/anchor.ts"
1822
1781
  }
1823
1782
  },
1824
1783
  {
1825
- "name": "horizontal-inset",
1784
+ "name": "hreflang",
1826
1785
  "type": {
1827
- "text": "boolean"
1786
+ "text": "string"
1828
1787
  },
1829
- "default": "false",
1830
- "description": "Whether the region overlaps the anchor on the horizontal axis",
1831
- "fieldName": "horizontalInset",
1788
+ "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.",
1789
+ "fieldName": "hreflang",
1832
1790
  "inheritedFrom": {
1833
- "name": "AnchoredRegion",
1834
- "module": "src/anchored-region/anchored-region.ts"
1791
+ "name": "Anchor",
1792
+ "module": "src/anchor/anchor.ts"
1835
1793
  }
1836
1794
  },
1837
1795
  {
1838
- "name": "horizontal-threshold",
1796
+ "name": "ping",
1839
1797
  "type": {
1840
- "text": "number"
1798
+ "text": "string"
1841
1799
  },
1842
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
1843
- "fieldName": "horizontalThreshold",
1800
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1801
+ "fieldName": "ping",
1844
1802
  "inheritedFrom": {
1845
- "name": "AnchoredRegion",
1846
- "module": "src/anchored-region/anchored-region.ts"
1803
+ "name": "Anchor",
1804
+ "module": "src/anchor/anchor.ts"
1847
1805
  }
1848
1806
  },
1849
1807
  {
1850
- "name": "horizontal-scaling",
1808
+ "name": "referrerpolicy",
1851
1809
  "type": {
1852
- "text": "AxisScalingMode"
1810
+ "text": "string"
1853
1811
  },
1854
- "default": "\"content\"",
1855
- "description": "Defines how the width of the region is calculated",
1856
- "fieldName": "horizontalScaling",
1812
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1813
+ "fieldName": "referrerpolicy",
1857
1814
  "inheritedFrom": {
1858
- "name": "AnchoredRegion",
1859
- "module": "src/anchored-region/anchored-region.ts"
1815
+ "name": "Anchor",
1816
+ "module": "src/anchor/anchor.ts"
1860
1817
  }
1861
1818
  },
1862
1819
  {
1863
- "name": "vertical-positioning-mode",
1820
+ "name": "rel",
1864
1821
  "type": {
1865
- "text": "AxisPositioningMode"
1822
+ "text": "string"
1866
1823
  },
1867
- "default": "\"uncontrolled\"",
1868
- "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",
1869
- "fieldName": "verticalPositioningMode",
1824
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1825
+ "fieldName": "rel",
1870
1826
  "inheritedFrom": {
1871
- "name": "AnchoredRegion",
1872
- "module": "src/anchored-region/anchored-region.ts"
1827
+ "name": "Anchor",
1828
+ "module": "src/anchor/anchor.ts"
1873
1829
  }
1874
1830
  },
1875
1831
  {
1876
- "name": "vertical-default-position",
1832
+ "name": "target",
1877
1833
  "type": {
1878
- "text": "VerticalPosition"
1834
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1879
1835
  },
1880
- "default": "\"unset\"",
1881
- "description": "The default vertical position of the region relative to the anchor element",
1882
- "fieldName": "verticalDefaultPosition",
1836
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1837
+ "fieldName": "target",
1883
1838
  "inheritedFrom": {
1884
- "name": "AnchoredRegion",
1885
- "module": "src/anchored-region/anchored-region.ts"
1839
+ "name": "Anchor",
1840
+ "module": "src/anchor/anchor.ts"
1886
1841
  }
1887
1842
  },
1888
1843
  {
1889
- "name": "vertical-viewport-lock",
1844
+ "name": "type",
1890
1845
  "type": {
1891
- "text": "boolean"
1846
+ "text": "string"
1892
1847
  },
1893
- "default": "false",
1894
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
1895
- "fieldName": "verticalViewportLock",
1848
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1849
+ "fieldName": "type",
1896
1850
  "inheritedFrom": {
1897
- "name": "AnchoredRegion",
1898
- "module": "src/anchored-region/anchored-region.ts"
1851
+ "name": "Anchor",
1852
+ "module": "src/anchor/anchor.ts"
1899
1853
  }
1900
- },
1854
+ }
1855
+ ],
1856
+ "members": [
1901
1857
  {
1902
- "name": "vertical-inset",
1858
+ "kind": "field",
1859
+ "name": "download",
1903
1860
  "type": {
1904
- "text": "boolean"
1861
+ "text": "string"
1905
1862
  },
1906
- "default": "false",
1907
- "description": "Whether the region overlaps the anchor on the vertical axis",
1908
- "fieldName": "verticalInset",
1863
+ "privacy": "public",
1864
+ "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.",
1909
1865
  "inheritedFrom": {
1910
- "name": "AnchoredRegion",
1911
- "module": "src/anchored-region/anchored-region.ts"
1866
+ "name": "Anchor",
1867
+ "module": "src/anchor/anchor.ts"
1912
1868
  }
1913
1869
  },
1914
1870
  {
1915
- "name": "vertical-threshold",
1871
+ "kind": "field",
1872
+ "name": "href",
1916
1873
  "type": {
1917
- "text": "number"
1874
+ "text": "string"
1918
1875
  },
1919
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
1920
- "fieldName": "verticalThreshold",
1876
+ "privacy": "public",
1877
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1921
1878
  "inheritedFrom": {
1922
- "name": "AnchoredRegion",
1923
- "module": "src/anchored-region/anchored-region.ts"
1879
+ "name": "Anchor",
1880
+ "module": "src/anchor/anchor.ts"
1924
1881
  }
1925
1882
  },
1926
1883
  {
1927
- "name": "vertical-scaling",
1884
+ "kind": "field",
1885
+ "name": "hreflang",
1928
1886
  "type": {
1929
- "text": "AxisScalingMode"
1887
+ "text": "string"
1930
1888
  },
1931
- "default": "\"content\"",
1932
- "description": "Defines how the height of the region is calculated",
1933
- "fieldName": "verticalScaling",
1889
+ "privacy": "public",
1890
+ "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.",
1934
1891
  "inheritedFrom": {
1935
- "name": "AnchoredRegion",
1936
- "module": "src/anchored-region/anchored-region.ts"
1892
+ "name": "Anchor",
1893
+ "module": "src/anchor/anchor.ts"
1937
1894
  }
1938
1895
  },
1939
1896
  {
1940
- "name": "fixed-placement",
1897
+ "kind": "field",
1898
+ "name": "ping",
1941
1899
  "type": {
1942
- "text": "boolean"
1900
+ "text": "string"
1943
1901
  },
1944
- "default": "false",
1945
- "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,",
1946
- "fieldName": "fixedPlacement",
1902
+ "privacy": "public",
1903
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1947
1904
  "inheritedFrom": {
1948
- "name": "AnchoredRegion",
1949
- "module": "src/anchored-region/anchored-region.ts"
1905
+ "name": "Anchor",
1906
+ "module": "src/anchor/anchor.ts"
1950
1907
  }
1951
1908
  },
1952
1909
  {
1953
- "name": "auto-update-mode",
1954
- "type": {
1955
- "text": "AutoUpdateMode"
1956
- },
1957
- "default": "\"anchor\"",
1958
- "description": "Defines what triggers the anchored region to revaluate positioning",
1959
- "fieldName": "autoUpdateMode",
1960
- "inheritedFrom": {
1961
- "name": "AnchoredRegion",
1962
- "module": "src/anchored-region/anchored-region.ts"
1963
- }
1964
- }
1965
- ],
1966
- "members": [
1967
- {
1968
- "kind": "field",
1969
- "name": "anchor",
1910
+ "kind": "field",
1911
+ "name": "referrerpolicy",
1970
1912
  "type": {
1971
1913
  "text": "string"
1972
1914
  },
1973
1915
  "privacy": "public",
1974
- "default": "\"\"",
1975
- "description": "The HTML ID of the anchor element this region is positioned relative to",
1976
- "inheritedFrom": {
1977
- "name": "AnchoredRegion",
1978
- "module": "src/anchored-region/anchored-region.ts"
1979
- }
1980
- },
1981
- {
1982
- "kind": "method",
1983
- "name": "anchorChanged",
1984
- "privacy": "private",
1985
- "return": {
1986
- "type": {
1987
- "text": "void"
1988
- }
1989
- },
1916
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1990
1917
  "inheritedFrom": {
1991
- "name": "AnchoredRegion",
1992
- "module": "src/anchored-region/anchored-region.ts"
1918
+ "name": "Anchor",
1919
+ "module": "src/anchor/anchor.ts"
1993
1920
  }
1994
1921
  },
1995
1922
  {
1996
1923
  "kind": "field",
1997
- "name": "viewport",
1924
+ "name": "rel",
1998
1925
  "type": {
1999
1926
  "text": "string"
2000
1927
  },
2001
1928
  "privacy": "public",
2002
- "default": "\"\"",
2003
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2004
- "inheritedFrom": {
2005
- "name": "AnchoredRegion",
2006
- "module": "src/anchored-region/anchored-region.ts"
2007
- }
2008
- },
2009
- {
2010
- "kind": "method",
2011
- "name": "viewportChanged",
2012
- "privacy": "private",
2013
- "return": {
2014
- "type": {
2015
- "text": "void"
2016
- }
2017
- },
1929
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2018
1930
  "inheritedFrom": {
2019
- "name": "AnchoredRegion",
2020
- "module": "src/anchored-region/anchored-region.ts"
1931
+ "name": "Anchor",
1932
+ "module": "src/anchor/anchor.ts"
2021
1933
  }
2022
1934
  },
2023
1935
  {
2024
1936
  "kind": "field",
2025
- "name": "horizontalPositioningMode",
1937
+ "name": "target",
2026
1938
  "type": {
2027
- "text": "AxisPositioningMode"
1939
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2028
1940
  },
2029
1941
  "privacy": "public",
2030
- "default": "\"uncontrolled\"",
2031
- "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",
2032
- "inheritedFrom": {
2033
- "name": "AnchoredRegion",
2034
- "module": "src/anchored-region/anchored-region.ts"
2035
- }
2036
- },
2037
- {
2038
- "kind": "method",
2039
- "name": "horizontalPositioningModeChanged",
2040
- "privacy": "private",
2041
- "return": {
2042
- "type": {
2043
- "text": "void"
2044
- }
2045
- },
1942
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2046
1943
  "inheritedFrom": {
2047
- "name": "AnchoredRegion",
2048
- "module": "src/anchored-region/anchored-region.ts"
1944
+ "name": "Anchor",
1945
+ "module": "src/anchor/anchor.ts"
2049
1946
  }
2050
1947
  },
2051
1948
  {
2052
1949
  "kind": "field",
2053
- "name": "horizontalDefaultPosition",
1950
+ "name": "type",
2054
1951
  "type": {
2055
- "text": "HorizontalPosition"
1952
+ "text": "string"
2056
1953
  },
2057
1954
  "privacy": "public",
2058
- "default": "\"unset\"",
2059
- "description": "The default horizontal position of the region relative to the anchor element",
2060
- "inheritedFrom": {
2061
- "name": "AnchoredRegion",
2062
- "module": "src/anchored-region/anchored-region.ts"
2063
- }
2064
- },
2065
- {
2066
- "kind": "method",
2067
- "name": "horizontalDefaultPositionChanged",
2068
- "privacy": "private",
2069
- "return": {
2070
- "type": {
2071
- "text": "void"
2072
- }
2073
- },
1955
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2074
1956
  "inheritedFrom": {
2075
- "name": "AnchoredRegion",
2076
- "module": "src/anchored-region/anchored-region.ts"
1957
+ "name": "Anchor",
1958
+ "module": "src/anchor/anchor.ts"
2077
1959
  }
2078
1960
  },
2079
1961
  {
2080
1962
  "kind": "field",
2081
- "name": "horizontalViewportLock",
1963
+ "name": "control",
2082
1964
  "type": {
2083
- "text": "boolean"
1965
+ "text": "HTMLAnchorElement | undefined"
2084
1966
  },
2085
1967
  "privacy": "public",
2086
- "default": "false",
2087
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
1968
+ "description": "References the root element",
2088
1969
  "inheritedFrom": {
2089
- "name": "AnchoredRegion",
2090
- "module": "src/anchored-region/anchored-region.ts"
1970
+ "name": "Anchor",
1971
+ "module": "src/anchor/anchor.ts"
2091
1972
  }
2092
1973
  },
2093
1974
  {
2094
- "kind": "method",
2095
- "name": "horizontalViewportLockChanged",
1975
+ "kind": "field",
1976
+ "name": "handleUnsupportedDelegatesFocus",
2096
1977
  "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2101
- },
1978
+ "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",
2102
1979
  "inheritedFrom": {
2103
- "name": "AnchoredRegion",
2104
- "module": "src/anchored-region/anchored-region.ts"
1980
+ "name": "Anchor",
1981
+ "module": "src/anchor/anchor.ts"
2105
1982
  }
2106
1983
  },
2107
1984
  {
2108
1985
  "kind": "field",
2109
- "name": "horizontalInset",
1986
+ "name": "_presentation",
2110
1987
  "type": {
2111
- "text": "boolean"
1988
+ "text": "ComponentPresentation | null | undefined"
2112
1989
  },
2113
- "privacy": "public",
2114
- "default": "false",
2115
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2116
- "inheritedFrom": {
2117
- "name": "AnchoredRegion",
2118
- "module": "src/anchored-region/anchored-region.ts"
2119
- }
2120
- },
2121
- {
2122
- "kind": "method",
2123
- "name": "horizontalInsetChanged",
2124
1990
  "privacy": "private",
2125
- "return": {
2126
- "type": {
2127
- "text": "void"
2128
- }
2129
- },
1991
+ "default": "void 0",
2130
1992
  "inheritedFrom": {
2131
- "name": "AnchoredRegion",
2132
- "module": "src/anchored-region/anchored-region.ts"
1993
+ "name": "Anchor",
1994
+ "module": "src/anchor/anchor.ts"
2133
1995
  }
2134
1996
  },
2135
1997
  {
2136
1998
  "kind": "field",
2137
- "name": "horizontalThreshold",
1999
+ "name": "$presentation",
2138
2000
  "type": {
2139
- "text": "number"
2001
+ "text": "ComponentPresentation | null"
2140
2002
  },
2141
2003
  "privacy": "public",
2142
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2143
- "inheritedFrom": {
2144
- "name": "AnchoredRegion",
2145
- "module": "src/anchored-region/anchored-region.ts"
2146
- }
2147
- },
2148
- {
2149
- "kind": "method",
2150
- "name": "horizontalThresholdChanged",
2151
- "privacy": "private",
2152
- "return": {
2153
- "type": {
2154
- "text": "void"
2155
- }
2156
- },
2004
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2157
2005
  "inheritedFrom": {
2158
- "name": "AnchoredRegion",
2159
- "module": "src/anchored-region/anchored-region.ts"
2006
+ "name": "Anchor",
2007
+ "module": "src/anchor/anchor.ts"
2160
2008
  }
2161
2009
  },
2162
2010
  {
2163
2011
  "kind": "field",
2164
- "name": "horizontalScaling",
2012
+ "name": "template",
2165
2013
  "type": {
2166
- "text": "AxisScalingMode"
2014
+ "text": "ElementViewTemplate | void | null"
2167
2015
  },
2168
2016
  "privacy": "public",
2169
- "default": "\"content\"",
2170
- "description": "Defines how the width of the region is calculated",
2017
+ "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.",
2171
2018
  "inheritedFrom": {
2172
- "name": "AnchoredRegion",
2173
- "module": "src/anchored-region/anchored-region.ts"
2019
+ "name": "Anchor",
2020
+ "module": "src/anchor/anchor.ts"
2174
2021
  }
2175
2022
  },
2176
2023
  {
2177
2024
  "kind": "method",
2178
- "name": "horizontalScalingChanged",
2179
- "privacy": "private",
2025
+ "name": "templateChanged",
2026
+ "privacy": "protected",
2180
2027
  "return": {
2181
2028
  "type": {
2182
2029
  "text": "void"
2183
2030
  }
2184
2031
  },
2185
2032
  "inheritedFrom": {
2186
- "name": "AnchoredRegion",
2187
- "module": "src/anchored-region/anchored-region.ts"
2033
+ "name": "Anchor",
2034
+ "module": "src/anchor/anchor.ts"
2188
2035
  }
2189
2036
  },
2190
2037
  {
2191
2038
  "kind": "field",
2192
- "name": "verticalPositioningMode",
2039
+ "name": "styles",
2193
2040
  "type": {
2194
- "text": "AxisPositioningMode"
2041
+ "text": "ElementStyles | void | null"
2195
2042
  },
2196
2043
  "privacy": "public",
2197
- "default": "\"uncontrolled\"",
2198
- "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",
2044
+ "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.",
2199
2045
  "inheritedFrom": {
2200
- "name": "AnchoredRegion",
2201
- "module": "src/anchored-region/anchored-region.ts"
2046
+ "name": "Anchor",
2047
+ "module": "src/anchor/anchor.ts"
2202
2048
  }
2203
2049
  },
2204
2050
  {
2205
2051
  "kind": "method",
2206
- "name": "verticalPositioningModeChanged",
2207
- "privacy": "private",
2052
+ "name": "stylesChanged",
2053
+ "privacy": "protected",
2208
2054
  "return": {
2209
2055
  "type": {
2210
2056
  "text": "void"
2211
2057
  }
2212
2058
  },
2213
2059
  "inheritedFrom": {
2214
- "name": "AnchoredRegion",
2215
- "module": "src/anchored-region/anchored-region.ts"
2216
- }
2217
- },
2218
- {
2219
- "kind": "field",
2220
- "name": "verticalDefaultPosition",
2221
- "type": {
2222
- "text": "VerticalPosition"
2223
- },
2224
- "privacy": "public",
2225
- "default": "\"unset\"",
2226
- "description": "The default vertical position of the region relative to the anchor element",
2227
- "inheritedFrom": {
2228
- "name": "AnchoredRegion",
2229
- "module": "src/anchored-region/anchored-region.ts"
2060
+ "name": "Anchor",
2061
+ "module": "src/anchor/anchor.ts"
2230
2062
  }
2231
2063
  },
2232
2064
  {
2233
2065
  "kind": "method",
2234
- "name": "verticalDefaultPositionChanged",
2235
- "privacy": "private",
2066
+ "name": "compose",
2067
+ "privacy": "public",
2068
+ "static": true,
2236
2069
  "return": {
2237
2070
  "type": {
2238
- "text": "void"
2071
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2239
2072
  }
2240
2073
  },
2074
+ "parameters": [
2075
+ {
2076
+ "name": "this",
2077
+ "type": {
2078
+ "text": "K"
2079
+ }
2080
+ },
2081
+ {
2082
+ "name": "elementDefinition",
2083
+ "type": {
2084
+ "text": "T"
2085
+ },
2086
+ "description": "The definition of the element to create the registry\nfunction for."
2087
+ }
2088
+ ],
2089
+ "description": "Defines an element registry function with a set of element definition defaults.",
2241
2090
  "inheritedFrom": {
2242
- "name": "AnchoredRegion",
2243
- "module": "src/anchored-region/anchored-region.ts"
2244
- }
2245
- },
2246
- {
2247
- "kind": "field",
2248
- "name": "verticalViewportLock",
2249
- "type": {
2250
- "text": "boolean"
2251
- },
2252
- "privacy": "public",
2253
- "default": "false",
2254
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2255
- "inheritedFrom": {
2256
- "name": "AnchoredRegion",
2257
- "module": "src/anchored-region/anchored-region.ts"
2091
+ "name": "Anchor",
2092
+ "module": "src/anchor/anchor.ts"
2258
2093
  }
2259
- },
2094
+ }
2095
+ ]
2096
+ },
2097
+ {
2098
+ "kind": "variable",
2099
+ "name": "rapidAnchor"
2100
+ }
2101
+ ],
2102
+ "exports": [
2103
+ {
2104
+ "kind": "js",
2105
+ "name": "Anchor",
2106
+ "declaration": {
2107
+ "name": "Anchor",
2108
+ "module": "src/anchor/anchor.ts"
2109
+ }
2110
+ },
2111
+ {
2112
+ "kind": "js",
2113
+ "name": "rapidAnchor",
2114
+ "declaration": {
2115
+ "name": "rapidAnchor",
2116
+ "module": "src/anchor/anchor.ts"
2117
+ }
2118
+ }
2119
+ ]
2120
+ },
2121
+ {
2122
+ "kind": "javascript-module",
2123
+ "path": "src/anchor/index.ts",
2124
+ "declarations": [],
2125
+ "exports": [
2126
+ {
2127
+ "kind": "js",
2128
+ "name": "*",
2129
+ "declaration": {
2130
+ "name": "*",
2131
+ "package": "./anchor"
2132
+ }
2133
+ },
2134
+ {
2135
+ "kind": "js",
2136
+ "name": "*",
2137
+ "declaration": {
2138
+ "name": "*",
2139
+ "package": "./anchor.styles"
2140
+ }
2141
+ },
2142
+ {
2143
+ "kind": "js",
2144
+ "name": "*",
2145
+ "declaration": {
2146
+ "name": "*",
2147
+ "package": "./anchor.template"
2148
+ }
2149
+ }
2150
+ ]
2151
+ },
2152
+ {
2153
+ "kind": "javascript-module",
2154
+ "path": "src/anchored-region/anchored-region.styles.ts",
2155
+ "declarations": [
2156
+ {
2157
+ "kind": "function",
2158
+ "name": "rapidAnchoredRegionStyles",
2159
+ "return": {
2160
+ "type": {
2161
+ "text": "ElementStyles"
2162
+ }
2163
+ },
2164
+ "parameters": [
2260
2165
  {
2261
- "kind": "method",
2262
- "name": "verticalViewportLockChanged",
2263
- "privacy": "private",
2264
- "return": {
2265
- "type": {
2266
- "text": "void"
2267
- }
2268
- },
2269
- "inheritedFrom": {
2270
- "name": "AnchoredRegion",
2271
- "module": "src/anchored-region/anchored-region.ts"
2166
+ "name": "context",
2167
+ "type": {
2168
+ "text": "ElementDefinitionContext"
2272
2169
  }
2273
2170
  },
2274
2171
  {
2275
- "kind": "field",
2276
- "name": "verticalInset",
2172
+ "name": "definition",
2277
2173
  "type": {
2278
- "text": "boolean"
2279
- },
2280
- "privacy": "public",
2281
- "default": "false",
2282
- "description": "Whether the region overlaps the anchor on the vertical axis",
2283
- "inheritedFrom": {
2284
- "name": "AnchoredRegion",
2285
- "module": "src/anchored-region/anchored-region.ts"
2174
+ "text": "FoundationElementDefinition"
2175
+ }
2176
+ }
2177
+ ]
2178
+ }
2179
+ ],
2180
+ "exports": [
2181
+ {
2182
+ "kind": "js",
2183
+ "name": "rapidAnchoredRegionStyles",
2184
+ "declaration": {
2185
+ "name": "rapidAnchoredRegionStyles",
2186
+ "module": "src/anchored-region/anchored-region.styles.ts"
2187
+ }
2188
+ }
2189
+ ]
2190
+ },
2191
+ {
2192
+ "kind": "javascript-module",
2193
+ "path": "src/anchored-region/anchored-region.template.ts",
2194
+ "declarations": [
2195
+ {
2196
+ "kind": "function",
2197
+ "name": "rapidAnchoredRegionTemplate",
2198
+ "return": {
2199
+ "type": {
2200
+ "text": "ViewTemplate<AnchoredRegion>"
2201
+ }
2202
+ },
2203
+ "parameters": [
2204
+ {
2205
+ "name": "context",
2206
+ "type": {
2207
+ "text": "ElementDefinitionContext"
2286
2208
  }
2287
2209
  },
2288
2210
  {
2289
- "kind": "method",
2290
- "name": "verticalInsetChanged",
2291
- "privacy": "private",
2292
- "return": {
2293
- "type": {
2294
- "text": "void"
2295
- }
2211
+ "name": "definition",
2212
+ "type": {
2213
+ "text": "FoundationElementDefinition"
2214
+ }
2215
+ }
2216
+ ]
2217
+ }
2218
+ ],
2219
+ "exports": [
2220
+ {
2221
+ "kind": "js",
2222
+ "name": "rapidAnchoredRegionTemplate",
2223
+ "declaration": {
2224
+ "name": "rapidAnchoredRegionTemplate",
2225
+ "module": "src/anchored-region/anchored-region.template.ts"
2226
+ }
2227
+ }
2228
+ ]
2229
+ },
2230
+ {
2231
+ "kind": "javascript-module",
2232
+ "path": "src/anchored-region/anchored-region.ts",
2233
+ "declarations": [
2234
+ {
2235
+ "kind": "class",
2236
+ "description": "",
2237
+ "name": "AnchoredRegion",
2238
+ "superclass": {
2239
+ "name": "FoundationAnchoredRegion",
2240
+ "package": "@genesislcap/foundation-ui"
2241
+ },
2242
+ "tagName": "%%prefix%%-anchored-region",
2243
+ "customElement": true,
2244
+ "attributes": [
2245
+ {
2246
+ "name": "anchor",
2247
+ "type": {
2248
+ "text": "string"
2296
2249
  },
2250
+ "default": "\"\"",
2251
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2252
+ "fieldName": "anchor",
2297
2253
  "inheritedFrom": {
2298
2254
  "name": "AnchoredRegion",
2299
2255
  "module": "src/anchored-region/anchored-region.ts"
2300
2256
  }
2301
2257
  },
2302
2258
  {
2303
- "kind": "field",
2304
- "name": "verticalThreshold",
2259
+ "name": "viewport",
2305
2260
  "type": {
2306
- "text": "number"
2261
+ "text": "string"
2307
2262
  },
2308
- "privacy": "public",
2309
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2263
+ "default": "\"\"",
2264
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2265
+ "fieldName": "viewport",
2310
2266
  "inheritedFrom": {
2311
2267
  "name": "AnchoredRegion",
2312
2268
  "module": "src/anchored-region/anchored-region.ts"
2313
2269
  }
2314
2270
  },
2315
2271
  {
2316
- "kind": "method",
2317
- "name": "verticalThresholdChanged",
2318
- "privacy": "private",
2319
- "return": {
2320
- "type": {
2321
- "text": "void"
2322
- }
2272
+ "name": "horizontal-positioning-mode",
2273
+ "type": {
2274
+ "text": "AxisPositioningMode"
2323
2275
  },
2276
+ "default": "\"uncontrolled\"",
2277
+ "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",
2278
+ "fieldName": "horizontalPositioningMode",
2324
2279
  "inheritedFrom": {
2325
2280
  "name": "AnchoredRegion",
2326
2281
  "module": "src/anchored-region/anchored-region.ts"
2327
2282
  }
2328
2283
  },
2329
2284
  {
2330
- "kind": "field",
2331
- "name": "verticalScaling",
2285
+ "name": "horizontal-default-position",
2332
2286
  "type": {
2333
- "text": "AxisScalingMode"
2287
+ "text": "HorizontalPosition"
2334
2288
  },
2335
- "privacy": "public",
2336
- "default": "\"content\"",
2337
- "description": "Defines how the height of the region is calculated",
2289
+ "default": "\"unset\"",
2290
+ "description": "The default horizontal position of the region relative to the anchor element",
2291
+ "fieldName": "horizontalDefaultPosition",
2338
2292
  "inheritedFrom": {
2339
2293
  "name": "AnchoredRegion",
2340
2294
  "module": "src/anchored-region/anchored-region.ts"
2341
2295
  }
2342
2296
  },
2343
2297
  {
2344
- "kind": "method",
2345
- "name": "verticalScalingChanged",
2346
- "privacy": "private",
2347
- "return": {
2348
- "type": {
2349
- "text": "void"
2350
- }
2298
+ "name": "horizontal-viewport-lock",
2299
+ "type": {
2300
+ "text": "boolean"
2351
2301
  },
2302
+ "default": "false",
2303
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2304
+ "fieldName": "horizontalViewportLock",
2352
2305
  "inheritedFrom": {
2353
2306
  "name": "AnchoredRegion",
2354
2307
  "module": "src/anchored-region/anchored-region.ts"
2355
2308
  }
2356
2309
  },
2357
2310
  {
2358
- "kind": "field",
2359
- "name": "fixedPlacement",
2311
+ "name": "horizontal-inset",
2360
2312
  "type": {
2361
2313
  "text": "boolean"
2362
2314
  },
2363
- "privacy": "public",
2364
2315
  "default": "false",
2365
- "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,",
2316
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2317
+ "fieldName": "horizontalInset",
2366
2318
  "inheritedFrom": {
2367
2319
  "name": "AnchoredRegion",
2368
2320
  "module": "src/anchored-region/anchored-region.ts"
2369
2321
  }
2370
2322
  },
2371
2323
  {
2372
- "kind": "method",
2373
- "name": "fixedPlacementChanged",
2374
- "privacy": "private",
2375
- "return": {
2376
- "type": {
2377
- "text": "void"
2378
- }
2324
+ "name": "horizontal-threshold",
2325
+ "type": {
2326
+ "text": "number"
2379
2327
  },
2328
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2329
+ "fieldName": "horizontalThreshold",
2380
2330
  "inheritedFrom": {
2381
2331
  "name": "AnchoredRegion",
2382
2332
  "module": "src/anchored-region/anchored-region.ts"
2383
2333
  }
2384
2334
  },
2385
2335
  {
2386
- "kind": "field",
2387
- "name": "autoUpdateMode",
2336
+ "name": "horizontal-scaling",
2388
2337
  "type": {
2389
- "text": "AutoUpdateMode"
2338
+ "text": "AxisScalingMode"
2390
2339
  },
2391
- "privacy": "public",
2392
- "default": "\"anchor\"",
2393
- "description": "Defines what triggers the anchored region to revaluate positioning",
2340
+ "default": "\"content\"",
2341
+ "description": "Defines how the width of the region is calculated",
2342
+ "fieldName": "horizontalScaling",
2394
2343
  "inheritedFrom": {
2395
2344
  "name": "AnchoredRegion",
2396
2345
  "module": "src/anchored-region/anchored-region.ts"
2397
2346
  }
2398
2347
  },
2399
2348
  {
2400
- "kind": "method",
2401
- "name": "autoUpdateModeChanged",
2402
- "privacy": "private",
2403
- "return": {
2404
- "type": {
2405
- "text": "void"
2406
- }
2349
+ "name": "vertical-positioning-mode",
2350
+ "type": {
2351
+ "text": "AxisPositioningMode"
2407
2352
  },
2408
- "parameters": [
2409
- {
2410
- "name": "prevMode",
2411
- "type": {
2412
- "text": "AutoUpdateMode"
2413
- }
2414
- },
2415
- {
2416
- "name": "newMode",
2417
- "type": {
2418
- "text": "AutoUpdateMode"
2419
- }
2420
- }
2421
- ],
2353
+ "default": "\"uncontrolled\"",
2354
+ "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",
2355
+ "fieldName": "verticalPositioningMode",
2422
2356
  "inheritedFrom": {
2423
2357
  "name": "AnchoredRegion",
2424
2358
  "module": "src/anchored-region/anchored-region.ts"
2425
2359
  }
2426
2360
  },
2427
2361
  {
2428
- "kind": "field",
2429
- "name": "anchorElement",
2362
+ "name": "vertical-default-position",
2430
2363
  "type": {
2431
- "text": "HTMLElement | null"
2364
+ "text": "VerticalPosition"
2432
2365
  },
2433
- "privacy": "public",
2434
- "default": "null",
2435
- "description": "The HTML element being used as the anchor",
2366
+ "default": "\"unset\"",
2367
+ "description": "The default vertical position of the region relative to the anchor element",
2368
+ "fieldName": "verticalDefaultPosition",
2436
2369
  "inheritedFrom": {
2437
2370
  "name": "AnchoredRegion",
2438
2371
  "module": "src/anchored-region/anchored-region.ts"
2439
2372
  }
2440
2373
  },
2441
2374
  {
2442
- "kind": "method",
2443
- "name": "anchorElementChanged",
2444
- "privacy": "private",
2445
- "return": {
2446
- "type": {
2447
- "text": "void"
2448
- }
2375
+ "name": "vertical-viewport-lock",
2376
+ "type": {
2377
+ "text": "boolean"
2449
2378
  },
2379
+ "default": "false",
2380
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2381
+ "fieldName": "verticalViewportLock",
2450
2382
  "inheritedFrom": {
2451
2383
  "name": "AnchoredRegion",
2452
2384
  "module": "src/anchored-region/anchored-region.ts"
2453
2385
  }
2454
2386
  },
2455
2387
  {
2456
- "kind": "field",
2457
- "name": "viewportElement",
2388
+ "name": "vertical-inset",
2458
2389
  "type": {
2459
- "text": "HTMLElement | null"
2390
+ "text": "boolean"
2460
2391
  },
2461
- "privacy": "public",
2462
- "default": "null",
2463
- "description": "The HTML element being used as the viewport",
2392
+ "default": "false",
2393
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2394
+ "fieldName": "verticalInset",
2464
2395
  "inheritedFrom": {
2465
2396
  "name": "AnchoredRegion",
2466
2397
  "module": "src/anchored-region/anchored-region.ts"
2467
2398
  }
2468
2399
  },
2469
2400
  {
2470
- "kind": "method",
2471
- "name": "viewportElementChanged",
2472
- "privacy": "private",
2473
- "return": {
2474
- "type": {
2475
- "text": "void"
2476
- }
2401
+ "name": "vertical-threshold",
2402
+ "type": {
2403
+ "text": "number"
2477
2404
  },
2405
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2406
+ "fieldName": "verticalThreshold",
2478
2407
  "inheritedFrom": {
2479
2408
  "name": "AnchoredRegion",
2480
2409
  "module": "src/anchored-region/anchored-region.ts"
2481
2410
  }
2482
2411
  },
2483
2412
  {
2484
- "kind": "field",
2485
- "name": "verticalPosition",
2413
+ "name": "vertical-scaling",
2486
2414
  "type": {
2487
- "text": "AnchoredRegionPositionLabel | undefined"
2415
+ "text": "AxisScalingMode"
2488
2416
  },
2489
- "privacy": "public",
2490
- "description": "indicates the current horizontal position of the region",
2417
+ "default": "\"content\"",
2418
+ "description": "Defines how the height of the region is calculated",
2419
+ "fieldName": "verticalScaling",
2491
2420
  "inheritedFrom": {
2492
2421
  "name": "AnchoredRegion",
2493
2422
  "module": "src/anchored-region/anchored-region.ts"
2494
2423
  }
2495
2424
  },
2496
2425
  {
2497
- "kind": "field",
2498
- "name": "horizontalPosition",
2426
+ "name": "fixed-placement",
2499
2427
  "type": {
2500
- "text": "AnchoredRegionPositionLabel | undefined"
2428
+ "text": "boolean"
2501
2429
  },
2502
- "privacy": "public",
2503
- "description": "indicates the current vertical position of the region",
2430
+ "default": "false",
2431
+ "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,",
2432
+ "fieldName": "fixedPlacement",
2504
2433
  "inheritedFrom": {
2505
2434
  "name": "AnchoredRegion",
2506
2435
  "module": "src/anchored-region/anchored-region.ts"
2507
2436
  }
2508
2437
  },
2509
2438
  {
2510
- "kind": "field",
2511
- "name": "translateX",
2439
+ "name": "auto-update-mode",
2512
2440
  "type": {
2513
- "text": "number"
2441
+ "text": "AutoUpdateMode"
2514
2442
  },
2515
- "privacy": "private",
2516
- "description": "values to be applied to the component's transform on render",
2443
+ "default": "\"anchor\"",
2444
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2445
+ "fieldName": "autoUpdateMode",
2517
2446
  "inheritedFrom": {
2518
2447
  "name": "AnchoredRegion",
2519
2448
  "module": "src/anchored-region/anchored-region.ts"
2520
2449
  }
2521
- },
2450
+ }
2451
+ ],
2452
+ "members": [
2522
2453
  {
2523
2454
  "kind": "field",
2524
- "name": "translateY",
2455
+ "name": "anchor",
2525
2456
  "type": {
2526
- "text": "number"
2457
+ "text": "string"
2527
2458
  },
2528
- "privacy": "private",
2459
+ "privacy": "public",
2460
+ "default": "\"\"",
2461
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2529
2462
  "inheritedFrom": {
2530
2463
  "name": "AnchoredRegion",
2531
2464
  "module": "src/anchored-region/anchored-region.ts"
2532
2465
  }
2533
2466
  },
2534
2467
  {
2535
- "kind": "field",
2536
- "name": "regionWidth",
2537
- "type": {
2538
- "text": "string"
2539
- },
2468
+ "kind": "method",
2469
+ "name": "anchorChanged",
2540
2470
  "privacy": "private",
2541
- "description": "the span to be applied to the region on each axis",
2471
+ "return": {
2472
+ "type": {
2473
+ "text": "void"
2474
+ }
2475
+ },
2542
2476
  "inheritedFrom": {
2543
2477
  "name": "AnchoredRegion",
2544
2478
  "module": "src/anchored-region/anchored-region.ts"
@@ -2546,24 +2480,27 @@
2546
2480
  },
2547
2481
  {
2548
2482
  "kind": "field",
2549
- "name": "regionHeight",
2483
+ "name": "viewport",
2550
2484
  "type": {
2551
2485
  "text": "string"
2552
2486
  },
2553
- "privacy": "private",
2487
+ "privacy": "public",
2488
+ "default": "\"\"",
2489
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2554
2490
  "inheritedFrom": {
2555
2491
  "name": "AnchoredRegion",
2556
2492
  "module": "src/anchored-region/anchored-region.ts"
2557
2493
  }
2558
2494
  },
2559
2495
  {
2560
- "kind": "field",
2561
- "name": "resizeDetector",
2562
- "type": {
2563
- "text": "ResizeObserverClassDefinition | null"
2564
- },
2496
+ "kind": "method",
2497
+ "name": "viewportChanged",
2565
2498
  "privacy": "private",
2566
- "default": "null",
2499
+ "return": {
2500
+ "type": {
2501
+ "text": "void"
2502
+ }
2503
+ },
2567
2504
  "inheritedFrom": {
2568
2505
  "name": "AnchoredRegion",
2569
2506
  "module": "src/anchored-region/anchored-region.ts"
@@ -2571,23 +2508,27 @@
2571
2508
  },
2572
2509
  {
2573
2510
  "kind": "field",
2574
- "name": "viewportRect",
2511
+ "name": "horizontalPositioningMode",
2575
2512
  "type": {
2576
- "text": "ClientRect | DOMRect | undefined"
2513
+ "text": "AxisPositioningMode"
2577
2514
  },
2578
- "privacy": "private",
2515
+ "privacy": "public",
2516
+ "default": "\"uncontrolled\"",
2517
+ "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",
2579
2518
  "inheritedFrom": {
2580
2519
  "name": "AnchoredRegion",
2581
2520
  "module": "src/anchored-region/anchored-region.ts"
2582
2521
  }
2583
2522
  },
2584
2523
  {
2585
- "kind": "field",
2586
- "name": "anchorRect",
2587
- "type": {
2588
- "text": "ClientRect | DOMRect | undefined"
2589
- },
2524
+ "kind": "method",
2525
+ "name": "horizontalPositioningModeChanged",
2590
2526
  "privacy": "private",
2527
+ "return": {
2528
+ "type": {
2529
+ "text": "void"
2530
+ }
2531
+ },
2591
2532
  "inheritedFrom": {
2592
2533
  "name": "AnchoredRegion",
2593
2534
  "module": "src/anchored-region/anchored-region.ts"
@@ -2595,25 +2536,27 @@
2595
2536
  },
2596
2537
  {
2597
2538
  "kind": "field",
2598
- "name": "regionRect",
2539
+ "name": "horizontalDefaultPosition",
2599
2540
  "type": {
2600
- "text": "ClientRect | DOMRect | undefined"
2541
+ "text": "HorizontalPosition"
2601
2542
  },
2602
- "privacy": "private",
2543
+ "privacy": "public",
2544
+ "default": "\"unset\"",
2545
+ "description": "The default horizontal position of the region relative to the anchor element",
2603
2546
  "inheritedFrom": {
2604
2547
  "name": "AnchoredRegion",
2605
2548
  "module": "src/anchored-region/anchored-region.ts"
2606
2549
  }
2607
2550
  },
2608
2551
  {
2609
- "kind": "field",
2610
- "name": "baseHorizontalOffset",
2611
- "type": {
2612
- "text": "number"
2613
- },
2552
+ "kind": "method",
2553
+ "name": "horizontalDefaultPositionChanged",
2614
2554
  "privacy": "private",
2615
- "default": "0",
2616
- "description": "base offsets between the positioner's base position and the anchor's",
2555
+ "return": {
2556
+ "type": {
2557
+ "text": "void"
2558
+ }
2559
+ },
2617
2560
  "inheritedFrom": {
2618
2561
  "name": "AnchoredRegion",
2619
2562
  "module": "src/anchored-region/anchored-region.ts"
@@ -2621,25 +2564,27 @@
2621
2564
  },
2622
2565
  {
2623
2566
  "kind": "field",
2624
- "name": "baseVerticalOffset",
2567
+ "name": "horizontalViewportLock",
2625
2568
  "type": {
2626
- "text": "number"
2569
+ "text": "boolean"
2627
2570
  },
2628
- "privacy": "private",
2629
- "default": "0",
2571
+ "privacy": "public",
2572
+ "default": "false",
2573
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2630
2574
  "inheritedFrom": {
2631
2575
  "name": "AnchoredRegion",
2632
2576
  "module": "src/anchored-region/anchored-region.ts"
2633
2577
  }
2634
2578
  },
2635
2579
  {
2636
- "kind": "field",
2637
- "name": "pendingPositioningUpdate",
2638
- "type": {
2639
- "text": "boolean"
2640
- },
2580
+ "kind": "method",
2581
+ "name": "horizontalViewportLockChanged",
2641
2582
  "privacy": "private",
2642
- "default": "false",
2583
+ "return": {
2584
+ "type": {
2585
+ "text": "void"
2586
+ }
2587
+ },
2643
2588
  "inheritedFrom": {
2644
2589
  "name": "AnchoredRegion",
2645
2590
  "module": "src/anchored-region/anchored-region.ts"
@@ -2647,24 +2592,27 @@
2647
2592
  },
2648
2593
  {
2649
2594
  "kind": "field",
2650
- "name": "pendingReset",
2595
+ "name": "horizontalInset",
2651
2596
  "type": {
2652
2597
  "text": "boolean"
2653
2598
  },
2654
- "privacy": "private",
2599
+ "privacy": "public",
2655
2600
  "default": "false",
2601
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2656
2602
  "inheritedFrom": {
2657
2603
  "name": "AnchoredRegion",
2658
2604
  "module": "src/anchored-region/anchored-region.ts"
2659
2605
  }
2660
2606
  },
2661
2607
  {
2662
- "kind": "field",
2663
- "name": "currentDirection",
2664
- "type": {
2665
- "text": "Direction"
2666
- },
2608
+ "kind": "method",
2609
+ "name": "horizontalInsetChanged",
2667
2610
  "privacy": "private",
2611
+ "return": {
2612
+ "type": {
2613
+ "text": "void"
2614
+ }
2615
+ },
2668
2616
  "inheritedFrom": {
2669
2617
  "name": "AnchoredRegion",
2670
2618
  "module": "src/anchored-region/anchored-region.ts"
@@ -2672,25 +2620,26 @@
2672
2620
  },
2673
2621
  {
2674
2622
  "kind": "field",
2675
- "name": "regionVisible",
2623
+ "name": "horizontalThreshold",
2676
2624
  "type": {
2677
- "text": "boolean"
2625
+ "text": "number"
2678
2626
  },
2679
- "privacy": "private",
2680
- "default": "false",
2627
+ "privacy": "public",
2628
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2681
2629
  "inheritedFrom": {
2682
2630
  "name": "AnchoredRegion",
2683
2631
  "module": "src/anchored-region/anchored-region.ts"
2684
2632
  }
2685
2633
  },
2686
2634
  {
2687
- "kind": "field",
2688
- "name": "forceUpdate",
2689
- "type": {
2690
- "text": "boolean"
2691
- },
2635
+ "kind": "method",
2636
+ "name": "horizontalThresholdChanged",
2692
2637
  "privacy": "private",
2693
- "default": "false",
2638
+ "return": {
2639
+ "type": {
2640
+ "text": "void"
2641
+ }
2642
+ },
2694
2643
  "inheritedFrom": {
2695
2644
  "name": "AnchoredRegion",
2696
2645
  "module": "src/anchored-region/anchored-region.ts"
@@ -2698,26 +2647,27 @@
2698
2647
  },
2699
2648
  {
2700
2649
  "kind": "field",
2701
- "name": "updateThreshold",
2650
+ "name": "horizontalScaling",
2702
2651
  "type": {
2703
- "text": "number"
2652
+ "text": "AxisScalingMode"
2704
2653
  },
2705
- "privacy": "private",
2706
- "default": "0.5",
2654
+ "privacy": "public",
2655
+ "default": "\"content\"",
2656
+ "description": "Defines how the width of the region is calculated",
2707
2657
  "inheritedFrom": {
2708
2658
  "name": "AnchoredRegion",
2709
2659
  "module": "src/anchored-region/anchored-region.ts"
2710
2660
  }
2711
2661
  },
2712
2662
  {
2713
- "kind": "field",
2714
- "name": "intersectionService",
2715
- "type": {
2716
- "text": "IntersectionService"
2717
- },
2663
+ "kind": "method",
2664
+ "name": "horizontalScalingChanged",
2718
2665
  "privacy": "private",
2719
- "static": true,
2720
- "default": "new IntersectionService()",
2666
+ "return": {
2667
+ "type": {
2668
+ "text": "void"
2669
+ }
2670
+ },
2721
2671
  "inheritedFrom": {
2722
2672
  "name": "AnchoredRegion",
2723
2673
  "module": "src/anchored-region/anchored-region.ts"
@@ -2725,9 +2675,13 @@
2725
2675
  },
2726
2676
  {
2727
2677
  "kind": "field",
2728
- "name": "update",
2678
+ "name": "verticalPositioningMode",
2679
+ "type": {
2680
+ "text": "AxisPositioningMode"
2681
+ },
2729
2682
  "privacy": "public",
2730
- "description": "update position",
2683
+ "default": "\"uncontrolled\"",
2684
+ "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",
2731
2685
  "inheritedFrom": {
2732
2686
  "name": "AnchoredRegion",
2733
2687
  "module": "src/anchored-region/anchored-region.ts"
@@ -2735,29 +2689,27 @@
2735
2689
  },
2736
2690
  {
2737
2691
  "kind": "method",
2738
- "name": "disconnectResizeDetector",
2692
+ "name": "verticalPositioningModeChanged",
2739
2693
  "privacy": "private",
2740
2694
  "return": {
2741
2695
  "type": {
2742
2696
  "text": "void"
2743
2697
  }
2744
2698
  },
2745
- "description": "destroys the instance's resize observer",
2746
2699
  "inheritedFrom": {
2747
2700
  "name": "AnchoredRegion",
2748
2701
  "module": "src/anchored-region/anchored-region.ts"
2749
2702
  }
2750
2703
  },
2751
2704
  {
2752
- "kind": "method",
2753
- "name": "initializeResizeDetector",
2754
- "privacy": "private",
2755
- "return": {
2756
- "type": {
2757
- "text": "void"
2758
- }
2705
+ "kind": "field",
2706
+ "name": "verticalDefaultPosition",
2707
+ "type": {
2708
+ "text": "VerticalPosition"
2759
2709
  },
2760
- "description": "initializes the instance's resize observer",
2710
+ "privacy": "public",
2711
+ "default": "\"unset\"",
2712
+ "description": "The default vertical position of the region relative to the anchor element",
2761
2713
  "inheritedFrom": {
2762
2714
  "name": "AnchoredRegion",
2763
2715
  "module": "src/anchored-region/anchored-region.ts"
@@ -2765,29 +2717,27 @@
2765
2717
  },
2766
2718
  {
2767
2719
  "kind": "method",
2768
- "name": "updateForAttributeChange",
2720
+ "name": "verticalDefaultPositionChanged",
2769
2721
  "privacy": "private",
2770
2722
  "return": {
2771
2723
  "type": {
2772
2724
  "text": "void"
2773
2725
  }
2774
2726
  },
2775
- "description": "react to attribute changes that don't require a reset",
2776
2727
  "inheritedFrom": {
2777
2728
  "name": "AnchoredRegion",
2778
2729
  "module": "src/anchored-region/anchored-region.ts"
2779
2730
  }
2780
2731
  },
2781
2732
  {
2782
- "kind": "method",
2783
- "name": "initialize",
2784
- "privacy": "private",
2785
- "return": {
2786
- "type": {
2787
- "text": "void"
2788
- }
2733
+ "kind": "field",
2734
+ "name": "verticalViewportLock",
2735
+ "type": {
2736
+ "text": "boolean"
2789
2737
  },
2790
- "description": "fully initializes the component",
2738
+ "privacy": "public",
2739
+ "default": "false",
2740
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2791
2741
  "inheritedFrom": {
2792
2742
  "name": "AnchoredRegion",
2793
2743
  "module": "src/anchored-region/anchored-region.ts"
@@ -2795,14 +2745,27 @@
2795
2745
  },
2796
2746
  {
2797
2747
  "kind": "method",
2798
- "name": "requestReset",
2748
+ "name": "verticalViewportLockChanged",
2799
2749
  "privacy": "private",
2800
2750
  "return": {
2801
2751
  "type": {
2802
2752
  "text": "void"
2803
2753
  }
2804
2754
  },
2805
- "description": "Request a reset if there are currently no open requests",
2755
+ "inheritedFrom": {
2756
+ "name": "AnchoredRegion",
2757
+ "module": "src/anchored-region/anchored-region.ts"
2758
+ }
2759
+ },
2760
+ {
2761
+ "kind": "field",
2762
+ "name": "verticalInset",
2763
+ "type": {
2764
+ "text": "boolean"
2765
+ },
2766
+ "privacy": "public",
2767
+ "default": "false",
2768
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2806
2769
  "inheritedFrom": {
2807
2770
  "name": "AnchoredRegion",
2808
2771
  "module": "src/anchored-region/anchored-region.ts"
@@ -2810,14 +2773,13 @@
2810
2773
  },
2811
2774
  {
2812
2775
  "kind": "method",
2813
- "name": "setInitialState",
2776
+ "name": "verticalInsetChanged",
2814
2777
  "privacy": "private",
2815
2778
  "return": {
2816
2779
  "type": {
2817
2780
  "text": "void"
2818
2781
  }
2819
2782
  },
2820
- "description": "sets the starting configuration for component internal values",
2821
2783
  "inheritedFrom": {
2822
2784
  "name": "AnchoredRegion",
2823
2785
  "module": "src/anchored-region/anchored-region.ts"
@@ -2825,19 +2787,26 @@
2825
2787
  },
2826
2788
  {
2827
2789
  "kind": "field",
2828
- "name": "startObservers",
2829
- "privacy": "private",
2830
- "description": "starts observers",
2790
+ "name": "verticalThreshold",
2791
+ "type": {
2792
+ "text": "number"
2793
+ },
2794
+ "privacy": "public",
2795
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2831
2796
  "inheritedFrom": {
2832
2797
  "name": "AnchoredRegion",
2833
2798
  "module": "src/anchored-region/anchored-region.ts"
2834
2799
  }
2835
2800
  },
2836
2801
  {
2837
- "kind": "field",
2838
- "name": "requestPositionUpdates",
2802
+ "kind": "method",
2803
+ "name": "verticalThresholdChanged",
2839
2804
  "privacy": "private",
2840
- "description": "get position updates",
2805
+ "return": {
2806
+ "type": {
2807
+ "text": "void"
2808
+ }
2809
+ },
2841
2810
  "inheritedFrom": {
2842
2811
  "name": "AnchoredRegion",
2843
2812
  "module": "src/anchored-region/anchored-region.ts"
@@ -2845,19 +2814,27 @@
2845
2814
  },
2846
2815
  {
2847
2816
  "kind": "field",
2848
- "name": "stopObservers",
2849
- "privacy": "private",
2850
- "description": "stops observers",
2817
+ "name": "verticalScaling",
2818
+ "type": {
2819
+ "text": "AxisScalingMode"
2820
+ },
2821
+ "privacy": "public",
2822
+ "default": "\"content\"",
2823
+ "description": "Defines how the height of the region is calculated",
2851
2824
  "inheritedFrom": {
2852
2825
  "name": "AnchoredRegion",
2853
2826
  "module": "src/anchored-region/anchored-region.ts"
2854
2827
  }
2855
2828
  },
2856
2829
  {
2857
- "kind": "field",
2858
- "name": "getViewport",
2830
+ "kind": "method",
2831
+ "name": "verticalScalingChanged",
2859
2832
  "privacy": "private",
2860
- "description": "Gets the viewport element by id, or defaults to document root",
2833
+ "return": {
2834
+ "type": {
2835
+ "text": "void"
2836
+ }
2837
+ },
2861
2838
  "inheritedFrom": {
2862
2839
  "name": "AnchoredRegion",
2863
2840
  "module": "src/anchored-region/anchored-region.ts"
@@ -2865,19 +2842,27 @@
2865
2842
  },
2866
2843
  {
2867
2844
  "kind": "field",
2868
- "name": "getAnchor",
2869
- "privacy": "private",
2870
- "description": "Gets the anchor element by id",
2845
+ "name": "fixedPlacement",
2846
+ "type": {
2847
+ "text": "boolean"
2848
+ },
2849
+ "privacy": "public",
2850
+ "default": "false",
2851
+ "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,",
2871
2852
  "inheritedFrom": {
2872
2853
  "name": "AnchoredRegion",
2873
2854
  "module": "src/anchored-region/anchored-region.ts"
2874
2855
  }
2875
2856
  },
2876
2857
  {
2877
- "kind": "field",
2878
- "name": "handleIntersection",
2858
+ "kind": "method",
2859
+ "name": "fixedPlacementChanged",
2879
2860
  "privacy": "private",
2880
- "description": "Handle intersections",
2861
+ "return": {
2862
+ "type": {
2863
+ "text": "void"
2864
+ }
2865
+ },
2881
2866
  "inheritedFrom": {
2882
2867
  "name": "AnchoredRegion",
2883
2868
  "module": "src/anchored-region/anchored-region.ts"
@@ -2885,19 +2870,41 @@
2885
2870
  },
2886
2871
  {
2887
2872
  "kind": "field",
2888
- "name": "applyIntersectionEntries",
2889
- "privacy": "private",
2890
- "description": "iterate through intersection entries and apply data",
2873
+ "name": "autoUpdateMode",
2874
+ "type": {
2875
+ "text": "AutoUpdateMode"
2876
+ },
2877
+ "privacy": "public",
2878
+ "default": "\"anchor\"",
2879
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2891
2880
  "inheritedFrom": {
2892
2881
  "name": "AnchoredRegion",
2893
2882
  "module": "src/anchored-region/anchored-region.ts"
2894
2883
  }
2895
2884
  },
2896
2885
  {
2897
- "kind": "field",
2898
- "name": "updateRegionOffset",
2886
+ "kind": "method",
2887
+ "name": "autoUpdateModeChanged",
2899
2888
  "privacy": "private",
2900
- "description": "Update the offset values",
2889
+ "return": {
2890
+ "type": {
2891
+ "text": "void"
2892
+ }
2893
+ },
2894
+ "parameters": [
2895
+ {
2896
+ "name": "prevMode",
2897
+ "type": {
2898
+ "text": "AutoUpdateMode"
2899
+ }
2900
+ },
2901
+ {
2902
+ "name": "newMode",
2903
+ "type": {
2904
+ "text": "AutoUpdateMode"
2905
+ }
2906
+ }
2907
+ ],
2901
2908
  "inheritedFrom": {
2902
2909
  "name": "AnchoredRegion",
2903
2910
  "module": "src/anchored-region/anchored-region.ts"
@@ -2905,19 +2912,27 @@
2905
2912
  },
2906
2913
  {
2907
2914
  "kind": "field",
2908
- "name": "isRectDifferent",
2909
- "privacy": "private",
2910
- "description": "compare rects to see if there is enough change to justify a DOM update",
2915
+ "name": "anchorElement",
2916
+ "type": {
2917
+ "text": "HTMLElement | null"
2918
+ },
2919
+ "privacy": "public",
2920
+ "default": "null",
2921
+ "description": "The HTML element being used as the anchor",
2911
2922
  "inheritedFrom": {
2912
2923
  "name": "AnchoredRegion",
2913
2924
  "module": "src/anchored-region/anchored-region.ts"
2914
2925
  }
2915
2926
  },
2916
2927
  {
2917
- "kind": "field",
2918
- "name": "handleResize",
2928
+ "kind": "method",
2929
+ "name": "anchorElementChanged",
2919
2930
  "privacy": "private",
2920
- "description": "Handle resize events",
2931
+ "return": {
2932
+ "type": {
2933
+ "text": "void"
2934
+ }
2935
+ },
2921
2936
  "inheritedFrom": {
2922
2937
  "name": "AnchoredRegion",
2923
2938
  "module": "src/anchored-region/anchored-region.ts"
@@ -2925,19 +2940,27 @@
2925
2940
  },
2926
2941
  {
2927
2942
  "kind": "field",
2928
- "name": "reset",
2929
- "privacy": "private",
2930
- "description": "resets the component",
2943
+ "name": "viewportElement",
2944
+ "type": {
2945
+ "text": "HTMLElement | null"
2946
+ },
2947
+ "privacy": "public",
2948
+ "default": "null",
2949
+ "description": "The HTML element being used as the viewport",
2931
2950
  "inheritedFrom": {
2932
2951
  "name": "AnchoredRegion",
2933
2952
  "module": "src/anchored-region/anchored-region.ts"
2934
2953
  }
2935
2954
  },
2936
2955
  {
2937
- "kind": "field",
2938
- "name": "updateLayout",
2956
+ "kind": "method",
2957
+ "name": "viewportElementChanged",
2939
2958
  "privacy": "private",
2940
- "description": "Recalculate layout related state values",
2959
+ "return": {
2960
+ "type": {
2961
+ "text": "void"
2962
+ }
2963
+ },
2941
2964
  "inheritedFrom": {
2942
2965
  "name": "AnchoredRegion",
2943
2966
  "module": "src/anchored-region/anchored-region.ts"
@@ -2945,9 +2968,12 @@
2945
2968
  },
2946
2969
  {
2947
2970
  "kind": "field",
2948
- "name": "updateRegionStyle",
2949
- "privacy": "private",
2950
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
2971
+ "name": "verticalPosition",
2972
+ "type": {
2973
+ "text": "AnchoredRegionPositionLabel | undefined"
2974
+ },
2975
+ "privacy": "public",
2976
+ "description": "indicates the current horizontal position of the region",
2951
2977
  "inheritedFrom": {
2952
2978
  "name": "AnchoredRegion",
2953
2979
  "module": "src/anchored-region/anchored-region.ts"
@@ -2955,9 +2981,12 @@
2955
2981
  },
2956
2982
  {
2957
2983
  "kind": "field",
2958
- "name": "updatePositionClasses",
2959
- "privacy": "private",
2960
- "description": "Updates the css classes that reflect the current position of the element",
2984
+ "name": "horizontalPosition",
2985
+ "type": {
2986
+ "text": "AnchoredRegionPositionLabel | undefined"
2987
+ },
2988
+ "privacy": "public",
2989
+ "description": "indicates the current vertical position of the region",
2961
2990
  "inheritedFrom": {
2962
2991
  "name": "AnchoredRegion",
2963
2992
  "module": "src/anchored-region/anchored-region.ts"
@@ -2965,9 +2994,12 @@
2965
2994
  },
2966
2995
  {
2967
2996
  "kind": "field",
2968
- "name": "setHorizontalPosition",
2969
- "privacy": "private",
2970
- "description": "Get horizontal positioning state based on desired position",
2997
+ "name": "translateX",
2998
+ "type": {
2999
+ "text": "number"
3000
+ },
3001
+ "privacy": "private",
3002
+ "description": "values to be applied to the component's transform on render",
2971
3003
  "inheritedFrom": {
2972
3004
  "name": "AnchoredRegion",
2973
3005
  "module": "src/anchored-region/anchored-region.ts"
@@ -2975,9 +3007,11 @@
2975
3007
  },
2976
3008
  {
2977
3009
  "kind": "field",
2978
- "name": "setVerticalPosition",
3010
+ "name": "translateY",
3011
+ "type": {
3012
+ "text": "number"
3013
+ },
2979
3014
  "privacy": "private",
2980
- "description": "Set vertical positioning state based on desired position",
2981
3015
  "inheritedFrom": {
2982
3016
  "name": "AnchoredRegion",
2983
3017
  "module": "src/anchored-region/anchored-region.ts"
@@ -2985,9 +3019,12 @@
2985
3019
  },
2986
3020
  {
2987
3021
  "kind": "field",
2988
- "name": "getPositioningOptions",
3022
+ "name": "regionWidth",
3023
+ "type": {
3024
+ "text": "string"
3025
+ },
2989
3026
  "privacy": "private",
2990
- "description": "Get available positions based on positioning mode",
3027
+ "description": "the span to be applied to the region on each axis",
2991
3028
  "inheritedFrom": {
2992
3029
  "name": "AnchoredRegion",
2993
3030
  "module": "src/anchored-region/anchored-region.ts"
@@ -2995,9 +3032,11 @@
2995
3032
  },
2996
3033
  {
2997
3034
  "kind": "field",
2998
- "name": "getAvailableSpace",
3035
+ "name": "regionHeight",
3036
+ "type": {
3037
+ "text": "string"
3038
+ },
2999
3039
  "privacy": "private",
3000
- "description": "Get the space available for a particular relative position",
3001
3040
  "inheritedFrom": {
3002
3041
  "name": "AnchoredRegion",
3003
3042
  "module": "src/anchored-region/anchored-region.ts"
@@ -3005,9 +3044,12 @@
3005
3044
  },
3006
3045
  {
3007
3046
  "kind": "field",
3008
- "name": "getNextRegionDimension",
3047
+ "name": "resizeDetector",
3048
+ "type": {
3049
+ "text": "ResizeObserverClassDefinition | null"
3050
+ },
3009
3051
  "privacy": "private",
3010
- "description": "Get region dimensions",
3052
+ "default": "null",
3011
3053
  "inheritedFrom": {
3012
3054
  "name": "AnchoredRegion",
3013
3055
  "module": "src/anchored-region/anchored-region.ts"
@@ -3015,9 +3057,11 @@
3015
3057
  },
3016
3058
  {
3017
3059
  "kind": "field",
3018
- "name": "startAutoUpdateEventListeners",
3060
+ "name": "viewportRect",
3061
+ "type": {
3062
+ "text": "ClientRect | DOMRect | undefined"
3063
+ },
3019
3064
  "privacy": "private",
3020
- "description": "starts event listeners that can trigger auto updating",
3021
3065
  "inheritedFrom": {
3022
3066
  "name": "AnchoredRegion",
3023
3067
  "module": "src/anchored-region/anchored-region.ts"
@@ -3025,9 +3069,11 @@
3025
3069
  },
3026
3070
  {
3027
3071
  "kind": "field",
3028
- "name": "stopAutoUpdateEventListeners",
3072
+ "name": "anchorRect",
3073
+ "type": {
3074
+ "text": "ClientRect | DOMRect | undefined"
3075
+ },
3029
3076
  "privacy": "private",
3030
- "description": "stops event listeners that can trigger auto updating",
3031
3077
  "inheritedFrom": {
3032
3078
  "name": "AnchoredRegion",
3033
3079
  "module": "src/anchored-region/anchored-region.ts"
@@ -3035,12 +3081,11 @@
3035
3081
  },
3036
3082
  {
3037
3083
  "kind": "field",
3038
- "name": "_presentation",
3084
+ "name": "regionRect",
3039
3085
  "type": {
3040
- "text": "ComponentPresentation | null | undefined"
3086
+ "text": "ClientRect | DOMRect | undefined"
3041
3087
  },
3042
3088
  "privacy": "private",
3043
- "default": "void 0",
3044
3089
  "inheritedFrom": {
3045
3090
  "name": "AnchoredRegion",
3046
3091
  "module": "src/anchored-region/anchored-region.ts"
@@ -3048,12 +3093,13 @@
3048
3093
  },
3049
3094
  {
3050
3095
  "kind": "field",
3051
- "name": "$presentation",
3096
+ "name": "baseHorizontalOffset",
3052
3097
  "type": {
3053
- "text": "ComponentPresentation | null"
3098
+ "text": "number"
3054
3099
  },
3055
- "privacy": "public",
3056
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3100
+ "privacy": "private",
3101
+ "default": "0",
3102
+ "description": "base offsets between the positioner's base position and the anchor's",
3057
3103
  "inheritedFrom": {
3058
3104
  "name": "AnchoredRegion",
3059
3105
  "module": "src/anchored-region/anchored-region.ts"
@@ -3061,26 +3107,25 @@
3061
3107
  },
3062
3108
  {
3063
3109
  "kind": "field",
3064
- "name": "template",
3110
+ "name": "baseVerticalOffset",
3065
3111
  "type": {
3066
- "text": "ElementViewTemplate | void | null"
3112
+ "text": "number"
3067
3113
  },
3068
- "privacy": "public",
3069
- "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.",
3114
+ "privacy": "private",
3115
+ "default": "0",
3070
3116
  "inheritedFrom": {
3071
3117
  "name": "AnchoredRegion",
3072
3118
  "module": "src/anchored-region/anchored-region.ts"
3073
3119
  }
3074
3120
  },
3075
3121
  {
3076
- "kind": "method",
3077
- "name": "templateChanged",
3078
- "privacy": "protected",
3079
- "return": {
3080
- "type": {
3081
- "text": "void"
3082
- }
3122
+ "kind": "field",
3123
+ "name": "pendingPositioningUpdate",
3124
+ "type": {
3125
+ "text": "boolean"
3083
3126
  },
3127
+ "privacy": "private",
3128
+ "default": "false",
3084
3129
  "inheritedFrom": {
3085
3130
  "name": "AnchoredRegion",
3086
3131
  "module": "src/anchored-region/anchored-region.ts"
@@ -3088,12 +3133,87 @@
3088
3133
  },
3089
3134
  {
3090
3135
  "kind": "field",
3091
- "name": "styles",
3136
+ "name": "pendingReset",
3092
3137
  "type": {
3093
- "text": "ElementStyles | void | null"
3138
+ "text": "boolean"
3139
+ },
3140
+ "privacy": "private",
3141
+ "default": "false",
3142
+ "inheritedFrom": {
3143
+ "name": "AnchoredRegion",
3144
+ "module": "src/anchored-region/anchored-region.ts"
3145
+ }
3146
+ },
3147
+ {
3148
+ "kind": "field",
3149
+ "name": "currentDirection",
3150
+ "type": {
3151
+ "text": "Direction"
3152
+ },
3153
+ "privacy": "private",
3154
+ "inheritedFrom": {
3155
+ "name": "AnchoredRegion",
3156
+ "module": "src/anchored-region/anchored-region.ts"
3157
+ }
3158
+ },
3159
+ {
3160
+ "kind": "field",
3161
+ "name": "regionVisible",
3162
+ "type": {
3163
+ "text": "boolean"
3164
+ },
3165
+ "privacy": "private",
3166
+ "default": "false",
3167
+ "inheritedFrom": {
3168
+ "name": "AnchoredRegion",
3169
+ "module": "src/anchored-region/anchored-region.ts"
3170
+ }
3171
+ },
3172
+ {
3173
+ "kind": "field",
3174
+ "name": "forceUpdate",
3175
+ "type": {
3176
+ "text": "boolean"
3177
+ },
3178
+ "privacy": "private",
3179
+ "default": "false",
3180
+ "inheritedFrom": {
3181
+ "name": "AnchoredRegion",
3182
+ "module": "src/anchored-region/anchored-region.ts"
3183
+ }
3184
+ },
3185
+ {
3186
+ "kind": "field",
3187
+ "name": "updateThreshold",
3188
+ "type": {
3189
+ "text": "number"
3190
+ },
3191
+ "privacy": "private",
3192
+ "default": "0.5",
3193
+ "inheritedFrom": {
3194
+ "name": "AnchoredRegion",
3195
+ "module": "src/anchored-region/anchored-region.ts"
3196
+ }
3197
+ },
3198
+ {
3199
+ "kind": "field",
3200
+ "name": "intersectionService",
3201
+ "type": {
3202
+ "text": "IntersectionService"
3094
3203
  },
3204
+ "privacy": "private",
3205
+ "static": true,
3206
+ "default": "new IntersectionService()",
3207
+ "inheritedFrom": {
3208
+ "name": "AnchoredRegion",
3209
+ "module": "src/anchored-region/anchored-region.ts"
3210
+ }
3211
+ },
3212
+ {
3213
+ "kind": "field",
3214
+ "name": "update",
3095
3215
  "privacy": "public",
3096
- "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.",
3216
+ "description": "update position",
3097
3217
  "inheritedFrom": {
3098
3218
  "name": "AnchoredRegion",
3099
3219
  "module": "src/anchored-region/anchored-region.ts"
@@ -3101,13 +3221,14 @@
3101
3221
  },
3102
3222
  {
3103
3223
  "kind": "method",
3104
- "name": "stylesChanged",
3105
- "privacy": "protected",
3224
+ "name": "disconnectResizeDetector",
3225
+ "privacy": "private",
3106
3226
  "return": {
3107
3227
  "type": {
3108
3228
  "text": "void"
3109
3229
  }
3110
3230
  },
3231
+ "description": "destroys the instance's resize observer",
3111
3232
  "inheritedFrom": {
3112
3233
  "name": "AnchoredRegion",
3113
3234
  "module": "src/anchored-region/anchored-region.ts"
@@ -3115,426 +3236,287 @@
3115
3236
  },
3116
3237
  {
3117
3238
  "kind": "method",
3118
- "name": "compose",
3119
- "privacy": "public",
3120
- "static": true,
3239
+ "name": "initializeResizeDetector",
3240
+ "privacy": "private",
3121
3241
  "return": {
3122
3242
  "type": {
3123
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3243
+ "text": "void"
3124
3244
  }
3125
3245
  },
3126
- "parameters": [
3127
- {
3128
- "name": "this",
3129
- "type": {
3130
- "text": "K"
3131
- }
3132
- },
3133
- {
3134
- "name": "elementDefinition",
3135
- "type": {
3136
- "text": "T"
3137
- },
3138
- "description": "The definition of the element to create the registry\nfunction for."
3139
- }
3140
- ],
3141
- "description": "Defines an element registry function with a set of element definition defaults.",
3246
+ "description": "initializes the instance's resize observer",
3142
3247
  "inheritedFrom": {
3143
3248
  "name": "AnchoredRegion",
3144
3249
  "module": "src/anchored-region/anchored-region.ts"
3145
3250
  }
3146
- }
3147
- ],
3148
- "events": [
3251
+ },
3149
3252
  {
3150
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3151
- "name": "loaded",
3253
+ "kind": "method",
3254
+ "name": "updateForAttributeChange",
3255
+ "privacy": "private",
3256
+ "return": {
3257
+ "type": {
3258
+ "text": "void"
3259
+ }
3260
+ },
3261
+ "description": "react to attribute changes that don't require a reset",
3152
3262
  "inheritedFrom": {
3153
3263
  "name": "AnchoredRegion",
3154
3264
  "module": "src/anchored-region/anchored-region.ts"
3155
3265
  }
3156
3266
  },
3157
3267
  {
3158
- "description": "Fires a custom 'positionchange' event when the position has changed",
3159
- "name": "positionchange",
3268
+ "kind": "method",
3269
+ "name": "initialize",
3270
+ "privacy": "private",
3271
+ "return": {
3272
+ "type": {
3273
+ "text": "void"
3274
+ }
3275
+ },
3276
+ "description": "fully initializes the component",
3160
3277
  "inheritedFrom": {
3161
3278
  "name": "AnchoredRegion",
3162
3279
  "module": "src/anchored-region/anchored-region.ts"
3163
3280
  }
3164
- }
3165
- ]
3166
- },
3167
- {
3168
- "kind": "variable",
3169
- "name": "rapidAnchoredRegion"
3170
- }
3171
- ],
3172
- "exports": [
3173
- {
3174
- "kind": "js",
3175
- "name": "AnchoredRegion",
3176
- "declaration": {
3177
- "name": "AnchoredRegion",
3178
- "module": "src/anchored-region/anchored-region.ts"
3179
- }
3180
- },
3181
- {
3182
- "kind": "js",
3183
- "name": "rapidAnchoredRegion",
3184
- "declaration": {
3185
- "name": "rapidAnchoredRegion",
3186
- "module": "src/anchored-region/anchored-region.ts"
3187
- }
3188
- }
3189
- ]
3190
- },
3191
- {
3192
- "kind": "javascript-module",
3193
- "path": "src/anchored-region/index.ts",
3194
- "declarations": [],
3195
- "exports": [
3196
- {
3197
- "kind": "js",
3198
- "name": "*",
3199
- "declaration": {
3200
- "name": "*",
3201
- "package": "./anchored-region"
3202
- }
3203
- },
3204
- {
3205
- "kind": "js",
3206
- "name": "*",
3207
- "declaration": {
3208
- "name": "*",
3209
- "package": "./anchored-region.template"
3210
- }
3211
- },
3212
- {
3213
- "kind": "js",
3214
- "name": "*",
3215
- "declaration": {
3216
- "name": "*",
3217
- "package": "./anchored-region.styles"
3218
- }
3219
- }
3220
- ]
3221
- },
3222
- {
3223
- "kind": "javascript-module",
3224
- "path": "src/anchor/anchor.styles.ts",
3225
- "declarations": [
3226
- {
3227
- "kind": "function",
3228
- "name": "rapidAnchorStyles",
3229
- "return": {
3230
- "type": {
3231
- "text": "ElementStyles"
3232
- }
3233
- },
3234
- "parameters": [
3281
+ },
3235
3282
  {
3236
- "name": "context",
3237
- "type": {
3238
- "text": "ElementDefinitionContext"
3283
+ "kind": "method",
3284
+ "name": "requestReset",
3285
+ "privacy": "private",
3286
+ "return": {
3287
+ "type": {
3288
+ "text": "void"
3289
+ }
3290
+ },
3291
+ "description": "Request a reset if there are currently no open requests",
3292
+ "inheritedFrom": {
3293
+ "name": "AnchoredRegion",
3294
+ "module": "src/anchored-region/anchored-region.ts"
3239
3295
  }
3240
3296
  },
3241
3297
  {
3242
- "name": "definition",
3243
- "type": {
3244
- "text": "FoundationElementDefinition"
3298
+ "kind": "method",
3299
+ "name": "setInitialState",
3300
+ "privacy": "private",
3301
+ "return": {
3302
+ "type": {
3303
+ "text": "void"
3304
+ }
3305
+ },
3306
+ "description": "sets the starting configuration for component internal values",
3307
+ "inheritedFrom": {
3308
+ "name": "AnchoredRegion",
3309
+ "module": "src/anchored-region/anchored-region.ts"
3245
3310
  }
3246
- }
3247
- ]
3248
- }
3249
- ],
3250
- "exports": [
3251
- {
3252
- "kind": "js",
3253
- "name": "rapidAnchorStyles",
3254
- "declaration": {
3255
- "name": "rapidAnchorStyles",
3256
- "module": "src/anchor/anchor.styles.ts"
3257
- }
3258
- }
3259
- ]
3260
- },
3261
- {
3262
- "kind": "javascript-module",
3263
- "path": "src/anchor/anchor.template.ts",
3264
- "declarations": [
3265
- {
3266
- "kind": "function",
3267
- "name": "rapidAnchorTemplate",
3268
- "return": {
3269
- "type": {
3270
- "text": "ViewTemplate<Anchor>"
3271
- }
3272
- },
3273
- "parameters": [
3311
+ },
3274
3312
  {
3275
- "name": "context",
3276
- "type": {
3277
- "text": "ElementDefinitionContext"
3313
+ "kind": "field",
3314
+ "name": "startObservers",
3315
+ "privacy": "private",
3316
+ "description": "starts observers",
3317
+ "inheritedFrom": {
3318
+ "name": "AnchoredRegion",
3319
+ "module": "src/anchored-region/anchored-region.ts"
3278
3320
  }
3279
3321
  },
3280
3322
  {
3281
- "name": "definition",
3282
- "type": {
3283
- "text": "FoundationElementDefinition"
3323
+ "kind": "field",
3324
+ "name": "requestPositionUpdates",
3325
+ "privacy": "private",
3326
+ "description": "get position updates",
3327
+ "inheritedFrom": {
3328
+ "name": "AnchoredRegion",
3329
+ "module": "src/anchored-region/anchored-region.ts"
3284
3330
  }
3285
- }
3286
- ]
3287
- }
3288
- ],
3289
- "exports": [
3290
- {
3291
- "kind": "js",
3292
- "name": "rapidAnchorTemplate",
3293
- "declaration": {
3294
- "name": "rapidAnchorTemplate",
3295
- "module": "src/anchor/anchor.template.ts"
3296
- }
3297
- }
3298
- ]
3299
- },
3300
- {
3301
- "kind": "javascript-module",
3302
- "path": "src/anchor/anchor.ts",
3303
- "declarations": [
3304
- {
3305
- "kind": "class",
3306
- "description": "",
3307
- "name": "Anchor",
3308
- "superclass": {
3309
- "name": "FoundationAnchor",
3310
- "package": "@genesislcap/foundation-ui"
3311
- },
3312
- "tagName": "%%prefix%%-anchor",
3313
- "customElement": true,
3314
- "attributes": [
3331
+ },
3315
3332
  {
3316
- "name": "download",
3317
- "type": {
3318
- "text": "string"
3319
- },
3320
- "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.",
3321
- "fieldName": "download",
3333
+ "kind": "field",
3334
+ "name": "stopObservers",
3335
+ "privacy": "private",
3336
+ "description": "stops observers",
3322
3337
  "inheritedFrom": {
3323
- "name": "Anchor",
3324
- "module": "src/anchor/anchor.ts"
3338
+ "name": "AnchoredRegion",
3339
+ "module": "src/anchored-region/anchored-region.ts"
3325
3340
  }
3326
3341
  },
3327
3342
  {
3328
- "name": "href",
3329
- "type": {
3330
- "text": "string"
3331
- },
3332
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3333
- "fieldName": "href",
3343
+ "kind": "field",
3344
+ "name": "getViewport",
3345
+ "privacy": "private",
3346
+ "description": "Gets the viewport element by id, or defaults to document root",
3334
3347
  "inheritedFrom": {
3335
- "name": "Anchor",
3336
- "module": "src/anchor/anchor.ts"
3348
+ "name": "AnchoredRegion",
3349
+ "module": "src/anchored-region/anchored-region.ts"
3337
3350
  }
3338
3351
  },
3339
3352
  {
3340
- "name": "hreflang",
3341
- "type": {
3342
- "text": "string"
3343
- },
3344
- "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.",
3345
- "fieldName": "hreflang",
3353
+ "kind": "field",
3354
+ "name": "getAnchor",
3355
+ "privacy": "private",
3356
+ "description": "Gets the anchor element by id",
3346
3357
  "inheritedFrom": {
3347
- "name": "Anchor",
3348
- "module": "src/anchor/anchor.ts"
3358
+ "name": "AnchoredRegion",
3359
+ "module": "src/anchored-region/anchored-region.ts"
3349
3360
  }
3350
3361
  },
3351
3362
  {
3352
- "name": "ping",
3353
- "type": {
3354
- "text": "string"
3355
- },
3356
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3357
- "fieldName": "ping",
3363
+ "kind": "field",
3364
+ "name": "handleIntersection",
3365
+ "privacy": "private",
3366
+ "description": "Handle intersections",
3358
3367
  "inheritedFrom": {
3359
- "name": "Anchor",
3360
- "module": "src/anchor/anchor.ts"
3368
+ "name": "AnchoredRegion",
3369
+ "module": "src/anchored-region/anchored-region.ts"
3370
+ }
3371
+ },
3372
+ {
3373
+ "kind": "field",
3374
+ "name": "applyIntersectionEntries",
3375
+ "privacy": "private",
3376
+ "description": "iterate through intersection entries and apply data",
3377
+ "inheritedFrom": {
3378
+ "name": "AnchoredRegion",
3379
+ "module": "src/anchored-region/anchored-region.ts"
3361
3380
  }
3362
3381
  },
3363
3382
  {
3364
- "name": "referrerpolicy",
3365
- "type": {
3366
- "text": "string"
3367
- },
3368
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3369
- "fieldName": "referrerpolicy",
3383
+ "kind": "field",
3384
+ "name": "updateRegionOffset",
3385
+ "privacy": "private",
3386
+ "description": "Update the offset values",
3370
3387
  "inheritedFrom": {
3371
- "name": "Anchor",
3372
- "module": "src/anchor/anchor.ts"
3388
+ "name": "AnchoredRegion",
3389
+ "module": "src/anchored-region/anchored-region.ts"
3373
3390
  }
3374
3391
  },
3375
3392
  {
3376
- "name": "rel",
3377
- "type": {
3378
- "text": "string"
3379
- },
3380
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3381
- "fieldName": "rel",
3393
+ "kind": "field",
3394
+ "name": "isRectDifferent",
3395
+ "privacy": "private",
3396
+ "description": "compare rects to see if there is enough change to justify a DOM update",
3382
3397
  "inheritedFrom": {
3383
- "name": "Anchor",
3384
- "module": "src/anchor/anchor.ts"
3398
+ "name": "AnchoredRegion",
3399
+ "module": "src/anchored-region/anchored-region.ts"
3385
3400
  }
3386
3401
  },
3387
3402
  {
3388
- "name": "target",
3389
- "type": {
3390
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
3391
- },
3392
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3393
- "fieldName": "target",
3403
+ "kind": "field",
3404
+ "name": "handleResize",
3405
+ "privacy": "private",
3406
+ "description": "Handle resize events",
3394
3407
  "inheritedFrom": {
3395
- "name": "Anchor",
3396
- "module": "src/anchor/anchor.ts"
3408
+ "name": "AnchoredRegion",
3409
+ "module": "src/anchored-region/anchored-region.ts"
3397
3410
  }
3398
3411
  },
3399
3412
  {
3400
- "name": "type",
3401
- "type": {
3402
- "text": "string"
3403
- },
3404
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3405
- "fieldName": "type",
3413
+ "kind": "field",
3414
+ "name": "reset",
3415
+ "privacy": "private",
3416
+ "description": "resets the component",
3406
3417
  "inheritedFrom": {
3407
- "name": "Anchor",
3408
- "module": "src/anchor/anchor.ts"
3418
+ "name": "AnchoredRegion",
3419
+ "module": "src/anchored-region/anchored-region.ts"
3409
3420
  }
3410
- }
3411
- ],
3412
- "members": [
3421
+ },
3413
3422
  {
3414
3423
  "kind": "field",
3415
- "name": "download",
3416
- "type": {
3417
- "text": "string"
3418
- },
3419
- "privacy": "public",
3420
- "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.",
3424
+ "name": "updateLayout",
3425
+ "privacy": "private",
3426
+ "description": "Recalculate layout related state values",
3421
3427
  "inheritedFrom": {
3422
- "name": "Anchor",
3423
- "module": "src/anchor/anchor.ts"
3428
+ "name": "AnchoredRegion",
3429
+ "module": "src/anchored-region/anchored-region.ts"
3424
3430
  }
3425
3431
  },
3426
3432
  {
3427
3433
  "kind": "field",
3428
- "name": "href",
3429
- "type": {
3430
- "text": "string"
3431
- },
3432
- "privacy": "public",
3433
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3434
+ "name": "updateRegionStyle",
3435
+ "privacy": "private",
3436
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3434
3437
  "inheritedFrom": {
3435
- "name": "Anchor",
3436
- "module": "src/anchor/anchor.ts"
3438
+ "name": "AnchoredRegion",
3439
+ "module": "src/anchored-region/anchored-region.ts"
3437
3440
  }
3438
3441
  },
3439
3442
  {
3440
3443
  "kind": "field",
3441
- "name": "hreflang",
3442
- "type": {
3443
- "text": "string"
3444
- },
3445
- "privacy": "public",
3446
- "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.",
3444
+ "name": "updatePositionClasses",
3445
+ "privacy": "private",
3446
+ "description": "Updates the css classes that reflect the current position of the element",
3447
3447
  "inheritedFrom": {
3448
- "name": "Anchor",
3449
- "module": "src/anchor/anchor.ts"
3448
+ "name": "AnchoredRegion",
3449
+ "module": "src/anchored-region/anchored-region.ts"
3450
3450
  }
3451
3451
  },
3452
3452
  {
3453
3453
  "kind": "field",
3454
- "name": "ping",
3455
- "type": {
3456
- "text": "string"
3457
- },
3458
- "privacy": "public",
3459
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3454
+ "name": "setHorizontalPosition",
3455
+ "privacy": "private",
3456
+ "description": "Get horizontal positioning state based on desired position",
3460
3457
  "inheritedFrom": {
3461
- "name": "Anchor",
3462
- "module": "src/anchor/anchor.ts"
3458
+ "name": "AnchoredRegion",
3459
+ "module": "src/anchored-region/anchored-region.ts"
3463
3460
  }
3464
3461
  },
3465
3462
  {
3466
3463
  "kind": "field",
3467
- "name": "referrerpolicy",
3468
- "type": {
3469
- "text": "string"
3470
- },
3471
- "privacy": "public",
3472
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3464
+ "name": "setVerticalPosition",
3465
+ "privacy": "private",
3466
+ "description": "Set vertical positioning state based on desired position",
3473
3467
  "inheritedFrom": {
3474
- "name": "Anchor",
3475
- "module": "src/anchor/anchor.ts"
3468
+ "name": "AnchoredRegion",
3469
+ "module": "src/anchored-region/anchored-region.ts"
3476
3470
  }
3477
3471
  },
3478
3472
  {
3479
3473
  "kind": "field",
3480
- "name": "rel",
3481
- "type": {
3482
- "text": "string"
3483
- },
3484
- "privacy": "public",
3485
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3474
+ "name": "getPositioningOptions",
3475
+ "privacy": "private",
3476
+ "description": "Get available positions based on positioning mode",
3486
3477
  "inheritedFrom": {
3487
- "name": "Anchor",
3488
- "module": "src/anchor/anchor.ts"
3478
+ "name": "AnchoredRegion",
3479
+ "module": "src/anchored-region/anchored-region.ts"
3489
3480
  }
3490
3481
  },
3491
3482
  {
3492
3483
  "kind": "field",
3493
- "name": "target",
3494
- "type": {
3495
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
3496
- },
3497
- "privacy": "public",
3498
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3484
+ "name": "getAvailableSpace",
3485
+ "privacy": "private",
3486
+ "description": "Get the space available for a particular relative position",
3499
3487
  "inheritedFrom": {
3500
- "name": "Anchor",
3501
- "module": "src/anchor/anchor.ts"
3488
+ "name": "AnchoredRegion",
3489
+ "module": "src/anchored-region/anchored-region.ts"
3502
3490
  }
3503
3491
  },
3504
3492
  {
3505
3493
  "kind": "field",
3506
- "name": "type",
3507
- "type": {
3508
- "text": "string"
3509
- },
3510
- "privacy": "public",
3511
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3494
+ "name": "getNextRegionDimension",
3495
+ "privacy": "private",
3496
+ "description": "Get region dimensions",
3512
3497
  "inheritedFrom": {
3513
- "name": "Anchor",
3514
- "module": "src/anchor/anchor.ts"
3498
+ "name": "AnchoredRegion",
3499
+ "module": "src/anchored-region/anchored-region.ts"
3515
3500
  }
3516
3501
  },
3517
3502
  {
3518
3503
  "kind": "field",
3519
- "name": "control",
3520
- "type": {
3521
- "text": "HTMLAnchorElement | undefined"
3522
- },
3523
- "privacy": "public",
3524
- "description": "References the root element",
3504
+ "name": "startAutoUpdateEventListeners",
3505
+ "privacy": "private",
3506
+ "description": "starts event listeners that can trigger auto updating",
3525
3507
  "inheritedFrom": {
3526
- "name": "Anchor",
3527
- "module": "src/anchor/anchor.ts"
3508
+ "name": "AnchoredRegion",
3509
+ "module": "src/anchored-region/anchored-region.ts"
3528
3510
  }
3529
3511
  },
3530
3512
  {
3531
3513
  "kind": "field",
3532
- "name": "handleUnsupportedDelegatesFocus",
3514
+ "name": "stopAutoUpdateEventListeners",
3533
3515
  "privacy": "private",
3534
- "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",
3516
+ "description": "stops event listeners that can trigger auto updating",
3535
3517
  "inheritedFrom": {
3536
- "name": "Anchor",
3537
- "module": "src/anchor/anchor.ts"
3518
+ "name": "AnchoredRegion",
3519
+ "module": "src/anchored-region/anchored-region.ts"
3538
3520
  }
3539
3521
  },
3540
3522
  {
@@ -3546,8 +3528,8 @@
3546
3528
  "privacy": "private",
3547
3529
  "default": "void 0",
3548
3530
  "inheritedFrom": {
3549
- "name": "Anchor",
3550
- "module": "src/anchor/anchor.ts"
3531
+ "name": "AnchoredRegion",
3532
+ "module": "src/anchored-region/anchored-region.ts"
3551
3533
  }
3552
3534
  },
3553
3535
  {
@@ -3559,8 +3541,8 @@
3559
3541
  "privacy": "public",
3560
3542
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3561
3543
  "inheritedFrom": {
3562
- "name": "Anchor",
3563
- "module": "src/anchor/anchor.ts"
3544
+ "name": "AnchoredRegion",
3545
+ "module": "src/anchored-region/anchored-region.ts"
3564
3546
  }
3565
3547
  },
3566
3548
  {
@@ -3572,8 +3554,8 @@
3572
3554
  "privacy": "public",
3573
3555
  "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.",
3574
3556
  "inheritedFrom": {
3575
- "name": "Anchor",
3576
- "module": "src/anchor/anchor.ts"
3557
+ "name": "AnchoredRegion",
3558
+ "module": "src/anchored-region/anchored-region.ts"
3577
3559
  }
3578
3560
  },
3579
3561
  {
@@ -3586,8 +3568,8 @@
3586
3568
  }
3587
3569
  },
3588
3570
  "inheritedFrom": {
3589
- "name": "Anchor",
3590
- "module": "src/anchor/anchor.ts"
3571
+ "name": "AnchoredRegion",
3572
+ "module": "src/anchored-region/anchored-region.ts"
3591
3573
  }
3592
3574
  },
3593
3575
  {
@@ -3599,8 +3581,8 @@
3599
3581
  "privacy": "public",
3600
3582
  "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.",
3601
3583
  "inheritedFrom": {
3602
- "name": "Anchor",
3603
- "module": "src/anchor/anchor.ts"
3584
+ "name": "AnchoredRegion",
3585
+ "module": "src/anchored-region/anchored-region.ts"
3604
3586
  }
3605
3587
  },
3606
3588
  {
@@ -3613,8 +3595,8 @@
3613
3595
  }
3614
3596
  },
3615
3597
  "inheritedFrom": {
3616
- "name": "Anchor",
3617
- "module": "src/anchor/anchor.ts"
3598
+ "name": "AnchoredRegion",
3599
+ "module": "src/anchored-region/anchored-region.ts"
3618
3600
  }
3619
3601
  },
3620
3602
  {
@@ -3644,39 +3626,57 @@
3644
3626
  ],
3645
3627
  "description": "Defines an element registry function with a set of element definition defaults.",
3646
3628
  "inheritedFrom": {
3647
- "name": "Anchor",
3648
- "module": "src/anchor/anchor.ts"
3629
+ "name": "AnchoredRegion",
3630
+ "module": "src/anchored-region/anchored-region.ts"
3631
+ }
3632
+ }
3633
+ ],
3634
+ "events": [
3635
+ {
3636
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3637
+ "name": "loaded",
3638
+ "inheritedFrom": {
3639
+ "name": "AnchoredRegion",
3640
+ "module": "src/anchored-region/anchored-region.ts"
3641
+ }
3642
+ },
3643
+ {
3644
+ "description": "Fires a custom 'positionchange' event when the position has changed",
3645
+ "name": "positionchange",
3646
+ "inheritedFrom": {
3647
+ "name": "AnchoredRegion",
3648
+ "module": "src/anchored-region/anchored-region.ts"
3649
3649
  }
3650
3650
  }
3651
3651
  ]
3652
3652
  },
3653
3653
  {
3654
3654
  "kind": "variable",
3655
- "name": "rapidAnchor"
3655
+ "name": "rapidAnchoredRegion"
3656
3656
  }
3657
3657
  ],
3658
3658
  "exports": [
3659
3659
  {
3660
3660
  "kind": "js",
3661
- "name": "Anchor",
3661
+ "name": "AnchoredRegion",
3662
3662
  "declaration": {
3663
- "name": "Anchor",
3664
- "module": "src/anchor/anchor.ts"
3663
+ "name": "AnchoredRegion",
3664
+ "module": "src/anchored-region/anchored-region.ts"
3665
3665
  }
3666
3666
  },
3667
3667
  {
3668
3668
  "kind": "js",
3669
- "name": "rapidAnchor",
3669
+ "name": "rapidAnchoredRegion",
3670
3670
  "declaration": {
3671
- "name": "rapidAnchor",
3672
- "module": "src/anchor/anchor.ts"
3671
+ "name": "rapidAnchoredRegion",
3672
+ "module": "src/anchored-region/anchored-region.ts"
3673
3673
  }
3674
3674
  }
3675
3675
  ]
3676
3676
  },
3677
3677
  {
3678
3678
  "kind": "javascript-module",
3679
- "path": "src/anchor/index.ts",
3679
+ "path": "src/anchored-region/index.ts",
3680
3680
  "declarations": [],
3681
3681
  "exports": [
3682
3682
  {
@@ -3684,7 +3684,7 @@
3684
3684
  "name": "*",
3685
3685
  "declaration": {
3686
3686
  "name": "*",
3687
- "package": "./anchor"
3687
+ "package": "./anchored-region"
3688
3688
  }
3689
3689
  },
3690
3690
  {
@@ -3692,7 +3692,7 @@
3692
3692
  "name": "*",
3693
3693
  "declaration": {
3694
3694
  "name": "*",
3695
- "package": "./anchor.styles"
3695
+ "package": "./anchored-region.template"
3696
3696
  }
3697
3697
  },
3698
3698
  {
@@ -3700,7 +3700,7 @@
3700
3700
  "name": "*",
3701
3701
  "declaration": {
3702
3702
  "name": "*",
3703
- "package": "./anchor.template"
3703
+ "package": "./anchored-region.styles"
3704
3704
  }
3705
3705
  }
3706
3706
  ]