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

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} +1182 -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 +22 -28
  13. package/dist/collection/components/copy-link-button/copy-link-button.js +16 -16
  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 +9 -20
  17. package/dist/collection/components/image-component/image-component.js +13 -12
  18. package/dist/collection/components/partner-stat-component/partner-stat-component.js +20 -9
  19. package/dist/collection/components/progress-indicator/progress-indicator.css +73 -0
  20. package/dist/collection/components/progress-indicator/progress-indicator.js +557 -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 +70 -88
  24. package/dist/collection/components/rewards-actions/rewards-actions.js +1 -0
  25. package/dist/collection/components/share-button/share-button.js +4 -12
  26. package/dist/collection/components/share-button-container/share-button-container.js +90 -173
  27. package/dist/collection/components/stat-component/stat-component.js +22 -10
  28. package/dist/collection/components/stats-container/stats-container.js +15 -9
  29. package/dist/collection/components/text-component/text-component.js +42 -17
  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} +1181 -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} +1073 -56
  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 +14 -28
  51. package/dist/types/components/copy-link-button/copy-link-button.d.ts +10 -16
  52. package/dist/types/components/cta-component/cta-component.d.ts +88 -0
  53. package/dist/types/components/global-container/global-container.d.ts +7 -14
  54. package/dist/types/components/image-component/image-component.d.ts +8 -13
  55. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +12 -9
  56. package/dist/types/components/progress-indicator/progress-indicator.d.ts +96 -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 +63 -77
  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 -7
  62. package/dist/types/components/share-button-container/share-button-container.d.ts +49 -137
  63. package/dist/types/components/stat-component/stat-component.d.ts +13 -11
  64. package/dist/types/components/stats-container/stats-container.d.ts +10 -7
  65. package/dist/types/components/text-component/text-component.d.ts +17 -21
  66. package/dist/types/components.d.ts +634 -542
  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-0e55cfb5.system.entry.js +10 -0
  70. package/dist/widget-components/p-0ec230df.entry.js +233 -0
  71. package/dist/widget-components/{p-44a6559d.js → p-17d80384.js} +1 -1
  72. package/dist/widget-components/{p-54ea7a00.entry.js → p-3ba562d0.entry.js} +1 -1
  73. package/dist/widget-components/{p-366f1663.entry.js → p-4293e873.entry.js} +1 -1
  74. package/dist/widget-components/{p-8e232564.system.js → p-54e83dfb.system.js} +2 -2
  75. package/dist/widget-components/{p-e2b4739f.system.entry.js → p-665b8d42.system.entry.js} +1 -1
  76. package/dist/widget-components/{p-edd43dbc.js → p-6e753d23.js} +68 -3
  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
@@ -1,10 +1,12 @@
1
1
  /**
2
2
  * @uiName Share Button Container
3
+ * @canvasRenderer always-replace
4
+ * @exampleGroup Sharing
5
+ * @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>
3
6
  */
4
7
  export declare class ShareButtonContainer {
5
8
  /**
6
- * Hide or show the component
7
- *
9
+ * @undocumented
8
10
  * @uiName Hide Share Buttons
9
11
  */
10
12
  ishidden: boolean;
@@ -15,15 +17,13 @@ export declare class ShareButtonContainer {
15
17
  * @uiGroup Email
16
18
  * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
17
19
  * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
18
- * @default "mobile-and-desktop"
20
+ * @default mobile-and-desktop
19
21
  */
20
22
  emaildisplayrule: string;
21
23
  /**
22
- * Text inside the Email button
23
- *
24
24
  * @uiName Email Text
25
25
  * @uiGroup Email
26
- * @default "Email"
26
+ * @default Email
27
27
  */
28
28
  emailtext: string;
29
29
  /**
@@ -32,29 +32,23 @@ export declare class ShareButtonContainer {
32
32
  * @uiName Email Background Color
33
33
  * @uiGroup Email
34
34
  * @uiWidget color
35
- * @format color
36
- * @default "#4b4d50"
35
+ * @default #4b4d50
37
36
  */
38
37
  emailbackgroundcolor: string;
39
38
  /**
40
- * Color of the text inside the Email button
41
- *
42
39
  * @uiName Email Text Color
43
40
  * @uiGroup Email
44
41
  * @uiWidget color
45
- * @format color
46
- * @default "#ffffff"
42
+ * @default #ffffff
47
43
  */
48
44
  emailtextcolor: string;
49
45
  /**
50
- * Email button icon
51
- *
52
46
  * @uiName Email Icon
53
47
  * @uiGroup Email
54
48
  */
55
49
  emailicon: string;
56
50
  /**
57
- * CSS Class name used to style the Email button
51
+ * CSS class name for additional styling.
58
52
  *
59
53
  * @uiName Email Class Name
60
54
  * @uiGroup Email
@@ -75,8 +69,6 @@ export declare class ShareButtonContainer {
75
69
  */
76
70
  emailiconvertical: number;
77
71
  /**
78
- * Size of the Email button icon
79
- *
80
72
  * @uiName Email Icon Size
81
73
  * @uiGroup Email
82
74
  */
@@ -89,15 +81,13 @@ export declare class ShareButtonContainer {
89
81
  * @uiGroup Facebook
90
82
  * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
91
83
  * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
92
- * @default "mobile-and-desktop"
84
+ * @default mobile-and-desktop
93
85
  */
94
86
  facebookdisplayrule: string;
95
87
  /**
96
- * Text inside the facebook button
97
- *
98
88
  * @uiName Facebook Text
99
89
  * @uiGroup Facebook
100
- * @default "Facebook"
90
+ * @default Facebook
101
91
  */
102
92
  facebooktext: string;
103
93
  /**
@@ -106,29 +96,23 @@ export declare class ShareButtonContainer {
106
96
  * @uiName Facebook Background Color
107
97
  * @uiGroup Facebook
108
98
  * @uiWidget color
109
- * @format color
110
- * @default "#234079"
99
+ * @default #234079
111
100
  */
112
101
  facebookbackgroundcolor: string;
113
102
  /**
114
- * Color of the text inside the facebook button
115
- *
116
103
  * @uiName Facebook Text Color
117
104
  * @uiGroup Facebook
118
105
  * @uiWidget color
119
- * @format color
120
- * @default "#ffffff"
106
+ * @default #ffffff
121
107
  */
122
108
  facebooktextcolor: string;
123
109
  /**
124
- * Facebook button icon
125
- *
126
110
  * @uiName Facebook Icon
127
111
  * @uiGroup Facebook
128
112
  */
129
113
  facebookicon: string;
130
114
  /**
131
- * CSS Class name used to style the facebook button
115
+ * CSS class name for additional styling.
132
116
  *
133
117
  * @uiName Facebook Class Name
134
118
  * @uiGroup Facebook
@@ -149,8 +133,6 @@ export declare class ShareButtonContainer {
149
133
  */
150
134
  facebookiconvertical: number;
151
135
  /**
152
- * Size of the facebook button icon
153
- *
154
136
  * @uiName Facebook Icon Size
155
137
  * @uiGroup Facebook
156
138
  */
@@ -163,15 +145,13 @@ export declare class ShareButtonContainer {
163
145
  * @uiGroup Twitter
164
146
  * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
165
147
  * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
166
- * @default "mobile-and-desktop"
148
+ * @default mobile-and-desktop
167
149
  */
168
150
  twitterdisplayrule: string;
169
151
  /**
170
- * Text inside the twitter button
171
- *
172
152
  * @uiName Twitter Text
173
153
  * @uiGroup Twitter
174
- * @default "Twitter"
154
+ * @default Twitter
175
155
  */
176
156
  twittertext: string;
177
157
  /**
@@ -180,29 +160,23 @@ export declare class ShareButtonContainer {
180
160
  * @uiName Twitter Background Color
181
161
  * @uiGroup Twitter
182
162
  * @uiWidget color
183
- * @format color
184
- * @default "#4797d2"
163
+ * @default #4797d2
185
164
  */
186
165
  twitterbackgroundcolor: string;
187
166
  /**
188
- * Color of the text inside the twitter button
189
- *
190
167
  * @uiName Twitter Text Color
191
168
  * @uiGroup Twitter
192
169
  * @uiWidget color
193
- * @format color
194
- * @default "#ffffff"
170
+ * @default #ffffff
195
171
  */
196
172
  twittertextcolor: string;
197
173
  /**
198
- * Twitter button icon
199
- *
200
174
  * @uiName Twitter Icon
201
175
  * @uiGroup Twitter
202
176
  */
203
177
  twittericon: string;
204
178
  /**
205
- * CSS Class name used to style the twitter button
179
+ * CSS class name for additional styling.
206
180
  *
207
181
  * @uiName Twitter Class Name
208
182
  * @uiGroup Twitter
@@ -223,8 +197,6 @@ export declare class ShareButtonContainer {
223
197
  */
224
198
  twittericonvertical: number;
225
199
  /**
226
- * Size of the twitter button icon
227
- *
228
200
  * @uiName Twitter Icon Size
229
201
  * @uiGroup Twitter
230
202
  */
@@ -237,15 +209,13 @@ export declare class ShareButtonContainer {
237
209
  * @uiGroup SMS
238
210
  * @uiEnum ["mobile-only","hidden"]
239
211
  * @uiEnumNames ["Mobile Only","Hide"]
240
- * @default "mobile-only"
212
+ * @default mobile-only
241
213
  */
242
214
  smsdisplayrule: string;
243
215
  /**
244
- * Text inside the SMS button
245
- *
246
216
  * @uiName SMS Text
247
217
  * @uiGroup SMS
248
- * @default "SMS"
218
+ * @default SMS
249
219
  */
250
220
  smstext: string;
251
221
  /**
@@ -254,29 +224,23 @@ export declare class ShareButtonContainer {
254
224
  * @uiName SMS Background Color
255
225
  * @uiGroup SMS
256
226
  * @uiWidget color
257
- * @format color
258
- * @default "#7bbf38"
227
+ * @default #7bbf38
259
228
  */
260
229
  smsbackgroundcolor: string;
261
230
  /**
262
- * Color of the text inside the SMS button
263
- *
264
231
  * @uiName SMS Text Color
265
232
  * @uiGroup SMS
266
233
  * @uiWidget color
267
- * @format color
268
- * @default "#ffffff"
234
+ * @default #ffffff
269
235
  */
270
236
  smstextcolor: string;
271
237
  /**
272
- * SMS button icon
273
- *
274
238
  * @uiName SMS Icon
275
239
  * @uiGroup SMS
276
240
  */
277
241
  smsicon: string;
278
242
  /**
279
- * CSS Class name used to style the SMS button
243
+ * CSS class name for additional styling.
280
244
  *
281
245
  * @uiName SMS Class Name
282
246
  * @uiGroup SMS
@@ -297,8 +261,6 @@ export declare class ShareButtonContainer {
297
261
  */
298
262
  smsiconvertical: number;
299
263
  /**
300
- * Size of the SMS button icon
301
- *
302
264
  * @uiName SMS Icon Size
303
265
  * @uiGroup SMS
304
266
  */
@@ -311,15 +273,13 @@ export declare class ShareButtonContainer {
311
273
  * @uiGroup WhatsApp
312
274
  * @uiEnum ["mobile-only","hidden"]
313
275
  * @uiEnumNames ["Mobile Only","Hide"]
314
- * @default "mobile-only"
276
+ * @default mobile-only
315
277
  */
316
278
  whatsappdisplayrule: string;
317
279
  /**
318
- * Text inside the WhatsApp button
319
- *
320
280
  * @uiName WhatsApp Text
321
281
  * @uiGroup WhatsApp
322
- * @default "Whatspp"
282
+ * @default Whatspp
323
283
  */
324
284
  whatsapptext: string;
325
285
  /**
@@ -328,29 +288,23 @@ export declare class ShareButtonContainer {
328
288
  * @uiName WhatsApp Background Color
329
289
  * @uiGroup WhatsApp
330
290
  * @uiWidget color
331
- * @format color
332
- * @default "#25D366"
291
+ * @default #25D366
333
292
  */
334
293
  whatsappbackgroundcolor: string;
335
294
  /**
336
- * Color of the text inside the WhatsApp button
337
- *
338
295
  * @uiName WhatsApp Text Color
339
296
  * @uiGroup WhatsApp
340
297
  * @uiWidget color
341
- * @format color
342
- * @default "#ffffff"
298
+ * @default #ffffff
343
299
  */
344
300
  whatsapptextcolor: string;
345
301
  /**
346
- * WhatsApp button icon
347
- *
348
302
  * @uiName WhatsApp Icon
349
303
  * @uiGroup WhatsApp
350
304
  */
351
305
  whatsappicon: string;
352
306
  /**
353
- * CSS Class name used to style the WhatsApp button
307
+ * CSS class name for additional styling.
354
308
  *
355
309
  * @uiName WhatsApp Class Name
356
310
  * @uiGroup WhatsApp
@@ -371,8 +325,6 @@ export declare class ShareButtonContainer {
371
325
  */
372
326
  whatsappiconvertical: number;
373
327
  /**
374
- * Size of the WhatsApp button icon
375
- *
376
328
  * @uiName WhatsApp Icon Size
377
329
  * @uiGroup WhatsApp
378
330
  */
@@ -385,15 +337,13 @@ export declare class ShareButtonContainer {
385
337
  * @uiGroup LinkedIn
386
338
  * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
387
339
  * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
388
- * @default "hidden"
340
+ * @default hidden
389
341
  */
390
342
  linkedindisplayrule: string;
391
343
  /**
392
- * Text inside the linkedin button
393
- *
394
344
  * @uiName Linkedin Text
395
345
  * @uiGroup LinkedIn
396
- * @default "LinkedIn"
346
+ * @default LinkedIn
397
347
  */
398
348
  linkedintext: string;
399
349
  /**
@@ -402,29 +352,23 @@ export declare class ShareButtonContainer {
402
352
  * @uiName Linkedin Background Color
403
353
  * @uiGroup LinkedIn
404
354
  * @uiWidget color
405
- * @format color
406
- * @default "#ffffff"
355
+ * @default #ffffff
407
356
  */
408
357
  linkedinbackgroundcolor: string;
409
358
  /**
410
- * Color of the text inside the Linkedin button
411
- *
412
359
  * @uiName Linkedin Text Color
413
360
  * @uiGroup LinkedIn
414
361
  * @uiWidget color
415
- * @format color
416
- * @default "#0084b9"
362
+ * @default #0084b9
417
363
  */
418
364
  linkedintextcolor: string;
419
365
  /**
420
- * Linkedin button icon
421
- *
422
366
  * @uiName Linkedin Icon
423
367
  * @uiGroup LinkedIn
424
368
  */
425
369
  linkedinicon: string;
426
370
  /**
427
- * CSS Class name used to style the Linkedin button
371
+ * CSS class name for additional styling.
428
372
  *
429
373
  * @uiName Linkedin Class Name
430
374
  * @uiGroup LinkedIn
@@ -445,8 +389,6 @@ export declare class ShareButtonContainer {
445
389
  */
446
390
  linkediniconvertical: number;
447
391
  /**
448
- * Size of the Linkedin button icon
449
- *
450
392
  * @uiName Linkedin Icon Size
451
393
  * @uiGroup LinkedIn
452
394
  */
@@ -459,15 +401,13 @@ export declare class ShareButtonContainer {
459
401
  * @uiGroup Pinterest
460
402
  * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
461
403
  * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
462
- * @default "hidden"
404
+ * @default hidden
463
405
  */
464
406
  pinterestdisplayrule: string;
465
407
  /**
466
- * Text inside the Pinterest button
467
- *
468
408
  * @uiName Pinterest Text
469
409
  * @uiGroup Pinterest
470
- * @default "Pinterest"
410
+ * @default Pinterest
471
411
  */
472
412
  pinteresttext: string;
473
413
  /**
@@ -476,29 +416,23 @@ export declare class ShareButtonContainer {
476
416
  * @uiName Pinterest Background Color
477
417
  * @uiGroup Pinterest
478
418
  * @uiWidget color
479
- * @format color
480
- * @default "#cb2027"
419
+ * @default #cb2027
481
420
  */
482
421
  pinterestbackgroundcolor: string;
483
422
  /**
484
- * Color of the text inside the Pinterest button
485
- *
486
423
  * @uiName Pinterest Text Color
487
424
  * @uiGroup Pinterest
488
425
  * @uiWidget color
489
- * @format color
490
- * @default "#ffffff"
426
+ * @default #ffffff
491
427
  */
492
428
  pinteresttextcolor: string;
493
429
  /**
494
- * Pinterest button icon
495
- *
496
430
  * @uiName Pinterest Icon
497
431
  * @uiGroup Pinterest
498
432
  */
499
433
  pinteresticon: string;
500
434
  /**
501
- * CSS Class name used to style the Pinterest button
435
+ * CSS class name for additional styling.
502
436
  *
503
437
  * @uiName Pinterest Class Name
504
438
  * @uiGroup Pinterest
@@ -519,8 +453,6 @@ export declare class ShareButtonContainer {
519
453
  */
520
454
  pinteresticonvertical: number;
521
455
  /**
522
- * Size of the Pinterest button icon
523
- *
524
456
  * @uiName Pinterest Icon Size
525
457
  * @uiGroup Pinterest
526
458
  */
@@ -533,15 +465,13 @@ export declare class ShareButtonContainer {
533
465
  * @uiGroup Messenger
534
466
  * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
535
467
  * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
536
- * @default "hidden"
468
+ * @default hidden
537
469
  */
538
470
  messengerdisplayrule: string;
539
471
  /**
540
- * Text inside the Messenger button
541
- *
542
472
  * @uiName Messenger Text
543
473
  * @uiGroup Messenger
544
- * @default "Messenger"
474
+ * @default Messenger
545
475
  */
546
476
  messengertext: string;
547
477
  /**
@@ -550,29 +480,23 @@ export declare class ShareButtonContainer {
550
480
  * @uiName Messenger Background Color
551
481
  * @uiGroup Messenger
552
482
  * @uiWidget color
553
- * @format color
554
- * @default "#0084ff"
483
+ * @default #0084ff
555
484
  */
556
485
  messengerbackgroundcolor: string;
557
486
  /**
558
- * Color of the text inside the Messenger button
559
- *
560
487
  * @uiName Messenger Text Color
561
488
  * @uiGroup Messenger
562
489
  * @uiWidget color
563
- * @format color
564
- * @default "#ffffff"
490
+ * @default #ffffff
565
491
  */
566
492
  messengertextcolor: string;
567
493
  /**
568
- * Messenger button icon
569
- *
570
494
  * @uiName Messenger Icon
571
495
  * @uiGroup Messenger
572
496
  */
573
497
  messengericon: string;
574
498
  /**
575
- * CSS Class name used to style the Messenger button
499
+ * CSS class name for additional styling.
576
500
  *
577
501
  * @uiName Messenger Class Name
578
502
  * @uiGroup Messenger
@@ -593,8 +517,6 @@ export declare class ShareButtonContainer {
593
517
  */
594
518
  messengericonvertical: number;
595
519
  /**
596
- * Size of the Messenger button icon
597
- *
598
520
  * @uiName Messenger Icon Size
599
521
  * @uiGroup Messenger
600
522
  */
@@ -607,15 +529,13 @@ export declare class ShareButtonContainer {
607
529
  * @uiGroup Line Messenger
608
530
  * @uiEnum ["mobile-only","hidden"]
609
531
  * @uiEnumNames ["Mobile Only","Hide"]
610
- * @default "mobile-only"
532
+ * @default mobile-only
611
533
  */
612
534
  linedisplayrule: string;
613
535
  /**
614
- * Text inside the Line button
615
- *
616
536
  * @uiName Line Text
617
537
  * @uiGroup Line Messenger
618
- * @default "Line Messenger"
538
+ * @default Line Messenger
619
539
  */
620
540
  linetext: string;
621
541
  /**
@@ -624,29 +544,23 @@ export declare class ShareButtonContainer {
624
544
  * @uiName Line Background Color
625
545
  * @uiGroup Line Messenger
626
546
  * @uiWidget color
627
- * @format color
628
- * @default "#00c300"
547
+ * @default #00c300
629
548
  */
630
549
  linebackgroundcolor: string;
631
550
  /**
632
- * Color of the text inside the Line button
633
- *
634
551
  * @uiName Line Text Color
635
552
  * @uiGroup Line Messenger
636
553
  * @uiWidget color
637
- * @format color
638
- * @default "#ffffff"
554
+ * @default #ffffff
639
555
  */
640
556
  linetextcolor: string;
641
557
  /**
642
- * Line button icon
643
- *
644
558
  * @uiName Line Icon
645
559
  * @uiGroup Line Messenger
646
560
  */
647
561
  lineicon: string;
648
562
  /**
649
- * CSS Class name used to style the Line button
563
+ * CSS class name for additional styling.
650
564
  *
651
565
  * @uiName Line Class Name
652
566
  * @uiGroup Line Messenger
@@ -667,8 +581,6 @@ export declare class ShareButtonContainer {
667
581
  */
668
582
  lineiconvertical: number;
669
583
  /**
670
- * Size of the Line button icon
671
- *
672
584
  * @uiName Line Icon Size
673
585
  * @uiGroup Line Messenger
674
586
  */
@@ -1,13 +1,18 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
2
  /**
3
3
  * @uiName Stat Component
4
+ * @canvasRenderer always-replace
5
+ * @exampleGroup Statistics
6
+ * @example Referral Count - <sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component>
7
+ * @example Reward Count - <sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component>
8
+ * @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>
9
+ * @example Points Earned - <sqh-stat-component statcolor="#000000" stattype="/rewardBalance/CREDIT/POINT/totalAssignedCredit" statdescription="Points Earned" paddingtop="10" paddingbottom="10"></sqh-stat-component>
4
10
  */
5
11
  export declare class StatComponent {
6
12
  elem: HTMLElement;
7
13
  /**
8
- * Hide or show the component
9
- *
10
- * @uiName Hide Stat
14
+ * @undocumented
15
+ * @uiName Hide Component
11
16
  */
12
17
  ishidden: boolean;
13
18
  /**
@@ -15,26 +20,23 @@ export declare class StatComponent {
15
20
  * @uiName Stat Type
16
21
  * @uiWidget statTypeSelector
17
22
  * @required
23
+ * @minLength 1
18
24
  */
19
25
  stattype: string;
20
26
  /**
21
- * Value shown inside stat
22
- *
27
+ * @undocumented
23
28
  * @uiName Stat Value
24
29
  */
25
30
  statvalue: string;
26
31
  /**
27
- * Description shown underneath stat value
32
+ * Text shown underneath the stat value
28
33
  *
29
- * @uiName Stat Description
34
+ * @uiName Description
30
35
  */
31
36
  statdescription: string;
32
37
  /**
33
- * Text color of the stat
34
- *
35
- * @uiName Stat Color
38
+ * @uiName Color
36
39
  * @uiWidget color
37
- * @format color
38
40
  */
39
41
  statcolor: string;
40
42
  statTypeUpdated: EventEmitter;
@@ -1,27 +1,30 @@
1
1
  /**
2
2
  * @uiName Stats Container
3
+ * @canvasRenderer always-replace
3
4
  * @slots [{"name":"","title":"Stats"}]
5
+ * @exampleGroup Statistics
6
+ * @example Referral Stat Group - <sqh-stats-container ishidden="false" paddingtop="0" paddingbottom="0"><sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CENTS/prettyAssignedCredit" statdescription="Credit earned" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component></sqh-stats-container>
7
+ * @example Partner Stat Group - <sqh-stats-container ishidden="false" paddingtop="0" paddingbottom="0"><sqh-partner-stat-component ishidden="false" statcolor="#000000" stattype="/rewardBalance/CREDIT/CASH_CAD/prettyPendingCredit" statdescription="Pending Balance" paddingtop="10" paddingbottom="10"></sqh-partner-stat-component><sqh-partner-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CASH_CAD/prettyValue" statdescription="Available Balance" paddingtop="10" paddingbottom="10" statcolor="#4caf50"></sqh-partner-stat-component><sqh-partner-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CASH_CAD/prettyRedeemedCredit" statdescription="Redeemed Balance" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-partner-stat-component></sqh-stats-container>
4
8
  */
5
9
  export declare class StatsContainer {
6
10
  container: HTMLElement;
7
11
  /**
8
- * Hide the component
9
- *
10
- * @uiName Is Hidden
12
+ * @undocumented
13
+ * @uiName Hide stats
11
14
  */
12
15
  ishidden: boolean;
13
16
  /**
14
- * Configure the padding top of the container
17
+ * Define the bottom padding of the container with a pixel amount.
15
18
  *
16
19
  * @uiName Padding Top
17
- * @default "0"
20
+ * @default 0
18
21
  */
19
22
  paddingtop: string;
20
23
  /**
21
- * Configure the padding bottom of the container
24
+ * Define the top padding of the container with a pixel amount.
22
25
  *
23
26
  * @uiName Padding Bottom
24
- * @default "0"
27
+ * @default 0
25
28
  */
26
29
  paddingbottom: string;
27
30
  loading: boolean;