@genesislcap/foundation-zero 14.118.1 → 14.119.0

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