@saasquatch/vanilla-components 1.2.3-0 → 1.2.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 (66) hide show
  1. package/dist/cjs/{WidgetHost-18a663ee.js → WidgetHost-d7b870ce.js} +1 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/sqh-close-button.cjs.entry.js +9 -4
  4. package/dist/cjs/sqh-copy-button_12.cjs.entry.js +184 -9
  5. package/dist/cjs/sqh-referral-code.cjs.entry.js +1 -1
  6. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +15 -0
  7. package/dist/cjs/widget-components.cjs.js +1 -1
  8. package/dist/collection/components/close-button/close-button.js +14 -3
  9. package/dist/collection/components/copy-button/copy-button.js +117 -24
  10. package/dist/collection/components/copy-link-button/copy-link-button.js +60 -12
  11. package/dist/collection/components/global-container/global-container.js +53 -10
  12. package/dist/collection/components/image-component/image-component.js +54 -12
  13. package/dist/collection/components/partner-stat-component/partner-stat-component.js +41 -11
  14. package/dist/collection/components/referral-code/referral-code.js +3 -0
  15. package/dist/collection/components/referral-component/referral-component.js +28 -10
  16. package/dist/collection/components/referral-list/referral-list.js +320 -59
  17. package/dist/collection/components/rewards-actions/rewards-actions.js +33 -6
  18. package/dist/collection/components/share-button/share-button.js +76 -22
  19. package/dist/collection/components/share-button-container/share-button-container.js +1097 -164
  20. package/dist/collection/components/stat-component/stat-component.js +40 -10
  21. package/dist/collection/components/stats-container/stats-container.js +30 -6
  22. package/dist/collection/components/text-component/text-component.js +70 -43
  23. package/dist/collection/services/WidgetHost.js +1 -0
  24. package/dist/esm/{WidgetHost-d643a9de.js → WidgetHost-a27e693d.js} +1 -0
  25. package/dist/esm/loader.mjs +1 -1
  26. package/dist/esm/sqh-close-button.entry.js +9 -4
  27. package/dist/esm/sqh-copy-button_12.entry.js +183 -8
  28. package/dist/esm/sqh-referral-code.entry.js +1 -1
  29. package/dist/esm/sqh-rewards-actions.entry.js +15 -0
  30. package/dist/esm/widget-components.mjs +1 -1
  31. package/dist/esm-es5/{WidgetHost-d643a9de.js → WidgetHost-a27e693d.js} +2 -2
  32. package/dist/esm-es5/loader.mjs +1 -1
  33. package/dist/esm-es5/sqh-close-button.entry.js +15 -10
  34. package/dist/esm-es5/sqh-copy-button_12.entry.js +201 -26
  35. package/dist/esm-es5/sqh-referral-code.entry.js +1 -1
  36. package/dist/esm-es5/sqh-rewards-actions.entry.js +15 -0
  37. package/dist/esm-es5/widget-components.mjs +1 -1
  38. package/dist/types/components/close-button/close-button.d.ts +9 -1
  39. package/dist/types/components/copy-button/copy-button.d.ts +81 -0
  40. package/dist/types/components/copy-link-button/copy-link-button.d.ts +42 -0
  41. package/dist/types/components/global-container/global-container.d.ts +37 -0
  42. package/dist/types/components/image-component/image-component.d.ts +41 -0
  43. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +33 -1
  44. package/dist/types/components/referral-code/referral-code.d.ts +3 -0
  45. package/dist/types/components/referral-component/referral-component.d.ts +28 -0
  46. package/dist/types/components/referral-list/referral-list.d.ts +205 -0
  47. package/dist/types/components/rewards-actions/rewards-actions.d.ts +18 -0
  48. package/dist/types/components/share-button/share-button.d.ts +64 -0
  49. package/dist/types/components/share-button-container/share-button-container.d.ts +584 -0
  50. package/dist/types/components/stat-component/stat-component.d.ts +31 -0
  51. package/dist/types/components/stats-container/stats-container.d.ts +21 -0
  52. package/dist/types/components/text-component/text-component.d.ts +62 -1
  53. package/dist/types/components.d.ts +2052 -2
  54. package/dist/widget-components/p-58be1132.system.js +1 -1
  55. package/dist/widget-components/{p-afd88281.entry.js → p-650d012d.entry.js} +1 -1
  56. package/dist/widget-components/p-908068c2.system.entry.js +1 -0
  57. package/dist/widget-components/{p-b4a53a7e.js → p-9525bf4a.js} +1 -0
  58. package/dist/widget-components/{p-3a627e51.system.js → p-9adc7c50.system.js} +1 -1
  59. package/dist/widget-components/{p-fd5e98db.system.entry.js → p-c0cdba77.system.entry.js} +1 -1
  60. package/dist/widget-components/{p-126c2b5d.entry.js → p-d4b27c72.entry.js} +1 -1
  61. package/dist/widget-components/{p-10f0b8fc.entry.js → p-d7059393.entry.js} +3 -3
  62. package/dist/widget-components/{p-edc35bc4.system.entry.js → p-fba5ea7f.system.entry.js} +2 -2
  63. package/dist/widget-components/widget-components.esm.js +1 -1
  64. package/docs/raisins.json +1 -0
  65. package/package.json +12 -5
  66. package/dist/widget-components/p-023e8818.system.entry.js +0 -1
@@ -7,218 +7,1243 @@
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  export namespace Components {
9
9
  interface SqhCloseButton {
10
+ /**
11
+ * The text shown inside the close button.
12
+ * @uiName Button Text
13
+ */
10
14
  "text": string;
11
15
  }
12
16
  interface SqhCopyButton {
17
+ /**
18
+ * Background & border color of the copy button.
19
+ * @uiName Background Color
20
+ * @uiWidget color
21
+ * @format color
22
+ * @default #35b21e
23
+ */
13
24
  "backgroundcolor": string;
25
+ /**
26
+ * Configure border radius with pixel amount
27
+ * @uiName Border Radius
28
+ * @default 4
29
+ */
14
30
  "borderradius": number;
31
+ /**
32
+ * Text color of the fuel tank code.
33
+ * @uiName Code Font Color
34
+ * @uiWidget color
35
+ * @format color
36
+ * @default #000000
37
+ */
15
38
  "codefontcolor": string;
39
+ /**
40
+ * Font size of the fuel tank code.
41
+ * @uiName Code Font Size
42
+ * @default 14
43
+ */
16
44
  "codefontsize": number;
45
+ /**
46
+ * Shown when the button has failed to copy the code to the users clipboard.
47
+ * @uiName Copy Failure Text
48
+ * @default "Press Ctrl+C to copy"
49
+ */
17
50
  "copyfailure": string;
51
+ /**
52
+ * Shown when the code is successfully copied to the users clipboard.
53
+ * @uiName Copy Success Text
54
+ * @default "copied!"
55
+ */
18
56
  "copysuccess": string;
57
+ /**
58
+ * Font size of the copy button text.
59
+ * @uiName Font Size
60
+ * @default 14
61
+ */
19
62
  "fontsize": number;
63
+ /**
64
+ * Hide or show the component
65
+ * @uiName Hide Button
66
+ * @default undefined
67
+ */
20
68
  "ishidden": boolean;
69
+ /**
70
+ * rewardkey is used to get the fuel tank code for a user.
71
+ * @uiName Reward Key
72
+ * @default "referredReward"
73
+ */
21
74
  "rewardkey": string;
75
+ /**
76
+ * Text shown inside the copy button.
77
+ * @uiName Button Text
78
+ * @default "COPY CODE"
79
+ */
22
80
  "text": string;
81
+ /**
82
+ * Color of text inside the copy button.
83
+ * @uiName Text Color
84
+ * @uiWidget color
85
+ * @format color
86
+ * @default #ffffff
87
+ */
23
88
  "textcolor": string;
89
+ /**
90
+ * Sets a maximum width on the copy button.
91
+ * @uiName Max Width
92
+ * @default 170
93
+ */
24
94
  "width": number;
25
95
  }
26
96
  interface SqhCopyLinkButton {
97
+ /**
98
+ * Background & border color of the copy button.
99
+ * @uiName Button Color
100
+ * @uiWidget color
101
+ * @format color
102
+ * @default "#5C6164"
103
+ */
27
104
  "buttoncolor": string;
105
+ /**
106
+ * Shown when the button has failed to copy the code to the users clipboard.
107
+ * @uiName Copy Failure Text
108
+ * @default "Press Ctrl+C to copy"
109
+ */
28
110
  "copyfailure": string;
111
+ /**
112
+ * Shown when the code is successfully copied to the users clipboard.
113
+ * @uiName Copy Success Text
114
+ * @default "copied!"
115
+ */
29
116
  "copysuccess": string;
117
+ /**
118
+ * Hide or show the component
119
+ * @uiName Hide Button
120
+ */
30
121
  "ishidden": boolean;
122
+ /**
123
+ * Text shown inside the copy button.
124
+ * @uiName Button Text
125
+ * @default "Copy"
126
+ */
31
127
  "text": string;
128
+ /**
129
+ * Color of text inside the copy button.
130
+ * @uiName Text Color
131
+ * @uiWidget color
132
+ * @format color
133
+ * @default "#FFFFFF"
134
+ */
32
135
  "textcolor": string;
33
136
  }
34
137
  interface SqhGlobalContainer {
138
+ /**
139
+ * Configure the background color.
140
+ * @uiName Background Color
141
+ * @uiWidget color
142
+ * @format color
143
+ * @default "#ffffff"
144
+ */
35
145
  "background": string;
146
+ /**
147
+ * Font family used inside the container.
148
+ * @uiName Font Family
149
+ * @default "Roboto"
150
+ * @uiEnum ["Roboto", "Artifakt Element", "Helvetica Neue,Helvetica,Arial,sans-serif", "Lato,sans-serif", "Times New Roman", "Arial", "Courier", "Tahoma", "Verdana", "Georgia"]
151
+ * @uiEnumNames ["Roboto","Artifakt Element","Helvetica Neue","Lato","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"]
152
+ */
36
153
  "fontfamily": string;
154
+ /**
155
+ * Configure the color of the loading state.
156
+ * @uiName Loading Color
157
+ * @uiWidget color
158
+ * @format color
159
+ */
37
160
  "loadingcolor": string;
161
+ /**
162
+ * Maximum width on the container.
163
+ * @uiName Max Width
164
+ */
38
165
  "maxwidth": string;
166
+ /**
167
+ * Show and hide the powered by SaaSquatch link. Can only be disabled on Pro plans.
168
+ * @uiName Show Powered By
169
+ */
39
170
  "poweredby": boolean;
40
171
  }
41
172
  interface SqhImageComponent {
173
+ /**
174
+ * Configure alignment of the image
175
+ * @uiName Alignment
176
+ * @uiEnum ["left", "center", "right"]
177
+ * @uiEnumNames ["Left", "Center", "Right"]
178
+ * @default "center"
179
+ */
42
180
  "alignment": string;
181
+ /**
182
+ * Configure border radius with pixel amount
183
+ * @uiName Border Radius
184
+ */
43
185
  "borderradius": number;
186
+ /**
187
+ * Additional CSS applied to the image element
188
+ * @uiName CSS
189
+ * @uiWidget textArea
190
+ * @default "padding-top: 38px; padding-bottom: 7px;"
191
+ */
44
192
  "css": string;
193
+ /**
194
+ * Hide or show the component
195
+ * @uiName Hide Image
196
+ */
45
197
  "ishidden": boolean;
198
+ /**
199
+ * Image link
200
+ * @uiName URL
201
+ * @uiWidget imageUpload
202
+ * @format url
203
+ */
46
204
  "url": string;
205
+ /**
206
+ * Image width
207
+ * @uiName Width
208
+ */
47
209
  "width": number;
48
210
  }
49
211
  interface SqhPartnerStatComponent {
212
+ /**
213
+ * Hide or show the component
214
+ * @uiName Hide Stat
215
+ */
50
216
  "ishidden": boolean;
217
+ /**
218
+ * Color of the stat value and description
219
+ * @uiName Stat Color
220
+ * @uiWidget color
221
+ * @format color
222
+ */
51
223
  "statcolor": string;
224
+ /**
225
+ * Description of the stat
226
+ * @uiName Stat Description
227
+ */
52
228
  "statdescription": string;
229
+ /**
230
+ * Used to query the stats for a user
231
+ * @uiName Stat Type
232
+ * @uiWidget statTypeSelector
233
+ * @required
234
+ */
53
235
  "stattype": string;
236
+ /**
237
+ * Value of the stat
238
+ * @uiName Stat Value
239
+ */
54
240
  "statvalue": string;
55
241
  }
56
242
  interface SqhReferralCode {
57
243
  }
58
244
  interface SqhReferralComponent {
245
+ /**
246
+ * Configure the local
247
+ * @uiName Local
248
+ */
59
249
  "locale": string;
250
+ /**
251
+ * Referral object
252
+ * @uiName Referral
253
+ */
60
254
  "referral": Referral | ReferredByReferral;
255
+ /**
256
+ * Type of referral
257
+ * @uiName Referral Type
258
+ */
61
259
  "referraltype": "converted" | "pending" | "referrer";
260
+ /**
261
+ * Referral variables used to format the row in the referral list
262
+ * @uiName Referral Variables
263
+ */
62
264
  "referralvariables": ReferralVariables;
265
+ /**
266
+ * Text shown when the name of a user is unknown
267
+ * @uiName Unknown User
268
+ */
63
269
  "unknownuser": String;
64
270
  }
65
271
  interface SqhReferralList {
272
+ /**
273
+ * Color of the cancelled icon and text
274
+ * @uiName Cancelled Color
275
+ * @uiGroup Cancelled Rewards
276
+ * @uiWidget color
277
+ * @format color
278
+ * @default "#C81D05"
279
+ */
66
280
  "cancelledcolor": string;
281
+ /**
282
+ * Cancelled text content shown in the user column
283
+ * @uiName Cancelled Content
284
+ * @uiGroup Cancelled Rewards
285
+ * @default "Signed up, referred {date}"
286
+ */
67
287
  "cancelledcontent": string;
288
+ /**
289
+ * Cancelled text content shown alongside the icon in the referral column
290
+ * @uiName Cancelled Value
291
+ * @uiGroup Cancelled Rewards
292
+ * @default "Cancelled Reward"
293
+ */
68
294
  "cancelledvalue": string;
295
+ /**
296
+ * Content shown when a referral is converted
297
+ * @uiName Converted Content
298
+ * @uiGroup Converted Referrals
299
+ * @default "Signed up, referred {date}"
300
+ */
69
301
  "convertedcontent": string;
302
+ /**
303
+ * Color of the customer note
304
+ * @uiName Reward Color
305
+ * @uiGroup Converted Referrals
306
+ * @uiWidget color
307
+ * @format color
308
+ */
70
309
  "customernotecolor": string;
310
+ /**
311
+ * Color of the expired icon and text
312
+ * @uiName Expired Color
313
+ * @uiGroup Expired Rewards
314
+ * @uiWidget color
315
+ * @format color
316
+ * @default "lightgray"
317
+ */
71
318
  "expiredcolor": string;
319
+ /**
320
+ * Expired content shown in the user column
321
+ * @uiName Expired Content
322
+ * @uiGroup Expired Rewards
323
+ * @default "Signed up, referred {date}"
324
+ */
72
325
  "expiredcontent": string;
326
+ /**
327
+ * Expired content shown alongside the icon in the referral column
328
+ * @uiName Expired Value
329
+ * @uiGroup Expired Rewards
330
+ * @default "Expired Reward"
331
+ */
73
332
  "expiredvalue": string;
333
+ /**
334
+ * Reward expiry ICU message
335
+ * @uiName Expires Value
336
+ * @uiGroup Expired Rewards
337
+ */
74
338
  "expiresvalue": string;
339
+ /**
340
+ * When true, the local gets set by using the value passed to the referral component
341
+ * @uiName Internationalization
342
+ * @uiGroup internationalizationProps
343
+ */
75
344
  "internationalization": boolean;
345
+ /**
346
+ * Hide or show the component
347
+ * @uiName Hide Referral List
348
+ */
76
349
  "ishidden": boolean;
350
+ /**
351
+ * Shown when referral list is empty
352
+ * @uiName Empty Referrals Text
353
+ * @default "No Referrals Yet..."
354
+ */
77
355
  "noreferralsyet": string;
356
+ /**
357
+ * Shown inside the paginate less button
358
+ * @uiName Paginate Less Text
359
+ * @default "Previous"
360
+ */
78
361
  "paginateless": string;
362
+ /**
363
+ * Shown inside the paginate more button
364
+ * @uiName Paginate More Text
365
+ * @default "View More"
366
+ */
79
367
  "paginatemore": string;
368
+ /**
369
+ * Color of the pending icon and text
370
+ * @uiName Pending Color
371
+ * @uiGroup Pending Referrals
372
+ * @uiWidget color
373
+ * @format color
374
+ * @default "lightgray"
375
+ */
80
376
  "pendingcolor": string;
377
+ /**
378
+ * Pending content shown in the user column
379
+ * @uiName Pending Content
380
+ * @uiGroup Pending Referrals
381
+ * @default "Trial user, referred {date}"
382
+ */
81
383
  "pendingcontent": string;
384
+ /**
385
+ * Pending content shown alongside the icon in the referral column
386
+ * @uiName Pending Value
387
+ * @uiGroup Pending Referrals
388
+ * @default "Referral pending"
389
+ */
82
390
  "pendingvalue": string;
391
+ /**
392
+ * Shown when reward is redeemed
393
+ * @uiName Redeemed Value
394
+ * @uiGroup Converted Referrals
395
+ * @default "Redeemed"
396
+ */
83
397
  "redeemedvalue": string;
398
+ /**
399
+ * Text color of the referred users name
400
+ * @uiName Referral Name Color
401
+ * @uiWidget color
402
+ * @format color
403
+ * @default "darkslategray"
404
+ */
84
405
  "referralnamecolor": string;
406
+ /**
407
+ * Text color of the referral status
408
+ * @uiName Referral Text Color
409
+ * @uiWidget color
410
+ * @format color
411
+ * @default "lightgray"
412
+ */
85
413
  "referraltextcolor": string;
414
+ /**
415
+ * Text explaining who referred you to the program
416
+ * @uiName Referrer Content
417
+ * @uiGroup Referrer
418
+ * @default "Referred you {date}"
419
+ */
86
420
  "referrercontent": string;
421
+ /**
422
+ * Referred Text shown in reward column
423
+ * @uiName Referrer Value
424
+ * @uiGroup Referrer
425
+ * @default "Referred"
426
+ */
87
427
  "referrervalue": string;
428
+ /**
429
+ * Color of the successful reward icon and the text value
430
+ * @uiName Reward Color
431
+ * @uiGroup Converted Referrals
432
+ * @uiWidget color
433
+ * @format color
434
+ * @default "#4BB543"
435
+ */
88
436
  "rewardcolor": string;
437
+ /**
438
+ * Show or hide expired rewards
439
+ * @uiName Show Expiry
440
+ */
89
441
  "showexpiry": boolean;
442
+ /**
443
+ * Show the customer note for a referral
444
+ * @uiName Show Customer Note
445
+ */
90
446
  "shownotes": boolean;
447
+ /**
448
+ * Show or hide the referrer
449
+ * @uiName Show Referrer
450
+ * @uiGroup Referrer
451
+ * @default ""
452
+ */
91
453
  "showreferrer": boolean;
454
+ /**
455
+ * Text shown when the referred users name is unknown
456
+ * @uiName Unknown User Text
457
+ * @default "Your Friend"
458
+ */
92
459
  "unknownuser": string;
460
+ /**
461
+ * Show value of the first earned reward inside the rewards column
462
+ * @uiName Use First Reward
463
+ * @uiGroup Converted Referrals
464
+ */
93
465
  "usefirstreward": boolean;
466
+ /**
467
+ * Value shown in the rewards column
468
+ * @uiName Value Content
469
+ * @uiGroup Converted Referrals
470
+ * @uiWidget textArea
471
+ * @default "and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}"
472
+ */
94
473
  "valuecontent": string;
95
474
  }
96
475
  interface SqhRewardsActions {
476
+ /**
477
+ * Text inside the hide button
478
+ * @uiName Hide Button Text
479
+ */
97
480
  "hidetext": string;
481
+ /**
482
+ * Text inside the next button
483
+ * @uiName Next Button Text
484
+ */
98
485
  "nexttext": string;
486
+ /**
487
+ * Text inside the previous button
488
+ * @uiName Previous Button Text
489
+ */
99
490
  "previoustext": string;
100
491
  }
101
492
  interface SqhShareButton {
493
+ /**
494
+ * Background color of the share button
495
+ * @uiName Share Button Background Color
496
+ * @uiWidget color
497
+ * @format color
498
+ */
102
499
  "backgroundcolor": string;
500
+ /**
501
+ * CSS Class name used to style the share button
502
+ * @uiName Share Button Class Name
503
+ */
103
504
  "buttonClassName": string;
505
+ /**
506
+ * Show or hide button depending on what type of device the user is on
507
+ * @uiName Share Button Display Rule
508
+ */
104
509
  "displayrule": string;
510
+ /**
511
+ * Share button icon
512
+ * @uiName Share Button Icon
513
+ */
105
514
  "icon": string;
515
+ /**
516
+ * Number to horizontally align the share button icon
517
+ * @uiName Share Button Icon Horizontal
518
+ */
106
519
  "iconhorizontal": number;
520
+ /**
521
+ * Size of the Share button icon
522
+ * @uiName Share Button Icon Size
523
+ */
107
524
  "iconsize": number;
525
+ /**
526
+ * Number to vertically align the share button icon
527
+ * @uiName Share Button Icon Vertical
528
+ */
108
529
  "iconvertical": number;
530
+ /**
531
+ * Text inside the share button
532
+ * @uiName Share Button Text
533
+ */
109
534
  "text": string;
535
+ /**
536
+ * Color of the text inside the share button
537
+ * @uiName Share Button Text Color
538
+ * @uiWidget color
539
+ * @format color
540
+ */
110
541
  "textcolor": string;
542
+ /**
543
+ * Type of the share button
544
+ * @uiName Share Button Type
545
+ */
111
546
  "type": string;
547
+ /**
548
+ * URL redirect location
549
+ * @uiName URL
550
+ * @uiWidget imageUpload
551
+ * @format url
552
+ */
112
553
  "url": string;
113
554
  }
114
555
  interface SqhShareButtonContainer {
556
+ /**
557
+ * Background color of the Email button
558
+ * @uiName Email Background Color
559
+ * @uiGroup Email
560
+ * @uiWidget color
561
+ * @format color
562
+ * @default "#4b4d50"
563
+ */
115
564
  "emailbackgroundcolor": string;
565
+ /**
566
+ * CSS Class name used to style the Email button
567
+ * @uiName Email Class Name
568
+ * @uiGroup Email
569
+ */
116
570
  "emailclassName": string;
571
+ /**
572
+ * Show and hide button depending on what type of device the user is on
573
+ * @uiName Email Display Rule
574
+ * @uiGroup Email
575
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
576
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
577
+ * @default "mobile-and-desktop"
578
+ */
117
579
  "emaildisplayrule": string;
580
+ /**
581
+ * Email button icon
582
+ * @uiName Email Icon
583
+ * @uiGroup Email
584
+ */
118
585
  "emailicon": string;
586
+ /**
587
+ * Number to horizontally align the Email button icon
588
+ * @uiName Email Icon Horizontal
589
+ * @uiGroup Email
590
+ */
119
591
  "emailiconhorizontal": number;
592
+ /**
593
+ * Size of the Email button icon
594
+ * @uiName Email Icon Size
595
+ * @uiGroup Email
596
+ */
120
597
  "emailiconsize": number;
598
+ /**
599
+ * Number to vertically align the Email button icon
600
+ * @uiName Email Icon Vertical
601
+ * @uiGroup Email
602
+ */
121
603
  "emailiconvertical": number;
604
+ /**
605
+ * Text inside the Email button
606
+ * @uiName Email Text
607
+ * @uiGroup Email
608
+ * @default "Email"
609
+ */
122
610
  "emailtext": string;
611
+ /**
612
+ * Color of the text inside the Email button
613
+ * @uiName Email Text Color
614
+ * @uiGroup Email
615
+ * @uiWidget color
616
+ * @format color
617
+ * @default "#ffffff"
618
+ */
123
619
  "emailtextcolor": string;
620
+ /**
621
+ * Background color of the facebook button
622
+ * @uiName Facebook Background Color
623
+ * @uiGroup Facebook
624
+ * @uiWidget color
625
+ * @format color
626
+ * @default "#234079"
627
+ */
124
628
  "facebookbackgroundcolor": string;
629
+ /**
630
+ * CSS Class name used to style the facebook button
631
+ * @uiName Facebook Class Name
632
+ * @uiGroup Facebook
633
+ */
125
634
  "facebookclassName": string;
635
+ /**
636
+ * Show and hide button depending on what type of device the user is on
637
+ * @uiName Facebook Display Rule
638
+ * @uiGroup Facebook
639
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
640
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
641
+ * @default "mobile-and-desktop"
642
+ */
126
643
  "facebookdisplayrule": string;
644
+ /**
645
+ * Facebook button icon
646
+ * @uiName Facebook Icon
647
+ * @uiGroup Facebook
648
+ */
127
649
  "facebookicon": string;
650
+ /**
651
+ * Number to horizontally align the facebook button icon
652
+ * @uiName Facebook Icon Horizontal
653
+ * @uiGroup Facebook
654
+ */
128
655
  "facebookiconhorizontal": number;
656
+ /**
657
+ * Size of the facebook button icon
658
+ * @uiName Facebook Icon Size
659
+ * @uiGroup Facebook
660
+ */
129
661
  "facebookiconsize": number;
662
+ /**
663
+ * Number to vertically align the facebook button icon
664
+ * @uiName Facebook Icon Vertical
665
+ * @uiGroup Facebook
666
+ */
130
667
  "facebookiconvertical": number;
668
+ /**
669
+ * Text inside the facebook button
670
+ * @uiName Facebook Text
671
+ * @uiGroup Facebook
672
+ * @default "Facebook"
673
+ */
131
674
  "facebooktext": string;
675
+ /**
676
+ * Color of the text inside the facebook button
677
+ * @uiName Facebook Text Color
678
+ * @uiGroup Facebook
679
+ * @uiWidget color
680
+ * @format color
681
+ * @default "#ffffff"
682
+ */
132
683
  "facebooktextcolor": string;
684
+ /**
685
+ * Hide or show the component
686
+ * @uiName Hide Share Buttons
687
+ */
133
688
  "ishidden": boolean;
689
+ /**
690
+ * Background color of the Line button
691
+ * @uiName Line Background Color
692
+ * @uiGroup Line Messenger
693
+ * @uiWidget color
694
+ * @format color
695
+ * @default "#00c300"
696
+ */
134
697
  "linebackgroundcolor": string;
698
+ /**
699
+ * CSS Class name used to style the Line button
700
+ * @uiName Line Class Name
701
+ * @uiGroup Line Messenger
702
+ */
135
703
  "lineclassName": string;
704
+ /**
705
+ * Show and hide button depending on what type of device the user is on
706
+ * @uiName Line Display Rule
707
+ * @uiGroup Line Messenger
708
+ * @uiEnum ["mobile-only","hidden"]
709
+ * @uiEnumNames ["Mobile Only","Hide"]
710
+ * @default "mobile-only"
711
+ */
136
712
  "linedisplayrule": string;
713
+ /**
714
+ * Line button icon
715
+ * @uiName Line Icon
716
+ * @uiGroup Line Messenger
717
+ */
137
718
  "lineicon": string;
719
+ /**
720
+ * Number to horizontally align the Line button icon
721
+ * @uiName Line Icon Horizontal
722
+ * @uiGroup Line Messenger
723
+ */
138
724
  "lineiconhorizontal": number;
725
+ /**
726
+ * Size of the Line button icon
727
+ * @uiName Line Icon Size
728
+ * @uiGroup Line Messenger
729
+ */
139
730
  "lineiconsize": number;
731
+ /**
732
+ * Number to vertically align the Line button icon
733
+ * @uiName Line Icon Vertical
734
+ * @uiGroup Line Messenger
735
+ */
140
736
  "lineiconvertical": number;
737
+ /**
738
+ * Text inside the Line button
739
+ * @uiName Line Text
740
+ * @uiGroup Line Messenger
741
+ * @default "Line Messenger"
742
+ */
141
743
  "linetext": string;
744
+ /**
745
+ * Color of the text inside the Line button
746
+ * @uiName Line Text Color
747
+ * @uiGroup Line Messenger
748
+ * @uiWidget color
749
+ * @format color
750
+ * @default "#ffffff"
751
+ */
142
752
  "linetextcolor": string;
753
+ /**
754
+ * Background color of the linkedin button
755
+ * @uiName Linkedin Background Color
756
+ * @uiGroup LinkedIn
757
+ * @uiWidget color
758
+ * @format color
759
+ * @default "#ffffff"
760
+ */
143
761
  "linkedinbackgroundcolor": string;
762
+ /**
763
+ * CSS Class name used to style the Linkedin button
764
+ * @uiName Linkedin Class Name
765
+ * @uiGroup LinkedIn
766
+ */
144
767
  "linkedinclassName": string;
768
+ /**
769
+ * Show and hide button depending on what type of device the user is on
770
+ * @uiName Linkedin Display Rule
771
+ * @uiGroup LinkedIn
772
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
773
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
774
+ * @default "hidden"
775
+ */
145
776
  "linkedindisplayrule": string;
777
+ /**
778
+ * Linkedin button icon
779
+ * @uiName Linkedin Icon
780
+ * @uiGroup LinkedIn
781
+ */
146
782
  "linkedinicon": string;
783
+ /**
784
+ * Number to horizontally align the Linkedin button icon
785
+ * @uiName Linkedin Icon Horizontal
786
+ * @uiGroup LinkedIn
787
+ */
147
788
  "linkediniconhorizontal": number;
789
+ /**
790
+ * Size of the Linkedin button icon
791
+ * @uiName Linkedin Icon Size
792
+ * @uiGroup LinkedIn
793
+ */
148
794
  "linkediniconsize": number;
795
+ /**
796
+ * Number to vertically align the Linkedin button icon
797
+ * @uiName Linkedin Icon Vertical
798
+ * @uiGroup LinkedIn
799
+ */
149
800
  "linkediniconvertical": number;
801
+ /**
802
+ * Text inside the linkedin button
803
+ * @uiName Linkedin Text
804
+ * @uiGroup LinkedIn
805
+ * @default "LinkedIn"
806
+ */
150
807
  "linkedintext": string;
808
+ /**
809
+ * Color of the text inside the Linkedin button
810
+ * @uiName Linkedin Text Color
811
+ * @uiGroup LinkedIn
812
+ * @uiWidget color
813
+ * @format color
814
+ * @default "#0084b9"
815
+ */
151
816
  "linkedintextcolor": string;
817
+ /**
818
+ * Background color of the Messenger button
819
+ * @uiName Messenger Background Color
820
+ * @uiGroup Messenger
821
+ * @uiWidget color
822
+ * @format color
823
+ * @default "#0084ff"
824
+ */
152
825
  "messengerbackgroundcolor": string;
826
+ /**
827
+ * CSS Class name used to style the Messenger button
828
+ * @uiName Messenger Class Name
829
+ * @uiGroup Messenger
830
+ */
153
831
  "messengerclassName": string;
832
+ /**
833
+ * Show and hide button depending on what type of device the user is on
834
+ * @uiName Messenger Display Rule
835
+ * @uiGroup Messenger
836
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
837
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
838
+ * @default "hidden"
839
+ */
154
840
  "messengerdisplayrule": string;
841
+ /**
842
+ * Messenger button icon
843
+ * @uiName Messenger Icon
844
+ * @uiGroup Messenger
845
+ */
155
846
  "messengericon": string;
847
+ /**
848
+ * Number to horizontally align the Messenger button icon
849
+ * @uiName Messenger Icon Horizontal
850
+ * @uiGroup Messenger
851
+ */
156
852
  "messengericonhorizontal": number;
853
+ /**
854
+ * Size of the Messenger button icon
855
+ * @uiName Messenger Icon Size
856
+ * @uiGroup Messenger
857
+ */
157
858
  "messengericonsize": number;
859
+ /**
860
+ * Number to vertically align the Messenger button icon
861
+ * @uiName Messenger Icon Vertical
862
+ * @uiGroup Messenger
863
+ */
158
864
  "messengericonvertical": number;
865
+ /**
866
+ * Text inside the Messenger button
867
+ * @uiName Messenger Text
868
+ * @uiGroup Messenger
869
+ * @default "Messenger"
870
+ */
159
871
  "messengertext": string;
872
+ /**
873
+ * Color of the text inside the Messenger button
874
+ * @uiName Messenger Text Color
875
+ * @uiGroup Messenger
876
+ * @uiWidget color
877
+ * @format color
878
+ * @default "#ffffff"
879
+ */
160
880
  "messengertextcolor": string;
881
+ /**
882
+ * Background color of the Pinterest button
883
+ * @uiName Pinterest Background Color
884
+ * @uiGroup Pinterest
885
+ * @uiWidget color
886
+ * @format color
887
+ * @default "#cb2027"
888
+ */
161
889
  "pinterestbackgroundcolor": string;
890
+ /**
891
+ * CSS Class name used to style the Pinterest button
892
+ * @uiName Pinterest Class Name
893
+ * @uiGroup Pinterest
894
+ */
162
895
  "pinterestclassName": string;
896
+ /**
897
+ * Show and hide button depending on what type of device the user is on
898
+ * @uiName Pinterest Display Rule
899
+ * @uiGroup Pinterest
900
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
901
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
902
+ * @default "hidden"
903
+ */
163
904
  "pinterestdisplayrule": string;
905
+ /**
906
+ * Pinterest button icon
907
+ * @uiName Pinterest Icon
908
+ * @uiGroup Pinterest
909
+ */
164
910
  "pinteresticon": string;
911
+ /**
912
+ * Number to horizontally align the Pinterest button icon
913
+ * @uiName Pinterest Icon Horizontal
914
+ * @uiGroup Pinterest
915
+ */
165
916
  "pinteresticonhorizontal": number;
917
+ /**
918
+ * Size of the Pinterest button icon
919
+ * @uiName Pinterest Icon Size
920
+ * @uiGroup Pinterest
921
+ */
166
922
  "pinteresticonsize": number;
923
+ /**
924
+ * Number to vertically align the Pinterest button icon
925
+ * @uiName Pinterest Icon Vertical
926
+ * @uiGroup Pinterest
927
+ */
167
928
  "pinteresticonvertical": number;
929
+ /**
930
+ * Text inside the Pinterest button
931
+ * @uiName Pinterest Text
932
+ * @uiGroup Pinterest
933
+ * @default "Pinterest"
934
+ */
168
935
  "pinteresttext": string;
936
+ /**
937
+ * Color of the text inside the Pinterest button
938
+ * @uiName Pinterest Text Color
939
+ * @uiGroup Pinterest
940
+ * @uiWidget color
941
+ * @format color
942
+ * @default "#ffffff"
943
+ */
169
944
  "pinteresttextcolor": string;
945
+ /**
946
+ * Background color of the SMS button
947
+ * @uiName SMS Background Color
948
+ * @uiGroup SMS
949
+ * @uiWidget color
950
+ * @format color
951
+ * @default "#7bbf38"
952
+ */
170
953
  "smsbackgroundcolor": string;
954
+ /**
955
+ * CSS Class name used to style the SMS button
956
+ * @uiName SMS Class Name
957
+ * @uiGroup SMS
958
+ */
171
959
  "smsclassName": string;
960
+ /**
961
+ * Show and hide button depending on what type of device the user is on
962
+ * @uiName SMS Display Rule
963
+ * @uiGroup SMS
964
+ * @uiEnum ["mobile-only","hidden"]
965
+ * @uiEnumNames ["Mobile Only","Hide"]
966
+ * @default "mobile-only"
967
+ */
172
968
  "smsdisplayrule": string;
969
+ /**
970
+ * SMS button icon
971
+ * @uiName SMS Icon
972
+ * @uiGroup SMS
973
+ */
173
974
  "smsicon": string;
975
+ /**
976
+ * Number to horizontally align the SMS button icon
977
+ * @uiName SMS Icon Horizontal
978
+ * @uiGroup SMS
979
+ */
174
980
  "smsiconhorizontal": number;
981
+ /**
982
+ * Size of the SMS button icon
983
+ * @uiName SMS Icon Size
984
+ * @uiGroup SMS
985
+ */
175
986
  "smsiconsize": number;
987
+ /**
988
+ * Number to vertically align the SMS button icon
989
+ * @uiName SMS Icon Vertical
990
+ * @uiGroup SMS
991
+ */
176
992
  "smsiconvertical": number;
993
+ /**
994
+ * Text inside the SMS button
995
+ * @uiName SMS Text
996
+ * @uiGroup SMS
997
+ * @default "SMS"
998
+ */
177
999
  "smstext": string;
1000
+ /**
1001
+ * Color of the text inside the SMS button
1002
+ * @uiName SMS Text Color
1003
+ * @uiGroup SMS
1004
+ * @uiWidget color
1005
+ * @format color
1006
+ * @default "#ffffff"
1007
+ */
178
1008
  "smstextcolor": string;
1009
+ /**
1010
+ * Background color of the twitter button
1011
+ * @uiName Twitter Background Color
1012
+ * @uiGroup Twitter
1013
+ * @uiWidget color
1014
+ * @format color
1015
+ * @default "#4797d2"
1016
+ */
179
1017
  "twitterbackgroundcolor": string;
1018
+ /**
1019
+ * CSS Class name used to style the twitter button
1020
+ * @uiName Twitter Class Name
1021
+ * @uiGroup Twitter
1022
+ */
180
1023
  "twitterclassName": string;
1024
+ /**
1025
+ * Show and hide button depending on what type of device the user is on
1026
+ * @uiName Twitter Display Rule
1027
+ * @uiGroup Twitter
1028
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
1029
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
1030
+ * @default "mobile-and-desktop"
1031
+ */
181
1032
  "twitterdisplayrule": string;
1033
+ /**
1034
+ * Twitter button icon
1035
+ * @uiName Twitter Icon
1036
+ * @uiGroup Twitter
1037
+ */
182
1038
  "twittericon": string;
1039
+ /**
1040
+ * Number to horizontally align the twitter button icon
1041
+ * @uiName Twitter Icon Horizontal
1042
+ * @uiGroup Twitter
1043
+ */
183
1044
  "twittericonhorizontal": number;
1045
+ /**
1046
+ * Size of the twitter button icon
1047
+ * @uiName Twitter Icon Size
1048
+ * @uiGroup Twitter
1049
+ */
184
1050
  "twittericonsize": number;
1051
+ /**
1052
+ * Number to vertically align the twitter button icon
1053
+ * @uiName Twitter Icon Vertical
1054
+ * @uiGroup Twitter
1055
+ */
185
1056
  "twittericonvertical": number;
1057
+ /**
1058
+ * Text inside the twitter button
1059
+ * @uiName Twitter Text
1060
+ * @uiGroup Twitter
1061
+ * @default "Twitter"
1062
+ */
186
1063
  "twittertext": string;
1064
+ /**
1065
+ * Color of the text inside the twitter button
1066
+ * @uiName Twitter Text Color
1067
+ * @uiGroup Twitter
1068
+ * @uiWidget color
1069
+ * @format color
1070
+ * @default "#ffffff"
1071
+ */
187
1072
  "twittertextcolor": string;
1073
+ /**
1074
+ * Background color of the WhatsApp button
1075
+ * @uiName WhatsApp Background Color
1076
+ * @uiGroup WhatsApp
1077
+ * @uiWidget color
1078
+ * @format color
1079
+ * @default "#25D366"
1080
+ */
188
1081
  "whatsappbackgroundcolor": string;
1082
+ /**
1083
+ * CSS Class name used to style the WhatsApp button
1084
+ * @uiName WhatsApp Class Name
1085
+ * @uiGroup WhatsApp
1086
+ */
189
1087
  "whatsappclassName": string;
1088
+ /**
1089
+ * Show and hide button depending on what type of device the user is on
1090
+ * @uiName WhatsApp Display Rule
1091
+ * @uiGroup WhatsApp
1092
+ * @uiEnum ["mobile-only","hidden"]
1093
+ * @uiEnumNames ["Mobile Only","Hide"]
1094
+ * @default "mobile-only"
1095
+ */
190
1096
  "whatsappdisplayrule": string;
1097
+ /**
1098
+ * WhatsApp button icon
1099
+ * @uiName WhatsApp Icon
1100
+ * @uiGroup WhatsApp
1101
+ */
191
1102
  "whatsappicon": string;
1103
+ /**
1104
+ * Number to horizontally align the WhatsApp button icon
1105
+ * @uiName WhatsApp Icon Horizontal
1106
+ * @uiGroup WhatsApp
1107
+ */
192
1108
  "whatsappiconhorizontal": number;
1109
+ /**
1110
+ * Size of the WhatsApp button icon
1111
+ * @uiName WhatsApp Icon Size
1112
+ * @uiGroup WhatsApp
1113
+ */
193
1114
  "whatsappiconsize": number;
1115
+ /**
1116
+ * Number to vertically align the WhatsApp button icon
1117
+ * @uiName WhatsApp Icon Vertical
1118
+ * @uiGroup WhatsApp
1119
+ */
194
1120
  "whatsappiconvertical": number;
1121
+ /**
1122
+ * Text inside the WhatsApp button
1123
+ * @uiName WhatsApp Text
1124
+ * @uiGroup WhatsApp
1125
+ * @default "Whatspp"
1126
+ */
195
1127
  "whatsapptext": string;
1128
+ /**
1129
+ * Color of the text inside the WhatsApp button
1130
+ * @uiName WhatsApp Text Color
1131
+ * @uiGroup WhatsApp
1132
+ * @uiWidget color
1133
+ * @format color
1134
+ * @default "#ffffff"
1135
+ */
196
1136
  "whatsapptextcolor": string;
197
1137
  }
198
1138
  interface SqhStatComponent {
1139
+ /**
1140
+ * Hide or show the component
1141
+ * @uiName Hide Stat
1142
+ */
199
1143
  "ishidden": boolean;
1144
+ /**
1145
+ * Text color of the stat
1146
+ * @uiName Stat Color
1147
+ * @uiWidget color
1148
+ * @format color
1149
+ */
200
1150
  "statcolor": string;
1151
+ /**
1152
+ * Description shown underneath stat value
1153
+ * @uiName Stat Description
1154
+ */
201
1155
  "statdescription": string;
1156
+ /**
1157
+ * Type of stat being displayed. e.g /rewardsCount
1158
+ * @uiName Stat Type
1159
+ * @uiWidget statTypeSelector
1160
+ * @required
1161
+ */
202
1162
  "stattype": string;
1163
+ /**
1164
+ * Value shown inside stat
1165
+ * @uiName Stat Value
1166
+ */
203
1167
  "statvalue": string;
204
1168
  }
205
1169
  interface SqhStatsContainer {
1170
+ /**
1171
+ * Hide the component
1172
+ * @uiName Is Hidden
1173
+ */
206
1174
  "ishidden": boolean;
1175
+ /**
1176
+ * Configure the padding bottom of the container
1177
+ * @uiName Padding Bottom
1178
+ * @default "0"
1179
+ */
207
1180
  "paddingbottom": string;
1181
+ /**
1182
+ * Configure the padding top of the container
1183
+ * @uiName Padding Top
1184
+ * @default "0"
1185
+ */
208
1186
  "paddingtop": string;
209
1187
  }
210
1188
  interface SqhTextComponent {
1189
+ /**
1190
+ * Background the container, color or url
1191
+ * @uiName Background
1192
+ */
211
1193
  "background": string;
1194
+ /**
1195
+ * Color of the text
1196
+ * @uiName Color
1197
+ * @uiWidget color
1198
+ * @format color
1199
+ */
212
1200
  "color": string;
1201
+ /**
1202
+ * Font family of the text
1203
+ * @uiName Font Family
1204
+ */
213
1205
  "fontfamily": string;
1206
+ /**
1207
+ * Size of the text
1208
+ * @uiName Font Size
1209
+ */
214
1210
  "fontsize": string;
1211
+ /**
1212
+ * Height of the container
1213
+ * @uiName Height
1214
+ */
215
1215
  "height": string;
1216
+ /**
1217
+ * Hide or show the component
1218
+ * @uiName Hide Text
1219
+ */
216
1220
  "ishidden": boolean;
1221
+ /**
1222
+ * Compiles plain text into markdown
1223
+ * @uiName Is Markdown
1224
+ */
217
1225
  "ismarkdown": boolean;
218
- "padding": string;
1226
+ /**
1227
+ * Bottom padding on text
1228
+ * @uiName Padding Bottom
1229
+ */
219
1230
  "paddingbottom": string;
1231
+ /**
1232
+ * Top padding on text
1233
+ * @uiName Padding Top
1234
+ */
220
1235
  "paddingtop": string;
1236
+ /**
1237
+ * The text content
1238
+ * @uiName Text
1239
+ */
221
1240
  "text": string;
1241
+ /**
1242
+ * Text alignment
1243
+ * @uiName Text Align
1244
+ * @uiEnum ["left", "center", "right"]
1245
+ * @uiEnumNames ["Left", "Center", "Right"]
1246
+ */
222
1247
  "textalign": string;
223
1248
  }
224
1249
  }
@@ -333,222 +1358,1247 @@ declare global {
333
1358
  }
334
1359
  declare namespace LocalJSX {
335
1360
  interface SqhCloseButton {
1361
+ /**
1362
+ * The text shown inside the close button.
1363
+ * @uiName Button Text
1364
+ */
336
1365
  "text"?: string;
337
1366
  }
338
1367
  interface SqhCopyButton {
1368
+ /**
1369
+ * Background & border color of the copy button.
1370
+ * @uiName Background Color
1371
+ * @uiWidget color
1372
+ * @format color
1373
+ * @default #35b21e
1374
+ */
339
1375
  "backgroundcolor"?: string;
1376
+ /**
1377
+ * Configure border radius with pixel amount
1378
+ * @uiName Border Radius
1379
+ * @default 4
1380
+ */
340
1381
  "borderradius"?: number;
1382
+ /**
1383
+ * Text color of the fuel tank code.
1384
+ * @uiName Code Font Color
1385
+ * @uiWidget color
1386
+ * @format color
1387
+ * @default #000000
1388
+ */
341
1389
  "codefontcolor"?: string;
1390
+ /**
1391
+ * Font size of the fuel tank code.
1392
+ * @uiName Code Font Size
1393
+ * @default 14
1394
+ */
342
1395
  "codefontsize"?: number;
1396
+ /**
1397
+ * Shown when the button has failed to copy the code to the users clipboard.
1398
+ * @uiName Copy Failure Text
1399
+ * @default "Press Ctrl+C to copy"
1400
+ */
343
1401
  "copyfailure"?: string;
1402
+ /**
1403
+ * Shown when the code is successfully copied to the users clipboard.
1404
+ * @uiName Copy Success Text
1405
+ * @default "copied!"
1406
+ */
344
1407
  "copysuccess"?: string;
1408
+ /**
1409
+ * Font size of the copy button text.
1410
+ * @uiName Font Size
1411
+ * @default 14
1412
+ */
345
1413
  "fontsize"?: number;
1414
+ /**
1415
+ * Hide or show the component
1416
+ * @uiName Hide Button
1417
+ * @default undefined
1418
+ */
346
1419
  "ishidden"?: boolean;
1420
+ /**
1421
+ * rewardkey is used to get the fuel tank code for a user.
1422
+ * @uiName Reward Key
1423
+ * @default "referredReward"
1424
+ */
347
1425
  "rewardkey"?: string;
1426
+ /**
1427
+ * Text shown inside the copy button.
1428
+ * @uiName Button Text
1429
+ * @default "COPY CODE"
1430
+ */
348
1431
  "text"?: string;
1432
+ /**
1433
+ * Color of text inside the copy button.
1434
+ * @uiName Text Color
1435
+ * @uiWidget color
1436
+ * @format color
1437
+ * @default #ffffff
1438
+ */
349
1439
  "textcolor"?: string;
1440
+ /**
1441
+ * Sets a maximum width on the copy button.
1442
+ * @uiName Max Width
1443
+ * @default 170
1444
+ */
350
1445
  "width"?: number;
351
1446
  }
352
1447
  interface SqhCopyLinkButton {
1448
+ /**
1449
+ * Background & border color of the copy button.
1450
+ * @uiName Button Color
1451
+ * @uiWidget color
1452
+ * @format color
1453
+ * @default "#5C6164"
1454
+ */
353
1455
  "buttoncolor"?: string;
1456
+ /**
1457
+ * Shown when the button has failed to copy the code to the users clipboard.
1458
+ * @uiName Copy Failure Text
1459
+ * @default "Press Ctrl+C to copy"
1460
+ */
354
1461
  "copyfailure"?: string;
1462
+ /**
1463
+ * Shown when the code is successfully copied to the users clipboard.
1464
+ * @uiName Copy Success Text
1465
+ * @default "copied!"
1466
+ */
355
1467
  "copysuccess"?: string;
1468
+ /**
1469
+ * Hide or show the component
1470
+ * @uiName Hide Button
1471
+ */
356
1472
  "ishidden"?: boolean;
1473
+ /**
1474
+ * Text shown inside the copy button.
1475
+ * @uiName Button Text
1476
+ * @default "Copy"
1477
+ */
357
1478
  "text"?: string;
1479
+ /**
1480
+ * Color of text inside the copy button.
1481
+ * @uiName Text Color
1482
+ * @uiWidget color
1483
+ * @format color
1484
+ * @default "#FFFFFF"
1485
+ */
358
1486
  "textcolor"?: string;
359
1487
  }
360
1488
  interface SqhGlobalContainer {
1489
+ /**
1490
+ * Configure the background color.
1491
+ * @uiName Background Color
1492
+ * @uiWidget color
1493
+ * @format color
1494
+ * @default "#ffffff"
1495
+ */
361
1496
  "background"?: string;
1497
+ /**
1498
+ * Font family used inside the container.
1499
+ * @uiName Font Family
1500
+ * @default "Roboto"
1501
+ * @uiEnum ["Roboto", "Artifakt Element", "Helvetica Neue,Helvetica,Arial,sans-serif", "Lato,sans-serif", "Times New Roman", "Arial", "Courier", "Tahoma", "Verdana", "Georgia"]
1502
+ * @uiEnumNames ["Roboto","Artifakt Element","Helvetica Neue","Lato","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"]
1503
+ */
362
1504
  "fontfamily"?: string;
1505
+ /**
1506
+ * Configure the color of the loading state.
1507
+ * @uiName Loading Color
1508
+ * @uiWidget color
1509
+ * @format color
1510
+ */
363
1511
  "loadingcolor"?: string;
1512
+ /**
1513
+ * Maximum width on the container.
1514
+ * @uiName Max Width
1515
+ */
364
1516
  "maxwidth"?: string;
1517
+ /**
1518
+ * Show and hide the powered by SaaSquatch link. Can only be disabled on Pro plans.
1519
+ * @uiName Show Powered By
1520
+ */
365
1521
  "poweredby"?: boolean;
366
1522
  }
367
1523
  interface SqhImageComponent {
1524
+ /**
1525
+ * Configure alignment of the image
1526
+ * @uiName Alignment
1527
+ * @uiEnum ["left", "center", "right"]
1528
+ * @uiEnumNames ["Left", "Center", "Right"]
1529
+ * @default "center"
1530
+ */
368
1531
  "alignment"?: string;
1532
+ /**
1533
+ * Configure border radius with pixel amount
1534
+ * @uiName Border Radius
1535
+ */
369
1536
  "borderradius"?: number;
1537
+ /**
1538
+ * Additional CSS applied to the image element
1539
+ * @uiName CSS
1540
+ * @uiWidget textArea
1541
+ * @default "padding-top: 38px; padding-bottom: 7px;"
1542
+ */
370
1543
  "css"?: string;
1544
+ /**
1545
+ * Hide or show the component
1546
+ * @uiName Hide Image
1547
+ */
371
1548
  "ishidden"?: boolean;
1549
+ /**
1550
+ * Image link
1551
+ * @uiName URL
1552
+ * @uiWidget imageUpload
1553
+ * @format url
1554
+ */
372
1555
  "url"?: string;
1556
+ /**
1557
+ * Image width
1558
+ * @uiName Width
1559
+ */
373
1560
  "width"?: number;
374
1561
  }
375
1562
  interface SqhPartnerStatComponent {
1563
+ /**
1564
+ * Hide or show the component
1565
+ * @uiName Hide Stat
1566
+ */
376
1567
  "ishidden"?: boolean;
377
1568
  "onStatAdded"?: (event: CustomEvent<any>) => void;
378
1569
  "onStatTypeUpdated"?: (event: CustomEvent<any>) => void;
1570
+ /**
1571
+ * Color of the stat value and description
1572
+ * @uiName Stat Color
1573
+ * @uiWidget color
1574
+ * @format color
1575
+ */
379
1576
  "statcolor"?: string;
1577
+ /**
1578
+ * Description of the stat
1579
+ * @uiName Stat Description
1580
+ */
380
1581
  "statdescription"?: string;
1582
+ /**
1583
+ * Used to query the stats for a user
1584
+ * @uiName Stat Type
1585
+ * @uiWidget statTypeSelector
1586
+ * @required
1587
+ */
381
1588
  "stattype"?: string;
1589
+ /**
1590
+ * Value of the stat
1591
+ * @uiName Stat Value
1592
+ */
382
1593
  "statvalue"?: string;
383
1594
  }
384
1595
  interface SqhReferralCode {
385
1596
  }
386
1597
  interface SqhReferralComponent {
1598
+ /**
1599
+ * Configure the local
1600
+ * @uiName Local
1601
+ */
387
1602
  "locale"?: string;
1603
+ /**
1604
+ * Referral object
1605
+ * @uiName Referral
1606
+ */
388
1607
  "referral"?: Referral | ReferredByReferral;
1608
+ /**
1609
+ * Type of referral
1610
+ * @uiName Referral Type
1611
+ */
389
1612
  "referraltype"?: "converted" | "pending" | "referrer";
1613
+ /**
1614
+ * Referral variables used to format the row in the referral list
1615
+ * @uiName Referral Variables
1616
+ */
390
1617
  "referralvariables"?: ReferralVariables;
1618
+ /**
1619
+ * Text shown when the name of a user is unknown
1620
+ * @uiName Unknown User
1621
+ */
391
1622
  "unknownuser"?: String;
392
1623
  }
393
1624
  interface SqhReferralList {
1625
+ /**
1626
+ * Color of the cancelled icon and text
1627
+ * @uiName Cancelled Color
1628
+ * @uiGroup Cancelled Rewards
1629
+ * @uiWidget color
1630
+ * @format color
1631
+ * @default "#C81D05"
1632
+ */
394
1633
  "cancelledcolor"?: string;
1634
+ /**
1635
+ * Cancelled text content shown in the user column
1636
+ * @uiName Cancelled Content
1637
+ * @uiGroup Cancelled Rewards
1638
+ * @default "Signed up, referred {date}"
1639
+ */
395
1640
  "cancelledcontent"?: string;
1641
+ /**
1642
+ * Cancelled text content shown alongside the icon in the referral column
1643
+ * @uiName Cancelled Value
1644
+ * @uiGroup Cancelled Rewards
1645
+ * @default "Cancelled Reward"
1646
+ */
396
1647
  "cancelledvalue"?: string;
1648
+ /**
1649
+ * Content shown when a referral is converted
1650
+ * @uiName Converted Content
1651
+ * @uiGroup Converted Referrals
1652
+ * @default "Signed up, referred {date}"
1653
+ */
397
1654
  "convertedcontent"?: string;
1655
+ /**
1656
+ * Color of the customer note
1657
+ * @uiName Reward Color
1658
+ * @uiGroup Converted Referrals
1659
+ * @uiWidget color
1660
+ * @format color
1661
+ */
398
1662
  "customernotecolor"?: string;
1663
+ /**
1664
+ * Color of the expired icon and text
1665
+ * @uiName Expired Color
1666
+ * @uiGroup Expired Rewards
1667
+ * @uiWidget color
1668
+ * @format color
1669
+ * @default "lightgray"
1670
+ */
399
1671
  "expiredcolor"?: string;
1672
+ /**
1673
+ * Expired content shown in the user column
1674
+ * @uiName Expired Content
1675
+ * @uiGroup Expired Rewards
1676
+ * @default "Signed up, referred {date}"
1677
+ */
400
1678
  "expiredcontent"?: string;
1679
+ /**
1680
+ * Expired content shown alongside the icon in the referral column
1681
+ * @uiName Expired Value
1682
+ * @uiGroup Expired Rewards
1683
+ * @default "Expired Reward"
1684
+ */
401
1685
  "expiredvalue"?: string;
1686
+ /**
1687
+ * Reward expiry ICU message
1688
+ * @uiName Expires Value
1689
+ * @uiGroup Expired Rewards
1690
+ */
402
1691
  "expiresvalue"?: string;
1692
+ /**
1693
+ * When true, the local gets set by using the value passed to the referral component
1694
+ * @uiName Internationalization
1695
+ * @uiGroup internationalizationProps
1696
+ */
403
1697
  "internationalization"?: boolean;
1698
+ /**
1699
+ * Hide or show the component
1700
+ * @uiName Hide Referral List
1701
+ */
404
1702
  "ishidden"?: boolean;
1703
+ /**
1704
+ * Shown when referral list is empty
1705
+ * @uiName Empty Referrals Text
1706
+ * @default "No Referrals Yet..."
1707
+ */
405
1708
  "noreferralsyet"?: string;
1709
+ /**
1710
+ * Shown inside the paginate less button
1711
+ * @uiName Paginate Less Text
1712
+ * @default "Previous"
1713
+ */
406
1714
  "paginateless"?: string;
1715
+ /**
1716
+ * Shown inside the paginate more button
1717
+ * @uiName Paginate More Text
1718
+ * @default "View More"
1719
+ */
407
1720
  "paginatemore"?: string;
1721
+ /**
1722
+ * Color of the pending icon and text
1723
+ * @uiName Pending Color
1724
+ * @uiGroup Pending Referrals
1725
+ * @uiWidget color
1726
+ * @format color
1727
+ * @default "lightgray"
1728
+ */
408
1729
  "pendingcolor"?: string;
1730
+ /**
1731
+ * Pending content shown in the user column
1732
+ * @uiName Pending Content
1733
+ * @uiGroup Pending Referrals
1734
+ * @default "Trial user, referred {date}"
1735
+ */
409
1736
  "pendingcontent"?: string;
1737
+ /**
1738
+ * Pending content shown alongside the icon in the referral column
1739
+ * @uiName Pending Value
1740
+ * @uiGroup Pending Referrals
1741
+ * @default "Referral pending"
1742
+ */
410
1743
  "pendingvalue"?: string;
1744
+ /**
1745
+ * Shown when reward is redeemed
1746
+ * @uiName Redeemed Value
1747
+ * @uiGroup Converted Referrals
1748
+ * @default "Redeemed"
1749
+ */
411
1750
  "redeemedvalue"?: string;
1751
+ /**
1752
+ * Text color of the referred users name
1753
+ * @uiName Referral Name Color
1754
+ * @uiWidget color
1755
+ * @format color
1756
+ * @default "darkslategray"
1757
+ */
412
1758
  "referralnamecolor"?: string;
1759
+ /**
1760
+ * Text color of the referral status
1761
+ * @uiName Referral Text Color
1762
+ * @uiWidget color
1763
+ * @format color
1764
+ * @default "lightgray"
1765
+ */
413
1766
  "referraltextcolor"?: string;
1767
+ /**
1768
+ * Text explaining who referred you to the program
1769
+ * @uiName Referrer Content
1770
+ * @uiGroup Referrer
1771
+ * @default "Referred you {date}"
1772
+ */
414
1773
  "referrercontent"?: string;
1774
+ /**
1775
+ * Referred Text shown in reward column
1776
+ * @uiName Referrer Value
1777
+ * @uiGroup Referrer
1778
+ * @default "Referred"
1779
+ */
415
1780
  "referrervalue"?: string;
1781
+ /**
1782
+ * Color of the successful reward icon and the text value
1783
+ * @uiName Reward Color
1784
+ * @uiGroup Converted Referrals
1785
+ * @uiWidget color
1786
+ * @format color
1787
+ * @default "#4BB543"
1788
+ */
416
1789
  "rewardcolor"?: string;
1790
+ /**
1791
+ * Show or hide expired rewards
1792
+ * @uiName Show Expiry
1793
+ */
417
1794
  "showexpiry"?: boolean;
1795
+ /**
1796
+ * Show the customer note for a referral
1797
+ * @uiName Show Customer Note
1798
+ */
418
1799
  "shownotes"?: boolean;
1800
+ /**
1801
+ * Show or hide the referrer
1802
+ * @uiName Show Referrer
1803
+ * @uiGroup Referrer
1804
+ * @default ""
1805
+ */
419
1806
  "showreferrer"?: boolean;
1807
+ /**
1808
+ * Text shown when the referred users name is unknown
1809
+ * @uiName Unknown User Text
1810
+ * @default "Your Friend"
1811
+ */
420
1812
  "unknownuser"?: string;
1813
+ /**
1814
+ * Show value of the first earned reward inside the rewards column
1815
+ * @uiName Use First Reward
1816
+ * @uiGroup Converted Referrals
1817
+ */
421
1818
  "usefirstreward"?: boolean;
1819
+ /**
1820
+ * Value shown in the rewards column
1821
+ * @uiName Value Content
1822
+ * @uiGroup Converted Referrals
1823
+ * @uiWidget textArea
1824
+ * @default "and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}"
1825
+ */
422
1826
  "valuecontent"?: string;
423
1827
  }
424
1828
  interface SqhRewardsActions {
1829
+ /**
1830
+ * Text inside the hide button
1831
+ * @uiName Hide Button Text
1832
+ */
425
1833
  "hidetext"?: string;
1834
+ /**
1835
+ * Text inside the next button
1836
+ * @uiName Next Button Text
1837
+ */
426
1838
  "nexttext"?: string;
1839
+ /**
1840
+ * Text inside the previous button
1841
+ * @uiName Previous Button Text
1842
+ */
427
1843
  "previoustext"?: string;
428
1844
  }
429
1845
  interface SqhShareButton {
1846
+ /**
1847
+ * Background color of the share button
1848
+ * @uiName Share Button Background Color
1849
+ * @uiWidget color
1850
+ * @format color
1851
+ */
430
1852
  "backgroundcolor"?: string;
1853
+ /**
1854
+ * CSS Class name used to style the share button
1855
+ * @uiName Share Button Class Name
1856
+ */
431
1857
  "buttonClassName"?: string;
1858
+ /**
1859
+ * Show or hide button depending on what type of device the user is on
1860
+ * @uiName Share Button Display Rule
1861
+ */
432
1862
  "displayrule"?: string;
1863
+ /**
1864
+ * Share button icon
1865
+ * @uiName Share Button Icon
1866
+ */
433
1867
  "icon"?: string;
1868
+ /**
1869
+ * Number to horizontally align the share button icon
1870
+ * @uiName Share Button Icon Horizontal
1871
+ */
434
1872
  "iconhorizontal"?: number;
1873
+ /**
1874
+ * Size of the Share button icon
1875
+ * @uiName Share Button Icon Size
1876
+ */
435
1877
  "iconsize"?: number;
1878
+ /**
1879
+ * Number to vertically align the share button icon
1880
+ * @uiName Share Button Icon Vertical
1881
+ */
436
1882
  "iconvertical"?: number;
1883
+ /**
1884
+ * Text inside the share button
1885
+ * @uiName Share Button Text
1886
+ */
437
1887
  "text"?: string;
1888
+ /**
1889
+ * Color of the text inside the share button
1890
+ * @uiName Share Button Text Color
1891
+ * @uiWidget color
1892
+ * @format color
1893
+ */
438
1894
  "textcolor"?: string;
1895
+ /**
1896
+ * Type of the share button
1897
+ * @uiName Share Button Type
1898
+ */
439
1899
  "type"?: string;
1900
+ /**
1901
+ * URL redirect location
1902
+ * @uiName URL
1903
+ * @uiWidget imageUpload
1904
+ * @format url
1905
+ */
440
1906
  "url"?: string;
441
1907
  }
442
1908
  interface SqhShareButtonContainer {
1909
+ /**
1910
+ * Background color of the Email button
1911
+ * @uiName Email Background Color
1912
+ * @uiGroup Email
1913
+ * @uiWidget color
1914
+ * @format color
1915
+ * @default "#4b4d50"
1916
+ */
443
1917
  "emailbackgroundcolor"?: string;
1918
+ /**
1919
+ * CSS Class name used to style the Email button
1920
+ * @uiName Email Class Name
1921
+ * @uiGroup Email
1922
+ */
444
1923
  "emailclassName"?: string;
1924
+ /**
1925
+ * Show and hide button depending on what type of device the user is on
1926
+ * @uiName Email Display Rule
1927
+ * @uiGroup Email
1928
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
1929
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
1930
+ * @default "mobile-and-desktop"
1931
+ */
445
1932
  "emaildisplayrule"?: string;
1933
+ /**
1934
+ * Email button icon
1935
+ * @uiName Email Icon
1936
+ * @uiGroup Email
1937
+ */
446
1938
  "emailicon"?: string;
1939
+ /**
1940
+ * Number to horizontally align the Email button icon
1941
+ * @uiName Email Icon Horizontal
1942
+ * @uiGroup Email
1943
+ */
447
1944
  "emailiconhorizontal"?: number;
1945
+ /**
1946
+ * Size of the Email button icon
1947
+ * @uiName Email Icon Size
1948
+ * @uiGroup Email
1949
+ */
448
1950
  "emailiconsize"?: number;
1951
+ /**
1952
+ * Number to vertically align the Email button icon
1953
+ * @uiName Email Icon Vertical
1954
+ * @uiGroup Email
1955
+ */
449
1956
  "emailiconvertical"?: number;
1957
+ /**
1958
+ * Text inside the Email button
1959
+ * @uiName Email Text
1960
+ * @uiGroup Email
1961
+ * @default "Email"
1962
+ */
450
1963
  "emailtext"?: string;
1964
+ /**
1965
+ * Color of the text inside the Email button
1966
+ * @uiName Email Text Color
1967
+ * @uiGroup Email
1968
+ * @uiWidget color
1969
+ * @format color
1970
+ * @default "#ffffff"
1971
+ */
451
1972
  "emailtextcolor"?: string;
1973
+ /**
1974
+ * Background color of the facebook button
1975
+ * @uiName Facebook Background Color
1976
+ * @uiGroup Facebook
1977
+ * @uiWidget color
1978
+ * @format color
1979
+ * @default "#234079"
1980
+ */
452
1981
  "facebookbackgroundcolor"?: string;
1982
+ /**
1983
+ * CSS Class name used to style the facebook button
1984
+ * @uiName Facebook Class Name
1985
+ * @uiGroup Facebook
1986
+ */
453
1987
  "facebookclassName"?: string;
1988
+ /**
1989
+ * Show and hide button depending on what type of device the user is on
1990
+ * @uiName Facebook Display Rule
1991
+ * @uiGroup Facebook
1992
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
1993
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
1994
+ * @default "mobile-and-desktop"
1995
+ */
454
1996
  "facebookdisplayrule"?: string;
1997
+ /**
1998
+ * Facebook button icon
1999
+ * @uiName Facebook Icon
2000
+ * @uiGroup Facebook
2001
+ */
455
2002
  "facebookicon"?: string;
2003
+ /**
2004
+ * Number to horizontally align the facebook button icon
2005
+ * @uiName Facebook Icon Horizontal
2006
+ * @uiGroup Facebook
2007
+ */
456
2008
  "facebookiconhorizontal"?: number;
2009
+ /**
2010
+ * Size of the facebook button icon
2011
+ * @uiName Facebook Icon Size
2012
+ * @uiGroup Facebook
2013
+ */
457
2014
  "facebookiconsize"?: number;
2015
+ /**
2016
+ * Number to vertically align the facebook button icon
2017
+ * @uiName Facebook Icon Vertical
2018
+ * @uiGroup Facebook
2019
+ */
458
2020
  "facebookiconvertical"?: number;
2021
+ /**
2022
+ * Text inside the facebook button
2023
+ * @uiName Facebook Text
2024
+ * @uiGroup Facebook
2025
+ * @default "Facebook"
2026
+ */
459
2027
  "facebooktext"?: string;
2028
+ /**
2029
+ * Color of the text inside the facebook button
2030
+ * @uiName Facebook Text Color
2031
+ * @uiGroup Facebook
2032
+ * @uiWidget color
2033
+ * @format color
2034
+ * @default "#ffffff"
2035
+ */
460
2036
  "facebooktextcolor"?: string;
2037
+ /**
2038
+ * Hide or show the component
2039
+ * @uiName Hide Share Buttons
2040
+ */
461
2041
  "ishidden"?: boolean;
2042
+ /**
2043
+ * Background color of the Line button
2044
+ * @uiName Line Background Color
2045
+ * @uiGroup Line Messenger
2046
+ * @uiWidget color
2047
+ * @format color
2048
+ * @default "#00c300"
2049
+ */
462
2050
  "linebackgroundcolor"?: string;
2051
+ /**
2052
+ * CSS Class name used to style the Line button
2053
+ * @uiName Line Class Name
2054
+ * @uiGroup Line Messenger
2055
+ */
463
2056
  "lineclassName"?: string;
2057
+ /**
2058
+ * Show and hide button depending on what type of device the user is on
2059
+ * @uiName Line Display Rule
2060
+ * @uiGroup Line Messenger
2061
+ * @uiEnum ["mobile-only","hidden"]
2062
+ * @uiEnumNames ["Mobile Only","Hide"]
2063
+ * @default "mobile-only"
2064
+ */
464
2065
  "linedisplayrule"?: string;
2066
+ /**
2067
+ * Line button icon
2068
+ * @uiName Line Icon
2069
+ * @uiGroup Line Messenger
2070
+ */
465
2071
  "lineicon"?: string;
2072
+ /**
2073
+ * Number to horizontally align the Line button icon
2074
+ * @uiName Line Icon Horizontal
2075
+ * @uiGroup Line Messenger
2076
+ */
466
2077
  "lineiconhorizontal"?: number;
2078
+ /**
2079
+ * Size of the Line button icon
2080
+ * @uiName Line Icon Size
2081
+ * @uiGroup Line Messenger
2082
+ */
467
2083
  "lineiconsize"?: number;
2084
+ /**
2085
+ * Number to vertically align the Line button icon
2086
+ * @uiName Line Icon Vertical
2087
+ * @uiGroup Line Messenger
2088
+ */
468
2089
  "lineiconvertical"?: number;
2090
+ /**
2091
+ * Text inside the Line button
2092
+ * @uiName Line Text
2093
+ * @uiGroup Line Messenger
2094
+ * @default "Line Messenger"
2095
+ */
469
2096
  "linetext"?: string;
2097
+ /**
2098
+ * Color of the text inside the Line button
2099
+ * @uiName Line Text Color
2100
+ * @uiGroup Line Messenger
2101
+ * @uiWidget color
2102
+ * @format color
2103
+ * @default "#ffffff"
2104
+ */
470
2105
  "linetextcolor"?: string;
2106
+ /**
2107
+ * Background color of the linkedin button
2108
+ * @uiName Linkedin Background Color
2109
+ * @uiGroup LinkedIn
2110
+ * @uiWidget color
2111
+ * @format color
2112
+ * @default "#ffffff"
2113
+ */
471
2114
  "linkedinbackgroundcolor"?: string;
2115
+ /**
2116
+ * CSS Class name used to style the Linkedin button
2117
+ * @uiName Linkedin Class Name
2118
+ * @uiGroup LinkedIn
2119
+ */
472
2120
  "linkedinclassName"?: string;
2121
+ /**
2122
+ * Show and hide button depending on what type of device the user is on
2123
+ * @uiName Linkedin Display Rule
2124
+ * @uiGroup LinkedIn
2125
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
2126
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
2127
+ * @default "hidden"
2128
+ */
473
2129
  "linkedindisplayrule"?: string;
2130
+ /**
2131
+ * Linkedin button icon
2132
+ * @uiName Linkedin Icon
2133
+ * @uiGroup LinkedIn
2134
+ */
474
2135
  "linkedinicon"?: string;
2136
+ /**
2137
+ * Number to horizontally align the Linkedin button icon
2138
+ * @uiName Linkedin Icon Horizontal
2139
+ * @uiGroup LinkedIn
2140
+ */
475
2141
  "linkediniconhorizontal"?: number;
2142
+ /**
2143
+ * Size of the Linkedin button icon
2144
+ * @uiName Linkedin Icon Size
2145
+ * @uiGroup LinkedIn
2146
+ */
476
2147
  "linkediniconsize"?: number;
2148
+ /**
2149
+ * Number to vertically align the Linkedin button icon
2150
+ * @uiName Linkedin Icon Vertical
2151
+ * @uiGroup LinkedIn
2152
+ */
477
2153
  "linkediniconvertical"?: number;
2154
+ /**
2155
+ * Text inside the linkedin button
2156
+ * @uiName Linkedin Text
2157
+ * @uiGroup LinkedIn
2158
+ * @default "LinkedIn"
2159
+ */
478
2160
  "linkedintext"?: string;
2161
+ /**
2162
+ * Color of the text inside the Linkedin button
2163
+ * @uiName Linkedin Text Color
2164
+ * @uiGroup LinkedIn
2165
+ * @uiWidget color
2166
+ * @format color
2167
+ * @default "#0084b9"
2168
+ */
479
2169
  "linkedintextcolor"?: string;
2170
+ /**
2171
+ * Background color of the Messenger button
2172
+ * @uiName Messenger Background Color
2173
+ * @uiGroup Messenger
2174
+ * @uiWidget color
2175
+ * @format color
2176
+ * @default "#0084ff"
2177
+ */
480
2178
  "messengerbackgroundcolor"?: string;
2179
+ /**
2180
+ * CSS Class name used to style the Messenger button
2181
+ * @uiName Messenger Class Name
2182
+ * @uiGroup Messenger
2183
+ */
481
2184
  "messengerclassName"?: string;
2185
+ /**
2186
+ * Show and hide button depending on what type of device the user is on
2187
+ * @uiName Messenger Display Rule
2188
+ * @uiGroup Messenger
2189
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
2190
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
2191
+ * @default "hidden"
2192
+ */
482
2193
  "messengerdisplayrule"?: string;
2194
+ /**
2195
+ * Messenger button icon
2196
+ * @uiName Messenger Icon
2197
+ * @uiGroup Messenger
2198
+ */
483
2199
  "messengericon"?: string;
2200
+ /**
2201
+ * Number to horizontally align the Messenger button icon
2202
+ * @uiName Messenger Icon Horizontal
2203
+ * @uiGroup Messenger
2204
+ */
484
2205
  "messengericonhorizontal"?: number;
2206
+ /**
2207
+ * Size of the Messenger button icon
2208
+ * @uiName Messenger Icon Size
2209
+ * @uiGroup Messenger
2210
+ */
485
2211
  "messengericonsize"?: number;
2212
+ /**
2213
+ * Number to vertically align the Messenger button icon
2214
+ * @uiName Messenger Icon Vertical
2215
+ * @uiGroup Messenger
2216
+ */
486
2217
  "messengericonvertical"?: number;
2218
+ /**
2219
+ * Text inside the Messenger button
2220
+ * @uiName Messenger Text
2221
+ * @uiGroup Messenger
2222
+ * @default "Messenger"
2223
+ */
487
2224
  "messengertext"?: string;
2225
+ /**
2226
+ * Color of the text inside the Messenger button
2227
+ * @uiName Messenger Text Color
2228
+ * @uiGroup Messenger
2229
+ * @uiWidget color
2230
+ * @format color
2231
+ * @default "#ffffff"
2232
+ */
488
2233
  "messengertextcolor"?: string;
2234
+ /**
2235
+ * Background color of the Pinterest button
2236
+ * @uiName Pinterest Background Color
2237
+ * @uiGroup Pinterest
2238
+ * @uiWidget color
2239
+ * @format color
2240
+ * @default "#cb2027"
2241
+ */
489
2242
  "pinterestbackgroundcolor"?: string;
2243
+ /**
2244
+ * CSS Class name used to style the Pinterest button
2245
+ * @uiName Pinterest Class Name
2246
+ * @uiGroup Pinterest
2247
+ */
490
2248
  "pinterestclassName"?: string;
2249
+ /**
2250
+ * Show and hide button depending on what type of device the user is on
2251
+ * @uiName Pinterest Display Rule
2252
+ * @uiGroup Pinterest
2253
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
2254
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
2255
+ * @default "hidden"
2256
+ */
491
2257
  "pinterestdisplayrule"?: string;
2258
+ /**
2259
+ * Pinterest button icon
2260
+ * @uiName Pinterest Icon
2261
+ * @uiGroup Pinterest
2262
+ */
492
2263
  "pinteresticon"?: string;
2264
+ /**
2265
+ * Number to horizontally align the Pinterest button icon
2266
+ * @uiName Pinterest Icon Horizontal
2267
+ * @uiGroup Pinterest
2268
+ */
493
2269
  "pinteresticonhorizontal"?: number;
2270
+ /**
2271
+ * Size of the Pinterest button icon
2272
+ * @uiName Pinterest Icon Size
2273
+ * @uiGroup Pinterest
2274
+ */
494
2275
  "pinteresticonsize"?: number;
2276
+ /**
2277
+ * Number to vertically align the Pinterest button icon
2278
+ * @uiName Pinterest Icon Vertical
2279
+ * @uiGroup Pinterest
2280
+ */
495
2281
  "pinteresticonvertical"?: number;
2282
+ /**
2283
+ * Text inside the Pinterest button
2284
+ * @uiName Pinterest Text
2285
+ * @uiGroup Pinterest
2286
+ * @default "Pinterest"
2287
+ */
496
2288
  "pinteresttext"?: string;
2289
+ /**
2290
+ * Color of the text inside the Pinterest button
2291
+ * @uiName Pinterest Text Color
2292
+ * @uiGroup Pinterest
2293
+ * @uiWidget color
2294
+ * @format color
2295
+ * @default "#ffffff"
2296
+ */
497
2297
  "pinteresttextcolor"?: string;
2298
+ /**
2299
+ * Background color of the SMS button
2300
+ * @uiName SMS Background Color
2301
+ * @uiGroup SMS
2302
+ * @uiWidget color
2303
+ * @format color
2304
+ * @default "#7bbf38"
2305
+ */
498
2306
  "smsbackgroundcolor"?: string;
2307
+ /**
2308
+ * CSS Class name used to style the SMS button
2309
+ * @uiName SMS Class Name
2310
+ * @uiGroup SMS
2311
+ */
499
2312
  "smsclassName"?: string;
2313
+ /**
2314
+ * Show and hide button depending on what type of device the user is on
2315
+ * @uiName SMS Display Rule
2316
+ * @uiGroup SMS
2317
+ * @uiEnum ["mobile-only","hidden"]
2318
+ * @uiEnumNames ["Mobile Only","Hide"]
2319
+ * @default "mobile-only"
2320
+ */
500
2321
  "smsdisplayrule"?: string;
2322
+ /**
2323
+ * SMS button icon
2324
+ * @uiName SMS Icon
2325
+ * @uiGroup SMS
2326
+ */
501
2327
  "smsicon"?: string;
2328
+ /**
2329
+ * Number to horizontally align the SMS button icon
2330
+ * @uiName SMS Icon Horizontal
2331
+ * @uiGroup SMS
2332
+ */
502
2333
  "smsiconhorizontal"?: number;
2334
+ /**
2335
+ * Size of the SMS button icon
2336
+ * @uiName SMS Icon Size
2337
+ * @uiGroup SMS
2338
+ */
503
2339
  "smsiconsize"?: number;
2340
+ /**
2341
+ * Number to vertically align the SMS button icon
2342
+ * @uiName SMS Icon Vertical
2343
+ * @uiGroup SMS
2344
+ */
504
2345
  "smsiconvertical"?: number;
2346
+ /**
2347
+ * Text inside the SMS button
2348
+ * @uiName SMS Text
2349
+ * @uiGroup SMS
2350
+ * @default "SMS"
2351
+ */
505
2352
  "smstext"?: string;
2353
+ /**
2354
+ * Color of the text inside the SMS button
2355
+ * @uiName SMS Text Color
2356
+ * @uiGroup SMS
2357
+ * @uiWidget color
2358
+ * @format color
2359
+ * @default "#ffffff"
2360
+ */
506
2361
  "smstextcolor"?: string;
2362
+ /**
2363
+ * Background color of the twitter button
2364
+ * @uiName Twitter Background Color
2365
+ * @uiGroup Twitter
2366
+ * @uiWidget color
2367
+ * @format color
2368
+ * @default "#4797d2"
2369
+ */
507
2370
  "twitterbackgroundcolor"?: string;
2371
+ /**
2372
+ * CSS Class name used to style the twitter button
2373
+ * @uiName Twitter Class Name
2374
+ * @uiGroup Twitter
2375
+ */
508
2376
  "twitterclassName"?: string;
2377
+ /**
2378
+ * Show and hide button depending on what type of device the user is on
2379
+ * @uiName Twitter Display Rule
2380
+ * @uiGroup Twitter
2381
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
2382
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
2383
+ * @default "mobile-and-desktop"
2384
+ */
509
2385
  "twitterdisplayrule"?: string;
2386
+ /**
2387
+ * Twitter button icon
2388
+ * @uiName Twitter Icon
2389
+ * @uiGroup Twitter
2390
+ */
510
2391
  "twittericon"?: string;
2392
+ /**
2393
+ * Number to horizontally align the twitter button icon
2394
+ * @uiName Twitter Icon Horizontal
2395
+ * @uiGroup Twitter
2396
+ */
511
2397
  "twittericonhorizontal"?: number;
2398
+ /**
2399
+ * Size of the twitter button icon
2400
+ * @uiName Twitter Icon Size
2401
+ * @uiGroup Twitter
2402
+ */
512
2403
  "twittericonsize"?: number;
2404
+ /**
2405
+ * Number to vertically align the twitter button icon
2406
+ * @uiName Twitter Icon Vertical
2407
+ * @uiGroup Twitter
2408
+ */
513
2409
  "twittericonvertical"?: number;
2410
+ /**
2411
+ * Text inside the twitter button
2412
+ * @uiName Twitter Text
2413
+ * @uiGroup Twitter
2414
+ * @default "Twitter"
2415
+ */
514
2416
  "twittertext"?: string;
2417
+ /**
2418
+ * Color of the text inside the twitter button
2419
+ * @uiName Twitter Text Color
2420
+ * @uiGroup Twitter
2421
+ * @uiWidget color
2422
+ * @format color
2423
+ * @default "#ffffff"
2424
+ */
515
2425
  "twittertextcolor"?: string;
2426
+ /**
2427
+ * Background color of the WhatsApp button
2428
+ * @uiName WhatsApp Background Color
2429
+ * @uiGroup WhatsApp
2430
+ * @uiWidget color
2431
+ * @format color
2432
+ * @default "#25D366"
2433
+ */
516
2434
  "whatsappbackgroundcolor"?: string;
2435
+ /**
2436
+ * CSS Class name used to style the WhatsApp button
2437
+ * @uiName WhatsApp Class Name
2438
+ * @uiGroup WhatsApp
2439
+ */
517
2440
  "whatsappclassName"?: string;
2441
+ /**
2442
+ * Show and hide button depending on what type of device the user is on
2443
+ * @uiName WhatsApp Display Rule
2444
+ * @uiGroup WhatsApp
2445
+ * @uiEnum ["mobile-only","hidden"]
2446
+ * @uiEnumNames ["Mobile Only","Hide"]
2447
+ * @default "mobile-only"
2448
+ */
518
2449
  "whatsappdisplayrule"?: string;
2450
+ /**
2451
+ * WhatsApp button icon
2452
+ * @uiName WhatsApp Icon
2453
+ * @uiGroup WhatsApp
2454
+ */
519
2455
  "whatsappicon"?: string;
2456
+ /**
2457
+ * Number to horizontally align the WhatsApp button icon
2458
+ * @uiName WhatsApp Icon Horizontal
2459
+ * @uiGroup WhatsApp
2460
+ */
520
2461
  "whatsappiconhorizontal"?: number;
2462
+ /**
2463
+ * Size of the WhatsApp button icon
2464
+ * @uiName WhatsApp Icon Size
2465
+ * @uiGroup WhatsApp
2466
+ */
521
2467
  "whatsappiconsize"?: number;
2468
+ /**
2469
+ * Number to vertically align the WhatsApp button icon
2470
+ * @uiName WhatsApp Icon Vertical
2471
+ * @uiGroup WhatsApp
2472
+ */
522
2473
  "whatsappiconvertical"?: number;
2474
+ /**
2475
+ * Text inside the WhatsApp button
2476
+ * @uiName WhatsApp Text
2477
+ * @uiGroup WhatsApp
2478
+ * @default "Whatspp"
2479
+ */
523
2480
  "whatsapptext"?: string;
2481
+ /**
2482
+ * Color of the text inside the WhatsApp button
2483
+ * @uiName WhatsApp Text Color
2484
+ * @uiGroup WhatsApp
2485
+ * @uiWidget color
2486
+ * @format color
2487
+ * @default "#ffffff"
2488
+ */
524
2489
  "whatsapptextcolor"?: string;
525
2490
  }
526
2491
  interface SqhStatComponent {
2492
+ /**
2493
+ * Hide or show the component
2494
+ * @uiName Hide Stat
2495
+ */
527
2496
  "ishidden"?: boolean;
528
2497
  "onStatAdded"?: (event: CustomEvent<any>) => void;
529
2498
  "onStatTypeUpdated"?: (event: CustomEvent<any>) => void;
2499
+ /**
2500
+ * Text color of the stat
2501
+ * @uiName Stat Color
2502
+ * @uiWidget color
2503
+ * @format color
2504
+ */
530
2505
  "statcolor"?: string;
2506
+ /**
2507
+ * Description shown underneath stat value
2508
+ * @uiName Stat Description
2509
+ */
531
2510
  "statdescription"?: string;
2511
+ /**
2512
+ * Type of stat being displayed. e.g /rewardsCount
2513
+ * @uiName Stat Type
2514
+ * @uiWidget statTypeSelector
2515
+ * @required
2516
+ */
532
2517
  "stattype"?: string;
2518
+ /**
2519
+ * Value shown inside stat
2520
+ * @uiName Stat Value
2521
+ */
533
2522
  "statvalue"?: string;
534
2523
  }
535
2524
  interface SqhStatsContainer {
2525
+ /**
2526
+ * Hide the component
2527
+ * @uiName Is Hidden
2528
+ */
536
2529
  "ishidden"?: boolean;
2530
+ /**
2531
+ * Configure the padding bottom of the container
2532
+ * @uiName Padding Bottom
2533
+ * @default "0"
2534
+ */
537
2535
  "paddingbottom"?: string;
2536
+ /**
2537
+ * Configure the padding top of the container
2538
+ * @uiName Padding Top
2539
+ * @default "0"
2540
+ */
538
2541
  "paddingtop"?: string;
539
2542
  }
540
2543
  interface SqhTextComponent {
2544
+ /**
2545
+ * Background the container, color or url
2546
+ * @uiName Background
2547
+ */
541
2548
  "background"?: string;
2549
+ /**
2550
+ * Color of the text
2551
+ * @uiName Color
2552
+ * @uiWidget color
2553
+ * @format color
2554
+ */
542
2555
  "color"?: string;
2556
+ /**
2557
+ * Font family of the text
2558
+ * @uiName Font Family
2559
+ */
543
2560
  "fontfamily"?: string;
2561
+ /**
2562
+ * Size of the text
2563
+ * @uiName Font Size
2564
+ */
544
2565
  "fontsize"?: string;
2566
+ /**
2567
+ * Height of the container
2568
+ * @uiName Height
2569
+ */
545
2570
  "height"?: string;
2571
+ /**
2572
+ * Hide or show the component
2573
+ * @uiName Hide Text
2574
+ */
546
2575
  "ishidden"?: boolean;
2576
+ /**
2577
+ * Compiles plain text into markdown
2578
+ * @uiName Is Markdown
2579
+ */
547
2580
  "ismarkdown"?: boolean;
548
- "padding"?: string;
2581
+ /**
2582
+ * Bottom padding on text
2583
+ * @uiName Padding Bottom
2584
+ */
549
2585
  "paddingbottom"?: string;
2586
+ /**
2587
+ * Top padding on text
2588
+ * @uiName Padding Top
2589
+ */
550
2590
  "paddingtop"?: string;
2591
+ /**
2592
+ * The text content
2593
+ * @uiName Text
2594
+ */
551
2595
  "text"?: string;
2596
+ /**
2597
+ * Text alignment
2598
+ * @uiName Text Align
2599
+ * @uiEnum ["left", "center", "right"]
2600
+ * @uiEnumNames ["Left", "Center", "Right"]
2601
+ */
552
2602
  "textalign"?: string;
553
2603
  }
554
2604
  interface IntrinsicElements {