@spectrum-web-components/overlay 0.35.1-rc.24 → 0.35.1-rc.25

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.
@@ -0,0 +1,2277 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-overlay.ts",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-overlay",
13
+ "declaration": {
14
+ "name": "Overlay",
15
+ "module": "/src/Overlay.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "overlay-trigger.ts",
23
+ "declarations": [],
24
+ "exports": [
25
+ {
26
+ "kind": "custom-element-definition",
27
+ "name": "overlay-trigger",
28
+ "declaration": {
29
+ "name": "OverlayTrigger",
30
+ "module": "/src/OverlayTrigger.js"
31
+ }
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "kind": "javascript-module",
37
+ "path": "sync/overlay-trigger.ts",
38
+ "declarations": [],
39
+ "exports": [
40
+ {
41
+ "kind": "js",
42
+ "name": "OverlayTrigger",
43
+ "declaration": {
44
+ "name": "OverlayTrigger",
45
+ "module": "sync/overlay-trigger.ts"
46
+ }
47
+ },
48
+ {
49
+ "kind": "js",
50
+ "name": "OverlayOptionsV1",
51
+ "declaration": {
52
+ "name": "OverlayOptionsV1",
53
+ "module": "sync/overlay-trigger.ts"
54
+ }
55
+ },
56
+ {
57
+ "kind": "js",
58
+ "name": "TriggerInteractions",
59
+ "declaration": {
60
+ "name": "TriggerInteractions",
61
+ "module": "sync/overlay-trigger.ts"
62
+ }
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "kind": "javascript-module",
68
+ "path": "src/AbstractOverlay.ts",
69
+ "declarations": [
70
+ {
71
+ "kind": "variable",
72
+ "name": "overlayTimer",
73
+ "default": "new OverlayTimer()"
74
+ },
75
+ {
76
+ "kind": "function",
77
+ "name": "noop",
78
+ "return": {
79
+ "type": {
80
+ "text": "void"
81
+ }
82
+ }
83
+ },
84
+ {
85
+ "kind": "class",
86
+ "description": "",
87
+ "name": "BeforetoggleClosedEvent",
88
+ "members": [
89
+ {
90
+ "kind": "field",
91
+ "name": "currentState",
92
+ "type": {
93
+ "text": "string"
94
+ },
95
+ "default": "'open'"
96
+ },
97
+ {
98
+ "kind": "field",
99
+ "name": "newState",
100
+ "type": {
101
+ "text": "string"
102
+ },
103
+ "default": "'closed'"
104
+ }
105
+ ],
106
+ "superclass": {
107
+ "name": "Event",
108
+ "module": "src/AbstractOverlay.ts"
109
+ }
110
+ },
111
+ {
112
+ "kind": "class",
113
+ "description": "",
114
+ "name": "BeforetoggleOpenEvent",
115
+ "members": [
116
+ {
117
+ "kind": "field",
118
+ "name": "currentState",
119
+ "type": {
120
+ "text": "string"
121
+ },
122
+ "default": "'closed'"
123
+ },
124
+ {
125
+ "kind": "field",
126
+ "name": "newState",
127
+ "type": {
128
+ "text": "string"
129
+ },
130
+ "default": "'open'"
131
+ }
132
+ ],
133
+ "superclass": {
134
+ "name": "Event",
135
+ "module": "src/AbstractOverlay.ts"
136
+ }
137
+ },
138
+ {
139
+ "kind": "function",
140
+ "name": "guaranteedAllTransitionend",
141
+ "return": {
142
+ "type": {
143
+ "text": "void"
144
+ }
145
+ },
146
+ "parameters": [
147
+ {
148
+ "name": "el",
149
+ "type": {
150
+ "text": "HTMLElement"
151
+ },
152
+ "description": "Target of the \"transition\" listeners."
153
+ },
154
+ {
155
+ "name": "action",
156
+ "type": {
157
+ "text": "Function"
158
+ },
159
+ "description": "Method to trigger the \"transition\"."
160
+ },
161
+ {
162
+ "name": "cb",
163
+ "type": {
164
+ "text": "Function"
165
+ },
166
+ "description": "Callback to trigger when the \"transition\" has ended."
167
+ }
168
+ ],
169
+ "description": "Apply a \"transitionend\" listener to an element that may not transition but\nguarantee the callback will be fired either way."
170
+ },
171
+ {
172
+ "kind": "function",
173
+ "name": "nextFrame",
174
+ "return": {
175
+ "type": {
176
+ "text": "Promise<void>"
177
+ }
178
+ }
179
+ },
180
+ {
181
+ "kind": "class",
182
+ "description": "",
183
+ "name": "AbstractOverlay",
184
+ "members": [
185
+ {
186
+ "kind": "method",
187
+ "name": "applyFocus",
188
+ "privacy": "protected",
189
+ "return": {
190
+ "type": {
191
+ "text": "Promise<void>"
192
+ }
193
+ },
194
+ "parameters": [
195
+ {
196
+ "name": "_targetOpenState",
197
+ "type": {
198
+ "text": "boolean"
199
+ }
200
+ },
201
+ {
202
+ "name": "_focusEl",
203
+ "type": {
204
+ "text": "HTMLElement | null"
205
+ }
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "kind": "field",
211
+ "name": "delayed",
212
+ "type": {
213
+ "text": "boolean"
214
+ }
215
+ },
216
+ {
217
+ "kind": "field",
218
+ "name": "dialogEl",
219
+ "type": {
220
+ "text": "HTMLDialogElement & {\n showPopover(): void;\n hidePopover(): void;\n }"
221
+ }
222
+ },
223
+ {
224
+ "kind": "field",
225
+ "name": "dispose",
226
+ "default": "noop"
227
+ },
228
+ {
229
+ "kind": "method",
230
+ "name": "ensureOnDOM",
231
+ "privacy": "protected",
232
+ "return": {
233
+ "type": {
234
+ "text": "Promise<void>"
235
+ }
236
+ },
237
+ "parameters": [
238
+ {
239
+ "name": "_targetOpenState",
240
+ "type": {
241
+ "text": "boolean"
242
+ }
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "kind": "field",
248
+ "name": "elements",
249
+ "type": {
250
+ "text": "OpenableElement[]"
251
+ }
252
+ },
253
+ {
254
+ "kind": "method",
255
+ "name": "makeTransition",
256
+ "privacy": "protected",
257
+ "return": {
258
+ "type": {
259
+ "text": "Promise<HTMLElement | null>"
260
+ }
261
+ },
262
+ "parameters": [
263
+ {
264
+ "name": "_targetOpenState",
265
+ "type": {
266
+ "text": "boolean"
267
+ }
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ "kind": "method",
273
+ "name": "manageDelay",
274
+ "privacy": "protected",
275
+ "return": {
276
+ "type": {
277
+ "text": "Promise<void>"
278
+ }
279
+ },
280
+ "parameters": [
281
+ {
282
+ "name": "_targetOpenState",
283
+ "type": {
284
+ "text": "boolean"
285
+ }
286
+ }
287
+ ]
288
+ },
289
+ {
290
+ "kind": "method",
291
+ "name": "manageDialogOpen",
292
+ "privacy": "protected",
293
+ "return": {
294
+ "type": {
295
+ "text": "Promise<void>"
296
+ }
297
+ }
298
+ },
299
+ {
300
+ "kind": "method",
301
+ "name": "managePopoverOpen",
302
+ "privacy": "protected",
303
+ "return": {
304
+ "type": {
305
+ "text": "Promise<void>"
306
+ }
307
+ }
308
+ },
309
+ {
310
+ "kind": "method",
311
+ "name": "managePosition",
312
+ "privacy": "protected",
313
+ "return": {
314
+ "type": {
315
+ "text": "void"
316
+ }
317
+ }
318
+ },
319
+ {
320
+ "kind": "field",
321
+ "name": "open",
322
+ "type": {
323
+ "text": "boolean"
324
+ }
325
+ },
326
+ {
327
+ "kind": "field",
328
+ "name": "placementController",
329
+ "type": {
330
+ "text": "PlacementController"
331
+ },
332
+ "privacy": "protected"
333
+ },
334
+ {
335
+ "kind": "field",
336
+ "name": "receivesFocus",
337
+ "type": {
338
+ "text": "'true' | 'false' | 'auto'"
339
+ }
340
+ },
341
+ {
342
+ "kind": "field",
343
+ "name": "state",
344
+ "type": {
345
+ "text": "OverlayState"
346
+ }
347
+ },
348
+ {
349
+ "kind": "field",
350
+ "name": "_state",
351
+ "type": {
352
+ "text": "OverlayState"
353
+ },
354
+ "privacy": "protected"
355
+ },
356
+ {
357
+ "kind": "field",
358
+ "name": "triggerElement",
359
+ "type": {
360
+ "text": "HTMLElement | VirtualTrigger | null"
361
+ }
362
+ },
363
+ {
364
+ "kind": "field",
365
+ "name": "type",
366
+ "type": {
367
+ "text": "OverlayTypes"
368
+ }
369
+ },
370
+ {
371
+ "kind": "method",
372
+ "name": "open",
373
+ "privacy": "public",
374
+ "static": true,
375
+ "return": {
376
+ "type": {
377
+ "text": "Promise<() => void>"
378
+ }
379
+ },
380
+ "parameters": [
381
+ {
382
+ "name": "trigger",
383
+ "type": {
384
+ "text": "HTMLElement"
385
+ }
386
+ },
387
+ {
388
+ "name": "interaction",
389
+ "type": {
390
+ "text": "TriggerInteractionsV1"
391
+ }
392
+ },
393
+ {
394
+ "name": "content",
395
+ "type": {
396
+ "text": "HTMLElement"
397
+ }
398
+ },
399
+ {
400
+ "name": "optionsV1",
401
+ "type": {
402
+ "text": "OverlayOptionsV1"
403
+ }
404
+ }
405
+ ]
406
+ },
407
+ {
408
+ "kind": "method",
409
+ "name": "open",
410
+ "privacy": "public",
411
+ "static": true,
412
+ "return": {
413
+ "type": {
414
+ "text": "Promise<Overlay>"
415
+ }
416
+ },
417
+ "parameters": [
418
+ {
419
+ "name": "content",
420
+ "type": {
421
+ "text": "HTMLElement"
422
+ }
423
+ },
424
+ {
425
+ "name": "options",
426
+ "optional": true,
427
+ "type": {
428
+ "text": "OverlayOptions"
429
+ }
430
+ }
431
+ ]
432
+ },
433
+ {
434
+ "kind": "method",
435
+ "name": "open",
436
+ "privacy": "public",
437
+ "static": true,
438
+ "return": {
439
+ "type": {
440
+ "text": "Promise<Overlay | (() => void)>"
441
+ }
442
+ },
443
+ "parameters": [
444
+ {
445
+ "name": "triggerOrContent",
446
+ "type": {
447
+ "text": "HTMLElement"
448
+ }
449
+ },
450
+ {
451
+ "name": "interactionOrOptions",
452
+ "type": {
453
+ "text": "| TriggerInteractionsV1\n | OverlayOptions\n | undefined"
454
+ }
455
+ },
456
+ {
457
+ "name": "content",
458
+ "optional": true,
459
+ "type": {
460
+ "text": "HTMLElement"
461
+ }
462
+ },
463
+ {
464
+ "name": "optionsV1",
465
+ "optional": true,
466
+ "type": {
467
+ "text": "OverlayOptionsV1"
468
+ }
469
+ }
470
+ ]
471
+ }
472
+ ],
473
+ "superclass": {
474
+ "name": "SpectrumElement",
475
+ "package": "@spectrum-web-components/base"
476
+ }
477
+ }
478
+ ],
479
+ "exports": [
480
+ {
481
+ "kind": "js",
482
+ "name": "overlayTimer",
483
+ "declaration": {
484
+ "name": "overlayTimer",
485
+ "module": "src/AbstractOverlay.ts"
486
+ }
487
+ },
488
+ {
489
+ "kind": "js",
490
+ "name": "noop",
491
+ "declaration": {
492
+ "name": "noop",
493
+ "module": "src/AbstractOverlay.ts"
494
+ }
495
+ },
496
+ {
497
+ "kind": "js",
498
+ "name": "BeforetoggleClosedEvent",
499
+ "declaration": {
500
+ "name": "BeforetoggleClosedEvent",
501
+ "module": "src/AbstractOverlay.ts"
502
+ }
503
+ },
504
+ {
505
+ "kind": "js",
506
+ "name": "BeforetoggleOpenEvent",
507
+ "declaration": {
508
+ "name": "BeforetoggleOpenEvent",
509
+ "module": "src/AbstractOverlay.ts"
510
+ }
511
+ },
512
+ {
513
+ "kind": "js",
514
+ "name": "guaranteedAllTransitionend",
515
+ "declaration": {
516
+ "name": "guaranteedAllTransitionend",
517
+ "module": "src/AbstractOverlay.ts"
518
+ }
519
+ },
520
+ {
521
+ "kind": "js",
522
+ "name": "nextFrame",
523
+ "declaration": {
524
+ "name": "nextFrame",
525
+ "module": "src/AbstractOverlay.ts"
526
+ }
527
+ },
528
+ {
529
+ "kind": "js",
530
+ "name": "AbstractOverlay",
531
+ "declaration": {
532
+ "name": "AbstractOverlay",
533
+ "module": "src/AbstractOverlay.ts"
534
+ }
535
+ }
536
+ ]
537
+ },
538
+ {
539
+ "kind": "javascript-module",
540
+ "path": "src/Overlay.ts",
541
+ "declarations": [
542
+ {
543
+ "kind": "variable",
544
+ "name": "LONGPRESS_INSTRUCTIONS",
545
+ "type": {
546
+ "text": "object"
547
+ },
548
+ "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}"
549
+ },
550
+ {
551
+ "kind": "class",
552
+ "description": "",
553
+ "name": "Overlay",
554
+ "members": [
555
+ {
556
+ "kind": "field",
557
+ "name": "abortController",
558
+ "type": {
559
+ "text": "AbortController"
560
+ }
561
+ },
562
+ {
563
+ "kind": "field",
564
+ "name": "delayed",
565
+ "type": {
566
+ "text": "boolean"
567
+ },
568
+ "default": "false",
569
+ "description": "An Overlay that is `delayed` will wait until a warm-up period of 1000ms\nhas completed before opening. Once the warmup period has completed, all\nsubsequent Overlays will open immediately. When no Overlays are opened,\na cooldown period of 1000ms will begin. Once the cooldown has completed,\nthe next Overlay to be opened will be subject to the warm-up period if\nprovided that option.",
570
+ "attribute": "delayed"
571
+ },
572
+ {
573
+ "kind": "field",
574
+ "name": "dialogEl",
575
+ "type": {
576
+ "text": "HTMLDialogElement & {\n showPopover(): void;\n hidePopover(): void;\n }"
577
+ }
578
+ },
579
+ {
580
+ "kind": "field",
581
+ "name": "disabled",
582
+ "type": {
583
+ "text": "boolean"
584
+ },
585
+ "description": "Whether the overlay is currently functional or not",
586
+ "attribute": "disabled"
587
+ },
588
+ {
589
+ "kind": "field",
590
+ "name": "_disabled",
591
+ "type": {
592
+ "text": "boolean"
593
+ },
594
+ "privacy": "private",
595
+ "default": "false"
596
+ },
597
+ {
598
+ "kind": "field",
599
+ "name": "elements",
600
+ "type": {
601
+ "text": "OpenableElement[]"
602
+ }
603
+ },
604
+ {
605
+ "kind": "field",
606
+ "name": "parentOverlayToForceClose",
607
+ "type": {
608
+ "text": "Overlay | undefined"
609
+ },
610
+ "privacy": "public"
611
+ },
612
+ {
613
+ "kind": "field",
614
+ "name": "hasNonVirtualTrigger",
615
+ "type": {
616
+ "text": "boolean"
617
+ },
618
+ "privacy": "private",
619
+ "readonly": true
620
+ },
621
+ {
622
+ "kind": "field",
623
+ "name": "longpressState",
624
+ "type": {
625
+ "text": "'null' | 'potential' | 'opening' | 'pressed'"
626
+ },
627
+ "privacy": "protected",
628
+ "default": "'null'"
629
+ },
630
+ {
631
+ "kind": "field",
632
+ "name": "longressTimeout",
633
+ "type": {
634
+ "text": "ReturnType<typeof setTimeout>"
635
+ },
636
+ "privacy": "private"
637
+ },
638
+ {
639
+ "kind": "field",
640
+ "name": "offset",
641
+ "type": {
642
+ "text": "number | [number, number]"
643
+ },
644
+ "default": "6",
645
+ "description": "The `offset` property accepts either a single number, to\ndefine the offset of the Overlay along the main axis from\nthe trigger, or 2-tuple, to define the offset along the\nmain axis and the cross axis. This option has no effect\nwhen there is no trigger element.",
646
+ "attribute": "offset"
647
+ },
648
+ {
649
+ "kind": "field",
650
+ "name": "placementController",
651
+ "privacy": "protected",
652
+ "default": "new PlacementController(this)"
653
+ },
654
+ {
655
+ "kind": "field",
656
+ "name": "open",
657
+ "type": {
658
+ "text": "boolean"
659
+ },
660
+ "attribute": "open",
661
+ "reflects": true
662
+ },
663
+ {
664
+ "kind": "field",
665
+ "name": "_open",
666
+ "type": {
667
+ "text": "boolean"
668
+ },
669
+ "privacy": "private",
670
+ "default": "false"
671
+ },
672
+ {
673
+ "kind": "field",
674
+ "name": "openCount",
675
+ "type": {
676
+ "text": "number"
677
+ },
678
+ "static": true,
679
+ "default": "1"
680
+ },
681
+ {
682
+ "kind": "field",
683
+ "name": "placement",
684
+ "type": {
685
+ "text": "Placement | undefined"
686
+ },
687
+ "description": "Instruct the Overlay where to place itself in\nrelationship to the trigger element.",
688
+ "attribute": "placement"
689
+ },
690
+ {
691
+ "kind": "field",
692
+ "name": "receivesFocus",
693
+ "type": {
694
+ "text": "'true' | 'false' | 'auto'"
695
+ },
696
+ "default": "'auto'",
697
+ "attribute": "receives-focus"
698
+ },
699
+ {
700
+ "kind": "field",
701
+ "name": "releaseAriaDescribedby",
702
+ "privacy": "private",
703
+ "default": "noop"
704
+ },
705
+ {
706
+ "kind": "field",
707
+ "name": "releaseLongpressDescribedby",
708
+ "privacy": "private",
709
+ "default": "noop"
710
+ },
711
+ {
712
+ "kind": "field",
713
+ "name": "slotEl",
714
+ "type": {
715
+ "text": "HTMLSlotElement"
716
+ }
717
+ },
718
+ {
719
+ "kind": "field",
720
+ "name": "state",
721
+ "type": {
722
+ "text": "OverlayState"
723
+ }
724
+ },
725
+ {
726
+ "kind": "field",
727
+ "name": "_state",
728
+ "type": {
729
+ "text": "OverlayState"
730
+ },
731
+ "default": "'closed'"
732
+ },
733
+ {
734
+ "kind": "field",
735
+ "name": "tipPadding",
736
+ "type": {
737
+ "text": "number | undefined"
738
+ },
739
+ "attribute": "tip-padding"
740
+ },
741
+ {
742
+ "kind": "field",
743
+ "name": "trigger",
744
+ "type": {
745
+ "text": "string | undefined"
746
+ },
747
+ "description": "An optional ID reference for the trigger element combined with the optional\ninteraction (click | hover | longpress) by which the overlay shold open\nthe overlay with an `@`: e.g. `trigger@click` opens the overlay when an\nelement with the ID \"trigger\" is clicked.",
748
+ "attribute": "trigger"
749
+ },
750
+ {
751
+ "kind": "field",
752
+ "name": "triggerElement",
753
+ "type": {
754
+ "text": "HTMLElement | VirtualTrigger | null"
755
+ },
756
+ "default": "null",
757
+ "description": "An element reference for the trigger element that the overlay should relate to."
758
+ },
759
+ {
760
+ "kind": "field",
761
+ "name": "triggerInteraction",
762
+ "type": {
763
+ "text": "'click' | 'longpress' | 'hover' | undefined"
764
+ },
765
+ "description": "The specific interaction to listen for on the `triggerElement` to open the overlay."
766
+ },
767
+ {
768
+ "kind": "field",
769
+ "name": "type",
770
+ "type": {
771
+ "text": "OverlayTypes"
772
+ },
773
+ "default": "'hint'",
774
+ "attribute": "type"
775
+ },
776
+ {
777
+ "kind": "field",
778
+ "name": "wasOpen",
779
+ "type": {
780
+ "text": "boolean"
781
+ },
782
+ "privacy": "protected",
783
+ "default": "false"
784
+ },
785
+ {
786
+ "kind": "field",
787
+ "name": "elementResolver",
788
+ "privacy": "private",
789
+ "default": "new ElementResolutionController(this)"
790
+ },
791
+ {
792
+ "kind": "field",
793
+ "name": "usesDialog",
794
+ "type": {
795
+ "text": "boolean"
796
+ },
797
+ "privacy": "private",
798
+ "readonly": true
799
+ },
800
+ {
801
+ "kind": "field",
802
+ "name": "popoverValue",
803
+ "type": {
804
+ "text": "'auto' | 'manual' | undefined"
805
+ },
806
+ "privacy": "private",
807
+ "readonly": true
808
+ },
809
+ {
810
+ "kind": "field",
811
+ "name": "requiresPosition",
812
+ "type": {
813
+ "text": "boolean"
814
+ },
815
+ "privacy": "protected",
816
+ "readonly": true
817
+ },
818
+ {
819
+ "kind": "method",
820
+ "name": "managePosition",
821
+ "privacy": "protected",
822
+ "return": {
823
+ "type": {
824
+ "text": "void"
825
+ }
826
+ }
827
+ },
828
+ {
829
+ "kind": "method",
830
+ "name": "managePopoverOpen",
831
+ "privacy": "protected",
832
+ "return": {
833
+ "type": {
834
+ "text": "Promise<void>"
835
+ }
836
+ }
837
+ },
838
+ {
839
+ "kind": "method",
840
+ "name": "applyFocus",
841
+ "privacy": "protected",
842
+ "return": {
843
+ "type": {
844
+ "text": "Promise<void>"
845
+ }
846
+ },
847
+ "parameters": [
848
+ {
849
+ "name": "targetOpenState",
850
+ "type": {
851
+ "text": "boolean"
852
+ }
853
+ },
854
+ {
855
+ "name": "focusEl",
856
+ "type": {
857
+ "text": "HTMLElement | null"
858
+ }
859
+ }
860
+ ]
861
+ },
862
+ {
863
+ "kind": "method",
864
+ "name": "manageOpen",
865
+ "privacy": "protected",
866
+ "return": {
867
+ "type": {
868
+ "text": "Promise<void>"
869
+ }
870
+ },
871
+ "parameters": [
872
+ {
873
+ "name": "oldOpen",
874
+ "type": {
875
+ "text": "boolean"
876
+ }
877
+ }
878
+ ]
879
+ },
880
+ {
881
+ "kind": "method",
882
+ "name": "unbindEvents",
883
+ "privacy": "protected",
884
+ "return": {
885
+ "type": {
886
+ "text": "void"
887
+ }
888
+ }
889
+ },
890
+ {
891
+ "kind": "method",
892
+ "name": "bindEvents",
893
+ "privacy": "protected",
894
+ "return": {
895
+ "type": {
896
+ "text": "void"
897
+ }
898
+ }
899
+ },
900
+ {
901
+ "kind": "method",
902
+ "name": "bindClickEvents",
903
+ "privacy": "protected",
904
+ "return": {
905
+ "type": {
906
+ "text": "void"
907
+ }
908
+ },
909
+ "parameters": [
910
+ {
911
+ "name": "triggerElement",
912
+ "type": {
913
+ "text": "HTMLElement"
914
+ }
915
+ }
916
+ ]
917
+ },
918
+ {
919
+ "kind": "method",
920
+ "name": "bindLongpressEvents",
921
+ "privacy": "protected",
922
+ "return": {
923
+ "type": {
924
+ "text": "void"
925
+ }
926
+ },
927
+ "parameters": [
928
+ {
929
+ "name": "triggerElement",
930
+ "type": {
931
+ "text": "HTMLElement"
932
+ }
933
+ }
934
+ ]
935
+ },
936
+ {
937
+ "kind": "method",
938
+ "name": "bindHoverEvents",
939
+ "privacy": "protected",
940
+ "return": {
941
+ "type": {
942
+ "text": "void"
943
+ }
944
+ },
945
+ "parameters": [
946
+ {
947
+ "name": "triggerElement",
948
+ "type": {
949
+ "text": "HTMLElement"
950
+ }
951
+ }
952
+ ]
953
+ },
954
+ {
955
+ "kind": "method",
956
+ "name": "manageTriggerElement",
957
+ "privacy": "protected",
958
+ "return": {
959
+ "type": {
960
+ "text": "void"
961
+ }
962
+ },
963
+ "parameters": [
964
+ {
965
+ "name": "triggerElement",
966
+ "type": {
967
+ "text": "HTMLElement | null"
968
+ }
969
+ }
970
+ ]
971
+ },
972
+ {
973
+ "kind": "field",
974
+ "name": "elementIds",
975
+ "type": {
976
+ "text": "string[]"
977
+ },
978
+ "privacy": "private",
979
+ "default": "[]"
980
+ },
981
+ {
982
+ "kind": "method",
983
+ "name": "prepareLongpressDescription",
984
+ "privacy": "private",
985
+ "return": {
986
+ "type": {
987
+ "text": "void"
988
+ }
989
+ },
990
+ "parameters": [
991
+ {
992
+ "name": "trigger",
993
+ "type": {
994
+ "text": "HTMLElement"
995
+ }
996
+ }
997
+ ]
998
+ },
999
+ {
1000
+ "kind": "method",
1001
+ "name": "prepareAriaDescribedby",
1002
+ "privacy": "private",
1003
+ "return": {
1004
+ "type": {
1005
+ "text": "void"
1006
+ }
1007
+ },
1008
+ "parameters": [
1009
+ {
1010
+ "name": "trigger",
1011
+ "type": {
1012
+ "text": "HTMLElement"
1013
+ }
1014
+ }
1015
+ ]
1016
+ },
1017
+ {
1018
+ "kind": "field",
1019
+ "name": "handlePointerdown",
1020
+ "privacy": "private"
1021
+ },
1022
+ {
1023
+ "kind": "field",
1024
+ "name": "handlePointerup",
1025
+ "privacy": "private"
1026
+ },
1027
+ {
1028
+ "kind": "field",
1029
+ "name": "handleKeydown",
1030
+ "privacy": "private"
1031
+ },
1032
+ {
1033
+ "kind": "field",
1034
+ "name": "handleKeyup",
1035
+ "privacy": "protected"
1036
+ },
1037
+ {
1038
+ "kind": "field",
1039
+ "name": "preventNextToggle",
1040
+ "type": {
1041
+ "text": "boolean"
1042
+ },
1043
+ "privacy": "private",
1044
+ "default": "false",
1045
+ "description": "An overlay with a `click` interaction should not close on click `triggerElement`.\nWhen a click is initiated (`pointerdown`), apply `preventNextToggle` when the\noverlay is `open` to prevent from toggling the overlay when the click event\npropagates later in the interaction."
1046
+ },
1047
+ {
1048
+ "kind": "field",
1049
+ "name": "handlePointerdownForClick",
1050
+ "privacy": "protected"
1051
+ },
1052
+ {
1053
+ "kind": "field",
1054
+ "name": "handleClick",
1055
+ "privacy": "protected"
1056
+ },
1057
+ {
1058
+ "kind": "field",
1059
+ "name": "focusedin",
1060
+ "type": {
1061
+ "text": "boolean"
1062
+ },
1063
+ "privacy": "private",
1064
+ "default": "false"
1065
+ },
1066
+ {
1067
+ "kind": "field",
1068
+ "name": "handleFocusin",
1069
+ "privacy": "protected"
1070
+ },
1071
+ {
1072
+ "kind": "field",
1073
+ "name": "handleFocusout",
1074
+ "privacy": "protected"
1075
+ },
1076
+ {
1077
+ "kind": "field",
1078
+ "name": "pointerentered",
1079
+ "type": {
1080
+ "text": "boolean"
1081
+ },
1082
+ "privacy": "private",
1083
+ "default": "false"
1084
+ },
1085
+ {
1086
+ "kind": "field",
1087
+ "name": "handlePointerenter",
1088
+ "privacy": "protected"
1089
+ },
1090
+ {
1091
+ "kind": "field",
1092
+ "name": "handlePointerleave",
1093
+ "privacy": "protected"
1094
+ },
1095
+ {
1096
+ "kind": "field",
1097
+ "name": "handleOverlayPointerleave",
1098
+ "privacy": "protected"
1099
+ },
1100
+ {
1101
+ "kind": "method",
1102
+ "name": "doPointerleave",
1103
+ "privacy": "protected",
1104
+ "return": {
1105
+ "type": {
1106
+ "text": "void"
1107
+ }
1108
+ }
1109
+ },
1110
+ {
1111
+ "kind": "field",
1112
+ "name": "handleLongpress",
1113
+ "privacy": "protected"
1114
+ },
1115
+ {
1116
+ "kind": "method",
1117
+ "name": "handleBeforetoggle",
1118
+ "privacy": "protected",
1119
+ "return": {
1120
+ "type": {
1121
+ "text": "void"
1122
+ }
1123
+ },
1124
+ "parameters": [
1125
+ {
1126
+ "name": "event",
1127
+ "type": {
1128
+ "text": "Event & { newState: string }"
1129
+ }
1130
+ }
1131
+ ]
1132
+ },
1133
+ {
1134
+ "kind": "method",
1135
+ "name": "handleBrowserClose",
1136
+ "privacy": "protected",
1137
+ "return": {
1138
+ "type": {
1139
+ "text": "void"
1140
+ }
1141
+ }
1142
+ },
1143
+ {
1144
+ "kind": "method",
1145
+ "name": "handleSlotchange",
1146
+ "privacy": "protected",
1147
+ "return": {
1148
+ "type": {
1149
+ "text": "void"
1150
+ }
1151
+ }
1152
+ },
1153
+ {
1154
+ "kind": "field",
1155
+ "name": "willPreventClose",
1156
+ "type": {
1157
+ "text": "boolean"
1158
+ },
1159
+ "privacy": "public",
1160
+ "default": "false"
1161
+ },
1162
+ {
1163
+ "kind": "method",
1164
+ "name": "shouldPreventClose",
1165
+ "privacy": "public",
1166
+ "return": {
1167
+ "type": {
1168
+ "text": "boolean"
1169
+ }
1170
+ }
1171
+ },
1172
+ {
1173
+ "kind": "method",
1174
+ "name": "renderContent",
1175
+ "privacy": "protected",
1176
+ "return": {
1177
+ "type": {
1178
+ "text": "TemplateResult"
1179
+ }
1180
+ }
1181
+ },
1182
+ {
1183
+ "kind": "field",
1184
+ "name": "dialogStyleMap",
1185
+ "type": {
1186
+ "text": "StyleInfo"
1187
+ },
1188
+ "privacy": "private",
1189
+ "readonly": true
1190
+ },
1191
+ {
1192
+ "kind": "method",
1193
+ "name": "renderDialog",
1194
+ "privacy": "protected",
1195
+ "return": {
1196
+ "type": {
1197
+ "text": "TemplateResult"
1198
+ }
1199
+ }
1200
+ },
1201
+ {
1202
+ "kind": "method",
1203
+ "name": "renderPopover",
1204
+ "privacy": "protected",
1205
+ "return": {
1206
+ "type": {
1207
+ "text": "TemplateResult"
1208
+ }
1209
+ }
1210
+ }
1211
+ ],
1212
+ "events": [
1213
+ {
1214
+ "description": "announces that an overlay has completed any entry animations",
1215
+ "name": "sp-opened"
1216
+ },
1217
+ {
1218
+ "description": "announce that an overlay has compelted any exit animations",
1219
+ "name": "sp-closed"
1220
+ }
1221
+ ],
1222
+ "attributes": [
1223
+ {
1224
+ "name": "delayed",
1225
+ "type": {
1226
+ "text": "boolean"
1227
+ },
1228
+ "default": "false",
1229
+ "description": "An Overlay that is `delayed` will wait until a warm-up period of 1000ms\nhas completed before opening. Once the warmup period has completed, all\nsubsequent Overlays will open immediately. When no Overlays are opened,\na cooldown period of 1000ms will begin. Once the cooldown has completed,\nthe next Overlay to be opened will be subject to the warm-up period if\nprovided that option.",
1230
+ "fieldName": "delayed"
1231
+ },
1232
+ {
1233
+ "name": "disabled",
1234
+ "type": {
1235
+ "text": "boolean"
1236
+ },
1237
+ "description": "Whether the overlay is currently functional or not",
1238
+ "fieldName": "disabled"
1239
+ },
1240
+ {
1241
+ "name": "offset",
1242
+ "type": {
1243
+ "text": "number | [number, number]"
1244
+ },
1245
+ "default": "6",
1246
+ "description": "The `offset` property accepts either a single number, to\ndefine the offset of the Overlay along the main axis from\nthe trigger, or 2-tuple, to define the offset along the\nmain axis and the cross axis. This option has no effect\nwhen there is no trigger element.",
1247
+ "fieldName": "offset"
1248
+ },
1249
+ {
1250
+ "name": "open",
1251
+ "type": {
1252
+ "text": "boolean"
1253
+ },
1254
+ "fieldName": "open"
1255
+ },
1256
+ {
1257
+ "name": "placement",
1258
+ "type": {
1259
+ "text": "Placement | undefined"
1260
+ },
1261
+ "description": "Instruct the Overlay where to place itself in\nrelationship to the trigger element.",
1262
+ "fieldName": "placement"
1263
+ },
1264
+ {
1265
+ "name": "receives-focus",
1266
+ "type": {
1267
+ "text": "'true' | 'false' | 'auto'"
1268
+ },
1269
+ "default": "'auto'",
1270
+ "fieldName": "receivesFocus"
1271
+ },
1272
+ {
1273
+ "name": "tip-padding",
1274
+ "type": {
1275
+ "text": "number | undefined"
1276
+ },
1277
+ "fieldName": "tipPadding"
1278
+ },
1279
+ {
1280
+ "name": "trigger",
1281
+ "type": {
1282
+ "text": "string | undefined"
1283
+ },
1284
+ "description": "An optional ID reference for the trigger element combined with the optional\ninteraction (click | hover | longpress) by which the overlay shold open\nthe overlay with an `@`: e.g. `trigger@click` opens the overlay when an\nelement with the ID \"trigger\" is clicked.",
1285
+ "fieldName": "trigger"
1286
+ },
1287
+ {
1288
+ "name": "type",
1289
+ "type": {
1290
+ "text": "OverlayTypes"
1291
+ },
1292
+ "default": "'hint'",
1293
+ "fieldName": "type"
1294
+ }
1295
+ ],
1296
+ "superclass": {
1297
+ "name": "OverlayFeatures",
1298
+ "module": "src/Overlay.ts"
1299
+ },
1300
+ "tagName": "sp-overlay",
1301
+ "customElement": true
1302
+ }
1303
+ ],
1304
+ "exports": [
1305
+ {
1306
+ "kind": "js",
1307
+ "name": "LONGPRESS_INSTRUCTIONS",
1308
+ "declaration": {
1309
+ "name": "LONGPRESS_INSTRUCTIONS",
1310
+ "module": "src/Overlay.ts"
1311
+ }
1312
+ },
1313
+ {
1314
+ "kind": "js",
1315
+ "name": "Overlay",
1316
+ "declaration": {
1317
+ "name": "Overlay",
1318
+ "module": "src/Overlay.ts"
1319
+ }
1320
+ }
1321
+ ]
1322
+ },
1323
+ {
1324
+ "kind": "javascript-module",
1325
+ "path": "src/OverlayDialog.ts",
1326
+ "declarations": [
1327
+ {
1328
+ "kind": "mixin",
1329
+ "description": "",
1330
+ "name": "OverlayDialog",
1331
+ "members": [
1332
+ {
1333
+ "kind": "method",
1334
+ "name": "manageDialogOpen",
1335
+ "privacy": "protected",
1336
+ "return": {
1337
+ "type": {
1338
+ "text": "Promise<void>"
1339
+ }
1340
+ }
1341
+ },
1342
+ {
1343
+ "kind": "method",
1344
+ "name": "dialogMakeTransition",
1345
+ "privacy": "protected",
1346
+ "return": {
1347
+ "type": {
1348
+ "text": "Promise<HTMLElement | null>"
1349
+ }
1350
+ },
1351
+ "parameters": [
1352
+ {
1353
+ "name": "targetOpenState",
1354
+ "type": {
1355
+ "text": "boolean"
1356
+ }
1357
+ }
1358
+ ]
1359
+ },
1360
+ {
1361
+ "kind": "method",
1362
+ "name": "dialogApplyFocus",
1363
+ "privacy": "protected",
1364
+ "return": {
1365
+ "type": {
1366
+ "text": "Promise<void>"
1367
+ }
1368
+ },
1369
+ "parameters": [
1370
+ {
1371
+ "name": "targetOpenState",
1372
+ "type": {
1373
+ "text": "boolean"
1374
+ }
1375
+ },
1376
+ {
1377
+ "name": "focusEl",
1378
+ "type": {
1379
+ "text": "HTMLElement | null"
1380
+ }
1381
+ }
1382
+ ]
1383
+ }
1384
+ ],
1385
+ "events": [
1386
+ {
1387
+ "type": {
1388
+ "text": "event"
1389
+ }
1390
+ },
1391
+ {
1392
+ "name": "eventName",
1393
+ "type": {
1394
+ "text": "Event"
1395
+ }
1396
+ }
1397
+ ],
1398
+ "parameters": [
1399
+ {
1400
+ "name": "constructor",
1401
+ "type": {
1402
+ "text": "T"
1403
+ }
1404
+ }
1405
+ ]
1406
+ }
1407
+ ],
1408
+ "exports": [
1409
+ {
1410
+ "kind": "js",
1411
+ "name": "OverlayDialog",
1412
+ "declaration": {
1413
+ "name": "OverlayDialog",
1414
+ "module": "src/OverlayDialog.ts"
1415
+ }
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "kind": "javascript-module",
1421
+ "path": "src/OverlayNoPopover.ts",
1422
+ "declarations": [
1423
+ {
1424
+ "kind": "mixin",
1425
+ "description": "",
1426
+ "name": "OverlayNoPopover",
1427
+ "members": [
1428
+ {
1429
+ "kind": "method",
1430
+ "name": "managePopoverOpen",
1431
+ "privacy": "protected",
1432
+ "return": {
1433
+ "type": {
1434
+ "text": "Promise<void>"
1435
+ }
1436
+ }
1437
+ },
1438
+ {
1439
+ "kind": "method",
1440
+ "name": "manageDelay",
1441
+ "privacy": "protected",
1442
+ "return": {
1443
+ "type": {
1444
+ "text": "Promise<void>"
1445
+ }
1446
+ },
1447
+ "parameters": [
1448
+ {
1449
+ "name": "targetOpenState",
1450
+ "type": {
1451
+ "text": "boolean"
1452
+ }
1453
+ }
1454
+ ]
1455
+ },
1456
+ {
1457
+ "kind": "method",
1458
+ "name": "ensureOnDOM",
1459
+ "privacy": "protected",
1460
+ "return": {
1461
+ "type": {
1462
+ "text": "Promise<void>"
1463
+ }
1464
+ },
1465
+ "parameters": [
1466
+ {
1467
+ "name": "_targetOpenState",
1468
+ "type": {
1469
+ "text": "boolean"
1470
+ }
1471
+ }
1472
+ ]
1473
+ },
1474
+ {
1475
+ "kind": "method",
1476
+ "name": "makeTransition",
1477
+ "privacy": "protected",
1478
+ "return": {
1479
+ "type": {
1480
+ "text": "Promise<HTMLElement | null>"
1481
+ }
1482
+ },
1483
+ "parameters": [
1484
+ {
1485
+ "name": "targetOpenState",
1486
+ "type": {
1487
+ "text": "boolean"
1488
+ }
1489
+ }
1490
+ ]
1491
+ }
1492
+ ],
1493
+ "events": [
1494
+ {
1495
+ "type": {
1496
+ "text": "event"
1497
+ }
1498
+ },
1499
+ {
1500
+ "name": "eventName",
1501
+ "type": {
1502
+ "text": "Event"
1503
+ }
1504
+ }
1505
+ ],
1506
+ "parameters": [
1507
+ {
1508
+ "name": "constructor",
1509
+ "type": {
1510
+ "text": "T"
1511
+ }
1512
+ }
1513
+ ]
1514
+ }
1515
+ ],
1516
+ "exports": [
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "OverlayNoPopover",
1520
+ "declaration": {
1521
+ "name": "OverlayNoPopover",
1522
+ "module": "src/OverlayNoPopover.ts"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1527
+ {
1528
+ "kind": "javascript-module",
1529
+ "path": "src/OverlayPopover.ts",
1530
+ "declarations": [
1531
+ {
1532
+ "kind": "mixin",
1533
+ "description": "",
1534
+ "name": "OverlayPopover",
1535
+ "members": [
1536
+ {
1537
+ "kind": "method",
1538
+ "name": "manageDelay",
1539
+ "privacy": "protected",
1540
+ "return": {
1541
+ "type": {
1542
+ "text": "Promise<void>"
1543
+ }
1544
+ },
1545
+ "parameters": [
1546
+ {
1547
+ "name": "targetOpenState",
1548
+ "type": {
1549
+ "text": "boolean"
1550
+ }
1551
+ }
1552
+ ]
1553
+ },
1554
+ {
1555
+ "kind": "method",
1556
+ "name": "shouldHidePopover",
1557
+ "privacy": "private",
1558
+ "return": {
1559
+ "type": {
1560
+ "text": "Promise<void>"
1561
+ }
1562
+ },
1563
+ "parameters": [
1564
+ {
1565
+ "name": "targetOpenState",
1566
+ "type": {
1567
+ "text": "boolean"
1568
+ }
1569
+ }
1570
+ ]
1571
+ },
1572
+ {
1573
+ "kind": "method",
1574
+ "name": "shouldShowPopover",
1575
+ "privacy": "private",
1576
+ "return": {
1577
+ "type": {
1578
+ "text": "Promise<void>"
1579
+ }
1580
+ },
1581
+ "parameters": [
1582
+ {
1583
+ "name": "targetOpenState",
1584
+ "type": {
1585
+ "text": "boolean"
1586
+ }
1587
+ }
1588
+ ]
1589
+ },
1590
+ {
1591
+ "kind": "method",
1592
+ "name": "ensureOnDOM",
1593
+ "privacy": "protected",
1594
+ "return": {
1595
+ "type": {
1596
+ "text": "Promise<void>"
1597
+ }
1598
+ },
1599
+ "parameters": [
1600
+ {
1601
+ "name": "targetOpenState",
1602
+ "type": {
1603
+ "text": "boolean"
1604
+ }
1605
+ }
1606
+ ]
1607
+ },
1608
+ {
1609
+ "kind": "method",
1610
+ "name": "makeTransition",
1611
+ "privacy": "protected",
1612
+ "return": {
1613
+ "type": {
1614
+ "text": "Promise<HTMLElement | null>"
1615
+ }
1616
+ },
1617
+ "parameters": [
1618
+ {
1619
+ "name": "targetOpenState",
1620
+ "type": {
1621
+ "text": "boolean"
1622
+ }
1623
+ }
1624
+ ]
1625
+ }
1626
+ ],
1627
+ "events": [
1628
+ {
1629
+ "type": {
1630
+ "text": "event"
1631
+ }
1632
+ },
1633
+ {
1634
+ "name": "eventName",
1635
+ "type": {
1636
+ "text": "Event"
1637
+ }
1638
+ }
1639
+ ],
1640
+ "parameters": [
1641
+ {
1642
+ "name": "constructor",
1643
+ "type": {
1644
+ "text": "T"
1645
+ }
1646
+ }
1647
+ ]
1648
+ }
1649
+ ],
1650
+ "exports": [
1651
+ {
1652
+ "kind": "js",
1653
+ "name": "OverlayPopover",
1654
+ "declaration": {
1655
+ "name": "OverlayPopover",
1656
+ "module": "src/OverlayPopover.ts"
1657
+ }
1658
+ }
1659
+ ]
1660
+ },
1661
+ {
1662
+ "kind": "javascript-module",
1663
+ "path": "src/OverlayStack.ts",
1664
+ "declarations": [
1665
+ {
1666
+ "kind": "variable",
1667
+ "name": "overlayStack",
1668
+ "default": "new OverlayStack()"
1669
+ }
1670
+ ],
1671
+ "exports": [
1672
+ {
1673
+ "kind": "js",
1674
+ "name": "overlayStack",
1675
+ "declaration": {
1676
+ "name": "overlayStack",
1677
+ "module": "src/OverlayStack.ts"
1678
+ }
1679
+ }
1680
+ ]
1681
+ },
1682
+ {
1683
+ "kind": "javascript-module",
1684
+ "path": "src/OverlayTrigger.ts",
1685
+ "declarations": [
1686
+ {
1687
+ "kind": "class",
1688
+ "description": "",
1689
+ "name": "OverlayTrigger",
1690
+ "slots": [
1691
+ {
1692
+ "description": "The content that will trigger the various overlays",
1693
+ "name": "trigger"
1694
+ },
1695
+ {
1696
+ "description": "The content that will be displayed on hover",
1697
+ "name": "hover-content"
1698
+ },
1699
+ {
1700
+ "description": "The content that will be displayed on click",
1701
+ "name": "click-content"
1702
+ },
1703
+ {
1704
+ "description": "The content that will be displayed on click",
1705
+ "name": "longpress-content"
1706
+ }
1707
+ ],
1708
+ "members": [
1709
+ {
1710
+ "kind": "field",
1711
+ "name": "placement",
1712
+ "type": {
1713
+ "text": "\"auto\" | \"auto-start\" | \"auto-end\" | \"top\" | \"bottom\" | \"right\" | \"left\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\""
1714
+ },
1715
+ "privacy": "public",
1716
+ "attribute": "placement",
1717
+ "reflects": true
1718
+ },
1719
+ {
1720
+ "kind": "field",
1721
+ "name": "type",
1722
+ "type": {
1723
+ "text": "OverlayTriggerInteractions | undefined"
1724
+ },
1725
+ "privacy": "public",
1726
+ "attribute": "type"
1727
+ },
1728
+ {
1729
+ "kind": "field",
1730
+ "name": "offset",
1731
+ "type": {
1732
+ "text": "number"
1733
+ },
1734
+ "privacy": "public",
1735
+ "default": "6",
1736
+ "attribute": "offset"
1737
+ },
1738
+ {
1739
+ "kind": "field",
1740
+ "name": "open",
1741
+ "type": {
1742
+ "text": "OverlayContentTypes | undefined"
1743
+ },
1744
+ "privacy": "public",
1745
+ "attribute": "open",
1746
+ "reflects": true
1747
+ },
1748
+ {
1749
+ "kind": "field",
1750
+ "name": "disabled",
1751
+ "type": {
1752
+ "text": "boolean"
1753
+ },
1754
+ "privacy": "public",
1755
+ "default": "false",
1756
+ "attribute": "disabled",
1757
+ "reflects": true
1758
+ },
1759
+ {
1760
+ "kind": "field",
1761
+ "name": "clickContent",
1762
+ "type": {
1763
+ "text": "HTMLElement[]"
1764
+ },
1765
+ "privacy": "private",
1766
+ "default": "[]"
1767
+ },
1768
+ {
1769
+ "kind": "field",
1770
+ "name": "clickPlacement",
1771
+ "type": {
1772
+ "text": "Placement | undefined"
1773
+ },
1774
+ "privacy": "private"
1775
+ },
1776
+ {
1777
+ "kind": "field",
1778
+ "name": "longpressContent",
1779
+ "type": {
1780
+ "text": "HTMLElement[]"
1781
+ },
1782
+ "privacy": "private",
1783
+ "default": "[]"
1784
+ },
1785
+ {
1786
+ "kind": "field",
1787
+ "name": "longpressPlacement",
1788
+ "type": {
1789
+ "text": "Placement | undefined"
1790
+ },
1791
+ "privacy": "private"
1792
+ },
1793
+ {
1794
+ "kind": "field",
1795
+ "name": "hoverContent",
1796
+ "type": {
1797
+ "text": "HTMLElement[]"
1798
+ },
1799
+ "privacy": "private",
1800
+ "default": "[]"
1801
+ },
1802
+ {
1803
+ "kind": "field",
1804
+ "name": "hoverPlacement",
1805
+ "type": {
1806
+ "text": "Placement | undefined"
1807
+ },
1808
+ "privacy": "private"
1809
+ },
1810
+ {
1811
+ "kind": "field",
1812
+ "name": "targetContent",
1813
+ "type": {
1814
+ "text": "HTMLElement[]"
1815
+ },
1816
+ "privacy": "private",
1817
+ "default": "[]"
1818
+ },
1819
+ {
1820
+ "kind": "field",
1821
+ "name": "clickOverlayElement",
1822
+ "type": {
1823
+ "text": "Overlay"
1824
+ }
1825
+ },
1826
+ {
1827
+ "kind": "field",
1828
+ "name": "longpressOverlayElement",
1829
+ "type": {
1830
+ "text": "Overlay"
1831
+ }
1832
+ },
1833
+ {
1834
+ "kind": "field",
1835
+ "name": "hoverOverlayElement",
1836
+ "type": {
1837
+ "text": "Overlay"
1838
+ }
1839
+ },
1840
+ {
1841
+ "kind": "field",
1842
+ "name": "_longpressId",
1843
+ "privacy": "private",
1844
+ "default": "`longpress-describedby-descriptor`"
1845
+ },
1846
+ {
1847
+ "kind": "method",
1848
+ "name": "getAssignedElementsFromSlot",
1849
+ "privacy": "private",
1850
+ "return": {
1851
+ "type": {
1852
+ "text": "HTMLElement[]"
1853
+ }
1854
+ },
1855
+ "parameters": [
1856
+ {
1857
+ "name": "slot",
1858
+ "type": {
1859
+ "text": "HTMLSlotElement"
1860
+ }
1861
+ }
1862
+ ]
1863
+ },
1864
+ {
1865
+ "kind": "method",
1866
+ "name": "handleTriggerContent",
1867
+ "privacy": "private",
1868
+ "return": {
1869
+ "type": {
1870
+ "text": "void"
1871
+ }
1872
+ },
1873
+ "parameters": [
1874
+ {
1875
+ "name": "event",
1876
+ "type": {
1877
+ "text": "Event & { target: HTMLSlotElement }"
1878
+ }
1879
+ }
1880
+ ]
1881
+ },
1882
+ {
1883
+ "kind": "method",
1884
+ "name": "handleClickContent",
1885
+ "privacy": "private",
1886
+ "return": {
1887
+ "type": {
1888
+ "text": "void"
1889
+ }
1890
+ },
1891
+ "parameters": [
1892
+ {
1893
+ "name": "event",
1894
+ "type": {
1895
+ "text": "Event & { target: HTMLSlotElement }"
1896
+ }
1897
+ }
1898
+ ]
1899
+ },
1900
+ {
1901
+ "kind": "method",
1902
+ "name": "handleLongpressContent",
1903
+ "privacy": "private",
1904
+ "return": {
1905
+ "type": {
1906
+ "text": "void"
1907
+ }
1908
+ },
1909
+ "parameters": [
1910
+ {
1911
+ "name": "event",
1912
+ "type": {
1913
+ "text": "Event & { target: HTMLSlotElement }"
1914
+ }
1915
+ }
1916
+ ]
1917
+ },
1918
+ {
1919
+ "kind": "method",
1920
+ "name": "handleHoverContent",
1921
+ "privacy": "private",
1922
+ "return": {
1923
+ "type": {
1924
+ "text": "void"
1925
+ }
1926
+ },
1927
+ "parameters": [
1928
+ {
1929
+ "name": "event",
1930
+ "type": {
1931
+ "text": "Event & { target: HTMLSlotElement }"
1932
+ }
1933
+ }
1934
+ ]
1935
+ },
1936
+ {
1937
+ "kind": "method",
1938
+ "name": "handleBeforetoggle",
1939
+ "privacy": "private",
1940
+ "return": {
1941
+ "type": {
1942
+ "text": "void"
1943
+ }
1944
+ },
1945
+ "parameters": [
1946
+ {
1947
+ "name": "event",
1948
+ "type": {
1949
+ "text": "BeforetoggleOpenEvent"
1950
+ }
1951
+ }
1952
+ ]
1953
+ },
1954
+ {
1955
+ "kind": "method",
1956
+ "name": "getUpdateComplete",
1957
+ "privacy": "protected",
1958
+ "return": {
1959
+ "type": {
1960
+ "text": "Promise<boolean>"
1961
+ }
1962
+ }
1963
+ }
1964
+ ],
1965
+ "events": [
1966
+ {
1967
+ "description": "Announces that the overlay has been opened",
1968
+ "name": "sp-opened"
1969
+ },
1970
+ {
1971
+ "description": "Announces that the overlay has been closed",
1972
+ "name": "sp-closed"
1973
+ }
1974
+ ],
1975
+ "attributes": [
1976
+ {
1977
+ "name": "placement",
1978
+ "type": {
1979
+ "text": "\"auto\" | \"auto-start\" | \"auto-end\" | \"top\" | \"bottom\" | \"right\" | \"left\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\""
1980
+ },
1981
+ "fieldName": "placement",
1982
+ "attribute": "placement"
1983
+ },
1984
+ {
1985
+ "name": "type",
1986
+ "type": {
1987
+ "text": "OverlayTriggerInteractions | undefined"
1988
+ },
1989
+ "fieldName": "type"
1990
+ },
1991
+ {
1992
+ "name": "offset",
1993
+ "type": {
1994
+ "text": "number"
1995
+ },
1996
+ "default": "6",
1997
+ "fieldName": "offset"
1998
+ },
1999
+ {
2000
+ "name": "open",
2001
+ "type": {
2002
+ "text": "OverlayContentTypes | undefined"
2003
+ },
2004
+ "fieldName": "open"
2005
+ },
2006
+ {
2007
+ "name": "disabled",
2008
+ "type": {
2009
+ "text": "boolean"
2010
+ },
2011
+ "default": "false",
2012
+ "fieldName": "disabled"
2013
+ }
2014
+ ],
2015
+ "superclass": {
2016
+ "name": "SpectrumElement",
2017
+ "package": "@spectrum-web-components/base"
2018
+ },
2019
+ "tagName": "overlay-trigger",
2020
+ "customElement": true
2021
+ }
2022
+ ],
2023
+ "exports": [
2024
+ {
2025
+ "kind": "js",
2026
+ "name": "OverlayTrigger",
2027
+ "declaration": {
2028
+ "name": "OverlayTrigger",
2029
+ "module": "src/OverlayTrigger.ts"
2030
+ }
2031
+ }
2032
+ ]
2033
+ },
2034
+ {
2035
+ "kind": "javascript-module",
2036
+ "path": "src/PlacementController.ts",
2037
+ "declarations": [
2038
+ {
2039
+ "kind": "variable",
2040
+ "name": "placementUpdatedSymbol"
2041
+ },
2042
+ {
2043
+ "kind": "class",
2044
+ "description": "",
2045
+ "name": "PlacementController",
2046
+ "members": [
2047
+ {
2048
+ "kind": "field",
2049
+ "name": "cleanup",
2050
+ "type": {
2051
+ "text": "() => void | undefined"
2052
+ },
2053
+ "privacy": "private"
2054
+ },
2055
+ {
2056
+ "kind": "field",
2057
+ "name": "initialHeight",
2058
+ "type": {
2059
+ "text": "number | undefined"
2060
+ }
2061
+ },
2062
+ {
2063
+ "kind": "field",
2064
+ "name": "isConstrained",
2065
+ "type": {
2066
+ "text": "boolean | undefined"
2067
+ }
2068
+ },
2069
+ {
2070
+ "kind": "field",
2071
+ "name": "host",
2072
+ "type": {
2073
+ "text": "ReactiveElement & { elements: OpenableElement[] }"
2074
+ },
2075
+ "privacy": "private",
2076
+ "default": "host"
2077
+ },
2078
+ {
2079
+ "kind": "field",
2080
+ "name": "options",
2081
+ "type": {
2082
+ "text": "OverlayOptionsV1"
2083
+ },
2084
+ "privacy": "private"
2085
+ },
2086
+ {
2087
+ "kind": "field",
2088
+ "name": "originalPlacements",
2089
+ "privacy": "private",
2090
+ "default": "new WeakMap<HTMLElement, Placement>()"
2091
+ },
2092
+ {
2093
+ "kind": "field",
2094
+ "name": "target",
2095
+ "type": {
2096
+ "text": "HTMLElement"
2097
+ },
2098
+ "privacy": "private"
2099
+ },
2100
+ {
2101
+ "kind": "method",
2102
+ "name": "placeOverlay",
2103
+ "privacy": "public",
2104
+ "return": {
2105
+ "type": {
2106
+ "text": "Promise<void>"
2107
+ }
2108
+ },
2109
+ "parameters": [
2110
+ {
2111
+ "name": "target",
2112
+ "default": "this.target",
2113
+ "type": {
2114
+ "text": "HTMLElement"
2115
+ }
2116
+ },
2117
+ {
2118
+ "name": "options",
2119
+ "default": "this.options",
2120
+ "type": {
2121
+ "text": "OverlayOptionsV1"
2122
+ }
2123
+ }
2124
+ ]
2125
+ },
2126
+ {
2127
+ "kind": "field",
2128
+ "name": "updateCount",
2129
+ "type": {
2130
+ "text": "number"
2131
+ },
2132
+ "default": "0"
2133
+ },
2134
+ {
2135
+ "kind": "field",
2136
+ "name": "updatePlacement"
2137
+ },
2138
+ {
2139
+ "kind": "method",
2140
+ "name": "computePlacement",
2141
+ "return": {
2142
+ "type": {
2143
+ "text": "Promise<void>"
2144
+ }
2145
+ }
2146
+ },
2147
+ {
2148
+ "kind": "field",
2149
+ "name": "resetOverlayPosition",
2150
+ "privacy": "public"
2151
+ },
2152
+ {
2153
+ "kind": "method",
2154
+ "name": "hostConnected",
2155
+ "return": {
2156
+ "type": {
2157
+ "text": "void"
2158
+ }
2159
+ }
2160
+ },
2161
+ {
2162
+ "kind": "method",
2163
+ "name": "hostUpdated",
2164
+ "return": {
2165
+ "type": {
2166
+ "text": "void"
2167
+ }
2168
+ }
2169
+ },
2170
+ {
2171
+ "kind": "method",
2172
+ "name": "hostDisconnected",
2173
+ "return": {
2174
+ "type": {
2175
+ "text": "void"
2176
+ }
2177
+ }
2178
+ }
2179
+ ]
2180
+ }
2181
+ ],
2182
+ "exports": [
2183
+ {
2184
+ "kind": "js",
2185
+ "name": "placementUpdatedSymbol",
2186
+ "declaration": {
2187
+ "name": "placementUpdatedSymbol",
2188
+ "module": "src/PlacementController.ts"
2189
+ }
2190
+ },
2191
+ {
2192
+ "kind": "js",
2193
+ "name": "PlacementController",
2194
+ "declaration": {
2195
+ "name": "PlacementController",
2196
+ "module": "src/PlacementController.ts"
2197
+ }
2198
+ }
2199
+ ]
2200
+ },
2201
+ {
2202
+ "kind": "javascript-module",
2203
+ "path": "src/VirtualTrigger.ts",
2204
+ "declarations": [
2205
+ {
2206
+ "kind": "class",
2207
+ "description": "",
2208
+ "name": "VirtualTrigger",
2209
+ "members": [
2210
+ {
2211
+ "kind": "field",
2212
+ "name": "x",
2213
+ "type": {
2214
+ "text": "number"
2215
+ },
2216
+ "privacy": "private",
2217
+ "default": "x"
2218
+ },
2219
+ {
2220
+ "kind": "field",
2221
+ "name": "y",
2222
+ "type": {
2223
+ "text": "number"
2224
+ },
2225
+ "privacy": "private",
2226
+ "default": "y"
2227
+ },
2228
+ {
2229
+ "kind": "method",
2230
+ "name": "updateBoundingClientRect",
2231
+ "privacy": "public",
2232
+ "return": {
2233
+ "type": {
2234
+ "text": "void"
2235
+ }
2236
+ },
2237
+ "parameters": [
2238
+ {
2239
+ "name": "x",
2240
+ "type": {
2241
+ "text": "number"
2242
+ }
2243
+ },
2244
+ {
2245
+ "name": "y",
2246
+ "type": {
2247
+ "text": "number"
2248
+ }
2249
+ }
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "method",
2254
+ "name": "getBoundingClientRect",
2255
+ "privacy": "public",
2256
+ "return": {
2257
+ "type": {
2258
+ "text": "DOMRect"
2259
+ }
2260
+ }
2261
+ }
2262
+ ]
2263
+ }
2264
+ ],
2265
+ "exports": [
2266
+ {
2267
+ "kind": "js",
2268
+ "name": "VirtualTrigger",
2269
+ "declaration": {
2270
+ "name": "VirtualTrigger",
2271
+ "module": "src/VirtualTrigger.ts"
2272
+ }
2273
+ }
2274
+ ]
2275
+ }
2276
+ ]
2277
+ }