@genesislcap/rapid-design-system 14.164.1 → 14.165.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1705,7 +1705,7 @@
1705
1705
  },
1706
1706
  {
1707
1707
  "kind": "javascript-module",
1708
- "path": "src/anchored-region/anchored-region.stories.ts",
1708
+ "path": "src/anchor/anchor.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: 'Anchored Region',\n component: 'rapid-anchored-region',\n}"
1716
+ "default": "{\n title: 'Anchor',\n component: 'rapid-anchor',\n}"
1717
1717
  },
1718
1718
  {
1719
1719
  "kind": "variable",
@@ -1721,15 +1721,23 @@
1721
1721
  "type": {
1722
1722
  "text": "StoryObj"
1723
1723
  },
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}"
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
1725
  },
1726
1726
  {
1727
1727
  "kind": "variable",
1728
- "name": "Bottom",
1728
+ "name": "RapidAnchorAppearances",
1729
1729
  "type": {
1730
1730
  "text": "StoryObj"
1731
1731
  },
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}"
1732
+ "default": "{\n args: {\n appearances: RapidAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1733
+ },
1734
+ {
1735
+ "kind": "variable",
1736
+ "name": "FastAnchorAppearances",
1737
+ "type": {
1738
+ "text": "StoryObj"
1739
+ },
1740
+ "default": "{\n args: {\n appearances: FastAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1733
1741
  }
1734
1742
  ],
1735
1743
  "exports": [
@@ -1738,7 +1746,7 @@
1738
1746
  "name": "default",
1739
1747
  "declaration": {
1740
1748
  "name": "meta",
1741
- "module": "src/anchored-region/anchored-region.stories.ts"
1749
+ "module": "src/anchor/anchor.stories.ts"
1742
1750
  }
1743
1751
  },
1744
1752
  {
@@ -1746,26 +1754,34 @@
1746
1754
  "name": "Default",
1747
1755
  "declaration": {
1748
1756
  "name": "Default",
1749
- "module": "src/anchored-region/anchored-region.stories.ts"
1757
+ "module": "src/anchor/anchor.stories.ts"
1750
1758
  }
1751
1759
  },
1752
1760
  {
1753
1761
  "kind": "js",
1754
- "name": "Bottom",
1762
+ "name": "RapidAnchorAppearances",
1755
1763
  "declaration": {
1756
- "name": "Bottom",
1757
- "module": "src/anchored-region/anchored-region.stories.ts"
1764
+ "name": "RapidAnchorAppearances",
1765
+ "module": "src/anchor/anchor.stories.ts"
1766
+ }
1767
+ },
1768
+ {
1769
+ "kind": "js",
1770
+ "name": "FastAnchorAppearances",
1771
+ "declaration": {
1772
+ "name": "FastAnchorAppearances",
1773
+ "module": "src/anchor/anchor.stories.ts"
1758
1774
  }
1759
1775
  }
1760
1776
  ]
1761
1777
  },
1762
1778
  {
1763
1779
  "kind": "javascript-module",
1764
- "path": "src/anchored-region/anchored-region.styles.ts",
1780
+ "path": "src/anchor/anchor.styles.ts",
1765
1781
  "declarations": [
1766
1782
  {
1767
1783
  "kind": "function",
1768
- "name": "rapidAnchoredRegionStyles",
1784
+ "name": "rapidAnchorStyles",
1769
1785
  "return": {
1770
1786
  "type": {
1771
1787
  "text": "ElementStyles"
@@ -1790,24 +1806,24 @@
1790
1806
  "exports": [
1791
1807
  {
1792
1808
  "kind": "js",
1793
- "name": "rapidAnchoredRegionStyles",
1809
+ "name": "rapidAnchorStyles",
1794
1810
  "declaration": {
1795
- "name": "rapidAnchoredRegionStyles",
1796
- "module": "src/anchored-region/anchored-region.styles.ts"
1811
+ "name": "rapidAnchorStyles",
1812
+ "module": "src/anchor/anchor.styles.ts"
1797
1813
  }
1798
1814
  }
1799
1815
  ]
1800
1816
  },
1801
1817
  {
1802
1818
  "kind": "javascript-module",
1803
- "path": "src/anchored-region/anchored-region.template.ts",
1819
+ "path": "src/anchor/anchor.template.ts",
1804
1820
  "declarations": [
1805
1821
  {
1806
1822
  "kind": "function",
1807
- "name": "rapidAnchoredRegionTemplate",
1823
+ "name": "rapidAnchorTemplate",
1808
1824
  "return": {
1809
1825
  "type": {
1810
- "text": "ViewTemplate<AnchoredRegion>"
1826
+ "text": "ViewTemplate<Anchor>"
1811
1827
  }
1812
1828
  },
1813
1829
  "parameters": [
@@ -1829,706 +1845,788 @@
1829
1845
  "exports": [
1830
1846
  {
1831
1847
  "kind": "js",
1832
- "name": "rapidAnchoredRegionTemplate",
1848
+ "name": "rapidAnchorTemplate",
1833
1849
  "declaration": {
1834
- "name": "rapidAnchoredRegionTemplate",
1835
- "module": "src/anchored-region/anchored-region.template.ts"
1850
+ "name": "rapidAnchorTemplate",
1851
+ "module": "src/anchor/anchor.template.ts"
1836
1852
  }
1837
1853
  }
1838
1854
  ]
1839
1855
  },
1840
1856
  {
1841
1857
  "kind": "javascript-module",
1842
- "path": "src/anchored-region/anchored-region.ts",
1858
+ "path": "src/anchor/anchor.ts",
1843
1859
  "declarations": [
1844
1860
  {
1845
1861
  "kind": "class",
1846
1862
  "description": "",
1847
- "name": "AnchoredRegion",
1863
+ "name": "Anchor",
1848
1864
  "superclass": {
1849
- "name": "FoundationAnchoredRegion",
1865
+ "name": "FoundationAnchor",
1850
1866
  "package": "@genesislcap/foundation-ui"
1851
1867
  },
1852
- "tagName": "%%prefix%%-anchored-region",
1868
+ "tagName": "%%prefix%%-anchor",
1853
1869
  "customElement": true,
1854
1870
  "attributes": [
1855
1871
  {
1856
- "name": "anchor",
1872
+ "name": "download",
1857
1873
  "type": {
1858
1874
  "text": "string"
1859
1875
  },
1860
- "default": "\"\"",
1861
- "description": "The HTML ID of the anchor element this region is positioned relative to",
1862
- "fieldName": "anchor",
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",
1863
1878
  "inheritedFrom": {
1864
- "name": "AnchoredRegion",
1865
- "module": "src/anchored-region/anchored-region.ts"
1879
+ "name": "Anchor",
1880
+ "module": "src/anchor/anchor.ts"
1866
1881
  }
1867
1882
  },
1868
1883
  {
1869
- "name": "viewport",
1884
+ "name": "href",
1870
1885
  "type": {
1871
1886
  "text": "string"
1872
1887
  },
1873
- "default": "\"\"",
1874
- "description": "The HTML ID of the viewport element this region is positioned relative to",
1875
- "fieldName": "viewport",
1876
- "inheritedFrom": {
1877
- "name": "AnchoredRegion",
1878
- "module": "src/anchored-region/anchored-region.ts"
1879
- }
1880
- },
1881
- {
1882
- "name": "horizontal-positioning-mode",
1883
- "type": {
1884
- "text": "AxisPositioningMode"
1885
- },
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",
1889
- "inheritedFrom": {
1890
- "name": "AnchoredRegion",
1891
- "module": "src/anchored-region/anchored-region.ts"
1892
- }
1893
- },
1894
- {
1895
- "name": "horizontal-default-position",
1896
- "type": {
1897
- "text": "HorizontalPosition"
1898
- },
1899
- "default": "\"unset\"",
1900
- "description": "The default horizontal position of the region relative to the anchor element",
1901
- "fieldName": "horizontalDefaultPosition",
1902
- "inheritedFrom": {
1903
- "name": "AnchoredRegion",
1904
- "module": "src/anchored-region/anchored-region.ts"
1905
- }
1906
- },
1907
- {
1908
- "name": "horizontal-viewport-lock",
1909
- "type": {
1910
- "text": "boolean"
1911
- },
1912
- "default": "false",
1913
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
1914
- "fieldName": "horizontalViewportLock",
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",
1915
1890
  "inheritedFrom": {
1916
- "name": "AnchoredRegion",
1917
- "module": "src/anchored-region/anchored-region.ts"
1891
+ "name": "Anchor",
1892
+ "module": "src/anchor/anchor.ts"
1918
1893
  }
1919
1894
  },
1920
1895
  {
1921
- "name": "horizontal-inset",
1896
+ "name": "hreflang",
1922
1897
  "type": {
1923
- "text": "boolean"
1898
+ "text": "string"
1924
1899
  },
1925
- "default": "false",
1926
- "description": "Whether the region overlaps the anchor on the horizontal axis",
1927
- "fieldName": "horizontalInset",
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",
1928
1902
  "inheritedFrom": {
1929
- "name": "AnchoredRegion",
1930
- "module": "src/anchored-region/anchored-region.ts"
1903
+ "name": "Anchor",
1904
+ "module": "src/anchor/anchor.ts"
1931
1905
  }
1932
1906
  },
1933
1907
  {
1934
- "name": "horizontal-threshold",
1908
+ "name": "ping",
1935
1909
  "type": {
1936
- "text": "number"
1910
+ "text": "string"
1937
1911
  },
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",
1912
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1913
+ "fieldName": "ping",
1940
1914
  "inheritedFrom": {
1941
- "name": "AnchoredRegion",
1942
- "module": "src/anchored-region/anchored-region.ts"
1915
+ "name": "Anchor",
1916
+ "module": "src/anchor/anchor.ts"
1943
1917
  }
1944
1918
  },
1945
1919
  {
1946
- "name": "horizontal-scaling",
1920
+ "name": "referrerpolicy",
1947
1921
  "type": {
1948
- "text": "AxisScalingMode"
1922
+ "text": "string"
1949
1923
  },
1950
- "default": "\"content\"",
1951
- "description": "Defines how the width of the region is calculated",
1952
- "fieldName": "horizontalScaling",
1924
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1925
+ "fieldName": "referrerpolicy",
1953
1926
  "inheritedFrom": {
1954
- "name": "AnchoredRegion",
1955
- "module": "src/anchored-region/anchored-region.ts"
1927
+ "name": "Anchor",
1928
+ "module": "src/anchor/anchor.ts"
1956
1929
  }
1957
1930
  },
1958
1931
  {
1959
- "name": "vertical-positioning-mode",
1932
+ "name": "rel",
1960
1933
  "type": {
1961
- "text": "AxisPositioningMode"
1934
+ "text": "string"
1962
1935
  },
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",
1936
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1937
+ "fieldName": "rel",
1966
1938
  "inheritedFrom": {
1967
- "name": "AnchoredRegion",
1968
- "module": "src/anchored-region/anchored-region.ts"
1939
+ "name": "Anchor",
1940
+ "module": "src/anchor/anchor.ts"
1969
1941
  }
1970
1942
  },
1971
1943
  {
1972
- "name": "vertical-default-position",
1944
+ "name": "target",
1973
1945
  "type": {
1974
- "text": "VerticalPosition"
1946
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1975
1947
  },
1976
- "default": "\"unset\"",
1977
- "description": "The default vertical position of the region relative to the anchor element",
1978
- "fieldName": "verticalDefaultPosition",
1948
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1949
+ "fieldName": "target",
1979
1950
  "inheritedFrom": {
1980
- "name": "AnchoredRegion",
1981
- "module": "src/anchored-region/anchored-region.ts"
1951
+ "name": "Anchor",
1952
+ "module": "src/anchor/anchor.ts"
1982
1953
  }
1983
1954
  },
1984
1955
  {
1985
- "name": "vertical-viewport-lock",
1956
+ "name": "type",
1986
1957
  "type": {
1987
- "text": "boolean"
1958
+ "text": "string"
1988
1959
  },
1989
- "default": "false",
1990
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
1991
- "fieldName": "verticalViewportLock",
1960
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1961
+ "fieldName": "type",
1992
1962
  "inheritedFrom": {
1993
- "name": "AnchoredRegion",
1994
- "module": "src/anchored-region/anchored-region.ts"
1963
+ "name": "Anchor",
1964
+ "module": "src/anchor/anchor.ts"
1995
1965
  }
1996
- },
1966
+ }
1967
+ ],
1968
+ "members": [
1997
1969
  {
1998
- "name": "vertical-inset",
1970
+ "kind": "field",
1971
+ "name": "download",
1999
1972
  "type": {
2000
- "text": "boolean"
1973
+ "text": "string"
2001
1974
  },
2002
- "default": "false",
2003
- "description": "Whether the region overlaps the anchor on the vertical axis",
2004
- "fieldName": "verticalInset",
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.",
2005
1977
  "inheritedFrom": {
2006
- "name": "AnchoredRegion",
2007
- "module": "src/anchored-region/anchored-region.ts"
1978
+ "name": "Anchor",
1979
+ "module": "src/anchor/anchor.ts"
2008
1980
  }
2009
1981
  },
2010
1982
  {
2011
- "name": "vertical-threshold",
1983
+ "kind": "field",
1984
+ "name": "href",
2012
1985
  "type": {
2013
- "text": "number"
1986
+ "text": "string"
2014
1987
  },
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",
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.",
2017
1990
  "inheritedFrom": {
2018
- "name": "AnchoredRegion",
2019
- "module": "src/anchored-region/anchored-region.ts"
1991
+ "name": "Anchor",
1992
+ "module": "src/anchor/anchor.ts"
2020
1993
  }
2021
1994
  },
2022
1995
  {
2023
- "name": "vertical-scaling",
1996
+ "kind": "field",
1997
+ "name": "hreflang",
2024
1998
  "type": {
2025
- "text": "AxisScalingMode"
1999
+ "text": "string"
2026
2000
  },
2027
- "default": "\"content\"",
2028
- "description": "Defines how the height of the region is calculated",
2029
- "fieldName": "verticalScaling",
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.",
2030
2003
  "inheritedFrom": {
2031
- "name": "AnchoredRegion",
2032
- "module": "src/anchored-region/anchored-region.ts"
2004
+ "name": "Anchor",
2005
+ "module": "src/anchor/anchor.ts"
2033
2006
  }
2034
2007
  },
2035
2008
  {
2036
- "name": "fixed-placement",
2009
+ "kind": "field",
2010
+ "name": "ping",
2037
2011
  "type": {
2038
- "text": "boolean"
2012
+ "text": "string"
2039
2013
  },
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",
2014
+ "privacy": "public",
2015
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2043
2016
  "inheritedFrom": {
2044
- "name": "AnchoredRegion",
2045
- "module": "src/anchored-region/anchored-region.ts"
2017
+ "name": "Anchor",
2018
+ "module": "src/anchor/anchor.ts"
2046
2019
  }
2047
2020
  },
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": [
2063
2021
  {
2064
2022
  "kind": "field",
2065
- "name": "anchor",
2023
+ "name": "referrerpolicy",
2066
2024
  "type": {
2067
2025
  "text": "string"
2068
2026
  },
2069
2027
  "privacy": "public",
2070
- "default": "\"\"",
2071
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2072
- "inheritedFrom": {
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
- },
2028
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2086
2029
  "inheritedFrom": {
2087
- "name": "AnchoredRegion",
2088
- "module": "src/anchored-region/anchored-region.ts"
2030
+ "name": "Anchor",
2031
+ "module": "src/anchor/anchor.ts"
2089
2032
  }
2090
2033
  },
2091
2034
  {
2092
2035
  "kind": "field",
2093
- "name": "viewport",
2036
+ "name": "rel",
2094
2037
  "type": {
2095
2038
  "text": "string"
2096
2039
  },
2097
2040
  "privacy": "public",
2098
- "default": "\"\"",
2099
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2100
- "inheritedFrom": {
2101
- "name": "AnchoredRegion",
2102
- "module": "src/anchored-region/anchored-region.ts"
2103
- }
2104
- },
2105
- {
2106
- "kind": "method",
2107
- "name": "viewportChanged",
2108
- "privacy": "private",
2109
- "return": {
2110
- "type": {
2111
- "text": "void"
2112
- }
2113
- },
2041
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2114
2042
  "inheritedFrom": {
2115
- "name": "AnchoredRegion",
2116
- "module": "src/anchored-region/anchored-region.ts"
2043
+ "name": "Anchor",
2044
+ "module": "src/anchor/anchor.ts"
2117
2045
  }
2118
2046
  },
2119
2047
  {
2120
2048
  "kind": "field",
2121
- "name": "horizontalPositioningMode",
2049
+ "name": "target",
2122
2050
  "type": {
2123
- "text": "AxisPositioningMode"
2051
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2124
2052
  },
2125
2053
  "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",
2136
- "privacy": "private",
2137
- "return": {
2138
- "type": {
2139
- "text": "void"
2140
- }
2141
- },
2054
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2142
2055
  "inheritedFrom": {
2143
- "name": "AnchoredRegion",
2144
- "module": "src/anchored-region/anchored-region.ts"
2056
+ "name": "Anchor",
2057
+ "module": "src/anchor/anchor.ts"
2145
2058
  }
2146
2059
  },
2147
2060
  {
2148
2061
  "kind": "field",
2149
- "name": "horizontalDefaultPosition",
2062
+ "name": "type",
2150
2063
  "type": {
2151
- "text": "HorizontalPosition"
2064
+ "text": "string"
2152
2065
  },
2153
2066
  "privacy": "public",
2154
- "default": "\"unset\"",
2155
- "description": "The default horizontal position of the region relative to the anchor element",
2156
- "inheritedFrom": {
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
- },
2067
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2170
2068
  "inheritedFrom": {
2171
- "name": "AnchoredRegion",
2172
- "module": "src/anchored-region/anchored-region.ts"
2069
+ "name": "Anchor",
2070
+ "module": "src/anchor/anchor.ts"
2173
2071
  }
2174
2072
  },
2175
2073
  {
2176
2074
  "kind": "field",
2177
- "name": "horizontalViewportLock",
2075
+ "name": "control",
2178
2076
  "type": {
2179
- "text": "boolean"
2077
+ "text": "HTMLAnchorElement | undefined"
2180
2078
  },
2181
2079
  "privacy": "public",
2182
- "default": "false",
2183
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2080
+ "description": "References the root element",
2184
2081
  "inheritedFrom": {
2185
- "name": "AnchoredRegion",
2186
- "module": "src/anchored-region/anchored-region.ts"
2082
+ "name": "Anchor",
2083
+ "module": "src/anchor/anchor.ts"
2187
2084
  }
2188
2085
  },
2189
2086
  {
2190
- "kind": "method",
2191
- "name": "horizontalViewportLockChanged",
2087
+ "kind": "field",
2088
+ "name": "handleUnsupportedDelegatesFocus",
2192
2089
  "privacy": "private",
2193
- "return": {
2194
- "type": {
2195
- "text": "void"
2196
- }
2197
- },
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",
2198
2091
  "inheritedFrom": {
2199
- "name": "AnchoredRegion",
2200
- "module": "src/anchored-region/anchored-region.ts"
2092
+ "name": "Anchor",
2093
+ "module": "src/anchor/anchor.ts"
2201
2094
  }
2202
2095
  },
2203
2096
  {
2204
2097
  "kind": "field",
2205
- "name": "horizontalInset",
2098
+ "name": "_presentation",
2206
2099
  "type": {
2207
- "text": "boolean"
2100
+ "text": "ComponentPresentation | null | undefined"
2208
2101
  },
2209
- "privacy": "public",
2210
- "default": "false",
2211
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2212
- "inheritedFrom": {
2213
- "name": "AnchoredRegion",
2214
- "module": "src/anchored-region/anchored-region.ts"
2215
- }
2216
- },
2217
- {
2218
- "kind": "method",
2219
- "name": "horizontalInsetChanged",
2220
2102
  "privacy": "private",
2221
- "return": {
2222
- "type": {
2223
- "text": "void"
2224
- }
2225
- },
2103
+ "default": "void 0",
2226
2104
  "inheritedFrom": {
2227
- "name": "AnchoredRegion",
2228
- "module": "src/anchored-region/anchored-region.ts"
2105
+ "name": "Anchor",
2106
+ "module": "src/anchor/anchor.ts"
2229
2107
  }
2230
2108
  },
2231
2109
  {
2232
2110
  "kind": "field",
2233
- "name": "horizontalThreshold",
2111
+ "name": "$presentation",
2234
2112
  "type": {
2235
- "text": "number"
2113
+ "text": "ComponentPresentation | null"
2236
2114
  },
2237
2115
  "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"
2242
- }
2243
- },
2244
- {
2245
- "kind": "method",
2246
- "name": "horizontalThresholdChanged",
2247
- "privacy": "private",
2248
- "return": {
2249
- "type": {
2250
- "text": "void"
2251
- }
2252
- },
2116
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2253
2117
  "inheritedFrom": {
2254
- "name": "AnchoredRegion",
2255
- "module": "src/anchored-region/anchored-region.ts"
2118
+ "name": "Anchor",
2119
+ "module": "src/anchor/anchor.ts"
2256
2120
  }
2257
2121
  },
2258
2122
  {
2259
2123
  "kind": "field",
2260
- "name": "horizontalScaling",
2124
+ "name": "template",
2261
2125
  "type": {
2262
- "text": "AxisScalingMode"
2126
+ "text": "ElementViewTemplate | void | null"
2263
2127
  },
2264
2128
  "privacy": "public",
2265
- "default": "\"content\"",
2266
- "description": "Defines how the width of the region is calculated",
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.",
2267
2130
  "inheritedFrom": {
2268
- "name": "AnchoredRegion",
2269
- "module": "src/anchored-region/anchored-region.ts"
2131
+ "name": "Anchor",
2132
+ "module": "src/anchor/anchor.ts"
2270
2133
  }
2271
2134
  },
2272
2135
  {
2273
2136
  "kind": "method",
2274
- "name": "horizontalScalingChanged",
2275
- "privacy": "private",
2137
+ "name": "templateChanged",
2138
+ "privacy": "protected",
2276
2139
  "return": {
2277
2140
  "type": {
2278
2141
  "text": "void"
2279
2142
  }
2280
2143
  },
2281
2144
  "inheritedFrom": {
2282
- "name": "AnchoredRegion",
2283
- "module": "src/anchored-region/anchored-region.ts"
2145
+ "name": "Anchor",
2146
+ "module": "src/anchor/anchor.ts"
2284
2147
  }
2285
2148
  },
2286
2149
  {
2287
2150
  "kind": "field",
2288
- "name": "verticalPositioningMode",
2151
+ "name": "styles",
2289
2152
  "type": {
2290
- "text": "AxisPositioningMode"
2153
+ "text": "ElementStyles | void | null"
2291
2154
  },
2292
2155
  "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",
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.",
2295
2157
  "inheritedFrom": {
2296
- "name": "AnchoredRegion",
2297
- "module": "src/anchored-region/anchored-region.ts"
2158
+ "name": "Anchor",
2159
+ "module": "src/anchor/anchor.ts"
2298
2160
  }
2299
2161
  },
2300
2162
  {
2301
2163
  "kind": "method",
2302
- "name": "verticalPositioningModeChanged",
2303
- "privacy": "private",
2164
+ "name": "stylesChanged",
2165
+ "privacy": "protected",
2304
2166
  "return": {
2305
2167
  "type": {
2306
2168
  "text": "void"
2307
2169
  }
2308
2170
  },
2309
2171
  "inheritedFrom": {
2310
- "name": "AnchoredRegion",
2311
- "module": "src/anchored-region/anchored-region.ts"
2312
- }
2313
- },
2314
- {
2315
- "kind": "field",
2316
- "name": "verticalDefaultPosition",
2317
- "type": {
2318
- "text": "VerticalPosition"
2319
- },
2320
- "privacy": "public",
2321
- "default": "\"unset\"",
2322
- "description": "The default vertical position of the region relative to the anchor element",
2323
- "inheritedFrom": {
2324
- "name": "AnchoredRegion",
2325
- "module": "src/anchored-region/anchored-region.ts"
2172
+ "name": "Anchor",
2173
+ "module": "src/anchor/anchor.ts"
2326
2174
  }
2327
2175
  },
2328
2176
  {
2329
2177
  "kind": "method",
2330
- "name": "verticalDefaultPositionChanged",
2331
- "privacy": "private",
2178
+ "name": "compose",
2179
+ "privacy": "public",
2180
+ "static": true,
2332
2181
  "return": {
2333
2182
  "type": {
2334
- "text": "void"
2183
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2335
2184
  }
2336
2185
  },
2337
- "inheritedFrom": {
2338
- "name": "AnchoredRegion",
2339
- "module": "src/anchored-region/anchored-region.ts"
2340
- }
2341
- },
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."
2199
+ }
2200
+ ],
2201
+ "description": "Defines an element registry function with a set of element definition defaults.",
2202
+ "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": [
2342
2333
  {
2343
- "kind": "field",
2344
- "name": "verticalViewportLock",
2334
+ "name": "context",
2345
2335
  "type": {
2346
- "text": "boolean"
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"
2376
+ }
2377
+ },
2378
+ {
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",
2415
+ "type": {
2416
+ "text": "string"
2347
2417
  },
2348
- "privacy": "public",
2349
- "default": "false",
2350
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2418
+ "default": "\"\"",
2419
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2420
+ "fieldName": "anchor",
2351
2421
  "inheritedFrom": {
2352
2422
  "name": "AnchoredRegion",
2353
2423
  "module": "src/anchored-region/anchored-region.ts"
2354
2424
  }
2355
2425
  },
2356
2426
  {
2357
- "kind": "method",
2358
- "name": "verticalViewportLockChanged",
2359
- "privacy": "private",
2360
- "return": {
2361
- "type": {
2362
- "text": "void"
2363
- }
2427
+ "name": "viewport",
2428
+ "type": {
2429
+ "text": "string"
2364
2430
  },
2431
+ "default": "\"\"",
2432
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2433
+ "fieldName": "viewport",
2365
2434
  "inheritedFrom": {
2366
2435
  "name": "AnchoredRegion",
2367
2436
  "module": "src/anchored-region/anchored-region.ts"
2368
2437
  }
2369
2438
  },
2370
2439
  {
2371
- "kind": "field",
2372
- "name": "verticalInset",
2440
+ "name": "horizontal-positioning-mode",
2441
+ "type": {
2442
+ "text": "AxisPositioningMode"
2443
+ },
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",
2447
+ "inheritedFrom": {
2448
+ "name": "AnchoredRegion",
2449
+ "module": "src/anchored-region/anchored-region.ts"
2450
+ }
2451
+ },
2452
+ {
2453
+ "name": "horizontal-default-position",
2454
+ "type": {
2455
+ "text": "HorizontalPosition"
2456
+ },
2457
+ "default": "\"unset\"",
2458
+ "description": "The default horizontal position of the region relative to the anchor element",
2459
+ "fieldName": "horizontalDefaultPosition",
2460
+ "inheritedFrom": {
2461
+ "name": "AnchoredRegion",
2462
+ "module": "src/anchored-region/anchored-region.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "name": "horizontal-viewport-lock",
2373
2467
  "type": {
2374
2468
  "text": "boolean"
2375
2469
  },
2376
- "privacy": "public",
2377
2470
  "default": "false",
2378
- "description": "Whether the region overlaps the anchor on the vertical axis",
2471
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2472
+ "fieldName": "horizontalViewportLock",
2379
2473
  "inheritedFrom": {
2380
2474
  "name": "AnchoredRegion",
2381
2475
  "module": "src/anchored-region/anchored-region.ts"
2382
2476
  }
2383
2477
  },
2384
2478
  {
2385
- "kind": "method",
2386
- "name": "verticalInsetChanged",
2387
- "privacy": "private",
2388
- "return": {
2389
- "type": {
2390
- "text": "void"
2391
- }
2479
+ "name": "horizontal-inset",
2480
+ "type": {
2481
+ "text": "boolean"
2392
2482
  },
2483
+ "default": "false",
2484
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2485
+ "fieldName": "horizontalInset",
2393
2486
  "inheritedFrom": {
2394
2487
  "name": "AnchoredRegion",
2395
2488
  "module": "src/anchored-region/anchored-region.ts"
2396
2489
  }
2397
2490
  },
2398
2491
  {
2399
- "kind": "field",
2400
- "name": "verticalThreshold",
2492
+ "name": "horizontal-threshold",
2401
2493
  "type": {
2402
2494
  "text": "number"
2403
2495
  },
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",
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",
2406
2498
  "inheritedFrom": {
2407
2499
  "name": "AnchoredRegion",
2408
2500
  "module": "src/anchored-region/anchored-region.ts"
2409
2501
  }
2410
2502
  },
2411
2503
  {
2412
- "kind": "method",
2413
- "name": "verticalThresholdChanged",
2414
- "privacy": "private",
2415
- "return": {
2416
- "type": {
2417
- "text": "void"
2418
- }
2504
+ "name": "horizontal-scaling",
2505
+ "type": {
2506
+ "text": "AxisScalingMode"
2419
2507
  },
2508
+ "default": "\"content\"",
2509
+ "description": "Defines how the width of the region is calculated",
2510
+ "fieldName": "horizontalScaling",
2420
2511
  "inheritedFrom": {
2421
2512
  "name": "AnchoredRegion",
2422
2513
  "module": "src/anchored-region/anchored-region.ts"
2423
2514
  }
2424
2515
  },
2425
2516
  {
2426
- "kind": "field",
2427
- "name": "verticalScaling",
2517
+ "name": "vertical-positioning-mode",
2428
2518
  "type": {
2429
- "text": "AxisScalingMode"
2519
+ "text": "AxisPositioningMode"
2430
2520
  },
2431
- "privacy": "public",
2432
- "default": "\"content\"",
2433
- "description": "Defines how the height of the region is calculated",
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",
2434
2524
  "inheritedFrom": {
2435
2525
  "name": "AnchoredRegion",
2436
2526
  "module": "src/anchored-region/anchored-region.ts"
2437
2527
  }
2438
2528
  },
2439
2529
  {
2440
- "kind": "method",
2441
- "name": "verticalScalingChanged",
2442
- "privacy": "private",
2443
- "return": {
2444
- "type": {
2445
- "text": "void"
2446
- }
2530
+ "name": "vertical-default-position",
2531
+ "type": {
2532
+ "text": "VerticalPosition"
2447
2533
  },
2534
+ "default": "\"unset\"",
2535
+ "description": "The default vertical position of the region relative to the anchor element",
2536
+ "fieldName": "verticalDefaultPosition",
2448
2537
  "inheritedFrom": {
2449
2538
  "name": "AnchoredRegion",
2450
2539
  "module": "src/anchored-region/anchored-region.ts"
2451
2540
  }
2452
2541
  },
2453
2542
  {
2454
- "kind": "field",
2455
- "name": "fixedPlacement",
2543
+ "name": "vertical-viewport-lock",
2456
2544
  "type": {
2457
2545
  "text": "boolean"
2458
2546
  },
2459
- "privacy": "public",
2460
2547
  "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,",
2548
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2549
+ "fieldName": "verticalViewportLock",
2462
2550
  "inheritedFrom": {
2463
2551
  "name": "AnchoredRegion",
2464
2552
  "module": "src/anchored-region/anchored-region.ts"
2465
2553
  }
2466
2554
  },
2467
2555
  {
2468
- "kind": "method",
2469
- "name": "fixedPlacementChanged",
2470
- "privacy": "private",
2471
- "return": {
2472
- "type": {
2473
- "text": "void"
2474
- }
2556
+ "name": "vertical-inset",
2557
+ "type": {
2558
+ "text": "boolean"
2475
2559
  },
2560
+ "default": "false",
2561
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2562
+ "fieldName": "verticalInset",
2476
2563
  "inheritedFrom": {
2477
2564
  "name": "AnchoredRegion",
2478
2565
  "module": "src/anchored-region/anchored-region.ts"
2479
2566
  }
2480
2567
  },
2481
2568
  {
2482
- "kind": "field",
2483
- "name": "autoUpdateMode",
2569
+ "name": "vertical-threshold",
2484
2570
  "type": {
2485
- "text": "AutoUpdateMode"
2571
+ "text": "number"
2486
2572
  },
2487
- "privacy": "public",
2488
- "default": "\"anchor\"",
2489
- "description": "Defines what triggers the anchored region to revaluate positioning",
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",
2490
2575
  "inheritedFrom": {
2491
2576
  "name": "AnchoredRegion",
2492
2577
  "module": "src/anchored-region/anchored-region.ts"
2493
2578
  }
2494
2579
  },
2495
2580
  {
2496
- "kind": "method",
2497
- "name": "autoUpdateModeChanged",
2498
- "privacy": "private",
2499
- "return": {
2500
- "type": {
2501
- "text": "void"
2502
- }
2581
+ "name": "vertical-scaling",
2582
+ "type": {
2583
+ "text": "AxisScalingMode"
2503
2584
  },
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
- ],
2585
+ "default": "\"content\"",
2586
+ "description": "Defines how the height of the region is calculated",
2587
+ "fieldName": "verticalScaling",
2588
+ "inheritedFrom": {
2589
+ "name": "AnchoredRegion",
2590
+ "module": "src/anchored-region/anchored-region.ts"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "fixed-placement",
2595
+ "type": {
2596
+ "text": "boolean"
2597
+ },
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",
2518
2601
  "inheritedFrom": {
2519
2602
  "name": "AnchoredRegion",
2520
2603
  "module": "src/anchored-region/anchored-region.ts"
2521
2604
  }
2522
2605
  },
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": [
2523
2621
  {
2524
2622
  "kind": "field",
2525
- "name": "anchorElement",
2623
+ "name": "anchor",
2526
2624
  "type": {
2527
- "text": "HTMLElement | null"
2625
+ "text": "string"
2528
2626
  },
2529
2627
  "privacy": "public",
2530
- "default": "null",
2531
- "description": "The HTML element being used as the anchor",
2628
+ "default": "\"\"",
2629
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2532
2630
  "inheritedFrom": {
2533
2631
  "name": "AnchoredRegion",
2534
2632
  "module": "src/anchored-region/anchored-region.ts"
@@ -2536,7 +2634,7 @@
2536
2634
  },
2537
2635
  {
2538
2636
  "kind": "method",
2539
- "name": "anchorElementChanged",
2637
+ "name": "anchorChanged",
2540
2638
  "privacy": "private",
2541
2639
  "return": {
2542
2640
  "type": {
@@ -2550,13 +2648,13 @@
2550
2648
  },
2551
2649
  {
2552
2650
  "kind": "field",
2553
- "name": "viewportElement",
2651
+ "name": "viewport",
2554
2652
  "type": {
2555
- "text": "HTMLElement | null"
2653
+ "text": "string"
2556
2654
  },
2557
2655
  "privacy": "public",
2558
- "default": "null",
2559
- "description": "The HTML element being used as the viewport",
2656
+ "default": "\"\"",
2657
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2560
2658
  "inheritedFrom": {
2561
2659
  "name": "AnchoredRegion",
2562
2660
  "module": "src/anchored-region/anchored-region.ts"
@@ -2564,7 +2662,7 @@
2564
2662
  },
2565
2663
  {
2566
2664
  "kind": "method",
2567
- "name": "viewportElementChanged",
2665
+ "name": "viewportChanged",
2568
2666
  "privacy": "private",
2569
2667
  "return": {
2570
2668
  "type": {
@@ -2578,25 +2676,27 @@
2578
2676
  },
2579
2677
  {
2580
2678
  "kind": "field",
2581
- "name": "verticalPosition",
2679
+ "name": "horizontalPositioningMode",
2582
2680
  "type": {
2583
- "text": "AnchoredRegionPositionLabel | undefined"
2681
+ "text": "AxisPositioningMode"
2584
2682
  },
2585
2683
  "privacy": "public",
2586
- "description": "indicates the current horizontal position of the region",
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",
2587
2686
  "inheritedFrom": {
2588
2687
  "name": "AnchoredRegion",
2589
2688
  "module": "src/anchored-region/anchored-region.ts"
2590
2689
  }
2591
2690
  },
2592
2691
  {
2593
- "kind": "field",
2594
- "name": "horizontalPosition",
2595
- "type": {
2596
- "text": "AnchoredRegionPositionLabel | undefined"
2692
+ "kind": "method",
2693
+ "name": "horizontalPositioningModeChanged",
2694
+ "privacy": "private",
2695
+ "return": {
2696
+ "type": {
2697
+ "text": "void"
2698
+ }
2597
2699
  },
2598
- "privacy": "public",
2599
- "description": "indicates the current vertical position of the region",
2600
2700
  "inheritedFrom": {
2601
2701
  "name": "AnchoredRegion",
2602
2702
  "module": "src/anchored-region/anchored-region.ts"
@@ -2604,24 +2704,27 @@
2604
2704
  },
2605
2705
  {
2606
2706
  "kind": "field",
2607
- "name": "translateX",
2707
+ "name": "horizontalDefaultPosition",
2608
2708
  "type": {
2609
- "text": "number"
2709
+ "text": "HorizontalPosition"
2610
2710
  },
2611
- "privacy": "private",
2612
- "description": "values to be applied to the component's transform on render",
2711
+ "privacy": "public",
2712
+ "default": "\"unset\"",
2713
+ "description": "The default horizontal position of the region relative to the anchor element",
2613
2714
  "inheritedFrom": {
2614
2715
  "name": "AnchoredRegion",
2615
2716
  "module": "src/anchored-region/anchored-region.ts"
2616
2717
  }
2617
2718
  },
2618
2719
  {
2619
- "kind": "field",
2620
- "name": "translateY",
2621
- "type": {
2622
- "text": "number"
2623
- },
2720
+ "kind": "method",
2721
+ "name": "horizontalDefaultPositionChanged",
2624
2722
  "privacy": "private",
2723
+ "return": {
2724
+ "type": {
2725
+ "text": "void"
2726
+ }
2727
+ },
2625
2728
  "inheritedFrom": {
2626
2729
  "name": "AnchoredRegion",
2627
2730
  "module": "src/anchored-region/anchored-region.ts"
@@ -2629,24 +2732,27 @@
2629
2732
  },
2630
2733
  {
2631
2734
  "kind": "field",
2632
- "name": "regionWidth",
2735
+ "name": "horizontalViewportLock",
2633
2736
  "type": {
2634
- "text": "string"
2737
+ "text": "boolean"
2635
2738
  },
2636
- "privacy": "private",
2637
- "description": "the span to be applied to the region on each axis",
2739
+ "privacy": "public",
2740
+ "default": "false",
2741
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2638
2742
  "inheritedFrom": {
2639
2743
  "name": "AnchoredRegion",
2640
2744
  "module": "src/anchored-region/anchored-region.ts"
2641
2745
  }
2642
2746
  },
2643
2747
  {
2644
- "kind": "field",
2645
- "name": "regionHeight",
2646
- "type": {
2647
- "text": "string"
2648
- },
2748
+ "kind": "method",
2749
+ "name": "horizontalViewportLockChanged",
2649
2750
  "privacy": "private",
2751
+ "return": {
2752
+ "type": {
2753
+ "text": "void"
2754
+ }
2755
+ },
2650
2756
  "inheritedFrom": {
2651
2757
  "name": "AnchoredRegion",
2652
2758
  "module": "src/anchored-region/anchored-region.ts"
@@ -2654,24 +2760,27 @@
2654
2760
  },
2655
2761
  {
2656
2762
  "kind": "field",
2657
- "name": "resizeDetector",
2763
+ "name": "horizontalInset",
2658
2764
  "type": {
2659
- "text": "ResizeObserverClassDefinition | null"
2765
+ "text": "boolean"
2660
2766
  },
2661
- "privacy": "private",
2662
- "default": "null",
2767
+ "privacy": "public",
2768
+ "default": "false",
2769
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2663
2770
  "inheritedFrom": {
2664
2771
  "name": "AnchoredRegion",
2665
2772
  "module": "src/anchored-region/anchored-region.ts"
2666
2773
  }
2667
2774
  },
2668
2775
  {
2669
- "kind": "field",
2670
- "name": "viewportRect",
2671
- "type": {
2672
- "text": "ClientRect | DOMRect | undefined"
2673
- },
2776
+ "kind": "method",
2777
+ "name": "horizontalInsetChanged",
2674
2778
  "privacy": "private",
2779
+ "return": {
2780
+ "type": {
2781
+ "text": "void"
2782
+ }
2783
+ },
2675
2784
  "inheritedFrom": {
2676
2785
  "name": "AnchoredRegion",
2677
2786
  "module": "src/anchored-region/anchored-region.ts"
@@ -2679,23 +2788,26 @@
2679
2788
  },
2680
2789
  {
2681
2790
  "kind": "field",
2682
- "name": "anchorRect",
2791
+ "name": "horizontalThreshold",
2683
2792
  "type": {
2684
- "text": "ClientRect | DOMRect | undefined"
2793
+ "text": "number"
2685
2794
  },
2686
- "privacy": "private",
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",
2687
2797
  "inheritedFrom": {
2688
2798
  "name": "AnchoredRegion",
2689
2799
  "module": "src/anchored-region/anchored-region.ts"
2690
2800
  }
2691
2801
  },
2692
2802
  {
2693
- "kind": "field",
2694
- "name": "regionRect",
2695
- "type": {
2696
- "text": "ClientRect | DOMRect | undefined"
2697
- },
2803
+ "kind": "method",
2804
+ "name": "horizontalThresholdChanged",
2698
2805
  "privacy": "private",
2806
+ "return": {
2807
+ "type": {
2808
+ "text": "void"
2809
+ }
2810
+ },
2699
2811
  "inheritedFrom": {
2700
2812
  "name": "AnchoredRegion",
2701
2813
  "module": "src/anchored-region/anchored-region.ts"
@@ -2703,26 +2815,27 @@
2703
2815
  },
2704
2816
  {
2705
2817
  "kind": "field",
2706
- "name": "baseHorizontalOffset",
2818
+ "name": "horizontalScaling",
2707
2819
  "type": {
2708
- "text": "number"
2820
+ "text": "AxisScalingMode"
2709
2821
  },
2710
- "privacy": "private",
2711
- "default": "0",
2712
- "description": "base offsets between the positioner's base position and the anchor's",
2822
+ "privacy": "public",
2823
+ "default": "\"content\"",
2824
+ "description": "Defines how the width of the region is calculated",
2713
2825
  "inheritedFrom": {
2714
2826
  "name": "AnchoredRegion",
2715
2827
  "module": "src/anchored-region/anchored-region.ts"
2716
2828
  }
2717
2829
  },
2718
2830
  {
2719
- "kind": "field",
2720
- "name": "baseVerticalOffset",
2721
- "type": {
2722
- "text": "number"
2723
- },
2831
+ "kind": "method",
2832
+ "name": "horizontalScalingChanged",
2724
2833
  "privacy": "private",
2725
- "default": "0",
2834
+ "return": {
2835
+ "type": {
2836
+ "text": "void"
2837
+ }
2838
+ },
2726
2839
  "inheritedFrom": {
2727
2840
  "name": "AnchoredRegion",
2728
2841
  "module": "src/anchored-region/anchored-region.ts"
@@ -2730,25 +2843,27 @@
2730
2843
  },
2731
2844
  {
2732
2845
  "kind": "field",
2733
- "name": "pendingPositioningUpdate",
2846
+ "name": "verticalPositioningMode",
2734
2847
  "type": {
2735
- "text": "boolean"
2848
+ "text": "AxisPositioningMode"
2736
2849
  },
2737
- "privacy": "private",
2738
- "default": "false",
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",
2739
2853
  "inheritedFrom": {
2740
2854
  "name": "AnchoredRegion",
2741
2855
  "module": "src/anchored-region/anchored-region.ts"
2742
2856
  }
2743
2857
  },
2744
2858
  {
2745
- "kind": "field",
2746
- "name": "pendingReset",
2747
- "type": {
2748
- "text": "boolean"
2749
- },
2859
+ "kind": "method",
2860
+ "name": "verticalPositioningModeChanged",
2750
2861
  "privacy": "private",
2751
- "default": "false",
2862
+ "return": {
2863
+ "type": {
2864
+ "text": "void"
2865
+ }
2866
+ },
2752
2867
  "inheritedFrom": {
2753
2868
  "name": "AnchoredRegion",
2754
2869
  "module": "src/anchored-region/anchored-region.ts"
@@ -2756,24 +2871,27 @@
2756
2871
  },
2757
2872
  {
2758
2873
  "kind": "field",
2759
- "name": "currentDirection",
2874
+ "name": "verticalDefaultPosition",
2760
2875
  "type": {
2761
- "text": "Direction"
2876
+ "text": "VerticalPosition"
2762
2877
  },
2763
- "privacy": "private",
2878
+ "privacy": "public",
2879
+ "default": "\"unset\"",
2880
+ "description": "The default vertical position of the region relative to the anchor element",
2764
2881
  "inheritedFrom": {
2765
2882
  "name": "AnchoredRegion",
2766
2883
  "module": "src/anchored-region/anchored-region.ts"
2767
2884
  }
2768
2885
  },
2769
2886
  {
2770
- "kind": "field",
2771
- "name": "regionVisible",
2772
- "type": {
2773
- "text": "boolean"
2774
- },
2887
+ "kind": "method",
2888
+ "name": "verticalDefaultPositionChanged",
2775
2889
  "privacy": "private",
2776
- "default": "false",
2890
+ "return": {
2891
+ "type": {
2892
+ "text": "void"
2893
+ }
2894
+ },
2777
2895
  "inheritedFrom": {
2778
2896
  "name": "AnchoredRegion",
2779
2897
  "module": "src/anchored-region/anchored-region.ts"
@@ -2781,25 +2899,27 @@
2781
2899
  },
2782
2900
  {
2783
2901
  "kind": "field",
2784
- "name": "forceUpdate",
2902
+ "name": "verticalViewportLock",
2785
2903
  "type": {
2786
2904
  "text": "boolean"
2787
2905
  },
2788
- "privacy": "private",
2906
+ "privacy": "public",
2789
2907
  "default": "false",
2908
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2790
2909
  "inheritedFrom": {
2791
2910
  "name": "AnchoredRegion",
2792
2911
  "module": "src/anchored-region/anchored-region.ts"
2793
2912
  }
2794
2913
  },
2795
2914
  {
2796
- "kind": "field",
2797
- "name": "updateThreshold",
2798
- "type": {
2799
- "text": "number"
2800
- },
2915
+ "kind": "method",
2916
+ "name": "verticalViewportLockChanged",
2801
2917
  "privacy": "private",
2802
- "default": "0.5",
2918
+ "return": {
2919
+ "type": {
2920
+ "text": "void"
2921
+ }
2922
+ },
2803
2923
  "inheritedFrom": {
2804
2924
  "name": "AnchoredRegion",
2805
2925
  "module": "src/anchored-region/anchored-region.ts"
@@ -2807,13 +2927,27 @@
2807
2927
  },
2808
2928
  {
2809
2929
  "kind": "field",
2810
- "name": "intersectionService",
2930
+ "name": "verticalInset",
2811
2931
  "type": {
2812
- "text": "IntersectionService"
2932
+ "text": "boolean"
2813
2933
  },
2934
+ "privacy": "public",
2935
+ "default": "false",
2936
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2937
+ "inheritedFrom": {
2938
+ "name": "AnchoredRegion",
2939
+ "module": "src/anchored-region/anchored-region.ts"
2940
+ }
2941
+ },
2942
+ {
2943
+ "kind": "method",
2944
+ "name": "verticalInsetChanged",
2814
2945
  "privacy": "private",
2815
- "static": true,
2816
- "default": "new IntersectionService()",
2946
+ "return": {
2947
+ "type": {
2948
+ "text": "void"
2949
+ }
2950
+ },
2817
2951
  "inheritedFrom": {
2818
2952
  "name": "AnchoredRegion",
2819
2953
  "module": "src/anchored-region/anchored-region.ts"
@@ -2821,9 +2955,12 @@
2821
2955
  },
2822
2956
  {
2823
2957
  "kind": "field",
2824
- "name": "update",
2958
+ "name": "verticalThreshold",
2959
+ "type": {
2960
+ "text": "number"
2961
+ },
2825
2962
  "privacy": "public",
2826
- "description": "update position",
2963
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2827
2964
  "inheritedFrom": {
2828
2965
  "name": "AnchoredRegion",
2829
2966
  "module": "src/anchored-region/anchored-region.ts"
@@ -2831,29 +2968,27 @@
2831
2968
  },
2832
2969
  {
2833
2970
  "kind": "method",
2834
- "name": "disconnectResizeDetector",
2971
+ "name": "verticalThresholdChanged",
2835
2972
  "privacy": "private",
2836
2973
  "return": {
2837
2974
  "type": {
2838
2975
  "text": "void"
2839
2976
  }
2840
2977
  },
2841
- "description": "destroys the instance's resize observer",
2842
2978
  "inheritedFrom": {
2843
2979
  "name": "AnchoredRegion",
2844
2980
  "module": "src/anchored-region/anchored-region.ts"
2845
2981
  }
2846
2982
  },
2847
2983
  {
2848
- "kind": "method",
2849
- "name": "initializeResizeDetector",
2850
- "privacy": "private",
2851
- "return": {
2852
- "type": {
2853
- "text": "void"
2854
- }
2984
+ "kind": "field",
2985
+ "name": "verticalScaling",
2986
+ "type": {
2987
+ "text": "AxisScalingMode"
2855
2988
  },
2856
- "description": "initializes the instance's resize observer",
2989
+ "privacy": "public",
2990
+ "default": "\"content\"",
2991
+ "description": "Defines how the height of the region is calculated",
2857
2992
  "inheritedFrom": {
2858
2993
  "name": "AnchoredRegion",
2859
2994
  "module": "src/anchored-region/anchored-region.ts"
@@ -2861,29 +2996,27 @@
2861
2996
  },
2862
2997
  {
2863
2998
  "kind": "method",
2864
- "name": "updateForAttributeChange",
2999
+ "name": "verticalScalingChanged",
2865
3000
  "privacy": "private",
2866
3001
  "return": {
2867
3002
  "type": {
2868
3003
  "text": "void"
2869
3004
  }
2870
3005
  },
2871
- "description": "react to attribute changes that don't require a reset",
2872
3006
  "inheritedFrom": {
2873
3007
  "name": "AnchoredRegion",
2874
3008
  "module": "src/anchored-region/anchored-region.ts"
2875
3009
  }
2876
3010
  },
2877
3011
  {
2878
- "kind": "method",
2879
- "name": "initialize",
2880
- "privacy": "private",
2881
- "return": {
2882
- "type": {
2883
- "text": "void"
2884
- }
3012
+ "kind": "field",
3013
+ "name": "fixedPlacement",
3014
+ "type": {
3015
+ "text": "boolean"
2885
3016
  },
2886
- "description": "fully initializes the component",
3017
+ "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,",
2887
3020
  "inheritedFrom": {
2888
3021
  "name": "AnchoredRegion",
2889
3022
  "module": "src/anchored-region/anchored-region.ts"
@@ -2891,14 +3024,27 @@
2891
3024
  },
2892
3025
  {
2893
3026
  "kind": "method",
2894
- "name": "requestReset",
3027
+ "name": "fixedPlacementChanged",
2895
3028
  "privacy": "private",
2896
3029
  "return": {
2897
3030
  "type": {
2898
3031
  "text": "void"
2899
3032
  }
2900
3033
  },
2901
- "description": "Request a reset if there are currently no open requests",
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",
2902
3048
  "inheritedFrom": {
2903
3049
  "name": "AnchoredRegion",
2904
3050
  "module": "src/anchored-region/anchored-region.ts"
@@ -2906,14 +3052,27 @@
2906
3052
  },
2907
3053
  {
2908
3054
  "kind": "method",
2909
- "name": "setInitialState",
3055
+ "name": "autoUpdateModeChanged",
2910
3056
  "privacy": "private",
2911
3057
  "return": {
2912
3058
  "type": {
2913
3059
  "text": "void"
2914
3060
  }
2915
3061
  },
2916
- "description": "sets the starting configuration for component internal values",
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
+ ],
2917
3076
  "inheritedFrom": {
2918
3077
  "name": "AnchoredRegion",
2919
3078
  "module": "src/anchored-region/anchored-region.ts"
@@ -2921,19 +3080,27 @@
2921
3080
  },
2922
3081
  {
2923
3082
  "kind": "field",
2924
- "name": "startObservers",
2925
- "privacy": "private",
2926
- "description": "starts observers",
3083
+ "name": "anchorElement",
3084
+ "type": {
3085
+ "text": "HTMLElement | null"
3086
+ },
3087
+ "privacy": "public",
3088
+ "default": "null",
3089
+ "description": "The HTML element being used as the anchor",
2927
3090
  "inheritedFrom": {
2928
3091
  "name": "AnchoredRegion",
2929
3092
  "module": "src/anchored-region/anchored-region.ts"
2930
3093
  }
2931
3094
  },
2932
3095
  {
2933
- "kind": "field",
2934
- "name": "requestPositionUpdates",
3096
+ "kind": "method",
3097
+ "name": "anchorElementChanged",
2935
3098
  "privacy": "private",
2936
- "description": "get position updates",
3099
+ "return": {
3100
+ "type": {
3101
+ "text": "void"
3102
+ }
3103
+ },
2937
3104
  "inheritedFrom": {
2938
3105
  "name": "AnchoredRegion",
2939
3106
  "module": "src/anchored-region/anchored-region.ts"
@@ -2941,19 +3108,27 @@
2941
3108
  },
2942
3109
  {
2943
3110
  "kind": "field",
2944
- "name": "stopObservers",
2945
- "privacy": "private",
2946
- "description": "stops observers",
3111
+ "name": "viewportElement",
3112
+ "type": {
3113
+ "text": "HTMLElement | null"
3114
+ },
3115
+ "privacy": "public",
3116
+ "default": "null",
3117
+ "description": "The HTML element being used as the viewport",
2947
3118
  "inheritedFrom": {
2948
3119
  "name": "AnchoredRegion",
2949
3120
  "module": "src/anchored-region/anchored-region.ts"
2950
3121
  }
2951
3122
  },
2952
3123
  {
2953
- "kind": "field",
2954
- "name": "getViewport",
3124
+ "kind": "method",
3125
+ "name": "viewportElementChanged",
2955
3126
  "privacy": "private",
2956
- "description": "Gets the viewport element by id, or defaults to document root",
3127
+ "return": {
3128
+ "type": {
3129
+ "text": "void"
3130
+ }
3131
+ },
2957
3132
  "inheritedFrom": {
2958
3133
  "name": "AnchoredRegion",
2959
3134
  "module": "src/anchored-region/anchored-region.ts"
@@ -2961,9 +3136,12 @@
2961
3136
  },
2962
3137
  {
2963
3138
  "kind": "field",
2964
- "name": "getAnchor",
2965
- "privacy": "private",
2966
- "description": "Gets the anchor element by id",
3139
+ "name": "verticalPosition",
3140
+ "type": {
3141
+ "text": "AnchoredRegionPositionLabel | undefined"
3142
+ },
3143
+ "privacy": "public",
3144
+ "description": "indicates the current horizontal position of the region",
2967
3145
  "inheritedFrom": {
2968
3146
  "name": "AnchoredRegion",
2969
3147
  "module": "src/anchored-region/anchored-region.ts"
@@ -2971,9 +3149,12 @@
2971
3149
  },
2972
3150
  {
2973
3151
  "kind": "field",
2974
- "name": "handleIntersection",
2975
- "privacy": "private",
2976
- "description": "Handle intersections",
3152
+ "name": "horizontalPosition",
3153
+ "type": {
3154
+ "text": "AnchoredRegionPositionLabel | undefined"
3155
+ },
3156
+ "privacy": "public",
3157
+ "description": "indicates the current vertical position of the region",
2977
3158
  "inheritedFrom": {
2978
3159
  "name": "AnchoredRegion",
2979
3160
  "module": "src/anchored-region/anchored-region.ts"
@@ -2981,9 +3162,12 @@
2981
3162
  },
2982
3163
  {
2983
3164
  "kind": "field",
2984
- "name": "applyIntersectionEntries",
3165
+ "name": "translateX",
3166
+ "type": {
3167
+ "text": "number"
3168
+ },
2985
3169
  "privacy": "private",
2986
- "description": "iterate through intersection entries and apply data",
3170
+ "description": "values to be applied to the component's transform on render",
2987
3171
  "inheritedFrom": {
2988
3172
  "name": "AnchoredRegion",
2989
3173
  "module": "src/anchored-region/anchored-region.ts"
@@ -2991,9 +3175,11 @@
2991
3175
  },
2992
3176
  {
2993
3177
  "kind": "field",
2994
- "name": "updateRegionOffset",
3178
+ "name": "translateY",
3179
+ "type": {
3180
+ "text": "number"
3181
+ },
2995
3182
  "privacy": "private",
2996
- "description": "Update the offset values",
2997
3183
  "inheritedFrom": {
2998
3184
  "name": "AnchoredRegion",
2999
3185
  "module": "src/anchored-region/anchored-region.ts"
@@ -3001,9 +3187,12 @@
3001
3187
  },
3002
3188
  {
3003
3189
  "kind": "field",
3004
- "name": "isRectDifferent",
3190
+ "name": "regionWidth",
3191
+ "type": {
3192
+ "text": "string"
3193
+ },
3005
3194
  "privacy": "private",
3006
- "description": "compare rects to see if there is enough change to justify a DOM update",
3195
+ "description": "the span to be applied to the region on each axis",
3007
3196
  "inheritedFrom": {
3008
3197
  "name": "AnchoredRegion",
3009
3198
  "module": "src/anchored-region/anchored-region.ts"
@@ -3011,9 +3200,11 @@
3011
3200
  },
3012
3201
  {
3013
3202
  "kind": "field",
3014
- "name": "handleResize",
3203
+ "name": "regionHeight",
3204
+ "type": {
3205
+ "text": "string"
3206
+ },
3015
3207
  "privacy": "private",
3016
- "description": "Handle resize events",
3017
3208
  "inheritedFrom": {
3018
3209
  "name": "AnchoredRegion",
3019
3210
  "module": "src/anchored-region/anchored-region.ts"
@@ -3021,9 +3212,12 @@
3021
3212
  },
3022
3213
  {
3023
3214
  "kind": "field",
3024
- "name": "reset",
3215
+ "name": "resizeDetector",
3216
+ "type": {
3217
+ "text": "ResizeObserverClassDefinition | null"
3218
+ },
3025
3219
  "privacy": "private",
3026
- "description": "resets the component",
3220
+ "default": "null",
3027
3221
  "inheritedFrom": {
3028
3222
  "name": "AnchoredRegion",
3029
3223
  "module": "src/anchored-region/anchored-region.ts"
@@ -3031,9 +3225,11 @@
3031
3225
  },
3032
3226
  {
3033
3227
  "kind": "field",
3034
- "name": "updateLayout",
3228
+ "name": "viewportRect",
3229
+ "type": {
3230
+ "text": "ClientRect | DOMRect | undefined"
3231
+ },
3035
3232
  "privacy": "private",
3036
- "description": "Recalculate layout related state values",
3037
3233
  "inheritedFrom": {
3038
3234
  "name": "AnchoredRegion",
3039
3235
  "module": "src/anchored-region/anchored-region.ts"
@@ -3041,9 +3237,11 @@
3041
3237
  },
3042
3238
  {
3043
3239
  "kind": "field",
3044
- "name": "updateRegionStyle",
3240
+ "name": "anchorRect",
3241
+ "type": {
3242
+ "text": "ClientRect | DOMRect | undefined"
3243
+ },
3045
3244
  "privacy": "private",
3046
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3047
3245
  "inheritedFrom": {
3048
3246
  "name": "AnchoredRegion",
3049
3247
  "module": "src/anchored-region/anchored-region.ts"
@@ -3051,9 +3249,11 @@
3051
3249
  },
3052
3250
  {
3053
3251
  "kind": "field",
3054
- "name": "updatePositionClasses",
3252
+ "name": "regionRect",
3253
+ "type": {
3254
+ "text": "ClientRect | DOMRect | undefined"
3255
+ },
3055
3256
  "privacy": "private",
3056
- "description": "Updates the css classes that reflect the current position of the element",
3057
3257
  "inheritedFrom": {
3058
3258
  "name": "AnchoredRegion",
3059
3259
  "module": "src/anchored-region/anchored-region.ts"
@@ -3061,9 +3261,13 @@
3061
3261
  },
3062
3262
  {
3063
3263
  "kind": "field",
3064
- "name": "setHorizontalPosition",
3264
+ "name": "baseHorizontalOffset",
3265
+ "type": {
3266
+ "text": "number"
3267
+ },
3065
3268
  "privacy": "private",
3066
- "description": "Get horizontal positioning state based on desired position",
3269
+ "default": "0",
3270
+ "description": "base offsets between the positioner's base position and the anchor's",
3067
3271
  "inheritedFrom": {
3068
3272
  "name": "AnchoredRegion",
3069
3273
  "module": "src/anchored-region/anchored-region.ts"
@@ -3071,9 +3275,12 @@
3071
3275
  },
3072
3276
  {
3073
3277
  "kind": "field",
3074
- "name": "setVerticalPosition",
3278
+ "name": "baseVerticalOffset",
3279
+ "type": {
3280
+ "text": "number"
3281
+ },
3075
3282
  "privacy": "private",
3076
- "description": "Set vertical positioning state based on desired position",
3283
+ "default": "0",
3077
3284
  "inheritedFrom": {
3078
3285
  "name": "AnchoredRegion",
3079
3286
  "module": "src/anchored-region/anchored-region.ts"
@@ -3081,9 +3288,12 @@
3081
3288
  },
3082
3289
  {
3083
3290
  "kind": "field",
3084
- "name": "getPositioningOptions",
3291
+ "name": "pendingPositioningUpdate",
3292
+ "type": {
3293
+ "text": "boolean"
3294
+ },
3085
3295
  "privacy": "private",
3086
- "description": "Get available positions based on positioning mode",
3296
+ "default": "false",
3087
3297
  "inheritedFrom": {
3088
3298
  "name": "AnchoredRegion",
3089
3299
  "module": "src/anchored-region/anchored-region.ts"
@@ -3091,9 +3301,12 @@
3091
3301
  },
3092
3302
  {
3093
3303
  "kind": "field",
3094
- "name": "getAvailableSpace",
3304
+ "name": "pendingReset",
3305
+ "type": {
3306
+ "text": "boolean"
3307
+ },
3095
3308
  "privacy": "private",
3096
- "description": "Get the space available for a particular relative position",
3309
+ "default": "false",
3097
3310
  "inheritedFrom": {
3098
3311
  "name": "AnchoredRegion",
3099
3312
  "module": "src/anchored-region/anchored-region.ts"
@@ -3101,9 +3314,11 @@
3101
3314
  },
3102
3315
  {
3103
3316
  "kind": "field",
3104
- "name": "getNextRegionDimension",
3317
+ "name": "currentDirection",
3318
+ "type": {
3319
+ "text": "Direction"
3320
+ },
3105
3321
  "privacy": "private",
3106
- "description": "Get region dimensions",
3107
3322
  "inheritedFrom": {
3108
3323
  "name": "AnchoredRegion",
3109
3324
  "module": "src/anchored-region/anchored-region.ts"
@@ -3111,9 +3326,12 @@
3111
3326
  },
3112
3327
  {
3113
3328
  "kind": "field",
3114
- "name": "startAutoUpdateEventListeners",
3329
+ "name": "regionVisible",
3330
+ "type": {
3331
+ "text": "boolean"
3332
+ },
3115
3333
  "privacy": "private",
3116
- "description": "starts event listeners that can trigger auto updating",
3334
+ "default": "false",
3117
3335
  "inheritedFrom": {
3118
3336
  "name": "AnchoredRegion",
3119
3337
  "module": "src/anchored-region/anchored-region.ts"
@@ -3121,9 +3339,12 @@
3121
3339
  },
3122
3340
  {
3123
3341
  "kind": "field",
3124
- "name": "stopAutoUpdateEventListeners",
3342
+ "name": "forceUpdate",
3343
+ "type": {
3344
+ "text": "boolean"
3345
+ },
3125
3346
  "privacy": "private",
3126
- "description": "stops event listeners that can trigger auto updating",
3347
+ "default": "false",
3127
3348
  "inheritedFrom": {
3128
3349
  "name": "AnchoredRegion",
3129
3350
  "module": "src/anchored-region/anchored-region.ts"
@@ -3131,12 +3352,12 @@
3131
3352
  },
3132
3353
  {
3133
3354
  "kind": "field",
3134
- "name": "_presentation",
3355
+ "name": "updateThreshold",
3135
3356
  "type": {
3136
- "text": "ComponentPresentation | null | undefined"
3357
+ "text": "number"
3137
3358
  },
3138
3359
  "privacy": "private",
3139
- "default": "void 0",
3360
+ "default": "0.5",
3140
3361
  "inheritedFrom": {
3141
3362
  "name": "AnchoredRegion",
3142
3363
  "module": "src/anchored-region/anchored-region.ts"
@@ -3144,12 +3365,13 @@
3144
3365
  },
3145
3366
  {
3146
3367
  "kind": "field",
3147
- "name": "$presentation",
3368
+ "name": "intersectionService",
3148
3369
  "type": {
3149
- "text": "ComponentPresentation | null"
3370
+ "text": "IntersectionService"
3150
3371
  },
3151
- "privacy": "public",
3152
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3372
+ "privacy": "private",
3373
+ "static": true,
3374
+ "default": "new IntersectionService()",
3153
3375
  "inheritedFrom": {
3154
3376
  "name": "AnchoredRegion",
3155
3377
  "module": "src/anchored-region/anchored-region.ts"
@@ -3157,12 +3379,9 @@
3157
3379
  },
3158
3380
  {
3159
3381
  "kind": "field",
3160
- "name": "template",
3161
- "type": {
3162
- "text": "ElementViewTemplate | void | null"
3163
- },
3382
+ "name": "update",
3164
3383
  "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.",
3384
+ "description": "update position",
3166
3385
  "inheritedFrom": {
3167
3386
  "name": "AnchoredRegion",
3168
3387
  "module": "src/anchored-region/anchored-region.ts"
@@ -3170,26 +3389,29 @@
3170
3389
  },
3171
3390
  {
3172
3391
  "kind": "method",
3173
- "name": "templateChanged",
3174
- "privacy": "protected",
3392
+ "name": "disconnectResizeDetector",
3393
+ "privacy": "private",
3175
3394
  "return": {
3176
3395
  "type": {
3177
3396
  "text": "void"
3178
3397
  }
3179
3398
  },
3399
+ "description": "destroys the instance's resize observer",
3180
3400
  "inheritedFrom": {
3181
3401
  "name": "AnchoredRegion",
3182
3402
  "module": "src/anchored-region/anchored-region.ts"
3183
3403
  }
3184
3404
  },
3185
3405
  {
3186
- "kind": "field",
3187
- "name": "styles",
3188
- "type": {
3189
- "text": "ElementStyles | void | null"
3406
+ "kind": "method",
3407
+ "name": "initializeResizeDetector",
3408
+ "privacy": "private",
3409
+ "return": {
3410
+ "type": {
3411
+ "text": "void"
3412
+ }
3190
3413
  },
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.",
3414
+ "description": "initializes the instance's resize observer",
3193
3415
  "inheritedFrom": {
3194
3416
  "name": "AnchoredRegion",
3195
3417
  "module": "src/anchored-region/anchored-region.ts"
@@ -3197,13 +3419,14 @@
3197
3419
  },
3198
3420
  {
3199
3421
  "kind": "method",
3200
- "name": "stylesChanged",
3201
- "privacy": "protected",
3422
+ "name": "updateForAttributeChange",
3423
+ "privacy": "private",
3202
3424
  "return": {
3203
3425
  "type": {
3204
3426
  "text": "void"
3205
3427
  }
3206
3428
  },
3429
+ "description": "react to attribute changes that don't require a reset",
3207
3430
  "inheritedFrom": {
3208
3431
  "name": "AnchoredRegion",
3209
3432
  "module": "src/anchored-region/anchored-region.ts"
@@ -3211,498 +3434,257 @@
3211
3434
  },
3212
3435
  {
3213
3436
  "kind": "method",
3214
- "name": "compose",
3215
- "privacy": "public",
3216
- "static": true,
3437
+ "name": "initialize",
3438
+ "privacy": "private",
3217
3439
  "return": {
3218
3440
  "type": {
3219
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3441
+ "text": "void"
3220
3442
  }
3221
3443
  },
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.",
3444
+ "description": "fully initializes the component",
3238
3445
  "inheritedFrom": {
3239
3446
  "name": "AnchoredRegion",
3240
3447
  "module": "src/anchored-region/anchored-region.ts"
3241
3448
  }
3242
- }
3243
- ],
3244
- "events": [
3449
+ },
3245
3450
  {
3246
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3247
- "name": "loaded",
3451
+ "kind": "method",
3452
+ "name": "requestReset",
3453
+ "privacy": "private",
3454
+ "return": {
3455
+ "type": {
3456
+ "text": "void"
3457
+ }
3458
+ },
3459
+ "description": "Request a reset if there are currently no open requests",
3248
3460
  "inheritedFrom": {
3249
3461
  "name": "AnchoredRegion",
3250
3462
  "module": "src/anchored-region/anchored-region.ts"
3251
3463
  }
3252
3464
  },
3253
3465
  {
3254
- "description": "Fires a custom 'positionchange' event when the position has changed",
3255
- "name": "positionchange",
3466
+ "kind": "method",
3467
+ "name": "setInitialState",
3468
+ "privacy": "private",
3469
+ "return": {
3470
+ "type": {
3471
+ "text": "void"
3472
+ }
3473
+ },
3474
+ "description": "sets the starting configuration for component internal values",
3256
3475
  "inheritedFrom": {
3257
3476
  "name": "AnchoredRegion",
3258
3477
  "module": "src/anchored-region/anchored-region.ts"
3259
3478
  }
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
- }
3408
3479
  },
3409
3480
  {
3410
- "name": "definition",
3411
- "type": {
3412
- "text": "FoundationElementDefinition"
3481
+ "kind": "field",
3482
+ "name": "startObservers",
3483
+ "privacy": "private",
3484
+ "description": "starts observers",
3485
+ "inheritedFrom": {
3486
+ "name": "AnchoredRegion",
3487
+ "module": "src/anchored-region/anchored-region.ts"
3413
3488
  }
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": [
3489
+ },
3442
3490
  {
3443
- "name": "context",
3444
- "type": {
3445
- "text": "ElementDefinitionContext"
3491
+ "kind": "field",
3492
+ "name": "requestPositionUpdates",
3493
+ "privacy": "private",
3494
+ "description": "get position updates",
3495
+ "inheritedFrom": {
3496
+ "name": "AnchoredRegion",
3497
+ "module": "src/anchored-region/anchored-region.ts"
3446
3498
  }
3447
3499
  },
3448
3500
  {
3449
- "name": "definition",
3450
- "type": {
3451
- "text": "FoundationElementDefinition"
3501
+ "kind": "field",
3502
+ "name": "stopObservers",
3503
+ "privacy": "private",
3504
+ "description": "stops observers",
3505
+ "inheritedFrom": {
3506
+ "name": "AnchoredRegion",
3507
+ "module": "src/anchored-region/anchored-region.ts"
3452
3508
  }
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": [
3509
+ },
3483
3510
  {
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",
3511
+ "kind": "field",
3512
+ "name": "getViewport",
3513
+ "privacy": "private",
3514
+ "description": "Gets the viewport element by id, or defaults to document root",
3490
3515
  "inheritedFrom": {
3491
- "name": "Anchor",
3492
- "module": "src/anchor/anchor.ts"
3516
+ "name": "AnchoredRegion",
3517
+ "module": "src/anchored-region/anchored-region.ts"
3493
3518
  }
3494
3519
  },
3495
3520
  {
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",
3521
+ "kind": "field",
3522
+ "name": "getAnchor",
3523
+ "privacy": "private",
3524
+ "description": "Gets the anchor element by id",
3502
3525
  "inheritedFrom": {
3503
- "name": "Anchor",
3504
- "module": "src/anchor/anchor.ts"
3526
+ "name": "AnchoredRegion",
3527
+ "module": "src/anchored-region/anchored-region.ts"
3505
3528
  }
3506
3529
  },
3507
3530
  {
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",
3531
+ "kind": "field",
3532
+ "name": "handleIntersection",
3533
+ "privacy": "private",
3534
+ "description": "Handle intersections",
3514
3535
  "inheritedFrom": {
3515
- "name": "Anchor",
3516
- "module": "src/anchor/anchor.ts"
3536
+ "name": "AnchoredRegion",
3537
+ "module": "src/anchored-region/anchored-region.ts"
3517
3538
  }
3518
3539
  },
3519
3540
  {
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",
3541
+ "kind": "field",
3542
+ "name": "applyIntersectionEntries",
3543
+ "privacy": "private",
3544
+ "description": "iterate through intersection entries and apply data",
3526
3545
  "inheritedFrom": {
3527
- "name": "Anchor",
3528
- "module": "src/anchor/anchor.ts"
3546
+ "name": "AnchoredRegion",
3547
+ "module": "src/anchored-region/anchored-region.ts"
3529
3548
  }
3530
3549
  },
3531
3550
  {
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",
3551
+ "kind": "field",
3552
+ "name": "updateRegionOffset",
3553
+ "privacy": "private",
3554
+ "description": "Update the offset values",
3538
3555
  "inheritedFrom": {
3539
- "name": "Anchor",
3540
- "module": "src/anchor/anchor.ts"
3556
+ "name": "AnchoredRegion",
3557
+ "module": "src/anchored-region/anchored-region.ts"
3541
3558
  }
3542
3559
  },
3543
3560
  {
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",
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",
3550
3565
  "inheritedFrom": {
3551
- "name": "Anchor",
3552
- "module": "src/anchor/anchor.ts"
3566
+ "name": "AnchoredRegion",
3567
+ "module": "src/anchored-region/anchored-region.ts"
3553
3568
  }
3554
3569
  },
3555
3570
  {
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",
3571
+ "kind": "field",
3572
+ "name": "handleResize",
3573
+ "privacy": "private",
3574
+ "description": "Handle resize events",
3562
3575
  "inheritedFrom": {
3563
- "name": "Anchor",
3564
- "module": "src/anchor/anchor.ts"
3576
+ "name": "AnchoredRegion",
3577
+ "module": "src/anchored-region/anchored-region.ts"
3565
3578
  }
3566
3579
  },
3567
3580
  {
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",
3581
+ "kind": "field",
3582
+ "name": "reset",
3583
+ "privacy": "private",
3584
+ "description": "resets the component",
3574
3585
  "inheritedFrom": {
3575
- "name": "Anchor",
3576
- "module": "src/anchor/anchor.ts"
3586
+ "name": "AnchoredRegion",
3587
+ "module": "src/anchored-region/anchored-region.ts"
3577
3588
  }
3578
- }
3579
- ],
3580
- "members": [
3589
+ },
3581
3590
  {
3582
3591
  "kind": "field",
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.",
3592
+ "name": "updateLayout",
3593
+ "privacy": "private",
3594
+ "description": "Recalculate layout related state values",
3589
3595
  "inheritedFrom": {
3590
- "name": "Anchor",
3591
- "module": "src/anchor/anchor.ts"
3596
+ "name": "AnchoredRegion",
3597
+ "module": "src/anchored-region/anchored-region.ts"
3592
3598
  }
3593
3599
  },
3594
3600
  {
3595
3601
  "kind": "field",
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.",
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",
3602
3605
  "inheritedFrom": {
3603
- "name": "Anchor",
3604
- "module": "src/anchor/anchor.ts"
3606
+ "name": "AnchoredRegion",
3607
+ "module": "src/anchored-region/anchored-region.ts"
3605
3608
  }
3606
3609
  },
3607
3610
  {
3608
3611
  "kind": "field",
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.",
3612
+ "name": "updatePositionClasses",
3613
+ "privacy": "private",
3614
+ "description": "Updates the css classes that reflect the current position of the element",
3615
3615
  "inheritedFrom": {
3616
- "name": "Anchor",
3617
- "module": "src/anchor/anchor.ts"
3616
+ "name": "AnchoredRegion",
3617
+ "module": "src/anchored-region/anchored-region.ts"
3618
3618
  }
3619
3619
  },
3620
3620
  {
3621
3621
  "kind": "field",
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.",
3622
+ "name": "setHorizontalPosition",
3623
+ "privacy": "private",
3624
+ "description": "Get horizontal positioning state based on desired position",
3628
3625
  "inheritedFrom": {
3629
- "name": "Anchor",
3630
- "module": "src/anchor/anchor.ts"
3626
+ "name": "AnchoredRegion",
3627
+ "module": "src/anchored-region/anchored-region.ts"
3631
3628
  }
3632
3629
  },
3633
3630
  {
3634
3631
  "kind": "field",
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.",
3632
+ "name": "setVerticalPosition",
3633
+ "privacy": "private",
3634
+ "description": "Set vertical positioning state based on desired position",
3641
3635
  "inheritedFrom": {
3642
- "name": "Anchor",
3643
- "module": "src/anchor/anchor.ts"
3636
+ "name": "AnchoredRegion",
3637
+ "module": "src/anchored-region/anchored-region.ts"
3644
3638
  }
3645
3639
  },
3646
3640
  {
3647
3641
  "kind": "field",
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.",
3642
+ "name": "getPositioningOptions",
3643
+ "privacy": "private",
3644
+ "description": "Get available positions based on positioning mode",
3654
3645
  "inheritedFrom": {
3655
- "name": "Anchor",
3656
- "module": "src/anchor/anchor.ts"
3646
+ "name": "AnchoredRegion",
3647
+ "module": "src/anchored-region/anchored-region.ts"
3657
3648
  }
3658
3649
  },
3659
3650
  {
3660
3651
  "kind": "field",
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.",
3652
+ "name": "getAvailableSpace",
3653
+ "privacy": "private",
3654
+ "description": "Get the space available for a particular relative position",
3667
3655
  "inheritedFrom": {
3668
- "name": "Anchor",
3669
- "module": "src/anchor/anchor.ts"
3656
+ "name": "AnchoredRegion",
3657
+ "module": "src/anchored-region/anchored-region.ts"
3670
3658
  }
3671
3659
  },
3672
3660
  {
3673
3661
  "kind": "field",
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.",
3662
+ "name": "getNextRegionDimension",
3663
+ "privacy": "private",
3664
+ "description": "Get region dimensions",
3680
3665
  "inheritedFrom": {
3681
- "name": "Anchor",
3682
- "module": "src/anchor/anchor.ts"
3666
+ "name": "AnchoredRegion",
3667
+ "module": "src/anchored-region/anchored-region.ts"
3683
3668
  }
3684
3669
  },
3685
3670
  {
3686
3671
  "kind": "field",
3687
- "name": "control",
3688
- "type": {
3689
- "text": "HTMLAnchorElement | undefined"
3690
- },
3691
- "privacy": "public",
3692
- "description": "References the root element",
3672
+ "name": "startAutoUpdateEventListeners",
3673
+ "privacy": "private",
3674
+ "description": "starts event listeners that can trigger auto updating",
3693
3675
  "inheritedFrom": {
3694
- "name": "Anchor",
3695
- "module": "src/anchor/anchor.ts"
3676
+ "name": "AnchoredRegion",
3677
+ "module": "src/anchored-region/anchored-region.ts"
3696
3678
  }
3697
3679
  },
3698
3680
  {
3699
3681
  "kind": "field",
3700
- "name": "handleUnsupportedDelegatesFocus",
3682
+ "name": "stopAutoUpdateEventListeners",
3701
3683
  "privacy": "private",
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",
3684
+ "description": "stops event listeners that can trigger auto updating",
3703
3685
  "inheritedFrom": {
3704
- "name": "Anchor",
3705
- "module": "src/anchor/anchor.ts"
3686
+ "name": "AnchoredRegion",
3687
+ "module": "src/anchored-region/anchored-region.ts"
3706
3688
  }
3707
3689
  },
3708
3690
  {
@@ -3714,8 +3696,8 @@
3714
3696
  "privacy": "private",
3715
3697
  "default": "void 0",
3716
3698
  "inheritedFrom": {
3717
- "name": "Anchor",
3718
- "module": "src/anchor/anchor.ts"
3699
+ "name": "AnchoredRegion",
3700
+ "module": "src/anchored-region/anchored-region.ts"
3719
3701
  }
3720
3702
  },
3721
3703
  {
@@ -3727,8 +3709,8 @@
3727
3709
  "privacy": "public",
3728
3710
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3729
3711
  "inheritedFrom": {
3730
- "name": "Anchor",
3731
- "module": "src/anchor/anchor.ts"
3712
+ "name": "AnchoredRegion",
3713
+ "module": "src/anchored-region/anchored-region.ts"
3732
3714
  }
3733
3715
  },
3734
3716
  {
@@ -3740,8 +3722,8 @@
3740
3722
  "privacy": "public",
3741
3723
  "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.",
3742
3724
  "inheritedFrom": {
3743
- "name": "Anchor",
3744
- "module": "src/anchor/anchor.ts"
3725
+ "name": "AnchoredRegion",
3726
+ "module": "src/anchored-region/anchored-region.ts"
3745
3727
  }
3746
3728
  },
3747
3729
  {
@@ -3754,8 +3736,8 @@
3754
3736
  }
3755
3737
  },
3756
3738
  "inheritedFrom": {
3757
- "name": "Anchor",
3758
- "module": "src/anchor/anchor.ts"
3739
+ "name": "AnchoredRegion",
3740
+ "module": "src/anchored-region/anchored-region.ts"
3759
3741
  }
3760
3742
  },
3761
3743
  {
@@ -3767,8 +3749,8 @@
3767
3749
  "privacy": "public",
3768
3750
  "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.",
3769
3751
  "inheritedFrom": {
3770
- "name": "Anchor",
3771
- "module": "src/anchor/anchor.ts"
3752
+ "name": "AnchoredRegion",
3753
+ "module": "src/anchored-region/anchored-region.ts"
3772
3754
  }
3773
3755
  },
3774
3756
  {
@@ -3781,8 +3763,8 @@
3781
3763
  }
3782
3764
  },
3783
3765
  "inheritedFrom": {
3784
- "name": "Anchor",
3785
- "module": "src/anchor/anchor.ts"
3766
+ "name": "AnchoredRegion",
3767
+ "module": "src/anchored-region/anchored-region.ts"
3786
3768
  }
3787
3769
  },
3788
3770
  {
@@ -3812,39 +3794,57 @@
3812
3794
  ],
3813
3795
  "description": "Defines an element registry function with a set of element definition defaults.",
3814
3796
  "inheritedFrom": {
3815
- "name": "Anchor",
3816
- "module": "src/anchor/anchor.ts"
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"
3817
3817
  }
3818
3818
  }
3819
3819
  ]
3820
3820
  },
3821
3821
  {
3822
3822
  "kind": "variable",
3823
- "name": "rapidAnchor"
3823
+ "name": "rapidAnchoredRegion"
3824
3824
  }
3825
3825
  ],
3826
3826
  "exports": [
3827
3827
  {
3828
3828
  "kind": "js",
3829
- "name": "Anchor",
3829
+ "name": "AnchoredRegion",
3830
3830
  "declaration": {
3831
- "name": "Anchor",
3832
- "module": "src/anchor/anchor.ts"
3831
+ "name": "AnchoredRegion",
3832
+ "module": "src/anchored-region/anchored-region.ts"
3833
3833
  }
3834
3834
  },
3835
3835
  {
3836
3836
  "kind": "js",
3837
- "name": "rapidAnchor",
3837
+ "name": "rapidAnchoredRegion",
3838
3838
  "declaration": {
3839
- "name": "rapidAnchor",
3840
- "module": "src/anchor/anchor.ts"
3839
+ "name": "rapidAnchoredRegion",
3840
+ "module": "src/anchored-region/anchored-region.ts"
3841
3841
  }
3842
3842
  }
3843
3843
  ]
3844
3844
  },
3845
3845
  {
3846
3846
  "kind": "javascript-module",
3847
- "path": "src/anchor/index.ts",
3847
+ "path": "src/anchored-region/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": "./anchor"
3855
+ "package": "./anchored-region"
3856
3856
  }
3857
3857
  },
3858
3858
  {
@@ -3860,7 +3860,7 @@
3860
3860
  "name": "*",
3861
3861
  "declaration": {
3862
3862
  "name": "*",
3863
- "package": "./anchor.styles"
3863
+ "package": "./anchored-region.template"
3864
3864
  }
3865
3865
  },
3866
3866
  {
@@ -3868,7 +3868,7 @@
3868
3868
  "name": "*",
3869
3869
  "declaration": {
3870
3870
  "name": "*",
3871
- "package": "./anchor.template"
3871
+ "package": "./anchored-region.styles"
3872
3872
  }
3873
3873
  }
3874
3874
  ]
@@ -4406,449 +4406,140 @@
4406
4406
  {
4407
4407
  "kind": "javascript-module",
4408
4408
  "path": "src/badge/badge.template.ts",
4409
- "declarations": [
4410
- {
4411
- "kind": "function",
4412
- "name": "rapidBadgeTemplate",
4413
- "return": {
4414
- "type": {
4415
- "text": "ViewTemplate<Badge>"
4416
- }
4417
- },
4418
- "parameters": [
4419
- {
4420
- "name": "context",
4421
- "type": {
4422
- "text": "ElementDefinitionContext"
4423
- }
4424
- },
4425
- {
4426
- "name": "definition",
4427
- "type": {
4428
- "text": "FoundationElementDefinition"
4429
- }
4430
- }
4431
- ]
4432
- }
4433
- ],
4434
- "exports": [
4435
- {
4436
- "kind": "js",
4437
- "name": "rapidBadgeTemplate",
4438
- "declaration": {
4439
- "name": "rapidBadgeTemplate",
4440
- "module": "src/badge/badge.template.ts"
4441
- }
4442
- }
4443
- ]
4444
- },
4445
- {
4446
- "kind": "javascript-module",
4447
- "path": "src/badge/badge.ts",
4448
- "declarations": [
4449
- {
4450
- "kind": "class",
4451
- "description": "",
4452
- "name": "Badge",
4453
- "superclass": {
4454
- "name": "FoundationBadge",
4455
- "package": "@genesislcap/foundation-ui"
4456
- },
4457
- "tagName": "%%prefix%%-badge",
4458
- "customElement": true,
4459
- "attributes": [
4460
- {
4461
- "name": "fill",
4462
- "type": {
4463
- "text": "string"
4464
- },
4465
- "description": "Indicates the badge should have a filled style.",
4466
- "fieldName": "fill",
4467
- "inheritedFrom": {
4468
- "name": "Badge",
4469
- "module": "src/badge/badge.ts"
4470
- }
4471
- },
4472
- {
4473
- "name": "color",
4474
- "type": {
4475
- "text": "string"
4476
- },
4477
- "description": "Indicates the badge should have a filled style.",
4478
- "fieldName": "color",
4479
- "inheritedFrom": {
4480
- "name": "Badge",
4481
- "module": "src/badge/badge.ts"
4482
- }
4483
- },
4484
- {
4485
- "type": {
4486
- "text": "boolean"
4487
- },
4488
- "description": "Indicates the element should be circular",
4489
- "fieldName": "circular",
4490
- "inheritedFrom": {
4491
- "name": "Badge",
4492
- "module": "src/badge/badge.ts"
4493
- }
4494
- }
4495
- ],
4496
- "members": [
4497
- {
4498
- "kind": "field",
4499
- "name": "fill",
4500
- "type": {
4501
- "text": "string"
4502
- },
4503
- "privacy": "public",
4504
- "description": "Indicates the badge should have a filled style.",
4505
- "inheritedFrom": {
4506
- "name": "Badge",
4507
- "module": "src/badge/badge.ts"
4508
- }
4509
- },
4510
- {
4511
- "kind": "field",
4512
- "name": "color",
4513
- "type": {
4514
- "text": "string"
4515
- },
4516
- "privacy": "public",
4517
- "description": "Indicates the badge should have a filled style.",
4518
- "inheritedFrom": {
4519
- "name": "Badge",
4520
- "module": "src/badge/badge.ts"
4521
- }
4522
- },
4523
- {
4524
- "kind": "field",
4525
- "name": "circular",
4526
- "type": {
4527
- "text": "boolean"
4528
- },
4529
- "privacy": "public",
4530
- "description": "Indicates the element should be circular",
4531
- "inheritedFrom": {
4532
- "name": "Badge",
4533
- "module": "src/badge/badge.ts"
4534
- }
4535
- },
4536
- {
4537
- "kind": "field",
4538
- "name": "generateBadgeStyle",
4539
- "privacy": "public",
4540
- "inheritedFrom": {
4541
- "name": "Badge",
4542
- "module": "src/badge/badge.ts"
4543
- }
4544
- },
4545
- {
4546
- "kind": "field",
4547
- "name": "_presentation",
4548
- "type": {
4549
- "text": "ComponentPresentation | null | undefined"
4550
- },
4551
- "privacy": "private",
4552
- "default": "void 0",
4553
- "inheritedFrom": {
4554
- "name": "Badge",
4555
- "module": "src/badge/badge.ts"
4556
- }
4557
- },
4558
- {
4559
- "kind": "field",
4560
- "name": "$presentation",
4561
- "type": {
4562
- "text": "ComponentPresentation | null"
4563
- },
4564
- "privacy": "public",
4565
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4566
- "inheritedFrom": {
4567
- "name": "Badge",
4568
- "module": "src/badge/badge.ts"
4569
- }
4570
- },
4571
- {
4572
- "kind": "field",
4573
- "name": "template",
4574
- "type": {
4575
- "text": "ElementViewTemplate | void | null"
4576
- },
4577
- "privacy": "public",
4578
- "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.",
4579
- "inheritedFrom": {
4580
- "name": "Badge",
4581
- "module": "src/badge/badge.ts"
4582
- }
4583
- },
4584
- {
4585
- "kind": "method",
4586
- "name": "templateChanged",
4587
- "privacy": "protected",
4588
- "return": {
4589
- "type": {
4590
- "text": "void"
4591
- }
4592
- },
4593
- "inheritedFrom": {
4594
- "name": "Badge",
4595
- "module": "src/badge/badge.ts"
4596
- }
4597
- },
4598
- {
4599
- "kind": "field",
4600
- "name": "styles",
4601
- "type": {
4602
- "text": "ElementStyles | void | null"
4603
- },
4604
- "privacy": "public",
4605
- "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.",
4606
- "inheritedFrom": {
4607
- "name": "Badge",
4608
- "module": "src/badge/badge.ts"
4609
- }
4610
- },
4611
- {
4612
- "kind": "method",
4613
- "name": "stylesChanged",
4614
- "privacy": "protected",
4615
- "return": {
4616
- "type": {
4617
- "text": "void"
4618
- }
4619
- },
4620
- "inheritedFrom": {
4621
- "name": "Badge",
4622
- "module": "src/badge/badge.ts"
4623
- }
4624
- },
4625
- {
4626
- "kind": "method",
4627
- "name": "compose",
4628
- "privacy": "public",
4629
- "static": true,
4630
- "return": {
4631
- "type": {
4632
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4633
- }
4634
- },
4635
- "parameters": [
4636
- {
4637
- "name": "this",
4638
- "type": {
4639
- "text": "K"
4640
- }
4641
- },
4642
- {
4643
- "name": "elementDefinition",
4644
- "type": {
4645
- "text": "T"
4646
- },
4647
- "description": "The definition of the element to create the registry\nfunction for."
4648
- }
4649
- ],
4650
- "description": "Defines an element registry function with a set of element definition defaults.",
4651
- "inheritedFrom": {
4652
- "name": "Badge",
4653
- "module": "src/badge/badge.ts"
4654
- }
4655
- }
4656
- ]
4657
- },
4658
- {
4659
- "kind": "variable",
4660
- "name": "rapidBadge"
4661
- }
4662
- ],
4663
- "exports": [
4664
- {
4665
- "kind": "js",
4666
- "name": "Badge",
4667
- "declaration": {
4668
- "name": "Badge",
4669
- "module": "src/badge/badge.ts"
4670
- }
4671
- },
4672
- {
4673
- "kind": "js",
4674
- "name": "rapidBadge",
4675
- "declaration": {
4676
- "name": "rapidBadge",
4677
- "module": "src/badge/badge.ts"
4678
- }
4679
- }
4680
- ]
4681
- },
4682
- {
4683
- "kind": "javascript-module",
4684
- "path": "src/badge/index.ts",
4685
- "declarations": [],
4686
- "exports": [
4687
- {
4688
- "kind": "js",
4689
- "name": "*",
4690
- "declaration": {
4691
- "name": "*",
4692
- "package": "./badge"
4693
- }
4694
- },
4695
- {
4696
- "kind": "js",
4697
- "name": "*",
4698
- "declaration": {
4699
- "name": "*",
4700
- "package": "./badge.styles"
4701
- }
4702
- },
4703
- {
4704
- "kind": "js",
4705
- "name": "*",
4706
- "declaration": {
4707
- "name": "*",
4708
- "package": "./badge.template"
4709
- }
4710
- }
4711
- ]
4712
- },
4713
- {
4714
- "kind": "javascript-module",
4715
- "path": "src/banner/banner.stories.ts",
4716
- "declarations": [
4717
- {
4718
- "kind": "variable",
4719
- "name": "meta",
4720
- "type": {
4721
- "text": "Meta"
4722
- },
4723
- "default": "{\n title: 'Banner',\n component: 'rapid-banner',\n}"
4724
- },
4725
- {
4726
- "kind": "variable",
4727
- "name": "Primary",
4728
- "type": {
4729
- "text": "StoryObj"
4730
- },
4731
- "default": "{\n args: {\n notifyText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n bannerText: ` Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet.\n Lorem, ipsum dolor.`,\n actionIgnoreActionText: 'Ignore',\n actionDemoText: 'Diagnose',\n actionButtonAppearance: 'link',\n },\n argTypes: {\n actionButtonAppearance: {\n control: 'select',\n options: ['primary', 'primary-outline', 'neutral', 'neutral-outline', 'link'],\n },\n },\n render: ({\n bannerText,\n notifyText,\n actionButtonAppearance,\n actionIgnoreActionText,\n actionDemoText,\n }) => html`\n <div style=\"display: flex; flex-direction: column; color: var(--neutral-foreground-rest)\">\n <h5>Banner with slots</h5>\n <rapid-banner id=\"banner\">\n <div slot=\"content\">${bannerText}</div>\n <rapid-button slot=\"action\" @click=\"${ignoreClick}\" appearance=\"${actionButtonAppearance}\">\n ${actionIgnoreActionText}\n </rapid-button>\n <rapid-button slot=\"action\" appearance=\"${actionButtonAppearance}\">\n ${actionDemoText}\n </rapid-button>\n </rapid-banner>\n <h5>Empty Banner</h5>\n <rapid-banner></rapid-banner>\n <div id=\"rapid-banner\" style=\"width: 100%;\">\n <rapid-button style=\"margin-bottom: 12px;\" @click=\"${() => showNotify(notifyText)}\">\n Show Rapid Banner - Notification Structure\n </rapid-button>\n </div>\n </div>\n `,\n}"
4732
- }
4733
- ],
4734
- "exports": [
4735
- {
4736
- "kind": "js",
4737
- "name": "default",
4738
- "declaration": {
4739
- "name": "meta",
4740
- "module": "src/banner/banner.stories.ts"
4741
- }
4742
- },
4743
- {
4744
- "kind": "js",
4745
- "name": "Primary",
4746
- "declaration": {
4747
- "name": "Primary",
4748
- "module": "src/banner/banner.stories.ts"
4749
- }
4750
- }
4751
- ]
4752
- },
4753
- {
4754
- "kind": "javascript-module",
4755
- "path": "src/banner/banner.styles.ts",
4756
- "declarations": [
4757
- {
4758
- "kind": "variable",
4759
- "name": "rapidBannerStyles",
4760
- "default": "css`\n ${foundationBannerStyles}\n :host {\n --banner-height: calc(\n ((var(--design-unit) + 2) * var(--base-height-multiplier)) +\n (var(--design-unit) * var(--design-unit)) * 1px\n );\n }\n\n .banner {\n background-color: var(--neutral-layer-1);\n color: var(--neutral-foreground-rest);\n padding: calc(var(--design-unit) * 4px);\n }\n\n .content {\n font-size: var(--type-ramp-base-font-size);\n font-family: var(--body-font);\n line-height: var(--type-ramp-base-line-height);\n }\n`"
4409
+ "declarations": [
4410
+ {
4411
+ "kind": "function",
4412
+ "name": "rapidBadgeTemplate",
4413
+ "return": {
4414
+ "type": {
4415
+ "text": "ViewTemplate<Badge>"
4416
+ }
4417
+ },
4418
+ "parameters": [
4419
+ {
4420
+ "name": "context",
4421
+ "type": {
4422
+ "text": "ElementDefinitionContext"
4423
+ }
4424
+ },
4425
+ {
4426
+ "name": "definition",
4427
+ "type": {
4428
+ "text": "FoundationElementDefinition"
4429
+ }
4430
+ }
4431
+ ]
4761
4432
  }
4762
4433
  ],
4763
4434
  "exports": [
4764
4435
  {
4765
4436
  "kind": "js",
4766
- "name": "rapidBannerStyles",
4437
+ "name": "rapidBadgeTemplate",
4767
4438
  "declaration": {
4768
- "name": "rapidBannerStyles",
4769
- "module": "src/banner/banner.styles.ts"
4439
+ "name": "rapidBadgeTemplate",
4440
+ "module": "src/badge/badge.template.ts"
4770
4441
  }
4771
4442
  }
4772
4443
  ]
4773
4444
  },
4774
4445
  {
4775
4446
  "kind": "javascript-module",
4776
- "path": "src/banner/banner.ts",
4447
+ "path": "src/badge/badge.ts",
4777
4448
  "declarations": [
4778
- {
4779
- "kind": "variable",
4780
- "name": "rapidBannerShadowOptions",
4781
- "default": "foundationBannerShadowOptions"
4782
- },
4783
4449
  {
4784
4450
  "kind": "class",
4785
4451
  "description": "",
4786
- "name": "Banner",
4452
+ "name": "Badge",
4787
4453
  "superclass": {
4788
- "name": "FoundationBanner",
4454
+ "name": "FoundationBadge",
4789
4455
  "package": "@genesislcap/foundation-ui"
4790
4456
  },
4791
- "tagName": "%%prefix%%-banner",
4457
+ "tagName": "%%prefix%%-badge",
4792
4458
  "customElement": true,
4793
- "members": [
4459
+ "attributes": [
4794
4460
  {
4795
- "kind": "field",
4796
- "name": "banner",
4461
+ "name": "fill",
4797
4462
  "type": {
4798
- "text": "HTMLElement"
4463
+ "text": "string"
4799
4464
  },
4800
- "privacy": "public",
4465
+ "description": "Indicates the badge should have a filled style.",
4466
+ "fieldName": "fill",
4801
4467
  "inheritedFrom": {
4802
- "name": "Banner",
4803
- "module": "src/banner/banner.ts"
4468
+ "name": "Badge",
4469
+ "module": "src/badge/badge.ts"
4804
4470
  }
4805
4471
  },
4806
4472
  {
4807
- "kind": "field",
4808
- "name": "dismissAnimation",
4473
+ "name": "color",
4809
4474
  "type": {
4810
- "text": "'banner-delete' | ''"
4475
+ "text": "string"
4811
4476
  },
4812
- "default": "''",
4477
+ "description": "Indicates the badge should have a filled style.",
4478
+ "fieldName": "color",
4813
4479
  "inheritedFrom": {
4814
- "name": "Banner",
4815
- "module": "src/banner/banner.ts"
4480
+ "name": "Badge",
4481
+ "module": "src/badge/badge.ts"
4816
4482
  }
4817
4483
  },
4484
+ {
4485
+ "type": {
4486
+ "text": "boolean"
4487
+ },
4488
+ "description": "Indicates the element should be circular",
4489
+ "fieldName": "circular",
4490
+ "inheritedFrom": {
4491
+ "name": "Badge",
4492
+ "module": "src/badge/badge.ts"
4493
+ }
4494
+ }
4495
+ ],
4496
+ "members": [
4818
4497
  {
4819
4498
  "kind": "field",
4820
- "name": "notification",
4499
+ "name": "fill",
4821
4500
  "type": {
4822
- "text": "NotificationStructure"
4501
+ "text": "string"
4823
4502
  },
4503
+ "privacy": "public",
4504
+ "description": "Indicates the badge should have a filled style.",
4824
4505
  "inheritedFrom": {
4825
- "name": "Banner",
4826
- "module": "src/banner/banner.ts"
4506
+ "name": "Badge",
4507
+ "module": "src/badge/badge.ts"
4827
4508
  }
4828
4509
  },
4829
4510
  {
4830
- "kind": "method",
4831
- "name": "dismiss",
4511
+ "kind": "field",
4512
+ "name": "color",
4513
+ "type": {
4514
+ "text": "string"
4515
+ },
4832
4516
  "privacy": "public",
4833
- "return": {
4834
- "type": {
4835
- "text": "Promise<void>"
4836
- }
4517
+ "description": "Indicates the badge should have a filled style.",
4518
+ "inheritedFrom": {
4519
+ "name": "Badge",
4520
+ "module": "src/badge/badge.ts"
4521
+ }
4522
+ },
4523
+ {
4524
+ "kind": "field",
4525
+ "name": "circular",
4526
+ "type": {
4527
+ "text": "boolean"
4837
4528
  },
4838
- "description": "Dismiss the Banner from display.",
4529
+ "privacy": "public",
4530
+ "description": "Indicates the element should be circular",
4839
4531
  "inheritedFrom": {
4840
- "name": "Banner",
4841
- "module": "src/banner/banner.ts"
4532
+ "name": "Badge",
4533
+ "module": "src/badge/badge.ts"
4842
4534
  }
4843
4535
  },
4844
4536
  {
4845
- "kind": "method",
4846
- "name": "dismissNotification",
4537
+ "kind": "field",
4538
+ "name": "generateBadgeStyle",
4847
4539
  "privacy": "public",
4848
- "description": "Dismiss the Banner (NotificationStructure) from display.",
4849
4540
  "inheritedFrom": {
4850
- "name": "Banner",
4851
- "module": "src/banner/banner.ts"
4541
+ "name": "Badge",
4542
+ "module": "src/badge/badge.ts"
4852
4543
  }
4853
4544
  },
4854
4545
  {
@@ -4860,8 +4551,8 @@
4860
4551
  "privacy": "private",
4861
4552
  "default": "void 0",
4862
4553
  "inheritedFrom": {
4863
- "name": "FoundationElement",
4864
- "module": "src/foundation-element/foundation-element.ts"
4554
+ "name": "Badge",
4555
+ "module": "src/badge/badge.ts"
4865
4556
  }
4866
4557
  },
4867
4558
  {
@@ -4873,8 +4564,8 @@
4873
4564
  "privacy": "public",
4874
4565
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4875
4566
  "inheritedFrom": {
4876
- "name": "FoundationElement",
4877
- "module": "src/foundation-element/foundation-element.ts"
4567
+ "name": "Badge",
4568
+ "module": "src/badge/badge.ts"
4878
4569
  }
4879
4570
  },
4880
4571
  {
@@ -4886,8 +4577,8 @@
4886
4577
  "privacy": "public",
4887
4578
  "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.",
4888
4579
  "inheritedFrom": {
4889
- "name": "FoundationElement",
4890
- "module": "src/foundation-element/foundation-element.ts"
4580
+ "name": "Badge",
4581
+ "module": "src/badge/badge.ts"
4891
4582
  }
4892
4583
  },
4893
4584
  {
@@ -4900,8 +4591,8 @@
4900
4591
  }
4901
4592
  },
4902
4593
  "inheritedFrom": {
4903
- "name": "FoundationElement",
4904
- "module": "src/foundation-element/foundation-element.ts"
4594
+ "name": "Badge",
4595
+ "module": "src/badge/badge.ts"
4905
4596
  }
4906
4597
  },
4907
4598
  {
@@ -4913,8 +4604,8 @@
4913
4604
  "privacy": "public",
4914
4605
  "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.",
4915
4606
  "inheritedFrom": {
4916
- "name": "FoundationElement",
4917
- "module": "src/foundation-element/foundation-element.ts"
4607
+ "name": "Badge",
4608
+ "module": "src/badge/badge.ts"
4918
4609
  }
4919
4610
  },
4920
4611
  {
@@ -4927,8 +4618,8 @@
4927
4618
  }
4928
4619
  },
4929
4620
  "inheritedFrom": {
4930
- "name": "FoundationElement",
4931
- "module": "src/foundation-element/foundation-element.ts"
4621
+ "name": "Badge",
4622
+ "module": "src/badge/badge.ts"
4932
4623
  }
4933
4624
  },
4934
4625
  {
@@ -4958,57 +4649,47 @@
4958
4649
  ],
4959
4650
  "description": "Defines an element registry function with a set of element definition defaults.",
4960
4651
  "inheritedFrom": {
4961
- "name": "FoundationElement",
4962
- "module": "src/foundation-element/foundation-element.ts"
4652
+ "name": "Badge",
4653
+ "module": "src/badge/badge.ts"
4963
4654
  }
4964
4655
  }
4965
4656
  ]
4966
4657
  },
4967
4658
  {
4968
4659
  "kind": "variable",
4969
- "name": "rapidBanner",
4970
- "description": "The Rapid Banner",
4971
- "privacy": "public"
4660
+ "name": "rapidBadge"
4972
4661
  }
4973
4662
  ],
4974
4663
  "exports": [
4975
4664
  {
4976
4665
  "kind": "js",
4977
- "name": "rapidBannerShadowOptions",
4978
- "declaration": {
4979
- "name": "rapidBannerShadowOptions",
4980
- "module": "src/banner/banner.ts"
4981
- }
4982
- },
4983
- {
4984
- "kind": "js",
4985
- "name": "Banner",
4666
+ "name": "Badge",
4986
4667
  "declaration": {
4987
- "name": "Banner",
4988
- "module": "src/banner/banner.ts"
4668
+ "name": "Badge",
4669
+ "module": "src/badge/badge.ts"
4989
4670
  }
4990
4671
  },
4991
4672
  {
4992
4673
  "kind": "js",
4993
- "name": "rapidBanner",
4674
+ "name": "rapidBadge",
4994
4675
  "declaration": {
4995
- "name": "rapidBanner",
4996
- "module": "src/banner/banner.ts"
4676
+ "name": "rapidBadge",
4677
+ "module": "src/badge/badge.ts"
4997
4678
  }
4998
4679
  }
4999
4680
  ]
5000
4681
  },
5001
4682
  {
5002
4683
  "kind": "javascript-module",
5003
- "path": "src/banner/index.ts",
4684
+ "path": "src/badge/index.ts",
5004
4685
  "declarations": [],
5005
4686
  "exports": [
5006
4687
  {
5007
4688
  "kind": "js",
5008
- "name": "rapidBannerTemplate",
4689
+ "name": "*",
5009
4690
  "declaration": {
5010
- "name": "foundationBannerTemplate",
5011
- "package": "@genesislcap/foundation-ui"
4691
+ "name": "*",
4692
+ "package": "./badge"
5012
4693
  }
5013
4694
  },
5014
4695
  {
@@ -5016,7 +4697,7 @@
5016
4697
  "name": "*",
5017
4698
  "declaration": {
5018
4699
  "name": "*",
5019
- "package": "./banner"
4700
+ "package": "./badge.styles"
5020
4701
  }
5021
4702
  },
5022
4703
  {
@@ -5024,7 +4705,7 @@
5024
4705
  "name": "*",
5025
4706
  "declaration": {
5026
4707
  "name": "*",
5027
- "package": "./banner.styles"
4708
+ "package": "./badge.template"
5028
4709
  }
5029
4710
  }
5030
4711
  ]
@@ -5469,6 +5150,325 @@
5469
5150
  }
5470
5151
  ]
5471
5152
  },
5153
+ {
5154
+ "kind": "javascript-module",
5155
+ "path": "src/banner/banner.stories.ts",
5156
+ "declarations": [
5157
+ {
5158
+ "kind": "variable",
5159
+ "name": "meta",
5160
+ "type": {
5161
+ "text": "Meta"
5162
+ },
5163
+ "default": "{\n title: 'Banner',\n component: 'rapid-banner',\n}"
5164
+ },
5165
+ {
5166
+ "kind": "variable",
5167
+ "name": "Primary",
5168
+ "type": {
5169
+ "text": "StoryObj"
5170
+ },
5171
+ "default": "{\n args: {\n notifyText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n bannerText: ` Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet.\n Lorem, ipsum dolor.`,\n actionIgnoreActionText: 'Ignore',\n actionDemoText: 'Diagnose',\n actionButtonAppearance: 'link',\n },\n argTypes: {\n actionButtonAppearance: {\n control: 'select',\n options: ['primary', 'primary-outline', 'neutral', 'neutral-outline', 'link'],\n },\n },\n render: ({\n bannerText,\n notifyText,\n actionButtonAppearance,\n actionIgnoreActionText,\n actionDemoText,\n }) => html`\n <div style=\"display: flex; flex-direction: column; color: var(--neutral-foreground-rest)\">\n <h5>Banner with slots</h5>\n <rapid-banner id=\"banner\">\n <div slot=\"content\">${bannerText}</div>\n <rapid-button slot=\"action\" @click=\"${ignoreClick}\" appearance=\"${actionButtonAppearance}\">\n ${actionIgnoreActionText}\n </rapid-button>\n <rapid-button slot=\"action\" appearance=\"${actionButtonAppearance}\">\n ${actionDemoText}\n </rapid-button>\n </rapid-banner>\n <h5>Empty Banner</h5>\n <rapid-banner></rapid-banner>\n <div id=\"rapid-banner\" style=\"width: 100%;\">\n <rapid-button style=\"margin-bottom: 12px;\" @click=\"${() => showNotify(notifyText)}\">\n Show Rapid Banner - Notification Structure\n </rapid-button>\n </div>\n </div>\n `,\n}"
5172
+ }
5173
+ ],
5174
+ "exports": [
5175
+ {
5176
+ "kind": "js",
5177
+ "name": "default",
5178
+ "declaration": {
5179
+ "name": "meta",
5180
+ "module": "src/banner/banner.stories.ts"
5181
+ }
5182
+ },
5183
+ {
5184
+ "kind": "js",
5185
+ "name": "Primary",
5186
+ "declaration": {
5187
+ "name": "Primary",
5188
+ "module": "src/banner/banner.stories.ts"
5189
+ }
5190
+ }
5191
+ ]
5192
+ },
5193
+ {
5194
+ "kind": "javascript-module",
5195
+ "path": "src/banner/banner.styles.ts",
5196
+ "declarations": [
5197
+ {
5198
+ "kind": "variable",
5199
+ "name": "rapidBannerStyles",
5200
+ "default": "css`\n ${foundationBannerStyles}\n :host {\n --banner-height: calc(\n ((var(--design-unit) + 2) * var(--base-height-multiplier)) +\n (var(--design-unit) * var(--design-unit)) * 1px\n );\n }\n\n .banner {\n background-color: var(--neutral-layer-1);\n color: var(--neutral-foreground-rest);\n padding: calc(var(--design-unit) * 4px);\n }\n\n .content {\n font-size: var(--type-ramp-base-font-size);\n font-family: var(--body-font);\n line-height: var(--type-ramp-base-line-height);\n }\n`"
5201
+ }
5202
+ ],
5203
+ "exports": [
5204
+ {
5205
+ "kind": "js",
5206
+ "name": "rapidBannerStyles",
5207
+ "declaration": {
5208
+ "name": "rapidBannerStyles",
5209
+ "module": "src/banner/banner.styles.ts"
5210
+ }
5211
+ }
5212
+ ]
5213
+ },
5214
+ {
5215
+ "kind": "javascript-module",
5216
+ "path": "src/banner/banner.ts",
5217
+ "declarations": [
5218
+ {
5219
+ "kind": "variable",
5220
+ "name": "rapidBannerShadowOptions",
5221
+ "default": "foundationBannerShadowOptions"
5222
+ },
5223
+ {
5224
+ "kind": "class",
5225
+ "description": "",
5226
+ "name": "Banner",
5227
+ "superclass": {
5228
+ "name": "FoundationBanner",
5229
+ "package": "@genesislcap/foundation-ui"
5230
+ },
5231
+ "tagName": "%%prefix%%-banner",
5232
+ "customElement": true,
5233
+ "members": [
5234
+ {
5235
+ "kind": "field",
5236
+ "name": "banner",
5237
+ "type": {
5238
+ "text": "HTMLElement"
5239
+ },
5240
+ "privacy": "public",
5241
+ "inheritedFrom": {
5242
+ "name": "Banner",
5243
+ "module": "src/banner/banner.ts"
5244
+ }
5245
+ },
5246
+ {
5247
+ "kind": "field",
5248
+ "name": "dismissAnimation",
5249
+ "type": {
5250
+ "text": "'banner-delete' | ''"
5251
+ },
5252
+ "default": "''",
5253
+ "inheritedFrom": {
5254
+ "name": "Banner",
5255
+ "module": "src/banner/banner.ts"
5256
+ }
5257
+ },
5258
+ {
5259
+ "kind": "field",
5260
+ "name": "notification",
5261
+ "type": {
5262
+ "text": "NotificationStructure"
5263
+ },
5264
+ "inheritedFrom": {
5265
+ "name": "Banner",
5266
+ "module": "src/banner/banner.ts"
5267
+ }
5268
+ },
5269
+ {
5270
+ "kind": "method",
5271
+ "name": "dismiss",
5272
+ "privacy": "public",
5273
+ "return": {
5274
+ "type": {
5275
+ "text": "Promise<void>"
5276
+ }
5277
+ },
5278
+ "description": "Dismiss the Banner from display.",
5279
+ "inheritedFrom": {
5280
+ "name": "Banner",
5281
+ "module": "src/banner/banner.ts"
5282
+ }
5283
+ },
5284
+ {
5285
+ "kind": "method",
5286
+ "name": "dismissNotification",
5287
+ "privacy": "public",
5288
+ "description": "Dismiss the Banner (NotificationStructure) from display.",
5289
+ "inheritedFrom": {
5290
+ "name": "Banner",
5291
+ "module": "src/banner/banner.ts"
5292
+ }
5293
+ },
5294
+ {
5295
+ "kind": "field",
5296
+ "name": "_presentation",
5297
+ "type": {
5298
+ "text": "ComponentPresentation | null | undefined"
5299
+ },
5300
+ "privacy": "private",
5301
+ "default": "void 0",
5302
+ "inheritedFrom": {
5303
+ "name": "FoundationElement",
5304
+ "module": "src/foundation-element/foundation-element.ts"
5305
+ }
5306
+ },
5307
+ {
5308
+ "kind": "field",
5309
+ "name": "$presentation",
5310
+ "type": {
5311
+ "text": "ComponentPresentation | null"
5312
+ },
5313
+ "privacy": "public",
5314
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
5315
+ "inheritedFrom": {
5316
+ "name": "FoundationElement",
5317
+ "module": "src/foundation-element/foundation-element.ts"
5318
+ }
5319
+ },
5320
+ {
5321
+ "kind": "field",
5322
+ "name": "template",
5323
+ "type": {
5324
+ "text": "ElementViewTemplate | void | null"
5325
+ },
5326
+ "privacy": "public",
5327
+ "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.",
5328
+ "inheritedFrom": {
5329
+ "name": "FoundationElement",
5330
+ "module": "src/foundation-element/foundation-element.ts"
5331
+ }
5332
+ },
5333
+ {
5334
+ "kind": "method",
5335
+ "name": "templateChanged",
5336
+ "privacy": "protected",
5337
+ "return": {
5338
+ "type": {
5339
+ "text": "void"
5340
+ }
5341
+ },
5342
+ "inheritedFrom": {
5343
+ "name": "FoundationElement",
5344
+ "module": "src/foundation-element/foundation-element.ts"
5345
+ }
5346
+ },
5347
+ {
5348
+ "kind": "field",
5349
+ "name": "styles",
5350
+ "type": {
5351
+ "text": "ElementStyles | void | null"
5352
+ },
5353
+ "privacy": "public",
5354
+ "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.",
5355
+ "inheritedFrom": {
5356
+ "name": "FoundationElement",
5357
+ "module": "src/foundation-element/foundation-element.ts"
5358
+ }
5359
+ },
5360
+ {
5361
+ "kind": "method",
5362
+ "name": "stylesChanged",
5363
+ "privacy": "protected",
5364
+ "return": {
5365
+ "type": {
5366
+ "text": "void"
5367
+ }
5368
+ },
5369
+ "inheritedFrom": {
5370
+ "name": "FoundationElement",
5371
+ "module": "src/foundation-element/foundation-element.ts"
5372
+ }
5373
+ },
5374
+ {
5375
+ "kind": "method",
5376
+ "name": "compose",
5377
+ "privacy": "public",
5378
+ "static": true,
5379
+ "return": {
5380
+ "type": {
5381
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
5382
+ }
5383
+ },
5384
+ "parameters": [
5385
+ {
5386
+ "name": "this",
5387
+ "type": {
5388
+ "text": "K"
5389
+ }
5390
+ },
5391
+ {
5392
+ "name": "elementDefinition",
5393
+ "type": {
5394
+ "text": "T"
5395
+ },
5396
+ "description": "The definition of the element to create the registry\nfunction for."
5397
+ }
5398
+ ],
5399
+ "description": "Defines an element registry function with a set of element definition defaults.",
5400
+ "inheritedFrom": {
5401
+ "name": "FoundationElement",
5402
+ "module": "src/foundation-element/foundation-element.ts"
5403
+ }
5404
+ }
5405
+ ]
5406
+ },
5407
+ {
5408
+ "kind": "variable",
5409
+ "name": "rapidBanner",
5410
+ "description": "The Rapid Banner",
5411
+ "privacy": "public"
5412
+ }
5413
+ ],
5414
+ "exports": [
5415
+ {
5416
+ "kind": "js",
5417
+ "name": "rapidBannerShadowOptions",
5418
+ "declaration": {
5419
+ "name": "rapidBannerShadowOptions",
5420
+ "module": "src/banner/banner.ts"
5421
+ }
5422
+ },
5423
+ {
5424
+ "kind": "js",
5425
+ "name": "Banner",
5426
+ "declaration": {
5427
+ "name": "Banner",
5428
+ "module": "src/banner/banner.ts"
5429
+ }
5430
+ },
5431
+ {
5432
+ "kind": "js",
5433
+ "name": "rapidBanner",
5434
+ "declaration": {
5435
+ "name": "rapidBanner",
5436
+ "module": "src/banner/banner.ts"
5437
+ }
5438
+ }
5439
+ ]
5440
+ },
5441
+ {
5442
+ "kind": "javascript-module",
5443
+ "path": "src/banner/index.ts",
5444
+ "declarations": [],
5445
+ "exports": [
5446
+ {
5447
+ "kind": "js",
5448
+ "name": "rapidBannerTemplate",
5449
+ "declaration": {
5450
+ "name": "foundationBannerTemplate",
5451
+ "package": "@genesislcap/foundation-ui"
5452
+ }
5453
+ },
5454
+ {
5455
+ "kind": "js",
5456
+ "name": "*",
5457
+ "declaration": {
5458
+ "name": "*",
5459
+ "package": "./banner"
5460
+ }
5461
+ },
5462
+ {
5463
+ "kind": "js",
5464
+ "name": "*",
5465
+ "declaration": {
5466
+ "name": "*",
5467
+ "package": "./banner.styles"
5468
+ }
5469
+ }
5470
+ ]
5471
+ },
5472
5472
  {
5473
5473
  "kind": "javascript-module",
5474
5474
  "path": "src/breadcrumb-item/breadcrumb-item.styles.ts",
@@ -23647,6 +23647,186 @@
23647
23647
  }
23648
23648
  ]
23649
23649
  },
23650
+ {
23651
+ "kind": "javascript-module",
23652
+ "path": "src/segmented-item/index.ts",
23653
+ "declarations": [],
23654
+ "exports": [
23655
+ {
23656
+ "kind": "js",
23657
+ "name": "*",
23658
+ "declaration": {
23659
+ "name": "*",
23660
+ "package": "./segmented-item.template"
23661
+ }
23662
+ },
23663
+ {
23664
+ "kind": "js",
23665
+ "name": "*",
23666
+ "declaration": {
23667
+ "name": "*",
23668
+ "package": "./segmented-item.styles"
23669
+ }
23670
+ },
23671
+ {
23672
+ "kind": "js",
23673
+ "name": "*",
23674
+ "declaration": {
23675
+ "name": "*",
23676
+ "package": "./segmented-item"
23677
+ }
23678
+ }
23679
+ ]
23680
+ },
23681
+ {
23682
+ "kind": "javascript-module",
23683
+ "path": "src/segmented-item/segmented-item.styles.ts",
23684
+ "declarations": [
23685
+ {
23686
+ "kind": "function",
23687
+ "name": "rapidSegmentedItemStyles",
23688
+ "return": {
23689
+ "type": {
23690
+ "text": "ElementStyles"
23691
+ }
23692
+ },
23693
+ "parameters": [
23694
+ {
23695
+ "name": "context",
23696
+ "type": {
23697
+ "text": "ElementDefinitionContext"
23698
+ }
23699
+ },
23700
+ {
23701
+ "name": "definition",
23702
+ "type": {
23703
+ "text": "RadioOptions"
23704
+ }
23705
+ }
23706
+ ]
23707
+ }
23708
+ ],
23709
+ "exports": [
23710
+ {
23711
+ "kind": "js",
23712
+ "name": "rapidSegmentedItemStyles",
23713
+ "declaration": {
23714
+ "name": "rapidSegmentedItemStyles",
23715
+ "module": "src/segmented-item/segmented-item.styles.ts"
23716
+ }
23717
+ }
23718
+ ]
23719
+ },
23720
+ {
23721
+ "kind": "javascript-module",
23722
+ "path": "src/segmented-item/segmented-item.template.ts",
23723
+ "declarations": [
23724
+ {
23725
+ "kind": "function",
23726
+ "name": "rapidSegmentedItemTemplate",
23727
+ "return": {
23728
+ "type": {
23729
+ "text": "ViewTemplate<SegmentedItem>"
23730
+ }
23731
+ },
23732
+ "parameters": [
23733
+ {
23734
+ "name": "context",
23735
+ "type": {
23736
+ "text": "ElementDefinitionContext"
23737
+ }
23738
+ },
23739
+ {
23740
+ "name": "definition",
23741
+ "type": {
23742
+ "text": "FoundationElementDefinition"
23743
+ }
23744
+ }
23745
+ ]
23746
+ }
23747
+ ],
23748
+ "exports": [
23749
+ {
23750
+ "kind": "js",
23751
+ "name": "rapidSegmentedItemTemplate",
23752
+ "declaration": {
23753
+ "name": "rapidSegmentedItemTemplate",
23754
+ "module": "src/segmented-item/segmented-item.template.ts"
23755
+ }
23756
+ }
23757
+ ]
23758
+ },
23759
+ {
23760
+ "kind": "javascript-module",
23761
+ "path": "src/segmented-item/segmented-item.ts",
23762
+ "declarations": [
23763
+ {
23764
+ "kind": "class",
23765
+ "description": "",
23766
+ "name": "SegmentedItem",
23767
+ "superclass": {
23768
+ "name": "FoundationFoundationRadio",
23769
+ "package": "@genesislcap/foundation-ui"
23770
+ }
23771
+ },
23772
+ {
23773
+ "kind": "variable",
23774
+ "name": "rapidSegmentedItemShadowOptions",
23775
+ "type": {
23776
+ "text": "ShadowRootInit"
23777
+ },
23778
+ "default": "undefined"
23779
+ },
23780
+ {
23781
+ "kind": "variable",
23782
+ "name": "defaultSegmentedItemConfig",
23783
+ "type": {
23784
+ "text": "object"
23785
+ },
23786
+ "default": "{}"
23787
+ },
23788
+ {
23789
+ "kind": "variable",
23790
+ "name": "rapidSegmentedItem",
23791
+ "description": "The Rapid Segmented item",
23792
+ "privacy": "public"
23793
+ }
23794
+ ],
23795
+ "exports": [
23796
+ {
23797
+ "kind": "js",
23798
+ "name": "SegmentedItem",
23799
+ "declaration": {
23800
+ "name": "SegmentedItem",
23801
+ "module": "src/segmented-item/segmented-item.ts"
23802
+ }
23803
+ },
23804
+ {
23805
+ "kind": "js",
23806
+ "name": "rapidSegmentedItemShadowOptions",
23807
+ "declaration": {
23808
+ "name": "rapidSegmentedItemShadowOptions",
23809
+ "module": "src/segmented-item/segmented-item.ts"
23810
+ }
23811
+ },
23812
+ {
23813
+ "kind": "js",
23814
+ "name": "defaultSegmentedItemConfig",
23815
+ "declaration": {
23816
+ "name": "defaultSegmentedItemConfig",
23817
+ "module": "src/segmented-item/segmented-item.ts"
23818
+ }
23819
+ },
23820
+ {
23821
+ "kind": "js",
23822
+ "name": "rapidSegmentedItem",
23823
+ "declaration": {
23824
+ "name": "rapidSegmentedItem",
23825
+ "module": "src/segmented-item/segmented-item.ts"
23826
+ }
23827
+ }
23828
+ ]
23829
+ },
23650
23830
  {
23651
23831
  "kind": "javascript-module",
23652
23832
  "path": "src/select/index.ts",
@@ -24288,186 +24468,6 @@
24288
24468
  }
24289
24469
  ]
24290
24470
  },
24291
- {
24292
- "kind": "javascript-module",
24293
- "path": "src/segmented-item/index.ts",
24294
- "declarations": [],
24295
- "exports": [
24296
- {
24297
- "kind": "js",
24298
- "name": "*",
24299
- "declaration": {
24300
- "name": "*",
24301
- "package": "./segmented-item.template"
24302
- }
24303
- },
24304
- {
24305
- "kind": "js",
24306
- "name": "*",
24307
- "declaration": {
24308
- "name": "*",
24309
- "package": "./segmented-item.styles"
24310
- }
24311
- },
24312
- {
24313
- "kind": "js",
24314
- "name": "*",
24315
- "declaration": {
24316
- "name": "*",
24317
- "package": "./segmented-item"
24318
- }
24319
- }
24320
- ]
24321
- },
24322
- {
24323
- "kind": "javascript-module",
24324
- "path": "src/segmented-item/segmented-item.styles.ts",
24325
- "declarations": [
24326
- {
24327
- "kind": "function",
24328
- "name": "rapidSegmentedItemStyles",
24329
- "return": {
24330
- "type": {
24331
- "text": "ElementStyles"
24332
- }
24333
- },
24334
- "parameters": [
24335
- {
24336
- "name": "context",
24337
- "type": {
24338
- "text": "ElementDefinitionContext"
24339
- }
24340
- },
24341
- {
24342
- "name": "definition",
24343
- "type": {
24344
- "text": "RadioOptions"
24345
- }
24346
- }
24347
- ]
24348
- }
24349
- ],
24350
- "exports": [
24351
- {
24352
- "kind": "js",
24353
- "name": "rapidSegmentedItemStyles",
24354
- "declaration": {
24355
- "name": "rapidSegmentedItemStyles",
24356
- "module": "src/segmented-item/segmented-item.styles.ts"
24357
- }
24358
- }
24359
- ]
24360
- },
24361
- {
24362
- "kind": "javascript-module",
24363
- "path": "src/segmented-item/segmented-item.template.ts",
24364
- "declarations": [
24365
- {
24366
- "kind": "function",
24367
- "name": "rapidSegmentedItemTemplate",
24368
- "return": {
24369
- "type": {
24370
- "text": "ViewTemplate<SegmentedItem>"
24371
- }
24372
- },
24373
- "parameters": [
24374
- {
24375
- "name": "context",
24376
- "type": {
24377
- "text": "ElementDefinitionContext"
24378
- }
24379
- },
24380
- {
24381
- "name": "definition",
24382
- "type": {
24383
- "text": "FoundationElementDefinition"
24384
- }
24385
- }
24386
- ]
24387
- }
24388
- ],
24389
- "exports": [
24390
- {
24391
- "kind": "js",
24392
- "name": "rapidSegmentedItemTemplate",
24393
- "declaration": {
24394
- "name": "rapidSegmentedItemTemplate",
24395
- "module": "src/segmented-item/segmented-item.template.ts"
24396
- }
24397
- }
24398
- ]
24399
- },
24400
- {
24401
- "kind": "javascript-module",
24402
- "path": "src/segmented-item/segmented-item.ts",
24403
- "declarations": [
24404
- {
24405
- "kind": "class",
24406
- "description": "",
24407
- "name": "SegmentedItem",
24408
- "superclass": {
24409
- "name": "FoundationFoundationRadio",
24410
- "package": "@genesislcap/foundation-ui"
24411
- }
24412
- },
24413
- {
24414
- "kind": "variable",
24415
- "name": "rapidSegmentedItemShadowOptions",
24416
- "type": {
24417
- "text": "ShadowRootInit"
24418
- },
24419
- "default": "undefined"
24420
- },
24421
- {
24422
- "kind": "variable",
24423
- "name": "defaultSegmentedItemConfig",
24424
- "type": {
24425
- "text": "object"
24426
- },
24427
- "default": "{}"
24428
- },
24429
- {
24430
- "kind": "variable",
24431
- "name": "rapidSegmentedItem",
24432
- "description": "The Rapid Segmented item",
24433
- "privacy": "public"
24434
- }
24435
- ],
24436
- "exports": [
24437
- {
24438
- "kind": "js",
24439
- "name": "SegmentedItem",
24440
- "declaration": {
24441
- "name": "SegmentedItem",
24442
- "module": "src/segmented-item/segmented-item.ts"
24443
- }
24444
- },
24445
- {
24446
- "kind": "js",
24447
- "name": "rapidSegmentedItemShadowOptions",
24448
- "declaration": {
24449
- "name": "rapidSegmentedItemShadowOptions",
24450
- "module": "src/segmented-item/segmented-item.ts"
24451
- }
24452
- },
24453
- {
24454
- "kind": "js",
24455
- "name": "defaultSegmentedItemConfig",
24456
- "declaration": {
24457
- "name": "defaultSegmentedItemConfig",
24458
- "module": "src/segmented-item/segmented-item.ts"
24459
- }
24460
- },
24461
- {
24462
- "kind": "js",
24463
- "name": "rapidSegmentedItem",
24464
- "declaration": {
24465
- "name": "rapidSegmentedItem",
24466
- "module": "src/segmented-item/segmented-item.ts"
24467
- }
24468
- }
24469
- ]
24470
- },
24471
24471
  {
24472
24472
  "kind": "javascript-module",
24473
24473
  "path": "src/skeleton/index.ts",
@@ -33436,141 +33436,6 @@
33436
33436
  }
33437
33437
  ]
33438
33438
  },
33439
- {
33440
- "kind": "javascript-module",
33441
- "path": "src/utils/behaviors.ts",
33442
- "declarations": [
33443
- {
33444
- "kind": "function",
33445
- "name": "appearanceBehavior",
33446
- "parameters": [
33447
- {
33448
- "name": "value",
33449
- "type": {
33450
- "text": "string"
33451
- },
33452
- "description": "The value of the appearance property"
33453
- },
33454
- {
33455
- "name": "styles",
33456
- "type": {
33457
- "text": "ElementStyles"
33458
- },
33459
- "description": "The styles to be applied when condition matches"
33460
- }
33461
- ],
33462
- "description": "Behavior that will conditionally apply a stylesheet based on the elements\nappearance property",
33463
- "privacy": "public"
33464
- }
33465
- ],
33466
- "exports": [
33467
- {
33468
- "kind": "js",
33469
- "name": "appearanceBehavior",
33470
- "declaration": {
33471
- "name": "appearanceBehavior",
33472
- "module": "src/utils/behaviors.ts"
33473
- }
33474
- }
33475
- ]
33476
- },
33477
- {
33478
- "kind": "javascript-module",
33479
- "path": "src/utils/index.ts",
33480
- "declarations": [
33481
- {
33482
- "kind": "function",
33483
- "name": "paletteFromHex",
33484
- "parameters": [
33485
- {
33486
- "name": "hexColor",
33487
- "type": {
33488
- "text": "string"
33489
- }
33490
- }
33491
- ]
33492
- },
33493
- {
33494
- "kind": "function",
33495
- "name": "getDefaultConfig",
33496
- "parameters": [
33497
- {
33498
- "name": "definition",
33499
- "type": {
33500
- "text": "Partial<FoundationElementDefinition>"
33501
- }
33502
- },
33503
- {
33504
- "name": "exclusions",
33505
- "default": "defaultExclusions"
33506
- }
33507
- ]
33508
- },
33509
- {
33510
- "kind": "function",
33511
- "name": "getExports",
33512
- "parameters": [
33513
- {
33514
- "name": "registrationFunction"
33515
- }
33516
- ]
33517
- }
33518
- ],
33519
- "exports": [
33520
- {
33521
- "kind": "js",
33522
- "name": "paletteFromHex",
33523
- "declaration": {
33524
- "name": "paletteFromHex",
33525
- "module": "src/utils/index.ts"
33526
- }
33527
- },
33528
- {
33529
- "kind": "js",
33530
- "name": "getDefaultConfig",
33531
- "declaration": {
33532
- "name": "getDefaultConfig",
33533
- "module": "src/utils/index.ts"
33534
- }
33535
- },
33536
- {
33537
- "kind": "js",
33538
- "name": "getExports",
33539
- "declaration": {
33540
- "name": "getExports",
33541
- "module": "src/utils/index.ts"
33542
- }
33543
- },
33544
- {
33545
- "kind": "js",
33546
- "name": "*",
33547
- "declaration": {
33548
- "name": "*",
33549
- "package": "./behaviors"
33550
- }
33551
- }
33552
- ]
33553
- },
33554
- {
33555
- "kind": "javascript-module",
33556
- "path": "src/utils/logger.ts",
33557
- "declarations": [
33558
- {
33559
- "kind": "variable",
33560
- "name": "logger"
33561
- }
33562
- ],
33563
- "exports": [
33564
- {
33565
- "kind": "js",
33566
- "name": "logger",
33567
- "declaration": {
33568
- "name": "logger",
33569
- "module": "src/utils/logger.ts"
33570
- }
33571
- }
33572
- ]
33573
- },
33574
33439
  {
33575
33440
  "kind": "javascript-module",
33576
33441
  "path": "src/_config/tokens/custom.ts",
@@ -34606,6 +34471,141 @@
34606
34471
  }
34607
34472
  ]
34608
34473
  },
34474
+ {
34475
+ "kind": "javascript-module",
34476
+ "path": "src/utils/behaviors.ts",
34477
+ "declarations": [
34478
+ {
34479
+ "kind": "function",
34480
+ "name": "appearanceBehavior",
34481
+ "parameters": [
34482
+ {
34483
+ "name": "value",
34484
+ "type": {
34485
+ "text": "string"
34486
+ },
34487
+ "description": "The value of the appearance property"
34488
+ },
34489
+ {
34490
+ "name": "styles",
34491
+ "type": {
34492
+ "text": "ElementStyles"
34493
+ },
34494
+ "description": "The styles to be applied when condition matches"
34495
+ }
34496
+ ],
34497
+ "description": "Behavior that will conditionally apply a stylesheet based on the elements\nappearance property",
34498
+ "privacy": "public"
34499
+ }
34500
+ ],
34501
+ "exports": [
34502
+ {
34503
+ "kind": "js",
34504
+ "name": "appearanceBehavior",
34505
+ "declaration": {
34506
+ "name": "appearanceBehavior",
34507
+ "module": "src/utils/behaviors.ts"
34508
+ }
34509
+ }
34510
+ ]
34511
+ },
34512
+ {
34513
+ "kind": "javascript-module",
34514
+ "path": "src/utils/index.ts",
34515
+ "declarations": [
34516
+ {
34517
+ "kind": "function",
34518
+ "name": "paletteFromHex",
34519
+ "parameters": [
34520
+ {
34521
+ "name": "hexColor",
34522
+ "type": {
34523
+ "text": "string"
34524
+ }
34525
+ }
34526
+ ]
34527
+ },
34528
+ {
34529
+ "kind": "function",
34530
+ "name": "getDefaultConfig",
34531
+ "parameters": [
34532
+ {
34533
+ "name": "definition",
34534
+ "type": {
34535
+ "text": "Partial<FoundationElementDefinition>"
34536
+ }
34537
+ },
34538
+ {
34539
+ "name": "exclusions",
34540
+ "default": "defaultExclusions"
34541
+ }
34542
+ ]
34543
+ },
34544
+ {
34545
+ "kind": "function",
34546
+ "name": "getExports",
34547
+ "parameters": [
34548
+ {
34549
+ "name": "registrationFunction"
34550
+ }
34551
+ ]
34552
+ }
34553
+ ],
34554
+ "exports": [
34555
+ {
34556
+ "kind": "js",
34557
+ "name": "paletteFromHex",
34558
+ "declaration": {
34559
+ "name": "paletteFromHex",
34560
+ "module": "src/utils/index.ts"
34561
+ }
34562
+ },
34563
+ {
34564
+ "kind": "js",
34565
+ "name": "getDefaultConfig",
34566
+ "declaration": {
34567
+ "name": "getDefaultConfig",
34568
+ "module": "src/utils/index.ts"
34569
+ }
34570
+ },
34571
+ {
34572
+ "kind": "js",
34573
+ "name": "getExports",
34574
+ "declaration": {
34575
+ "name": "getExports",
34576
+ "module": "src/utils/index.ts"
34577
+ }
34578
+ },
34579
+ {
34580
+ "kind": "js",
34581
+ "name": "*",
34582
+ "declaration": {
34583
+ "name": "*",
34584
+ "package": "./behaviors"
34585
+ }
34586
+ }
34587
+ ]
34588
+ },
34589
+ {
34590
+ "kind": "javascript-module",
34591
+ "path": "src/utils/logger.ts",
34592
+ "declarations": [
34593
+ {
34594
+ "kind": "variable",
34595
+ "name": "logger"
34596
+ }
34597
+ ],
34598
+ "exports": [
34599
+ {
34600
+ "kind": "js",
34601
+ "name": "logger",
34602
+ "declaration": {
34603
+ "name": "logger",
34604
+ "module": "src/utils/logger.ts"
34605
+ }
34606
+ }
34607
+ ]
34608
+ },
34609
34609
  {
34610
34610
  "kind": "javascript-module",
34611
34611
  "path": "src/_config/values/color.ts",