@genesislcap/foundation-ui 14.373.1 → 14.373.2-MX-499.2

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