@genesislcap/foundation-ui 14.374.0 → 14.374.1

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