@saasquatch/vanilla-components 1.2.3 → 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 (53) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/sqh-close-button.cjs.entry.js +8 -3
  3. package/dist/cjs/sqh-copy-button_12.cjs.entry.js +182 -7
  4. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +15 -0
  5. package/dist/cjs/widget-components.cjs.js +1 -1
  6. package/dist/collection/components/close-button/close-button.js +14 -3
  7. package/dist/collection/components/copy-button/copy-button.js +117 -24
  8. package/dist/collection/components/copy-link-button/copy-link-button.js +60 -12
  9. package/dist/collection/components/global-container/global-container.js +53 -10
  10. package/dist/collection/components/image-component/image-component.js +54 -12
  11. package/dist/collection/components/partner-stat-component/partner-stat-component.js +41 -11
  12. package/dist/collection/components/referral-code/referral-code.js +3 -0
  13. package/dist/collection/components/referral-component/referral-component.js +28 -10
  14. package/dist/collection/components/referral-list/referral-list.js +319 -58
  15. package/dist/collection/components/rewards-actions/rewards-actions.js +33 -6
  16. package/dist/collection/components/share-button/share-button.js +76 -22
  17. package/dist/collection/components/share-button-container/share-button-container.js +1097 -164
  18. package/dist/collection/components/stat-component/stat-component.js +40 -10
  19. package/dist/collection/components/stats-container/stats-container.js +30 -6
  20. package/dist/collection/components/text-component/text-component.js +70 -43
  21. package/dist/esm/loader.mjs +1 -1
  22. package/dist/esm/sqh-close-button.entry.js +8 -3
  23. package/dist/esm/sqh-copy-button_12.entry.js +181 -6
  24. package/dist/esm/sqh-rewards-actions.entry.js +15 -0
  25. package/dist/esm/widget-components.mjs +1 -1
  26. package/dist/esm-es5/loader.mjs +1 -1
  27. package/dist/esm-es5/sqh-close-button.entry.js +14 -9
  28. package/dist/esm-es5/sqh-copy-button_12.entry.js +199 -24
  29. package/dist/esm-es5/sqh-rewards-actions.entry.js +15 -0
  30. package/dist/esm-es5/widget-components.mjs +1 -1
  31. package/dist/types/components/close-button/close-button.d.ts +9 -1
  32. package/dist/types/components/copy-button/copy-button.d.ts +81 -0
  33. package/dist/types/components/copy-link-button/copy-link-button.d.ts +42 -0
  34. package/dist/types/components/global-container/global-container.d.ts +37 -0
  35. package/dist/types/components/image-component/image-component.d.ts +41 -0
  36. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +33 -1
  37. package/dist/types/components/referral-code/referral-code.d.ts +3 -0
  38. package/dist/types/components/referral-component/referral-component.d.ts +28 -0
  39. package/dist/types/components/referral-list/referral-list.d.ts +205 -0
  40. package/dist/types/components/rewards-actions/rewards-actions.d.ts +18 -0
  41. package/dist/types/components/share-button/share-button.d.ts +64 -0
  42. package/dist/types/components/share-button-container/share-button-container.d.ts +584 -0
  43. package/dist/types/components/stat-component/stat-component.d.ts +31 -0
  44. package/dist/types/components/stats-container/stats-container.d.ts +21 -0
  45. package/dist/types/components/text-component/text-component.d.ts +62 -1
  46. package/dist/types/components.d.ts +2052 -2
  47. package/dist/widget-components/p-58be1132.system.js +1 -1
  48. package/dist/widget-components/{p-75ab4c57.entry.js → p-d7059393.entry.js} +1 -1
  49. package/dist/widget-components/{p-d2335c54.system.entry.js → p-fba5ea7f.system.entry.js} +1 -1
  50. package/dist/widget-components/widget-components.esm.js +1 -1
  51. package/docs/raisins.json +1 -0
  52. package/package.json +12 -5
  53. package/CHANGELOG.md +0 -143
@@ -9,7 +9,7 @@ require('./_commonjsHelpers-ac2d0785.js');
9
9
  const defineCustomElements = (win, options) => {
10
10
  if (typeof window === 'undefined') return Promise.resolve();
11
11
  return en.patchEsm().then(() => {
12
- return index.bootstrapLazy([["sqh-close-button.cjs",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code.cjs",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions.cjs",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12.cjs",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"padding":[1],"textalign":[1],"background":[1],"height":[1]}],[0,"sqh-referral-component",{"referral":[16],"referraltype":[1],"referralvariables":[16],"unknownuser":[16],"locale":[1]}],[0,"sqh-share-button",{"displayrule":[1],"text":[1],"backgroundcolor":[1],"textcolor":[1],"icon":[1],"buttonClassName":[1,"button-class-name"],"iconhorizontal":[2],"iconvertical":[2],"iconsize":[2],"type":[1],"url":[1]}]]]], options);
12
+ return index.bootstrapLazy([["sqh-close-button.cjs",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code.cjs",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions.cjs",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12.cjs",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"textalign":[1],"background":[1],"height":[1]}],[0,"sqh-referral-component",{"referral":[16],"referraltype":[1],"referralvariables":[16],"unknownuser":[16],"locale":[1]}],[0,"sqh-share-button",{"displayrule":[1],"text":[1],"backgroundcolor":[1],"textcolor":[1],"icon":[1],"buttonClassName":[1,"button-class-name"],"iconhorizontal":[2],"iconvertical":[2],"iconsize":[2],"type":[1],"url":[1]}]]]], options);
13
13
  });
14
14
  };
15
15
 
@@ -8,9 +8,14 @@ const WidgetHost = require('./WidgetHost-d7b870ce.js');
8
8
 
9
9
  const closeButtonCss = "sqh-close-button .squatch-header-close{position:absolute;top:4px;right:6px;background:transparent;border:0;color:#4486e1;font-size:12px}sqh-close-button .squatch-header-close:hover{text-decoration:underline}";
10
10
 
11
- const TwitterShareButton = class {
11
+ const CloseButton = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
+ /**
15
+ * The text shown inside the close button.
16
+ *
17
+ * @uiName Button Text
18
+ */
14
19
  this.text = "Close";
15
20
  }
16
21
  handleClick() {
@@ -27,6 +32,6 @@ const TwitterShareButton = class {
27
32
  }
28
33
  get closeButton() { return index.getElement(this); }
29
34
  };
30
- TwitterShareButton.style = closeButtonCss;
35
+ CloseButton.style = closeButtonCss;
31
36
 
32
- exports.sqh_close_button = TwitterShareButton;
37
+ exports.sqh_close_button = CloseButton;
@@ -2742,7 +2742,7 @@ ImageComponent.style = imageComponentCss;
2742
2742
 
2743
2743
  const partnerStatComponentCss = "sqh-partner-stat-component{text-align:center;width:140px;float:left}sqh-partner-stat-component>div{padding:10px}sqh-partner-stat-component .stat-value{font-size:20px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-partner-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-partner-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-partner-stat-component:first-child{border-radius:4px 4px 0 0}sqh-partner-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-partner-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-partner-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
2744
2744
 
2745
- const StatComponent = class {
2745
+ const PartnerStatComponent = class {
2746
2746
  constructor(hostRef) {
2747
2747
  index.registerInstance(this, hostRef);
2748
2748
  this.statTypeUpdated = index.createEvent(this, "statTypeUpdated", 7);
@@ -2772,7 +2772,7 @@ const StatComponent = class {
2772
2772
  "stattype": ["stattypeHandler"]
2773
2773
  }; }
2774
2774
  };
2775
- StatComponent.style = partnerStatComponentCss;
2775
+ PartnerStatComponent.style = partnerStatComponentCss;
2776
2776
 
2777
2777
  var TYPE;
2778
2778
  (function (TYPE) {
@@ -7330,33 +7330,204 @@ const shareButtonContainerCss = "sqh-share-button-container{text-align:center;di
7330
7330
  const ShareButtonContainer = class {
7331
7331
  constructor(hostRef) {
7332
7332
  index.registerInstance(this, hostRef);
7333
+ /**
7334
+ * Email button icon
7335
+ *
7336
+ * @uiName Email Icon
7337
+ * @uiGroup Email
7338
+ */
7333
7339
  this.emailicon = "mail";
7340
+ /**
7341
+ * CSS Class name used to style the Email button
7342
+ *
7343
+ * @uiName Email Class Name
7344
+ * @uiGroup Email
7345
+ */
7334
7346
  this.emailclassName = "email-share";
7347
+ /**
7348
+ * Facebook button icon
7349
+ *
7350
+ * @uiName Facebook Icon
7351
+ * @uiGroup Facebook
7352
+ */
7335
7353
  this.facebookicon = "facebook";
7354
+ /**
7355
+ * Number to horizontally align the facebook button icon
7356
+ *
7357
+ * @uiName Facebook Icon Horizontal
7358
+ * @uiGroup Facebook
7359
+ */
7336
7360
  this.facebookiconhorizontal = 9;
7361
+ /**
7362
+ * Size of the facebook button icon
7363
+ *
7364
+ * @uiName Facebook Icon Size
7365
+ * @uiGroup Facebook
7366
+ */
7337
7367
  this.facebookiconsize = 1.2;
7368
+ /**
7369
+ * Twitter button icon
7370
+ *
7371
+ * @uiName Twitter Icon
7372
+ * @uiGroup Twitter
7373
+ */
7338
7374
  this.twittericon = "twitter";
7375
+ /**
7376
+ * Number to horizontally align the twitter button icon
7377
+ *
7378
+ * @uiName Twitter Icon Horizontal
7379
+ * @uiGroup Twitter
7380
+ */
7339
7381
  this.twittericonhorizontal = 9;
7382
+ /**
7383
+ * Size of the twitter button icon
7384
+ *
7385
+ * @uiName Twitter Icon Size
7386
+ * @uiGroup Twitter
7387
+ */
7340
7388
  this.twittericonsize = 1.2;
7389
+ /**
7390
+ * SMS button icon
7391
+ *
7392
+ * @uiName SMS Icon
7393
+ * @uiGroup SMS
7394
+ */
7341
7395
  this.smsicon = "chat";
7396
+ /**
7397
+ * Color of the text inside the WhatsApp button
7398
+ *
7399
+ * @uiName WhatsApp Text Color
7400
+ * @uiGroup WhatsApp
7401
+ * @uiWidget color
7402
+ * @format color
7403
+ * @default "#ffffff"
7404
+ */
7342
7405
  this.whatsapptextcolor = "#fff";
7406
+ /**
7407
+ * WhatsApp button icon
7408
+ *
7409
+ * @uiName WhatsApp Icon
7410
+ * @uiGroup WhatsApp
7411
+ */
7343
7412
  this.whatsappicon = "whatsapp";
7413
+ /**
7414
+ * Number to horizontally align the WhatsApp button icon
7415
+ *
7416
+ * @uiName WhatsApp Icon Horizontal
7417
+ * @uiGroup WhatsApp
7418
+ */
7344
7419
  this.whatsappiconhorizontal = 7;
7420
+ /**
7421
+ * Number to vertically align the WhatsApp button icon
7422
+ *
7423
+ * @uiName WhatsApp Icon Vertical
7424
+ * @uiGroup WhatsApp
7425
+ */
7345
7426
  this.whatsappiconvertical = 2;
7427
+ /**
7428
+ * Size of the WhatsApp button icon
7429
+ *
7430
+ * @uiName WhatsApp Icon Size
7431
+ * @uiGroup WhatsApp
7432
+ */
7346
7433
  this.whatsappiconsize = 1.4;
7434
+ /**
7435
+ * Linkedin button icon
7436
+ *
7437
+ * @uiName Linkedin Icon
7438
+ * @uiGroup LinkedIn
7439
+ */
7347
7440
  this.linkedinicon = "linkedin";
7441
+ /**
7442
+ * Size of the Linkedin button icon
7443
+ *
7444
+ * @uiName Linkedin Icon Size
7445
+ * @uiGroup LinkedIn
7446
+ */
7348
7447
  this.linkediniconsize = 1.2;
7448
+ /**
7449
+ * Pinterest button icon
7450
+ *
7451
+ * @uiName Pinterest Icon
7452
+ * @uiGroup Pinterest
7453
+ */
7349
7454
  this.pinteresticon = "pinterest";
7455
+ /**
7456
+ * Number to horizontally align the Pinterest button icon
7457
+ *
7458
+ * @uiName Pinterest Icon Horizontal
7459
+ * @uiGroup Pinterest
7460
+ */
7350
7461
  this.pinteresticonhorizontal = 9;
7462
+ /**
7463
+ * Number to vertically align the Pinterest button icon
7464
+ *
7465
+ * @uiName Pinterest Icon Vertical
7466
+ * @uiGroup Pinterest
7467
+ */
7351
7468
  this.pinteresticonvertical = 4;
7469
+ /**
7470
+ * Size of the Pinterest button icon
7471
+ *
7472
+ * @uiName Pinterest Icon Size
7473
+ * @uiGroup Pinterest
7474
+ */
7352
7475
  this.pinteresticonsize = 1.2;
7476
+ /**
7477
+ * Messenger button icon
7478
+ *
7479
+ * @uiName Messenger Icon
7480
+ * @uiGroup Messenger
7481
+ */
7353
7482
  this.messengericon = "messenger";
7483
+ /**
7484
+ * Number to horizontally align the Messenger button icon
7485
+ *
7486
+ * @uiName Messenger Icon Horizontal
7487
+ * @uiGroup Messenger
7488
+ */
7354
7489
  this.messengericonhorizontal = 7;
7490
+ /**
7491
+ * Number to vertically align the Messenger button icon
7492
+ *
7493
+ * @uiName Messenger Icon Vertical
7494
+ * @uiGroup Messenger
7495
+ */
7355
7496
  this.messengericonvertical = 3;
7497
+ /**
7498
+ * Size of the Messenger button icon
7499
+ *
7500
+ * @uiName Messenger Icon Size
7501
+ * @uiGroup Messenger
7502
+ */
7356
7503
  this.messengericonsize = 1.4;
7504
+ /**
7505
+ * Line button icon
7506
+ *
7507
+ * @uiName Line Icon
7508
+ * @uiGroup Line Messenger
7509
+ */
7357
7510
  this.lineicon = "line";
7511
+ /**
7512
+ * Number to horizontally align the Line button icon
7513
+ *
7514
+ * @uiName Line Icon Horizontal
7515
+ * @uiGroup Line Messenger
7516
+ */
7358
7517
  this.lineiconhorizontal = -2;
7518
+ /**
7519
+ * Number to vertically align the Line button icon
7520
+ *
7521
+ * @uiName Line Icon Vertical
7522
+ * @uiGroup Line Messenger
7523
+ */
7359
7524
  this.lineiconvertical = -5;
7525
+ /**
7526
+ * Size of the Line button icon
7527
+ *
7528
+ * @uiName Line Icon Size
7529
+ * @uiGroup Line Messenger
7530
+ */
7360
7531
  this.lineiconsize = 2.2;
7361
7532
  }
7362
7533
  componentWillLoad() {
@@ -7413,7 +7584,7 @@ ShareButtonContainer.style = shareButtonContainerCss;
7413
7584
 
7414
7585
  const statComponentCss = "sqh-stat-component{text-align:center;width:140px;float:left}sqh-stat-component>div{padding:10px}sqh-stat-component .stat-value{white-space:nowrap;font-size:30px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-stat-component:first-child{border-radius:4px 4px 0 0}sqh-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
7415
7586
 
7416
- const StatComponent$1 = class {
7587
+ const StatComponent = class {
7417
7588
  constructor(hostRef) {
7418
7589
  index.registerInstance(this, hostRef);
7419
7590
  this.statTypeUpdated = index.createEvent(this, "statTypeUpdated", 7);
@@ -7443,7 +7614,7 @@ const StatComponent$1 = class {
7443
7614
  "stattype": ["stattypeHandler"]
7444
7615
  }; }
7445
7616
  };
7446
- StatComponent$1.style = statComponentCss;
7617
+ StatComponent.style = statComponentCss;
7447
7618
 
7448
7619
  /**
7449
7620
  * Tokenize input string.
@@ -7743,6 +7914,11 @@ const statsContainerCss = "sqh-stats-container{display:-ms-flexbox;display:flex;
7743
7914
  const StatsContainer = class {
7744
7915
  constructor(hostRef) {
7745
7916
  index.registerInstance(this, hostRef);
7917
+ /**
7918
+ * Hide the component
7919
+ *
7920
+ * @uiName Is Hidden
7921
+ */
7746
7922
  this.ishidden = false;
7747
7923
  this.statPaths = [
7748
7924
  "/rewardBalance/:type/:unit/:valuetype?/:isGlobal?",
@@ -10441,7 +10617,6 @@ const textComponentCss = "sqh-text-component{display:block}sqh-text-component p{
10441
10617
  const TextComponent = class {
10442
10618
  constructor(hostRef) {
10443
10619
  index.registerInstance(this, hostRef);
10444
- this.padding = "10px 20px 15px";
10445
10620
  }
10446
10621
  render() {
10447
10622
  const regex = /\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/i;
@@ -10476,11 +10651,11 @@ exports.sqh_copy_button = CopyButton;
10476
10651
  exports.sqh_copy_link_button = CopyLinkButton;
10477
10652
  exports.sqh_global_container = GlobalContainer;
10478
10653
  exports.sqh_image_component = ImageComponent;
10479
- exports.sqh_partner_stat_component = StatComponent;
10654
+ exports.sqh_partner_stat_component = PartnerStatComponent;
10480
10655
  exports.sqh_referral_component = ReferralComponent;
10481
10656
  exports.sqh_referral_list = ReferralList;
10482
10657
  exports.sqh_share_button = ShareButton;
10483
10658
  exports.sqh_share_button_container = ShareButtonContainer;
10484
- exports.sqh_stat_component = StatComponent$1;
10659
+ exports.sqh_stat_component = StatComponent;
10485
10660
  exports.sqh_stats_container = StatsContainer;
10486
10661
  exports.sqh_text_component = TextComponent;
@@ -9,8 +9,23 @@ const rewardsActionsCss = "sqh-rewards-actions .squatch-referrals-actions{text-a
9
9
  const RewardsActions = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
+ /**
13
+ * Text inside the previous button
14
+ *
15
+ * @uiName Previous Button Text
16
+ */
12
17
  this.previoustext = "Previous";
18
+ /**
19
+ * Text inside the hide button
20
+ *
21
+ * @uiName Hide Button Text
22
+ */
13
23
  this.hidetext = "Hide";
24
+ /**
25
+ * Text inside the next button
26
+ *
27
+ * @uiName Next Button Text
28
+ */
14
29
  this.nexttext = "Next";
15
30
  }
16
31
  render() {
@@ -5,5 +5,5 @@ const en = require('./en-a49a5ef5.js');
5
5
  require('./_commonjsHelpers-ac2d0785.js');
6
6
 
7
7
  en.patchBrowser().then(options => {
8
- return index.bootstrapLazy([["sqh-close-button.cjs",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code.cjs",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions.cjs",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12.cjs",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"padding":[1],"textalign":[1],"background":[1],"height":[1]}],[0,"sqh-referral-component",{"referral":[16],"referraltype":[1],"referralvariables":[16],"unknownuser":[16],"locale":[1]}],[0,"sqh-share-button",{"displayrule":[1],"text":[1],"backgroundcolor":[1],"textcolor":[1],"icon":[1],"buttonClassName":[1,"button-class-name"],"iconhorizontal":[2],"iconvertical":[2],"iconsize":[2],"type":[1],"url":[1]}]]]], options);
8
+ return index.bootstrapLazy([["sqh-close-button.cjs",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code.cjs",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions.cjs",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12.cjs",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"textalign":[1],"background":[1],"height":[1]}],[0,"sqh-referral-component",{"referral":[16],"referraltype":[1],"referralvariables":[16],"unknownuser":[16],"locale":[1]}],[0,"sqh-share-button",{"displayrule":[1],"text":[1],"backgroundcolor":[1],"textcolor":[1],"icon":[1],"buttonClassName":[1,"button-class-name"],"iconhorizontal":[2],"iconvertical":[2],"iconsize":[2],"type":[1],"url":[1]}]]]], options);
9
9
  });
@@ -2,8 +2,16 @@ import { h, Component, Prop, Element, Listen } from "@stencil/core";
2
2
  import { API, widgetIdent } from "../../services/WidgetHost";
3
3
  // const API: MyAPI = window["WidgetHost"];
4
4
  // const widget = window["widgetIdent"];
5
- export class TwitterShareButton {
5
+ /**
6
+ * @uiName Close Button
7
+ */
8
+ export class CloseButton {
6
9
  constructor() {
10
+ /**
11
+ * The text shown inside the close button.
12
+ *
13
+ * @uiName Button Text
14
+ */
7
15
  this.text = "Close";
8
16
  }
9
17
  handleClick() {
@@ -37,8 +45,11 @@ export class TwitterShareButton {
37
45
  "required": false,
38
46
  "optional": false,
39
47
  "docs": {
40
- "tags": [],
41
- "text": ""
48
+ "tags": [{
49
+ "text": "Button Text",
50
+ "name": "uiName"
51
+ }],
52
+ "text": "The text shown inside the close button."
42
53
  },
43
54
  "attribute": "text",
44
55
  "reflect": false,
@@ -3,6 +3,9 @@ import { shadeColor, addClass, removeClass } from "../../utilities";
3
3
  import { css } from "emotion";
4
4
  import { API } from "../../services/WidgetHost";
5
5
  import Clipboard from "clipboard";
6
+ /**
7
+ * @uiName Copy Button
8
+ */
6
9
  export class CopyButton {
7
10
  componentWillLoad() {
8
11
  if (!this.ishidden) {
@@ -93,8 +96,14 @@ export class CopyButton {
93
96
  "required": false,
94
97
  "optional": false,
95
98
  "docs": {
96
- "tags": [],
97
- "text": ""
99
+ "tags": [{
100
+ "text": "Hide Button",
101
+ "name": "uiName"
102
+ }, {
103
+ "text": "undefined",
104
+ "name": "default"
105
+ }],
106
+ "text": "Hide or show the component"
98
107
  },
99
108
  "attribute": "ishidden",
100
109
  "reflect": false
@@ -110,8 +119,14 @@ export class CopyButton {
110
119
  "required": false,
111
120
  "optional": false,
112
121
  "docs": {
113
- "tags": [],
114
- "text": ""
122
+ "tags": [{
123
+ "text": "Button Text",
124
+ "name": "uiName"
125
+ }, {
126
+ "text": "\"COPY CODE\"",
127
+ "name": "default"
128
+ }],
129
+ "text": "Text shown inside the copy button."
115
130
  },
116
131
  "attribute": "text",
117
132
  "reflect": false
@@ -127,8 +142,14 @@ export class CopyButton {
127
142
  "required": false,
128
143
  "optional": false,
129
144
  "docs": {
130
- "tags": [],
131
- "text": ""
145
+ "tags": [{
146
+ "text": "Max Width",
147
+ "name": "uiName"
148
+ }, {
149
+ "text": "170",
150
+ "name": "default"
151
+ }],
152
+ "text": "Sets a maximum width on the copy button."
132
153
  },
133
154
  "attribute": "width",
134
155
  "reflect": false
@@ -144,8 +165,20 @@ export class CopyButton {
144
165
  "required": false,
145
166
  "optional": false,
146
167
  "docs": {
147
- "tags": [],
148
- "text": ""
168
+ "tags": [{
169
+ "text": "Background Color",
170
+ "name": "uiName"
171
+ }, {
172
+ "text": "color",
173
+ "name": "uiWidget"
174
+ }, {
175
+ "text": "color",
176
+ "name": "format"
177
+ }, {
178
+ "text": "#35b21e",
179
+ "name": "default"
180
+ }],
181
+ "text": "Background & border color of the copy button."
149
182
  },
150
183
  "attribute": "backgroundcolor",
151
184
  "reflect": false
@@ -161,8 +194,14 @@ export class CopyButton {
161
194
  "required": false,
162
195
  "optional": false,
163
196
  "docs": {
164
- "tags": [],
165
- "text": ""
197
+ "tags": [{
198
+ "text": "Border Radius",
199
+ "name": "uiName"
200
+ }, {
201
+ "text": "4",
202
+ "name": "default"
203
+ }],
204
+ "text": "Configure border radius with pixel amount"
166
205
  },
167
206
  "attribute": "borderradius",
168
207
  "reflect": false
@@ -178,8 +217,20 @@ export class CopyButton {
178
217
  "required": false,
179
218
  "optional": false,
180
219
  "docs": {
181
- "tags": [],
182
- "text": ""
220
+ "tags": [{
221
+ "text": "Text Color",
222
+ "name": "uiName"
223
+ }, {
224
+ "text": "color",
225
+ "name": "uiWidget"
226
+ }, {
227
+ "text": "color",
228
+ "name": "format"
229
+ }, {
230
+ "text": "#ffffff",
231
+ "name": "default"
232
+ }],
233
+ "text": "Color of text inside the copy button."
183
234
  },
184
235
  "attribute": "textcolor",
185
236
  "reflect": false
@@ -195,8 +246,14 @@ export class CopyButton {
195
246
  "required": false,
196
247
  "optional": false,
197
248
  "docs": {
198
- "tags": [],
199
- "text": ""
249
+ "tags": [{
250
+ "text": "Font Size",
251
+ "name": "uiName"
252
+ }, {
253
+ "text": "14",
254
+ "name": "default"
255
+ }],
256
+ "text": "Font size of the copy button text."
200
257
  },
201
258
  "attribute": "fontsize",
202
259
  "reflect": false
@@ -212,8 +269,14 @@ export class CopyButton {
212
269
  "required": false,
213
270
  "optional": false,
214
271
  "docs": {
215
- "tags": [],
216
- "text": ""
272
+ "tags": [{
273
+ "text": "Copy Success Text",
274
+ "name": "uiName"
275
+ }, {
276
+ "text": "\"copied!\"",
277
+ "name": "default"
278
+ }],
279
+ "text": "Shown when the code is successfully copied to the users clipboard."
217
280
  },
218
281
  "attribute": "copysuccess",
219
282
  "reflect": false
@@ -229,8 +292,14 @@ export class CopyButton {
229
292
  "required": false,
230
293
  "optional": false,
231
294
  "docs": {
232
- "tags": [],
233
- "text": ""
295
+ "tags": [{
296
+ "text": "Copy Failure Text",
297
+ "name": "uiName"
298
+ }, {
299
+ "text": "\"Press Ctrl+C to copy\"",
300
+ "name": "default"
301
+ }],
302
+ "text": "Shown when the button has failed to copy the code to the users clipboard."
234
303
  },
235
304
  "attribute": "copyfailure",
236
305
  "reflect": false
@@ -246,8 +315,14 @@ export class CopyButton {
246
315
  "required": false,
247
316
  "optional": false,
248
317
  "docs": {
249
- "tags": [],
250
- "text": ""
318
+ "tags": [{
319
+ "text": "Reward Key",
320
+ "name": "uiName"
321
+ }, {
322
+ "text": "\"referredReward\"",
323
+ "name": "default"
324
+ }],
325
+ "text": "rewardkey is used to get the fuel tank code for a user."
251
326
  },
252
327
  "attribute": "rewardkey",
253
328
  "reflect": false
@@ -263,8 +338,14 @@ export class CopyButton {
263
338
  "required": false,
264
339
  "optional": false,
265
340
  "docs": {
266
- "tags": [],
267
- "text": ""
341
+ "tags": [{
342
+ "text": "Code Font Size",
343
+ "name": "uiName"
344
+ }, {
345
+ "text": "14",
346
+ "name": "default"
347
+ }],
348
+ "text": "Font size of the fuel tank code."
268
349
  },
269
350
  "attribute": "codefontsize",
270
351
  "reflect": false
@@ -280,8 +361,20 @@ export class CopyButton {
280
361
  "required": false,
281
362
  "optional": false,
282
363
  "docs": {
283
- "tags": [],
284
- "text": ""
364
+ "tags": [{
365
+ "text": "Code Font Color",
366
+ "name": "uiName"
367
+ }, {
368
+ "text": "color",
369
+ "name": "uiWidget"
370
+ }, {
371
+ "text": "color",
372
+ "name": "format"
373
+ }, {
374
+ "text": "#000000",
375
+ "name": "default"
376
+ }],
377
+ "text": "Text color of the fuel tank code."
285
378
  },
286
379
  "attribute": "codefontcolor",
287
380
  "reflect": false