@saasquatch/vanilla-components 1.2.4-23 → 1.2.4-24

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 (91) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{WidgetHost-cee741d8.js → WidgetHost-f349e877.js} +772 -772
  3. package/dist/cjs/sqh-close-button.cjs.entry.js +25 -25
  4. package/dist/cjs/sqh-copy-button_14.cjs.entry.js +1314 -1415
  5. package/dist/cjs/sqh-referral-code.cjs.entry.js +22 -22
  6. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +26 -26
  7. package/dist/collection/components/close-button/close-button.js +70 -70
  8. package/dist/collection/components/copy-button/copy-button.js +380 -380
  9. package/dist/collection/components/copy-link-button/copy-link-button.js +230 -230
  10. package/dist/collection/components/cta-component/cta-component.js +396 -396
  11. package/dist/collection/components/global-container/global-container.js +158 -158
  12. package/dist/collection/components/image-component/image-component.js +175 -175
  13. package/dist/collection/components/partner-stat-component/partner-stat-component.js +196 -196
  14. package/dist/collection/components/progress-indicator/progress-indicator.js +557 -557
  15. package/dist/collection/components/referral-code/referral-code.js +36 -36
  16. package/dist/collection/components/referral-component/referral-component.js +255 -255
  17. package/dist/collection/components/referral-list/referral-list.js +911 -911
  18. package/dist/collection/components/rewards-actions/rewards-actions.js +105 -105
  19. package/dist/collection/components/share-button/share-button.js +301 -301
  20. package/dist/collection/components/share-button-container/share-button-container.js +2384 -2384
  21. package/dist/collection/components/stat-component/stat-component.js +197 -197
  22. package/dist/collection/components/stats-container/stats-container.js +210 -210
  23. package/dist/collection/components/text-component/text-component.js +301 -301
  24. package/dist/collection/entrypoint.js +34 -34
  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 +778 -778
  28. package/dist/collection/utilities.js +81 -81
  29. package/dist/esm/{WidgetHost-6cd6c29a.js → WidgetHost-c033b6ac.js} +772 -772
  30. package/dist/esm/polyfills/core-js.js +0 -0
  31. package/dist/esm/polyfills/dom.js +0 -0
  32. package/dist/esm/polyfills/es5-html-element.js +0 -0
  33. package/dist/esm/polyfills/index.js +0 -0
  34. package/dist/esm/polyfills/system.js +0 -0
  35. package/dist/esm/sqh-close-button.entry.js +25 -25
  36. package/dist/esm/sqh-copy-button_14.entry.js +1314 -1415
  37. package/dist/esm/sqh-referral-code.entry.js +22 -22
  38. package/dist/esm/sqh-rewards-actions.entry.js +26 -26
  39. package/dist/esm-es5/{WidgetHost-6cd6c29a.js → WidgetHost-c033b6ac.js} +9524 -9524
  40. package/dist/esm-es5/_commonjsHelpers-1d681858.js +17 -17
  41. package/dist/esm-es5/css-shim-a659079f.js +122 -122
  42. package/dist/esm-es5/dom-4061ceba.js +468 -468
  43. package/dist/esm-es5/en-a652ab83.js +1471 -1471
  44. package/dist/esm-es5/index-342d7c26.js +1808 -1808
  45. package/dist/esm-es5/loader.mjs +11 -11
  46. package/dist/esm-es5/sqh-close-button.entry.js +35 -35
  47. package/dist/esm-es5/sqh-copy-button_14.entry.js +10588 -10677
  48. package/dist/esm-es5/sqh-referral-code.entry.js +29 -29
  49. package/dist/esm-es5/sqh-rewards-actions.entry.js +31 -31
  50. package/dist/esm-es5/widget-components.mjs +6 -6
  51. package/dist/types/components/close-button/close-button.d.ts +18 -18
  52. package/dist/types/components/copy-button/copy-button.d.ts +90 -90
  53. package/dist/types/components/copy-link-button/copy-link-button.d.ts +53 -53
  54. package/dist/types/components/cta-component/cta-component.d.ts +95 -95
  55. package/dist/types/components/global-container/global-container.d.ts +39 -39
  56. package/dist/types/components/image-component/image-component.d.ts +45 -45
  57. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +51 -51
  58. package/dist/types/components/progress-indicator/progress-indicator.d.ts +94 -94
  59. package/dist/types/components/referral-code/referral-code.d.ts +12 -12
  60. package/dist/types/components/referral-component/referral-component.d.ts +46 -46
  61. package/dist/types/components/referral-list/referral-list.d.ts +234 -234
  62. package/dist/types/components/rewards-actions/rewards-actions.d.ts +25 -25
  63. package/dist/types/components/share-button/share-button.d.ts +77 -77
  64. package/dist/types/components/share-button-container/share-button-container.d.ts +593 -593
  65. package/dist/types/components/stat-component/stat-component.d.ts +49 -49
  66. package/dist/types/components/stats-container/stats-container.d.ts +47 -47
  67. package/dist/types/components/text-component/text-component.d.ts +73 -73
  68. package/dist/types/components.d.ts +4 -4
  69. package/dist/types/global/global.d.ts +4 -4
  70. package/dist/types/saasquatch.d.ts +105 -105
  71. package/dist/types/services/FormatJs.d.ts +7 -7
  72. package/dist/types/services/WidgetHost.d.ts +51 -51
  73. package/dist/types/utilities.d.ts +7 -7
  74. package/dist/widget-components/entrypoint.js +34 -34
  75. package/dist/widget-components/p-24fc4ba9.js +1 -1
  76. package/dist/widget-components/{p-1dfd20e2.entry.js → p-3ba562d0.entry.js} +1 -1
  77. package/dist/widget-components/{p-9ffe6e46.entry.js → p-4293e873.entry.js} +1 -1
  78. package/dist/widget-components/p-46109683.js +3 -3
  79. package/dist/widget-components/{p-b67d3319.system.js → p-54e83dfb.system.js} +0 -0
  80. package/dist/widget-components/{p-4b1ab75c.js → p-6e753d23.js} +0 -0
  81. package/dist/widget-components/{p-cdc72d95.system.entry.js → p-9fb4b935.system.entry.js} +3 -3
  82. package/dist/widget-components/{p-599e6d35.system.entry.js → p-abf8a511.system.entry.js} +1 -1
  83. package/dist/widget-components/p-d9a22d83.entry.js +233 -0
  84. package/dist/widget-components/{p-eeb2bfd4.system.entry.js → p-d9e9c55c.system.entry.js} +1 -1
  85. package/dist/widget-components/p-e82def83.system.js +1 -1
  86. package/dist/widget-components/widget-components.esm.js +1 -1
  87. package/dist/widget-components/widget-components.js +1 -1
  88. package/docs/raisins.json +1 -1
  89. package/package.json +98 -98
  90. package/readme.md +52 -52
  91. package/dist/widget-components/p-9fcf9906.entry.js +0 -233
@@ -1,593 +1,593 @@
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="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>
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 Twitter Display Rule
145
- * @uiGroup Twitter
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 Twitter Text
153
- * @uiGroup Twitter
154
- * @default Twitter
155
- */
156
- twittertext: string;
157
- /**
158
- * Background color of the twitter button
159
- *
160
- * @uiName Twitter Background Color
161
- * @uiGroup Twitter
162
- * @uiWidget color
163
- * @default #4797d2
164
- */
165
- twitterbackgroundcolor: string;
166
- /**
167
- * @uiName Twitter Text Color
168
- * @uiGroup Twitter
169
- * @uiWidget color
170
- * @default #ffffff
171
- */
172
- twittertextcolor: string;
173
- /**
174
- * @uiName Twitter Icon
175
- * @uiGroup Twitter
176
- */
177
- twittericon: string;
178
- /**
179
- * CSS class name for additional styling.
180
- *
181
- * @uiName Twitter Class Name
182
- * @uiGroup Twitter
183
- */
184
- twitterclassName: string;
185
- /**
186
- * Number to horizontally align the twitter button icon
187
- *
188
- * @uiName Twitter Icon Horizontal
189
- * @uiGroup Twitter
190
- */
191
- twittericonhorizontal: number;
192
- /**
193
- * Number to vertically align the twitter button icon
194
- *
195
- * @uiName Twitter Icon Vertical
196
- * @uiGroup Twitter
197
- */
198
- twittericonvertical: number;
199
- /**
200
- * @uiName Twitter Icon Size
201
- * @uiGroup Twitter
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-only","hidden"]
275
- * @uiEnumNames ["Mobile Only","Hide"]
276
- * @default mobile-only
277
- */
278
- whatsappdisplayrule: string;
279
- /**
280
- * @uiName WhatsApp Text
281
- * @uiGroup WhatsApp
282
- * @default Whatspp
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
- }
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="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>
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 Twitter Display Rule
145
+ * @uiGroup Twitter
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 Twitter Text
153
+ * @uiGroup Twitter
154
+ * @default Twitter
155
+ */
156
+ twittertext: string;
157
+ /**
158
+ * Background color of the twitter button
159
+ *
160
+ * @uiName Twitter Background Color
161
+ * @uiGroup Twitter
162
+ * @uiWidget color
163
+ * @default #4797d2
164
+ */
165
+ twitterbackgroundcolor: string;
166
+ /**
167
+ * @uiName Twitter Text Color
168
+ * @uiGroup Twitter
169
+ * @uiWidget color
170
+ * @default #ffffff
171
+ */
172
+ twittertextcolor: string;
173
+ /**
174
+ * @uiName Twitter Icon
175
+ * @uiGroup Twitter
176
+ */
177
+ twittericon: string;
178
+ /**
179
+ * CSS class name for additional styling.
180
+ *
181
+ * @uiName Twitter Class Name
182
+ * @uiGroup Twitter
183
+ */
184
+ twitterclassName: string;
185
+ /**
186
+ * Number to horizontally align the twitter button icon
187
+ *
188
+ * @uiName Twitter Icon Horizontal
189
+ * @uiGroup Twitter
190
+ */
191
+ twittericonhorizontal: number;
192
+ /**
193
+ * Number to vertically align the twitter button icon
194
+ *
195
+ * @uiName Twitter Icon Vertical
196
+ * @uiGroup Twitter
197
+ */
198
+ twittericonvertical: number;
199
+ /**
200
+ * @uiName Twitter Icon Size
201
+ * @uiGroup Twitter
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-only","hidden"]
275
+ * @uiEnumNames ["Mobile Only","Hide"]
276
+ * @default mobile-only
277
+ */
278
+ whatsappdisplayrule: string;
279
+ /**
280
+ * @uiName WhatsApp Text
281
+ * @uiGroup WhatsApp
282
+ * @default Whatspp
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
+ }