@saasquatch/vanilla-components 1.3.0-2 → 1.4.0

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/LICENSE +21 -21
  2. package/dist/cjs/{WidgetHost-d7b870ce.js → WidgetHost-71b013eb.js} +615 -615
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/sqh-close-button.cjs.entry.js +25 -25
  5. package/dist/cjs/sqh-copy-button_12.cjs.entry.js +1015 -1148
  6. package/dist/cjs/sqh-referral-code.cjs.entry.js +22 -22
  7. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +26 -26
  8. package/dist/cjs/widget-components.cjs.js +1 -1
  9. package/dist/collection/components/close-button/close-button.js +68 -67
  10. package/dist/collection/components/copy-button/copy-button.js +380 -332
  11. package/dist/collection/components/copy-link-button/copy-link-button.js +230 -203
  12. package/dist/collection/components/global-container/global-container.js +158 -144
  13. package/dist/collection/components/image-component/image-component.js +175 -153
  14. package/dist/collection/components/partner-stat-component/partner-stat-component.js +196 -173
  15. package/dist/collection/components/referral-code/referral-code.js +36 -33
  16. package/dist/collection/components/referral-component/referral-component.js +255 -254
  17. package/dist/collection/components/referral-list/referral-list.js +911 -818
  18. package/dist/collection/components/rewards-actions/rewards-actions.js +105 -104
  19. package/dist/collection/components/share-button/share-button.js +301 -291
  20. package/dist/collection/components/share-button-container/share-button-container.js +2384 -2194
  21. package/dist/collection/components/stat-component/stat-component.js +196 -173
  22. package/dist/collection/components/stats-container/stats-container.js +210 -197
  23. package/dist/collection/components/text-component/text-component.js +304 -264
  24. package/dist/collection/entrypoint.js +34 -32
  25. package/dist/collection/global/global.js +4 -4
  26. package/dist/collection/services/FormatJs.js +15 -15
  27. package/dist/collection/services/WidgetHost.js +621 -621
  28. package/dist/collection/utilities.js +81 -81
  29. package/dist/esm/{WidgetHost-a27e693d.js → WidgetHost-9c337319.js} +615 -615
  30. package/dist/esm/loader.mjs +1 -1
  31. package/dist/esm/polyfills/core-js.js +0 -0
  32. package/dist/esm/polyfills/dom.js +0 -0
  33. package/dist/esm/polyfills/es5-html-element.js +0 -0
  34. package/dist/esm/polyfills/index.js +0 -0
  35. package/dist/esm/polyfills/system.js +0 -0
  36. package/dist/esm/sqh-close-button.entry.js +25 -25
  37. package/dist/esm/sqh-copy-button_12.entry.js +1015 -1148
  38. package/dist/esm/sqh-referral-code.entry.js +22 -22
  39. package/dist/esm/sqh-rewards-actions.entry.js +26 -26
  40. package/dist/esm/widget-components.mjs +1 -1
  41. package/dist/esm-es5/{WidgetHost-a27e693d.js → WidgetHost-9c337319.js} +9432 -9432
  42. package/dist/esm-es5/_commonjsHelpers-1d681858.js +17 -17
  43. package/dist/esm-es5/css-shim-a659079f.js +122 -122
  44. package/dist/esm-es5/dom-4061ceba.js +468 -468
  45. package/dist/esm-es5/en-be593af0.js +1471 -1471
  46. package/dist/esm-es5/index-8ea8b6d8.js +1758 -1758
  47. package/dist/esm-es5/loader.mjs +11 -11
  48. package/dist/esm-es5/sqh-close-button.entry.js +35 -35
  49. package/dist/esm-es5/sqh-copy-button_12.entry.js +9535 -9657
  50. package/dist/esm-es5/sqh-referral-code.entry.js +29 -29
  51. package/dist/esm-es5/sqh-rewards-actions.entry.js +31 -31
  52. package/dist/esm-es5/widget-components.mjs +6 -6
  53. package/dist/types/components/close-button/close-button.d.ts +16 -15
  54. package/dist/types/components/copy-button/copy-button.d.ts +90 -86
  55. package/dist/types/components/copy-link-button/copy-link-button.d.ts +53 -50
  56. package/dist/types/components/global-container/global-container.d.ts +39 -37
  57. package/dist/types/components/image-component/image-component.d.ts +45 -42
  58. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +51 -44
  59. package/dist/types/components/referral-code/referral-code.d.ts +12 -9
  60. package/dist/types/components/referral-component/referral-component.d.ts +46 -45
  61. package/dist/types/components/referral-list/referral-list.d.ts +234 -211
  62. package/dist/types/components/rewards-actions/rewards-actions.d.ts +25 -24
  63. package/dist/types/components/share-button/share-button.d.ts +77 -75
  64. package/dist/types/components/share-button-container/share-button-container.d.ts +593 -591
  65. package/dist/types/components/stat-component/stat-component.d.ts +48 -44
  66. package/dist/types/components/stats-container/stats-container.d.ts +47 -41
  67. package/dist/types/components/text-component/text-component.d.ts +74 -73
  68. package/dist/types/components.d.ts +722 -536
  69. package/dist/types/global/global.d.ts +4 -4
  70. package/dist/types/saasquatch.d.ts +105 -103
  71. package/dist/types/services/FormatJs.d.ts +7 -7
  72. package/dist/types/services/WidgetHost.d.ts +45 -45
  73. package/dist/types/utilities.d.ts +7 -7
  74. package/dist/widget-components/entrypoint.js +34 -32
  75. package/dist/widget-components/p-24fc4ba9.js +1 -1
  76. package/dist/widget-components/{p-d4b27c72.entry.js → p-366f1663.entry.js} +1 -1
  77. package/dist/widget-components/p-46109683.js +3 -3
  78. package/dist/widget-components/{p-650d012d.entry.js → p-54ea7a00.entry.js} +1 -1
  79. package/dist/widget-components/p-58be1132.system.js +1 -1
  80. package/dist/widget-components/{p-d7059393.entry.js → p-95fe9766.entry.js} +17 -16
  81. package/dist/widget-components/{p-c0cdba77.system.entry.js → p-b17efca4.system.entry.js} +1 -1
  82. package/dist/widget-components/p-c8bc8c77.system.entry.js +1 -0
  83. package/dist/widget-components/p-d1f56be8.system.entry.js +8 -0
  84. package/dist/widget-components/widget-components.esm.js +1 -1
  85. package/docs/raisins.json +1 -1
  86. package/package.json +97 -94
  87. package/readme.md +52 -52
  88. package/CHANGELOG.md +0 -143
  89. package/dist/widget-components/p-908068c2.system.entry.js +0 -1
  90. package/dist/widget-components/p-fba5ea7f.system.entry.js +0 -8
  91. /package/dist/widget-components/{p-9adc7c50.system.js → p-8e232564.system.js} +0 -0
  92. /package/dist/widget-components/{p-9525bf4a.js → p-edd43dbc.js} +0 -0
@@ -1,591 +1,593 @@
1
- /**
2
- * @uiName Share Button Container
3
- */
4
- export declare class ShareButtonContainer {
5
- /**
6
- * Hide or show the component
7
- *
8
- * @uiName Hide Share Buttons
9
- */
10
- ishidden: boolean;
11
- /**
12
- * Show and hide button depending on what type of device the user is on
13
- *
14
- * @uiName Email Display Rule
15
- * @uiGroup emailButton
16
- */
17
- emaildisplayrule: string;
18
- /**
19
- * Text inside the Email button
20
- *
21
- * @uiName Email Text
22
- * @uiGroup emailButton
23
- */
24
- emailtext: string;
25
- /**
26
- * Background color of the Email button
27
- *
28
- * @uiName Email Background Color
29
- * @uiGroup emailButton
30
- */
31
- emailbackgroundcolor: string;
32
- /**
33
- * Color of the text inside the Email button
34
- *
35
- * @uiName Email Text Color
36
- * @uiGroup emailButton
37
- */
38
- emailtextcolor: string;
39
- /**
40
- * Email button icon
41
- *
42
- * @uiName Email Icon
43
- * @uiGroup emailButton
44
- */
45
- emailicon: string;
46
- /**
47
- * CSS Class name used to style the Email button
48
- *
49
- * @uiName Email Class Name
50
- * @uiGroup emailButton
51
- */
52
- emailclassName: string;
53
- /**
54
- * Number to horizontally align the Email button icon
55
- *
56
- * @uiName Email Icon Horizontal
57
- * @uiGroup emailButton
58
- */
59
- emailiconhorizontal: number;
60
- /**
61
- * Number to vertically align the Email button icon
62
- *
63
- * @uiName Email Icon Vertical
64
- * @uiGroup emailButton
65
- */
66
- emailiconvertical: number;
67
- /**
68
- * Size of the Email button icon
69
- *
70
- * @uiName Email Icon Size
71
- * @uiGroup emailButton
72
- */
73
- emailiconsize: number;
74
- emailurl: string;
75
- /**
76
- * Show and hide button depending on what type of device the user is on
77
- *
78
- * @uiName Facebook Display Rule
79
- * @uiGroup facebookButton
80
- */
81
- facebookdisplayrule: string;
82
- /**
83
- * Text inside the facebook button
84
- *
85
- * @uiName Facebook Text
86
- * @uiGroup facebookButton
87
- */
88
- facebooktext: string;
89
- /**
90
- * Background color of the facebook button
91
- *
92
- * @uiName Facebook Background Color
93
- * @uiGroup facebookButton
94
- */
95
- facebookbackgroundcolor: string;
96
- /**
97
- * Color of the text inside the facebook button
98
- *
99
- * @uiName Facebook Text Color
100
- * @uiGroup facebookButton
101
- */
102
- facebooktextcolor: string;
103
- /**
104
- * Facebook button icon
105
- *
106
- * @uiName Facebook Icon
107
- * @uiGroup facebookButton
108
- */
109
- facebookicon: string;
110
- /**
111
- * CSS Class name used to style the facebook button
112
- *
113
- * @uiName Facebook Class Name
114
- * @uiGroup facebookButton
115
- */
116
- facebookclassName: string;
117
- /**
118
- * Number to horizontally align the facebook button icon
119
- *
120
- * @uiName Facebook Icon Horizontal
121
- * @uiGroup facebookButton
122
- */
123
- facebookiconhorizontal: number;
124
- /**
125
- * Number to vertically align the facebook button icon
126
- *
127
- * @uiName Facebook Icon Vertical
128
- * @uiGroup facebookButton
129
- */
130
- facebookiconvertical: number;
131
- /**
132
- * Size of the facebook button icon
133
- *
134
- * @uiName Facebook Icon Size
135
- * @uiGroup facebookButton
136
- */
137
- facebookiconsize: number;
138
- facebookurl: string;
139
- /**
140
- * Show and hide button depending on what type of device the user is on
141
- *
142
- * @uiName Twitter Display Rule
143
- * @uiGroup twitterButton
144
- */
145
- twitterdisplayrule: string;
146
- /**
147
- * Text inside the twitter button
148
- *
149
- * @uiName Twitter Text
150
- * @uiGroup twitterButton
151
- */
152
- twittertext: string;
153
- /**
154
- * Background color of the twitter button
155
- *
156
- * @uiName Twitter Background Color
157
- * @uiGroup twitterButton
158
- */
159
- twitterbackgroundcolor: string;
160
- /**
161
- * Color of the text inside the twitter button
162
- *
163
- * @uiName Twitter Text Color
164
- * @uiGroup twitterButton
165
- */
166
- twittertextcolor: string;
167
- /**
168
- * Twitter button icon
169
- *
170
- * @uiName Twitter Icon
171
- * @uiGroup twitterButton
172
- */
173
- twittericon: string;
174
- /**
175
- * CSS Class name used to style the twitter button
176
- *
177
- * @uiName Twitter Class Name
178
- * @uiGroup twitterButton
179
- */
180
- twitterclassName: string;
181
- /**
182
- * Number to horizontally align the twitter button icon
183
- *
184
- * @uiName Twitter Icon Horizontal
185
- * @uiGroup twitterButton
186
- */
187
- twittericonhorizontal: number;
188
- /**
189
- * Number to vertically align the twitter button icon
190
- *
191
- * @uiName Twitter Icon Vertical
192
- * @uiGroup twitterButton
193
- */
194
- twittericonvertical: number;
195
- /**
196
- * Size of the twitter button icon
197
- *
198
- * @uiName Twitter Icon Size
199
- * @uiGroup twitterButton
200
- */
201
- twittericonsize: number;
202
- twitterurl: string;
203
- /**
204
- * Show and hide button depending on what type of device the user is on
205
- *
206
- * @uiName SMS Display Rule
207
- * @uiGroup smsButton
208
- */
209
- smsdisplayrule: string;
210
- /**
211
- * Text inside the SMS button
212
- *
213
- * @uiName SMS Text
214
- * @uiGroup smsButton
215
- */
216
- smstext: string;
217
- /**
218
- * Background color of the SMS button
219
- *
220
- * @uiName SMS Background Color
221
- * @uiGroup smsButton
222
- */
223
- smsbackgroundcolor: string;
224
- /**
225
- * Color of the text inside the SMS button
226
- *
227
- * @uiName SMS Text Color
228
- * @uiGroup smsButton
229
- */
230
- smstextcolor: string;
231
- /**
232
- * SMS button icon
233
- *
234
- * @uiName SMS Icon
235
- * @uiGroup smsButton
236
- */
237
- smsicon: string;
238
- /**
239
- * CSS Class name used to style the SMS button
240
- *
241
- * @uiName SMS Class Name
242
- * @uiGroup smsButton
243
- */
244
- smsclassName: string;
245
- /**
246
- * Number to horizontally align the SMS button icon
247
- *
248
- * @uiName SMS Icon Horizontal
249
- * @uiGroup smsButton
250
- */
251
- smsiconhorizontal: number;
252
- /**
253
- * Number to vertically align the SMS button icon
254
- *
255
- * @uiName SMS Icon Vertical
256
- * @uiGroup smsButton
257
- */
258
- smsiconvertical: number;
259
- /**
260
- * Size of the SMS button icon
261
- *
262
- * @uiName SMS Icon Size
263
- * @uiGroup smsButton
264
- */
265
- smsiconsize: number;
266
- smsurl: string;
267
- /**
268
- * Show and hide button depending on what type of device the user is on
269
- *
270
- * @uiName WhatsApp Display Rule
271
- * @uiGroup whatsappButton
272
- */
273
- whatsappdisplayrule: string;
274
- /**
275
- * Text inside the WhatsApp button
276
- *
277
- * @uiName WhatsApp Text
278
- * @uiGroup whatsappButton
279
- */
280
- whatsapptext: string;
281
- /**
282
- * Background color of the WhatsApp button
283
- *
284
- * @uiName WhatsApp Background Color
285
- * @uiGroup whatsappButton
286
- */
287
- whatsappbackgroundcolor: string;
288
- /**
289
- * Color of the text inside the WhatsApp button
290
- *
291
- * @uiName WhatsApp Text Color
292
- * @uiGroup whatsappButton
293
- */
294
- whatsapptextcolor: string;
295
- /**
296
- * WhatsApp button icon
297
- *
298
- * @uiName WhatsApp Icon
299
- * @uiGroup whatsappButton
300
- */
301
- whatsappicon: string;
302
- /**
303
- * CSS Class name used to style the WhatsApp button
304
- *
305
- * @uiName WhatsApp Class Name
306
- * @uiGroup whatsappButton
307
- */
308
- whatsappclassName: string;
309
- /**
310
- * Number to horizontally align the WhatsApp button icon
311
- *
312
- * @uiName WhatsApp Icon Horizontal
313
- * @uiGroup whatsappButton
314
- */
315
- whatsappiconhorizontal: number;
316
- /**
317
- * Number to vertically align the WhatsApp button icon
318
- *
319
- * @uiName WhatsApp Icon Vertical
320
- * @uiGroup whatsappButton
321
- */
322
- whatsappiconvertical: number;
323
- /**
324
- * Size of the WhatsApp button icon
325
- *
326
- * @uiName WhatsApp Icon Size
327
- * @uiGroup whatsappButton
328
- */
329
- whatsappiconsize: number;
330
- whatsappurl: string;
331
- /**
332
- * Show and hide button depending on what type of device the user is on
333
- *
334
- * @uiName Linkedin Display Rule
335
- * @uiGroup linkedinButton
336
- */
337
- linkedindisplayrule: string;
338
- /**
339
- * Text inside the linkedin button
340
- *
341
- * @uiName Linkedin Text
342
- * @uiGroup linkedinButton
343
- */
344
- linkedintext: string;
345
- /**
346
- * Background color of the linkedin button
347
- *
348
- * @uiName Linkedin Background Color
349
- * @uiGroup linkedinButton
350
- */
351
- linkedinbackgroundcolor: string;
352
- /**
353
- * Color of the text inside the Linkedin button
354
- *
355
- * @uiName Linkedin Text Color
356
- * @uiGroup linkedinButton
357
- */
358
- linkedintextcolor: string;
359
- /**
360
- * Linkedin button icon
361
- *
362
- * @uiName Linkedin Icon
363
- * @uiGroup linkedinButton
364
- */
365
- linkedinicon: string;
366
- /**
367
- * CSS Class name used to style the Linkedin button
368
- *
369
- * @uiName Linkedin Class Name
370
- * @uiGroup linkedinButton
371
- */
372
- linkedinclassName: string;
373
- /**
374
- * Number to horizontally align the Linkedin button icon
375
- *
376
- * @uiName Linkedin Icon Horizontal
377
- * @uiGroup linkedinButton
378
- */
379
- linkediniconhorizontal: number;
380
- /**
381
- * Number to vertically align the Linkedin button icon
382
- *
383
- * @uiName Linkedin Icon Vertical
384
- * @uiGroup linkedinButton
385
- */
386
- linkediniconvertical: number;
387
- /**
388
- * Size of the Linkedin button icon
389
- *
390
- * @uiName Linkedin Icon Size
391
- * @uiGroup linkedinButton
392
- */
393
- linkediniconsize: number;
394
- linkedinurl: string;
395
- /**
396
- * Show and hide button depending on what type of device the user is on
397
- *
398
- * @uiName Pinterest Display Rule
399
- * @uiGroup pinterestButton
400
- */
401
- pinterestdisplayrule: string;
402
- /**
403
- * Text inside the Pinterest button
404
- *
405
- * @uiName Pinterest Text
406
- * @uiGroup pinterestButton
407
- */
408
- pinteresttext: string;
409
- /**
410
- * Background color of the Pinterest button
411
- *
412
- * @uiName Pinterest Background Color
413
- * @uiGroup pinterestButton
414
- */
415
- pinterestbackgroundcolor: string;
416
- /**
417
- * Color of the text inside the Pinterest button
418
- *
419
- * @uiName Pinterest Text Color
420
- * @uiGroup pinterestButton
421
- */
422
- pinteresttextcolor: string;
423
- /**
424
- * Pinterest button icon
425
- *
426
- * @uiName Pinterest Icon
427
- * @uiGroup pinterestButton
428
- */
429
- pinteresticon: string;
430
- /**
431
- * CSS Class name used to style the Pinterest button
432
- *
433
- * @uiName Pinterest Class Name
434
- * @uiGroup pinterestButton
435
- */
436
- pinterestclassName: string;
437
- /**
438
- * Number to horizontally align the Pinterest button icon
439
- *
440
- * @uiName Pinterest Icon Horizontal
441
- * @uiGroup pinterestButton
442
- */
443
- pinteresticonhorizontal: number;
444
- /**
445
- * Number to vertically align the Pinterest button icon
446
- *
447
- * @uiName Pinterest Icon Vertical
448
- * @uiGroup pinterestButton
449
- */
450
- pinteresticonvertical: number;
451
- /**
452
- * Size of the Pinterest button icon
453
- *
454
- * @uiName Pinterest Icon Size
455
- * @uiGroup pinterestButton
456
- */
457
- pinteresticonsize: number;
458
- pinteresturl: string;
459
- /**
460
- * Show and hide button depending on what type of device the user is on
461
- *
462
- * @uiName Messenger Display Rule
463
- * @uiGroup messengerButton
464
- */
465
- messengerdisplayrule: string;
466
- /**
467
- * Text inside the Messenger button
468
- *
469
- * @uiName Messenger Text
470
- * @uiGroup messengerButton
471
- */
472
- messengertext: string;
473
- /**
474
- * Background color of the Messenger button
475
- *
476
- * @uiName Messenger Background Color
477
- * @uiGroup messengerButton
478
- */
479
- messengerbackgroundcolor: string;
480
- /**
481
- * Color of the text inside the Messenger button
482
- *
483
- * @uiName Messenger Text Color
484
- * @uiGroup messengerButton
485
- */
486
- messengertextcolor: string;
487
- /**
488
- * Messenger button icon
489
- *
490
- * @uiName Messenger Icon
491
- * @uiGroup messengerButton
492
- */
493
- messengericon: string;
494
- /**
495
- * CSS Class name used to style the Messenger button
496
- *
497
- * @uiName Messenger Class Name
498
- * @uiGroup messengerButton
499
- */
500
- messengerclassName: string;
501
- /**
502
- * Number to horizontally align the Messenger button icon
503
- *
504
- * @uiName Messenger Icon Horizontal
505
- * @uiGroup messengerButton
506
- */
507
- messengericonhorizontal: number;
508
- /**
509
- * Number to vertically align the Messenger button icon
510
- *
511
- * @uiName Messenger Icon Vertical
512
- * @uiGroup messengerButton
513
- */
514
- messengericonvertical: number;
515
- /**
516
- * Size of the Messenger button icon
517
- *
518
- * @uiName Messenger Icon Size
519
- * @uiGroup messengerButton
520
- */
521
- messengericonsize: number;
522
- messengerurl: string;
523
- /**
524
- * Show and hide button depending on what type of device the user is on
525
- *
526
- * @uiName Line Display Rule
527
- * @uiGroup lineButton
528
- */
529
- linedisplayrule: string;
530
- /**
531
- * Text inside the Line button
532
- *
533
- * @uiName Line Text
534
- * @uiGroup lineButton
535
- */
536
- linetext: string;
537
- /**
538
- * Background color of the Line button
539
- *
540
- * @uiName Line Background Color
541
- * @uiGroup lineButton
542
- */
543
- linebackgroundcolor: string;
544
- /**
545
- * Color of the text inside the Line button
546
- *
547
- * @uiName Line Text Color
548
- * @uiGroup lineButton
549
- */
550
- linetextcolor: string;
551
- /**
552
- * Line button icon
553
- *
554
- * @uiName Line Icon
555
- * @uiGroup lineButton
556
- */
557
- lineicon: string;
558
- /**
559
- * CSS Class name used to style the Line button
560
- *
561
- * @uiName Line Class Name
562
- * @uiGroup lineButton
563
- */
564
- lineclassName: string;
565
- /**
566
- * Number to horizontally align the Line button icon
567
- *
568
- * @uiName Line Icon Horizontal
569
- * @uiGroup lineButton
570
- */
571
- lineiconhorizontal: number;
572
- /**
573
- * Number to vertically align the Line button icon
574
- *
575
- * @uiName Line Icon Vertical
576
- * @uiGroup lineButton
577
- */
578
- lineiconvertical: number;
579
- /**
580
- * Size of the Line button icon
581
- *
582
- * @uiName Line Icon Size
583
- * @uiGroup lineButton
584
- */
585
- lineiconsize: number;
586
- lineurl: string;
587
- componentWillLoad(): any;
588
- getMessageLinks(mediums: Array<string>): any;
589
- onError(e: Error): void;
590
- render(): any;
591
- }
1
+ /**
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="X" twittertextcolor="#ffffff" twitterbackgroundcolor="#000000" smsdisplayrule="mobile-only" smstext="SMS" smstextcolor="#ffffff" smsbackgroundcolor="#7bbf38" whatsappdisplayrule="mobile-only" whatsapptext="WhatsApp" 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>
6
+ */
7
+ export declare class ShareButtonContainer {
8
+ /**
9
+ * @undocumented
10
+ * @uiName Hide Share Buttons
11
+ */
12
+ ishidden: boolean;
13
+ /**
14
+ * Show and hide button depending on what type of device the user is on
15
+ *
16
+ * @uiName Email Display Rule
17
+ * @uiGroup Email
18
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
19
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
20
+ * @default mobile-and-desktop
21
+ */
22
+ emaildisplayrule: string;
23
+ /**
24
+ * @uiName Email Text
25
+ * @uiGroup Email
26
+ * @default Email
27
+ */
28
+ emailtext: string;
29
+ /**
30
+ * Background color of the Email button
31
+ *
32
+ * @uiName Email Background Color
33
+ * @uiGroup Email
34
+ * @uiWidget color
35
+ * @default #4b4d50
36
+ */
37
+ emailbackgroundcolor: string;
38
+ /**
39
+ * @uiName Email Text Color
40
+ * @uiGroup Email
41
+ * @uiWidget color
42
+ * @default #ffffff
43
+ */
44
+ emailtextcolor: string;
45
+ /**
46
+ * @uiName Email Icon
47
+ * @uiGroup Email
48
+ */
49
+ emailicon: string;
50
+ /**
51
+ * CSS class name for additional styling.
52
+ *
53
+ * @uiName Email Class Name
54
+ * @uiGroup Email
55
+ */
56
+ emailclassName: string;
57
+ /**
58
+ * Number to horizontally align the Email button icon
59
+ *
60
+ * @uiName Email Icon Horizontal
61
+ * @uiGroup Email
62
+ */
63
+ emailiconhorizontal: number;
64
+ /**
65
+ * Number to vertically align the Email button icon
66
+ *
67
+ * @uiName Email Icon Vertical
68
+ * @uiGroup Email
69
+ */
70
+ emailiconvertical: number;
71
+ /**
72
+ * @uiName Email Icon Size
73
+ * @uiGroup Email
74
+ */
75
+ emailiconsize: number;
76
+ emailurl: string;
77
+ /**
78
+ * Show and hide button depending on what type of device the user is on
79
+ *
80
+ * @uiName Facebook Display Rule
81
+ * @uiGroup Facebook
82
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
83
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
84
+ * @default mobile-and-desktop
85
+ */
86
+ facebookdisplayrule: string;
87
+ /**
88
+ * @uiName Facebook Text
89
+ * @uiGroup Facebook
90
+ * @default Facebook
91
+ */
92
+ facebooktext: string;
93
+ /**
94
+ * Background color of the facebook button
95
+ *
96
+ * @uiName Facebook Background Color
97
+ * @uiGroup Facebook
98
+ * @uiWidget color
99
+ * @default #234079
100
+ */
101
+ facebookbackgroundcolor: string;
102
+ /**
103
+ * @uiName Facebook Text Color
104
+ * @uiGroup Facebook
105
+ * @uiWidget color
106
+ * @default #ffffff
107
+ */
108
+ facebooktextcolor: string;
109
+ /**
110
+ * @uiName Facebook Icon
111
+ * @uiGroup Facebook
112
+ */
113
+ facebookicon: string;
114
+ /**
115
+ * CSS class name for additional styling.
116
+ *
117
+ * @uiName Facebook Class Name
118
+ * @uiGroup Facebook
119
+ */
120
+ facebookclassName: string;
121
+ /**
122
+ * Number to horizontally align the facebook button icon
123
+ *
124
+ * @uiName Facebook Icon Horizontal
125
+ * @uiGroup Facebook
126
+ */
127
+ facebookiconhorizontal: number;
128
+ /**
129
+ * Number to vertically align the facebook button icon
130
+ *
131
+ * @uiName Facebook Icon Vertical
132
+ * @uiGroup Facebook
133
+ */
134
+ facebookiconvertical: number;
135
+ /**
136
+ * @uiName Facebook Icon Size
137
+ * @uiGroup Facebook
138
+ */
139
+ facebookiconsize: number;
140
+ facebookurl: string;
141
+ /**
142
+ * Show and hide button depending on what type of device the user is on
143
+ *
144
+ * @uiName X Display Rule
145
+ * @uiGroup X
146
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
147
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
148
+ * @default mobile-and-desktop
149
+ */
150
+ twitterdisplayrule: string;
151
+ /**
152
+ * @uiName X Text
153
+ * @uiGroup X
154
+ * @default X
155
+ */
156
+ twittertext: string;
157
+ /**
158
+ * Background color of the X button
159
+ *
160
+ * @uiName X Background Color
161
+ * @uiGroup X
162
+ * @uiWidget color
163
+ * @default #000000
164
+ */
165
+ twitterbackgroundcolor: string;
166
+ /**
167
+ * @uiName X Text Color
168
+ * @uiGroup X
169
+ * @uiWidget color
170
+ * @default #ffffff
171
+ */
172
+ twittertextcolor: string;
173
+ /**
174
+ * @uiName X Icon
175
+ * @uiGroup X
176
+ */
177
+ twittericon: string;
178
+ /**
179
+ * CSS class name for additional styling.
180
+ *
181
+ * @uiName X Class Name
182
+ * @uiGroup X
183
+ */
184
+ twitterclassName: string;
185
+ /**
186
+ * Number to horizontally align the X button icon
187
+ *
188
+ * @uiName X Icon Horizontal
189
+ * @uiGroup X
190
+ */
191
+ twittericonhorizontal: number;
192
+ /**
193
+ * Number to vertically align the X button icon
194
+ *
195
+ * @uiName X Icon Vertical
196
+ * @uiGroup X
197
+ */
198
+ twittericonvertical: number;
199
+ /**
200
+ * @uiName X Icon Size
201
+ * @uiGroup X
202
+ */
203
+ twittericonsize: number;
204
+ twitterurl: string;
205
+ /**
206
+ * Show and hide button depending on what type of device the user is on
207
+ *
208
+ * @uiName SMS Display Rule
209
+ * @uiGroup SMS
210
+ * @uiEnum ["mobile-only","hidden"]
211
+ * @uiEnumNames ["Mobile Only","Hide"]
212
+ * @default mobile-only
213
+ */
214
+ smsdisplayrule: string;
215
+ /**
216
+ * @uiName SMS Text
217
+ * @uiGroup SMS
218
+ * @default SMS
219
+ */
220
+ smstext: string;
221
+ /**
222
+ * Background color of the SMS button
223
+ *
224
+ * @uiName SMS Background Color
225
+ * @uiGroup SMS
226
+ * @uiWidget color
227
+ * @default #7bbf38
228
+ */
229
+ smsbackgroundcolor: string;
230
+ /**
231
+ * @uiName SMS Text Color
232
+ * @uiGroup SMS
233
+ * @uiWidget color
234
+ * @default #ffffff
235
+ */
236
+ smstextcolor: string;
237
+ /**
238
+ * @uiName SMS Icon
239
+ * @uiGroup SMS
240
+ */
241
+ smsicon: string;
242
+ /**
243
+ * CSS class name for additional styling.
244
+ *
245
+ * @uiName SMS Class Name
246
+ * @uiGroup SMS
247
+ */
248
+ smsclassName: string;
249
+ /**
250
+ * Number to horizontally align the SMS button icon
251
+ *
252
+ * @uiName SMS Icon Horizontal
253
+ * @uiGroup SMS
254
+ */
255
+ smsiconhorizontal: number;
256
+ /**
257
+ * Number to vertically align the SMS button icon
258
+ *
259
+ * @uiName SMS Icon Vertical
260
+ * @uiGroup SMS
261
+ */
262
+ smsiconvertical: number;
263
+ /**
264
+ * @uiName SMS Icon Size
265
+ * @uiGroup SMS
266
+ */
267
+ smsiconsize: number;
268
+ smsurl: string;
269
+ /**
270
+ * Show and hide button depending on what type of device the user is on
271
+ *
272
+ * @uiName WhatsApp Display Rule
273
+ * @uiGroup WhatsApp
274
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
275
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
276
+ * @default mobile-only
277
+ */
278
+ whatsappdisplayrule: string;
279
+ /**
280
+ * @uiName WhatsApp Text
281
+ * @uiGroup WhatsApp
282
+ * @default WhatsApp
283
+ */
284
+ whatsapptext: string;
285
+ /**
286
+ * Background color of the WhatsApp button
287
+ *
288
+ * @uiName WhatsApp Background Color
289
+ * @uiGroup WhatsApp
290
+ * @uiWidget color
291
+ * @default #25D366
292
+ */
293
+ whatsappbackgroundcolor: string;
294
+ /**
295
+ * @uiName WhatsApp Text Color
296
+ * @uiGroup WhatsApp
297
+ * @uiWidget color
298
+ * @default #ffffff
299
+ */
300
+ whatsapptextcolor: string;
301
+ /**
302
+ * @uiName WhatsApp Icon
303
+ * @uiGroup WhatsApp
304
+ */
305
+ whatsappicon: string;
306
+ /**
307
+ * CSS class name for additional styling.
308
+ *
309
+ * @uiName WhatsApp Class Name
310
+ * @uiGroup WhatsApp
311
+ */
312
+ whatsappclassName: string;
313
+ /**
314
+ * Number to horizontally align the WhatsApp button icon
315
+ *
316
+ * @uiName WhatsApp Icon Horizontal
317
+ * @uiGroup WhatsApp
318
+ */
319
+ whatsappiconhorizontal: number;
320
+ /**
321
+ * Number to vertically align the WhatsApp button icon
322
+ *
323
+ * @uiName WhatsApp Icon Vertical
324
+ * @uiGroup WhatsApp
325
+ */
326
+ whatsappiconvertical: number;
327
+ /**
328
+ * @uiName WhatsApp Icon Size
329
+ * @uiGroup WhatsApp
330
+ */
331
+ whatsappiconsize: number;
332
+ whatsappurl: string;
333
+ /**
334
+ * Show and hide button depending on what type of device the user is on
335
+ *
336
+ * @uiName Linkedin Display Rule
337
+ * @uiGroup LinkedIn
338
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
339
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
340
+ * @default hidden
341
+ */
342
+ linkedindisplayrule: string;
343
+ /**
344
+ * @uiName Linkedin Text
345
+ * @uiGroup LinkedIn
346
+ * @default LinkedIn
347
+ */
348
+ linkedintext: string;
349
+ /**
350
+ * Background color of the linkedin button
351
+ *
352
+ * @uiName Linkedin Background Color
353
+ * @uiGroup LinkedIn
354
+ * @uiWidget color
355
+ * @default #ffffff
356
+ */
357
+ linkedinbackgroundcolor: string;
358
+ /**
359
+ * @uiName Linkedin Text Color
360
+ * @uiGroup LinkedIn
361
+ * @uiWidget color
362
+ * @default #0084b9
363
+ */
364
+ linkedintextcolor: string;
365
+ /**
366
+ * @uiName Linkedin Icon
367
+ * @uiGroup LinkedIn
368
+ */
369
+ linkedinicon: string;
370
+ /**
371
+ * CSS class name for additional styling.
372
+ *
373
+ * @uiName Linkedin Class Name
374
+ * @uiGroup LinkedIn
375
+ */
376
+ linkedinclassName: string;
377
+ /**
378
+ * Number to horizontally align the Linkedin button icon
379
+ *
380
+ * @uiName Linkedin Icon Horizontal
381
+ * @uiGroup LinkedIn
382
+ */
383
+ linkediniconhorizontal: number;
384
+ /**
385
+ * Number to vertically align the Linkedin button icon
386
+ *
387
+ * @uiName Linkedin Icon Vertical
388
+ * @uiGroup LinkedIn
389
+ */
390
+ linkediniconvertical: number;
391
+ /**
392
+ * @uiName Linkedin Icon Size
393
+ * @uiGroup LinkedIn
394
+ */
395
+ linkediniconsize: number;
396
+ linkedinurl: string;
397
+ /**
398
+ * Show and hide button depending on what type of device the user is on
399
+ *
400
+ * @uiName Pinterest Display Rule
401
+ * @uiGroup Pinterest
402
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
403
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
404
+ * @default hidden
405
+ */
406
+ pinterestdisplayrule: string;
407
+ /**
408
+ * @uiName Pinterest Text
409
+ * @uiGroup Pinterest
410
+ * @default Pinterest
411
+ */
412
+ pinteresttext: string;
413
+ /**
414
+ * Background color of the Pinterest button
415
+ *
416
+ * @uiName Pinterest Background Color
417
+ * @uiGroup Pinterest
418
+ * @uiWidget color
419
+ * @default #cb2027
420
+ */
421
+ pinterestbackgroundcolor: string;
422
+ /**
423
+ * @uiName Pinterest Text Color
424
+ * @uiGroup Pinterest
425
+ * @uiWidget color
426
+ * @default #ffffff
427
+ */
428
+ pinteresttextcolor: string;
429
+ /**
430
+ * @uiName Pinterest Icon
431
+ * @uiGroup Pinterest
432
+ */
433
+ pinteresticon: string;
434
+ /**
435
+ * CSS class name for additional styling.
436
+ *
437
+ * @uiName Pinterest Class Name
438
+ * @uiGroup Pinterest
439
+ */
440
+ pinterestclassName: string;
441
+ /**
442
+ * Number to horizontally align the Pinterest button icon
443
+ *
444
+ * @uiName Pinterest Icon Horizontal
445
+ * @uiGroup Pinterest
446
+ */
447
+ pinteresticonhorizontal: number;
448
+ /**
449
+ * Number to vertically align the Pinterest button icon
450
+ *
451
+ * @uiName Pinterest Icon Vertical
452
+ * @uiGroup Pinterest
453
+ */
454
+ pinteresticonvertical: number;
455
+ /**
456
+ * @uiName Pinterest Icon Size
457
+ * @uiGroup Pinterest
458
+ */
459
+ pinteresticonsize: number;
460
+ pinteresturl: string;
461
+ /**
462
+ * Show and hide button depending on what type of device the user is on
463
+ *
464
+ * @uiName Messenger Display Rule
465
+ * @uiGroup Messenger
466
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
467
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
468
+ * @default hidden
469
+ */
470
+ messengerdisplayrule: string;
471
+ /**
472
+ * @uiName Messenger Text
473
+ * @uiGroup Messenger
474
+ * @default Messenger
475
+ */
476
+ messengertext: string;
477
+ /**
478
+ * Background color of the Messenger button
479
+ *
480
+ * @uiName Messenger Background Color
481
+ * @uiGroup Messenger
482
+ * @uiWidget color
483
+ * @default #0084ff
484
+ */
485
+ messengerbackgroundcolor: string;
486
+ /**
487
+ * @uiName Messenger Text Color
488
+ * @uiGroup Messenger
489
+ * @uiWidget color
490
+ * @default #ffffff
491
+ */
492
+ messengertextcolor: string;
493
+ /**
494
+ * @uiName Messenger Icon
495
+ * @uiGroup Messenger
496
+ */
497
+ messengericon: string;
498
+ /**
499
+ * CSS class name for additional styling.
500
+ *
501
+ * @uiName Messenger Class Name
502
+ * @uiGroup Messenger
503
+ */
504
+ messengerclassName: string;
505
+ /**
506
+ * Number to horizontally align the Messenger button icon
507
+ *
508
+ * @uiName Messenger Icon Horizontal
509
+ * @uiGroup Messenger
510
+ */
511
+ messengericonhorizontal: number;
512
+ /**
513
+ * Number to vertically align the Messenger button icon
514
+ *
515
+ * @uiName Messenger Icon Vertical
516
+ * @uiGroup Messenger
517
+ */
518
+ messengericonvertical: number;
519
+ /**
520
+ * @uiName Messenger Icon Size
521
+ * @uiGroup Messenger
522
+ */
523
+ messengericonsize: number;
524
+ messengerurl: string;
525
+ /**
526
+ * Show and hide button depending on what type of device the user is on
527
+ *
528
+ * @uiName Line Display Rule
529
+ * @uiGroup Line Messenger
530
+ * @uiEnum ["mobile-only","hidden"]
531
+ * @uiEnumNames ["Mobile Only","Hide"]
532
+ * @default mobile-only
533
+ */
534
+ linedisplayrule: string;
535
+ /**
536
+ * @uiName Line Text
537
+ * @uiGroup Line Messenger
538
+ * @default Line Messenger
539
+ */
540
+ linetext: string;
541
+ /**
542
+ * Background color of the Line button
543
+ *
544
+ * @uiName Line Background Color
545
+ * @uiGroup Line Messenger
546
+ * @uiWidget color
547
+ * @default #00c300
548
+ */
549
+ linebackgroundcolor: string;
550
+ /**
551
+ * @uiName Line Text Color
552
+ * @uiGroup Line Messenger
553
+ * @uiWidget color
554
+ * @default #ffffff
555
+ */
556
+ linetextcolor: string;
557
+ /**
558
+ * @uiName Line Icon
559
+ * @uiGroup Line Messenger
560
+ */
561
+ lineicon: string;
562
+ /**
563
+ * CSS class name for additional styling.
564
+ *
565
+ * @uiName Line Class Name
566
+ * @uiGroup Line Messenger
567
+ */
568
+ lineclassName: string;
569
+ /**
570
+ * Number to horizontally align the Line button icon
571
+ *
572
+ * @uiName Line Icon Horizontal
573
+ * @uiGroup Line Messenger
574
+ */
575
+ lineiconhorizontal: number;
576
+ /**
577
+ * Number to vertically align the Line button icon
578
+ *
579
+ * @uiName Line Icon Vertical
580
+ * @uiGroup Line Messenger
581
+ */
582
+ lineiconvertical: number;
583
+ /**
584
+ * @uiName Line Icon Size
585
+ * @uiGroup Line Messenger
586
+ */
587
+ lineiconsize: number;
588
+ lineurl: string;
589
+ componentWillLoad(): any;
590
+ getMessageLinks(mediums: Array<string>): any;
591
+ onError(e: Error): void;
592
+ render(): any;
593
+ }