@genesislcap/foundation-ui 14.291.0 → 14.291.1

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