@spectrum-web-components/dialog 0.31.1-overlay.29 → 0.31.1-react.21

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,1326 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-dialog-base.ts",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-dialog-base",
13
+ "declaration": {
14
+ "name": "DialogBase",
15
+ "module": "/src/DialogBase.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "sp-dialog-wrapper.ts",
23
+ "declarations": [],
24
+ "exports": [
25
+ {
26
+ "kind": "custom-element-definition",
27
+ "name": "sp-dialog-wrapper",
28
+ "declaration": {
29
+ "name": "DialogWrapper",
30
+ "module": "/src/DialogWrapper.js"
31
+ }
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "kind": "javascript-module",
37
+ "path": "sp-dialog.ts",
38
+ "declarations": [],
39
+ "exports": [
40
+ {
41
+ "kind": "custom-element-definition",
42
+ "name": "sp-dialog",
43
+ "declaration": {
44
+ "name": "Dialog",
45
+ "module": "/src/Dialog.js"
46
+ }
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "kind": "javascript-module",
52
+ "path": "src/Dialog.ts",
53
+ "declarations": [
54
+ {
55
+ "kind": "class",
56
+ "description": "",
57
+ "name": "Dialog",
58
+ "slots": [
59
+ {
60
+ "description": "Accepts a hero image to display at the top of the dialog",
61
+ "name": "hero"
62
+ },
63
+ {
64
+ "description": "Acts as the heading of the dialog. This should be an actual heading tag `<h1-6 />`",
65
+ "name": "heading"
66
+ },
67
+ {
68
+ "description": "Content not addressed to a specific slot will be interpreted as the main content of the dialog",
69
+ "name": ""
70
+ },
71
+ {
72
+ "description": "Content addressed to the `footer` will be placed below the main content and to the side of any `[slot='button']` content",
73
+ "name": "footer"
74
+ },
75
+ {
76
+ "description": "Button elements addressed to this slot may be placed below the content when not delivered in a fullscreen mode",
77
+ "name": "button"
78
+ }
79
+ ],
80
+ "members": [
81
+ {
82
+ "kind": "field",
83
+ "name": "closeButton",
84
+ "type": {
85
+ "text": "CloseButton | undefined"
86
+ }
87
+ },
88
+ {
89
+ "kind": "field",
90
+ "name": "contentElement",
91
+ "type": {
92
+ "text": "HTMLDivElement"
93
+ },
94
+ "privacy": "private"
95
+ },
96
+ {
97
+ "kind": "field",
98
+ "name": "error",
99
+ "type": {
100
+ "text": "boolean"
101
+ },
102
+ "privacy": "public",
103
+ "default": "false",
104
+ "attribute": "error",
105
+ "reflects": true
106
+ },
107
+ {
108
+ "kind": "field",
109
+ "name": "dismissable",
110
+ "type": {
111
+ "text": "boolean"
112
+ },
113
+ "privacy": "public",
114
+ "default": "false",
115
+ "attribute": "dismissable",
116
+ "reflects": true
117
+ },
118
+ {
119
+ "kind": "field",
120
+ "name": "hasFooter",
121
+ "type": {
122
+ "text": "boolean"
123
+ },
124
+ "privacy": "protected",
125
+ "readonly": true
126
+ },
127
+ {
128
+ "kind": "field",
129
+ "name": "hasButtons",
130
+ "type": {
131
+ "text": "boolean"
132
+ },
133
+ "privacy": "protected",
134
+ "readonly": true
135
+ },
136
+ {
137
+ "kind": "field",
138
+ "name": "hasHero",
139
+ "type": {
140
+ "text": "boolean"
141
+ },
142
+ "privacy": "protected",
143
+ "readonly": true
144
+ },
145
+ {
146
+ "kind": "field",
147
+ "name": "noDivider",
148
+ "type": {
149
+ "text": "boolean"
150
+ },
151
+ "privacy": "public",
152
+ "default": "false",
153
+ "attribute": "no-divider",
154
+ "reflects": true
155
+ },
156
+ {
157
+ "kind": "field",
158
+ "name": "mode",
159
+ "type": {
160
+ "text": "'fullscreen' | 'fullscreenTakeover' | undefined"
161
+ },
162
+ "privacy": "public",
163
+ "attribute": "mode",
164
+ "reflects": true
165
+ },
166
+ {
167
+ "kind": "field",
168
+ "name": "size",
169
+ "type": {
170
+ "text": "'s' | 'm' | 'l' | undefined"
171
+ },
172
+ "privacy": "public",
173
+ "attribute": "size",
174
+ "reflects": true
175
+ },
176
+ {
177
+ "kind": "method",
178
+ "name": "close",
179
+ "privacy": "public",
180
+ "return": {
181
+ "type": {
182
+ "text": "void"
183
+ }
184
+ }
185
+ },
186
+ {
187
+ "kind": "method",
188
+ "name": "renderHero",
189
+ "privacy": "protected",
190
+ "return": {
191
+ "type": {
192
+ "text": "TemplateResult"
193
+ }
194
+ }
195
+ },
196
+ {
197
+ "kind": "method",
198
+ "name": "renderHeading",
199
+ "privacy": "protected",
200
+ "return": {
201
+ "type": {
202
+ "text": "TemplateResult"
203
+ }
204
+ }
205
+ },
206
+ {
207
+ "kind": "method",
208
+ "name": "renderContent",
209
+ "privacy": "protected",
210
+ "return": {
211
+ "type": {
212
+ "text": "TemplateResult"
213
+ }
214
+ }
215
+ },
216
+ {
217
+ "kind": "method",
218
+ "name": "renderFooter",
219
+ "privacy": "protected",
220
+ "return": {
221
+ "type": {
222
+ "text": "TemplateResult"
223
+ }
224
+ }
225
+ },
226
+ {
227
+ "kind": "method",
228
+ "name": "renderButtons",
229
+ "privacy": "protected",
230
+ "return": {
231
+ "type": {
232
+ "text": "TemplateResult"
233
+ }
234
+ }
235
+ },
236
+ {
237
+ "kind": "method",
238
+ "name": "renderDismiss",
239
+ "privacy": "protected",
240
+ "return": {
241
+ "type": {
242
+ "text": "TemplateResult"
243
+ }
244
+ }
245
+ },
246
+ {
247
+ "kind": "field",
248
+ "name": "shouldManageTabOrderForScrolling",
249
+ "privacy": "public"
250
+ },
251
+ {
252
+ "kind": "field",
253
+ "name": "instanceCount",
254
+ "type": {
255
+ "text": "number"
256
+ },
257
+ "static": true,
258
+ "default": "0"
259
+ },
260
+ {
261
+ "kind": "field",
262
+ "name": "labelledbyId",
263
+ "privacy": "private",
264
+ "default": "`sp-dialog-label-${Dialog.instanceCount++}`"
265
+ },
266
+ {
267
+ "kind": "field",
268
+ "name": "conditionLabelledby",
269
+ "type": {
270
+ "text": "() => void | undefined"
271
+ },
272
+ "privacy": "private"
273
+ },
274
+ {
275
+ "kind": "field",
276
+ "name": "conditionDescribedby",
277
+ "type": {
278
+ "text": "() => void | undefined"
279
+ },
280
+ "privacy": "private"
281
+ },
282
+ {
283
+ "kind": "method",
284
+ "name": "onHeadingSlotchange",
285
+ "privacy": "private",
286
+ "return": {
287
+ "type": {
288
+ "text": "void"
289
+ }
290
+ },
291
+ "parameters": [
292
+ {
293
+ "name": "{\n target,\n }",
294
+ "type": {
295
+ "text": "Event & { target: HTMLSlotElement }"
296
+ }
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ "kind": "field",
302
+ "name": "describedbyId",
303
+ "privacy": "private",
304
+ "default": "`sp-dialog-description-${Dialog.instanceCount++}`"
305
+ },
306
+ {
307
+ "kind": "method",
308
+ "name": "onContentSlotChange",
309
+ "privacy": "protected",
310
+ "return": {
311
+ "type": {
312
+ "text": "void"
313
+ }
314
+ },
315
+ "parameters": [
316
+ {
317
+ "name": "{\n target,\n }",
318
+ "type": {
319
+ "text": "Event & { target: HTMLSlotElement }"
320
+ }
321
+ }
322
+ ]
323
+ }
324
+ ],
325
+ "events": [
326
+ {
327
+ "name": "close",
328
+ "type": {
329
+ "text": "Event"
330
+ },
331
+ "description": "Announces that the dialog has been closed."
332
+ }
333
+ ],
334
+ "attributes": [
335
+ {
336
+ "name": "error",
337
+ "type": {
338
+ "text": "boolean"
339
+ },
340
+ "default": "false",
341
+ "fieldName": "error"
342
+ },
343
+ {
344
+ "name": "dismissable",
345
+ "type": {
346
+ "text": "boolean"
347
+ },
348
+ "default": "false",
349
+ "fieldName": "dismissable"
350
+ },
351
+ {
352
+ "name": "no-divider",
353
+ "type": {
354
+ "text": "boolean"
355
+ },
356
+ "default": "false",
357
+ "fieldName": "noDivider"
358
+ },
359
+ {
360
+ "name": "mode",
361
+ "type": {
362
+ "text": "'fullscreen' | 'fullscreenTakeover' | undefined"
363
+ },
364
+ "fieldName": "mode"
365
+ },
366
+ {
367
+ "name": "size",
368
+ "type": {
369
+ "text": "'s' | 'm' | 'l' | undefined"
370
+ },
371
+ "fieldName": "size"
372
+ }
373
+ ],
374
+ "mixins": [
375
+ {
376
+ "name": "FocusVisiblePolyfillMixin",
377
+ "package": "@spectrum-web-components/shared"
378
+ },
379
+ {
380
+ "name": "ObserveSlotPresence",
381
+ "package": "@spectrum-web-components/shared"
382
+ }
383
+ ],
384
+ "superclass": {
385
+ "name": "SpectrumElement",
386
+ "package": "@spectrum-web-components/base"
387
+ },
388
+ "tagName": "sp-dialog",
389
+ "customElement": true
390
+ }
391
+ ],
392
+ "exports": [
393
+ {
394
+ "kind": "js",
395
+ "name": "Dialog",
396
+ "declaration": {
397
+ "name": "Dialog",
398
+ "module": "src/Dialog.ts"
399
+ }
400
+ }
401
+ ]
402
+ },
403
+ {
404
+ "kind": "javascript-module",
405
+ "path": "src/DialogBase.ts",
406
+ "declarations": [
407
+ {
408
+ "kind": "class",
409
+ "description": "",
410
+ "name": "DialogBase",
411
+ "slots": [
412
+ {
413
+ "description": "A Dialog element to display.",
414
+ "name": ""
415
+ }
416
+ ],
417
+ "members": [
418
+ {
419
+ "kind": "field",
420
+ "name": "dismissable",
421
+ "type": {
422
+ "text": "boolean"
423
+ },
424
+ "privacy": "public",
425
+ "default": "false",
426
+ "attribute": "dismissable",
427
+ "reflects": true
428
+ },
429
+ {
430
+ "kind": "field",
431
+ "name": "open",
432
+ "type": {
433
+ "text": "boolean"
434
+ },
435
+ "privacy": "public",
436
+ "default": "false",
437
+ "attribute": "open",
438
+ "reflects": true
439
+ },
440
+ {
441
+ "kind": "field",
442
+ "name": "mode",
443
+ "type": {
444
+ "text": "'fullscreen' | 'fullscreenTakeover' | undefined"
445
+ },
446
+ "privacy": "public",
447
+ "attribute": "mode",
448
+ "reflects": true
449
+ },
450
+ {
451
+ "kind": "field",
452
+ "name": "responsive",
453
+ "type": {
454
+ "text": "boolean"
455
+ },
456
+ "privacy": "public",
457
+ "default": "false",
458
+ "description": "When set to true, fills screens smaller than 350px high and 400px wide with the full dialog.",
459
+ "attribute": "responsive"
460
+ },
461
+ {
462
+ "kind": "field",
463
+ "name": "transitionPromise",
464
+ "privacy": "private"
465
+ },
466
+ {
467
+ "kind": "field",
468
+ "name": "resolveTransitionPromise",
469
+ "privacy": "private"
470
+ },
471
+ {
472
+ "kind": "field",
473
+ "name": "underlay",
474
+ "type": {
475
+ "text": "boolean"
476
+ },
477
+ "privacy": "public",
478
+ "default": "false",
479
+ "attribute": "underlay"
480
+ },
481
+ {
482
+ "kind": "field",
483
+ "name": "dialog",
484
+ "type": {
485
+ "text": "Dialog"
486
+ },
487
+ "privacy": "protected",
488
+ "readonly": true
489
+ },
490
+ {
491
+ "kind": "method",
492
+ "name": "focus",
493
+ "privacy": "public",
494
+ "return": {
495
+ "type": {
496
+ "text": "Promise<void>"
497
+ }
498
+ }
499
+ },
500
+ {
501
+ "kind": "field",
502
+ "name": "animating",
503
+ "type": {
504
+ "text": "boolean"
505
+ },
506
+ "privacy": "private",
507
+ "default": "false"
508
+ },
509
+ {
510
+ "kind": "method",
511
+ "name": "overlayWillCloseCallback",
512
+ "privacy": "public",
513
+ "return": {
514
+ "type": {
515
+ "text": "boolean"
516
+ }
517
+ }
518
+ },
519
+ {
520
+ "kind": "method",
521
+ "name": "dismiss",
522
+ "privacy": "private",
523
+ "return": {
524
+ "type": {
525
+ "text": "void"
526
+ }
527
+ }
528
+ },
529
+ {
530
+ "kind": "method",
531
+ "name": "handleClose",
532
+ "privacy": "protected",
533
+ "return": {
534
+ "type": {
535
+ "text": "void"
536
+ }
537
+ },
538
+ "parameters": [
539
+ {
540
+ "name": "event",
541
+ "type": {
542
+ "text": "Event"
543
+ }
544
+ }
545
+ ]
546
+ },
547
+ {
548
+ "kind": "method",
549
+ "name": "close",
550
+ "privacy": "public",
551
+ "return": {
552
+ "type": {
553
+ "text": "void"
554
+ }
555
+ }
556
+ },
557
+ {
558
+ "kind": "method",
559
+ "name": "dispatchClosed",
560
+ "privacy": "private",
561
+ "return": {
562
+ "type": {
563
+ "text": "void"
564
+ }
565
+ }
566
+ },
567
+ {
568
+ "kind": "method",
569
+ "name": "handleUnderlayTransitionend",
570
+ "privacy": "protected",
571
+ "return": {
572
+ "type": {
573
+ "text": "void"
574
+ }
575
+ },
576
+ "parameters": [
577
+ {
578
+ "name": "event",
579
+ "type": {
580
+ "text": "TransitionEvent"
581
+ }
582
+ }
583
+ ]
584
+ },
585
+ {
586
+ "kind": "method",
587
+ "name": "handleModalTransitionend",
588
+ "privacy": "protected",
589
+ "return": {
590
+ "type": {
591
+ "text": "void"
592
+ }
593
+ }
594
+ },
595
+ {
596
+ "kind": "method",
597
+ "name": "renderDialog",
598
+ "privacy": "protected",
599
+ "return": {
600
+ "type": {
601
+ "text": "TemplateResult"
602
+ }
603
+ }
604
+ },
605
+ {
606
+ "kind": "method",
607
+ "name": "getUpdateComplete",
608
+ "privacy": "protected",
609
+ "return": {
610
+ "type": {
611
+ "text": "Promise<boolean>"
612
+ }
613
+ },
614
+ "description": "Bind the open/close transition into the update complete lifecycle so\nthat the overlay system can wait for it to be \"visibly ready\" before\nattempting to throw focus into the content contained herein. Not\nwaiting for this can cause small amounts of page scroll to happen\nwhile opening the Tray when focusable content is included: e.g. Menu\nelements whose selected Menu Item is not the first Menu Item."
615
+ }
616
+ ],
617
+ "events": [
618
+ {
619
+ "name": "close",
620
+ "type": {
621
+ "text": "Event"
622
+ },
623
+ "description": "Announces that the dialog has been closed."
624
+ }
625
+ ],
626
+ "attributes": [
627
+ {
628
+ "name": "dismissable",
629
+ "type": {
630
+ "text": "boolean"
631
+ },
632
+ "default": "false",
633
+ "fieldName": "dismissable"
634
+ },
635
+ {
636
+ "name": "open",
637
+ "type": {
638
+ "text": "boolean"
639
+ },
640
+ "default": "false",
641
+ "fieldName": "open"
642
+ },
643
+ {
644
+ "name": "mode",
645
+ "type": {
646
+ "text": "'fullscreen' | 'fullscreenTakeover' | undefined"
647
+ },
648
+ "fieldName": "mode"
649
+ },
650
+ {
651
+ "name": "responsive",
652
+ "type": {
653
+ "text": "boolean"
654
+ },
655
+ "default": "false",
656
+ "description": "When set to true, fills screens smaller than 350px high and 400px wide with the full dialog.",
657
+ "fieldName": "responsive"
658
+ },
659
+ {
660
+ "name": "underlay",
661
+ "type": {
662
+ "text": "boolean"
663
+ },
664
+ "default": "false",
665
+ "fieldName": "underlay"
666
+ }
667
+ ],
668
+ "mixins": [
669
+ {
670
+ "name": "FocusVisiblePolyfillMixin",
671
+ "package": "@spectrum-web-components/shared"
672
+ }
673
+ ],
674
+ "superclass": {
675
+ "name": "SpectrumElement",
676
+ "package": "@spectrum-web-components/base"
677
+ },
678
+ "tagName": "sp-dialog-base",
679
+ "customElement": true
680
+ }
681
+ ],
682
+ "exports": [
683
+ {
684
+ "kind": "js",
685
+ "name": "DialogBase",
686
+ "declaration": {
687
+ "name": "DialogBase",
688
+ "module": "src/DialogBase.ts"
689
+ }
690
+ }
691
+ ]
692
+ },
693
+ {
694
+ "kind": "javascript-module",
695
+ "path": "src/DialogWrapper.ts",
696
+ "declarations": [
697
+ {
698
+ "kind": "class",
699
+ "description": "",
700
+ "name": "DialogWrapper",
701
+ "slots": [
702
+ {
703
+ "description": "content for the dialog",
704
+ "name": ""
705
+ }
706
+ ],
707
+ "members": [
708
+ {
709
+ "kind": "field",
710
+ "name": "error",
711
+ "type": {
712
+ "text": "boolean"
713
+ },
714
+ "privacy": "public",
715
+ "default": "false",
716
+ "attribute": "error",
717
+ "reflects": true
718
+ },
719
+ {
720
+ "kind": "field",
721
+ "name": "cancelLabel",
722
+ "type": {
723
+ "text": "string"
724
+ },
725
+ "privacy": "public",
726
+ "default": "''",
727
+ "attribute": "cancel-label"
728
+ },
729
+ {
730
+ "kind": "field",
731
+ "name": "confirmLabel",
732
+ "type": {
733
+ "text": "string"
734
+ },
735
+ "privacy": "public",
736
+ "default": "''",
737
+ "attribute": "confirm-label"
738
+ },
739
+ {
740
+ "kind": "field",
741
+ "name": "footer",
742
+ "type": {
743
+ "text": "string"
744
+ },
745
+ "privacy": "public",
746
+ "default": "''",
747
+ "attribute": "footer"
748
+ },
749
+ {
750
+ "kind": "field",
751
+ "name": "hero",
752
+ "type": {
753
+ "text": "string"
754
+ },
755
+ "privacy": "public",
756
+ "default": "''",
757
+ "attribute": "hero"
758
+ },
759
+ {
760
+ "kind": "field",
761
+ "name": "heroLabel",
762
+ "type": {
763
+ "text": "string"
764
+ },
765
+ "privacy": "public",
766
+ "default": "''",
767
+ "attribute": "hero-label"
768
+ },
769
+ {
770
+ "kind": "field",
771
+ "name": "noDivider",
772
+ "type": {
773
+ "text": "boolean"
774
+ },
775
+ "privacy": "public",
776
+ "default": "false",
777
+ "attribute": "no-divider",
778
+ "reflects": true
779
+ },
780
+ {
781
+ "kind": "field",
782
+ "name": "size",
783
+ "type": {
784
+ "text": "'s' | 'm' | 'l' | undefined"
785
+ },
786
+ "privacy": "public",
787
+ "attribute": "size",
788
+ "reflects": true
789
+ },
790
+ {
791
+ "kind": "field",
792
+ "name": "secondaryLabel",
793
+ "type": {
794
+ "text": "string"
795
+ },
796
+ "privacy": "public",
797
+ "default": "''",
798
+ "attribute": "secondary-label"
799
+ },
800
+ {
801
+ "kind": "field",
802
+ "name": "headline",
803
+ "type": {
804
+ "text": "string"
805
+ },
806
+ "privacy": "public",
807
+ "default": "''",
808
+ "attribute": "headline"
809
+ },
810
+ {
811
+ "kind": "field",
812
+ "name": "headlineVisibility",
813
+ "type": {
814
+ "text": "'none' | undefined"
815
+ },
816
+ "privacy": "public",
817
+ "attribute": "headline-visibility"
818
+ },
819
+ {
820
+ "kind": "field",
821
+ "name": "dialog",
822
+ "type": {
823
+ "text": "Dialog"
824
+ },
825
+ "privacy": "protected",
826
+ "readonly": true,
827
+ "inheritedFrom": {
828
+ "name": "DialogBase",
829
+ "module": "src/DialogBase.ts"
830
+ }
831
+ },
832
+ {
833
+ "kind": "method",
834
+ "name": "clickSecondary",
835
+ "privacy": "private",
836
+ "return": {
837
+ "type": {
838
+ "text": "void"
839
+ }
840
+ }
841
+ },
842
+ {
843
+ "kind": "method",
844
+ "name": "clickCancel",
845
+ "privacy": "private",
846
+ "return": {
847
+ "type": {
848
+ "text": "void"
849
+ }
850
+ }
851
+ },
852
+ {
853
+ "kind": "method",
854
+ "name": "clickConfirm",
855
+ "privacy": "private",
856
+ "return": {
857
+ "type": {
858
+ "text": "void"
859
+ }
860
+ }
861
+ },
862
+ {
863
+ "kind": "method",
864
+ "name": "renderDialog",
865
+ "privacy": "protected",
866
+ "return": {
867
+ "type": {
868
+ "text": "TemplateResult"
869
+ }
870
+ },
871
+ "inheritedFrom": {
872
+ "name": "DialogBase",
873
+ "module": "src/DialogBase.ts"
874
+ }
875
+ },
876
+ {
877
+ "kind": "field",
878
+ "name": "dismissable",
879
+ "type": {
880
+ "text": "boolean"
881
+ },
882
+ "privacy": "public",
883
+ "default": "false",
884
+ "attribute": "dismissable",
885
+ "reflects": true,
886
+ "inheritedFrom": {
887
+ "name": "DialogBase",
888
+ "module": "src/DialogBase.ts"
889
+ }
890
+ },
891
+ {
892
+ "kind": "field",
893
+ "name": "open",
894
+ "type": {
895
+ "text": "boolean"
896
+ },
897
+ "privacy": "public",
898
+ "default": "false",
899
+ "attribute": "open",
900
+ "reflects": true,
901
+ "inheritedFrom": {
902
+ "name": "DialogBase",
903
+ "module": "src/DialogBase.ts"
904
+ }
905
+ },
906
+ {
907
+ "kind": "field",
908
+ "name": "mode",
909
+ "type": {
910
+ "text": "'fullscreen' | 'fullscreenTakeover' | undefined"
911
+ },
912
+ "privacy": "public",
913
+ "attribute": "mode",
914
+ "reflects": true,
915
+ "inheritedFrom": {
916
+ "name": "DialogBase",
917
+ "module": "src/DialogBase.ts"
918
+ }
919
+ },
920
+ {
921
+ "kind": "field",
922
+ "name": "responsive",
923
+ "type": {
924
+ "text": "boolean"
925
+ },
926
+ "privacy": "public",
927
+ "default": "false",
928
+ "description": "When set to true, fills screens smaller than 350px high and 400px wide with the full dialog.",
929
+ "attribute": "responsive",
930
+ "inheritedFrom": {
931
+ "name": "DialogBase",
932
+ "module": "src/DialogBase.ts"
933
+ }
934
+ },
935
+ {
936
+ "kind": "field",
937
+ "name": "transitionPromise",
938
+ "privacy": "private",
939
+ "inheritedFrom": {
940
+ "name": "DialogBase",
941
+ "module": "src/DialogBase.ts"
942
+ }
943
+ },
944
+ {
945
+ "kind": "field",
946
+ "name": "resolveTransitionPromise",
947
+ "privacy": "private",
948
+ "inheritedFrom": {
949
+ "name": "DialogBase",
950
+ "module": "src/DialogBase.ts"
951
+ }
952
+ },
953
+ {
954
+ "kind": "field",
955
+ "name": "underlay",
956
+ "type": {
957
+ "text": "boolean"
958
+ },
959
+ "privacy": "public",
960
+ "default": "false",
961
+ "attribute": "underlay",
962
+ "inheritedFrom": {
963
+ "name": "DialogBase",
964
+ "module": "src/DialogBase.ts"
965
+ }
966
+ },
967
+ {
968
+ "kind": "method",
969
+ "name": "focus",
970
+ "privacy": "public",
971
+ "return": {
972
+ "type": {
973
+ "text": "Promise<void>"
974
+ }
975
+ },
976
+ "inheritedFrom": {
977
+ "name": "DialogBase",
978
+ "module": "src/DialogBase.ts"
979
+ }
980
+ },
981
+ {
982
+ "kind": "field",
983
+ "name": "animating",
984
+ "type": {
985
+ "text": "boolean"
986
+ },
987
+ "privacy": "private",
988
+ "default": "false",
989
+ "inheritedFrom": {
990
+ "name": "DialogBase",
991
+ "module": "src/DialogBase.ts"
992
+ }
993
+ },
994
+ {
995
+ "kind": "method",
996
+ "name": "overlayWillCloseCallback",
997
+ "privacy": "public",
998
+ "return": {
999
+ "type": {
1000
+ "text": "boolean"
1001
+ }
1002
+ },
1003
+ "inheritedFrom": {
1004
+ "name": "DialogBase",
1005
+ "module": "src/DialogBase.ts"
1006
+ }
1007
+ },
1008
+ {
1009
+ "kind": "method",
1010
+ "name": "dismiss",
1011
+ "privacy": "private",
1012
+ "return": {
1013
+ "type": {
1014
+ "text": "void"
1015
+ }
1016
+ },
1017
+ "inheritedFrom": {
1018
+ "name": "DialogBase",
1019
+ "module": "src/DialogBase.ts"
1020
+ }
1021
+ },
1022
+ {
1023
+ "kind": "method",
1024
+ "name": "handleClose",
1025
+ "privacy": "protected",
1026
+ "return": {
1027
+ "type": {
1028
+ "text": "void"
1029
+ }
1030
+ },
1031
+ "parameters": [
1032
+ {
1033
+ "name": "event",
1034
+ "type": {
1035
+ "text": "Event"
1036
+ }
1037
+ }
1038
+ ],
1039
+ "inheritedFrom": {
1040
+ "name": "DialogBase",
1041
+ "module": "src/DialogBase.ts"
1042
+ }
1043
+ },
1044
+ {
1045
+ "kind": "method",
1046
+ "name": "close",
1047
+ "privacy": "public",
1048
+ "return": {
1049
+ "type": {
1050
+ "text": "void"
1051
+ }
1052
+ },
1053
+ "inheritedFrom": {
1054
+ "name": "DialogBase",
1055
+ "module": "src/DialogBase.ts"
1056
+ }
1057
+ },
1058
+ {
1059
+ "kind": "method",
1060
+ "name": "dispatchClosed",
1061
+ "privacy": "private",
1062
+ "return": {
1063
+ "type": {
1064
+ "text": "void"
1065
+ }
1066
+ },
1067
+ "inheritedFrom": {
1068
+ "name": "DialogBase",
1069
+ "module": "src/DialogBase.ts"
1070
+ }
1071
+ },
1072
+ {
1073
+ "kind": "method",
1074
+ "name": "handleUnderlayTransitionend",
1075
+ "privacy": "protected",
1076
+ "return": {
1077
+ "type": {
1078
+ "text": "void"
1079
+ }
1080
+ },
1081
+ "parameters": [
1082
+ {
1083
+ "name": "event",
1084
+ "type": {
1085
+ "text": "TransitionEvent"
1086
+ }
1087
+ }
1088
+ ],
1089
+ "inheritedFrom": {
1090
+ "name": "DialogBase",
1091
+ "module": "src/DialogBase.ts"
1092
+ }
1093
+ },
1094
+ {
1095
+ "kind": "method",
1096
+ "name": "handleModalTransitionend",
1097
+ "privacy": "protected",
1098
+ "return": {
1099
+ "type": {
1100
+ "text": "void"
1101
+ }
1102
+ },
1103
+ "inheritedFrom": {
1104
+ "name": "DialogBase",
1105
+ "module": "src/DialogBase.ts"
1106
+ }
1107
+ },
1108
+ {
1109
+ "kind": "method",
1110
+ "name": "getUpdateComplete",
1111
+ "privacy": "protected",
1112
+ "return": {
1113
+ "type": {
1114
+ "text": "Promise<boolean>"
1115
+ }
1116
+ },
1117
+ "description": "Bind the open/close transition into the update complete lifecycle so\nthat the overlay system can wait for it to be \"visibly ready\" before\nattempting to throw focus into the content contained herein. Not\nwaiting for this can cause small amounts of page scroll to happen\nwhile opening the Tray when focusable content is included: e.g. Menu\nelements whose selected Menu Item is not the first Menu Item.",
1118
+ "inheritedFrom": {
1119
+ "name": "DialogBase",
1120
+ "module": "src/DialogBase.ts"
1121
+ }
1122
+ }
1123
+ ],
1124
+ "events": [
1125
+ {
1126
+ "name": "secondary",
1127
+ "type": {
1128
+ "text": "Event"
1129
+ },
1130
+ "description": "Announces that the \"secondary\" button has been clicked."
1131
+ },
1132
+ {
1133
+ "name": "cancel",
1134
+ "type": {
1135
+ "text": "Event"
1136
+ },
1137
+ "description": "Announces that the \"cancel\" button has been clicked."
1138
+ },
1139
+ {
1140
+ "name": "confirm",
1141
+ "type": {
1142
+ "text": "Event"
1143
+ },
1144
+ "description": "Announces that the \"confirm\" button has been clicked."
1145
+ },
1146
+ {
1147
+ "name": "close",
1148
+ "type": {
1149
+ "text": "Event"
1150
+ },
1151
+ "description": "Announces that the dialog has been closed.",
1152
+ "inheritedFrom": {
1153
+ "name": "DialogBase",
1154
+ "module": "src/DialogBase.ts"
1155
+ }
1156
+ }
1157
+ ],
1158
+ "attributes": [
1159
+ {
1160
+ "name": "error",
1161
+ "type": {
1162
+ "text": "boolean"
1163
+ },
1164
+ "default": "false",
1165
+ "fieldName": "error"
1166
+ },
1167
+ {
1168
+ "name": "cancel-label",
1169
+ "type": {
1170
+ "text": "string"
1171
+ },
1172
+ "default": "''",
1173
+ "fieldName": "cancelLabel"
1174
+ },
1175
+ {
1176
+ "name": "confirm-label",
1177
+ "type": {
1178
+ "text": "string"
1179
+ },
1180
+ "default": "''",
1181
+ "fieldName": "confirmLabel"
1182
+ },
1183
+ {
1184
+ "name": "footer",
1185
+ "type": {
1186
+ "text": "string"
1187
+ },
1188
+ "default": "''",
1189
+ "fieldName": "footer"
1190
+ },
1191
+ {
1192
+ "name": "hero",
1193
+ "type": {
1194
+ "text": "string"
1195
+ },
1196
+ "default": "''",
1197
+ "fieldName": "hero"
1198
+ },
1199
+ {
1200
+ "name": "hero-label",
1201
+ "type": {
1202
+ "text": "string"
1203
+ },
1204
+ "default": "''",
1205
+ "fieldName": "heroLabel"
1206
+ },
1207
+ {
1208
+ "name": "no-divider",
1209
+ "type": {
1210
+ "text": "boolean"
1211
+ },
1212
+ "default": "false",
1213
+ "fieldName": "noDivider"
1214
+ },
1215
+ {
1216
+ "name": "size",
1217
+ "type": {
1218
+ "text": "'s' | 'm' | 'l' | undefined"
1219
+ },
1220
+ "fieldName": "size"
1221
+ },
1222
+ {
1223
+ "name": "secondary-label",
1224
+ "type": {
1225
+ "text": "string"
1226
+ },
1227
+ "default": "''",
1228
+ "fieldName": "secondaryLabel"
1229
+ },
1230
+ {
1231
+ "name": "headline",
1232
+ "type": {
1233
+ "text": "string"
1234
+ },
1235
+ "default": "''",
1236
+ "fieldName": "headline"
1237
+ },
1238
+ {
1239
+ "name": "headline-visibility",
1240
+ "type": {
1241
+ "text": "'none' | undefined"
1242
+ },
1243
+ "fieldName": "headlineVisibility"
1244
+ },
1245
+ {
1246
+ "name": "dismissable",
1247
+ "type": {
1248
+ "text": "boolean"
1249
+ },
1250
+ "default": "false",
1251
+ "fieldName": "dismissable",
1252
+ "inheritedFrom": {
1253
+ "name": "DialogBase",
1254
+ "module": "src/DialogBase.ts"
1255
+ }
1256
+ },
1257
+ {
1258
+ "name": "open",
1259
+ "type": {
1260
+ "text": "boolean"
1261
+ },
1262
+ "default": "false",
1263
+ "fieldName": "open",
1264
+ "inheritedFrom": {
1265
+ "name": "DialogBase",
1266
+ "module": "src/DialogBase.ts"
1267
+ }
1268
+ },
1269
+ {
1270
+ "name": "mode",
1271
+ "type": {
1272
+ "text": "'fullscreen' | 'fullscreenTakeover' | undefined"
1273
+ },
1274
+ "fieldName": "mode",
1275
+ "inheritedFrom": {
1276
+ "name": "DialogBase",
1277
+ "module": "src/DialogBase.ts"
1278
+ }
1279
+ },
1280
+ {
1281
+ "name": "responsive",
1282
+ "type": {
1283
+ "text": "boolean"
1284
+ },
1285
+ "default": "false",
1286
+ "description": "When set to true, fills screens smaller than 350px high and 400px wide with the full dialog.",
1287
+ "fieldName": "responsive",
1288
+ "inheritedFrom": {
1289
+ "name": "DialogBase",
1290
+ "module": "src/DialogBase.ts"
1291
+ }
1292
+ },
1293
+ {
1294
+ "name": "underlay",
1295
+ "type": {
1296
+ "text": "boolean"
1297
+ },
1298
+ "default": "false",
1299
+ "fieldName": "underlay",
1300
+ "inheritedFrom": {
1301
+ "name": "DialogBase",
1302
+ "module": "src/DialogBase.ts"
1303
+ }
1304
+ }
1305
+ ],
1306
+ "superclass": {
1307
+ "name": "DialogBase",
1308
+ "module": "/src/DialogBase.js"
1309
+ },
1310
+ "tagName": "sp-dialog-wrapper",
1311
+ "customElement": true
1312
+ }
1313
+ ],
1314
+ "exports": [
1315
+ {
1316
+ "kind": "js",
1317
+ "name": "DialogWrapper",
1318
+ "declaration": {
1319
+ "name": "DialogWrapper",
1320
+ "module": "src/DialogWrapper.ts"
1321
+ }
1322
+ }
1323
+ ]
1324
+ }
1325
+ ]
1326
+ }