@saasquatch/vanilla-components 1.2.4-1 → 1.2.4-10

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.
Files changed (92) hide show
  1. package/dist/cjs/{WidgetHost-71b013eb.js → WidgetHost-f349e877.js} +157 -0
  2. package/dist/cjs/{en-a49a5ef5.js → en-3a7cb52e.js} +2 -2
  3. package/dist/cjs/{index-deb40352.js → index-09a04159.js} +54 -3
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/sqh-close-button.cjs.entry.js +2 -2
  6. package/dist/cjs/{sqh-copy-button_12.cjs.entry.js → sqh-copy-button_14.cjs.entry.js} +1178 -42
  7. package/dist/cjs/sqh-referral-code.cjs.entry.js +2 -2
  8. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +1 -1
  9. package/dist/cjs/widget-components.cjs.js +3 -3
  10. package/dist/collection/collection-manifest.json +2 -0
  11. package/dist/collection/components/close-button/close-button.js +3 -0
  12. package/dist/collection/components/copy-button/copy-button.js +18 -15
  13. package/dist/collection/components/copy-link-button/copy-link-button.js +11 -5
  14. package/dist/collection/components/cta-component/cta-component.css +6 -0
  15. package/dist/collection/components/cta-component/cta-component.js +393 -0
  16. package/dist/collection/components/global-container/global-container.js +6 -5
  17. package/dist/collection/components/image-component/image-component.js +11 -7
  18. package/dist/collection/components/partner-stat-component/partner-stat-component.js +20 -6
  19. package/dist/collection/components/progress-indicator/progress-indicator.css +73 -0
  20. package/dist/collection/components/progress-indicator/progress-indicator.js +554 -0
  21. package/dist/collection/components/referral-code/referral-code.js +3 -0
  22. package/dist/collection/components/referral-component/referral-component.js +1 -0
  23. package/dist/collection/components/referral-list/referral-list.js +49 -43
  24. package/dist/collection/components/rewards-actions/rewards-actions.js +1 -0
  25. package/dist/collection/components/share-button/share-button.js +4 -3
  26. package/dist/collection/components/share-button-container/share-button-container.js +53 -81
  27. package/dist/collection/components/stat-component/stat-component.js +22 -7
  28. package/dist/collection/components/stats-container/stats-container.js +13 -7
  29. package/dist/collection/components/text-component/text-component.js +44 -16
  30. package/dist/collection/services/WidgetHost.js +157 -0
  31. package/dist/esm/{WidgetHost-9c337319.js → WidgetHost-c033b6ac.js} +157 -0
  32. package/dist/esm/{en-be593af0.js → en-a652ab83.js} +1 -1
  33. package/dist/esm/{index-8ea8b6d8.js → index-342d7c26.js} +54 -3
  34. package/dist/esm/loader.mjs +3 -3
  35. package/dist/esm/sqh-close-button.entry.js +2 -2
  36. package/dist/esm/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +1177 -43
  37. package/dist/esm/sqh-referral-code.entry.js +2 -2
  38. package/dist/esm/sqh-rewards-actions.entry.js +1 -1
  39. package/dist/esm/widget-components.mjs +3 -3
  40. package/dist/esm-es5/{WidgetHost-9c337319.js → WidgetHost-c033b6ac.js} +96 -4
  41. package/dist/esm-es5/{en-be593af0.js → en-a652ab83.js} +1 -1
  42. package/dist/esm-es5/{index-8ea8b6d8.js → index-342d7c26.js} +53 -3
  43. package/dist/esm-es5/loader.mjs +3 -3
  44. package/dist/esm-es5/sqh-close-button.entry.js +2 -2
  45. package/dist/esm-es5/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +1065 -54
  46. package/dist/esm-es5/sqh-referral-code.entry.js +2 -2
  47. package/dist/esm-es5/sqh-rewards-actions.entry.js +1 -1
  48. package/dist/esm-es5/widget-components.mjs +3 -3
  49. package/dist/types/components/close-button/close-button.d.ts +3 -0
  50. package/dist/types/components/copy-button/copy-button.d.ts +10 -21
  51. package/dist/types/components/copy-link-button/copy-link-button.d.ts +5 -9
  52. package/dist/types/components/cta-component/cta-component.d.ts +89 -0
  53. package/dist/types/components/global-container/global-container.d.ts +4 -7
  54. package/dist/types/components/image-component/image-component.d.ts +6 -10
  55. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +12 -8
  56. package/dist/types/components/progress-indicator/progress-indicator.d.ts +91 -0
  57. package/dist/types/components/referral-code/referral-code.d.ts +3 -0
  58. package/dist/types/components/referral-component/referral-component.d.ts +1 -0
  59. package/dist/types/components/referral-list/referral-list.d.ts +42 -48
  60. package/dist/types/components/rewards-actions/rewards-actions.d.ts +1 -0
  61. package/dist/types/components/share-button/share-button.d.ts +3 -4
  62. package/dist/types/components/share-button-container/share-button-container.d.ts +13 -83
  63. package/dist/types/components/stat-component/stat-component.d.ts +13 -10
  64. package/dist/types/components/stats-container/stats-container.d.ts +8 -5
  65. package/dist/types/components/text-component/text-component.d.ts +17 -20
  66. package/dist/types/components.d.ts +488 -312
  67. package/dist/types/saasquatch.d.ts +3 -1
  68. package/dist/types/services/WidgetHost.d.ts +6 -0
  69. package/dist/widget-components/p-0839fd2c.system.entry.js +10 -0
  70. package/dist/widget-components/{p-44a6559d.js → p-17d80384.js} +1 -1
  71. package/dist/widget-components/{p-54ea7a00.entry.js → p-3ba562d0.entry.js} +1 -1
  72. package/dist/widget-components/{p-366f1663.entry.js → p-4293e873.entry.js} +1 -1
  73. package/dist/widget-components/{p-8e232564.system.js → p-54e83dfb.system.js} +2 -2
  74. package/dist/widget-components/{p-e2b4739f.system.entry.js → p-665b8d42.system.entry.js} +1 -1
  75. package/dist/widget-components/{p-edd43dbc.js → p-6e753d23.js} +68 -3
  76. package/dist/widget-components/p-a952fcf2.entry.js +233 -0
  77. package/dist/widget-components/{p-a846f503.system.js → p-aaf44379.system.js} +1 -1
  78. package/dist/widget-components/{p-b17efca4.system.entry.js → p-abf8a511.system.entry.js} +1 -1
  79. package/dist/widget-components/p-ad5121cf.system.js +1 -0
  80. package/dist/widget-components/p-d9e9c55c.system.entry.js +1 -0
  81. package/dist/widget-components/{p-58be1132.system.js → p-e82def83.system.js} +1 -1
  82. package/dist/widget-components/{p-9746ae26.entry.js → p-fb528be6.entry.js} +1 -1
  83. package/dist/widget-components/p-fbf0c7fe.js +1 -0
  84. package/dist/widget-components/widget-components.esm.js +1 -1
  85. package/dist/widget-components/widget-components.js +1 -1
  86. package/docs/raisins.json +1 -1
  87. package/package.json +4 -3
  88. package/dist/widget-components/p-485eaf44.js +0 -1
  89. package/dist/widget-components/p-c8bc8c77.system.entry.js +0 -1
  90. package/dist/widget-components/p-d416634a.entry.js +0 -148
  91. package/dist/widget-components/p-d97c955d.system.entry.js +0 -8
  92. package/dist/widget-components/p-e61a8100.system.js +0 -1
@@ -2,26 +2,25 @@ import { h, Component, Prop, State } from "@stencil/core";
2
2
  import { API } from "../../services/WidgetHost";
3
3
  /**
4
4
  * @uiName Share Button Container
5
+ * @canvasRenderer always-replace
6
+ * @exampleGroup Sharing
7
+ * @example Share Button Group - <sqh-share-button-container ishidden="false" emaildisplayrule="mobile-and-desktop" emailtext="Email" emailtextcolor="#ffffff" emailbackgroundcolor="#4b4d50" facebookdisplayrule="mobile-and-desktop" facebooktext="Facebook" facebooktextcolor="#ffffff" facebookbackgroundcolor="#234079" twitterdisplayrule="mobile-and-desktop" twittertext="Twitter" twittertextcolor="#ffffff" twitterbackgroundcolor="#4797d2" smsdisplayrule="mobile-only" smstext="SMS" smstextcolor="#ffffff" smsbackgroundcolor="#7bbf38" whatsappdisplayrule="mobile-only" whatsapptext="Whatspp" whatsapptextcolor="#ffffff" whatsappbackgroundcolor="#25D366" linkedindisplayrule="hidden" linkedintext="LinkedIn" linkedintextcolor="#ffffff" linkedinbackgroundcolor="#0084b9" pinterestdisplayrule="hidden" pinteresttext="Pinterest" pinteresttextcolor="#ffffff" pinterestbackgroundcolor="#cb2027" messengerdisplayrule="hidden" messengertext="Messenger" messengertextcolor="#ffffff" messengerbackgroundcolor="#0084ff" linedisplayrule="mobile-only" linetext="Line Messenger" linetextcolor="#ffffff" linebackgroundcolor="#00c300"></sqh-share-button-container>
5
8
  */
6
9
  export class ShareButtonContainer {
7
10
  constructor() {
8
11
  /**
9
- * Email button icon
10
- *
11
12
  * @uiName Email Icon
12
13
  * @uiGroup Email
13
14
  */
14
15
  this.emailicon = "mail";
15
16
  /**
16
- * CSS Class name used to style the Email button
17
+ * CSS class name for additional styling.
17
18
  *
18
19
  * @uiName Email Class Name
19
20
  * @uiGroup Email
20
21
  */
21
22
  this.emailclassName = "email-share";
22
23
  /**
23
- * Facebook button icon
24
- *
25
24
  * @uiName Facebook Icon
26
25
  * @uiGroup Facebook
27
26
  */
@@ -34,15 +33,11 @@ export class ShareButtonContainer {
34
33
  */
35
34
  this.facebookiconhorizontal = 9;
36
35
  /**
37
- * Size of the facebook button icon
38
- *
39
36
  * @uiName Facebook Icon Size
40
37
  * @uiGroup Facebook
41
38
  */
42
39
  this.facebookiconsize = 1.2;
43
40
  /**
44
- * Twitter button icon
45
- *
46
41
  * @uiName Twitter Icon
47
42
  * @uiGroup Twitter
48
43
  */
@@ -55,22 +50,16 @@ export class ShareButtonContainer {
55
50
  */
56
51
  this.twittericonhorizontal = 9;
57
52
  /**
58
- * Size of the twitter button icon
59
- *
60
53
  * @uiName Twitter Icon Size
61
54
  * @uiGroup Twitter
62
55
  */
63
56
  this.twittericonsize = 1.2;
64
57
  /**
65
- * SMS button icon
66
- *
67
58
  * @uiName SMS Icon
68
59
  * @uiGroup SMS
69
60
  */
70
61
  this.smsicon = "chat";
71
62
  /**
72
- * Color of the text inside the WhatsApp button
73
- *
74
63
  * @uiName WhatsApp Text Color
75
64
  * @uiGroup WhatsApp
76
65
  * @uiWidget color
@@ -79,8 +68,6 @@ export class ShareButtonContainer {
79
68
  */
80
69
  this.whatsapptextcolor = "#fff";
81
70
  /**
82
- * WhatsApp button icon
83
- *
84
71
  * @uiName WhatsApp Icon
85
72
  * @uiGroup WhatsApp
86
73
  */
@@ -100,29 +87,21 @@ export class ShareButtonContainer {
100
87
  */
101
88
  this.whatsappiconvertical = 2;
102
89
  /**
103
- * Size of the WhatsApp button icon
104
- *
105
90
  * @uiName WhatsApp Icon Size
106
91
  * @uiGroup WhatsApp
107
92
  */
108
93
  this.whatsappiconsize = 1.4;
109
94
  /**
110
- * Linkedin button icon
111
- *
112
95
  * @uiName Linkedin Icon
113
96
  * @uiGroup LinkedIn
114
97
  */
115
98
  this.linkedinicon = "linkedin";
116
99
  /**
117
- * Size of the Linkedin button icon
118
- *
119
100
  * @uiName Linkedin Icon Size
120
101
  * @uiGroup LinkedIn
121
102
  */
122
103
  this.linkediniconsize = 1.2;
123
104
  /**
124
- * Pinterest button icon
125
- *
126
105
  * @uiName Pinterest Icon
127
106
  * @uiGroup Pinterest
128
107
  */
@@ -142,15 +121,11 @@ export class ShareButtonContainer {
142
121
  */
143
122
  this.pinteresticonvertical = 4;
144
123
  /**
145
- * Size of the Pinterest button icon
146
- *
147
124
  * @uiName Pinterest Icon Size
148
125
  * @uiGroup Pinterest
149
126
  */
150
127
  this.pinteresticonsize = 1.2;
151
128
  /**
152
- * Messenger button icon
153
- *
154
129
  * @uiName Messenger Icon
155
130
  * @uiGroup Messenger
156
131
  */
@@ -170,15 +145,11 @@ export class ShareButtonContainer {
170
145
  */
171
146
  this.messengericonvertical = 3;
172
147
  /**
173
- * Size of the Messenger button icon
174
- *
175
148
  * @uiName Messenger Icon Size
176
149
  * @uiGroup Messenger
177
150
  */
178
151
  this.messengericonsize = 1.4;
179
152
  /**
180
- * Line button icon
181
- *
182
153
  * @uiName Line Icon
183
154
  * @uiGroup Line Messenger
184
155
  */
@@ -198,8 +169,6 @@ export class ShareButtonContainer {
198
169
  */
199
170
  this.lineiconvertical = -5;
200
171
  /**
201
- * Size of the Line button icon
202
- *
203
172
  * @uiName Line Icon Size
204
173
  * @uiGroup Line Messenger
205
174
  */
@@ -283,10 +252,13 @@ export class ShareButtonContainer {
283
252
  "optional": false,
284
253
  "docs": {
285
254
  "tags": [{
255
+ "text": undefined,
256
+ "name": "undocumented"
257
+ }, {
286
258
  "text": "Hide Share Buttons",
287
259
  "name": "uiName"
288
260
  }],
289
- "text": "Hide or show the component"
261
+ "text": ""
290
262
  },
291
263
  "attribute": "ishidden",
292
264
  "reflect": false
@@ -344,7 +316,7 @@ export class ShareButtonContainer {
344
316
  "text": "\"Email\"",
345
317
  "name": "default"
346
318
  }],
347
- "text": "Text inside the Email button"
319
+ "text": ""
348
320
  },
349
321
  "attribute": "emailtext",
350
322
  "reflect": false
@@ -408,7 +380,7 @@ export class ShareButtonContainer {
408
380
  "text": "\"#ffffff\"",
409
381
  "name": "default"
410
382
  }],
411
- "text": "Color of the text inside the Email button"
383
+ "text": ""
412
384
  },
413
385
  "attribute": "emailtextcolor",
414
386
  "reflect": false
@@ -431,7 +403,7 @@ export class ShareButtonContainer {
431
403
  "text": "Email",
432
404
  "name": "uiGroup"
433
405
  }],
434
- "text": "Email button icon"
406
+ "text": ""
435
407
  },
436
408
  "attribute": "emailicon",
437
409
  "reflect": false,
@@ -455,7 +427,7 @@ export class ShareButtonContainer {
455
427
  "text": "Email",
456
428
  "name": "uiGroup"
457
429
  }],
458
- "text": "CSS Class name used to style the Email button"
430
+ "text": "CSS class name for additional styling."
459
431
  },
460
432
  "attribute": "emailclass-name",
461
433
  "reflect": false,
@@ -525,7 +497,7 @@ export class ShareButtonContainer {
525
497
  "text": "Email",
526
498
  "name": "uiGroup"
527
499
  }],
528
- "text": "Size of the Email button icon"
500
+ "text": ""
529
501
  },
530
502
  "attribute": "emailiconsize",
531
503
  "reflect": false
@@ -583,7 +555,7 @@ export class ShareButtonContainer {
583
555
  "text": "\"Facebook\"",
584
556
  "name": "default"
585
557
  }],
586
- "text": "Text inside the facebook button"
558
+ "text": ""
587
559
  },
588
560
  "attribute": "facebooktext",
589
561
  "reflect": false
@@ -647,7 +619,7 @@ export class ShareButtonContainer {
647
619
  "text": "\"#ffffff\"",
648
620
  "name": "default"
649
621
  }],
650
- "text": "Color of the text inside the facebook button"
622
+ "text": ""
651
623
  },
652
624
  "attribute": "facebooktextcolor",
653
625
  "reflect": false
@@ -670,7 +642,7 @@ export class ShareButtonContainer {
670
642
  "text": "Facebook",
671
643
  "name": "uiGroup"
672
644
  }],
673
- "text": "Facebook button icon"
645
+ "text": ""
674
646
  },
675
647
  "attribute": "facebookicon",
676
648
  "reflect": false,
@@ -694,7 +666,7 @@ export class ShareButtonContainer {
694
666
  "text": "Facebook",
695
667
  "name": "uiGroup"
696
668
  }],
697
- "text": "CSS Class name used to style the facebook button"
669
+ "text": "CSS class name for additional styling."
698
670
  },
699
671
  "attribute": "facebookclass-name",
700
672
  "reflect": false
@@ -764,7 +736,7 @@ export class ShareButtonContainer {
764
736
  "text": "Facebook",
765
737
  "name": "uiGroup"
766
738
  }],
767
- "text": "Size of the facebook button icon"
739
+ "text": ""
768
740
  },
769
741
  "attribute": "facebookiconsize",
770
742
  "reflect": false,
@@ -823,7 +795,7 @@ export class ShareButtonContainer {
823
795
  "text": "\"Twitter\"",
824
796
  "name": "default"
825
797
  }],
826
- "text": "Text inside the twitter button"
798
+ "text": ""
827
799
  },
828
800
  "attribute": "twittertext",
829
801
  "reflect": false
@@ -887,7 +859,7 @@ export class ShareButtonContainer {
887
859
  "text": "\"#ffffff\"",
888
860
  "name": "default"
889
861
  }],
890
- "text": "Color of the text inside the twitter button"
862
+ "text": ""
891
863
  },
892
864
  "attribute": "twittertextcolor",
893
865
  "reflect": false
@@ -910,7 +882,7 @@ export class ShareButtonContainer {
910
882
  "text": "Twitter",
911
883
  "name": "uiGroup"
912
884
  }],
913
- "text": "Twitter button icon"
885
+ "text": ""
914
886
  },
915
887
  "attribute": "twittericon",
916
888
  "reflect": false,
@@ -934,7 +906,7 @@ export class ShareButtonContainer {
934
906
  "text": "Twitter",
935
907
  "name": "uiGroup"
936
908
  }],
937
- "text": "CSS Class name used to style the twitter button"
909
+ "text": "CSS class name for additional styling."
938
910
  },
939
911
  "attribute": "twitterclass-name",
940
912
  "reflect": false
@@ -1004,7 +976,7 @@ export class ShareButtonContainer {
1004
976
  "text": "Twitter",
1005
977
  "name": "uiGroup"
1006
978
  }],
1007
- "text": "Size of the twitter button icon"
979
+ "text": ""
1008
980
  },
1009
981
  "attribute": "twittericonsize",
1010
982
  "reflect": false,
@@ -1063,7 +1035,7 @@ export class ShareButtonContainer {
1063
1035
  "text": "\"SMS\"",
1064
1036
  "name": "default"
1065
1037
  }],
1066
- "text": "Text inside the SMS button"
1038
+ "text": ""
1067
1039
  },
1068
1040
  "attribute": "smstext",
1069
1041
  "reflect": false
@@ -1127,7 +1099,7 @@ export class ShareButtonContainer {
1127
1099
  "text": "\"#ffffff\"",
1128
1100
  "name": "default"
1129
1101
  }],
1130
- "text": "Color of the text inside the SMS button"
1102
+ "text": ""
1131
1103
  },
1132
1104
  "attribute": "smstextcolor",
1133
1105
  "reflect": false
@@ -1150,7 +1122,7 @@ export class ShareButtonContainer {
1150
1122
  "text": "SMS",
1151
1123
  "name": "uiGroup"
1152
1124
  }],
1153
- "text": "SMS button icon"
1125
+ "text": ""
1154
1126
  },
1155
1127
  "attribute": "smsicon",
1156
1128
  "reflect": false,
@@ -1174,7 +1146,7 @@ export class ShareButtonContainer {
1174
1146
  "text": "SMS",
1175
1147
  "name": "uiGroup"
1176
1148
  }],
1177
- "text": "CSS Class name used to style the SMS button"
1149
+ "text": "CSS class name for additional styling."
1178
1150
  },
1179
1151
  "attribute": "smsclass-name",
1180
1152
  "reflect": false
@@ -1243,7 +1215,7 @@ export class ShareButtonContainer {
1243
1215
  "text": "SMS",
1244
1216
  "name": "uiGroup"
1245
1217
  }],
1246
- "text": "Size of the SMS button icon"
1218
+ "text": ""
1247
1219
  },
1248
1220
  "attribute": "smsiconsize",
1249
1221
  "reflect": false
@@ -1301,7 +1273,7 @@ export class ShareButtonContainer {
1301
1273
  "text": "\"Whatspp\"",
1302
1274
  "name": "default"
1303
1275
  }],
1304
- "text": "Text inside the WhatsApp button"
1276
+ "text": ""
1305
1277
  },
1306
1278
  "attribute": "whatsapptext",
1307
1279
  "reflect": false
@@ -1365,7 +1337,7 @@ export class ShareButtonContainer {
1365
1337
  "text": "\"#ffffff\"",
1366
1338
  "name": "default"
1367
1339
  }],
1368
- "text": "Color of the text inside the WhatsApp button"
1340
+ "text": ""
1369
1341
  },
1370
1342
  "attribute": "whatsapptextcolor",
1371
1343
  "reflect": false,
@@ -1389,7 +1361,7 @@ export class ShareButtonContainer {
1389
1361
  "text": "WhatsApp",
1390
1362
  "name": "uiGroup"
1391
1363
  }],
1392
- "text": "WhatsApp button icon"
1364
+ "text": ""
1393
1365
  },
1394
1366
  "attribute": "whatsappicon",
1395
1367
  "reflect": false,
@@ -1413,7 +1385,7 @@ export class ShareButtonContainer {
1413
1385
  "text": "WhatsApp",
1414
1386
  "name": "uiGroup"
1415
1387
  }],
1416
- "text": "CSS Class name used to style the WhatsApp button"
1388
+ "text": "CSS class name for additional styling."
1417
1389
  },
1418
1390
  "attribute": "whatsappclass-name",
1419
1391
  "reflect": false
@@ -1484,7 +1456,7 @@ export class ShareButtonContainer {
1484
1456
  "text": "WhatsApp",
1485
1457
  "name": "uiGroup"
1486
1458
  }],
1487
- "text": "Size of the WhatsApp button icon"
1459
+ "text": ""
1488
1460
  },
1489
1461
  "attribute": "whatsappiconsize",
1490
1462
  "reflect": false,
@@ -1543,7 +1515,7 @@ export class ShareButtonContainer {
1543
1515
  "text": "\"LinkedIn\"",
1544
1516
  "name": "default"
1545
1517
  }],
1546
- "text": "Text inside the linkedin button"
1518
+ "text": ""
1547
1519
  },
1548
1520
  "attribute": "linkedintext",
1549
1521
  "reflect": false
@@ -1607,7 +1579,7 @@ export class ShareButtonContainer {
1607
1579
  "text": "\"#0084b9\"",
1608
1580
  "name": "default"
1609
1581
  }],
1610
- "text": "Color of the text inside the Linkedin button"
1582
+ "text": ""
1611
1583
  },
1612
1584
  "attribute": "linkedintextcolor",
1613
1585
  "reflect": false
@@ -1630,7 +1602,7 @@ export class ShareButtonContainer {
1630
1602
  "text": "LinkedIn",
1631
1603
  "name": "uiGroup"
1632
1604
  }],
1633
- "text": "Linkedin button icon"
1605
+ "text": ""
1634
1606
  },
1635
1607
  "attribute": "linkedinicon",
1636
1608
  "reflect": false,
@@ -1654,7 +1626,7 @@ export class ShareButtonContainer {
1654
1626
  "text": "LinkedIn",
1655
1627
  "name": "uiGroup"
1656
1628
  }],
1657
- "text": "CSS Class name used to style the Linkedin button"
1629
+ "text": "CSS class name for additional styling."
1658
1630
  },
1659
1631
  "attribute": "linkedinclass-name",
1660
1632
  "reflect": false
@@ -1723,7 +1695,7 @@ export class ShareButtonContainer {
1723
1695
  "text": "LinkedIn",
1724
1696
  "name": "uiGroup"
1725
1697
  }],
1726
- "text": "Size of the Linkedin button icon"
1698
+ "text": ""
1727
1699
  },
1728
1700
  "attribute": "linkediniconsize",
1729
1701
  "reflect": false,
@@ -1782,7 +1754,7 @@ export class ShareButtonContainer {
1782
1754
  "text": "\"Pinterest\"",
1783
1755
  "name": "default"
1784
1756
  }],
1785
- "text": "Text inside the Pinterest button"
1757
+ "text": ""
1786
1758
  },
1787
1759
  "attribute": "pinteresttext",
1788
1760
  "reflect": false
@@ -1846,7 +1818,7 @@ export class ShareButtonContainer {
1846
1818
  "text": "\"#ffffff\"",
1847
1819
  "name": "default"
1848
1820
  }],
1849
- "text": "Color of the text inside the Pinterest button"
1821
+ "text": ""
1850
1822
  },
1851
1823
  "attribute": "pinteresttextcolor",
1852
1824
  "reflect": false
@@ -1869,7 +1841,7 @@ export class ShareButtonContainer {
1869
1841
  "text": "Pinterest",
1870
1842
  "name": "uiGroup"
1871
1843
  }],
1872
- "text": "Pinterest button icon"
1844
+ "text": ""
1873
1845
  },
1874
1846
  "attribute": "pinteresticon",
1875
1847
  "reflect": false,
@@ -1893,7 +1865,7 @@ export class ShareButtonContainer {
1893
1865
  "text": "Pinterest",
1894
1866
  "name": "uiGroup"
1895
1867
  }],
1896
- "text": "CSS Class name used to style the Pinterest button"
1868
+ "text": "CSS class name for additional styling."
1897
1869
  },
1898
1870
  "attribute": "pinterestclass-name",
1899
1871
  "reflect": false
@@ -1964,7 +1936,7 @@ export class ShareButtonContainer {
1964
1936
  "text": "Pinterest",
1965
1937
  "name": "uiGroup"
1966
1938
  }],
1967
- "text": "Size of the Pinterest button icon"
1939
+ "text": ""
1968
1940
  },
1969
1941
  "attribute": "pinteresticonsize",
1970
1942
  "reflect": false,
@@ -2023,7 +1995,7 @@ export class ShareButtonContainer {
2023
1995
  "text": "\"Messenger\"",
2024
1996
  "name": "default"
2025
1997
  }],
2026
- "text": "Text inside the Messenger button"
1998
+ "text": ""
2027
1999
  },
2028
2000
  "attribute": "messengertext",
2029
2001
  "reflect": false
@@ -2087,7 +2059,7 @@ export class ShareButtonContainer {
2087
2059
  "text": "\"#ffffff\"",
2088
2060
  "name": "default"
2089
2061
  }],
2090
- "text": "Color of the text inside the Messenger button"
2062
+ "text": ""
2091
2063
  },
2092
2064
  "attribute": "messengertextcolor",
2093
2065
  "reflect": false
@@ -2110,7 +2082,7 @@ export class ShareButtonContainer {
2110
2082
  "text": "Messenger",
2111
2083
  "name": "uiGroup"
2112
2084
  }],
2113
- "text": "Messenger button icon"
2085
+ "text": ""
2114
2086
  },
2115
2087
  "attribute": "messengericon",
2116
2088
  "reflect": false,
@@ -2134,7 +2106,7 @@ export class ShareButtonContainer {
2134
2106
  "text": "Messenger",
2135
2107
  "name": "uiGroup"
2136
2108
  }],
2137
- "text": "CSS Class name used to style the Messenger button"
2109
+ "text": "CSS class name for additional styling."
2138
2110
  },
2139
2111
  "attribute": "messengerclass-name",
2140
2112
  "reflect": false
@@ -2205,7 +2177,7 @@ export class ShareButtonContainer {
2205
2177
  "text": "Messenger",
2206
2178
  "name": "uiGroup"
2207
2179
  }],
2208
- "text": "Size of the Messenger button icon"
2180
+ "text": ""
2209
2181
  },
2210
2182
  "attribute": "messengericonsize",
2211
2183
  "reflect": false,
@@ -2264,7 +2236,7 @@ export class ShareButtonContainer {
2264
2236
  "text": "\"Line Messenger\"",
2265
2237
  "name": "default"
2266
2238
  }],
2267
- "text": "Text inside the Line button"
2239
+ "text": ""
2268
2240
  },
2269
2241
  "attribute": "linetext",
2270
2242
  "reflect": false
@@ -2328,7 +2300,7 @@ export class ShareButtonContainer {
2328
2300
  "text": "\"#ffffff\"",
2329
2301
  "name": "default"
2330
2302
  }],
2331
- "text": "Color of the text inside the Line button"
2303
+ "text": ""
2332
2304
  },
2333
2305
  "attribute": "linetextcolor",
2334
2306
  "reflect": false
@@ -2351,7 +2323,7 @@ export class ShareButtonContainer {
2351
2323
  "text": "Line Messenger",
2352
2324
  "name": "uiGroup"
2353
2325
  }],
2354
- "text": "Line button icon"
2326
+ "text": ""
2355
2327
  },
2356
2328
  "attribute": "lineicon",
2357
2329
  "reflect": false,
@@ -2375,7 +2347,7 @@ export class ShareButtonContainer {
2375
2347
  "text": "Line Messenger",
2376
2348
  "name": "uiGroup"
2377
2349
  }],
2378
- "text": "CSS Class name used to style the Line button"
2350
+ "text": "CSS class name for additional styling."
2379
2351
  },
2380
2352
  "attribute": "lineclass-name",
2381
2353
  "reflect": false
@@ -2446,7 +2418,7 @@ export class ShareButtonContainer {
2446
2418
  "text": "Line Messenger",
2447
2419
  "name": "uiGroup"
2448
2420
  }],
2449
- "text": "Size of the Line button icon"
2421
+ "text": ""
2450
2422
  },
2451
2423
  "attribute": "lineiconsize",
2452
2424
  "reflect": false,
@@ -2,6 +2,12 @@ import { h, Component, Prop, Event, Element, Watch, } from "@stencil/core";
2
2
  import { css } from "emotion";
3
3
  /**
4
4
  * @uiName Stat Component
5
+ * @canvasRenderer always-replace
6
+ * @exampleGroup Statistics
7
+ * @example Referral Count - <sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component>
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
+ * @example Points Earned - <sqh-stat-component statcolor="#000000" stattype="/rewardBalance/CREDIT/POINT/totalAssignedCredit" statdescription="Points Earned" paddingtop="10" paddingbottom="10"></sqh-stat-component>
5
11
  */
6
12
  export class StatComponent {
7
13
  componentWillLoad() {
@@ -45,10 +51,13 @@ export class StatComponent {
45
51
  "optional": false,
46
52
  "docs": {
47
53
  "tags": [{
48
- "text": "Hide Stat",
54
+ "text": undefined,
55
+ "name": "undocumented"
56
+ }, {
57
+ "text": "Hide Component",
49
58
  "name": "uiName"
50
59
  }],
51
- "text": "Hide or show the component"
60
+ "text": ""
52
61
  },
53
62
  "attribute": "ishidden",
54
63
  "reflect": false
@@ -73,6 +82,9 @@ export class StatComponent {
73
82
  }, {
74
83
  "text": undefined,
75
84
  "name": "required"
85
+ }, {
86
+ "text": "1",
87
+ "name": "minLength"
76
88
  }],
77
89
  "text": "Type of stat being displayed. e.g /rewardsCount"
78
90
  },
@@ -91,10 +103,13 @@ export class StatComponent {
91
103
  "optional": false,
92
104
  "docs": {
93
105
  "tags": [{
106
+ "text": undefined,
107
+ "name": "undocumented"
108
+ }, {
94
109
  "text": "Stat Value",
95
110
  "name": "uiName"
96
111
  }],
97
- "text": "Value shown inside stat"
112
+ "text": ""
98
113
  },
99
114
  "attribute": "statvalue",
100
115
  "reflect": false
@@ -111,10 +126,10 @@ export class StatComponent {
111
126
  "optional": false,
112
127
  "docs": {
113
128
  "tags": [{
114
- "text": "Stat Description",
129
+ "text": "Description",
115
130
  "name": "uiName"
116
131
  }],
117
- "text": "Description shown underneath stat value"
132
+ "text": "Text shown underneath the stat value"
118
133
  },
119
134
  "attribute": "statdescription",
120
135
  "reflect": false
@@ -131,7 +146,7 @@ export class StatComponent {
131
146
  "optional": false,
132
147
  "docs": {
133
148
  "tags": [{
134
- "text": "Stat Color",
149
+ "text": "Color",
135
150
  "name": "uiName"
136
151
  }, {
137
152
  "text": "color",
@@ -140,7 +155,7 @@ export class StatComponent {
140
155
  "text": "color",
141
156
  "name": "format"
142
157
  }],
143
- "text": "Text color of the stat"
158
+ "text": ""
144
159
  },
145
160
  "attribute": "statcolor",
146
161
  "reflect": false