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