@genesislcap/foundation-ui 14.290.0 → 14.290.1-alpha-e7f1a10.0

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