@genesislcap/foundation-ui 14.289.1 → 14.289.2-alpha-2b765d2.0

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