scu-web-components 0.0.34 → 0.0.35
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/custom-elements.json +725 -725
- package/dist/docs/components/manifest.json +65 -65
- package/dist/docs/config.json +1 -1
- package/dist/tokens/source/jsCss.js +1 -1
- package/dist/tokens/source/jsCss.js.gz +0 -0
- package/dist/tokens/source/jsCssGenerator.js +1 -1
- package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
- package/dist/tokens/source/jsCssGeneratorSansAssets.js +1 -1
- package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
- package/package.json +4 -3
- package/scripts/ssr.mjs +23 -0
|
@@ -4,34 +4,22 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "src/scw-
|
|
7
|
+
"path": "src/scw-alert/ScwAlert.ts",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
|
-
"description": "
|
|
12
|
-
"name": "
|
|
13
|
-
"slots": [
|
|
14
|
-
{
|
|
15
|
-
"description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target.",
|
|
16
|
-
"name": "default",
|
|
17
|
-
"default": "\"<a href target />\""
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"description": "(OPTIONAL) random content (paired with design=\"plain\") will wrap that content with a link.",
|
|
21
|
-
"name": "default",
|
|
22
|
-
"default": "\"<... />\""
|
|
23
|
-
}
|
|
24
|
-
],
|
|
11
|
+
"description": "ScwAlert a first LitElement web component",
|
|
12
|
+
"name": "ScwAlert",
|
|
25
13
|
"members": [
|
|
26
14
|
{
|
|
27
15
|
"kind": "field",
|
|
28
|
-
"name": "
|
|
16
|
+
"name": "description",
|
|
29
17
|
"type": {
|
|
30
|
-
"text": "
|
|
18
|
+
"text": "string"
|
|
31
19
|
},
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
20
|
+
"default": "''",
|
|
21
|
+
"description": "Secondary message",
|
|
22
|
+
"attribute": "description"
|
|
35
23
|
},
|
|
36
24
|
{
|
|
37
25
|
"kind": "field",
|
|
@@ -56,131 +44,11 @@
|
|
|
56
44
|
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
57
45
|
"attribute": "href",
|
|
58
46
|
"reflects": true,
|
|
59
|
-
"default": "'javascript:'",
|
|
60
47
|
"inheritedFrom": {
|
|
61
48
|
"name": "ScwLinkBase",
|
|
62
49
|
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
63
50
|
}
|
|
64
51
|
},
|
|
65
|
-
{
|
|
66
|
-
"kind": "field",
|
|
67
|
-
"name": "icon",
|
|
68
|
-
"type": {
|
|
69
|
-
"text": "string"
|
|
70
|
-
},
|
|
71
|
-
"description": "(ScwLink) Determines the icon to use with the text",
|
|
72
|
-
"attribute": "icon",
|
|
73
|
-
"reflects": true,
|
|
74
|
-
"inheritedFrom": {
|
|
75
|
-
"name": "ScwLink",
|
|
76
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"kind": "field",
|
|
81
|
-
"name": "iconSide",
|
|
82
|
-
"type": {
|
|
83
|
-
"text": "string"
|
|
84
|
-
},
|
|
85
|
-
"description": "(ScwLink) Determines which side the icon should show up on",
|
|
86
|
-
"attribute": "icon-side",
|
|
87
|
-
"reflects": true,
|
|
88
|
-
"inheritedFrom": {
|
|
89
|
-
"name": "ScwLink",
|
|
90
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"kind": "field",
|
|
95
|
-
"name": "design",
|
|
96
|
-
"type": {
|
|
97
|
-
"text": "string"
|
|
98
|
-
},
|
|
99
|
-
"description": "(ScwLink) The design style of the link.",
|
|
100
|
-
"attribute": "design",
|
|
101
|
-
"reflects": true,
|
|
102
|
-
"inheritedFrom": {
|
|
103
|
-
"name": "ScwLink",
|
|
104
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"kind": "field",
|
|
109
|
-
"name": "_svgInfo",
|
|
110
|
-
"type": {
|
|
111
|
-
"text": "string"
|
|
112
|
-
},
|
|
113
|
-
"default": "''",
|
|
114
|
-
"inheritedFrom": {
|
|
115
|
-
"name": "ScwLink",
|
|
116
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"kind": "method",
|
|
121
|
-
"name": "parseAndValidateLightDom",
|
|
122
|
-
"description": "parseAndValidateLightDom, just adding local parsing and validation",
|
|
123
|
-
"inheritedFrom": {
|
|
124
|
-
"name": "ScwComponent",
|
|
125
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"kind": "method",
|
|
130
|
-
"name": "validDesigns",
|
|
131
|
-
"return": {
|
|
132
|
-
"type": {
|
|
133
|
-
"text": "object"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"description": "Way to extend valid design types...",
|
|
137
|
-
"inheritedFrom": {
|
|
138
|
-
"name": "ScwLink",
|
|
139
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"kind": "method",
|
|
144
|
-
"name": "doShowIcon",
|
|
145
|
-
"return": {
|
|
146
|
-
"type": {
|
|
147
|
-
"text": "boolean"
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"description": "Way to extend valid design icon types...",
|
|
151
|
-
"inheritedFrom": {
|
|
152
|
-
"name": "ScwLink",
|
|
153
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"kind": "method",
|
|
158
|
-
"name": "renderContent",
|
|
159
|
-
"return": {
|
|
160
|
-
"type": {
|
|
161
|
-
"text": "object"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"description": "renderContent",
|
|
165
|
-
"inheritedFrom": {
|
|
166
|
-
"name": "ScwLink",
|
|
167
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"kind": "method",
|
|
172
|
-
"name": "findStyle",
|
|
173
|
-
"description": "find the style per design",
|
|
174
|
-
"return": {
|
|
175
|
-
"type": {
|
|
176
|
-
"text": "object"
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"inheritedFrom": {
|
|
180
|
-
"name": "ScwLink",
|
|
181
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
52
|
{
|
|
185
53
|
"kind": "field",
|
|
186
54
|
"name": "target",
|
|
@@ -223,6 +91,15 @@
|
|
|
223
91
|
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
224
92
|
}
|
|
225
93
|
},
|
|
94
|
+
{
|
|
95
|
+
"kind": "method",
|
|
96
|
+
"name": "parseAndValidateLightDom",
|
|
97
|
+
"description": "override with anchor info",
|
|
98
|
+
"inheritedFrom": {
|
|
99
|
+
"name": "ScwComponent",
|
|
100
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
226
103
|
{
|
|
227
104
|
"kind": "method",
|
|
228
105
|
"name": "isLink",
|
|
@@ -394,48 +271,13 @@
|
|
|
394
271
|
],
|
|
395
272
|
"attributes": [
|
|
396
273
|
{
|
|
397
|
-
"name": "
|
|
398
|
-
"type": {
|
|
399
|
-
"text": "ScwFormComponentSubmitTypes"
|
|
400
|
-
},
|
|
401
|
-
"description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
|
|
402
|
-
"fieldName": "submitType"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"name": "icon",
|
|
406
|
-
"type": {
|
|
407
|
-
"text": "string"
|
|
408
|
-
},
|
|
409
|
-
"description": "(ScwLink) Determines the icon to use with the text",
|
|
410
|
-
"fieldName": "icon",
|
|
411
|
-
"inheritedFrom": {
|
|
412
|
-
"name": "ScwLink",
|
|
413
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"name": "icon-side",
|
|
418
|
-
"type": {
|
|
419
|
-
"text": "string"
|
|
420
|
-
},
|
|
421
|
-
"description": "(ScwLink) Determines which side the icon should show up on",
|
|
422
|
-
"fieldName": "iconSide",
|
|
423
|
-
"inheritedFrom": {
|
|
424
|
-
"name": "ScwLink",
|
|
425
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
"name": "design",
|
|
274
|
+
"name": "description",
|
|
430
275
|
"type": {
|
|
431
276
|
"text": "string"
|
|
432
277
|
},
|
|
433
|
-
"
|
|
434
|
-
"
|
|
435
|
-
"
|
|
436
|
-
"name": "ScwLink",
|
|
437
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
438
|
-
}
|
|
278
|
+
"default": "''",
|
|
279
|
+
"description": "Secondary message",
|
|
280
|
+
"fieldName": "description"
|
|
439
281
|
},
|
|
440
282
|
{
|
|
441
283
|
"name": "href",
|
|
@@ -527,10 +369,10 @@
|
|
|
527
369
|
}
|
|
528
370
|
],
|
|
529
371
|
"superclass": {
|
|
530
|
-
"name": "
|
|
531
|
-
"module": "/src/scw-link/
|
|
372
|
+
"name": "ScwLinkBase",
|
|
373
|
+
"module": "/src/scw-link-base/ScwLinkBase"
|
|
532
374
|
},
|
|
533
|
-
"tagName": "scw-
|
|
375
|
+
"tagName": "scw-alert",
|
|
534
376
|
"customElement": true
|
|
535
377
|
}
|
|
536
378
|
],
|
|
@@ -539,205 +381,145 @@
|
|
|
539
381
|
"kind": "js",
|
|
540
382
|
"name": "default",
|
|
541
383
|
"declaration": {
|
|
542
|
-
"name": "
|
|
543
|
-
"module": "src/scw-
|
|
384
|
+
"name": "ScwAlert",
|
|
385
|
+
"module": "src/scw-alert/ScwAlert.ts"
|
|
544
386
|
}
|
|
545
387
|
}
|
|
546
388
|
]
|
|
547
389
|
},
|
|
548
390
|
{
|
|
549
391
|
"kind": "javascript-module",
|
|
550
|
-
"path": "src/scw-
|
|
392
|
+
"path": "src/scw-alert/scw-alert.ts",
|
|
551
393
|
"declarations": [],
|
|
552
394
|
"exports": [
|
|
553
395
|
{
|
|
554
396
|
"kind": "custom-element-definition",
|
|
555
|
-
"name": "scw-
|
|
397
|
+
"name": "scw-alert",
|
|
556
398
|
"declaration": {
|
|
557
|
-
"name": "
|
|
558
|
-
"module": "/src/scw-
|
|
399
|
+
"name": "ScwAlert",
|
|
400
|
+
"module": "/src/scw-alert/ScwAlert.js"
|
|
559
401
|
}
|
|
560
402
|
}
|
|
561
403
|
]
|
|
562
404
|
},
|
|
563
405
|
{
|
|
564
406
|
"kind": "javascript-module",
|
|
565
|
-
"path": "src/scw-
|
|
407
|
+
"path": "src/scw-button/ScwButton.ts",
|
|
566
408
|
"declarations": [
|
|
567
409
|
{
|
|
568
410
|
"kind": "class",
|
|
569
|
-
"description": "
|
|
570
|
-
"name": "
|
|
411
|
+
"description": "ScwButton",
|
|
412
|
+
"name": "ScwButton",
|
|
571
413
|
"slots": [
|
|
572
414
|
{
|
|
573
|
-
"description": "
|
|
574
|
-
"name": "default",
|
|
575
|
-
"default": "\"<img src alt /><h1, h2, h3 /><sup /><p />\""
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"description": "Adding an anchor will show a link.",
|
|
415
|
+
"description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target.",
|
|
579
416
|
"name": "default",
|
|
580
|
-
"default": "\"<
|
|
417
|
+
"default": "\"<a href target />\""
|
|
581
418
|
},
|
|
582
419
|
{
|
|
583
|
-
"description": "
|
|
420
|
+
"description": "(OPTIONAL) random content (paired with design=\"plain\") will wrap that content with a link.",
|
|
584
421
|
"name": "default",
|
|
585
|
-
"default": "\"
|
|
422
|
+
"default": "\"<... />\""
|
|
586
423
|
}
|
|
587
424
|
],
|
|
588
425
|
"members": [
|
|
589
426
|
{
|
|
590
427
|
"kind": "field",
|
|
591
|
-
"name": "
|
|
428
|
+
"name": "submitType",
|
|
592
429
|
"type": {
|
|
593
|
-
"text": "
|
|
430
|
+
"text": "ScwFormComponentSubmitTypes"
|
|
594
431
|
},
|
|
595
|
-
"description": "
|
|
596
|
-
"attribute": "
|
|
432
|
+
"description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
|
|
433
|
+
"attribute": "submit-type",
|
|
434
|
+
"reflects": true
|
|
597
435
|
},
|
|
598
436
|
{
|
|
599
437
|
"kind": "field",
|
|
600
|
-
"name": "
|
|
438
|
+
"name": "element",
|
|
601
439
|
"type": {
|
|
602
|
-
"text": "string
|
|
440
|
+
"text": "string"
|
|
603
441
|
},
|
|
604
|
-
"description": "(
|
|
605
|
-
"attribute": "
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
"text": "string | undefined"
|
|
612
|
-
},
|
|
613
|
-
"description": "(ScwCard) Alternative description of the image.",
|
|
614
|
-
"attribute": "alt"
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
"kind": "field",
|
|
618
|
-
"name": "heading",
|
|
619
|
-
"type": {
|
|
620
|
-
"text": "string | undefined"
|
|
621
|
-
},
|
|
622
|
-
"description": "(ScwCard) Main title or header of the card (determined by\n<h1, h2, h3> content)",
|
|
623
|
-
"attribute": "heading"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"kind": "field",
|
|
627
|
-
"name": "superHeading",
|
|
628
|
-
"type": {
|
|
629
|
-
"text": "string | undefined"
|
|
630
|
-
},
|
|
631
|
-
"description": "(ScwCard) Super title, describing a category or area pertaining to title\n(determined by <sup> content)",
|
|
632
|
-
"attribute": "superHeading"
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
"kind": "field",
|
|
636
|
-
"name": "description",
|
|
637
|
-
"type": {
|
|
638
|
-
"text": "string | undefined"
|
|
639
|
-
},
|
|
640
|
-
"description": "(ScwCard) Fuller description of what the card is about (determined by\n<p> content)",
|
|
641
|
-
"attribute": "description"
|
|
442
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
443
|
+
"attribute": "element",
|
|
444
|
+
"reflects": true,
|
|
445
|
+
"inheritedFrom": {
|
|
446
|
+
"name": "ScwComponent",
|
|
447
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
448
|
+
}
|
|
642
449
|
},
|
|
643
450
|
{
|
|
644
451
|
"kind": "field",
|
|
645
|
-
"name": "
|
|
452
|
+
"name": "href",
|
|
646
453
|
"type": {
|
|
647
454
|
"text": "string | undefined"
|
|
648
455
|
},
|
|
649
|
-
"description": "(
|
|
650
|
-
"attribute": "
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
"
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
},
|
|
658
|
-
"default": "false",
|
|
659
|
-
"description": "(ScwCard) whether to preload image or not",
|
|
660
|
-
"attribute": "preload"
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"kind": "field",
|
|
664
|
-
"name": "size",
|
|
665
|
-
"type": {
|
|
666
|
-
"text": "ScwCardSizes"
|
|
667
|
-
},
|
|
668
|
-
"description": "(ScwCard) Readonly - Size of the card. This\nis determined by the nested html content (h1 = large,\nh2 = medium, h3 = small).",
|
|
669
|
-
"attribute": "size",
|
|
670
|
-
"reflects": true
|
|
456
|
+
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
457
|
+
"attribute": "href",
|
|
458
|
+
"reflects": true,
|
|
459
|
+
"default": "'javascript:'",
|
|
460
|
+
"inheritedFrom": {
|
|
461
|
+
"name": "ScwLinkBase",
|
|
462
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
463
|
+
}
|
|
671
464
|
},
|
|
672
465
|
{
|
|
673
466
|
"kind": "field",
|
|
674
|
-
"name": "
|
|
467
|
+
"name": "icon",
|
|
675
468
|
"type": {
|
|
676
|
-
"text": "
|
|
469
|
+
"text": "string"
|
|
677
470
|
},
|
|
678
|
-
"description": "(
|
|
679
|
-
"attribute": "
|
|
680
|
-
"reflects": true
|
|
471
|
+
"description": "(ScwLink) Determines the icon to use with the text",
|
|
472
|
+
"attribute": "icon",
|
|
473
|
+
"reflects": true,
|
|
474
|
+
"inheritedFrom": {
|
|
475
|
+
"name": "ScwLink",
|
|
476
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
477
|
+
}
|
|
681
478
|
},
|
|
682
479
|
{
|
|
683
480
|
"kind": "field",
|
|
684
|
-
"name": "
|
|
481
|
+
"name": "iconSide",
|
|
685
482
|
"type": {
|
|
686
|
-
"text": "
|
|
483
|
+
"text": "string"
|
|
687
484
|
},
|
|
688
|
-
"description": "
|
|
485
|
+
"description": "(ScwLink) Determines which side the icon should show up on",
|
|
486
|
+
"attribute": "icon-side",
|
|
487
|
+
"reflects": true,
|
|
488
|
+
"inheritedFrom": {
|
|
489
|
+
"name": "ScwLink",
|
|
490
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
491
|
+
}
|
|
689
492
|
},
|
|
690
493
|
{
|
|
691
494
|
"kind": "field",
|
|
692
|
-
"name": "
|
|
495
|
+
"name": "design",
|
|
693
496
|
"type": {
|
|
694
|
-
"text": "
|
|
497
|
+
"text": "string"
|
|
695
498
|
},
|
|
696
|
-
"description": "
|
|
499
|
+
"description": "(ScwLink) The design style of the link.",
|
|
500
|
+
"attribute": "design",
|
|
501
|
+
"reflects": true,
|
|
502
|
+
"inheritedFrom": {
|
|
503
|
+
"name": "ScwLink",
|
|
504
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
505
|
+
}
|
|
697
506
|
},
|
|
698
507
|
{
|
|
699
508
|
"kind": "field",
|
|
700
|
-
"name": "
|
|
509
|
+
"name": "_svgInfo",
|
|
701
510
|
"type": {
|
|
702
|
-
"text": "
|
|
511
|
+
"text": "string"
|
|
703
512
|
},
|
|
704
|
-
"
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"kind": "method",
|
|
708
|
-
"name": "parseAndValidateLightDom",
|
|
709
|
-
"description": "parseAndValidateLightDom, just adding local parsing and validation",
|
|
513
|
+
"default": "''",
|
|
710
514
|
"inheritedFrom": {
|
|
711
|
-
"name": "
|
|
712
|
-
"module": "src/scw-
|
|
515
|
+
"name": "ScwLink",
|
|
516
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
713
517
|
}
|
|
714
518
|
},
|
|
715
519
|
{
|
|
716
520
|
"kind": "method",
|
|
717
|
-
"name": "
|
|
718
|
-
"
|
|
719
|
-
{
|
|
720
|
-
"name": "evt",
|
|
721
|
-
"type": {
|
|
722
|
-
"text": "Event"
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
],
|
|
726
|
-
"description": "Handle click event from link so it doesn't trigger twice"
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
"kind": "method",
|
|
730
|
-
"name": "warn",
|
|
731
|
-
"parameters": [
|
|
732
|
-
{
|
|
733
|
-
"name": "message",
|
|
734
|
-
"type": {
|
|
735
|
-
"text": "string"
|
|
736
|
-
},
|
|
737
|
-
"description": "describing warning"
|
|
738
|
-
}
|
|
739
|
-
],
|
|
740
|
-
"description": "change the main heading to be the error.",
|
|
521
|
+
"name": "parseAndValidateLightDom",
|
|
522
|
+
"description": "parseAndValidateLightDom, just adding local parsing and validation",
|
|
741
523
|
"inheritedFrom": {
|
|
742
524
|
"name": "ScwComponent",
|
|
743
525
|
"module": "src/scw-component/ScwComponent.ts"
|
|
@@ -745,70 +527,58 @@
|
|
|
745
527
|
},
|
|
746
528
|
{
|
|
747
529
|
"kind": "method",
|
|
748
|
-
"name": "
|
|
749
|
-
"description": "Render image area",
|
|
530
|
+
"name": "validDesigns",
|
|
750
531
|
"return": {
|
|
751
532
|
"type": {
|
|
752
533
|
"text": "object"
|
|
753
534
|
}
|
|
535
|
+
},
|
|
536
|
+
"description": "Way to extend valid design types...",
|
|
537
|
+
"inheritedFrom": {
|
|
538
|
+
"name": "ScwLink",
|
|
539
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
754
540
|
}
|
|
755
541
|
},
|
|
756
542
|
{
|
|
757
543
|
"kind": "method",
|
|
758
|
-
"name": "
|
|
759
|
-
"description": "Render link area",
|
|
544
|
+
"name": "doShowIcon",
|
|
760
545
|
"return": {
|
|
761
546
|
"type": {
|
|
762
|
-
"text": "
|
|
547
|
+
"text": "boolean"
|
|
763
548
|
}
|
|
549
|
+
},
|
|
550
|
+
"description": "Way to extend valid design icon types...",
|
|
551
|
+
"inheritedFrom": {
|
|
552
|
+
"name": "ScwLink",
|
|
553
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
764
554
|
}
|
|
765
555
|
},
|
|
766
556
|
{
|
|
767
557
|
"kind": "method",
|
|
768
|
-
"name": "
|
|
769
|
-
"description": "get string to use in the size attribute of scw-header",
|
|
558
|
+
"name": "renderContent",
|
|
770
559
|
"return": {
|
|
771
560
|
"type": {
|
|
772
|
-
"text": "
|
|
561
|
+
"text": "object"
|
|
773
562
|
}
|
|
563
|
+
},
|
|
564
|
+
"description": "renderContent",
|
|
565
|
+
"inheritedFrom": {
|
|
566
|
+
"name": "ScwLink",
|
|
567
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
774
568
|
}
|
|
775
569
|
},
|
|
776
570
|
{
|
|
777
571
|
"kind": "method",
|
|
778
|
-
"name": "
|
|
572
|
+
"name": "findStyle",
|
|
573
|
+
"description": "find the style per design",
|
|
779
574
|
"return": {
|
|
780
575
|
"type": {
|
|
781
576
|
"text": "object"
|
|
782
577
|
}
|
|
783
578
|
},
|
|
784
|
-
"description": "render body"
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
"kind": "field",
|
|
788
|
-
"name": "element",
|
|
789
|
-
"type": {
|
|
790
|
-
"text": "string"
|
|
791
|
-
},
|
|
792
|
-
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
793
|
-
"attribute": "element",
|
|
794
|
-
"reflects": true,
|
|
795
|
-
"inheritedFrom": {
|
|
796
|
-
"name": "ScwComponent",
|
|
797
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
"kind": "field",
|
|
802
|
-
"name": "href",
|
|
803
|
-
"type": {
|
|
804
|
-
"text": "string | undefined"
|
|
805
|
-
},
|
|
806
|
-
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
807
|
-
"attribute": "href",
|
|
808
|
-
"reflects": true,
|
|
809
579
|
"inheritedFrom": {
|
|
810
|
-
"name": "
|
|
811
|
-
"module": "src/scw-link
|
|
580
|
+
"name": "ScwLink",
|
|
581
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
812
582
|
}
|
|
813
583
|
},
|
|
814
584
|
{
|
|
@@ -991,6 +761,24 @@
|
|
|
991
761
|
"module": "src/scw-component/ScwComponent.ts"
|
|
992
762
|
}
|
|
993
763
|
},
|
|
764
|
+
{
|
|
765
|
+
"kind": "method",
|
|
766
|
+
"name": "warn",
|
|
767
|
+
"parameters": [
|
|
768
|
+
{
|
|
769
|
+
"name": "message",
|
|
770
|
+
"type": {
|
|
771
|
+
"text": "string"
|
|
772
|
+
},
|
|
773
|
+
"description": "describing warning"
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
"description": "handles warnings...things wrong with formatting, ADA, etc...",
|
|
777
|
+
"inheritedFrom": {
|
|
778
|
+
"name": "ScwComponent",
|
|
779
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
994
782
|
{
|
|
995
783
|
"kind": "field",
|
|
996
784
|
"name": "_lastWarning",
|
|
@@ -1006,85 +794,48 @@
|
|
|
1006
794
|
],
|
|
1007
795
|
"attributes": [
|
|
1008
796
|
{
|
|
1009
|
-
"name": "
|
|
797
|
+
"name": "submit-type",
|
|
1010
798
|
"type": {
|
|
1011
|
-
"text": "
|
|
799
|
+
"text": "ScwFormComponentSubmitTypes"
|
|
1012
800
|
},
|
|
1013
|
-
"description": "
|
|
1014
|
-
"fieldName": "
|
|
801
|
+
"description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
|
|
802
|
+
"fieldName": "submitType"
|
|
1015
803
|
},
|
|
1016
804
|
{
|
|
1017
|
-
"name": "
|
|
805
|
+
"name": "icon",
|
|
1018
806
|
"type": {
|
|
1019
|
-
"text": "string
|
|
807
|
+
"text": "string"
|
|
1020
808
|
},
|
|
1021
|
-
"description": "(
|
|
1022
|
-
"fieldName": "
|
|
809
|
+
"description": "(ScwLink) Determines the icon to use with the text",
|
|
810
|
+
"fieldName": "icon",
|
|
811
|
+
"inheritedFrom": {
|
|
812
|
+
"name": "ScwLink",
|
|
813
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
814
|
+
}
|
|
1023
815
|
},
|
|
1024
816
|
{
|
|
1025
|
-
"name": "
|
|
817
|
+
"name": "icon-side",
|
|
1026
818
|
"type": {
|
|
1027
|
-
"text": "string
|
|
819
|
+
"text": "string"
|
|
1028
820
|
},
|
|
1029
|
-
"description": "(
|
|
1030
|
-
"fieldName": "
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
"text": "string | undefined"
|
|
1036
|
-
},
|
|
1037
|
-
"description": "(ScwCard) Main title or header of the card (determined by\n<h1, h2, h3> content)",
|
|
1038
|
-
"fieldName": "heading"
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
"name": "superHeading",
|
|
1042
|
-
"type": {
|
|
1043
|
-
"text": "string | undefined"
|
|
1044
|
-
},
|
|
1045
|
-
"description": "(ScwCard) Super title, describing a category or area pertaining to title\n(determined by <sup> content)",
|
|
1046
|
-
"fieldName": "superHeading"
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"name": "description",
|
|
1050
|
-
"type": {
|
|
1051
|
-
"text": "string | undefined"
|
|
1052
|
-
},
|
|
1053
|
-
"description": "(ScwCard) Fuller description of what the card is about (determined by\n<p> content)",
|
|
1054
|
-
"fieldName": "description"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"name": "linkLabel",
|
|
1058
|
-
"type": {
|
|
1059
|
-
"text": "string | undefined"
|
|
1060
|
-
},
|
|
1061
|
-
"description": "(ScwCard) Label on the link",
|
|
1062
|
-
"fieldName": "linkLabel"
|
|
1063
|
-
},
|
|
1064
|
-
{
|
|
1065
|
-
"name": "preload",
|
|
1066
|
-
"type": {
|
|
1067
|
-
"text": "boolean"
|
|
1068
|
-
},
|
|
1069
|
-
"default": "false",
|
|
1070
|
-
"description": "(ScwCard) whether to preload image or not",
|
|
1071
|
-
"fieldName": "preload"
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
"name": "size",
|
|
1075
|
-
"type": {
|
|
1076
|
-
"text": "ScwCardSizes"
|
|
1077
|
-
},
|
|
1078
|
-
"description": "(ScwCard) Readonly - Size of the card. This\nis determined by the nested html content (h1 = large,\nh2 = medium, h3 = small).",
|
|
1079
|
-
"fieldName": "size"
|
|
821
|
+
"description": "(ScwLink) Determines which side the icon should show up on",
|
|
822
|
+
"fieldName": "iconSide",
|
|
823
|
+
"inheritedFrom": {
|
|
824
|
+
"name": "ScwLink",
|
|
825
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
826
|
+
}
|
|
1080
827
|
},
|
|
1081
828
|
{
|
|
1082
|
-
"name": "
|
|
829
|
+
"name": "design",
|
|
1083
830
|
"type": {
|
|
1084
|
-
"text": "
|
|
831
|
+
"text": "string"
|
|
1085
832
|
},
|
|
1086
|
-
"description": "(
|
|
1087
|
-
"fieldName": "
|
|
833
|
+
"description": "(ScwLink) The design style of the link.",
|
|
834
|
+
"fieldName": "design",
|
|
835
|
+
"inheritedFrom": {
|
|
836
|
+
"name": "ScwLink",
|
|
837
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
838
|
+
}
|
|
1088
839
|
},
|
|
1089
840
|
{
|
|
1090
841
|
"name": "href",
|
|
@@ -1176,10 +927,10 @@
|
|
|
1176
927
|
}
|
|
1177
928
|
],
|
|
1178
929
|
"superclass": {
|
|
1179
|
-
"name": "
|
|
1180
|
-
"module": "/src/scw-link
|
|
930
|
+
"name": "ScwLink",
|
|
931
|
+
"module": "/src/scw-link/ScwLink"
|
|
1181
932
|
},
|
|
1182
|
-
"tagName": "scw-
|
|
933
|
+
"tagName": "scw-button",
|
|
1183
934
|
"customElement": true
|
|
1184
935
|
}
|
|
1185
936
|
],
|
|
@@ -1188,90 +939,59 @@
|
|
|
1188
939
|
"kind": "js",
|
|
1189
940
|
"name": "default",
|
|
1190
941
|
"declaration": {
|
|
1191
|
-
"name": "
|
|
1192
|
-
"module": "src/scw-
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
]
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"kind": "javascript-module",
|
|
1199
|
-
"path": "src/scw-card/scw-card-enums.ts",
|
|
1200
|
-
"declarations": [],
|
|
1201
|
-
"exports": []
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"kind": "javascript-module",
|
|
1205
|
-
"path": "src/scw-card/scw-card-light-dom.ts",
|
|
1206
|
-
"declarations": [
|
|
1207
|
-
{
|
|
1208
|
-
"kind": "function",
|
|
1209
|
-
"name": "parseLightDomCard",
|
|
1210
|
-
"parameters": [
|
|
1211
|
-
{
|
|
1212
|
-
"name": "scwCard",
|
|
1213
|
-
"type": {
|
|
1214
|
-
"text": "ScwCard"
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
],
|
|
1218
|
-
"description": "Parses light dom into variables to be used for rendering"
|
|
1219
|
-
}
|
|
1220
|
-
],
|
|
1221
|
-
"exports": [
|
|
1222
|
-
{
|
|
1223
|
-
"kind": "js",
|
|
1224
|
-
"name": "default",
|
|
1225
|
-
"declaration": {
|
|
1226
|
-
"name": "parseLightDomCard",
|
|
1227
|
-
"module": "src/scw-card/scw-card-light-dom.ts"
|
|
942
|
+
"name": "ScwButton",
|
|
943
|
+
"module": "src/scw-button/ScwButton.ts"
|
|
1228
944
|
}
|
|
1229
945
|
}
|
|
1230
946
|
]
|
|
1231
947
|
},
|
|
1232
948
|
{
|
|
1233
949
|
"kind": "javascript-module",
|
|
1234
|
-
"path": "src/scw-
|
|
950
|
+
"path": "src/scw-button/scw-button.ts",
|
|
1235
951
|
"declarations": [],
|
|
1236
952
|
"exports": [
|
|
1237
953
|
{
|
|
1238
954
|
"kind": "custom-element-definition",
|
|
1239
|
-
"name": "scw-
|
|
955
|
+
"name": "scw-button",
|
|
1240
956
|
"declaration": {
|
|
1241
|
-
"name": "
|
|
1242
|
-
"module": "/src/scw-
|
|
957
|
+
"name": "ScwButton",
|
|
958
|
+
"module": "/src/scw-button/ScwButton.js"
|
|
1243
959
|
}
|
|
1244
960
|
}
|
|
1245
961
|
]
|
|
1246
962
|
},
|
|
1247
963
|
{
|
|
1248
964
|
"kind": "javascript-module",
|
|
1249
|
-
"path": "src/scw-
|
|
965
|
+
"path": "src/scw-center-component/ScwCenterComponent.ts",
|
|
1250
966
|
"declarations": [
|
|
1251
967
|
{
|
|
1252
968
|
"kind": "class",
|
|
1253
|
-
"description": "
|
|
1254
|
-
"name": "
|
|
969
|
+
"description": "ScwCenterComponent",
|
|
970
|
+
"name": "ScwCenterComponent",
|
|
1255
971
|
"members": [
|
|
1256
972
|
{
|
|
1257
973
|
"kind": "field",
|
|
1258
|
-
"name": "
|
|
974
|
+
"name": "element",
|
|
1259
975
|
"type": {
|
|
1260
976
|
"text": "string"
|
|
1261
977
|
},
|
|
1262
|
-
"
|
|
1263
|
-
"
|
|
1264
|
-
"
|
|
978
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
979
|
+
"attribute": "element",
|
|
980
|
+
"reflects": true,
|
|
981
|
+
"inheritedFrom": {
|
|
982
|
+
"name": "ScwComponent",
|
|
983
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
984
|
+
}
|
|
1265
985
|
},
|
|
1266
986
|
{
|
|
1267
987
|
"kind": "field",
|
|
1268
|
-
"name": "
|
|
988
|
+
"name": "responsive",
|
|
1269
989
|
"type": {
|
|
1270
990
|
"text": "string"
|
|
1271
991
|
},
|
|
1272
|
-
"
|
|
1273
|
-
"
|
|
1274
|
-
"
|
|
992
|
+
"default": "true",
|
|
993
|
+
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
994
|
+
"attribute": "responsive",
|
|
1275
995
|
"inheritedFrom": {
|
|
1276
996
|
"name": "ScwComponent",
|
|
1277
997
|
"module": "src/scw-component/ScwComponent.ts"
|
|
@@ -1279,64 +999,66 @@
|
|
|
1279
999
|
},
|
|
1280
1000
|
{
|
|
1281
1001
|
"kind": "field",
|
|
1282
|
-
"name": "
|
|
1002
|
+
"name": "ariaLabel",
|
|
1283
1003
|
"type": {
|
|
1284
|
-
"text": "string
|
|
1004
|
+
"text": "string"
|
|
1285
1005
|
},
|
|
1286
|
-
"
|
|
1287
|
-
"
|
|
1006
|
+
"default": "''",
|
|
1007
|
+
"description": "(ScwComponent) Main text within component",
|
|
1008
|
+
"attribute": "aria-label",
|
|
1288
1009
|
"reflects": true,
|
|
1289
1010
|
"inheritedFrom": {
|
|
1290
|
-
"name": "
|
|
1291
|
-
"module": "src/scw-
|
|
1011
|
+
"name": "ScwComponent",
|
|
1012
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1292
1013
|
}
|
|
1293
1014
|
},
|
|
1294
1015
|
{
|
|
1295
1016
|
"kind": "field",
|
|
1296
|
-
"name": "
|
|
1017
|
+
"name": "ariaDisabled",
|
|
1297
1018
|
"type": {
|
|
1298
|
-
"text": "
|
|
1019
|
+
"text": "string"
|
|
1299
1020
|
},
|
|
1300
|
-
"
|
|
1301
|
-
"
|
|
1302
|
-
"
|
|
1021
|
+
"default": "'false'",
|
|
1022
|
+
"description": "(ScwComponent) Disables the component however it disables",
|
|
1023
|
+
"attribute": "aria-disabled",
|
|
1303
1024
|
"inheritedFrom": {
|
|
1304
|
-
"name": "
|
|
1305
|
-
"module": "src/scw-
|
|
1025
|
+
"name": "ScwComponent",
|
|
1026
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1306
1027
|
}
|
|
1307
1028
|
},
|
|
1308
1029
|
{
|
|
1309
1030
|
"kind": "field",
|
|
1310
|
-
"name": "
|
|
1031
|
+
"name": "responsiveElement",
|
|
1311
1032
|
"type": {
|
|
1312
|
-
"text": "
|
|
1033
|
+
"text": "ResponsiveElement | undefined"
|
|
1313
1034
|
},
|
|
1035
|
+
"description": "responsive element",
|
|
1314
1036
|
"inheritedFrom": {
|
|
1315
|
-
"name": "
|
|
1316
|
-
"module": "src/scw-
|
|
1037
|
+
"name": "ScwComponent",
|
|
1038
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1317
1039
|
}
|
|
1318
1040
|
},
|
|
1319
1041
|
{
|
|
1320
|
-
"kind": "
|
|
1321
|
-
"name": "
|
|
1322
|
-
"
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
"text": "Event"
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
|
-
],
|
|
1330
|
-
"description": "cancel event",
|
|
1042
|
+
"kind": "field",
|
|
1043
|
+
"name": "_lightDomMutationObserver",
|
|
1044
|
+
"type": {
|
|
1045
|
+
"text": "LightDomMutationObserver | undefined"
|
|
1046
|
+
},
|
|
1047
|
+
"description": "(ScwComponent) Light Dom Mutation Observer",
|
|
1331
1048
|
"inheritedFrom": {
|
|
1332
|
-
"name": "
|
|
1333
|
-
"module": "src/scw-
|
|
1049
|
+
"name": "ScwComponent",
|
|
1050
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1334
1051
|
}
|
|
1335
1052
|
},
|
|
1336
1053
|
{
|
|
1337
|
-
"kind": "
|
|
1338
|
-
"name": "
|
|
1339
|
-
"
|
|
1054
|
+
"kind": "field",
|
|
1055
|
+
"name": "dynamic",
|
|
1056
|
+
"type": {
|
|
1057
|
+
"text": "boolean"
|
|
1058
|
+
},
|
|
1059
|
+
"default": "false",
|
|
1060
|
+
"description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM for inputs)",
|
|
1061
|
+
"attribute": "dynamic",
|
|
1340
1062
|
"inheritedFrom": {
|
|
1341
1063
|
"name": "ScwComponent",
|
|
1342
1064
|
"module": "src/scw-component/ScwComponent.ts"
|
|
@@ -1344,142 +1066,309 @@
|
|
|
1344
1066
|
},
|
|
1345
1067
|
{
|
|
1346
1068
|
"kind": "method",
|
|
1347
|
-
"name": "
|
|
1348
|
-
"description": "
|
|
1349
|
-
"return": {
|
|
1350
|
-
"type": {
|
|
1351
|
-
"text": "boolean"
|
|
1352
|
-
}
|
|
1353
|
-
},
|
|
1069
|
+
"name": "parseAndValidateLightDom",
|
|
1070
|
+
"description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations",
|
|
1354
1071
|
"inheritedFrom": {
|
|
1355
|
-
"name": "
|
|
1356
|
-
"module": "src/scw-
|
|
1072
|
+
"name": "ScwComponent",
|
|
1073
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1357
1074
|
}
|
|
1358
1075
|
},
|
|
1359
1076
|
{
|
|
1360
1077
|
"kind": "method",
|
|
1361
|
-
"name": "
|
|
1362
|
-
"return": {
|
|
1363
|
-
"type": {
|
|
1364
|
-
"text": "object"
|
|
1365
|
-
}
|
|
1366
|
-
},
|
|
1078
|
+
"name": "warn",
|
|
1367
1079
|
"parameters": [
|
|
1368
1080
|
{
|
|
1369
|
-
"name": "
|
|
1370
|
-
"type": {
|
|
1371
|
-
"text": "object"
|
|
1372
|
-
}
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
"name": "styles",
|
|
1376
|
-
"optional": true,
|
|
1081
|
+
"name": "message",
|
|
1377
1082
|
"type": {
|
|
1378
1083
|
"text": "string"
|
|
1379
|
-
}
|
|
1084
|
+
},
|
|
1085
|
+
"description": "describing warning"
|
|
1380
1086
|
}
|
|
1381
1087
|
],
|
|
1382
|
-
"description": "
|
|
1088
|
+
"description": "handles warnings...things wrong with formatting, ADA, etc...",
|
|
1383
1089
|
"inheritedFrom": {
|
|
1384
|
-
"name": "
|
|
1385
|
-
"module": "src/scw-
|
|
1090
|
+
"name": "ScwComponent",
|
|
1091
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1386
1092
|
}
|
|
1387
1093
|
},
|
|
1388
1094
|
{
|
|
1389
|
-
"kind": "
|
|
1390
|
-
"name": "
|
|
1391
|
-
"
|
|
1392
|
-
"
|
|
1393
|
-
"text": "void"
|
|
1394
|
-
}
|
|
1095
|
+
"kind": "field",
|
|
1096
|
+
"name": "_lastWarning",
|
|
1097
|
+
"type": {
|
|
1098
|
+
"text": "string | undefined"
|
|
1395
1099
|
},
|
|
1396
|
-
"description": "
|
|
1100
|
+
"description": "retain the last warning sent...good for testing.",
|
|
1397
1101
|
"inheritedFrom": {
|
|
1398
|
-
"name": "
|
|
1399
|
-
"module": "src/scw-
|
|
1102
|
+
"name": "ScwComponent",
|
|
1103
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1400
1104
|
}
|
|
1401
|
-
}
|
|
1105
|
+
}
|
|
1106
|
+
],
|
|
1107
|
+
"superclass": {
|
|
1108
|
+
"name": "ScwComponent",
|
|
1109
|
+
"module": "/src/scw-component/ScwComponent"
|
|
1110
|
+
},
|
|
1111
|
+
"tagName": "scw-center-component",
|
|
1112
|
+
"customElement": true,
|
|
1113
|
+
"attributes": [
|
|
1402
1114
|
{
|
|
1403
|
-
"
|
|
1404
|
-
"name": "ariaLabel",
|
|
1115
|
+
"name": "aria-label",
|
|
1405
1116
|
"type": {
|
|
1406
1117
|
"text": "string"
|
|
1407
1118
|
},
|
|
1408
1119
|
"default": "''",
|
|
1409
1120
|
"description": "(ScwComponent) Main text within component",
|
|
1410
|
-
"
|
|
1411
|
-
"reflects": true,
|
|
1121
|
+
"fieldName": "ariaLabel",
|
|
1412
1122
|
"inheritedFrom": {
|
|
1413
1123
|
"name": "ScwComponent",
|
|
1414
1124
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1415
1125
|
}
|
|
1416
1126
|
},
|
|
1417
1127
|
{
|
|
1418
|
-
"
|
|
1419
|
-
"name": "ariaDisabled",
|
|
1128
|
+
"name": "aria-disabled",
|
|
1420
1129
|
"type": {
|
|
1421
1130
|
"text": "string"
|
|
1422
1131
|
},
|
|
1423
1132
|
"default": "'false'",
|
|
1424
1133
|
"description": "(ScwComponent) Disables the component however it disables",
|
|
1425
|
-
"
|
|
1134
|
+
"fieldName": "ariaDisabled",
|
|
1426
1135
|
"inheritedFrom": {
|
|
1427
1136
|
"name": "ScwComponent",
|
|
1428
1137
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1429
1138
|
}
|
|
1430
1139
|
},
|
|
1431
1140
|
{
|
|
1432
|
-
"kind": "field",
|
|
1433
1141
|
"name": "responsive",
|
|
1434
1142
|
"type": {
|
|
1435
1143
|
"text": "string"
|
|
1436
1144
|
},
|
|
1437
1145
|
"default": "false",
|
|
1438
1146
|
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
1439
|
-
"
|
|
1147
|
+
"fieldName": "responsive",
|
|
1440
1148
|
"inheritedFrom": {
|
|
1441
1149
|
"name": "ScwComponent",
|
|
1442
1150
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1443
1151
|
}
|
|
1444
1152
|
},
|
|
1445
1153
|
{
|
|
1446
|
-
"
|
|
1447
|
-
"name": "responsiveElement",
|
|
1154
|
+
"name": "dynamic",
|
|
1448
1155
|
"type": {
|
|
1449
|
-
"text": "
|
|
1156
|
+
"text": "boolean"
|
|
1450
1157
|
},
|
|
1451
|
-
"
|
|
1158
|
+
"default": "false",
|
|
1159
|
+
"description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM for inputs)",
|
|
1160
|
+
"fieldName": "dynamic",
|
|
1452
1161
|
"inheritedFrom": {
|
|
1453
1162
|
"name": "ScwComponent",
|
|
1454
1163
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1455
1164
|
}
|
|
1456
1165
|
},
|
|
1457
1166
|
{
|
|
1458
|
-
"
|
|
1459
|
-
"name": "_lightDomMutationObserver",
|
|
1167
|
+
"name": "element",
|
|
1460
1168
|
"type": {
|
|
1461
|
-
"text": "
|
|
1169
|
+
"text": "string"
|
|
1462
1170
|
},
|
|
1463
|
-
"description": "(ScwComponent)
|
|
1171
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
1172
|
+
"fieldName": "element",
|
|
1464
1173
|
"inheritedFrom": {
|
|
1465
1174
|
"name": "ScwComponent",
|
|
1466
1175
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1467
1176
|
}
|
|
1177
|
+
}
|
|
1178
|
+
]
|
|
1179
|
+
}
|
|
1180
|
+
],
|
|
1181
|
+
"exports": [
|
|
1182
|
+
{
|
|
1183
|
+
"kind": "js",
|
|
1184
|
+
"name": "default",
|
|
1185
|
+
"declaration": {
|
|
1186
|
+
"name": "ScwCenterComponent",
|
|
1187
|
+
"module": "src/scw-center-component/ScwCenterComponent.ts"
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
]
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"kind": "javascript-module",
|
|
1194
|
+
"path": "src/scw-center-component/scw-center-component.ts",
|
|
1195
|
+
"declarations": [],
|
|
1196
|
+
"exports": [
|
|
1197
|
+
{
|
|
1198
|
+
"kind": "custom-element-definition",
|
|
1199
|
+
"name": "scw-center-component",
|
|
1200
|
+
"declaration": {
|
|
1201
|
+
"name": "ScwCenterComponent",
|
|
1202
|
+
"module": "/src/scw-center-component/ScwCenterComponent.js"
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"kind": "javascript-module",
|
|
1209
|
+
"path": "src/scw-card/ScwCard.ts",
|
|
1210
|
+
"declarations": [
|
|
1211
|
+
{
|
|
1212
|
+
"kind": "class",
|
|
1213
|
+
"description": "ScwCard a first LitElement web component",
|
|
1214
|
+
"name": "ScwCard",
|
|
1215
|
+
"slots": [
|
|
1216
|
+
{
|
|
1217
|
+
"description": "The parts of scw-card are configured via nested html elements. img defines the image, heading the main heading, sup the category heading, and p the descriptive text. Only headings is required (with src, srcset, and alt attributes).",
|
|
1218
|
+
"name": "default",
|
|
1219
|
+
"default": "\"<img src alt /><h1, h2, h3 /><sup /><p />\""
|
|
1468
1220
|
},
|
|
1221
|
+
{
|
|
1222
|
+
"description": "Adding an anchor will show a link.",
|
|
1223
|
+
"name": "default",
|
|
1224
|
+
"default": "\"<img src alt /><h1, h2, h3 /><sup /><p /><a />\""
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"description": "Wrapping the entire content in an anchor will make it interactive",
|
|
1228
|
+
"name": "default",
|
|
1229
|
+
"default": "\"<a><img src alt /><h1, h2, h3 /><sup /><p /></a>\""
|
|
1230
|
+
}
|
|
1231
|
+
],
|
|
1232
|
+
"members": [
|
|
1469
1233
|
{
|
|
1470
1234
|
"kind": "field",
|
|
1471
|
-
"name": "
|
|
1235
|
+
"name": "src",
|
|
1236
|
+
"type": {
|
|
1237
|
+
"text": "string | undefined"
|
|
1238
|
+
},
|
|
1239
|
+
"description": "(ScwCard) The src of the image within the card",
|
|
1240
|
+
"attribute": "src"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
"kind": "field",
|
|
1244
|
+
"name": "srcset",
|
|
1245
|
+
"type": {
|
|
1246
|
+
"text": "string | undefined"
|
|
1247
|
+
},
|
|
1248
|
+
"description": "(ScwCard) The srcset of the image within the card",
|
|
1249
|
+
"attribute": "srcset"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"kind": "field",
|
|
1253
|
+
"name": "alt",
|
|
1254
|
+
"type": {
|
|
1255
|
+
"text": "string | undefined"
|
|
1256
|
+
},
|
|
1257
|
+
"description": "(ScwCard) Alternative description of the image.",
|
|
1258
|
+
"attribute": "alt"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"kind": "field",
|
|
1262
|
+
"name": "heading",
|
|
1263
|
+
"type": {
|
|
1264
|
+
"text": "string | undefined"
|
|
1265
|
+
},
|
|
1266
|
+
"description": "(ScwCard) Main title or header of the card (determined by\n<h1, h2, h3> content)",
|
|
1267
|
+
"attribute": "heading"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"kind": "field",
|
|
1271
|
+
"name": "superHeading",
|
|
1272
|
+
"type": {
|
|
1273
|
+
"text": "string | undefined"
|
|
1274
|
+
},
|
|
1275
|
+
"description": "(ScwCard) Super title, describing a category or area pertaining to title\n(determined by <sup> content)",
|
|
1276
|
+
"attribute": "superHeading"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"kind": "field",
|
|
1280
|
+
"name": "description",
|
|
1281
|
+
"type": {
|
|
1282
|
+
"text": "string | undefined"
|
|
1283
|
+
},
|
|
1284
|
+
"description": "(ScwCard) Fuller description of what the card is about (determined by\n<p> content)",
|
|
1285
|
+
"attribute": "description"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"kind": "field",
|
|
1289
|
+
"name": "linkLabel",
|
|
1290
|
+
"type": {
|
|
1291
|
+
"text": "string | undefined"
|
|
1292
|
+
},
|
|
1293
|
+
"description": "(ScwCard) Label on the link",
|
|
1294
|
+
"attribute": "linkLabel"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"kind": "field",
|
|
1298
|
+
"name": "preload",
|
|
1472
1299
|
"type": {
|
|
1473
1300
|
"text": "boolean"
|
|
1474
1301
|
},
|
|
1475
1302
|
"default": "false",
|
|
1476
|
-
"description": "(
|
|
1477
|
-
"attribute": "
|
|
1303
|
+
"description": "(ScwCard) whether to preload image or not",
|
|
1304
|
+
"attribute": "preload"
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"kind": "field",
|
|
1308
|
+
"name": "size",
|
|
1309
|
+
"type": {
|
|
1310
|
+
"text": "ScwCardSizes"
|
|
1311
|
+
},
|
|
1312
|
+
"description": "(ScwCard) Readonly - Size of the card. This\nis determined by the nested html content (h1 = large,\nh2 = medium, h3 = small).",
|
|
1313
|
+
"attribute": "size",
|
|
1314
|
+
"reflects": true
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"kind": "field",
|
|
1318
|
+
"name": "action",
|
|
1319
|
+
"type": {
|
|
1320
|
+
"text": "ScwCardActions"
|
|
1321
|
+
},
|
|
1322
|
+
"description": "(ScwCard) Readonly - The type of action (whole card, link, or none).\nThis is determined by the use of an anchor tag.",
|
|
1323
|
+
"attribute": "action",
|
|
1324
|
+
"reflects": true
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"kind": "field",
|
|
1328
|
+
"name": "headerNodeName",
|
|
1329
|
+
"type": {
|
|
1330
|
+
"text": "any"
|
|
1331
|
+
},
|
|
1332
|
+
"description": "scw-header with versioning suffix"
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"kind": "field",
|
|
1336
|
+
"name": "imageNodeName",
|
|
1337
|
+
"type": {
|
|
1338
|
+
"text": "any"
|
|
1339
|
+
},
|
|
1340
|
+
"description": "scw-image with versioning suffix"
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"kind": "field",
|
|
1344
|
+
"name": "linkNodeName",
|
|
1345
|
+
"type": {
|
|
1346
|
+
"text": "any"
|
|
1347
|
+
},
|
|
1348
|
+
"description": "scw-link with versioning suffix"
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"kind": "method",
|
|
1352
|
+
"name": "parseAndValidateLightDom",
|
|
1353
|
+
"description": "parseAndValidateLightDom, just adding local parsing and validation",
|
|
1478
1354
|
"inheritedFrom": {
|
|
1479
1355
|
"name": "ScwComponent",
|
|
1480
1356
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1481
1357
|
}
|
|
1482
1358
|
},
|
|
1359
|
+
{
|
|
1360
|
+
"kind": "method",
|
|
1361
|
+
"name": "clickHandler",
|
|
1362
|
+
"parameters": [
|
|
1363
|
+
{
|
|
1364
|
+
"name": "evt",
|
|
1365
|
+
"type": {
|
|
1366
|
+
"text": "Event"
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
],
|
|
1370
|
+
"description": "Handle click event from link so it doesn't trigger twice"
|
|
1371
|
+
},
|
|
1483
1372
|
{
|
|
1484
1373
|
"kind": "method",
|
|
1485
1374
|
"name": "warn",
|
|
@@ -1492,193 +1381,177 @@
|
|
|
1492
1381
|
"description": "describing warning"
|
|
1493
1382
|
}
|
|
1494
1383
|
],
|
|
1495
|
-
"description": "
|
|
1384
|
+
"description": "change the main heading to be the error.",
|
|
1496
1385
|
"inheritedFrom": {
|
|
1497
1386
|
"name": "ScwComponent",
|
|
1498
1387
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1499
1388
|
}
|
|
1500
1389
|
},
|
|
1390
|
+
{
|
|
1391
|
+
"kind": "method",
|
|
1392
|
+
"name": "renderImage",
|
|
1393
|
+
"description": "Render image area",
|
|
1394
|
+
"return": {
|
|
1395
|
+
"type": {
|
|
1396
|
+
"text": "object"
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"kind": "method",
|
|
1402
|
+
"name": "renderButton",
|
|
1403
|
+
"description": "Render link area",
|
|
1404
|
+
"return": {
|
|
1405
|
+
"type": {
|
|
1406
|
+
"text": "object"
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"kind": "method",
|
|
1412
|
+
"name": "getSizeStringForHeader",
|
|
1413
|
+
"description": "get string to use in the size attribute of scw-header",
|
|
1414
|
+
"return": {
|
|
1415
|
+
"type": {
|
|
1416
|
+
"text": "string"
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"kind": "method",
|
|
1422
|
+
"name": "renderBody",
|
|
1423
|
+
"return": {
|
|
1424
|
+
"type": {
|
|
1425
|
+
"text": "object"
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
"description": "render body"
|
|
1429
|
+
},
|
|
1501
1430
|
{
|
|
1502
1431
|
"kind": "field",
|
|
1503
|
-
"name": "
|
|
1432
|
+
"name": "element",
|
|
1504
1433
|
"type": {
|
|
1505
|
-
"text": "string
|
|
1434
|
+
"text": "string"
|
|
1506
1435
|
},
|
|
1507
|
-
"description": "
|
|
1436
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
1437
|
+
"attribute": "element",
|
|
1438
|
+
"reflects": true,
|
|
1508
1439
|
"inheritedFrom": {
|
|
1509
1440
|
"name": "ScwComponent",
|
|
1510
1441
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1511
1442
|
}
|
|
1512
|
-
}
|
|
1513
|
-
],
|
|
1514
|
-
"attributes": [
|
|
1515
|
-
{
|
|
1516
|
-
"name": "description",
|
|
1517
|
-
"type": {
|
|
1518
|
-
"text": "string"
|
|
1519
|
-
},
|
|
1520
|
-
"default": "''",
|
|
1521
|
-
"description": "Secondary message",
|
|
1522
|
-
"fieldName": "description"
|
|
1523
1443
|
},
|
|
1524
1444
|
{
|
|
1445
|
+
"kind": "field",
|
|
1525
1446
|
"name": "href",
|
|
1526
1447
|
"type": {
|
|
1527
1448
|
"text": "string | undefined"
|
|
1528
1449
|
},
|
|
1529
1450
|
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
1530
|
-
"
|
|
1451
|
+
"attribute": "href",
|
|
1452
|
+
"reflects": true,
|
|
1531
1453
|
"inheritedFrom": {
|
|
1532
1454
|
"name": "ScwLinkBase",
|
|
1533
1455
|
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1534
1456
|
}
|
|
1535
1457
|
},
|
|
1536
1458
|
{
|
|
1459
|
+
"kind": "field",
|
|
1537
1460
|
"name": "target",
|
|
1538
1461
|
"type": {
|
|
1539
1462
|
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
1540
1463
|
},
|
|
1541
1464
|
"description": "(ScwLinkBase) link target - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
1542
|
-
"
|
|
1465
|
+
"attribute": "target",
|
|
1466
|
+
"reflects": true,
|
|
1543
1467
|
"inheritedFrom": {
|
|
1544
1468
|
"name": "ScwLinkBase",
|
|
1545
1469
|
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1546
1470
|
}
|
|
1547
1471
|
},
|
|
1548
1472
|
{
|
|
1549
|
-
"
|
|
1550
|
-
"
|
|
1551
|
-
"text": "string"
|
|
1552
|
-
},
|
|
1553
|
-
"default": "''",
|
|
1554
|
-
"description": "(ScwComponent) Main text within component",
|
|
1555
|
-
"fieldName": "ariaLabel",
|
|
1556
|
-
"inheritedFrom": {
|
|
1557
|
-
"name": "ScwComponent",
|
|
1558
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1559
|
-
}
|
|
1560
|
-
},
|
|
1561
|
-
{
|
|
1562
|
-
"name": "aria-disabled",
|
|
1473
|
+
"kind": "field",
|
|
1474
|
+
"name": "linkAnchor",
|
|
1563
1475
|
"type": {
|
|
1564
|
-
"text": "
|
|
1476
|
+
"text": "HTMLAnchorElement | undefined"
|
|
1565
1477
|
},
|
|
1566
|
-
"default": "'false'",
|
|
1567
|
-
"description": "(ScwComponent) Disables the component however it disables",
|
|
1568
|
-
"fieldName": "ariaDisabled",
|
|
1569
1478
|
"inheritedFrom": {
|
|
1570
|
-
"name": "
|
|
1571
|
-
"module": "src/scw-
|
|
1479
|
+
"name": "ScwLinkBase",
|
|
1480
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1572
1481
|
}
|
|
1573
1482
|
},
|
|
1574
1483
|
{
|
|
1575
|
-
"
|
|
1576
|
-
"
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1484
|
+
"kind": "method",
|
|
1485
|
+
"name": "cancelEvent",
|
|
1486
|
+
"parameters": [
|
|
1487
|
+
{
|
|
1488
|
+
"name": "evt",
|
|
1489
|
+
"type": {
|
|
1490
|
+
"text": "Event"
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
],
|
|
1494
|
+
"description": "cancel event",
|
|
1582
1495
|
"inheritedFrom": {
|
|
1583
|
-
"name": "
|
|
1584
|
-
"module": "src/scw-
|
|
1496
|
+
"name": "ScwLinkBase",
|
|
1497
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1585
1498
|
}
|
|
1586
1499
|
},
|
|
1587
1500
|
{
|
|
1588
|
-
"
|
|
1589
|
-
"
|
|
1590
|
-
|
|
1501
|
+
"kind": "method",
|
|
1502
|
+
"name": "isLink",
|
|
1503
|
+
"description": "Should this element be rendered as a link...",
|
|
1504
|
+
"return": {
|
|
1505
|
+
"type": {
|
|
1506
|
+
"text": "boolean"
|
|
1507
|
+
}
|
|
1591
1508
|
},
|
|
1592
|
-
"default": "false",
|
|
1593
|
-
"description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM for inputs)",
|
|
1594
|
-
"fieldName": "dynamic",
|
|
1595
1509
|
"inheritedFrom": {
|
|
1596
|
-
"name": "
|
|
1597
|
-
"module": "src/scw-
|
|
1510
|
+
"name": "ScwLinkBase",
|
|
1511
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1598
1512
|
}
|
|
1599
1513
|
},
|
|
1600
1514
|
{
|
|
1601
|
-
"
|
|
1602
|
-
"
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
"inheritedFrom": {
|
|
1608
|
-
"name": "ScwComponent",
|
|
1609
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
],
|
|
1613
|
-
"superclass": {
|
|
1614
|
-
"name": "ScwLinkBase",
|
|
1615
|
-
"module": "/src/scw-link-base/ScwLinkBase"
|
|
1616
|
-
},
|
|
1617
|
-
"tagName": "scw-alert",
|
|
1618
|
-
"customElement": true
|
|
1619
|
-
}
|
|
1620
|
-
],
|
|
1621
|
-
"exports": [
|
|
1622
|
-
{
|
|
1623
|
-
"kind": "js",
|
|
1624
|
-
"name": "default",
|
|
1625
|
-
"declaration": {
|
|
1626
|
-
"name": "ScwAlert",
|
|
1627
|
-
"module": "src/scw-alert/ScwAlert.ts"
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
]
|
|
1631
|
-
},
|
|
1632
|
-
{
|
|
1633
|
-
"kind": "javascript-module",
|
|
1634
|
-
"path": "src/scw-alert/scw-alert.ts",
|
|
1635
|
-
"declarations": [],
|
|
1636
|
-
"exports": [
|
|
1637
|
-
{
|
|
1638
|
-
"kind": "custom-element-definition",
|
|
1639
|
-
"name": "scw-alert",
|
|
1640
|
-
"declaration": {
|
|
1641
|
-
"name": "ScwAlert",
|
|
1642
|
-
"module": "/src/scw-alert/ScwAlert.js"
|
|
1643
|
-
}
|
|
1644
|
-
}
|
|
1645
|
-
]
|
|
1646
|
-
},
|
|
1647
|
-
{
|
|
1648
|
-
"kind": "javascript-module",
|
|
1649
|
-
"path": "src/scw-center-component/ScwCenterComponent.ts",
|
|
1650
|
-
"declarations": [
|
|
1651
|
-
{
|
|
1652
|
-
"kind": "class",
|
|
1653
|
-
"description": "ScwCenterComponent",
|
|
1654
|
-
"name": "ScwCenterComponent",
|
|
1655
|
-
"members": [
|
|
1656
|
-
{
|
|
1657
|
-
"kind": "field",
|
|
1658
|
-
"name": "element",
|
|
1659
|
-
"type": {
|
|
1660
|
-
"text": "string"
|
|
1515
|
+
"kind": "method",
|
|
1516
|
+
"name": "renderLink",
|
|
1517
|
+
"return": {
|
|
1518
|
+
"type": {
|
|
1519
|
+
"text": "object"
|
|
1520
|
+
}
|
|
1661
1521
|
},
|
|
1662
|
-
"
|
|
1663
|
-
|
|
1664
|
-
|
|
1522
|
+
"parameters": [
|
|
1523
|
+
{
|
|
1524
|
+
"name": "children",
|
|
1525
|
+
"type": {
|
|
1526
|
+
"text": "object"
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"name": "styles",
|
|
1531
|
+
"optional": true,
|
|
1532
|
+
"type": {
|
|
1533
|
+
"text": "string"
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
],
|
|
1537
|
+
"description": "renderLink",
|
|
1665
1538
|
"inheritedFrom": {
|
|
1666
|
-
"name": "
|
|
1667
|
-
"module": "src/scw-
|
|
1539
|
+
"name": "ScwLinkBase",
|
|
1540
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1668
1541
|
}
|
|
1669
1542
|
},
|
|
1670
1543
|
{
|
|
1671
|
-
"kind": "
|
|
1672
|
-
"name": "
|
|
1673
|
-
"
|
|
1674
|
-
"
|
|
1544
|
+
"kind": "method",
|
|
1545
|
+
"name": "focus",
|
|
1546
|
+
"return": {
|
|
1547
|
+
"type": {
|
|
1548
|
+
"text": "void"
|
|
1549
|
+
}
|
|
1675
1550
|
},
|
|
1676
|
-
"
|
|
1677
|
-
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
1678
|
-
"attribute": "responsive",
|
|
1551
|
+
"description": "focus",
|
|
1679
1552
|
"inheritedFrom": {
|
|
1680
|
-
"name": "
|
|
1681
|
-
"module": "src/scw-
|
|
1553
|
+
"name": "ScwLinkBase",
|
|
1554
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1682
1555
|
}
|
|
1683
1556
|
},
|
|
1684
1557
|
{
|
|
@@ -1710,6 +1583,20 @@
|
|
|
1710
1583
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1711
1584
|
}
|
|
1712
1585
|
},
|
|
1586
|
+
{
|
|
1587
|
+
"kind": "field",
|
|
1588
|
+
"name": "responsive",
|
|
1589
|
+
"type": {
|
|
1590
|
+
"text": "string"
|
|
1591
|
+
},
|
|
1592
|
+
"default": "false",
|
|
1593
|
+
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
1594
|
+
"attribute": "responsive",
|
|
1595
|
+
"inheritedFrom": {
|
|
1596
|
+
"name": "ScwComponent",
|
|
1597
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1713
1600
|
{
|
|
1714
1601
|
"kind": "field",
|
|
1715
1602
|
"name": "responsiveElement",
|
|
@@ -1749,52 +1636,124 @@
|
|
|
1749
1636
|
}
|
|
1750
1637
|
},
|
|
1751
1638
|
{
|
|
1752
|
-
"kind": "
|
|
1753
|
-
"name": "
|
|
1754
|
-
"
|
|
1639
|
+
"kind": "field",
|
|
1640
|
+
"name": "_lastWarning",
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "string | undefined"
|
|
1643
|
+
},
|
|
1644
|
+
"description": "retain the last warning sent...good for testing.",
|
|
1755
1645
|
"inheritedFrom": {
|
|
1756
1646
|
"name": "ScwComponent",
|
|
1757
1647
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1758
1648
|
}
|
|
1649
|
+
}
|
|
1650
|
+
],
|
|
1651
|
+
"attributes": [
|
|
1652
|
+
{
|
|
1653
|
+
"name": "src",
|
|
1654
|
+
"type": {
|
|
1655
|
+
"text": "string | undefined"
|
|
1656
|
+
},
|
|
1657
|
+
"description": "(ScwCard) The src of the image within the card",
|
|
1658
|
+
"fieldName": "src"
|
|
1759
1659
|
},
|
|
1760
1660
|
{
|
|
1761
|
-
"
|
|
1762
|
-
"
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1661
|
+
"name": "srcset",
|
|
1662
|
+
"type": {
|
|
1663
|
+
"text": "string | undefined"
|
|
1664
|
+
},
|
|
1665
|
+
"description": "(ScwCard) The srcset of the image within the card",
|
|
1666
|
+
"fieldName": "srcset"
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"name": "alt",
|
|
1670
|
+
"type": {
|
|
1671
|
+
"text": "string | undefined"
|
|
1672
|
+
},
|
|
1673
|
+
"description": "(ScwCard) Alternative description of the image.",
|
|
1674
|
+
"fieldName": "alt"
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"name": "heading",
|
|
1678
|
+
"type": {
|
|
1679
|
+
"text": "string | undefined"
|
|
1680
|
+
},
|
|
1681
|
+
"description": "(ScwCard) Main title or header of the card (determined by\n<h1, h2, h3> content)",
|
|
1682
|
+
"fieldName": "heading"
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"name": "superHeading",
|
|
1686
|
+
"type": {
|
|
1687
|
+
"text": "string | undefined"
|
|
1688
|
+
},
|
|
1689
|
+
"description": "(ScwCard) Super title, describing a category or area pertaining to title\n(determined by <sup> content)",
|
|
1690
|
+
"fieldName": "superHeading"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "description",
|
|
1694
|
+
"type": {
|
|
1695
|
+
"text": "string | undefined"
|
|
1696
|
+
},
|
|
1697
|
+
"description": "(ScwCard) Fuller description of what the card is about (determined by\n<p> content)",
|
|
1698
|
+
"fieldName": "description"
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"name": "linkLabel",
|
|
1702
|
+
"type": {
|
|
1703
|
+
"text": "string | undefined"
|
|
1704
|
+
},
|
|
1705
|
+
"description": "(ScwCard) Label on the link",
|
|
1706
|
+
"fieldName": "linkLabel"
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"name": "preload",
|
|
1710
|
+
"type": {
|
|
1711
|
+
"text": "boolean"
|
|
1712
|
+
},
|
|
1713
|
+
"default": "false",
|
|
1714
|
+
"description": "(ScwCard) whether to preload image or not",
|
|
1715
|
+
"fieldName": "preload"
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"name": "size",
|
|
1719
|
+
"type": {
|
|
1720
|
+
"text": "ScwCardSizes"
|
|
1721
|
+
},
|
|
1722
|
+
"description": "(ScwCard) Readonly - Size of the card. This\nis determined by the nested html content (h1 = large,\nh2 = medium, h3 = small).",
|
|
1723
|
+
"fieldName": "size"
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"name": "action",
|
|
1727
|
+
"type": {
|
|
1728
|
+
"text": "ScwCardActions"
|
|
1729
|
+
},
|
|
1730
|
+
"description": "(ScwCard) Readonly - The type of action (whole card, link, or none).\nThis is determined by the use of an anchor tag.",
|
|
1731
|
+
"fieldName": "action"
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"name": "href",
|
|
1735
|
+
"type": {
|
|
1736
|
+
"text": "string | undefined"
|
|
1737
|
+
},
|
|
1738
|
+
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
1739
|
+
"fieldName": "href",
|
|
1773
1740
|
"inheritedFrom": {
|
|
1774
|
-
"name": "
|
|
1775
|
-
"module": "src/scw-
|
|
1741
|
+
"name": "ScwLinkBase",
|
|
1742
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1776
1743
|
}
|
|
1777
1744
|
},
|
|
1778
1745
|
{
|
|
1779
|
-
"
|
|
1780
|
-
"name": "_lastWarning",
|
|
1746
|
+
"name": "target",
|
|
1781
1747
|
"type": {
|
|
1782
|
-
"text": "
|
|
1748
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
1783
1749
|
},
|
|
1784
|
-
"description": "
|
|
1750
|
+
"description": "(ScwLinkBase) link target - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
1751
|
+
"fieldName": "target",
|
|
1785
1752
|
"inheritedFrom": {
|
|
1786
|
-
"name": "
|
|
1787
|
-
"module": "src/scw-
|
|
1753
|
+
"name": "ScwLinkBase",
|
|
1754
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1788
1755
|
}
|
|
1789
|
-
}
|
|
1790
|
-
],
|
|
1791
|
-
"superclass": {
|
|
1792
|
-
"name": "ScwComponent",
|
|
1793
|
-
"module": "/src/scw-component/ScwComponent"
|
|
1794
|
-
},
|
|
1795
|
-
"tagName": "scw-center-component",
|
|
1796
|
-
"customElement": true,
|
|
1797
|
-
"attributes": [
|
|
1756
|
+
},
|
|
1798
1757
|
{
|
|
1799
1758
|
"name": "aria-label",
|
|
1800
1759
|
"type": {
|
|
@@ -1859,7 +1818,13 @@
|
|
|
1859
1818
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1860
1819
|
}
|
|
1861
1820
|
}
|
|
1862
|
-
]
|
|
1821
|
+
],
|
|
1822
|
+
"superclass": {
|
|
1823
|
+
"name": "ScwLinkBase",
|
|
1824
|
+
"module": "/src/scw-link-base/ScwLinkBase"
|
|
1825
|
+
},
|
|
1826
|
+
"tagName": "scw-card",
|
|
1827
|
+
"customElement": true
|
|
1863
1828
|
}
|
|
1864
1829
|
],
|
|
1865
1830
|
"exports": [
|
|
@@ -1867,23 +1832,58 @@
|
|
|
1867
1832
|
"kind": "js",
|
|
1868
1833
|
"name": "default",
|
|
1869
1834
|
"declaration": {
|
|
1870
|
-
"name": "
|
|
1871
|
-
"module": "src/scw-
|
|
1835
|
+
"name": "ScwCard",
|
|
1836
|
+
"module": "src/scw-card/ScwCard.ts"
|
|
1872
1837
|
}
|
|
1873
1838
|
}
|
|
1874
1839
|
]
|
|
1875
1840
|
},
|
|
1876
1841
|
{
|
|
1877
1842
|
"kind": "javascript-module",
|
|
1878
|
-
"path": "src/scw-
|
|
1843
|
+
"path": "src/scw-card/scw-card-enums.ts",
|
|
1844
|
+
"declarations": [],
|
|
1845
|
+
"exports": []
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"kind": "javascript-module",
|
|
1849
|
+
"path": "src/scw-card/scw-card-light-dom.ts",
|
|
1850
|
+
"declarations": [
|
|
1851
|
+
{
|
|
1852
|
+
"kind": "function",
|
|
1853
|
+
"name": "parseLightDomCard",
|
|
1854
|
+
"parameters": [
|
|
1855
|
+
{
|
|
1856
|
+
"name": "scwCard",
|
|
1857
|
+
"type": {
|
|
1858
|
+
"text": "ScwCard"
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
],
|
|
1862
|
+
"description": "Parses light dom into variables to be used for rendering"
|
|
1863
|
+
}
|
|
1864
|
+
],
|
|
1865
|
+
"exports": [
|
|
1866
|
+
{
|
|
1867
|
+
"kind": "js",
|
|
1868
|
+
"name": "default",
|
|
1869
|
+
"declaration": {
|
|
1870
|
+
"name": "parseLightDomCard",
|
|
1871
|
+
"module": "src/scw-card/scw-card-light-dom.ts"
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
]
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"kind": "javascript-module",
|
|
1878
|
+
"path": "src/scw-card/scw-card.ts",
|
|
1879
1879
|
"declarations": [],
|
|
1880
1880
|
"exports": [
|
|
1881
1881
|
{
|
|
1882
1882
|
"kind": "custom-element-definition",
|
|
1883
|
-
"name": "scw-
|
|
1883
|
+
"name": "scw-card",
|
|
1884
1884
|
"declaration": {
|
|
1885
|
-
"name": "
|
|
1886
|
-
"module": "/src/scw-
|
|
1885
|
+
"name": "ScwCard",
|
|
1886
|
+
"module": "/src/scw-card/ScwCard"
|
|
1887
1887
|
}
|
|
1888
1888
|
}
|
|
1889
1889
|
]
|