@proximus/lavender-button 1.4.19-beta.4 → 1.4.19
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.
- package/dist/Button.d.ts +9 -72
- package/dist/custom-elements.json +29 -820
- package/dist/index.es.js +14 -23
- package/dist/vscode.html-custom-data.json +4 -147
- package/dist/web-types.json +7 -216
- package/package.json +1 -1
|
@@ -26,23 +26,15 @@
|
|
|
26
26
|
"kind": "class",
|
|
27
27
|
"description": "",
|
|
28
28
|
"name": "Button",
|
|
29
|
-
"slots": [
|
|
30
|
-
{
|
|
31
|
-
"description": "Content to be placed before the button text.",
|
|
32
|
-
"name": "before"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"description": "Content to be placed after the button text.",
|
|
36
|
-
"name": "after"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
29
|
"members": [
|
|
40
30
|
{
|
|
41
31
|
"kind": "field",
|
|
42
32
|
"name": "template",
|
|
43
33
|
"privacy": "protected",
|
|
44
34
|
"static": true,
|
|
45
|
-
"readonly": true
|
|
35
|
+
"readonly": true,
|
|
36
|
+
"summary": "Primary button for actions, forms, and more.",
|
|
37
|
+
"attribute": "name"
|
|
46
38
|
},
|
|
47
39
|
{
|
|
48
40
|
"kind": "field",
|
|
@@ -53,24 +45,6 @@
|
|
|
53
45
|
"static": true,
|
|
54
46
|
"default": "'button'"
|
|
55
47
|
},
|
|
56
|
-
{
|
|
57
|
-
"kind": "field",
|
|
58
|
-
"name": "nativeProperties",
|
|
59
|
-
"static": true,
|
|
60
|
-
"default": "nativeButtonProperties"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"kind": "field",
|
|
64
|
-
"name": "nativeMethods",
|
|
65
|
-
"static": true,
|
|
66
|
-
"default": "nativeButtonMethods"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"kind": "field",
|
|
70
|
-
"name": "nativeAttributes",
|
|
71
|
-
"static": true,
|
|
72
|
-
"default": "nativeButtonAttributes"
|
|
73
|
-
},
|
|
74
48
|
{
|
|
75
49
|
"kind": "method",
|
|
76
50
|
"name": "checkClass",
|
|
@@ -246,188 +220,6 @@
|
|
|
246
220
|
{
|
|
247
221
|
"kind": "field",
|
|
248
222
|
"name": "size"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"kind": "field",
|
|
252
|
-
"name": "form",
|
|
253
|
-
"type": {
|
|
254
|
-
"text": "HTMLFormElement | null"
|
|
255
|
-
},
|
|
256
|
-
"readonly": true
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"kind": "field",
|
|
260
|
-
"name": "labels",
|
|
261
|
-
"type": {
|
|
262
|
-
"text": "NodeListOf<HTMLLabelElement>"
|
|
263
|
-
},
|
|
264
|
-
"readonly": true
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"kind": "field",
|
|
268
|
-
"name": "popoverTargetElement",
|
|
269
|
-
"type": {
|
|
270
|
-
"text": "Element | null"
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"kind": "field",
|
|
275
|
-
"name": "commandForElement",
|
|
276
|
-
"type": {
|
|
277
|
-
"text": "Element | null"
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"kind": "field",
|
|
282
|
-
"name": "disabled",
|
|
283
|
-
"type": {
|
|
284
|
-
"text": "boolean"
|
|
285
|
-
},
|
|
286
|
-
"attribute": "disabled"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"kind": "field",
|
|
290
|
-
"name": "name",
|
|
291
|
-
"type": {
|
|
292
|
-
"text": "string"
|
|
293
|
-
},
|
|
294
|
-
"attribute": "name"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"kind": "field",
|
|
298
|
-
"name": "value",
|
|
299
|
-
"type": {
|
|
300
|
-
"text": "string"
|
|
301
|
-
},
|
|
302
|
-
"attribute": "value"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"kind": "field",
|
|
306
|
-
"name": "type",
|
|
307
|
-
"type": {
|
|
308
|
-
"text": "'submit' | 'reset' | 'button'"
|
|
309
|
-
},
|
|
310
|
-
"attribute": "type"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"kind": "field",
|
|
314
|
-
"name": "formAction",
|
|
315
|
-
"type": {
|
|
316
|
-
"text": "string"
|
|
317
|
-
},
|
|
318
|
-
"attribute": "formaction"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"kind": "field",
|
|
322
|
-
"name": "formEnctype",
|
|
323
|
-
"type": {
|
|
324
|
-
"text": "string"
|
|
325
|
-
},
|
|
326
|
-
"attribute": "formenctype"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"kind": "field",
|
|
330
|
-
"name": "formMethod",
|
|
331
|
-
"type": {
|
|
332
|
-
"text": "string"
|
|
333
|
-
},
|
|
334
|
-
"attribute": "formmethod"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"kind": "field",
|
|
338
|
-
"name": "formNoValidate",
|
|
339
|
-
"type": {
|
|
340
|
-
"text": "boolean"
|
|
341
|
-
},
|
|
342
|
-
"attribute": "formnovalidate"
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"kind": "field",
|
|
346
|
-
"name": "formTarget",
|
|
347
|
-
"type": {
|
|
348
|
-
"text": "string"
|
|
349
|
-
},
|
|
350
|
-
"attribute": "formtarget"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
"kind": "field",
|
|
354
|
-
"name": "autofocus",
|
|
355
|
-
"type": {
|
|
356
|
-
"text": "boolean"
|
|
357
|
-
},
|
|
358
|
-
"attribute": "autofocus"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"kind": "field",
|
|
362
|
-
"name": "title",
|
|
363
|
-
"type": {
|
|
364
|
-
"text": "string"
|
|
365
|
-
},
|
|
366
|
-
"attribute": "title"
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
"kind": "field",
|
|
370
|
-
"name": "popoverTargetAction",
|
|
371
|
-
"type": {
|
|
372
|
-
"text": "string"
|
|
373
|
-
},
|
|
374
|
-
"attribute": "popovertargetaction"
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"kind": "field",
|
|
378
|
-
"name": "command",
|
|
379
|
-
"type": {
|
|
380
|
-
"text": "string"
|
|
381
|
-
},
|
|
382
|
-
"attribute": "command"
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
"kind": "field",
|
|
386
|
-
"name": "validity",
|
|
387
|
-
"type": {
|
|
388
|
-
"text": "ValidityState"
|
|
389
|
-
},
|
|
390
|
-
"readonly": true
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"kind": "field",
|
|
394
|
-
"name": "validationMessage",
|
|
395
|
-
"type": {
|
|
396
|
-
"text": "string"
|
|
397
|
-
},
|
|
398
|
-
"readonly": true
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
"kind": "field",
|
|
402
|
-
"name": "willValidate",
|
|
403
|
-
"type": {
|
|
404
|
-
"text": "boolean"
|
|
405
|
-
},
|
|
406
|
-
"readonly": true
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"kind": "field",
|
|
410
|
-
"name": "checkValidity",
|
|
411
|
-
"type": {
|
|
412
|
-
"text": "HTMLButtonElement['checkValidity']"
|
|
413
|
-
},
|
|
414
|
-
"readonly": true
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"kind": "field",
|
|
418
|
-
"name": "reportValidity",
|
|
419
|
-
"type": {
|
|
420
|
-
"text": "HTMLButtonElement['reportValidity']"
|
|
421
|
-
},
|
|
422
|
-
"readonly": true
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"kind": "field",
|
|
426
|
-
"name": "setCustomValidity",
|
|
427
|
-
"type": {
|
|
428
|
-
"text": "HTMLButtonElement['setCustomValidity']"
|
|
429
|
-
},
|
|
430
|
-
"readonly": true
|
|
431
223
|
}
|
|
432
224
|
],
|
|
433
225
|
"attributes": [
|
|
@@ -479,137 +271,18 @@
|
|
|
479
271
|
{
|
|
480
272
|
"name": "size"
|
|
481
273
|
},
|
|
482
|
-
{
|
|
483
|
-
"name": "disabled",
|
|
484
|
-
"type": {
|
|
485
|
-
"text": "boolean"
|
|
486
|
-
},
|
|
487
|
-
"fieldName": "disabled",
|
|
488
|
-
"description": "Whether the native button is disabled."
|
|
489
|
-
},
|
|
490
274
|
{
|
|
491
275
|
"name": "name",
|
|
492
|
-
"
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
"
|
|
496
|
-
"description": "The name submitted with the button's value."
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"name": "value",
|
|
500
|
-
"type": {
|
|
501
|
-
"text": "string"
|
|
502
|
-
},
|
|
503
|
-
"fieldName": "value",
|
|
504
|
-
"description": "The value associated with the button."
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"name": "type",
|
|
508
|
-
"type": {
|
|
509
|
-
"text": "'submit' | 'reset' | 'button'"
|
|
510
|
-
},
|
|
511
|
-
"fieldName": "type",
|
|
512
|
-
"description": "The native button behavior: submit, reset, or button."
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"name": "formaction",
|
|
516
|
-
"type": {
|
|
517
|
-
"text": "string"
|
|
518
|
-
},
|
|
519
|
-
"fieldName": "formAction",
|
|
520
|
-
"description": "The submission URL override."
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "formenctype",
|
|
524
|
-
"type": {
|
|
525
|
-
"text": "string"
|
|
526
|
-
},
|
|
527
|
-
"fieldName": "formEnctype",
|
|
528
|
-
"description": "The submission encoding override."
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"name": "formmethod",
|
|
532
|
-
"type": {
|
|
533
|
-
"text": "string"
|
|
534
|
-
},
|
|
535
|
-
"fieldName": "formMethod",
|
|
536
|
-
"description": "The submission method override."
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"name": "formnovalidate",
|
|
540
|
-
"type": {
|
|
541
|
-
"text": "boolean"
|
|
542
|
-
},
|
|
543
|
-
"fieldName": "formNoValidate",
|
|
544
|
-
"description": "Whether submission bypasses validation."
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
"name": "formtarget",
|
|
548
|
-
"type": {
|
|
549
|
-
"text": "string"
|
|
550
|
-
},
|
|
551
|
-
"fieldName": "formTarget",
|
|
552
|
-
"description": "The submission target override."
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"name": "autofocus",
|
|
556
|
-
"type": {
|
|
557
|
-
"text": "boolean"
|
|
558
|
-
},
|
|
559
|
-
"fieldName": "autofocus",
|
|
560
|
-
"description": "Whether the native button requests autofocus."
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"name": "title",
|
|
564
|
-
"type": {
|
|
565
|
-
"text": "string"
|
|
566
|
-
},
|
|
567
|
-
"fieldName": "title",
|
|
568
|
-
"description": "The native button tooltip."
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"name": "popovertargetaction",
|
|
572
|
-
"type": {
|
|
573
|
-
"text": "string"
|
|
574
|
-
},
|
|
575
|
-
"fieldName": "popoverTargetAction",
|
|
576
|
-
"description": "The action for the target popover."
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
"name": "command",
|
|
580
|
-
"type": {
|
|
581
|
-
"text": "string"
|
|
582
|
-
},
|
|
583
|
-
"fieldName": "command",
|
|
584
|
-
"description": "The command for the target element, where supported."
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"type": {
|
|
588
|
-
"text": "string"
|
|
589
|
-
},
|
|
590
|
-
"description": "The ID of the command target.",
|
|
591
|
-
"name": "commandfor"
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"type": {
|
|
595
|
-
"text": "string"
|
|
596
|
-
},
|
|
597
|
-
"description": "The ID of the target popover.",
|
|
598
|
-
"name": "popovertarget"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"type": {
|
|
602
|
-
"text": "string"
|
|
603
|
-
},
|
|
604
|
-
"description": "The ID of the associated form; the form property is the native form reference.",
|
|
605
|
-
"name": "form"
|
|
276
|
+
"readonly": true,
|
|
277
|
+
"summary": "Primary button for actions, forms, and more.",
|
|
278
|
+
"fieldName": "template",
|
|
279
|
+
"description": "The name of the button, submitted as a pair with the button's value as part of the form data."
|
|
606
280
|
}
|
|
607
281
|
],
|
|
608
282
|
"superclass": {
|
|
609
283
|
"name": "PxElement",
|
|
610
284
|
"package": "@proximus/lavender-common"
|
|
611
285
|
},
|
|
612
|
-
"summary": "Primary button for actions, forms, and more.",
|
|
613
286
|
"tagName": "px-button",
|
|
614
287
|
"customElement": true
|
|
615
288
|
}
|
|
@@ -660,19 +333,11 @@
|
|
|
660
333
|
"slots": [
|
|
661
334
|
{
|
|
662
335
|
"description": "Content to be placed before the button text.",
|
|
663
|
-
"name": "before"
|
|
664
|
-
"inheritedFrom": {
|
|
665
|
-
"name": "Button",
|
|
666
|
-
"module": "src/Button.ts"
|
|
667
|
-
}
|
|
336
|
+
"name": "before"
|
|
668
337
|
},
|
|
669
338
|
{
|
|
670
339
|
"description": "Content to be placed after the button text.",
|
|
671
|
-
"name": "after"
|
|
672
|
-
"inheritedFrom": {
|
|
673
|
-
"name": "Button",
|
|
674
|
-
"module": "src/Button.ts"
|
|
675
|
-
}
|
|
340
|
+
"name": "after"
|
|
676
341
|
}
|
|
677
342
|
],
|
|
678
343
|
"members": [
|
|
@@ -696,6 +361,8 @@
|
|
|
696
361
|
"privacy": "protected",
|
|
697
362
|
"static": true,
|
|
698
363
|
"readonly": true,
|
|
364
|
+
"summary": "Primary button for actions, forms, and more.",
|
|
365
|
+
"attribute": "name",
|
|
699
366
|
"inheritedFrom": {
|
|
700
367
|
"name": "Button",
|
|
701
368
|
"module": "src/Button.ts"
|
|
@@ -715,46 +382,16 @@
|
|
|
715
382
|
}
|
|
716
383
|
},
|
|
717
384
|
{
|
|
718
|
-
"kind": "
|
|
719
|
-
"name": "
|
|
720
|
-
"
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
"kind": "field",
|
|
729
|
-
"name": "nativeMethods",
|
|
730
|
-
"static": true,
|
|
731
|
-
"default": "nativeButtonMethods",
|
|
732
|
-
"inheritedFrom": {
|
|
733
|
-
"name": "Button",
|
|
734
|
-
"module": "src/Button.ts"
|
|
735
|
-
}
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"kind": "field",
|
|
739
|
-
"name": "nativeAttributes",
|
|
740
|
-
"static": true,
|
|
741
|
-
"default": "nativeButtonAttributes",
|
|
742
|
-
"inheritedFrom": {
|
|
743
|
-
"name": "Button",
|
|
744
|
-
"module": "src/Button.ts"
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
"kind": "method",
|
|
749
|
-
"name": "checkClass",
|
|
750
|
-
"parameters": [
|
|
751
|
-
{
|
|
752
|
-
"name": "value",
|
|
753
|
-
"type": {
|
|
754
|
-
"text": "string"
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
],
|
|
385
|
+
"kind": "method",
|
|
386
|
+
"name": "checkClass",
|
|
387
|
+
"parameters": [
|
|
388
|
+
{
|
|
389
|
+
"name": "value",
|
|
390
|
+
"type": {
|
|
391
|
+
"text": "string"
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
],
|
|
758
395
|
"inheritedFrom": {
|
|
759
396
|
"name": "Button",
|
|
760
397
|
"module": "src/Button.ts"
|
|
@@ -1011,330 +648,43 @@
|
|
|
1011
648
|
"name": "Button",
|
|
1012
649
|
"module": "src/Button.ts"
|
|
1013
650
|
}
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
"kind": "field",
|
|
1017
|
-
"name": "form",
|
|
1018
|
-
"type": {
|
|
1019
|
-
"text": "HTMLFormElement | null"
|
|
1020
|
-
},
|
|
1021
|
-
"readonly": true,
|
|
1022
|
-
"inheritedFrom": {
|
|
1023
|
-
"name": "Button",
|
|
1024
|
-
"module": "src/Button.ts"
|
|
1025
|
-
}
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
"kind": "field",
|
|
1029
|
-
"name": "labels",
|
|
1030
|
-
"type": {
|
|
1031
|
-
"text": "NodeListOf<HTMLLabelElement>"
|
|
1032
|
-
},
|
|
1033
|
-
"readonly": true,
|
|
1034
|
-
"inheritedFrom": {
|
|
1035
|
-
"name": "Button",
|
|
1036
|
-
"module": "src/Button.ts"
|
|
1037
|
-
}
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"kind": "field",
|
|
1041
|
-
"name": "popoverTargetElement",
|
|
1042
|
-
"type": {
|
|
1043
|
-
"text": "Element | null"
|
|
1044
|
-
},
|
|
1045
|
-
"inheritedFrom": {
|
|
1046
|
-
"name": "Button",
|
|
1047
|
-
"module": "src/Button.ts"
|
|
1048
|
-
}
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
"kind": "field",
|
|
1052
|
-
"name": "commandForElement",
|
|
1053
|
-
"type": {
|
|
1054
|
-
"text": "Element | null"
|
|
1055
|
-
},
|
|
1056
|
-
"inheritedFrom": {
|
|
1057
|
-
"name": "Button",
|
|
1058
|
-
"module": "src/Button.ts"
|
|
1059
|
-
}
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
"kind": "field",
|
|
1063
|
-
"name": "disabled",
|
|
1064
|
-
"type": {
|
|
1065
|
-
"text": "boolean"
|
|
1066
|
-
},
|
|
1067
|
-
"attribute": "disabled",
|
|
1068
|
-
"inheritedFrom": {
|
|
1069
|
-
"name": "Button",
|
|
1070
|
-
"module": "src/Button.ts"
|
|
1071
|
-
}
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
"kind": "field",
|
|
1075
|
-
"name": "name",
|
|
1076
|
-
"type": {
|
|
1077
|
-
"text": "string"
|
|
1078
|
-
},
|
|
1079
|
-
"attribute": "name",
|
|
1080
|
-
"inheritedFrom": {
|
|
1081
|
-
"name": "Button",
|
|
1082
|
-
"module": "src/Button.ts"
|
|
1083
|
-
}
|
|
1084
|
-
},
|
|
1085
|
-
{
|
|
1086
|
-
"kind": "field",
|
|
1087
|
-
"name": "value",
|
|
1088
|
-
"type": {
|
|
1089
|
-
"text": "string"
|
|
1090
|
-
},
|
|
1091
|
-
"attribute": "value",
|
|
1092
|
-
"inheritedFrom": {
|
|
1093
|
-
"name": "Button",
|
|
1094
|
-
"module": "src/Button.ts"
|
|
1095
|
-
}
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"kind": "field",
|
|
1099
|
-
"name": "type",
|
|
1100
|
-
"type": {
|
|
1101
|
-
"text": "'submit' | 'reset' | 'button'"
|
|
1102
|
-
},
|
|
1103
|
-
"attribute": "type",
|
|
1104
|
-
"inheritedFrom": {
|
|
1105
|
-
"name": "Button",
|
|
1106
|
-
"module": "src/Button.ts"
|
|
1107
|
-
}
|
|
1108
|
-
},
|
|
1109
|
-
{
|
|
1110
|
-
"kind": "field",
|
|
1111
|
-
"name": "formAction",
|
|
1112
|
-
"type": {
|
|
1113
|
-
"text": "string"
|
|
1114
|
-
},
|
|
1115
|
-
"attribute": "formaction",
|
|
1116
|
-
"inheritedFrom": {
|
|
1117
|
-
"name": "Button",
|
|
1118
|
-
"module": "src/Button.ts"
|
|
1119
|
-
}
|
|
1120
|
-
},
|
|
1121
|
-
{
|
|
1122
|
-
"kind": "field",
|
|
1123
|
-
"name": "formEnctype",
|
|
1124
|
-
"type": {
|
|
1125
|
-
"text": "string"
|
|
1126
|
-
},
|
|
1127
|
-
"attribute": "formenctype",
|
|
1128
|
-
"inheritedFrom": {
|
|
1129
|
-
"name": "Button",
|
|
1130
|
-
"module": "src/Button.ts"
|
|
1131
|
-
}
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
"kind": "field",
|
|
1135
|
-
"name": "formMethod",
|
|
1136
|
-
"type": {
|
|
1137
|
-
"text": "string"
|
|
1138
|
-
},
|
|
1139
|
-
"attribute": "formmethod",
|
|
1140
|
-
"inheritedFrom": {
|
|
1141
|
-
"name": "Button",
|
|
1142
|
-
"module": "src/Button.ts"
|
|
1143
|
-
}
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
"kind": "field",
|
|
1147
|
-
"name": "formNoValidate",
|
|
1148
|
-
"type": {
|
|
1149
|
-
"text": "boolean"
|
|
1150
|
-
},
|
|
1151
|
-
"attribute": "formnovalidate",
|
|
1152
|
-
"inheritedFrom": {
|
|
1153
|
-
"name": "Button",
|
|
1154
|
-
"module": "src/Button.ts"
|
|
1155
|
-
}
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
"kind": "field",
|
|
1159
|
-
"name": "formTarget",
|
|
1160
|
-
"type": {
|
|
1161
|
-
"text": "string"
|
|
1162
|
-
},
|
|
1163
|
-
"attribute": "formtarget",
|
|
1164
|
-
"inheritedFrom": {
|
|
1165
|
-
"name": "Button",
|
|
1166
|
-
"module": "src/Button.ts"
|
|
1167
|
-
}
|
|
1168
|
-
},
|
|
1169
|
-
{
|
|
1170
|
-
"kind": "field",
|
|
1171
|
-
"name": "autofocus",
|
|
1172
|
-
"type": {
|
|
1173
|
-
"text": "boolean"
|
|
1174
|
-
},
|
|
1175
|
-
"attribute": "autofocus",
|
|
1176
|
-
"inheritedFrom": {
|
|
1177
|
-
"name": "Button",
|
|
1178
|
-
"module": "src/Button.ts"
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
{
|
|
1182
|
-
"kind": "field",
|
|
1183
|
-
"name": "title",
|
|
1184
|
-
"type": {
|
|
1185
|
-
"text": "string"
|
|
1186
|
-
},
|
|
1187
|
-
"attribute": "title",
|
|
1188
|
-
"inheritedFrom": {
|
|
1189
|
-
"name": "Button",
|
|
1190
|
-
"module": "src/Button.ts"
|
|
1191
|
-
}
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"kind": "field",
|
|
1195
|
-
"name": "popoverTargetAction",
|
|
1196
|
-
"type": {
|
|
1197
|
-
"text": "string"
|
|
1198
|
-
},
|
|
1199
|
-
"attribute": "popovertargetaction",
|
|
1200
|
-
"inheritedFrom": {
|
|
1201
|
-
"name": "Button",
|
|
1202
|
-
"module": "src/Button.ts"
|
|
1203
|
-
}
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
"kind": "field",
|
|
1207
|
-
"name": "command",
|
|
1208
|
-
"type": {
|
|
1209
|
-
"text": "string"
|
|
1210
|
-
},
|
|
1211
|
-
"attribute": "command",
|
|
1212
|
-
"inheritedFrom": {
|
|
1213
|
-
"name": "Button",
|
|
1214
|
-
"module": "src/Button.ts"
|
|
1215
|
-
}
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
"kind": "field",
|
|
1219
|
-
"name": "validity",
|
|
1220
|
-
"type": {
|
|
1221
|
-
"text": "ValidityState"
|
|
1222
|
-
},
|
|
1223
|
-
"readonly": true,
|
|
1224
|
-
"inheritedFrom": {
|
|
1225
|
-
"name": "Button",
|
|
1226
|
-
"module": "src/Button.ts"
|
|
1227
|
-
}
|
|
1228
|
-
},
|
|
1229
|
-
{
|
|
1230
|
-
"kind": "field",
|
|
1231
|
-
"name": "validationMessage",
|
|
1232
|
-
"type": {
|
|
1233
|
-
"text": "string"
|
|
1234
|
-
},
|
|
1235
|
-
"readonly": true,
|
|
1236
|
-
"inheritedFrom": {
|
|
1237
|
-
"name": "Button",
|
|
1238
|
-
"module": "src/Button.ts"
|
|
1239
|
-
}
|
|
1240
|
-
},
|
|
1241
|
-
{
|
|
1242
|
-
"kind": "field",
|
|
1243
|
-
"name": "willValidate",
|
|
1244
|
-
"type": {
|
|
1245
|
-
"text": "boolean"
|
|
1246
|
-
},
|
|
1247
|
-
"readonly": true,
|
|
1248
|
-
"inheritedFrom": {
|
|
1249
|
-
"name": "Button",
|
|
1250
|
-
"module": "src/Button.ts"
|
|
1251
|
-
}
|
|
1252
|
-
},
|
|
1253
|
-
{
|
|
1254
|
-
"kind": "field",
|
|
1255
|
-
"name": "checkValidity",
|
|
1256
|
-
"type": {
|
|
1257
|
-
"text": "HTMLButtonElement['checkValidity']"
|
|
1258
|
-
},
|
|
1259
|
-
"readonly": true,
|
|
1260
|
-
"inheritedFrom": {
|
|
1261
|
-
"name": "Button",
|
|
1262
|
-
"module": "src/Button.ts"
|
|
1263
|
-
}
|
|
1264
|
-
},
|
|
1265
|
-
{
|
|
1266
|
-
"kind": "field",
|
|
1267
|
-
"name": "reportValidity",
|
|
1268
|
-
"type": {
|
|
1269
|
-
"text": "HTMLButtonElement['reportValidity']"
|
|
1270
|
-
},
|
|
1271
|
-
"readonly": true,
|
|
1272
|
-
"inheritedFrom": {
|
|
1273
|
-
"name": "Button",
|
|
1274
|
-
"module": "src/Button.ts"
|
|
1275
|
-
}
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
"kind": "field",
|
|
1279
|
-
"name": "setCustomValidity",
|
|
1280
|
-
"type": {
|
|
1281
|
-
"text": "HTMLButtonElement['setCustomValidity']"
|
|
1282
|
-
},
|
|
1283
|
-
"readonly": true,
|
|
1284
|
-
"inheritedFrom": {
|
|
1285
|
-
"name": "Button",
|
|
1286
|
-
"module": "src/Button.ts"
|
|
1287
|
-
}
|
|
1288
651
|
}
|
|
1289
652
|
],
|
|
1290
653
|
"attributes": [
|
|
1291
654
|
{
|
|
1292
655
|
"name": "name",
|
|
656
|
+
"readonly": true,
|
|
657
|
+
"summary": "Primary button for actions, forms, and more.",
|
|
658
|
+
"fieldName": "template",
|
|
659
|
+
"description": "The name of the button, submitted as a pair with the button's value as part of the form data.",
|
|
1293
660
|
"type": {
|
|
1294
661
|
"text": "string"
|
|
1295
662
|
},
|
|
1296
|
-
"fieldName": "name",
|
|
1297
|
-
"description": "The name of the button, submitted as a pair with the button's value as part of the form data.",
|
|
1298
663
|
"inheritedFrom": {
|
|
1299
664
|
"name": "Button",
|
|
1300
665
|
"module": "src/Button.ts"
|
|
1301
666
|
}
|
|
1302
667
|
},
|
|
1303
668
|
{
|
|
1304
|
-
"name": "value",
|
|
1305
669
|
"type": {
|
|
1306
670
|
"text": "string"
|
|
1307
671
|
},
|
|
1308
|
-
"fieldName": "value",
|
|
1309
672
|
"description": "The value associated with the button's name when it's submitted with a form.",
|
|
1310
|
-
"
|
|
1311
|
-
"name": "Button",
|
|
1312
|
-
"module": "src/Button.ts"
|
|
1313
|
-
}
|
|
673
|
+
"name": "value"
|
|
1314
674
|
},
|
|
1315
675
|
{
|
|
1316
|
-
"name": "type",
|
|
1317
676
|
"type": {
|
|
1318
|
-
"text": "
|
|
677
|
+
"text": "string"
|
|
1319
678
|
},
|
|
1320
|
-
"fieldName": "type",
|
|
1321
679
|
"description": "The default behavior of the button. Possible values are 'submit', 'reset', and 'button'.",
|
|
1322
|
-
"
|
|
1323
|
-
"name": "Button",
|
|
1324
|
-
"module": "src/Button.ts"
|
|
1325
|
-
}
|
|
680
|
+
"name": "type"
|
|
1326
681
|
},
|
|
1327
682
|
{
|
|
1328
|
-
"name": "disabled",
|
|
1329
683
|
"type": {
|
|
1330
684
|
"text": "boolean"
|
|
1331
685
|
},
|
|
1332
|
-
"fieldName": "disabled",
|
|
1333
686
|
"description": "Whether the button is disabled.",
|
|
1334
|
-
"
|
|
1335
|
-
"name": "Button",
|
|
1336
|
-
"module": "src/Button.ts"
|
|
1337
|
-
}
|
|
687
|
+
"name": "disabled"
|
|
1338
688
|
},
|
|
1339
689
|
{
|
|
1340
690
|
"name": "variant",
|
|
@@ -1447,147 +797,6 @@
|
|
|
1447
797
|
"name": "Button",
|
|
1448
798
|
"module": "src/Button.ts"
|
|
1449
799
|
}
|
|
1450
|
-
},
|
|
1451
|
-
{
|
|
1452
|
-
"name": "formaction",
|
|
1453
|
-
"type": {
|
|
1454
|
-
"text": "string"
|
|
1455
|
-
},
|
|
1456
|
-
"fieldName": "formAction",
|
|
1457
|
-
"description": "The submission URL override.",
|
|
1458
|
-
"inheritedFrom": {
|
|
1459
|
-
"name": "Button",
|
|
1460
|
-
"module": "src/Button.ts"
|
|
1461
|
-
}
|
|
1462
|
-
},
|
|
1463
|
-
{
|
|
1464
|
-
"name": "formenctype",
|
|
1465
|
-
"type": {
|
|
1466
|
-
"text": "string"
|
|
1467
|
-
},
|
|
1468
|
-
"fieldName": "formEnctype",
|
|
1469
|
-
"description": "The submission encoding override.",
|
|
1470
|
-
"inheritedFrom": {
|
|
1471
|
-
"name": "Button",
|
|
1472
|
-
"module": "src/Button.ts"
|
|
1473
|
-
}
|
|
1474
|
-
},
|
|
1475
|
-
{
|
|
1476
|
-
"name": "formmethod",
|
|
1477
|
-
"type": {
|
|
1478
|
-
"text": "string"
|
|
1479
|
-
},
|
|
1480
|
-
"fieldName": "formMethod",
|
|
1481
|
-
"description": "The submission method override.",
|
|
1482
|
-
"inheritedFrom": {
|
|
1483
|
-
"name": "Button",
|
|
1484
|
-
"module": "src/Button.ts"
|
|
1485
|
-
}
|
|
1486
|
-
},
|
|
1487
|
-
{
|
|
1488
|
-
"name": "formnovalidate",
|
|
1489
|
-
"type": {
|
|
1490
|
-
"text": "boolean"
|
|
1491
|
-
},
|
|
1492
|
-
"fieldName": "formNoValidate",
|
|
1493
|
-
"description": "Whether submission bypasses validation.",
|
|
1494
|
-
"inheritedFrom": {
|
|
1495
|
-
"name": "Button",
|
|
1496
|
-
"module": "src/Button.ts"
|
|
1497
|
-
}
|
|
1498
|
-
},
|
|
1499
|
-
{
|
|
1500
|
-
"name": "formtarget",
|
|
1501
|
-
"type": {
|
|
1502
|
-
"text": "string"
|
|
1503
|
-
},
|
|
1504
|
-
"fieldName": "formTarget",
|
|
1505
|
-
"description": "The submission target override.",
|
|
1506
|
-
"inheritedFrom": {
|
|
1507
|
-
"name": "Button",
|
|
1508
|
-
"module": "src/Button.ts"
|
|
1509
|
-
}
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"name": "autofocus",
|
|
1513
|
-
"type": {
|
|
1514
|
-
"text": "boolean"
|
|
1515
|
-
},
|
|
1516
|
-
"fieldName": "autofocus",
|
|
1517
|
-
"description": "Whether the native button requests autofocus.",
|
|
1518
|
-
"inheritedFrom": {
|
|
1519
|
-
"name": "Button",
|
|
1520
|
-
"module": "src/Button.ts"
|
|
1521
|
-
}
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
"name": "title",
|
|
1525
|
-
"type": {
|
|
1526
|
-
"text": "string"
|
|
1527
|
-
},
|
|
1528
|
-
"fieldName": "title",
|
|
1529
|
-
"description": "The native button tooltip.",
|
|
1530
|
-
"inheritedFrom": {
|
|
1531
|
-
"name": "Button",
|
|
1532
|
-
"module": "src/Button.ts"
|
|
1533
|
-
}
|
|
1534
|
-
},
|
|
1535
|
-
{
|
|
1536
|
-
"name": "popovertargetaction",
|
|
1537
|
-
"type": {
|
|
1538
|
-
"text": "string"
|
|
1539
|
-
},
|
|
1540
|
-
"fieldName": "popoverTargetAction",
|
|
1541
|
-
"description": "The action for the target popover.",
|
|
1542
|
-
"inheritedFrom": {
|
|
1543
|
-
"name": "Button",
|
|
1544
|
-
"module": "src/Button.ts"
|
|
1545
|
-
}
|
|
1546
|
-
},
|
|
1547
|
-
{
|
|
1548
|
-
"name": "command",
|
|
1549
|
-
"type": {
|
|
1550
|
-
"text": "string"
|
|
1551
|
-
},
|
|
1552
|
-
"fieldName": "command",
|
|
1553
|
-
"description": "The command for the target element, where supported.",
|
|
1554
|
-
"inheritedFrom": {
|
|
1555
|
-
"name": "Button",
|
|
1556
|
-
"module": "src/Button.ts"
|
|
1557
|
-
}
|
|
1558
|
-
},
|
|
1559
|
-
{
|
|
1560
|
-
"type": {
|
|
1561
|
-
"text": "string"
|
|
1562
|
-
},
|
|
1563
|
-
"description": "The ID of the command target.",
|
|
1564
|
-
"name": "commandfor",
|
|
1565
|
-
"inheritedFrom": {
|
|
1566
|
-
"name": "Button",
|
|
1567
|
-
"module": "src/Button.ts"
|
|
1568
|
-
}
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
"type": {
|
|
1572
|
-
"text": "string"
|
|
1573
|
-
},
|
|
1574
|
-
"description": "The ID of the target popover.",
|
|
1575
|
-
"name": "popovertarget",
|
|
1576
|
-
"inheritedFrom": {
|
|
1577
|
-
"name": "Button",
|
|
1578
|
-
"module": "src/Button.ts"
|
|
1579
|
-
}
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"type": {
|
|
1583
|
-
"text": "string"
|
|
1584
|
-
},
|
|
1585
|
-
"description": "The ID of the associated form; the form property is the native form reference.",
|
|
1586
|
-
"name": "form",
|
|
1587
|
-
"inheritedFrom": {
|
|
1588
|
-
"name": "Button",
|
|
1589
|
-
"module": "src/Button.ts"
|
|
1590
|
-
}
|
|
1591
800
|
}
|
|
1592
801
|
],
|
|
1593
802
|
"superclass": {
|