@genesislcap/foundation-ui 14.370.0 → 14.370.1-alpha-d042199.0

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