@genesislcap/foundation-zero 14.187.1-accessibility.1 → 14.187.1

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