@proximus/lavender-button 2.0.0-alpha.228 → 2.0.0-alpha.229
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 +72 -9
- package/dist/custom-elements.json +820 -29
- package/dist/index.es.js +23 -14
- package/dist/vscode.html-custom-data.json +147 -4
- package/dist/web-types.json +216 -7
- package/package.json +1 -1
|
@@ -26,15 +26,23 @@
|
|
|
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
|
+
],
|
|
29
39
|
"members": [
|
|
30
40
|
{
|
|
31
41
|
"kind": "field",
|
|
32
42
|
"name": "template",
|
|
33
43
|
"privacy": "protected",
|
|
34
44
|
"static": true,
|
|
35
|
-
"readonly": true
|
|
36
|
-
"summary": "Primary button for actions, forms, and more.",
|
|
37
|
-
"attribute": "name"
|
|
45
|
+
"readonly": true
|
|
38
46
|
},
|
|
39
47
|
{
|
|
40
48
|
"kind": "field",
|
|
@@ -45,6 +53,24 @@
|
|
|
45
53
|
"static": true,
|
|
46
54
|
"default": "'button'"
|
|
47
55
|
},
|
|
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
|
+
},
|
|
48
74
|
{
|
|
49
75
|
"kind": "method",
|
|
50
76
|
"name": "checkClass",
|
|
@@ -220,6 +246,188 @@
|
|
|
220
246
|
{
|
|
221
247
|
"kind": "field",
|
|
222
248
|
"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
|
|
223
431
|
}
|
|
224
432
|
],
|
|
225
433
|
"attributes": [
|
|
@@ -271,18 +479,137 @@
|
|
|
271
479
|
{
|
|
272
480
|
"name": "size"
|
|
273
481
|
},
|
|
482
|
+
{
|
|
483
|
+
"name": "disabled",
|
|
484
|
+
"type": {
|
|
485
|
+
"text": "boolean"
|
|
486
|
+
},
|
|
487
|
+
"fieldName": "disabled",
|
|
488
|
+
"description": "Whether the native button is disabled."
|
|
489
|
+
},
|
|
274
490
|
{
|
|
275
491
|
"name": "name",
|
|
276
|
-
"
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
"
|
|
492
|
+
"type": {
|
|
493
|
+
"text": "string"
|
|
494
|
+
},
|
|
495
|
+
"fieldName": "name",
|
|
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"
|
|
280
606
|
}
|
|
281
607
|
],
|
|
282
608
|
"superclass": {
|
|
283
609
|
"name": "PxElement",
|
|
284
610
|
"package": "@proximus/lavender-common"
|
|
285
611
|
},
|
|
612
|
+
"summary": "Primary button for actions, forms, and more.",
|
|
286
613
|
"tagName": "px-button",
|
|
287
614
|
"customElement": true
|
|
288
615
|
}
|
|
@@ -333,11 +660,19 @@
|
|
|
333
660
|
"slots": [
|
|
334
661
|
{
|
|
335
662
|
"description": "Content to be placed before the button text.",
|
|
336
|
-
"name": "before"
|
|
663
|
+
"name": "before",
|
|
664
|
+
"inheritedFrom": {
|
|
665
|
+
"name": "Button",
|
|
666
|
+
"module": "src/Button.ts"
|
|
667
|
+
}
|
|
337
668
|
},
|
|
338
669
|
{
|
|
339
670
|
"description": "Content to be placed after the button text.",
|
|
340
|
-
"name": "after"
|
|
671
|
+
"name": "after",
|
|
672
|
+
"inheritedFrom": {
|
|
673
|
+
"name": "Button",
|
|
674
|
+
"module": "src/Button.ts"
|
|
675
|
+
}
|
|
341
676
|
}
|
|
342
677
|
],
|
|
343
678
|
"members": [
|
|
@@ -361,8 +696,6 @@
|
|
|
361
696
|
"privacy": "protected",
|
|
362
697
|
"static": true,
|
|
363
698
|
"readonly": true,
|
|
364
|
-
"summary": "Primary button for actions, forms, and more.",
|
|
365
|
-
"attribute": "name",
|
|
366
699
|
"inheritedFrom": {
|
|
367
700
|
"name": "Button",
|
|
368
701
|
"module": "src/Button.ts"
|
|
@@ -382,16 +715,46 @@
|
|
|
382
715
|
}
|
|
383
716
|
},
|
|
384
717
|
{
|
|
385
|
-
"kind": "
|
|
386
|
-
"name": "
|
|
387
|
-
"
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
718
|
+
"kind": "field",
|
|
719
|
+
"name": "nativeProperties",
|
|
720
|
+
"static": true,
|
|
721
|
+
"default": "nativeButtonProperties",
|
|
722
|
+
"inheritedFrom": {
|
|
723
|
+
"name": "Button",
|
|
724
|
+
"module": "src/Button.ts"
|
|
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
|
+
],
|
|
395
758
|
"inheritedFrom": {
|
|
396
759
|
"name": "Button",
|
|
397
760
|
"module": "src/Button.ts"
|
|
@@ -648,43 +1011,330 @@
|
|
|
648
1011
|
"name": "Button",
|
|
649
1012
|
"module": "src/Button.ts"
|
|
650
1013
|
}
|
|
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
|
+
}
|
|
651
1288
|
}
|
|
652
1289
|
],
|
|
653
1290
|
"attributes": [
|
|
654
1291
|
{
|
|
655
1292
|
"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.",
|
|
660
1293
|
"type": {
|
|
661
1294
|
"text": "string"
|
|
662
1295
|
},
|
|
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.",
|
|
663
1298
|
"inheritedFrom": {
|
|
664
1299
|
"name": "Button",
|
|
665
1300
|
"module": "src/Button.ts"
|
|
666
1301
|
}
|
|
667
1302
|
},
|
|
668
1303
|
{
|
|
1304
|
+
"name": "value",
|
|
669
1305
|
"type": {
|
|
670
1306
|
"text": "string"
|
|
671
1307
|
},
|
|
1308
|
+
"fieldName": "value",
|
|
672
1309
|
"description": "The value associated with the button's name when it's submitted with a form.",
|
|
673
|
-
"
|
|
1310
|
+
"inheritedFrom": {
|
|
1311
|
+
"name": "Button",
|
|
1312
|
+
"module": "src/Button.ts"
|
|
1313
|
+
}
|
|
674
1314
|
},
|
|
675
1315
|
{
|
|
1316
|
+
"name": "type",
|
|
676
1317
|
"type": {
|
|
677
|
-
"text": "
|
|
1318
|
+
"text": "'submit' | 'reset' | 'button'"
|
|
678
1319
|
},
|
|
1320
|
+
"fieldName": "type",
|
|
679
1321
|
"description": "The default behavior of the button. Possible values are 'submit', 'reset', and 'button'.",
|
|
680
|
-
"
|
|
1322
|
+
"inheritedFrom": {
|
|
1323
|
+
"name": "Button",
|
|
1324
|
+
"module": "src/Button.ts"
|
|
1325
|
+
}
|
|
681
1326
|
},
|
|
682
1327
|
{
|
|
1328
|
+
"name": "disabled",
|
|
683
1329
|
"type": {
|
|
684
1330
|
"text": "boolean"
|
|
685
1331
|
},
|
|
1332
|
+
"fieldName": "disabled",
|
|
686
1333
|
"description": "Whether the button is disabled.",
|
|
687
|
-
"
|
|
1334
|
+
"inheritedFrom": {
|
|
1335
|
+
"name": "Button",
|
|
1336
|
+
"module": "src/Button.ts"
|
|
1337
|
+
}
|
|
688
1338
|
},
|
|
689
1339
|
{
|
|
690
1340
|
"name": "variant",
|
|
@@ -797,6 +1447,147 @@
|
|
|
797
1447
|
"name": "Button",
|
|
798
1448
|
"module": "src/Button.ts"
|
|
799
1449
|
}
|
|
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
|
+
}
|
|
800
1591
|
}
|
|
801
1592
|
],
|
|
802
1593
|
"superclass": {
|