@genesislcap/foundation-ui 14.298.1 → 14.298.2

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