@genesislcap/foundation-ui 14.317.0 → 14.317.1

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