@saasquatch/vanilla-components 1.2.4-7 → 1.2.4
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/CHANGELOG.md +163 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sqh-copy-button_12.cjs.entry.js +3 -21
- package/dist/cjs/widget-components.cjs.js +1 -1
- package/dist/collection/components/close-button/close-button.js +0 -2
- package/dist/collection/components/copy-button/copy-button.js +4 -13
- package/dist/collection/components/copy-link-button/copy-link-button.js +5 -11
- package/dist/collection/components/global-container/global-container.js +3 -15
- package/dist/collection/components/image-component/image-component.js +2 -5
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +1 -4
- package/dist/collection/components/referral-list/referral-list.js +51 -75
- package/dist/collection/components/share-button/share-button.js +3 -12
- package/dist/collection/components/share-button-container/share-button-container.js +46 -119
- package/dist/collection/components/stat-component/stat-component.js +1 -5
- package/dist/collection/components/stats-container/stats-container.js +4 -4
- package/dist/collection/components/text-component/text-component.js +25 -4
- package/dist/collection/entrypoint.js +19 -17
- package/dist/esm/loader.mjs +1 -1
- package/dist/esm/sqh-copy-button_12.entry.js +3 -21
- package/dist/esm/widget-components.mjs +1 -1
- package/dist/esm-es5/loader.mjs +1 -1
- package/dist/esm-es5/sqh-copy-button_12.entry.js +4 -23
- package/dist/esm-es5/widget-components.mjs +1 -1
- package/dist/types/components/close-button/close-button.d.ts +0 -2
- package/dist/types/components/copy-button/copy-button.d.ts +4 -7
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +5 -7
- package/dist/types/components/global-container/global-container.d.ts +3 -7
- package/dist/types/components/image-component/image-component.d.ts +2 -3
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +1 -2
- package/dist/types/components/referral-list/referral-list.d.ts +51 -59
- package/dist/types/components/share-button/share-button.d.ts +2 -7
- package/dist/types/components/share-button-container/share-button-container.d.ts +36 -72
- package/dist/types/components/stat-component/stat-component.d.ts +1 -3
- package/dist/types/components/stats-container/stats-container.d.ts +3 -3
- package/dist/types/components/text-component/text-component.d.ts +6 -2
- package/dist/types/components.d.ts +226 -320
- package/dist/types/saasquatch.d.ts +3 -1
- package/dist/widget-components/entrypoint.js +19 -17
- package/dist/widget-components/{p-d7059393.entry.js → p-0bfec452.entry.js} +1 -0
- package/dist/widget-components/p-58be1132.system.js +1 -1
- package/dist/widget-components/{p-fba5ea7f.system.entry.js → p-796dc228.system.entry.js} +1 -1
- package/dist/widget-components/widget-components.esm.js +1 -1
- package/dist/widget-components/widget-components.js +1 -1
- package/docs/raisins.json +1 -1
- package/package.json +4 -3
|
@@ -9,8 +9,6 @@ import { API } from "../../services/WidgetHost";
|
|
|
9
9
|
export class ShareButtonContainer {
|
|
10
10
|
constructor() {
|
|
11
11
|
/**
|
|
12
|
-
* Email button icon
|
|
13
|
-
*
|
|
14
12
|
* @uiName Email Icon
|
|
15
13
|
* @uiGroup Email
|
|
16
14
|
*/
|
|
@@ -23,8 +21,6 @@ export class ShareButtonContainer {
|
|
|
23
21
|
*/
|
|
24
22
|
this.emailclassName = "email-share";
|
|
25
23
|
/**
|
|
26
|
-
* Facebook button icon
|
|
27
|
-
*
|
|
28
24
|
* @uiName Facebook Icon
|
|
29
25
|
* @uiGroup Facebook
|
|
30
26
|
*/
|
|
@@ -42,8 +38,6 @@ export class ShareButtonContainer {
|
|
|
42
38
|
*/
|
|
43
39
|
this.facebookiconsize = 1.2;
|
|
44
40
|
/**
|
|
45
|
-
* Twitter button icon
|
|
46
|
-
*
|
|
47
41
|
* @uiName Twitter Icon
|
|
48
42
|
* @uiGroup Twitter
|
|
49
43
|
*/
|
|
@@ -61,8 +55,6 @@ export class ShareButtonContainer {
|
|
|
61
55
|
*/
|
|
62
56
|
this.twittericonsize = 1.2;
|
|
63
57
|
/**
|
|
64
|
-
* SMS button icon
|
|
65
|
-
*
|
|
66
58
|
* @uiName SMS Icon
|
|
67
59
|
* @uiGroup SMS
|
|
68
60
|
*/
|
|
@@ -71,13 +63,10 @@ export class ShareButtonContainer {
|
|
|
71
63
|
* @uiName WhatsApp Text Color
|
|
72
64
|
* @uiGroup WhatsApp
|
|
73
65
|
* @uiWidget color
|
|
74
|
-
* @
|
|
75
|
-
* @default "#ffffff"
|
|
66
|
+
* @default #ffffff
|
|
76
67
|
*/
|
|
77
68
|
this.whatsapptextcolor = "#fff";
|
|
78
69
|
/**
|
|
79
|
-
* WhatsApp button icon
|
|
80
|
-
*
|
|
81
70
|
* @uiName WhatsApp Icon
|
|
82
71
|
* @uiGroup WhatsApp
|
|
83
72
|
*/
|
|
@@ -102,8 +91,6 @@ export class ShareButtonContainer {
|
|
|
102
91
|
*/
|
|
103
92
|
this.whatsappiconsize = 1.4;
|
|
104
93
|
/**
|
|
105
|
-
* Linkedin button icon
|
|
106
|
-
*
|
|
107
94
|
* @uiName Linkedin Icon
|
|
108
95
|
* @uiGroup LinkedIn
|
|
109
96
|
*/
|
|
@@ -114,8 +101,6 @@ export class ShareButtonContainer {
|
|
|
114
101
|
*/
|
|
115
102
|
this.linkediniconsize = 1.2;
|
|
116
103
|
/**
|
|
117
|
-
* Pinterest button icon
|
|
118
|
-
*
|
|
119
104
|
* @uiName Pinterest Icon
|
|
120
105
|
* @uiGroup Pinterest
|
|
121
106
|
*/
|
|
@@ -140,8 +125,6 @@ export class ShareButtonContainer {
|
|
|
140
125
|
*/
|
|
141
126
|
this.pinteresticonsize = 1.2;
|
|
142
127
|
/**
|
|
143
|
-
* Messenger button icon
|
|
144
|
-
*
|
|
145
128
|
* @uiName Messenger Icon
|
|
146
129
|
* @uiGroup Messenger
|
|
147
130
|
*/
|
|
@@ -166,8 +149,6 @@ export class ShareButtonContainer {
|
|
|
166
149
|
*/
|
|
167
150
|
this.messengericonsize = 1.4;
|
|
168
151
|
/**
|
|
169
|
-
* Line button icon
|
|
170
|
-
*
|
|
171
152
|
* @uiName Line Icon
|
|
172
153
|
* @uiGroup Line Messenger
|
|
173
154
|
*/
|
|
@@ -305,7 +286,7 @@ export class ShareButtonContainer {
|
|
|
305
286
|
"text": "[\"Mobile and Desktop\",\"Mobile Only\",\"Desktop Only\",\"Hide\"]",
|
|
306
287
|
"name": "uiEnumNames"
|
|
307
288
|
}, {
|
|
308
|
-
"text": "
|
|
289
|
+
"text": "mobile-and-desktop",
|
|
309
290
|
"name": "default"
|
|
310
291
|
}],
|
|
311
292
|
"text": "Show and hide button depending on what type of device the user is on"
|
|
@@ -331,7 +312,7 @@ export class ShareButtonContainer {
|
|
|
331
312
|
"text": "Email",
|
|
332
313
|
"name": "uiGroup"
|
|
333
314
|
}, {
|
|
334
|
-
"text": "
|
|
315
|
+
"text": "Email",
|
|
335
316
|
"name": "default"
|
|
336
317
|
}],
|
|
337
318
|
"text": ""
|
|
@@ -360,10 +341,7 @@ export class ShareButtonContainer {
|
|
|
360
341
|
"text": "color",
|
|
361
342
|
"name": "uiWidget"
|
|
362
343
|
}, {
|
|
363
|
-
"text": "
|
|
364
|
-
"name": "format"
|
|
365
|
-
}, {
|
|
366
|
-
"text": "\"#4b4d50\"",
|
|
344
|
+
"text": "#4b4d50",
|
|
367
345
|
"name": "default"
|
|
368
346
|
}],
|
|
369
347
|
"text": "Background color of the Email button"
|
|
@@ -392,10 +370,7 @@ export class ShareButtonContainer {
|
|
|
392
370
|
"text": "color",
|
|
393
371
|
"name": "uiWidget"
|
|
394
372
|
}, {
|
|
395
|
-
"text": "
|
|
396
|
-
"name": "format"
|
|
397
|
-
}, {
|
|
398
|
-
"text": "\"#ffffff\"",
|
|
373
|
+
"text": "#ffffff",
|
|
399
374
|
"name": "default"
|
|
400
375
|
}],
|
|
401
376
|
"text": ""
|
|
@@ -421,7 +396,7 @@ export class ShareButtonContainer {
|
|
|
421
396
|
"text": "Email",
|
|
422
397
|
"name": "uiGroup"
|
|
423
398
|
}],
|
|
424
|
-
"text": "
|
|
399
|
+
"text": ""
|
|
425
400
|
},
|
|
426
401
|
"attribute": "emailicon",
|
|
427
402
|
"reflect": false,
|
|
@@ -544,7 +519,7 @@ export class ShareButtonContainer {
|
|
|
544
519
|
"text": "[\"Mobile and Desktop\",\"Mobile Only\",\"Desktop Only\",\"Hide\"]",
|
|
545
520
|
"name": "uiEnumNames"
|
|
546
521
|
}, {
|
|
547
|
-
"text": "
|
|
522
|
+
"text": "mobile-and-desktop",
|
|
548
523
|
"name": "default"
|
|
549
524
|
}],
|
|
550
525
|
"text": "Show and hide button depending on what type of device the user is on"
|
|
@@ -570,7 +545,7 @@ export class ShareButtonContainer {
|
|
|
570
545
|
"text": "Facebook",
|
|
571
546
|
"name": "uiGroup"
|
|
572
547
|
}, {
|
|
573
|
-
"text": "
|
|
548
|
+
"text": "Facebook",
|
|
574
549
|
"name": "default"
|
|
575
550
|
}],
|
|
576
551
|
"text": ""
|
|
@@ -599,10 +574,7 @@ export class ShareButtonContainer {
|
|
|
599
574
|
"text": "color",
|
|
600
575
|
"name": "uiWidget"
|
|
601
576
|
}, {
|
|
602
|
-
"text": "
|
|
603
|
-
"name": "format"
|
|
604
|
-
}, {
|
|
605
|
-
"text": "\"#234079\"",
|
|
577
|
+
"text": "#234079",
|
|
606
578
|
"name": "default"
|
|
607
579
|
}],
|
|
608
580
|
"text": "Background color of the facebook button"
|
|
@@ -631,10 +603,7 @@ export class ShareButtonContainer {
|
|
|
631
603
|
"text": "color",
|
|
632
604
|
"name": "uiWidget"
|
|
633
605
|
}, {
|
|
634
|
-
"text": "
|
|
635
|
-
"name": "format"
|
|
636
|
-
}, {
|
|
637
|
-
"text": "\"#ffffff\"",
|
|
606
|
+
"text": "#ffffff",
|
|
638
607
|
"name": "default"
|
|
639
608
|
}],
|
|
640
609
|
"text": ""
|
|
@@ -660,7 +629,7 @@ export class ShareButtonContainer {
|
|
|
660
629
|
"text": "Facebook",
|
|
661
630
|
"name": "uiGroup"
|
|
662
631
|
}],
|
|
663
|
-
"text": "
|
|
632
|
+
"text": ""
|
|
664
633
|
},
|
|
665
634
|
"attribute": "facebookicon",
|
|
666
635
|
"reflect": false,
|
|
@@ -784,7 +753,7 @@ export class ShareButtonContainer {
|
|
|
784
753
|
"text": "[\"Mobile and Desktop\",\"Mobile Only\",\"Desktop Only\",\"Hide\"]",
|
|
785
754
|
"name": "uiEnumNames"
|
|
786
755
|
}, {
|
|
787
|
-
"text": "
|
|
756
|
+
"text": "mobile-and-desktop",
|
|
788
757
|
"name": "default"
|
|
789
758
|
}],
|
|
790
759
|
"text": "Show and hide button depending on what type of device the user is on"
|
|
@@ -810,7 +779,7 @@ export class ShareButtonContainer {
|
|
|
810
779
|
"text": "Twitter",
|
|
811
780
|
"name": "uiGroup"
|
|
812
781
|
}, {
|
|
813
|
-
"text": "
|
|
782
|
+
"text": "Twitter",
|
|
814
783
|
"name": "default"
|
|
815
784
|
}],
|
|
816
785
|
"text": ""
|
|
@@ -839,10 +808,7 @@ export class ShareButtonContainer {
|
|
|
839
808
|
"text": "color",
|
|
840
809
|
"name": "uiWidget"
|
|
841
810
|
}, {
|
|
842
|
-
"text": "
|
|
843
|
-
"name": "format"
|
|
844
|
-
}, {
|
|
845
|
-
"text": "\"#4797d2\"",
|
|
811
|
+
"text": "#4797d2",
|
|
846
812
|
"name": "default"
|
|
847
813
|
}],
|
|
848
814
|
"text": "Background color of the twitter button"
|
|
@@ -871,10 +837,7 @@ export class ShareButtonContainer {
|
|
|
871
837
|
"text": "color",
|
|
872
838
|
"name": "uiWidget"
|
|
873
839
|
}, {
|
|
874
|
-
"text": "
|
|
875
|
-
"name": "format"
|
|
876
|
-
}, {
|
|
877
|
-
"text": "\"#ffffff\"",
|
|
840
|
+
"text": "#ffffff",
|
|
878
841
|
"name": "default"
|
|
879
842
|
}],
|
|
880
843
|
"text": ""
|
|
@@ -900,7 +863,7 @@ export class ShareButtonContainer {
|
|
|
900
863
|
"text": "Twitter",
|
|
901
864
|
"name": "uiGroup"
|
|
902
865
|
}],
|
|
903
|
-
"text": "
|
|
866
|
+
"text": ""
|
|
904
867
|
},
|
|
905
868
|
"attribute": "twittericon",
|
|
906
869
|
"reflect": false,
|
|
@@ -1024,7 +987,7 @@ export class ShareButtonContainer {
|
|
|
1024
987
|
"text": "[\"Mobile Only\",\"Hide\"]",
|
|
1025
988
|
"name": "uiEnumNames"
|
|
1026
989
|
}, {
|
|
1027
|
-
"text": "
|
|
990
|
+
"text": "mobile-only",
|
|
1028
991
|
"name": "default"
|
|
1029
992
|
}],
|
|
1030
993
|
"text": "Show and hide button depending on what type of device the user is on"
|
|
@@ -1050,7 +1013,7 @@ export class ShareButtonContainer {
|
|
|
1050
1013
|
"text": "SMS",
|
|
1051
1014
|
"name": "uiGroup"
|
|
1052
1015
|
}, {
|
|
1053
|
-
"text": "
|
|
1016
|
+
"text": "SMS",
|
|
1054
1017
|
"name": "default"
|
|
1055
1018
|
}],
|
|
1056
1019
|
"text": ""
|
|
@@ -1079,10 +1042,7 @@ export class ShareButtonContainer {
|
|
|
1079
1042
|
"text": "color",
|
|
1080
1043
|
"name": "uiWidget"
|
|
1081
1044
|
}, {
|
|
1082
|
-
"text": "
|
|
1083
|
-
"name": "format"
|
|
1084
|
-
}, {
|
|
1085
|
-
"text": "\"#7bbf38\"",
|
|
1045
|
+
"text": "#7bbf38",
|
|
1086
1046
|
"name": "default"
|
|
1087
1047
|
}],
|
|
1088
1048
|
"text": "Background color of the SMS button"
|
|
@@ -1111,10 +1071,7 @@ export class ShareButtonContainer {
|
|
|
1111
1071
|
"text": "color",
|
|
1112
1072
|
"name": "uiWidget"
|
|
1113
1073
|
}, {
|
|
1114
|
-
"text": "
|
|
1115
|
-
"name": "format"
|
|
1116
|
-
}, {
|
|
1117
|
-
"text": "\"#ffffff\"",
|
|
1074
|
+
"text": "#ffffff",
|
|
1118
1075
|
"name": "default"
|
|
1119
1076
|
}],
|
|
1120
1077
|
"text": ""
|
|
@@ -1140,7 +1097,7 @@ export class ShareButtonContainer {
|
|
|
1140
1097
|
"text": "SMS",
|
|
1141
1098
|
"name": "uiGroup"
|
|
1142
1099
|
}],
|
|
1143
|
-
"text": "
|
|
1100
|
+
"text": ""
|
|
1144
1101
|
},
|
|
1145
1102
|
"attribute": "smsicon",
|
|
1146
1103
|
"reflect": false,
|
|
@@ -1262,7 +1219,7 @@ export class ShareButtonContainer {
|
|
|
1262
1219
|
"text": "[\"Mobile Only\",\"Hide\"]",
|
|
1263
1220
|
"name": "uiEnumNames"
|
|
1264
1221
|
}, {
|
|
1265
|
-
"text": "
|
|
1222
|
+
"text": "mobile-only",
|
|
1266
1223
|
"name": "default"
|
|
1267
1224
|
}],
|
|
1268
1225
|
"text": "Show and hide button depending on what type of device the user is on"
|
|
@@ -1288,7 +1245,7 @@ export class ShareButtonContainer {
|
|
|
1288
1245
|
"text": "WhatsApp",
|
|
1289
1246
|
"name": "uiGroup"
|
|
1290
1247
|
}, {
|
|
1291
|
-
"text": "
|
|
1248
|
+
"text": "Whatspp",
|
|
1292
1249
|
"name": "default"
|
|
1293
1250
|
}],
|
|
1294
1251
|
"text": ""
|
|
@@ -1317,10 +1274,7 @@ export class ShareButtonContainer {
|
|
|
1317
1274
|
"text": "color",
|
|
1318
1275
|
"name": "uiWidget"
|
|
1319
1276
|
}, {
|
|
1320
|
-
"text": "
|
|
1321
|
-
"name": "format"
|
|
1322
|
-
}, {
|
|
1323
|
-
"text": "\"#25D366\"",
|
|
1277
|
+
"text": "#25D366",
|
|
1324
1278
|
"name": "default"
|
|
1325
1279
|
}],
|
|
1326
1280
|
"text": "Background color of the WhatsApp button"
|
|
@@ -1349,10 +1303,7 @@ export class ShareButtonContainer {
|
|
|
1349
1303
|
"text": "color",
|
|
1350
1304
|
"name": "uiWidget"
|
|
1351
1305
|
}, {
|
|
1352
|
-
"text": "
|
|
1353
|
-
"name": "format"
|
|
1354
|
-
}, {
|
|
1355
|
-
"text": "\"#ffffff\"",
|
|
1306
|
+
"text": "#ffffff",
|
|
1356
1307
|
"name": "default"
|
|
1357
1308
|
}],
|
|
1358
1309
|
"text": ""
|
|
@@ -1379,7 +1330,7 @@ export class ShareButtonContainer {
|
|
|
1379
1330
|
"text": "WhatsApp",
|
|
1380
1331
|
"name": "uiGroup"
|
|
1381
1332
|
}],
|
|
1382
|
-
"text": "
|
|
1333
|
+
"text": ""
|
|
1383
1334
|
},
|
|
1384
1335
|
"attribute": "whatsappicon",
|
|
1385
1336
|
"reflect": false,
|
|
@@ -1504,7 +1455,7 @@ export class ShareButtonContainer {
|
|
|
1504
1455
|
"text": "[\"Mobile and Desktop\",\"Mobile Only\",\"Desktop Only\",\"Hide\"]",
|
|
1505
1456
|
"name": "uiEnumNames"
|
|
1506
1457
|
}, {
|
|
1507
|
-
"text": "
|
|
1458
|
+
"text": "hidden",
|
|
1508
1459
|
"name": "default"
|
|
1509
1460
|
}],
|
|
1510
1461
|
"text": "Show and hide button depending on what type of device the user is on"
|
|
@@ -1530,7 +1481,7 @@ export class ShareButtonContainer {
|
|
|
1530
1481
|
"text": "LinkedIn",
|
|
1531
1482
|
"name": "uiGroup"
|
|
1532
1483
|
}, {
|
|
1533
|
-
"text": "
|
|
1484
|
+
"text": "LinkedIn",
|
|
1534
1485
|
"name": "default"
|
|
1535
1486
|
}],
|
|
1536
1487
|
"text": ""
|
|
@@ -1559,10 +1510,7 @@ export class ShareButtonContainer {
|
|
|
1559
1510
|
"text": "color",
|
|
1560
1511
|
"name": "uiWidget"
|
|
1561
1512
|
}, {
|
|
1562
|
-
"text": "
|
|
1563
|
-
"name": "format"
|
|
1564
|
-
}, {
|
|
1565
|
-
"text": "\"#ffffff\"",
|
|
1513
|
+
"text": "#ffffff",
|
|
1566
1514
|
"name": "default"
|
|
1567
1515
|
}],
|
|
1568
1516
|
"text": "Background color of the linkedin button"
|
|
@@ -1591,10 +1539,7 @@ export class ShareButtonContainer {
|
|
|
1591
1539
|
"text": "color",
|
|
1592
1540
|
"name": "uiWidget"
|
|
1593
1541
|
}, {
|
|
1594
|
-
"text": "
|
|
1595
|
-
"name": "format"
|
|
1596
|
-
}, {
|
|
1597
|
-
"text": "\"#0084b9\"",
|
|
1542
|
+
"text": "#0084b9",
|
|
1598
1543
|
"name": "default"
|
|
1599
1544
|
}],
|
|
1600
1545
|
"text": ""
|
|
@@ -1620,7 +1565,7 @@ export class ShareButtonContainer {
|
|
|
1620
1565
|
"text": "LinkedIn",
|
|
1621
1566
|
"name": "uiGroup"
|
|
1622
1567
|
}],
|
|
1623
|
-
"text": "
|
|
1568
|
+
"text": ""
|
|
1624
1569
|
},
|
|
1625
1570
|
"attribute": "linkedinicon",
|
|
1626
1571
|
"reflect": false,
|
|
@@ -1743,7 +1688,7 @@ export class ShareButtonContainer {
|
|
|
1743
1688
|
"text": "[\"Mobile and Desktop\",\"Mobile Only\",\"Desktop Only\",\"Hide\"]",
|
|
1744
1689
|
"name": "uiEnumNames"
|
|
1745
1690
|
}, {
|
|
1746
|
-
"text": "
|
|
1691
|
+
"text": "hidden",
|
|
1747
1692
|
"name": "default"
|
|
1748
1693
|
}],
|
|
1749
1694
|
"text": "Show and hide button depending on what type of device the user is on"
|
|
@@ -1769,7 +1714,7 @@ export class ShareButtonContainer {
|
|
|
1769
1714
|
"text": "Pinterest",
|
|
1770
1715
|
"name": "uiGroup"
|
|
1771
1716
|
}, {
|
|
1772
|
-
"text": "
|
|
1717
|
+
"text": "Pinterest",
|
|
1773
1718
|
"name": "default"
|
|
1774
1719
|
}],
|
|
1775
1720
|
"text": ""
|
|
@@ -1798,10 +1743,7 @@ export class ShareButtonContainer {
|
|
|
1798
1743
|
"text": "color",
|
|
1799
1744
|
"name": "uiWidget"
|
|
1800
1745
|
}, {
|
|
1801
|
-
"text": "
|
|
1802
|
-
"name": "format"
|
|
1803
|
-
}, {
|
|
1804
|
-
"text": "\"#cb2027\"",
|
|
1746
|
+
"text": "#cb2027",
|
|
1805
1747
|
"name": "default"
|
|
1806
1748
|
}],
|
|
1807
1749
|
"text": "Background color of the Pinterest button"
|
|
@@ -1830,10 +1772,7 @@ export class ShareButtonContainer {
|
|
|
1830
1772
|
"text": "color",
|
|
1831
1773
|
"name": "uiWidget"
|
|
1832
1774
|
}, {
|
|
1833
|
-
"text": "
|
|
1834
|
-
"name": "format"
|
|
1835
|
-
}, {
|
|
1836
|
-
"text": "\"#ffffff\"",
|
|
1775
|
+
"text": "#ffffff",
|
|
1837
1776
|
"name": "default"
|
|
1838
1777
|
}],
|
|
1839
1778
|
"text": ""
|
|
@@ -1859,7 +1798,7 @@ export class ShareButtonContainer {
|
|
|
1859
1798
|
"text": "Pinterest",
|
|
1860
1799
|
"name": "uiGroup"
|
|
1861
1800
|
}],
|
|
1862
|
-
"text": "
|
|
1801
|
+
"text": ""
|
|
1863
1802
|
},
|
|
1864
1803
|
"attribute": "pinteresticon",
|
|
1865
1804
|
"reflect": false,
|
|
@@ -1984,7 +1923,7 @@ export class ShareButtonContainer {
|
|
|
1984
1923
|
"text": "[\"Mobile and Desktop\",\"Mobile Only\",\"Desktop Only\",\"Hide\"]",
|
|
1985
1924
|
"name": "uiEnumNames"
|
|
1986
1925
|
}, {
|
|
1987
|
-
"text": "
|
|
1926
|
+
"text": "hidden",
|
|
1988
1927
|
"name": "default"
|
|
1989
1928
|
}],
|
|
1990
1929
|
"text": "Show and hide button depending on what type of device the user is on"
|
|
@@ -2010,7 +1949,7 @@ export class ShareButtonContainer {
|
|
|
2010
1949
|
"text": "Messenger",
|
|
2011
1950
|
"name": "uiGroup"
|
|
2012
1951
|
}, {
|
|
2013
|
-
"text": "
|
|
1952
|
+
"text": "Messenger",
|
|
2014
1953
|
"name": "default"
|
|
2015
1954
|
}],
|
|
2016
1955
|
"text": ""
|
|
@@ -2039,10 +1978,7 @@ export class ShareButtonContainer {
|
|
|
2039
1978
|
"text": "color",
|
|
2040
1979
|
"name": "uiWidget"
|
|
2041
1980
|
}, {
|
|
2042
|
-
"text": "
|
|
2043
|
-
"name": "format"
|
|
2044
|
-
}, {
|
|
2045
|
-
"text": "\"#0084ff\"",
|
|
1981
|
+
"text": "#0084ff",
|
|
2046
1982
|
"name": "default"
|
|
2047
1983
|
}],
|
|
2048
1984
|
"text": "Background color of the Messenger button"
|
|
@@ -2071,10 +2007,7 @@ export class ShareButtonContainer {
|
|
|
2071
2007
|
"text": "color",
|
|
2072
2008
|
"name": "uiWidget"
|
|
2073
2009
|
}, {
|
|
2074
|
-
"text": "
|
|
2075
|
-
"name": "format"
|
|
2076
|
-
}, {
|
|
2077
|
-
"text": "\"#ffffff\"",
|
|
2010
|
+
"text": "#ffffff",
|
|
2078
2011
|
"name": "default"
|
|
2079
2012
|
}],
|
|
2080
2013
|
"text": ""
|
|
@@ -2100,7 +2033,7 @@ export class ShareButtonContainer {
|
|
|
2100
2033
|
"text": "Messenger",
|
|
2101
2034
|
"name": "uiGroup"
|
|
2102
2035
|
}],
|
|
2103
|
-
"text": "
|
|
2036
|
+
"text": ""
|
|
2104
2037
|
},
|
|
2105
2038
|
"attribute": "messengericon",
|
|
2106
2039
|
"reflect": false,
|
|
@@ -2225,7 +2158,7 @@ export class ShareButtonContainer {
|
|
|
2225
2158
|
"text": "[\"Mobile Only\",\"Hide\"]",
|
|
2226
2159
|
"name": "uiEnumNames"
|
|
2227
2160
|
}, {
|
|
2228
|
-
"text": "
|
|
2161
|
+
"text": "mobile-only",
|
|
2229
2162
|
"name": "default"
|
|
2230
2163
|
}],
|
|
2231
2164
|
"text": "Show and hide button depending on what type of device the user is on"
|
|
@@ -2251,7 +2184,7 @@ export class ShareButtonContainer {
|
|
|
2251
2184
|
"text": "Line Messenger",
|
|
2252
2185
|
"name": "uiGroup"
|
|
2253
2186
|
}, {
|
|
2254
|
-
"text": "
|
|
2187
|
+
"text": "Line Messenger",
|
|
2255
2188
|
"name": "default"
|
|
2256
2189
|
}],
|
|
2257
2190
|
"text": ""
|
|
@@ -2280,10 +2213,7 @@ export class ShareButtonContainer {
|
|
|
2280
2213
|
"text": "color",
|
|
2281
2214
|
"name": "uiWidget"
|
|
2282
2215
|
}, {
|
|
2283
|
-
"text": "
|
|
2284
|
-
"name": "format"
|
|
2285
|
-
}, {
|
|
2286
|
-
"text": "\"#00c300\"",
|
|
2216
|
+
"text": "#00c300",
|
|
2287
2217
|
"name": "default"
|
|
2288
2218
|
}],
|
|
2289
2219
|
"text": "Background color of the Line button"
|
|
@@ -2312,10 +2242,7 @@ export class ShareButtonContainer {
|
|
|
2312
2242
|
"text": "color",
|
|
2313
2243
|
"name": "uiWidget"
|
|
2314
2244
|
}, {
|
|
2315
|
-
"text": "
|
|
2316
|
-
"name": "format"
|
|
2317
|
-
}, {
|
|
2318
|
-
"text": "\"#ffffff\"",
|
|
2245
|
+
"text": "#ffffff",
|
|
2319
2246
|
"name": "default"
|
|
2320
2247
|
}],
|
|
2321
2248
|
"text": ""
|
|
@@ -2341,7 +2268,7 @@ export class ShareButtonContainer {
|
|
|
2341
2268
|
"text": "Line Messenger",
|
|
2342
2269
|
"name": "uiGroup"
|
|
2343
2270
|
}],
|
|
2344
|
-
"text": "
|
|
2271
|
+
"text": ""
|
|
2345
2272
|
},
|
|
2346
2273
|
"attribute": "lineicon",
|
|
2347
2274
|
"reflect": false,
|
|
@@ -6,7 +6,6 @@ import { css } from "emotion";
|
|
|
6
6
|
* @exampleGroup Statistics
|
|
7
7
|
* @example Referral Count - <sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component>
|
|
8
8
|
* @example Reward Count - <sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component>
|
|
9
|
-
* @example Credit Earned - <sqh-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CENTS/prettyAssignedCredit" statdescription="Credit earned" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component>
|
|
10
9
|
* @example Points Earned - <sqh-stat-component statcolor="#000000" stattype="/rewardBalance/CREDIT/POINT/totalAssignedCredit" statdescription="Points Earned" paddingtop="10" paddingbottom="10"></sqh-stat-component>
|
|
11
10
|
*/
|
|
12
11
|
export class StatComponent {
|
|
@@ -77,7 +76,7 @@ export class StatComponent {
|
|
|
77
76
|
"text": "Stat Type",
|
|
78
77
|
"name": "uiName"
|
|
79
78
|
}, {
|
|
80
|
-
"text": "
|
|
79
|
+
"text": "statTypeSelectWidget",
|
|
81
80
|
"name": "uiWidget"
|
|
82
81
|
}, {
|
|
83
82
|
"text": undefined,
|
|
@@ -151,9 +150,6 @@ export class StatComponent {
|
|
|
151
150
|
}, {
|
|
152
151
|
"text": "color",
|
|
153
152
|
"name": "uiWidget"
|
|
154
|
-
}, {
|
|
155
|
-
"text": "color",
|
|
156
|
-
"name": "format"
|
|
157
153
|
}],
|
|
158
154
|
"text": ""
|
|
159
155
|
},
|
|
@@ -14,7 +14,7 @@ export class StatsContainer {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
/**
|
|
16
16
|
* @undocumented
|
|
17
|
-
* @uiName
|
|
17
|
+
* @uiName Hide stats
|
|
18
18
|
*/
|
|
19
19
|
this.ishidden = false;
|
|
20
20
|
this.statPaths = [
|
|
@@ -133,7 +133,7 @@ export class StatsContainer {
|
|
|
133
133
|
"text": undefined,
|
|
134
134
|
"name": "undocumented"
|
|
135
135
|
}, {
|
|
136
|
-
"text": "
|
|
136
|
+
"text": "Hide stats",
|
|
137
137
|
"name": "uiName"
|
|
138
138
|
}],
|
|
139
139
|
"text": ""
|
|
@@ -157,7 +157,7 @@ export class StatsContainer {
|
|
|
157
157
|
"text": "Padding Top",
|
|
158
158
|
"name": "uiName"
|
|
159
159
|
}, {
|
|
160
|
-
"text": "
|
|
160
|
+
"text": "0",
|
|
161
161
|
"name": "default"
|
|
162
162
|
}],
|
|
163
163
|
"text": "Define the bottom padding of the container with a pixel amount."
|
|
@@ -180,7 +180,7 @@ export class StatsContainer {
|
|
|
180
180
|
"text": "Padding Bottom",
|
|
181
181
|
"name": "uiName"
|
|
182
182
|
}, {
|
|
183
|
-
"text": "
|
|
183
|
+
"text": "0",
|
|
184
184
|
"name": "default"
|
|
185
185
|
}],
|
|
186
186
|
"text": "Define the top padding of the container with a pixel amount."
|
|
@@ -14,6 +14,7 @@ export class TextComponent {
|
|
|
14
14
|
const textStyle = css `
|
|
15
15
|
font-family: ${this.fontfamily || "inherit"};
|
|
16
16
|
font-size: ${this.fontsize ? this.fontsize + "px" : "inherit"};
|
|
17
|
+
font-weight: ${this.fontweight ? this.fontweight : "inherit"};
|
|
17
18
|
text-align: ${this.textalign};
|
|
18
19
|
color: ${this.color || "inherit"};
|
|
19
20
|
padding-top: ${this.paddingtop ? this.paddingtop + "px" : "inherit"};
|
|
@@ -81,7 +82,7 @@ export class TextComponent {
|
|
|
81
82
|
"text": "Use Markdown",
|
|
82
83
|
"name": "uiName"
|
|
83
84
|
}],
|
|
84
|
-
"text": "Compile plain text into markdown."
|
|
85
|
+
"text": "Compile plain text into HTML. See [markdown](https://www.markdownguide.org/getting-started/) for more details."
|
|
85
86
|
},
|
|
86
87
|
"attribute": "ismarkdown",
|
|
87
88
|
"reflect": false
|
|
@@ -100,6 +101,9 @@ export class TextComponent {
|
|
|
100
101
|
"tags": [{
|
|
101
102
|
"text": "Text",
|
|
102
103
|
"name": "uiName"
|
|
104
|
+
}, {
|
|
105
|
+
"text": "textArea",
|
|
106
|
+
"name": "uiWidget"
|
|
103
107
|
}],
|
|
104
108
|
"text": ""
|
|
105
109
|
},
|
|
@@ -143,9 +147,6 @@ export class TextComponent {
|
|
|
143
147
|
}, {
|
|
144
148
|
"text": "color",
|
|
145
149
|
"name": "uiWidget"
|
|
146
|
-
}, {
|
|
147
|
-
"text": "color",
|
|
148
|
-
"name": "format"
|
|
149
150
|
}],
|
|
150
151
|
"text": ""
|
|
151
152
|
},
|
|
@@ -192,6 +193,26 @@ export class TextComponent {
|
|
|
192
193
|
"attribute": "paddingtop",
|
|
193
194
|
"reflect": false
|
|
194
195
|
},
|
|
196
|
+
"fontweight": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"mutable": false,
|
|
199
|
+
"complexType": {
|
|
200
|
+
"original": "string",
|
|
201
|
+
"resolved": "string",
|
|
202
|
+
"references": {}
|
|
203
|
+
},
|
|
204
|
+
"required": false,
|
|
205
|
+
"optional": false,
|
|
206
|
+
"docs": {
|
|
207
|
+
"tags": [{
|
|
208
|
+
"text": "Font Weight",
|
|
209
|
+
"name": "uiName"
|
|
210
|
+
}],
|
|
211
|
+
"text": ""
|
|
212
|
+
},
|
|
213
|
+
"attribute": "fontweight",
|
|
214
|
+
"reflect": false
|
|
215
|
+
},
|
|
195
216
|
"paddingbottom": {
|
|
196
217
|
"type": "string",
|
|
197
218
|
"mutable": false,
|