@genesislcap/foundation-zero 14.187.1 → 14.188.0

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