@genesislcap/foundation-ui 14.370.0 → 14.370.1-alpha-fa13546.0

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