@spectrum-web-components/overlay 0.13.1 → 0.13.3
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.
- package/custom-elements.json +97 -135
- package/package.json +6 -6
- package/src/ActiveOverlay.d.ts +7 -14
- package/src/ActiveOverlay.js +93 -94
- package/src/ActiveOverlay.js.map +1 -1
- package/src/OverlayTrigger.d.ts +12 -3
- package/src/OverlayTrigger.js +52 -10
- package/src/OverlayTrigger.js.map +1 -1
- package/src/VirtualTrigger.d.ts +1 -2
- package/src/VirtualTrigger.js.map +1 -1
- package/src/active-overlay.css.js +1 -1
- package/src/active-overlay.css.js.map +1 -1
- package/src/overlay-stack.d.ts +2 -0
- package/src/overlay-stack.js +39 -28
- package/src/overlay-stack.js.map +1 -1
- package/src/overlay-trigger.css.js +1 -1
- package/src/overlay-trigger.css.js.map +1 -1
- package/src/overlay-types.d.ts +3 -3
- package/src/overlay-types.js.map +1 -1
- package/stories/overlay.stories.js +1 -1
- package/stories/overlay.stories.js.map +1 -1
- package/src/apply-max-size.d.ts +0 -2
- package/src/apply-max-size.js +0 -30
- package/src/apply-max-size.js.map +0 -1
- package/src/popper.d.ts +0 -8
- package/src/popper.js +0 -29
- package/src/popper.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -32,6 +32,12 @@
|
|
|
32
32
|
}
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "javascript-module",
|
|
37
|
+
"path": "sync/overlay-trigger.ts",
|
|
38
|
+
"declarations": [],
|
|
39
|
+
"exports": []
|
|
40
|
+
},
|
|
35
41
|
{
|
|
36
42
|
"kind": "javascript-module",
|
|
37
43
|
"path": "src/ActiveOverlay.ts",
|
|
@@ -79,14 +85,6 @@
|
|
|
79
85
|
},
|
|
80
86
|
"privacy": "public"
|
|
81
87
|
},
|
|
82
|
-
{
|
|
83
|
-
"kind": "field",
|
|
84
|
-
"name": "popper",
|
|
85
|
-
"type": {
|
|
86
|
-
"text": "Instance | undefined"
|
|
87
|
-
},
|
|
88
|
-
"privacy": "private"
|
|
89
|
-
},
|
|
90
88
|
{
|
|
91
89
|
"kind": "field",
|
|
92
90
|
"name": "_state",
|
|
@@ -164,15 +162,6 @@
|
|
|
164
162
|
},
|
|
165
163
|
"privacy": "private"
|
|
166
164
|
},
|
|
167
|
-
{
|
|
168
|
-
"kind": "field",
|
|
169
|
-
"name": "dataPopperPlacement",
|
|
170
|
-
"type": {
|
|
171
|
-
"text": "Placement | undefined"
|
|
172
|
-
},
|
|
173
|
-
"privacy": "public",
|
|
174
|
-
"attribute": "data-popper-placement"
|
|
175
|
-
},
|
|
176
165
|
{
|
|
177
166
|
"kind": "method",
|
|
178
167
|
"name": "focus",
|
|
@@ -270,16 +259,6 @@
|
|
|
270
259
|
}
|
|
271
260
|
]
|
|
272
261
|
},
|
|
273
|
-
{
|
|
274
|
-
"kind": "method",
|
|
275
|
-
"name": "updateOverlayPopperPlacement",
|
|
276
|
-
"privacy": "private",
|
|
277
|
-
"return": {
|
|
278
|
-
"type": {
|
|
279
|
-
"text": "void"
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
262
|
{
|
|
284
263
|
"kind": "method",
|
|
285
264
|
"name": "open",
|
|
@@ -339,7 +318,7 @@
|
|
|
339
318
|
{
|
|
340
319
|
"name": "element",
|
|
341
320
|
"type": {
|
|
342
|
-
"text": "HTMLElement"
|
|
321
|
+
"text": "HTMLElement & { placement: Placement }"
|
|
343
322
|
}
|
|
344
323
|
}
|
|
345
324
|
]
|
|
@@ -364,14 +343,26 @@
|
|
|
364
343
|
}
|
|
365
344
|
},
|
|
366
345
|
{
|
|
367
|
-
"kind": "
|
|
346
|
+
"kind": "field",
|
|
347
|
+
"name": "initialHeight",
|
|
348
|
+
"type": {
|
|
349
|
+
"text": "number"
|
|
350
|
+
},
|
|
351
|
+
"privacy": "private"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"kind": "field",
|
|
355
|
+
"name": "isConstrained",
|
|
356
|
+
"type": {
|
|
357
|
+
"text": "boolean"
|
|
358
|
+
},
|
|
359
|
+
"privacy": "private",
|
|
360
|
+
"default": "false"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"kind": "field",
|
|
368
364
|
"name": "updateOverlayPosition",
|
|
369
|
-
"privacy": "public"
|
|
370
|
-
"return": {
|
|
371
|
-
"type": {
|
|
372
|
-
"text": "Promise<void>"
|
|
373
|
-
}
|
|
374
|
-
}
|
|
365
|
+
"privacy": "public"
|
|
375
366
|
},
|
|
376
367
|
{
|
|
377
368
|
"kind": "method",
|
|
@@ -513,13 +504,6 @@
|
|
|
513
504
|
"text": "Placement | undefined"
|
|
514
505
|
},
|
|
515
506
|
"fieldName": "placement"
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"name": "data-popper-placement",
|
|
519
|
-
"type": {
|
|
520
|
-
"text": "Placement | undefined"
|
|
521
|
-
},
|
|
522
|
-
"fieldName": "dataPopperPlacement"
|
|
523
507
|
}
|
|
524
508
|
],
|
|
525
509
|
"superclass": {
|
|
@@ -545,6 +529,14 @@
|
|
|
545
529
|
"kind": "javascript-module",
|
|
546
530
|
"path": "src/OverlayTrigger.ts",
|
|
547
531
|
"declarations": [
|
|
532
|
+
{
|
|
533
|
+
"kind": "variable",
|
|
534
|
+
"name": "LONGPRESS_INSTRUCTIONS",
|
|
535
|
+
"type": {
|
|
536
|
+
"text": "object"
|
|
537
|
+
},
|
|
538
|
+
"default": "{\n touch: 'Double tap and long press for additional options',\n keyboard: 'Press Space or Alt+Down Arrow for additional options',\n mouse: 'Click and hold for additional options',\n}"
|
|
539
|
+
},
|
|
548
540
|
{
|
|
549
541
|
"kind": "class",
|
|
550
542
|
"description": "",
|
|
@@ -644,6 +636,23 @@
|
|
|
644
636
|
"attribute": "disabled",
|
|
645
637
|
"reflects": true
|
|
646
638
|
},
|
|
639
|
+
{
|
|
640
|
+
"kind": "field",
|
|
641
|
+
"name": "hasLongpressContent",
|
|
642
|
+
"type": {
|
|
643
|
+
"text": "boolean"
|
|
644
|
+
},
|
|
645
|
+
"privacy": "public",
|
|
646
|
+
"default": "false"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"kind": "field",
|
|
650
|
+
"name": "longpressDescriptor",
|
|
651
|
+
"type": {
|
|
652
|
+
"text": "HTMLElement | undefined"
|
|
653
|
+
},
|
|
654
|
+
"privacy": "private"
|
|
655
|
+
},
|
|
647
656
|
{
|
|
648
657
|
"kind": "field",
|
|
649
658
|
"name": "clickContent",
|
|
@@ -676,6 +685,12 @@
|
|
|
676
685
|
},
|
|
677
686
|
"privacy": "private"
|
|
678
687
|
},
|
|
688
|
+
{
|
|
689
|
+
"kind": "field",
|
|
690
|
+
"name": "_longpressId",
|
|
691
|
+
"privacy": "private",
|
|
692
|
+
"default": "`longpress-describedby-descriptor`"
|
|
693
|
+
},
|
|
679
694
|
{
|
|
680
695
|
"kind": "method",
|
|
681
696
|
"name": "handleClose",
|
|
@@ -695,6 +710,16 @@
|
|
|
695
710
|
}
|
|
696
711
|
]
|
|
697
712
|
},
|
|
713
|
+
{
|
|
714
|
+
"kind": "method",
|
|
715
|
+
"name": "manageLongpressDescriptor",
|
|
716
|
+
"privacy": "protected",
|
|
717
|
+
"return": {
|
|
718
|
+
"type": {
|
|
719
|
+
"text": "void"
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
},
|
|
698
723
|
{
|
|
699
724
|
"kind": "method",
|
|
700
725
|
"name": "closeAllOverlays",
|
|
@@ -1013,7 +1038,7 @@
|
|
|
1013
1038
|
}
|
|
1014
1039
|
],
|
|
1015
1040
|
"superclass": {
|
|
1016
|
-
"name": "
|
|
1041
|
+
"name": "SpectrumElement",
|
|
1017
1042
|
"package": "@spectrum-web-components/base"
|
|
1018
1043
|
},
|
|
1019
1044
|
"tagName": "overlay-trigger",
|
|
@@ -1021,6 +1046,14 @@
|
|
|
1021
1046
|
}
|
|
1022
1047
|
],
|
|
1023
1048
|
"exports": [
|
|
1049
|
+
{
|
|
1050
|
+
"kind": "js",
|
|
1051
|
+
"name": "LONGPRESS_INSTRUCTIONS",
|
|
1052
|
+
"declaration": {
|
|
1053
|
+
"name": "LONGPRESS_INSTRUCTIONS",
|
|
1054
|
+
"module": "src/OverlayTrigger.ts"
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1024
1057
|
{
|
|
1025
1058
|
"kind": "js",
|
|
1026
1059
|
"name": "OverlayTrigger",
|
|
@@ -1113,7 +1146,7 @@
|
|
|
1113
1146
|
{
|
|
1114
1147
|
"kind": "variable",
|
|
1115
1148
|
"name": "styles",
|
|
1116
|
-
"default": "css`\n@keyframes sp-overlay-fade-in{0%{opacity:0;transform:var(--sp-overlay-from)}to{opacity:1;transform:translate(0)}}@keyframes sp-overlay-fade-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:var(--sp-overlay-from)}}:host{display:inline-block;left:0;pointer-events:none;position:absolute;top:0;z-index:1000}:host(:focus){outline:none}#contents,sp-theme{height:100%}#contents{animation-duration:var(--spectrum-global-animation-duration-200,.16s);animation-timing-function:var(\n--spectrum-global-animation-ease-out,ease-out\n);display:inline-block;opacity:1;pointer-events:none;visibility:visible}:host([
|
|
1149
|
+
"default": "css`\n@keyframes sp-overlay-fade-in{0%{opacity:0;transform:var(--sp-overlay-from)}to{opacity:1;transform:translate(0)}}@keyframes sp-overlay-fade-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:var(--sp-overlay-from)}}:host{display:inline-block;left:0;pointer-events:none;position:absolute;top:0;z-index:1000}:host(:focus){outline:none}#contents,sp-theme{height:100%}#contents{animation-duration:var(--spectrum-global-animation-duration-200,.16s);animation-timing-function:var(\n--spectrum-global-animation-ease-out,ease-out\n);display:inline-block;opacity:1;pointer-events:none;visibility:visible}:host([actual-placement*=top]) #contents{--sp-overlay-from:translateY(var(--spectrum-global-dimension-size-75));align-items:flex-end;display:inline-flex}:host([actual-placement*=right]) #contents{--sp-overlay-from:translateX(calc(var(--spectrum-global-dimension-size-75)*-1))}:host([actual-placement*=bottom]) #contents{--sp-overlay-from:translateY(calc(var(--spectrum-global-dimension-size-75)*-1))}:host([actual-placement*=left]) #contents{--sp-overlay-from:translateX(var(--spectrum-global-dimension-size-75))}:host([animating]) ::slotted(*){pointer-events:none}:host(:not([animating])) ::slotted(*){pointer-events:auto}#contents ::slotted(*){position:relative}\n`"
|
|
1117
1150
|
}
|
|
1118
1151
|
],
|
|
1119
1152
|
"exports": [
|
|
@@ -1127,30 +1160,6 @@
|
|
|
1127
1160
|
}
|
|
1128
1161
|
]
|
|
1129
1162
|
},
|
|
1130
|
-
{
|
|
1131
|
-
"kind": "javascript-module",
|
|
1132
|
-
"path": "src/apply-max-size.ts",
|
|
1133
|
-
"declarations": [
|
|
1134
|
-
{
|
|
1135
|
-
"kind": "variable",
|
|
1136
|
-
"name": "applyMaxSize",
|
|
1137
|
-
"type": {
|
|
1138
|
-
"text": "Modifier<'applyMaxSize', Record<string, unknown>>"
|
|
1139
|
-
},
|
|
1140
|
-
"default": "{\n name: 'applyMaxSize',\n enabled: true,\n phase: 'beforeWrite',\n requires: ['maxSize'],\n fn({ state }: ModifierArguments<Record<string, unknown>>): void {\n const { height: maxHeight } = state.modifiersData.maxSize;\n if (!appliedSizeDefaults.has(state.elements.popper)) {\n appliedSizeDefaults.set(\n state.elements.popper,\n state.rects.popper.height\n );\n }\n const actualHeight = appliedSizeDefaults.get(state.elements.popper);\n const constrainHeight = maxHeight < actualHeight;\n const appliedHeight = constrainHeight ? `${maxHeight}px` : '';\n state.styles.popper.maxHeight = appliedHeight;\n state.styles.popper.height = appliedHeight;\n },\n}"
|
|
1141
|
-
}
|
|
1142
|
-
],
|
|
1143
|
-
"exports": [
|
|
1144
|
-
{
|
|
1145
|
-
"kind": "js",
|
|
1146
|
-
"name": "applyMaxSize",
|
|
1147
|
-
"declaration": {
|
|
1148
|
-
"name": "applyMaxSize",
|
|
1149
|
-
"module": "src/apply-max-size.ts"
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
]
|
|
1153
|
-
},
|
|
1154
1163
|
{
|
|
1155
1164
|
"kind": "javascript-module",
|
|
1156
1165
|
"path": "src/index.ts",
|
|
@@ -1360,6 +1369,25 @@
|
|
|
1360
1369
|
}
|
|
1361
1370
|
}
|
|
1362
1371
|
},
|
|
1372
|
+
{
|
|
1373
|
+
"kind": "field",
|
|
1374
|
+
"name": "_bodyMarginsApplied",
|
|
1375
|
+
"type": {
|
|
1376
|
+
"text": "boolean"
|
|
1377
|
+
},
|
|
1378
|
+
"privacy": "private",
|
|
1379
|
+
"default": "false"
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"kind": "method",
|
|
1383
|
+
"name": "applyBodyMargins",
|
|
1384
|
+
"privacy": "private",
|
|
1385
|
+
"return": {
|
|
1386
|
+
"type": {
|
|
1387
|
+
"text": "void"
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1363
1391
|
{
|
|
1364
1392
|
"kind": "method",
|
|
1365
1393
|
"name": "startTabTrapping",
|
|
@@ -1809,7 +1837,7 @@
|
|
|
1809
1837
|
{
|
|
1810
1838
|
"kind": "variable",
|
|
1811
1839
|
"name": "styles",
|
|
1812
|
-
"default": "css`\n
|
|
1840
|
+
"default": "css`\n:host([disabled]) ::slotted([slot=trigger]){pointer-events:none}#overlay-content{display:none}\n`"
|
|
1813
1841
|
}
|
|
1814
1842
|
],
|
|
1815
1843
|
"exports": [
|
|
@@ -1994,72 +2022,6 @@
|
|
|
1994
2022
|
}
|
|
1995
2023
|
}
|
|
1996
2024
|
]
|
|
1997
|
-
},
|
|
1998
|
-
{
|
|
1999
|
-
"kind": "javascript-module",
|
|
2000
|
-
"path": "src/popper.ts",
|
|
2001
|
-
"declarations": [
|
|
2002
|
-
{
|
|
2003
|
-
"kind": "variable",
|
|
2004
|
-
"name": "createPopper"
|
|
2005
|
-
}
|
|
2006
|
-
],
|
|
2007
|
-
"exports": [
|
|
2008
|
-
{
|
|
2009
|
-
"kind": "js",
|
|
2010
|
-
"name": "createPopper",
|
|
2011
|
-
"declaration": {
|
|
2012
|
-
"name": "createPopper",
|
|
2013
|
-
"module": "src/popper.ts"
|
|
2014
|
-
}
|
|
2015
|
-
},
|
|
2016
|
-
{
|
|
2017
|
-
"kind": "js",
|
|
2018
|
-
"name": "Instance",
|
|
2019
|
-
"declaration": {
|
|
2020
|
-
"name": "Instance",
|
|
2021
|
-
"module": "src/popper.ts"
|
|
2022
|
-
}
|
|
2023
|
-
},
|
|
2024
|
-
{
|
|
2025
|
-
"kind": "js",
|
|
2026
|
-
"name": "Placement",
|
|
2027
|
-
"declaration": {
|
|
2028
|
-
"name": "Placement",
|
|
2029
|
-
"module": "src/popper.ts"
|
|
2030
|
-
}
|
|
2031
|
-
},
|
|
2032
|
-
{
|
|
2033
|
-
"kind": "js",
|
|
2034
|
-
"name": "VirtualElement",
|
|
2035
|
-
"declaration": {
|
|
2036
|
-
"name": "VirtualElement",
|
|
2037
|
-
"module": "src/popper.ts"
|
|
2038
|
-
}
|
|
2039
|
-
},
|
|
2040
|
-
{
|
|
2041
|
-
"kind": "js",
|
|
2042
|
-
"name": "maxSize",
|
|
2043
|
-
"declaration": {
|
|
2044
|
-
"name": "maxSize",
|
|
2045
|
-
"module": "src/popper.ts"
|
|
2046
|
-
}
|
|
2047
|
-
},
|
|
2048
|
-
{
|
|
2049
|
-
"kind": "js",
|
|
2050
|
-
"name": "applyMaxSize",
|
|
2051
|
-
"declaration": {
|
|
2052
|
-
"name": "applyMaxSize",
|
|
2053
|
-
"module": "src/popper.ts"
|
|
2054
|
-
}
|
|
2055
|
-
}
|
|
2056
|
-
]
|
|
2057
|
-
},
|
|
2058
|
-
{
|
|
2059
|
-
"kind": "javascript-module",
|
|
2060
|
-
"path": "sync/overlay-trigger.ts",
|
|
2061
|
-
"declarations": [],
|
|
2062
|
-
"exports": []
|
|
2063
2025
|
}
|
|
2064
2026
|
]
|
|
2065
2027
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/overlay",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"lit-html"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@
|
|
52
|
-
"@spectrum-web-components/action-button": "^0.7.
|
|
51
|
+
"@floating-ui/dom": "^0.2.0",
|
|
52
|
+
"@spectrum-web-components/action-button": "^0.7.3",
|
|
53
53
|
"@spectrum-web-components/base": "^0.5.1",
|
|
54
|
-
"@spectrum-web-components/shared": "^0.13.
|
|
55
|
-
"@spectrum-web-components/theme": "^0.9.
|
|
54
|
+
"@spectrum-web-components/shared": "^0.13.3",
|
|
55
|
+
"@spectrum-web-components/theme": "^0.9.3",
|
|
56
56
|
"popper-max-size-modifier": "^0.2.0",
|
|
57
57
|
"tslib": "^2.0.0"
|
|
58
58
|
},
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"./sync/overlay-trigger.js",
|
|
65
65
|
"./stories/overlay-story-components.js"
|
|
66
66
|
],
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "279380c6d72c0819fe224b405844af9ddcb87f8a"
|
|
68
68
|
}
|
package/src/ActiveOverlay.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSResultArray, PropertyValues, SpectrumElement, TemplateResult } from '@spectrum-web-components/base';
|
|
2
2
|
import { Color, Scale } from '@spectrum-web-components/theme';
|
|
3
3
|
import { OverlayOpenDetail, Placement, TriggerInteractions } from './overlay-types.js';
|
|
4
|
-
import { VirtualTrigger } from './VirtualTrigger.js';
|
|
4
|
+
import type { VirtualTrigger } from './VirtualTrigger.js';
|
|
5
5
|
export interface PositionResult {
|
|
6
6
|
arrowOffsetLeft: number;
|
|
7
7
|
arrowOffsetTop: number;
|
|
@@ -10,7 +10,7 @@ export interface PositionResult {
|
|
|
10
10
|
positionLeft: number;
|
|
11
11
|
positionTop: number;
|
|
12
12
|
}
|
|
13
|
-
declare type OverlayStateType = 'idle' | 'active' | '
|
|
13
|
+
declare type OverlayStateType = 'idle' | 'active' | 'hiding' | 'dispose' | 'disposed';
|
|
14
14
|
declare type ContentAnimation = 'sp-overlay-fade-in' | 'sp-overlay-fade-out';
|
|
15
15
|
/**
|
|
16
16
|
* @element active-overlay
|
|
@@ -22,7 +22,6 @@ export declare class ActiveOverlay extends SpectrumElement {
|
|
|
22
22
|
overlayContentTip?: HTMLElement;
|
|
23
23
|
trigger: HTMLElement;
|
|
24
24
|
virtualTrigger?: VirtualTrigger;
|
|
25
|
-
private popper?;
|
|
26
25
|
_state: OverlayStateType;
|
|
27
26
|
get state(): OverlayStateType;
|
|
28
27
|
set state(state: OverlayStateType);
|
|
@@ -37,12 +36,6 @@ export declare class ActiveOverlay extends SpectrumElement {
|
|
|
37
36
|
tabbingAway: boolean;
|
|
38
37
|
private originalPlacement?;
|
|
39
38
|
private restoreContent?;
|
|
40
|
-
/**
|
|
41
|
-
* @prop Used by the popper library to indicate where the overlay was
|
|
42
|
-
* actually rendered. Popper may switch which side an overlay
|
|
43
|
-
* is rendered on to fit it on the screen
|
|
44
|
-
*/
|
|
45
|
-
dataPopperPlacement?: Placement;
|
|
46
39
|
focus(): void;
|
|
47
40
|
private get hasTheme();
|
|
48
41
|
offset: number;
|
|
@@ -55,21 +48,20 @@ export declare class ActiveOverlay extends SpectrumElement {
|
|
|
55
48
|
get hasModalRoot(): boolean;
|
|
56
49
|
feature(): void;
|
|
57
50
|
obscure(nextOverlayInteraction: TriggerInteractions): ActiveOverlay | undefined;
|
|
58
|
-
firstUpdated(changedProperties: PropertyValues): void
|
|
59
|
-
private updateOverlayPopperPlacement;
|
|
60
|
-
updated(changedProperties: PropertyValues): void;
|
|
51
|
+
firstUpdated(changedProperties: PropertyValues): Promise<void>;
|
|
61
52
|
private open;
|
|
62
53
|
private extractDetail;
|
|
63
54
|
dispose(): void;
|
|
64
55
|
private stealOverlayContent;
|
|
65
56
|
private willNotifyClosed;
|
|
66
57
|
private returnOverlayContent;
|
|
67
|
-
|
|
58
|
+
private initialHeight;
|
|
59
|
+
private isConstrained;
|
|
60
|
+
updateOverlayPosition: () => Promise<void>;
|
|
68
61
|
hide(animated?: boolean): Promise<void>;
|
|
69
62
|
private schedulePositionUpdate;
|
|
70
63
|
private onSlotChange;
|
|
71
64
|
handleInlineTriggerKeydown: (event: KeyboardEvent) => void;
|
|
72
|
-
connectedCallback(): void;
|
|
73
65
|
applyContentAnimation(animation: ContentAnimation): Promise<boolean>;
|
|
74
66
|
renderTheme(content: TemplateResult): TemplateResult;
|
|
75
67
|
render(): TemplateResult;
|
|
@@ -77,5 +69,6 @@ export declare class ActiveOverlay extends SpectrumElement {
|
|
|
77
69
|
private stealOverlayContentPromise;
|
|
78
70
|
private stealOverlayContentResolver;
|
|
79
71
|
protected getUpdateComplete(): Promise<boolean>;
|
|
72
|
+
disconnectedCallback(): void;
|
|
80
73
|
}
|
|
81
74
|
export {};
|