@genesislcap/rapid-design-system 14.209.1 → 14.209.2

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