@spectrum-web-components/overlay 0.13.2-express.0 → 0.13.4
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 +95 -133
- package/package.json +6 -7
- package/src/ActiveOverlay.d.ts +8 -16
- package/src/ActiveOverlay.js +94 -96
- 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/src/overlay.js +0 -1
- package/src/overlay.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,12 +32,6 @@
|
|
|
32
32
|
}
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
|
-
{
|
|
36
|
-
"kind": "javascript-module",
|
|
37
|
-
"path": "sync/overlay-trigger.ts",
|
|
38
|
-
"declarations": [],
|
|
39
|
-
"exports": []
|
|
40
|
-
},
|
|
41
35
|
{
|
|
42
36
|
"kind": "javascript-module",
|
|
43
37
|
"path": "src/ActiveOverlay.ts",
|
|
@@ -85,14 +79,6 @@
|
|
|
85
79
|
},
|
|
86
80
|
"privacy": "public"
|
|
87
81
|
},
|
|
88
|
-
{
|
|
89
|
-
"kind": "field",
|
|
90
|
-
"name": "popper",
|
|
91
|
-
"type": {
|
|
92
|
-
"text": "Instance | undefined"
|
|
93
|
-
},
|
|
94
|
-
"privacy": "private"
|
|
95
|
-
},
|
|
96
82
|
{
|
|
97
83
|
"kind": "field",
|
|
98
84
|
"name": "_state",
|
|
@@ -132,7 +118,7 @@
|
|
|
132
118
|
"kind": "field",
|
|
133
119
|
"name": "theme",
|
|
134
120
|
"type": {
|
|
135
|
-
"text": "{\n color?: Color;\n scale?: Scale;\n lang?: string;\n
|
|
121
|
+
"text": "{\n color?: Color;\n scale?: Scale;\n lang?: string;\n }"
|
|
136
122
|
},
|
|
137
123
|
"privacy": "public",
|
|
138
124
|
"default": "{}"
|
|
@@ -170,15 +156,6 @@
|
|
|
170
156
|
},
|
|
171
157
|
"privacy": "private"
|
|
172
158
|
},
|
|
173
|
-
{
|
|
174
|
-
"kind": "field",
|
|
175
|
-
"name": "dataPopperPlacement",
|
|
176
|
-
"type": {
|
|
177
|
-
"text": "Placement | undefined"
|
|
178
|
-
},
|
|
179
|
-
"privacy": "public",
|
|
180
|
-
"attribute": "data-popper-placement"
|
|
181
|
-
},
|
|
182
159
|
{
|
|
183
160
|
"kind": "method",
|
|
184
161
|
"name": "focus",
|
|
@@ -276,16 +253,6 @@
|
|
|
276
253
|
}
|
|
277
254
|
]
|
|
278
255
|
},
|
|
279
|
-
{
|
|
280
|
-
"kind": "method",
|
|
281
|
-
"name": "updateOverlayPopperPlacement",
|
|
282
|
-
"privacy": "private",
|
|
283
|
-
"return": {
|
|
284
|
-
"type": {
|
|
285
|
-
"text": "void"
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
},
|
|
289
256
|
{
|
|
290
257
|
"kind": "method",
|
|
291
258
|
"name": "open",
|
|
@@ -345,7 +312,7 @@
|
|
|
345
312
|
{
|
|
346
313
|
"name": "element",
|
|
347
314
|
"type": {
|
|
348
|
-
"text": "HTMLElement"
|
|
315
|
+
"text": "HTMLElement & { placement: Placement }"
|
|
349
316
|
}
|
|
350
317
|
}
|
|
351
318
|
]
|
|
@@ -370,14 +337,26 @@
|
|
|
370
337
|
}
|
|
371
338
|
},
|
|
372
339
|
{
|
|
373
|
-
"kind": "
|
|
340
|
+
"kind": "field",
|
|
341
|
+
"name": "initialHeight",
|
|
342
|
+
"type": {
|
|
343
|
+
"text": "number"
|
|
344
|
+
},
|
|
345
|
+
"privacy": "private"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"kind": "field",
|
|
349
|
+
"name": "isConstrained",
|
|
350
|
+
"type": {
|
|
351
|
+
"text": "boolean"
|
|
352
|
+
},
|
|
353
|
+
"privacy": "private",
|
|
354
|
+
"default": "false"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"kind": "field",
|
|
374
358
|
"name": "updateOverlayPosition",
|
|
375
|
-
"privacy": "public"
|
|
376
|
-
"return": {
|
|
377
|
-
"type": {
|
|
378
|
-
"text": "Promise<void>"
|
|
379
|
-
}
|
|
380
|
-
}
|
|
359
|
+
"privacy": "public"
|
|
381
360
|
},
|
|
382
361
|
{
|
|
383
362
|
"kind": "method",
|
|
@@ -519,13 +498,6 @@
|
|
|
519
498
|
"text": "Placement | undefined"
|
|
520
499
|
},
|
|
521
500
|
"fieldName": "placement"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"name": "data-popper-placement",
|
|
525
|
-
"type": {
|
|
526
|
-
"text": "Placement | undefined"
|
|
527
|
-
},
|
|
528
|
-
"fieldName": "dataPopperPlacement"
|
|
529
501
|
}
|
|
530
502
|
],
|
|
531
503
|
"superclass": {
|
|
@@ -551,6 +523,14 @@
|
|
|
551
523
|
"kind": "javascript-module",
|
|
552
524
|
"path": "src/OverlayTrigger.ts",
|
|
553
525
|
"declarations": [
|
|
526
|
+
{
|
|
527
|
+
"kind": "variable",
|
|
528
|
+
"name": "LONGPRESS_INSTRUCTIONS",
|
|
529
|
+
"type": {
|
|
530
|
+
"text": "object"
|
|
531
|
+
},
|
|
532
|
+
"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}"
|
|
533
|
+
},
|
|
554
534
|
{
|
|
555
535
|
"kind": "class",
|
|
556
536
|
"description": "",
|
|
@@ -650,6 +630,23 @@
|
|
|
650
630
|
"attribute": "disabled",
|
|
651
631
|
"reflects": true
|
|
652
632
|
},
|
|
633
|
+
{
|
|
634
|
+
"kind": "field",
|
|
635
|
+
"name": "hasLongpressContent",
|
|
636
|
+
"type": {
|
|
637
|
+
"text": "boolean"
|
|
638
|
+
},
|
|
639
|
+
"privacy": "public",
|
|
640
|
+
"default": "false"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"kind": "field",
|
|
644
|
+
"name": "longpressDescriptor",
|
|
645
|
+
"type": {
|
|
646
|
+
"text": "HTMLElement | undefined"
|
|
647
|
+
},
|
|
648
|
+
"privacy": "private"
|
|
649
|
+
},
|
|
653
650
|
{
|
|
654
651
|
"kind": "field",
|
|
655
652
|
"name": "clickContent",
|
|
@@ -682,6 +679,12 @@
|
|
|
682
679
|
},
|
|
683
680
|
"privacy": "private"
|
|
684
681
|
},
|
|
682
|
+
{
|
|
683
|
+
"kind": "field",
|
|
684
|
+
"name": "_longpressId",
|
|
685
|
+
"privacy": "private",
|
|
686
|
+
"default": "`longpress-describedby-descriptor`"
|
|
687
|
+
},
|
|
685
688
|
{
|
|
686
689
|
"kind": "method",
|
|
687
690
|
"name": "handleClose",
|
|
@@ -701,6 +704,16 @@
|
|
|
701
704
|
}
|
|
702
705
|
]
|
|
703
706
|
},
|
|
707
|
+
{
|
|
708
|
+
"kind": "method",
|
|
709
|
+
"name": "manageLongpressDescriptor",
|
|
710
|
+
"privacy": "protected",
|
|
711
|
+
"return": {
|
|
712
|
+
"type": {
|
|
713
|
+
"text": "void"
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
},
|
|
704
717
|
{
|
|
705
718
|
"kind": "method",
|
|
706
719
|
"name": "closeAllOverlays",
|
|
@@ -1019,7 +1032,7 @@
|
|
|
1019
1032
|
}
|
|
1020
1033
|
],
|
|
1021
1034
|
"superclass": {
|
|
1022
|
-
"name": "
|
|
1035
|
+
"name": "SpectrumElement",
|
|
1023
1036
|
"package": "@spectrum-web-components/base"
|
|
1024
1037
|
},
|
|
1025
1038
|
"tagName": "overlay-trigger",
|
|
@@ -1027,6 +1040,14 @@
|
|
|
1027
1040
|
}
|
|
1028
1041
|
],
|
|
1029
1042
|
"exports": [
|
|
1043
|
+
{
|
|
1044
|
+
"kind": "js",
|
|
1045
|
+
"name": "LONGPRESS_INSTRUCTIONS",
|
|
1046
|
+
"declaration": {
|
|
1047
|
+
"name": "LONGPRESS_INSTRUCTIONS",
|
|
1048
|
+
"module": "src/OverlayTrigger.ts"
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1030
1051
|
{
|
|
1031
1052
|
"kind": "js",
|
|
1032
1053
|
"name": "OverlayTrigger",
|
|
@@ -1119,7 +1140,7 @@
|
|
|
1119
1140
|
{
|
|
1120
1141
|
"kind": "variable",
|
|
1121
1142
|
"name": "styles",
|
|
1122
|
-
"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([
|
|
1143
|
+
"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`"
|
|
1123
1144
|
}
|
|
1124
1145
|
],
|
|
1125
1146
|
"exports": [
|
|
@@ -1133,30 +1154,6 @@
|
|
|
1133
1154
|
}
|
|
1134
1155
|
]
|
|
1135
1156
|
},
|
|
1136
|
-
{
|
|
1137
|
-
"kind": "javascript-module",
|
|
1138
|
-
"path": "src/apply-max-size.ts",
|
|
1139
|
-
"declarations": [
|
|
1140
|
-
{
|
|
1141
|
-
"kind": "variable",
|
|
1142
|
-
"name": "applyMaxSize",
|
|
1143
|
-
"type": {
|
|
1144
|
-
"text": "Modifier<'applyMaxSize', Record<string, unknown>>"
|
|
1145
|
-
},
|
|
1146
|
-
"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}"
|
|
1147
|
-
}
|
|
1148
|
-
],
|
|
1149
|
-
"exports": [
|
|
1150
|
-
{
|
|
1151
|
-
"kind": "js",
|
|
1152
|
-
"name": "applyMaxSize",
|
|
1153
|
-
"declaration": {
|
|
1154
|
-
"name": "applyMaxSize",
|
|
1155
|
-
"module": "src/apply-max-size.ts"
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
]
|
|
1159
|
-
},
|
|
1160
1157
|
{
|
|
1161
1158
|
"kind": "javascript-module",
|
|
1162
1159
|
"path": "src/index.ts",
|
|
@@ -1366,6 +1363,25 @@
|
|
|
1366
1363
|
}
|
|
1367
1364
|
}
|
|
1368
1365
|
},
|
|
1366
|
+
{
|
|
1367
|
+
"kind": "field",
|
|
1368
|
+
"name": "_bodyMarginsApplied",
|
|
1369
|
+
"type": {
|
|
1370
|
+
"text": "boolean"
|
|
1371
|
+
},
|
|
1372
|
+
"privacy": "private",
|
|
1373
|
+
"default": "false"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"kind": "method",
|
|
1377
|
+
"name": "applyBodyMargins",
|
|
1378
|
+
"privacy": "private",
|
|
1379
|
+
"return": {
|
|
1380
|
+
"type": {
|
|
1381
|
+
"text": "void"
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1369
1385
|
{
|
|
1370
1386
|
"kind": "method",
|
|
1371
1387
|
"name": "startTabTrapping",
|
|
@@ -1815,7 +1831,7 @@
|
|
|
1815
1831
|
{
|
|
1816
1832
|
"kind": "variable",
|
|
1817
1833
|
"name": "styles",
|
|
1818
|
-
"default": "css`\n
|
|
1834
|
+
"default": "css`\n:host([disabled]) ::slotted([slot=trigger]){pointer-events:none}#overlay-content{display:none}\n`"
|
|
1819
1835
|
}
|
|
1820
1836
|
],
|
|
1821
1837
|
"exports": [
|
|
@@ -2003,63 +2019,9 @@
|
|
|
2003
2019
|
},
|
|
2004
2020
|
{
|
|
2005
2021
|
"kind": "javascript-module",
|
|
2006
|
-
"path": "
|
|
2007
|
-
"declarations": [
|
|
2008
|
-
|
|
2009
|
-
"kind": "variable",
|
|
2010
|
-
"name": "createPopper"
|
|
2011
|
-
}
|
|
2012
|
-
],
|
|
2013
|
-
"exports": [
|
|
2014
|
-
{
|
|
2015
|
-
"kind": "js",
|
|
2016
|
-
"name": "createPopper",
|
|
2017
|
-
"declaration": {
|
|
2018
|
-
"name": "createPopper",
|
|
2019
|
-
"module": "src/popper.ts"
|
|
2020
|
-
}
|
|
2021
|
-
},
|
|
2022
|
-
{
|
|
2023
|
-
"kind": "js",
|
|
2024
|
-
"name": "Instance",
|
|
2025
|
-
"declaration": {
|
|
2026
|
-
"name": "Instance",
|
|
2027
|
-
"module": "src/popper.ts"
|
|
2028
|
-
}
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
"kind": "js",
|
|
2032
|
-
"name": "Placement",
|
|
2033
|
-
"declaration": {
|
|
2034
|
-
"name": "Placement",
|
|
2035
|
-
"module": "src/popper.ts"
|
|
2036
|
-
}
|
|
2037
|
-
},
|
|
2038
|
-
{
|
|
2039
|
-
"kind": "js",
|
|
2040
|
-
"name": "VirtualElement",
|
|
2041
|
-
"declaration": {
|
|
2042
|
-
"name": "VirtualElement",
|
|
2043
|
-
"module": "src/popper.ts"
|
|
2044
|
-
}
|
|
2045
|
-
},
|
|
2046
|
-
{
|
|
2047
|
-
"kind": "js",
|
|
2048
|
-
"name": "maxSize",
|
|
2049
|
-
"declaration": {
|
|
2050
|
-
"name": "maxSize",
|
|
2051
|
-
"module": "src/popper.ts"
|
|
2052
|
-
}
|
|
2053
|
-
},
|
|
2054
|
-
{
|
|
2055
|
-
"kind": "js",
|
|
2056
|
-
"name": "applyMaxSize",
|
|
2057
|
-
"declaration": {
|
|
2058
|
-
"name": "applyMaxSize",
|
|
2059
|
-
"module": "src/popper.ts"
|
|
2060
|
-
}
|
|
2061
|
-
}
|
|
2062
|
-
]
|
|
2022
|
+
"path": "sync/overlay-trigger.ts",
|
|
2023
|
+
"declarations": [],
|
|
2024
|
+
"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.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -48,12 +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.
|
|
56
|
-
"popper-max-size-modifier": "^0.2.0",
|
|
54
|
+
"@spectrum-web-components/shared": "^0.13.3",
|
|
55
|
+
"@spectrum-web-components/theme": "^0.9.3",
|
|
57
56
|
"tslib": "^2.0.0"
|
|
58
57
|
},
|
|
59
58
|
"types": "./src/index.d.ts",
|
|
@@ -64,5 +63,5 @@
|
|
|
64
63
|
"./sync/overlay-trigger.js",
|
|
65
64
|
"./stories/overlay-story-components.js"
|
|
66
65
|
],
|
|
67
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "c97274feee2ed59439fb25b408b36ac5d7d50cad"
|
|
68
67
|
}
|
package/src/ActiveOverlay.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSResultArray, PropertyValues, SpectrumElement, TemplateResult } from '@spectrum-web-components/base';
|
|
2
|
-
import { Color,
|
|
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);
|
|
@@ -32,18 +31,11 @@ export declare class ActiveOverlay extends SpectrumElement {
|
|
|
32
31
|
color?: Color;
|
|
33
32
|
scale?: Scale;
|
|
34
33
|
lang?: string;
|
|
35
|
-
theme?: Flavor;
|
|
36
34
|
};
|
|
37
35
|
receivesFocus?: 'auto';
|
|
38
36
|
tabbingAway: boolean;
|
|
39
37
|
private originalPlacement?;
|
|
40
38
|
private restoreContent?;
|
|
41
|
-
/**
|
|
42
|
-
* @prop Used by the popper library to indicate where the overlay was
|
|
43
|
-
* actually rendered. Popper may switch which side an overlay
|
|
44
|
-
* is rendered on to fit it on the screen
|
|
45
|
-
*/
|
|
46
|
-
dataPopperPlacement?: Placement;
|
|
47
39
|
focus(): void;
|
|
48
40
|
private get hasTheme();
|
|
49
41
|
offset: number;
|
|
@@ -56,21 +48,20 @@ export declare class ActiveOverlay extends SpectrumElement {
|
|
|
56
48
|
get hasModalRoot(): boolean;
|
|
57
49
|
feature(): void;
|
|
58
50
|
obscure(nextOverlayInteraction: TriggerInteractions): ActiveOverlay | undefined;
|
|
59
|
-
firstUpdated(changedProperties: PropertyValues): void
|
|
60
|
-
private updateOverlayPopperPlacement;
|
|
61
|
-
updated(changedProperties: PropertyValues): void;
|
|
51
|
+
firstUpdated(changedProperties: PropertyValues): Promise<void>;
|
|
62
52
|
private open;
|
|
63
53
|
private extractDetail;
|
|
64
54
|
dispose(): void;
|
|
65
55
|
private stealOverlayContent;
|
|
66
56
|
private willNotifyClosed;
|
|
67
57
|
private returnOverlayContent;
|
|
68
|
-
|
|
58
|
+
private initialHeight;
|
|
59
|
+
private isConstrained;
|
|
60
|
+
updateOverlayPosition: () => Promise<void>;
|
|
69
61
|
hide(animated?: boolean): Promise<void>;
|
|
70
62
|
private schedulePositionUpdate;
|
|
71
63
|
private onSlotChange;
|
|
72
64
|
handleInlineTriggerKeydown: (event: KeyboardEvent) => void;
|
|
73
|
-
connectedCallback(): void;
|
|
74
65
|
applyContentAnimation(animation: ContentAnimation): Promise<boolean>;
|
|
75
66
|
renderTheme(content: TemplateResult): TemplateResult;
|
|
76
67
|
render(): TemplateResult;
|
|
@@ -78,5 +69,6 @@ export declare class ActiveOverlay extends SpectrumElement {
|
|
|
78
69
|
private stealOverlayContentPromise;
|
|
79
70
|
private stealOverlayContentResolver;
|
|
80
71
|
protected getUpdateComplete(): Promise<boolean>;
|
|
72
|
+
disconnectedCallback(): void;
|
|
81
73
|
}
|
|
82
74
|
export {};
|