scu-web-components 0.0.73 → 0.0.74

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.
@@ -325,22 +325,116 @@
325
325
  },
326
326
  {
327
327
  "kind": "javascript-module",
328
- "path": "src/scw-alert/ScwAlert.ts",
328
+ "path": "src/scw-block/ScwBlock.ts",
329
329
  "declarations": [
330
330
  {
331
331
  "kind": "class",
332
- "description": "ScwAlert a first LitElement web component",
333
- "name": "ScwAlert",
332
+ "description": "ScwBlock",
333
+ "name": "ScwBlock",
334
334
  "members": [
335
335
  {
336
336
  "kind": "field",
337
- "name": "description",
337
+ "name": "headingLevel",
338
338
  "type": {
339
339
  "text": "string"
340
340
  },
341
- "default": "''",
342
- "description": "Secondary message",
343
- "attribute": "description"
341
+ "default": "'h2'",
342
+ "attribute": "heading-level"
343
+ },
344
+ {
345
+ "kind": "field",
346
+ "name": "heading",
347
+ "type": {
348
+ "text": "string | undefined"
349
+ },
350
+ "attribute": "heading",
351
+ "reflects": true
352
+ },
353
+ {
354
+ "kind": "field",
355
+ "name": "align",
356
+ "type": {
357
+ "text": "string | undefined"
358
+ },
359
+ "attribute": "alignment",
360
+ "reflects": true
361
+ },
362
+ {
363
+ "kind": "field",
364
+ "name": "primaryLink",
365
+ "type": {
366
+ "text": "string | undefined"
367
+ },
368
+ "attribute": "primary-cta-link",
369
+ "reflects": true
370
+ },
371
+ {
372
+ "kind": "field",
373
+ "name": "primaryLabel",
374
+ "type": {
375
+ "text": "string | undefined"
376
+ },
377
+ "attribute": "primary-cta-label",
378
+ "reflects": true
379
+ },
380
+ {
381
+ "kind": "field",
382
+ "name": "secondaryLink",
383
+ "type": {
384
+ "text": "string | undefined"
385
+ },
386
+ "attribute": "secondary-cta-link",
387
+ "reflects": true
388
+ },
389
+ {
390
+ "kind": "field",
391
+ "name": "secondaryLabel",
392
+ "type": {
393
+ "text": "string | undefined"
394
+ },
395
+ "attribute": "secondary-cta-label",
396
+ "reflects": true
397
+ },
398
+ {
399
+ "kind": "method",
400
+ "name": "renderLink",
401
+ "return": {
402
+ "type": {
403
+ "text": "object"
404
+ }
405
+ },
406
+ "parameters": [
407
+ {
408
+ "name": "label",
409
+ "type": {
410
+ "text": "string"
411
+ }
412
+ },
413
+ {
414
+ "name": "link",
415
+ "type": {
416
+ "text": "string"
417
+ }
418
+ },
419
+ {
420
+ "name": "design",
421
+ "default": "'solid'",
422
+ "type": {
423
+ "text": "string"
424
+ }
425
+ }
426
+ ],
427
+ "description": "renderLink"
428
+ },
429
+ {
430
+ "kind": "method",
431
+ "name": "renderHeading",
432
+ "return": {
433
+ "type": {
434
+ "text": "object"
435
+ }
436
+ },
437
+ "description": "renderHeading"
344
438
  },
345
439
  {
346
440
  "kind": "field",
@@ -477,13 +571,54 @@
477
571
  ],
478
572
  "attributes": [
479
573
  {
480
- "name": "description",
574
+ "name": "heading-level",
481
575
  "type": {
482
576
  "text": "string"
483
577
  },
484
- "default": "''",
485
- "description": "Secondary message",
486
- "fieldName": "description"
578
+ "default": "'h2'",
579
+ "fieldName": "headingLevel"
580
+ },
581
+ {
582
+ "name": "heading",
583
+ "type": {
584
+ "text": "string | undefined"
585
+ },
586
+ "fieldName": "heading"
587
+ },
588
+ {
589
+ "name": "alignment",
590
+ "type": {
591
+ "text": "string | undefined"
592
+ },
593
+ "fieldName": "align"
594
+ },
595
+ {
596
+ "name": "primary-cta-link",
597
+ "type": {
598
+ "text": "string | undefined"
599
+ },
600
+ "fieldName": "primaryLink"
601
+ },
602
+ {
603
+ "name": "primary-cta-label",
604
+ "type": {
605
+ "text": "string | undefined"
606
+ },
607
+ "fieldName": "primaryLabel"
608
+ },
609
+ {
610
+ "name": "secondary-cta-link",
611
+ "type": {
612
+ "text": "string | undefined"
613
+ },
614
+ "fieldName": "secondaryLink"
615
+ },
616
+ {
617
+ "name": "secondary-cta-label",
618
+ "type": {
619
+ "text": "string | undefined"
620
+ },
621
+ "fieldName": "secondaryLabel"
487
622
  },
488
623
  {
489
624
  "name": "aria-label",
@@ -554,7 +689,7 @@
554
689
  "name": "ScwComponent",
555
690
  "package": "scw-component/ScwComponent"
556
691
  },
557
- "tagName": "scw-alert",
692
+ "tagName": "scw-block",
558
693
  "customElement": true
559
694
  }
560
695
  ],
@@ -563,148 +698,317 @@
563
698
  "kind": "js",
564
699
  "name": "default",
565
700
  "declaration": {
566
- "name": "ScwAlert",
567
- "module": "src/scw-alert/ScwAlert.ts"
701
+ "name": "ScwBlock",
702
+ "module": "src/scw-block/ScwBlock.ts"
568
703
  }
569
704
  }
570
705
  ]
571
706
  },
572
707
  {
573
708
  "kind": "javascript-module",
574
- "path": "src/scw-alert/scw-alert.ts",
709
+ "path": "src/scw-block/scw-block.ts",
575
710
  "declarations": [],
576
711
  "exports": [
577
712
  {
578
713
  "kind": "custom-element-definition",
579
- "name": "scw-alert",
714
+ "name": "scw-block",
580
715
  "declaration": {
581
- "name": "ScwAlert",
582
- "module": "/src/scw-alert/ScwAlert.js"
716
+ "name": "ScwBlock",
717
+ "module": "/src/scw-block/ScwBlock"
583
718
  }
584
719
  }
585
720
  ]
586
721
  },
587
722
  {
588
723
  "kind": "javascript-module",
589
- "path": "src/scw-block/ScwBlock.ts",
724
+ "path": "src/scw-button/ScwButton.ts",
590
725
  "declarations": [
591
726
  {
592
727
  "kind": "class",
593
- "description": "ScwBlock",
594
- "name": "ScwBlock",
728
+ "description": "ScwButton",
729
+ "name": "ScwButton",
730
+ "slots": [
731
+ {
732
+ "description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target.",
733
+ "name": "default",
734
+ "default": "\"<a href target />\""
735
+ },
736
+ {
737
+ "description": "(OPTIONAL) random content (paired with design=\"plain\") will wrap that content with a link.",
738
+ "name": "default",
739
+ "default": "\"<... />\""
740
+ }
741
+ ],
595
742
  "members": [
596
743
  {
597
744
  "kind": "field",
598
- "name": "headingLevel",
745
+ "name": "submitType",
599
746
  "type": {
600
- "text": "string"
747
+ "text": "ScwFormComponentSubmitTypes"
601
748
  },
602
- "default": "'h2'",
603
- "attribute": "heading-level"
749
+ "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
750
+ "attribute": "submit-type",
751
+ "reflects": true
604
752
  },
605
753
  {
606
754
  "kind": "field",
607
- "name": "heading",
755
+ "name": "element",
608
756
  "type": {
609
- "text": "string | undefined"
757
+ "text": "string"
610
758
  },
611
- "attribute": "heading",
612
- "reflects": true
759
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
760
+ "attribute": "element",
761
+ "reflects": true,
762
+ "inheritedFrom": {
763
+ "name": "ScwComponent",
764
+ "module": "src/scw-component/ScwComponent.ts"
765
+ }
613
766
  },
614
767
  {
615
768
  "kind": "field",
616
- "name": "align",
769
+ "name": "href",
617
770
  "type": {
618
771
  "text": "string | undefined"
619
772
  },
620
- "attribute": "alignment",
621
- "reflects": true
773
+ "description": "(ScwLinkBase)",
774
+ "attribute": "href",
775
+ "reflects": true,
776
+ "default": "'javascript:'",
777
+ "inheritedFrom": {
778
+ "name": "ScwLinkBase",
779
+ "module": "src/scw-link-base/ScwLinkBase.ts"
780
+ }
622
781
  },
623
782
  {
624
783
  "kind": "field",
625
- "name": "primaryLink",
626
- "type": {
627
- "text": "string | undefined"
628
- },
629
- "attribute": "primary-cta-link",
630
- "reflects": true
784
+ "name": "icon",
785
+ "description": "icon getter",
786
+ "parameters": [
787
+ {
788
+ "name": "icon",
789
+ "type": {
790
+ "text": "string | undefined"
791
+ }
792
+ }
793
+ ],
794
+ "attribute": "icon",
795
+ "reflects": true,
796
+ "inheritedFrom": {
797
+ "name": "ScwLink",
798
+ "module": "src/scw-link/ScwLink.ts"
799
+ }
631
800
  },
632
801
  {
633
802
  "kind": "field",
634
- "name": "primaryLabel",
803
+ "name": "_icon",
635
804
  "type": {
636
805
  "text": "string | undefined"
637
806
  },
638
- "attribute": "primary-cta-label",
639
- "reflects": true
807
+ "privacy": "private",
808
+ "inheritedFrom": {
809
+ "name": "ScwLink",
810
+ "module": "src/scw-link/ScwLink.ts"
811
+ }
640
812
  },
641
813
  {
642
814
  "kind": "field",
643
- "name": "secondaryLink",
815
+ "name": "iconSide",
644
816
  "type": {
645
- "text": "string | undefined"
817
+ "text": "string"
646
818
  },
647
- "attribute": "secondary-cta-link",
648
- "reflects": true
819
+ "description": "(ScwLink) Determines which side the icon should show up on",
820
+ "attribute": "icon-side",
821
+ "reflects": true,
822
+ "inheritedFrom": {
823
+ "name": "ScwLink",
824
+ "module": "src/scw-link/ScwLink.ts"
825
+ }
649
826
  },
650
827
  {
651
828
  "kind": "field",
652
- "name": "secondaryLabel",
829
+ "name": "design",
653
830
  "type": {
654
- "text": "string | undefined"
831
+ "text": "string"
655
832
  },
656
- "attribute": "secondary-cta-label",
657
- "reflects": true
833
+ "description": "(ScwLink) The design style of the link.",
834
+ "attribute": "design",
835
+ "reflects": true,
836
+ "inheritedFrom": {
837
+ "name": "ScwLink",
838
+ "module": "src/scw-link/ScwLink.ts"
839
+ }
840
+ },
841
+ {
842
+ "kind": "field",
843
+ "name": "_svgInfo",
844
+ "type": {
845
+ "text": "string"
846
+ },
847
+ "default": "''",
848
+ "inheritedFrom": {
849
+ "name": "ScwLink",
850
+ "module": "src/scw-link/ScwLink.ts"
851
+ }
658
852
  },
659
853
  {
660
854
  "kind": "method",
661
- "name": "renderLink",
855
+ "name": "refreshIcon",
856
+ "description": "refreshIcon",
857
+ "inheritedFrom": {
858
+ "name": "ScwLink",
859
+ "module": "src/scw-link/ScwLink.ts"
860
+ }
861
+ },
862
+ {
863
+ "kind": "method",
864
+ "name": "validDesigns",
865
+ "return": {
866
+ "type": {
867
+ "text": "object"
868
+ }
869
+ },
870
+ "description": "Way to extend valid design types...",
871
+ "inheritedFrom": {
872
+ "name": "ScwLink",
873
+ "module": "src/scw-link/ScwLink.ts"
874
+ }
875
+ },
876
+ {
877
+ "kind": "method",
878
+ "name": "doShowIcon",
879
+ "return": {
880
+ "type": {
881
+ "text": "boolean"
882
+ }
883
+ },
884
+ "description": "Way to extend valid design icon types...",
885
+ "inheritedFrom": {
886
+ "name": "ScwLink",
887
+ "module": "src/scw-link/ScwLink.ts"
888
+ }
889
+ },
890
+ {
891
+ "kind": "method",
892
+ "name": "renderContent",
893
+ "return": {
894
+ "type": {
895
+ "text": "object"
896
+ }
897
+ },
898
+ "description": "renderContent",
899
+ "inheritedFrom": {
900
+ "name": "ScwLink",
901
+ "module": "src/scw-link/ScwLink.ts"
902
+ }
903
+ },
904
+ {
905
+ "kind": "method",
906
+ "name": "findStyle",
907
+ "description": "find the style per design",
662
908
  "return": {
663
909
  "type": {
664
910
  "text": "object"
665
911
  }
666
912
  },
913
+ "inheritedFrom": {
914
+ "name": "ScwLink",
915
+ "module": "src/scw-link/ScwLink.ts"
916
+ }
917
+ },
918
+ {
919
+ "kind": "field",
920
+ "name": "target",
921
+ "type": {
922
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
923
+ },
924
+ "description": "(ScwLinkBase)",
925
+ "attribute": "target",
926
+ "reflects": true,
927
+ "inheritedFrom": {
928
+ "name": "ScwLinkBase",
929
+ "module": "src/scw-link-base/ScwLinkBase.ts"
930
+ }
931
+ },
932
+ {
933
+ "kind": "field",
934
+ "name": "linkAnchor",
935
+ "type": {
936
+ "text": "HTMLAnchorElement | undefined"
937
+ },
938
+ "inheritedFrom": {
939
+ "name": "ScwLinkBase",
940
+ "module": "src/scw-link-base/ScwLinkBase.ts"
941
+ }
942
+ },
943
+ {
944
+ "kind": "method",
945
+ "name": "cancelEvent",
667
946
  "parameters": [
668
947
  {
669
- "name": "label",
670
- "type": {
671
- "text": "string"
672
- }
673
- },
674
- {
675
- "name": "link",
676
- "type": {
677
- "text": "string"
678
- }
679
- },
680
- {
681
- "name": "design",
682
- "default": "'solid'",
948
+ "name": "evt",
683
949
  "type": {
684
- "text": "string"
950
+ "text": "Event"
685
951
  }
686
952
  }
687
953
  ],
688
- "description": "renderLink"
954
+ "description": "cancel event",
955
+ "inheritedFrom": {
956
+ "name": "ScwLinkBase",
957
+ "module": "src/scw-link-base/ScwLinkBase.ts"
958
+ }
689
959
  },
690
960
  {
691
961
  "kind": "method",
692
- "name": "renderHeading",
962
+ "name": "focus",
963
+ "return": {
964
+ "type": {
965
+ "text": "void"
966
+ }
967
+ },
968
+ "description": "focus",
969
+ "inheritedFrom": {
970
+ "name": "ScwLinkBase",
971
+ "module": "src/scw-link-base/ScwLinkBase.ts"
972
+ }
973
+ },
974
+ {
975
+ "kind": "method",
976
+ "name": "renderLink",
693
977
  "return": {
694
978
  "type": {
695
979
  "text": "object"
696
980
  }
697
981
  },
698
- "description": "renderHeading"
982
+ "parameters": [
983
+ {
984
+ "name": "children",
985
+ "type": {
986
+ "text": "object"
987
+ }
988
+ },
989
+ {
990
+ "name": "styles",
991
+ "optional": true,
992
+ "type": {
993
+ "text": "string"
994
+ }
995
+ }
996
+ ],
997
+ "description": "renderLink",
998
+ "inheritedFrom": {
999
+ "name": "ScwLinkBase",
1000
+ "module": "src/scw-link-base/ScwLinkBase.ts"
1001
+ }
699
1002
  },
700
1003
  {
701
1004
  "kind": "field",
702
- "name": "element",
1005
+ "name": "isLink",
703
1006
  "type": {
704
- "text": "string"
1007
+ "text": "boolean"
705
1008
  },
706
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
707
- "attribute": "element",
1009
+ "default": "true",
1010
+ "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
1011
+ "attribute": "is-link",
708
1012
  "reflects": true,
709
1013
  "inheritedFrom": {
710
1014
  "name": "ScwComponent",
@@ -740,21 +1044,6 @@
740
1044
  "module": "src/scw-component/ScwComponent.ts"
741
1045
  }
742
1046
  },
743
- {
744
- "kind": "field",
745
- "name": "isLink",
746
- "type": {
747
- "text": "boolean"
748
- },
749
- "default": "false",
750
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
751
- "attribute": "is-link",
752
- "reflects": true,
753
- "inheritedFrom": {
754
- "name": "ScwComponent",
755
- "module": "src/scw-component/ScwComponent.ts"
756
- }
757
- },
758
1047
  {
759
1048
  "kind": "field",
760
1049
  "name": "_lightDomMutationObserver",
@@ -832,54 +1121,77 @@
832
1121
  ],
833
1122
  "attributes": [
834
1123
  {
835
- "name": "heading-level",
1124
+ "name": "submit-type",
836
1125
  "type": {
837
- "text": "string"
1126
+ "text": "ScwFormComponentSubmitTypes"
838
1127
  },
839
- "default": "'h2'",
840
- "fieldName": "headingLevel"
1128
+ "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
1129
+ "fieldName": "submitType"
841
1130
  },
842
1131
  {
843
- "name": "heading",
1132
+ "name": "icon",
1133
+ "description": "icon getter",
1134
+ "parameters": [
1135
+ {
1136
+ "name": "icon",
1137
+ "type": {
1138
+ "text": "string | undefined"
1139
+ }
1140
+ }
1141
+ ],
1142
+ "fieldName": "icon",
1143
+ "inheritedFrom": {
1144
+ "name": "ScwLink",
1145
+ "module": "src/scw-link/ScwLink.ts"
1146
+ }
1147
+ },
1148
+ {
1149
+ "name": "icon-side",
844
1150
  "type": {
845
- "text": "string | undefined"
1151
+ "text": "string"
846
1152
  },
847
- "fieldName": "heading"
1153
+ "description": "(ScwLink) Determines which side the icon should show up on",
1154
+ "fieldName": "iconSide",
1155
+ "inheritedFrom": {
1156
+ "name": "ScwLink",
1157
+ "module": "src/scw-link/ScwLink.ts"
1158
+ }
848
1159
  },
849
1160
  {
850
- "name": "alignment",
1161
+ "name": "design",
851
1162
  "type": {
852
- "text": "string | undefined"
1163
+ "text": "string"
853
1164
  },
854
- "fieldName": "align"
1165
+ "description": "(ScwLink) The design style of the link.",
1166
+ "fieldName": "design",
1167
+ "inheritedFrom": {
1168
+ "name": "ScwLink",
1169
+ "module": "src/scw-link/ScwLink.ts"
1170
+ }
855
1171
  },
856
1172
  {
857
- "name": "primary-cta-link",
1173
+ "name": "href",
858
1174
  "type": {
859
1175
  "text": "string | undefined"
860
1176
  },
861
- "fieldName": "primaryLink"
862
- },
863
- {
864
- "name": "primary-cta-label",
865
- "type": {
866
- "text": "string | undefined"
867
- },
868
- "fieldName": "primaryLabel"
869
- },
870
- {
871
- "name": "secondary-cta-link",
872
- "type": {
873
- "text": "string | undefined"
874
- },
875
- "fieldName": "secondaryLink"
1177
+ "description": "(ScwLinkBase)",
1178
+ "fieldName": "href",
1179
+ "inheritedFrom": {
1180
+ "name": "ScwLinkBase",
1181
+ "module": "src/scw-link-base/ScwLinkBase.ts"
1182
+ }
876
1183
  },
877
1184
  {
878
- "name": "secondary-cta-label",
1185
+ "name": "target",
879
1186
  "type": {
880
- "text": "string | undefined"
1187
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
881
1188
  },
882
- "fieldName": "secondaryLabel"
1189
+ "description": "(ScwLinkBase)",
1190
+ "fieldName": "target",
1191
+ "inheritedFrom": {
1192
+ "name": "ScwLinkBase",
1193
+ "module": "src/scw-link-base/ScwLinkBase.ts"
1194
+ }
883
1195
  },
884
1196
  {
885
1197
  "name": "aria-label",
@@ -947,10 +1259,10 @@
947
1259
  }
948
1260
  ],
949
1261
  "superclass": {
950
- "name": "ScwComponent",
951
- "package": "scw-component/ScwComponent"
1262
+ "name": "ScwLink",
1263
+ "module": "/src/scw-link/ScwLink"
952
1264
  },
953
- "tagName": "scw-block",
1265
+ "tagName": "scw-button",
954
1266
  "customElement": true
955
1267
  }
956
1268
  ],
@@ -959,317 +1271,198 @@
959
1271
  "kind": "js",
960
1272
  "name": "default",
961
1273
  "declaration": {
962
- "name": "ScwBlock",
963
- "module": "src/scw-block/ScwBlock.ts"
1274
+ "name": "ScwButton",
1275
+ "module": "src/scw-button/ScwButton.ts"
964
1276
  }
965
1277
  }
966
1278
  ]
967
1279
  },
968
1280
  {
969
1281
  "kind": "javascript-module",
970
- "path": "src/scw-block/scw-block.ts",
1282
+ "path": "src/scw-button/scw-button.ts",
971
1283
  "declarations": [],
972
1284
  "exports": [
973
1285
  {
974
1286
  "kind": "custom-element-definition",
975
- "name": "scw-block",
1287
+ "name": "scw-button",
976
1288
  "declaration": {
977
- "name": "ScwBlock",
978
- "module": "/src/scw-block/ScwBlock"
1289
+ "name": "ScwButton",
1290
+ "module": "/src/scw-button/ScwButton.js"
979
1291
  }
980
1292
  }
981
1293
  ]
982
1294
  },
983
1295
  {
984
1296
  "kind": "javascript-module",
985
- "path": "src/scw-button/ScwButton.ts",
1297
+ "path": "src/scw-card/ScwCard.ts",
986
1298
  "declarations": [
987
1299
  {
988
1300
  "kind": "class",
989
- "description": "ScwButton",
990
- "name": "ScwButton",
1301
+ "description": "ScwCard a first LitElement web component",
1302
+ "name": "ScwCard",
991
1303
  "slots": [
992
1304
  {
993
- "description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target.",
994
- "name": "default",
995
- "default": "\"<a href target />\""
1305
+ "description": "List of tags to display on the card",
1306
+ "name": "image",
1307
+ "default": "\"<scw-image />...\""
996
1308
  },
997
1309
  {
998
- "description": "(OPTIONAL) random content (paired with design=\"plain\") will wrap that content with a link.",
999
- "name": "default",
1000
- "default": "\"<... />\""
1310
+ "description": "List of tags to display on the card",
1311
+ "name": "tags",
1312
+ "default": "\"<scw-link design=\"link\" />...\""
1001
1313
  }
1002
1314
  ],
1003
1315
  "members": [
1004
1316
  {
1005
1317
  "kind": "field",
1006
- "name": "submitType",
1318
+ "name": "heading",
1007
1319
  "type": {
1008
- "text": "ScwFormComponentSubmitTypes"
1320
+ "text": "string | undefined"
1009
1321
  },
1010
- "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
1011
- "attribute": "submit-type",
1012
- "reflects": true
1322
+ "description": "(ScwCard) Main title or header of the card",
1323
+ "attribute": "heading"
1013
1324
  },
1014
1325
  {
1015
1326
  "kind": "field",
1016
- "name": "element",
1327
+ "name": "date",
1017
1328
  "type": {
1018
- "text": "string"
1329
+ "text": "string | undefined"
1019
1330
  },
1020
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
1021
- "attribute": "element",
1022
- "reflects": true,
1023
- "inheritedFrom": {
1024
- "name": "ScwComponent",
1025
- "module": "src/scw-component/ScwComponent.ts"
1026
- }
1331
+ "description": "(ScwCard) Date field for articles",
1332
+ "attribute": "date"
1027
1333
  },
1028
1334
  {
1029
1335
  "kind": "field",
1030
- "name": "href",
1336
+ "name": "border",
1031
1337
  "type": {
1032
- "text": "string | undefined"
1338
+ "text": "boolean | undefined"
1033
1339
  },
1034
- "description": "(ScwLinkBase)",
1035
- "attribute": "href",
1036
- "reflects": true,
1037
- "default": "'javascript:'",
1038
- "inheritedFrom": {
1039
- "name": "ScwLinkBase",
1040
- "module": "src/scw-link-base/ScwLinkBase.ts"
1041
- }
1340
+ "description": "(ScwCard) If card should have border",
1341
+ "attribute": "show-border"
1042
1342
  },
1043
1343
  {
1044
1344
  "kind": "field",
1045
- "name": "icon",
1046
- "description": "icon getter",
1047
- "parameters": [
1048
- {
1049
- "name": "icon",
1050
- "type": {
1051
- "text": "string | undefined"
1052
- }
1053
- }
1054
- ],
1055
- "attribute": "icon",
1056
- "reflects": true,
1057
- "inheritedFrom": {
1058
- "name": "ScwLink",
1059
- "module": "src/scw-link/ScwLink.ts"
1060
- }
1345
+ "name": "align",
1346
+ "type": {
1347
+ "text": "string"
1348
+ },
1349
+ "default": "'vertical'",
1350
+ "description": "(ScwCard) Alignment of the card",
1351
+ "attribute": "align"
1061
1352
  },
1062
1353
  {
1063
1354
  "kind": "field",
1064
- "name": "_icon",
1355
+ "name": "superHeading",
1065
1356
  "type": {
1066
1357
  "text": "string | undefined"
1067
1358
  },
1068
- "privacy": "private",
1069
- "inheritedFrom": {
1070
- "name": "ScwLink",
1071
- "module": "src/scw-link/ScwLink.ts"
1072
- }
1359
+ "description": "(ScwCard) Super heading, describing a category or area pertaining to\ntitle",
1360
+ "attribute": "super-heading"
1073
1361
  },
1074
1362
  {
1075
1363
  "kind": "field",
1076
- "name": "iconSide",
1364
+ "name": "primaryLink",
1077
1365
  "type": {
1078
- "text": "string"
1366
+ "text": "string | undefined"
1079
1367
  },
1080
- "description": "(ScwLink) Determines which side the icon should show up on",
1081
- "attribute": "icon-side",
1082
- "reflects": true,
1083
- "inheritedFrom": {
1084
- "name": "ScwLink",
1085
- "module": "src/scw-link/ScwLink.ts"
1086
- }
1368
+ "description": "(ScwCard) The link for the primary button",
1369
+ "attribute": "primary-cta-link"
1087
1370
  },
1088
1371
  {
1089
1372
  "kind": "field",
1090
- "name": "design",
1373
+ "name": "primaryLabel",
1091
1374
  "type": {
1092
- "text": "string"
1375
+ "text": "string | undefined"
1093
1376
  },
1094
- "description": "(ScwLink) The design style of the link.",
1095
- "attribute": "design",
1096
- "reflects": true,
1097
- "inheritedFrom": {
1098
- "name": "ScwLink",
1099
- "module": "src/scw-link/ScwLink.ts"
1100
- }
1377
+ "description": "(ScwCard) The label for the primary button",
1378
+ "attribute": "primary-cta-label"
1101
1379
  },
1102
1380
  {
1103
1381
  "kind": "field",
1104
- "name": "_svgInfo",
1382
+ "name": "secondaryLink",
1105
1383
  "type": {
1106
- "text": "string"
1384
+ "text": "string | undefined"
1107
1385
  },
1108
- "default": "''",
1109
- "inheritedFrom": {
1110
- "name": "ScwLink",
1111
- "module": "src/scw-link/ScwLink.ts"
1112
- }
1386
+ "description": "(ScwCard) The link for the secondary button",
1387
+ "attribute": "secondary-cta-link"
1113
1388
  },
1114
1389
  {
1115
- "kind": "method",
1116
- "name": "refreshIcon",
1117
- "description": "refreshIcon",
1118
- "inheritedFrom": {
1119
- "name": "ScwLink",
1120
- "module": "src/scw-link/ScwLink.ts"
1121
- }
1390
+ "kind": "field",
1391
+ "name": "secondaryLabel",
1392
+ "type": {
1393
+ "text": "string | undefined"
1394
+ },
1395
+ "description": "(ScwCard) The label for the secondary button",
1396
+ "attribute": "secondary-cta-label"
1122
1397
  },
1123
1398
  {
1124
- "kind": "method",
1125
- "name": "validDesigns",
1126
- "return": {
1127
- "type": {
1128
- "text": "object"
1129
- }
1399
+ "kind": "field",
1400
+ "name": "tags",
1401
+ "type": {
1402
+ "text": "string[]"
1130
1403
  },
1131
- "description": "Way to extend valid design types...",
1132
- "inheritedFrom": {
1133
- "name": "ScwLink",
1134
- "module": "src/scw-link/ScwLink.ts"
1135
- }
1404
+ "default": "[]",
1405
+ "description": "(ScwCard) An array of tag labels",
1406
+ "attribute": "tag-name"
1136
1407
  },
1137
1408
  {
1138
- "kind": "method",
1139
- "name": "doShowIcon",
1140
- "return": {
1141
- "type": {
1142
- "text": "boolean"
1143
- }
1409
+ "kind": "field",
1410
+ "name": "tagUrl",
1411
+ "type": {
1412
+ "text": "string[] | undefined"
1144
1413
  },
1145
- "description": "Way to extend valid design icon types...",
1146
- "inheritedFrom": {
1147
- "name": "ScwLink",
1148
- "module": "src/scw-link/ScwLink.ts"
1149
- }
1414
+ "description": "(ScwCard) An array of tag urls",
1415
+ "attribute": "tag-url"
1150
1416
  },
1151
1417
  {
1152
1418
  "kind": "method",
1153
- "name": "renderContent",
1419
+ "name": "renderLink",
1154
1420
  "return": {
1155
1421
  "type": {
1156
1422
  "text": "object"
1157
1423
  }
1158
1424
  },
1159
- "description": "renderContent",
1160
- "inheritedFrom": {
1161
- "name": "ScwLink",
1162
- "module": "src/scw-link/ScwLink.ts"
1163
- }
1425
+ "parameters": [
1426
+ {
1427
+ "name": "label",
1428
+ "type": {
1429
+ "text": "string"
1430
+ }
1431
+ },
1432
+ {
1433
+ "name": "link",
1434
+ "type": {
1435
+ "text": "string"
1436
+ }
1437
+ },
1438
+ {
1439
+ "name": "design",
1440
+ "default": "'solid'",
1441
+ "type": {
1442
+ "text": "string"
1443
+ }
1444
+ }
1445
+ ],
1446
+ "description": "renderLink"
1164
1447
  },
1165
1448
  {
1166
1449
  "kind": "method",
1167
- "name": "findStyle",
1168
- "description": "find the style per design",
1450
+ "name": "renderTags",
1169
1451
  "return": {
1170
1452
  "type": {
1171
1453
  "text": "object"
1172
1454
  }
1173
1455
  },
1174
- "inheritedFrom": {
1175
- "name": "ScwLink",
1176
- "module": "src/scw-link/ScwLink.ts"
1177
- }
1178
- },
1179
- {
1180
- "kind": "field",
1181
- "name": "target",
1182
- "type": {
1183
- "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1184
- },
1185
- "description": "(ScwLinkBase)",
1186
- "attribute": "target",
1187
- "reflects": true,
1188
- "inheritedFrom": {
1189
- "name": "ScwLinkBase",
1190
- "module": "src/scw-link-base/ScwLinkBase.ts"
1191
- }
1192
- },
1193
- {
1194
- "kind": "field",
1195
- "name": "linkAnchor",
1196
- "type": {
1197
- "text": "HTMLAnchorElement | undefined"
1198
- },
1199
- "inheritedFrom": {
1200
- "name": "ScwLinkBase",
1201
- "module": "src/scw-link-base/ScwLinkBase.ts"
1202
- }
1203
- },
1204
- {
1205
- "kind": "method",
1206
- "name": "cancelEvent",
1207
- "parameters": [
1208
- {
1209
- "name": "evt",
1210
- "type": {
1211
- "text": "Event"
1212
- }
1213
- }
1214
- ],
1215
- "description": "cancel event",
1216
- "inheritedFrom": {
1217
- "name": "ScwLinkBase",
1218
- "module": "src/scw-link-base/ScwLinkBase.ts"
1219
- }
1220
- },
1221
- {
1222
- "kind": "method",
1223
- "name": "focus",
1224
- "return": {
1225
- "type": {
1226
- "text": "void"
1227
- }
1228
- },
1229
- "description": "focus",
1230
- "inheritedFrom": {
1231
- "name": "ScwLinkBase",
1232
- "module": "src/scw-link-base/ScwLinkBase.ts"
1233
- }
1234
- },
1235
- {
1236
- "kind": "method",
1237
- "name": "renderLink",
1238
- "return": {
1239
- "type": {
1240
- "text": "object"
1241
- }
1242
- },
1243
- "parameters": [
1244
- {
1245
- "name": "children",
1246
- "type": {
1247
- "text": "object"
1248
- }
1249
- },
1250
- {
1251
- "name": "styles",
1252
- "optional": true,
1253
- "type": {
1254
- "text": "string"
1255
- }
1256
- }
1257
- ],
1258
- "description": "renderLink",
1259
- "inheritedFrom": {
1260
- "name": "ScwLinkBase",
1261
- "module": "src/scw-link-base/ScwLinkBase.ts"
1262
- }
1456
+ "description": "render tag"
1263
1457
  },
1264
1458
  {
1265
1459
  "kind": "field",
1266
- "name": "isLink",
1460
+ "name": "element",
1267
1461
  "type": {
1268
- "text": "boolean"
1462
+ "text": "string"
1269
1463
  },
1270
- "default": "true",
1271
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
1272
- "attribute": "is-link",
1464
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
1465
+ "attribute": "element",
1273
1466
  "reflects": true,
1274
1467
  "inheritedFrom": {
1275
1468
  "name": "ScwComponent",
@@ -1305,6 +1498,21 @@
1305
1498
  "module": "src/scw-component/ScwComponent.ts"
1306
1499
  }
1307
1500
  },
1501
+ {
1502
+ "kind": "field",
1503
+ "name": "isLink",
1504
+ "type": {
1505
+ "text": "boolean"
1506
+ },
1507
+ "default": "false",
1508
+ "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
1509
+ "attribute": "is-link",
1510
+ "reflects": true,
1511
+ "inheritedFrom": {
1512
+ "name": "ScwComponent",
1513
+ "module": "src/scw-component/ScwComponent.ts"
1514
+ }
1515
+ },
1308
1516
  {
1309
1517
  "kind": "field",
1310
1518
  "name": "_lightDomMutationObserver",
@@ -1382,339 +1590,212 @@
1382
1590
  ],
1383
1591
  "attributes": [
1384
1592
  {
1385
- "name": "submit-type",
1386
- "type": {
1387
- "text": "ScwFormComponentSubmitTypes"
1388
- },
1389
- "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
1390
- "fieldName": "submitType"
1391
- },
1392
- {
1393
- "name": "icon",
1394
- "description": "icon getter",
1395
- "parameters": [
1396
- {
1397
- "name": "icon",
1398
- "type": {
1399
- "text": "string | undefined"
1400
- }
1401
- }
1402
- ],
1403
- "fieldName": "icon",
1404
- "inheritedFrom": {
1405
- "name": "ScwLink",
1406
- "module": "src/scw-link/ScwLink.ts"
1407
- }
1408
- },
1409
- {
1410
- "name": "icon-side",
1411
- "type": {
1412
- "text": "string"
1413
- },
1414
- "description": "(ScwLink) Determines which side the icon should show up on",
1415
- "fieldName": "iconSide",
1416
- "inheritedFrom": {
1417
- "name": "ScwLink",
1418
- "module": "src/scw-link/ScwLink.ts"
1419
- }
1420
- },
1421
- {
1422
- "name": "design",
1423
- "type": {
1424
- "text": "string"
1425
- },
1426
- "description": "(ScwLink) The design style of the link.",
1427
- "fieldName": "design",
1428
- "inheritedFrom": {
1429
- "name": "ScwLink",
1430
- "module": "src/scw-link/ScwLink.ts"
1431
- }
1432
- },
1433
- {
1434
- "name": "href",
1593
+ "name": "heading",
1435
1594
  "type": {
1436
1595
  "text": "string | undefined"
1437
1596
  },
1438
- "description": "(ScwLinkBase)",
1439
- "fieldName": "href",
1440
- "inheritedFrom": {
1441
- "name": "ScwLinkBase",
1442
- "module": "src/scw-link-base/ScwLinkBase.ts"
1443
- }
1444
- },
1445
- {
1446
- "name": "target",
1447
- "type": {
1448
- "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1449
- },
1450
- "description": "(ScwLinkBase)",
1451
- "fieldName": "target",
1452
- "inheritedFrom": {
1453
- "name": "ScwLinkBase",
1454
- "module": "src/scw-link-base/ScwLinkBase.ts"
1455
- }
1456
- },
1457
- {
1458
- "name": "aria-label",
1459
- "type": {
1460
- "text": "string"
1461
- },
1462
- "default": "''",
1463
- "description": "(ScwComponent) Main text within component",
1464
- "fieldName": "ariaLabel",
1465
- "inheritedFrom": {
1466
- "name": "ScwComponent",
1467
- "module": "src/scw-component/ScwComponent.ts"
1468
- }
1469
- },
1470
- {
1471
- "name": "aria-disabled",
1472
- "type": {
1473
- "text": "string"
1474
- },
1475
- "default": "'false'",
1476
- "description": "(ScwComponent) Disables the component however it disables",
1477
- "fieldName": "ariaDisabled",
1478
- "inheritedFrom": {
1479
- "name": "ScwComponent",
1480
- "module": "src/scw-component/ScwComponent.ts"
1481
- }
1597
+ "description": "(ScwCard) Main title or header of the card",
1598
+ "fieldName": "heading"
1482
1599
  },
1483
1600
  {
1484
- "name": "is-link",
1601
+ "name": "date",
1485
1602
  "type": {
1486
- "text": "boolean"
1603
+ "text": "string | undefined"
1487
1604
  },
1488
- "default": "false",
1489
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
1490
- "fieldName": "isLink",
1491
- "inheritedFrom": {
1492
- "name": "ScwComponent",
1493
- "module": "src/scw-component/ScwComponent.ts"
1494
- }
1605
+ "description": "(ScwCard) Date field for articles",
1606
+ "fieldName": "date"
1495
1607
  },
1496
1608
  {
1497
- "name": "dynamic",
1609
+ "name": "show-border",
1498
1610
  "type": {
1499
- "text": "boolean"
1611
+ "text": "boolean | undefined"
1500
1612
  },
1501
- "default": "false",
1502
- "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
1503
- "fieldName": "dynamic",
1504
- "inheritedFrom": {
1505
- "name": "ScwComponent",
1506
- "module": "src/scw-component/ScwComponent.ts"
1507
- }
1613
+ "description": "(ScwCard) If card should have border",
1614
+ "fieldName": "border"
1508
1615
  },
1509
1616
  {
1510
- "name": "element",
1617
+ "name": "align",
1511
1618
  "type": {
1512
1619
  "text": "string"
1513
1620
  },
1514
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
1515
- "fieldName": "element",
1516
- "inheritedFrom": {
1517
- "name": "ScwComponent",
1518
- "module": "src/scw-component/ScwComponent.ts"
1519
- }
1520
- }
1521
- ],
1522
- "superclass": {
1523
- "name": "ScwLink",
1524
- "module": "/src/scw-link/ScwLink"
1525
- },
1526
- "tagName": "scw-button",
1527
- "customElement": true
1528
- }
1529
- ],
1530
- "exports": [
1531
- {
1532
- "kind": "js",
1533
- "name": "default",
1534
- "declaration": {
1535
- "name": "ScwButton",
1536
- "module": "src/scw-button/ScwButton.ts"
1537
- }
1538
- }
1539
- ]
1540
- },
1541
- {
1542
- "kind": "javascript-module",
1543
- "path": "src/scw-button/scw-button.ts",
1544
- "declarations": [],
1545
- "exports": [
1546
- {
1547
- "kind": "custom-element-definition",
1548
- "name": "scw-button",
1549
- "declaration": {
1550
- "name": "ScwButton",
1551
- "module": "/src/scw-button/ScwButton.js"
1552
- }
1553
- }
1554
- ]
1555
- },
1556
- {
1557
- "kind": "javascript-module",
1558
- "path": "src/scw-card/ScwCard.ts",
1559
- "declarations": [
1560
- {
1561
- "kind": "class",
1562
- "description": "ScwCard a first LitElement web component",
1563
- "name": "ScwCard",
1564
- "slots": [
1565
- {
1566
- "description": "List of tags to display on the card",
1567
- "name": "image",
1568
- "default": "\"<scw-image />...\""
1621
+ "default": "'vertical'",
1622
+ "description": "(ScwCard) Alignment of the card",
1623
+ "fieldName": "align"
1569
1624
  },
1570
1625
  {
1571
- "description": "List of tags to display on the card",
1572
- "name": "tags",
1573
- "default": "\"<scw-link design=\"link\" />...\""
1574
- }
1575
- ],
1576
- "members": [
1577
- {
1578
- "kind": "field",
1579
- "name": "heading",
1626
+ "name": "super-heading",
1580
1627
  "type": {
1581
1628
  "text": "string | undefined"
1582
1629
  },
1583
- "description": "(ScwCard) Main title or header of the card",
1584
- "attribute": "heading"
1630
+ "description": "(ScwCard) Super heading, describing a category or area pertaining to\ntitle",
1631
+ "fieldName": "superHeading"
1585
1632
  },
1586
1633
  {
1587
- "kind": "field",
1588
- "name": "date",
1634
+ "name": "primary-cta-link",
1589
1635
  "type": {
1590
1636
  "text": "string | undefined"
1591
1637
  },
1592
- "description": "(ScwCard) Date field for articles",
1593
- "attribute": "date"
1638
+ "description": "(ScwCard) The link for the primary button",
1639
+ "fieldName": "primaryLink"
1594
1640
  },
1595
1641
  {
1596
- "kind": "field",
1597
- "name": "border",
1642
+ "name": "primary-cta-label",
1598
1643
  "type": {
1599
- "text": "boolean | undefined"
1644
+ "text": "string | undefined"
1600
1645
  },
1601
- "description": "(ScwCard) If card should have border",
1602
- "attribute": "show-border"
1646
+ "description": "(ScwCard) The label for the primary button",
1647
+ "fieldName": "primaryLabel"
1603
1648
  },
1604
1649
  {
1605
- "kind": "field",
1606
- "name": "align",
1650
+ "name": "secondary-cta-link",
1607
1651
  "type": {
1608
- "text": "string"
1652
+ "text": "string | undefined"
1609
1653
  },
1610
- "default": "'vertical'",
1611
- "description": "(ScwCard) Alignment of the card",
1612
- "attribute": "align"
1654
+ "description": "(ScwCard) The link for the secondary button",
1655
+ "fieldName": "secondaryLink"
1613
1656
  },
1614
1657
  {
1615
- "kind": "field",
1616
- "name": "superHeading",
1658
+ "name": "secondary-cta-label",
1617
1659
  "type": {
1618
1660
  "text": "string | undefined"
1619
1661
  },
1620
- "description": "(ScwCard) Super heading, describing a category or area pertaining to\ntitle",
1621
- "attribute": "super-heading"
1662
+ "description": "(ScwCard) The label for the secondary button",
1663
+ "fieldName": "secondaryLabel"
1622
1664
  },
1623
1665
  {
1624
- "kind": "field",
1625
- "name": "primaryLink",
1666
+ "name": "tag-name",
1626
1667
  "type": {
1627
- "text": "string | undefined"
1668
+ "text": "string[]"
1628
1669
  },
1629
- "description": "(ScwCard) The link for the primary button",
1630
- "attribute": "primary-cta-link"
1670
+ "default": "[]",
1671
+ "description": "(ScwCard) An array of tag labels",
1672
+ "fieldName": "tags"
1631
1673
  },
1632
1674
  {
1633
- "kind": "field",
1634
- "name": "primaryLabel",
1675
+ "name": "tag-url",
1635
1676
  "type": {
1636
- "text": "string | undefined"
1677
+ "text": "string[] | undefined"
1637
1678
  },
1638
- "description": "(ScwCard) The label for the primary button",
1639
- "attribute": "primary-cta-label"
1679
+ "description": "(ScwCard) An array of tag urls",
1680
+ "fieldName": "tagUrl"
1640
1681
  },
1641
1682
  {
1642
- "kind": "field",
1643
- "name": "secondaryLink",
1683
+ "name": "aria-label",
1644
1684
  "type": {
1645
- "text": "string | undefined"
1685
+ "text": "string"
1646
1686
  },
1647
- "description": "(ScwCard) The link for the secondary button",
1648
- "attribute": "secondary-cta-link"
1687
+ "default": "''",
1688
+ "description": "(ScwComponent) Main text within component",
1689
+ "fieldName": "ariaLabel",
1690
+ "inheritedFrom": {
1691
+ "name": "ScwComponent",
1692
+ "module": "src/scw-component/ScwComponent.ts"
1693
+ }
1649
1694
  },
1650
1695
  {
1651
- "kind": "field",
1652
- "name": "secondaryLabel",
1696
+ "name": "aria-disabled",
1653
1697
  "type": {
1654
- "text": "string | undefined"
1698
+ "text": "string"
1655
1699
  },
1656
- "description": "(ScwCard) The label for the secondary button",
1657
- "attribute": "secondary-cta-label"
1700
+ "default": "'false'",
1701
+ "description": "(ScwComponent) Disables the component however it disables",
1702
+ "fieldName": "ariaDisabled",
1703
+ "inheritedFrom": {
1704
+ "name": "ScwComponent",
1705
+ "module": "src/scw-component/ScwComponent.ts"
1706
+ }
1658
1707
  },
1659
1708
  {
1660
- "kind": "field",
1661
- "name": "tags",
1709
+ "name": "is-link",
1662
1710
  "type": {
1663
- "text": "string[]"
1711
+ "text": "boolean"
1664
1712
  },
1665
- "default": "[]",
1666
- "description": "(ScwCard) An array of tag labels",
1667
- "attribute": "tag-name"
1713
+ "default": "false",
1714
+ "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
1715
+ "fieldName": "isLink",
1716
+ "inheritedFrom": {
1717
+ "name": "ScwComponent",
1718
+ "module": "src/scw-component/ScwComponent.ts"
1719
+ }
1668
1720
  },
1669
1721
  {
1670
- "kind": "field",
1671
- "name": "tagUrl",
1722
+ "name": "dynamic",
1672
1723
  "type": {
1673
- "text": "string[] | undefined"
1724
+ "text": "boolean"
1674
1725
  },
1675
- "description": "(ScwCard) An array of tag urls",
1676
- "attribute": "tag-url"
1726
+ "default": "false",
1727
+ "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
1728
+ "fieldName": "dynamic",
1729
+ "inheritedFrom": {
1730
+ "name": "ScwComponent",
1731
+ "module": "src/scw-component/ScwComponent.ts"
1732
+ }
1677
1733
  },
1678
1734
  {
1679
- "kind": "method",
1680
- "name": "renderLink",
1681
- "return": {
1682
- "type": {
1683
- "text": "object"
1684
- }
1735
+ "name": "element",
1736
+ "type": {
1737
+ "text": "string"
1685
1738
  },
1686
- "parameters": [
1687
- {
1688
- "name": "label",
1689
- "type": {
1690
- "text": "string"
1691
- }
1692
- },
1693
- {
1694
- "name": "link",
1695
- "type": {
1696
- "text": "string"
1697
- }
1698
- },
1699
- {
1700
- "name": "design",
1701
- "default": "'solid'",
1702
- "type": {
1703
- "text": "string"
1704
- }
1705
- }
1706
- ],
1707
- "description": "renderLink"
1708
- },
1739
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
1740
+ "fieldName": "element",
1741
+ "inheritedFrom": {
1742
+ "name": "ScwComponent",
1743
+ "module": "src/scw-component/ScwComponent.ts"
1744
+ }
1745
+ }
1746
+ ],
1747
+ "superclass": {
1748
+ "name": "ScwComponent",
1749
+ "module": "/src/scw-component/ScwComponent"
1750
+ },
1751
+ "tagName": "scw-card",
1752
+ "customElement": true
1753
+ }
1754
+ ],
1755
+ "exports": [
1756
+ {
1757
+ "kind": "js",
1758
+ "name": "default",
1759
+ "declaration": {
1760
+ "name": "ScwCard",
1761
+ "module": "src/scw-card/ScwCard.ts"
1762
+ }
1763
+ }
1764
+ ]
1765
+ },
1766
+ {
1767
+ "kind": "javascript-module",
1768
+ "path": "src/scw-card/scw-card.ts",
1769
+ "declarations": [],
1770
+ "exports": [
1771
+ {
1772
+ "kind": "custom-element-definition",
1773
+ "name": "scw-card",
1774
+ "declaration": {
1775
+ "name": "ScwCard",
1776
+ "module": "/src/scw-card/ScwCard"
1777
+ }
1778
+ }
1779
+ ]
1780
+ },
1781
+ {
1782
+ "kind": "javascript-module",
1783
+ "path": "src/scw-alert/ScwAlert.ts",
1784
+ "declarations": [
1785
+ {
1786
+ "kind": "class",
1787
+ "description": "ScwAlert a first LitElement web component",
1788
+ "name": "ScwAlert",
1789
+ "members": [
1709
1790
  {
1710
- "kind": "method",
1711
- "name": "renderTags",
1712
- "return": {
1713
- "type": {
1714
- "text": "object"
1715
- }
1791
+ "kind": "field",
1792
+ "name": "description",
1793
+ "type": {
1794
+ "text": "string"
1716
1795
  },
1717
- "description": "render tag"
1796
+ "default": "''",
1797
+ "description": "Secondary message",
1798
+ "attribute": "description"
1718
1799
  },
1719
1800
  {
1720
1801
  "kind": "field",
@@ -1851,94 +1932,13 @@
1851
1932
  ],
1852
1933
  "attributes": [
1853
1934
  {
1854
- "name": "heading",
1855
- "type": {
1856
- "text": "string | undefined"
1857
- },
1858
- "description": "(ScwCard) Main title or header of the card",
1859
- "fieldName": "heading"
1860
- },
1861
- {
1862
- "name": "date",
1863
- "type": {
1864
- "text": "string | undefined"
1865
- },
1866
- "description": "(ScwCard) Date field for articles",
1867
- "fieldName": "date"
1868
- },
1869
- {
1870
- "name": "show-border",
1871
- "type": {
1872
- "text": "boolean | undefined"
1873
- },
1874
- "description": "(ScwCard) If card should have border",
1875
- "fieldName": "border"
1876
- },
1877
- {
1878
- "name": "align",
1935
+ "name": "description",
1879
1936
  "type": {
1880
1937
  "text": "string"
1881
1938
  },
1882
- "default": "'vertical'",
1883
- "description": "(ScwCard) Alignment of the card",
1884
- "fieldName": "align"
1885
- },
1886
- {
1887
- "name": "super-heading",
1888
- "type": {
1889
- "text": "string | undefined"
1890
- },
1891
- "description": "(ScwCard) Super heading, describing a category or area pertaining to\ntitle",
1892
- "fieldName": "superHeading"
1893
- },
1894
- {
1895
- "name": "primary-cta-link",
1896
- "type": {
1897
- "text": "string | undefined"
1898
- },
1899
- "description": "(ScwCard) The link for the primary button",
1900
- "fieldName": "primaryLink"
1901
- },
1902
- {
1903
- "name": "primary-cta-label",
1904
- "type": {
1905
- "text": "string | undefined"
1906
- },
1907
- "description": "(ScwCard) The label for the primary button",
1908
- "fieldName": "primaryLabel"
1909
- },
1910
- {
1911
- "name": "secondary-cta-link",
1912
- "type": {
1913
- "text": "string | undefined"
1914
- },
1915
- "description": "(ScwCard) The link for the secondary button",
1916
- "fieldName": "secondaryLink"
1917
- },
1918
- {
1919
- "name": "secondary-cta-label",
1920
- "type": {
1921
- "text": "string | undefined"
1922
- },
1923
- "description": "(ScwCard) The label for the secondary button",
1924
- "fieldName": "secondaryLabel"
1925
- },
1926
- {
1927
- "name": "tag-name",
1928
- "type": {
1929
- "text": "string[]"
1930
- },
1931
- "default": "[]",
1932
- "description": "(ScwCard) An array of tag labels",
1933
- "fieldName": "tags"
1934
- },
1935
- {
1936
- "name": "tag-url",
1937
- "type": {
1938
- "text": "string[] | undefined"
1939
- },
1940
- "description": "(ScwCard) An array of tag urls",
1941
- "fieldName": "tagUrl"
1939
+ "default": "''",
1940
+ "description": "Secondary message",
1941
+ "fieldName": "description"
1942
1942
  },
1943
1943
  {
1944
1944
  "name": "aria-label",
@@ -2007,9 +2007,9 @@
2007
2007
  ],
2008
2008
  "superclass": {
2009
2009
  "name": "ScwComponent",
2010
- "module": "/src/scw-component/ScwComponent"
2010
+ "package": "scw-component/ScwComponent"
2011
2011
  },
2012
- "tagName": "scw-card",
2012
+ "tagName": "scw-alert",
2013
2013
  "customElement": true
2014
2014
  }
2015
2015
  ],
@@ -2018,23 +2018,23 @@
2018
2018
  "kind": "js",
2019
2019
  "name": "default",
2020
2020
  "declaration": {
2021
- "name": "ScwCard",
2022
- "module": "src/scw-card/ScwCard.ts"
2021
+ "name": "ScwAlert",
2022
+ "module": "src/scw-alert/ScwAlert.ts"
2023
2023
  }
2024
2024
  }
2025
2025
  ]
2026
2026
  },
2027
2027
  {
2028
2028
  "kind": "javascript-module",
2029
- "path": "src/scw-card/scw-card.ts",
2029
+ "path": "src/scw-alert/scw-alert.ts",
2030
2030
  "declarations": [],
2031
2031
  "exports": [
2032
2032
  {
2033
2033
  "kind": "custom-element-definition",
2034
- "name": "scw-card",
2034
+ "name": "scw-alert",
2035
2035
  "declaration": {
2036
- "name": "ScwCard",
2037
- "module": "/src/scw-card/ScwCard"
2036
+ "name": "ScwAlert",
2037
+ "module": "/src/scw-alert/ScwAlert.js"
2038
2038
  }
2039
2039
  }
2040
2040
  ]