@spectrum-web-components/dialog 0.49.0-beta.2 → 0.49.0

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