@spectrum-web-components/dialog 0.11.11-react.48 → 0.11.11-react.50

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