@genesislcap/foundation-ui 14.152.1 → 14.152.2-alpha-65be1bd.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 +994 -994
  2. package/package.json +15 -15
@@ -826,37 +826,6 @@
826
826
  }
827
827
  ]
828
828
  },
829
- {
830
- "kind": "javascript-module",
831
- "path": "src/_config/index.ts",
832
- "declarations": [],
833
- "exports": [
834
- {
835
- "kind": "js",
836
- "name": "*",
837
- "declaration": {
838
- "name": "*",
839
- "package": "./styles"
840
- }
841
- },
842
- {
843
- "kind": "js",
844
- "name": "*",
845
- "declaration": {
846
- "name": "*",
847
- "package": "./tokens"
848
- }
849
- },
850
- {
851
- "kind": "js",
852
- "name": "*",
853
- "declaration": {
854
- "name": "*",
855
- "package": "./values"
856
- }
857
- }
858
- ]
859
- },
860
829
  {
861
830
  "kind": "javascript-module",
862
831
  "path": "src/accordion/accordion.styles.ts",
@@ -1039,6 +1008,37 @@
1039
1008
  }
1040
1009
  ]
1041
1010
  },
1011
+ {
1012
+ "kind": "javascript-module",
1013
+ "path": "src/_config/index.ts",
1014
+ "declarations": [],
1015
+ "exports": [
1016
+ {
1017
+ "kind": "js",
1018
+ "name": "*",
1019
+ "declaration": {
1020
+ "name": "*",
1021
+ "package": "./styles"
1022
+ }
1023
+ },
1024
+ {
1025
+ "kind": "js",
1026
+ "name": "*",
1027
+ "declaration": {
1028
+ "name": "*",
1029
+ "package": "./tokens"
1030
+ }
1031
+ },
1032
+ {
1033
+ "kind": "js",
1034
+ "name": "*",
1035
+ "declaration": {
1036
+ "name": "*",
1037
+ "package": "./values"
1038
+ }
1039
+ }
1040
+ ]
1041
+ },
1042
1042
  {
1043
1043
  "kind": "javascript-module",
1044
1044
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1994,14 +1994,14 @@
1994
1994
  },
1995
1995
  {
1996
1996
  "kind": "javascript-module",
1997
- "path": "src/anchored-region/anchor-region.template.ts",
1997
+ "path": "src/anchor/anchor.styles.ts",
1998
1998
  "declarations": [
1999
1999
  {
2000
2000
  "kind": "function",
2001
- "name": "foundationAnchoredRegionTemplate",
2001
+ "name": "foundationAnchorStyles",
2002
2002
  "return": {
2003
2003
  "type": {
2004
- "text": "ViewTemplate<AnchoredRegion>"
2004
+ "text": "ElementStyles"
2005
2005
  }
2006
2006
  },
2007
2007
  "parameters": [
@@ -2023,24 +2023,24 @@
2023
2023
  "exports": [
2024
2024
  {
2025
2025
  "kind": "js",
2026
- "name": "foundationAnchoredRegionTemplate",
2026
+ "name": "foundationAnchorStyles",
2027
2027
  "declaration": {
2028
- "name": "foundationAnchoredRegionTemplate",
2029
- "module": "src/anchored-region/anchor-region.template.ts"
2028
+ "name": "foundationAnchorStyles",
2029
+ "module": "src/anchor/anchor.styles.ts"
2030
2030
  }
2031
2031
  }
2032
2032
  ]
2033
2033
  },
2034
2034
  {
2035
2035
  "kind": "javascript-module",
2036
- "path": "src/anchored-region/anchored-region.styles.ts",
2036
+ "path": "src/anchor/anchor.template.ts",
2037
2037
  "declarations": [
2038
2038
  {
2039
2039
  "kind": "function",
2040
- "name": "foundationAnchoredRegionStyles",
2040
+ "name": "foundationAnchorTemplate",
2041
2041
  "return": {
2042
2042
  "type": {
2043
- "text": "ElementStyles"
2043
+ "text": "ViewTemplate<Anchor>"
2044
2044
  }
2045
2045
  },
2046
2046
  "parameters": [
@@ -2062,636 +2062,766 @@
2062
2062
  "exports": [
2063
2063
  {
2064
2064
  "kind": "js",
2065
- "name": "foundationAnchoredRegionStyles",
2065
+ "name": "foundationAnchorTemplate",
2066
2066
  "declaration": {
2067
- "name": "foundationAnchoredRegionStyles",
2068
- "module": "src/anchored-region/anchored-region.styles.ts"
2067
+ "name": "foundationAnchorTemplate",
2068
+ "module": "src/anchor/anchor.template.ts"
2069
2069
  }
2070
2070
  }
2071
2071
  ]
2072
2072
  },
2073
2073
  {
2074
2074
  "kind": "javascript-module",
2075
- "path": "src/anchored-region/anchored-region.ts",
2075
+ "path": "src/anchor/anchor.ts",
2076
2076
  "declarations": [
2077
2077
  {
2078
2078
  "kind": "class",
2079
2079
  "description": "",
2080
- "name": "AnchoredRegion",
2080
+ "name": "Anchor",
2081
2081
  "superclass": {
2082
- "name": "FASTAnchoredRegion",
2082
+ "name": "FASTAnchor",
2083
2083
  "package": "@microsoft/fast-components"
2084
2084
  },
2085
- "tagName": "%%prefix%%-anchored-region",
2085
+ "tagName": "%%prefix%%-anchor",
2086
2086
  "customElement": true,
2087
2087
  "attributes": [
2088
2088
  {
2089
- "name": "anchor",
2089
+ "name": "download",
2090
2090
  "type": {
2091
2091
  "text": "string"
2092
2092
  },
2093
- "default": "\"\"",
2094
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2095
- "fieldName": "anchor",
2093
+ "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.",
2094
+ "fieldName": "download",
2096
2095
  "inheritedFrom": {
2097
- "name": "AnchoredRegion",
2098
- "module": "src/anchored-region/anchored-region.ts"
2096
+ "name": "Anchor",
2097
+ "module": "src/anchor/anchor.ts"
2099
2098
  }
2100
2099
  },
2101
2100
  {
2102
- "name": "viewport",
2101
+ "name": "href",
2103
2102
  "type": {
2104
2103
  "text": "string"
2105
2104
  },
2106
- "default": "\"\"",
2107
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2108
- "fieldName": "viewport",
2105
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2106
+ "fieldName": "href",
2109
2107
  "inheritedFrom": {
2110
- "name": "AnchoredRegion",
2111
- "module": "src/anchored-region/anchored-region.ts"
2108
+ "name": "Anchor",
2109
+ "module": "src/anchor/anchor.ts"
2112
2110
  }
2113
2111
  },
2114
2112
  {
2115
- "name": "horizontal-positioning-mode",
2113
+ "name": "hreflang",
2116
2114
  "type": {
2117
- "text": "AxisPositioningMode"
2115
+ "text": "string"
2118
2116
  },
2119
- "default": "\"uncontrolled\"",
2120
- "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",
2121
- "fieldName": "horizontalPositioningMode",
2117
+ "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.",
2118
+ "fieldName": "hreflang",
2122
2119
  "inheritedFrom": {
2123
- "name": "AnchoredRegion",
2124
- "module": "src/anchored-region/anchored-region.ts"
2120
+ "name": "Anchor",
2121
+ "module": "src/anchor/anchor.ts"
2125
2122
  }
2126
2123
  },
2127
2124
  {
2128
- "name": "horizontal-default-position",
2125
+ "name": "ping",
2129
2126
  "type": {
2130
- "text": "HorizontalPosition"
2127
+ "text": "string"
2131
2128
  },
2132
- "default": "\"unset\"",
2133
- "description": "The default horizontal position of the region relative to the anchor element",
2134
- "fieldName": "horizontalDefaultPosition",
2129
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2130
+ "fieldName": "ping",
2135
2131
  "inheritedFrom": {
2136
- "name": "AnchoredRegion",
2137
- "module": "src/anchored-region/anchored-region.ts"
2132
+ "name": "Anchor",
2133
+ "module": "src/anchor/anchor.ts"
2138
2134
  }
2139
2135
  },
2140
2136
  {
2141
- "name": "horizontal-viewport-lock",
2137
+ "name": "referrerpolicy",
2142
2138
  "type": {
2143
- "text": "boolean"
2139
+ "text": "string"
2144
2140
  },
2145
- "default": "false",
2146
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2147
- "fieldName": "horizontalViewportLock",
2141
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2142
+ "fieldName": "referrerpolicy",
2148
2143
  "inheritedFrom": {
2149
- "name": "AnchoredRegion",
2150
- "module": "src/anchored-region/anchored-region.ts"
2144
+ "name": "Anchor",
2145
+ "module": "src/anchor/anchor.ts"
2151
2146
  }
2152
2147
  },
2153
2148
  {
2154
- "name": "horizontal-inset",
2149
+ "name": "rel",
2155
2150
  "type": {
2156
- "text": "boolean"
2151
+ "text": "string"
2157
2152
  },
2158
- "default": "false",
2159
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2160
- "fieldName": "horizontalInset",
2153
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2154
+ "fieldName": "rel",
2161
2155
  "inheritedFrom": {
2162
- "name": "AnchoredRegion",
2163
- "module": "src/anchored-region/anchored-region.ts"
2156
+ "name": "Anchor",
2157
+ "module": "src/anchor/anchor.ts"
2164
2158
  }
2165
2159
  },
2166
2160
  {
2167
- "name": "horizontal-threshold",
2161
+ "name": "target",
2168
2162
  "type": {
2169
- "text": "number"
2163
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2170
2164
  },
2171
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2172
- "fieldName": "horizontalThreshold",
2165
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2166
+ "fieldName": "target",
2173
2167
  "inheritedFrom": {
2174
- "name": "AnchoredRegion",
2175
- "module": "src/anchored-region/anchored-region.ts"
2168
+ "name": "Anchor",
2169
+ "module": "src/anchor/anchor.ts"
2176
2170
  }
2177
2171
  },
2178
2172
  {
2179
- "name": "horizontal-scaling",
2173
+ "name": "type",
2180
2174
  "type": {
2181
- "text": "AxisScalingMode"
2175
+ "text": "string"
2182
2176
  },
2183
- "default": "\"content\"",
2184
- "description": "Defines how the width of the region is calculated",
2185
- "fieldName": "horizontalScaling",
2177
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2178
+ "fieldName": "type",
2186
2179
  "inheritedFrom": {
2187
- "name": "AnchoredRegion",
2188
- "module": "src/anchored-region/anchored-region.ts"
2180
+ "name": "Anchor",
2181
+ "module": "src/anchor/anchor.ts"
2189
2182
  }
2190
- },
2183
+ }
2184
+ ],
2185
+ "members": [
2191
2186
  {
2192
- "name": "vertical-positioning-mode",
2187
+ "kind": "field",
2188
+ "name": "download",
2193
2189
  "type": {
2194
- "text": "AxisPositioningMode"
2190
+ "text": "string"
2195
2191
  },
2196
- "default": "\"uncontrolled\"",
2197
- "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",
2198
- "fieldName": "verticalPositioningMode",
2192
+ "privacy": "public",
2193
+ "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.",
2199
2194
  "inheritedFrom": {
2200
- "name": "AnchoredRegion",
2201
- "module": "src/anchored-region/anchored-region.ts"
2195
+ "name": "Anchor",
2196
+ "module": "src/anchor/anchor.ts"
2202
2197
  }
2203
2198
  },
2204
2199
  {
2205
- "name": "vertical-default-position",
2200
+ "kind": "field",
2201
+ "name": "href",
2206
2202
  "type": {
2207
- "text": "VerticalPosition"
2203
+ "text": "string"
2208
2204
  },
2209
- "default": "\"unset\"",
2210
- "description": "The default vertical position of the region relative to the anchor element",
2211
- "fieldName": "verticalDefaultPosition",
2205
+ "privacy": "public",
2206
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2212
2207
  "inheritedFrom": {
2213
- "name": "AnchoredRegion",
2214
- "module": "src/anchored-region/anchored-region.ts"
2208
+ "name": "Anchor",
2209
+ "module": "src/anchor/anchor.ts"
2215
2210
  }
2216
2211
  },
2217
2212
  {
2218
- "name": "vertical-viewport-lock",
2213
+ "kind": "field",
2214
+ "name": "hreflang",
2219
2215
  "type": {
2220
- "text": "boolean"
2216
+ "text": "string"
2221
2217
  },
2222
- "default": "false",
2223
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2224
- "fieldName": "verticalViewportLock",
2218
+ "privacy": "public",
2219
+ "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.",
2225
2220
  "inheritedFrom": {
2226
- "name": "AnchoredRegion",
2227
- "module": "src/anchored-region/anchored-region.ts"
2221
+ "name": "Anchor",
2222
+ "module": "src/anchor/anchor.ts"
2228
2223
  }
2229
2224
  },
2230
2225
  {
2231
- "name": "vertical-inset",
2226
+ "kind": "field",
2227
+ "name": "ping",
2232
2228
  "type": {
2233
- "text": "boolean"
2229
+ "text": "string"
2234
2230
  },
2235
- "default": "false",
2236
- "description": "Whether the region overlaps the anchor on the vertical axis",
2237
- "fieldName": "verticalInset",
2231
+ "privacy": "public",
2232
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2238
2233
  "inheritedFrom": {
2239
- "name": "AnchoredRegion",
2240
- "module": "src/anchored-region/anchored-region.ts"
2234
+ "name": "Anchor",
2235
+ "module": "src/anchor/anchor.ts"
2241
2236
  }
2242
2237
  },
2243
2238
  {
2244
- "name": "vertical-threshold",
2239
+ "kind": "field",
2240
+ "name": "referrerpolicy",
2245
2241
  "type": {
2246
- "text": "number"
2247
- },
2248
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2249
- "fieldName": "verticalThreshold",
2250
- "inheritedFrom": {
2251
- "name": "AnchoredRegion",
2252
- "module": "src/anchored-region/anchored-region.ts"
2253
- }
2254
- },
2255
- {
2256
- "name": "vertical-scaling",
2257
- "type": {
2258
- "text": "AxisScalingMode"
2259
- },
2260
- "default": "\"content\"",
2261
- "description": "Defines how the height of the region is calculated",
2262
- "fieldName": "verticalScaling",
2263
- "inheritedFrom": {
2264
- "name": "AnchoredRegion",
2265
- "module": "src/anchored-region/anchored-region.ts"
2266
- }
2267
- },
2268
- {
2269
- "name": "fixed-placement",
2270
- "type": {
2271
- "text": "boolean"
2242
+ "text": "string"
2272
2243
  },
2273
- "default": "false",
2274
- "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,",
2275
- "fieldName": "fixedPlacement",
2244
+ "privacy": "public",
2245
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2276
2246
  "inheritedFrom": {
2277
- "name": "AnchoredRegion",
2278
- "module": "src/anchored-region/anchored-region.ts"
2247
+ "name": "Anchor",
2248
+ "module": "src/anchor/anchor.ts"
2279
2249
  }
2280
2250
  },
2281
- {
2282
- "name": "auto-update-mode",
2283
- "type": {
2284
- "text": "AutoUpdateMode"
2285
- },
2286
- "default": "\"anchor\"",
2287
- "description": "Defines what triggers the anchored region to revaluate positioning",
2288
- "fieldName": "autoUpdateMode",
2289
- "inheritedFrom": {
2290
- "name": "AnchoredRegion",
2291
- "module": "src/anchored-region/anchored-region.ts"
2292
- }
2293
- }
2294
- ],
2295
- "members": [
2296
2251
  {
2297
2252
  "kind": "field",
2298
- "name": "anchor",
2253
+ "name": "rel",
2299
2254
  "type": {
2300
2255
  "text": "string"
2301
2256
  },
2302
2257
  "privacy": "public",
2303
- "default": "\"\"",
2304
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2258
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2305
2259
  "inheritedFrom": {
2306
- "name": "AnchoredRegion",
2307
- "module": "src/anchored-region/anchored-region.ts"
2260
+ "name": "Anchor",
2261
+ "module": "src/anchor/anchor.ts"
2308
2262
  }
2309
2263
  },
2310
2264
  {
2311
- "kind": "method",
2312
- "name": "anchorChanged",
2313
- "privacy": "private",
2314
- "return": {
2315
- "type": {
2316
- "text": "void"
2317
- }
2265
+ "kind": "field",
2266
+ "name": "target",
2267
+ "type": {
2268
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2318
2269
  },
2270
+ "privacy": "public",
2271
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2319
2272
  "inheritedFrom": {
2320
- "name": "AnchoredRegion",
2321
- "module": "src/anchored-region/anchored-region.ts"
2273
+ "name": "Anchor",
2274
+ "module": "src/anchor/anchor.ts"
2322
2275
  }
2323
2276
  },
2324
2277
  {
2325
2278
  "kind": "field",
2326
- "name": "viewport",
2279
+ "name": "type",
2327
2280
  "type": {
2328
2281
  "text": "string"
2329
2282
  },
2330
2283
  "privacy": "public",
2331
- "default": "\"\"",
2332
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2333
- "inheritedFrom": {
2334
- "name": "AnchoredRegion",
2335
- "module": "src/anchored-region/anchored-region.ts"
2336
- }
2337
- },
2338
- {
2339
- "kind": "method",
2340
- "name": "viewportChanged",
2341
- "privacy": "private",
2342
- "return": {
2343
- "type": {
2344
- "text": "void"
2345
- }
2346
- },
2284
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2347
2285
  "inheritedFrom": {
2348
- "name": "AnchoredRegion",
2349
- "module": "src/anchored-region/anchored-region.ts"
2286
+ "name": "Anchor",
2287
+ "module": "src/anchor/anchor.ts"
2350
2288
  }
2351
2289
  },
2352
2290
  {
2353
2291
  "kind": "field",
2354
- "name": "horizontalPositioningMode",
2292
+ "name": "control",
2355
2293
  "type": {
2356
- "text": "AxisPositioningMode"
2294
+ "text": "HTMLAnchorElement | undefined"
2357
2295
  },
2358
2296
  "privacy": "public",
2359
- "default": "\"uncontrolled\"",
2360
- "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",
2297
+ "description": "References the root element",
2361
2298
  "inheritedFrom": {
2362
- "name": "AnchoredRegion",
2363
- "module": "src/anchored-region/anchored-region.ts"
2299
+ "name": "Anchor",
2300
+ "module": "src/anchor/anchor.ts"
2364
2301
  }
2365
2302
  },
2366
2303
  {
2367
- "kind": "method",
2368
- "name": "horizontalPositioningModeChanged",
2304
+ "kind": "field",
2305
+ "name": "handleUnsupportedDelegatesFocus",
2369
2306
  "privacy": "private",
2370
- "return": {
2371
- "type": {
2372
- "text": "void"
2373
- }
2374
- },
2307
+ "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",
2375
2308
  "inheritedFrom": {
2376
- "name": "AnchoredRegion",
2377
- "module": "src/anchored-region/anchored-region.ts"
2309
+ "name": "Anchor",
2310
+ "module": "src/anchor/anchor.ts"
2378
2311
  }
2379
2312
  },
2380
2313
  {
2381
2314
  "kind": "field",
2382
- "name": "horizontalDefaultPosition",
2315
+ "name": "_presentation",
2383
2316
  "type": {
2384
- "text": "HorizontalPosition"
2317
+ "text": "ComponentPresentation | null | undefined"
2385
2318
  },
2386
- "privacy": "public",
2387
- "default": "\"unset\"",
2388
- "description": "The default horizontal position of the region relative to the anchor element",
2389
- "inheritedFrom": {
2390
- "name": "AnchoredRegion",
2391
- "module": "src/anchored-region/anchored-region.ts"
2392
- }
2393
- },
2394
- {
2395
- "kind": "method",
2396
- "name": "horizontalDefaultPositionChanged",
2397
2319
  "privacy": "private",
2398
- "return": {
2399
- "type": {
2400
- "text": "void"
2401
- }
2402
- },
2320
+ "default": "void 0",
2403
2321
  "inheritedFrom": {
2404
- "name": "AnchoredRegion",
2405
- "module": "src/anchored-region/anchored-region.ts"
2322
+ "name": "FoundationElement",
2323
+ "module": "src/foundation-element/foundation-element.ts"
2406
2324
  }
2407
2325
  },
2408
2326
  {
2409
2327
  "kind": "field",
2410
- "name": "horizontalViewportLock",
2328
+ "name": "$presentation",
2411
2329
  "type": {
2412
- "text": "boolean"
2330
+ "text": "ComponentPresentation | null"
2413
2331
  },
2414
2332
  "privacy": "public",
2415
- "default": "false",
2416
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2417
- "inheritedFrom": {
2418
- "name": "AnchoredRegion",
2419
- "module": "src/anchored-region/anchored-region.ts"
2420
- }
2421
- },
2422
- {
2423
- "kind": "method",
2424
- "name": "horizontalViewportLockChanged",
2425
- "privacy": "private",
2426
- "return": {
2427
- "type": {
2428
- "text": "void"
2429
- }
2430
- },
2333
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2431
2334
  "inheritedFrom": {
2432
- "name": "AnchoredRegion",
2433
- "module": "src/anchored-region/anchored-region.ts"
2335
+ "name": "FoundationElement",
2336
+ "module": "src/foundation-element/foundation-element.ts"
2434
2337
  }
2435
2338
  },
2436
2339
  {
2437
2340
  "kind": "field",
2438
- "name": "horizontalInset",
2341
+ "name": "template",
2439
2342
  "type": {
2440
- "text": "boolean"
2343
+ "text": "ElementViewTemplate | void | null"
2441
2344
  },
2442
2345
  "privacy": "public",
2443
- "default": "false",
2444
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2346
+ "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.",
2445
2347
  "inheritedFrom": {
2446
- "name": "AnchoredRegion",
2447
- "module": "src/anchored-region/anchored-region.ts"
2348
+ "name": "FoundationElement",
2349
+ "module": "src/foundation-element/foundation-element.ts"
2448
2350
  }
2449
2351
  },
2450
2352
  {
2451
2353
  "kind": "method",
2452
- "name": "horizontalInsetChanged",
2453
- "privacy": "private",
2354
+ "name": "templateChanged",
2355
+ "privacy": "protected",
2454
2356
  "return": {
2455
2357
  "type": {
2456
2358
  "text": "void"
2457
2359
  }
2458
2360
  },
2459
2361
  "inheritedFrom": {
2460
- "name": "AnchoredRegion",
2461
- "module": "src/anchored-region/anchored-region.ts"
2362
+ "name": "FoundationElement",
2363
+ "module": "src/foundation-element/foundation-element.ts"
2462
2364
  }
2463
2365
  },
2464
2366
  {
2465
2367
  "kind": "field",
2466
- "name": "horizontalThreshold",
2368
+ "name": "styles",
2467
2369
  "type": {
2468
- "text": "number"
2370
+ "text": "ElementStyles | void | null"
2469
2371
  },
2470
2372
  "privacy": "public",
2471
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2373
+ "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.",
2472
2374
  "inheritedFrom": {
2473
- "name": "AnchoredRegion",
2474
- "module": "src/anchored-region/anchored-region.ts"
2375
+ "name": "FoundationElement",
2376
+ "module": "src/foundation-element/foundation-element.ts"
2475
2377
  }
2476
2378
  },
2477
2379
  {
2478
2380
  "kind": "method",
2479
- "name": "horizontalThresholdChanged",
2480
- "privacy": "private",
2381
+ "name": "stylesChanged",
2382
+ "privacy": "protected",
2481
2383
  "return": {
2482
2384
  "type": {
2483
2385
  "text": "void"
2484
2386
  }
2485
2387
  },
2486
2388
  "inheritedFrom": {
2487
- "name": "AnchoredRegion",
2488
- "module": "src/anchored-region/anchored-region.ts"
2489
- }
2490
- },
2491
- {
2492
- "kind": "field",
2493
- "name": "horizontalScaling",
2494
- "type": {
2495
- "text": "AxisScalingMode"
2496
- },
2497
- "privacy": "public",
2498
- "default": "\"content\"",
2499
- "description": "Defines how the width of the region is calculated",
2500
- "inheritedFrom": {
2501
- "name": "AnchoredRegion",
2502
- "module": "src/anchored-region/anchored-region.ts"
2389
+ "name": "FoundationElement",
2390
+ "module": "src/foundation-element/foundation-element.ts"
2503
2391
  }
2504
2392
  },
2505
2393
  {
2506
2394
  "kind": "method",
2507
- "name": "horizontalScalingChanged",
2508
- "privacy": "private",
2395
+ "name": "compose",
2396
+ "privacy": "public",
2397
+ "static": true,
2509
2398
  "return": {
2510
2399
  "type": {
2511
- "text": "void"
2400
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2512
2401
  }
2513
2402
  },
2403
+ "parameters": [
2404
+ {
2405
+ "name": "this",
2406
+ "type": {
2407
+ "text": "K"
2408
+ }
2409
+ },
2410
+ {
2411
+ "name": "elementDefinition",
2412
+ "type": {
2413
+ "text": "T"
2414
+ },
2415
+ "description": "The definition of the element to create the registry\nfunction for."
2416
+ }
2417
+ ],
2418
+ "description": "Defines an element registry function with a set of element definition defaults.",
2514
2419
  "inheritedFrom": {
2515
- "name": "AnchoredRegion",
2516
- "module": "src/anchored-region/anchored-region.ts"
2420
+ "name": "FoundationElement",
2421
+ "module": "src/foundation-element/foundation-element.ts"
2517
2422
  }
2518
- },
2519
- {
2520
- "kind": "field",
2521
- "name": "verticalPositioningMode",
2423
+ }
2424
+ ]
2425
+ },
2426
+ {
2427
+ "kind": "variable",
2428
+ "name": "foundationAnchorShadowOptions",
2429
+ "type": {
2430
+ "text": "ShadowRootInit"
2431
+ },
2432
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2433
+ },
2434
+ {
2435
+ "kind": "variable",
2436
+ "name": "defaultAnchorConfig",
2437
+ "type": {
2438
+ "text": "object"
2439
+ },
2440
+ "default": "{}"
2441
+ },
2442
+ {
2443
+ "kind": "variable",
2444
+ "name": "foundationAnchor",
2445
+ "description": "The Foundation Anchor",
2446
+ "privacy": "public"
2447
+ }
2448
+ ],
2449
+ "exports": [
2450
+ {
2451
+ "kind": "js",
2452
+ "name": "Anchor",
2453
+ "declaration": {
2454
+ "name": "Anchor",
2455
+ "module": "src/anchor/anchor.ts"
2456
+ }
2457
+ },
2458
+ {
2459
+ "kind": "js",
2460
+ "name": "foundationAnchorShadowOptions",
2461
+ "declaration": {
2462
+ "name": "foundationAnchorShadowOptions",
2463
+ "module": "src/anchor/anchor.ts"
2464
+ }
2465
+ },
2466
+ {
2467
+ "kind": "js",
2468
+ "name": "defaultAnchorConfig",
2469
+ "declaration": {
2470
+ "name": "defaultAnchorConfig",
2471
+ "module": "src/anchor/anchor.ts"
2472
+ }
2473
+ },
2474
+ {
2475
+ "kind": "js",
2476
+ "name": "foundationAnchor",
2477
+ "declaration": {
2478
+ "name": "foundationAnchor",
2479
+ "module": "src/anchor/anchor.ts"
2480
+ }
2481
+ }
2482
+ ]
2483
+ },
2484
+ {
2485
+ "kind": "javascript-module",
2486
+ "path": "src/anchor/index.ts",
2487
+ "declarations": [],
2488
+ "exports": [
2489
+ {
2490
+ "kind": "js",
2491
+ "name": "*",
2492
+ "declaration": {
2493
+ "name": "*",
2494
+ "package": "./anchor.template"
2495
+ }
2496
+ },
2497
+ {
2498
+ "kind": "js",
2499
+ "name": "*",
2500
+ "declaration": {
2501
+ "name": "*",
2502
+ "package": "./anchor.styles"
2503
+ }
2504
+ },
2505
+ {
2506
+ "kind": "js",
2507
+ "name": "*",
2508
+ "declaration": {
2509
+ "name": "*",
2510
+ "package": "./anchor"
2511
+ }
2512
+ }
2513
+ ]
2514
+ },
2515
+ {
2516
+ "kind": "javascript-module",
2517
+ "path": "src/anchored-region/anchor-region.template.ts",
2518
+ "declarations": [
2519
+ {
2520
+ "kind": "function",
2521
+ "name": "foundationAnchoredRegionTemplate",
2522
+ "return": {
2523
+ "type": {
2524
+ "text": "ViewTemplate<AnchoredRegion>"
2525
+ }
2526
+ },
2527
+ "parameters": [
2528
+ {
2529
+ "name": "context",
2522
2530
  "type": {
2523
- "text": "AxisPositioningMode"
2531
+ "text": "ElementDefinitionContext"
2532
+ }
2533
+ },
2534
+ {
2535
+ "name": "definition",
2536
+ "type": {
2537
+ "text": "FoundationElementDefinition"
2538
+ }
2539
+ }
2540
+ ]
2541
+ }
2542
+ ],
2543
+ "exports": [
2544
+ {
2545
+ "kind": "js",
2546
+ "name": "foundationAnchoredRegionTemplate",
2547
+ "declaration": {
2548
+ "name": "foundationAnchoredRegionTemplate",
2549
+ "module": "src/anchored-region/anchor-region.template.ts"
2550
+ }
2551
+ }
2552
+ ]
2553
+ },
2554
+ {
2555
+ "kind": "javascript-module",
2556
+ "path": "src/anchored-region/anchored-region.styles.ts",
2557
+ "declarations": [
2558
+ {
2559
+ "kind": "function",
2560
+ "name": "foundationAnchoredRegionStyles",
2561
+ "return": {
2562
+ "type": {
2563
+ "text": "ElementStyles"
2564
+ }
2565
+ },
2566
+ "parameters": [
2567
+ {
2568
+ "name": "context",
2569
+ "type": {
2570
+ "text": "ElementDefinitionContext"
2571
+ }
2572
+ },
2573
+ {
2574
+ "name": "definition",
2575
+ "type": {
2576
+ "text": "FoundationElementDefinition"
2577
+ }
2578
+ }
2579
+ ]
2580
+ }
2581
+ ],
2582
+ "exports": [
2583
+ {
2584
+ "kind": "js",
2585
+ "name": "foundationAnchoredRegionStyles",
2586
+ "declaration": {
2587
+ "name": "foundationAnchoredRegionStyles",
2588
+ "module": "src/anchored-region/anchored-region.styles.ts"
2589
+ }
2590
+ }
2591
+ ]
2592
+ },
2593
+ {
2594
+ "kind": "javascript-module",
2595
+ "path": "src/anchored-region/anchored-region.ts",
2596
+ "declarations": [
2597
+ {
2598
+ "kind": "class",
2599
+ "description": "",
2600
+ "name": "AnchoredRegion",
2601
+ "superclass": {
2602
+ "name": "FASTAnchoredRegion",
2603
+ "package": "@microsoft/fast-components"
2604
+ },
2605
+ "tagName": "%%prefix%%-anchored-region",
2606
+ "customElement": true,
2607
+ "attributes": [
2608
+ {
2609
+ "name": "anchor",
2610
+ "type": {
2611
+ "text": "string"
2524
2612
  },
2525
- "privacy": "public",
2526
- "default": "\"uncontrolled\"",
2527
- "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",
2613
+ "default": "\"\"",
2614
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2615
+ "fieldName": "anchor",
2528
2616
  "inheritedFrom": {
2529
2617
  "name": "AnchoredRegion",
2530
2618
  "module": "src/anchored-region/anchored-region.ts"
2531
2619
  }
2532
2620
  },
2533
2621
  {
2534
- "kind": "method",
2535
- "name": "verticalPositioningModeChanged",
2536
- "privacy": "private",
2537
- "return": {
2538
- "type": {
2539
- "text": "void"
2540
- }
2622
+ "name": "viewport",
2623
+ "type": {
2624
+ "text": "string"
2541
2625
  },
2626
+ "default": "\"\"",
2627
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2628
+ "fieldName": "viewport",
2542
2629
  "inheritedFrom": {
2543
2630
  "name": "AnchoredRegion",
2544
2631
  "module": "src/anchored-region/anchored-region.ts"
2545
2632
  }
2546
2633
  },
2547
2634
  {
2548
- "kind": "field",
2549
- "name": "verticalDefaultPosition",
2635
+ "name": "horizontal-positioning-mode",
2550
2636
  "type": {
2551
- "text": "VerticalPosition"
2637
+ "text": "AxisPositioningMode"
2552
2638
  },
2553
- "privacy": "public",
2554
- "default": "\"unset\"",
2555
- "description": "The default vertical position of the region relative to the anchor element",
2639
+ "default": "\"uncontrolled\"",
2640
+ "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",
2641
+ "fieldName": "horizontalPositioningMode",
2556
2642
  "inheritedFrom": {
2557
2643
  "name": "AnchoredRegion",
2558
2644
  "module": "src/anchored-region/anchored-region.ts"
2559
2645
  }
2560
2646
  },
2561
2647
  {
2562
- "kind": "method",
2563
- "name": "verticalDefaultPositionChanged",
2564
- "privacy": "private",
2565
- "return": {
2566
- "type": {
2567
- "text": "void"
2568
- }
2648
+ "name": "horizontal-default-position",
2649
+ "type": {
2650
+ "text": "HorizontalPosition"
2569
2651
  },
2652
+ "default": "\"unset\"",
2653
+ "description": "The default horizontal position of the region relative to the anchor element",
2654
+ "fieldName": "horizontalDefaultPosition",
2570
2655
  "inheritedFrom": {
2571
2656
  "name": "AnchoredRegion",
2572
2657
  "module": "src/anchored-region/anchored-region.ts"
2573
2658
  }
2574
2659
  },
2575
2660
  {
2576
- "kind": "field",
2577
- "name": "verticalViewportLock",
2661
+ "name": "horizontal-viewport-lock",
2578
2662
  "type": {
2579
2663
  "text": "boolean"
2580
2664
  },
2581
- "privacy": "public",
2582
2665
  "default": "false",
2583
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2666
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2667
+ "fieldName": "horizontalViewportLock",
2584
2668
  "inheritedFrom": {
2585
2669
  "name": "AnchoredRegion",
2586
2670
  "module": "src/anchored-region/anchored-region.ts"
2587
2671
  }
2588
2672
  },
2589
2673
  {
2590
- "kind": "method",
2591
- "name": "verticalViewportLockChanged",
2592
- "privacy": "private",
2593
- "return": {
2594
- "type": {
2595
- "text": "void"
2596
- }
2674
+ "name": "horizontal-inset",
2675
+ "type": {
2676
+ "text": "boolean"
2597
2677
  },
2678
+ "default": "false",
2679
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2680
+ "fieldName": "horizontalInset",
2598
2681
  "inheritedFrom": {
2599
2682
  "name": "AnchoredRegion",
2600
2683
  "module": "src/anchored-region/anchored-region.ts"
2601
2684
  }
2602
2685
  },
2603
2686
  {
2604
- "kind": "field",
2605
- "name": "verticalInset",
2687
+ "name": "horizontal-threshold",
2606
2688
  "type": {
2607
- "text": "boolean"
2689
+ "text": "number"
2608
2690
  },
2609
- "privacy": "public",
2610
- "default": "false",
2611
- "description": "Whether the region overlaps the anchor on the vertical axis",
2691
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2692
+ "fieldName": "horizontalThreshold",
2612
2693
  "inheritedFrom": {
2613
2694
  "name": "AnchoredRegion",
2614
2695
  "module": "src/anchored-region/anchored-region.ts"
2615
2696
  }
2616
2697
  },
2617
2698
  {
2618
- "kind": "method",
2619
- "name": "verticalInsetChanged",
2620
- "privacy": "private",
2621
- "return": {
2622
- "type": {
2623
- "text": "void"
2624
- }
2699
+ "name": "horizontal-scaling",
2700
+ "type": {
2701
+ "text": "AxisScalingMode"
2625
2702
  },
2703
+ "default": "\"content\"",
2704
+ "description": "Defines how the width of the region is calculated",
2705
+ "fieldName": "horizontalScaling",
2626
2706
  "inheritedFrom": {
2627
2707
  "name": "AnchoredRegion",
2628
2708
  "module": "src/anchored-region/anchored-region.ts"
2629
2709
  }
2630
2710
  },
2631
2711
  {
2632
- "kind": "field",
2633
- "name": "verticalThreshold",
2712
+ "name": "vertical-positioning-mode",
2634
2713
  "type": {
2635
- "text": "number"
2714
+ "text": "AxisPositioningMode"
2636
2715
  },
2637
- "privacy": "public",
2638
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2716
+ "default": "\"uncontrolled\"",
2717
+ "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",
2718
+ "fieldName": "verticalPositioningMode",
2639
2719
  "inheritedFrom": {
2640
2720
  "name": "AnchoredRegion",
2641
2721
  "module": "src/anchored-region/anchored-region.ts"
2642
2722
  }
2643
2723
  },
2644
2724
  {
2645
- "kind": "method",
2646
- "name": "verticalThresholdChanged",
2647
- "privacy": "private",
2648
- "return": {
2649
- "type": {
2650
- "text": "void"
2651
- }
2725
+ "name": "vertical-default-position",
2726
+ "type": {
2727
+ "text": "VerticalPosition"
2652
2728
  },
2729
+ "default": "\"unset\"",
2730
+ "description": "The default vertical position of the region relative to the anchor element",
2731
+ "fieldName": "verticalDefaultPosition",
2653
2732
  "inheritedFrom": {
2654
2733
  "name": "AnchoredRegion",
2655
2734
  "module": "src/anchored-region/anchored-region.ts"
2656
2735
  }
2657
2736
  },
2658
2737
  {
2659
- "kind": "field",
2660
- "name": "verticalScaling",
2738
+ "name": "vertical-viewport-lock",
2739
+ "type": {
2740
+ "text": "boolean"
2741
+ },
2742
+ "default": "false",
2743
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2744
+ "fieldName": "verticalViewportLock",
2745
+ "inheritedFrom": {
2746
+ "name": "AnchoredRegion",
2747
+ "module": "src/anchored-region/anchored-region.ts"
2748
+ }
2749
+ },
2750
+ {
2751
+ "name": "vertical-inset",
2752
+ "type": {
2753
+ "text": "boolean"
2754
+ },
2755
+ "default": "false",
2756
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2757
+ "fieldName": "verticalInset",
2758
+ "inheritedFrom": {
2759
+ "name": "AnchoredRegion",
2760
+ "module": "src/anchored-region/anchored-region.ts"
2761
+ }
2762
+ },
2763
+ {
2764
+ "name": "vertical-threshold",
2765
+ "type": {
2766
+ "text": "number"
2767
+ },
2768
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2769
+ "fieldName": "verticalThreshold",
2770
+ "inheritedFrom": {
2771
+ "name": "AnchoredRegion",
2772
+ "module": "src/anchored-region/anchored-region.ts"
2773
+ }
2774
+ },
2775
+ {
2776
+ "name": "vertical-scaling",
2661
2777
  "type": {
2662
2778
  "text": "AxisScalingMode"
2663
2779
  },
2664
- "privacy": "public",
2665
2780
  "default": "\"content\"",
2666
2781
  "description": "Defines how the height of the region is calculated",
2782
+ "fieldName": "verticalScaling",
2667
2783
  "inheritedFrom": {
2668
2784
  "name": "AnchoredRegion",
2669
2785
  "module": "src/anchored-region/anchored-region.ts"
2670
2786
  }
2671
2787
  },
2672
2788
  {
2673
- "kind": "method",
2674
- "name": "verticalScalingChanged",
2675
- "privacy": "private",
2676
- "return": {
2677
- "type": {
2678
- "text": "void"
2679
- }
2789
+ "name": "fixed-placement",
2790
+ "type": {
2791
+ "text": "boolean"
2680
2792
  },
2793
+ "default": "false",
2794
+ "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,",
2795
+ "fieldName": "fixedPlacement",
2681
2796
  "inheritedFrom": {
2682
2797
  "name": "AnchoredRegion",
2683
2798
  "module": "src/anchored-region/anchored-region.ts"
2684
2799
  }
2685
2800
  },
2801
+ {
2802
+ "name": "auto-update-mode",
2803
+ "type": {
2804
+ "text": "AutoUpdateMode"
2805
+ },
2806
+ "default": "\"anchor\"",
2807
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2808
+ "fieldName": "autoUpdateMode",
2809
+ "inheritedFrom": {
2810
+ "name": "AnchoredRegion",
2811
+ "module": "src/anchored-region/anchored-region.ts"
2812
+ }
2813
+ }
2814
+ ],
2815
+ "members": [
2686
2816
  {
2687
2817
  "kind": "field",
2688
- "name": "fixedPlacement",
2818
+ "name": "anchor",
2689
2819
  "type": {
2690
- "text": "boolean"
2820
+ "text": "string"
2691
2821
  },
2692
2822
  "privacy": "public",
2693
- "default": "false",
2694
- "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,",
2823
+ "default": "\"\"",
2824
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2695
2825
  "inheritedFrom": {
2696
2826
  "name": "AnchoredRegion",
2697
2827
  "module": "src/anchored-region/anchored-region.ts"
@@ -2699,7 +2829,7 @@
2699
2829
  },
2700
2830
  {
2701
2831
  "kind": "method",
2702
- "name": "fixedPlacementChanged",
2832
+ "name": "anchorChanged",
2703
2833
  "privacy": "private",
2704
2834
  "return": {
2705
2835
  "type": {
@@ -2713,13 +2843,13 @@
2713
2843
  },
2714
2844
  {
2715
2845
  "kind": "field",
2716
- "name": "autoUpdateMode",
2846
+ "name": "viewport",
2717
2847
  "type": {
2718
- "text": "AutoUpdateMode"
2848
+ "text": "string"
2719
2849
  },
2720
2850
  "privacy": "public",
2721
- "default": "\"anchor\"",
2722
- "description": "Defines what triggers the anchored region to revaluate positioning",
2851
+ "default": "\"\"",
2852
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2723
2853
  "inheritedFrom": {
2724
2854
  "name": "AnchoredRegion",
2725
2855
  "module": "src/anchored-region/anchored-region.ts"
@@ -2727,27 +2857,13 @@
2727
2857
  },
2728
2858
  {
2729
2859
  "kind": "method",
2730
- "name": "autoUpdateModeChanged",
2860
+ "name": "viewportChanged",
2731
2861
  "privacy": "private",
2732
2862
  "return": {
2733
2863
  "type": {
2734
2864
  "text": "void"
2735
2865
  }
2736
2866
  },
2737
- "parameters": [
2738
- {
2739
- "name": "prevMode",
2740
- "type": {
2741
- "text": "AutoUpdateMode"
2742
- }
2743
- },
2744
- {
2745
- "name": "newMode",
2746
- "type": {
2747
- "text": "AutoUpdateMode"
2748
- }
2749
- }
2750
- ],
2751
2867
  "inheritedFrom": {
2752
2868
  "name": "AnchoredRegion",
2753
2869
  "module": "src/anchored-region/anchored-region.ts"
@@ -2755,13 +2871,13 @@
2755
2871
  },
2756
2872
  {
2757
2873
  "kind": "field",
2758
- "name": "anchorElement",
2874
+ "name": "horizontalPositioningMode",
2759
2875
  "type": {
2760
- "text": "HTMLElement | null"
2876
+ "text": "AxisPositioningMode"
2761
2877
  },
2762
2878
  "privacy": "public",
2763
- "default": "null",
2764
- "description": "The HTML element being used as the anchor",
2879
+ "default": "\"uncontrolled\"",
2880
+ "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",
2765
2881
  "inheritedFrom": {
2766
2882
  "name": "AnchoredRegion",
2767
2883
  "module": "src/anchored-region/anchored-region.ts"
@@ -2769,7 +2885,7 @@
2769
2885
  },
2770
2886
  {
2771
2887
  "kind": "method",
2772
- "name": "anchorElementChanged",
2888
+ "name": "horizontalPositioningModeChanged",
2773
2889
  "privacy": "private",
2774
2890
  "return": {
2775
2891
  "type": {
@@ -2783,13 +2899,13 @@
2783
2899
  },
2784
2900
  {
2785
2901
  "kind": "field",
2786
- "name": "viewportElement",
2902
+ "name": "horizontalDefaultPosition",
2787
2903
  "type": {
2788
- "text": "HTMLElement | null"
2904
+ "text": "HorizontalPosition"
2789
2905
  },
2790
2906
  "privacy": "public",
2791
- "default": "null",
2792
- "description": "The HTML element being used as the viewport",
2907
+ "default": "\"unset\"",
2908
+ "description": "The default horizontal position of the region relative to the anchor element",
2793
2909
  "inheritedFrom": {
2794
2910
  "name": "AnchoredRegion",
2795
2911
  "module": "src/anchored-region/anchored-region.ts"
@@ -2797,7 +2913,7 @@
2797
2913
  },
2798
2914
  {
2799
2915
  "kind": "method",
2800
- "name": "viewportElementChanged",
2916
+ "name": "horizontalDefaultPositionChanged",
2801
2917
  "privacy": "private",
2802
2918
  "return": {
2803
2919
  "type": {
@@ -2811,25 +2927,27 @@
2811
2927
  },
2812
2928
  {
2813
2929
  "kind": "field",
2814
- "name": "verticalPosition",
2930
+ "name": "horizontalViewportLock",
2815
2931
  "type": {
2816
- "text": "AnchoredRegionPositionLabel | undefined"
2932
+ "text": "boolean"
2817
2933
  },
2818
2934
  "privacy": "public",
2819
- "description": "indicates the current horizontal position of the region",
2935
+ "default": "false",
2936
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2820
2937
  "inheritedFrom": {
2821
2938
  "name": "AnchoredRegion",
2822
2939
  "module": "src/anchored-region/anchored-region.ts"
2823
2940
  }
2824
2941
  },
2825
2942
  {
2826
- "kind": "field",
2827
- "name": "horizontalPosition",
2828
- "type": {
2829
- "text": "AnchoredRegionPositionLabel | undefined"
2943
+ "kind": "method",
2944
+ "name": "horizontalViewportLockChanged",
2945
+ "privacy": "private",
2946
+ "return": {
2947
+ "type": {
2948
+ "text": "void"
2949
+ }
2830
2950
  },
2831
- "privacy": "public",
2832
- "description": "indicates the current vertical position of the region",
2833
2951
  "inheritedFrom": {
2834
2952
  "name": "AnchoredRegion",
2835
2953
  "module": "src/anchored-region/anchored-region.ts"
@@ -2837,12 +2955,27 @@
2837
2955
  },
2838
2956
  {
2839
2957
  "kind": "field",
2840
- "name": "translateX",
2958
+ "name": "horizontalInset",
2841
2959
  "type": {
2842
- "text": "number"
2960
+ "text": "boolean"
2843
2961
  },
2962
+ "privacy": "public",
2963
+ "default": "false",
2964
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2965
+ "inheritedFrom": {
2966
+ "name": "AnchoredRegion",
2967
+ "module": "src/anchored-region/anchored-region.ts"
2968
+ }
2969
+ },
2970
+ {
2971
+ "kind": "method",
2972
+ "name": "horizontalInsetChanged",
2844
2973
  "privacy": "private",
2845
- "description": "values to be applied to the component's transform on render",
2974
+ "return": {
2975
+ "type": {
2976
+ "text": "void"
2977
+ }
2978
+ },
2846
2979
  "inheritedFrom": {
2847
2980
  "name": "AnchoredRegion",
2848
2981
  "module": "src/anchored-region/anchored-region.ts"
@@ -2850,24 +2983,26 @@
2850
2983
  },
2851
2984
  {
2852
2985
  "kind": "field",
2853
- "name": "translateY",
2986
+ "name": "horizontalThreshold",
2854
2987
  "type": {
2855
2988
  "text": "number"
2856
2989
  },
2857
- "privacy": "private",
2990
+ "privacy": "public",
2991
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2858
2992
  "inheritedFrom": {
2859
2993
  "name": "AnchoredRegion",
2860
2994
  "module": "src/anchored-region/anchored-region.ts"
2861
2995
  }
2862
2996
  },
2863
2997
  {
2864
- "kind": "field",
2865
- "name": "regionWidth",
2866
- "type": {
2867
- "text": "string"
2868
- },
2998
+ "kind": "method",
2999
+ "name": "horizontalThresholdChanged",
2869
3000
  "privacy": "private",
2870
- "description": "the span to be applied to the region on each axis",
3001
+ "return": {
3002
+ "type": {
3003
+ "text": "void"
3004
+ }
3005
+ },
2871
3006
  "inheritedFrom": {
2872
3007
  "name": "AnchoredRegion",
2873
3008
  "module": "src/anchored-region/anchored-region.ts"
@@ -2875,24 +3010,27 @@
2875
3010
  },
2876
3011
  {
2877
3012
  "kind": "field",
2878
- "name": "regionHeight",
3013
+ "name": "horizontalScaling",
2879
3014
  "type": {
2880
- "text": "string"
3015
+ "text": "AxisScalingMode"
2881
3016
  },
2882
- "privacy": "private",
3017
+ "privacy": "public",
3018
+ "default": "\"content\"",
3019
+ "description": "Defines how the width of the region is calculated",
2883
3020
  "inheritedFrom": {
2884
3021
  "name": "AnchoredRegion",
2885
3022
  "module": "src/anchored-region/anchored-region.ts"
2886
3023
  }
2887
3024
  },
2888
3025
  {
2889
- "kind": "field",
2890
- "name": "resizeDetector",
2891
- "type": {
2892
- "text": "ResizeObserverClassDefinition | null"
2893
- },
3026
+ "kind": "method",
3027
+ "name": "horizontalScalingChanged",
2894
3028
  "privacy": "private",
2895
- "default": "null",
3029
+ "return": {
3030
+ "type": {
3031
+ "text": "void"
3032
+ }
3033
+ },
2896
3034
  "inheritedFrom": {
2897
3035
  "name": "AnchoredRegion",
2898
3036
  "module": "src/anchored-region/anchored-region.ts"
@@ -2900,23 +3038,27 @@
2900
3038
  },
2901
3039
  {
2902
3040
  "kind": "field",
2903
- "name": "viewportRect",
3041
+ "name": "verticalPositioningMode",
2904
3042
  "type": {
2905
- "text": "ClientRect | DOMRect | undefined"
3043
+ "text": "AxisPositioningMode"
2906
3044
  },
2907
- "privacy": "private",
3045
+ "privacy": "public",
3046
+ "default": "\"uncontrolled\"",
3047
+ "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",
2908
3048
  "inheritedFrom": {
2909
3049
  "name": "AnchoredRegion",
2910
3050
  "module": "src/anchored-region/anchored-region.ts"
2911
3051
  }
2912
3052
  },
2913
3053
  {
2914
- "kind": "field",
2915
- "name": "anchorRect",
2916
- "type": {
2917
- "text": "ClientRect | DOMRect | undefined"
2918
- },
3054
+ "kind": "method",
3055
+ "name": "verticalPositioningModeChanged",
2919
3056
  "privacy": "private",
3057
+ "return": {
3058
+ "type": {
3059
+ "text": "void"
3060
+ }
3061
+ },
2920
3062
  "inheritedFrom": {
2921
3063
  "name": "AnchoredRegion",
2922
3064
  "module": "src/anchored-region/anchored-region.ts"
@@ -2924,25 +3066,27 @@
2924
3066
  },
2925
3067
  {
2926
3068
  "kind": "field",
2927
- "name": "regionRect",
3069
+ "name": "verticalDefaultPosition",
2928
3070
  "type": {
2929
- "text": "ClientRect | DOMRect | undefined"
3071
+ "text": "VerticalPosition"
2930
3072
  },
2931
- "privacy": "private",
3073
+ "privacy": "public",
3074
+ "default": "\"unset\"",
3075
+ "description": "The default vertical position of the region relative to the anchor element",
2932
3076
  "inheritedFrom": {
2933
3077
  "name": "AnchoredRegion",
2934
3078
  "module": "src/anchored-region/anchored-region.ts"
2935
3079
  }
2936
3080
  },
2937
3081
  {
2938
- "kind": "field",
2939
- "name": "baseHorizontalOffset",
2940
- "type": {
2941
- "text": "number"
2942
- },
3082
+ "kind": "method",
3083
+ "name": "verticalDefaultPositionChanged",
2943
3084
  "privacy": "private",
2944
- "default": "0",
2945
- "description": "base offsets between the positioner's base position and the anchor's",
3085
+ "return": {
3086
+ "type": {
3087
+ "text": "void"
3088
+ }
3089
+ },
2946
3090
  "inheritedFrom": {
2947
3091
  "name": "AnchoredRegion",
2948
3092
  "module": "src/anchored-region/anchored-region.ts"
@@ -2950,25 +3094,27 @@
2950
3094
  },
2951
3095
  {
2952
3096
  "kind": "field",
2953
- "name": "baseVerticalOffset",
3097
+ "name": "verticalViewportLock",
2954
3098
  "type": {
2955
- "text": "number"
3099
+ "text": "boolean"
2956
3100
  },
2957
- "privacy": "private",
2958
- "default": "0",
3101
+ "privacy": "public",
3102
+ "default": "false",
3103
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2959
3104
  "inheritedFrom": {
2960
3105
  "name": "AnchoredRegion",
2961
3106
  "module": "src/anchored-region/anchored-region.ts"
2962
3107
  }
2963
3108
  },
2964
3109
  {
2965
- "kind": "field",
2966
- "name": "pendingPositioningUpdate",
2967
- "type": {
2968
- "text": "boolean"
2969
- },
3110
+ "kind": "method",
3111
+ "name": "verticalViewportLockChanged",
2970
3112
  "privacy": "private",
2971
- "default": "false",
3113
+ "return": {
3114
+ "type": {
3115
+ "text": "void"
3116
+ }
3117
+ },
2972
3118
  "inheritedFrom": {
2973
3119
  "name": "AnchoredRegion",
2974
3120
  "module": "src/anchored-region/anchored-region.ts"
@@ -2976,24 +3122,27 @@
2976
3122
  },
2977
3123
  {
2978
3124
  "kind": "field",
2979
- "name": "pendingReset",
3125
+ "name": "verticalInset",
2980
3126
  "type": {
2981
3127
  "text": "boolean"
2982
3128
  },
2983
- "privacy": "private",
3129
+ "privacy": "public",
2984
3130
  "default": "false",
3131
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2985
3132
  "inheritedFrom": {
2986
3133
  "name": "AnchoredRegion",
2987
3134
  "module": "src/anchored-region/anchored-region.ts"
2988
3135
  }
2989
3136
  },
2990
3137
  {
2991
- "kind": "field",
2992
- "name": "currentDirection",
2993
- "type": {
2994
- "text": "Direction"
2995
- },
3138
+ "kind": "method",
3139
+ "name": "verticalInsetChanged",
2996
3140
  "privacy": "private",
3141
+ "return": {
3142
+ "type": {
3143
+ "text": "void"
3144
+ }
3145
+ },
2997
3146
  "inheritedFrom": {
2998
3147
  "name": "AnchoredRegion",
2999
3148
  "module": "src/anchored-region/anchored-region.ts"
@@ -3001,25 +3150,26 @@
3001
3150
  },
3002
3151
  {
3003
3152
  "kind": "field",
3004
- "name": "regionVisible",
3153
+ "name": "verticalThreshold",
3005
3154
  "type": {
3006
- "text": "boolean"
3155
+ "text": "number"
3007
3156
  },
3008
- "privacy": "private",
3009
- "default": "false",
3157
+ "privacy": "public",
3158
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3010
3159
  "inheritedFrom": {
3011
3160
  "name": "AnchoredRegion",
3012
3161
  "module": "src/anchored-region/anchored-region.ts"
3013
3162
  }
3014
3163
  },
3015
3164
  {
3016
- "kind": "field",
3017
- "name": "forceUpdate",
3018
- "type": {
3019
- "text": "boolean"
3020
- },
3165
+ "kind": "method",
3166
+ "name": "verticalThresholdChanged",
3021
3167
  "privacy": "private",
3022
- "default": "false",
3168
+ "return": {
3169
+ "type": {
3170
+ "text": "void"
3171
+ }
3172
+ },
3023
3173
  "inheritedFrom": {
3024
3174
  "name": "AnchoredRegion",
3025
3175
  "module": "src/anchored-region/anchored-region.ts"
@@ -3027,26 +3177,27 @@
3027
3177
  },
3028
3178
  {
3029
3179
  "kind": "field",
3030
- "name": "updateThreshold",
3180
+ "name": "verticalScaling",
3031
3181
  "type": {
3032
- "text": "number"
3182
+ "text": "AxisScalingMode"
3033
3183
  },
3034
- "privacy": "private",
3035
- "default": "0.5",
3184
+ "privacy": "public",
3185
+ "default": "\"content\"",
3186
+ "description": "Defines how the height of the region is calculated",
3036
3187
  "inheritedFrom": {
3037
3188
  "name": "AnchoredRegion",
3038
3189
  "module": "src/anchored-region/anchored-region.ts"
3039
3190
  }
3040
3191
  },
3041
3192
  {
3042
- "kind": "field",
3043
- "name": "intersectionService",
3044
- "type": {
3045
- "text": "IntersectionService"
3046
- },
3193
+ "kind": "method",
3194
+ "name": "verticalScalingChanged",
3047
3195
  "privacy": "private",
3048
- "static": true,
3049
- "default": "new IntersectionService()",
3196
+ "return": {
3197
+ "type": {
3198
+ "text": "void"
3199
+ }
3200
+ },
3050
3201
  "inheritedFrom": {
3051
3202
  "name": "AnchoredRegion",
3052
3203
  "module": "src/anchored-region/anchored-region.ts"
@@ -3054,9 +3205,13 @@
3054
3205
  },
3055
3206
  {
3056
3207
  "kind": "field",
3057
- "name": "update",
3208
+ "name": "fixedPlacement",
3209
+ "type": {
3210
+ "text": "boolean"
3211
+ },
3058
3212
  "privacy": "public",
3059
- "description": "update position",
3213
+ "default": "false",
3214
+ "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,",
3060
3215
  "inheritedFrom": {
3061
3216
  "name": "AnchoredRegion",
3062
3217
  "module": "src/anchored-region/anchored-region.ts"
@@ -3064,29 +3219,27 @@
3064
3219
  },
3065
3220
  {
3066
3221
  "kind": "method",
3067
- "name": "disconnectResizeDetector",
3222
+ "name": "fixedPlacementChanged",
3068
3223
  "privacy": "private",
3069
3224
  "return": {
3070
3225
  "type": {
3071
3226
  "text": "void"
3072
3227
  }
3073
3228
  },
3074
- "description": "destroys the instance's resize observer",
3075
3229
  "inheritedFrom": {
3076
3230
  "name": "AnchoredRegion",
3077
3231
  "module": "src/anchored-region/anchored-region.ts"
3078
3232
  }
3079
3233
  },
3080
3234
  {
3081
- "kind": "method",
3082
- "name": "initializeResizeDetector",
3083
- "privacy": "private",
3084
- "return": {
3085
- "type": {
3086
- "text": "void"
3087
- }
3235
+ "kind": "field",
3236
+ "name": "autoUpdateMode",
3237
+ "type": {
3238
+ "text": "AutoUpdateMode"
3088
3239
  },
3089
- "description": "initializes the instance's resize observer",
3240
+ "privacy": "public",
3241
+ "default": "\"anchor\"",
3242
+ "description": "Defines what triggers the anchored region to revaluate positioning",
3090
3243
  "inheritedFrom": {
3091
3244
  "name": "AnchoredRegion",
3092
3245
  "module": "src/anchored-region/anchored-region.ts"
@@ -3094,29 +3247,41 @@
3094
3247
  },
3095
3248
  {
3096
3249
  "kind": "method",
3097
- "name": "updateForAttributeChange",
3250
+ "name": "autoUpdateModeChanged",
3098
3251
  "privacy": "private",
3099
3252
  "return": {
3100
3253
  "type": {
3101
3254
  "text": "void"
3102
3255
  }
3103
3256
  },
3104
- "description": "react to attribute changes that don't require a reset",
3257
+ "parameters": [
3258
+ {
3259
+ "name": "prevMode",
3260
+ "type": {
3261
+ "text": "AutoUpdateMode"
3262
+ }
3263
+ },
3264
+ {
3265
+ "name": "newMode",
3266
+ "type": {
3267
+ "text": "AutoUpdateMode"
3268
+ }
3269
+ }
3270
+ ],
3105
3271
  "inheritedFrom": {
3106
3272
  "name": "AnchoredRegion",
3107
3273
  "module": "src/anchored-region/anchored-region.ts"
3108
3274
  }
3109
3275
  },
3110
3276
  {
3111
- "kind": "method",
3112
- "name": "initialize",
3113
- "privacy": "private",
3114
- "return": {
3115
- "type": {
3116
- "text": "void"
3117
- }
3277
+ "kind": "field",
3278
+ "name": "anchorElement",
3279
+ "type": {
3280
+ "text": "HTMLElement | null"
3118
3281
  },
3119
- "description": "fully initializes the component",
3282
+ "privacy": "public",
3283
+ "default": "null",
3284
+ "description": "The HTML element being used as the anchor",
3120
3285
  "inheritedFrom": {
3121
3286
  "name": "AnchoredRegion",
3122
3287
  "module": "src/anchored-region/anchored-region.ts"
@@ -3124,14 +3289,27 @@
3124
3289
  },
3125
3290
  {
3126
3291
  "kind": "method",
3127
- "name": "requestReset",
3292
+ "name": "anchorElementChanged",
3128
3293
  "privacy": "private",
3129
3294
  "return": {
3130
3295
  "type": {
3131
3296
  "text": "void"
3132
3297
  }
3133
3298
  },
3134
- "description": "Request a reset if there are currently no open requests",
3299
+ "inheritedFrom": {
3300
+ "name": "AnchoredRegion",
3301
+ "module": "src/anchored-region/anchored-region.ts"
3302
+ }
3303
+ },
3304
+ {
3305
+ "kind": "field",
3306
+ "name": "viewportElement",
3307
+ "type": {
3308
+ "text": "HTMLElement | null"
3309
+ },
3310
+ "privacy": "public",
3311
+ "default": "null",
3312
+ "description": "The HTML element being used as the viewport",
3135
3313
  "inheritedFrom": {
3136
3314
  "name": "AnchoredRegion",
3137
3315
  "module": "src/anchored-region/anchored-region.ts"
@@ -3139,14 +3317,13 @@
3139
3317
  },
3140
3318
  {
3141
3319
  "kind": "method",
3142
- "name": "setInitialState",
3320
+ "name": "viewportElementChanged",
3143
3321
  "privacy": "private",
3144
3322
  "return": {
3145
3323
  "type": {
3146
3324
  "text": "void"
3147
3325
  }
3148
3326
  },
3149
- "description": "sets the starting configuration for component internal values",
3150
3327
  "inheritedFrom": {
3151
3328
  "name": "AnchoredRegion",
3152
3329
  "module": "src/anchored-region/anchored-region.ts"
@@ -3154,9 +3331,12 @@
3154
3331
  },
3155
3332
  {
3156
3333
  "kind": "field",
3157
- "name": "startObservers",
3158
- "privacy": "private",
3159
- "description": "starts observers",
3334
+ "name": "verticalPosition",
3335
+ "type": {
3336
+ "text": "AnchoredRegionPositionLabel | undefined"
3337
+ },
3338
+ "privacy": "public",
3339
+ "description": "indicates the current horizontal position of the region",
3160
3340
  "inheritedFrom": {
3161
3341
  "name": "AnchoredRegion",
3162
3342
  "module": "src/anchored-region/anchored-region.ts"
@@ -3164,9 +3344,12 @@
3164
3344
  },
3165
3345
  {
3166
3346
  "kind": "field",
3167
- "name": "requestPositionUpdates",
3168
- "privacy": "private",
3169
- "description": "get position updates",
3347
+ "name": "horizontalPosition",
3348
+ "type": {
3349
+ "text": "AnchoredRegionPositionLabel | undefined"
3350
+ },
3351
+ "privacy": "public",
3352
+ "description": "indicates the current vertical position of the region",
3170
3353
  "inheritedFrom": {
3171
3354
  "name": "AnchoredRegion",
3172
3355
  "module": "src/anchored-region/anchored-region.ts"
@@ -3174,9 +3357,12 @@
3174
3357
  },
3175
3358
  {
3176
3359
  "kind": "field",
3177
- "name": "stopObservers",
3360
+ "name": "translateX",
3361
+ "type": {
3362
+ "text": "number"
3363
+ },
3178
3364
  "privacy": "private",
3179
- "description": "stops observers",
3365
+ "description": "values to be applied to the component's transform on render",
3180
3366
  "inheritedFrom": {
3181
3367
  "name": "AnchoredRegion",
3182
3368
  "module": "src/anchored-region/anchored-region.ts"
@@ -3184,9 +3370,11 @@
3184
3370
  },
3185
3371
  {
3186
3372
  "kind": "field",
3187
- "name": "getViewport",
3373
+ "name": "translateY",
3374
+ "type": {
3375
+ "text": "number"
3376
+ },
3188
3377
  "privacy": "private",
3189
- "description": "Gets the viewport element by id, or defaults to document root",
3190
3378
  "inheritedFrom": {
3191
3379
  "name": "AnchoredRegion",
3192
3380
  "module": "src/anchored-region/anchored-region.ts"
@@ -3194,9 +3382,12 @@
3194
3382
  },
3195
3383
  {
3196
3384
  "kind": "field",
3197
- "name": "getAnchor",
3385
+ "name": "regionWidth",
3386
+ "type": {
3387
+ "text": "string"
3388
+ },
3198
3389
  "privacy": "private",
3199
- "description": "Gets the anchor element by id",
3390
+ "description": "the span to be applied to the region on each axis",
3200
3391
  "inheritedFrom": {
3201
3392
  "name": "AnchoredRegion",
3202
3393
  "module": "src/anchored-region/anchored-region.ts"
@@ -3204,9 +3395,11 @@
3204
3395
  },
3205
3396
  {
3206
3397
  "kind": "field",
3207
- "name": "handleIntersection",
3398
+ "name": "regionHeight",
3399
+ "type": {
3400
+ "text": "string"
3401
+ },
3208
3402
  "privacy": "private",
3209
- "description": "Handle intersections",
3210
3403
  "inheritedFrom": {
3211
3404
  "name": "AnchoredRegion",
3212
3405
  "module": "src/anchored-region/anchored-region.ts"
@@ -3214,9 +3407,12 @@
3214
3407
  },
3215
3408
  {
3216
3409
  "kind": "field",
3217
- "name": "applyIntersectionEntries",
3410
+ "name": "resizeDetector",
3411
+ "type": {
3412
+ "text": "ResizeObserverClassDefinition | null"
3413
+ },
3218
3414
  "privacy": "private",
3219
- "description": "iterate through intersection entries and apply data",
3415
+ "default": "null",
3220
3416
  "inheritedFrom": {
3221
3417
  "name": "AnchoredRegion",
3222
3418
  "module": "src/anchored-region/anchored-region.ts"
@@ -3224,9 +3420,11 @@
3224
3420
  },
3225
3421
  {
3226
3422
  "kind": "field",
3227
- "name": "updateRegionOffset",
3423
+ "name": "viewportRect",
3424
+ "type": {
3425
+ "text": "ClientRect | DOMRect | undefined"
3426
+ },
3228
3427
  "privacy": "private",
3229
- "description": "Update the offset values",
3230
3428
  "inheritedFrom": {
3231
3429
  "name": "AnchoredRegion",
3232
3430
  "module": "src/anchored-region/anchored-region.ts"
@@ -3234,19 +3432,11 @@
3234
3432
  },
3235
3433
  {
3236
3434
  "kind": "field",
3237
- "name": "isRectDifferent",
3238
- "privacy": "private",
3239
- "description": "compare rects to see if there is enough change to justify a DOM update",
3240
- "inheritedFrom": {
3241
- "name": "AnchoredRegion",
3242
- "module": "src/anchored-region/anchored-region.ts"
3243
- }
3244
- },
3245
- {
3246
- "kind": "field",
3247
- "name": "handleResize",
3435
+ "name": "anchorRect",
3436
+ "type": {
3437
+ "text": "ClientRect | DOMRect | undefined"
3438
+ },
3248
3439
  "privacy": "private",
3249
- "description": "Handle resize events",
3250
3440
  "inheritedFrom": {
3251
3441
  "name": "AnchoredRegion",
3252
3442
  "module": "src/anchored-region/anchored-region.ts"
@@ -3254,9 +3444,11 @@
3254
3444
  },
3255
3445
  {
3256
3446
  "kind": "field",
3257
- "name": "reset",
3447
+ "name": "regionRect",
3448
+ "type": {
3449
+ "text": "ClientRect | DOMRect | undefined"
3450
+ },
3258
3451
  "privacy": "private",
3259
- "description": "resets the component",
3260
3452
  "inheritedFrom": {
3261
3453
  "name": "AnchoredRegion",
3262
3454
  "module": "src/anchored-region/anchored-region.ts"
@@ -3264,9 +3456,13 @@
3264
3456
  },
3265
3457
  {
3266
3458
  "kind": "field",
3267
- "name": "updateLayout",
3459
+ "name": "baseHorizontalOffset",
3460
+ "type": {
3461
+ "text": "number"
3462
+ },
3268
3463
  "privacy": "private",
3269
- "description": "Recalculate layout related state values",
3464
+ "default": "0",
3465
+ "description": "base offsets between the positioner's base position and the anchor's",
3270
3466
  "inheritedFrom": {
3271
3467
  "name": "AnchoredRegion",
3272
3468
  "module": "src/anchored-region/anchored-region.ts"
@@ -3274,9 +3470,12 @@
3274
3470
  },
3275
3471
  {
3276
3472
  "kind": "field",
3277
- "name": "updateRegionStyle",
3473
+ "name": "baseVerticalOffset",
3474
+ "type": {
3475
+ "text": "number"
3476
+ },
3278
3477
  "privacy": "private",
3279
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3478
+ "default": "0",
3280
3479
  "inheritedFrom": {
3281
3480
  "name": "AnchoredRegion",
3282
3481
  "module": "src/anchored-region/anchored-region.ts"
@@ -3284,9 +3483,12 @@
3284
3483
  },
3285
3484
  {
3286
3485
  "kind": "field",
3287
- "name": "updatePositionClasses",
3486
+ "name": "pendingPositioningUpdate",
3487
+ "type": {
3488
+ "text": "boolean"
3489
+ },
3288
3490
  "privacy": "private",
3289
- "description": "Updates the css classes that reflect the current position of the element",
3491
+ "default": "false",
3290
3492
  "inheritedFrom": {
3291
3493
  "name": "AnchoredRegion",
3292
3494
  "module": "src/anchored-region/anchored-region.ts"
@@ -3294,9 +3496,12 @@
3294
3496
  },
3295
3497
  {
3296
3498
  "kind": "field",
3297
- "name": "setHorizontalPosition",
3499
+ "name": "pendingReset",
3500
+ "type": {
3501
+ "text": "boolean"
3502
+ },
3298
3503
  "privacy": "private",
3299
- "description": "Get horizontal positioning state based on desired position",
3504
+ "default": "false",
3300
3505
  "inheritedFrom": {
3301
3506
  "name": "AnchoredRegion",
3302
3507
  "module": "src/anchored-region/anchored-region.ts"
@@ -3304,9 +3509,11 @@
3304
3509
  },
3305
3510
  {
3306
3511
  "kind": "field",
3307
- "name": "setVerticalPosition",
3512
+ "name": "currentDirection",
3513
+ "type": {
3514
+ "text": "Direction"
3515
+ },
3308
3516
  "privacy": "private",
3309
- "description": "Set vertical positioning state based on desired position",
3310
3517
  "inheritedFrom": {
3311
3518
  "name": "AnchoredRegion",
3312
3519
  "module": "src/anchored-region/anchored-region.ts"
@@ -3314,9 +3521,12 @@
3314
3521
  },
3315
3522
  {
3316
3523
  "kind": "field",
3317
- "name": "getPositioningOptions",
3524
+ "name": "regionVisible",
3525
+ "type": {
3526
+ "text": "boolean"
3527
+ },
3318
3528
  "privacy": "private",
3319
- "description": "Get available positions based on positioning mode",
3529
+ "default": "false",
3320
3530
  "inheritedFrom": {
3321
3531
  "name": "AnchoredRegion",
3322
3532
  "module": "src/anchored-region/anchored-region.ts"
@@ -3324,9 +3534,12 @@
3324
3534
  },
3325
3535
  {
3326
3536
  "kind": "field",
3327
- "name": "getAvailableSpace",
3537
+ "name": "forceUpdate",
3538
+ "type": {
3539
+ "text": "boolean"
3540
+ },
3328
3541
  "privacy": "private",
3329
- "description": "Get the space available for a particular relative position",
3542
+ "default": "false",
3330
3543
  "inheritedFrom": {
3331
3544
  "name": "AnchoredRegion",
3332
3545
  "module": "src/anchored-region/anchored-region.ts"
@@ -3334,9 +3547,12 @@
3334
3547
  },
3335
3548
  {
3336
3549
  "kind": "field",
3337
- "name": "getNextRegionDimension",
3550
+ "name": "updateThreshold",
3551
+ "type": {
3552
+ "text": "number"
3553
+ },
3338
3554
  "privacy": "private",
3339
- "description": "Get region dimensions",
3555
+ "default": "0.5",
3340
3556
  "inheritedFrom": {
3341
3557
  "name": "AnchoredRegion",
3342
3558
  "module": "src/anchored-region/anchored-region.ts"
@@ -3344,9 +3560,13 @@
3344
3560
  },
3345
3561
  {
3346
3562
  "kind": "field",
3347
- "name": "startAutoUpdateEventListeners",
3563
+ "name": "intersectionService",
3564
+ "type": {
3565
+ "text": "IntersectionService"
3566
+ },
3348
3567
  "privacy": "private",
3349
- "description": "starts event listeners that can trigger auto updating",
3568
+ "static": true,
3569
+ "default": "new IntersectionService()",
3350
3570
  "inheritedFrom": {
3351
3571
  "name": "AnchoredRegion",
3352
3572
  "module": "src/anchored-region/anchored-region.ts"
@@ -3354,550 +3574,312 @@
3354
3574
  },
3355
3575
  {
3356
3576
  "kind": "field",
3357
- "name": "stopAutoUpdateEventListeners",
3358
- "privacy": "private",
3359
- "description": "stops event listeners that can trigger auto updating",
3577
+ "name": "update",
3578
+ "privacy": "public",
3579
+ "description": "update position",
3360
3580
  "inheritedFrom": {
3361
3581
  "name": "AnchoredRegion",
3362
3582
  "module": "src/anchored-region/anchored-region.ts"
3363
3583
  }
3364
3584
  },
3365
3585
  {
3366
- "kind": "field",
3367
- "name": "_presentation",
3368
- "type": {
3369
- "text": "ComponentPresentation | null | undefined"
3370
- },
3586
+ "kind": "method",
3587
+ "name": "disconnectResizeDetector",
3371
3588
  "privacy": "private",
3372
- "default": "void 0",
3373
- "inheritedFrom": {
3374
- "name": "FoundationElement",
3375
- "module": "src/foundation-element/foundation-element.ts"
3376
- }
3377
- },
3378
- {
3379
- "kind": "field",
3380
- "name": "$presentation",
3381
- "type": {
3382
- "text": "ComponentPresentation | null"
3589
+ "return": {
3590
+ "type": {
3591
+ "text": "void"
3592
+ }
3383
3593
  },
3384
- "privacy": "public",
3385
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3594
+ "description": "destroys the instance's resize observer",
3386
3595
  "inheritedFrom": {
3387
- "name": "FoundationElement",
3388
- "module": "src/foundation-element/foundation-element.ts"
3596
+ "name": "AnchoredRegion",
3597
+ "module": "src/anchored-region/anchored-region.ts"
3389
3598
  }
3390
3599
  },
3391
3600
  {
3392
- "kind": "field",
3393
- "name": "template",
3394
- "type": {
3395
- "text": "ElementViewTemplate | void | null"
3601
+ "kind": "method",
3602
+ "name": "initializeResizeDetector",
3603
+ "privacy": "private",
3604
+ "return": {
3605
+ "type": {
3606
+ "text": "void"
3607
+ }
3396
3608
  },
3397
- "privacy": "public",
3398
- "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.",
3609
+ "description": "initializes the instance's resize observer",
3399
3610
  "inheritedFrom": {
3400
- "name": "FoundationElement",
3401
- "module": "src/foundation-element/foundation-element.ts"
3611
+ "name": "AnchoredRegion",
3612
+ "module": "src/anchored-region/anchored-region.ts"
3402
3613
  }
3403
3614
  },
3404
3615
  {
3405
3616
  "kind": "method",
3406
- "name": "templateChanged",
3407
- "privacy": "protected",
3617
+ "name": "updateForAttributeChange",
3618
+ "privacy": "private",
3408
3619
  "return": {
3409
3620
  "type": {
3410
3621
  "text": "void"
3411
3622
  }
3412
3623
  },
3624
+ "description": "react to attribute changes that don't require a reset",
3413
3625
  "inheritedFrom": {
3414
- "name": "FoundationElement",
3415
- "module": "src/foundation-element/foundation-element.ts"
3626
+ "name": "AnchoredRegion",
3627
+ "module": "src/anchored-region/anchored-region.ts"
3416
3628
  }
3417
3629
  },
3418
3630
  {
3419
- "kind": "field",
3420
- "name": "styles",
3421
- "type": {
3422
- "text": "ElementStyles | void | null"
3631
+ "kind": "method",
3632
+ "name": "initialize",
3633
+ "privacy": "private",
3634
+ "return": {
3635
+ "type": {
3636
+ "text": "void"
3637
+ }
3423
3638
  },
3424
- "privacy": "public",
3425
- "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.",
3639
+ "description": "fully initializes the component",
3426
3640
  "inheritedFrom": {
3427
- "name": "FoundationElement",
3428
- "module": "src/foundation-element/foundation-element.ts"
3641
+ "name": "AnchoredRegion",
3642
+ "module": "src/anchored-region/anchored-region.ts"
3429
3643
  }
3430
3644
  },
3431
3645
  {
3432
3646
  "kind": "method",
3433
- "name": "stylesChanged",
3434
- "privacy": "protected",
3647
+ "name": "requestReset",
3648
+ "privacy": "private",
3435
3649
  "return": {
3436
3650
  "type": {
3437
3651
  "text": "void"
3438
3652
  }
3439
3653
  },
3654
+ "description": "Request a reset if there are currently no open requests",
3440
3655
  "inheritedFrom": {
3441
- "name": "FoundationElement",
3442
- "module": "src/foundation-element/foundation-element.ts"
3656
+ "name": "AnchoredRegion",
3657
+ "module": "src/anchored-region/anchored-region.ts"
3443
3658
  }
3444
3659
  },
3445
3660
  {
3446
3661
  "kind": "method",
3447
- "name": "compose",
3448
- "privacy": "public",
3449
- "static": true,
3662
+ "name": "setInitialState",
3663
+ "privacy": "private",
3450
3664
  "return": {
3451
3665
  "type": {
3452
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3666
+ "text": "void"
3453
3667
  }
3454
3668
  },
3455
- "parameters": [
3456
- {
3457
- "name": "this",
3458
- "type": {
3459
- "text": "K"
3460
- }
3461
- },
3462
- {
3463
- "name": "elementDefinition",
3464
- "type": {
3465
- "text": "T"
3466
- },
3467
- "description": "The definition of the element to create the registry\nfunction for."
3468
- }
3469
- ],
3470
- "description": "Defines an element registry function with a set of element definition defaults.",
3471
- "inheritedFrom": {
3472
- "name": "FoundationElement",
3473
- "module": "src/foundation-element/foundation-element.ts"
3474
- }
3475
- }
3476
- ],
3477
- "events": [
3478
- {
3479
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3480
- "name": "loaded",
3669
+ "description": "sets the starting configuration for component internal values",
3481
3670
  "inheritedFrom": {
3482
3671
  "name": "AnchoredRegion",
3483
3672
  "module": "src/anchored-region/anchored-region.ts"
3484
3673
  }
3485
3674
  },
3486
3675
  {
3487
- "description": "Fires a custom 'positionchange' event when the position has changed",
3488
- "name": "positionchange",
3676
+ "kind": "field",
3677
+ "name": "startObservers",
3678
+ "privacy": "private",
3679
+ "description": "starts observers",
3489
3680
  "inheritedFrom": {
3490
3681
  "name": "AnchoredRegion",
3491
3682
  "module": "src/anchored-region/anchored-region.ts"
3492
3683
  }
3493
- }
3494
- ]
3495
- },
3496
- {
3497
- "kind": "variable",
3498
- "name": "foundationAnchoredRegionShadowOptions",
3499
- "type": {
3500
- "text": "ShadowRootInit"
3501
- },
3502
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3503
- },
3504
- {
3505
- "kind": "variable",
3506
- "name": "defaultAnchoredRegionConfig",
3507
- "type": {
3508
- "text": "object"
3509
- },
3510
- "default": "{}"
3511
- },
3512
- {
3513
- "kind": "variable",
3514
- "name": "foundationAnchoredRegion",
3515
- "description": "The Foundation Anchored Region",
3516
- "privacy": "public"
3517
- }
3518
- ],
3519
- "exports": [
3520
- {
3521
- "kind": "js",
3522
- "name": "AnchoredRegion",
3523
- "declaration": {
3524
- "name": "AnchoredRegion",
3525
- "module": "src/anchored-region/anchored-region.ts"
3526
- }
3527
- },
3528
- {
3529
- "kind": "js",
3530
- "name": "foundationAnchoredRegionShadowOptions",
3531
- "declaration": {
3532
- "name": "foundationAnchoredRegionShadowOptions",
3533
- "module": "src/anchored-region/anchored-region.ts"
3534
- }
3535
- },
3536
- {
3537
- "kind": "js",
3538
- "name": "defaultAnchoredRegionConfig",
3539
- "declaration": {
3540
- "name": "defaultAnchoredRegionConfig",
3541
- "module": "src/anchored-region/anchored-region.ts"
3542
- }
3543
- },
3544
- {
3545
- "kind": "js",
3546
- "name": "foundationAnchoredRegion",
3547
- "declaration": {
3548
- "name": "foundationAnchoredRegion",
3549
- "module": "src/anchored-region/anchored-region.ts"
3550
- }
3551
- }
3552
- ]
3553
- },
3554
- {
3555
- "kind": "javascript-module",
3556
- "path": "src/anchored-region/index.ts",
3557
- "declarations": [],
3558
- "exports": [
3559
- {
3560
- "kind": "js",
3561
- "name": "*",
3562
- "declaration": {
3563
- "name": "*",
3564
- "package": "./anchor-region.template"
3565
- }
3566
- },
3567
- {
3568
- "kind": "js",
3569
- "name": "*",
3570
- "declaration": {
3571
- "name": "*",
3572
- "package": "./anchored-region.styles"
3573
- }
3574
- },
3575
- {
3576
- "kind": "js",
3577
- "name": "*",
3578
- "declaration": {
3579
- "name": "*",
3580
- "package": "./anchored-region"
3581
- }
3582
- }
3583
- ]
3584
- },
3585
- {
3586
- "kind": "javascript-module",
3587
- "path": "src/anchor/anchor.styles.ts",
3588
- "declarations": [
3589
- {
3590
- "kind": "function",
3591
- "name": "foundationAnchorStyles",
3592
- "return": {
3593
- "type": {
3594
- "text": "ElementStyles"
3595
- }
3596
- },
3597
- "parameters": [
3598
- {
3599
- "name": "context",
3600
- "type": {
3601
- "text": "ElementDefinitionContext"
3602
- }
3603
3684
  },
3604
3685
  {
3605
- "name": "definition",
3606
- "type": {
3607
- "text": "FoundationElementDefinition"
3608
- }
3609
- }
3610
- ]
3611
- }
3612
- ],
3613
- "exports": [
3614
- {
3615
- "kind": "js",
3616
- "name": "foundationAnchorStyles",
3617
- "declaration": {
3618
- "name": "foundationAnchorStyles",
3619
- "module": "src/anchor/anchor.styles.ts"
3620
- }
3621
- }
3622
- ]
3623
- },
3624
- {
3625
- "kind": "javascript-module",
3626
- "path": "src/anchor/anchor.template.ts",
3627
- "declarations": [
3628
- {
3629
- "kind": "function",
3630
- "name": "foundationAnchorTemplate",
3631
- "return": {
3632
- "type": {
3633
- "text": "ViewTemplate<Anchor>"
3634
- }
3635
- },
3636
- "parameters": [
3637
- {
3638
- "name": "context",
3639
- "type": {
3640
- "text": "ElementDefinitionContext"
3686
+ "kind": "field",
3687
+ "name": "requestPositionUpdates",
3688
+ "privacy": "private",
3689
+ "description": "get position updates",
3690
+ "inheritedFrom": {
3691
+ "name": "AnchoredRegion",
3692
+ "module": "src/anchored-region/anchored-region.ts"
3641
3693
  }
3642
3694
  },
3643
3695
  {
3644
- "name": "definition",
3645
- "type": {
3646
- "text": "FoundationElementDefinition"
3647
- }
3648
- }
3649
- ]
3650
- }
3651
- ],
3652
- "exports": [
3653
- {
3654
- "kind": "js",
3655
- "name": "foundationAnchorTemplate",
3656
- "declaration": {
3657
- "name": "foundationAnchorTemplate",
3658
- "module": "src/anchor/anchor.template.ts"
3659
- }
3660
- }
3661
- ]
3662
- },
3663
- {
3664
- "kind": "javascript-module",
3665
- "path": "src/anchor/anchor.ts",
3666
- "declarations": [
3667
- {
3668
- "kind": "class",
3669
- "description": "",
3670
- "name": "Anchor",
3671
- "superclass": {
3672
- "name": "FASTAnchor",
3673
- "package": "@microsoft/fast-components"
3674
- },
3675
- "tagName": "%%prefix%%-anchor",
3676
- "customElement": true,
3677
- "attributes": [
3678
- {
3679
- "name": "download",
3680
- "type": {
3681
- "text": "string"
3682
- },
3683
- "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.",
3684
- "fieldName": "download",
3696
+ "kind": "field",
3697
+ "name": "stopObservers",
3698
+ "privacy": "private",
3699
+ "description": "stops observers",
3685
3700
  "inheritedFrom": {
3686
- "name": "Anchor",
3687
- "module": "src/anchor/anchor.ts"
3701
+ "name": "AnchoredRegion",
3702
+ "module": "src/anchored-region/anchored-region.ts"
3688
3703
  }
3689
3704
  },
3690
3705
  {
3691
- "name": "href",
3692
- "type": {
3693
- "text": "string"
3694
- },
3695
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3696
- "fieldName": "href",
3706
+ "kind": "field",
3707
+ "name": "getViewport",
3708
+ "privacy": "private",
3709
+ "description": "Gets the viewport element by id, or defaults to document root",
3697
3710
  "inheritedFrom": {
3698
- "name": "Anchor",
3699
- "module": "src/anchor/anchor.ts"
3711
+ "name": "AnchoredRegion",
3712
+ "module": "src/anchored-region/anchored-region.ts"
3700
3713
  }
3701
3714
  },
3702
3715
  {
3703
- "name": "hreflang",
3704
- "type": {
3705
- "text": "string"
3706
- },
3707
- "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.",
3708
- "fieldName": "hreflang",
3716
+ "kind": "field",
3717
+ "name": "getAnchor",
3718
+ "privacy": "private",
3719
+ "description": "Gets the anchor element by id",
3709
3720
  "inheritedFrom": {
3710
- "name": "Anchor",
3711
- "module": "src/anchor/anchor.ts"
3721
+ "name": "AnchoredRegion",
3722
+ "module": "src/anchored-region/anchored-region.ts"
3712
3723
  }
3713
3724
  },
3714
3725
  {
3715
- "name": "ping",
3716
- "type": {
3717
- "text": "string"
3718
- },
3719
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3720
- "fieldName": "ping",
3726
+ "kind": "field",
3727
+ "name": "handleIntersection",
3728
+ "privacy": "private",
3729
+ "description": "Handle intersections",
3730
+ "inheritedFrom": {
3731
+ "name": "AnchoredRegion",
3732
+ "module": "src/anchored-region/anchored-region.ts"
3733
+ }
3734
+ },
3735
+ {
3736
+ "kind": "field",
3737
+ "name": "applyIntersectionEntries",
3738
+ "privacy": "private",
3739
+ "description": "iterate through intersection entries and apply data",
3721
3740
  "inheritedFrom": {
3722
- "name": "Anchor",
3723
- "module": "src/anchor/anchor.ts"
3741
+ "name": "AnchoredRegion",
3742
+ "module": "src/anchored-region/anchored-region.ts"
3724
3743
  }
3725
3744
  },
3726
3745
  {
3727
- "name": "referrerpolicy",
3728
- "type": {
3729
- "text": "string"
3730
- },
3731
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3732
- "fieldName": "referrerpolicy",
3746
+ "kind": "field",
3747
+ "name": "updateRegionOffset",
3748
+ "privacy": "private",
3749
+ "description": "Update the offset values",
3733
3750
  "inheritedFrom": {
3734
- "name": "Anchor",
3735
- "module": "src/anchor/anchor.ts"
3751
+ "name": "AnchoredRegion",
3752
+ "module": "src/anchored-region/anchored-region.ts"
3736
3753
  }
3737
3754
  },
3738
3755
  {
3739
- "name": "rel",
3740
- "type": {
3741
- "text": "string"
3742
- },
3743
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3744
- "fieldName": "rel",
3756
+ "kind": "field",
3757
+ "name": "isRectDifferent",
3758
+ "privacy": "private",
3759
+ "description": "compare rects to see if there is enough change to justify a DOM update",
3745
3760
  "inheritedFrom": {
3746
- "name": "Anchor",
3747
- "module": "src/anchor/anchor.ts"
3761
+ "name": "AnchoredRegion",
3762
+ "module": "src/anchored-region/anchored-region.ts"
3748
3763
  }
3749
3764
  },
3750
3765
  {
3751
- "name": "target",
3752
- "type": {
3753
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
3754
- },
3755
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3756
- "fieldName": "target",
3766
+ "kind": "field",
3767
+ "name": "handleResize",
3768
+ "privacy": "private",
3769
+ "description": "Handle resize events",
3757
3770
  "inheritedFrom": {
3758
- "name": "Anchor",
3759
- "module": "src/anchor/anchor.ts"
3771
+ "name": "AnchoredRegion",
3772
+ "module": "src/anchored-region/anchored-region.ts"
3760
3773
  }
3761
3774
  },
3762
3775
  {
3763
- "name": "type",
3764
- "type": {
3765
- "text": "string"
3766
- },
3767
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3768
- "fieldName": "type",
3776
+ "kind": "field",
3777
+ "name": "reset",
3778
+ "privacy": "private",
3779
+ "description": "resets the component",
3769
3780
  "inheritedFrom": {
3770
- "name": "Anchor",
3771
- "module": "src/anchor/anchor.ts"
3781
+ "name": "AnchoredRegion",
3782
+ "module": "src/anchored-region/anchored-region.ts"
3772
3783
  }
3773
- }
3774
- ],
3775
- "members": [
3784
+ },
3776
3785
  {
3777
3786
  "kind": "field",
3778
- "name": "download",
3779
- "type": {
3780
- "text": "string"
3781
- },
3782
- "privacy": "public",
3783
- "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.",
3787
+ "name": "updateLayout",
3788
+ "privacy": "private",
3789
+ "description": "Recalculate layout related state values",
3784
3790
  "inheritedFrom": {
3785
- "name": "Anchor",
3786
- "module": "src/anchor/anchor.ts"
3791
+ "name": "AnchoredRegion",
3792
+ "module": "src/anchored-region/anchored-region.ts"
3787
3793
  }
3788
3794
  },
3789
3795
  {
3790
3796
  "kind": "field",
3791
- "name": "href",
3792
- "type": {
3793
- "text": "string"
3794
- },
3795
- "privacy": "public",
3796
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3797
+ "name": "updateRegionStyle",
3798
+ "privacy": "private",
3799
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3797
3800
  "inheritedFrom": {
3798
- "name": "Anchor",
3799
- "module": "src/anchor/anchor.ts"
3801
+ "name": "AnchoredRegion",
3802
+ "module": "src/anchored-region/anchored-region.ts"
3800
3803
  }
3801
3804
  },
3802
3805
  {
3803
3806
  "kind": "field",
3804
- "name": "hreflang",
3805
- "type": {
3806
- "text": "string"
3807
- },
3808
- "privacy": "public",
3809
- "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.",
3807
+ "name": "updatePositionClasses",
3808
+ "privacy": "private",
3809
+ "description": "Updates the css classes that reflect the current position of the element",
3810
3810
  "inheritedFrom": {
3811
- "name": "Anchor",
3812
- "module": "src/anchor/anchor.ts"
3811
+ "name": "AnchoredRegion",
3812
+ "module": "src/anchored-region/anchored-region.ts"
3813
3813
  }
3814
3814
  },
3815
3815
  {
3816
3816
  "kind": "field",
3817
- "name": "ping",
3818
- "type": {
3819
- "text": "string"
3820
- },
3821
- "privacy": "public",
3822
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3817
+ "name": "setHorizontalPosition",
3818
+ "privacy": "private",
3819
+ "description": "Get horizontal positioning state based on desired position",
3823
3820
  "inheritedFrom": {
3824
- "name": "Anchor",
3825
- "module": "src/anchor/anchor.ts"
3821
+ "name": "AnchoredRegion",
3822
+ "module": "src/anchored-region/anchored-region.ts"
3826
3823
  }
3827
3824
  },
3828
3825
  {
3829
3826
  "kind": "field",
3830
- "name": "referrerpolicy",
3831
- "type": {
3832
- "text": "string"
3833
- },
3834
- "privacy": "public",
3835
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3827
+ "name": "setVerticalPosition",
3828
+ "privacy": "private",
3829
+ "description": "Set vertical positioning state based on desired position",
3836
3830
  "inheritedFrom": {
3837
- "name": "Anchor",
3838
- "module": "src/anchor/anchor.ts"
3831
+ "name": "AnchoredRegion",
3832
+ "module": "src/anchored-region/anchored-region.ts"
3839
3833
  }
3840
3834
  },
3841
3835
  {
3842
3836
  "kind": "field",
3843
- "name": "rel",
3844
- "type": {
3845
- "text": "string"
3846
- },
3847
- "privacy": "public",
3848
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3837
+ "name": "getPositioningOptions",
3838
+ "privacy": "private",
3839
+ "description": "Get available positions based on positioning mode",
3849
3840
  "inheritedFrom": {
3850
- "name": "Anchor",
3851
- "module": "src/anchor/anchor.ts"
3841
+ "name": "AnchoredRegion",
3842
+ "module": "src/anchored-region/anchored-region.ts"
3852
3843
  }
3853
3844
  },
3854
3845
  {
3855
3846
  "kind": "field",
3856
- "name": "target",
3857
- "type": {
3858
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
3859
- },
3860
- "privacy": "public",
3861
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3847
+ "name": "getAvailableSpace",
3848
+ "privacy": "private",
3849
+ "description": "Get the space available for a particular relative position",
3862
3850
  "inheritedFrom": {
3863
- "name": "Anchor",
3864
- "module": "src/anchor/anchor.ts"
3851
+ "name": "AnchoredRegion",
3852
+ "module": "src/anchored-region/anchored-region.ts"
3865
3853
  }
3866
3854
  },
3867
3855
  {
3868
3856
  "kind": "field",
3869
- "name": "type",
3870
- "type": {
3871
- "text": "string"
3872
- },
3873
- "privacy": "public",
3874
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3857
+ "name": "getNextRegionDimension",
3858
+ "privacy": "private",
3859
+ "description": "Get region dimensions",
3875
3860
  "inheritedFrom": {
3876
- "name": "Anchor",
3877
- "module": "src/anchor/anchor.ts"
3861
+ "name": "AnchoredRegion",
3862
+ "module": "src/anchored-region/anchored-region.ts"
3878
3863
  }
3879
3864
  },
3880
3865
  {
3881
3866
  "kind": "field",
3882
- "name": "control",
3883
- "type": {
3884
- "text": "HTMLAnchorElement | undefined"
3885
- },
3886
- "privacy": "public",
3887
- "description": "References the root element",
3867
+ "name": "startAutoUpdateEventListeners",
3868
+ "privacy": "private",
3869
+ "description": "starts event listeners that can trigger auto updating",
3888
3870
  "inheritedFrom": {
3889
- "name": "Anchor",
3890
- "module": "src/anchor/anchor.ts"
3871
+ "name": "AnchoredRegion",
3872
+ "module": "src/anchored-region/anchored-region.ts"
3891
3873
  }
3892
3874
  },
3893
3875
  {
3894
3876
  "kind": "field",
3895
- "name": "handleUnsupportedDelegatesFocus",
3877
+ "name": "stopAutoUpdateEventListeners",
3896
3878
  "privacy": "private",
3897
- "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",
3879
+ "description": "stops event listeners that can trigger auto updating",
3898
3880
  "inheritedFrom": {
3899
- "name": "Anchor",
3900
- "module": "src/anchor/anchor.ts"
3881
+ "name": "AnchoredRegion",
3882
+ "module": "src/anchored-region/anchored-region.ts"
3901
3883
  }
3902
3884
  },
3903
3885
  {
@@ -4011,11 +3993,29 @@
4011
3993
  "module": "src/foundation-element/foundation-element.ts"
4012
3994
  }
4013
3995
  }
3996
+ ],
3997
+ "events": [
3998
+ {
3999
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4000
+ "name": "loaded",
4001
+ "inheritedFrom": {
4002
+ "name": "AnchoredRegion",
4003
+ "module": "src/anchored-region/anchored-region.ts"
4004
+ }
4005
+ },
4006
+ {
4007
+ "description": "Fires a custom 'positionchange' event when the position has changed",
4008
+ "name": "positionchange",
4009
+ "inheritedFrom": {
4010
+ "name": "AnchoredRegion",
4011
+ "module": "src/anchored-region/anchored-region.ts"
4012
+ }
4013
+ }
4014
4014
  ]
4015
4015
  },
4016
4016
  {
4017
4017
  "kind": "variable",
4018
- "name": "foundationAnchorShadowOptions",
4018
+ "name": "foundationAnchoredRegionShadowOptions",
4019
4019
  "type": {
4020
4020
  "text": "ShadowRootInit"
4021
4021
  },
@@ -4023,7 +4023,7 @@
4023
4023
  },
4024
4024
  {
4025
4025
  "kind": "variable",
4026
- "name": "defaultAnchorConfig",
4026
+ "name": "defaultAnchoredRegionConfig",
4027
4027
  "type": {
4028
4028
  "text": "object"
4029
4029
  },
@@ -4031,49 +4031,49 @@
4031
4031
  },
4032
4032
  {
4033
4033
  "kind": "variable",
4034
- "name": "foundationAnchor",
4035
- "description": "The Foundation Anchor",
4034
+ "name": "foundationAnchoredRegion",
4035
+ "description": "The Foundation Anchored Region",
4036
4036
  "privacy": "public"
4037
4037
  }
4038
4038
  ],
4039
4039
  "exports": [
4040
4040
  {
4041
4041
  "kind": "js",
4042
- "name": "Anchor",
4042
+ "name": "AnchoredRegion",
4043
4043
  "declaration": {
4044
- "name": "Anchor",
4045
- "module": "src/anchor/anchor.ts"
4044
+ "name": "AnchoredRegion",
4045
+ "module": "src/anchored-region/anchored-region.ts"
4046
4046
  }
4047
4047
  },
4048
4048
  {
4049
4049
  "kind": "js",
4050
- "name": "foundationAnchorShadowOptions",
4050
+ "name": "foundationAnchoredRegionShadowOptions",
4051
4051
  "declaration": {
4052
- "name": "foundationAnchorShadowOptions",
4053
- "module": "src/anchor/anchor.ts"
4052
+ "name": "foundationAnchoredRegionShadowOptions",
4053
+ "module": "src/anchored-region/anchored-region.ts"
4054
4054
  }
4055
4055
  },
4056
4056
  {
4057
4057
  "kind": "js",
4058
- "name": "defaultAnchorConfig",
4058
+ "name": "defaultAnchoredRegionConfig",
4059
4059
  "declaration": {
4060
- "name": "defaultAnchorConfig",
4061
- "module": "src/anchor/anchor.ts"
4060
+ "name": "defaultAnchoredRegionConfig",
4061
+ "module": "src/anchored-region/anchored-region.ts"
4062
4062
  }
4063
4063
  },
4064
4064
  {
4065
4065
  "kind": "js",
4066
- "name": "foundationAnchor",
4066
+ "name": "foundationAnchoredRegion",
4067
4067
  "declaration": {
4068
- "name": "foundationAnchor",
4069
- "module": "src/anchor/anchor.ts"
4068
+ "name": "foundationAnchoredRegion",
4069
+ "module": "src/anchored-region/anchored-region.ts"
4070
4070
  }
4071
4071
  }
4072
4072
  ]
4073
4073
  },
4074
4074
  {
4075
4075
  "kind": "javascript-module",
4076
- "path": "src/anchor/index.ts",
4076
+ "path": "src/anchored-region/index.ts",
4077
4077
  "declarations": [],
4078
4078
  "exports": [
4079
4079
  {
@@ -4081,7 +4081,7 @@
4081
4081
  "name": "*",
4082
4082
  "declaration": {
4083
4083
  "name": "*",
4084
- "package": "./anchor.template"
4084
+ "package": "./anchor-region.template"
4085
4085
  }
4086
4086
  },
4087
4087
  {
@@ -4089,7 +4089,7 @@
4089
4089
  "name": "*",
4090
4090
  "declaration": {
4091
4091
  "name": "*",
4092
- "package": "./anchor.styles"
4092
+ "package": "./anchored-region.styles"
4093
4093
  }
4094
4094
  },
4095
4095
  {
@@ -4097,7 +4097,7 @@
4097
4097
  "name": "*",
4098
4098
  "declaration": {
4099
4099
  "name": "*",
4100
- "package": "./anchor"
4100
+ "package": "./anchored-region"
4101
4101
  }
4102
4102
  }
4103
4103
  ]