@genesislcap/foundation-ui 14.361.0-tabs-z-index-fix.1 → 14.361.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1872,34 +1872,11 @@
1872
1872
  },
1873
1873
  {
1874
1874
  "kind": "javascript-module",
1875
- "path": "src/actions-menu/actions-menu.styles.ts",
1875
+ "path": "src/anchor/anchor.styles.ts",
1876
1876
  "declarations": [
1877
1877
  {
1878
1878
  "kind": "function",
1879
- "name": "actionsMenuBaseStyles",
1880
- "return": {
1881
- "type": {
1882
- "text": "ElementStyles"
1883
- }
1884
- },
1885
- "parameters": [
1886
- {
1887
- "name": "context",
1888
- "type": {
1889
- "text": "ElementDefinitionContext"
1890
- }
1891
- },
1892
- {
1893
- "name": "definition",
1894
- "type": {
1895
- "text": "FoundationElementDefinition"
1896
- }
1897
- }
1898
- ]
1899
- },
1900
- {
1901
- "kind": "function",
1902
- "name": "foundationActionsMenuStyles",
1879
+ "name": "foundationAnchorStyles",
1903
1880
  "return": {
1904
1881
  "type": {
1905
1882
  "text": "ElementStyles"
@@ -1924,269 +1901,292 @@
1924
1901
  "exports": [
1925
1902
  {
1926
1903
  "kind": "js",
1927
- "name": "actionsMenuBaseStyles",
1928
- "declaration": {
1929
- "name": "actionsMenuBaseStyles",
1930
- "module": "src/actions-menu/actions-menu.styles.ts"
1931
- }
1932
- },
1933
- {
1934
- "kind": "js",
1935
- "name": "foundationActionsMenuStyles",
1904
+ "name": "foundationAnchorStyles",
1936
1905
  "declaration": {
1937
- "name": "foundationActionsMenuStyles",
1938
- "module": "src/actions-menu/actions-menu.styles.ts"
1906
+ "name": "foundationAnchorStyles",
1907
+ "module": "src/anchor/anchor.styles.ts"
1939
1908
  }
1940
1909
  }
1941
1910
  ]
1942
1911
  },
1943
1912
  {
1944
1913
  "kind": "javascript-module",
1945
- "path": "src/actions-menu/actions-menu.template.ts",
1914
+ "path": "src/anchor/anchor.template.ts",
1946
1915
  "declarations": [
1947
1916
  {
1948
1917
  "kind": "function",
1949
- "name": "menuTemplate",
1918
+ "name": "foundationAnchorTemplate",
1919
+ "return": {
1920
+ "type": {
1921
+ "text": "ViewTemplate<Anchor>"
1922
+ }
1923
+ },
1950
1924
  "parameters": [
1951
1925
  {
1952
- "name": "prefix",
1926
+ "name": "context",
1953
1927
  "type": {
1954
- "text": "string"
1928
+ "text": "ElementDefinitionContext"
1955
1929
  }
1956
- }
1957
- ]
1958
- },
1959
- {
1960
- "kind": "function",
1961
- "name": "singleOptionTemplate",
1962
- "parameters": [
1930
+ },
1963
1931
  {
1964
- "name": "prefix",
1932
+ "name": "definition",
1965
1933
  "type": {
1966
- "text": "string"
1934
+ "text": "FoundationElementDefinition"
1967
1935
  }
1968
1936
  }
1969
1937
  ]
1970
- },
1971
- {
1972
- "kind": "variable",
1973
- "name": "foundationActionsMenuTemplate",
1974
- "type": {
1975
- "text": "ViewTemplate<ActionsMenu>"
1976
- },
1977
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1978
1938
  }
1979
1939
  ],
1980
1940
  "exports": [
1981
1941
  {
1982
1942
  "kind": "js",
1983
- "name": "menuTemplate",
1984
- "declaration": {
1985
- "name": "menuTemplate",
1986
- "module": "src/actions-menu/actions-menu.template.ts"
1987
- }
1988
- },
1989
- {
1990
- "kind": "js",
1991
- "name": "singleOptionTemplate",
1992
- "declaration": {
1993
- "name": "singleOptionTemplate",
1994
- "module": "src/actions-menu/actions-menu.template.ts"
1995
- }
1996
- },
1997
- {
1998
- "kind": "js",
1999
- "name": "foundationActionsMenuTemplate",
1943
+ "name": "foundationAnchorTemplate",
2000
1944
  "declaration": {
2001
- "name": "foundationActionsMenuTemplate",
2002
- "module": "src/actions-menu/actions-menu.template.ts"
1945
+ "name": "foundationAnchorTemplate",
1946
+ "module": "src/anchor/anchor.template.ts"
2003
1947
  }
2004
1948
  }
2005
1949
  ]
2006
1950
  },
2007
1951
  {
2008
1952
  "kind": "javascript-module",
2009
- "path": "src/actions-menu/actions-menu.ts",
1953
+ "path": "src/anchor/anchor.ts",
2010
1954
  "declarations": [
2011
1955
  {
2012
1956
  "kind": "class",
2013
1957
  "description": "",
2014
- "name": "ActionsMenu",
2015
- "members": [
1958
+ "name": "Anchor",
1959
+ "superclass": {
1960
+ "name": "FASTAnchor",
1961
+ "package": "@microsoft/fast-components"
1962
+ },
1963
+ "tagName": "%%prefix%%-anchor",
1964
+ "customElement": true,
1965
+ "attributes": [
2016
1966
  {
2017
- "kind": "field",
2018
- "name": "actions",
1967
+ "name": "download",
2019
1968
  "type": {
2020
- "text": "ActionMenuItem[]"
1969
+ "text": "string"
1970
+ },
1971
+ "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.",
1972
+ "fieldName": "download",
1973
+ "inheritedFrom": {
1974
+ "name": "Anchor",
1975
+ "module": "src/anchor/anchor.ts"
2021
1976
  }
2022
1977
  },
2023
1978
  {
2024
- "kind": "field",
2025
- "name": "isVertical",
1979
+ "name": "href",
2026
1980
  "type": {
2027
- "text": "boolean"
1981
+ "text": "string"
2028
1982
  },
2029
- "default": "false"
1983
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1984
+ "fieldName": "href",
1985
+ "inheritedFrom": {
1986
+ "name": "Anchor",
1987
+ "module": "src/anchor/anchor.ts"
1988
+ }
2030
1989
  },
2031
1990
  {
2032
- "kind": "field",
2033
- "name": "addDefaultActions",
1991
+ "name": "hreflang",
2034
1992
  "type": {
2035
- "text": "boolean"
1993
+ "text": "string"
2036
1994
  },
2037
- "default": "true"
1995
+ "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.",
1996
+ "fieldName": "hreflang",
1997
+ "inheritedFrom": {
1998
+ "name": "Anchor",
1999
+ "module": "src/anchor/anchor.ts"
2000
+ }
2038
2001
  },
2039
2002
  {
2040
- "kind": "field",
2041
- "name": "autoCloseOnAction",
2003
+ "name": "ping",
2042
2004
  "type": {
2043
- "text": "boolean"
2005
+ "text": "string"
2044
2006
  },
2045
- "default": "true"
2007
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2008
+ "fieldName": "ping",
2009
+ "inheritedFrom": {
2010
+ "name": "Anchor",
2011
+ "module": "src/anchor/anchor.ts"
2012
+ }
2046
2013
  },
2047
2014
  {
2048
- "kind": "field",
2049
- "name": "classNames",
2015
+ "name": "referrerpolicy",
2050
2016
  "type": {
2051
2017
  "text": "string"
2018
+ },
2019
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2020
+ "fieldName": "referrerpolicy",
2021
+ "inheritedFrom": {
2022
+ "name": "Anchor",
2023
+ "module": "src/anchor/anchor.ts"
2052
2024
  }
2053
2025
  },
2054
2026
  {
2055
- "kind": "field",
2056
- "name": "definition",
2027
+ "name": "rel",
2057
2028
  "type": {
2058
- "text": "any"
2029
+ "text": "string"
2030
+ },
2031
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2032
+ "fieldName": "rel",
2033
+ "inheritedFrom": {
2034
+ "name": "Anchor",
2035
+ "module": "src/anchor/anchor.ts"
2059
2036
  }
2060
2037
  },
2061
2038
  {
2062
- "kind": "field",
2063
- "name": "name",
2039
+ "name": "target",
2064
2040
  "type": {
2065
- "text": "string"
2041
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2066
2042
  },
2067
- "default": "'Actions'"
2043
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2044
+ "fieldName": "target",
2045
+ "inheritedFrom": {
2046
+ "name": "Anchor",
2047
+ "module": "src/anchor/anchor.ts"
2048
+ }
2068
2049
  },
2069
2050
  {
2070
- "kind": "field",
2071
- "name": "open",
2051
+ "name": "type",
2072
2052
  "type": {
2073
- "text": "boolean"
2053
+ "text": "string"
2074
2054
  },
2075
- "default": "false"
2076
- },
2055
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2056
+ "fieldName": "type",
2057
+ "inheritedFrom": {
2058
+ "name": "Anchor",
2059
+ "module": "src/anchor/anchor.ts"
2060
+ }
2061
+ }
2062
+ ],
2063
+ "members": [
2077
2064
  {
2078
2065
  "kind": "field",
2079
- "name": "buttonAppearance",
2066
+ "name": "download",
2080
2067
  "type": {
2081
2068
  "text": "string"
2069
+ },
2070
+ "privacy": "public",
2071
+ "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.",
2072
+ "inheritedFrom": {
2073
+ "name": "Anchor",
2074
+ "module": "src/anchor/anchor.ts"
2082
2075
  }
2083
2076
  },
2084
2077
  {
2085
2078
  "kind": "field",
2086
- "name": "hideDisabled",
2079
+ "name": "href",
2087
2080
  "type": {
2088
- "text": "boolean"
2081
+ "text": "string"
2089
2082
  },
2090
- "default": "false"
2083
+ "privacy": "public",
2084
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2085
+ "inheritedFrom": {
2086
+ "name": "Anchor",
2087
+ "module": "src/anchor/anchor.ts"
2088
+ }
2091
2089
  },
2092
2090
  {
2093
2091
  "kind": "field",
2094
- "name": "hideMenuSingleOption",
2092
+ "name": "hreflang",
2095
2093
  "type": {
2096
- "text": "boolean"
2094
+ "text": "string"
2097
2095
  },
2098
- "default": "false"
2096
+ "privacy": "public",
2097
+ "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.",
2098
+ "inheritedFrom": {
2099
+ "name": "Anchor",
2100
+ "module": "src/anchor/anchor.ts"
2101
+ }
2099
2102
  },
2100
2103
  {
2101
2104
  "kind": "field",
2102
- "name": "singleOption",
2105
+ "name": "ping",
2103
2106
  "type": {
2104
- "text": "ActionMenuItem"
2107
+ "text": "string"
2108
+ },
2109
+ "privacy": "public",
2110
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2111
+ "inheritedFrom": {
2112
+ "name": "Anchor",
2113
+ "module": "src/anchor/anchor.ts"
2105
2114
  }
2106
2115
  },
2107
2116
  {
2108
2117
  "kind": "field",
2109
- "name": "actionsMenu",
2118
+ "name": "referrerpolicy",
2110
2119
  "type": {
2111
- "text": "HTMLElement"
2120
+ "text": "string"
2121
+ },
2122
+ "privacy": "public",
2123
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2124
+ "inheritedFrom": {
2125
+ "name": "Anchor",
2126
+ "module": "src/anchor/anchor.ts"
2112
2127
  }
2113
2128
  },
2114
2129
  {
2115
- "kind": "method",
2116
- "name": "definitionChanged",
2117
- "privacy": "protected",
2118
- "parameters": [
2119
- {
2120
- "name": "oldValue",
2121
- "type": {
2122
- "text": "any"
2123
- }
2124
- },
2125
- {
2126
- "name": "newValue",
2127
- "type": {
2128
- "text": "any"
2129
- }
2130
- }
2131
- ]
2132
- },
2133
- {
2134
- "kind": "method",
2135
- "name": "openChanged",
2136
- "privacy": "protected"
2137
- },
2138
- {
2139
- "kind": "method",
2140
- "name": "toggleActionsMenuVisibility"
2141
- },
2142
- {
2143
- "kind": "method",
2144
- "name": "onActionMenuItemClick",
2145
- "parameters": [
2146
- {
2147
- "name": "callback",
2148
- "type": {
2149
- "text": "(rowData) => void | any"
2150
- }
2151
- }
2152
- ]
2130
+ "kind": "field",
2131
+ "name": "rel",
2132
+ "type": {
2133
+ "text": "string"
2134
+ },
2135
+ "privacy": "public",
2136
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2137
+ "inheritedFrom": {
2138
+ "name": "Anchor",
2139
+ "module": "src/anchor/anchor.ts"
2140
+ }
2153
2141
  },
2154
2142
  {
2155
2143
  "kind": "field",
2156
- "name": "allActions",
2144
+ "name": "target",
2157
2145
  "type": {
2158
- "text": "ActionMenuItem[]"
2146
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2159
2147
  },
2160
- "readonly": true
2148
+ "privacy": "public",
2149
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2150
+ "inheritedFrom": {
2151
+ "name": "Anchor",
2152
+ "module": "src/anchor/anchor.ts"
2153
+ }
2161
2154
  },
2162
2155
  {
2163
2156
  "kind": "field",
2164
- "name": "rowData",
2165
- "readonly": true
2157
+ "name": "type",
2158
+ "type": {
2159
+ "text": "string"
2160
+ },
2161
+ "privacy": "public",
2162
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2163
+ "inheritedFrom": {
2164
+ "name": "Anchor",
2165
+ "module": "src/anchor/anchor.ts"
2166
+ }
2166
2167
  },
2167
2168
  {
2168
- "kind": "method",
2169
- "name": "getLabel",
2170
- "parameters": [
2171
- {
2172
- "name": "name",
2173
- "type": {
2174
- "text": "string | ((rowData: any) => string)"
2175
- }
2176
- }
2177
- ]
2169
+ "kind": "field",
2170
+ "name": "control",
2171
+ "type": {
2172
+ "text": "HTMLAnchorElement | undefined"
2173
+ },
2174
+ "privacy": "public",
2175
+ "description": "References the root element",
2176
+ "inheritedFrom": {
2177
+ "name": "Anchor",
2178
+ "module": "src/anchor/anchor.ts"
2179
+ }
2178
2180
  },
2179
2181
  {
2180
- "kind": "method",
2181
- "name": "getTemplate",
2182
- "parameters": [
2183
- {
2184
- "name": "prefix",
2185
- "type": {
2186
- "text": "string"
2187
- }
2188
- }
2189
- ]
2182
+ "kind": "field",
2183
+ "name": "handleUnsupportedDelegatesFocus",
2184
+ "privacy": "private",
2185
+ "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",
2186
+ "inheritedFrom": {
2187
+ "name": "Anchor",
2188
+ "module": "src/anchor/anchor.ts"
2189
+ }
2190
2190
  },
2191
2191
  {
2192
2192
  "kind": "field",
@@ -2299,108 +2299,69 @@
2299
2299
  "module": "src/foundation-element/foundation-element.ts"
2300
2300
  }
2301
2301
  }
2302
- ],
2303
- "attributes": [
2304
- {
2305
- "name": "is-vertical",
2306
- "type": {
2307
- "text": "boolean"
2308
- },
2309
- "default": "false",
2310
- "fieldName": "isVertical"
2311
- },
2312
- {
2313
- "name": "add-default-actions",
2314
- "type": {
2315
- "text": "boolean"
2316
- },
2317
- "default": "true",
2318
- "fieldName": "addDefaultActions"
2319
- },
2320
- {
2321
- "name": "auto-close-on-action",
2322
- "type": {
2323
- "text": "boolean"
2324
- },
2325
- "default": "true",
2326
- "fieldName": "autoCloseOnAction"
2327
- },
2328
- {
2329
- "name": "name",
2330
- "type": {
2331
- "text": "string"
2332
- },
2333
- "default": "'Actions'",
2334
- "fieldName": "name"
2335
- },
2336
- {
2337
- "name": "open",
2338
- "type": {
2339
- "text": "boolean"
2340
- },
2341
- "default": "false",
2342
- "fieldName": "open"
2343
- },
2344
- {
2345
- "name": "buttonAppearance",
2346
- "type": {
2347
- "text": "string"
2348
- },
2349
- "fieldName": "buttonAppearance"
2350
- },
2351
- {
2352
- "name": "hide-disabled",
2353
- "type": {
2354
- "text": "boolean"
2355
- },
2356
- "default": "false",
2357
- "fieldName": "hideDisabled"
2358
- },
2359
- {
2360
- "name": "hide-menu-single-option",
2361
- "type": {
2362
- "text": "boolean"
2363
- },
2364
- "default": "false",
2365
- "fieldName": "hideMenuSingleOption"
2366
- }
2367
- ],
2368
- "superclass": {
2369
- "name": "FoundationElement",
2370
- "package": "@microsoft/fast-foundation"
2302
+ ]
2303
+ },
2304
+ {
2305
+ "kind": "variable",
2306
+ "name": "foundationAnchorShadowOptions",
2307
+ "type": {
2308
+ "text": "ShadowRootInit"
2371
2309
  },
2372
- "tagName": "%%prefix%%-actions-menu",
2373
- "customElement": true
2310
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2374
2311
  },
2375
2312
  {
2376
2313
  "kind": "variable",
2377
- "name": "foundationActionsMenu",
2378
- "description": "The Foundation Actions Menu",
2314
+ "name": "defaultAnchorConfig",
2315
+ "type": {
2316
+ "text": "object"
2317
+ },
2318
+ "default": "{}"
2319
+ },
2320
+ {
2321
+ "kind": "variable",
2322
+ "name": "foundationAnchor",
2323
+ "description": "The Foundation Anchor",
2379
2324
  "privacy": "public"
2380
2325
  }
2381
2326
  ],
2382
2327
  "exports": [
2383
2328
  {
2384
2329
  "kind": "js",
2385
- "name": "ActionsMenu",
2330
+ "name": "Anchor",
2386
2331
  "declaration": {
2387
- "name": "ActionsMenu",
2388
- "module": "src/actions-menu/actions-menu.ts"
2332
+ "name": "Anchor",
2333
+ "module": "src/anchor/anchor.ts"
2389
2334
  }
2390
2335
  },
2391
2336
  {
2392
2337
  "kind": "js",
2393
- "name": "foundationActionsMenu",
2338
+ "name": "foundationAnchorShadowOptions",
2394
2339
  "declaration": {
2395
- "name": "foundationActionsMenu",
2396
- "module": "src/actions-menu/actions-menu.ts"
2340
+ "name": "foundationAnchorShadowOptions",
2341
+ "module": "src/anchor/anchor.ts"
2342
+ }
2343
+ },
2344
+ {
2345
+ "kind": "js",
2346
+ "name": "defaultAnchorConfig",
2347
+ "declaration": {
2348
+ "name": "defaultAnchorConfig",
2349
+ "module": "src/anchor/anchor.ts"
2350
+ }
2351
+ },
2352
+ {
2353
+ "kind": "js",
2354
+ "name": "foundationAnchor",
2355
+ "declaration": {
2356
+ "name": "foundationAnchor",
2357
+ "module": "src/anchor/anchor.ts"
2397
2358
  }
2398
2359
  }
2399
2360
  ]
2400
2361
  },
2401
2362
  {
2402
2363
  "kind": "javascript-module",
2403
- "path": "src/actions-menu/index.ts",
2364
+ "path": "src/anchor/index.ts",
2404
2365
  "declarations": [],
2405
2366
  "exports": [
2406
2367
  {
@@ -2408,7 +2369,7 @@
2408
2369
  "name": "*",
2409
2370
  "declaration": {
2410
2371
  "name": "*",
2411
- "package": "./actions-menu.styles"
2372
+ "package": "./anchor.template"
2412
2373
  }
2413
2374
  },
2414
2375
  {
@@ -2416,7 +2377,7 @@
2416
2377
  "name": "*",
2417
2378
  "declaration": {
2418
2379
  "name": "*",
2419
- "package": "./actions-menu.template"
2380
+ "package": "./anchor.styles"
2420
2381
  }
2421
2382
  },
2422
2383
  {
@@ -2424,21 +2385,21 @@
2424
2385
  "name": "*",
2425
2386
  "declaration": {
2426
2387
  "name": "*",
2427
- "package": "./actions-menu"
2388
+ "package": "./anchor"
2428
2389
  }
2429
2390
  }
2430
2391
  ]
2431
2392
  },
2432
2393
  {
2433
2394
  "kind": "javascript-module",
2434
- "path": "src/anchor/anchor.styles.ts",
2395
+ "path": "src/anchored-region/anchor-region.template.ts",
2435
2396
  "declarations": [
2436
2397
  {
2437
2398
  "kind": "function",
2438
- "name": "foundationAnchorStyles",
2399
+ "name": "foundationAnchoredRegionTemplate",
2439
2400
  "return": {
2440
2401
  "type": {
2441
- "text": "ElementStyles"
2402
+ "text": "ViewTemplate<AnchoredRegion>"
2442
2403
  }
2443
2404
  },
2444
2405
  "parameters": [
@@ -2460,24 +2421,24 @@
2460
2421
  "exports": [
2461
2422
  {
2462
2423
  "kind": "js",
2463
- "name": "foundationAnchorStyles",
2424
+ "name": "foundationAnchoredRegionTemplate",
2464
2425
  "declaration": {
2465
- "name": "foundationAnchorStyles",
2466
- "module": "src/anchor/anchor.styles.ts"
2426
+ "name": "foundationAnchoredRegionTemplate",
2427
+ "module": "src/anchored-region/anchor-region.template.ts"
2467
2428
  }
2468
2429
  }
2469
2430
  ]
2470
2431
  },
2471
2432
  {
2472
2433
  "kind": "javascript-module",
2473
- "path": "src/anchor/anchor.template.ts",
2434
+ "path": "src/anchored-region/anchored-region.styles.ts",
2474
2435
  "declarations": [
2475
2436
  {
2476
2437
  "kind": "function",
2477
- "name": "foundationAnchorTemplate",
2438
+ "name": "foundationAnchoredRegionStyles",
2478
2439
  "return": {
2479
2440
  "type": {
2480
- "text": "ViewTemplate<Anchor>"
2441
+ "text": "ElementStyles"
2481
2442
  }
2482
2443
  },
2483
2444
  "parameters": [
@@ -2499,766 +2460,664 @@
2499
2460
  "exports": [
2500
2461
  {
2501
2462
  "kind": "js",
2502
- "name": "foundationAnchorTemplate",
2463
+ "name": "foundationAnchoredRegionStyles",
2503
2464
  "declaration": {
2504
- "name": "foundationAnchorTemplate",
2505
- "module": "src/anchor/anchor.template.ts"
2465
+ "name": "foundationAnchoredRegionStyles",
2466
+ "module": "src/anchored-region/anchored-region.styles.ts"
2506
2467
  }
2507
2468
  }
2508
2469
  ]
2509
2470
  },
2510
2471
  {
2511
2472
  "kind": "javascript-module",
2512
- "path": "src/anchor/anchor.ts",
2473
+ "path": "src/anchored-region/anchored-region.ts",
2513
2474
  "declarations": [
2514
2475
  {
2515
2476
  "kind": "class",
2516
2477
  "description": "",
2517
- "name": "Anchor",
2478
+ "name": "AnchoredRegion",
2518
2479
  "superclass": {
2519
- "name": "FASTAnchor",
2480
+ "name": "FASTAnchoredRegion",
2520
2481
  "package": "@microsoft/fast-components"
2521
2482
  },
2522
- "tagName": "%%prefix%%-anchor",
2483
+ "tagName": "%%prefix%%-anchored-region",
2523
2484
  "customElement": true,
2524
2485
  "attributes": [
2525
2486
  {
2526
- "name": "download",
2487
+ "name": "anchor",
2527
2488
  "type": {
2528
2489
  "text": "string"
2529
2490
  },
2530
- "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.",
2531
- "fieldName": "download",
2491
+ "default": "\"\"",
2492
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2493
+ "fieldName": "anchor",
2532
2494
  "inheritedFrom": {
2533
- "name": "Anchor",
2534
- "module": "src/anchor/anchor.ts"
2495
+ "name": "AnchoredRegion",
2496
+ "module": "src/anchored-region/anchored-region.ts"
2535
2497
  }
2536
2498
  },
2537
2499
  {
2538
- "name": "href",
2500
+ "name": "viewport",
2539
2501
  "type": {
2540
2502
  "text": "string"
2541
2503
  },
2542
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2543
- "fieldName": "href",
2504
+ "default": "\"\"",
2505
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2506
+ "fieldName": "viewport",
2544
2507
  "inheritedFrom": {
2545
- "name": "Anchor",
2546
- "module": "src/anchor/anchor.ts"
2508
+ "name": "AnchoredRegion",
2509
+ "module": "src/anchored-region/anchored-region.ts"
2547
2510
  }
2548
2511
  },
2549
2512
  {
2550
- "name": "hreflang",
2513
+ "name": "horizontal-positioning-mode",
2551
2514
  "type": {
2552
- "text": "string"
2515
+ "text": "AxisPositioningMode"
2553
2516
  },
2554
- "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.",
2555
- "fieldName": "hreflang",
2517
+ "default": "\"uncontrolled\"",
2518
+ "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",
2519
+ "fieldName": "horizontalPositioningMode",
2556
2520
  "inheritedFrom": {
2557
- "name": "Anchor",
2558
- "module": "src/anchor/anchor.ts"
2521
+ "name": "AnchoredRegion",
2522
+ "module": "src/anchored-region/anchored-region.ts"
2559
2523
  }
2560
2524
  },
2561
2525
  {
2562
- "name": "ping",
2526
+ "name": "horizontal-default-position",
2563
2527
  "type": {
2564
- "text": "string"
2528
+ "text": "HorizontalPosition"
2565
2529
  },
2566
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2567
- "fieldName": "ping",
2530
+ "default": "\"unset\"",
2531
+ "description": "The default horizontal position of the region relative to the anchor element",
2532
+ "fieldName": "horizontalDefaultPosition",
2568
2533
  "inheritedFrom": {
2569
- "name": "Anchor",
2570
- "module": "src/anchor/anchor.ts"
2534
+ "name": "AnchoredRegion",
2535
+ "module": "src/anchored-region/anchored-region.ts"
2571
2536
  }
2572
2537
  },
2573
2538
  {
2574
- "name": "referrerpolicy",
2539
+ "name": "horizontal-viewport-lock",
2575
2540
  "type": {
2576
- "text": "string"
2541
+ "text": "boolean"
2577
2542
  },
2578
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2579
- "fieldName": "referrerpolicy",
2543
+ "default": "false",
2544
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2545
+ "fieldName": "horizontalViewportLock",
2580
2546
  "inheritedFrom": {
2581
- "name": "Anchor",
2582
- "module": "src/anchor/anchor.ts"
2547
+ "name": "AnchoredRegion",
2548
+ "module": "src/anchored-region/anchored-region.ts"
2583
2549
  }
2584
2550
  },
2585
2551
  {
2586
- "name": "rel",
2552
+ "name": "horizontal-inset",
2587
2553
  "type": {
2588
- "text": "string"
2554
+ "text": "boolean"
2589
2555
  },
2590
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2591
- "fieldName": "rel",
2556
+ "default": "false",
2557
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2558
+ "fieldName": "horizontalInset",
2592
2559
  "inheritedFrom": {
2593
- "name": "Anchor",
2594
- "module": "src/anchor/anchor.ts"
2560
+ "name": "AnchoredRegion",
2561
+ "module": "src/anchored-region/anchored-region.ts"
2595
2562
  }
2596
2563
  },
2597
2564
  {
2598
- "name": "target",
2565
+ "name": "horizontal-threshold",
2599
2566
  "type": {
2600
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2567
+ "text": "number"
2601
2568
  },
2602
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2603
- "fieldName": "target",
2569
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2570
+ "fieldName": "horizontalThreshold",
2604
2571
  "inheritedFrom": {
2605
- "name": "Anchor",
2606
- "module": "src/anchor/anchor.ts"
2572
+ "name": "AnchoredRegion",
2573
+ "module": "src/anchored-region/anchored-region.ts"
2607
2574
  }
2608
2575
  },
2609
2576
  {
2610
- "name": "type",
2577
+ "name": "horizontal-scaling",
2611
2578
  "type": {
2612
- "text": "string"
2579
+ "text": "AxisScalingMode"
2613
2580
  },
2614
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2615
- "fieldName": "type",
2581
+ "default": "\"content\"",
2582
+ "description": "Defines how the width of the region is calculated",
2583
+ "fieldName": "horizontalScaling",
2616
2584
  "inheritedFrom": {
2617
- "name": "Anchor",
2618
- "module": "src/anchor/anchor.ts"
2585
+ "name": "AnchoredRegion",
2586
+ "module": "src/anchored-region/anchored-region.ts"
2619
2587
  }
2620
- }
2621
- ],
2622
- "members": [
2588
+ },
2623
2589
  {
2624
- "kind": "field",
2625
- "name": "download",
2590
+ "name": "vertical-positioning-mode",
2626
2591
  "type": {
2627
- "text": "string"
2592
+ "text": "AxisPositioningMode"
2628
2593
  },
2629
- "privacy": "public",
2630
- "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.",
2594
+ "default": "\"uncontrolled\"",
2595
+ "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",
2596
+ "fieldName": "verticalPositioningMode",
2631
2597
  "inheritedFrom": {
2632
- "name": "Anchor",
2633
- "module": "src/anchor/anchor.ts"
2598
+ "name": "AnchoredRegion",
2599
+ "module": "src/anchored-region/anchored-region.ts"
2634
2600
  }
2635
2601
  },
2636
2602
  {
2637
- "kind": "field",
2638
- "name": "href",
2603
+ "name": "vertical-default-position",
2639
2604
  "type": {
2640
- "text": "string"
2605
+ "text": "VerticalPosition"
2641
2606
  },
2642
- "privacy": "public",
2643
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2607
+ "default": "\"unset\"",
2608
+ "description": "The default vertical position of the region relative to the anchor element",
2609
+ "fieldName": "verticalDefaultPosition",
2644
2610
  "inheritedFrom": {
2645
- "name": "Anchor",
2646
- "module": "src/anchor/anchor.ts"
2611
+ "name": "AnchoredRegion",
2612
+ "module": "src/anchored-region/anchored-region.ts"
2647
2613
  }
2648
2614
  },
2649
2615
  {
2650
- "kind": "field",
2651
- "name": "hreflang",
2616
+ "name": "vertical-viewport-lock",
2652
2617
  "type": {
2653
- "text": "string"
2618
+ "text": "boolean"
2654
2619
  },
2655
- "privacy": "public",
2656
- "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.",
2620
+ "default": "false",
2621
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2622
+ "fieldName": "verticalViewportLock",
2657
2623
  "inheritedFrom": {
2658
- "name": "Anchor",
2659
- "module": "src/anchor/anchor.ts"
2624
+ "name": "AnchoredRegion",
2625
+ "module": "src/anchored-region/anchored-region.ts"
2660
2626
  }
2661
2627
  },
2662
2628
  {
2663
- "kind": "field",
2664
- "name": "ping",
2629
+ "name": "vertical-inset",
2665
2630
  "type": {
2666
- "text": "string"
2631
+ "text": "boolean"
2667
2632
  },
2668
- "privacy": "public",
2669
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2633
+ "default": "false",
2634
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2635
+ "fieldName": "verticalInset",
2670
2636
  "inheritedFrom": {
2671
- "name": "Anchor",
2672
- "module": "src/anchor/anchor.ts"
2637
+ "name": "AnchoredRegion",
2638
+ "module": "src/anchored-region/anchored-region.ts"
2673
2639
  }
2674
2640
  },
2675
2641
  {
2676
- "kind": "field",
2677
- "name": "referrerpolicy",
2642
+ "name": "vertical-threshold",
2678
2643
  "type": {
2679
- "text": "string"
2644
+ "text": "number"
2680
2645
  },
2681
- "privacy": "public",
2682
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2646
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2647
+ "fieldName": "verticalThreshold",
2683
2648
  "inheritedFrom": {
2684
- "name": "Anchor",
2685
- "module": "src/anchor/anchor.ts"
2649
+ "name": "AnchoredRegion",
2650
+ "module": "src/anchored-region/anchored-region.ts"
2686
2651
  }
2687
2652
  },
2688
2653
  {
2689
- "kind": "field",
2690
- "name": "rel",
2654
+ "name": "vertical-scaling",
2691
2655
  "type": {
2692
- "text": "string"
2656
+ "text": "AxisScalingMode"
2693
2657
  },
2694
- "privacy": "public",
2695
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2658
+ "default": "\"content\"",
2659
+ "description": "Defines how the height of the region is calculated",
2660
+ "fieldName": "verticalScaling",
2696
2661
  "inheritedFrom": {
2697
- "name": "Anchor",
2698
- "module": "src/anchor/anchor.ts"
2662
+ "name": "AnchoredRegion",
2663
+ "module": "src/anchored-region/anchored-region.ts"
2699
2664
  }
2700
2665
  },
2701
2666
  {
2702
- "kind": "field",
2703
- "name": "target",
2667
+ "name": "fixed-placement",
2704
2668
  "type": {
2705
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2669
+ "text": "boolean"
2706
2670
  },
2707
- "privacy": "public",
2708
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2671
+ "default": "false",
2672
+ "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,",
2673
+ "fieldName": "fixedPlacement",
2709
2674
  "inheritedFrom": {
2710
- "name": "Anchor",
2711
- "module": "src/anchor/anchor.ts"
2675
+ "name": "AnchoredRegion",
2676
+ "module": "src/anchored-region/anchored-region.ts"
2712
2677
  }
2713
2678
  },
2714
2679
  {
2715
- "kind": "field",
2716
- "name": "type",
2680
+ "name": "auto-update-mode",
2717
2681
  "type": {
2718
- "text": "string"
2682
+ "text": "AutoUpdateMode"
2719
2683
  },
2720
- "privacy": "public",
2721
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2684
+ "default": "\"anchor\"",
2685
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2686
+ "fieldName": "autoUpdateMode",
2722
2687
  "inheritedFrom": {
2723
- "name": "Anchor",
2724
- "module": "src/anchor/anchor.ts"
2688
+ "name": "AnchoredRegion",
2689
+ "module": "src/anchored-region/anchored-region.ts"
2725
2690
  }
2726
- },
2691
+ }
2692
+ ],
2693
+ "members": [
2727
2694
  {
2728
2695
  "kind": "field",
2729
- "name": "control",
2696
+ "name": "anchor",
2730
2697
  "type": {
2731
- "text": "HTMLAnchorElement | undefined"
2698
+ "text": "string"
2732
2699
  },
2733
2700
  "privacy": "public",
2734
- "description": "References the root element",
2701
+ "default": "\"\"",
2702
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2735
2703
  "inheritedFrom": {
2736
- "name": "Anchor",
2737
- "module": "src/anchor/anchor.ts"
2704
+ "name": "AnchoredRegion",
2705
+ "module": "src/anchored-region/anchored-region.ts"
2738
2706
  }
2739
2707
  },
2740
2708
  {
2741
- "kind": "field",
2742
- "name": "handleUnsupportedDelegatesFocus",
2709
+ "kind": "method",
2710
+ "name": "anchorChanged",
2743
2711
  "privacy": "private",
2744
- "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",
2712
+ "return": {
2713
+ "type": {
2714
+ "text": "void"
2715
+ }
2716
+ },
2745
2717
  "inheritedFrom": {
2746
- "name": "Anchor",
2747
- "module": "src/anchor/anchor.ts"
2718
+ "name": "AnchoredRegion",
2719
+ "module": "src/anchored-region/anchored-region.ts"
2748
2720
  }
2749
2721
  },
2750
2722
  {
2751
2723
  "kind": "field",
2752
- "name": "_presentation",
2724
+ "name": "viewport",
2753
2725
  "type": {
2754
- "text": "ComponentPresentation | null | undefined"
2726
+ "text": "string"
2755
2727
  },
2728
+ "privacy": "public",
2729
+ "default": "\"\"",
2730
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2731
+ "inheritedFrom": {
2732
+ "name": "AnchoredRegion",
2733
+ "module": "src/anchored-region/anchored-region.ts"
2734
+ }
2735
+ },
2736
+ {
2737
+ "kind": "method",
2738
+ "name": "viewportChanged",
2756
2739
  "privacy": "private",
2757
- "default": "void 0",
2740
+ "return": {
2741
+ "type": {
2742
+ "text": "void"
2743
+ }
2744
+ },
2758
2745
  "inheritedFrom": {
2759
- "name": "FoundationElement",
2760
- "module": "src/foundation-element/foundation-element.ts"
2746
+ "name": "AnchoredRegion",
2747
+ "module": "src/anchored-region/anchored-region.ts"
2761
2748
  }
2762
2749
  },
2763
2750
  {
2764
2751
  "kind": "field",
2765
- "name": "$presentation",
2752
+ "name": "horizontalPositioningMode",
2766
2753
  "type": {
2767
- "text": "ComponentPresentation | null"
2754
+ "text": "AxisPositioningMode"
2768
2755
  },
2769
2756
  "privacy": "public",
2770
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2757
+ "default": "\"uncontrolled\"",
2758
+ "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",
2771
2759
  "inheritedFrom": {
2772
- "name": "FoundationElement",
2773
- "module": "src/foundation-element/foundation-element.ts"
2760
+ "name": "AnchoredRegion",
2761
+ "module": "src/anchored-region/anchored-region.ts"
2762
+ }
2763
+ },
2764
+ {
2765
+ "kind": "method",
2766
+ "name": "horizontalPositioningModeChanged",
2767
+ "privacy": "private",
2768
+ "return": {
2769
+ "type": {
2770
+ "text": "void"
2771
+ }
2772
+ },
2773
+ "inheritedFrom": {
2774
+ "name": "AnchoredRegion",
2775
+ "module": "src/anchored-region/anchored-region.ts"
2774
2776
  }
2775
2777
  },
2776
2778
  {
2777
2779
  "kind": "field",
2778
- "name": "template",
2780
+ "name": "horizontalDefaultPosition",
2779
2781
  "type": {
2780
- "text": "ElementViewTemplate | void | null"
2782
+ "text": "HorizontalPosition"
2781
2783
  },
2782
2784
  "privacy": "public",
2783
- "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.",
2785
+ "default": "\"unset\"",
2786
+ "description": "The default horizontal position of the region relative to the anchor element",
2784
2787
  "inheritedFrom": {
2785
- "name": "FoundationElement",
2786
- "module": "src/foundation-element/foundation-element.ts"
2788
+ "name": "AnchoredRegion",
2789
+ "module": "src/anchored-region/anchored-region.ts"
2787
2790
  }
2788
2791
  },
2789
2792
  {
2790
2793
  "kind": "method",
2791
- "name": "templateChanged",
2792
- "privacy": "protected",
2794
+ "name": "horizontalDefaultPositionChanged",
2795
+ "privacy": "private",
2793
2796
  "return": {
2794
2797
  "type": {
2795
2798
  "text": "void"
2796
2799
  }
2797
2800
  },
2798
2801
  "inheritedFrom": {
2799
- "name": "FoundationElement",
2800
- "module": "src/foundation-element/foundation-element.ts"
2802
+ "name": "AnchoredRegion",
2803
+ "module": "src/anchored-region/anchored-region.ts"
2801
2804
  }
2802
2805
  },
2803
2806
  {
2804
2807
  "kind": "field",
2805
- "name": "styles",
2808
+ "name": "horizontalViewportLock",
2806
2809
  "type": {
2807
- "text": "ElementStyles | void | null"
2810
+ "text": "boolean"
2808
2811
  },
2809
2812
  "privacy": "public",
2810
- "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.",
2813
+ "default": "false",
2814
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2811
2815
  "inheritedFrom": {
2812
- "name": "FoundationElement",
2813
- "module": "src/foundation-element/foundation-element.ts"
2816
+ "name": "AnchoredRegion",
2817
+ "module": "src/anchored-region/anchored-region.ts"
2814
2818
  }
2815
2819
  },
2816
2820
  {
2817
2821
  "kind": "method",
2818
- "name": "stylesChanged",
2819
- "privacy": "protected",
2822
+ "name": "horizontalViewportLockChanged",
2823
+ "privacy": "private",
2820
2824
  "return": {
2821
2825
  "type": {
2822
2826
  "text": "void"
2823
2827
  }
2824
2828
  },
2825
2829
  "inheritedFrom": {
2826
- "name": "FoundationElement",
2827
- "module": "src/foundation-element/foundation-element.ts"
2830
+ "name": "AnchoredRegion",
2831
+ "module": "src/anchored-region/anchored-region.ts"
2828
2832
  }
2829
2833
  },
2830
2834
  {
2831
- "kind": "method",
2832
- "name": "compose",
2835
+ "kind": "field",
2836
+ "name": "horizontalInset",
2837
+ "type": {
2838
+ "text": "boolean"
2839
+ },
2833
2840
  "privacy": "public",
2834
- "static": true,
2841
+ "default": "false",
2842
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2843
+ "inheritedFrom": {
2844
+ "name": "AnchoredRegion",
2845
+ "module": "src/anchored-region/anchored-region.ts"
2846
+ }
2847
+ },
2848
+ {
2849
+ "kind": "method",
2850
+ "name": "horizontalInsetChanged",
2851
+ "privacy": "private",
2835
2852
  "return": {
2836
2853
  "type": {
2837
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2854
+ "text": "void"
2838
2855
  }
2839
2856
  },
2840
- "parameters": [
2841
- {
2842
- "name": "this",
2843
- "type": {
2844
- "text": "K"
2845
- }
2846
- },
2847
- {
2848
- "name": "elementDefinition",
2849
- "type": {
2850
- "text": "T"
2851
- },
2852
- "description": "The definition of the element to create the registry\nfunction for."
2853
- }
2854
- ],
2855
- "description": "Defines an element registry function with a set of element definition defaults.",
2856
2857
  "inheritedFrom": {
2857
- "name": "FoundationElement",
2858
- "module": "src/foundation-element/foundation-element.ts"
2858
+ "name": "AnchoredRegion",
2859
+ "module": "src/anchored-region/anchored-region.ts"
2859
2860
  }
2860
- }
2861
- ]
2862
- },
2863
- {
2864
- "kind": "variable",
2865
- "name": "foundationAnchorShadowOptions",
2866
- "type": {
2867
- "text": "ShadowRootInit"
2868
- },
2869
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2870
- },
2871
- {
2872
- "kind": "variable",
2873
- "name": "defaultAnchorConfig",
2874
- "type": {
2875
- "text": "object"
2876
- },
2877
- "default": "{}"
2878
- },
2879
- {
2880
- "kind": "variable",
2881
- "name": "foundationAnchor",
2882
- "description": "The Foundation Anchor",
2883
- "privacy": "public"
2884
- }
2885
- ],
2886
- "exports": [
2887
- {
2888
- "kind": "js",
2889
- "name": "Anchor",
2890
- "declaration": {
2891
- "name": "Anchor",
2892
- "module": "src/anchor/anchor.ts"
2893
- }
2894
- },
2895
- {
2896
- "kind": "js",
2897
- "name": "foundationAnchorShadowOptions",
2898
- "declaration": {
2899
- "name": "foundationAnchorShadowOptions",
2900
- "module": "src/anchor/anchor.ts"
2901
- }
2902
- },
2903
- {
2904
- "kind": "js",
2905
- "name": "defaultAnchorConfig",
2906
- "declaration": {
2907
- "name": "defaultAnchorConfig",
2908
- "module": "src/anchor/anchor.ts"
2909
- }
2910
- },
2911
- {
2912
- "kind": "js",
2913
- "name": "foundationAnchor",
2914
- "declaration": {
2915
- "name": "foundationAnchor",
2916
- "module": "src/anchor/anchor.ts"
2917
- }
2918
- }
2919
- ]
2920
- },
2921
- {
2922
- "kind": "javascript-module",
2923
- "path": "src/anchor/index.ts",
2924
- "declarations": [],
2925
- "exports": [
2926
- {
2927
- "kind": "js",
2928
- "name": "*",
2929
- "declaration": {
2930
- "name": "*",
2931
- "package": "./anchor.template"
2932
- }
2933
- },
2934
- {
2935
- "kind": "js",
2936
- "name": "*",
2937
- "declaration": {
2938
- "name": "*",
2939
- "package": "./anchor.styles"
2940
- }
2941
- },
2942
- {
2943
- "kind": "js",
2944
- "name": "*",
2945
- "declaration": {
2946
- "name": "*",
2947
- "package": "./anchor"
2948
- }
2949
- }
2950
- ]
2951
- },
2952
- {
2953
- "kind": "javascript-module",
2954
- "path": "src/anchored-region/anchor-region.template.ts",
2955
- "declarations": [
2956
- {
2957
- "kind": "function",
2958
- "name": "foundationAnchoredRegionTemplate",
2959
- "return": {
2960
- "type": {
2961
- "text": "ViewTemplate<AnchoredRegion>"
2962
- }
2963
- },
2964
- "parameters": [
2861
+ },
2965
2862
  {
2966
- "name": "context",
2863
+ "kind": "field",
2864
+ "name": "horizontalThreshold",
2967
2865
  "type": {
2968
- "text": "ElementDefinitionContext"
2866
+ "text": "number"
2867
+ },
2868
+ "privacy": "public",
2869
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2870
+ "inheritedFrom": {
2871
+ "name": "AnchoredRegion",
2872
+ "module": "src/anchored-region/anchored-region.ts"
2969
2873
  }
2970
2874
  },
2971
2875
  {
2972
- "name": "definition",
2973
- "type": {
2974
- "text": "FoundationElementDefinition"
2975
- }
2976
- }
2977
- ]
2978
- }
2979
- ],
2980
- "exports": [
2981
- {
2982
- "kind": "js",
2983
- "name": "foundationAnchoredRegionTemplate",
2984
- "declaration": {
2985
- "name": "foundationAnchoredRegionTemplate",
2986
- "module": "src/anchored-region/anchor-region.template.ts"
2987
- }
2988
- }
2989
- ]
2990
- },
2991
- {
2992
- "kind": "javascript-module",
2993
- "path": "src/anchored-region/anchored-region.styles.ts",
2994
- "declarations": [
2995
- {
2996
- "kind": "function",
2997
- "name": "foundationAnchoredRegionStyles",
2998
- "return": {
2999
- "type": {
3000
- "text": "ElementStyles"
3001
- }
3002
- },
3003
- "parameters": [
3004
- {
3005
- "name": "context",
3006
- "type": {
3007
- "text": "ElementDefinitionContext"
2876
+ "kind": "method",
2877
+ "name": "horizontalThresholdChanged",
2878
+ "privacy": "private",
2879
+ "return": {
2880
+ "type": {
2881
+ "text": "void"
2882
+ }
2883
+ },
2884
+ "inheritedFrom": {
2885
+ "name": "AnchoredRegion",
2886
+ "module": "src/anchored-region/anchored-region.ts"
3008
2887
  }
3009
2888
  },
3010
2889
  {
3011
- "name": "definition",
3012
- "type": {
3013
- "text": "FoundationElementDefinition"
3014
- }
3015
- }
3016
- ]
3017
- }
3018
- ],
3019
- "exports": [
3020
- {
3021
- "kind": "js",
3022
- "name": "foundationAnchoredRegionStyles",
3023
- "declaration": {
3024
- "name": "foundationAnchoredRegionStyles",
3025
- "module": "src/anchored-region/anchored-region.styles.ts"
3026
- }
3027
- }
3028
- ]
3029
- },
3030
- {
3031
- "kind": "javascript-module",
3032
- "path": "src/anchored-region/anchored-region.ts",
3033
- "declarations": [
3034
- {
3035
- "kind": "class",
3036
- "description": "",
3037
- "name": "AnchoredRegion",
3038
- "superclass": {
3039
- "name": "FASTAnchoredRegion",
3040
- "package": "@microsoft/fast-components"
3041
- },
3042
- "tagName": "%%prefix%%-anchored-region",
3043
- "customElement": true,
3044
- "attributes": [
3045
- {
3046
- "name": "anchor",
2890
+ "kind": "field",
2891
+ "name": "horizontalScaling",
3047
2892
  "type": {
3048
- "text": "string"
2893
+ "text": "AxisScalingMode"
3049
2894
  },
3050
- "default": "\"\"",
3051
- "description": "The HTML ID of the anchor element this region is positioned relative to",
3052
- "fieldName": "anchor",
2895
+ "privacy": "public",
2896
+ "default": "\"content\"",
2897
+ "description": "Defines how the width of the region is calculated",
3053
2898
  "inheritedFrom": {
3054
2899
  "name": "AnchoredRegion",
3055
2900
  "module": "src/anchored-region/anchored-region.ts"
3056
2901
  }
3057
2902
  },
3058
2903
  {
3059
- "name": "viewport",
3060
- "type": {
3061
- "text": "string"
2904
+ "kind": "method",
2905
+ "name": "horizontalScalingChanged",
2906
+ "privacy": "private",
2907
+ "return": {
2908
+ "type": {
2909
+ "text": "void"
2910
+ }
3062
2911
  },
3063
- "default": "\"\"",
3064
- "description": "The HTML ID of the viewport element this region is positioned relative to",
3065
- "fieldName": "viewport",
3066
2912
  "inheritedFrom": {
3067
2913
  "name": "AnchoredRegion",
3068
2914
  "module": "src/anchored-region/anchored-region.ts"
3069
2915
  }
3070
2916
  },
3071
2917
  {
3072
- "name": "horizontal-positioning-mode",
2918
+ "kind": "field",
2919
+ "name": "verticalPositioningMode",
3073
2920
  "type": {
3074
2921
  "text": "AxisPositioningMode"
3075
2922
  },
2923
+ "privacy": "public",
3076
2924
  "default": "\"uncontrolled\"",
3077
- "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",
3078
- "fieldName": "horizontalPositioningMode",
2925
+ "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",
3079
2926
  "inheritedFrom": {
3080
2927
  "name": "AnchoredRegion",
3081
2928
  "module": "src/anchored-region/anchored-region.ts"
3082
2929
  }
3083
2930
  },
3084
2931
  {
3085
- "name": "horizontal-default-position",
3086
- "type": {
3087
- "text": "HorizontalPosition"
2932
+ "kind": "method",
2933
+ "name": "verticalPositioningModeChanged",
2934
+ "privacy": "private",
2935
+ "return": {
2936
+ "type": {
2937
+ "text": "void"
2938
+ }
3088
2939
  },
3089
- "default": "\"unset\"",
3090
- "description": "The default horizontal position of the region relative to the anchor element",
3091
- "fieldName": "horizontalDefaultPosition",
3092
2940
  "inheritedFrom": {
3093
2941
  "name": "AnchoredRegion",
3094
2942
  "module": "src/anchored-region/anchored-region.ts"
3095
2943
  }
3096
2944
  },
3097
2945
  {
3098
- "name": "horizontal-viewport-lock",
2946
+ "kind": "field",
2947
+ "name": "verticalDefaultPosition",
3099
2948
  "type": {
3100
- "text": "boolean"
2949
+ "text": "VerticalPosition"
3101
2950
  },
3102
- "default": "false",
3103
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3104
- "fieldName": "horizontalViewportLock",
2951
+ "privacy": "public",
2952
+ "default": "\"unset\"",
2953
+ "description": "The default vertical position of the region relative to the anchor element",
3105
2954
  "inheritedFrom": {
3106
2955
  "name": "AnchoredRegion",
3107
2956
  "module": "src/anchored-region/anchored-region.ts"
3108
2957
  }
3109
2958
  },
3110
2959
  {
3111
- "name": "horizontal-inset",
3112
- "type": {
3113
- "text": "boolean"
2960
+ "kind": "method",
2961
+ "name": "verticalDefaultPositionChanged",
2962
+ "privacy": "private",
2963
+ "return": {
2964
+ "type": {
2965
+ "text": "void"
2966
+ }
3114
2967
  },
3115
- "default": "false",
3116
- "description": "Whether the region overlaps the anchor on the horizontal axis",
3117
- "fieldName": "horizontalInset",
3118
2968
  "inheritedFrom": {
3119
2969
  "name": "AnchoredRegion",
3120
2970
  "module": "src/anchored-region/anchored-region.ts"
3121
2971
  }
3122
2972
  },
3123
2973
  {
3124
- "name": "horizontal-threshold",
2974
+ "kind": "field",
2975
+ "name": "verticalViewportLock",
3125
2976
  "type": {
3126
- "text": "number"
2977
+ "text": "boolean"
3127
2978
  },
3128
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3129
- "fieldName": "horizontalThreshold",
2979
+ "privacy": "public",
2980
+ "default": "false",
2981
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3130
2982
  "inheritedFrom": {
3131
2983
  "name": "AnchoredRegion",
3132
2984
  "module": "src/anchored-region/anchored-region.ts"
3133
2985
  }
3134
2986
  },
3135
2987
  {
3136
- "name": "horizontal-scaling",
3137
- "type": {
3138
- "text": "AxisScalingMode"
2988
+ "kind": "method",
2989
+ "name": "verticalViewportLockChanged",
2990
+ "privacy": "private",
2991
+ "return": {
2992
+ "type": {
2993
+ "text": "void"
2994
+ }
3139
2995
  },
3140
- "default": "\"content\"",
3141
- "description": "Defines how the width of the region is calculated",
3142
- "fieldName": "horizontalScaling",
3143
2996
  "inheritedFrom": {
3144
2997
  "name": "AnchoredRegion",
3145
2998
  "module": "src/anchored-region/anchored-region.ts"
3146
2999
  }
3147
3000
  },
3148
3001
  {
3149
- "name": "vertical-positioning-mode",
3002
+ "kind": "field",
3003
+ "name": "verticalInset",
3150
3004
  "type": {
3151
- "text": "AxisPositioningMode"
3005
+ "text": "boolean"
3152
3006
  },
3153
- "default": "\"uncontrolled\"",
3154
- "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
3155
- "fieldName": "verticalPositioningMode",
3007
+ "privacy": "public",
3008
+ "default": "false",
3009
+ "description": "Whether the region overlaps the anchor on the vertical axis",
3156
3010
  "inheritedFrom": {
3157
3011
  "name": "AnchoredRegion",
3158
3012
  "module": "src/anchored-region/anchored-region.ts"
3159
3013
  }
3160
3014
  },
3161
3015
  {
3162
- "name": "vertical-default-position",
3163
- "type": {
3164
- "text": "VerticalPosition"
3016
+ "kind": "method",
3017
+ "name": "verticalInsetChanged",
3018
+ "privacy": "private",
3019
+ "return": {
3020
+ "type": {
3021
+ "text": "void"
3022
+ }
3165
3023
  },
3166
- "default": "\"unset\"",
3167
- "description": "The default vertical position of the region relative to the anchor element",
3168
- "fieldName": "verticalDefaultPosition",
3169
3024
  "inheritedFrom": {
3170
3025
  "name": "AnchoredRegion",
3171
3026
  "module": "src/anchored-region/anchored-region.ts"
3172
3027
  }
3173
3028
  },
3174
3029
  {
3175
- "name": "vertical-viewport-lock",
3030
+ "kind": "field",
3031
+ "name": "verticalThreshold",
3176
3032
  "type": {
3177
- "text": "boolean"
3033
+ "text": "number"
3178
3034
  },
3179
- "default": "false",
3180
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3181
- "fieldName": "verticalViewportLock",
3035
+ "privacy": "public",
3036
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3182
3037
  "inheritedFrom": {
3183
3038
  "name": "AnchoredRegion",
3184
3039
  "module": "src/anchored-region/anchored-region.ts"
3185
3040
  }
3186
3041
  },
3187
3042
  {
3188
- "name": "vertical-inset",
3189
- "type": {
3190
- "text": "boolean"
3043
+ "kind": "method",
3044
+ "name": "verticalThresholdChanged",
3045
+ "privacy": "private",
3046
+ "return": {
3047
+ "type": {
3048
+ "text": "void"
3049
+ }
3191
3050
  },
3192
- "default": "false",
3193
- "description": "Whether the region overlaps the anchor on the vertical axis",
3194
- "fieldName": "verticalInset",
3195
3051
  "inheritedFrom": {
3196
3052
  "name": "AnchoredRegion",
3197
3053
  "module": "src/anchored-region/anchored-region.ts"
3198
3054
  }
3199
3055
  },
3200
3056
  {
3201
- "name": "vertical-threshold",
3057
+ "kind": "field",
3058
+ "name": "verticalScaling",
3202
3059
  "type": {
3203
- "text": "number"
3060
+ "text": "AxisScalingMode"
3204
3061
  },
3205
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3206
- "fieldName": "verticalThreshold",
3062
+ "privacy": "public",
3063
+ "default": "\"content\"",
3064
+ "description": "Defines how the height of the region is calculated",
3207
3065
  "inheritedFrom": {
3208
3066
  "name": "AnchoredRegion",
3209
3067
  "module": "src/anchored-region/anchored-region.ts"
3210
3068
  }
3211
3069
  },
3212
3070
  {
3213
- "name": "vertical-scaling",
3214
- "type": {
3215
- "text": "AxisScalingMode"
3071
+ "kind": "method",
3072
+ "name": "verticalScalingChanged",
3073
+ "privacy": "private",
3074
+ "return": {
3075
+ "type": {
3076
+ "text": "void"
3077
+ }
3216
3078
  },
3217
- "default": "\"content\"",
3218
- "description": "Defines how the height of the region is calculated",
3219
- "fieldName": "verticalScaling",
3220
3079
  "inheritedFrom": {
3221
3080
  "name": "AnchoredRegion",
3222
3081
  "module": "src/anchored-region/anchored-region.ts"
3223
3082
  }
3224
3083
  },
3225
3084
  {
3226
- "name": "fixed-placement",
3085
+ "kind": "field",
3086
+ "name": "fixedPlacement",
3227
3087
  "type": {
3228
3088
  "text": "boolean"
3229
3089
  },
3090
+ "privacy": "public",
3230
3091
  "default": "false",
3231
3092
  "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,",
3232
- "fieldName": "fixedPlacement",
3233
3093
  "inheritedFrom": {
3234
3094
  "name": "AnchoredRegion",
3235
3095
  "module": "src/anchored-region/anchored-region.ts"
3236
3096
  }
3237
3097
  },
3238
3098
  {
3239
- "name": "auto-update-mode",
3099
+ "kind": "method",
3100
+ "name": "fixedPlacementChanged",
3101
+ "privacy": "private",
3102
+ "return": {
3103
+ "type": {
3104
+ "text": "void"
3105
+ }
3106
+ },
3107
+ "inheritedFrom": {
3108
+ "name": "AnchoredRegion",
3109
+ "module": "src/anchored-region/anchored-region.ts"
3110
+ }
3111
+ },
3112
+ {
3113
+ "kind": "field",
3114
+ "name": "autoUpdateMode",
3240
3115
  "type": {
3241
3116
  "text": "AutoUpdateMode"
3242
3117
  },
3118
+ "privacy": "public",
3243
3119
  "default": "\"anchor\"",
3244
3120
  "description": "Defines what triggers the anchored region to revaluate positioning",
3245
- "fieldName": "autoUpdateMode",
3246
- "inheritedFrom": {
3247
- "name": "AnchoredRegion",
3248
- "module": "src/anchored-region/anchored-region.ts"
3249
- }
3250
- }
3251
- ],
3252
- "members": [
3253
- {
3254
- "kind": "field",
3255
- "name": "anchor",
3256
- "type": {
3257
- "text": "string"
3258
- },
3259
- "privacy": "public",
3260
- "default": "\"\"",
3261
- "description": "The HTML ID of the anchor element this region is positioned relative to",
3262
3121
  "inheritedFrom": {
3263
3122
  "name": "AnchoredRegion",
3264
3123
  "module": "src/anchored-region/anchored-region.ts"
@@ -3266,13 +3125,27 @@
3266
3125
  },
3267
3126
  {
3268
3127
  "kind": "method",
3269
- "name": "anchorChanged",
3128
+ "name": "autoUpdateModeChanged",
3270
3129
  "privacy": "private",
3271
3130
  "return": {
3272
3131
  "type": {
3273
3132
  "text": "void"
3274
3133
  }
3275
3134
  },
3135
+ "parameters": [
3136
+ {
3137
+ "name": "prevMode",
3138
+ "type": {
3139
+ "text": "AutoUpdateMode"
3140
+ }
3141
+ },
3142
+ {
3143
+ "name": "newMode",
3144
+ "type": {
3145
+ "text": "AutoUpdateMode"
3146
+ }
3147
+ }
3148
+ ],
3276
3149
  "inheritedFrom": {
3277
3150
  "name": "AnchoredRegion",
3278
3151
  "module": "src/anchored-region/anchored-region.ts"
@@ -3280,13 +3153,13 @@
3280
3153
  },
3281
3154
  {
3282
3155
  "kind": "field",
3283
- "name": "viewport",
3156
+ "name": "anchorElement",
3284
3157
  "type": {
3285
- "text": "string"
3158
+ "text": "HTMLElement | null"
3286
3159
  },
3287
3160
  "privacy": "public",
3288
- "default": "\"\"",
3289
- "description": "The HTML ID of the viewport element this region is positioned relative to",
3161
+ "default": "null",
3162
+ "description": "The HTML element being used as the anchor",
3290
3163
  "inheritedFrom": {
3291
3164
  "name": "AnchoredRegion",
3292
3165
  "module": "src/anchored-region/anchored-region.ts"
@@ -3294,7 +3167,7 @@
3294
3167
  },
3295
3168
  {
3296
3169
  "kind": "method",
3297
- "name": "viewportChanged",
3170
+ "name": "anchorElementChanged",
3298
3171
  "privacy": "private",
3299
3172
  "return": {
3300
3173
  "type": {
@@ -3308,13 +3181,13 @@
3308
3181
  },
3309
3182
  {
3310
3183
  "kind": "field",
3311
- "name": "horizontalPositioningMode",
3184
+ "name": "viewportElement",
3312
3185
  "type": {
3313
- "text": "AxisPositioningMode"
3186
+ "text": "HTMLElement | null"
3314
3187
  },
3315
3188
  "privacy": "public",
3316
- "default": "\"uncontrolled\"",
3317
- "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",
3189
+ "default": "null",
3190
+ "description": "The HTML element being used as the viewport",
3318
3191
  "inheritedFrom": {
3319
3192
  "name": "AnchoredRegion",
3320
3193
  "module": "src/anchored-region/anchored-region.ts"
@@ -3322,7 +3195,7 @@
3322
3195
  },
3323
3196
  {
3324
3197
  "kind": "method",
3325
- "name": "horizontalPositioningModeChanged",
3198
+ "name": "viewportElementChanged",
3326
3199
  "privacy": "private",
3327
3200
  "return": {
3328
3201
  "type": {
@@ -3336,27 +3209,25 @@
3336
3209
  },
3337
3210
  {
3338
3211
  "kind": "field",
3339
- "name": "horizontalDefaultPosition",
3212
+ "name": "verticalPosition",
3340
3213
  "type": {
3341
- "text": "HorizontalPosition"
3214
+ "text": "AnchoredRegionPositionLabel | undefined"
3342
3215
  },
3343
3216
  "privacy": "public",
3344
- "default": "\"unset\"",
3345
- "description": "The default horizontal position of the region relative to the anchor element",
3217
+ "description": "indicates the current horizontal position of the region",
3346
3218
  "inheritedFrom": {
3347
3219
  "name": "AnchoredRegion",
3348
3220
  "module": "src/anchored-region/anchored-region.ts"
3349
3221
  }
3350
3222
  },
3351
3223
  {
3352
- "kind": "method",
3353
- "name": "horizontalDefaultPositionChanged",
3354
- "privacy": "private",
3355
- "return": {
3356
- "type": {
3357
- "text": "void"
3358
- }
3224
+ "kind": "field",
3225
+ "name": "horizontalPosition",
3226
+ "type": {
3227
+ "text": "AnchoredRegionPositionLabel | undefined"
3359
3228
  },
3229
+ "privacy": "public",
3230
+ "description": "indicates the current vertical position of the region",
3360
3231
  "inheritedFrom": {
3361
3232
  "name": "AnchoredRegion",
3362
3233
  "module": "src/anchored-region/anchored-region.ts"
@@ -3364,27 +3235,24 @@
3364
3235
  },
3365
3236
  {
3366
3237
  "kind": "field",
3367
- "name": "horizontalViewportLock",
3238
+ "name": "translateX",
3368
3239
  "type": {
3369
- "text": "boolean"
3240
+ "text": "number"
3370
3241
  },
3371
- "privacy": "public",
3372
- "default": "false",
3373
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3242
+ "privacy": "private",
3243
+ "description": "values to be applied to the component's transform on render",
3374
3244
  "inheritedFrom": {
3375
3245
  "name": "AnchoredRegion",
3376
3246
  "module": "src/anchored-region/anchored-region.ts"
3377
3247
  }
3378
3248
  },
3379
3249
  {
3380
- "kind": "method",
3381
- "name": "horizontalViewportLockChanged",
3382
- "privacy": "private",
3383
- "return": {
3384
- "type": {
3385
- "text": "void"
3386
- }
3250
+ "kind": "field",
3251
+ "name": "translateY",
3252
+ "type": {
3253
+ "text": "number"
3387
3254
  },
3255
+ "privacy": "private",
3388
3256
  "inheritedFrom": {
3389
3257
  "name": "AnchoredRegion",
3390
3258
  "module": "src/anchored-region/anchored-region.ts"
@@ -3392,27 +3260,24 @@
3392
3260
  },
3393
3261
  {
3394
3262
  "kind": "field",
3395
- "name": "horizontalInset",
3263
+ "name": "regionWidth",
3396
3264
  "type": {
3397
- "text": "boolean"
3265
+ "text": "string"
3398
3266
  },
3399
- "privacy": "public",
3400
- "default": "false",
3401
- "description": "Whether the region overlaps the anchor on the horizontal axis",
3267
+ "privacy": "private",
3268
+ "description": "the span to be applied to the region on each axis",
3402
3269
  "inheritedFrom": {
3403
3270
  "name": "AnchoredRegion",
3404
3271
  "module": "src/anchored-region/anchored-region.ts"
3405
3272
  }
3406
3273
  },
3407
3274
  {
3408
- "kind": "method",
3409
- "name": "horizontalInsetChanged",
3410
- "privacy": "private",
3411
- "return": {
3412
- "type": {
3413
- "text": "void"
3414
- }
3275
+ "kind": "field",
3276
+ "name": "regionHeight",
3277
+ "type": {
3278
+ "text": "string"
3415
3279
  },
3280
+ "privacy": "private",
3416
3281
  "inheritedFrom": {
3417
3282
  "name": "AnchoredRegion",
3418
3283
  "module": "src/anchored-region/anchored-region.ts"
@@ -3420,26 +3285,24 @@
3420
3285
  },
3421
3286
  {
3422
3287
  "kind": "field",
3423
- "name": "horizontalThreshold",
3288
+ "name": "resizeDetector",
3424
3289
  "type": {
3425
- "text": "number"
3290
+ "text": "ResizeObserverClassDefinition | null"
3426
3291
  },
3427
- "privacy": "public",
3428
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3292
+ "privacy": "private",
3293
+ "default": "null",
3429
3294
  "inheritedFrom": {
3430
3295
  "name": "AnchoredRegion",
3431
3296
  "module": "src/anchored-region/anchored-region.ts"
3432
3297
  }
3433
3298
  },
3434
3299
  {
3435
- "kind": "method",
3436
- "name": "horizontalThresholdChanged",
3437
- "privacy": "private",
3438
- "return": {
3439
- "type": {
3440
- "text": "void"
3441
- }
3300
+ "kind": "field",
3301
+ "name": "viewportRect",
3302
+ "type": {
3303
+ "text": "ClientRect | DOMRect | undefined"
3442
3304
  },
3305
+ "privacy": "private",
3443
3306
  "inheritedFrom": {
3444
3307
  "name": "AnchoredRegion",
3445
3308
  "module": "src/anchored-region/anchored-region.ts"
@@ -3447,27 +3310,23 @@
3447
3310
  },
3448
3311
  {
3449
3312
  "kind": "field",
3450
- "name": "horizontalScaling",
3313
+ "name": "anchorRect",
3451
3314
  "type": {
3452
- "text": "AxisScalingMode"
3315
+ "text": "ClientRect | DOMRect | undefined"
3453
3316
  },
3454
- "privacy": "public",
3455
- "default": "\"content\"",
3456
- "description": "Defines how the width of the region is calculated",
3317
+ "privacy": "private",
3457
3318
  "inheritedFrom": {
3458
3319
  "name": "AnchoredRegion",
3459
3320
  "module": "src/anchored-region/anchored-region.ts"
3460
3321
  }
3461
3322
  },
3462
3323
  {
3463
- "kind": "method",
3464
- "name": "horizontalScalingChanged",
3465
- "privacy": "private",
3466
- "return": {
3467
- "type": {
3468
- "text": "void"
3469
- }
3324
+ "kind": "field",
3325
+ "name": "regionRect",
3326
+ "type": {
3327
+ "text": "ClientRect | DOMRect | undefined"
3470
3328
  },
3329
+ "privacy": "private",
3471
3330
  "inheritedFrom": {
3472
3331
  "name": "AnchoredRegion",
3473
3332
  "module": "src/anchored-region/anchored-region.ts"
@@ -3475,27 +3334,26 @@
3475
3334
  },
3476
3335
  {
3477
3336
  "kind": "field",
3478
- "name": "verticalPositioningMode",
3337
+ "name": "baseHorizontalOffset",
3479
3338
  "type": {
3480
- "text": "AxisPositioningMode"
3339
+ "text": "number"
3481
3340
  },
3482
- "privacy": "public",
3483
- "default": "\"uncontrolled\"",
3484
- "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",
3341
+ "privacy": "private",
3342
+ "default": "0",
3343
+ "description": "base offsets between the positioner's base position and the anchor's",
3485
3344
  "inheritedFrom": {
3486
3345
  "name": "AnchoredRegion",
3487
3346
  "module": "src/anchored-region/anchored-region.ts"
3488
3347
  }
3489
3348
  },
3490
3349
  {
3491
- "kind": "method",
3492
- "name": "verticalPositioningModeChanged",
3493
- "privacy": "private",
3494
- "return": {
3495
- "type": {
3496
- "text": "void"
3497
- }
3350
+ "kind": "field",
3351
+ "name": "baseVerticalOffset",
3352
+ "type": {
3353
+ "text": "number"
3498
3354
  },
3355
+ "privacy": "private",
3356
+ "default": "0",
3499
3357
  "inheritedFrom": {
3500
3358
  "name": "AnchoredRegion",
3501
3359
  "module": "src/anchored-region/anchored-region.ts"
@@ -3503,27 +3361,25 @@
3503
3361
  },
3504
3362
  {
3505
3363
  "kind": "field",
3506
- "name": "verticalDefaultPosition",
3364
+ "name": "pendingPositioningUpdate",
3507
3365
  "type": {
3508
- "text": "VerticalPosition"
3366
+ "text": "boolean"
3509
3367
  },
3510
- "privacy": "public",
3511
- "default": "\"unset\"",
3512
- "description": "The default vertical position of the region relative to the anchor element",
3368
+ "privacy": "private",
3369
+ "default": "false",
3513
3370
  "inheritedFrom": {
3514
3371
  "name": "AnchoredRegion",
3515
3372
  "module": "src/anchored-region/anchored-region.ts"
3516
3373
  }
3517
3374
  },
3518
3375
  {
3519
- "kind": "method",
3520
- "name": "verticalDefaultPositionChanged",
3521
- "privacy": "private",
3522
- "return": {
3523
- "type": {
3524
- "text": "void"
3525
- }
3376
+ "kind": "field",
3377
+ "name": "pendingReset",
3378
+ "type": {
3379
+ "text": "boolean"
3526
3380
  },
3381
+ "privacy": "private",
3382
+ "default": "false",
3527
3383
  "inheritedFrom": {
3528
3384
  "name": "AnchoredRegion",
3529
3385
  "module": "src/anchored-region/anchored-region.ts"
@@ -3531,27 +3387,24 @@
3531
3387
  },
3532
3388
  {
3533
3389
  "kind": "field",
3534
- "name": "verticalViewportLock",
3390
+ "name": "currentDirection",
3535
3391
  "type": {
3536
- "text": "boolean"
3392
+ "text": "Direction"
3537
3393
  },
3538
- "privacy": "public",
3539
- "default": "false",
3540
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3394
+ "privacy": "private",
3541
3395
  "inheritedFrom": {
3542
3396
  "name": "AnchoredRegion",
3543
3397
  "module": "src/anchored-region/anchored-region.ts"
3544
3398
  }
3545
3399
  },
3546
3400
  {
3547
- "kind": "method",
3548
- "name": "verticalViewportLockChanged",
3549
- "privacy": "private",
3550
- "return": {
3551
- "type": {
3552
- "text": "void"
3553
- }
3401
+ "kind": "field",
3402
+ "name": "regionVisible",
3403
+ "type": {
3404
+ "text": "boolean"
3554
3405
  },
3406
+ "privacy": "private",
3407
+ "default": "false",
3555
3408
  "inheritedFrom": {
3556
3409
  "name": "AnchoredRegion",
3557
3410
  "module": "src/anchored-region/anchored-region.ts"
@@ -3559,27 +3412,25 @@
3559
3412
  },
3560
3413
  {
3561
3414
  "kind": "field",
3562
- "name": "verticalInset",
3415
+ "name": "forceUpdate",
3563
3416
  "type": {
3564
3417
  "text": "boolean"
3565
3418
  },
3566
- "privacy": "public",
3419
+ "privacy": "private",
3567
3420
  "default": "false",
3568
- "description": "Whether the region overlaps the anchor on the vertical axis",
3569
3421
  "inheritedFrom": {
3570
3422
  "name": "AnchoredRegion",
3571
3423
  "module": "src/anchored-region/anchored-region.ts"
3572
3424
  }
3573
3425
  },
3574
3426
  {
3575
- "kind": "method",
3576
- "name": "verticalInsetChanged",
3577
- "privacy": "private",
3578
- "return": {
3579
- "type": {
3580
- "text": "void"
3581
- }
3427
+ "kind": "field",
3428
+ "name": "updateThreshold",
3429
+ "type": {
3430
+ "text": "number"
3582
3431
  },
3432
+ "privacy": "private",
3433
+ "default": "0.5",
3583
3434
  "inheritedFrom": {
3584
3435
  "name": "AnchoredRegion",
3585
3436
  "module": "src/anchored-region/anchored-region.ts"
@@ -3587,12 +3438,23 @@
3587
3438
  },
3588
3439
  {
3589
3440
  "kind": "field",
3590
- "name": "verticalThreshold",
3441
+ "name": "intersectionService",
3591
3442
  "type": {
3592
- "text": "number"
3443
+ "text": "IntersectionService"
3593
3444
  },
3445
+ "privacy": "private",
3446
+ "static": true,
3447
+ "default": "new IntersectionService()",
3448
+ "inheritedFrom": {
3449
+ "name": "AnchoredRegion",
3450
+ "module": "src/anchored-region/anchored-region.ts"
3451
+ }
3452
+ },
3453
+ {
3454
+ "kind": "field",
3455
+ "name": "update",
3594
3456
  "privacy": "public",
3595
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3457
+ "description": "update position",
3596
3458
  "inheritedFrom": {
3597
3459
  "name": "AnchoredRegion",
3598
3460
  "module": "src/anchored-region/anchored-region.ts"
@@ -3600,27 +3462,14 @@
3600
3462
  },
3601
3463
  {
3602
3464
  "kind": "method",
3603
- "name": "verticalThresholdChanged",
3465
+ "name": "disconnectResizeDetector",
3604
3466
  "privacy": "private",
3605
3467
  "return": {
3606
3468
  "type": {
3607
3469
  "text": "void"
3608
3470
  }
3609
3471
  },
3610
- "inheritedFrom": {
3611
- "name": "AnchoredRegion",
3612
- "module": "src/anchored-region/anchored-region.ts"
3613
- }
3614
- },
3615
- {
3616
- "kind": "field",
3617
- "name": "verticalScaling",
3618
- "type": {
3619
- "text": "AxisScalingMode"
3620
- },
3621
- "privacy": "public",
3622
- "default": "\"content\"",
3623
- "description": "Defines how the height of the region is calculated",
3472
+ "description": "destroys the instance's resize observer",
3624
3473
  "inheritedFrom": {
3625
3474
  "name": "AnchoredRegion",
3626
3475
  "module": "src/anchored-region/anchored-region.ts"
@@ -3628,27 +3477,29 @@
3628
3477
  },
3629
3478
  {
3630
3479
  "kind": "method",
3631
- "name": "verticalScalingChanged",
3480
+ "name": "initializeResizeDetector",
3632
3481
  "privacy": "private",
3633
3482
  "return": {
3634
3483
  "type": {
3635
3484
  "text": "void"
3636
3485
  }
3637
3486
  },
3487
+ "description": "initializes the instance's resize observer",
3638
3488
  "inheritedFrom": {
3639
3489
  "name": "AnchoredRegion",
3640
3490
  "module": "src/anchored-region/anchored-region.ts"
3641
3491
  }
3642
3492
  },
3643
3493
  {
3644
- "kind": "field",
3645
- "name": "fixedPlacement",
3646
- "type": {
3647
- "text": "boolean"
3494
+ "kind": "method",
3495
+ "name": "updateForAttributeChange",
3496
+ "privacy": "private",
3497
+ "return": {
3498
+ "type": {
3499
+ "text": "void"
3500
+ }
3648
3501
  },
3649
- "privacy": "public",
3650
- "default": "false",
3651
- "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,",
3502
+ "description": "react to attribute changes that don't require a reset",
3652
3503
  "inheritedFrom": {
3653
3504
  "name": "AnchoredRegion",
3654
3505
  "module": "src/anchored-region/anchored-region.ts"
@@ -3656,27 +3507,29 @@
3656
3507
  },
3657
3508
  {
3658
3509
  "kind": "method",
3659
- "name": "fixedPlacementChanged",
3510
+ "name": "initialize",
3660
3511
  "privacy": "private",
3661
3512
  "return": {
3662
3513
  "type": {
3663
3514
  "text": "void"
3664
3515
  }
3665
3516
  },
3517
+ "description": "fully initializes the component",
3666
3518
  "inheritedFrom": {
3667
3519
  "name": "AnchoredRegion",
3668
3520
  "module": "src/anchored-region/anchored-region.ts"
3669
3521
  }
3670
3522
  },
3671
3523
  {
3672
- "kind": "field",
3673
- "name": "autoUpdateMode",
3674
- "type": {
3675
- "text": "AutoUpdateMode"
3524
+ "kind": "method",
3525
+ "name": "requestReset",
3526
+ "privacy": "private",
3527
+ "return": {
3528
+ "type": {
3529
+ "text": "void"
3530
+ }
3676
3531
  },
3677
- "privacy": "public",
3678
- "default": "\"anchor\"",
3679
- "description": "Defines what triggers the anchored region to revaluate positioning",
3532
+ "description": "Request a reset if there are currently no open requests",
3680
3533
  "inheritedFrom": {
3681
3534
  "name": "AnchoredRegion",
3682
3535
  "module": "src/anchored-region/anchored-region.ts"
@@ -3684,27 +3537,14 @@
3684
3537
  },
3685
3538
  {
3686
3539
  "kind": "method",
3687
- "name": "autoUpdateModeChanged",
3540
+ "name": "setInitialState",
3688
3541
  "privacy": "private",
3689
3542
  "return": {
3690
3543
  "type": {
3691
3544
  "text": "void"
3692
3545
  }
3693
3546
  },
3694
- "parameters": [
3695
- {
3696
- "name": "prevMode",
3697
- "type": {
3698
- "text": "AutoUpdateMode"
3699
- }
3700
- },
3701
- {
3702
- "name": "newMode",
3703
- "type": {
3704
- "text": "AutoUpdateMode"
3705
- }
3706
- }
3707
- ],
3547
+ "description": "sets the starting configuration for component internal values",
3708
3548
  "inheritedFrom": {
3709
3549
  "name": "AnchoredRegion",
3710
3550
  "module": "src/anchored-region/anchored-region.ts"
@@ -3712,27 +3552,19 @@
3712
3552
  },
3713
3553
  {
3714
3554
  "kind": "field",
3715
- "name": "anchorElement",
3716
- "type": {
3717
- "text": "HTMLElement | null"
3718
- },
3719
- "privacy": "public",
3720
- "default": "null",
3721
- "description": "The HTML element being used as the anchor",
3555
+ "name": "startObservers",
3556
+ "privacy": "private",
3557
+ "description": "starts observers",
3722
3558
  "inheritedFrom": {
3723
3559
  "name": "AnchoredRegion",
3724
3560
  "module": "src/anchored-region/anchored-region.ts"
3725
3561
  }
3726
3562
  },
3727
3563
  {
3728
- "kind": "method",
3729
- "name": "anchorElementChanged",
3564
+ "kind": "field",
3565
+ "name": "requestPositionUpdates",
3730
3566
  "privacy": "private",
3731
- "return": {
3732
- "type": {
3733
- "text": "void"
3734
- }
3735
- },
3567
+ "description": "get position updates",
3736
3568
  "inheritedFrom": {
3737
3569
  "name": "AnchoredRegion",
3738
3570
  "module": "src/anchored-region/anchored-region.ts"
@@ -3740,27 +3572,19 @@
3740
3572
  },
3741
3573
  {
3742
3574
  "kind": "field",
3743
- "name": "viewportElement",
3744
- "type": {
3745
- "text": "HTMLElement | null"
3746
- },
3747
- "privacy": "public",
3748
- "default": "null",
3749
- "description": "The HTML element being used as the viewport",
3575
+ "name": "stopObservers",
3576
+ "privacy": "private",
3577
+ "description": "stops observers",
3750
3578
  "inheritedFrom": {
3751
3579
  "name": "AnchoredRegion",
3752
3580
  "module": "src/anchored-region/anchored-region.ts"
3753
3581
  }
3754
3582
  },
3755
3583
  {
3756
- "kind": "method",
3757
- "name": "viewportElementChanged",
3584
+ "kind": "field",
3585
+ "name": "getViewport",
3758
3586
  "privacy": "private",
3759
- "return": {
3760
- "type": {
3761
- "text": "void"
3762
- }
3763
- },
3587
+ "description": "Gets the viewport element by id, or defaults to document root",
3764
3588
  "inheritedFrom": {
3765
3589
  "name": "AnchoredRegion",
3766
3590
  "module": "src/anchored-region/anchored-region.ts"
@@ -3768,12 +3592,9 @@
3768
3592
  },
3769
3593
  {
3770
3594
  "kind": "field",
3771
- "name": "verticalPosition",
3772
- "type": {
3773
- "text": "AnchoredRegionPositionLabel | undefined"
3774
- },
3775
- "privacy": "public",
3776
- "description": "indicates the current horizontal position of the region",
3595
+ "name": "getAnchor",
3596
+ "privacy": "private",
3597
+ "description": "Gets the anchor element by id",
3777
3598
  "inheritedFrom": {
3778
3599
  "name": "AnchoredRegion",
3779
3600
  "module": "src/anchored-region/anchored-region.ts"
@@ -3781,12 +3602,9 @@
3781
3602
  },
3782
3603
  {
3783
3604
  "kind": "field",
3784
- "name": "horizontalPosition",
3785
- "type": {
3786
- "text": "AnchoredRegionPositionLabel | undefined"
3787
- },
3788
- "privacy": "public",
3789
- "description": "indicates the current vertical position of the region",
3605
+ "name": "handleIntersection",
3606
+ "privacy": "private",
3607
+ "description": "Handle intersections",
3790
3608
  "inheritedFrom": {
3791
3609
  "name": "AnchoredRegion",
3792
3610
  "module": "src/anchored-region/anchored-region.ts"
@@ -3794,12 +3612,9 @@
3794
3612
  },
3795
3613
  {
3796
3614
  "kind": "field",
3797
- "name": "translateX",
3798
- "type": {
3799
- "text": "number"
3800
- },
3615
+ "name": "applyIntersectionEntries",
3801
3616
  "privacy": "private",
3802
- "description": "values to be applied to the component's transform on render",
3617
+ "description": "iterate through intersection entries and apply data",
3803
3618
  "inheritedFrom": {
3804
3619
  "name": "AnchoredRegion",
3805
3620
  "module": "src/anchored-region/anchored-region.ts"
@@ -3807,11 +3622,9 @@
3807
3622
  },
3808
3623
  {
3809
3624
  "kind": "field",
3810
- "name": "translateY",
3811
- "type": {
3812
- "text": "number"
3813
- },
3625
+ "name": "updateRegionOffset",
3814
3626
  "privacy": "private",
3627
+ "description": "Update the offset values",
3815
3628
  "inheritedFrom": {
3816
3629
  "name": "AnchoredRegion",
3817
3630
  "module": "src/anchored-region/anchored-region.ts"
@@ -3819,12 +3632,9 @@
3819
3632
  },
3820
3633
  {
3821
3634
  "kind": "field",
3822
- "name": "regionWidth",
3823
- "type": {
3824
- "text": "string"
3825
- },
3635
+ "name": "isRectDifferent",
3826
3636
  "privacy": "private",
3827
- "description": "the span to be applied to the region on each axis",
3637
+ "description": "compare rects to see if there is enough change to justify a DOM update",
3828
3638
  "inheritedFrom": {
3829
3639
  "name": "AnchoredRegion",
3830
3640
  "module": "src/anchored-region/anchored-region.ts"
@@ -3832,11 +3642,9 @@
3832
3642
  },
3833
3643
  {
3834
3644
  "kind": "field",
3835
- "name": "regionHeight",
3836
- "type": {
3837
- "text": "string"
3838
- },
3645
+ "name": "handleResize",
3839
3646
  "privacy": "private",
3647
+ "description": "Handle resize events",
3840
3648
  "inheritedFrom": {
3841
3649
  "name": "AnchoredRegion",
3842
3650
  "module": "src/anchored-region/anchored-region.ts"
@@ -3844,12 +3652,9 @@
3844
3652
  },
3845
3653
  {
3846
3654
  "kind": "field",
3847
- "name": "resizeDetector",
3848
- "type": {
3849
- "text": "ResizeObserverClassDefinition | null"
3850
- },
3655
+ "name": "reset",
3851
3656
  "privacy": "private",
3852
- "default": "null",
3657
+ "description": "resets the component",
3853
3658
  "inheritedFrom": {
3854
3659
  "name": "AnchoredRegion",
3855
3660
  "module": "src/anchored-region/anchored-region.ts"
@@ -3857,11 +3662,9 @@
3857
3662
  },
3858
3663
  {
3859
3664
  "kind": "field",
3860
- "name": "viewportRect",
3861
- "type": {
3862
- "text": "ClientRect | DOMRect | undefined"
3863
- },
3665
+ "name": "updateLayout",
3864
3666
  "privacy": "private",
3667
+ "description": "Recalculate layout related state values",
3865
3668
  "inheritedFrom": {
3866
3669
  "name": "AnchoredRegion",
3867
3670
  "module": "src/anchored-region/anchored-region.ts"
@@ -3869,11 +3672,9 @@
3869
3672
  },
3870
3673
  {
3871
3674
  "kind": "field",
3872
- "name": "anchorRect",
3873
- "type": {
3874
- "text": "ClientRect | DOMRect | undefined"
3875
- },
3675
+ "name": "updateRegionStyle",
3876
3676
  "privacy": "private",
3677
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3877
3678
  "inheritedFrom": {
3878
3679
  "name": "AnchoredRegion",
3879
3680
  "module": "src/anchored-region/anchored-region.ts"
@@ -3881,11 +3682,9 @@
3881
3682
  },
3882
3683
  {
3883
3684
  "kind": "field",
3884
- "name": "regionRect",
3885
- "type": {
3886
- "text": "ClientRect | DOMRect | undefined"
3887
- },
3685
+ "name": "updatePositionClasses",
3888
3686
  "privacy": "private",
3687
+ "description": "Updates the css classes that reflect the current position of the element",
3889
3688
  "inheritedFrom": {
3890
3689
  "name": "AnchoredRegion",
3891
3690
  "module": "src/anchored-region/anchored-region.ts"
@@ -3893,13 +3692,9 @@
3893
3692
  },
3894
3693
  {
3895
3694
  "kind": "field",
3896
- "name": "baseHorizontalOffset",
3897
- "type": {
3898
- "text": "number"
3899
- },
3695
+ "name": "setHorizontalPosition",
3900
3696
  "privacy": "private",
3901
- "default": "0",
3902
- "description": "base offsets between the positioner's base position and the anchor's",
3697
+ "description": "Get horizontal positioning state based on desired position",
3903
3698
  "inheritedFrom": {
3904
3699
  "name": "AnchoredRegion",
3905
3700
  "module": "src/anchored-region/anchored-region.ts"
@@ -3907,12 +3702,9 @@
3907
3702
  },
3908
3703
  {
3909
3704
  "kind": "field",
3910
- "name": "baseVerticalOffset",
3911
- "type": {
3912
- "text": "number"
3913
- },
3705
+ "name": "setVerticalPosition",
3914
3706
  "privacy": "private",
3915
- "default": "0",
3707
+ "description": "Set vertical positioning state based on desired position",
3916
3708
  "inheritedFrom": {
3917
3709
  "name": "AnchoredRegion",
3918
3710
  "module": "src/anchored-region/anchored-region.ts"
@@ -3920,12 +3712,9 @@
3920
3712
  },
3921
3713
  {
3922
3714
  "kind": "field",
3923
- "name": "pendingPositioningUpdate",
3924
- "type": {
3925
- "text": "boolean"
3926
- },
3715
+ "name": "getPositioningOptions",
3927
3716
  "privacy": "private",
3928
- "default": "false",
3717
+ "description": "Get available positions based on positioning mode",
3929
3718
  "inheritedFrom": {
3930
3719
  "name": "AnchoredRegion",
3931
3720
  "module": "src/anchored-region/anchored-region.ts"
@@ -3933,12 +3722,9 @@
3933
3722
  },
3934
3723
  {
3935
3724
  "kind": "field",
3936
- "name": "pendingReset",
3937
- "type": {
3938
- "text": "boolean"
3939
- },
3725
+ "name": "getAvailableSpace",
3940
3726
  "privacy": "private",
3941
- "default": "false",
3727
+ "description": "Get the space available for a particular relative position",
3942
3728
  "inheritedFrom": {
3943
3729
  "name": "AnchoredRegion",
3944
3730
  "module": "src/anchored-region/anchored-region.ts"
@@ -3946,11 +3732,9 @@
3946
3732
  },
3947
3733
  {
3948
3734
  "kind": "field",
3949
- "name": "currentDirection",
3950
- "type": {
3951
- "text": "Direction"
3952
- },
3735
+ "name": "getNextRegionDimension",
3953
3736
  "privacy": "private",
3737
+ "description": "Get region dimensions",
3954
3738
  "inheritedFrom": {
3955
3739
  "name": "AnchoredRegion",
3956
3740
  "module": "src/anchored-region/anchored-region.ts"
@@ -3958,12 +3742,9 @@
3958
3742
  },
3959
3743
  {
3960
3744
  "kind": "field",
3961
- "name": "regionVisible",
3962
- "type": {
3963
- "text": "boolean"
3964
- },
3745
+ "name": "startAutoUpdateEventListeners",
3965
3746
  "privacy": "private",
3966
- "default": "false",
3747
+ "description": "starts event listeners that can trigger auto updating",
3967
3748
  "inheritedFrom": {
3968
3749
  "name": "AnchoredRegion",
3969
3750
  "module": "src/anchored-region/anchored-region.ts"
@@ -3971,12 +3752,9 @@
3971
3752
  },
3972
3753
  {
3973
3754
  "kind": "field",
3974
- "name": "forceUpdate",
3975
- "type": {
3976
- "text": "boolean"
3977
- },
3755
+ "name": "stopAutoUpdateEventListeners",
3978
3756
  "privacy": "private",
3979
- "default": "false",
3757
+ "description": "stops event listeners that can trigger auto updating",
3980
3758
  "inheritedFrom": {
3981
3759
  "name": "AnchoredRegion",
3982
3760
  "module": "src/anchored-region/anchored-region.ts"
@@ -3984,340 +3762,541 @@
3984
3762
  },
3985
3763
  {
3986
3764
  "kind": "field",
3987
- "name": "updateThreshold",
3765
+ "name": "_presentation",
3988
3766
  "type": {
3989
- "text": "number"
3767
+ "text": "ComponentPresentation | null | undefined"
3990
3768
  },
3991
3769
  "privacy": "private",
3992
- "default": "0.5",
3770
+ "default": "void 0",
3993
3771
  "inheritedFrom": {
3994
- "name": "AnchoredRegion",
3995
- "module": "src/anchored-region/anchored-region.ts"
3772
+ "name": "FoundationElement",
3773
+ "module": "src/foundation-element/foundation-element.ts"
3996
3774
  }
3997
3775
  },
3998
3776
  {
3999
3777
  "kind": "field",
4000
- "name": "intersectionService",
3778
+ "name": "$presentation",
4001
3779
  "type": {
4002
- "text": "IntersectionService"
3780
+ "text": "ComponentPresentation | null"
4003
3781
  },
4004
- "privacy": "private",
4005
- "static": true,
4006
- "default": "new IntersectionService()",
3782
+ "privacy": "public",
3783
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4007
3784
  "inheritedFrom": {
4008
- "name": "AnchoredRegion",
4009
- "module": "src/anchored-region/anchored-region.ts"
3785
+ "name": "FoundationElement",
3786
+ "module": "src/foundation-element/foundation-element.ts"
4010
3787
  }
4011
3788
  },
4012
3789
  {
4013
3790
  "kind": "field",
4014
- "name": "update",
3791
+ "name": "template",
3792
+ "type": {
3793
+ "text": "ElementViewTemplate | void | null"
3794
+ },
4015
3795
  "privacy": "public",
4016
- "description": "update position",
3796
+ "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.",
4017
3797
  "inheritedFrom": {
4018
- "name": "AnchoredRegion",
4019
- "module": "src/anchored-region/anchored-region.ts"
3798
+ "name": "FoundationElement",
3799
+ "module": "src/foundation-element/foundation-element.ts"
4020
3800
  }
4021
3801
  },
4022
3802
  {
4023
3803
  "kind": "method",
4024
- "name": "disconnectResizeDetector",
4025
- "privacy": "private",
3804
+ "name": "templateChanged",
3805
+ "privacy": "protected",
4026
3806
  "return": {
4027
3807
  "type": {
4028
3808
  "text": "void"
4029
3809
  }
4030
3810
  },
4031
- "description": "destroys the instance's resize observer",
4032
3811
  "inheritedFrom": {
4033
- "name": "AnchoredRegion",
4034
- "module": "src/anchored-region/anchored-region.ts"
3812
+ "name": "FoundationElement",
3813
+ "module": "src/foundation-element/foundation-element.ts"
4035
3814
  }
4036
3815
  },
4037
3816
  {
4038
- "kind": "method",
4039
- "name": "initializeResizeDetector",
4040
- "privacy": "private",
4041
- "return": {
4042
- "type": {
4043
- "text": "void"
4044
- }
3817
+ "kind": "field",
3818
+ "name": "styles",
3819
+ "type": {
3820
+ "text": "ElementStyles | void | null"
4045
3821
  },
4046
- "description": "initializes the instance's resize observer",
3822
+ "privacy": "public",
3823
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
4047
3824
  "inheritedFrom": {
4048
- "name": "AnchoredRegion",
4049
- "module": "src/anchored-region/anchored-region.ts"
3825
+ "name": "FoundationElement",
3826
+ "module": "src/foundation-element/foundation-element.ts"
4050
3827
  }
4051
3828
  },
4052
3829
  {
4053
3830
  "kind": "method",
4054
- "name": "updateForAttributeChange",
4055
- "privacy": "private",
3831
+ "name": "stylesChanged",
3832
+ "privacy": "protected",
4056
3833
  "return": {
4057
3834
  "type": {
4058
3835
  "text": "void"
4059
3836
  }
4060
3837
  },
4061
- "description": "react to attribute changes that don't require a reset",
4062
3838
  "inheritedFrom": {
4063
- "name": "AnchoredRegion",
4064
- "module": "src/anchored-region/anchored-region.ts"
3839
+ "name": "FoundationElement",
3840
+ "module": "src/foundation-element/foundation-element.ts"
4065
3841
  }
4066
3842
  },
4067
3843
  {
4068
3844
  "kind": "method",
4069
- "name": "initialize",
4070
- "privacy": "private",
3845
+ "name": "compose",
3846
+ "privacy": "public",
3847
+ "static": true,
4071
3848
  "return": {
4072
3849
  "type": {
4073
- "text": "void"
3850
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4074
3851
  }
4075
3852
  },
4076
- "description": "fully initializes the component",
3853
+ "parameters": [
3854
+ {
3855
+ "name": "this",
3856
+ "type": {
3857
+ "text": "K"
3858
+ }
3859
+ },
3860
+ {
3861
+ "name": "elementDefinition",
3862
+ "type": {
3863
+ "text": "T"
3864
+ },
3865
+ "description": "The definition of the element to create the registry\nfunction for."
3866
+ }
3867
+ ],
3868
+ "description": "Defines an element registry function with a set of element definition defaults.",
4077
3869
  "inheritedFrom": {
4078
- "name": "AnchoredRegion",
4079
- "module": "src/anchored-region/anchored-region.ts"
3870
+ "name": "FoundationElement",
3871
+ "module": "src/foundation-element/foundation-element.ts"
4080
3872
  }
4081
- },
3873
+ }
3874
+ ],
3875
+ "events": [
4082
3876
  {
4083
- "kind": "method",
4084
- "name": "requestReset",
4085
- "privacy": "private",
4086
- "return": {
4087
- "type": {
4088
- "text": "void"
4089
- }
4090
- },
4091
- "description": "Request a reset if there are currently no open requests",
3877
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3878
+ "name": "loaded",
4092
3879
  "inheritedFrom": {
4093
3880
  "name": "AnchoredRegion",
4094
3881
  "module": "src/anchored-region/anchored-region.ts"
4095
3882
  }
4096
3883
  },
4097
3884
  {
4098
- "kind": "method",
4099
- "name": "setInitialState",
4100
- "privacy": "private",
4101
- "return": {
4102
- "type": {
4103
- "text": "void"
4104
- }
4105
- },
4106
- "description": "sets the starting configuration for component internal values",
3885
+ "description": "Fires a custom 'positionchange' event when the position has changed",
3886
+ "name": "positionchange",
4107
3887
  "inheritedFrom": {
4108
3888
  "name": "AnchoredRegion",
4109
3889
  "module": "src/anchored-region/anchored-region.ts"
4110
3890
  }
4111
- },
3891
+ }
3892
+ ]
3893
+ },
3894
+ {
3895
+ "kind": "variable",
3896
+ "name": "foundationAnchoredRegionShadowOptions",
3897
+ "type": {
3898
+ "text": "ShadowRootInit"
3899
+ },
3900
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3901
+ },
3902
+ {
3903
+ "kind": "variable",
3904
+ "name": "defaultAnchoredRegionConfig",
3905
+ "type": {
3906
+ "text": "object"
3907
+ },
3908
+ "default": "{}"
3909
+ },
3910
+ {
3911
+ "kind": "variable",
3912
+ "name": "foundationAnchoredRegion",
3913
+ "description": "The Foundation Anchored Region",
3914
+ "privacy": "public"
3915
+ }
3916
+ ],
3917
+ "exports": [
3918
+ {
3919
+ "kind": "js",
3920
+ "name": "AnchoredRegion",
3921
+ "declaration": {
3922
+ "name": "AnchoredRegion",
3923
+ "module": "src/anchored-region/anchored-region.ts"
3924
+ }
3925
+ },
3926
+ {
3927
+ "kind": "js",
3928
+ "name": "foundationAnchoredRegionShadowOptions",
3929
+ "declaration": {
3930
+ "name": "foundationAnchoredRegionShadowOptions",
3931
+ "module": "src/anchored-region/anchored-region.ts"
3932
+ }
3933
+ },
3934
+ {
3935
+ "kind": "js",
3936
+ "name": "defaultAnchoredRegionConfig",
3937
+ "declaration": {
3938
+ "name": "defaultAnchoredRegionConfig",
3939
+ "module": "src/anchored-region/anchored-region.ts"
3940
+ }
3941
+ },
3942
+ {
3943
+ "kind": "js",
3944
+ "name": "foundationAnchoredRegion",
3945
+ "declaration": {
3946
+ "name": "foundationAnchoredRegion",
3947
+ "module": "src/anchored-region/anchored-region.ts"
3948
+ }
3949
+ }
3950
+ ]
3951
+ },
3952
+ {
3953
+ "kind": "javascript-module",
3954
+ "path": "src/anchored-region/index.ts",
3955
+ "declarations": [],
3956
+ "exports": [
3957
+ {
3958
+ "kind": "js",
3959
+ "name": "*",
3960
+ "declaration": {
3961
+ "name": "*",
3962
+ "package": "./anchor-region.template"
3963
+ }
3964
+ },
3965
+ {
3966
+ "kind": "js",
3967
+ "name": "*",
3968
+ "declaration": {
3969
+ "name": "*",
3970
+ "package": "./anchored-region.styles"
3971
+ }
3972
+ },
3973
+ {
3974
+ "kind": "js",
3975
+ "name": "*",
3976
+ "declaration": {
3977
+ "name": "*",
3978
+ "package": "./anchored-region"
3979
+ }
3980
+ }
3981
+ ]
3982
+ },
3983
+ {
3984
+ "kind": "javascript-module",
3985
+ "path": "src/actions-menu/actions-menu.styles.ts",
3986
+ "declarations": [
3987
+ {
3988
+ "kind": "function",
3989
+ "name": "actionsMenuBaseStyles",
3990
+ "return": {
3991
+ "type": {
3992
+ "text": "ElementStyles"
3993
+ }
3994
+ },
3995
+ "parameters": [
4112
3996
  {
4113
- "kind": "field",
4114
- "name": "startObservers",
4115
- "privacy": "private",
4116
- "description": "starts observers",
4117
- "inheritedFrom": {
4118
- "name": "AnchoredRegion",
4119
- "module": "src/anchored-region/anchored-region.ts"
3997
+ "name": "context",
3998
+ "type": {
3999
+ "text": "ElementDefinitionContext"
4120
4000
  }
4121
4001
  },
4122
4002
  {
4123
- "kind": "field",
4124
- "name": "requestPositionUpdates",
4125
- "privacy": "private",
4126
- "description": "get position updates",
4127
- "inheritedFrom": {
4128
- "name": "AnchoredRegion",
4129
- "module": "src/anchored-region/anchored-region.ts"
4003
+ "name": "definition",
4004
+ "type": {
4005
+ "text": "FoundationElementDefinition"
4130
4006
  }
4131
- },
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "function",
4012
+ "name": "foundationActionsMenuStyles",
4013
+ "return": {
4014
+ "type": {
4015
+ "text": "ElementStyles"
4016
+ }
4017
+ },
4018
+ "parameters": [
4132
4019
  {
4133
- "kind": "field",
4134
- "name": "stopObservers",
4135
- "privacy": "private",
4136
- "description": "stops observers",
4137
- "inheritedFrom": {
4138
- "name": "AnchoredRegion",
4139
- "module": "src/anchored-region/anchored-region.ts"
4020
+ "name": "context",
4021
+ "type": {
4022
+ "text": "ElementDefinitionContext"
4140
4023
  }
4141
4024
  },
4025
+ {
4026
+ "name": "definition",
4027
+ "type": {
4028
+ "text": "FoundationElementDefinition"
4029
+ }
4030
+ }
4031
+ ]
4032
+ }
4033
+ ],
4034
+ "exports": [
4035
+ {
4036
+ "kind": "js",
4037
+ "name": "actionsMenuBaseStyles",
4038
+ "declaration": {
4039
+ "name": "actionsMenuBaseStyles",
4040
+ "module": "src/actions-menu/actions-menu.styles.ts"
4041
+ }
4042
+ },
4043
+ {
4044
+ "kind": "js",
4045
+ "name": "foundationActionsMenuStyles",
4046
+ "declaration": {
4047
+ "name": "foundationActionsMenuStyles",
4048
+ "module": "src/actions-menu/actions-menu.styles.ts"
4049
+ }
4050
+ }
4051
+ ]
4052
+ },
4053
+ {
4054
+ "kind": "javascript-module",
4055
+ "path": "src/actions-menu/actions-menu.template.ts",
4056
+ "declarations": [
4057
+ {
4058
+ "kind": "function",
4059
+ "name": "menuTemplate",
4060
+ "parameters": [
4061
+ {
4062
+ "name": "prefix",
4063
+ "type": {
4064
+ "text": "string"
4065
+ }
4066
+ }
4067
+ ]
4068
+ },
4069
+ {
4070
+ "kind": "function",
4071
+ "name": "singleOptionTemplate",
4072
+ "parameters": [
4073
+ {
4074
+ "name": "prefix",
4075
+ "type": {
4076
+ "text": "string"
4077
+ }
4078
+ }
4079
+ ]
4080
+ },
4081
+ {
4082
+ "kind": "variable",
4083
+ "name": "foundationActionsMenuTemplate",
4084
+ "type": {
4085
+ "text": "ViewTemplate<ActionsMenu>"
4086
+ },
4087
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
4088
+ }
4089
+ ],
4090
+ "exports": [
4091
+ {
4092
+ "kind": "js",
4093
+ "name": "menuTemplate",
4094
+ "declaration": {
4095
+ "name": "menuTemplate",
4096
+ "module": "src/actions-menu/actions-menu.template.ts"
4097
+ }
4098
+ },
4099
+ {
4100
+ "kind": "js",
4101
+ "name": "singleOptionTemplate",
4102
+ "declaration": {
4103
+ "name": "singleOptionTemplate",
4104
+ "module": "src/actions-menu/actions-menu.template.ts"
4105
+ }
4106
+ },
4107
+ {
4108
+ "kind": "js",
4109
+ "name": "foundationActionsMenuTemplate",
4110
+ "declaration": {
4111
+ "name": "foundationActionsMenuTemplate",
4112
+ "module": "src/actions-menu/actions-menu.template.ts"
4113
+ }
4114
+ }
4115
+ ]
4116
+ },
4117
+ {
4118
+ "kind": "javascript-module",
4119
+ "path": "src/actions-menu/actions-menu.ts",
4120
+ "declarations": [
4121
+ {
4122
+ "kind": "class",
4123
+ "description": "",
4124
+ "name": "ActionsMenu",
4125
+ "members": [
4142
4126
  {
4143
4127
  "kind": "field",
4144
- "name": "getViewport",
4145
- "privacy": "private",
4146
- "description": "Gets the viewport element by id, or defaults to document root",
4147
- "inheritedFrom": {
4148
- "name": "AnchoredRegion",
4149
- "module": "src/anchored-region/anchored-region.ts"
4128
+ "name": "actions",
4129
+ "type": {
4130
+ "text": "ActionMenuItem[]"
4150
4131
  }
4151
4132
  },
4152
4133
  {
4153
4134
  "kind": "field",
4154
- "name": "getAnchor",
4155
- "privacy": "private",
4156
- "description": "Gets the anchor element by id",
4157
- "inheritedFrom": {
4158
- "name": "AnchoredRegion",
4159
- "module": "src/anchored-region/anchored-region.ts"
4160
- }
4135
+ "name": "isVertical",
4136
+ "type": {
4137
+ "text": "boolean"
4138
+ },
4139
+ "default": "false"
4161
4140
  },
4162
4141
  {
4163
4142
  "kind": "field",
4164
- "name": "handleIntersection",
4165
- "privacy": "private",
4166
- "description": "Handle intersections",
4167
- "inheritedFrom": {
4168
- "name": "AnchoredRegion",
4169
- "module": "src/anchored-region/anchored-region.ts"
4170
- }
4143
+ "name": "addDefaultActions",
4144
+ "type": {
4145
+ "text": "boolean"
4146
+ },
4147
+ "default": "true"
4171
4148
  },
4172
4149
  {
4173
4150
  "kind": "field",
4174
- "name": "applyIntersectionEntries",
4175
- "privacy": "private",
4176
- "description": "iterate through intersection entries and apply data",
4177
- "inheritedFrom": {
4178
- "name": "AnchoredRegion",
4179
- "module": "src/anchored-region/anchored-region.ts"
4180
- }
4151
+ "name": "autoCloseOnAction",
4152
+ "type": {
4153
+ "text": "boolean"
4154
+ },
4155
+ "default": "true"
4181
4156
  },
4182
4157
  {
4183
4158
  "kind": "field",
4184
- "name": "updateRegionOffset",
4185
- "privacy": "private",
4186
- "description": "Update the offset values",
4187
- "inheritedFrom": {
4188
- "name": "AnchoredRegion",
4189
- "module": "src/anchored-region/anchored-region.ts"
4159
+ "name": "classNames",
4160
+ "type": {
4161
+ "text": "string"
4190
4162
  }
4191
4163
  },
4192
4164
  {
4193
4165
  "kind": "field",
4194
- "name": "isRectDifferent",
4195
- "privacy": "private",
4196
- "description": "compare rects to see if there is enough change to justify a DOM update",
4197
- "inheritedFrom": {
4198
- "name": "AnchoredRegion",
4199
- "module": "src/anchored-region/anchored-region.ts"
4166
+ "name": "definition",
4167
+ "type": {
4168
+ "text": "any"
4200
4169
  }
4201
4170
  },
4202
4171
  {
4203
4172
  "kind": "field",
4204
- "name": "handleResize",
4205
- "privacy": "private",
4206
- "description": "Handle resize events",
4207
- "inheritedFrom": {
4208
- "name": "AnchoredRegion",
4209
- "module": "src/anchored-region/anchored-region.ts"
4210
- }
4173
+ "name": "name",
4174
+ "type": {
4175
+ "text": "string"
4176
+ },
4177
+ "default": "'Actions'"
4211
4178
  },
4212
4179
  {
4213
4180
  "kind": "field",
4214
- "name": "reset",
4215
- "privacy": "private",
4216
- "description": "resets the component",
4217
- "inheritedFrom": {
4218
- "name": "AnchoredRegion",
4219
- "module": "src/anchored-region/anchored-region.ts"
4220
- }
4181
+ "name": "open",
4182
+ "type": {
4183
+ "text": "boolean"
4184
+ },
4185
+ "default": "false"
4221
4186
  },
4222
4187
  {
4223
4188
  "kind": "field",
4224
- "name": "updateLayout",
4225
- "privacy": "private",
4226
- "description": "Recalculate layout related state values",
4227
- "inheritedFrom": {
4228
- "name": "AnchoredRegion",
4229
- "module": "src/anchored-region/anchored-region.ts"
4189
+ "name": "buttonAppearance",
4190
+ "type": {
4191
+ "text": "string"
4230
4192
  }
4231
4193
  },
4232
4194
  {
4233
4195
  "kind": "field",
4234
- "name": "updateRegionStyle",
4235
- "privacy": "private",
4236
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
4237
- "inheritedFrom": {
4238
- "name": "AnchoredRegion",
4239
- "module": "src/anchored-region/anchored-region.ts"
4240
- }
4196
+ "name": "hideDisabled",
4197
+ "type": {
4198
+ "text": "boolean"
4199
+ },
4200
+ "default": "false"
4241
4201
  },
4242
4202
  {
4243
4203
  "kind": "field",
4244
- "name": "updatePositionClasses",
4245
- "privacy": "private",
4246
- "description": "Updates the css classes that reflect the current position of the element",
4247
- "inheritedFrom": {
4248
- "name": "AnchoredRegion",
4249
- "module": "src/anchored-region/anchored-region.ts"
4250
- }
4204
+ "name": "hideMenuSingleOption",
4205
+ "type": {
4206
+ "text": "boolean"
4207
+ },
4208
+ "default": "false"
4251
4209
  },
4252
4210
  {
4253
4211
  "kind": "field",
4254
- "name": "setHorizontalPosition",
4255
- "privacy": "private",
4256
- "description": "Get horizontal positioning state based on desired position",
4257
- "inheritedFrom": {
4258
- "name": "AnchoredRegion",
4259
- "module": "src/anchored-region/anchored-region.ts"
4212
+ "name": "singleOption",
4213
+ "type": {
4214
+ "text": "ActionMenuItem"
4260
4215
  }
4261
4216
  },
4262
4217
  {
4263
4218
  "kind": "field",
4264
- "name": "setVerticalPosition",
4265
- "privacy": "private",
4266
- "description": "Set vertical positioning state based on desired position",
4267
- "inheritedFrom": {
4268
- "name": "AnchoredRegion",
4269
- "module": "src/anchored-region/anchored-region.ts"
4219
+ "name": "actionsMenu",
4220
+ "type": {
4221
+ "text": "HTMLElement"
4270
4222
  }
4271
4223
  },
4272
4224
  {
4273
- "kind": "field",
4274
- "name": "getPositioningOptions",
4275
- "privacy": "private",
4276
- "description": "Get available positions based on positioning mode",
4277
- "inheritedFrom": {
4278
- "name": "AnchoredRegion",
4279
- "module": "src/anchored-region/anchored-region.ts"
4280
- }
4225
+ "kind": "method",
4226
+ "name": "definitionChanged",
4227
+ "privacy": "protected",
4228
+ "parameters": [
4229
+ {
4230
+ "name": "oldValue",
4231
+ "type": {
4232
+ "text": "any"
4233
+ }
4234
+ },
4235
+ {
4236
+ "name": "newValue",
4237
+ "type": {
4238
+ "text": "any"
4239
+ }
4240
+ }
4241
+ ]
4281
4242
  },
4282
4243
  {
4283
- "kind": "field",
4284
- "name": "getAvailableSpace",
4285
- "privacy": "private",
4286
- "description": "Get the space available for a particular relative position",
4287
- "inheritedFrom": {
4288
- "name": "AnchoredRegion",
4289
- "module": "src/anchored-region/anchored-region.ts"
4290
- }
4244
+ "kind": "method",
4245
+ "name": "openChanged",
4246
+ "privacy": "protected"
4291
4247
  },
4292
4248
  {
4293
- "kind": "field",
4294
- "name": "getNextRegionDimension",
4295
- "privacy": "private",
4296
- "description": "Get region dimensions",
4297
- "inheritedFrom": {
4298
- "name": "AnchoredRegion",
4299
- "module": "src/anchored-region/anchored-region.ts"
4300
- }
4249
+ "kind": "method",
4250
+ "name": "toggleActionsMenuVisibility"
4251
+ },
4252
+ {
4253
+ "kind": "method",
4254
+ "name": "onActionMenuItemClick",
4255
+ "parameters": [
4256
+ {
4257
+ "name": "callback",
4258
+ "type": {
4259
+ "text": "(rowData) => void | any"
4260
+ }
4261
+ }
4262
+ ]
4301
4263
  },
4302
4264
  {
4303
4265
  "kind": "field",
4304
- "name": "startAutoUpdateEventListeners",
4305
- "privacy": "private",
4306
- "description": "starts event listeners that can trigger auto updating",
4307
- "inheritedFrom": {
4308
- "name": "AnchoredRegion",
4309
- "module": "src/anchored-region/anchored-region.ts"
4310
- }
4266
+ "name": "allActions",
4267
+ "type": {
4268
+ "text": "ActionMenuItem[]"
4269
+ },
4270
+ "readonly": true
4311
4271
  },
4312
4272
  {
4313
4273
  "kind": "field",
4314
- "name": "stopAutoUpdateEventListeners",
4315
- "privacy": "private",
4316
- "description": "stops event listeners that can trigger auto updating",
4317
- "inheritedFrom": {
4318
- "name": "AnchoredRegion",
4319
- "module": "src/anchored-region/anchored-region.ts"
4320
- }
4274
+ "name": "rowData",
4275
+ "readonly": true
4276
+ },
4277
+ {
4278
+ "kind": "method",
4279
+ "name": "getLabel",
4280
+ "parameters": [
4281
+ {
4282
+ "name": "name",
4283
+ "type": {
4284
+ "text": "string | ((rowData: any) => string)"
4285
+ }
4286
+ }
4287
+ ]
4288
+ },
4289
+ {
4290
+ "kind": "method",
4291
+ "name": "getTemplate",
4292
+ "parameters": [
4293
+ {
4294
+ "name": "prefix",
4295
+ "type": {
4296
+ "text": "string"
4297
+ }
4298
+ }
4299
+ ]
4321
4300
  },
4322
4301
  {
4323
4302
  "kind": "field",
@@ -4431,86 +4410,107 @@
4431
4410
  }
4432
4411
  }
4433
4412
  ],
4434
- "events": [
4413
+ "attributes": [
4435
4414
  {
4436
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4437
- "name": "loaded",
4438
- "inheritedFrom": {
4439
- "name": "AnchoredRegion",
4440
- "module": "src/anchored-region/anchored-region.ts"
4441
- }
4415
+ "name": "is-vertical",
4416
+ "type": {
4417
+ "text": "boolean"
4418
+ },
4419
+ "default": "false",
4420
+ "fieldName": "isVertical"
4442
4421
  },
4443
4422
  {
4444
- "description": "Fires a custom 'positionchange' event when the position has changed",
4445
- "name": "positionchange",
4446
- "inheritedFrom": {
4447
- "name": "AnchoredRegion",
4448
- "module": "src/anchored-region/anchored-region.ts"
4449
- }
4423
+ "name": "add-default-actions",
4424
+ "type": {
4425
+ "text": "boolean"
4426
+ },
4427
+ "default": "true",
4428
+ "fieldName": "addDefaultActions"
4429
+ },
4430
+ {
4431
+ "name": "auto-close-on-action",
4432
+ "type": {
4433
+ "text": "boolean"
4434
+ },
4435
+ "default": "true",
4436
+ "fieldName": "autoCloseOnAction"
4437
+ },
4438
+ {
4439
+ "name": "name",
4440
+ "type": {
4441
+ "text": "string"
4442
+ },
4443
+ "default": "'Actions'",
4444
+ "fieldName": "name"
4445
+ },
4446
+ {
4447
+ "name": "open",
4448
+ "type": {
4449
+ "text": "boolean"
4450
+ },
4451
+ "default": "false",
4452
+ "fieldName": "open"
4453
+ },
4454
+ {
4455
+ "name": "buttonAppearance",
4456
+ "type": {
4457
+ "text": "string"
4458
+ },
4459
+ "fieldName": "buttonAppearance"
4460
+ },
4461
+ {
4462
+ "name": "hide-disabled",
4463
+ "type": {
4464
+ "text": "boolean"
4465
+ },
4466
+ "default": "false",
4467
+ "fieldName": "hideDisabled"
4468
+ },
4469
+ {
4470
+ "name": "hide-menu-single-option",
4471
+ "type": {
4472
+ "text": "boolean"
4473
+ },
4474
+ "default": "false",
4475
+ "fieldName": "hideMenuSingleOption"
4450
4476
  }
4451
- ]
4452
- },
4453
- {
4454
- "kind": "variable",
4455
- "name": "foundationAnchoredRegionShadowOptions",
4456
- "type": {
4457
- "text": "ShadowRootInit"
4458
- },
4459
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4460
- },
4461
- {
4462
- "kind": "variable",
4463
- "name": "defaultAnchoredRegionConfig",
4464
- "type": {
4465
- "text": "object"
4477
+ ],
4478
+ "superclass": {
4479
+ "name": "FoundationElement",
4480
+ "package": "@microsoft/fast-foundation"
4466
4481
  },
4467
- "default": "{}"
4482
+ "tagName": "%%prefix%%-actions-menu",
4483
+ "customElement": true
4468
4484
  },
4469
4485
  {
4470
4486
  "kind": "variable",
4471
- "name": "foundationAnchoredRegion",
4472
- "description": "The Foundation Anchored Region",
4487
+ "name": "foundationActionsMenu",
4488
+ "description": "The Foundation Actions Menu",
4473
4489
  "privacy": "public"
4474
4490
  }
4475
4491
  ],
4476
4492
  "exports": [
4477
4493
  {
4478
4494
  "kind": "js",
4479
- "name": "AnchoredRegion",
4480
- "declaration": {
4481
- "name": "AnchoredRegion",
4482
- "module": "src/anchored-region/anchored-region.ts"
4483
- }
4484
- },
4485
- {
4486
- "kind": "js",
4487
- "name": "foundationAnchoredRegionShadowOptions",
4488
- "declaration": {
4489
- "name": "foundationAnchoredRegionShadowOptions",
4490
- "module": "src/anchored-region/anchored-region.ts"
4491
- }
4492
- },
4493
- {
4494
- "kind": "js",
4495
- "name": "defaultAnchoredRegionConfig",
4495
+ "name": "ActionsMenu",
4496
4496
  "declaration": {
4497
- "name": "defaultAnchoredRegionConfig",
4498
- "module": "src/anchored-region/anchored-region.ts"
4497
+ "name": "ActionsMenu",
4498
+ "module": "src/actions-menu/actions-menu.ts"
4499
4499
  }
4500
4500
  },
4501
4501
  {
4502
4502
  "kind": "js",
4503
- "name": "foundationAnchoredRegion",
4503
+ "name": "foundationActionsMenu",
4504
4504
  "declaration": {
4505
- "name": "foundationAnchoredRegion",
4506
- "module": "src/anchored-region/anchored-region.ts"
4505
+ "name": "foundationActionsMenu",
4506
+ "module": "src/actions-menu/actions-menu.ts"
4507
4507
  }
4508
4508
  }
4509
4509
  ]
4510
4510
  },
4511
4511
  {
4512
4512
  "kind": "javascript-module",
4513
- "path": "src/anchored-region/index.ts",
4513
+ "path": "src/actions-menu/index.ts",
4514
4514
  "declarations": [],
4515
4515
  "exports": [
4516
4516
  {
@@ -4518,7 +4518,7 @@
4518
4518
  "name": "*",
4519
4519
  "declaration": {
4520
4520
  "name": "*",
4521
- "package": "./anchor-region.template"
4521
+ "package": "./actions-menu.styles"
4522
4522
  }
4523
4523
  },
4524
4524
  {
@@ -4526,7 +4526,7 @@
4526
4526
  "name": "*",
4527
4527
  "declaration": {
4528
4528
  "name": "*",
4529
- "package": "./anchored-region.styles"
4529
+ "package": "./actions-menu.template"
4530
4530
  }
4531
4531
  },
4532
4532
  {
@@ -4534,7 +4534,7 @@
4534
4534
  "name": "*",
4535
4535
  "declaration": {
4536
4536
  "name": "*",
4537
- "package": "./anchored-region"
4537
+ "package": "./actions-menu"
4538
4538
  }
4539
4539
  }
4540
4540
  ]
@@ -13267,7 +13267,7 @@
13267
13267
  "type": {
13268
13268
  "text": "ElementStyles"
13269
13269
  },
13270
- "default": "css`\n :host {\n position: relative;\n }\n\n .date-toggle::part(control) {\n cursor: pointer;\n }\n\n .date-toggle::part(label) {\n cursor: pointer;\n }\n\n .calendar-dropdown {\n display: none;\n width: 300px;\n z-index: 999;\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translate(-50%, 8px);\n margin: 10px 0 0;\n padding: 20px;\n background: var(--neutral-fill-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n box-shadow: 0 0 8px rgb(0 0 0 / 20%);\n }\n\n .calendar-dropdown.hide-weekends {\n width: 215px;\n }\n\n .calendar-dropdown.top {\n top: auto;\n bottom: 100%;\n margin: 0 0 5px;\n transform: translate(-50%, -8px);\n }\n\n .calendar-dropdown.left {\n top: 50%;\n left: 0;\n margin: 0 0 0 5px;\n transform: translate(calc(-8px + -100%), -50%);\n }\n\n .calendar-dropdown.right {\n top: 50%;\n left: 100%;\n transform: translate(8px, -50%);\n }\n\n .calendar-dropdown.visible {\n display: block;\n }\n\n .calendar-dropdown.inline {\n display: block;\n position: static;\n z-index: auto;\n margin-top: 5px;\n transform: none;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 0 10px;\n }\n\n .header h3 {\n margin: 0;\n text-transform: capitalize;\n font-weight: bold;\n color: var(--neutral-foreground-rest);\n }\n\n .header .icon-button {\n height: auto;\n padding: 0;\n min-width: auto;\n }\n\n .header .months-arrows {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .week-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n margin-bottom: 10px;\n color: var(--neutral-foreground-rest);\n }\n\n .week-days span {\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 14px;\n font-weight: bold;\n text-transform: capitalize;\n }\n\n .week-days span.disabled {\n opacity: 60%;\n }\n\n .month-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n }\n\n .week-days.hide-weekends,\n .month-days.hide-weekends {\n grid-template-columns: repeat(5, 1fr);\n }\n\n .month-day {\n padding: 8px 5px;\n color: #808080;\n background: none;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: calc(var(--control-corner-radius) * 4px);\n cursor: pointer;\n border: none;\n }\n\n .month-day.current {\n opacity: 100%;\n color: var(--neutral-foreground-hint);\n }\n\n .month-day.selected {\n background: var(--accent-foreground-rest);\n color: var(--neutral-foreground-rest);\n }\n\n .month-day:hover:not(:disabled) {\n background: var(--neutral-stroke-hover);\n color: var(--neutral-foreground-rest);\n }\n\n .month-day[disabled] {\n opacity: 50%;\n cursor: not-allowed;\n }\n\n .date-toggle[readonly] .label {\n cursor: pointer;\n }\n`"
13270
+ "default": "css`\n :host {\n position: relative;\n }\n\n .date-toggle::part(control) {\n cursor: pointer;\n }\n\n .date-toggle::part(label) {\n cursor: pointer;\n }\n\n .calendar-dropdown {\n display: none;\n width: 300px;\n z-index: 999;\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translate(-50%, 8px);\n margin: 10px 0 0;\n padding: 20px;\n background: var(--neutral-fill-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n box-shadow: 0 0 8px rgb(0 0 0 / 20%);\n }\n\n .calendar-dropdown.hide-weekends {\n width: 215px;\n }\n\n .calendar-dropdown.top {\n top: auto;\n bottom: 100%;\n margin: 0 0 5px;\n transform: translate(-50%, -8px);\n }\n\n .calendar-dropdown.left {\n top: 50%;\n left: 0;\n margin: 0 0 0 5px;\n transform: translate(calc(-8px + -100%), -50%);\n }\n\n .calendar-dropdown.right {\n top: 50%;\n left: 100%;\n transform: translate(8px, -50%);\n }\n\n .calendar-dropdown.visible {\n display: block;\n }\n\n .calendar-dropdown.inline {\n display: block;\n position: static;\n margin-top: 5px;\n transform: none;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 0 10px;\n }\n\n .header h3 {\n margin: 0;\n text-transform: capitalize;\n font-weight: bold;\n color: var(--neutral-foreground-rest);\n }\n\n .header .icon-button {\n height: auto;\n padding: 0;\n min-width: auto;\n }\n\n .header .months-arrows {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .week-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n margin-bottom: 10px;\n color: var(--neutral-foreground-rest);\n }\n\n .week-days span {\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 14px;\n font-weight: bold;\n text-transform: capitalize;\n }\n\n .week-days span.disabled {\n opacity: 60%;\n }\n\n .month-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n }\n\n .week-days.hide-weekends,\n .month-days.hide-weekends {\n grid-template-columns: repeat(5, 1fr);\n }\n\n .month-day {\n padding: 8px 5px;\n color: #808080;\n background: none;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: calc(var(--control-corner-radius) * 4px);\n cursor: pointer;\n border: none;\n }\n\n .month-day.current {\n opacity: 100%;\n color: var(--neutral-foreground-hint);\n }\n\n .month-day.selected {\n background: var(--accent-foreground-rest);\n color: var(--neutral-foreground-rest);\n }\n\n .month-day:hover:not(:disabled) {\n background: var(--neutral-stroke-hover);\n color: var(--neutral-foreground-rest);\n }\n\n .month-day[disabled] {\n opacity: 50%;\n cursor: not-allowed;\n }\n\n .date-toggle[readonly] .label {\n cursor: pointer;\n }\n`"
13271
13271
  }
13272
13272
  ],
13273
13273
  "exports": [