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