@saasquatch/mint-components 1.15.0-4 → 1.15.0-40

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 (472) hide show
  1. package/dist/cjs/{GenericTableView-a9f4ba75.js → GenericTableView-a9d0b798.js} +7 -7
  2. package/dist/cjs/{ShadowViewAddon-9e7916d8.js → ShadowViewAddon-fcd0c52f.js} +487 -418
  3. package/dist/cjs/{copy-text-view-c85acaaa.js → copy-text-view-ee147291.js} +54 -39
  4. package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-37b44222.js} +1 -1
  5. package/dist/cjs/{global-0cf6d295.js → global-a38a094f.js} +304 -87
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/mint-components.cjs.js +2 -2
  8. package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
  9. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +297 -161
  10. package/dist/cjs/{sqm-base-registration-form-view-8a2c8763.js → sqm-base-registration-form-view-1c5094d3.js} +2 -2
  11. package/dist/cjs/sqm-big-stat_41.cjs.entry.js +287 -112
  12. package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-b297e933.js} +1 -1
  13. package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +49 -49
  16. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +2 -2
  17. package/dist/cjs/{sqm-invoice-table-view-dbf7a907.js → sqm-invoice-table-view-19ca10fa.js} +2 -2
  18. package/dist/cjs/{sqm-leaderboard-rank-view-d39a55d8.js → sqm-leaderboard-rank-view-7c6cebe3.js} +1 -1
  19. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +3 -3
  20. package/dist/cjs/{sqm-navigation-sidebar-item-view-6f35d2ee.js → sqm-navigation-sidebar-item-view-10b62df1.js} +18 -7
  21. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +26 -3
  22. package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-38a5227a.js} +16 -6
  23. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +19 -3
  24. package/dist/cjs/sqm-pagination_3.cjs.entry.js +86 -59
  25. package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
  26. package/dist/cjs/{sqm-portal-email-verification-view-ab0fb983.js → sqm-portal-email-verification-view-26c893d3.js} +3 -3
  27. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
  28. package/dist/cjs/{sqm-portal-forgot-password-view-78f19ef9.js → sqm-portal-forgot-password-view-fdd97c18.js} +24 -17
  29. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +25 -4
  30. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +3 -3
  31. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +4 -4
  32. package/dist/cjs/{sqm-portal-login-view-761a4d8e.js → sqm-portal-login-view-0fbbda1b.js} +3 -3
  33. package/dist/cjs/{sqm-portal-profile-view-e3026b53.js → sqm-portal-profile-view-674a7543.js} +3 -3
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  35. package/dist/cjs/{sqm-portal-registration-form-view-637a4bf4.js → sqm-portal-registration-form-view-399f4eaf.js} +2 -2
  36. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +3 -3
  37. package/dist/cjs/{sqm-portal-reset-password-view-fe602822.js → sqm-portal-reset-password-view-0439a9e5.js} +2 -2
  38. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
  39. package/dist/cjs/{sqm-portal-verify-email-view-7b678f34.js → sqm-portal-verify-email-view-05f72dec.js} +2 -2
  40. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
  41. package/dist/cjs/{sqm-qr-code-view-15dfc0b6.js → sqm-qr-code-view-7ee9fa56.js} +2 -7
  42. package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
  43. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +111 -24
  44. package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
  45. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  46. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +81 -15
  47. package/dist/cjs/sqm-stencilbook.cjs.entry.js +154 -30
  48. package/dist/cjs/sqm-tabs.cjs.entry.js +16 -4
  49. package/dist/cjs/sqm-text-span-view-ce4c0178.js +63 -0
  50. package/dist/cjs/sqm-text-span.cjs.entry.js +4 -4
  51. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
  52. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
  53. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +162 -2
  54. package/dist/collection/components/sqm-big-stat/useBigStat.js +10 -0
  55. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +13 -4
  56. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
  57. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +7 -0
  58. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  59. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +169 -1
  60. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
  61. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
  62. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +58 -1
  63. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  64. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +1 -1
  65. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -2
  66. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +79 -0
  67. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
  68. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
  69. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
  70. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +60 -54
  71. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +197 -32
  72. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
  73. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
  74. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  75. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +27 -2
  76. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
  77. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +16 -6
  78. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
  79. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +17 -6
  80. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
  81. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
  82. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
  83. package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -0
  84. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
  85. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
  86. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
  87. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +22 -15
  88. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +95 -2
  89. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
  90. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +103 -2
  91. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
  92. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
  93. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  94. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +8 -2
  95. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +77 -2
  96. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -7
  97. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +32 -31
  98. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +75 -0
  99. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
  100. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +169 -1
  101. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
  102. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
  103. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +28 -1
  104. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +48 -15
  105. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +60 -6
  106. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -4
  107. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +3 -3
  108. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +71 -5
  109. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
  110. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
  111. package/dist/collection/components/sqm-share-button/sqm-share-button.js +53 -7
  112. package/dist/collection/components/sqm-share-code/sqm-share-code.js +169 -1
  113. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +12 -0
  114. package/dist/collection/components/sqm-share-link/sqm-share-link.js +171 -3
  115. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +20 -8
  116. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
  117. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  118. package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
  119. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +14 -2
  120. package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
  121. package/dist/collection/components/sqm-task-card/DetailsView.js +8 -2
  122. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
  123. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +138 -156
  124. package/dist/collection/components/sqm-task-card/sqm-task-card.js +146 -0
  125. package/dist/collection/components/sqm-task-card/useTaskCard.js +10 -0
  126. package/dist/collection/components/sqm-text/Text.stories.js +12 -0
  127. package/dist/collection/components/sqm-text/sqm-text.js +100 -49
  128. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
  129. package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
  130. package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
  131. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
  132. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
  133. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +19 -42
  134. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +2 -2
  135. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +14 -41
  136. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +2 -2
  137. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +55 -21
  138. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +13 -13
  139. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +18 -18
  140. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +168 -16
  141. package/dist/collection/components/views/copy-text-view.js +53 -38
  142. package/dist/collection/global/mixins.js +8 -8
  143. package/dist/collection/global/styles.js +304 -87
  144. package/dist/collection/global/styles.ts +304 -87
  145. package/dist/collection/tables/GenericTableView.js +6 -6
  146. package/dist/esm/{GenericTableView-7b9087af.js → GenericTableView-3b6f9ccc.js} +7 -7
  147. package/dist/esm/{ShadowViewAddon-e350d540.js → ShadowViewAddon-5f9b6d07.js} +487 -418
  148. package/dist/esm/{copy-text-view-782137ba.js → copy-text-view-4a207b17.js} +54 -39
  149. package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-b1c858ee.js} +1 -1
  150. package/dist/esm/{global-1d207c9e.js → global-66746c30.js} +304 -87
  151. package/dist/esm/loader.js +2 -2
  152. package/dist/esm/mint-components.js +2 -2
  153. package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
  154. package/dist/esm/sqm-banking-info-form_17.entry.js +297 -161
  155. package/dist/esm/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-d732a5df.js} +2 -2
  156. package/dist/esm/sqm-big-stat_41.entry.js +287 -112
  157. package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-bc2bc10e.js} +1 -1
  158. package/dist/esm/sqm-close-button.entry.js +2 -2
  159. package/dist/esm/sqm-email-verification.entry.js +2 -2
  160. package/dist/esm/sqm-empty_4.entry.js +49 -49
  161. package/dist/esm/sqm-instant-access-registration.entry.js +2 -2
  162. package/dist/esm/{sqm-invoice-table-view-e0c9772a.js → sqm-invoice-table-view-b7e91eef.js} +2 -2
  163. package/dist/esm/{sqm-leaderboard-rank-view-753c8d4a.js → sqm-leaderboard-rank-view-84b3c539.js} +1 -1
  164. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
  165. package/dist/esm/{sqm-navigation-sidebar-item-view-8f1c72bc.js → sqm-navigation-sidebar-item-view-6e046743.js} +18 -7
  166. package/dist/esm/sqm-navigation-sidebar-item.entry.js +26 -3
  167. package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-f898265a.js} +16 -6
  168. package/dist/esm/sqm-navigation-sidebar.entry.js +20 -4
  169. package/dist/esm/sqm-pagination_3.entry.js +86 -59
  170. package/dist/esm/sqm-password-field.entry.js +1 -1
  171. package/dist/esm/{sqm-portal-email-verification-view-6c8bad0b.js → sqm-portal-email-verification-view-00f03873.js} +3 -3
  172. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  173. package/dist/esm/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-55fc0873.js} +24 -17
  174. package/dist/esm/sqm-portal-forgot-password.entry.js +25 -4
  175. package/dist/esm/sqm-portal-google-login.entry.js +3 -3
  176. package/dist/esm/sqm-portal-google-registration-form.entry.js +4 -4
  177. package/dist/esm/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-e870b4b0.js} +3 -3
  178. package/dist/esm/{sqm-portal-profile-view-cbdeec1f.js → sqm-portal-profile-view-0d45de87.js} +3 -3
  179. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  180. package/dist/esm/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-5d651c04.js} +2 -2
  181. package/dist/esm/sqm-portal-registration-form.entry.js +3 -3
  182. package/dist/esm/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-6903828e.js} +2 -2
  183. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  184. package/dist/esm/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-01ac711f.js} +2 -2
  185. package/dist/esm/sqm-portal-verify-email.entry.js +3 -3
  186. package/dist/esm/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-62c10948.js} +2 -7
  187. package/dist/esm/sqm-qr-code.entry.js +1 -1
  188. package/dist/esm/sqm-referral-table_11.entry.js +111 -24
  189. package/dist/esm/sqm-referred-registration.entry.js +2 -2
  190. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  191. package/dist/esm/sqm-rewards-table_9.entry.js +81 -15
  192. package/dist/esm/sqm-stencilbook.entry.js +154 -30
  193. package/dist/esm/sqm-tabs.entry.js +16 -4
  194. package/dist/esm/sqm-text-span-view-cd3902e5.js +61 -0
  195. package/dist/esm/sqm-text-span.entry.js +4 -4
  196. package/dist/esm-es5/GenericTableView-3b6f9ccc.js +1 -0
  197. package/dist/esm-es5/ShadowViewAddon-5f9b6d07.js +1 -0
  198. package/dist/esm-es5/copy-text-view-4a207b17.js +1 -0
  199. package/dist/esm-es5/{email-registration-view-a7818cf2.js → email-registration-view-b1c858ee.js} +1 -1
  200. package/dist/esm-es5/{global-1d207c9e.js → global-66746c30.js} +4 -4
  201. package/dist/esm-es5/loader.js +1 -1
  202. package/dist/esm-es5/mint-components.js +1 -1
  203. package/dist/esm-es5/mixins-f750863a.js +1 -0
  204. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  205. package/dist/esm-es5/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-d732a5df.js} +1 -1
  206. package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
  207. package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-bc2bc10e.js} +1 -1
  208. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  209. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  210. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  211. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  212. package/dist/esm-es5/{sqm-invoice-table-view-e0c9772a.js → sqm-invoice-table-view-b7e91eef.js} +1 -1
  213. package/dist/esm-es5/sqm-leaderboard-rank-view-84b3c539.js +1 -0
  214. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  215. package/dist/esm-es5/sqm-navigation-sidebar-item-view-6e046743.js +1 -0
  216. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  217. package/dist/esm-es5/sqm-navigation-sidebar-view-f898265a.js +1 -0
  218. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  219. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  220. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  221. package/dist/esm-es5/{sqm-portal-email-verification-view-6c8bad0b.js → sqm-portal-email-verification-view-00f03873.js} +1 -1
  222. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  223. package/dist/esm-es5/sqm-portal-forgot-password-view-55fc0873.js +1 -0
  224. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  225. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  226. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  227. package/dist/esm-es5/sqm-portal-login-view-e870b4b0.js +1 -0
  228. package/dist/esm-es5/{sqm-portal-profile-view-cbdeec1f.js → sqm-portal-profile-view-0d45de87.js} +1 -1
  229. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  230. package/dist/esm-es5/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-5d651c04.js} +1 -1
  231. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  232. package/dist/esm-es5/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-6903828e.js} +1 -1
  233. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  234. package/dist/esm-es5/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-01ac711f.js} +1 -1
  235. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  236. package/dist/esm-es5/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-62c10948.js} +1 -1
  237. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  238. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  239. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  240. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  241. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  242. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  243. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  244. package/dist/esm-es5/sqm-text-span-view-cd3902e5.js +1 -0
  245. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  246. package/dist/mint-components/global/styles.ts +304 -87
  247. package/dist/mint-components/mint-components.esm.js +1 -1
  248. package/dist/mint-components/mint-components.js +1 -1
  249. package/dist/mint-components/{p-9b894557.entry.js → p-015da96d.entry.js} +1 -1
  250. package/dist/mint-components/p-042642d3.entry.js +1 -0
  251. package/dist/mint-components/p-0480b155.system.entry.js +1 -0
  252. package/dist/mint-components/{p-91ab3da1.js → p-057f5402.js} +1 -1
  253. package/dist/mint-components/{p-d07f3090.entry.js → p-0b3218a5.entry.js} +1 -1
  254. package/dist/mint-components/{p-d929b9d5.system.js → p-0bdeab70.system.js} +1 -1
  255. package/dist/mint-components/{p-e5d0375e.system.js → p-0df294ad.system.js} +1 -1
  256. package/dist/mint-components/p-0e32981f.js +1 -0
  257. package/dist/mint-components/p-0eb3d919.system.entry.js +1 -0
  258. package/dist/mint-components/p-1abe7884.system.entry.js +1 -0
  259. package/dist/mint-components/p-210e8f49.entry.js +144 -0
  260. package/dist/mint-components/{p-99ad7d56.system.js → p-223dd3f7.system.js} +1 -1
  261. package/dist/mint-components/{p-709e1799.system.entry.js → p-241d68d4.system.entry.js} +1 -1
  262. package/dist/mint-components/p-32a47b41.system.js +1 -0
  263. package/dist/mint-components/p-3a21f8f9.system.entry.js +1 -0
  264. package/dist/mint-components/p-3c3aab4c.system.js +1 -0
  265. package/dist/mint-components/{p-19bc3406.system.entry.js → p-3e4e74a2.system.entry.js} +1 -1
  266. package/dist/mint-components/{p-c8147def.js → p-3e604cad.js} +1 -1
  267. package/dist/mint-components/{p-475245d1.system.js → p-3f290d24.system.js} +12 -12
  268. package/dist/mint-components/{p-164a9103.system.entry.js → p-41d051b1.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-90fc6774.system.entry.js → p-457962b7.system.entry.js} +1 -1
  270. package/dist/mint-components/p-46a672e4.entry.js +1 -0
  271. package/dist/mint-components/p-49b20dae.js +1 -0
  272. package/dist/mint-components/{p-380bfde1.entry.js → p-4b42b756.entry.js} +1 -1
  273. package/dist/mint-components/{p-2dca9e1a.system.js → p-4b9789a2.system.js} +1 -1
  274. package/dist/mint-components/{p-fbac722b.js → p-4caaf25a.js} +1 -1
  275. package/dist/mint-components/{p-f0772618.system.entry.js → p-4d478108.system.entry.js} +1 -1
  276. package/dist/mint-components/{p-6d4a313f.js → p-4f22fda2.js} +81 -81
  277. package/dist/mint-components/{p-b75bb6e3.system.js → p-505951d2.system.js} +1 -1
  278. package/dist/mint-components/p-5366850e.entry.js +1 -0
  279. package/dist/mint-components/p-54b0b768.system.js +1 -0
  280. package/dist/mint-components/p-5c5964e0.js +1 -0
  281. package/dist/mint-components/{p-b2bf509e.entry.js → p-5cd684b2.entry.js} +2 -2
  282. package/dist/mint-components/p-5d407714.system.entry.js +1 -0
  283. package/dist/mint-components/{p-a2fde301.entry.js → p-5ef6de10.entry.js} +1 -1
  284. package/dist/mint-components/p-66a2b1a4.js +1 -0
  285. package/dist/mint-components/p-6798cad1.system.js +1 -0
  286. package/dist/mint-components/{p-b33b7eb5.system.js → p-6798d563.system.js} +1 -1
  287. package/dist/mint-components/p-693fc880.system.js +1 -0
  288. package/dist/mint-components/{p-0c78815e.system.entry.js → p-6a49b077.system.entry.js} +1 -1
  289. package/dist/mint-components/{p-53730ffe.entry.js → p-6a5f57d7.entry.js} +1 -1
  290. package/dist/mint-components/p-6c1d0367.entry.js +33 -0
  291. package/dist/mint-components/p-71f23364.entry.js +13 -0
  292. package/dist/mint-components/{p-92816d1f.js → p-72ff8268.js} +1 -1
  293. package/dist/mint-components/p-731d06a9.entry.js +1 -0
  294. package/dist/mint-components/p-74afdafb.system.js +1 -0
  295. package/dist/mint-components/p-767485b8.system.js +1 -0
  296. package/dist/mint-components/{p-1673fae9.system.entry.js → p-770bba1b.system.entry.js} +1 -1
  297. package/dist/mint-components/p-77b8a529.system.entry.js +1 -0
  298. package/dist/mint-components/{p-7a9290ba.js → p-82113e37.js} +1 -1
  299. package/dist/mint-components/p-8530290b.entry.js +258 -0
  300. package/dist/mint-components/{p-0d2d0b6d.entry.js → p-865f812e.entry.js} +1 -1
  301. package/dist/mint-components/{p-42187319.system.entry.js → p-884ac29e.system.entry.js} +1 -1
  302. package/dist/mint-components/p-8a6494c7.system.js +1 -0
  303. package/dist/mint-components/{p-00ed4c2e.entry.js → p-8e93e590.entry.js} +1 -1
  304. package/dist/mint-components/p-8feb4180.entry.js +1 -0
  305. package/dist/mint-components/p-9acf0b39.system.entry.js +1 -0
  306. package/dist/mint-components/p-9f2edf59.system.js +1 -0
  307. package/dist/mint-components/{p-6df88590.system.entry.js → p-9fe574ca.system.entry.js} +1 -1
  308. package/dist/mint-components/{p-6055eb4c.system.js → p-a1091368.system.js} +1 -1
  309. package/dist/mint-components/{p-4428294b.entry.js → p-a3e68251.entry.js} +1 -1
  310. package/dist/mint-components/p-a572db9b.system.entry.js +1 -0
  311. package/dist/mint-components/{p-7f80a9d7.entry.js → p-a60d5315.entry.js} +1 -1
  312. package/dist/mint-components/p-a68932b0.system.entry.js +1 -0
  313. package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-af516659.system.entry.js} +1 -1
  314. package/dist/mint-components/p-af96b482.entry.js +205 -0
  315. package/dist/mint-components/p-b0d4938a.system.entry.js +1 -0
  316. package/dist/mint-components/p-b637f1e4.js +1 -0
  317. package/dist/mint-components/{p-2f101bae.entry.js → p-b6761073.entry.js} +1 -1
  318. package/dist/mint-components/{p-9bfd9bed.system.entry.js → p-bb6e411d.system.entry.js} +1 -1
  319. package/dist/mint-components/p-bdd80fce.js +1 -0
  320. package/dist/mint-components/p-bf25f63a.js +394 -0
  321. package/dist/mint-components/{p-9cb06082.system.entry.js → p-c024fc32.system.entry.js} +1 -1
  322. package/dist/mint-components/{p-91959fbe.js → p-c96a25c6.js} +1 -1
  323. package/dist/mint-components/p-ca9e0322.system.js +1 -0
  324. package/dist/mint-components/{p-1a6b7d2a.entry.js → p-cd0ee247.entry.js} +1 -1
  325. package/dist/mint-components/{p-9d3d4098.system.js → p-cfa34cf2.system.js} +1 -1
  326. package/dist/mint-components/p-d0064d54.system.entry.js +1 -0
  327. package/dist/mint-components/{p-9386ad84.system.entry.js → p-d12e9cfd.system.entry.js} +1 -1
  328. package/dist/mint-components/{p-35b475bf.js → p-d1ae7a2d.js} +1 -1
  329. package/dist/mint-components/{p-5c28406d.system.entry.js → p-d5b3397c.system.entry.js} +1 -1
  330. package/dist/mint-components/p-d5e9906e.system.js +1 -0
  331. package/dist/mint-components/p-d6352d15.js +1 -0
  332. package/dist/mint-components/p-d932f43d.entry.js +1 -0
  333. package/dist/mint-components/p-d9335f16.js +1 -0
  334. package/dist/mint-components/p-d94a4d50.system.entry.js +1 -0
  335. package/dist/mint-components/{p-15d77d0b.entry.js → p-dded7d43.entry.js} +1 -1
  336. package/dist/mint-components/p-de136dd3.js +1 -0
  337. package/dist/mint-components/p-e1e62d55.entry.js +1 -0
  338. package/dist/mint-components/{p-4794641c.system.js → p-e2705fbe.system.js} +1 -1
  339. package/dist/mint-components/p-e309a219.js +1 -0
  340. package/dist/mint-components/{p-f940190a.js → p-e518a60d.js} +1 -1
  341. package/dist/mint-components/{p-f2d8d3d3.system.entry.js → p-e80f9e26.system.entry.js} +1 -1
  342. package/dist/mint-components/{p-775f3ded.entry.js → p-f0fdbd82.entry.js} +1 -1
  343. package/dist/mint-components/p-fb584d7a.js +1 -0
  344. package/dist/mint-components/p-fbef4ecb.system.js +1 -0
  345. package/dist/mint-components/p-fe6fe9cf.entry.js +13 -0
  346. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
  347. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
  348. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +41 -0
  349. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +2 -0
  350. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
  351. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +42 -0
  352. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
  353. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
  354. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +13 -0
  355. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
  356. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +19 -0
  357. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
  358. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -0
  359. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +48 -7
  360. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
  361. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
  362. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
  363. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
  364. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
  365. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
  366. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -0
  367. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
  368. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +7 -0
  369. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
  370. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
  371. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
  372. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
  373. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +3 -0
  374. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +20 -2
  375. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
  376. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +20 -0
  377. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
  378. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +42 -0
  379. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
  380. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
  381. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +6 -0
  382. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  383. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
  384. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +15 -3
  385. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +42 -0
  386. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
  387. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +43 -1
  388. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
  389. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
  390. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
  391. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
  392. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
  393. package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
  394. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +5 -0
  395. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +32 -0
  396. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +9 -0
  397. package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
  398. package/dist/types/components/sqm-text/sqm-text.d.ts +12 -0
  399. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
  400. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
  401. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
  402. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
  403. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
  404. package/dist/types/components/views/copy-text-view.d.ts +5 -0
  405. package/dist/types/components.d.ts +1112 -15
  406. package/dist/types/global/mixins.d.ts +12 -12
  407. package/dist/types/global/styles.d.ts +1 -1
  408. package/docs/docs.docx +0 -0
  409. package/docs/raisins.json +1 -1
  410. package/grapesjs/grapesjs.js +1 -1
  411. package/package.json +1 -1
  412. package/dist/cjs/sqm-text-span-view-0aa82125.js +0 -62
  413. package/dist/esm/sqm-text-span-view-ca32495e.js +0 -60
  414. package/dist/esm-es5/GenericTableView-7b9087af.js +0 -1
  415. package/dist/esm-es5/ShadowViewAddon-e350d540.js +0 -1
  416. package/dist/esm-es5/copy-text-view-782137ba.js +0 -1
  417. package/dist/esm-es5/mixins-83f90fa1.js +0 -1
  418. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
  419. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
  420. package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
  421. package/dist/esm-es5/sqm-portal-forgot-password-view-3d3182f1.js +0 -1
  422. package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +0 -1
  423. package/dist/esm-es5/sqm-text-span-view-ca32495e.js +0 -1
  424. package/dist/mint-components/p-091e7ca2.system.entry.js +0 -1
  425. package/dist/mint-components/p-0ebab63e.system.js +0 -1
  426. package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
  427. package/dist/mint-components/p-14a65f29.system.js +0 -1
  428. package/dist/mint-components/p-23379b5b.entry.js +0 -144
  429. package/dist/mint-components/p-24db5c70.js +0 -1
  430. package/dist/mint-components/p-2bcd406c.system.js +0 -1
  431. package/dist/mint-components/p-2da21ba4.entry.js +0 -1
  432. package/dist/mint-components/p-31015791.js +0 -1
  433. package/dist/mint-components/p-342bc70c.system.entry.js +0 -1
  434. package/dist/mint-components/p-38e5c429.system.js +0 -1
  435. package/dist/mint-components/p-3a31cc83.entry.js +0 -13
  436. package/dist/mint-components/p-3b90e01b.system.js +0 -1
  437. package/dist/mint-components/p-3ba1ab43.system.js +0 -1
  438. package/dist/mint-components/p-3db34d68.js +0 -1
  439. package/dist/mint-components/p-3f6e0197.system.entry.js +0 -1
  440. package/dist/mint-components/p-420554af.system.entry.js +0 -1
  441. package/dist/mint-components/p-441b60ac.system.entry.js +0 -1
  442. package/dist/mint-components/p-492b70db.system.js +0 -1
  443. package/dist/mint-components/p-4e5af50c.js +0 -1
  444. package/dist/mint-components/p-5bdafc7e.system.entry.js +0 -1
  445. package/dist/mint-components/p-626e9e84.js +0 -1
  446. package/dist/mint-components/p-635d5ef2.system.js +0 -1
  447. package/dist/mint-components/p-6a97b51d.entry.js +0 -13
  448. package/dist/mint-components/p-716d0275.entry.js +0 -1
  449. package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
  450. package/dist/mint-components/p-837a0fdd.js +0 -1
  451. package/dist/mint-components/p-85671c3d.system.entry.js +0 -1
  452. package/dist/mint-components/p-904ebcf6.system.entry.js +0 -1
  453. package/dist/mint-components/p-91521e9d.js +0 -1
  454. package/dist/mint-components/p-9db71c84.entry.js +0 -1
  455. package/dist/mint-components/p-aad32fb6.system.js +0 -1
  456. package/dist/mint-components/p-b207beeb.entry.js +0 -1
  457. package/dist/mint-components/p-babcdb1f.system.entry.js +0 -1
  458. package/dist/mint-components/p-c060f770.system.entry.js +0 -1
  459. package/dist/mint-components/p-c3bfb9c3.entry.js +0 -258
  460. package/dist/mint-components/p-c9f1dde7.js +0 -1
  461. package/dist/mint-components/p-cd1d497f.system.js +0 -1
  462. package/dist/mint-components/p-dbcb5359.js +0 -1
  463. package/dist/mint-components/p-dcc81e90.entry.js +0 -1
  464. package/dist/mint-components/p-e07bc6c4.system.js +0 -1
  465. package/dist/mint-components/p-e41aac34.js +0 -1
  466. package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
  467. package/dist/mint-components/p-f1e72435.entry.js +0 -33
  468. package/dist/mint-components/p-f3e2098c.js +0 -394
  469. package/dist/mint-components/p-f56bedd5.js +0 -1
  470. package/dist/mint-components/p-f71ae358.system.entry.js +0 -1
  471. package/dist/mint-components/p-f7c99803.system.js +0 -1
  472. package/dist/mint-components/p-f87ae19e.entry.js +0 -205
@@ -2,17 +2,17 @@
2
2
 
3
3
  const index = require('./index-a29c60ef.js');
4
4
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
5
- const global = require('./global-0cf6d295.js');
5
+ const global = require('./global-a38a094f.js');
6
6
  const index_module = require('./index.module-ee84433d.js');
7
7
  const cjs = require('./cjs-1066ec21.js');
8
8
  const utils = require('./utils-6847bc06.js');
9
9
  const JSS = require('./JSS-8503a151.js');
10
10
  const useReferralCodes = require('./useReferralCodes-82e8797b.js');
11
- const mixins = require('./mixins-f7e0377a.js');
12
- const copyTextView = require('./copy-text-view-c85acaaa.js');
11
+ const mixins = require('./mixins-4761d472.js');
12
+ const copyTextView = require('./copy-text-view-ee147291.js');
13
13
  const useChildElements = require('./useChildElements-1b35d945.js');
14
14
  const luxon = require('./luxon-2926d85f.js');
15
- const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
15
+ const sqmTextSpanView = require('./sqm-text-span-view-ce4c0178.js');
16
16
  const index$1 = require('./index-8c6255f5.js');
17
17
  const utilities = require('./utilities-78f5e169.js');
18
18
  const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
@@ -40,15 +40,30 @@ const style = {
40
40
  };
41
41
  const sheet = JSS.createStyleSheet(style);
42
42
  const styleString = sheet.toString();
43
+ // TODO: Figure out hover and active states
44
+ // *::part(base):hover {
45
+ // border-color: ${
46
+ // props.backgroundcolor
47
+ // ? props.backgroundcolor
48
+ // : props.medium
49
+ // ? medium[props.medium].color
50
+ // : ""
51
+ // }!important;
52
+ // }
53
+ // *::part(base):focus {
54
+ // border-color: ${
55
+ // props.backgroundcolor
56
+ // ? props.backgroundcolor
57
+ // : props.medium
58
+ // ? medium[props.medium].color
59
+ // : ""
60
+ // }!important;
61
+ // }
43
62
  function ShareButtonView(props, children) {
44
63
  const vanillaStyle = `
45
- *::part(base) {
46
- border: none;
47
- --sl-focus-ring-color-primary: ${props.backgroundcolor
48
- ? props.backgroundcolor
49
- : props.medium
50
- ? medium[props.medium].color
51
- : ""}80!important;
64
+ sl-button::part(base) {
65
+ border: ${props.border || "none"};
66
+
52
67
 
53
68
  background: ${props.backgroundcolor
54
69
  ? props.backgroundcolor
@@ -63,21 +78,7 @@ function ShareButtonView(props, children) {
63
78
  border-radius: ${props.borderradius ? props.borderradius + "px" : ""};
64
79
  }
65
80
 
66
- *::part(base):hover {
67
- border-color: ${props.backgroundcolor
68
- ? props.backgroundcolor
69
- : props.medium
70
- ? medium[props.medium].color
71
- : ""}D1!important;
72
- }
73
81
 
74
- *::part(base):focus {
75
- border-color: ${props.backgroundcolor
76
- ? props.backgroundcolor
77
- : props.medium
78
- ? medium[props.medium].color
79
- : ""}D1!important;
80
- }
81
82
 
82
83
  *::part(label) {
83
84
  position: relative;
@@ -87,77 +88,83 @@ function ShareButtonView(props, children) {
87
88
  return props.hide ? (index.h(index.Host, { style: { display: "none" } })) : (index.h("div", null,
88
89
  index.h("style", { type: "text/css" }, styleString),
89
90
  index.h("style", { type: "text/css" }, vanillaStyle),
90
- index.h("sl-button", { class: sheet.classes.buttonStyle, target: props.openInSameTab ? "_self" : "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: !props.isPlainLink ? props.onClick : undefined, href: props.isPlainLink ? props.messageLink : undefined, exportparts: `base: ${props.type}sharebutton-base` },
91
+ index.h("sl-button", { class: sheet.classes.buttonStyle, target: props.openInSameTab ? "_self" : "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: !props.isPlainLink ? props.onClick : undefined, href: props.isPlainLink ? props.messageLink : undefined, exportparts: `base: ${props.type}button-base` },
91
92
  !props.hideicon && (index.h("sl-icon", { slot: props.iconslot || "prefix", name: props.icon ? props.icon : medium[props.medium].icon, exportparts: "base: icon" })),
92
93
  !props.hidetext && children)));
93
94
  }
94
95
 
95
- const style$1 = {
96
- Leaderboard: {
97
- "& table": {
98
- width: "100%",
99
- borderCollapse: "collapse",
100
- },
101
- "& th": {
102
- textAlign: "left",
103
- padding: "var(--sl-spacing-medium)",
104
- paddingTop: "0",
105
- fontSize: "var(--sl-font-size-medium)",
106
- fontWeight: "var(--sl-font-weight-semibold)",
107
- },
108
- "& tr:not(:first-child)": {
109
- borderTop: "1px solid var(--sl-color-neutral-200)",
110
- },
111
- "& td": {
112
- fontSize: "var(--sl-font-size-medium)",
113
- fontWeight: "var(--sl-font-weight-normal)",
114
- },
115
- "& .ellipses": {
116
- textAlign: "left",
117
- padding: "0",
118
- color: "var(--sqm-text)",
119
- paddingLeft: "25%",
120
- },
121
- "& .highlight": {
122
- background: "var(--sl-color-primary-50)",
123
- },
124
- "& td, th": {
125
- color: "var(--sqm-text)",
126
- padding: "var(--sl-spacing-medium)",
127
- },
128
- "& .User": {
129
- width: "100%",
130
- },
131
- "& .Score": {
132
- width: "auto",
133
- whiteSpace: "nowrap",
134
- },
135
- "& .Rank": {
136
- whiteSpace: "nowrap",
137
- },
138
- "& .fullWidth": {
139
- width: "100%",
96
+ function LeaderboardView(props) {
97
+ var _a, _b, _c;
98
+ const { states, data, elements } = props;
99
+ const { styles } = states;
100
+ const style = {
101
+ Leaderboard: {
102
+ "& table": {
103
+ width: "100%",
104
+ borderCollapse: "collapse",
105
+ background: styles.background || "transparent",
106
+ borderRadius: styles.borderRadius ? `${styles.borderRadius}px` : "0",
107
+ },
108
+ "& th": {
109
+ textAlign: "left",
110
+ padding: "var(--sl-spacing-medium)",
111
+ paddingTop: "0",
112
+ fontSize: "var(--sl-font-size-medium)",
113
+ fontWeight: "var(--sl-font-weight-semibold)",
114
+ },
115
+ "& tr:not(:first-child)": {
116
+ borderTop: `1px solid ${styles.borderColor || "var(--sl-color-neutral-200)"}`,
117
+ },
118
+ "& td": {
119
+ fontSize: "var(--sl-font-size-medium)",
120
+ fontWeight: "var(--sl-font-weight-normal)",
121
+ },
122
+ "& .ellipses": {
123
+ textAlign: "left",
124
+ padding: "0",
125
+ color: styles.textColor || "var(--sqm-text)",
126
+ paddingLeft: "25%",
127
+ },
128
+ "& .highlight": {
129
+ background: styles.viewingUserHighlightColor ||
130
+ "var(--sqm-accent-color-background)",
131
+ "& td, th": {
132
+ color: styles.viewingUserHighlightTextColor || "var(--sqm-text)",
133
+ },
134
+ },
135
+ "& td, th": {
136
+ color: styles.textColor || "var(--sqm-text)",
137
+ padding: "var(--sl-spacing-medium)",
138
+ },
139
+ "& .User": {
140
+ width: "100%",
141
+ },
142
+ "& .Score": {
143
+ width: "auto",
144
+ whiteSpace: "nowrap",
145
+ },
146
+ "& .Rank": {
147
+ whiteSpace: "nowrap",
148
+ },
149
+ "& .fullWidth": {
150
+ width: "100%",
151
+ },
140
152
  },
141
- },
142
- };
143
- const sheet$1 = JSS.createStyleSheet(style$1);
144
- const styleString$1 = sheet$1.toString();
145
- const vanillaStyle = `
153
+ };
154
+ const sheet = JSS.createStyleSheet(style);
155
+ const styleString = sheet.toString();
156
+ const vanillaStyle = `
146
157
  :host{
147
158
  display: block;
148
159
  }
149
160
  `;
150
- function LeaderboardView(props) {
151
- var _a, _b, _c;
152
- const { states, data, elements } = props;
153
- const { styles } = states;
154
161
  if (states.isEssentials) {
155
162
  return (index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1715360191/squatch-assets/Leaderboard_Not_Available.svg", "empty-state-header": "Leaderboards aren\u2019t available on your plan", "empty-state-text": "Contact {supportText} to upgrade your plan and start leveraging gamification in your program.", "support-text": "Support" }));
156
163
  }
157
164
  if (states.loading) {
158
- return (index.h("div", { class: sheet$1.classes.Leaderboard, style: { width: styles.width || "100%" } },
165
+ return (index.h("div", { class: sheet.classes.Leaderboard, style: { width: styles.width || "100%" } },
159
166
  index.h("style", { type: "text/css" },
160
- styleString$1,
167
+ styleString,
161
168
  vanillaStyle),
162
169
  index.h("table", null, [...Array(10)].map(() => {
163
170
  return (index.h("tr", null,
@@ -192,9 +199,9 @@ function LeaderboardView(props) {
192
199
  }) + `${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`
193
200
  : `${userRank} ${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`;
194
201
  };
195
- return (index.h("div", { class: sheet$1.classes.Leaderboard, part: "sqm-base", style: { width: styles.width || "100%" } },
202
+ return (index.h("div", { class: sheet.classes.Leaderboard, part: "sqm-base", style: { width: styles.width || "100%" } },
196
203
  index.h("style", { type: "text/css" },
197
- styleString$1,
204
+ styleString,
198
205
  vanillaStyle),
199
206
  index.h("table", { part: "sqm-table" },
200
207
  index.h("tr", null,
@@ -221,13 +228,13 @@ function LeaderboardView(props) {
221
228
  }
222
229
 
223
230
  function BigStatView(props) {
224
- const { statvalue, flexReverse, alignment } = props;
225
- // Dependent on props, not feasiable to move out
231
+ const { statvalue, flexReverse, alignment, statTextColor, statFontSize, descriptionTextColor, descriptionFontSize, statFontWeight, } = props;
232
+ // Dependent on props, not feasible to move out
226
233
  const style = {
227
234
  Container: {
228
235
  display: "flex",
229
- height: "inherit",
230
- "justify-content": "space-between",
236
+ // height: "inherit",
237
+ // "justify-content": "space-between",
231
238
  "flex-direction": `${flexReverse ? "column-reverse" : "column"}`,
232
239
  "align-items": `${alignment === "left"
233
240
  ? "flex-start"
@@ -236,14 +243,22 @@ function BigStatView(props) {
236
243
  : "center"}`,
237
244
  },
238
245
  Stat: {
239
- "font-size": "var(--sl-font-size-x-large)",
246
+ "font-size": statFontSize
247
+ ? `${statFontSize}px`
248
+ : "var(--sl-font-size-xx-large)",
240
249
  "text-align": alignment,
250
+ color: statTextColor || "var(--sqm-text)",
251
+ lineHeight: "35px",
252
+ fontWeight: statFontWeight || "var(--sl-font-weight-normal)",
241
253
  },
242
254
  Description: {
243
- "font-size": "var(--sl-font-size-small)",
255
+ "font-size": descriptionFontSize
256
+ ? `${descriptionFontSize}px`
257
+ : "var(--sl-font-size-small)",
244
258
  "font-weight": "var(--sl-font-weight-normal)",
245
- color: "var(--sqm-text-subdued)",
259
+ color: descriptionTextColor || "var(--sqm-text)",
246
260
  "text-align": alignment,
261
+ lineHeight: "20px",
247
262
  },
248
263
  };
249
264
  const sheet = JSS.createStyleSheet(style);
@@ -254,51 +269,56 @@ function BigStatView(props) {
254
269
  index.h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
255
270
  }
256
271
 
257
- const style$2 = {
258
- HostBlock: mixins.HostBlock,
259
- Frame: {
260
- display: "flex",
261
- "flex-direction": "column",
262
- "box-sizing": "border-box",
263
- },
264
- FooterWrapper: {
265
- width: "100%",
266
- "max-width": "100%",
267
- padding: "var(--sl-spacing-medium) var(--sl-spacing-x-large)",
268
- background: "var(--sqm-footer-background)",
269
- display: "flex",
270
- "justify-content": "flex-end",
271
- "align-items": "center",
272
- "box-sizing": "border-box",
273
- "margin-top": "auto",
274
- },
275
- HeaderWrapper: {
276
- width: "100%",
277
- "max-width": "100%",
278
- "box-sizing": "border-box",
279
- display: "flex",
280
- "justify-content": "space-between",
281
- padding: "var(--sl-spacing-small) var(--sl-spacing-large)",
282
- "align-items": "center",
283
- "background-color": "var(--sqm-header-background)",
284
- "@media screen and (max-width: 499px)": {
285
- "flex-direction": "row-reverse",
272
+ function PortalFrameView(props, children) {
273
+ const { data, notFullScreen, border } = props;
274
+ const style = {
275
+ HostBlock: mixins.HostBlock,
276
+ Frame: {
277
+ display: "flex",
278
+ "flex-direction": "column",
279
+ "box-sizing": "border-box",
280
+ "&:nth-child(2)": {
281
+ background: props.backgroundColor,
282
+ },
283
+ },
284
+ FooterWrapper: {
285
+ width: "100%",
286
+ "max-width": "100%",
287
+ padding: "var(--sl-spacing-medium) var(--sl-spacing-x-large)",
288
+ background: props.headerAndFooterBackgroundColor,
289
+ display: "flex",
286
290
  "justify-content": "flex-end",
287
- padding: "0",
291
+ "align-items": "center",
292
+ "box-sizing": "border-box",
293
+ borderTop: border,
294
+ "margin-top": "auto",
288
295
  },
289
- },
290
- };
291
- const sheet$2 = JSS.createStyleSheet(style$2);
292
- const styleString$2 = sheet$2.toString();
293
- function PortalFrameView(props, children) {
294
- const { data, notFullScreen } = props;
295
- return (index.h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$2.classes.Frame, part: "sqm-base" },
296
- index.h("style", { type: "text/css" }, styleString$2),
297
- index.h("div", { class: sheet$2.classes.HeaderWrapper, part: "sqm-header" },
296
+ HeaderWrapper: {
297
+ width: "100%",
298
+ "max-width": "100%",
299
+ "box-sizing": "border-box",
300
+ display: "flex",
301
+ "justify-content": "space-between",
302
+ padding: "var(--sl-spacing-small) var(--sl-spacing-large)",
303
+ "align-items": "center",
304
+ borderBottom: border,
305
+ background: props.headerAndFooterBackgroundColor,
306
+ "@media screen and (max-width: 499px)": {
307
+ "flex-direction": "row-reverse",
308
+ "justify-content": "flex-end",
309
+ padding: "0",
310
+ },
311
+ },
312
+ };
313
+ const sheet = JSS.createStyleSheet(style);
314
+ const styleString = sheet.toString();
315
+ return (index.h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet.classes.Frame, part: "sqm-base" },
316
+ index.h("style", { type: "text/css" }, styleString),
317
+ index.h("div", { class: sheet.classes.HeaderWrapper, part: "sqm-header" },
298
318
  data.header,
299
319
  index.h("slot", { name: "sqm-navigation-menu" })),
300
320
  children,
301
- index.h("div", { class: sheet$2.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
321
+ index.h("div", { class: sheet.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
302
322
  }
303
323
 
304
324
  const EditProfileView = (props) => {
@@ -334,7 +354,7 @@ const EditProfileView = (props) => {
334
354
  }, submit: true, exportparts: "base: primarybutton-base" }, text.updatetext),
335
355
  index.h("sl-button", { onClick: () => {
336
356
  callbacks.setShowEdit(false);
337
- }, exportparts: "base: defaultbutton-base" }, text.canceltext)))));
357
+ }, exportparts: "base: secondarybutton-base" }, text.canceltext)))));
338
358
  }
339
359
  return (index.h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-base" },
340
360
  index.h("div", { class: "FormSection" },
@@ -1401,6 +1421,11 @@ function useBigStat(props) {
1401
1421
  flexReverse,
1402
1422
  alignment,
1403
1423
  loading: false,
1424
+ statTextColor: props.statTextColor,
1425
+ statFontSize: props.statFontSize,
1426
+ descriptionTextColor: props.descriptionTextColor,
1427
+ descriptionFontSize: props.descriptionFontSize,
1428
+ statFontWeight: props.statFontWeight,
1404
1429
  },
1405
1430
  label: "BAD PROP TYPE",
1406
1431
  };
@@ -1430,6 +1455,11 @@ function useBigStat(props) {
1430
1455
  loading: stat === null || stat === void 0 ? void 0 : stat.loading,
1431
1456
  flexReverse,
1432
1457
  alignment,
1458
+ statTextColor: props.statTextColor,
1459
+ statFontSize: props.statFontSize,
1460
+ descriptionTextColor: props.descriptionTextColor,
1461
+ descriptionFontSize: props.descriptionFontSize,
1462
+ statFontWeight: props.statFontWeight,
1433
1463
  },
1434
1464
  label,
1435
1465
  };
@@ -1446,8 +1476,12 @@ function useDemoBigStat(props) {
1446
1476
  value: 0,
1447
1477
  statvalue: "!!!",
1448
1478
  loading: false,
1449
- flexReverse: false,
1450
- alignment: "center",
1479
+ flexReverse: props.flexReverse,
1480
+ alignment: props.alignment,
1481
+ statTextColor: props.statTextColor,
1482
+ statFontSize: props.statFontSize,
1483
+ descriptionTextColor: props.descriptionTextColor,
1484
+ descriptionFontSize: props.descriptionFontSize,
1451
1485
  },
1452
1486
  label: "BAD PROP TYPE",
1453
1487
  };
@@ -1459,8 +1493,13 @@ function useDemoBigStat(props) {
1459
1493
  props: cjs.cjs({
1460
1494
  statvalue: "12345",
1461
1495
  value: 0,
1462
- flexReverse: false,
1463
- alignment: "center",
1496
+ flexReverse: props.flexReverse,
1497
+ alignment: props.alignment,
1498
+ statTextColor: props.statTextColor,
1499
+ statFontSize: props.statFontSize,
1500
+ descriptionTextColor: props.descriptionTextColor,
1501
+ descriptionFontSize: props.descriptionFontSize,
1502
+ statFontWeight: props.statFontWeight,
1464
1503
  }, props.demoData || {}, { arrayMerge: (_, a) => a }),
1465
1504
  label: label !== null && label !== void 0 ? label : "Demo Label",
1466
1505
  };
@@ -1471,25 +1510,37 @@ function StatContainerView(props, children) {
1471
1510
  const spaceValue = getComputedStyle(document.documentElement).getPropertyValue(`--sl-spacing-${props.space}`);
1472
1511
  return `${Math.floor(parseInt(spaceValue) / 2)}rem`;
1473
1512
  };
1474
- // Dependent on props, not feasiable to move out
1513
+ // take alignment variable and convert it to CSS flexbox alignment
1514
+ const alignment = props.alignment === "center"
1515
+ ? "center"
1516
+ : props.alignment === "right"
1517
+ ? "flex-end"
1518
+ : "flex-start";
1519
+ // Dependent on props, not feasible to move out
1475
1520
  const style = {
1476
1521
  StatContainer: {
1477
1522
  width: "100%",
1478
- display: props.display || "grid",
1479
- "grid-template-columns": "repeat(auto-fill, minmax(130px, auto))",
1480
- gap: divideSpace(),
1481
- // First set of styles applies when shadow DOM is disabled, second set applies when shadow DOM is enabled
1523
+ display: "flex",
1524
+ flexWrap: "wrap",
1525
+ alignItems: "center",
1526
+ justifyContent: alignment,
1527
+ flexDirection: "row",
1528
+ gap: `var(--sl-spacing-${props.gap})`,
1529
+ // Apply border styles conditionally based on the hideBorder prop
1482
1530
  "& > *": {
1483
- "border-right": "1px solid #EAEAEA",
1531
+ "border-right": props.hideBorder
1532
+ ? "none"
1533
+ : "1px solid var(--sqm-text-subdued)",
1484
1534
  "padding-right": divideSpace(),
1485
1535
  },
1486
1536
  "& > :last-child": {
1487
1537
  "border-right": "none",
1488
1538
  },
1489
1539
  "& > ::slotted(*)": {
1490
- "border-right": "1px solid #EAEAEA",
1540
+ "border-right": props.hideBorder
1541
+ ? "none"
1542
+ : "1px solid var(--sqm-text-subdued)",
1491
1543
  "padding-right": divideSpace(),
1492
- height: "100%",
1493
1544
  },
1494
1545
  "& > ::slotted(*:last-child)": {
1495
1546
  "border-right": "none",
@@ -1523,6 +1574,10 @@ function PortalChangePasswordView(props) {
1523
1574
  const style = {
1524
1575
  Dialog: {
1525
1576
  padding: "0",
1577
+ "&::part(panel)": {
1578
+ background: "var(--sqm-portal-background)",
1579
+ borderRadius: "var(--sqm-border-radius-normal, var(--sl-border-radius-medium))",
1580
+ },
1526
1581
  "&::part(close-button)": {
1527
1582
  "margin-top": "var(--sl-spacing-medium)",
1528
1583
  },
@@ -1546,8 +1601,8 @@ function PortalChangePasswordView(props) {
1546
1601
  },
1547
1602
  },
1548
1603
  CancelButton: {
1549
- width: "25%",
1550
1604
  margin: "var(--sl-spacing-large) auto",
1605
+ width: "100%",
1551
1606
  },
1552
1607
  PasswordField: {
1553
1608
  marginBottom: "var(--sl-spacing-large) !important",
@@ -1576,19 +1631,19 @@ function PortalChangePasswordView(props) {
1576
1631
  index.h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText }),
1577
1632
  index.h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
1578
1633
  index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
1579
- index.h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
1580
- index.h("sl-button", { class: sheet.classes.CancelButton, type: "text", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
1634
+ index.h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
1635
+ index.h("sl-button", { class: sheet.classes.CancelButton, type: "text", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
1581
1636
  }))),
1582
1637
  index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
1583
1638
  labelMargin: "x-large",
1584
1639
  padding: "xxx-large",
1585
1640
  label: (index.h(sqmTextSpanView.TextSpanView, Object.assign({}, { type: "h2" }), states.content.portalChangePasswordHeader)),
1586
- content: (index.h("sl-button", { onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
1641
+ content: (index.h("sl-button", { exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
1587
1642
  }),
1588
1643
  index.h("style", { type: "text/css" }, styleString))));
1589
1644
  }
1590
1645
 
1591
- const style$3 = {
1646
+ const style$1 = {
1592
1647
  Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
1593
1648
  Column: mixins.AuthColumn,
1594
1649
  HostBlock: mixins.HostBlock,
@@ -1599,7 +1654,7 @@ const style$3 = {
1599
1654
  ButtonsContainer: mixins.AuthButtonsContainer,
1600
1655
  ErrorStyle: mixins.ErrorStyles,
1601
1656
  };
1602
- const vanillaStyle$1 = `
1657
+ const vanillaStyle = `
1603
1658
  sqm-portal-register {
1604
1659
  margin: 0 auto;
1605
1660
  width: 100%;
@@ -1614,20 +1669,20 @@ sqm-portal-register {
1614
1669
  display: none;
1615
1670
  }
1616
1671
  `;
1617
- const sheet$3 = JSS.createStyleSheet(style$3);
1618
- const styleString$3 = sheet$3.toString();
1672
+ const sheet$1 = JSS.createStyleSheet(style$1);
1673
+ const styleString$1 = sheet$1.toString();
1619
1674
  function PortalRegisterView(props) {
1620
1675
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
1621
1676
  const { states, refs, callbacks, content } = props;
1622
1677
  if (states.error) {
1623
1678
  window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
1624
1679
  }
1625
- return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
1680
+ return (index.h("div", { class: sheet$1.classes.Wrapper, part: "sqm-base" },
1626
1681
  index.h("style", { type: "text/css" },
1627
- vanillaStyle$1,
1628
- styleString$3),
1682
+ vanillaStyle,
1683
+ styleString$1),
1629
1684
  index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
1630
- index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1685
+ index.h("sl-form", { class: sheet$1.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1631
1686
  states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
1632
1687
  index.h("div", { part: "erroralert-text" }, props.states.error))),
1633
1688
  content.formData,
@@ -1640,7 +1695,7 @@ function PortalRegisterView(props) {
1640
1695
  return content.invalidEmailErrorMessage;
1641
1696
  }
1642
1697
  } }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
1643
- class: sheet$3.classes.ErrorStyle,
1698
+ class: sheet$1.classes.ErrorStyle,
1644
1699
  helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
1645
1700
  content.requiredFieldErrorMessage,
1646
1701
  }
@@ -1651,17 +1706,17 @@ function PortalRegisterView(props) {
1651
1706
  value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
1652
1707
  }
1653
1708
  : {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
1654
- class: sheet$3.classes.ErrorStyle,
1709
+ class: sheet$1.classes.ErrorStyle,
1655
1710
  helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
1656
1711
  }
1657
1712
  : [])))),
1658
1713
  content.terms,
1659
- index.h("div", { class: sheet$3.classes.ButtonsContainer },
1714
+ index.h("div", { class: sheet$1.classes.ButtonsContainer },
1660
1715
  index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
1661
1716
  content.secondaryButton))));
1662
1717
  }
1663
1718
 
1664
- const style$4 = {
1719
+ const style$2 = {
1665
1720
  ErrorStyle: {
1666
1721
  "&::part(control)": {
1667
1722
  background: "var(--sl-color-danger-10)",
@@ -1684,7 +1739,7 @@ const style$4 = {
1684
1739
  "margin-bottom": "var(--sl-spacing-large)",
1685
1740
  },
1686
1741
  };
1687
- const vanillaStyle$2 = `
1742
+ const vanillaStyle$1 = `
1688
1743
  :host {
1689
1744
  margin: 0 auto;
1690
1745
  width: 100%;
@@ -1700,15 +1755,15 @@ sl-checkbox::part(base){
1700
1755
  }
1701
1756
  `;
1702
1757
  JSS.jss.setup(JSS.create());
1703
- const sheet$4 = JSS.jss.createStyleSheet(style$4);
1704
- const styleString$4 = sheet$4.toString();
1758
+ const sheet$2 = JSS.jss.createStyleSheet(style$2);
1759
+ const styleString$2 = sheet$2.toString();
1705
1760
  function CheckboxFieldView(props) {
1706
1761
  var _b, _c;
1707
1762
  const { states, content, callbacks } = props;
1708
- return (index.h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
1763
+ return (index.h("div", { class: sheet$2.classes.FieldContainer, part: "sqm-base" },
1709
1764
  index.h("style", { type: "text/css" },
1710
- vanillaStyle$2,
1711
- styleString$4),
1765
+ vanillaStyle$1,
1766
+ styleString$2),
1712
1767
  index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
1713
1768
  e.target.value = e.target.checked;
1714
1769
  callbacks.setChecked(e.target.value);
@@ -1764,8 +1819,14 @@ function ChangeMarktingView(props) {
1764
1819
  index.h("div", { part: "successalert-text" }, states.text.successMessage))))));
1765
1820
  }
1766
1821
 
1767
- const style$5 = {
1822
+ const style$3 = {
1768
1823
  Description: {
1824
+ "& .icon": {
1825
+ color: "var(--sqm-text)",
1826
+ "&:hover": {
1827
+ color: "var(--sqm-accent-color-icon)",
1828
+ },
1829
+ },
1769
1830
  "& input[type=checkbox]": {
1770
1831
  display: "none",
1771
1832
  },
@@ -1776,7 +1837,7 @@ const style$5 = {
1776
1837
  position: "absolute",
1777
1838
  top: "var(--sl-spacing-medium)",
1778
1839
  right: "var(--sl-spacing-medium)",
1779
- color: "var(--sl-color-neutral-700)",
1840
+ color: "var(--sqm-text)",
1780
1841
  fontSize: "var(--sl-font-size-large)",
1781
1842
  "& :hover": {
1782
1843
  color: "var(--sl-color-primary-700)",
@@ -1803,16 +1864,16 @@ const style$5 = {
1803
1864
  },
1804
1865
  },
1805
1866
  };
1806
- const sheet$5 = JSS.createStyleSheet(style$5);
1807
- const styleString$5 = sheet$5.toString();
1867
+ const sheet$3 = JSS.createStyleSheet(style$3);
1868
+ const styleString$3 = sheet$3.toString();
1808
1869
  function Details(props) {
1809
1870
  const rid = Math.random().toString(36).slice(2);
1810
1871
  return (index.h("div", { style: { opacity: props.opacity } },
1811
- index.h("style", { type: "text/css" }, styleString$5),
1812
- index.h("span", { class: sheet$5.classes.Description },
1872
+ index.h("style", { type: "text/css" }, styleString$3),
1873
+ index.h("span", { class: sheet$3.classes.Description },
1813
1874
  index.h("input", { type: "checkbox", id: "details-" + rid }),
1814
1875
  index.h("label", { class: "details", htmlFor: "details-" + rid },
1815
- index.h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
1876
+ index.h("sl-icon", { class: "icon", exportparts: "base: chevron-icon", name: "chevron-down" })),
1816
1877
  index.h("span", { class: "summary", "progress-bar": props.progressBar }, props.content.description))));
1817
1878
  }
1818
1879
 
@@ -1831,7 +1892,7 @@ const GreyGift = () => {
1831
1892
  index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
1832
1893
  };
1833
1894
 
1834
- const style$6 = {
1895
+ const style$4 = {
1835
1896
  ProgressBar: {
1836
1897
  "& .progress-bar": {
1837
1898
  height: "0",
@@ -1878,7 +1939,8 @@ const style$6 = {
1878
1939
  width: "100%",
1879
1940
  height: "4px",
1880
1941
  borderRadius: "4px",
1881
- backgroundColor: "var(--sl-color-primary-300)",
1942
+ backgroundColor: "var(--sqm-accent-color-icon)",
1943
+ background: "red",
1882
1944
  },
1883
1945
  "& .progress": {
1884
1946
  display: "block",
@@ -1891,7 +1953,7 @@ const style$6 = {
1891
1953
  width: "12px",
1892
1954
  height: "12px",
1893
1955
  display: "flex",
1894
- backgroundColor: "var(--sl-color-primary-300)",
1956
+ backgroundColor: "var(--sqm-accent-color-icon)",
1895
1957
  borderRadius: "50%",
1896
1958
  position: "relative",
1897
1959
  left: "47%",
@@ -1943,14 +2005,14 @@ const style$6 = {
1943
2005
  },
1944
2006
  },
1945
2007
  };
1946
- const sheet$6 = JSS.createStyleSheet(style$6, { classNamePrefix: "sqm-prog-bar" });
1947
- const styleString$6 = sheet$6.toString();
2008
+ const sheet$4 = JSS.createStyleSheet(style$4, { classNamePrefix: "sqm-prog-bar" });
2009
+ const styleString$4 = sheet$4.toString();
1948
2010
  function ProgressBarView(props) {
1949
2011
  const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
1950
2012
  let aggregate = buildProgressBar(repeatable, steps, props);
1951
2013
  const { columns, items } = aggregate;
1952
- return (index.h("div", { class: sheet$6.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1953
- index.h("style", { type: "text/css" }, styleString$6),
2014
+ return (index.h("div", { class: sheet$4.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
2015
+ index.h("style", { type: "text/css" }, styleString$4),
1954
2016
  index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
1955
2017
  (Boolean(finite) && progress > 2 * goal)
1956
2018
  ? "progress-bar repeatable-steps"
@@ -2241,165 +2303,151 @@ const arrow_left_right = () => {
2241
2303
  index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
2242
2304
  };
2243
2305
 
2244
- const style$7 = {
2245
- TaskCard: {
2246
- display: "inline-block",
2247
- width: "100%",
2248
- "& .main": {
2249
- position: "relative",
2250
- boxSizing: "border-box",
2251
- background: "var(--sl-color-neutral-0)",
2252
- border: "1px solid var(--sl-color-neutral-200)",
2253
- borderRadius: "var(--sl-border-radius-large)",
2254
- boxShadow: "1px 2px 4px rgba(211, 211, 211, 0.2)",
2255
- fontSize: "var(--sl-font-size-small)",
2256
- lineHeight: "var(--sl-line-height-dense)",
2257
- color: "var(--sqm-text)",
2258
- },
2259
- "& .main.complete": {
2260
- background: "var(--sl-color-primary-50)",
2261
- borderColor: "var(--sl-color-primary-500)",
2262
- },
2263
- "& .main.expired": {
2264
- color: "var(--sqm-text)",
2265
- background: "var(--sl-color-neutral-50)",
2266
- },
2267
- "& .title": {
2268
- fontSize: "var(--sl-font-size-medium)",
2269
- color: "var(--sqm-text)",
2270
- },
2271
- "& .container": {
2272
- margin: "var(--sl-spacing-medium)",
2273
- },
2274
- "& .container.subdued": {
2275
- opacity: "0.45",
2276
- },
2277
- "& .container > div": {
2278
- margin: "var(--sl-spacing-medium) 0",
2279
- },
2280
- },
2281
- NotStarted: {
2282
- fontSize: "var(--sl-font-size-small)",
2283
- padding: "var(--sl-spacing-medium)",
2284
- color: "var(--sl-color-primary-600)",
2285
- border: "1px solid var(--sl-color-neutral-200)",
2286
- borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2287
- borderBottom: "none",
2288
- background: "var(--sl-color-primary-50)",
2289
- fontWeight: "var(--sl-font-weight-semibold)",
2290
- lineHeight: "var(--sl-line-height-dense)",
2291
- "& .icon": {
2292
- position: "relative",
2293
- top: "0.1em",
2294
- marginRight: "var(--sl-spacing-small)",
2295
- color: "var(--sl-color-primary-500)",
2296
- },
2297
- },
2298
- Ended: {
2299
- fontSize: "var(--sl-font-size-small)",
2300
- padding: "var(--sl-spacing-medium)",
2301
- color: "var(--sl-color-warning-600)",
2302
- border: "1px solid var(--sl-color-neutral-200)",
2303
- borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2304
- borderBottom: "none",
2305
- background: "var(--sl-color-warning-50)",
2306
- fontWeight: "var(--sl-font-weight-semibold)",
2307
- lineHeight: "var(--sl-line-height-dense)",
2308
- "& .icon": {
2309
- position: "relative",
2310
- top: "0.1em",
2311
- marginRight: "var(--sl-spacing-small)",
2312
- color: "var(--sl-color-warning-500)",
2313
- },
2314
- },
2315
- Header: {
2316
- display: "flex",
2317
- "& .icon": {
2318
- position: "relative",
2319
- top: "5%",
2320
- alignSelf: "center",
2321
- lineHeight: "0",
2322
- color: "var(--sl-color-primary-400)",
2323
- fontSize: "var(--sl-font-size-large)",
2324
- marginRight: "var(--sl-spacing-x-small)",
2325
- },
2326
- "& .value": {
2327
- alignSelf: "center",
2328
- fontSize: "var(--sl-font-size-x-large)",
2329
- fontWeight: "var(--sl-font-weight-semibold)",
2330
- color: "var(--sqm-text)",
2331
- lineHeight: "100%",
2332
- marginRight: "var(--sl-spacing-xx-small)",
2333
- },
2334
- "& .text": {
2335
- alignSelf: "end",
2336
- textTransform: "uppercase",
2337
- fontSize: "var(--sl-font-size-x-small)",
2338
- color: "var(--sqm-text)",
2339
- lineHeight: "var(--sl-font-size-medium)",
2340
- marginRight: "var(--sl-spacing-xx-small)",
2306
+ function TaskCardView(props) {
2307
+ var _a, _b;
2308
+ const { callbacks, states, content } = props;
2309
+ console.log("buttonType ", content.buttonType);
2310
+ const style = {
2311
+ TaskCard: {
2312
+ display: "inline-block",
2313
+ width: "100%",
2314
+ "& .main": {
2315
+ position: "relative",
2316
+ boxSizing: "border-sizing",
2317
+ background: content.backgroundColor || "var(--sl-color-neutral-0)",
2318
+ border: `1px solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2319
+ borderRadius: "var(--sl-border-radius-large)",
2320
+ boxShadow: "1px 2px 4px rgba(211, 211, 211, 0.2)",
2321
+ fontSize: "var(--sl-font-size-small)",
2322
+ lineHeight: "var(--sl-line-height-dense)",
2323
+ color: content.textColor || "var(--sqm-text)",
2324
+ },
2325
+ "& .main.complete": {
2326
+ background: "var(--sl-color-primary-50)",
2327
+ borderColor: "var(--sqm-accent-color-border)",
2328
+ },
2329
+ "& .main.expired": {
2330
+ color: content.textColor || "var(--sqm-text)",
2331
+ background: content.backgroundColor || "var(--sl-color-neutral-50)",
2332
+ },
2333
+ "& .title": {
2334
+ fontSize: "var(--sl-font-size-medium)",
2335
+ color: content.textColor || "var(--sqm-text)",
2336
+ },
2337
+ "& .container": {
2338
+ margin: "var(--sl-spacing-medium)",
2339
+ },
2340
+ "& .container.subdued": {
2341
+ opacity: "0.45",
2342
+ },
2343
+ "& .container > div": {
2344
+ margin: "var(--sl-spacing-medium) 0",
2345
+ },
2341
2346
  },
2342
- "& .end": {
2343
- color: "var(--sl-color-warning-500)",
2347
+ NotStarted: {
2348
+ fontSize: "var(--sl-font-size-small)",
2349
+ padding: "var(--sl-spacing-medium)",
2350
+ color: content.textColor || "var(--sl-color-primary-600)",
2351
+ border: `1px solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2352
+ borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2353
+ borderBottom: "none",
2354
+ background: content.backgroundColor || "var(--sl-color-primary-50)",
2344
2355
  fontWeight: "var(--sl-font-weight-semibold)",
2345
- marginBottom: "var(--sl-spacing-xx-small)",
2346
- },
2347
- "& .neutral": {
2348
- color: "var(--sl-color-neutral-400)",
2349
- },
2350
- },
2351
- Footer: {
2352
- "&[data-subdue] .success": {
2353
- color: "var(--sl-color-primary-300)",
2354
- },
2355
- "&[data-subdue] .neutral": {
2356
- color: "var(--sqm-text)",
2357
- },
2358
- display: "flex",
2359
- "& .icon": {
2360
- fontSize: "var(--sl-font-size-xx-small)",
2361
- marginRight: "var(--sl-spacing-xx-small)",
2362
- verticalAlign: "middle",
2363
- },
2364
- "& .text": {
2365
- marginTop: "auto",
2366
- verticalAlign: "text-bottom",
2367
- fontSize: "var(--sl-font-size-x-small)",
2368
- color: "var(--sqm-text)",
2356
+ lineHeight: "var(--sl-line-height-dense)",
2357
+ "& .icon": {
2358
+ position: "relative",
2359
+ top: "0.1em",
2360
+ marginRight: "var(--sl-spacing-small)",
2361
+ color: content.textColor || "var(--sqm-text)",
2362
+ },
2369
2363
  },
2370
- "& .success": {
2371
- color: "var(--sl-color-primary-500)",
2364
+ Ended: {
2365
+ fontSize: "var(--sl-font-size-small)",
2366
+ padding: "var(--sl-spacing-medium)",
2367
+ color: content.textColor || "var(--sl-color-warning-600)",
2368
+ border: `1px solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2369
+ borderRadius: "var(--sl-border-radius-large) var(--sl-border-radius-large) 0 0",
2370
+ borderBottom: "none",
2371
+ background: content.backgroundColor || "var(--sl-color-warning-50)",
2372
2372
  fontWeight: "var(--sl-font-weight-semibold)",
2373
+ lineHeight: "var(--sl-line-height-dense)",
2374
+ "& .icon": {
2375
+ position: "relative",
2376
+ top: "0.1em",
2377
+ marginRight: "var(--sl-spacing-small)",
2378
+ color: content.textColor || "var(--sqm-text)",
2379
+ },
2373
2380
  },
2374
- "& .action": {
2375
- marginTop: "auto",
2376
- marginLeft: "auto",
2377
- "&::part(base)": {
2378
- color: "var(--sqm-text)",
2381
+ Header: {
2382
+ display: "flex",
2383
+ "& .icon": {
2384
+ position: "relative",
2385
+ top: "5%",
2386
+ alignSelf: "center",
2387
+ lineHeight: "0",
2388
+ color: "var(--sqm-accent-color-icon)",
2389
+ fontSize: "var(--sl-font-size-large)",
2390
+ marginRight: "var(--sl-spacing-x-small)",
2379
2391
  },
2380
- "&.disabled::part(base)": {
2381
- border: "1px solid var(--sl-color-primary-400)",
2382
- background: "var(--sl-color-primary-400)",
2392
+ "& .value": {
2393
+ alignSelf: "center",
2394
+ fontSize: "var(--sl-font-size-x-large)",
2395
+ fontWeight: "var(--sl-font-weight-semibold)",
2396
+ color: content.textColor || "var(--sqm-text)",
2397
+ lineHeight: "100%",
2398
+ marginRight: "var(--sl-spacing-xx-small)",
2383
2399
  },
2384
- "&.neutral::part(base)": {
2385
- border: "1px solid var(--sqm-text)",
2386
- background: "var(--sqm-text)",
2400
+ "& .text": {
2401
+ alignSelf: "end",
2402
+ textTransform: "uppercase",
2403
+ fontSize: "var(--sl-font-size-x-small)",
2404
+ color: content.textColor || "var(--sqm-text)",
2405
+ lineHeight: "var(--sl-font-size-medium)",
2406
+ marginRight: "var(--sl-spacing-xx-small)",
2407
+ },
2408
+ "& .end": {
2409
+ color: content.textColor || "var(--sl-color-warning-500)",
2410
+ fontWeight: "var(--sl-font-weight-semibold)",
2411
+ marginBottom: "var(--sl-spacing-xx-small)",
2412
+ },
2413
+ "& .neutral": {
2414
+ color: content.textColor || "var(--sl-color-neutral-400)",
2387
2415
  },
2388
2416
  },
2389
- "& .neutral": {
2390
- color: "var(--sqm-text)",
2391
- },
2392
- "& .datetime": {
2393
- display: "block",
2394
- marginTop: "var(--sl-spacing-xx-small)",
2417
+ Footer: {
2418
+ "&[data-subdue] .success": {
2419
+ color: content.textColor || "var(--sl-color-primary-300)",
2420
+ },
2421
+ "&[data-subdue] .neutral": {
2422
+ color: content.textColor || "var(--sqm-text)",
2423
+ },
2424
+ display: "flex",
2425
+ "& .icon": {
2426
+ fontSize: "var(--sl-font-size-xx-small)",
2427
+ marginRight: "var(--sl-spacing-xx-small)",
2428
+ verticalAlign: "middle",
2429
+ },
2430
+ "& .text": {
2431
+ marginTop: "auto",
2432
+ verticalAlign: "text-bottom",
2433
+ fontSize: "var(--sl-font-size-x-small)",
2434
+ color: content.textColor || "var(--sqm-text)",
2435
+ },
2436
+ "& .success": {
2437
+ color: content.textColor || "var(--sqm-text)",
2438
+ fontWeight: "var(--sl-font-weight-semibold)",
2439
+ },
2440
+ "& .neutral": {
2441
+ color: content.textColor || "var(--sqm-text)",
2442
+ },
2443
+ "& .datetime": {
2444
+ display: "block",
2445
+ marginTop: "var(--sl-spacing-xx-small)",
2446
+ },
2395
2447
  },
2396
- },
2397
- };
2398
- const sheet$7 = JSS.createStyleSheet(style$7);
2399
- const styleString$7 = sheet$7.toString();
2400
- function TaskCardView(props) {
2401
- var _a, _b;
2402
- const { callbacks, states, content } = props;
2448
+ };
2449
+ const sheet = JSS.createStyleSheet(style);
2450
+ const contentString = sheet.toString();
2403
2451
  const dateStart = content.rewardDuration &&
2404
2452
  luxon.luxon.DateTime.fromISO(content.rewardDuration.split("/")[0]);
2405
2453
  const dateEnd = content.rewardDuration &&
@@ -2432,11 +2480,11 @@ function TaskCardView(props) {
2432
2480
  }
2433
2481
 
2434
2482
  `;
2435
- return (index.h("div", { class: sheet$7.classes.TaskCard, part: "sqm-base" },
2483
+ return (index.h("div", { class: sheet.classes.TaskCard, part: "sqm-base" },
2436
2484
  index.h("style", { type: "text/css" },
2437
- styleString$7,
2485
+ contentString,
2438
2486
  vanillaStyle),
2439
- !states.loading && taskNotStarted && (index.h("div", { class: sheet$7.classes.NotStarted },
2487
+ !states.loading && taskNotStarted && (index.h("div", { class: sheet.classes.NotStarted },
2440
2488
  index.h("span", { class: "icon" },
2441
2489
  index.h("sl-icon", { name: "info-circle-fill" })),
2442
2490
  global.intl.formatMessage({
@@ -2447,7 +2495,7 @@ function TaskCardView(props) {
2447
2495
  .setLocale(utils.luxonLocale(states.locale))
2448
2496
  .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
2449
2497
  }))),
2450
- !states.loading && taskEnded && (index.h("div", { class: sheet$7.classes.Ended },
2498
+ !states.loading && taskEnded && (index.h("div", { class: sheet.classes.Ended },
2451
2499
  index.h("span", { class: "icon" },
2452
2500
  index.h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
2453
2501
  global.intl.formatMessage({
@@ -2467,7 +2515,7 @@ function TaskCardView(props) {
2467
2515
  ? "main complete"
2468
2516
  : "main" },
2469
2517
  index.h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
2470
- index.h("div", { class: sheet$7.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
2518
+ index.h("div", { class: sheet.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
2471
2519
  showComplete && (index.h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
2472
2520
  index.h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
2473
2521
  index.h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
@@ -2482,8 +2530,8 @@ function TaskCardView(props) {
2482
2530
  opacity: taskComplete || taskUnavailable ? "0.45" : "1",
2483
2531
  } }, content.cardTitle)),
2484
2532
  states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (index.h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
2485
- content.showProgressBar && states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
2486
- index.h("div", { class: sheet$7.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
2533
+ content.showProgressBar && states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.75" : "1", complete: taskComplete, expired: taskUnavailable })))),
2534
+ index.h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
2487
2535
  index.h("span", { class: "text" },
2488
2536
  content.repeatable && (index.h("div", null,
2489
2537
  index.h("span", { class: repetitions > 0
@@ -2512,11 +2560,7 @@ function TaskCardView(props) {
2512
2560
  .setLocale(utils.luxonLocale(states.locale))
2513
2561
  .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
2514
2562
  })))),
2515
- content.hideButton ? ("") : (index.h("sl-button", { exportparts: "base: button", id: "sl-button", class: taskUnavailable
2516
- ? "action neutral"
2517
- : taskComplete
2518
- ? "action disabled"
2519
- : "action", type: "primary", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable, style: {
2563
+ content.hideButton ? ("") : (index.h("sl-button", { exportparts: `base: ${content.buttonType || "primary"}button-base`, type: "primary", id: "sl-button", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable, style: {
2520
2564
  opacity: taskComplete || taskUnavailable ? "0.45" : "1",
2521
2565
  } }, content.buttonText)))))))));
2522
2566
  }
@@ -2554,15 +2598,15 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
2554
2598
  index.h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
2555
2599
  }
2556
2600
 
2557
- const vanillaStyle$3 = `
2601
+ const vanillaStyle$2 = `
2558
2602
  :host{
2559
2603
  margin: 0 auto;
2560
2604
  width: 100%;
2561
2605
  }
2562
2606
  a{
2563
2607
  cursor:pointer;
2564
- color: inherit;
2565
- text-decoration: none;
2608
+ color: var(--sqm-text-subdued);
2609
+ text-decoration: none ;
2566
2610
  }
2567
2611
  `;
2568
2612
  function PortalFooterView(props) {
@@ -2578,14 +2622,14 @@ function PortalFooterView(props) {
2578
2622
  "flex-direction": "column",
2579
2623
  "align-items": "center",
2580
2624
  "font-size": "var(--sl-font-size-small)",
2581
- color: "var(--sl-color-gray-600)",
2625
+ color: "var(--sqm-text-subdued)",
2582
2626
  "padding-top": `var(--sl-spacing-${props.paddingTop})`,
2583
2627
  "padding-right": `var(--sl-spacing-${props.paddingRight})`,
2584
2628
  "padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
2585
2629
  "padding-left": `var(--sl-spacing-${props.paddingLeft})`,
2586
2630
  "row-gap": `var(--sl-spacing-small)`,
2587
2631
  "& a:hover": {
2588
- color: "var(--sl-color-gray-900)",
2632
+ color: "var(--sqm-text)",
2589
2633
  },
2590
2634
  },
2591
2635
  SupportText: {
@@ -2593,7 +2637,7 @@ function PortalFooterView(props) {
2593
2637
  margin: 0,
2594
2638
  },
2595
2639
  PoweredByLink: {
2596
- color: "var(--sl-color-gray-400)",
2640
+ color: "var(--sqm-text-subdued)",
2597
2641
  "font-size": "var(--sl-font-size-small)",
2598
2642
  display: "flex",
2599
2643
  alignItems: "center",
@@ -2602,7 +2646,7 @@ function PortalFooterView(props) {
2602
2646
  shapeRendering: "geometricprecision",
2603
2647
  },
2604
2648
  "&:hover, &:hover *": {
2605
- color: "var(--sl-color-gray-900)",
2649
+ color: "var(--sqm-text)",
2606
2650
  },
2607
2651
  },
2608
2652
  };
@@ -2610,7 +2654,7 @@ function PortalFooterView(props) {
2610
2654
  const styleString = sheet.toString();
2611
2655
  return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
2612
2656
  index.h("style", { type: "text/css" },
2613
- vanillaStyle$3,
2657
+ vanillaStyle$2,
2614
2658
  styleString),
2615
2659
  index.h("div", { class: sheet.classes.RowContainer },
2616
2660
  props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
@@ -2782,7 +2826,7 @@ function ReferralIframeView(props) {
2782
2826
  index.h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
2783
2827
  }
2784
2828
 
2785
- const style$8 = {
2829
+ const style$5 = {
2786
2830
  ErrorStyle: mixins.ErrorStyles,
2787
2831
  FieldsContainer: {
2788
2832
  "& sl-input": {
@@ -2790,33 +2834,58 @@ const style$8 = {
2790
2834
  },
2791
2835
  },
2792
2836
  };
2793
- const vanillaStyle$4 = `
2837
+ const vanillaStyle$3 = `
2794
2838
  :host {
2795
2839
  margin: 0 auto;
2796
2840
  width: 100%;
2797
2841
  display: block;
2798
2842
  }
2799
2843
 
2800
- sl-input::part(label){
2801
- font-size: var(--sl-input-label-font-size-small);
2844
+ *::part(input-label), *::part(select-label), *::part(textarea-label){
2845
+ font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));
2802
2846
  font-weight: var(--sl-font-weight-semibold);
2847
+ color: var(--sqm-input-label-color, var(--sqm-text), black);
2848
+ }
2849
+
2850
+ *::part(input-base), *::part(select-base), *::part(textarea-base){
2851
+ background-color: var(--sqm-input-background, #fff);
2852
+ border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
2853
+ color: var(--sqm-input-color, white);
2854
+ border-width: var(--sqm-border-width, 1px);
2855
+ }
2856
+
2857
+ sl-input::part(base):focus,
2858
+ sl-select::part(form-control-wrapper):focus,
2859
+ sl-textare::part(textarea-label):focus {
2860
+ border-color: none;
2861
+ border: var(--sqm-input-focus-border, 1px solid var(--sl-input-border-color-focus));
2862
+ }
2863
+
2864
+ *::part(input-label):disabled, *::part(select-label):disabled, *::part(textarea-label):disabled{
2865
+ background: var(--sqm-input-disabled-background, #f5f5f5);
2866
+ color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));
2803
2867
  }
2868
+
2869
+ sl-input {
2870
+ --sl-input-border-color-focus: var(--sqm-border-color-focus);
2871
+ }
2872
+
2804
2873
  `;
2805
- const sheet$8 = JSS.createStyleSheet(style$8);
2806
- const styleString$8 = sheet$8.toString();
2874
+ const sheet$5 = JSS.createStyleSheet(style$5);
2875
+ const styleString$5 = sheet$5.toString();
2807
2876
  function NameFieldsView(props) {
2808
2877
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2809
2878
  const { states } = props;
2810
2879
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2811
- return (index.h("div", { class: sheet$8.classes.FieldsContainer },
2880
+ return (index.h("div", { class: sheet$5.classes.FieldsContainer },
2812
2881
  index.h("style", { type: "text/css" },
2813
- vanillaStyle$4,
2814
- styleString$8),
2882
+ vanillaStyle$3,
2883
+ styleString$5),
2815
2884
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
2816
2885
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
2817
2886
  }
2818
2887
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
2819
- class: sheet$8.classes.ErrorStyle,
2888
+ class: sheet$5.classes.ErrorStyle,
2820
2889
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
2821
2890
  }
2822
2891
  : []))),
@@ -2824,13 +2893,13 @@ function NameFieldsView(props) {
2824
2893
  value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
2825
2894
  }
2826
2895
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
2827
- class: sheet$8.classes.ErrorStyle,
2896
+ class: sheet$5.classes.ErrorStyle,
2828
2897
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
2829
2898
  }
2830
2899
  : [])))));
2831
2900
  }
2832
2901
 
2833
- const style$9 = {
2902
+ const style$6 = {
2834
2903
  ErrorStyle: {
2835
2904
  "--sl-input-border-color": "var(--sl-color-danger-500)",
2836
2905
  "--sl-input-background-color": "var(--sl-color-danger-10)",
@@ -2846,7 +2915,7 @@ const style$9 = {
2846
2915
  "margin-bottom": "var(--sl-spacing-large)",
2847
2916
  },
2848
2917
  };
2849
- const vanillaStyle$5 = `
2918
+ const vanillaStyle$4 = `
2850
2919
  :host {
2851
2920
  margin: 0 auto;
2852
2921
  width: 100%;
@@ -2858,36 +2927,36 @@ sl-select::part(label){
2858
2927
  }
2859
2928
  `;
2860
2929
  JSS.jss.setup(JSS.create());
2861
- const sheet$9 = JSS.jss.createStyleSheet(style$9);
2862
- const styleString$9 = sheet$9.toString();
2930
+ const sheet$6 = JSS.jss.createStyleSheet(style$6);
2931
+ const styleString$6 = sheet$6.toString();
2863
2932
  function DropdownFieldView(props) {
2864
2933
  var _a, _b, _c, _d, _e, _f, _g;
2865
2934
  const { states, content } = props;
2866
2935
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2867
- return (index.h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
2936
+ return (index.h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
2868
2937
  index.h("style", { type: "text/css" },
2869
- vanillaStyle$5,
2870
- styleString$9),
2938
+ vanillaStyle$4,
2939
+ styleString$6),
2871
2940
  index.h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
2872
2941
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
2873
2942
  }
2874
2943
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
2875
- class: sheet$9.classes.ErrorStyle,
2944
+ class: sheet$6.classes.ErrorStyle,
2876
2945
  }
2877
2946
  : [])), content.selectOptions),
2878
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$9.classes.ErrorMessageStyle }, global.intl.formatMessage({
2947
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$6.classes.ErrorMessageStyle }, global.intl.formatMessage({
2879
2948
  id: `errorMessage-${content.dropdownName}`,
2880
2949
  defaultMessage: content.errorMessage,
2881
2950
  })))));
2882
2951
  }
2883
2952
 
2884
- const style$a = {
2953
+ const style$7 = {
2885
2954
  ErrorStyle: mixins.ErrorStyles,
2886
2955
  FieldContainer: {
2887
2956
  "margin-bottom": "var(--sl-spacing-large)",
2888
2957
  },
2889
2958
  };
2890
- const vanillaStyle$6 = `
2959
+ const vanillaStyle$5 = `
2891
2960
  :host {
2892
2961
  margin: 0 auto;
2893
2962
  width: 100%;
@@ -2895,21 +2964,21 @@ const vanillaStyle$6 = `
2895
2964
  }
2896
2965
  `;
2897
2966
  JSS.jss.setup(JSS.create());
2898
- const sheet$a = JSS.jss.createStyleSheet(style$a);
2899
- const styleString$a = sheet$a.toString();
2967
+ const sheet$7 = JSS.jss.createStyleSheet(style$7);
2968
+ const styleString$7 = sheet$7.toString();
2900
2969
  function InputFieldView(props) {
2901
2970
  var _a, _b, _c, _d, _e, _f, _g;
2902
2971
  const { states, content } = props;
2903
2972
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2904
- return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
2973
+ return (index.h("div", { class: sheet$7.classes.FieldContainer, part: "sqm-base" },
2905
2974
  index.h("style", { type: "text/css" },
2906
- vanillaStyle$6,
2907
- styleString$a),
2975
+ vanillaStyle$5,
2976
+ styleString$7),
2908
2977
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
2909
2978
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
2910
2979
  }
2911
2980
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
2912
- class: sheet$a.classes.ErrorStyle,
2981
+ class: sheet$7.classes.ErrorStyle,
2913
2982
  helpText: global.intl.formatMessage({
2914
2983
  id: `errorMessage-${content.fieldName}`,
2915
2984
  defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
@@ -3004,7 +3073,7 @@ function ProgressBar({ stageCount, currentStage, }) {
3004
3073
  return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
3005
3074
  }
3006
3075
 
3007
- const style$b = {
3076
+ const style$8 = {
3008
3077
  HostBlock: mixins.HostBlock,
3009
3078
  Container: {
3010
3079
  minWidth: "300px",
@@ -3355,8 +3424,8 @@ const style$b = {
3355
3424
  },
3356
3425
  };
3357
3426
  // JSS config
3358
- const sheet$b = JSS.createStyleSheet(style$b);
3359
- const styleString$b = sheet$b.toString();
3427
+ const sheet$8 = JSS.createStyleSheet(style$8);
3428
+ const styleString$8 = sheet$8.toString();
3360
3429
  const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
3361
3430
  function RewardExchangeView(props) {
3362
3431
  const { states, data, callbacks, refs } = props;
@@ -3379,7 +3448,7 @@ function RewardExchangeView(props) {
3379
3448
  sourceUnit: item.sourceUnit,
3380
3449
  })));
3381
3450
  }
3382
- return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$b.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3451
+ return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$8.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3383
3452
  var _a, _b, _c, _d, _e;
3384
3453
  return callbacks.setExchangeState({
3385
3454
  amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
@@ -3387,7 +3456,7 @@ function RewardExchangeView(props) {
3387
3456
  });
3388
3457
  } }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
3389
3458
  var _a, _b;
3390
- return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$b.classes.SelectItem },
3459
+ return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$8.classes.SelectItem },
3391
3460
  step.prettyDestinationValue,
3392
3461
  index.h("br", null),
3393
3462
  index.h("div", { class: "step-cost", slot: "suffix" },
@@ -3406,8 +3475,8 @@ function RewardExchangeView(props) {
3406
3475
  var _a;
3407
3476
  return [
3408
3477
  index.h("div", { part: "choose-reward-container" },
3409
- index.h("div", { class: sheet$b.classes.Title }, states.content.text.rewardTitle),
3410
- states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$b.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3478
+ index.h("div", { class: sheet$8.classes.Title }, states.content.text.rewardTitle),
3479
+ states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$8.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3411
3480
  var _a, _b, _c, _d, _e;
3412
3481
  const style = {
3413
3482
  boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
@@ -3416,7 +3485,7 @@ function RewardExchangeView(props) {
3416
3485
  borderRadius: "4px",
3417
3486
  };
3418
3487
  return (index.h("div", { key: item.key, style: style },
3419
- index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$b.classes.Card, style: {
3488
+ index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$8.classes.Card, style: {
3420
3489
  cursor: item.unavailableReasonCode
3421
3490
  ? "not-allowed"
3422
3491
  : "pointer",
@@ -3433,14 +3502,14 @@ function RewardExchangeView(props) {
3433
3502
  ? "rgba(0, 0, 0, 0.05)"
3434
3503
  : "rgba(0, 0, 0, 0)",
3435
3504
  } },
3436
- index.h("div", { class: sheet$b.classes.Image, style: {
3505
+ index.h("div", { class: sheet$8.classes.Image, style: {
3437
3506
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3438
3507
  } },
3439
3508
  index.h("img", { class: item.unavailableReasonCode
3440
3509
  ? "image subdued"
3441
3510
  : "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
3442
3511
  index.getAssetPath("./assets/Reward-image.png") })),
3443
- index.h("div", { class: sheet$b.classes.TextArea, style: {
3512
+ index.h("div", { class: sheet$8.classes.TextArea, style: {
3444
3513
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3445
3514
  } },
3446
3515
  index.h("div", { class: "title", style: {
@@ -3473,7 +3542,7 @@ function RewardExchangeView(props) {
3473
3542
  item.prettySourceMinValue,
3474
3543
  }))))))));
3475
3544
  }))),
3476
- index.h("div", { class: sheet$b.classes.Button },
3545
+ index.h("div", { class: sheet$8.classes.Button },
3477
3546
  index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
3478
3547
  ];
3479
3548
  }
@@ -3484,7 +3553,7 @@ function RewardExchangeView(props) {
3484
3553
  ? false
3485
3554
  : input && !states.amount;
3486
3555
  return (index.h("div", null,
3487
- index.h("div", { class: sheet$b.classes.ChooseAmount, part: "choose-amount-container" },
3556
+ index.h("div", { class: sheet$8.classes.ChooseAmount, part: "choose-amount-container" },
3488
3557
  index.h("div", { class: "wrapper" },
3489
3558
  index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
3490
3559
  index.getAssetPath("./assets/Reward-image.png") }),
@@ -3493,7 +3562,7 @@ function RewardExchangeView(props) {
3493
3562
  ((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
3494
3563
  ((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
3495
3564
  index.h("div", { class: "space" }))),
3496
- index.h("div", { class: sheet$b.classes.Button },
3565
+ index.h("div", { class: sheet$8.classes.Button },
3497
3566
  index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
3498
3567
  index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
3499
3568
  }
@@ -3501,8 +3570,8 @@ function RewardExchangeView(props) {
3501
3570
  const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
3502
3571
  const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
3503
3572
  return (index.h("div", null,
3504
- index.h("div", { class: sheet$b.classes.Confirmation, part: "confirmation-container" },
3505
- index.h("div", { class: sheet$b.classes.Title }, states.content.text.redeemTitle),
3573
+ index.h("div", { class: sheet$8.classes.Confirmation, part: "confirmation-container" },
3574
+ index.h("div", { class: sheet$8.classes.Title }, states.content.text.redeemTitle),
3506
3575
  index.h("div", { class: "wrapper" },
3507
3576
  index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
3508
3577
  index.h("div", { class: "reward-item-container" },
@@ -3517,13 +3586,13 @@ function RewardExchangeView(props) {
3517
3586
  index.h("div", { class: "wrapper top-border padding" },
3518
3587
  index.h("div", { class: "field" }, states.content.text.costTitle),
3519
3588
  index.h("div", { class: "value" }, cost)),
3520
- index.h("div", { class: sheet$b.classes.Button },
3589
+ index.h("div", { class: sheet$8.classes.Button },
3521
3590
  index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
3522
3591
  index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
3523
3592
  }
3524
3593
  function success() {
3525
3594
  var _a, _b, _c, _d, _e, _f;
3526
- return (index.h("div", { class: sheet$b.classes.Success, part: "success-container" },
3595
+ return (index.h("div", { class: sheet$8.classes.Success, part: "success-container" },
3527
3596
  index.h(Gift$1, null),
3528
3597
  index.h(Confetti, null),
3529
3598
  index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
@@ -3538,7 +3607,7 @@ function RewardExchangeView(props) {
3538
3607
  (data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
3539
3608
  states.content.text.promoCode,
3540
3609
  index.h(copyTextView.CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
3541
- index.h("div", { class: sheet$b.classes.Button },
3610
+ index.h("div", { class: sheet$8.classes.Button },
3542
3611
  index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
3543
3612
  }
3544
3613
  const stages = {
@@ -3550,7 +3619,7 @@ function RewardExchangeView(props) {
3550
3619
  const currentStage = stages[states.redeemStage];
3551
3620
  function stageMap() {
3552
3621
  const stageNumber = stageList.indexOf(states.redeemStage);
3553
- return (index.h("div", { class: sheet$b.classes.ProgressBar },
3622
+ return (index.h("div", { class: sheet$8.classes.ProgressBar },
3554
3623
  index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
3555
3624
  if (stageList.indexOf(stage) <= stageNumber) {
3556
3625
  return index.h("span", { class: "text" }, stageProgressList[stage]);
@@ -3562,10 +3631,10 @@ function RewardExchangeView(props) {
3562
3631
  index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
3563
3632
  }
3564
3633
  function loading() {
3565
- return (index.h("div", { class: sheet$b.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3634
+ return (index.h("div", { class: sheet$8.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3566
3635
  return (index.h("div", null,
3567
- index.h("sl-card", { class: sheet$b.classes.Card },
3568
- index.h("div", { class: sheet$b.classes.CardLayout },
3636
+ index.h("sl-card", { class: sheet$8.classes.Card },
3637
+ index.h("div", { class: sheet$8.classes.CardLayout },
3569
3638
  index.h("div", null,
3570
3639
  index.h("sl-skeleton", { style: {
3571
3640
  width: "100px",
@@ -3597,12 +3666,12 @@ function RewardExchangeView(props) {
3597
3666
  if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
3598
3667
  return;
3599
3668
  refs.canvasRef.current = canvas;
3600
- }, id: "my-canvas", class: sheet$b.classes.Confetti }));
3669
+ }, id: "my-canvas", class: sheet$8.classes.Confetti }));
3601
3670
  }
3602
3671
  if (states.noExchangeOptions)
3603
3672
  return states.content.text.empty;
3604
- return (index.h("div", { class: sheet$b.classes.Container, part: "sqm-base" },
3605
- index.h("style", { type: "text/css" }, styleString$b),
3673
+ return (index.h("div", { class: sheet$8.classes.Container, part: "sqm-base" },
3674
+ index.h("style", { type: "text/css" }, styleString$8),
3606
3675
  index.h("div", null,
3607
3676
  stageMap(),
3608
3677
  states.exchangeError && errorMessage(),
@@ -4018,29 +4087,29 @@ function CardFeedView(props, children) {
4018
4087
  index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
4019
4088
  }
4020
4089
 
4021
- const style$c = {
4022
- HostBlock: mixins.HostBlock,
4023
- couponCodeLabel: {
4024
- margin: "var(--sl-spacing-x-small) 0",
4025
- color: "var(--sqm-text-subdued)",
4026
- fontSize: "var(--sl-font-size-small)",
4027
- },
4028
- };
4029
- const vanillaStyle$7 = `
4090
+ function CouponCodeView(props) {
4091
+ const error = !props.loading && props.error;
4092
+ const style = {
4093
+ HostBlock: mixins.HostBlock,
4094
+ couponCodeLabel: {
4095
+ margin: "var(--sl-spacing-x-small) 0",
4096
+ color: props.textColor || "var(--sqm-text-subdued)",
4097
+ fontSize: "var(--sl-font-size-small)",
4098
+ },
4099
+ };
4100
+ const vanillaStyle = `
4030
4101
  :host{
4031
4102
  display: block;
4032
4103
  width: 100%;
4033
4104
  }
4034
4105
  `;
4035
- const sheet$c = JSS.createStyleSheet(style$c);
4036
- const styleString$c = sheet$c.toString();
4037
- function CouponCodeView(props) {
4038
- const error = !props.loading && props.error;
4106
+ const sheet = JSS.createStyleSheet(style);
4107
+ const styleString = sheet.toString();
4039
4108
  return (index.h("div", null,
4040
4109
  index.h("style", { type: "text/css" },
4041
- styleString$c,
4042
- vanillaStyle$7),
4043
- index.h("p", { class: sheet$c.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4110
+ styleString,
4111
+ vanillaStyle),
4112
+ index.h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
4044
4113
  error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
4045
4114
  index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, Object.assign({}, props)))));
4046
4115
  }