@genesislcap/foundation-zero 14.154.1 → 14.154.2

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