@saasquatch/vanilla-components 1.2.4-8 → 1.2.4-9

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