@spectrum-web-components/button 1.7.0 → 1.9.0-nightly.20251013134115

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 (45) hide show
  1. package/package.json +10 -10
  2. package/sp-button.d.ts +11 -0
  3. package/sp-button.dev.js.map +1 -1
  4. package/sp-button.js.map +1 -1
  5. package/sp-clear-button.d.ts +11 -0
  6. package/sp-clear-button.dev.js.map +1 -1
  7. package/sp-clear-button.js.map +1 -1
  8. package/sp-close-button.d.ts +11 -0
  9. package/sp-close-button.dev.js.map +1 -1
  10. package/sp-close-button.js.map +1 -1
  11. package/src/Button.d.ts +12 -1
  12. package/src/Button.dev.js.map +1 -1
  13. package/src/Button.js.map +1 -1
  14. package/src/ButtonBase.d.ts +13 -3
  15. package/src/ButtonBase.dev.js +7 -17
  16. package/src/ButtonBase.dev.js.map +2 -2
  17. package/src/ButtonBase.js +2 -2
  18. package/src/ButtonBase.js.map +3 -3
  19. package/src/ClearButton.d.ts +21 -2
  20. package/src/ClearButton.dev.js +34 -2
  21. package/src/ClearButton.dev.js.map +2 -2
  22. package/src/ClearButton.js +3 -3
  23. package/src/ClearButton.js.map +3 -3
  24. package/src/CloseButton.d.ts +12 -1
  25. package/src/CloseButton.dev.js.map +1 -1
  26. package/src/CloseButton.js.map +1 -1
  27. package/src/StyledButton.d.ts +11 -0
  28. package/src/StyledButton.dev.js.map +1 -1
  29. package/src/StyledButton.js.map +1 -1
  30. package/src/button-base.css.dev.js +1 -1
  31. package/src/button-base.css.dev.js.map +1 -1
  32. package/src/button-base.css.js +3 -3
  33. package/src/button-base.css.js.map +1 -1
  34. package/src/button-overrides.css.dev.js.map +1 -1
  35. package/src/button-overrides.css.js.map +1 -1
  36. package/src/button.css.dev.js.map +1 -1
  37. package/src/button.css.js.map +1 -1
  38. package/src/index.d.ts +11 -0
  39. package/src/index.dev.js.map +1 -1
  40. package/src/index.js.map +1 -1
  41. package/src/spectrum-button-base.css.dev.js.map +1 -1
  42. package/src/spectrum-button-base.css.js.map +1 -1
  43. package/src/spectrum-button.css.dev.js.map +1 -1
  44. package/src/spectrum-button.css.js.map +1 -1
  45. package/custom-elements.json +0 -1867
@@ -1,1867 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-button.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-button",
13
- "declaration": {
14
- "name": "Button",
15
- "module": "/src/Button.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "sp-clear-button.js",
23
- "declarations": [],
24
- "exports": [
25
- {
26
- "kind": "custom-element-definition",
27
- "name": "sp-clear-button",
28
- "declaration": {
29
- "name": "ClearButton",
30
- "module": "/src/ClearButton.js"
31
- }
32
- }
33
- ]
34
- },
35
- {
36
- "kind": "javascript-module",
37
- "path": "sp-close-button.js",
38
- "declarations": [],
39
- "exports": [
40
- {
41
- "kind": "custom-element-definition",
42
- "name": "sp-close-button",
43
- "declaration": {
44
- "name": "CloseButton",
45
- "module": "/src/CloseButton.js"
46
- }
47
- }
48
- ]
49
- },
50
- {
51
- "kind": "javascript-module",
52
- "path": "src/Button.js",
53
- "declarations": [
54
- {
55
- "kind": "variable",
56
- "name": "VALID_VARIANTS",
57
- "type": {
58
- "text": "array"
59
- },
60
- "default": "[\n 'accent',\n 'primary',\n 'secondary',\n 'negative',\n 'white',\n 'black',\n]"
61
- },
62
- {
63
- "kind": "variable",
64
- "name": "VALID_STATIC_COLORS",
65
- "type": {
66
- "text": "array"
67
- },
68
- "default": "['white', 'black']"
69
- },
70
- {
71
- "kind": "class",
72
- "description": "",
73
- "name": "Button",
74
- "slots": [
75
- {
76
- "description": "text label of the Button",
77
- "name": "",
78
- "inheritedFrom": {
79
- "name": "ButtonBase",
80
- "module": "src/ButtonBase.ts"
81
- }
82
- },
83
- {
84
- "description": "The icon to use for Button",
85
- "name": "icon",
86
- "inheritedFrom": {
87
- "name": "ButtonBase",
88
- "module": "src/ButtonBase.ts"
89
- }
90
- }
91
- ],
92
- "members": [
93
- {
94
- "kind": "field",
95
- "name": "pendingLabel",
96
- "type": {
97
- "text": "string"
98
- },
99
- "privacy": "public",
100
- "default": "'Pending'",
101
- "attribute": "pending-label"
102
- },
103
- {
104
- "kind": "field",
105
- "name": "pending",
106
- "type": {
107
- "text": "boolean"
108
- },
109
- "privacy": "public",
110
- "default": "false",
111
- "attribute": "pending",
112
- "reflects": true
113
- },
114
- {
115
- "kind": "field",
116
- "name": "pendingStateController",
117
- "type": {
118
- "text": "PendingStateController<this>"
119
- },
120
- "privacy": "public",
121
- "default": "new PendingStateController(this)"
122
- },
123
- {
124
- "kind": "method",
125
- "name": "click",
126
- "privacy": "public",
127
- "return": {
128
- "type": {
129
- "text": "void"
130
- }
131
- }
132
- },
133
- {
134
- "kind": "field",
135
- "name": "variant",
136
- "type": {
137
- "text": "ButtonVariants"
138
- },
139
- "privacy": "public",
140
- "description": "The visual variant to apply to this button.",
141
- "attribute": "variant"
142
- },
143
- {
144
- "kind": "field",
145
- "name": "_variant",
146
- "type": {
147
- "text": "ButtonVariants"
148
- },
149
- "privacy": "private",
150
- "default": "'accent'"
151
- },
152
- {
153
- "kind": "field",
154
- "name": "staticColor",
155
- "type": {
156
- "text": "'black' | 'white' | undefined"
157
- },
158
- "privacy": "public",
159
- "description": "The static color variant to use for this button.",
160
- "attribute": "static-color",
161
- "reflects": true
162
- },
163
- {
164
- "kind": "field",
165
- "name": "treatment",
166
- "type": {
167
- "text": "ButtonTreatments"
168
- },
169
- "privacy": "public",
170
- "default": "'fill'",
171
- "description": "The visual treatment to apply to this button.",
172
- "attribute": "treatment",
173
- "reflects": true
174
- },
175
- {
176
- "kind": "field",
177
- "name": "quiet",
178
- "privacy": "public",
179
- "description": "Style this button to be less obvious",
180
- "type": {
181
- "text": "boolean"
182
- },
183
- "attribute": "quiet"
184
- },
185
- {
186
- "kind": "field",
187
- "name": "noWrap",
188
- "type": {
189
- "text": "boolean"
190
- },
191
- "privacy": "public",
192
- "default": "false",
193
- "description": "Disables text wrapping within the button component's label.\nPlease note that this option is not a part of the design specification\nand should be used carefully, with consideration of this overflow behavior\nand the readability of the button's content.",
194
- "attribute": "no-wrap",
195
- "reflects": true
196
- },
197
- {
198
- "kind": "method",
199
- "name": "renderButton",
200
- "privacy": "protected",
201
- "return": {
202
- "type": {
203
- "text": "TemplateResult"
204
- }
205
- },
206
- "inheritedFrom": {
207
- "name": "ButtonBase",
208
- "module": "src/ButtonBase.js"
209
- }
210
- },
211
- {
212
- "kind": "field",
213
- "name": "active",
214
- "type": {
215
- "text": "boolean"
216
- },
217
- "privacy": "public",
218
- "default": "false",
219
- "attribute": "active",
220
- "reflects": true,
221
- "inheritedFrom": {
222
- "name": "ButtonBase",
223
- "module": "src/ButtonBase.js"
224
- }
225
- },
226
- {
227
- "kind": "field",
228
- "name": "type",
229
- "type": {
230
- "text": "'button' | 'submit' | 'reset'"
231
- },
232
- "privacy": "public",
233
- "default": "'button'",
234
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
235
- "attribute": "type",
236
- "inheritedFrom": {
237
- "name": "ButtonBase",
238
- "module": "src/ButtonBase.js"
239
- }
240
- },
241
- {
242
- "kind": "field",
243
- "name": "anchorElement",
244
- "type": {
245
- "text": "HTMLAnchorElement"
246
- },
247
- "privacy": "private",
248
- "description": "HTML anchor element that component clicks by proxy",
249
- "inheritedFrom": {
250
- "name": "ButtonBase",
251
- "module": "src/ButtonBase.js"
252
- }
253
- },
254
- {
255
- "kind": "field",
256
- "name": "focusElement",
257
- "type": {
258
- "text": "HTMLElement"
259
- },
260
- "privacy": "public",
261
- "readonly": true,
262
- "inheritedFrom": {
263
- "name": "ButtonBase",
264
- "module": "src/ButtonBase.js"
265
- }
266
- },
267
- {
268
- "kind": "field",
269
- "name": "hasLabel",
270
- "type": {
271
- "text": "boolean"
272
- },
273
- "privacy": "protected",
274
- "readonly": true,
275
- "inheritedFrom": {
276
- "name": "ButtonBase",
277
- "module": "src/ButtonBase.js"
278
- }
279
- },
280
- {
281
- "kind": "field",
282
- "name": "buttonContent",
283
- "type": {
284
- "text": "TemplateResult[]"
285
- },
286
- "privacy": "protected",
287
- "readonly": true,
288
- "inheritedFrom": {
289
- "name": "ButtonBase",
290
- "module": "src/ButtonBase.js"
291
- }
292
- },
293
- {
294
- "kind": "method",
295
- "name": "handleClickCapture",
296
- "privacy": "private",
297
- "return": {
298
- "type": {
299
- "text": "void | boolean"
300
- }
301
- },
302
- "parameters": [
303
- {
304
- "name": "event",
305
- "type": {
306
- "text": "Event"
307
- }
308
- }
309
- ],
310
- "inheritedFrom": {
311
- "name": "ButtonBase",
312
- "module": "src/ButtonBase.js"
313
- }
314
- },
315
- {
316
- "kind": "method",
317
- "name": "proxyFocus",
318
- "privacy": "private",
319
- "return": {
320
- "type": {
321
- "text": "void"
322
- }
323
- },
324
- "inheritedFrom": {
325
- "name": "ButtonBase",
326
- "module": "src/ButtonBase.js"
327
- }
328
- },
329
- {
330
- "kind": "method",
331
- "name": "shouldProxyClick",
332
- "privacy": "private",
333
- "return": {
334
- "type": {
335
- "text": "boolean"
336
- }
337
- },
338
- "parameters": [
339
- {
340
- "name": "event",
341
- "optional": true,
342
- "type": {
343
- "text": "MouseEvent"
344
- }
345
- }
346
- ],
347
- "inheritedFrom": {
348
- "name": "ButtonBase",
349
- "module": "src/ButtonBase.js"
350
- }
351
- },
352
- {
353
- "kind": "method",
354
- "name": "renderAnchor",
355
- "privacy": "public",
356
- "return": {
357
- "type": {
358
- "text": "TemplateResult"
359
- }
360
- },
361
- "inheritedFrom": {
362
- "name": "ButtonBase",
363
- "module": "src/ButtonBase.js"
364
- }
365
- },
366
- {
367
- "kind": "method",
368
- "name": "handleKeydown",
369
- "privacy": "protected",
370
- "return": {
371
- "type": {
372
- "text": "void"
373
- }
374
- },
375
- "parameters": [
376
- {
377
- "name": "event",
378
- "type": {
379
- "text": "KeyboardEvent"
380
- }
381
- }
382
- ],
383
- "inheritedFrom": {
384
- "name": "ButtonBase",
385
- "module": "src/ButtonBase.js"
386
- }
387
- },
388
- {
389
- "kind": "method",
390
- "name": "handleKeypress",
391
- "privacy": "private",
392
- "return": {
393
- "type": {
394
- "text": "void"
395
- }
396
- },
397
- "parameters": [
398
- {
399
- "name": "event",
400
- "type": {
401
- "text": "KeyboardEvent"
402
- }
403
- }
404
- ],
405
- "inheritedFrom": {
406
- "name": "ButtonBase",
407
- "module": "src/ButtonBase.js"
408
- }
409
- },
410
- {
411
- "kind": "method",
412
- "name": "handleKeyup",
413
- "privacy": "protected",
414
- "return": {
415
- "type": {
416
- "text": "void"
417
- }
418
- },
419
- "parameters": [
420
- {
421
- "name": "event",
422
- "type": {
423
- "text": "KeyboardEvent"
424
- }
425
- }
426
- ],
427
- "inheritedFrom": {
428
- "name": "ButtonBase",
429
- "module": "src/ButtonBase.js"
430
- }
431
- },
432
- {
433
- "kind": "method",
434
- "name": "manageAnchor",
435
- "privacy": "private",
436
- "return": {
437
- "type": {
438
- "text": "void"
439
- }
440
- },
441
- "inheritedFrom": {
442
- "name": "ButtonBase",
443
- "module": "src/ButtonBase.js"
444
- }
445
- }
446
- ],
447
- "attributes": [
448
- {
449
- "name": "pending-label",
450
- "type": {
451
- "text": "string"
452
- },
453
- "default": "'Pending'",
454
- "fieldName": "pendingLabel"
455
- },
456
- {
457
- "name": "pending",
458
- "type": {
459
- "text": "boolean"
460
- },
461
- "default": "false",
462
- "fieldName": "pending"
463
- },
464
- {
465
- "name": "variant",
466
- "type": {
467
- "text": "ButtonVariants"
468
- },
469
- "description": "The visual variant to apply to this button.",
470
- "fieldName": "variant"
471
- },
472
- {
473
- "name": "static-color",
474
- "type": {
475
- "text": "'black' | 'white' | undefined"
476
- },
477
- "description": "The static color variant to use for this button.",
478
- "fieldName": "staticColor"
479
- },
480
- {
481
- "name": "treatment",
482
- "type": {
483
- "text": "ButtonTreatments"
484
- },
485
- "default": "'fill'",
486
- "description": "The visual treatment to apply to this button.",
487
- "fieldName": "treatment"
488
- },
489
- {
490
- "name": "quiet",
491
- "description": "Style this button to be less obvious",
492
- "type": {
493
- "text": "boolean"
494
- },
495
- "fieldName": "quiet"
496
- },
497
- {
498
- "name": "no-wrap",
499
- "type": {
500
- "text": "boolean"
501
- },
502
- "default": "false",
503
- "description": "Disables text wrapping within the button component's label.\nPlease note that this option is not a part of the design specification\nand should be used carefully, with consideration of this overflow behavior\nand the readability of the button's content.",
504
- "fieldName": "noWrap"
505
- },
506
- {
507
- "name": "active",
508
- "type": {
509
- "text": "boolean"
510
- },
511
- "default": "false",
512
- "fieldName": "active",
513
- "inheritedFrom": {
514
- "name": "ButtonBase",
515
- "module": "src/ButtonBase.ts"
516
- }
517
- },
518
- {
519
- "name": "type",
520
- "type": {
521
- "text": "'button' | 'submit' | 'reset'"
522
- },
523
- "default": "'button'",
524
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
525
- "fieldName": "type",
526
- "inheritedFrom": {
527
- "name": "ButtonBase",
528
- "module": "src/ButtonBase.ts"
529
- }
530
- }
531
- ],
532
- "mixins": [
533
- {
534
- "name": "SizedMixin",
535
- "package": "@spectrum-web-components/base"
536
- }
537
- ],
538
- "superclass": {
539
- "name": "ButtonBase",
540
- "module": "/src/ButtonBase.js"
541
- },
542
- "tagName": "sp-button",
543
- "customElement": true
544
- }
545
- ],
546
- "exports": [
547
- {
548
- "kind": "js",
549
- "name": "VALID_VARIANTS",
550
- "declaration": {
551
- "name": "VALID_VARIANTS",
552
- "module": "src/Button.js"
553
- }
554
- },
555
- {
556
- "kind": "js",
557
- "name": "VALID_STATIC_COLORS",
558
- "declaration": {
559
- "name": "VALID_STATIC_COLORS",
560
- "module": "src/Button.js"
561
- }
562
- },
563
- {
564
- "kind": "js",
565
- "name": "Button",
566
- "declaration": {
567
- "name": "Button",
568
- "module": "src/Button.js"
569
- }
570
- }
571
- ]
572
- },
573
- {
574
- "kind": "javascript-module",
575
- "path": "src/ButtonBase.js",
576
- "declarations": [
577
- {
578
- "kind": "class",
579
- "description": "",
580
- "name": "ButtonBase",
581
- "slots": [
582
- {
583
- "description": "text content to be displayed in the Button element",
584
- "name": ""
585
- },
586
- {
587
- "description": "icon element(s) to display at the start of the button",
588
- "name": "icon"
589
- }
590
- ],
591
- "members": [
592
- {
593
- "kind": "field",
594
- "name": "active",
595
- "type": {
596
- "text": "boolean"
597
- },
598
- "privacy": "public",
599
- "default": "false",
600
- "attribute": "active",
601
- "reflects": true
602
- },
603
- {
604
- "kind": "field",
605
- "name": "type",
606
- "type": {
607
- "text": "'button' | 'submit' | 'reset'"
608
- },
609
- "privacy": "public",
610
- "default": "'button'",
611
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
612
- "attribute": "type"
613
- },
614
- {
615
- "kind": "field",
616
- "name": "anchorElement",
617
- "type": {
618
- "text": "HTMLAnchorElement"
619
- },
620
- "privacy": "private",
621
- "description": "HTML anchor element that component clicks by proxy"
622
- },
623
- {
624
- "kind": "field",
625
- "name": "focusElement",
626
- "type": {
627
- "text": "HTMLElement"
628
- },
629
- "privacy": "public",
630
- "readonly": true
631
- },
632
- {
633
- "kind": "field",
634
- "name": "hasLabel",
635
- "type": {
636
- "text": "boolean"
637
- },
638
- "privacy": "protected",
639
- "readonly": true
640
- },
641
- {
642
- "kind": "field",
643
- "name": "buttonContent",
644
- "type": {
645
- "text": "TemplateResult[]"
646
- },
647
- "privacy": "protected",
648
- "readonly": true
649
- },
650
- {
651
- "kind": "method",
652
- "name": "handleClickCapture",
653
- "privacy": "private",
654
- "return": {
655
- "type": {
656
- "text": "void | boolean"
657
- }
658
- },
659
- "parameters": [
660
- {
661
- "name": "event",
662
- "type": {
663
- "text": "Event"
664
- }
665
- }
666
- ]
667
- },
668
- {
669
- "kind": "method",
670
- "name": "proxyFocus",
671
- "privacy": "private",
672
- "return": {
673
- "type": {
674
- "text": "void"
675
- }
676
- }
677
- },
678
- {
679
- "kind": "method",
680
- "name": "shouldProxyClick",
681
- "privacy": "private",
682
- "return": {
683
- "type": {
684
- "text": "boolean"
685
- }
686
- },
687
- "parameters": [
688
- {
689
- "name": "event",
690
- "optional": true,
691
- "type": {
692
- "text": "MouseEvent"
693
- }
694
- }
695
- ]
696
- },
697
- {
698
- "kind": "method",
699
- "name": "renderAnchor",
700
- "privacy": "public",
701
- "return": {
702
- "type": {
703
- "text": "TemplateResult"
704
- }
705
- }
706
- },
707
- {
708
- "kind": "method",
709
- "name": "renderButton",
710
- "privacy": "protected",
711
- "return": {
712
- "type": {
713
- "text": "TemplateResult"
714
- }
715
- }
716
- },
717
- {
718
- "kind": "method",
719
- "name": "handleKeydown",
720
- "privacy": "protected",
721
- "return": {
722
- "type": {
723
- "text": "void"
724
- }
725
- },
726
- "parameters": [
727
- {
728
- "name": "event",
729
- "type": {
730
- "text": "KeyboardEvent"
731
- }
732
- }
733
- ]
734
- },
735
- {
736
- "kind": "method",
737
- "name": "handleKeypress",
738
- "privacy": "private",
739
- "return": {
740
- "type": {
741
- "text": "void"
742
- }
743
- },
744
- "parameters": [
745
- {
746
- "name": "event",
747
- "type": {
748
- "text": "KeyboardEvent"
749
- }
750
- }
751
- ]
752
- },
753
- {
754
- "kind": "method",
755
- "name": "handleKeyup",
756
- "privacy": "protected",
757
- "return": {
758
- "type": {
759
- "text": "void"
760
- }
761
- },
762
- "parameters": [
763
- {
764
- "name": "event",
765
- "type": {
766
- "text": "KeyboardEvent"
767
- }
768
- }
769
- ]
770
- },
771
- {
772
- "kind": "method",
773
- "name": "manageAnchor",
774
- "privacy": "private",
775
- "return": {
776
- "type": {
777
- "text": "void"
778
- }
779
- }
780
- }
781
- ],
782
- "attributes": [
783
- {
784
- "name": "active",
785
- "type": {
786
- "text": "boolean"
787
- },
788
- "default": "false",
789
- "fieldName": "active"
790
- },
791
- {
792
- "name": "type",
793
- "type": {
794
- "text": "'button' | 'submit' | 'reset'"
795
- },
796
- "default": "'button'",
797
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
798
- "fieldName": "type"
799
- }
800
- ],
801
- "mixins": [
802
- {
803
- "name": "ObserveSlotText",
804
- "package": "@spectrum-web-components/shared/src/observe-slot-text.js"
805
- },
806
- {
807
- "name": "LikeAnchor",
808
- "package": "@spectrum-web-components/shared/src/like-anchor.js"
809
- }
810
- ],
811
- "superclass": {
812
- "name": "Focusable",
813
- "package": "@spectrum-web-components/shared/src/focusable.js"
814
- }
815
- }
816
- ],
817
- "exports": [
818
- {
819
- "kind": "js",
820
- "name": "ButtonBase",
821
- "declaration": {
822
- "name": "ButtonBase",
823
- "module": "src/ButtonBase.js"
824
- }
825
- }
826
- ]
827
- },
828
- {
829
- "kind": "javascript-module",
830
- "path": "src/ClearButton.js",
831
- "declarations": [
832
- {
833
- "kind": "class",
834
- "description": "",
835
- "name": "ClearButton",
836
- "slots": [
837
- {
838
- "description": "text label of the Clear Button",
839
- "name": "",
840
- "inheritedFrom": {
841
- "name": "ButtonBase",
842
- "module": "src/ButtonBase.ts"
843
- }
844
- },
845
- {
846
- "description": "icon element(s) to display at the start of the button",
847
- "name": "icon",
848
- "inheritedFrom": {
849
- "name": "ButtonBase",
850
- "module": "src/ButtonBase.ts"
851
- }
852
- }
853
- ],
854
- "members": [
855
- {
856
- "kind": "field",
857
- "name": "variant",
858
- "type": {
859
- "text": "'overBackground' | ''"
860
- },
861
- "privacy": "public",
862
- "default": "''",
863
- "description": "The visual variant to apply to this button.",
864
- "attribute": "variant",
865
- "reflects": true
866
- },
867
- {
868
- "kind": "field",
869
- "name": "buttonContent",
870
- "type": {
871
- "text": "TemplateResult[]"
872
- },
873
- "privacy": "protected",
874
- "readonly": true,
875
- "inheritedFrom": {
876
- "name": "ButtonBase",
877
- "module": "src/ButtonBase.js"
878
- }
879
- },
880
- {
881
- "kind": "field",
882
- "name": "active",
883
- "type": {
884
- "text": "boolean"
885
- },
886
- "privacy": "public",
887
- "default": "false",
888
- "attribute": "active",
889
- "reflects": true,
890
- "inheritedFrom": {
891
- "name": "ButtonBase",
892
- "module": "src/ButtonBase.js"
893
- }
894
- },
895
- {
896
- "kind": "field",
897
- "name": "type",
898
- "type": {
899
- "text": "'button' | 'submit' | 'reset'"
900
- },
901
- "privacy": "public",
902
- "default": "'button'",
903
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
904
- "attribute": "type",
905
- "inheritedFrom": {
906
- "name": "ButtonBase",
907
- "module": "src/ButtonBase.js"
908
- }
909
- },
910
- {
911
- "kind": "field",
912
- "name": "anchorElement",
913
- "type": {
914
- "text": "HTMLAnchorElement"
915
- },
916
- "privacy": "private",
917
- "description": "HTML anchor element that component clicks by proxy",
918
- "inheritedFrom": {
919
- "name": "ButtonBase",
920
- "module": "src/ButtonBase.js"
921
- }
922
- },
923
- {
924
- "kind": "field",
925
- "name": "focusElement",
926
- "type": {
927
- "text": "HTMLElement"
928
- },
929
- "privacy": "public",
930
- "readonly": true,
931
- "inheritedFrom": {
932
- "name": "ButtonBase",
933
- "module": "src/ButtonBase.js"
934
- }
935
- },
936
- {
937
- "kind": "field",
938
- "name": "hasLabel",
939
- "type": {
940
- "text": "boolean"
941
- },
942
- "privacy": "protected",
943
- "readonly": true,
944
- "inheritedFrom": {
945
- "name": "ButtonBase",
946
- "module": "src/ButtonBase.js"
947
- }
948
- },
949
- {
950
- "kind": "method",
951
- "name": "handleClickCapture",
952
- "privacy": "private",
953
- "return": {
954
- "type": {
955
- "text": "void | boolean"
956
- }
957
- },
958
- "parameters": [
959
- {
960
- "name": "event",
961
- "type": {
962
- "text": "Event"
963
- }
964
- }
965
- ],
966
- "inheritedFrom": {
967
- "name": "ButtonBase",
968
- "module": "src/ButtonBase.js"
969
- }
970
- },
971
- {
972
- "kind": "method",
973
- "name": "proxyFocus",
974
- "privacy": "private",
975
- "return": {
976
- "type": {
977
- "text": "void"
978
- }
979
- },
980
- "inheritedFrom": {
981
- "name": "ButtonBase",
982
- "module": "src/ButtonBase.js"
983
- }
984
- },
985
- {
986
- "kind": "method",
987
- "name": "shouldProxyClick",
988
- "privacy": "private",
989
- "return": {
990
- "type": {
991
- "text": "boolean"
992
- }
993
- },
994
- "parameters": [
995
- {
996
- "name": "event",
997
- "optional": true,
998
- "type": {
999
- "text": "MouseEvent"
1000
- }
1001
- }
1002
- ],
1003
- "inheritedFrom": {
1004
- "name": "ButtonBase",
1005
- "module": "src/ButtonBase.js"
1006
- }
1007
- },
1008
- {
1009
- "kind": "method",
1010
- "name": "renderAnchor",
1011
- "privacy": "public",
1012
- "return": {
1013
- "type": {
1014
- "text": "TemplateResult"
1015
- }
1016
- },
1017
- "inheritedFrom": {
1018
- "name": "ButtonBase",
1019
- "module": "src/ButtonBase.js"
1020
- }
1021
- },
1022
- {
1023
- "kind": "method",
1024
- "name": "renderButton",
1025
- "privacy": "protected",
1026
- "return": {
1027
- "type": {
1028
- "text": "TemplateResult"
1029
- }
1030
- },
1031
- "inheritedFrom": {
1032
- "name": "ButtonBase",
1033
- "module": "src/ButtonBase.js"
1034
- }
1035
- },
1036
- {
1037
- "kind": "method",
1038
- "name": "handleKeydown",
1039
- "privacy": "protected",
1040
- "return": {
1041
- "type": {
1042
- "text": "void"
1043
- }
1044
- },
1045
- "parameters": [
1046
- {
1047
- "name": "event",
1048
- "type": {
1049
- "text": "KeyboardEvent"
1050
- }
1051
- }
1052
- ],
1053
- "inheritedFrom": {
1054
- "name": "ButtonBase",
1055
- "module": "src/ButtonBase.js"
1056
- }
1057
- },
1058
- {
1059
- "kind": "method",
1060
- "name": "handleKeypress",
1061
- "privacy": "private",
1062
- "return": {
1063
- "type": {
1064
- "text": "void"
1065
- }
1066
- },
1067
- "parameters": [
1068
- {
1069
- "name": "event",
1070
- "type": {
1071
- "text": "KeyboardEvent"
1072
- }
1073
- }
1074
- ],
1075
- "inheritedFrom": {
1076
- "name": "ButtonBase",
1077
- "module": "src/ButtonBase.js"
1078
- }
1079
- },
1080
- {
1081
- "kind": "method",
1082
- "name": "handleKeyup",
1083
- "privacy": "protected",
1084
- "return": {
1085
- "type": {
1086
- "text": "void"
1087
- }
1088
- },
1089
- "parameters": [
1090
- {
1091
- "name": "event",
1092
- "type": {
1093
- "text": "KeyboardEvent"
1094
- }
1095
- }
1096
- ],
1097
- "inheritedFrom": {
1098
- "name": "ButtonBase",
1099
- "module": "src/ButtonBase.js"
1100
- }
1101
- },
1102
- {
1103
- "kind": "method",
1104
- "name": "manageAnchor",
1105
- "privacy": "private",
1106
- "return": {
1107
- "type": {
1108
- "text": "void"
1109
- }
1110
- },
1111
- "inheritedFrom": {
1112
- "name": "ButtonBase",
1113
- "module": "src/ButtonBase.js"
1114
- }
1115
- }
1116
- ],
1117
- "attributes": [
1118
- {
1119
- "name": "variant",
1120
- "type": {
1121
- "text": "'overBackground' | ''"
1122
- },
1123
- "default": "''",
1124
- "description": "The visual variant to apply to this button.",
1125
- "fieldName": "variant"
1126
- },
1127
- {
1128
- "name": "active",
1129
- "type": {
1130
- "text": "boolean"
1131
- },
1132
- "default": "false",
1133
- "fieldName": "active",
1134
- "inheritedFrom": {
1135
- "name": "ButtonBase",
1136
- "module": "src/ButtonBase.ts"
1137
- }
1138
- },
1139
- {
1140
- "name": "type",
1141
- "type": {
1142
- "text": "'button' | 'submit' | 'reset'"
1143
- },
1144
- "default": "'button'",
1145
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
1146
- "fieldName": "type",
1147
- "inheritedFrom": {
1148
- "name": "ButtonBase",
1149
- "module": "src/ButtonBase.ts"
1150
- }
1151
- }
1152
- ],
1153
- "mixins": [
1154
- {
1155
- "name": "SizedMixin",
1156
- "package": "@spectrum-web-components/base"
1157
- }
1158
- ],
1159
- "superclass": {
1160
- "name": "StyledButton",
1161
- "module": "/src/StyledButton.js"
1162
- },
1163
- "tagName": "sp-clear-button",
1164
- "customElement": true
1165
- }
1166
- ],
1167
- "exports": [
1168
- {
1169
- "kind": "js",
1170
- "name": "ClearButton",
1171
- "declaration": {
1172
- "name": "ClearButton",
1173
- "module": "src/ClearButton.js"
1174
- }
1175
- }
1176
- ]
1177
- },
1178
- {
1179
- "kind": "javascript-module",
1180
- "path": "src/CloseButton.js",
1181
- "declarations": [
1182
- {
1183
- "kind": "class",
1184
- "description": "",
1185
- "name": "CloseButton",
1186
- "slots": [
1187
- {
1188
- "description": "text label of the Close Button",
1189
- "name": "",
1190
- "inheritedFrom": {
1191
- "name": "ButtonBase",
1192
- "module": "src/ButtonBase.ts"
1193
- }
1194
- },
1195
- {
1196
- "description": "icon element(s) to display at the start of the button",
1197
- "name": "icon",
1198
- "inheritedFrom": {
1199
- "name": "ButtonBase",
1200
- "module": "src/ButtonBase.ts"
1201
- }
1202
- }
1203
- ],
1204
- "members": [
1205
- {
1206
- "kind": "field",
1207
- "name": "variant",
1208
- "type": {
1209
- "text": "ButtonStaticColors | ''"
1210
- },
1211
- "privacy": "public",
1212
- "default": "''",
1213
- "description": "The visual variant to apply to this button.",
1214
- "attribute": "variant",
1215
- "reflects": true
1216
- },
1217
- {
1218
- "kind": "field",
1219
- "name": "staticColor",
1220
- "type": {
1221
- "text": "'black' | 'white' | undefined"
1222
- },
1223
- "privacy": "public",
1224
- "attribute": "static-color",
1225
- "reflects": true
1226
- },
1227
- {
1228
- "kind": "field",
1229
- "name": "buttonContent",
1230
- "type": {
1231
- "text": "TemplateResult[]"
1232
- },
1233
- "privacy": "protected",
1234
- "readonly": true,
1235
- "inheritedFrom": {
1236
- "name": "ButtonBase",
1237
- "module": "src/ButtonBase.js"
1238
- }
1239
- },
1240
- {
1241
- "kind": "field",
1242
- "name": "active",
1243
- "type": {
1244
- "text": "boolean"
1245
- },
1246
- "privacy": "public",
1247
- "default": "false",
1248
- "attribute": "active",
1249
- "reflects": true,
1250
- "inheritedFrom": {
1251
- "name": "ButtonBase",
1252
- "module": "src/ButtonBase.js"
1253
- }
1254
- },
1255
- {
1256
- "kind": "field",
1257
- "name": "type",
1258
- "type": {
1259
- "text": "'button' | 'submit' | 'reset'"
1260
- },
1261
- "privacy": "public",
1262
- "default": "'button'",
1263
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
1264
- "attribute": "type",
1265
- "inheritedFrom": {
1266
- "name": "ButtonBase",
1267
- "module": "src/ButtonBase.js"
1268
- }
1269
- },
1270
- {
1271
- "kind": "field",
1272
- "name": "anchorElement",
1273
- "type": {
1274
- "text": "HTMLAnchorElement"
1275
- },
1276
- "privacy": "private",
1277
- "description": "HTML anchor element that component clicks by proxy",
1278
- "inheritedFrom": {
1279
- "name": "ButtonBase",
1280
- "module": "src/ButtonBase.js"
1281
- }
1282
- },
1283
- {
1284
- "kind": "field",
1285
- "name": "focusElement",
1286
- "type": {
1287
- "text": "HTMLElement"
1288
- },
1289
- "privacy": "public",
1290
- "readonly": true,
1291
- "inheritedFrom": {
1292
- "name": "ButtonBase",
1293
- "module": "src/ButtonBase.js"
1294
- }
1295
- },
1296
- {
1297
- "kind": "field",
1298
- "name": "hasLabel",
1299
- "type": {
1300
- "text": "boolean"
1301
- },
1302
- "privacy": "protected",
1303
- "readonly": true,
1304
- "inheritedFrom": {
1305
- "name": "ButtonBase",
1306
- "module": "src/ButtonBase.js"
1307
- }
1308
- },
1309
- {
1310
- "kind": "method",
1311
- "name": "handleClickCapture",
1312
- "privacy": "private",
1313
- "return": {
1314
- "type": {
1315
- "text": "void | boolean"
1316
- }
1317
- },
1318
- "parameters": [
1319
- {
1320
- "name": "event",
1321
- "type": {
1322
- "text": "Event"
1323
- }
1324
- }
1325
- ],
1326
- "inheritedFrom": {
1327
- "name": "ButtonBase",
1328
- "module": "src/ButtonBase.js"
1329
- }
1330
- },
1331
- {
1332
- "kind": "method",
1333
- "name": "proxyFocus",
1334
- "privacy": "private",
1335
- "return": {
1336
- "type": {
1337
- "text": "void"
1338
- }
1339
- },
1340
- "inheritedFrom": {
1341
- "name": "ButtonBase",
1342
- "module": "src/ButtonBase.js"
1343
- }
1344
- },
1345
- {
1346
- "kind": "method",
1347
- "name": "shouldProxyClick",
1348
- "privacy": "private",
1349
- "return": {
1350
- "type": {
1351
- "text": "boolean"
1352
- }
1353
- },
1354
- "parameters": [
1355
- {
1356
- "name": "event",
1357
- "optional": true,
1358
- "type": {
1359
- "text": "MouseEvent"
1360
- }
1361
- }
1362
- ],
1363
- "inheritedFrom": {
1364
- "name": "ButtonBase",
1365
- "module": "src/ButtonBase.js"
1366
- }
1367
- },
1368
- {
1369
- "kind": "method",
1370
- "name": "renderAnchor",
1371
- "privacy": "public",
1372
- "return": {
1373
- "type": {
1374
- "text": "TemplateResult"
1375
- }
1376
- },
1377
- "inheritedFrom": {
1378
- "name": "ButtonBase",
1379
- "module": "src/ButtonBase.js"
1380
- }
1381
- },
1382
- {
1383
- "kind": "method",
1384
- "name": "renderButton",
1385
- "privacy": "protected",
1386
- "return": {
1387
- "type": {
1388
- "text": "TemplateResult"
1389
- }
1390
- },
1391
- "inheritedFrom": {
1392
- "name": "ButtonBase",
1393
- "module": "src/ButtonBase.js"
1394
- }
1395
- },
1396
- {
1397
- "kind": "method",
1398
- "name": "handleKeydown",
1399
- "privacy": "protected",
1400
- "return": {
1401
- "type": {
1402
- "text": "void"
1403
- }
1404
- },
1405
- "parameters": [
1406
- {
1407
- "name": "event",
1408
- "type": {
1409
- "text": "KeyboardEvent"
1410
- }
1411
- }
1412
- ],
1413
- "inheritedFrom": {
1414
- "name": "ButtonBase",
1415
- "module": "src/ButtonBase.js"
1416
- }
1417
- },
1418
- {
1419
- "kind": "method",
1420
- "name": "handleKeypress",
1421
- "privacy": "private",
1422
- "return": {
1423
- "type": {
1424
- "text": "void"
1425
- }
1426
- },
1427
- "parameters": [
1428
- {
1429
- "name": "event",
1430
- "type": {
1431
- "text": "KeyboardEvent"
1432
- }
1433
- }
1434
- ],
1435
- "inheritedFrom": {
1436
- "name": "ButtonBase",
1437
- "module": "src/ButtonBase.js"
1438
- }
1439
- },
1440
- {
1441
- "kind": "method",
1442
- "name": "handleKeyup",
1443
- "privacy": "protected",
1444
- "return": {
1445
- "type": {
1446
- "text": "void"
1447
- }
1448
- },
1449
- "parameters": [
1450
- {
1451
- "name": "event",
1452
- "type": {
1453
- "text": "KeyboardEvent"
1454
- }
1455
- }
1456
- ],
1457
- "inheritedFrom": {
1458
- "name": "ButtonBase",
1459
- "module": "src/ButtonBase.js"
1460
- }
1461
- },
1462
- {
1463
- "kind": "method",
1464
- "name": "manageAnchor",
1465
- "privacy": "private",
1466
- "return": {
1467
- "type": {
1468
- "text": "void"
1469
- }
1470
- },
1471
- "inheritedFrom": {
1472
- "name": "ButtonBase",
1473
- "module": "src/ButtonBase.js"
1474
- }
1475
- }
1476
- ],
1477
- "attributes": [
1478
- {
1479
- "name": "variant",
1480
- "type": {
1481
- "text": "ButtonStaticColors | ''"
1482
- },
1483
- "default": "''",
1484
- "description": "The visual variant to apply to this button.",
1485
- "fieldName": "variant"
1486
- },
1487
- {
1488
- "name": "static-color",
1489
- "type": {
1490
- "text": "'black' | 'white' | undefined"
1491
- },
1492
- "fieldName": "staticColor"
1493
- },
1494
- {
1495
- "name": "active",
1496
- "type": {
1497
- "text": "boolean"
1498
- },
1499
- "default": "false",
1500
- "fieldName": "active",
1501
- "inheritedFrom": {
1502
- "name": "ButtonBase",
1503
- "module": "src/ButtonBase.ts"
1504
- }
1505
- },
1506
- {
1507
- "name": "type",
1508
- "type": {
1509
- "text": "'button' | 'submit' | 'reset'"
1510
- },
1511
- "default": "'button'",
1512
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
1513
- "fieldName": "type",
1514
- "inheritedFrom": {
1515
- "name": "ButtonBase",
1516
- "module": "src/ButtonBase.ts"
1517
- }
1518
- }
1519
- ],
1520
- "mixins": [
1521
- {
1522
- "name": "SizedMixin",
1523
- "package": "@spectrum-web-components/base"
1524
- }
1525
- ],
1526
- "superclass": {
1527
- "name": "StyledButton",
1528
- "module": "/src/StyledButton.js"
1529
- },
1530
- "tagName": "sp-close-button",
1531
- "customElement": true
1532
- }
1533
- ],
1534
- "exports": [
1535
- {
1536
- "kind": "js",
1537
- "name": "CloseButton",
1538
- "declaration": {
1539
- "name": "CloseButton",
1540
- "module": "src/CloseButton.js"
1541
- }
1542
- }
1543
- ]
1544
- },
1545
- {
1546
- "kind": "javascript-module",
1547
- "path": "src/StyledButton.js",
1548
- "declarations": [
1549
- {
1550
- "kind": "class",
1551
- "description": "",
1552
- "name": "StyledButton",
1553
- "superclass": {
1554
- "name": "ButtonBase",
1555
- "module": "/src/ButtonBase.js"
1556
- },
1557
- "slots": [
1558
- {
1559
- "description": "text content to be displayed in the Button element",
1560
- "name": "",
1561
- "inheritedFrom": {
1562
- "name": "ButtonBase",
1563
- "module": "src/ButtonBase.ts"
1564
- }
1565
- },
1566
- {
1567
- "description": "icon element(s) to display at the start of the button",
1568
- "name": "icon",
1569
- "inheritedFrom": {
1570
- "name": "ButtonBase",
1571
- "module": "src/ButtonBase.ts"
1572
- }
1573
- }
1574
- ],
1575
- "attributes": [
1576
- {
1577
- "name": "active",
1578
- "type": {
1579
- "text": "boolean"
1580
- },
1581
- "default": "false",
1582
- "fieldName": "active",
1583
- "inheritedFrom": {
1584
- "name": "ButtonBase",
1585
- "module": "src/ButtonBase.ts"
1586
- }
1587
- },
1588
- {
1589
- "name": "type",
1590
- "type": {
1591
- "text": "'button' | 'submit' | 'reset'"
1592
- },
1593
- "default": "'button'",
1594
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
1595
- "fieldName": "type",
1596
- "inheritedFrom": {
1597
- "name": "ButtonBase",
1598
- "module": "src/ButtonBase.ts"
1599
- }
1600
- }
1601
- ],
1602
- "members": [
1603
- {
1604
- "kind": "field",
1605
- "name": "active",
1606
- "type": {
1607
- "text": "boolean"
1608
- },
1609
- "privacy": "public",
1610
- "default": "false",
1611
- "attribute": "active",
1612
- "reflects": true,
1613
- "inheritedFrom": {
1614
- "name": "ButtonBase",
1615
- "module": "src/ButtonBase.js"
1616
- }
1617
- },
1618
- {
1619
- "kind": "field",
1620
- "name": "type",
1621
- "type": {
1622
- "text": "'button' | 'submit' | 'reset'"
1623
- },
1624
- "privacy": "public",
1625
- "default": "'button'",
1626
- "description": "The default behavior of the button.\nPossible values are: `button` (default), `submit`, and `reset`.",
1627
- "attribute": "type",
1628
- "inheritedFrom": {
1629
- "name": "ButtonBase",
1630
- "module": "src/ButtonBase.js"
1631
- }
1632
- },
1633
- {
1634
- "kind": "field",
1635
- "name": "anchorElement",
1636
- "type": {
1637
- "text": "HTMLAnchorElement"
1638
- },
1639
- "privacy": "private",
1640
- "description": "HTML anchor element that component clicks by proxy",
1641
- "inheritedFrom": {
1642
- "name": "ButtonBase",
1643
- "module": "src/ButtonBase.js"
1644
- }
1645
- },
1646
- {
1647
- "kind": "field",
1648
- "name": "focusElement",
1649
- "type": {
1650
- "text": "HTMLElement"
1651
- },
1652
- "privacy": "public",
1653
- "readonly": true,
1654
- "inheritedFrom": {
1655
- "name": "ButtonBase",
1656
- "module": "src/ButtonBase.js"
1657
- }
1658
- },
1659
- {
1660
- "kind": "field",
1661
- "name": "hasLabel",
1662
- "type": {
1663
- "text": "boolean"
1664
- },
1665
- "privacy": "protected",
1666
- "readonly": true,
1667
- "inheritedFrom": {
1668
- "name": "ButtonBase",
1669
- "module": "src/ButtonBase.js"
1670
- }
1671
- },
1672
- {
1673
- "kind": "field",
1674
- "name": "buttonContent",
1675
- "type": {
1676
- "text": "TemplateResult[]"
1677
- },
1678
- "privacy": "protected",
1679
- "readonly": true,
1680
- "inheritedFrom": {
1681
- "name": "ButtonBase",
1682
- "module": "src/ButtonBase.js"
1683
- }
1684
- },
1685
- {
1686
- "kind": "method",
1687
- "name": "handleClickCapture",
1688
- "privacy": "private",
1689
- "return": {
1690
- "type": {
1691
- "text": "void | boolean"
1692
- }
1693
- },
1694
- "parameters": [
1695
- {
1696
- "name": "event",
1697
- "type": {
1698
- "text": "Event"
1699
- }
1700
- }
1701
- ],
1702
- "inheritedFrom": {
1703
- "name": "ButtonBase",
1704
- "module": "src/ButtonBase.js"
1705
- }
1706
- },
1707
- {
1708
- "kind": "method",
1709
- "name": "proxyFocus",
1710
- "privacy": "private",
1711
- "return": {
1712
- "type": {
1713
- "text": "void"
1714
- }
1715
- },
1716
- "inheritedFrom": {
1717
- "name": "ButtonBase",
1718
- "module": "src/ButtonBase.js"
1719
- }
1720
- },
1721
- {
1722
- "kind": "method",
1723
- "name": "shouldProxyClick",
1724
- "privacy": "private",
1725
- "return": {
1726
- "type": {
1727
- "text": "boolean"
1728
- }
1729
- },
1730
- "parameters": [
1731
- {
1732
- "name": "event",
1733
- "optional": true,
1734
- "type": {
1735
- "text": "MouseEvent"
1736
- }
1737
- }
1738
- ],
1739
- "inheritedFrom": {
1740
- "name": "ButtonBase",
1741
- "module": "src/ButtonBase.js"
1742
- }
1743
- },
1744
- {
1745
- "kind": "method",
1746
- "name": "renderAnchor",
1747
- "privacy": "public",
1748
- "return": {
1749
- "type": {
1750
- "text": "TemplateResult"
1751
- }
1752
- },
1753
- "inheritedFrom": {
1754
- "name": "ButtonBase",
1755
- "module": "src/ButtonBase.js"
1756
- }
1757
- },
1758
- {
1759
- "kind": "method",
1760
- "name": "renderButton",
1761
- "privacy": "protected",
1762
- "return": {
1763
- "type": {
1764
- "text": "TemplateResult"
1765
- }
1766
- },
1767
- "inheritedFrom": {
1768
- "name": "ButtonBase",
1769
- "module": "src/ButtonBase.js"
1770
- }
1771
- },
1772
- {
1773
- "kind": "method",
1774
- "name": "handleKeydown",
1775
- "privacy": "protected",
1776
- "return": {
1777
- "type": {
1778
- "text": "void"
1779
- }
1780
- },
1781
- "parameters": [
1782
- {
1783
- "name": "event",
1784
- "type": {
1785
- "text": "KeyboardEvent"
1786
- }
1787
- }
1788
- ],
1789
- "inheritedFrom": {
1790
- "name": "ButtonBase",
1791
- "module": "src/ButtonBase.js"
1792
- }
1793
- },
1794
- {
1795
- "kind": "method",
1796
- "name": "handleKeypress",
1797
- "privacy": "private",
1798
- "return": {
1799
- "type": {
1800
- "text": "void"
1801
- }
1802
- },
1803
- "parameters": [
1804
- {
1805
- "name": "event",
1806
- "type": {
1807
- "text": "KeyboardEvent"
1808
- }
1809
- }
1810
- ],
1811
- "inheritedFrom": {
1812
- "name": "ButtonBase",
1813
- "module": "src/ButtonBase.js"
1814
- }
1815
- },
1816
- {
1817
- "kind": "method",
1818
- "name": "handleKeyup",
1819
- "privacy": "protected",
1820
- "return": {
1821
- "type": {
1822
- "text": "void"
1823
- }
1824
- },
1825
- "parameters": [
1826
- {
1827
- "name": "event",
1828
- "type": {
1829
- "text": "KeyboardEvent"
1830
- }
1831
- }
1832
- ],
1833
- "inheritedFrom": {
1834
- "name": "ButtonBase",
1835
- "module": "src/ButtonBase.js"
1836
- }
1837
- },
1838
- {
1839
- "kind": "method",
1840
- "name": "manageAnchor",
1841
- "privacy": "private",
1842
- "return": {
1843
- "type": {
1844
- "text": "void"
1845
- }
1846
- },
1847
- "inheritedFrom": {
1848
- "name": "ButtonBase",
1849
- "module": "src/ButtonBase.js"
1850
- }
1851
- }
1852
- ]
1853
- }
1854
- ],
1855
- "exports": [
1856
- {
1857
- "kind": "js",
1858
- "name": "StyledButton",
1859
- "declaration": {
1860
- "name": "StyledButton",
1861
- "module": "src/StyledButton.js"
1862
- }
1863
- }
1864
- ]
1865
- }
1866
- ]
1867
- }