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

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 (82) hide show
  1. package/dist/cjs/{WidgetHost-71b013eb.js → WidgetHost-f349e877.js} +157 -0
  2. package/dist/cjs/{en-a49a5ef5.js → en-3a7cb52e.js} +2 -2
  3. package/dist/cjs/{index-deb40352.js → index-09a04159.js} +54 -3
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/sqh-close-button.cjs.entry.js +2 -2
  6. package/dist/cjs/{sqh-copy-button_12.cjs.entry.js → sqh-copy-button_14.cjs.entry.js} +1172 -22
  7. package/dist/cjs/sqh-referral-code.cjs.entry.js +2 -2
  8. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +1 -1
  9. package/dist/cjs/widget-components.cjs.js +3 -3
  10. package/dist/collection/collection-manifest.json +2 -0
  11. package/dist/collection/components/copy-button/copy-button.js +3 -3
  12. package/dist/collection/components/copy-link-button/copy-link-button.js +4 -1
  13. package/dist/collection/components/cta-component/cta-component.css +6 -0
  14. package/dist/collection/components/cta-component/cta-component.js +396 -0
  15. package/dist/collection/components/global-container/global-container.js +1 -1
  16. package/dist/collection/components/image-component/image-component.js +4 -1
  17. package/dist/collection/components/partner-stat-component/partner-stat-component.js +4 -1
  18. package/dist/collection/components/progress-indicator/progress-indicator.css +73 -0
  19. package/dist/collection/components/progress-indicator/progress-indicator.js +493 -0
  20. package/dist/collection/components/referral-list/referral-list.js +5 -2
  21. package/dist/collection/components/share-button-container/share-button-container.js +31 -44
  22. package/dist/collection/components/stat-component/stat-component.js +13 -7
  23. package/dist/collection/components/stats-container/stats-container.js +7 -5
  24. package/dist/collection/components/text-component/text-component.js +40 -16
  25. package/dist/collection/services/WidgetHost.js +157 -0
  26. package/dist/esm/{WidgetHost-9c337319.js → WidgetHost-c033b6ac.js} +157 -0
  27. package/dist/esm/{en-be593af0.js → en-a652ab83.js} +1 -1
  28. package/dist/esm/{index-8ea8b6d8.js → index-342d7c26.js} +54 -3
  29. package/dist/esm/loader.mjs +3 -3
  30. package/dist/esm/sqh-close-button.entry.js +2 -2
  31. package/dist/esm/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +1171 -23
  32. package/dist/esm/sqh-referral-code.entry.js +2 -2
  33. package/dist/esm/sqh-rewards-actions.entry.js +1 -1
  34. package/dist/esm/widget-components.mjs +3 -3
  35. package/dist/esm-es5/{WidgetHost-9c337319.js → WidgetHost-c033b6ac.js} +96 -4
  36. package/dist/esm-es5/{en-be593af0.js → en-a652ab83.js} +1 -1
  37. package/dist/esm-es5/{index-8ea8b6d8.js → index-342d7c26.js} +53 -3
  38. package/dist/esm-es5/loader.mjs +3 -3
  39. package/dist/esm-es5/sqh-close-button.entry.js +2 -2
  40. package/dist/esm-es5/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +1059 -34
  41. package/dist/esm-es5/sqh-referral-code.entry.js +2 -2
  42. package/dist/esm-es5/sqh-rewards-actions.entry.js +1 -1
  43. package/dist/esm-es5/widget-components.mjs +3 -3
  44. package/dist/types/components/copy-button/copy-button.d.ts +1 -3
  45. package/dist/types/components/copy-link-button/copy-link-button.d.ts +1 -2
  46. package/dist/types/components/cta-component/cta-component.d.ts +86 -0
  47. package/dist/types/components/global-container/global-container.d.ts +0 -2
  48. package/dist/types/components/image-component/image-component.d.ts +1 -2
  49. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +1 -2
  50. package/dist/types/components/progress-indicator/progress-indicator.d.ts +42 -0
  51. package/dist/types/components/referral-list/referral-list.d.ts +2 -3
  52. package/dist/types/components/share-button-container/share-button-container.d.ts +1 -56
  53. package/dist/types/components/stat-component/stat-component.d.ts +6 -10
  54. package/dist/types/components/stats-container/stats-container.d.ts +3 -4
  55. package/dist/types/components/text-component/text-component.d.ts +13 -20
  56. package/dist/types/components.d.ts +256 -120
  57. package/dist/types/saasquatch.d.ts +3 -1
  58. package/dist/types/services/WidgetHost.d.ts +5 -0
  59. package/dist/widget-components/p-0839fd2c.system.entry.js +10 -0
  60. package/dist/widget-components/{p-44a6559d.js → p-17d80384.js} +1 -1
  61. package/dist/widget-components/{p-54ea7a00.entry.js → p-3ba562d0.entry.js} +1 -1
  62. package/dist/widget-components/{p-366f1663.entry.js → p-4293e873.entry.js} +1 -1
  63. package/dist/widget-components/{p-8e232564.system.js → p-54e83dfb.system.js} +2 -2
  64. package/dist/widget-components/{p-e2b4739f.system.entry.js → p-665b8d42.system.entry.js} +1 -1
  65. package/dist/widget-components/{p-edd43dbc.js → p-6e753d23.js} +68 -3
  66. package/dist/widget-components/p-a952fcf2.entry.js +233 -0
  67. package/dist/widget-components/{p-a846f503.system.js → p-aaf44379.system.js} +1 -1
  68. package/dist/widget-components/{p-b17efca4.system.entry.js → p-abf8a511.system.entry.js} +1 -1
  69. package/dist/widget-components/p-ad5121cf.system.js +1 -0
  70. package/dist/widget-components/p-d9e9c55c.system.entry.js +1 -0
  71. package/dist/widget-components/{p-58be1132.system.js → p-e82def83.system.js} +1 -1
  72. package/dist/widget-components/{p-9746ae26.entry.js → p-fb528be6.entry.js} +1 -1
  73. package/dist/widget-components/p-fbf0c7fe.js +1 -0
  74. package/dist/widget-components/widget-components.esm.js +1 -1
  75. package/dist/widget-components/widget-components.js +1 -1
  76. package/docs/raisins.json +1 -1
  77. package/package.json +4 -3
  78. package/dist/widget-components/p-485eaf44.js +0 -1
  79. package/dist/widget-components/p-c8bc8c77.system.entry.js +0 -1
  80. package/dist/widget-components/p-d416634a.entry.js +0 -148
  81. package/dist/widget-components/p-d97c955d.system.entry.js +0 -8
  82. package/dist/widget-components/p-e61a8100.system.js +0 -1
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-deb40352.js');
5
+ const index = require('./index-09a04159.js');
6
6
  require('./_commonjsHelpers-ac2d0785.js');
7
- const WidgetHost = require('./WidgetHost-71b013eb.js');
7
+ const WidgetHost = require('./WidgetHost-f349e877.js');
8
8
 
9
9
  const referralCodeCss = "sqh-referral-code{display:inline}sqh-referral-code span{font-family:inherit;font-size:inherit;color:inherit;overflow-wrap:break-word}";
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-deb40352.js');
5
+ const index = require('./index-09a04159.js');
6
6
 
7
7
  const rewardsActionsCss = "sqh-rewards-actions .squatch-referrals-actions{text-align:center}sqh-rewards-actions .squatch-referrals-actions .btn{margin-left:10px;width:120px}sqh-rewards-actions .squatch-referrals-actions .btn:first-child{margin-left:0}@media (max-width: 499px){sqh-rewards-actions .squatch-referrals-actions .btn{font-size:13px;width:85px;padding-left:6px;padding-right:6px;margin-left:7px}}";
8
8
 
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-deb40352.js');
4
- const en = require('./en-a49a5ef5.js');
3
+ const index = require('./index-09a04159.js');
4
+ const en = require('./en-3a7cb52e.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],"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_14.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]}],[0,"sqh-cta-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"fontweight":[1],"paddingbottom":[1],"textalign":[1],"background":[1],"buttonbackground":[1],"height":[1],"width":[1],"borderradius":[1],"url":[1]}],[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-progress-indicator",{"ishidden":[4],"textcolor":[1],"align":[1],"progresstype":[1],"earned":[1],"progress":[1],"progresswidth":[1],"percentagecolor":[1],"percentagesize":[1],"progresscolor":[1],"stats":[32],"rewardStats":[32],"progressMessage":[32],"rewardComplete":[32],"locale":[32],"loading":[32]}],[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],"fontweight":[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
  });
@@ -3,9 +3,11 @@
3
3
  "./components/close-button/close-button.js",
4
4
  "./components/copy-button/copy-button.js",
5
5
  "./components/copy-link-button/copy-link-button.js",
6
+ "./components/cta-component/cta-component.js",
6
7
  "./components/global-container/global-container.js",
7
8
  "./components/image-component/image-component.js",
8
9
  "./components/partner-stat-component/partner-stat-component.js",
10
+ "./components/progress-indicator/progress-indicator.js",
9
11
  "./components/referral-code/referral-code.js",
10
12
  "./components/referral-component/referral-component.js",
11
13
  "./components/referral-list/referral-list.js",
@@ -103,10 +103,10 @@ export class CopyButton {
103
103
  "text": "Hide Button",
104
104
  "name": "uiName"
105
105
  }, {
106
- "text": "undefined",
107
- "name": "default"
106
+ "text": undefined,
107
+ "name": "undocumented"
108
108
  }],
109
- "text": "Hide or show the component"
109
+ "text": ""
110
110
  },
111
111
  "attribute": "ishidden",
112
112
  "reflect": false
@@ -91,10 +91,13 @@ export class CopyLinkButton {
91
91
  "optional": false,
92
92
  "docs": {
93
93
  "tags": [{
94
+ "text": undefined,
95
+ "name": "undocumented"
96
+ }, {
94
97
  "text": "Hide Button",
95
98
  "name": "uiName"
96
99
  }],
97
- "text": "Hide or show the component"
100
+ "text": ""
98
101
  },
99
102
  "attribute": "ishidden",
100
103
  "reflect": false
@@ -0,0 +1,6 @@
1
+ sqh-cta-component {
2
+ display: block;
3
+ }
4
+ sqh-cta-component p {
5
+ margin: 0;
6
+ }
@@ -0,0 +1,396 @@
1
+ import { Component, Prop, h, Element } from '@stencil/core';
2
+ import { css } from 'emotion';
3
+ /**
4
+ * @uiName Call To Action
5
+ */
6
+ export class CTAComponent {
7
+ render() {
8
+ const buttonStyle = css `
9
+ font-family: ${this.fontfamily || 'inherit'};
10
+ font-size: ${this.fontsize ? this.fontsize + 'px' : 'inherit'};
11
+ font-weight: ${this.fontweight ? this.fontweight : 'inherit'};
12
+ color: ${this.color || 'inherit'};
13
+ padding-top: ${this.paddingtop ? this.paddingtop + 'px' : 'inherit'};
14
+ padding-bottom: ${this.paddingbottom ? this.paddingbottom + 'px' : 'inherit'};
15
+ width:${this.width ? this.width + 'px' : 'auto'};
16
+ overflow-wrap: break-word;
17
+ border-radius: ${this.borderradius ? this.borderradius + 'px' : '8px'};
18
+ margin:0 auto;
19
+ border:none;
20
+ background-color: ${this.buttonbackground ? this.buttonbackground : '#F5A100'};
21
+ &:hover {
22
+ cursor:pointer;
23
+ opacity:0.9;
24
+ }
25
+ &:focus {
26
+ outline:none;
27
+ }
28
+ `;
29
+ const divStyle = css `
30
+ text-align: ${this.textalign};
31
+ background: ${this.background ? this.background : 'inherit'};
32
+ height: ${this.height || 'inherit'};
33
+ background-size: contain;
34
+ `;
35
+ return !this.ishidden &&
36
+ h("div", { class: divStyle },
37
+ h("button", { class: buttonStyle, onClick: () => window.open(this.url, "_blank") }, this.text));
38
+ }
39
+ static get is() { return "sqh-cta-component"; }
40
+ static get originalStyleUrls() { return {
41
+ "$": ["cta-component.scss"]
42
+ }; }
43
+ static get styleUrls() { return {
44
+ "$": ["cta-component.css"]
45
+ }; }
46
+ static get properties() { return {
47
+ "ishidden": {
48
+ "type": "boolean",
49
+ "mutable": false,
50
+ "complexType": {
51
+ "original": "boolean",
52
+ "resolved": "boolean",
53
+ "references": {}
54
+ },
55
+ "required": false,
56
+ "optional": false,
57
+ "docs": {
58
+ "tags": [{
59
+ "text": undefined,
60
+ "name": "undocumented"
61
+ }, {
62
+ "text": "Hide Text",
63
+ "name": "uiName"
64
+ }],
65
+ "text": ""
66
+ },
67
+ "attribute": "ishidden",
68
+ "reflect": false
69
+ },
70
+ "ismarkdown": {
71
+ "type": "boolean",
72
+ "mutable": false,
73
+ "complexType": {
74
+ "original": "boolean",
75
+ "resolved": "boolean",
76
+ "references": {}
77
+ },
78
+ "required": false,
79
+ "optional": false,
80
+ "docs": {
81
+ "tags": [{
82
+ "text": "Use Markdown",
83
+ "name": "uiName"
84
+ }],
85
+ "text": "Compile plain text into markdown."
86
+ },
87
+ "attribute": "ismarkdown",
88
+ "reflect": false
89
+ },
90
+ "text": {
91
+ "type": "string",
92
+ "mutable": false,
93
+ "complexType": {
94
+ "original": "string",
95
+ "resolved": "string",
96
+ "references": {}
97
+ },
98
+ "required": false,
99
+ "optional": false,
100
+ "docs": {
101
+ "tags": [{
102
+ "text": "Text",
103
+ "name": "uiName"
104
+ }],
105
+ "text": ""
106
+ },
107
+ "attribute": "text",
108
+ "reflect": false
109
+ },
110
+ "fontfamily": {
111
+ "type": "string",
112
+ "mutable": false,
113
+ "complexType": {
114
+ "original": "string",
115
+ "resolved": "string",
116
+ "references": {}
117
+ },
118
+ "required": false,
119
+ "optional": false,
120
+ "docs": {
121
+ "tags": [{
122
+ "text": "Font Family",
123
+ "name": "uiName"
124
+ }],
125
+ "text": ""
126
+ },
127
+ "attribute": "fontfamily",
128
+ "reflect": false
129
+ },
130
+ "color": {
131
+ "type": "string",
132
+ "mutable": false,
133
+ "complexType": {
134
+ "original": "string",
135
+ "resolved": "string",
136
+ "references": {}
137
+ },
138
+ "required": false,
139
+ "optional": false,
140
+ "docs": {
141
+ "tags": [{
142
+ "text": "Text Color",
143
+ "name": "uiName"
144
+ }, {
145
+ "text": "color",
146
+ "name": "uiWidget"
147
+ }, {
148
+ "text": "color",
149
+ "name": "format"
150
+ }],
151
+ "text": ""
152
+ },
153
+ "attribute": "color",
154
+ "reflect": false
155
+ },
156
+ "fontsize": {
157
+ "type": "string",
158
+ "mutable": false,
159
+ "complexType": {
160
+ "original": "string",
161
+ "resolved": "string",
162
+ "references": {}
163
+ },
164
+ "required": false,
165
+ "optional": false,
166
+ "docs": {
167
+ "tags": [{
168
+ "text": "Font Size",
169
+ "name": "uiName"
170
+ }],
171
+ "text": ""
172
+ },
173
+ "attribute": "fontsize",
174
+ "reflect": false
175
+ },
176
+ "paddingtop": {
177
+ "type": "string",
178
+ "mutable": false,
179
+ "complexType": {
180
+ "original": "string",
181
+ "resolved": "string",
182
+ "references": {}
183
+ },
184
+ "required": false,
185
+ "optional": false,
186
+ "docs": {
187
+ "tags": [{
188
+ "text": "Padding Top",
189
+ "name": "uiName"
190
+ }],
191
+ "text": ""
192
+ },
193
+ "attribute": "paddingtop",
194
+ "reflect": false
195
+ },
196
+ "fontweight": {
197
+ "type": "string",
198
+ "mutable": false,
199
+ "complexType": {
200
+ "original": "string",
201
+ "resolved": "string",
202
+ "references": {}
203
+ },
204
+ "required": false,
205
+ "optional": false,
206
+ "docs": {
207
+ "tags": [{
208
+ "text": "Font Weight",
209
+ "name": "uiName"
210
+ }],
211
+ "text": ""
212
+ },
213
+ "attribute": "fontweight",
214
+ "reflect": false
215
+ },
216
+ "paddingbottom": {
217
+ "type": "string",
218
+ "mutable": false,
219
+ "complexType": {
220
+ "original": "string",
221
+ "resolved": "string",
222
+ "references": {}
223
+ },
224
+ "required": false,
225
+ "optional": false,
226
+ "docs": {
227
+ "tags": [{
228
+ "text": "Padding Bottom",
229
+ "name": "uiName"
230
+ }],
231
+ "text": ""
232
+ },
233
+ "attribute": "paddingbottom",
234
+ "reflect": false
235
+ },
236
+ "textalign": {
237
+ "type": "string",
238
+ "mutable": false,
239
+ "complexType": {
240
+ "original": "string",
241
+ "resolved": "string",
242
+ "references": {}
243
+ },
244
+ "required": false,
245
+ "optional": false,
246
+ "docs": {
247
+ "tags": [{
248
+ "text": "Text Alignment",
249
+ "name": "uiName"
250
+ }, {
251
+ "text": "[\"left\", \"center\", \"right\"]",
252
+ "name": "uiEnum"
253
+ }, {
254
+ "text": "[\"Left\", \"Center\", \"Right\"]",
255
+ "name": "uiEnumNames"
256
+ }],
257
+ "text": ""
258
+ },
259
+ "attribute": "textalign",
260
+ "reflect": false
261
+ },
262
+ "background": {
263
+ "type": "string",
264
+ "mutable": false,
265
+ "complexType": {
266
+ "original": "string",
267
+ "resolved": "string",
268
+ "references": {}
269
+ },
270
+ "required": false,
271
+ "optional": false,
272
+ "docs": {
273
+ "tags": [{
274
+ "text": "Background",
275
+ "name": "uiName"
276
+ }],
277
+ "text": ""
278
+ },
279
+ "attribute": "background",
280
+ "reflect": false
281
+ },
282
+ "buttonbackground": {
283
+ "type": "string",
284
+ "mutable": false,
285
+ "complexType": {
286
+ "original": "string",
287
+ "resolved": "string",
288
+ "references": {}
289
+ },
290
+ "required": false,
291
+ "optional": false,
292
+ "docs": {
293
+ "tags": [{
294
+ "text": "Button Color",
295
+ "name": "uiName"
296
+ }, {
297
+ "text": "color",
298
+ "name": "uiWidget"
299
+ }, {
300
+ "text": "color",
301
+ "name": "format"
302
+ }, {
303
+ "text": "'#F5A100'",
304
+ "name": "default"
305
+ }],
306
+ "text": ""
307
+ },
308
+ "attribute": "buttonbackground",
309
+ "reflect": false
310
+ },
311
+ "height": {
312
+ "type": "string",
313
+ "mutable": false,
314
+ "complexType": {
315
+ "original": "string",
316
+ "resolved": "string",
317
+ "references": {}
318
+ },
319
+ "required": false,
320
+ "optional": false,
321
+ "docs": {
322
+ "tags": [{
323
+ "text": "Button Height",
324
+ "name": "uiName"
325
+ }],
326
+ "text": "Button height in pixels."
327
+ },
328
+ "attribute": "height",
329
+ "reflect": false
330
+ },
331
+ "width": {
332
+ "type": "string",
333
+ "mutable": false,
334
+ "complexType": {
335
+ "original": "string",
336
+ "resolved": "string",
337
+ "references": {}
338
+ },
339
+ "required": false,
340
+ "optional": false,
341
+ "docs": {
342
+ "tags": [{
343
+ "text": "Button Width",
344
+ "name": "uiName"
345
+ }],
346
+ "text": "Button width in pixels."
347
+ },
348
+ "attribute": "width",
349
+ "reflect": false
350
+ },
351
+ "borderradius": {
352
+ "type": "string",
353
+ "mutable": false,
354
+ "complexType": {
355
+ "original": "string",
356
+ "resolved": "string",
357
+ "references": {}
358
+ },
359
+ "required": false,
360
+ "optional": false,
361
+ "docs": {
362
+ "tags": [{
363
+ "text": "Border Radius",
364
+ "name": "uiName"
365
+ }, {
366
+ "text": "\"8px\"",
367
+ "name": "default"
368
+ }],
369
+ "text": ""
370
+ },
371
+ "attribute": "borderradius",
372
+ "reflect": false
373
+ },
374
+ "url": {
375
+ "type": "string",
376
+ "mutable": false,
377
+ "complexType": {
378
+ "original": "string",
379
+ "resolved": "string",
380
+ "references": {}
381
+ },
382
+ "required": false,
383
+ "optional": false,
384
+ "docs": {
385
+ "tags": [{
386
+ "text": "Button Link",
387
+ "name": "uiName"
388
+ }],
389
+ "text": ""
390
+ },
391
+ "attribute": "url",
392
+ "reflect": false
393
+ }
394
+ }; }
395
+ static get elementRef() { return "textEl"; }
396
+ }
@@ -66,7 +66,7 @@ export class GlobalContainer {
66
66
  "text": "\"#ffffff\"",
67
67
  "name": "default"
68
68
  }],
69
- "text": "Configure the background color."
69
+ "text": ""
70
70
  },
71
71
  "attribute": "background",
72
72
  "reflect": false
@@ -42,10 +42,13 @@ export class ImageComponent {
42
42
  "optional": false,
43
43
  "docs": {
44
44
  "tags": [{
45
+ "text": undefined,
46
+ "name": "undocumented"
47
+ }, {
45
48
  "text": "Hide Image",
46
49
  "name": "uiName"
47
50
  }],
48
- "text": "Hide or show the component"
51
+ "text": ""
49
52
  },
50
53
  "attribute": "ishidden",
51
54
  "reflect": false
@@ -50,10 +50,13 @@ export class PartnerStatComponent {
50
50
  "optional": false,
51
51
  "docs": {
52
52
  "tags": [{
53
+ "text": undefined,
54
+ "name": "undocumented"
55
+ }, {
53
56
  "text": "Hide Stat",
54
57
  "name": "uiName"
55
58
  }],
56
- "text": "Hide or show the component"
59
+ "text": ""
57
60
  },
58
61
  "attribute": "ishidden",
59
62
  "reflect": false
@@ -0,0 +1,73 @@
1
+ sqh-progress-indicator {
2
+ display: block;
3
+ }
4
+ sqh-progress-indicator .container-loading {
5
+ display: none;
6
+ left: calc(50% - 50px);
7
+ position: absolute;
8
+ text-align: center;
9
+ top: 45%;
10
+ width: 100px;
11
+ }
12
+ sqh-progress-indicator:not(.hydrated) .container-loading {
13
+ display: block;
14
+ visibility: visible;
15
+ }
16
+ sqh-progress-indicator .loading-icon {
17
+ height: 40px;
18
+ text-align: center;
19
+ font-size: 10px;
20
+ position: absolute;
21
+ left: 0;
22
+ width: 100%;
23
+ top: 45%;
24
+ z-index: 1000;
25
+ }
26
+ sqh-progress-indicator .loading-icon-tr .loading-icon {
27
+ position: relative;
28
+ top: 0;
29
+ }
30
+ sqh-progress-indicator .loading-icon > div {
31
+ background-color: #439B76;
32
+ height: 100%;
33
+ margin: 1px;
34
+ width: 6px;
35
+ display: inline-block;
36
+ -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
37
+ animation: sk-stretchdelay 1.2s infinite ease-in-out;
38
+ }
39
+ sqh-progress-indicator .loading-icon .bar2 {
40
+ -webkit-animation-delay: -1.1s;
41
+ animation-delay: -1.1s;
42
+ }
43
+ sqh-progress-indicator .loading-icon .bar3 {
44
+ -webkit-animation-delay: -1s;
45
+ animation-delay: -1s;
46
+ }
47
+ sqh-progress-indicator .loading-icon .bar4 {
48
+ -webkit-animation-delay: -0.9s;
49
+ animation-delay: -0.9s;
50
+ }
51
+ sqh-progress-indicator .loading-icon .bar5 {
52
+ -webkit-animation-delay: -0.8s;
53
+ animation-delay: -0.8s;
54
+ }
55
+
56
+ @-webkit-keyframes sk-stretchdelay {
57
+ 0%, 40%, 100% {
58
+ -webkit-transform: scaleY(0.4);
59
+ }
60
+ 20% {
61
+ -webkit-transform: scaleY(1);
62
+ }
63
+ }
64
+ @keyframes sk-stretchdelay {
65
+ 0%, 40%, 100% {
66
+ transform: scaleY(0.4);
67
+ -webkit-transform: scaleY(0.4);
68
+ }
69
+ 20% {
70
+ transform: scaleY(1);
71
+ -webkit-transform: scaleY(1);
72
+ }
73
+ }